Overview of bctls-klog (RFC 9850 Key Logging)
mainbctls-klog is a specialized Bouncy Castle TLS API designed for RFC 9850 (SSLKEYLOGFILE) key logging. It allows you to report TLS connection secrets so that packet captures (e.g., from Wireshark) can be decrypted for analysis.
CRITICAL WARNING: DO NOT USE IN PRODUCTION.
RFC 9850 specifies that this mechanism MUST NOT be used in production systems. Anyone with access to these secrets can decrypt the associated traffic. Treat the bctls-klog JAR as a security risk that can expose every TLS connection made by the JVM.