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

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

There is a newer version: 129
Show newest version
????2?&io/netty/handler/ssl/SslContextBuilderjava/lang/ObjectSslContextBuilder.java	forServerZprovider"Lio/netty/handler/ssl/SslProvider;sslContextProviderLjava/security/Provider;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
enableOcsp	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;.4
5keyCertChainInputStreamLjava/io/InputStream;keyInputStreami(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;.@
A{(Ljava/security/PrivateKey;Ljava/lang/String;[Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;.C
DK(Ljavax/net/ssl/KeyManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;.F
G()V)I
J.io/netty/handler/ssl/IdentityCipherSuiteFilterLINSTANCE0Lio/netty/handler/ssl/IdentityCipherSuiteFilter;NO	MP	Rio/netty/handler/ssl/ClientAuthTNONEV"	UW!"	Y	[this(Lio/netty/handler/ssl/SslContextBuilder;sslProviderL(Lio/netty/handler/ssl/SslProvider;)Lio/netty/handler/ssl/SslContextBuilder;		aB(Ljava/security/Provider;)Lio/netty/handler/ssl/SslContextBuilder;
	dtrustManager8(Ljava/io/File;)Lio/netty/handler/ssl/SslContextBuilder;java/lang/Exceptionhio/netty/handler/ssl/SslContextjtoX509Certificates5(Ljava/io/File;)[Ljava/security/cert/X509Certificate;lm
knO([Ljava/security/cert/X509Certificate;)Lio/netty/handler/ssl/SslContextBuilder;fp
q"java/lang/IllegalArgumentExceptionsjava/lang/StringBuilderu
vJ*File does not contain valid certificates: xappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;z{
v|-(Ljava/lang/Object;)Ljava/lang/StringBuilder;z~
vtoString()Ljava/lang/String;??
v?*(Ljava/lang/String;Ljava/lang/Throwable;)V)?
t?eLjava/lang/Exception;trustCertCollectionFile?(Ljava/io/InputStream;)Lio/netty/handler/ssl/SslContextBuilder;<(Ljava/io/InputStream;)[Ljava/security/cert/X509Certificate;l?
k?1Input stream does not contain valid certificates.?trustCertCollectionInputStream
clone()Ljava/lang/Object;??
??
	?	?M(Ljavax/net/ssl/TrustManagerFactory;)Lio/netty/handler/ssl/SslContextBuilder;toPrivateKey<(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;??
k?)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;??
k?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)?
t?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/Provider;[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)Lio/netty/handler/ssl/SslContext;??
k?newClientContextInternal?(Lio/netty/handler/ssl/SslProvider;Ljava/security/Provider;[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;JJZ)Lio/netty/handler/ssl/SslContext;??
k?	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??1232?6	4?B?Y?,*+?6??7898?A?:?B?Y?,*+?N?S@]>cCnEsFxG}H??
??
.F?y$*?\?
+Ǹ?W*??*??*??*+??*??$]^$?TUWXYZ"[???O	*+?Q?˰?	]^	?	?c????o,̸?W*+??*,?S*?? ]^??lmno??????*+??*??]^?
vw???*??*??]^?
? ???*??*??]^ ?
??!??G*+ٸ??U?Z*??]^!"?
?
??#??l*+??
+???۵?*??]^#$?
???I???%???*??*??]^%?
??&???*??*??]^&?
???????*?\?K*?b*?e*??*??*??*??*??*??*??*?S*??*??*??*?Z*??*??*???*?b*?e*??*??*??*??*??*??*??*?S*??*??*??*??*?????]^???O???O???




© 2015 - 2025 Weber Informatics LLC | Privacy Policy