Class TimeStampService
- java.lang.Object
-
- fr.gouv.vitam.logbook.common.traceability.TimeStampService
-
public class TimeStampService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TimeStampService()
TimeStampService(DigestType digestType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getDigestAsBytes(java.lang.String property)
byte[]
getDigestFrom(byte[]... toCompute)
DigestType
getDigestType()
org.bouncycastle.tsp.TimeStampToken
getTimeStampFrom(java.lang.String timeStampAsString)
-
-
-
Constructor Detail
-
TimeStampService
public TimeStampService()
-
TimeStampService
public TimeStampService(DigestType digestType)
-
-
Method Detail
-
getDigestFrom
public byte[] getDigestFrom(byte[]... toCompute)
-
getTimeStampFrom
public org.bouncycastle.tsp.TimeStampToken getTimeStampFrom(java.lang.String timeStampAsString) throws java.io.IOException, org.bouncycastle.tsp.TSPException
- Throws:
java.io.IOException
org.bouncycastle.tsp.TSPException
-
getDigestAsBytes
public byte[] getDigestAsBytes(java.lang.String property)
-
getDigestType
public DigestType getDigestType()
-
-