io.netty.handler.ssl.SslUtils.class Maven / Gradle / Ivy
???? 2 ? io/netty/handler/ssl/SslUtils java/lang/Object
SslUtils.java #SSL_CONTENT_TYPE_CHANGE_CIPHER_SPEC I SSL_CONTENT_TYPE_ALERT SSL_CONTENT_TYPE_HANDSHAKE !SSL_CONTENT_TYPE_APPLICATION_DATA $SSL_CONTENT_TYPE_EXTENSION_HEARTBEAT SSL_RECORD_HEADER_LENGTH NOT_ENOUGH_DATA????
NOT_ENCRYPTED???? toSSLHandshakeException <(Ljava/lang/Throwable;)Ljavax/net/ssl/SSLHandshakeException; #javax/net/ssl/SSLHandshakeException java/lang/Throwable
getMessage ()Ljava/lang/String;
(Ljava/lang/String;)V ! "
# initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; % &
' e Ljava/lang/Throwable; getEncryptedPacketLength (Lio/netty/buffer/ByteBuf;I)I io/netty/buffer/ByteBuf - getUnsignedByte (I)S / 0
. 1 unsignedShortBE 3 ,
4 shortBE (Lio/netty/buffer/ByteBuf;I)S 6 7
8 tls Z majorVersion headerLength buffer Lio/netty/buffer/ByteBuf; offset packetLength order ()Ljava/nio/ByteOrder; B C
. D java/nio/ByteOrder F
BIG_ENDIAN Ljava/nio/ByteOrder; H I G J getUnsignedShort (I)I L M
. N getUnsignedShortLE P M
. Q getShort S 0
. T
getShortLE V 0
. W unsignedByte (B)S b B (Ljava/nio/ByteBuffer;I)I (Ljava/nio/ByteBuffer;I)S 6 ^
_ ?? Ljava/nio/ByteBuffer; java/nio/ByteBuffer c
d D
d T io/netty/buffer/ByteBufUtil g swapShort (S)S i j
h k ([Ljava/nio/ByteBuffer;I)I remaining ()I n o
d p (Ljava/nio/ByteBuffer;)I + r
s allocate (I)Ljava/nio/ByteBuffer; u v
d w duplicate ()Ljava/nio/ByteBuffer; y z
d { position } o
d ~ limit (I)Ljava/nio/Buffer; ? ?
d ? put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; ? ?
d ? hasRemaining ()Z ? ?
d ? flip ()Ljava/nio/Buffer; ? ?
d ? buffers [Ljava/nio/ByteBuffer; tmp get (I)B ? ?
d ? Y Z
? 3 ]
? pos notifyHandshakeFailure @(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V &io/netty/channel/ChannelHandlerContext ? flush *()Lio/netty/channel/ChannelHandlerContext; ? ? ? ? 0io/netty/handler/ssl/SslHandshakeCompletionEvent ? (Ljava/lang/Throwable;)V ! ?
? ? fireUserEventTriggered <(Ljava/lang/Object;)Lio/netty/channel/ChannelHandlerContext; ? ? ? ? close "()Lio/netty/channel/ChannelFuture; ? ? ? ? ctx (Lio/netty/channel/ChannelHandlerContext; cause zeroout (Lio/netty/buffer/ByteBuf;)V
isReadOnly ? ?
. ? capacity ? o
. ? setZero (II)Lio/netty/buffer/ByteBuf; ? ?
. ? zerooutAndRelease ? ?
? release ? ?
. ? toBase64 V(Lio/netty/buffer/ByteBufAllocator;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; readerIndex ? o
. ?
readableBytes ? o
. ? +io/netty/handler/codec/base64/Base64Dialect ? STANDARD -Lio/netty/handler/codec/base64/Base64Dialect; ? ? ? ? $io/netty/handler/codec/base64/Base64 ? encode ?(Lio/netty/buffer/ByteBuf;IIZLio/netty/handler/codec/base64/Base64Dialect;Lio/netty/buffer/ByteBufAllocator;)Lio/netty/buffer/ByteBuf; ? ?
? ? writerIndex ? o
. ? (I)Lio/netty/buffer/ByteBuf; ? ?
. ? allocator "Lio/netty/buffer/ByteBufAllocator; src dst ()V ! ?
? this Lio/netty/handler/ssl/SslUtils;
ConstantValue Code LocalVariableTable LineNumberTable
StackMapTable
SourceFile 0 ? ?
?
? ? ? ? ? ? Z *? ? *? ?? Y*? ? $*? (? ? ? ) * ? N O R ? + , ? ? ?=*? 2? &