classes.io.netty.handler.ssl.OpenSslKeyMaterialProvider.class Maven / Gradle / Ivy
The newest version!
???? 2 ?
" Y ! Z ! [
! \
! ] ^ _
` a
b c
b d
b e f g h
Y i
j k l
m
n
o p q r
` s
b t
b u q v w x y x z {
| }
~ ?
keyManager Ljavax/net/ssl/X509KeyManager; password Ljava/lang/String; 3(Ljavax/net/ssl/X509KeyManager;Ljava/lang/String;)V Code LineNumberTable LocalVariableTable this 1Lio/netty/handler/ssl/OpenSslKeyMaterialProvider; validateKeyMaterialSupported T([Ljava/security/cert/X509Certificate;Ljava/security/PrivateKey;Ljava/lang/String;)V keyCertChain %[Ljava/security/cert/X509Certificate; key Ljava/security/PrivateKey; keyPassword
Exceptions validateSupported /(Ljava/security/PrivateKey;Ljava/lang/String;)V e Ljava/lang/Exception; pkeyBio J pkey
StackMapTable ? ? f ? (([Ljava/security/cert/X509Certificate;)V certificates chainBio chain encoded !Lio/netty/handler/ssl/PemEncoded; ? ()Ljavax/net/ssl/X509KeyManager; chooseKeyMaterial _(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;)Lio/netty/handler/ssl/OpenSslKeyMaterial; keyMaterial )Lio/netty/handler/ssl/OpenSslKeyMaterial; allocator "Lio/netty/buffer/ByteBufAllocator; alias 1 ? ? destroy ()V
SourceFile OpenSslKeyMaterialProvider.java ' V # $ % & 6 B 6 7 ? ? ? ? ? ? ? ? ? ? ? ? ? java/lang/Exception javax/net/ssl/SSLException java/lang/StringBuilder PrivateKey type not supported ? ? ? ? ? ? ? ' ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Certificate type not supported ? ? ? ? ? &io/netty/handler/ssl/OpenSslPrivateKey ? ? .io/netty/handler/ssl/DefaultOpenSslKeyMaterial ' ? /io/netty/handler/ssl/OpenSslKeyMaterialProvider java/lang/Object java/security/PrivateKey java/lang/String java/lang/Throwable io/netty/handler/ssl/PemEncoded io/netty/buffer/ByteBufAllocator 'io/netty/handler/ssl/OpenSslKeyMaterial (io/netty/buffer/UnpooledByteBufAllocator DEFAULT *Lio/netty/buffer/UnpooledByteBufAllocator; 3io/netty/handler/ssl/ReferenceCountedOpenSslContext toBIO ?(Lio/netty/buffer/ByteBufAllocator;Ljava/security/PrivateKey;)J io/netty/internal/tcnative/SSL parsePrivateKey (JLjava/lang/String;)J freeBIO (J)V freePrivateKey append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getFormat ()Ljava/lang/String; toString *(Ljava/lang/String;Ljava/lang/Throwable;)V 'io/netty/handler/ssl/PemX509Certificate toPEM k(Lio/netty/buffer/ByteBufAllocator;Z[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/PemEncoded; retain #()Lio/netty/handler/ssl/PemEncoded; F(Lio/netty/buffer/ByteBufAllocator;Lio/netty/handler/ssl/PemEncoded;)J parseX509Chain (J)J
freeX509Chain release ()Z javax/net/ssl/X509KeyManager getCertificateChain 9(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
getPrivateKey .(Ljava/lang/String;)Ljava/security/PrivateKey; newKeyMaterial Q(J[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/OpenSslKeyMaterial; *(JJ[Ljava/security/cert/X509Certificate;)V ! " # $ % &