Class SslMasterKeyHandler.WiresharkSslMasterKeyHandler

  • All Implemented Interfaces:
    ChannelHandler, ChannelInboundHandler
    Enclosing class:
    SslMasterKeyHandler

    private static final class SslMasterKeyHandler.WiresharkSslMasterKeyHandler
    extends SslMasterKeyHandler
    Record the session identifier and master key to the InternalLogger named io.netty.wireshark. ex. RSA Session-ID:XXX Master-Key:YYY This format is understood by Wireshark 1.6.0. https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=686d4cabb41185591c361f9ec6b709034317144b The key and session identifier are forwarded to the log named 'io.netty.wireshark'.
    • Field Detail

      • wireshark_logger

        private static final InternalLogger wireshark_logger
    • Constructor Detail

      • WiresharkSslMasterKeyHandler

        private WiresharkSslMasterKeyHandler()
    • Method Detail

      • accept

        protected void accept​(javax.crypto.SecretKey masterKey,
                              javax.net.ssl.SSLSession session)
        Description copied from class: SslMasterKeyHandler
        Consume the master key for the session and the sessionId
        Specified by:
        accept in class SslMasterKeyHandler
        Parameters:
        masterKey - A 48-byte secret shared between the client and server.
        session - The current TLS session