TranscriptHash.resetWithMessageHash

void resetWithMessageHash(const(ubyte)[] hashValue)

Resets the transcript and replaces it with a synthetic message_hash message per RFC 8446 §4.4.1.

Used when a HelloRetryRequest is received. The current transcript (ClientHello1) is hashed and wrapped as: message_hash(Hash(CH1))

Parameters

hashValueThe hash of the current transcript to embed.