Class MessageImprintBC
- java.lang.Object
-
- com.itextpdf.bouncycastle.asn1.ASN1EncodableBC
-
- com.itextpdf.bouncycastle.asn1.tsp.MessageImprintBC
-
- All Implemented Interfaces:
IASN1Encodable,IMessageImprint
public class MessageImprintBC extends ASN1EncodableBC implements IMessageImprint
Wrapper class forMessageImprint.
-
-
Constructor Summary
Constructors Constructor Description MessageImprintBC(org.bouncycastle.asn1.tsp.MessageImprint messageImprint)Creates new wrapper instance forMessageImprint.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAlgorithmIdentifiergetHashAlgorithm()Calls actualgetHashAlgorithmmethod for the wrapped MessageImprint object.byte[]getHashedMessage()Calls actualgetHashedMessagemethod for the wrapped MessageImprint object.org.bouncycastle.asn1.tsp.MessageImprintgetMessageImprint()Gets actual org.bouncycastle object being wrapped.-
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
-
getMessageImprint
public org.bouncycastle.asn1.tsp.MessageImprint getMessageImprint()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
MessageImprint.
-
getHashedMessage
public byte[] getHashedMessage()
Calls actualgetHashedMessagemethod for the wrapped MessageImprint object.- Specified by:
getHashedMessagein interfaceIMessageImprint- Returns:
- hashed message byte array.
-
getHashAlgorithm
public IAlgorithmIdentifier getHashAlgorithm()
Calls actualgetHashAlgorithmmethod for the wrapped MessageImprint object.- Specified by:
getHashAlgorithmin interfaceIMessageImprint- Returns:
- algorithm identifier wrapper.
-
-