The TimestampRequest Builder takes a message (as bytes) as parameter.
timestamp_request = (
TimestampRequestBuilder().data(message).build()
)
But the verifier ask for a message hash.
verifier.verify(timestamp_response, message_hash)
We could also allow a message as bytes, and reconstruct the hash using the hash algorithm in the response.
That would make the API slightly more convenient to use.
The TimestampRequest Builder takes a message (as bytes) as parameter.
But the verifier ask for a message hash.
We could also allow a
messageas bytes, and reconstruct the hash using the hash algorithm in the response.That would make the API slightly more convenient to use.