Package org.bouncycastle.tsp.ers
Class ERSArchiveTimeStampGenerator
java.lang.Object
org.bouncycastle.tsp.ers.ERSArchiveTimeStampGenerator
Generator for RFC 4998 Archive Time Stamps.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAllData
(List<ERSData> dataObjects) void
generateArchiveTimeStamp
(TimeStampResponse tspResponse) generateArchiveTimeStamps
(TimeStampResponse tspResponse) generateTimeStampRequest
(TimeStampRequestGenerator tspReqGenerator) generateTimeStampRequest
(TimeStampRequestGenerator tspReqGenerator, BigInteger nonce)
-
Constructor Details
-
ERSArchiveTimeStampGenerator
-
-
Method Details
-
addData
-
addAllData
-
generateTimeStampRequest
public TimeStampRequest generateTimeStampRequest(TimeStampRequestGenerator tspReqGenerator) throws TSPException, IOException - Throws:
TSPException
IOException
-
generateTimeStampRequest
public TimeStampRequest generateTimeStampRequest(TimeStampRequestGenerator tspReqGenerator, BigInteger nonce) throws TSPException, IOException - Throws:
TSPException
IOException
-
generateArchiveTimeStamp
public ERSArchiveTimeStamp generateArchiveTimeStamp(TimeStampResponse tspResponse) throws TSPException, ERSException - Throws:
TSPException
ERSException
-
generateArchiveTimeStamps
public List<ERSArchiveTimeStamp> generateArchiveTimeStamps(TimeStampResponse tspResponse) throws TSPException, ERSException - Throws:
TSPException
ERSException
-