sessionOptions.keylog
- 类型:<boolean>
当 true 时,为会话启用 TLS 密钥记录。密钥材料会通过 NSS 密钥日志格式 中的 session.onkeylog 回调传递。每次回调调用会接收一行密钥材料。输出可与 Wireshark 等工具一起用于解密捕获的 QUIC 流量。
🌐 When true, enables TLS key logging for the session. Key material is
delivered to the session.onkeylog callback in NSS Key Log Format.
Each callback invocation receives a single line of key material. The output
can be used with tools such as Wireshark to decrypt captured QUIC traffic.