quic_keylog (quic v1.8.2)

View Source

Summary

Functions

Append one secret to the key log. ClientRandom is the 32-byte random from the ClientHello, which is what ties the line to a connection; a missing one means the line cannot be matched to anything, so it is dropped rather than written misleadingly.

Types

label/0

-type label() :: client_handshake | server_handshake | client_application | server_application.

Functions

enabled()

-spec enabled() -> boolean().

log(Label, ClientRandom, Secret)

-spec log(label(), binary() | undefined, binary() | undefined) -> ok.

Append one secret to the key log. ClientRandom is the 32-byte random from the ClientHello, which is what ties the line to a connection; a missing one means the line cannot be matched to anything, so it is dropped rather than written misleadingly.