
classes.io.netty.handler.ssl.SslHandler.class Maven / Gradle / Ivy
???? 2G
R
S T
U V W X Y
Z [\
]
$^_ `a
b c d ' e ? fg6
h: i j
klmn op q r s t
um
vw
xyz
,^{
,|
,}~
,
+h
??
?? 7???
????
<??? ?
????
Ah
???
E???????
??? ??????
O??
?? ?
???? ?? ?
??
????
??
N?
?
?
?? ?? ?
?
N?
?? &?
??
??
?
?
???
,?
mh?
?
N????? ?
?
??
?
?? ??
?
N?
N??
N?
N?
N???
N?
N?
N?
N?
k?
N?
N? &?
??
N? ?
?
$?
???????????????
?
Z?
??
?? ?
??
??
Z?
??
???
???
?? ?
??
??
?
P
?
P
P
?^
?
??
?m
?! ?"
#
$
N%
"&
k'
k()*+
?,-.-?/
?,0
?12?
?3
?45
67
68?#9m: ;<?=
k>
k?
q?@
?AB?C
D?E??
F
G
HI
?J
kK
m^?L
M??NO
?PQ
?P?R
k?
kSTU
P vV?WX
Y?Z[
?\
]^_`a
b?c
def
Pg
hij
?kl
?mn
qho
pqrst
!^uvwx InnerClasses LazyChannelPromise logger /Lio/netty/util/internal/logging/InternalLogger; IGNORABLE_CLASS_IN_STACK Ljava/util/regex/Pattern; IGNORABLE_ERROR_MESSAGE SSLENGINE_CLOSED Ljavax/net/ssl/SSLException; HANDSHAKE_TIMED_OUT CHANNEL_CLOSED *Ljava/nio/channels/ClosedChannelException; ctx (Lio/netty/channel/ChannelHandlerContext; engine Ljavax/net/ssl/SSLEngine; maxPacketBufferSize I delegatedTaskExecutor Ljava/util/concurrent/Executor; singleBuffer [Ljava/nio/ByteBuffer; wantsDirectBuffer Z wantsLargeOutboundNetworkBuffer startTls sentFirstMessage flushedBeforeHandshake readDuringHandshake pendingUnencryptedWrites $Lio/netty/channel/PendingWriteQueue; handshakePromise "Lio/netty/util/concurrent/Promise; Signature >Lio/netty/util/concurrent/Promise; sslCloseFuture 4Lio/netty/handler/ssl/SslHandler$LazyChannelPromise;
needsFlush outboundClosed packetLength firedChannelRead handshakeTimeoutMillis J closeNotifyTimeoutMillis $assertionsDisabled (Ljavax/net/ssl/SSLEngine;)V Code LineNumberTable LocalVariableTable this !Lio/netty/handler/ssl/SslHandler; (Ljavax/net/ssl/SSLEngine;Z)V ;(Ljavax/net/ssl/SSLEngine;Ljava/util/concurrent/Executor;)V
Deprecated RuntimeVisibleAnnotations Ljava/lang/Deprecated; <(Ljavax/net/ssl/SSLEngine;ZLjava/util/concurrent/Executor;)V
opensslEngine
StackMapTablefyz} getHandshakeTimeoutMillis ()J setHandshakeTimeout #(JLjava/util/concurrent/TimeUnit;)V handshakeTimeout unit Ljava/util/concurrent/TimeUnit; setHandshakeTimeoutMillis (J)V getCloseNotifyTimeoutMillis setCloseNotifyTimeout closeNotifyTimeout setCloseNotifyTimeoutMillis ()Ljavax/net/ssl/SSLEngine; applicationProtocol ()Ljava/lang/String; sess Ljavax/net/ssl/SSLSession;~ handshakeFuture #()Lio/netty/util/concurrent/Future; ?()Lio/netty/util/concurrent/Future; close "()Lio/netty/channel/ChannelFuture; C(Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; future !Lio/netty/channel/ChannelPromise; handlerRemoved0 +(Lio/netty/channel/ChannelHandlerContext;)V
Exceptions bind d(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V localAddress Ljava/net/SocketAddress; promise connect |(Lio/netty/channel/ChannelHandlerContext;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V
remoteAddress
deregister L(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V
disconnect read write ^(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V msg Ljava/lang/Object; flush cause Ljava/lang/Throwable;? wrap ,(Lio/netty/channel/ChannelHandlerContext;Z)V buf Lio/netty/buffer/ByteBuf; result Ljavax/net/ssl/SSLEngineResult; e inUnwrap out alloc "Lio/netty/buffer/ByteBufAllocator;
needUnwrap?a????
finishWrap g(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Lio/netty/channel/ChannelPromise;ZZ)V wrapNonAppData ?(Lio/netty/buffer/ByteBufAllocator;Ljavax/net/ssl/SSLEngine;Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Ljavax/net/ssl/SSLEngineResult; in0 out0 Ljava/nio/ByteBuffer; readerIndex
readableBytes in newDirectIn=_ channelInactivet exceptionCaught @(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V ignoreException (Ljava/lang/Throwable;)Z clazz Ljava/lang/Class; classname Ljava/lang/String;
methodname element Ljava/lang/StackTraceElement; arr$ [Ljava/lang/StackTraceElement; len$ i$ message elements t LocalVariableTypeTable Ljava/lang/Class<*>;???? isEncrypted (Lio/netty/buffer/ByteBuf;)Z buffer decode T(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V newTotalLength decoded ,Lio/netty/handler/ssl/NotSslRecordException; Ljava/util/List; startOffset endOffset offset totalLength nonSslRecord $Ljava/util/List;? h(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V channelReadComplete readIfNeeded
flushIfNeeded unwrapNonAppData unwrap F(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;II)Z status? Status &Ljavax/net/ssl/SSLEngineResult$Status; handshakeStatus? HandshakeStatus /Ljavax/net/ssl/SSLEngineResult$HandshakeStatus; produced consumed packet length wrapLater
notifyClosure decodeOut?? n(Ljavax/net/ssl/SSLEngine;Lio/netty/buffer/ByteBuf;IILio/netty/buffer/ByteBuf;)Ljavax/net/ssl/SSLEngineResult; $Lio/netty/handler/ssl/OpenSslEngine; len nioBufferCount writerIndexp toByteBuffer 2(Lio/netty/buffer/ByteBuf;II)Ljava/nio/ByteBuffer; index runDelegatedTasks ()V task Ljava/lang/Runnable; Ljava/lang/InterruptedException; tasks latch %Ljava/util/concurrent/CountDownLatch; interrupted &Ljava/util/List;?/5 %setHandshakeSuccessIfStillHandshaking ()Z setHandshakeSuccess setHandshakeFailure A(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;Z)V closeInbound notifyHandshakeFailure (Ljava/lang/Throwable;)V closeOutboundAndChannel M(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;Z)V closeNotifyFuture handlerAdded renegotiate E(Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; executor (Lio/netty/util/concurrent/EventExecutor;? }(Lio/netty/util/concurrent/Promise;)Lio/netty/util/concurrent/Future; handshake %(Lio/netty/util/concurrent/Promise;)V oldHandshakePromise p Ljava/lang/Exception; newHandshakePromise
timeoutFuture &Ljava/util/concurrent/ScheduledFuture; )Ljava/util/concurrent/ScheduledFuture<*>;?T A(Lio/netty/util/concurrent/Promise;)V
channelActive safeClose l(Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelFuture;Lio/netty/channel/ChannelPromise;)V flushFuture Lio/netty/channel/ChannelFuture;? addCloseListener D(Lio/netty/channel/ChannelFuture;Lio/netty/channel/ChannelPromise;)V allocate D(Lio/netty/channel/ChannelHandlerContext;I)Lio/netty/buffer/ByteBuf; capacity allocateOutNetBuf pendingBytes
access$102 %(Lio/netty/handler/ssl/SslHandler;Z)Z x0 x1
access$200 <(Lio/netty/handler/ssl/SslHandler;)Ljavax/net/ssl/SSLEngine;
access$300 1()Lio/netty/util/internal/logging/InternalLogger;
access$400 K(Lio/netty/handler/ssl/SslHandler;)Lio/netty/channel/ChannelHandlerContext;
access$500 F(Lio/netty/handler/ssl/SslHandler;Lio/netty/util/concurrent/Promise;)V
access$600 ()Ljavax/net/ssl/SSLException;
access$700 9(Lio/netty/handler/ssl/SslHandler;Ljava/lang/Throwable;)V
access$800
SourceFile SslHandler.java7810%&45*+67N?U\???UaU java/nio/ByteBuffer<= 2io/netty/handler/ssl/SslHandler$LazyChannelPromiseU?GHKLQRSR java/lang/NullPointerExceptionU?:;A?y??~??89 "io/netty/handler/ssl/OpenSslEngine>?@??????????op "java/lang/IllegalArgumentException java/lang/StringBuilder handshakeTimeoutMillis: ???? (expected: >= 0)?wtp closeNotifyTimeoutMillis: 6u 0io/netty/handler/ssl/ApplicationProtocolAccessor?w??~?!? !io/netty/handler/ssl/SslHandler$1U????EF? !io/netty/channel/ChannelException &Pending write on removal of SslHandler? 2io/netty/handler/ssl/ReferenceCountedOpenSslEngine?????????D??? io/netty/buffer/ByteBuf 6io/netty/handler/codec/UnsupportedMessageTypeException java/lang/ClassU?????B???????C??? java/lang/Throwable????????<:???????/0??????????? java/lang/IllegalStateException Unknown handshake status: ?? javax/net/ssl/SSLException?????M???????????????? io/netty/buffer/CompositeByteBuf ????????????????????????23?????? ?{} Swallowing a harmless 'connection reset by peer / broken pipe' error that occurred while writing close_notify in response to the peer's close_notify??????~?? java/io/IOException?w????w.-?????????w?w io.netty.????,-???????? java/nio/channels/SocketChannel?? !java/nio/channels/DatagramChannel?? com.sun.nio.sctp.SctpChannel ?w java/lang/ClassNotFoundException *buffer must have at least 5 readable bytesO9T? java/lang/AssertionError??P? *io/netty/handler/ssl/NotSslRecordException not an SSL/TLS record: U? ?
9:????? unknown handshake status: ??????? java/util/ArrayListU??? #java/util/concurrent/CountDownLatch !io/netty/handler/ssl/SslHandler$2Uzi java/lang/InterruptedException ! {} HANDSHAKEN: {}"w#$%&' possible truncation attack() 0{} SSLEngine.closeInbound() raised an exception.*????????23 "io/netty/channel/PendingWriteQueueU?+?, - !io/netty/handler/ssl/SslHandler$3UI !io/netty/handler/ssl/SslHandler$4./0 java/lang/Exception !io/netty/handler/ssl/SslHandler$51n23 !io/netty/handler/ssl/SslHandler$6U45? !io/netty/handler/ssl/SslHandler$7 !io/netty/handler/ssl/SslHandler$8U67.8 'io/netty/channel/ChannelPromiseNotifier io/netty/channel/ChannelPromiseU9??:;< io/netty/handler/ssl/SslHandler=>?@ )^.*(?:Socket|Datagram|Sctp|Udt)Channel.*$AB @^.*(?:connection.*(?:reset|closed|abort|broken)|broken.*pipe).*$AC SSLEngine closed already wrap(...)DEF handshake timed out handshake(...) (java/nio/channels/ClosedChannelException channelInactive(...) +io/netty/handler/codec/ByteToMessageDecoder 'io/netty/channel/ChannelOutboundHandler !io/netty/handler/ssl/SslHandler$9 javax/net/ssl/SSLEngine java/util/concurrent/Executor} Cumulator 5io/netty/handler/codec/ByteToMessageDecoder$Cumulator javax/net/ssl/SSLSession &io/netty/channel/ChannelHandlerContext io/netty/buffer/ByteBufAllocator java/lang/Object javax/net/ssl/SSLEngineResult java/lang/String java/lang/StackTraceElement java/util/List $javax/net/ssl/SSLEngineResult$Status -javax/net/ssl/SSLEngineResult$HandshakeStatus java/lang/Runnable &io/netty/util/concurrent/EventExecutor io/netty/util/concurrent/Promise $java/util/concurrent/ScheduledFuture *io/netty/util/concurrent/ImmediateExecutor INSTANCE ,Lio/netty/util/concurrent/ImmediateExecutor; G(Lio/netty/handler/ssl/SslHandler;Lio/netty/handler/ssl/SslHandler$1;)V (Ljava/lang/String;)V
getSession ()Ljavax/net/ssl/SSLSession; getPacketBufferSize ()I COMPOSITE_CUMULATOR 7Lio/netty/handler/codec/ByteToMessageDecoder$Cumulator; MERGE_CUMULATOR setCumulator :(Lio/netty/handler/codec/ByteToMessageDecoder$Cumulator;)V java/util/concurrent/TimeUnit toMillis (J)J append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (J)Ljava/lang/StringBuilder; toString getApplicationProtocol
newPromise #()Lio/netty/channel/ChannelPromise; *()Lio/netty/util/concurrent/EventExecutor; m(Lio/netty/handler/ssl/SslHandler;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V execute (Ljava/lang/Runnable;)V isEmpty removeAndFailAll release [(Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; s(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; isDone *()Lio/netty/channel/ChannelHandlerContext; '(Ljava/lang/Object;[Ljava/lang/Class;)V
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; add 6(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)V removeAndWriteAll io/netty/buffer/Unpooled EMPTY_BUFFER (io/netty/util/internal/PlatformDependent throwException $()Lio/netty/buffer/ByteBufAllocator; current ()Ljava/lang/Object; getStatus (()Ljavax/net/ssl/SSLEngineResult$Status; CLOSED
isReadable remove 8$SwitchMap$javax$net$ssl$SSLEngineResult$HandshakeStatus [I getHandshakeStatus 1()Ljavax/net/ssl/SSLEngineResult$HandshakeStatus; ordinal -(Ljava/lang/Object;)Ljava/lang/StringBuilder; U(Ljava/lang/Object;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; 4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture;
bytesProduced
bytesConsumed NOT_HANDSHAKING isDirect internalNioBuffer (II)Ljava/nio/ByteBuffer;
nioBuffers ()[Ljava/nio/ByteBuffer; directBuffer (I)Lio/netty/buffer/ByteBuf;
writeBytes 6(Lio/netty/buffer/ByteBuf;II)Lio/netty/buffer/ByteBuf;
writableBytes nioBuffer L([Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult; skipBytes /$SwitchMap$javax$net$ssl$SSLEngineResult$Status ensureWritable -io/netty/util/internal/logging/InternalLogger isDebugEnabled channel ()Lio/netty/channel/Channel; debug 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V io/netty/channel/Channel isActive fireExceptionCaught ?(Ljava/lang/Throwable;)Lio/netty/channel/ChannelHandlerContext;
getMessage valueOf &(Ljava/lang/Object;)Ljava/lang/String; toLowerCase java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher matches
getStackTrace ()[Ljava/lang/StackTraceElement; getClassName
getMethodName
startsWith (Ljava/lang/String;)Z equals (Ljava/lang/Object;)Z getClass ()Ljava/lang/Class; getClassLoader *(Ljava/lang/Class;)Ljava/lang/ClassLoader; java/lang/ClassLoader loadClass %(Ljava/lang/String;)Ljava/lang/Class; isAssignableFrom (Ljava/lang/Class;)Z javaVersion
getSuperclass getName io/netty/handler/ssl/SslUtils getEncryptedPacketLength (Lio/netty/buffer/ByteBuf;I)I io/netty/buffer/ByteBufUtil hexDump -(Lio/netty/buffer/ByteBuf;)Ljava/lang/String; discardSomeReadBytes fireChannelReadComplete config "()Lio/netty/channel/ChannelConfig; io/netty/channel/ChannelConfig
isAutoRead fireChannelRead <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; getApplicationBufferSize BUFFER_UNDERFLOW NEED_UNWRAP
trySuccess (II)[Ljava/nio/ByteBuffer; M([Ljava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult; K(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult; getDelegatedTask ()Ljava/lang/Runnable; run (I)V Y(Lio/netty/handler/ssl/SslHandler;Ljava/util/List;Ljava/util/concurrent/CountDownLatch;)V getCount await java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt getCipherSuite 0io/netty/handler/ssl/SslHandshakeCompletionEvent SUCCESS 2Lio/netty/handler/ssl/SslHandshakeCompletionEvent; fireUserEventTriggered
closeOutbound contains (Ljava/lang/CharSequence;)Z
tryFailure getUseClientMode $()Lio/netty/util/concurrent/Promise; inEventLoop addListener T(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Promise; beginHandshake MILLISECONDS schedule `(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/ScheduledFuture; J(Lio/netty/handler/ssl/SslHandler;Ljava/util/concurrent/ScheduledFuture;)V fireChannelActive ?(Lio/netty/handler/ssl/SslHandler;Ljava/util/concurrent/ScheduledFuture;Lio/netty/channel/ChannelHandlerContext;Lio/netty/channel/ChannelPromise;)V io/netty/channel/ChannelFuture R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; &(Z[Lio/netty/channel/ChannelPromise;)V java/lang/Math min (II)I desiredAssertionStatus 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; .(Ljava/lang/String;I)Ljava/util/regex/Pattern; $io/netty/util/internal/ThrowableUtil unknownStackTrace O(Ljava/lang/Throwable;Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Throwable; !$ % *+ ,- .- /0 10 23 B45 67 89 :; <= >? @? A? B? C? D? EF GH I J KL M? N? O9 P? BQR BSR T? B UV W ? *+? ? X
? ?Y Z[ 67 U\ W L
*+?
? ? X
Y
Z[
67
A? U] W J *+,? ? X
Y Z[ 67 :; ^ _ ` Ua W ? ?*? *?
? *? Y*? ? *? Y*? ? * ? * ? +?
? Y? ?-?
? Y? ?*+? *-? *? *+? ? ? !+? "6*? #*? ? ? $*? ? %? ? &? '? X N ? ? ? &