Package fr.gouv.vitam.logbook.common.traceability

# Class TimeStampService

java.lang.Object
fr.gouv.vitam.logbook.common.traceability.TimeStampService

public class TimeStampService extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TimeStampService()`
  `TimeStampService(DigestType digestType)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `getDigestAsBytes(String property)`
  `byte[]`
  `getDigestFrom(byte[]... toCompute)`
  `DigestType`
  `getDigestType()`
  `org.bouncycastle.tsp.TimeStampToken`
  `getTimeStampFrom(String timeStampAsString)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TimeStampService

    public TimeStampService()

  - ### TimeStampService

    public TimeStampService(DigestType digestType)

- ## Method Details

  - ### getDigestFrom

    public byte[] getDigestFrom(byte[]... toCompute)

  - ### getTimeStampFrom

    public org.bouncycastle.tsp.TimeStampToken getTimeStampFrom(String timeStampAsString) throws IOException, org.bouncycastle.tsp.TSPException
    Throws:
      `IOException`
      `org.bouncycastle.tsp.TSPException`

  - ### getDigestAsBytes

    public byte[] getDigestAsBytes(String property)

  - ### getDigestType

    public DigestType getDigestType()