iText 5

TSAClientBouncyCastle

TSAClientBouncyCastle Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf.security iTextSharp.text.pdf.security.TSAClientBouncyCastle[[TSAClientBouncyCastle]] iTextSharp.text.pdf.security.ITSAClient[[ITSAClient]] class iTextSharp.text.pdf.security.ITSAClient interfaceStyle; end iTextSharp.text.pdf.security.ITSAClient --> iTextSharp.text.pdf.security.TSAClientBouncyCastle

Members

Methods

Public methods

Returns

Name

IDigest

GetMessageDigest

()

string

GetTSAReqPolicy

()

byte``[]

GetTimeStampToken

(byte``[] imprint)

int

GetTokenSizeEstimate

()

void

SetTSAInfo

(

ITSAInfoBouncyCastle

tsaInfo)

void

SetTSAReqPolicy

(string tsaReqPolicy)

Protected internal methods

Returns

Name

byte``[]

GetTSAResponse

(byte``[] requestBytes)

Details

Inheritance

Constructors

TSAClientBouncyCastle [1/3]

Source code

public TSAClientBouncyCastle(string url)

Arguments

Type

Name

Description

string

url

TSAClientBouncyCastle [2/3]

Source code

public TSAClientBouncyCastle(string url, string username, string password)

Arguments

Type

Name

Description

string

url

string

username

string

password

TSAClientBouncyCastle [3/3]

Source code

public TSAClientBouncyCastle(string url, string username, string password, int tokSzEstimate, string digestAlgorithm)

Arguments

Type

Name

Description

string

url

string

username

string

password

int

tokSzEstimate

string

digestAlgorithm

Methods

SetTSAInfo

Source code

public virtual void SetTSAInfo(ITSAInfoBouncyCastle tsaInfo)

Arguments

Type

Name

Description

ITSAInfoBouncyCastle

tsaInfo

GetTSAReqPolicy

Source code

public virtual string GetTSAReqPolicy()

SetTSAReqPolicy

Source code

public virtual void SetTSAReqPolicy(string tsaReqPolicy)

Arguments

Type

Name

Description

string

tsaReqPolicy

GetTokenSizeEstimate

Source code

public virtual int GetTokenSizeEstimate()

GetMessageDigest

Source code

public virtual IDigest GetMessageDigest()

GetTimeStampToken

Source code

public virtual byte GetTimeStampToken(byte[] imprint)

Arguments

Type

Name

Description

byte``[]

imprint

GetTSAResponse

Source code

protected internal virtual byte GetTSAResponse(byte[] requestBytes)

Arguments

Type

Name

Description

byte``[]

requestBytes

Generated with ModularDoc