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

com.groupbyinc.flux.common.http.ssl.SSLContextBuilder.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????25com/groupbyinc/flux/common/http/ssl/SSLContextBuilderjava/lang/ObjectSSLContextBuilder.javaHcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder$KeyManagerDelegateKeyManagerDelegateJcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder$TrustManagerDelegate	TrustManagerDelegateTLSLjava/lang/String;protocolkeymanagersLjava/util/Set;+Ljava/util/Set;
trustmanagers-Ljava/util/Set;secureRandomLjava/security/SecureRandom;create9()Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;()V

java/util/LinkedHashSet
	!	#this7Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;useProtocolK(Ljava/lang/String;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;
	)setSecureRandomU(Ljava/security/SecureRandom;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;	-loadTrustMaterial?(Ljava/security/KeyStore;Lcom/groupbyinc/flux/common/http/ssl/TrustStrategy;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;&java/security/NoSuchAlgorithmException1java/security/KeyStoreException3!javax/net/ssl/TrustManagerFactory5getDefaultAlgorithm()Ljava/lang/String;78
69getInstance7(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;;<
6=init(Ljava/security/KeyStore;)V?@
6AgetTrustManagers()[Ljavax/net/ssl/TrustManager;CD
6E[Ljavax/net/ssl/TrustManager;Gjavax/net/ssl/X509TrustManagerIV(Ljavax/net/ssl/X509TrustManager;Lcom/groupbyinc/flux/common/http/ssl/TrustStrategy;)VK

L
java/util/SetNadd(Ljava/lang/Object;)ZPQORtmLjavax/net/ssl/TrustManager;iIarr$len$i$
truststoreLjava/security/KeyStore;
trustStrategy3Lcom/groupbyinc/flux/common/http/ssl/TrustStrategy;	tmfactory#Ljavax/net/ssl/TrustManagerFactory;tmsl(Lcom/groupbyinc/flux/common/http/ssl/TrustStrategy;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;/0
c|(Ljava/io/File;[CLcom/groupbyinc/flux/common/http/ssl/TrustStrategy;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;'java/security/cert/CertificateExceptionfjava/io/IOExceptionhTruststore filej)com/groupbyinc/flux/common/http/util/ArgslnotNull8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;no
mpjava/security/KeyStorergetDefaultTypet8
su,(Ljava/lang/String;)Ljava/security/KeyStore;;w
sxjava/io/FileInputStreamz(Ljava/io/File;)V|
{}load(Ljava/io/InputStream;[C)V?
s?close?
{?java/io/File?[C?1com/groupbyinc/flux/common/http/ssl/TrustStrategy?java/lang/Throwable?fileLjava/io/File;
storePassword
trustStoreinstreamLjava/io/FileInputStream;I(Ljava/io/File;[C)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;/e
?G(Ljava/io/File;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;/?
?|(Ljava/net/URL;[CLcom/groupbyinc/flux/common/http/ssl/TrustStrategy;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;Truststore URL?java/net/URL?
openStream()Ljava/io/InputStream;??
??java/io/InputStream?
??urlLjava/net/URL;Ljava/io/InputStream;I(Ljava/net/URL;[C)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;/?
?loadKeyMaterial?(Ljava/security/KeyStore;[CLcom/groupbyinc/flux/common/http/ssl/PrivateKeyStrategy;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;'java/security/UnrecoverableKeyException?javax/net/ssl/KeyManagerFactory?
?95(Ljava/lang/String;)Ljavax/net/ssl/KeyManagerFactory;;?
??(Ljava/security/KeyStore;[C)V??
??getKeyManagers()[Ljavax/net/ssl/KeyManager;??
??javax/net/ssl/KeyManager;?$javax/net/ssl/X509ExtendedKeyManager?a(Ljavax/net/ssl/X509ExtendedKeyManager;Lcom/groupbyinc/flux/common/http/ssl/PrivateKeyStrategy;)V?
?kmLjavax/net/ssl/KeyManager;keystorekeyPassword
aliasStrategy8Lcom/groupbyinc/flux/common/http/ssl/PrivateKeyStrategy;	kmfactory!Ljavax/net/ssl/KeyManagerFactory;kmsS(Ljava/security/KeyStore;[C)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;??
??(Ljava/io/File;[C[CLcom/groupbyinc/flux/common/http/ssl/PrivateKeyStrategy;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;
Keystore file?6com/groupbyinc/flux/common/http/ssl/PrivateKeyStrategy?
identityStoreK(Ljava/io/File;[C[C)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;??
??(Ljava/net/URL;[C[CLcom/groupbyinc/flux/common/http/ssl/PrivateKeyStrategy;)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;Keystore URL?K(Ljava/net/URL;[C[C)Lcom/groupbyinc/flux/common/http/ssl/SSLContextBuilder;??
?initSSLContexte(Ljavax/net/ssl/SSLContext;Ljava/util/Collection;Ljava/util/Collection;Ljava/security/SecureRandom;)V$java/security/KeyManagementException?java/util/Collection?isEmpty()Z????size()I????javax/net/ssl/KeyManager?toArray(([Ljava/lang/Object;)[Ljava/lang/Object;????javax/net/ssl/SSLContext?java/security/SecureRandom?javax/net/ssl/TrustManager?W([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V??
??
sslcontextLjavax/net/ssl/SSLContext;keyManagers2Ljava/util/Collection;Ljava/util/Collection;
trustManagers4Ljava/util/Collection;build()Ljavax/net/ssl/SSLContext;java/lang/String.(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;;
???


ConstantValue	SignatureCodeLineNumberTableLocalVariableTable
StackMapTable
ExceptionsLocalVariableTypeTable?(Ljavax/net/ssl/SSLContext;Ljava/util/Collection;Ljava/util/Collection;Ljava/security/SecureRandom;)V
SourceFileInnerClasses!



	 ?Y??UQ*?*?Y? ?"*?Y? ?$?%&YZ[\'(?*+?**?%&

_`+,?*+?.*?%&
de/0^	{?:?>N-+?B-?F:?e,?56??*2:?J??
Y?J,?MS????:?66?2:*?$?SW????*?p-TU/VWgTUQ(XGV#YWY ZW{%&{[\{]^t_`iaG:kmnopq&r-s5tGqMygzsyy}?6H(??H?24/b;*+?d?%&]^?24/e?;+k?qW?v?y:?{Y+?~:,?????
:???*-?d?!))+)>;%&;??;??;]^,?\"??"????!?&?)?3??)???s{?	
24gi/?F*+,??? %&?????
24gi/?;*+???%&???
24gi/??7+??qW?v?y:+??:,?????
:???*-?d?%%'%>7%&7??7??7]^(?\"??"?????"?%?/??%???s??	
24gi/?F*+,??? %&?????
24gi??l
????:+,????:?e-?56??*2:????Y??-??S????:?66?2:	*?"	?SW????*?z1??"/VWk??	U(X?Z#YW] ZW%&?\????w??i??:??????*?1?9?K?Q?k?w?}??"??(????24???F*+,?ϰ %&?\???24????=+ҸqW?v?y:?{Y+?~:,?????
:???*-?ϰ!))+)H=%&=??=??=??=??.?\$??"????!?&?)?3?"?)????s{?	24?gi??Q	*+,-?ذ*	%&	??	??	???24?gi???9+۸qW?v?y:+??:,?????
:???*-?ϰ%%'%H9%&9??9??9??9??*?\$??"?????"?%?/?"?%????s??	24?gi??Q	*+,-?ް*	%&	??	??	???24?gi??E+,???,,????????-???--???????H????4E%&E??E?EEE??E
D
]_??????????????????????H?
p'*?*?
*?*??	L*+*?"*?$*?.?+?'%&??
%A2?





© 2015 - 2024 Weber Informatics LLC | Privacy Policy