Class ESSCertIDv2BC
java.lang.Object
com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
com.itextpdf.bouncycastle.asn1.ess.ESSCertIDv2BC
- All Implemented Interfaces:
-
IESSCertIDv2,IASN1Encodable
Wrapper class for
ESSCertIDv2.
-
Constructor Summary
ConstructorsConstructorDescriptionESSCertIDv2BC(org.bouncycastle.asn1.ess.ESSCertIDv2 essCertIDv2) Creates new wrapper instance forESSCertIDv2. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Calls actualgetCertHashmethod for the wrapped ESSCertIDv2 object.org.bouncycastle.asn1.ess.ESSCertIDv2Gets actual org.bouncycastle object being wrapped.Calls actualgetHashAlgorithmmethod for the wrapped ESSCertIDv2 object.Methods inherited from class com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
equals, getEncodable, hashCode, isNull, toASN1Primitive, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.itextpdf.commons.bouncycastle.asn1.IASN1Encodable
isNull, toASN1Primitive
-
Constructor Details
-
ESSCertIDv2BC
public ESSCertIDv2BC(org.bouncycastle.asn1.ess.ESSCertIDv2 essCertIDv2) Creates new wrapper instance forESSCertIDv2.- Parameters:
-
essCertIDv2-ESSCertIDv2to be wrapped
-
-
Method Details
-
getEssCertIDv2
public org.bouncycastle.asn1.ess.ESSCertIDv2 getEssCertIDv2()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
ESSCertIDv2.
-
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.
-