Package eu.europa.esig.dss.spi.x509.tsp
Interface TSPSource
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CompositeTSPSource
,KeyEntityTSPSource
,OnlineTSPSource
,PKITSPSource
Abstraction of a Time Stamping authority which delivers RFC 3161 Time Stamp Responses containing tokens, from Time
Stamp Requests.
-
Method Summary
Modifier and TypeMethodDescriptiongetTimeStampResponse
(DigestAlgorithm digestAlgorithm, byte[] digest) Gets a TimeStampResponse relevant to the provided digest
-
Method Details
-
getTimeStampResponse
TimestampBinary getTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest) throws DSSException Gets a TimeStampResponse relevant to the provided digest- Parameters:
digestAlgorithm
- the used digest algorithmdigest
- the computed digest to be timestamped- Returns:
TimestampBinary
binary of a signed timestamp token- Throws:
DSSException
- if any error occurred
-