Class ReasonFlags
-
- All Implemented Interfaces:
-
io.anyline.nfc.bouncycastle.asn1.ASN1BitStringParser
,io.anyline.nfc.bouncycastle.asn1.ASN1Encodable
,io.anyline.nfc.bouncycastle.asn1.ASN1String
,io.anyline.nfc.bouncycastle.asn1.InMemoryRepresentable
,io.anyline.nfc.bouncycastle.util.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 public final static int
UNUSED
public final static int
KEY_COMPROMISE
public final static int
CA_COMPROMISE
public final static int
AFFILIATION_CHANGED
public final static int
SUPERSEDED
public final static int
CESSATION_OF_OPERATION
public final static int
CERTIFICATE_HOLD
public final static int
PRIVILEGE_WITHDRAWN
public final static int
AA_COMPROMISE
public final static int
unused
public final static int
keyCompromise
public final static int
cACompromise
public final static int
affiliationChanged
public final static int
superseded
public final static int
cessationOfOperation
public final static int
certificateHold
public final static int
privilegeWithdrawn
public final static int
aACompromise
-
Constructor Summary
Constructors Constructor Description ReasonFlags(int reasons)
ReasonFlags(DERBitString reasons)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.DERBitString
convert, getInstance, getInstance
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1BitString
getBitStream, getBytes, getInstance, getInstance, getLoadedObject, getOctetStream, getOctets, getPadBits, getString, hashCode, intValue, parser, toString
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Primitive
encodeTo, encodeTo, equals, equals, equals, fromByteArray, toASN1Primitive
-
Methods inherited from class io.anyline.nfc.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ReasonFlags
ReasonFlags(int reasons)
- Parameters:
reasons
- - the bitwise OR of the Key Reason flags giving the allowed uses for the key.
-
ReasonFlags
ReasonFlags(DERBitString reasons)
-
-
-
-