Class SslMasterKeyHandler.WiresharkSslMasterKeyHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.ssl.SslMasterKeyHandler
io.netty.handler.ssl.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'.-
Nested Class Summary
Nested classes/interfaces inherited from interface ChannelHandler
ChannelHandler.Sharable -
Field Summary
FieldsFields inherited from class SslMasterKeyHandler
SYSTEM_PROP_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaccept(SecretKey masterKey, SSLSession session) Consume the master key for the session and the sessionIdMethods inherited from class SslMasterKeyHandler
ensureSunSslEngineAvailability, isSunSslEngineAvailable, masterKeyHandlerEnabled, newWireSharkSslMasterKeyHandler, sunSslEngineUnavailabilityCause, userEventTriggeredMethods inherited from class ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtMethods inherited from class ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharableMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ChannelHandler
handlerAdded, handlerRemoved
-
Field Details
-
wireshark_logger
-
-
Constructor Details
-
WiresharkSslMasterKeyHandler
private WiresharkSslMasterKeyHandler()
-
-
Method Details
-
accept
Description copied from class:SslMasterKeyHandlerConsume the master key for the session and the sessionId- Specified by:
acceptin classSslMasterKeyHandler- Parameters:
masterKey- A 48-byte secret shared between the client and server.session- The current TLS session
-