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. See: Wireshark The key and session identifier are forwarded to the log named 'io.netty.wireshark'.
  • Field Details

    • wireshark_logger

      private static final InternalLogger wireshark_logger
  • Constructor Details

    • WiresharkSslMasterKeyHandler

      private WiresharkSslMasterKeyHandler()
  • Method Details

    • accept

      protected void accept(SecretKey masterKey, 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