public interface TSAClient
Interface used by the PdfPKCS7 digital signature builder to call Time Stamp Authority providing RFC 3161 compliant time stamp token.
| Modifier and Type | Method and Description | 
|---|---|
MessageDigest | 
getMessageDigest()
Gets the MessageDigest to digest the data imprint 
 | 
byte[] | 
getTimeStampToken(PdfPKCS7 caller,
                 byte[] imprint)
Get RFC 3161 timeStampToken. 
 | 
int | 
getTokenSizeEstimate()
Get the time stamp token size estimate. 
 | 
int getTokenSizeEstimate()
MessageDigest getMessageDigest() throws GeneralSecurityException
GeneralSecurityExceptionbyte[] getTimeStampToken(PdfPKCS7 caller, byte[] imprint) throws Exception
caller - PdfPKCS7 - calling PdfPKCS7 instance (in case caller needs it)imprint - byte[] - data imprint to be time-stampedException - - TSA request failedCopyright © 2020. All rights reserved.