Package org.bouncycastle.asn1.x509
Class ReasonFlags
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ASN1Primitive
org.bouncycastle.asn1.ASN1BitString
org.bouncycastle.asn1.DERBitString
org.bouncycastle.asn1.x509.ReasonFlags
- All Implemented Interfaces:
ASN1BitStringParser
,ASN1Encodable
,ASN1String
,InMemoryRepresentable
,Encodable
The ReasonFlags object.
ReasonFlags ::= BIT STRING { unused (0), keyCompromise (1), cACompromise (2), affiliationChanged (3), superseded (4), cessationOfOperation (5), certificateHold (6), privilegeWithdrawn (7), aACompromise (8) }
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated.use lower case versionstatic final int
static final int
Deprecated.use lower case versionstatic final int
static final int
Deprecated.use lower case versionstatic final int
static final int
Deprecated.use lower case versionstatic final int
static final int
Deprecated.use lower case versionstatic final int
static final int
Deprecated.use lower case versionstatic final int
static final int
Deprecated.use lower case versionstatic final int
static final int
static final int
Deprecated.use lower case versionstatic final int
static final int
Deprecated.use lower case version -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bouncycastle.asn1.DERBitString
convert
Methods inherited from class org.bouncycastle.asn1.ASN1BitString
getBitStream, getBytes, getBytes, getInstance, getInstance, getLoadedObject, getOctets, getOctetStream, getPadBits, getPadBits, getString, hashCode, intValue, parser, toString
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.bouncycastle.asn1.ASN1Encodable
toASN1Primitive
-
Field Details
-
UNUSED
public static final int UNUSEDDeprecated.use lower case version- See Also:
-
KEY_COMPROMISE
public static final int KEY_COMPROMISEDeprecated.use lower case version- See Also:
-
CA_COMPROMISE
public static final int CA_COMPROMISEDeprecated.use lower case version- See Also:
-
AFFILIATION_CHANGED
public static final int AFFILIATION_CHANGEDDeprecated.use lower case version- See Also:
-
SUPERSEDED
public static final int SUPERSEDEDDeprecated.use lower case version- See Also:
-
CESSATION_OF_OPERATION
public static final int CESSATION_OF_OPERATIONDeprecated.use lower case version- See Also:
-
CERTIFICATE_HOLD
public static final int CERTIFICATE_HOLDDeprecated.use lower case version- See Also:
-
PRIVILEGE_WITHDRAWN
public static final int PRIVILEGE_WITHDRAWNDeprecated.use lower case version- See Also:
-
AA_COMPROMISE
public static final int AA_COMPROMISEDeprecated.use lower case version- See Also:
-
unused
public static final int unused- See Also:
-
keyCompromise
public static final int keyCompromise- See Also:
-
cACompromise
public static final int cACompromise- See Also:
-
affiliationChanged
public static final int affiliationChanged- See Also:
-
superseded
public static final int superseded- See Also:
-
cessationOfOperation
public static final int cessationOfOperation- See Also:
-
certificateHold
public static final int certificateHold- See Also:
-
privilegeWithdrawn
public static final int privilegeWithdrawn- See Also:
-
aACompromise
public static final int aACompromise- See Also:
-
-
Constructor Details
-
ReasonFlags
public ReasonFlags(int reasons) - Parameters:
reasons
- - the bitwise OR of the Key Reason flags giving the allowed uses for the key.
-
ReasonFlags
-