public class TimestampGenerator extends Object
Constructor and Description |
---|
TimestampGenerator(TimeStampSignature timeStampSignature)
Constructor
|
Modifier and Type | Method and Description |
---|---|
byte[] |
generateToken(byte[] hash,
DigestType digestType,
BigInteger nonce) |
public TimestampGenerator(TimeStampSignature timeStampSignature)
timeStampSignature
- public byte[] generateToken(byte[] hash, DigestType digestType, BigInteger nonce) throws TimeStampException
hash
- the hash to timestampdigestType
- algorithm use to generate the hashnonce
- unique id to secure a timestamp request, can be nullTimeStampException
Copyright © 2018 Vitam. All rights reserved.