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 |
---|---|
java.security.MessageDigest |
getMessageDigest()
Gets the MessageDigest to digest the data imprint
|
byte[] |
getTimeStampToken(byte[] imprint)
Get RFC 3161 timeStampToken.
|
int |
getTokenSizeEstimate()
Get the time stamp token size estimate.
|
int getTokenSizeEstimate()
java.security.MessageDigest getMessageDigest() throws java.security.GeneralSecurityException
java.security.GeneralSecurityException
byte[] getTimeStampToken(byte[] imprint) throws java.lang.Exception
imprint
- byte[] - data imprint to be time-stampedjava.lang.Exception
- - TSA request failedCopyright © 2013. All Rights Reserved.