iText 9.8.0 API
iText.Commons.Bouncycastle.Tsp.ITimeStampTokenInfo Interface Reference

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

Inheritance diagram for iText.Commons.Bouncycastle.Tsp.ITimeStampTokenInfo:
iText.Bouncycastle.Tsp.TimeStampTokenInfoBC iText.Bouncycastlefips.Tsp.TimeStampTokenInfoBCFips

Public Member Functions

IAlgorithmIdentifier  GetHashAlgorithm ()
  Calls actual getHashAlgorithm method for the wrapped TimeStampTokenInfo object. More...
 
ITstInfo  ToASN1Structure ()
  Calls actual toASN1Structure method for the wrapped TimeStampTokenInfo object. More...
 
DateTime  GetGenTime ()
  Calls actual getGenTime method for the wrapped TimeStampTokenInfo object. More...
 
byte[]  GetEncoded ()
  Calls actual getEncoded method for the wrapped TimeStampTokenInfo object. More...
 

Detailed Description

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

Member Function Documentation

◆ GetEncoded()

byte [] iText.Commons.Bouncycastle.Tsp.ITimeStampTokenInfo.GetEncoded ( )

Calls actual getEncoded method for the wrapped TimeStampTokenInfo object.

Returns
the default encoding for the wrapped object.

Implemented in iText.Bouncycastle.Tsp.TimeStampTokenInfoBC, and iText.Bouncycastlefips.Tsp.TimeStampTokenInfoBCFips.

◆ GetGenTime()

DateTime iText.Commons.Bouncycastle.Tsp.ITimeStampTokenInfo.GetGenTime ( )

Calls actual getGenTime method for the wrapped TimeStampTokenInfo object.

Returns

System.DateTime the received genTime.

Implemented in iText.Bouncycastle.Tsp.TimeStampTokenInfoBC, and iText.Bouncycastlefips.Tsp.TimeStampTokenInfoBCFips.

◆ GetHashAlgorithm()

IAlgorithmIdentifier iText.Commons.Bouncycastle.Tsp.ITimeStampTokenInfo.GetHashAlgorithm ( )

Calls actual getHashAlgorithm method for the wrapped TimeStampTokenInfo object.

Returns

iText.Commons.Bouncycastle.Asn1.X509.IAlgorithmIdentifier the wrapper for the received AlgorithmIdentifier object.

Implemented in iText.Bouncycastle.Tsp.TimeStampTokenInfoBC, and iText.Bouncycastlefips.Tsp.TimeStampTokenInfoBCFips.

◆ ToASN1Structure()

ITstInfo iText.Commons.Bouncycastle.Tsp.ITimeStampTokenInfo.ToASN1Structure ( )

Calls actual toASN1Structure method for the wrapped TimeStampTokenInfo object.

Returns

iText.Commons.Bouncycastle.Asn1.Tsp.ITstInfo TSTInfo wrapper.

Implemented in iText.Bouncycastle.Tsp.TimeStampTokenInfoBC, and iText.Bouncycastlefips.Tsp.TimeStampTokenInfoBCFips.