iText 9.1.0 API
iText.Commons.Bouncycastle.Asn1.Tsp.IMessageImprint Interface Reference

This interface represents the wrapper for MessageImprint that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.Tsp.IMessageImprint:
iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.Tsp.MessageImprintBC iText.Bouncycastlefips.Asn1.Tsp.MessageImprintBCFips

Public Member Functions

byte[]  GetHashedMessage ()
  Calls actual getHashedMessage method for the wrapped MessageImprint object. More...
 
IAlgorithmIdentifier  GetHashAlgorithm ()
  Calls actual getHashAlgorithm method for the wrapped MessageImprint object. More...
 
- Public Member Functions inherited from iText.Commons.Bouncycastle.Asn1.IAsn1Encodable
IAsn1Object  ToASN1Primitive ()
  Calls actual toASN1Primitive method for the wrapped ASN1Encodable object. More...
 
bool  IsNull ()
  Checks if wrapped object is null. More...
 

Detailed Description

This interface represents the wrapper for MessageImprint that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GetHashAlgorithm()

IAlgorithmIdentifier iText.Commons.Bouncycastle.Asn1.Tsp.IMessageImprint.GetHashAlgorithm ( )

Calls actual getHashAlgorithm method for the wrapped MessageImprint object.

Returns
algorithm identifier wrapper.

Implemented in iText.Bouncycastle.Asn1.Tsp.MessageImprintBC, and iText.Bouncycastlefips.Asn1.Tsp.MessageImprintBCFips.

◆ GetHashedMessage()

byte [] iText.Commons.Bouncycastle.Asn1.Tsp.IMessageImprint.GetHashedMessage ( )

Calls actual getHashedMessage method for the wrapped MessageImprint object.

Returns
hashed message byte array.

Implemented in iText.Bouncycastle.Asn1.Tsp.MessageImprintBC, and iText.Bouncycastlefips.Asn1.Tsp.MessageImprintBCFips.