iText 9.0.0 API
iText.Commons.Bouncycastle.Asn1.X509.ICrlReason Interface Reference

This interface represents the wrapper for CRLReason that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.X509.ICrlReason:
iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.X509.CrlReasonBC iText.Bouncycastlefips.Asn1.X509.CrlReasonBCFips

Public Member Functions

int  GetKeyCompromise ()
  Gets keyCompromise constant for the wrapped CRLReason. More...
 
int  GetRemoveFromCRL ()
  Gets removeFromCRL constant for the wrapped CRLReason. More...
 
- Public Member Functions inherited from iText.Commons.Bouncycastle.Asn1.IAsn1Encodable
IAsn1Object  ToASN1Primitive ()
  Calls actual toASN1Primitive method for the wrapped ASN1Encodable object. More...
 
bool  IsNull ()
  Checks if wrapped object is null. More...
 

Detailed Description

This interface represents the wrapper for CRLReason that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GetKeyCompromise()

int iText.Commons.Bouncycastle.Asn1.X509.ICrlReason.GetKeyCompromise ( )

Gets keyCompromise constant for the wrapped CRLReason.

Returns
CRLReason.keyCompromise value.

Implemented in iText.Bouncycastle.Asn1.X509.CrlReasonBC, and iText.Bouncycastlefips.Asn1.X509.CrlReasonBCFips.

◆ GetRemoveFromCRL()

int iText.Commons.Bouncycastle.Asn1.X509.ICrlReason.GetRemoveFromCRL ( )

Gets removeFromCRL constant for the wrapped CRLReason.

Returns
CRLReason.removeFromCRL value.

Implemented in iText.Bouncycastle.Asn1.X509.CrlReasonBC, and iText.Bouncycastlefips.Asn1.X509.CrlReasonBCFips.