public class org.apache.logging.log4j.core.net.ssl.SslConfiguration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.logging.log4j.core.net.ssl.SslConfiguration
super_class: java.lang.Object
{
private static final org.apache.logging.log4j.status.StatusLogger LOGGER;
descriptor: Lorg/apache/logging/log4j/status/StatusLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration keyStoreConfig;
descriptor: Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration trustStoreConfig;
descriptor: Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.net.ssl.SSLContext sslContext;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String protocol;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean verifyHostName;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.apache.logging.log4j.status.StatusLogger.getLogger:()Lorg/apache/logging/log4j/status/StatusLogger;
putstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(java.lang.String, org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration, org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration, boolean);
descriptor: (Ljava/lang/String;Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
2: aload 0
aload 3
putfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
3: aload 0
aload 1
ifnonnull 4
ldc "SSL"
goto 5
StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration java.lang.String org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration int
StackMap stack: org.apache.logging.log4j.core.net.ssl.SslConfiguration
4: aload 1
StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration java.lang.String org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration int
StackMap stack: org.apache.logging.log4j.core.net.ssl.SslConfiguration java.lang.String
5: putfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
6: aload 0
aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContext:()Ljavax/net/ssl/SSLContext;
putfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
7: aload 0
iload 4
putfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.verifyHostName:Z
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
0 9 1 protocol Ljava/lang/String;
0 9 2 keyStoreConfig Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
0 9 3 trustStoreConfig Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
0 9 4 verifyHostName Z
MethodParameters:
Name Flags
protocol final
keyStoreConfig final
trustStoreConfig final
verifyHostName
public void clearSecrets();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
ifnull 2
1: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
invokevirtual org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration.clearSecrets:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
ifnull 4
3: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
invokevirtual org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration.clearSecrets:()V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
public javax.net.ssl.SSLSocketFactory getSslSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLSocketFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
invokevirtual javax.net.ssl.SSLContext.getSocketFactory:()Ljavax/net/ssl/SSLSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
public javax.net.ssl.SSLServerSocketFactory getSslServerSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLServerSocketFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
invokevirtual javax.net.ssl.SSLContext.getServerSocketFactory:()Ljavax/net/ssl/SSLServerSocketFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
private javax.net.ssl.SSLContext createSslContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContextBasedOnConfiguration:()Ljavax/net/ssl/SSLContext;
astore 1
2: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Creating SSLContext with the given parameters"
invokevirtual org.apache.logging.log4j.status.StatusLogger.debug:(Ljava/lang/String;)V
3: goto 8
4: StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration javax.net.ssl.SSLContext
StackMap stack: org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
pop
5: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContextWithTrustStoreFailure:()Ljavax/net/ssl/SSLContext;
astore 1
goto 8
6: StackMap locals:
StackMap stack: org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
pop
7: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContextWithKeyStoreFailure:()Ljavax/net/ssl/SSLContext;
astore 1
8: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
1 9 1 context Ljavax/net/ssl/SSLContext;
Exception table:
from to target type
1 3 4 Class org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
1 3 6 Class org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
private javax.net.ssl.SSLContext createSslContextWithTrustStoreFailure();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContextWithDefaultTrustManagerFactory:()Ljavax/net/ssl/SSLContext;
astore 1
start local 1 1: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Creating SSLContext with default truststore"
invokevirtual org.apache.logging.log4j.status.StatusLogger.debug:(Ljava/lang/String;)V
2: goto 6
end local 1 3: StackMap locals:
StackMap stack: org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
pop
4: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createDefaultSslContext:()Ljavax/net/ssl/SSLContext;
astore 1
start local 1 5: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Creating SSLContext with default configuration"
invokevirtual org.apache.logging.log4j.status.StatusLogger.debug:(Ljava/lang/String;)V
6: StackMap locals: javax.net.ssl.SSLContext
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
1 3 1 context Ljavax/net/ssl/SSLContext;
5 7 1 context Ljavax/net/ssl/SSLContext;
Exception table:
from to target type
0 2 3 Class org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
private javax.net.ssl.SSLContext createSslContextWithKeyStoreFailure();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContextWithDefaultKeyManagerFactory:()Ljavax/net/ssl/SSLContext;
astore 1
start local 1 1: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Creating SSLContext with default keystore"
invokevirtual org.apache.logging.log4j.status.StatusLogger.debug:(Ljava/lang/String;)V
2: goto 6
end local 1 3: StackMap locals:
StackMap stack: org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
pop
4: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createDefaultSslContext:()Ljavax/net/ssl/SSLContext;
astore 1
start local 1 5: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Creating SSLContext with default configuration"
invokevirtual org.apache.logging.log4j.status.StatusLogger.debug:(Ljava/lang/String;)V
6: StackMap locals: javax.net.ssl.SSLContext
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
1 3 1 context Ljavax/net/ssl/SSLContext;
5 7 1 context Ljavax/net/ssl/SSLContext;
Exception table:
from to target type
0 2 3 Class org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
private javax.net.ssl.SSLContext createSslContextBasedOnConfiguration();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
iconst_0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContext:(ZZ)Ljavax/net/ssl/SSLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
Exceptions:
throws org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException, org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
private javax.net.ssl.SSLContext createSslContextWithDefaultKeyManagerFactory();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
iconst_0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContext:(ZZ)Ljavax/net/ssl/SSLContext;
1: areturn
2: StackMap locals:
StackMap stack: org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
pop
3: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Exception occured while using default keystore. This should be a BUG"
invokevirtual org.apache.logging.log4j.status.StatusLogger.debug:(Ljava/lang/String;)V
4: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
Exception table:
from to target type
0 1 2 Class org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
Exceptions:
throws org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
private javax.net.ssl.SSLContext createSslContextWithDefaultTrustManagerFactory();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
iconst_1
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.createSslContext:(ZZ)Ljavax/net/ssl/SSLContext;
1: areturn
2: StackMap locals:
StackMap stack: org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
pop
3: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Exception occured while using default truststore. This should be a BUG"
invokevirtual org.apache.logging.log4j.status.StatusLogger.debug:(Ljava/lang/String;)V
4: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
Exception table:
from to target type
0 1 2 Class org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
Exceptions:
throws org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
private javax.net.ssl.SSLContext createDefaultSslContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic javax.net.ssl.SSLContext.getDefault:()Ljavax/net/ssl/SSLContext;
1: areturn
2: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 1
start local 1 3: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Failed to create an SSLContext with default configuration"
aload 1
invokevirtual org.apache.logging.log4j.status.StatusLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
4: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
3 5 1 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
0 1 2 Class java.security.NoSuchAlgorithmException
private javax.net.ssl.SSLContext createSslContext(boolean, boolean);
descriptor: (ZZ)Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: aconst_null
astore 4
start local 4 2: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
invokestatic javax.net.ssl.SSLContext.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
astore 5
start local 5 3: iload 1
ifne 6
4: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.loadKeyManagerFactory:()Ljavax/net/ssl/KeyManagerFactory;
astore 6
start local 6 5: aload 6
invokevirtual javax.net.ssl.KeyManagerFactory.getKeyManagers:()[Ljavax/net/ssl/KeyManager;
astore 3
end local 6 6: StackMap locals: javax.net.ssl.KeyManager[] javax.net.ssl.TrustManager[] javax.net.ssl.SSLContext
StackMap stack:
iload 2
ifne 9
7: aload 0
invokevirtual org.apache.logging.log4j.core.net.ssl.SslConfiguration.loadTrustManagerFactory:()Ljavax/net/ssl/TrustManagerFactory;
astore 6
start local 6 8: aload 6
invokevirtual javax.net.ssl.TrustManagerFactory.getTrustManagers:()[Ljavax/net/ssl/TrustManager;
astore 4
end local 6 9: StackMap locals:
StackMap stack:
aload 5
aload 3
aload 4
aconst_null
invokevirtual javax.net.ssl.SSLContext.init:([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
10: aload 5
11: areturn
end local 5 end local 4 end local 3 12: StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration int int
StackMap stack: java.security.NoSuchAlgorithmException
astore 3
start local 3 13: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "No Provider supports a TrustManagerFactorySpi implementation for the specified protocol"
aload 3
invokevirtual org.apache.logging.log4j.status.StatusLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
14: new org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
dup
aload 3
invokespecial org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 15: StackMap locals:
StackMap stack: java.security.KeyManagementException
astore 3
start local 3 16: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Failed to initialize the SSLContext"
aload 3
invokevirtual org.apache.logging.log4j.status.StatusLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
17: new org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
dup
aload 3
invokespecial org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
0 18 1 loadDefaultKeyManagerFactory Z
0 18 2 loadDefaultTrustManagerFactory Z
1 12 3 kManagers [Ljavax/net/ssl/KeyManager;
2 12 4 tManagers [Ljavax/net/ssl/TrustManager;
3 12 5 newSslContext Ljavax/net/ssl/SSLContext;
5 6 6 kmFactory Ljavax/net/ssl/KeyManagerFactory;
8 9 6 tmFactory Ljavax/net/ssl/TrustManagerFactory;
13 15 3 e Ljava/security/NoSuchAlgorithmException;
16 18 3 e Ljava/security/KeyManagementException;
Exception table:
from to target type
0 11 12 Class java.security.NoSuchAlgorithmException
0 11 15 Class java.security.KeyManagementException
Exceptions:
throws org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException, org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
MethodParameters:
Name Flags
loadDefaultKeyManagerFactory final
loadDefaultTrustManagerFactory final
private javax.net.ssl.TrustManagerFactory loadTrustManagerFactory();
descriptor: ()Ljavax/net/ssl/TrustManagerFactory;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
ifnonnull 2
1: new org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
dup
new java.lang.Exception
dup
ldc "The trustStoreConfiguration is null"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
invokespecial org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
invokevirtual org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration.initTrustManagerFactory:()Ljavax/net/ssl/TrustManagerFactory;
3: areturn
4: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 1
start local 1 5: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "The specified algorithm is not available from the specified provider"
aload 1
invokevirtual org.apache.logging.log4j.status.StatusLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
6: new org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
dup
aload 1
invokespecial org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 7: StackMap locals:
StackMap stack: java.security.KeyStoreException
astore 1
start local 1 8: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Failed to initialize the TrustManagerFactory"
aload 1
invokevirtual org.apache.logging.log4j.status.StatusLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
9: new org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
dup
aload 1
invokespecial org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
5 7 1 e Ljava/security/NoSuchAlgorithmException;
8 10 1 e Ljava/security/KeyStoreException;
Exception table:
from to target type
2 3 4 Class java.security.NoSuchAlgorithmException
2 3 7 Class java.security.KeyStoreException
Exceptions:
throws org.apache.logging.log4j.core.net.ssl.TrustStoreConfigurationException
private javax.net.ssl.KeyManagerFactory loadKeyManagerFactory();
descriptor: ()Ljavax/net/ssl/KeyManagerFactory;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
ifnonnull 2
1: new org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
dup
new java.lang.Exception
dup
ldc "The keyStoreConfiguration is null"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
invokespecial org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
invokevirtual org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration.initKeyManagerFactory:()Ljavax/net/ssl/KeyManagerFactory;
3: areturn
4: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
astore 1
start local 1 5: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "The specified algorithm is not available from the specified provider"
aload 1
invokevirtual org.apache.logging.log4j.status.StatusLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
6: new org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
dup
aload 1
invokespecial org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 7: StackMap locals:
StackMap stack: java.security.KeyStoreException
astore 1
start local 1 8: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "Failed to initialize the TrustManagerFactory"
aload 1
invokevirtual org.apache.logging.log4j.status.StatusLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
9: new org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
dup
aload 1
invokespecial org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 10: StackMap locals:
StackMap stack: java.security.UnrecoverableKeyException
astore 1
start local 1 11: getstatic org.apache.logging.log4j.core.net.ssl.SslConfiguration.LOGGER:Lorg/apache/logging/log4j/status/StatusLogger;
ldc "The key cannot be recovered (e.g. the given password is wrong)"
aload 1
invokevirtual org.apache.logging.log4j.status.StatusLogger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
12: new org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
dup
aload 1
invokespecial org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException.<init>:(Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
5 7 1 e Ljava/security/NoSuchAlgorithmException;
8 10 1 e Ljava/security/KeyStoreException;
11 13 1 e Ljava/security/UnrecoverableKeyException;
Exception table:
from to target type
2 3 4 Class java.security.NoSuchAlgorithmException
2 3 7 Class java.security.KeyStoreException
2 3 10 Class java.security.UnrecoverableKeyException
Exceptions:
throws org.apache.logging.log4j.core.net.ssl.KeyStoreConfigurationException
public static org.apache.logging.log4j.core.net.ssl.SslConfiguration createSSLConfiguration(java.lang.String, org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration, org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration);
descriptor: (Ljava/lang/String;Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;)Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.logging.log4j.core.net.ssl.SslConfiguration
dup
aload 0
aload 1
aload 2
iconst_0
invokespecial org.apache.logging.log4j.core.net.ssl.SslConfiguration.<init>:(Ljava/lang/String;Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;Z)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 protocol Ljava/lang/String;
0 1 1 keyStoreConfig Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
0 1 2 trustStoreConfig Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
RuntimeVisibleAnnotations:
org.apache.logging.log4j.core.config.plugins.PluginFactory()
RuntimeVisibleParameterAnnotations:
0:
org.apache.logging.log4j.core.config.plugins.PluginAttribute(value = "protocol")
1:
org.apache.logging.log4j.core.config.plugins.PluginElement(value = "KeyStore")
2:
org.apache.logging.log4j.core.config.plugins.PluginElement(value = "TrustStore")
MethodParameters:
Name Flags
protocol final
keyStoreConfig final
trustStoreConfig final
public static org.apache.logging.log4j.core.net.ssl.SslConfiguration createSSLConfiguration(java.lang.String, org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration, org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration, boolean);
descriptor: (Ljava/lang/String;Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;Z)Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.logging.log4j.core.net.ssl.SslConfiguration
dup
aload 0
aload 1
aload 2
iload 3
invokespecial org.apache.logging.log4j.core.net.ssl.SslConfiguration.<init>:(Ljava/lang/String;Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;Z)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 protocol Ljava/lang/String;
0 1 1 keyStoreConfig Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
0 1 2 trustStoreConfig Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
0 1 3 verifyHostName Z
RuntimeVisibleParameterAnnotations:
0:
org.apache.logging.log4j.core.config.plugins.PluginAttribute(value = "protocol")
1:
org.apache.logging.log4j.core.config.plugins.PluginElement(value = "KeyStore")
2:
org.apache.logging.log4j.core.config.plugins.PluginElement(value = "TrustStore")
3:
org.apache.logging.log4j.core.config.plugins.PluginElement(value = "verifyHostName")
MethodParameters:
Name Flags
protocol final
keyStoreConfig final
trustStoreConfig final
verifyHostName final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_1
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration int
StackMap stack: int
2: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
invokevirtual org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration.hashCode:()I
StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration int
StackMap stack: int int
3: iadd
istore 1
4: bipush 31
iload 1
imul
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
ifnonnull 5
iconst_0
goto 6
StackMap locals:
StackMap stack: int
5: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration int
StackMap stack: int int
6: iadd
istore 1
7: bipush 31
iload 1
imul
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
ifnonnull 8
iconst_0
goto 9
StackMap locals:
StackMap stack: int
8: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration int
StackMap stack: int int
9: iadd
istore 1
10: bipush 31
iload 1
imul
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
ifnonnull 11
iconst_0
goto 12
StackMap locals:
StackMap stack: int
11: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
invokevirtual org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration.hashCode:()I
StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration int
StackMap stack: int int
12: iadd
istore 1
13: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
1 14 1 result I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast org.apache.logging.log4j.core.net.ssl.SslConfiguration
astore 2
start local 2 7: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
ifnonnull 10
8: aload 2
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
ifnull 12
9: iconst_0
ireturn
10: StackMap locals: org.apache.logging.log4j.core.net.ssl.SslConfiguration
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
aload 2
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
invokevirtual org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
ifnonnull 15
13: aload 2
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
ifnull 17
14: iconst_0
ireturn
15: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
aload 2
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
16: iconst_0
ireturn
17: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
ifnonnull 20
18: aload 2
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
ifnull 22
19: iconst_0
ireturn
20: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
aload 2
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 22
21: iconst_0
ireturn
22: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
ifnonnull 25
23: aload 2
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
ifnull 27
24: iconst_0
ireturn
25: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
aload 2
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
invokevirtual org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration.equals:(Ljava/lang/Object;)Z
ifne 27
26: iconst_0
ireturn
27: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
0 28 1 obj Ljava/lang/Object;
7 28 2 other Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
MethodParameters:
Name Flags
obj final
public org.apache.logging.log4j.core.net.ssl.KeyStoreConfiguration getKeyStoreConfig();
descriptor: ()Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.keyStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/KeyStoreConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
public org.apache.logging.log4j.core.net.ssl.TrustStoreConfiguration getTrustStoreConfig();
descriptor: ()Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.trustStoreConfig:Lorg/apache/logging/log4j/core/net/ssl/TrustStoreConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
public javax.net.ssl.SSLContext getSslContext();
descriptor: ()Ljavax/net/ssl/SSLContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.sslContext:Ljavax/net/ssl/SSLContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
public java.lang.String getProtocol();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.protocol:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
public boolean isVerifyHostName();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.logging.log4j.core.net.ssl.SslConfiguration.verifyHostName:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/logging/log4j/core/net/ssl/SslConfiguration;
}
SourceFile: "SslConfiguration.java"
RuntimeVisibleAnnotations:
org.apache.logging.log4j.core.config.plugins.Plugin(name = "Ssl", category = "Core", printObject = true)