property

quic.QuicSession.onkeylog

onkeylog: undefined | OnKeylogCallback

The callback to invoke when TLS key material is available. Requires sessionOptions.keylog to be true. Each invocation receives a single line of NSS Key Log Format text (including a trailing newline). This is useful for decrypting packet captures with tools like Wireshark. Read/write.

Can also be set via the onkeylog option in quic.connect() or quic.listen().