org.apache.activemq.spring.SpringSslContext.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-osgi Show documentation
Show all versions of activemq-osgi Show documentation
Puts together an ActiveMQ OSGi bundle
???? 7I
H ? ? E ? E ? ? E ?
~ ? E ?
y ? E ?
E ? ? ?
? E ?
E ? ? ? E ?
E ? E ?
E ?
? ? ?
? ?
? ?
? ?
E ? ?
?
y ? E ? ?
? ? ? ?
# ?
" ?
" ?
E ? ? ?
) ?
? ?
" ? ?
- ?
y ?
y ?
y ?
? ?
E ?
~ ? E ? E ?
? ?
~ ?
~ ? E ?
x ?
? ? ? ? E ?
x ?
? ? 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 d X java/lang/Exception java/lang/RuntimeException W
| j
i j f g ocsp.enable ? ? java/util/ArrayList W V L PKIX ! (java/security/cert/PKIXBuilderParameters #java/security/cert/X509CertSelector W"#$ ? j
Collection 0java/security/cert/CollectionCertStoreParameters W%&'() ,javax/net/ssl/CertPathTrustManagerParameters W*+,+-./012 ? ?3 S L T L45+678 R L9:;<=> U L?@A X Q L X.509BCDE +org/apache/activemq/spring/SpringSslContextFGH 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 X Y o ,*? *? ? W*? *? ? W*? ? **? ? ? Z U V W # X + Z [ , \ ] a + e f g Y 2 *? ? ? Z ] [ \ ] e h i j Y z ?? ? ? <*? M,? ? Y? ?*?
? N6?
*? ? [*?
? !? O? "Y,? #Y? $? %:*? ? '? &*? ':? (? )Y? *? +? ,-? -Y? .? /6? -,? 0-? 1? 2? Z J a c d e g &