io.netty.handler.ssl.ReferenceCountedOpenSslServerContext.class Maven / Gradle / Ivy
???? 2G 9io/netty/handler/ssl/ReferenceCountedOpenSslServerContext 3io/netty/handler/ssl/ReferenceCountedOpenSslContext )ReferenceCountedOpenSslServerContext.java Sio/netty/handler/ssl/ReferenceCountedOpenSslServerContext$OpenSslSniHostnameMatcher OpenSslSniHostnameMatcher \io/netty/handler/ssl/ReferenceCountedOpenSslServerContext$ExtendedTrustManagerVerifyCallback "ExtendedTrustManagerVerifyCallback Tio/netty/handler/ssl/ReferenceCountedOpenSslServerContext$TrustManagerVerifyCallback TrustManagerVerifyCallback Gio/netty/handler/ssl/ReferenceCountedOpenSslServerContext$ServerContext
ServerContext logger /Lio/netty/util/internal/logging/InternalLogger; ID [B sessionContext 2Lio/netty/handler/ssl/OpenSslServerSessionContext; keyMaterialManager 0Lio/netty/handler/ssl/OpenSslKeyMaterialManager; a([Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJLio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZ)V javax/net/ssl/SSLException toNegotiator m(Lio/netty/handler/ssl/ApplicationProtocolConfig;)Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator;
l([Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator;JJLio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZ)V "
# this ;Lio/netty/handler/ssl/ReferenceCountedOpenSslServerContext; trustCertCollection %[Ljava/security/cert/X509Certificate; trustManagerFactory #Ljavax/net/ssl/TrustManagerFactory; keyCertChain key Ljava/security/PrivateKey; keyPassword Ljava/lang/String; keyManagerFactory !Ljavax/net/ssl/KeyManagerFactory; ciphers (Ljava/lang/Iterable; Ljava/lang/Iterable; cipherFilter (Lio/netty/handler/ssl/CipherSuiteFilter; apn 0Lio/netty/handler/ssl/ApplicationProtocolConfig; sessionCacheSize J sessionTimeout
clientAuth !Lio/netty/handler/ssl/ClientAuth; protocols [Ljava/lang/String; startTls Z
enableOcsp ?(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator;JJI[Ljava/security/cert/Certificate;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZZ)V C
D ctx F : G engineMap 'Lio/netty/handler/ssl/OpenSslEngineMap; I J K newSessionContextb(Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;JLio/netty/handler/ssl/OpenSslEngineMap;[Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Lio/netty/handler/ssl/ReferenceCountedOpenSslServerContext$ServerContext; M N
O Q Q T T release ()Z W X
Y ( !javax/net/ssl/TrustManagerFactory \ java/security/PrivateKey ^ java/lang/String ` javax/net/ssl/KeyManagerFactory b java/lang/Iterable d &io/netty/handler/ssl/CipherSuiteFilter f 9io/netty/handler/ssl/OpenSslApplicationProtocolNegotiator h io/netty/handler/ssl/ClientAuth j ? java/lang/Throwable m context ILio/netty/handler/ssl/ReferenceCountedOpenSslServerContext$ServerContext; ;Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator; success 4()Lio/netty/handler/ssl/OpenSslServerSessionContext; 2()Lio/netty/handler/ssl/OpenSslKeyMaterialManager; java/lang/Exception u ()V w
x %io/netty/internal/tcnative/SSLContext z setVerify (JII)V | }
{ ~ io/netty/handler/ssl/OpenSsl ? useKeyManagerFactory ? X
? ? "java/lang/IllegalArgumentException ? KeyManagerFactory not supported ? (Ljava/lang/String;)V ?
? ? + !io/netty/util/internal/ObjectUtil ? checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; ? ?
? ? setKeyMaterial U(J[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;)V ? ?
? buildKeyManagerFactory ?([Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory; ? ?
? getKeyManagers ()[Ljavax/net/ssl/KeyManager; ? ?
c ? chooseX509KeyManager ;([Ljavax/net/ssl/KeyManager;)Ljavax/net/ssl/X509KeyManager; ? ?
? useExtendedKeyManager !(Ljavax/net/ssl/X509KeyManager;)Z ? ?
? 6io/netty/handler/ssl/OpenSslExtendedKeyMaterialManager ? $javax/net/ssl/X509ExtendedKeyManager ? ;(Ljavax/net/ssl/X509ExtendedKeyManager;Ljava/lang/String;)V ?
? ? %io/netty/handler/ssl/OpenSslEngineMap ? javax/net/ssl/X509KeyManager ? .io/netty/handler/ssl/OpenSslKeyMaterialManager ? 3(Ljavax/net/ssl/X509KeyManager;Ljava/lang/String;)V ?
? ? !failed to set certificate and key ? *(Ljava/lang/String;Ljava/lang/Throwable;)V ?
? buildTrustManagerFactory m([Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;)Ljavax/net/ssl/TrustManagerFactory; ? ?
? getDefaultAlgorithm ()Ljava/lang/String; ? ?
] ? getInstance 7(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory; ? ?
] ? java/security/KeyStore ? init (Ljava/security/KeyStore;)V ? ?
] ? getTrustManagers ()[Ljavax/net/ssl/TrustManager; ? ?
] ? chooseTrustManager ?([Ljavax/net/ssl/TrustManager;)Ljavax/net/ssl/X509TrustManager; ? ?
? useExtendedTrustManager #(Ljavax/net/ssl/X509TrustManager;)Z ? ?
? &javax/net/ssl/X509ExtendedTrustManager ? R(Lio/netty/handler/ssl/OpenSslEngineMap;Ljavax/net/ssl/X509ExtendedTrustManager;)V ?
? setCertVerifyCallback 4(JLio/netty/internal/tcnative/CertificateVerifier;)V ? ?
{ ? javax/net/ssl/X509TrustManager ? J(Lio/netty/handler/ssl/OpenSslEngineMap;Ljavax/net/ssl/X509TrustManager;)V ?
? getAcceptedIssuers '()[Ljava/security/cert/X509Certificate; ? ? ? ? toBIO (([Ljava/security/cert/X509Certificate;)J ? ?
? setCACertificateBio (JJ)Z ? ?
{ ? java/lang/StringBuilder ?
? x 2unable to setup accepted issuers for trustmanager ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? toString ?
?
? freeBio (J)V
(io/netty/util/internal/PlatformDependent javaVersion ()I
*(Lio/netty/handler/ssl/OpenSslEngineMap;)V
setSniHostnameMatcher 3(JLio/netty/internal/tcnative/SniHostNameMatcher;)V
{ unable to setup trustmanager 0io/netty/handler/ssl/OpenSslServerSessionContext 8(Lio/netty/handler/ssl/ReferenceCountedOpenSslContext;)V
setSessionIdContext ([B)Z
keyManager Ljavax/net/ssl/X509KeyManager; e Ljava/lang/Exception; bio manager Ljavax/net/ssl/X509TrustManager; issuers Ljavax/net/ssl/SSLException; thiz 5Lio/netty/handler/ssl/ReferenceCountedOpenSslContext; result .()Lio/netty/handler/ssl/OpenSslSessionContext; s
/ #()Ljavax/net/ssl/SSLSessionContext;
access$000 1()Lio/netty/util/internal/logging/InternalLogger; 4 4io/netty/util/internal/logging/InternalLoggerFactory7 B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; ?9
8: Code LocalVariableTable LocalVariableTypeTable LineNumberTable
Exceptions Signatureu([Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;JJLio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZ)V
StackMapTable?([Ljava/security/cert/X509Certificate;Ljavax/net/ssl/TrustManagerFactory;[Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/OpenSslApplicationProtocolNegotiator;JJLio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;ZZ)V
SourceFile InnerClasses 1 <