com.groupbyinc.flux.common.netty.handler.ssl.SslUtils.class Maven / Gradle / Ivy
???? 2 ? 5com/groupbyinc/flux/common/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 5(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)I /com/groupbyinc/flux/common/netty/buffer/ByteBuf - getUnsignedByte (I)S / 0
. 1 unsignedShortBE 3 ,
4 shortBE 5(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)S 6 7
8 tls Z majorVersion headerLength buffer 1Lcom/groupbyinc/flux/common/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 3com/groupbyinc/flux/common/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 X(Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext;Ljava/lang/Throwable;)V >com/groupbyinc/flux/common/netty/channel/ChannelHandlerContext ? flush B()Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; ? ? ? ? Hcom/groupbyinc/flux/common/netty/handler/ssl/SslHandshakeCompletionEvent ? (Ljava/lang/Throwable;)V ! ?
? ? fireUserEventTriggered T(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; ? ? ? ? close :()Lcom/groupbyinc/flux/common/netty/channel/ChannelFuture; ? ? ? ? ctx @Lcom/groupbyinc/flux/common/netty/channel/ChannelHandlerContext; cause zeroout 4(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)V
isReadOnly ? ?
. ? capacity ? o
. ? setZero 5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; ? ?
. ? zerooutAndRelease ? ?
? release ? ?
. ? toBase64 ?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; readerIndex ? o
. ?
readableBytes ? o
. ? Ccom/groupbyinc/flux/common/netty/handler/codec/base64/Base64Dialect ? STANDARD ELcom/groupbyinc/flux/common/netty/handler/codec/base64/Base64Dialect; ? ? ? ?