Class ReasonFlags

  • All Implemented Interfaces:
    ASN1Encodable, ASN1String, Encodable

    public class ReasonFlags
    extends DERBitString
    The ReasonFlags object.
     ReasonFlags ::= BIT STRING {
          unused                  (0),
          keyCompromise           (1),
          cACompromise            (2),
          affiliationChanged      (3),
          superseded              (4),
          cessationOfOperation    (5),
          certificateHold         (6),
          privilegeWithdrawn      (7),
          aACompromise            (8) }
     
    • Constructor Detail

      • ReasonFlags

        public ReasonFlags​(int reasons)
        Parameters:
        reasons - - the bitwise OR of the Key Reason flags giving the allowed uses for the key.