Class ReasonFlags


  • public final class ReasonFlags
    extends Object
    The class encapsulates the ASN.1 DER encoding/decoding work with the following part of X.509 CRL (as specified in RFC 3280 - Internet X.509 Public Key Infrastructure. Certificate and Certificate Revocation List (CRL) Profile. http://www.ietf.org/rfc/rfc3280.txt):
      ReasonFlags ::= BIT STRING {
            unused                  (0),
            keyCompromise           (1),
            cACompromise            (2),
            affiliationChanged      (3),
            superseded              (4),
            cessationOfOperation    (5),
            certificateHold         (6),
            privilegeWithdrawn      (7),
            aACompromise            (8)
      }
      
    • Field Detail

      • ASN1

        public static final ASN1BitString ASN1
        ASN.1 Encoder/Decoder.
    • Constructor Detail

      • ReasonFlags

        public ReasonFlags​(boolean[] flags)
        Creates the extension object corresponding to the given flags.