Class CRLReasonBC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.x509.CRLReasonBC
- All Implemented Interfaces:
IASN1Encodable
,ICRLReason
Wrapper class for
CRLReason
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CRLReasonBC
private static final int
private static final int
-
Constructor Summary
ConstructorsConstructorDescriptionCRLReasonBC
(org.bouncycastle.asn1.x509.CRLReason reason) Creates new wrapper instance forCRLReason
. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.CRLReason
Gets actual org.bouncycastle object being wrapped.static CRLReasonBC
Gets wrapper instance.int
GetskeyCompromise
constant for the wrapped CRLReason.int
GetsremoveFromCRL
constant 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 Details
-
INSTANCE
-
KEY_COMPROMISE
private static final int KEY_COMPROMISE- See Also:
-
REMOVE_FROM_CRL
private static final int REMOVE_FROM_CRL- See Also:
-
-
Constructor Details
-
CRLReasonBC
public CRLReasonBC(org.bouncycastle.asn1.x509.CRLReason reason) Creates new wrapper instance forCRLReason
.- Parameters:
reason
-CRLReason
to be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
CRLReasonBC
instance.
-
getCRLReason
public org.bouncycastle.asn1.x509.CRLReason getCRLReason()Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
CRLReason
.
-
getKeyCompromise
public int getKeyCompromise()GetskeyCompromise
constant for the wrapped CRLReason.- Specified by:
getKeyCompromise
in interfaceICRLReason
- Returns:
- CRLReason.keyCompromise value.
-
getRemoveFromCRL
public int getRemoveFromCRL()GetsremoveFromCRL
constant for the wrapped CRLReason.- Specified by:
getRemoveFromCRL
in interfaceICRLReason
- Returns:
- CRLReason.removeFromCRL value.
-