All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.netty.handler.ssl.SslContextBuilder.class Maven / Gradle / Ivy

????2?&io/netty/handler/ssl/SslContextBuilderjava/lang/ObjectSslContextBuilder.java	forServerZprovider"Lio/netty/handler/ssl/SslProvider;trustCertCollection%[Ljava/security/cert/X509Certificate;trustManagerFactory#Ljavax/net/ssl/TrustManagerFactory;keyCertChainkeyLjava/security/PrivateKey;keyPasswordLjava/lang/String;keyManagerFactory!Ljavax/net/ssl/KeyManagerFactory;ciphersLjava/lang/Iterable;(Ljava/lang/Iterable;cipherFilter(Lio/netty/handler/ssl/CipherSuiteFilter;apn0Lio/netty/handler/ssl/ApplicationProtocolConfig;sessionCacheSizeJsessionTimeout
clientAuth!Lio/netty/handler/ssl/ClientAuth;	protocols[Ljava/lang/String;startTls	forClient*()Lio/netty/handler/ssl/SslContextBuilder;(Z)V&'
(F(Ljava/io/File;Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder;
keyManager+*
,keyCertChainFileLjava/io/File;keyFileT(Ljava/io/InputStream;Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder;+1
2keyCertChainInputStreamLjava/io/InputStream;keyInputStreami(Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;+7
8X(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;+@
AK(Ljavax/net/ssl/KeyManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;+C
D()V&F
G.io/netty/handler/ssl/IdentityCipherSuiteFilterIINSTANCE0Lio/netty/handler/ssl/IdentityCipherSuiteFilter;KL	JM	Oio/netty/handler/ssl/ClientAuthQNONES 	RT 	V	Xthis(Lio/netty/handler/ssl/SslContextBuilder;sslProviderL(Lio/netty/handler/ssl/SslProvider;)Lio/netty/handler/ssl/SslContextBuilder;		^trustManager8(Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder;java/lang/Exceptionbio/netty/handler/ssl/SslContextdtoX509Certificates5(Ljava/io/File;)[Ljava/security/cert/X509Certificate;fg
ehO([Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;`j
k"java/lang/IllegalArgumentExceptionmjava/lang/StringBuildero
pG*File does not contain valid certificates: rappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;tu
pv-(Ljava/lang/Object;)Ljava/lang/StringBuilder;tx
pytoString()Ljava/lang/String;{|
p}*(Ljava/lang/String;Ljava/lang/Throwable;)V&
n?eLjava/lang/Exception;trustCertCollectionFile?(Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder;<(Ljava/io/InputStream;)[Ljava/security/cert/X509Certificate;f?
e?1Input stream does not contain valid certificates.?trustCertCollectionInputStreamclone()Ljava/lang/Object;??
??
	?
	?M(Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;toPrivateKey<(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;??
e?)File does not contain valid private key: ?java/security/PrivateKey?,Input stream not contain valid certificates.?C(Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/PrivateKey;??
e?0Input stream does not contain valid private key.?!keyCertChain required for servers?!io/netty/util/internal/ObjectUtil?checkNotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;??
??keyCertChain must be non-empty?(Ljava/lang/String;)V&?
n?key required for servers?	? keyCertChain contains null entry?	?	?	?cert$Ljava/security/cert/X509Certificate;&keyManagerFactory required for servers?>(Ljava/lang/Iterable;)Lio/netty/handler/ssl/SslContextBuilder;f(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;)Lio/netty/handler/ssl/SslContextBuilder;?
?	?applicationProtocolConfigZ(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;=([Ljava/lang/String;)Lio/netty/handler/ssl/SslContextBuilder;"
??!"	?+(Z)Lio/netty/handler/ssl/SslContextBuilder;#	?build#()Lio/netty/handler/ssl/SslContext;javax/net/ssl/SSLException?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;[Ljava/lang/String;Z)Lio/netty/handler/ssl/SslContext;??
e?newClientContextInternal?(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;[Ljava/lang/String;JJ)Lio/netty/handler/ssl/SslContext;??
e?	SignatureCodeLineNumberTableLocalVariableTable
StackMapTableLocalVariableTypeTableR(Ljava/lang/Iterable;)Lio/netty/handler/ssl/SslContextBuilder;z(Ljava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;)Lio/netty/handler/ssl/SslContextBuilder;
Exceptions
SourceFile1	

? !"#	$%?!	?Y?)??'	*?B?Y?)*+?-??./0/?2	1?B?Y?)*+?3??4565?=?7?B?Y?)*+?9???H	:?M?Y?)*+,?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy