io.netty.handler.ssl.ConscryptAlpnSslEngine.class Maven / Gradle / Ivy
???? 2 ? +io/netty/handler/ssl/ConscryptAlpnSslEngine !io/netty/handler/ssl/JdkSslEngine ConscryptAlpnSslEngine.java -io/netty/handler/ssl/ConscryptAlpnSslEngine$1 8io/netty/handler/ssl/ConscryptAlpnSslEngine$ServerEngine ServerEngine 8io/netty/handler/ssl/ConscryptAlpnSslEngine$ClientEngine ClientEngine 6com/groupbyinc/flux/common/conscrypt/Conscrypt$Engines .com/groupbyinc/flux/common/conscrypt/Conscrypt Engines
ENGINES_CLASS Ljava/lang/Class; Ljava/lang/Class<*>; isAvailable ()Z (io/netty/util/internal/PlatformDependent javaVersion ()I
isEngineSupported (Ljavax/net/ssl/SSLEngine;)Z
" isConscryptEngine -(Ljavax/net/ssl/SSLEngine;Ljava/lang/Class;)Z $ %
& engine Ljavax/net/ssl/SSLEngine; newClientEngine (Ljavax/net/ssl/SSLEngine;Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;)Lio/netty/handler/ssl/ConscryptAlpnSslEngine; S(Ljavax/net/ssl/SSLEngine;Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;)V , -
. applicationNegotiator 7Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator; newServerEngine
. ,(Ljavax/net/ssl/SSLEngine;Ljava/util/List;)V (Ljavax/net/ssl/SSLEngine;)V , 5
6 java/util/List 8 size : 9 ; java/lang/String = toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? @ 9 A [Ljava/lang/String; C setAlpnProtocols /(Ljavax/net/ssl/SSLEngine;[Ljava/lang/String;)V E F
G this -Lio/netty/handler/ssl/ConscryptAlpnSslEngine; protocols $Ljava/util/List; Ljava/util/List; calculateOutNetBufSize (II)I getWrappedEngine ()Ljavax/net/ssl/SSLEngine; P Q
R maxSealOverhead (Ljavax/net/ssl/SSLEngine;)I T U
V ??? java/lang/Math Z min (JJ)J \ ]
[ ^ plaintextBytes I
numBuffers maxOverhead J unwrap M([Ljava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult; javax/net/ssl/SSLException g f(Ljavax/net/ssl/SSLEngine;[Ljava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;)Ljavax/net/ssl/SSLEngineResult; e i
j srcs [Ljava/nio/ByteBuffer; dests getEnginesClass ()Ljava/lang/Class; java/lang/Throwable q 6com.groupbyinc.flux.common.conscrypt.Conscrypt$Engines s java/lang/Class u getClassLoader ()Ljava/lang/ClassLoader; w x
v y forName =(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class; { |
v } getIsConscryptMethod -(Ljava/lang/Class;)Ljava/lang/reflect/Method; ?
? engineClass ignore Ljava/lang/Throwable; java/lang/Object ? java/lang/reflect/Method ? invoke 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; ? ?
? ? java/lang/Boolean ? booleanValue ?
? ? method Ljava/lang/reflect/Method; enginesClass java/lang/NoSuchMethodException ? isConscrypt ? javax/net/ssl/SSLEngine ? getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; ? ?
v ? [(Ljavax/net/ssl/SSLEngine;Ljava/util/List;Lio/netty/handler/ssl/ConscryptAlpnSslEngine$1;)V , 4
? x0 x1 x2 /Lio/netty/handler/ssl/ConscryptAlpnSslEngine$1; ()V o p
? Signature Code LineNumberTable
StackMapTable LocalVariableTable LocalVariableTypeTable @(Ljavax/net/ssl/SSLEngine;Ljava/util/List;)V
Exceptions ()Ljava/lang/Class<*>; 0(Ljavax/net/ssl/SSLEngine;Ljava/lang/Class<*>;)Z 0(Ljava/lang/Class<*>;)Ljava/lang/reflect/Method;
SourceFile InnerClasses ? ? 7 ? ? ? ? ? ? ? / ? @ ! ? K ? #? *? ? '? ? ? ? ( ) ? 3 ? @ * + ? >
? Y*+? /? ?
( )
0 1 ? 8 2 + ? >
? Y*+? 3? ?
( )
0 1 ? = , 4 ? t *+? 7+,,? < ? >? B ? D? H? ? I J ( ) K M ? K L ? A D E ? ? N O ? d *? S? W??iB X?!a? _?? ? * I J ` a b a c d ?
Q S e f ? H
*? S+,? k? ?
I J
l m
n m ? W ? h
o p ? ? t? z? ~K*? ?W*?K? r ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? S r ? ?
$ % ? ? +? ?M,? ?Y*S? ?? ?? ??M? r ? * ? ? ? ? ( ) ? ? ? ? ? ? ? ? ? Y r ? ?
? ? L *?? vY?S? ?? ? ? ? ? ? ? ? ? ? ? , ? ? O *+,? ?? ? * I J ? ) ? M ? ? ? ( ? ? ? ? ?? ? ? ) ? ? "
© 2015 - 2025 Weber Informatics LLC | Privacy Policy