classes.io.netty.handler.ssl.SslContextBuilder.class Maven / Gradle / Ivy
???? 2 ? ?
?
?
?
?
?
?
?
?
= ? ? ? ? : ? ? ? ?
? ?
? ? ? ?
? ?
?
?
?
?
? ? ?
? ? C ? ?
? ? ? ?
? ? ? ?
? ? ?
? ? ? ?
? ? ? ? ? ?
? Q ? ? ? ? X ?
? ?
? ? ? forServer Z provider "Lio/netty/handler/ssl/SslProvider; 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; Signature (Ljava/lang/Iterable; cipherFilter (Lio/netty/handler/ssl/CipherSuiteFilter; apn 0Lio/netty/handler/ssl/ApplicationProtocolConfig; sessionCacheSize J sessionTimeout
clientAuth !Lio/netty/handler/ssl/ClientAuth; forClient *()Lio/netty/handler/ssl/SslContextBuilder; Code LineNumberTable F(Ljava/io/File;Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder; LocalVariableTable keyCertChainFile Ljava/io/File; keyFile T(Ljava/io/InputStream;Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder; keyCertChainInputStream Ljava/io/InputStream; keyInputStream i(Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder; X(Ljava/io/File;Ljava/io/File;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder; f(Ljava/io/InputStream;Ljava/io/InputStream;Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder; {(Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder; K(Ljavax/net/ssl/KeyManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder; (Z)V this (Lio/netty/handler/ssl/SslContextBuilder; sslProvider L(Lio/netty/handler/ssl/SslProvider;)Lio/netty/handler/ssl/SslContextBuilder; trustManager 8(Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder; e Ljava/lang/Exception; trustCertCollectionFile
StackMapTable ? ?(Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder; trustCertCollectionInputStream O([Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder; ? M(Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;
keyManager ? cert $Ljava/security/cert/X509Certificate; arr$ len$ I i$ >(Ljava/lang/Iterable;)Lio/netty/handler/ssl/SslContextBuilder; LocalVariableTypeTable R(Ljava/lang/Iterable;)Lio/netty/handler/ssl/SslContextBuilder; f(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;)Lio/netty/handler/ssl/SslContextBuilder; z(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;)Lio/netty/handler/ssl/SslContextBuilder; applicationProtocolConfig Z(Lio/netty/handler/ssl/ApplicationProtocolConfig;)Lio/netty/handler/ssl/SslContextBuilder; +(J)Lio/netty/handler/ssl/SslContextBuilder; K(Lio/netty/handler/ssl/ClientAuth;)Lio/netty/handler/ssl/SslContextBuilder; build #()Lio/netty/handler/ssl/SslContext;
Exceptions ?
SourceFile SslContextBuilder.java &io/netty/handler/ssl/SslContextBuilder l m ~ ^ ~ c ~ g ~ h ~ i ~ j ~ k l ? ? ? ? Q R ? Y X Y > ? @ A ? ? ? r { java/lang/Exception "java/lang/IllegalArgumentException java/lang/StringBuilder *File does not contain valid certificates: ? ? ? ? ? ? l ? ? ? 1Input stream does not contain valid certificates. C ? ? B C D E ? ? )File does not contain valid private key: ,Input stream not contain valid certificates. ? ? 0Input stream does not contain valid private key. !keyCertChain required for servers ? ? ? keyCertChain must be non-empty l ? key required for servers F C keyCertChain contains null entry C G H I J K L &keyManagerFactory required for servers M ? M N S T U V W V io/netty/handler/ssl/ClientAuth ? ? ? ? java/lang/Object java/security/PrivateKey javax/net/ssl/SSLException ()V .io/netty/handler/ssl/IdentityCipherSuiteFilter INSTANCE 0Lio/netty/handler/ssl/IdentityCipherSuiteFilter; NONE io/netty/handler/ssl/SslContext toX509Certificates 5(Ljava/io/File;)[Ljava/security/cert/X509Certificate; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; *(Ljava/lang/String;Ljava/lang/Throwable;)V <(Ljava/io/InputStream;)[Ljava/security/cert/X509Certificate; clone ()Ljava/lang/Object; toPrivateKey <(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey; C(Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/PrivateKey; !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; (Ljava/lang/String;)V newServerContextInternal?(Lio/netty/handler/ssl/SslProvider;[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;)Lio/netty/handler/ssl/SslContext; newClientContextInternalm(Lio/netty/handler/ssl/SslProvider;[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;JJ)Lio/netty/handler/ssl/SslContext; 1 = > ? @ A B C D E F C G H I J K L M N O P Q R S T U V W V X Y Z [ \ ! ? Y? ? ] &