Class CRLReasonBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.x509.CRLReasonBCFips
- All Implemented Interfaces:
-
IASN1Encodable,ICRLReason
Wrapper class for
CRLReason.
-
Constructor Summary
ConstructorsConstructorDescriptionCRLReasonBCFips(org.bouncycastle.asn1.x509.CRLReason reason) Creates new wrapper instance forCRLReason. -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.CRLReasonGets actual org.bouncycastle object being wrapped.static CRLReasonBCFipsGets wrapper instance.intGetskeyCompromiseconstant for the wrapped CRLReason.intGetsremoveFromCRLconstant for the wrapped CRLReason.Methods inherited from class com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
CRLReasonBCFips
public CRLReasonBCFips(org.bouncycastle.asn1.x509.CRLReason reason) Creates new wrapper instance forCRLReason.- Parameters:
-
reason-CRLReasonto be wrapped
-
-
Method Details
-
getInstance
Gets wrapper instance.- Returns:
-
CRLReasonBCFipsinstance.
-
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.
-