com.lowagie.text.pdf
public interface TSAClient
Interface used by the PdfPKCS7 digital signature builder to call Time Stamp Authority providing RFC 3161 compliant time stamp token.
Since: 2.1.6
Method Summary | |
---|---|
byte[] | getTimeStampToken(PdfPKCS7 caller, byte[] imprint)
Get RFC 3161 timeStampToken.
|
int | getTokenSizeEstimate()
Get the time stamp token size estimate.
|
Parameters: caller PdfPKCS7 - calling PdfPKCS7 instance (in case caller needs it) imprint byte[] - data imprint to be time-stamped
Returns: byte[] - encoded, TSA signed data of the timeStampToken
Throws: Exception - TSA request failed
Returns: an estimate of the token size