Interface ITSAClient
- All Known Implementing Classes:
TSAClientBouncyCastle
public interface ITSAClient
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.
-
Method Summary
Modifier and TypeMethodDescriptionReturns theMessageDigestto digest the data imprintbyte[]getTimeStampToken(byte[] imprint) Returns RFC 3161 timeStampToken.intGet the time stamp estimated token size.
-
Method Details
-
getTokenSizeEstimate
int getTokenSizeEstimate()Get the time stamp estimated token size. Implementation must return value large enough to accommodate the entire token returned bygetTimeStampToken(byte[])prior to actualgetTimeStampToken(byte[])call.- Returns:
- an estimate of the token size
-
getMessageDigest
Returns theMessageDigestto digest the data imprint- Returns:
- The
MessageDigestobject. - Throws:
GeneralSecurityException- the general security exception
-
getTimeStampToken
-