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

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

There is a newer version: 129
Show newest version
????2?"io/netty/handler/ssl/JdkSslContextio/netty/handler/ssl/SslContextJdkSslContext.java$io/netty/handler/ssl/JdkSslContext$1Mio/netty/handler/ssl/JdkApplicationProtocolNegotiator$SslEngineWrapperFactory5io/netty/handler/ssl/JdkApplicationProtocolNegotiator
SslEngineWrapperFactory7io/netty/handler/ssl/ApplicationProtocolConfig$Protocol
.io/netty/handler/ssl/ApplicationProtocolConfigProtocolFio/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehaviorSelectorFailureBehaviorNio/netty/handler/ssl/ApplicationProtocolConfig$SelectedListenerFailureBehaviorSelectedListenerFailureBehaviorlogger/Lio/netty/util/internal/logging/InternalLogger;PROTOCOLLjava/lang/String;TLSDEFAULT_PROTOCOLS[Ljava/lang/String;DEFAULT_CIPHERSLjava/util/List;$Ljava/util/List;SUPPORTED_CIPHERSLjava/util/Set;#Ljava/util/Set;	protocolscipherSuitesunmodifiableCipherSuitesapn7Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;
clientAuth!Lio/netty/handler/ssl/ClientAuth;
sslContextLjavax/net/ssl/SSLContext;isClientZaddIfSupported5(Ljava/util/Set;Ljava/util/List;[Ljava/lang/String;)V
java/util/Set4contains(Ljava/lang/Object;)Z6758java/util/List:add<7;=n	supportedenablednames?(Ljavax/net/ssl/SSLContext;ZLio/netty/handler/ssl/ClientAuth;)V.io/netty/handler/ssl/IdentityCipherSuiteFilterEINSTANCE0Lio/netty/handler/ssl/IdentityCipherSuiteFilter;GH	FILio/netty/handler/ssl/JdkDefaultApplicationProtocolNegotiator;GM	LN?(Ljavax/net/ssl/SSLContext;ZLjava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;Z)VCP
Qthis$Lio/netty/handler/ssl/JdkSslContext;?(Ljavax/net/ssl/SSLContext;ZLjava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;Lio/netty/handler/ssl/ClientAuth;)Vjavax/net/ssl/SSLContextVjava/lang/IterableX&io/netty/handler/ssl/CipherSuiteFilterZio/netty/handler/ssl/ClientAuth\toNegotiatorj(Lio/netty/handler/ssl/ApplicationProtocolConfig;Z)Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;^_
`ciphers(Ljava/lang/Iterable;Ljava/lang/Iterable;cipherFilter(Lio/netty/handler/ssl/CipherSuiteFilter;0Lio/netty/handler/ssl/ApplicationProtocolConfig;(Z)VCh
i)!io/netty/util/internal/ObjectUtillcheckNotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;no
mp)*	r++,	ue !	x#$	zfilterCipherSuitesH(Ljava/lang/Iterable;Ljava/util/List;Ljava/util/Set;)[Ljava/lang/String;|}[~'	?	?&	?java/util/Arrays?asList%([Ljava/lang/Object;)Ljava/util/List;??
??java/util/Collections?unmodifiableList"(Ljava/util/List;)Ljava/util/List;??
??(!	?--.	?/0	?startTlscontext()Ljavax/net/ssl/SSLContext;()ZsessionContext#()Ljavax/net/ssl/SSLSessionContext;isServer??
???
?getServerSessionContext??
W?getClientSessionContext??
W?()Ljava/util/List;sessionCacheSize()J??
?javax/net/ssl/SSLSessionContext?getSessionCacheSize()I????sessionTimeoutgetSessionTimeout????	newEngine=(Lio/netty/buffer/ByteBufAllocator;)Ljavax/net/ssl/SSLEngine;createSSLEngine()Ljavax/net/ssl/SSLEngine;??
W?configureAndWrapEngine4(Ljavax/net/ssl/SSLEngine;)Ljavax/net/ssl/SSLEngine;??
?alloc"Lio/netty/buffer/ByteBufAllocator;P(Lio/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;.(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;??
W?peerHostpeerPortIjavax/net/ssl/SSLEngine?setEnabledCipherSuites([Ljava/lang/String;)V??
??setEnabledProtocols??
??/?
?setUseClientMode?h
??*$SwitchMap$io$netty$handler$ssl$ClientAuth[I??	?ordinal??
]?setWantClientAuth?h
??setNeedClientAuth?h
??java/lang/Error?java/lang/StringBuilder?()VC?
??
Unknown auth ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??(Ljava/lang/String;)VC?
??wrapperFactoryQ()Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator$SslEngineWrapperFactory;??
wrapSslEnginel(Ljavax/net/ssl/SSLEngine;Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;Z)Ljavax/net/ssl/SSLEngine;	engineLjavax/net/ssl/SSLEngine;applicationProtocolNegotiator9()Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;B$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$Protocol
?	protocol;()Lio/netty/handler/ssl/ApplicationProtocolConfig$Protocol;


?Q$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$SelectorFailureBehavior?	selectorFailureBehaviorJ()Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehavior;

?9io/netty/handler/ssl/JdkAlpnApplicationProtocolNegotiatorsupportedProtocols?
(ZLjava/lang/Iterable;)VC
 'java/lang/UnsupportedOperationException"JDK provider does not support $
?? failure behavior'
#?Y$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$SelectedListenerFailureBehavior*?	+selectedListenerFailureBehaviorR()Lio/netty/handler/ssl/ApplicationProtocolConfig$SelectedListenerFailureBehavior;-.
/
?8io/netty/handler/ssl/JdkNpnApplicationProtocolNegotiator2
3 	 protocol5configbuildKeyManagerFactoryr(Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;'java/security/UnrecoverableKeyException:java/security/KeyStoreException<&java/security/NoSuchAlgorithmException>#javax/crypto/NoSuchPaddingException@*java/security/spec/InvalidKeySpecExceptionB0java/security/InvalidAlgorithmParameterExceptionD'java/security/cert/CertificateExceptionFjava/security/KeyExceptionHjava/io/IOExceptionJLjava/lang/Deprecated;ssl.KeyManagerFactory.algorithmMjava/security/SecurityOgetProperty&(Ljava/lang/String;)Ljava/lang/String;QR
PSSunX509Ujava/lang/StringW?(Ljava/io/File;Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;8Y
Z
certChainFileLjava/io/File;keyFilekeyPasswordkmf!Ljavax/net/ssl/KeyManagerFactory;	algorithmtoX509Certificates5(Ljava/io/File;)[Ljava/security/cert/X509Certificate;cd
etoPrivateKey<(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;gh
i?([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;8k
lkeyAlgorithm6()Lio/netty/handler/ssl/ApplicationProtocolNegotiator;	
pjava/lang/Exceptions4io/netty/util/internal/logging/InternalLoggerFactoryugetInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;wx
vy	{.(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;w}
W~initW([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V??
W?,failed to initialize the default SSL context?*(Ljava/lang/String;Ljava/lang/Throwable;)VC?
??getSupportedProtocols()[Ljava/lang/String;??
??java/util/HashSet?(I)VC?
??5=java/util/ArrayList?
??TLSv1.2?TLSv1.1?TLSv1?12
?isEmpty??;?size??;?toArray(([Ljava/lang/Object;)[Ljava/lang/Object;??;?getEnabledProtocols??
??getSupportedCipherSuites??
??SSL_?
startsWith(Ljava/lang/String;)Z??
X?TLS_?length??
X?	substring(I)Ljava/lang/String;??
X?'TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384?'TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256?%TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256?"TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA?"TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA?TLS_RSA_WITH_AES_128_GCM_SHA256?TLS_RSA_WITH_AES_128_CBC_SHA?TLS_RSA_WITH_AES_256_CBC_SHA?getEnabledCipherSuites??
??_RC4_?(Ljava/lang/CharSequence;)Z6?
X?-io/netty/util/internal/logging/InternalLogger?isDebugEnabled????Default protocols (JDK): {} ?debug'(Ljava/lang/String;Ljava/lang/Object;)V????Default cipher suites (JDK): {}?eLjava/lang/Exception;supportedCiphercipherisupportedProtocolsSetsupportedCiphers
ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable](Ljava/util/Set;Ljava/util/List;[Ljava/lang/String;)V?(Ljavax/net/ssl/SSLContext;ZLjava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/ApplicationProtocolConfig;Lio/netty/handler/ssl/ClientAuth;)V?(Ljavax/net/ssl/SSLContext;ZLjava/lang/Iterable;Lio/netty/handler/ssl/CipherSuiteFilter;Lio/netty/handler/ssl/JdkApplicationProtocolNegotiator;Lio/netty/handler/ssl/ClientAuth;[Ljava/lang/String;Z)V&()Ljava/util/List;
Exceptions
DeprecatedRuntimeVisibleAnnotations
SourceFileInnerClasses!? !?"#$?%&'(!?")*+,-./0?12??1,N-?66?#-2:*?9?+?>W???ܱ?*?1@$1A!1B?1@%1A"???!?*?0???	3 ???CD?]	*+?J?O-?R??*ST-./0+,?
??CU??	*+-???a?R??HST-./0bdef)g+,?bc?
???O?WY[]WY[?WY[]WY[??CP?g	n*?j*k?q??s*t?q?]?v*w?q?[-?y?{???*?	?????**????????*+??q?W??*????\	nSTn-.n/0nbdnefn)*n+,n&n?0?nbc?&	???"?<?M?[?h?m??G?H	WY[]3?	WY[]33?????/*????ST??/??/*????ST?????R*???*?????*??????ST?????'??/*????ST???????5*???????ST?????5*???????ST?????@**?????°?ST???????V**??,?ȷ°?*ST????????????+*????+*????+*?ֶ?*???Y??*?v??.?-"*+??,+??$?!??Y??Y????*?v???????*?s?+*?s*??????ST??2?????D?ILQTWu
?	?D	?/*?s??ST?^_???*??O??*??.???O??c?*??.?3&?Y*??!??Y*??!??#Y??Y%?&*???(????)??,*?0?1.?3&?Y*??!??Y*??!??#Y??Y%?&*?0??(????)??c?,*?0?1.?3&?3Y*??4??3Y*??4??#Y??Y%?&*?0??(????)??*??.?3&?3Y*??4??3Y*??4??#Y??Y%?&*???(????)??#Y??Y%?&*???6????)???7g??0?r,0!4"X$e&r(?)?,?.?0?2?3?7?8:)<6>E?XB|D?F?H?I?M?N?#'!#!'!#!89??N?T:?V:*+,-?[??4\]^]_`ab?bc
df??X?	;=?ACEGIK??L8Y?k*?f+,-?j-?m??4\]n^]_`a?}~
}?	=?ACEKGI;??LAo?/*?q??ST?2r?????z?|?K*???L??Y?+???*??L+??M??Y,???N6,??-,2??W?????Y??:-?XY?SY?SY?S????????X???3???
+????+??:??Y????{6??M2:?{??W????*?{??Y???????????????W??????Y??:?{?XY?SY?SY?SY?SY?SY?SY?SY?S?????=+??:?6	6

	?(
2:Ѷԙ?
?>W?
??????y?|???"?|۲??????|?y???t?z
?.???=?z?%??.<???*?/?9??$]m&!? ??b!? 9??%]m&"?b"??&4?@CAB%E*H/I9JCKNJTM]NyR?S?U?Y?Z?[?\?]?g?h[klT|^~z?????~???????????gXt?W?W?35?H;?3?K?_W?35;3;3?X?	??1??*		@@@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy