public class ValidationTimeStamp extends Object
| Constructor and Description | 
|---|
ValidationTimeStamp(String tsaUrl)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.bouncycastle.cms.CMSSignedData | 
addSignedTimeStamp(org.bouncycastle.cms.CMSSignedData signedData)
Extend cms signed data with TimeStamp first or to all signers 
 | 
byte[] | 
getTimeStampToken(InputStream content)
Creates a signed timestamp token by the given input stream. 
 | 
public ValidationTimeStamp(String tsaUrl) throws NoSuchAlgorithmException, MalformedURLException
tsaUrl - The url where TS-Request will be done.NoSuchAlgorithmExceptionMalformedURLExceptionpublic byte[] getTimeStampToken(InputStream content) throws IOException
content - InputStream of the content to signIOExceptionpublic org.bouncycastle.cms.CMSSignedData addSignedTimeStamp(org.bouncycastle.cms.CMSSignedData signedData)
                                                      throws IOException
signedData - Generated CMS signed dataIOExceptionCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.