io.netty.handler.ssl.OpenSslKeyMaterialManager.class Maven / Gradle / Ivy
???? 2 ? .io/netty/handler/ssl/OpenSslKeyMaterialManager java/lang/Object OpenSslKeyMaterialManager.java Cio/netty/internal/tcnative/CertificateRequestedCallback$KeyMaterial 7io/netty/internal/tcnative/CertificateRequestedCallback KeyMaterial KEY_TYPE_RSA Ljava/lang/String; RSA
KEY_TYPE_DH_RSA DH_RSA KEY_TYPE_EC EC KEY_TYPE_EC_EC EC_EC KEY_TYPE_EC_RSA EC_RSA KEY_TYPES Ljava/util/Map; 5Ljava/util/Map;
keyManager Ljavax/net/ssl/X509KeyManager; password 3(Ljavax/net/ssl/X509KeyManager;Ljava/lang/String;)V ()V ! #
$ & ( this 0Lio/netty/handler/ssl/OpenSslKeyMaterialManager; setKeyMaterial 7(Lio/netty/handler/ssl/ReferenceCountedOpenSslEngine;)V javax/net/ssl/SSLException . 2io/netty/handler/ssl/ReferenceCountedOpenSslEngine 0
sslPointer ()J 2 3
1 4 io/netty/internal/tcnative/SSL 6 authenticationMethods (J)[Ljava/lang/String; 8 9
7 : java/util/HashSet < (I)V ! >
= ? [Ljava/lang/String; A
java/util/Set C E
java/util/Map G get &(Ljava/lang/Object;)Ljava/lang/Object; I J H K java/lang/String M chooseServerAlias Z(Lio/netty/handler/ssl/ReferenceCountedOpenSslEngine;Ljava/lang/String;)Ljava/lang/String; O P
Q add (Ljava/lang/Object;)Z S T D U (JLjava/lang/String;)V , W
X alias type
authMethod engine 4Lio/netty/handler/ssl/ReferenceCountedOpenSslEngine; ssl J authMethods aliases #Ljava/util/Set; Ljava/util/Set; keyMaterial ?(Lio/netty/handler/ssl/ReferenceCountedOpenSslEngine;[Ljava/lang/String;[Ljavax/security/auth/x500/X500Principal;)Lio/netty/internal/tcnative/CertificateRequestedCallback$KeyMaterial; java/lang/Exception g chooseClientAlias ?(Lio/netty/handler/ssl/ReferenceCountedOpenSslEngine;[Ljava/lang/String;[Ljavax/security/auth/x500/X500Principal;)Ljava/lang/String; i j
k javax/net/ssl/X509KeyManager m getCertificateChain 9(Ljava/lang/String;)[Ljava/security/cert/X509Certificate; o p n q )[Ljavax/security/auth/x500/X500Principal; s %[Ljava/security/cert/X509Certificate; u 3io/netty/handler/ssl/ReferenceCountedOpenSslContext w freeBio (J)V y z
x { freePrivateKey } z
7 ~
freeX509Chain ? z
7 ?
getPrivateKey .(Ljava/lang/String;)Ljava/security/PrivateKey; ? ? n ? toBIO (([Ljava/security/cert/X509Certificate;)J ? ?
x ? parseX509Chain (J)J ? ?
7 ? (Ljava/security/PrivateKey;)J ? ?
x ? parsePrivateKey (JLjava/lang/String;)J ? ?
7 ? java/security/PrivateKey ? (JJ)V ! ?
? (Ljava/lang/Throwable;)V ! ?
/ ? java/lang/Throwable ? certificates key Ljava/security/PrivateKey; material ELio/netty/internal/tcnative/CertificateRequestedCallback$KeyMaterial; e Ljavax/net/ssl/SSLException; Ljava/lang/Exception; keyTypes issuer keyBio keyCertChainBio pkey certChain io/netty/buffer/ByteBufAllocator ? DEFAULT "Lio/netty/buffer/ByteBufAllocator; ? ? ? ? 'io/netty/handler/ssl/PemX509Certificate ? toPEM k(Lio/netty/buffer/ByteBufAllocator;Z[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/PemEncoded; ? ?
? ? io/netty/handler/ssl/PemEncoded ? retain #()Lio/netty/handler/ssl/PemEncoded; ? ? ? ? F(Lio/netty/buffer/ByteBufAllocator;Lio/netty/handler/ssl/PemEncoded;)J ? ?
x ? setCertificateBio (JJJLjava/lang/String;)V ? ?
7 ? setCertificateChainBio (JJZ)V ? ?
7 ? release ()Z ? ? ? ? encoded !Lio/netty/handler/ssl/PemEncoded; keyCertChainBio2 R([Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String; i ? n ? Q(Ljava/lang/String;[Ljava/security/Principal;Ljava/net/Socket;)Ljava/lang/String; O ? n ? java/util/HashMap ?
? $ put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? H ? DHE_RSA ? ECDHE_RSA ? ECDHE_ECDSA ? ECDH_RSA ?
ECDH_ECDSA ?
ConstantValue Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions
SourceFile InnerClasses ? ? ? ? ? ? ! " ? Y *? %*+? '*,? )? ? * + ? D E F G , - ? > m+? 5A ? ;:? =Y?? @::?66? E2: ? F ? L ? N:
? $*+
? R:? ? V ?
* ? Y????? ? R N Z @ &