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
ConstructorDescriptionESSCertIDv2BC
(org.bouncycastle.asn1.ess.ESSCertIDv2 essCertIDv2) Creates new wrapper instance forESSCertIDv2
. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Calls actualgetCertHash
method for the wrapped ESSCertIDv2 object.org.bouncycastle.asn1.ess.ESSCertIDv2
Gets actual org.bouncycastle object being wrapped.Calls actualgetHashAlgorithm
method 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
-
Constructor Details
-
ESSCertIDv2BC
public ESSCertIDv2BC(org.bouncycastle.asn1.ess.ESSCertIDv2 essCertIDv2) Creates new wrapper instance forESSCertIDv2
.- 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
Calls actualgetHashAlgorithm
method for the wrapped ESSCertIDv2 object.- Specified by:
-
getHashAlgorithm
in interfaceIESSCertIDv2
- Returns:
-
IAlgorithmIdentifier
hash algorithm wrapper.
-
getCertHash
public byte[] getCertHash()Calls actualgetCertHash
method for the wrapped ESSCertIDv2 object.- Specified by:
-
getCertHash
in interfaceIESSCertIDv2
- Returns:
- certificate hash byte array.
-