Package eu.europa.esig.dss.spi.x509.tsp
Interface TSPSource
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CompositeTSPSource,OnlineTSPSource
public interface TSPSource extends Serializable
Abstraction of a Time Stamping authority which delivers RFC 3161 Time Stamp Responses containing tokens, from Time Stamp Requests.
-
-
Method Summary
Modifier and Type Method Description org.bouncycastle.tsp.TimeStampTokengetTimeStampResponse(DigestAlgorithm digestAlgorithm, byte[] digest)Gets a TimeStampResponse relevant to the provided digest
-
-
-
Method Detail
-
getTimeStampResponse
org.bouncycastle.tsp.TimeStampToken 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:
- a signed timestamp token
- Throws:
DSSException- if any error occurred
-
-