Class MessageImprintBCFips

java.lang.Object
com.itextpdf.bouncycastlefips.asn1.ASN1EncodableBCFips
com.itextpdf.bouncycastlefips.asn1.tsp.MessageImprintBCFips
All Implemented Interfaces:
IASN1Encodable, IMessageImprint

public class MessageImprintBCFips extends ASN1EncodableBCFips implements IMessageImprint
Wrapper class for MessageImprint.
  • Constructor Details

    • MessageImprintBCFips

      public MessageImprintBCFips (org.bouncycastle.asn1.tsp.MessageImprint messageImprint)
      Creates new wrapper instance for MessageImprint.
      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 actual getHashedMessage method for the wrapped MessageImprint object.
      Specified by:
      getHashedMessage in interface IMessageImprint
      Returns:
      hashed message byte array.
    • getHashAlgorithm

      public IAlgorithmIdentifier getHashAlgorithm()
      Calls actual getHashAlgorithm method for the wrapped MessageImprint object.
      Specified by:
      getHashAlgorithm in interface IMessageImprint
      Returns:
      algorithm identifier wrapper.