public class RFC3161Timestamper extends Timestamper
retries, retryWait, tsaurl, tsaurls| Constructor and Description |
|---|
RFC3161Timestamper() |
| Modifier and Type | Method and Description |
|---|---|
protected AttributeTable |
getUnsignedAttributes(CMSSignedData token)
Return the counter signature to be added as an unsigned attribute.
|
protected CMSSignedData |
timestamp(DigestAlgorithm algo,
byte[] encryptedDigest) |
create, getExtraCertificates, modifySignedData, setRetries, setRetryWait, setURL, setURLs, timestamppublic RFC3161Timestamper()
protected AttributeTable getUnsignedAttributes(CMSSignedData token)
TimestampergetUnsignedAttributes in class Timestamperprotected CMSSignedData timestamp(DigestAlgorithm algo, byte[] encryptedDigest) throws IOException, TimestampingException
timestamp in class TimestamperIOExceptionTimestampingExceptionCopyright © 2012–2019. All rights reserved.