[]
Defines a contract for providing trusted timestamp tokens for arbitrary binary data.
buildTimeStampToken(dataHash, timeStampParams): Promise<Uint8Array<ArrayBufferLike>>;
Generates a timestamp token (RFC 3161) for the provided data hash.
Uint8Array
The data hash to be timestamped.
The TimeStampParams returned by TimeStampProviderBase.getTimeStampParams.
Promise<Uint8Array<ArrayBufferLike>>
A promise that resolves to a DER-encoded timestamp token.
getTimeStampParams(): Promise<TimeStampParams>;
Prepares parameters required for the first stage of the timestamping process.
This method performs validation, initializes timestamping-related data, and collects all inputs required for building the final timestamp container. It corresponds to the "preparation stage" of timestamping.
Promise<TimeStampParams>
A TimeStampParams object containing parameters required for timestamp generation
If the configured timestamp format is invalid or unsupported.