Class KeyPurposeIdBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.x509.KeyPurposeIdBCFips
All Implemented Interfaces:
IASN1Encodable, IKeyPurposeId

public class KeyPurposeIdBCFips extends ASN1EncodableBCFips implements IKeyPurposeId
Wrapper class for KeyPurposeId.
  • Constructor Details

    • KeyPurposeIdBCFips

      public KeyPurposeIdBCFips (org.bouncycastle.asn1.x509.KeyPurposeId keyPurposeId)
      Creates new wrapper instance for KeyPurposeId.
      Parameters:
      keyPurposeId - KeyPurposeId to be wrapped
  • Method Details

    • getInstance

      public static KeyPurposeIdBCFips getInstance()
      Gets wrapper instance.
      Returns:
      KeyPurposeIdBCFips instance.
    • getKeyPurposeId

      public org.bouncycastle.asn1.x509.KeyPurposeId getKeyPurposeId()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped KeyPurposeId.
    • getIdKpOCSPSigning

      public IKeyPurposeId getIdKpOCSPSigning()
      Gets id_kp_OCSPSigning constant for the wrapped KeyPurposeId.
      Specified by:
      getIdKpOCSPSigning in interface IKeyPurposeId
      Returns:
      KeyPurposeId.id_kp_OCSPSigning value.