iText 9.0.0 API
iText.Commons.Bouncycastle.Asn1.Tsp.ITstInfo Interface Reference

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

Inheritance diagram for iText.Commons.Bouncycastle.Asn1.Tsp.ITstInfo:
iText.Commons.Bouncycastle.Asn1.IAsn1Encodable iText.Bouncycastle.Asn1.Tsp.TstInfoBC iText.Bouncycastlefips.Asn1.Tsp.TstInfoBCFips

Public Member Functions

IMessageImprint  GetMessageImprint ()
  Calls actual getMessageImprint method for the wrapped TSTInfo object. More...
 
DateTime  GetGenTime ()
  Calls actual getGenTime method for the wrapped TSTInfo object and gets date. 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 TSTInfo that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GetGenTime()

DateTime iText.Commons.Bouncycastle.Asn1.Tsp.ITstInfo.GetGenTime ( )

Calls actual getGenTime method for the wrapped TSTInfo object and gets date.

Returns
the received System.DateTime object.

Implemented in iText.Bouncycastle.Asn1.Tsp.TstInfoBC, and iText.Bouncycastlefips.Asn1.Tsp.TstInfoBCFips.

◆ GetMessageImprint()

IMessageImprint iText.Commons.Bouncycastle.Asn1.Tsp.ITstInfo.GetMessageImprint ( )

Calls actual getMessageImprint method for the wrapped TSTInfo object.

Returns

IMessageImprint wrapper for the received MessageImprint object.

Implemented in iText.Bouncycastle.Asn1.Tsp.TstInfoBC, and iText.Bouncycastlefips.Asn1.Tsp.TstInfoBCFips.