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 for CRLReason.
  • Constructor Details

    • CRLReasonBC

      public CRLReasonBC (org.bouncycastle.asn1.x509.CRLReason reason)
      Creates new wrapper instance for CRLReason.
      Parameters:
      reason - CRLReason to be wrapped
  • Method Details

    • getInstance

      public static CRLReasonBC 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()
      Gets keyCompromise constant for the wrapped CRLReason.
      Specified by:
      getKeyCompromise in interface ICRLReason
      Returns:
      CRLReason.keyCompromise value.
    • getRemoveFromCRL

      public int getRemoveFromCRL()
      Gets removeFromCRL constant for the wrapped CRLReason.
      Specified by:
      getRemoveFromCRL in interface ICRLReason
      Returns:
      CRLReason.removeFromCRL value.