Interface ITSAClient
- Namespace
- iText.Signatures
- Assembly
- itext.sign.dll
Time Stamp Authority client (caller) interface.
public interface ITSAClient
Remarks
Time Stamp Authority client (caller) interface.
Interface used by the PdfPKCS7 digital signature builder to call Time Stamp Authority providing RFC 3161 compliant time stamp token.Methods
GetMessageDigest()
Returns the iText.Commons.Bouncycastle.Crypto.IDigest to digest the data imprint
IDigest GetMessageDigest()
Returns
- IDigest
The iText.Commons.Bouncycastle.Crypto.IDigest object.
GetTimeStampToken(byte[])
Returns RFC 3161 timeStampToken.
byte[] GetTimeStampToken(byte[] imprint)
Parameters
imprint
byte[]byte[] - data imprint to be time-stamped
Returns
- byte[]
byte[] - encoded, TSA signed data of the timeStampToken
GetTokenSizeEstimate()
Get the time stamp estimated token size.
int GetTokenSizeEstimate()
Returns
- int
an estimate of the token size
Remarks
Get the time stamp estimated token size. Implementation must return value large enough to accommodate the entire token returned by GetTimeStampToken(byte[]) prior to actual GetTimeStampToken(byte[]) call.