iText 9.8.0 API
iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips Class Reference

Wrapper class for Org.BouncyCastle.Tsp.TimeStampToken. More...

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

Public Member Functions

  TimeStampTokenBCFips (CmsSignedData tsToken, SignerInformation tsaSignerInfo, TstInfo tstInfo, EssCertID certID)
  Creates new wrapper instance for TimeStampToken by specifying its fields: CmsSignedData, SignerInformation, TstInfo, EssCertID. More...
 
  TimeStampTokenBCFips (CmsSignedData tsToken, SignerInformation tsaSignerInfo, TstInfo tstInfo, EssCertIDv2 certID)
  Creates new wrapper instance for TimeStampToken by specifying its fields: CmsSignedData, SignerInformation, TstInfo, EssCertIDv2. More...
 
  TimeStampTokenBCFips (ContentInfo contentInfo)
 
virtual CmsSignedData  GetCmsSignedData ()
  Gets actual org.bouncycastle object being wrapped. More...
 
virtual SignerInformation  GetSignerInformation ()
  Gets actual org.bouncycastle object being wrapped. More...
 
virtual TstInfo  GetTstInfo ()
  Gets actual org.bouncycastle object being wrapped. More...
 
virtual Asn1Encodable  GetCertID ()
  Gets actual org.bouncycastle object being wrapped. More...
 
virtual ITimeStampTokenInfo  GetTimeStampInfo ()
  Calls actual getTimeStampInfo method for the wrapped TimeStampToken object. More...
 
virtual byte[]  GetEncoded ()
  Calls actual getEncoded method for the wrapped TimeStampToken object. More...
 
virtual void  Validate (IX509Certificate certificate)
  Calls actual validate method for the wrapped TimeStampToken object. More...
 
override bool  Equals (Object o)
  Indicates whether some other object is "equal to" this one. More...
 
override int  GetHashCode ()
  Returns a hash code value based on the wrapped object. More...
 
override String  ToString ()
  Delegates toString method call to the wrapped object. More...
 

Detailed Description

Wrapper class for Org.BouncyCastle.Tsp.TimeStampToken.

Constructor & Destructor Documentation

◆ TimeStampTokenBCFips() [1/2]

iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.TimeStampTokenBCFips ( CmsSignedData  tsToken,
SignerInformation  tsaSignerInfo,
TstInfo  tstInfo,
EssCertID  certID 
)
inline

Creates new wrapper instance for TimeStampToken by specifying its fields: CmsSignedData, SignerInformation, TstInfo, EssCertID.

◆ TimeStampTokenBCFips() [2/2]

iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.TimeStampTokenBCFips ( CmsSignedData  tsToken,
SignerInformation  tsaSignerInfo,
TstInfo  tstInfo,
EssCertIDv2  certID 
)
inline

Creates new wrapper instance for TimeStampToken by specifying its fields: CmsSignedData, SignerInformation, TstInfo, EssCertIDv2.

Member Function Documentation

◆ Equals()

override bool iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.Equals ( Object  o )
inline

Indicates whether some other object is "equal to" this one.

Indicates whether some other object is "equal to" this one. Compares wrapped objects.

◆ GetCertID()

virtual Asn1Encodable iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.GetCertID ( )
inlinevirtual

Gets actual org.bouncycastle object being wrapped.

Returns
wrapped CmsSignedData.

◆ GetCmsSignedData()

virtual CmsSignedData iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.GetCmsSignedData ( )
inlinevirtual

Gets actual org.bouncycastle object being wrapped.

Returns
wrapped CmsSignedData.

◆ GetEncoded()

virtual byte [] iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.GetEncoded ( )
inlinevirtual

Calls actual getEncoded method for the wrapped TimeStampToken object.

Implements iText.Commons.Bouncycastle.Tsp.ITimeStampToken.

◆ GetHashCode()

override int iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.GetHashCode ( )
inline

Returns a hash code value based on the wrapped object.

◆ GetSignerInformation()

virtual SignerInformation iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.GetSignerInformation ( )
inlinevirtual

Gets actual org.bouncycastle object being wrapped.

Returns
wrapped SignerInformation.

◆ GetTimeStampInfo()

virtual ITimeStampTokenInfo iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.GetTimeStampInfo ( )
inlinevirtual

Calls actual getTimeStampInfo method for the wrapped TimeStampToken object.

Implements iText.Commons.Bouncycastle.Tsp.ITimeStampToken.

◆ GetTstInfo()

virtual TstInfo iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.GetTstInfo ( )
inlinevirtual

Gets actual org.bouncycastle object being wrapped.

Returns
wrapped Org.BouncyCastle.Asn1.Tsp.TstInfo.

◆ ToString()

override String iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.ToString ( )
inline

Delegates toString method call to the wrapped object.

◆ Validate()

virtual void iText.Bouncycastlefips.Tsp.TimeStampTokenBCFips.Validate ( IX509Certificate  certificate )
inlinevirtual

Calls actual validate method for the wrapped TimeStampToken object.

Implements iText.Commons.Bouncycastle.Tsp.ITimeStampToken.