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 forESSCertIDv2.
-
-
Constructor Summary
Constructors Constructor Description ESSCertIDv2BC(org.bouncycastle.asn1.ess.ESSCertIDv2 essCertIDv2)Creates new wrapper instance forESSCertIDv2.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getCertHash()Calls actualgetCertHashmethod for the wrapped ESSCertIDv2 object.org.bouncycastle.asn1.ess.ESSCertIDv2getEssCertIDv2()Gets actual org.bouncycastle object being wrapped.IAlgorithmIdentifiergetHashAlgorithm()Calls actualgetHashAlgorithmmethod for the wrapped ESSCertIDv2 object.-
Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
-
-
-
Method Detail
-
getEssCertIDv2
public org.bouncycastle.asn1.ess.ESSCertIDv2 getEssCertIDv2()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
ESSCertIDv2.
-
getHashAlgorithm
public IAlgorithmIdentifier getHashAlgorithm()
Calls actualgetHashAlgorithmmethod for the wrapped ESSCertIDv2 object.- Specified by:
getHashAlgorithmin interfaceIESSCertIDv2- Returns:
IAlgorithmIdentifierhash algorithm wrapper.
-
getCertHash
public byte[] getCertHash()
Calls actualgetCertHashmethod for the wrapped ESSCertIDv2 object.- Specified by:
getCertHashin interfaceIESSCertIDv2- Returns:
- certificate hash byte array.
-
-