public interface TimeStampProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY
The
Object the time-stamp processor is associated with in an
XMLCryptoContext. |
| 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.
|
static final String PROPERTY
Object the time-stamp processor is associated with in an
XMLCryptoContext.
TimeStampProcessor tsp = new TCPTSPTimeStampProcessor("tsp.iaik.at", 318);
DOMExtensionContext context = new DOMExtensionContext();
# this registers the time-stamp processor within the XMLCryptoContext
context.put(TimeStampProcessor.PROPERTY, tsp);
TimeStampToken timeStamp(OctetStreamData data) throws TimeStampException
data - the data to be time stampedTimeStampException - if time-stamping failed© 2002-2005 IAIK, © 2004, 2006 - 2017 Stiftung SIC