com.groupbyinc.flux.common.netty.handler.ssl.SslUtils.class Maven / Gradle / Ivy
???? 2a 5com/groupbyinc/flux/common/netty/handler/ssl/SslUtils java/lang/Object
SslUtils.java PROTOCOL_SSL_V2_HELLO Ljava/lang/String;
SSLv2Hello PROTOCOL_SSL_V2 SSLv2 PROTOCOL_SSL_V3 SSLv3 PROTOCOL_TLS_V1 TLSv1 PROTOCOL_TLS_V1_1 TLSv1.1 PROTOCOL_TLS_V1_2 TLSv1.2 #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???? DEFAULT_CIPHER_SUITES [Ljava/lang/String; addIfSupported 5(Ljava/util/Set;Ljava/util/List;[Ljava/lang/String;)V +
java/util/Set / contains (Ljava/lang/Object;)Z 1 2 0 3 java/util/List 5 add 7 2 6 8 n supported #Ljava/util/Set; Ljava/util/Set; enabled $Ljava/util/List; Ljava/util/List; names "useFallbackCiphersIfDefaultIsEmpty '(Ljava/util/List;Ljava/lang/Iterable;)V isEmpty ()Z D E 6 F java/lang/Iterable H iterator ()Ljava/util/Iterator; J K I L java/util/Iterator N hasNext P E O Q next ()Ljava/lang/Object; S T O U java/lang/String W SSL_ Y
startsWith (Ljava/lang/String;)Z [ \
X ] _RC4_ _ (Ljava/lang/CharSequence;)Z 1 a
X b cipher defaultCiphers fallbackCiphers (Ljava/lang/Iterable; Ljava/lang/Iterable; &(Ljava/util/List;[Ljava/lang/String;)V java/util/Arrays j asList %([Ljava/lang/Object;)Ljava/util/List; l m
k n B C
p toSSLHandshakeException <(Ljava/lang/Throwable;)Ljavax/net/ssl/SSLHandshakeException; #javax/net/ssl/SSLHandshakeException t java/lang/Throwable v
getMessage ()Ljava/lang/String; x y
w z (Ljava/lang/String;)V | }
u ~ initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; ? ?
u ? 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 ? ?
? ? unsignedShortBE ? ?
? shortBE 5(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;I)S ? ?
? tls Z majorVersion headerLength buffer 1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; offset packetLength order ()Ljava/nio/ByteOrder; ? ?
? ? java/nio/ByteOrder ?
BIG_ENDIAN Ljava/nio/ByteOrder; ? ? ? ? getUnsignedShort (I)I ? ?
? ? getUnsignedShortLE ? ?
? ? getShort ? ?
? ?
getShortLE ? ?
? ? unsignedByte (B)S b B (Ljava/nio/ByteBuffer;I)I (Ljava/nio/ByteBuffer;I)S ? ?
? ?? Ljava/nio/ByteBuffer; java/nio/ByteBuffer ?
? ?
? ? 3com/groupbyinc/flux/common/netty/buffer/ByteBufUtil ? swapShort (S)S ? ?
? ? ([Ljava/nio/ByteBuffer;I)I remaining ()I ? ?
? ? (Ljava/nio/ByteBuffer;)I ? ?
? allocate (I)Ljava/nio/ByteBuffer; ? ?
? ? duplicate ()Ljava/nio/ByteBuffer; ? ?
? ? position ? ?
? ? limit (I)Ljava/nio/Buffer; ? ?
? ? put ,(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer; ? ?
? ? hasRemaining ? E
? ? flip ()Ljava/nio/Buffer; ? ?
? ? buffers [Ljava/nio/ByteBuffer; tmp get (I)B ? ?
? ? ? ?
? ? ?
? 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 E
? capacity ?
? setZero 5(II)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
? zerooutAndRelease
release E
? toBase64 ?(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf; readerIndex" ?
?#
readableBytes% ?
?& Ccom/groupbyinc/flux/common/netty/handler/codec/base64/Base64Dialect( STANDARD ELcom/groupbyinc/flux/common/netty/handler/codec/base64/Base64Dialect;*+ ),