Class CRLReasonBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.x509.CRLReasonBC
-
- All Implemented Interfaces:
IASN1Encodable,ICRLReason
public class CRLReasonBC extends ASN1EncodableBC implements ICRLReason
Wrapper class forCRLReason.
-
-
Field Summary
Fields Modifier and Type Field Description private static CRLReasonBCINSTANCEprivate static intKEY_COMPROMISEprivate static intREMOVE_FROM_CRL
-
Constructor Summary
Constructors Constructor Description CRLReasonBC(org.bouncycastle.asn1.x509.CRLReason reason)Creates new wrapper instance forCRLReason.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.x509.CRLReasongetCRLReason()Gets actual org.bouncycastle object being wrapped.static CRLReasonBCgetInstance()Gets wrapper instance.intgetKeyCompromise()GetskeyCompromiseconstant for the wrapped CRLReason.intgetRemoveFromCRL()GetsremoveFromCRLconstant for the wrapped CRLReason.-
Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
-
-
-
Field Detail
-
INSTANCE
private static final CRLReasonBC INSTANCE
-
KEY_COMPROMISE
private static final int KEY_COMPROMISE
- See Also:
- Constant Field Values
-
REMOVE_FROM_CRL
private static final int REMOVE_FROM_CRL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static CRLReasonBC getInstance()
Gets wrapper instance.- Returns:
CRLReasonBCinstance.
-
getCRLReason
public org.bouncycastle.asn1.x509.CRLReason getCRLReason()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
CRLReason.
-
getKeyCompromise
public int getKeyCompromise()
GetskeyCompromiseconstant for the wrapped CRLReason.- Specified by:
getKeyCompromisein interfaceICRLReason- Returns:
- CRLReason.keyCompromise value.
-
getRemoveFromCRL
public int getRemoveFromCRL()
GetsremoveFromCRLconstant for the wrapped CRLReason.- Specified by:
getRemoveFromCRLin interfaceICRLReason- Returns:
- CRLReason.removeFromCRL value.
-
-