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:
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) }
-
-
Field Summary
Fields Modifier and Type Field Description static intaACompromisestatic intaffiliationChangedstatic intcACompromisestatic intcertificateHoldstatic intcessationOfOperationstatic intkeyCompromisestatic intprivilegeWithdrawnstatic intsupersededstatic intunused-
Fields inherited from class org.bouncycastle.asn1.ASN1BitString
data, padBits
-
-
Constructor Summary
Constructors Constructor Description ReasonFlags(int reasons)ReasonFlags(DERBitString reasons)
-
Method Summary
-
Methods inherited from class org.bouncycastle.asn1.DERBitString
getInstance, getInstance
-
Methods inherited from class org.bouncycastle.asn1.ASN1BitString
asn1Equals, derForm, getBytes, getBytes, getLoadedObject, getOctets, getPadBits, getPadBits, getString, hashCode, intValue, toString
-
Methods inherited from class org.bouncycastle.asn1.ASN1Primitive
equals, fromByteArray, toASN1Primitive
-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
getEncoded, getEncoded, hasEncodedTagValue
-
-
-
-
Field Detail
-
unused
public static final int unused
- See Also:
- Constant Field Values
-
keyCompromise
public static final int keyCompromise
- See Also:
- Constant Field Values
-
cACompromise
public static final int cACompromise
- See Also:
- Constant Field Values
-
affiliationChanged
public static final int affiliationChanged
- See Also:
- Constant Field Values
-
superseded
public static final int superseded
- See Also:
- Constant Field Values
-
cessationOfOperation
public static final int cessationOfOperation
- See Also:
- Constant Field Values
-
certificateHold
public static final int certificateHold
- See Also:
- Constant Field Values
-
privilegeWithdrawn
public static final int privilegeWithdrawn
- See Also:
- Constant Field Values
-
aACompromise
public static final int aACompromise
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReasonFlags
public ReasonFlags(int reasons)
- Parameters:
reasons- - the bitwise OR of the Key Reason flags giving the allowed uses for the key.
-
ReasonFlags
public ReasonFlags(DERBitString reasons)
-
-