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

com.groupbyinc.flux.common.netty.handler.ssl.JdkSslContext.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?:com/groupbyinc/flux/common/netty/handler/ssl/JdkSslContext7com/groupbyinc/flux/common/netty/handler/ssl/SslContextJdkSslContext.java;SUPPORTED_CIPHERSLjava/util/Set;#Ljava/util/Set;	protocolscipherSuitesunmodifiableCipherSuitesapnOLcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator;
clientAuth9Lcom/groupbyinc/flux/common/netty/handler/ssl/ClientAuth;
sslContextLjavax/net/ssl/SSLContext;isClientZW(Ljavax/net/ssl/SSLContext;ZLcom/groupbyinc/flux/common/netty/handler/ssl/ClientAuth;)VFcom/groupbyinc/flux/common/netty/handler/ssl/IdentityCipherSuiteFilter6INSTANCEHLcom/groupbyinc/flux/common/netty/handler/ssl/IdentityCipherSuiteFilter;89	7:Tcom/groupbyinc/flux/common/netty/handler/ssl/JdkDefaultApplicationProtocolNegotiator<VLcom/groupbyinc/flux/common/netty/handler/ssl/JdkDefaultApplicationProtocolNegotiator;8>	=?(Ljavax/net/ssl/SSLContext;ZLjava/lang/Iterable;Lcom/groupbyinc/flux/common/netty/handler/ssl/CipherSuiteFilter;Lcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator;Lcom/groupbyinc/flux/common/netty/handler/ssl/ClientAuth;[Ljava/lang/String;Z)V4A
Bthiscom/groupbyinc/flux/common/netty/handler/ssl/CipherSuiteFilterK7com/groupbyinc/flux/common/netty/handler/ssl/ClientAuthMtoNegotiator?(Lcom/groupbyinc/flux/common/netty/handler/ssl/ApplicationProtocolConfig;Z)Lcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator;OP
Qciphers(Ljava/lang/Iterable;Ljava/lang/Iterable;cipherFilter@Lcom/groupbyinc/flux/common/netty/handler/ssl/CipherSuiteFilter;HLcom/groupbyinc/flux/common/netty/handler/ssl/ApplicationProtocolConfig;(Z)V4Y
Z,9com/groupbyinc/flux/common/netty/util/internal/ObjectUtil]checkNotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;_`
^a,-	c../	fV#$	i&'	kfilterCipherSuitesH(Ljava/lang/Iterable;Ljava/util/List;Ljava/util/Set;)[Ljava/lang/String;mnLo*"	q!"	s")"	vjava/util/ArraysxasList%([Ljava/lang/Object;)Ljava/util/List;z{
y|java/util/Collections~unmodifiableList"(Ljava/util/List;)Ljava/util/List;??
?+$	?001	?23	?startTlscontext()Ljavax/net/ssl/SSLContext;()ZsessionContext#()Ljavax/net/ssl/SSLSessionContext;isServer??
???
?getServerSessionContext??
H?getClientSessionContext??
H?()Ljava/util/List;sessionCacheSize()J??
?javax/net/ssl/SSLSessionContext?getSessionCacheSize()I????sessionTimeoutgetSessionTimeout????	newEngineU(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;)Ljavax/net/ssl/SSLEngine;createSSLEngine()Ljavax/net/ssl/SSLEngine;??
H?configureAndWrapEnginen(Ljavax/net/ssl/SSLEngine;Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;)Ljavax/net/ssl/SSLEngine;??
?alloc:Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;h(Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;.(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;??
H?peerHostpeerPortIjavax/net/ssl/SSLEngine?setEnabledCipherSuites([Ljava/lang/String;)V??
??setEnabledProtocols??
??2?
?setUseClientMode?Y
??*$SwitchMap$io$netty$handler$ssl$ClientAuth[I??	?ordinal??
N?setWantClientAuth?Y
??setNeedClientAuth?Y
??java/lang/Error?java/lang/StringBuilder?()V4?
??
Unknown auth ?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??(Ljava/lang/String;)V4?
??wrapperFactoryi()Lcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator$SslEngineWrapperFactory;???
wrapSslEngine?(Ljavax/net/ssl/SSLEngine;Lcom/groupbyinc/flux/common/netty/buffer/ByteBufAllocator;Lcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator;Z)Ljavax/net/ssl/SSLEngine;??
??(Ljavax/net/ssl/SSLEngine;Lcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator;Z)Ljavax/net/ssl/SSLEngine;??	?engineLjavax/net/ssl/SSLEngine;factorygLcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator$SslEngineWrapperFactory;applicationProtocolNegotiatorQ()Lcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator;B$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$Protocol?	protocolS()Lcom/groupbyinc/flux/common/netty/handler/ssl/ApplicationProtocolConfig$Protocol;

?Q$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$SelectorFailureBehavior	?	
selectorFailureBehaviorb()Lcom/groupbyinc/flux/common/netty/handler/ssl/ApplicationProtocolConfig$SelectorFailureBehavior;

?Qcom/groupbyinc/flux/common/netty/handler/ssl/JdkAlpnApplicationProtocolNegotiatorsupportedProtocols?
(ZLjava/lang/Iterable;)V4
'java/lang/UnsupportedOperationExceptionJDK provider does not support 
?? failure behavior
?Y$SwitchMap$io$netty$handler$ssl$ApplicationProtocolConfig$SelectedListenerFailureBehavior!?	"selectedListenerFailureBehaviorj()Lcom/groupbyinc/flux/common/netty/handler/ssl/ApplicationProtocolConfig$SelectedListenerFailureBehavior;$%
&
?Pcom/groupbyinc/flux/common/netty/handler/ssl/JdkNpnApplicationProtocolNegotiator)
*	 protocol,configbuildKeyManagerFactoryr(Ljava/io/File;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;'java/security/UnrecoverableKeyException1java/security/KeyStoreException3&java/security/NoSuchAlgorithmException5#javax/crypto/NoSuchPaddingException7*java/security/spec/InvalidKeySpecException90java/security/InvalidAlgorithmParameterException;'java/security/cert/CertificateException=java/security/KeyException?java/io/IOExceptionALjava/lang/Deprecated;ssl.KeyManagerFactory.algorithmDjava/security/SecurityFgetProperty&(Ljava/lang/String;)Ljava/lang/String;HI
GJSunX509Ljava/lang/StringN?(Ljava/io/File;Ljava/lang/String;Ljava/io/File;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;/P
Q
certChainFileLjava/io/File;keyFilekeyPasswordkmf!Ljavax/net/ssl/KeyManagerFactory;	algorithmtoX509Certificates5(Ljava/io/File;)[Ljava/security/cert/X509Certificate;Z[
\toPrivateKey<(Ljava/io/File;Ljava/lang/String;)Ljava/security/PrivateKey;^_
`?([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/security/PrivateKey;Ljava/lang/String;Ljavax/net/ssl/KeyManagerFactory;)Ljavax/net/ssl/KeyManagerFactory;/b
ckeyAlgorithmN()Lcom/groupbyinc/flux/common/netty/handler/ssl/ApplicationProtocolNegotiator;?
gjava/lang/ExceptionjLcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLoggerFactorylgetInstanceZ(Ljava/lang/Class;)Lcom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger;no
mp	r.(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;nt
HuinitW([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)Vwx
Hy,failed to initialize the default SSL context{*(Ljava/lang/String;Ljava/lang/Throwable;)V4}
?~getSupportedProtocols()[Ljava/lang/String;??
??java/util/HashSet?(I)V4?
??
java/util/Set?add(Ljava/lang/Object;)Z????java/util/ArrayList?
??TLSv1.2?TLSv1.1?TLSv1?5com/groupbyinc/flux/common/netty/handler/ssl/SslUtils?addIfSupported5(Ljava/util/Set;Ljava/util/List;[Ljava/lang/String;)V??
??java/util/List?isEmpty????size????toArray(([Ljava/lang/Object;)[Ljava/lang/Object;????getEnabledProtocols??
??getSupportedCipherSuites??
??SSL_?
startsWith(Ljava/lang/String;)Z??
O?TLS_?length??
O?	substring(I)Ljava/lang/String;??
O?DEFAULT_CIPHER_SUITES?"	??getEnabledCipherSuites??
??"useFallbackCiphersIfDefaultIsEmpty&(Ljava/util/List;[Ljava/lang/String;)V??
??Ecom/groupbyinc/flux/common/netty/util/internal/logging/InternalLogger?isDebugEnabled????Default protocols (JDK): {} ?debug'(Ljava/lang/String;Ljava/lang/Object;)V????Default cipher suites (JDK): {}?eLjava/lang/Exception;supportedCipherisupportedProtocolsSetsupportedCiphers
ConstantValue	SignatureCodeLocalVariableTableLineNumberTableLocalVariableTypeTable
StackMapTable(Ljavax/net/ssl/SSLContext;ZLjava/lang/Iterable;Lcom/groupbyinc/flux/common/netty/handler/ssl/CipherSuiteFilter;Lcom/groupbyinc/flux/common/netty/handler/ssl/ApplicationProtocolConfig;Lcom/groupbyinc/flux/common/netty/handler/ssl/ClientAuth;)V"(Ljavax/net/ssl/SSLContext;ZLjava/lang/Iterable;Lcom/groupbyinc/flux/common/netty/handler/ssl/CipherSuiteFilter;Lcom/groupbyinc/flux/common/netty/handler/ssl/JdkApplicationProtocolNegotiator;Lcom/groupbyinc/flux/common/netty/handler/ssl/ClientAuth;[Ljava/lang/String;Z)V&()Ljava/util/List;
Exceptions
DeprecatedRuntimeVisibleAnnotations
SourceFileInnerClasses!? !"#$?%&'?()"*"+$?%,-./012345?]	*+?;?@-?C??*DE0123./?
??4F??	*+-???R?C??HDE0123SUVW,X./?ST?
???O?HJLNHJL?HJLNHJL??4A?g	n*?[*\?b??d*e?b?N?g*h?b?L-?j?l?p?r*?	?t??w**?r?}????*+??b?H??*????\	nDEn01n23nSUnVWn,-n./n)"n?3?nST?&	???"?<?M?[?h?m??G?H	HJLNu?	HJLNuu?????/*????DE??2??/*????DE?????R*???*?????*??????DE?????*??/*????DE???????5*???????DE?????5*???????DE?????A
**????+????
DE
???????W**??,??+????*DE??????????E?+*?r??+*?w??+*?ȶ?*???Y??*?g??.?-"*+?է,+?ا$?!??Y??Y????*?g????*?d??N-??-?+,*?d*?????-+*?d*??????*?DE??????)???F?????D?I?L?Q?T?W?u????????????D?"	??/*?d??DE??OP???*??@??*??.???@??c?*??.?3&?Y*????Y*????Y??Y?*?????? ??#*?'?(.?3&?Y*????Y*????Y??Y?*?'????? ??c?#*?'?(.?3&?*Y*??+??*Y*??+??Y??Y?*?'????? ??*??.?3&?*Y*??+??*Y*??+??Y??Y?*?????? ??Y??Y?*???-??? ???.X??3?r,
04Xer????? ?!?%?&()*6,E-X0|2?4?6?7?;?<?#'!#!'!#!/0??E?K:?M:*+,-?R??4STUTVWXY?PQ
RT??O?	2468:<>@B??C/P?k*?]+,-?a-?d??4STeUTVWX?kl
k?	468:<B>@2??CA?f?/*?h??DE?6i???Y?q?s ?vK*?z?M??Y|,??*??M,??N??Y-???:<-??-2??W?????Y??:?OY?SY?SY?S????????O???u?t?
,???t,??:??Y????l<??L2:?l??W????*?l??Y??????????????W??????Y??:?l????,?ĸ????j?s???"?sϲt?}???sղj???k?p
?1???=?%3?1<??*.??/)":?'\?)$???"FS$? :?(\?)%FS%??!8CDGEF%I*L/M:NBOMNSQ\RyV?W?Y?]?^?_?`?a?k?l_	opq&r.t9uJvXx?9
Xk?H?H?u??I??u?I?N??2			@@@




© 2015 - 2024 Weber Informatics LLC | Privacy Policy