class org.apache.tomcat.util.net.jsse.JSSESSLContext implements org.apache.tomcat.util.net.SSLContext
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.tomcat.util.net.jsse.JSSESSLContext
super_class: java.lang.Object
{
private javax.net.ssl.SSLContext context;
descriptor: Ljavax/net/ssl/SSLContext;
flags: (0x0002) ACC_PRIVATE
private javax.net.ssl.KeyManager[] kms;
descriptor: [Ljavax/net/ssl/KeyManager;
flags: (0x0002) ACC_PRIVATE
private javax.net.ssl.TrustManager[] tms;
descriptor: [Ljavax/net/ssl/TrustManager;
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic javax.net.ssl.SSLContext.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/SSLContext;
putfield org.apache.tomcat.util.net.jsse.JSSESSLContext.context:Ljavax/net/ssl/SSLContext;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/net/jsse/JSSESSLContext;
0 3 1 protocol Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
protocol
public void init(javax.net.ssl.KeyManager[], javax.net.ssl.TrustManager[], java.security.SecureRandom);
descriptor: ([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
putfield org.apache.tomcat.util.net.jsse.JSSESSLContext.kms:[Ljavax/net/ssl/KeyManager;
1: aload 0
aload 2
putfield org.apache.tomcat.util.net.jsse.JSSESSLContext.tms:[Ljavax/net/ssl/TrustManager;
2: aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.context:Ljavax/net/ssl/SSLContext;
aload 1
aload 2
aload 3
invokevirtual javax.net.ssl.SSLContext.init:([Ljavax/net/ssl/KeyManager;[Ljavax/net/ssl/TrustManager;Ljava/security/SecureRandom;)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/net/jsse/JSSESSLContext;
0 4 1 kms [Ljavax/net/ssl/KeyManager;
0 4 2 tms [Ljavax/net/ssl/TrustManager;
0 4 3 sr Ljava/security/SecureRandom;
Exceptions:
throws java.security.KeyManagementException
MethodParameters:
Name Flags
kms
tms
sr
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/jsse/JSSESSLContext;
public javax.net.ssl.SSLSessionContext getServerSessionContext();
descriptor: ()Ljavax/net/ssl/SSLSessionContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.context:Ljavax/net/ssl/SSLContext;
invokevirtual javax.net.ssl.SSLContext.getServerSessionContext:()Ljavax/net/ssl/SSLSessionContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/jsse/JSSESSLContext;
public javax.net.ssl.SSLEngine createSSLEngine();
descriptor: ()Ljavax/net/ssl/SSLEngine;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.context:Ljavax/net/ssl/SSLContext;
invokevirtual javax.net.ssl.SSLContext.createSSLEngine:()Ljavax/net/ssl/SSLEngine;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/jsse/JSSESSLContext;
public javax.net.ssl.SSLServerSocketFactory getServerSocketFactory();
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.tomcat.util.net.jsse.JSSESSLContext.context: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/tomcat/util/net/jsse/JSSESSLContext;
public javax.net.ssl.SSLParameters getSupportedSSLParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.context:Ljavax/net/ssl/SSLContext;
invokevirtual javax.net.ssl.SSLContext.getSupportedSSLParameters:()Ljavax/net/ssl/SSLParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/net/jsse/JSSESSLContext;
public java.security.cert.X509Certificate[] getCertificateChain(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.kms:[Ljavax/net/ssl/KeyManager;
ifnull 8
2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: java.security.cert.X509Certificate[] int
StackMap stack:
aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.kms:[Ljavax/net/ssl/KeyManager;
iload 3
aaload
instanceof javax.net.ssl.X509KeyManager
ifeq 6
5: aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.kms:[Ljavax/net/ssl/KeyManager;
iload 3
aaload
checkcast javax.net.ssl.X509KeyManager
aload 1
invokeinterface javax.net.ssl.X509KeyManager.getCertificateChain:(Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
astore 2
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.kms:[Ljavax/net/ssl/KeyManager;
arraylength
if_icmpge 8
aload 2
ifnull 4
end local 3 8: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/tomcat/util/net/jsse/JSSESSLContext;
0 9 1 alias Ljava/lang/String;
1 9 2 result [Ljava/security/cert/X509Certificate;
3 8 3 i I
MethodParameters:
Name Flags
alias
public java.security.cert.X509Certificate[] getAcceptedIssuers();
descriptor: ()[Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=1
start local 0 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1
start local 1 1: aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.tms:[Ljavax/net/ssl/TrustManager;
ifnull 10
2: aload 0
getfield org.apache.tomcat.util.net.jsse.JSSESSLContext.tms:[Ljavax/net/ssl/TrustManager;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 9
StackMap locals: org.apache.tomcat.util.net.jsse.JSSESSLContext java.util.Set top int int javax.net.ssl.TrustManager[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
instanceof javax.net.ssl.X509TrustManager
ifeq 8
5: aload 2
checkcast javax.net.ssl.X509TrustManager
invokeinterface javax.net.ssl.X509TrustManager.getAcceptedIssuers:()[Ljava/security/cert/X509Certificate;
astore 6
start local 6 6: aload 6
ifnull 8
7: aload 1
aload 6
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
end local 6 end local 2 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
iload 4
if_icmplt 3
10: StackMap locals: org.apache.tomcat.util.net.jsse.JSSESSLContext java.util.Set
StackMap stack:
aload 1
iconst_0
anewarray java.security.cert.X509Certificate
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.security.cert.X509Certificate[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/tomcat/util/net/jsse/JSSESSLContext;
1 11 1 certs Ljava/util/Set<Ljava/security/cert/X509Certificate;>;
4 8 2 tm Ljavax/net/ssl/TrustManager;
6 8 6 accepted [Ljava/security/cert/X509Certificate;
}
SourceFile: "JSSESSLContext.java"