Class ESSCertIDv2BCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.ess.ESSCertIDv2BCFips
- All Implemented Interfaces:
-
IESSCertIDv2
,IASN1Encodable
Wrapper class for
ESSCertIDv2
.
-
Constructor Summary
ConstructorDescriptionESSCertIDv2BCFips
(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.bouncycastlefips.asn1.ASN1EncodableBCFips
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
-
ESSCertIDv2BCFips
public ESSCertIDv2BCFips(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.
-