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

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

Inheritance diagram for iText.Commons.Bouncycastle.Tsp.ITimeStampRequestGenerator:
iText.Bouncycastle.Tsp.TimeStampRequestGeneratorBC iText.Bouncycastlefips.Tsp.TimeStampRequestGeneratorBCFips

Public Member Functions

void  SetCertReq (bool var1)
  Calls actual setCertReq method for the wrapped TimeStampRequestGenerator object. More...
 
void  SetReqPolicy (String reqPolicy)
  Calls actual setReqPolicy method for the wrapped TimeStampRequestGenerator object. More...
 
ITimeStampRequest  Generate (IDerObjectIdentifier objectIdentifier, byte[] imprint, IBigInteger nonce)
  Calls actual generate method for the wrapped TimeStampRequestGenerator object. More...
 

Detailed Description

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

Member Function Documentation

◆ Generate()

ITimeStampRequest iText.Commons.Bouncycastle.Tsp.ITimeStampRequestGenerator.Generate ( IDerObjectIdentifier  objectIdentifier,
byte[]  imprint,
IBigInteger  nonce 
)

Calls actual generate method for the wrapped TimeStampRequestGenerator object.

Parameters
objectIdentifier ASN1ObjectIdentifier wrapper
imprint byte array
nonce BigInteger
Returns

ITimeStampRequest the wrapper for generated TimeStampRequest object.

Implemented in iText.Bouncycastle.Tsp.TimeStampRequestGeneratorBC, and iText.Bouncycastlefips.Tsp.TimeStampRequestGeneratorBCFips.

◆ SetCertReq()

void iText.Commons.Bouncycastle.Tsp.ITimeStampRequestGenerator.SetCertReq ( bool  var1 )

Calls actual setCertReq method for the wrapped TimeStampRequestGenerator object.

Parameters
var1 the value to be set

Implemented in iText.Bouncycastlefips.Tsp.TimeStampRequestGeneratorBCFips, and iText.Bouncycastle.Tsp.TimeStampRequestGeneratorBC.

◆ SetReqPolicy()

void iText.Commons.Bouncycastle.Tsp.ITimeStampRequestGenerator.SetReqPolicy ( String  reqPolicy )

Calls actual setReqPolicy method for the wrapped TimeStampRequestGenerator object.

Parameters
reqPolicy the value to be set

Implemented in iText.Bouncycastlefips.Tsp.TimeStampRequestGeneratorBCFips, and iText.Bouncycastle.Tsp.TimeStampRequestGeneratorBC.