public class AuthenticodeTimestamper extends Timestamper
retries, retryWait, tsaurl, tsaurls| Constructor and Description |
|---|
AuthenticodeTimestamper() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<X509CertificateHolder> |
getExtraCertificates(CMSSignedData token)
Return the certificate chain of the timestamping authority if it isn't included
with the counter signature in the unsigned attributes.
|
protected AttributeTable |
getUnsignedAttributes(CMSSignedData token)
Return the counter signature to be added as an unsigned attribute.
|
protected CMSSignedData |
timestamp(DigestAlgorithm algo,
byte[] encryptedDigest) |
create, modifySignedData, setRetries, setRetryWait, setURL, setURLs, timestamppublic AuthenticodeTimestamper()
protected Collection<X509CertificateHolder> getExtraCertificates(CMSSignedData token)
TimestampergetExtraCertificates in class Timestamperprotected 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.