Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.asn1.x509
Class CRLReason

java.lang.Object
  |
  +--org.bouncycastle.asn1.ASN1Object
        |
        +--org.bouncycastle.asn1.x509.CRLReason
All Implemented Interfaces:
ASN1Encodable, Encodable

public class CRLReason
extends ASN1Object

The CRLReason enumeration. CRLReason ::= ENUMERATED { unspecified (0), keyCompromise (1), cACompromise (2), affiliationChanged (3), superseded (4), cessationOfOperation (5), certificateHold (6), removeFromCRL (8), privilegeWithdrawn (9), aACompromise (10) }


Field Summary
static int AA_COMPROMISE
          Deprecated. use lower case version
static int aACompromise
           
static int AFFILIATION_CHANGED
          Deprecated. use lower case version
static int affiliationChanged
           
static int CA_COMPROMISE
          Deprecated. use lower case version
static int cACompromise
           
static int CERTIFICATE_HOLD
          Deprecated. use lower case version
static int certificateHold
           
static int CESSATION_OF_OPERATION
          Deprecated. use lower case version
static int cessationOfOperation
           
static int KEY_COMPROMISE
          Deprecated. use lower case version
static int keyCompromise
           
static int PRIVILEGE_WITHDRAWN
          Deprecated. use lower case version
static int privilegeWithdrawn
           
static int REMOVE_FROM_CRL
          Deprecated. use lower case version
static int removeFromCRL
           
static int superseded
           
static int SUPERSEDED
          Deprecated. use lower case version
static int unspecified
           
static int UNSPECIFIED
          Deprecated. use lower case version
 
Method Summary
static CRLReason getInstance(java.lang.Object o)
           
 java.math.BigInteger getValue()
           
static CRLReason lookup(int value)
           
 ASN1Primitive toASN1Primitive()
          Method providing a primitive representation of this object suitable for encoding.
 java.lang.String toString()
           
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNSPECIFIED

public static final int UNSPECIFIED
Deprecated. use lower case version


KEY_COMPROMISE

public static final int KEY_COMPROMISE
Deprecated. use lower case version


CA_COMPROMISE

public static final int CA_COMPROMISE
Deprecated. use lower case version


AFFILIATION_CHANGED

public static final int AFFILIATION_CHANGED
Deprecated. use lower case version


SUPERSEDED

public static final int SUPERSEDED
Deprecated. use lower case version


CESSATION_OF_OPERATION

public static final int CESSATION_OF_OPERATION
Deprecated. use lower case version


CERTIFICATE_HOLD

public static final int CERTIFICATE_HOLD
Deprecated. use lower case version


REMOVE_FROM_CRL

public static final int REMOVE_FROM_CRL
Deprecated. use lower case version


PRIVILEGE_WITHDRAWN

public static final int PRIVILEGE_WITHDRAWN
Deprecated. use lower case version


AA_COMPROMISE

public static final int AA_COMPROMISE
Deprecated. use lower case version


unspecified

public static final int unspecified

keyCompromise

public static final int keyCompromise

cACompromise

public static final int cACompromise

affiliationChanged

public static final int affiliationChanged

superseded

public static final int superseded

cessationOfOperation

public static final int cessationOfOperation

certificateHold

public static final int certificateHold

removeFromCRL

public static final int removeFromCRL

privilegeWithdrawn

public static final int privilegeWithdrawn

aACompromise

public static final int aACompromise
Method Detail

getInstance

public static CRLReason getInstance(java.lang.Object o)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getValue

public java.math.BigInteger getValue()

toASN1Primitive

public ASN1Primitive toASN1Primitive()
Description copied from class: ASN1Object
Method providing a primitive representation of this object suitable for encoding.
Overrides:
toASN1Primitive in class ASN1Object
Following copied from class: org.bouncycastle.asn1.ASN1Object
Returns:
a primitive representation of this object.

lookup

public static CRLReason lookup(int value)

Bouncy Castle Cryptography Library 1.77.0