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

org.apache.activemq.spring.SpringSslContext.class Maven / Gradle / Ivy

The newest version!
????=I
%org/apache/activemq/broker/SslContext()Vjks	

+org/apache/activemq/spring/SpringSslContextkeyStoreTypeLjava/lang/String;	
trustStoreTypeSHA1PRNG	
secureRandomAlgorithm
javax/net/ssl/KeyManagerFactorygetDefaultAlgorithm()Ljava/lang/String;	
keyStoreAlgorithm
!"!javax/net/ssl/TrustManagerFactory	
$%trustStoreAlgorithm

'(afterPropertiesSet*java/lang/Exception,java/lang/RuntimeException
+./(Ljava/lang/Throwable;)V	
123keyManagersLjava/util/List;

567createKeyManagers()Ljava/util/Collection;9:;<=java/util/ListaddAll(Ljava/util/Collection;)Z	
?@3
trustManagers

BC7createTrustManagers	
EFGsecureRandomLjava/security/SecureRandom;

IJKcreateSecureRandom()Ljava/security/SecureRandom;
MNOPQjava/security/SecureRandomgetInstance0(Ljava/lang/String;)Ljava/security/SecureRandom;Socsp.enable
UVWXYjava/security/SecuritygetProperty&(Ljava/lang/String;)Ljava/lang/String;
[\]^_java/lang/BooleanvalueOf'(Ljava/lang/String;)Ljava/lang/Boolean;
[abcbooleanValue()Z

efgcreateTrustManagerKeyStore()Ljava/security/KeyStore;ijava/util/ArrayList
hkl(I)V
!nPo7(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;	
qrcrlPathtPKIX
vwxyzjava/lang/StringequalsIgnoreCase(Ljava/lang/String;)Z|(java/security/cert/PKIXBuilderParameters~#java/security/cert/X509CertSelector
}
{??<(Ljava/security/KeyStore;Ljava/security/cert/CertSelector;)V
{???setRevocationEnabled(Z)V

??7loadCRL?
Collection?0java/security/cert/CollectionCertStoreParameters
???(Ljava/util/Collection;)V
???P?java/security/cert/CertStoreZ(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;)Ljava/security/cert/CertStore;
{???addCertStore!(Ljava/security/cert/CertStore;)V?,javax/net/ssl/CertPathTrustManagerParameters
???*(Ljava/security/cert/CertPathParameters;)V
!???init+(Ljavax/net/ssl/ManagerFactoryParameters;)V
!???(Ljava/security/KeyStore;)V
!???getTrustManagers()[Ljavax/net/ssl/TrustManager;
?????java/util/ArraysasList%([Ljava/lang/Object;)Ljava/util/List;

??gcreateKeyManagerKeyStore
?P?5(Ljava/lang/String;)Ljavax/net/ssl/KeyManagerFactory;	
??keyStoreKeyPassword	
??keyStorePassword
v???toCharArray()[C
???(Ljava/security/KeyStore;[C)V
???getKeyManagers()[Ljavax/net/ssl/KeyManager;	
??
trustStore
???P?java/security/KeyStore,(Ljava/lang/String;)Ljava/security/KeyStore;
????? org/apache/activemq/spring/UtilsresourceFromString:(Ljava/lang/String;)Lorg/springframework/core/io/Resource;?????$org/springframework/core/io/ResourcegetInputStream()Ljava/io/InputStream;	
??trustStorePassword
????load(Ljava/io/InputStream;[C)V
????java/io/InputStreamclose	
??keyStore?X.509
???P?%java/security/cert/CertificateFactory;(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
????generateCRLs-(Ljava/io/InputStream;)Ljava/util/Collection;
?????org/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;	
???LOGLorg/slf4j/Logger;CodeLineNumberTableLocalVariableTablethis-Lorg/apache/activemq/spring/SpringSslContext;
postConstructexLjava/lang/Exception;
StackMapTableRuntimeVisibleAnnotations"Ljakarta/annotation/PostConstruct;
Exceptions&java/security/NoSuchAlgorithmExceptioncrlListLjava/util/Collection;
pkixParams*Ljava/security/cert/PKIXBuilderParameters;ocspZksLjava/security/KeyStore;tmf#Ljavax/net/ssl/TrustManagerFactory;initializedLocalVariableTypeTable1Ljava/util/Collection<+Ljava/security/cert/CRL;>;	Signature6()Ljava/util/Collection;!Ljavax/net/ssl/KeyManagerFactory;[C4()Ljava/util/Collection;isLjava/io/InputStream;#java/lang/ThrowablegetTrustStoreTypegetKeyStoreTypegetKeyStoresetKeyStore(Ljava/lang/String;)V*java/net/MalformedURLException
getTrustStore
setTrustStoregetKeyStoreAlgorithmsetKeyStoreAlgorithmkeyAlgorithmgetTrustStoreAlgorithmsetTrustStoreAlgorithmtrustAlgorithmgetKeyStoreKeyPasswordsetKeyStoreKeyPasswordkeyPasswordgetKeyStorePasswordsetKeyStorePasswordgetTrustStorePasswordsetTrustStorePassword
trustPasswordsetKeyStoreTypekeyTypesetTrustStoreType	trustTypegetSecureRandomAlgorithmsetSecureRandomAlgorithm
getCrlPath
setCrlPathresource&Lorg/springframework/core/io/Resource;3()Ljava/util/Collection<+Ljava/security/cert/CRL;>;
SourceFileSpringSslContext.java!
???
%?????r ?c%*?*?	*?*?*??*? ?#?-1
2456%?k*?&?
L?+Y+?-??)ILJKM	G)		(?o,*?0*?4?8W*?>*?A?8W*?D?**?H?D?UVW#X+Z,+
)JK?2*??L?]
C7?z?R?T?Z?`<*?dM,??hY?j?*?#?mN6?
*?p?[*?#s?u?O?{Y,?}Y???:*?p?'??*??:????Y??????-??Y????6?-,??-?????Jacdeg&h)i@jQkXl^mdnio|r?s?v?w?zHd
Q;???&x)ud
???!?G{?	
)67??J*??L+??hY?j?*???M,+*???*????*?????
*??????,?ø??~	???B? JE0M???
???	
???
??
)fg??E*????*???L*?ǸϹ?M+,*????
*?۶???,??
N,??-?+?5<*
??	???5?9?<?A?C? E4' !7	?!
?????
????I"
)?g??E*????*?	??L*??Ϲ?M+,*????
*??????,??
N,??-?+?5<*
??	???5?9?<?A?C? E4' !7	?!
?????
????I"
)$?/*???%?/*?	??&?/*???'(?>*+??
???
)+?/*?ǰ?,(?>*+?DZ
???
)-?/*???.(?>*+??
??/0?/*?#??1(?>*+?#?
??23?/*????4(?>*+???
??56?/*????7(?>*+???
??58?/*?۰?9(?>*+?۱
??:;(?>*+?	?
??<=(?>*+??
??>??/*???@(?>*+??
??A?/*?p??B(?>*+?p?
??r?7??1*?p??*?p??L+??M??,??N,??-?:,???"((*(&	?	"&(. 1 CD !	?
??"
)EF?!	
?????/GH




© 2015 - 2024 Weber Informatics LLC | Privacy Policy