org.apache.activemq.spring.SpringSslContext.class Maven / Gradle / Ivy
???? 4Q
H ? ? E ? E ? ? E ?
? ? E ?
? ? E ?
E ? ? ?
? E ?
E ? ? ? E ?
E ? E ?
E ?
? ? ?
? ?
? ?
? ?
E ? ?
?
? ? E ? ?
? ? ? ?
# ?
" ?
" ?
E ? ? ?
) ?
? ?
" ? ?
- ?
? ?
? ?
? ?
? ?
E ?
? ? E ? E ?
? ?
? ?
? ? E ?
? ?
? ? ? ? E ?
? ?
? ? E ? ?
?
?
E LOG Lorg/slf4j/Logger; keyStoreType Ljava/lang/String; trustStoreType secureRandomAlgorithm keyStoreAlgorithm trustStoreAlgorithm keyStore
trustStore keyStoreKeyPassword keyStorePassword trustStorePassword crlPath ()V Code LineNumberTable LocalVariableTable this -Lorg/apache/activemq/spring/SpringSslContext;
postConstruct ex Ljava/lang/Exception;
StackMapTable ? RuntimeVisibleAnnotations Ljavax/annotation/PostConstruct; afterPropertiesSet
Exceptions createSecureRandom ()Ljava/security/SecureRandom; createTrustManagers ()Ljava/util/Collection; crlList Ljava/util/Collection;
pkixParams *Ljava/security/cert/PKIXBuilderParameters; ocsp Z ks Ljava/security/KeyStore; tmf #Ljavax/net/ssl/TrustManagerFactory; initialized LocalVariableTypeTable 1Ljava/util/Collection<+Ljava/security/cert/CRL;>; ? Signature 6()Ljava/util/Collection; createKeyManagers !Ljavax/net/ssl/KeyManagerFactory;
4()Ljava/util/Collection; createTrustManagerKeyStore ()Ljava/security/KeyStore; is Ljava/io/InputStream;
createKeyManagerKeyStore getTrustStoreType ()Ljava/lang/String; getKeyStoreType getKeyStore setKeyStore (Ljava/lang/String;)V
getTrustStore
setTrustStore getKeyStoreAlgorithm setKeyStoreAlgorithm keyAlgorithm getTrustStoreAlgorithm setTrustStoreAlgorithm trustAlgorithm getKeyStoreKeyPassword setKeyStoreKeyPassword keyPassword getKeyStorePassword setKeyStorePassword getTrustStorePassword setTrustStorePassword
trustPassword setKeyStoreType keyType setTrustStoreType trustType getSecureRandomAlgorithm setSecureRandomAlgorithm
getCrlPath
setCrlPath loadCRL resource &Lorg/springframework/core/io/Resource; 3()Ljava/util/Collection<+Ljava/security/cert/CRL;>;
SourceFile SpringSslContext.java W X jks K L M L SHA1PRNG N L
? O L P L e X java/lang/Exception java/lang/RuntimeException W ~ k j k g h ocsp.enable !"#$ ? ? java/util/ArrayList W%& V L PKIX'() (java/security/cert/PKIXBuilderParameters #java/security/cert/X509CertSelector W*+, ? k
Collection 0java/security/cert/CollectionCertStoreParameters W-./01 ,javax/net/ssl/CertPathTrustManagerParameters W234356789: ? ?; S L T L<=3>?@ R LABCDEF U LGHI X Q L X.509JKLM +org/apache/activemq/spring/SpringSslContextNOP I J %org/apache/activemq/broker/SslContext &java/security/NoSuchAlgorithmException java/security/KeyStore !javax/net/ssl/TrustManagerFactory javax/net/ssl/KeyManagerFactory [C java/io/InputStream java/lang/Throwable java/net/MalformedURLException $org/springframework/core/io/Resource getDefaultAlgorithm (Ljava/lang/Throwable;)V keyManagers Ljava/util/List; java/util/List addAll (Ljava/util/Collection;)Z
trustManagers secureRandom Ljava/security/SecureRandom; java/security/SecureRandom getInstance 0(Ljava/lang/String;)Ljava/security/SecureRandom; java/security/Security getProperty &(Ljava/lang/String;)Ljava/lang/String; java/lang/Boolean valueOf '(Ljava/lang/String;)Ljava/lang/Boolean; booleanValue ()Z (I)V 7(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory; java/lang/String equalsIgnoreCase (Ljava/lang/String;)Z <(Ljava/security/KeyStore;Ljava/security/cert/CertSelector;)V setRevocationEnabled (Z)V (Ljava/util/Collection;)V java/security/cert/CertStore Z(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;)Ljava/security/cert/CertStore; addCertStore !(Ljava/security/cert/CertStore;)V *(Ljava/security/cert/CertPathParameters;)V init +(Ljavax/net/ssl/ManagerFactoryParameters;)V (Ljava/security/KeyStore;)V getTrustManagers ()[Ljavax/net/ssl/TrustManager; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; 5(Ljava/lang/String;)Ljavax/net/ssl/KeyManagerFactory; toCharArray ()[C (Ljava/security/KeyStore;[C)V getKeyManagers ()[Ljavax/net/ssl/KeyManager; ,(Ljava/lang/String;)Ljava/security/KeyStore; org/apache/activemq/spring/Utils resourceFromString :(Ljava/lang/String;)Lorg/springframework/core/io/Resource; getInputStream ()Ljava/io/InputStream; load (Ljava/io/InputStream;[C)V close %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; ! E H ? I J K L M L N L O L P L Q L R L S L T L U L V L W X Y c %*? *? *? *? *? ? *? ?
? Z - 1
2 4 5 6 [ % \ ] ^ X Y k *? ?
L?
Y+? ?? Z I L J K M [ _ ` \ ] a G b c d e X Y o ,*? *? ? W*? *? ? W*? ? **? ? ? Z U V W # X + Z [ , \ ] a + f g h Y 2 *? ? ? Z ] [ \ ] f i j k Y z ?? ? ? <*? M,? ? Y? ?*?
? N6?
*? ? [*?
? !? O? "Y,? #Y? $? %:*? ? '? &*? ':? (? )Y? *? +? ,-? -Y? .? /6? -,? 0-? 1? 2? Z J a c d e g &