Class TimeStampService

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

public class TimeStampService extends Object
  • 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()