Class MessageImprintBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.tsp.MessageImprintBCFips
- All Implemented Interfaces:
-
IASN1Encodable
,IMessageImprint
Wrapper class for
MessageImprint
.
-
Constructor Summary
ConstructorDescriptionMessageImprintBCFips
(org.bouncycastle.asn1.tsp.MessageImprint messageImprint) Creates new wrapper instance forMessageImprint
. -
Method Summary
Modifier and TypeMethodDescriptionCalls actualgetHashAlgorithm
method for the wrapped MessageImprint object.byte[]
Calls actualgetHashedMessage
method for the wrapped MessageImprint object.org.bouncycastle.asn1.tsp.MessageImprint
Gets actual org.bouncycastle object being wrapped.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
-
MessageImprintBCFips
public MessageImprintBCFips(org.bouncycastle.asn1.tsp.MessageImprint messageImprint) Creates new wrapper instance forMessageImprint
.- Parameters:
-
messageImprint
-MessageImprint
to be wrapped
-
-
Method Details
-
getMessageImprint
public org.bouncycastle.asn1.tsp.MessageImprint getMessageImprint()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
MessageImprint
.
-
getHashedMessage
public byte[] getHashedMessage()Calls actualgetHashedMessage
method for the wrapped MessageImprint object.- Specified by:
-
getHashedMessage
in interfaceIMessageImprint
- Returns:
- hashed message byte array.
-
getHashAlgorithm
Calls actualgetHashAlgorithm
method for the wrapped MessageImprint object.- Specified by:
-
getHashAlgorithm
in interfaceIMessageImprint
- Returns:
- algorithm identifier wrapper.
-