public abstract class sun.security.ssl.SSLContextImpl extends javax.net.ssl.SSLContextSpi
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.security.ssl.SSLContextImpl
super_class: javax.net.ssl.SSLContextSpi
{
private static final sun.security.ssl.Debug debug;
descriptor: Lsun/security/ssl/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final sun.security.ssl.EphemeralKeyManager ephemeralKeyManager;
descriptor: Lsun/security/ssl/EphemeralKeyManager;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.security.ssl.SSLSessionContextImpl clientCache;
descriptor: Lsun/security/ssl/SSLSessionContextImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.security.ssl.SSLSessionContextImpl serverCache;
descriptor: Lsun/security/ssl/SSLSessionContextImpl;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean isInitialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.net.ssl.X509ExtendedKeyManager keyManager;
descriptor: Ljavax/net/ssl/X509ExtendedKeyManager;
flags: (0x0002) ACC_PRIVATE
private javax.net.ssl.X509TrustManager trustManager;
descriptor: Ljavax/net/ssl/X509TrustManager;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom secureRandom;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private sun.security.ssl.ProtocolList defaultServerProtocolList;
descriptor: Lsun/security/ssl/ProtocolList;
flags: (0x0002) ACC_PRIVATE
private sun.security.ssl.ProtocolList defaultClientProtocolList;
descriptor: Lsun/security/ssl/ProtocolList;
flags: (0x0002) ACC_PRIVATE
private sun.security.ssl.ProtocolList supportedProtocolList;
descriptor: Lsun/security/ssl/ProtocolList;
flags: (0x0002) ACC_PRIVATE
private sun.security.ssl.CipherSuiteList defaultServerCipherSuiteList;
descriptor: Lsun/security/ssl/CipherSuiteList;
flags: (0x0002) ACC_PRIVATE
private sun.security.ssl.CipherSuiteList defaultClientCipherSuiteList;
descriptor: Lsun/security/ssl/CipherSuiteList;
flags: (0x0002) ACC_PRIVATE
private sun.security.ssl.CipherSuiteList supportedCipherSuiteList;
descriptor: Lsun/security/ssl/CipherSuiteList;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "ssl"
invokestatic sun.security.ssl.Debug.getInstance:(Ljava/lang/String;)Lsun/security/ssl/Debug;
putstatic sun.security.ssl.SSLContextImpl.debug:Lsun/security/ssl/Debug;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.net.ssl.SSLContextSpi.<init>:()V
1: aload 0
new sun.security.ssl.EphemeralKeyManager
dup
invokespecial sun.security.ssl.EphemeralKeyManager.<init>:()V
putfield sun.security.ssl.SSLContextImpl.ephemeralKeyManager:Lsun/security/ssl/EphemeralKeyManager;
2: aload 0
new sun.security.ssl.SSLSessionContextImpl
dup
invokespecial sun.security.ssl.SSLSessionContextImpl.<init>:()V
putfield sun.security.ssl.SSLContextImpl.clientCache:Lsun/security/ssl/SSLSessionContextImpl;
3: aload 0
new sun.security.ssl.SSLSessionContextImpl
dup
invokespecial sun.security.ssl.SSLSessionContextImpl.<init>:()V
putfield sun.security.ssl.SSLContextImpl.serverCache:Lsun/security/ssl/SSLSessionContextImpl;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SSLContextImpl;
protected void engineInit(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: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iconst_0
putfield sun.security.ssl.SSLContextImpl.isInitialized:Z
1: aload 0
aload 0
aload 1
invokevirtual sun.security.ssl.SSLContextImpl.chooseKeyManager:([Ljavax/net/ssl/KeyManager;)Ljavax/net/ssl/X509ExtendedKeyManager;
putfield sun.security.ssl.SSLContextImpl.keyManager:Ljavax/net/ssl/X509ExtendedKeyManager;
2: aload 2
ifnonnull 9
3: invokestatic javax.net.ssl.TrustManagerFactory.getDefaultAlgorithm:()Ljava/lang/String;
4: invokestatic javax.net.ssl.TrustManagerFactory.getInstance:(Ljava/lang/String;)Ljavax/net/ssl/TrustManagerFactory;
astore 4
start local 4 5: aload 4
aconst_null
invokevirtual javax.net.ssl.TrustManagerFactory.init:(Ljava/security/KeyStore;)V
6: aload 4
invokevirtual javax.net.ssl.TrustManagerFactory.getTrustManagers:()[Ljavax/net/ssl/TrustManager;
astore 2
end local 4 7: goto 9
StackMap locals:
StackMap stack: java.lang.Exception
8: pop
9: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 2
invokevirtual sun.security.ssl.SSLContextImpl.chooseTrustManager:([Ljavax/net/ssl/TrustManager;)Ljavax/net/ssl/X509TrustManager;
putfield sun.security.ssl.SSLContextImpl.trustManager:Ljavax/net/ssl/X509TrustManager;
10: aload 3
ifnonnull 13
11: aload 0
invokestatic sun.security.ssl.JsseJce.getSecureRandom:()Ljava/security/SecureRandom;
putfield sun.security.ssl.SSLContextImpl.secureRandom:Ljava/security/SecureRandom;
12: goto 20
13: StackMap locals:
StackMap stack:
invokestatic sun.security.ssl.SunJSSE.isFIPS:()Z
ifeq 19
aload 3
invokevirtual java.security.SecureRandom.getProvider:()Ljava/security/Provider;
getstatic sun.security.ssl.SunJSSE.cryptoProvider:Ljava/security/Provider;
if_acmpeq 19
14: new java.security.KeyManagementException
dup
15: new java.lang.StringBuilder
dup
ldc "FIPS mode: SecureRandom must be from provider "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: getstatic sun.security.ssl.SunJSSE.cryptoProvider:Ljava/security/Provider;
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial java.security.KeyManagementException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.security.ssl.SSLContextImpl.secureRandom:Ljava/security/SecureRandom;
20: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.SSLContextImpl.debug:Lsun/security/ssl/Debug;
ifnull 22
ldc "sslctx"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 22
21: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "trigger seeding of SecureRandom"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.secureRandom:Ljava/security/SecureRandom;
invokevirtual java.security.SecureRandom.nextInt:()I
pop
23: getstatic sun.security.ssl.SSLContextImpl.debug:Lsun/security/ssl/Debug;
ifnull 25
ldc "sslctx"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 25
24: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "done seeding SecureRandom"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
25: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.ssl.SSLContextImpl.isInitialized:Z
26: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/security/ssl/SSLContextImpl;
0 27 1 km [Ljavax/net/ssl/KeyManager;
0 27 2 tm [Ljavax/net/ssl/TrustManager;
0 27 3 sr Ljava/security/SecureRandom;
5 7 4 tmf Ljavax/net/ssl/TrustManagerFactory;
Exception table:
from to target type
3 7 8 Class java.lang.Exception
Exceptions:
throws java.security.KeyManagementException
MethodParameters:
Name Flags
km
tm
sr
private javax.net.ssl.X509TrustManager chooseTrustManager(javax.net.ssl.TrustManager[]);
descriptor: ([Ljavax/net/ssl/TrustManager;)Ljavax/net/ssl/X509TrustManager;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
instanceof javax.net.ssl.X509TrustManager
ifeq 8
3: invokestatic sun.security.ssl.SunJSSE.isFIPS:()Z
ifeq 7
aload 1
iload 2
aaload
instanceof sun.security.ssl.X509TrustManagerImpl
ifne 7
4: new java.security.KeyManagementException
dup
5: ldc "FIPS mode: only SunJSSE TrustManagers may be used"
6: invokespecial java.security.KeyManagementException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
checkcast javax.net.ssl.X509TrustManager
areturn
8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: aload 1
ifnull 10
iload 2
aload 1
arraylength
if_icmplt 2
end local 2 10: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.DummyX509TrustManager.INSTANCE:Ljavax/net/ssl/X509TrustManager;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/SSLContextImpl;
0 11 1 tm [Ljavax/net/ssl/TrustManager;
1 10 2 i I
Exceptions:
throws java.security.KeyManagementException
MethodParameters:
Name Flags
tm
private javax.net.ssl.X509ExtendedKeyManager chooseKeyManager(javax.net.ssl.KeyManager[]);
descriptor: ([Ljavax/net/ssl/KeyManager;)Ljavax/net/ssl/X509ExtendedKeyManager;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 20
2: StackMap locals: int
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 3: aload 3
instanceof javax.net.ssl.X509KeyManager
ifne 5
4: goto 19
5: StackMap locals: javax.net.ssl.KeyManager
StackMap stack:
invokestatic sun.security.ssl.SunJSSE.isFIPS:()Z
ifeq 12
6: aload 3
instanceof sun.security.ssl.X509KeyManagerImpl
ifne 8
7: aload 3
instanceof sun.security.ssl.SunX509KeyManagerImpl
ifeq 9
8: StackMap locals:
StackMap stack:
aload 3
checkcast javax.net.ssl.X509ExtendedKeyManager
areturn
9: StackMap locals:
StackMap stack:
new java.security.KeyManagementException
dup
10: ldc "FIPS mode: only SunJSSE KeyManagers may be used"
11: invokespecial java.security.KeyManagementException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 3
instanceof javax.net.ssl.X509ExtendedKeyManager
ifeq 14
13: aload 3
checkcast javax.net.ssl.X509ExtendedKeyManager
areturn
14: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.SSLContextImpl.debug:Lsun/security/ssl/Debug;
ifnull 18
ldc "sslctx"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 18
15: getstatic java.lang.System.out:Ljava/io/PrintStream;
16: ldc "X509KeyManager passed to SSLContext.init(): need an X509ExtendedKeyManager for SSLEngine use"
17: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
18: StackMap locals:
StackMap stack:
new sun.security.ssl.AbstractWrapper
dup
aload 3
checkcast javax.net.ssl.X509KeyManager
invokespecial sun.security.ssl.AbstractWrapper.<init>:(Ljavax/net/ssl/X509KeyManager;)V
areturn
end local 3 19: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
20: aload 1
ifnull 21
iload 2
aload 1
arraylength
if_icmplt 2
end local 2 21: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.DummyX509KeyManager.INSTANCE:Ljavax/net/ssl/X509ExtendedKeyManager;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/security/ssl/SSLContextImpl;
0 22 1 kms [Ljavax/net/ssl/KeyManager;
1 21 2 i I
3 19 3 km Ljavax/net/ssl/KeyManager;
Exceptions:
throws java.security.KeyManagementException
MethodParameters:
Name Flags
kms
protected javax.net.ssl.SSLSocketFactory engineGetSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLSocketFactory;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.isInitialized:Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: ldc "SSLContextImpl is not initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new sun.security.ssl.SSLSocketFactoryImpl
dup
aload 0
invokespecial sun.security.ssl.SSLSocketFactoryImpl.<init>:(Lsun/security/ssl/SSLContextImpl;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SSLContextImpl;
protected javax.net.ssl.SSLServerSocketFactory engineGetServerSocketFactory();
descriptor: ()Ljavax/net/ssl/SSLServerSocketFactory;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.isInitialized:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "SSLContext is not initialized"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new sun.security.ssl.SSLServerSocketFactoryImpl
dup
aload 0
invokespecial sun.security.ssl.SSLServerSocketFactoryImpl.<init>:(Lsun/security/ssl/SSLContextImpl;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/SSLContextImpl;
protected javax.net.ssl.SSLEngine engineCreateSSLEngine();
descriptor: ()Ljavax/net/ssl/SSLEngine;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.isInitialized:Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: ldc "SSLContextImpl is not initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new sun.security.ssl.SSLEngineImpl
dup
aload 0
invokespecial sun.security.ssl.SSLEngineImpl.<init>:(Lsun/security/ssl/SSLContextImpl;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SSLContextImpl;
protected javax.net.ssl.SSLEngine engineCreateSSLEngine(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.security.ssl.SSLContextImpl.isInitialized:Z
ifne 4
1: new java.lang.IllegalStateException
dup
2: ldc "SSLContextImpl is not initialized"
3: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new sun.security.ssl.SSLEngineImpl
dup
aload 0
aload 1
iload 2
invokespecial sun.security.ssl.SSLEngineImpl.<init>:(Lsun/security/ssl/SSLContextImpl;Ljava/lang/String;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SSLContextImpl;
0 5 1 host Ljava/lang/String;
0 5 2 port I
MethodParameters:
Name Flags
host
port
protected javax.net.ssl.SSLSessionContext engineGetClientSessionContext();
descriptor: ()Ljavax/net/ssl/SSLSessionContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.clientCache:Lsun/security/ssl/SSLSessionContextImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SSLContextImpl;
protected javax.net.ssl.SSLSessionContext engineGetServerSessionContext();
descriptor: ()Ljavax/net/ssl/SSLSessionContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.serverCache:Lsun/security/ssl/SSLSessionContextImpl;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SSLContextImpl;
java.security.SecureRandom getSecureRandom();
descriptor: ()Ljava/security/SecureRandom;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.secureRandom:Ljava/security/SecureRandom;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SSLContextImpl;
javax.net.ssl.X509ExtendedKeyManager getX509KeyManager();
descriptor: ()Ljavax/net/ssl/X509ExtendedKeyManager;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.keyManager:Ljavax/net/ssl/X509ExtendedKeyManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SSLContextImpl;
javax.net.ssl.X509TrustManager getX509TrustManager();
descriptor: ()Ljavax/net/ssl/X509TrustManager;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.trustManager:Ljavax/net/ssl/X509TrustManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SSLContextImpl;
sun.security.ssl.EphemeralKeyManager getEphemeralKeyManager();
descriptor: ()Lsun/security/ssl/EphemeralKeyManager;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.ephemeralKeyManager:Lsun/security/ssl/EphemeralKeyManager;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SSLContextImpl;
abstract javax.net.ssl.SSLParameters ();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0400) ACC_ABSTRACT
abstract javax.net.ssl.SSLParameters getDefaultClientSSLParams();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0400) ACC_ABSTRACT
abstract javax.net.ssl.SSLParameters getSupportedSSLParams();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0400) ACC_ABSTRACT
sun.security.ssl.ProtocolList getSuportedProtocolList();
descriptor: ()Lsun/security/ssl/ProtocolList;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.SSLContextImpl.supportedProtocolList:Lsun/security/ssl/ProtocolList;
ifnonnull 4
1: aload 0
2: new sun.security.ssl.ProtocolList
dup
aload 0
invokevirtual sun.security.ssl.SSLContextImpl.getSupportedSSLParams:()Ljavax/net/ssl/SSLParameters;
invokevirtual javax.net.ssl.SSLParameters.getProtocols:()[Ljava/lang/String;
invokespecial sun.security.ssl.ProtocolList.<init>:([Ljava/lang/String;)V
3: putfield sun.security.ssl.SSLContextImpl.supportedProtocolList:Lsun/security/ssl/ProtocolList;
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.supportedProtocolList:Lsun/security/ssl/ProtocolList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SSLContextImpl;
sun.security.ssl.ProtocolList getDefaultProtocolList(boolean);
descriptor: (Z)Lsun/security/ssl/ProtocolList;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 6
1: aload 0
getfield sun.security.ssl.SSLContextImpl.defaultServerProtocolList:Lsun/security/ssl/ProtocolList;
ifnonnull 5
2: aload 0
new sun.security.ssl.ProtocolList
dup
3: aload 0
invokevirtual sun.security.ssl.SSLContextImpl.getDefaultServerSSLParams:()Ljavax/net/ssl/SSLParameters;
invokevirtual javax.net.ssl.SSLParameters.getProtocols:()[Ljava/lang/String;
invokespecial sun.security.ssl.ProtocolList.<init>:([Ljava/lang/String;)V
4: putfield sun.security.ssl.SSLContextImpl.defaultServerProtocolList:Lsun/security/ssl/ProtocolList;
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.defaultServerProtocolList:Lsun/security/ssl/ProtocolList;
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.defaultClientProtocolList:Lsun/security/ssl/ProtocolList;
ifnonnull 10
7: aload 0
new sun.security.ssl.ProtocolList
dup
8: aload 0
invokevirtual sun.security.ssl.SSLContextImpl.getDefaultClientSSLParams:()Ljavax/net/ssl/SSLParameters;
invokevirtual javax.net.ssl.SSLParameters.getProtocols:()[Ljava/lang/String;
invokespecial sun.security.ssl.ProtocolList.<init>:([Ljava/lang/String;)V
9: putfield sun.security.ssl.SSLContextImpl.defaultClientProtocolList:Lsun/security/ssl/ProtocolList;
10: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.defaultClientProtocolList:Lsun/security/ssl/ProtocolList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/SSLContextImpl;
0 11 1 roleIsServer Z
MethodParameters:
Name Flags
roleIsServer
sun.security.ssl.CipherSuiteList getSupportedCipherSuiteList();
descriptor: ()Lsun/security/ssl/CipherSuiteList;
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
invokevirtual sun.security.ssl.SSLContextImpl.clearAvailableCache:()V
2: aload 0
getfield sun.security.ssl.SSLContextImpl.supportedCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
ifnonnull 6
3: aload 0
aload 0
4: aload 0
invokevirtual sun.security.ssl.SSLContextImpl.getSuportedProtocolList:()Lsun/security/ssl/ProtocolList;
iconst_0
5: invokevirtual sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList:(Lsun/security/ssl/ProtocolList;Z)Lsun/security/ssl/CipherSuiteList;
putfield sun.security.ssl.SSLContextImpl.supportedCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
6: StackMap locals: sun.security.ssl.SSLContextImpl
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.supportedCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
aload 1
monitorexit
7: areturn
8: StackMap locals:
StackMap stack: java.lang.Throwable
aload 1
monitorexit
9: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/SSLContextImpl;
Exception table:
from to target type
1 7 8 any
8 9 8 any
sun.security.ssl.CipherSuiteList getDefaultCipherSuiteList(boolean);
descriptor: (Z)Lsun/security/ssl/CipherSuiteList;
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
invokevirtual sun.security.ssl.SSLContextImpl.clearAvailableCache:()V
2: iload 1
ifeq 9
3: aload 0
getfield sun.security.ssl.SSLContextImpl.defaultServerCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
ifnonnull 7
4: aload 0
aload 0
5: aload 0
iconst_1
invokevirtual sun.security.ssl.SSLContextImpl.getDefaultProtocolList:(Z)Lsun/security/ssl/ProtocolList;
iconst_1
6: invokevirtual sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList:(Lsun/security/ssl/ProtocolList;Z)Lsun/security/ssl/CipherSuiteList;
putfield sun.security.ssl.SSLContextImpl.defaultServerCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
7: StackMap locals: sun.security.ssl.SSLContextImpl
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.defaultServerCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
aload 2
monitorexit
8: areturn
9: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.defaultClientCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
ifnonnull 13
10: aload 0
aload 0
11: aload 0
iconst_0
invokevirtual sun.security.ssl.SSLContextImpl.getDefaultProtocolList:(Z)Lsun/security/ssl/ProtocolList;
iconst_1
12: invokevirtual sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList:(Lsun/security/ssl/ProtocolList;Z)Lsun/security/ssl/CipherSuiteList;
putfield sun.security.ssl.SSLContextImpl.defaultClientCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLContextImpl.defaultClientCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
aload 2
monitorexit
14: areturn
15: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
16: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lsun/security/ssl/SSLContextImpl;
0 17 1 roleIsServer Z
Exception table:
from to target type
1 8 15 any
9 14 15 any
15 16 15 any
MethodParameters:
Name Flags
roleIsServer
boolean isDefaultProtocolList(sun.security.ssl.ProtocolList);
descriptor: (Lsun/security/ssl/ProtocolList;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.security.ssl.SSLContextImpl.defaultServerProtocolList:Lsun/security/ssl/ProtocolList;
if_acmpeq 3
1: aload 1
aload 0
getfield sun.security.ssl.SSLContextImpl.defaultClientProtocolList:Lsun/security/ssl/ProtocolList;
if_acmpeq 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/SSLContextImpl;
0 4 1 protocols Lsun/security/ssl/ProtocolList;
MethodParameters:
Name Flags
protocols
private sun.security.ssl.CipherSuiteList getApplicableCipherSuiteList(sun.security.ssl.ProtocolList, boolean);
descriptor: (Lsun/security/ssl/ProtocolList;Z)Lsun/security/ssl/CipherSuiteList;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: iload 2
ifeq 3
2: sipush 300
istore 3
3: StackMap locals: int
StackMap stack:
invokestatic sun.security.ssl.CipherSuite.allowedCipherSuites:()Ljava/util/Collection;
4: astore 4
start local 4 5: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 5
start local 5 6: aload 1
invokevirtual sun.security.ssl.ProtocolList.collection:()Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ifne 38
7: aload 1
getfield sun.security.ssl.ProtocolList.min:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpeq 38
8: aload 4
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 37
StackMap locals: sun.security.ssl.SSLContextImpl sun.security.ssl.ProtocolList int int java.util.Collection java.util.TreeSet top java.util.Iterator
StackMap stack:
9: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.CipherSuite
astore 6
start local 6 10: aload 6
getfield sun.security.ssl.CipherSuite.allowed:Z
ifeq 37
aload 6
getfield sun.security.ssl.CipherSuite.priority:I
iload 3
if_icmpge 12
11: goto 37
12: StackMap locals: sun.security.ssl.SSLContextImpl sun.security.ssl.ProtocolList int int java.util.Collection java.util.TreeSet sun.security.ssl.CipherSuite java.util.Iterator
StackMap stack:
aload 6
invokevirtual sun.security.ssl.CipherSuite.isAvailable:()Z
ifeq 22
13: aload 6
getfield sun.security.ssl.CipherSuite.obsoleted:I
aload 1
getfield sun.security.ssl.ProtocolList.min:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmple 22
14: aload 6
getfield sun.security.ssl.CipherSuite.supported:I
aload 1
getfield sun.security.ssl.ProtocolList.max:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpgt 22
15: getstatic sun.security.ssl.SSLAlgorithmConstraints.DEFAULT:Lsun/security/util/AlgorithmConstraints;
16: getstatic sun.security.util.CryptoPrimitive.KEY_AGREEMENT:Lsun/security/util/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
17: aload 6
getfield sun.security.ssl.CipherSuite.name:Ljava/lang/String;
aconst_null
18: invokeinterface sun.security.util.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
19: ifeq 37
20: aload 5
aload 6
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
21: goto 37
StackMap locals:
StackMap stack:
22: getstatic sun.security.ssl.SSLContextImpl.debug:Lsun/security/ssl/Debug;
ifnull 37
23: ldc "sslctx"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 37
ldc "verbose"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 37
24: aload 6
getfield sun.security.ssl.CipherSuite.obsoleted:I
aload 1
getfield sun.security.ssl.ProtocolList.min:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpgt 29
25: getstatic java.lang.System.out:Ljava/io/PrintStream;
26: new java.lang.StringBuilder
dup
ldc "Ignoring obsoleted cipher suite: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
27: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
28: goto 37
StackMap locals:
StackMap stack:
29: aload 6
getfield sun.security.ssl.CipherSuite.supported:I
aload 1
getfield sun.security.ssl.ProtocolList.max:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmple 34
30: getstatic java.lang.System.out:Ljava/io/PrintStream;
31: new java.lang.StringBuilder
dup
ldc "Ignoring unsupported cipher suite: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
32: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
33: goto 37
34: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
35: new java.lang.StringBuilder
dup
ldc "Ignoring unavailable cipher suite: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
36: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 6 37: StackMap locals: sun.security.ssl.SSLContextImpl sun.security.ssl.ProtocolList int int java.util.Collection java.util.TreeSet top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
38: StackMap locals: sun.security.ssl.SSLContextImpl sun.security.ssl.ProtocolList int int java.util.Collection java.util.TreeSet
StackMap stack:
new sun.security.ssl.CipherSuiteList
dup
aload 5
invokespecial sun.security.ssl.CipherSuiteList.<init>:(Ljava/util/Collection;)V
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lsun/security/ssl/SSLContextImpl;
0 39 1 protocols Lsun/security/ssl/ProtocolList;
0 39 2 onlyEnabled Z
1 39 3 minPriority I
5 39 4 allowedCipherSuites Ljava/util/Collection<Lsun/security/ssl/CipherSuite;>;
6 39 5 suites Ljava/util/TreeSet<Lsun/security/ssl/CipherSuite;>;
10 37 6 suite Lsun/security/ssl/CipherSuite;
MethodParameters:
Name Flags
protocols
onlyEnabled
private void clearAvailableCache();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.security.ssl.SSLContextImpl.supportedCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
1: aload 0
aconst_null
putfield sun.security.ssl.SSLContextImpl.defaultServerCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
2: aload 0
aconst_null
putfield sun.security.ssl.SSLContextImpl.defaultClientCipherSuiteList:Lsun/security/ssl/CipherSuiteList;
3: invokestatic sun.security.ssl.CipherSuite$BulkCipher.clearAvailableCache:()V
4: invokestatic sun.security.ssl.JsseJce.clearEcAvailable:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/SSLContextImpl;
static java.lang.String[] getAvailableProtocols(sun.security.ssl.ProtocolVersion[]);
descriptor: ([Lsun/security/ssl/ProtocolVersion;)[Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 1
start local 1 1: aload 0
ifnull 9
aload 0
arraylength
ifeq 9
2: new java.util.ArrayList
dup
aload 0
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
3: aload 0
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: sun.security.ssl.ProtocolVersion[] java.util.List top int int sun.security.ssl.ProtocolVersion[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: getstatic sun.security.ssl.ProtocolVersion.availableProtocols:Ljava/util/Set;
aload 2
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 7
6: aload 1
aload 2
getfield sun.security.ssl.ProtocolVersion.name:Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 4
9: StackMap locals: sun.security.ssl.ProtocolVersion[] java.util.List
StackMap stack:
aload 1
iconst_0
anewarray java.lang.String
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 protocolCandidates [Lsun/security/ssl/ProtocolVersion;
1 10 1 availableProtocols Ljava/util/List<Ljava/lang/String;>;
5 7 2 p Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
protocolCandidates
}
SourceFile: "SSLContextImpl.java"
NestMembers:
sun.security.ssl.SSLContextImpl$ConservativeSSLContext sun.security.ssl.SSLContextImpl$DefaultSSLContext sun.security.ssl.SSLContextImpl$DefaultSSLContext$1 sun.security.ssl.SSLContextImpl$DefaultSSLContext$2 sun.security.ssl.SSLContextImpl$TLS10Context sun.security.ssl.SSLContextImpl$TLS11Context
InnerClasses:
final BulkCipher = sun.security.ssl.CipherSuite$BulkCipher of sun.security.ssl.CipherSuite
private ConservativeSSLContext = sun.security.ssl.SSLContextImpl$ConservativeSSLContext of sun.security.ssl.SSLContextImpl
public final DefaultSSLContext = sun.security.ssl.SSLContextImpl$DefaultSSLContext of sun.security.ssl.SSLContextImpl
public final TLS10Context = sun.security.ssl.SSLContextImpl$TLS10Context of sun.security.ssl.SSLContextImpl
public final TLS11Context = sun.security.ssl.SSLContextImpl$TLS11Context of sun.security.ssl.SSLContextImpl