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

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

Inheritance diagram for iText.Commons.Bouncycastle.Tsp.ITimeStampToken:
iText.Bouncycastle.Tsp.TimeStampTokenBC iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips

Public Member Functions

ITimeStampTokenInfo  GetTimeStampInfo ()
  Calls actual getTimeStampInfo method for the wrapped TimeStampToken object. More...
 
byte[]  GetEncoded ()
  Calls actual getEncoded method for the wrapped TimeStampToken object. More...
 
void  Validate (IX509Certificate cert)
  Calls actual validate method for the wrapped TimeStampToken object. More...
 

Detailed Description

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

Member Function Documentation

◆ GetEncoded()

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

Calls actual getEncoded method for the wrapped TimeStampToken object.

Returns
the default encoding for the wrapped object.

Implemented in iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips, and iText.Bouncycastle.Tsp.TimeStampTokenBC.

◆ GetTimeStampInfo()

ITimeStampTokenInfo iText.Commons.Bouncycastle.Tsp.ITimeStampToken.GetTimeStampInfo ( )

Calls actual getTimeStampInfo method for the wrapped TimeStampToken object.

Returns

ITimeStampTokenInfo the wrapper for the received TimeStampInfo object.

Implemented in iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips, and iText.Bouncycastle.Tsp.TimeStampTokenBC.

◆ Validate()

void iText.Commons.Bouncycastle.Tsp.ITimeStampToken.Validate ( IX509Certificate  cert )

Calls actual validate method for the wrapped TimeStampToken object.

Parameters
cert X509Certificate wrapper

Implemented in iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips, and iText.Bouncycastle.Tsp.TimeStampTokenBC.