Package org.bouncycastle.tsp.ers
Class ERSArchiveTimeStampGenerator
- java.lang.Object
-
- org.bouncycastle.tsp.ers.ERSArchiveTimeStampGenerator
-
public class ERSArchiveTimeStampGenerator extends java.lang.Object
Generator for RFC 4998 Archive Time Stamps.
-
-
Constructor Summary
Constructors Constructor Description ERSArchiveTimeStampGenerator(org.bouncycastle.operator.DigestCalculator digCalc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAllData(java.util.List dataObjects)
void
addData(ERSData dataObject)
ERSArchiveTimeStamp
generateArchiveTimeStamp(TimeStampResponse tspResponse)
java.util.List
generateArchiveTimeStamps(TimeStampResponse tspResponse)
TimeStampRequest
generateTimeStampRequest(TimeStampRequestGenerator tspReqGenerator)
TimeStampRequest
generateTimeStampRequest(TimeStampRequestGenerator tspReqGenerator, java.math.BigInteger nonce)
-
-
-
Method Detail
-
addData
public void addData(ERSData dataObject)
-
addAllData
public void addAllData(java.util.List dataObjects)
-
generateTimeStampRequest
public TimeStampRequest generateTimeStampRequest(TimeStampRequestGenerator tspReqGenerator) throws TSPException, java.io.IOException
- Throws:
TSPException
java.io.IOException
-
generateTimeStampRequest
public TimeStampRequest generateTimeStampRequest(TimeStampRequestGenerator tspReqGenerator, java.math.BigInteger nonce) throws TSPException, java.io.IOException
- Throws:
TSPException
java.io.IOException
-
generateArchiveTimeStamp
public ERSArchiveTimeStamp generateArchiveTimeStamp(TimeStampResponse tspResponse) throws TSPException, ERSException
- Throws:
TSPException
ERSException
-
generateArchiveTimeStamps
public java.util.List generateArchiveTimeStamps(TimeStampResponse tspResponse) throws TSPException, ERSException
- Throws:
TSPException
ERSException
-
-