DtlsTranscriptHash.resetWithMessageHash
void resetWithMessageHash(const(ubyte)[] hashValue) @safe pure nothrowResets the transcript and replaces it with a synthetic message_hash message per RFC 8446 §4.4.1 (also used by DTLS 1.3, RFC 9147 §4.2.2).
Used when a HelloRetryRequest is received. The current transcript (ClientHello1) is hashed and wrapped as: message_hash(Hash(CH1))
The synthetic message uses the protocol-agnostic 4-byte header: 254 || 00 00 Hash.length.
Parameters
hashValue | The hash of the current transcript to embed. |