com.groupbyinc.flux.common.netty.handler.ssl.OpenSsl.class Maven / Gradle / Ivy
???? 2Q 4com/groupbyinc/flux/common/netty/handler/ssl/OpenSsl java/lang/Object OpenSsl.java 6com/groupbyinc/flux/common/netty/handler/ssl/OpenSsl$1 logger GLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger; LINUX Ljava/lang/String; linux UNKNOWN unknown UNAVAILABILITY_CAUSE Ljava/lang/Throwable; AVAILABLE_CIPHER_SUITES Ljava/util/Set; #Ljava/util/Set; AVAILABLE_OPENSSL_CIPHER_SUITES AVAILABLE_JAVA_CIPHER_SUITES SUPPORTS_KEYMANAGER_FACTORY Z SUPPORTS_HOSTNAME_VALIDATION USE_KEYMANAGER_FACTORY
SUPPORTS_OCSP PROTOCOL_SSL_V2_HELLO
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 - SUPPORTED_PROTOCOLS_SET $assertionsDisabled doesSupportOcsp ()Z java/lang/Exception 3 version ()I 5 6
7 ???????? =com/groupbyinc/flux/common/netty/internal/tcnative/SSLContext = make (II)J ? @
> A
enableOcsp (JZ)V C D
> E free (J)I G H
> I java/lang/Throwable K sslCtx J supportsOcsp doesSupportProtocol (I)Z ignore Ljava/lang/Exception; protocol I isAvailable W isAlpnSupported isOcspSupported [ V 2
] 6com/groupbyinc/flux/common/netty/internal/tcnative/SSL _
` 7
versionString ()Ljava/lang/String; b c
` d java/lang/String f ensureAvailability ()V java/lang/UnsatisfiedLinkError j *failed to load the required native library l (Ljava/lang/String;)V n o
k p initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; r s
k t java/lang/Error v unavailabilityCause ()Ljava/lang/Throwable; availableCipherSuites ()Ljava/util/Set; Ljava/lang/Deprecated; availableOpenSslCipherSuites } {
~ ? availableJavaCipherSuites ? isCipherSuiteAvailable (Ljava/lang/String;)Z Acom/groupbyinc/flux/common/netty/handler/ssl/CipherSuiteConverter ? toOpenSsl &(Ljava/lang/String;)Ljava/lang/String; ? ?
? ?
java/util/Set ? contains (Ljava/lang/Object;)Z ? ? ? ? cipherSuite converted supportsKeyManagerFactory ? supportsHostnameValidation ? useKeyManagerFactory ?
memoryAddress 4(Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;)J 0 ? /com/groupbyinc/flux/common/netty/buffer/ByteBuf ? isDirect ? 2
? ? java/lang/AssertionError ? n i
? ? hasMemoryAddress ? 2
? ? ()J ? ?
? ? nioBuffer ()Ljava/nio/ByteBuffer; ? ?
? ? 9com/groupbyinc/flux/common/netty/internal/tcnative/Buffer ? address (Ljava/nio/ByteBuffer;)J ? ?
? ? buf 1Lcom/groupbyinc/flux/common/netty/buffer/ByteBuf;
? this 6Lcom/groupbyinc/flux/common/netty/handler/ssl/OpenSsl; loadTcNative os.name ? ? Acom/groupbyinc/flux/common/netty/util/internal/SystemPropertyUtil ? get 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ? ?
? ? normalizeOs ? ?
? os.arch ?
normalizeArch ? ?
? java/util/LinkedHashSet ? (I)V n ?
? ? java/lang/StringBuilder ?
? ? netty-tcnative- ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? (C)Ljava/lang/StringBuilder; ? ?
? ? toString ? c
? ? add ? ? ? ? equalsIgnoreCase ? ?
g ? -fedora ? netty-tcnative ? netty_tcnative ? java/lang/Class ? getClassLoader ()Ljava/lang/ClassLoader; ? ?
? ? size ? 6 ? ? toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ? ? ? ? [Ljava/lang/String; Bcom/groupbyinc/flux/common/netty/util/internal/NativeLibraryLoader loadFirstAvailable -(Ljava/lang/ClassLoader;[Ljava/lang/String;)V
os arch libNames initializeTcNative :com/groupbyinc/flux/common/netty/internal/tcnative/Library
initialize 2
normalize ?
aix
startsWith ?
g hpux os400 length 6
g charAt (I)C !
g" java/lang/Character$ isDigit (C)Z&'
%( macosx* osx, freebsd. openbsd0 netbsd2 solaris4 sunos6 windows8 value ^(x8664|amd64|ia32e|em64t|x64)$; matches= ?
g> x86_64@ ^(x8632|x86|i[3-6]86|ia32|x32)$B x86_32D ^(ia64|itanium64)$F
itanium_64H ^(sparc|sparc32)$J sparc_32L ^(sparcv9|sparc64)$N sparc_64P
^(arm|arm32)$R arm_32T aarch64V equalsX ?
gY aarch_64[
^(ppc|ppc32)$] ppc_32_ ppc64a ppc_64c ppc64lee ppcle_64g s390i s390_32k s390xm s390_64o java/util/Localeq US Ljava/util/Locale;st ru toLowerCase &(Ljava/util/Locale;)Ljava/lang/String;wx
gy
[^a-z0-9]+{
replaceAll} ?
g~ releaseIfNeeded ;(Lcom/groupbyinc/flux/common/netty/util/ReferenceCounted;)V 6com/groupbyinc/flux/common/netty/util/ReferenceCounted? refCnt? 6?? 8com/groupbyinc/flux/common/netty/util/ReferenceCountUtil? safeRelease (Ljava/lang/Object;)V??
?? counted 8Lcom/groupbyinc/flux/common/netty/util/ReferenceCounted; java/lang/ClassNotFoundException? desiredAssertionStatus? 2
?? Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactory? getInstance Z(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;??
?? ? 6com.groupbyinc.flux.common.netty.internal.tcnative.SSL? forName =(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;??
?? %netty-tcnative not in the classpath; ? :com/groupbyinc/flux/common/netty/handler/ssl/OpenSslEngine?
getSimpleName? c
?? will be unavailable.? Ecom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger? debug? o?? ? i
? Failed to load netty-tcnative; ? ? will be unavailable, unless the application has already loaded the symbols by some other means. See http://netty.io/wiki/forked-tomcat-native.html for more information.? *(Ljava/lang/String;Ljava/lang/Throwable;)V???? 2
? %Failed to initialize netty-tcnative; ? ^ will be unavailable. See http://netty.io/wiki/forked-tomcat-native.html for more information.? 'netty-tcnative using native library: {}? '(Ljava/lang/String;Ljava/lang/Object;)V???? ALL? setCipherSuite (JLjava/lang/String;)Z??
>? newSSL (JZ)J??
`?
getCiphers (J)[Ljava/lang/String;??
`? Gcom/groupbyinc/flux/common/netty/handler/ssl/util/SelfSignedCertificate? isEmpty? 2
g? netty.io? setHostNameValidation (JILjava/lang/String;)V??
`? $Hostname Verification not supported.?
? ? "java/security/cert/X509Certificate? cert &()Ljava/security/cert/X509Certificate;??
?? Kcom/groupbyinc/flux/common/netty/handler/ssl/ReferenceCountedOpenSslContext? toBIO (([Ljava/security/cert/X509Certificate;)J??
?? setCertificateChainBio (JJZ)V??
`?
? java/security/AccessController? doPrivileged 4(Ljava/security/PrivilegedAction;)Ljava/lang/Object;??
?? java/lang/Boolean? booleanValue? 2
?? 3Failed to get useKeyManagerFactory system property.? KeyManagerFactory not supported.? freeSSL (J)V
` freeBIO
` delete i
? :Failed to get the list of available OpenSSL cipher suites. warn
?? java/util/Collections unmodifiableSet (Ljava/util/Set;)Ljava/util/Set;
iterator ()Ljava/util/Iterator; ? java/util/Iterator hasNext 2 next ()Ljava/lang/Object; ! TLS# toJava% ?
?& SSL( addAll (Ljava/util/Collection;)Z*+ ?, . P Q
0 / 2 1 2
4 emptySet6 {
7 t "Ljava/lang/ClassNotFoundException; c ssl certBio ILcom/groupbyinc/flux/common/netty/handler/ssl/util/SelfSignedCertificate; e cipher supportsHostNameValidation protocols cause
ConstantValue Signature Code LocalVariableTable LineNumberTable
StackMapTable
Deprecated %()Ljava/util/Set; RuntimeVisibleAnnotations LocalVariableTypeTable
Exceptions
SourceFile InnerClasses 1
D
D E E E D D " # D % &