Class ESSCertIDv2BC

java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ess.ESSCertIDv2BC
All Implemented Interfaces:
IESSCertIDv2, IASN1Encodable

public class ESSCertIDv2BC extends ASN1EncodableBC implements IESSCertIDv2
Wrapper class for ESSCertIDv2.
  • Constructor Details

    • ESSCertIDv2BC

      public ESSCertIDv2BC (org.bouncycastle.asn1.ess.ESSCertIDv2 essCertIDv2)
      Creates new wrapper instance for ESSCertIDv2.
      Parameters:
      essCertIDv2 - ESSCertIDv2 to be wrapped
  • Method Details

    • getEssCertIDv2

      public org.bouncycastle.asn1.ess.ESSCertIDv2 getEssCertIDv2()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped ESSCertIDv2.
    • getHashAlgorithm

      public IAlgorithmIdentifier getHashAlgorithm()
      Calls actual getHashAlgorithm method for the wrapped ESSCertIDv2 object.
      Specified by:
      getHashAlgorithm in interface IESSCertIDv2
      Returns:
      IAlgorithmIdentifier hash algorithm wrapper.
    • getCertHash

      public byte[] getCertHash()
      Calls actual getCertHash method for the wrapped ESSCertIDv2 object.
      Specified by:
      getCertHash in interface IESSCertIDv2
      Returns:
      certificate hash byte array.