public class HTTPTSPTimeStampProcessor extends TSPTimeStampProcessor implements TimeStampProcessor
TimeStampProcessor that uses the
Time-Stamp Protocol (TSP) ( RFC3161) to generate ASN.1
time stamps.| Modifier and Type | Field and Description |
|---|---|
protected URL |
url_ |
PROPERTY| Constructor and Description |
|---|
HTTPTSPTimeStampProcessor(String url) |
| Modifier and Type | Method and Description |
|---|---|
TimeStampToken |
timeStamp(OctetStreamData data)
Creates a time-stamp on the data provided by sending a corresponding
time-stamp request to a time-stamping authority (TSA) and returning the
time-stamp token obtained from the TSA.
|
calculateMessageImprint, createTimeStampReqprotected URL url_
public HTTPTSPTimeStampProcessor(String url) throws MalformedURLException
url - the URL of the TSA Service.MalformedURLExceptionpublic TimeStampToken timeStamp(OctetStreamData data) throws TimeStampException
TimeStampProcessortimeStamp in interface TimeStampProcessortimeStamp in class TSPTimeStampProcessordata - the data to be time stampedTimeStampException - if time-stamping failedTimeStampProcessor.timeStamp(OctetStreamData)© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC