final class sun.security.ssl.SSLConfiguration implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SSLConfiguration
super_class: java.lang.Object
{
java.security.AlgorithmConstraints algorithmConstraints;
descriptor: Ljava/security/AlgorithmConstraints;
flags: (0x0000)
java.util.List<sun.security.ssl.ProtocolVersion> enabledProtocols;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Lsun/security/ssl/ProtocolVersion;>;
java.util.List<sun.security.ssl.CipherSuite> enabledCipherSuites;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Lsun/security/ssl/CipherSuite;>;
sun.security.ssl.ClientAuthType clientAuthType;
descriptor: Lsun/security/ssl/ClientAuthType;
flags: (0x0000)
java.lang.String identificationProtocol;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.util.List<javax.net.ssl.SNIServerName> serverNames;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
java.util.Collection<javax.net.ssl.SNIMatcher> sniMatchers;
descriptor: Ljava/util/Collection;
flags: (0x0000)
Signature: Ljava/util/Collection<Ljavax/net/ssl/SNIMatcher;>;
java.lang.String[] applicationProtocols;
descriptor: [Ljava/lang/String;
flags: (0x0000)
boolean preferLocalCipherSuites;
descriptor: Z
flags: (0x0000)
boolean enableRetransmissions;
descriptor: Z
flags: (0x0000)
int maximumPacketSize;
descriptor: I
flags: (0x0000)
sun.security.ssl.ProtocolVersion maximumProtocolVersion;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0000)
boolean isClientMode;
descriptor: Z
flags: (0x0000)
boolean enableSessionCreation;
descriptor: Z
flags: (0x0000)
java.util.function.BiFunction<javax.net.ssl.SSLSocket, java.util.List<java.lang.String>, java.lang.String> socketAPSelector;
descriptor: Ljava/util/function/BiFunction;
flags: (0x0000)
Signature: Ljava/util/function/BiFunction<Ljavax/net/ssl/SSLSocket;Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;>;
java.util.function.BiFunction<javax.net.ssl.SSLEngine, java.util.List<java.lang.String>, java.lang.String> engineAPSelector;
descriptor: Ljava/util/function/BiFunction;
flags: (0x0000)
Signature: Ljava/util/function/BiFunction<Ljavax/net/ssl/SSLEngine;Ljava/util/List<Ljava/lang/String;>;Ljava/lang/String;>;
java.util.HashMap<javax.net.ssl.HandshakeCompletedListener, java.security.AccessControlContext> handshakeListeners;
descriptor: Ljava/util/HashMap;
flags: (0x0000)
Signature: Ljava/util/HashMap<Ljavax/net/ssl/HandshakeCompletedListener;Ljava/security/AccessControlContext;>;
boolean noSniExtension;
descriptor: Z
flags: (0x0000)
boolean noSniMatcher;
descriptor: Z
flags: (0x0000)
static final boolean useExtendedMasterSecret;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean allowLegacyResumption;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean allowLegacyMasterSecret;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean useCompatibilityMode;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final boolean acknowledgeCloseNotify;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static volatile int[] $SWITCH_TABLE$sun$security$ssl$ClientAuthType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "jdk.tls.allowLegacyResumption"
iconst_1
invokestatic sun.security.ssl.Utilities.getBooleanProperty:(Ljava/lang/String;Z)Z
1: putstatic sun.security.ssl.SSLConfiguration.allowLegacyResumption:Z
2: ldc "jdk.tls.allowLegacyMasterSecret"
iconst_1
invokestatic sun.security.ssl.Utilities.getBooleanProperty:(Ljava/lang/String;Z)Z
3: putstatic sun.security.ssl.SSLConfiguration.allowLegacyMasterSecret:Z
4: ldc "jdk.tls.client.useCompatibilityMode"
iconst_1
5: invokestatic sun.security.ssl.Utilities.getBooleanProperty:(Ljava/lang/String;Z)Z
putstatic sun.security.ssl.SSLConfiguration.useCompatibilityMode:Z
6: ldc "jdk.tls.acknowledgeCloseNotify"
iconst_0
7: invokestatic sun.security.ssl.Utilities.getBooleanProperty:(Ljava/lang/String;Z)Z
putstatic sun.security.ssl.SSLConfiguration.acknowledgeCloseNotify:Z
8: ldc "jdk.tls.useExtendedMasterSecret"
iconst_1
9: invokestatic sun.security.ssl.Utilities.getBooleanProperty:(Ljava/lang/String;Z)Z
istore 0
start local 0 10: iload 0
ifeq 15
11: ldc "SunTlsExtendedMasterSecret"
invokestatic sun.security.ssl.JsseJce.getKeyGenerator:(Ljava/lang/String;)Ljavax/crypto/KeyGenerator;
pop
12: goto 15
StackMap locals: int
StackMap stack: java.security.NoSuchAlgorithmException
13: pop
14: iconst_0
istore 0
15: StackMap locals:
StackMap stack:
iload 0
putstatic sun.security.ssl.SSLConfiguration.useExtendedMasterSecret:Z
end local 0 16: return
LocalVariableTable:
Start End Slot Name Signature
10 16 0 supportExtendedMasterSecret Z
Exception table:
from to target type
11 12 13 Class java.security.NoSuchAlgorithmException
void <init>(sun.security.ssl.SSLContextImpl, boolean);
descriptor: (Lsun/security/ssl/SSLContextImpl;Z)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic sun.security.ssl.SSLAlgorithmConstraints.DEFAULT:Ljava/security/AlgorithmConstraints;
putfield sun.security.ssl.SSLConfiguration.algorithmConstraints:Ljava/security/AlgorithmConstraints;
2: aload 0
3: aload 1
iload 2
ifeq 4
iconst_0
goto 5
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl int
StackMap stack: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl
4: iconst_1
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl int
StackMap stack: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl int
5: invokevirtual sun.security.ssl.SSLContextImpl.getDefaultProtocolVersions:(Z)Ljava/util/List;
6: putfield sun.security.ssl.SSLConfiguration.enabledProtocols:Ljava/util/List;
7: aload 0
8: aload 1
iload 2
ifeq 9
iconst_0
goto 10
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl int
StackMap stack: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl
9: iconst_1
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl int
StackMap stack: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl int
10: invokevirtual sun.security.ssl.SSLContextImpl.getDefaultCipherSuites:(Z)Ljava/util/List;
11: putfield sun.security.ssl.SSLConfiguration.enabledCipherSuites:Ljava/util/List;
12: aload 0
getstatic sun.security.ssl.ClientAuthType.CLIENT_AUTH_NONE:Lsun/security/ssl/ClientAuthType;
putfield sun.security.ssl.SSLConfiguration.clientAuthType:Lsun/security/ssl/ClientAuthType;
13: aload 0
aconst_null
putfield sun.security.ssl.SSLConfiguration.identificationProtocol:Ljava/lang/String;
14: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield sun.security.ssl.SSLConfiguration.serverNames:Ljava/util/List;
15: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield sun.security.ssl.SSLConfiguration.sniMatchers:Ljava/util/Collection;
16: aload 0
iconst_0
putfield sun.security.ssl.SSLConfiguration.preferLocalCipherSuites:Z
17: aload 0
iconst_0
anewarray java.lang.String
putfield sun.security.ssl.SSLConfiguration.applicationProtocols:[Ljava/lang/String;
18: aload 0
aload 1
invokevirtual sun.security.ssl.SSLContextImpl.isDTLS:()Z
putfield sun.security.ssl.SSLConfiguration.enableRetransmissions:Z
19: aload 0
iconst_0
putfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
20: aload 0
getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.SSLConfiguration.maximumProtocolVersion:Lsun/security/ssl/ProtocolVersion;
21: aload 0
getfield sun.security.ssl.SSLConfiguration.enabledProtocols:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 25
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLContextImpl int top java.util.Iterator
StackMap stack:
22: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
astore 3
start local 3 23: aload 3
aload 0
getfield sun.security.ssl.SSLConfiguration.maximumProtocolVersion:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.compareTo:(Ljava/lang/Enum;)I
ifle 25
24: aload 0
aload 3
putfield sun.security.ssl.SSLConfiguration.maximumProtocolVersion:Lsun/security/ssl/ProtocolVersion;
end local 3 25: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
26: aload 0
iload 2
putfield sun.security.ssl.SSLConfiguration.isClientMode:Z
27: aload 0
iconst_1
putfield sun.security.ssl.SSLConfiguration.enableSessionCreation:Z
28: aload 0
aconst_null
putfield sun.security.ssl.SSLConfiguration.socketAPSelector:Ljava/util/function/BiFunction;
29: aload 0
aconst_null
putfield sun.security.ssl.SSLConfiguration.engineAPSelector:Ljava/util/function/BiFunction;
30: aload 0
aconst_null
putfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
31: aload 0
iconst_0
putfield sun.security.ssl.SSLConfiguration.noSniExtension:Z
32: aload 0
iconst_0
putfield sun.security.ssl.SSLConfiguration.noSniMatcher:Z
33: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lsun/security/ssl/SSLConfiguration;
0 34 1 sslContext Lsun/security/ssl/SSLContextImpl;
0 34 2 isClientMode Z
23 25 3 pv Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
sslContext
isClientMode
javax.net.ssl.SSLParameters getSSLParameters();
descriptor: ()Ljavax/net/ssl/SSLParameters;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: new javax.net.ssl.SSLParameters
dup
invokespecial javax.net.ssl.SSLParameters.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.algorithmConstraints:Ljava/security/AlgorithmConstraints;
invokevirtual javax.net.ssl.SSLParameters.setAlgorithmConstraints:(Ljava/security/AlgorithmConstraints;)V
2: aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.enabledProtocols:Ljava/util/List;
invokestatic sun.security.ssl.ProtocolVersion.toStringArray:(Ljava/util/List;)[Ljava/lang/String;
invokevirtual javax.net.ssl.SSLParameters.setProtocols:([Ljava/lang/String;)V
3: aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.enabledCipherSuites:Ljava/util/List;
invokestatic sun.security.ssl.CipherSuite.namesOf:(Ljava/util/List;)[Ljava/lang/String;
invokevirtual javax.net.ssl.SSLParameters.setCipherSuites:([Ljava/lang/String;)V
4: invokestatic sun.security.ssl.SSLConfiguration.$SWITCH_TABLE$sun$security$ssl$ClientAuthType:()[I
aload 0
getfield sun.security.ssl.SSLConfiguration.clientAuthType:Lsun/security/ssl/ClientAuthType;
invokevirtual sun.security.ssl.ClientAuthType.ordinal:()I
iaload
tableswitch { // 2 - 3
2: 7
3: 5
default: 9
}
5: StackMap locals: javax.net.ssl.SSLParameters
StackMap stack:
aload 1
iconst_1
invokevirtual javax.net.ssl.SSLParameters.setNeedClientAuth:(Z)V
6: goto 10
7: StackMap locals:
StackMap stack:
aload 1
iconst_1
invokevirtual javax.net.ssl.SSLParameters.setWantClientAuth:(Z)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 1
iconst_0
invokevirtual javax.net.ssl.SSLParameters.setWantClientAuth:(Z)V
10: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.identificationProtocol:Ljava/lang/String;
invokevirtual javax.net.ssl.SSLParameters.setEndpointIdentificationAlgorithm:(Ljava/lang/String;)V
11: aload 0
getfield sun.security.ssl.SSLConfiguration.serverNames:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 14
aload 0
getfield sun.security.ssl.SSLConfiguration.noSniExtension:Z
ifne 14
12: aload 1
aconst_null
invokevirtual javax.net.ssl.SSLParameters.setServerNames:(Ljava/util/List;)V
13: goto 15
14: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.serverNames:Ljava/util/List;
invokevirtual javax.net.ssl.SSLParameters.setServerNames:(Ljava/util/List;)V
15: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLConfiguration.sniMatchers:Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 18
aload 0
getfield sun.security.ssl.SSLConfiguration.noSniMatcher:Z
ifne 18
16: aload 1
aconst_null
invokevirtual javax.net.ssl.SSLParameters.setSNIMatchers:(Ljava/util/Collection;)V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.sniMatchers:Ljava/util/Collection;
invokevirtual javax.net.ssl.SSLParameters.setSNIMatchers:(Ljava/util/Collection;)V
19: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.applicationProtocols:[Ljava/lang/String;
invokevirtual javax.net.ssl.SSLParameters.setApplicationProtocols:([Ljava/lang/String;)V
20: aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.preferLocalCipherSuites:Z
invokevirtual javax.net.ssl.SSLParameters.setUseCipherSuitesOrder:(Z)V
21: aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.enableRetransmissions:Z
invokevirtual javax.net.ssl.SSLParameters.setEnableRetransmissions:(Z)V
22: aload 1
aload 0
getfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
invokevirtual javax.net.ssl.SSLParameters.setMaximumPacketSize:(I)V
23: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/security/ssl/SSLConfiguration;
1 24 1 params Ljavax/net/ssl/SSLParameters;
void setSSLParameters(javax.net.ssl.SSLParameters);
descriptor: (Ljavax/net/ssl/SSLParameters;)V
flags: (0x0000)
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.net.ssl.SSLParameters.getAlgorithmConstraints:()Ljava/security/AlgorithmConstraints;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 2
putfield sun.security.ssl.SSLConfiguration.algorithmConstraints:Ljava/security/AlgorithmConstraints;
3: StackMap locals: java.security.AlgorithmConstraints
StackMap stack:
aload 1
invokevirtual javax.net.ssl.SSLParameters.getCipherSuites:()[Ljava/lang/String;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 0
aload 3
invokestatic sun.security.ssl.CipherSuite.validValuesOf:([Ljava/lang/String;)Ljava/util/List;
putfield sun.security.ssl.SSLConfiguration.enabledCipherSuites:Ljava/util/List;
6: StackMap locals: java.lang.String[]
StackMap stack:
aload 1
invokevirtual javax.net.ssl.SSLParameters.getProtocols:()[Ljava/lang/String;
astore 3
7: aload 3
ifnull 15
8: aload 0
aload 3
invokestatic sun.security.ssl.ProtocolVersion.namesOf:([Ljava/lang/String;)Ljava/util/List;
putfield sun.security.ssl.SSLConfiguration.enabledProtocols:Ljava/util/List;
9: aload 0
getstatic sun.security.ssl.ProtocolVersion.NONE:Lsun/security/ssl/ProtocolVersion;
putfield sun.security.ssl.SSLConfiguration.maximumProtocolVersion:Lsun/security/ssl/ProtocolVersion;
10: aload 0
getfield sun.security.ssl.SSLConfiguration.enabledProtocols:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 14
StackMap locals: sun.security.ssl.SSLConfiguration javax.net.ssl.SSLParameters java.security.AlgorithmConstraints java.lang.String[] top java.util.Iterator
StackMap stack:
11: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
astore 4
start local 4 12: aload 4
aload 0
getfield sun.security.ssl.SSLConfiguration.maximumProtocolVersion:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.compareTo:(Ljava/lang/Enum;)I
ifle 14
13: aload 0
aload 4
putfield sun.security.ssl.SSLConfiguration.maximumProtocolVersion:Lsun/security/ssl/ProtocolVersion;
end local 4 14: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: StackMap locals: sun.security.ssl.SSLConfiguration javax.net.ssl.SSLParameters java.security.AlgorithmConstraints java.lang.String[]
StackMap stack:
aload 1
invokevirtual javax.net.ssl.SSLParameters.getNeedClientAuth:()Z
ifeq 18
16: aload 0
getstatic sun.security.ssl.ClientAuthType.CLIENT_AUTH_REQUIRED:Lsun/security/ssl/ClientAuthType;
putfield sun.security.ssl.SSLConfiguration.clientAuthType:Lsun/security/ssl/ClientAuthType;
17: goto 22
StackMap locals:
StackMap stack:
18: aload 1
invokevirtual javax.net.ssl.SSLParameters.getWantClientAuth:()Z
ifeq 21
19: aload 0
getstatic sun.security.ssl.ClientAuthType.CLIENT_AUTH_REQUESTED:Lsun/security/ssl/ClientAuthType;
putfield sun.security.ssl.SSLConfiguration.clientAuthType:Lsun/security/ssl/ClientAuthType;
20: goto 22
21: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.ssl.ClientAuthType.CLIENT_AUTH_NONE:Lsun/security/ssl/ClientAuthType;
putfield sun.security.ssl.SSLConfiguration.clientAuthType:Lsun/security/ssl/ClientAuthType;
22: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.net.ssl.SSLParameters.getEndpointIdentificationAlgorithm:()Ljava/lang/String;
astore 4
start local 4 23: aload 4
ifnull 25
24: aload 0
aload 4
putfield sun.security.ssl.SSLConfiguration.identificationProtocol:Ljava/lang/String;
25: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual javax.net.ssl.SSLParameters.getServerNames:()Ljava/util/List;
astore 5
start local 5 26: aload 5
ifnull 29
27: aload 0
aload 5
invokeinterface java.util.List.isEmpty:()Z
putfield sun.security.ssl.SSLConfiguration.noSniExtension:Z
28: aload 0
aload 5
putfield sun.security.ssl.SSLConfiguration.serverNames:Ljava/util/List;
29: StackMap locals: java.util.List
StackMap stack:
aload 1
invokevirtual javax.net.ssl.SSLParameters.getSNIMatchers:()Ljava/util/Collection;
astore 6
start local 6 30: aload 6
ifnull 33
31: aload 0
aload 6
invokeinterface java.util.Collection.isEmpty:()Z
putfield sun.security.ssl.SSLConfiguration.noSniMatcher:Z
32: aload 0
aload 6
putfield sun.security.ssl.SSLConfiguration.sniMatchers:Ljava/util/Collection;
33: StackMap locals: java.util.Collection
StackMap stack:
aload 1
invokevirtual javax.net.ssl.SSLParameters.getApplicationProtocols:()[Ljava/lang/String;
astore 3
34: aload 3
ifnull 36
35: aload 0
aload 3
putfield sun.security.ssl.SSLConfiguration.applicationProtocols:[Ljava/lang/String;
36: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.net.ssl.SSLParameters.getUseCipherSuitesOrder:()Z
putfield sun.security.ssl.SSLConfiguration.preferLocalCipherSuites:Z
37: aload 0
aload 1
invokevirtual javax.net.ssl.SSLParameters.getEnableRetransmissions:()Z
putfield sun.security.ssl.SSLConfiguration.enableRetransmissions:Z
38: aload 0
aload 1
invokevirtual javax.net.ssl.SSLParameters.getMaximumPacketSize:()I
putfield sun.security.ssl.SSLConfiguration.maximumPacketSize:I
39: return
end local 6 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 40 0 this Lsun/security/ssl/SSLConfiguration;
0 40 1 params Ljavax/net/ssl/SSLParameters;
1 40 2 ac Ljava/security/AlgorithmConstraints;
4 40 3 sa [Ljava/lang/String;
12 14 4 pv Lsun/security/ssl/ProtocolVersion;
23 40 4 s Ljava/lang/String;
26 40 5 sniNames Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
30 40 6 matchers Ljava/util/Collection<Ljavax/net/ssl/SNIMatcher;>;
MethodParameters:
Name Flags
params
void addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener);
descriptor: (Ljavax/net/ssl/HandshakeCompletedListener;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
ifnonnull 2
1: aload 0
new java.util.HashMap
dup
iconst_4
invokespecial java.util.HashMap.<init>:(I)V
putfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
aload 1
invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/SSLConfiguration;
0 4 1 listener Ljavax/net/ssl/HandshakeCompletedListener;
MethodParameters:
Name Flags
listener
void removeHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener);
descriptor: (Ljavax/net/ssl/HandshakeCompletedListener;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "no listeners"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "listener not registered"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
invokevirtual java.util.HashMap.isEmpty:()Z
ifeq 6
5: aload 0
aconst_null
putfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/SSLConfiguration;
0 7 1 listener Ljavax/net/ssl/HandshakeCompletedListener;
MethodParameters:
Name Flags
listener
boolean isAvailable(sun.security.ssl.SSLExtension);
descriptor: (Lsun/security/ssl/SSLExtension;)Z
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.SSLConfiguration.enabledProtocols:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLExtension top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
astore 2
start local 2 2: aload 1
aload 2
invokevirtual sun.security.ssl.SSLExtension.isAvailable:(Lsun/security/ssl/ProtocolVersion;)Z
ifeq 7
3: aload 0
getfield sun.security.ssl.SSLConfiguration.isClientMode:Z
ifeq 5
4: getstatic sun.security.ssl.SSLExtension$ClientExtensions.defaults:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 7
goto 6
5: StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLExtension sun.security.ssl.ProtocolVersion java.util.Iterator
StackMap stack:
getstatic sun.security.ssl.SSLExtension$ServerExtensions.defaults:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 7: StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLExtension top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/SSLConfiguration;
0 9 1 extension Lsun/security/ssl/SSLExtension;
2 7 2 protocolVersion Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
extension
boolean isAvailable(sun.security.ssl.SSLExtension, sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/SSLExtension;Lsun/security/ssl/ProtocolVersion;)Z
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual sun.security.ssl.SSLExtension.isAvailable:(Lsun/security/ssl/ProtocolVersion;)Z
ifeq 4
1: aload 0
getfield sun.security.ssl.SSLConfiguration.isClientMode:Z
ifeq 2
getstatic sun.security.ssl.SSLExtension$ClientExtensions.defaults:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 4
goto 3
2: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.SSLExtension$ServerExtensions.defaults:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/SSLConfiguration;
0 5 1 extension Lsun/security/ssl/SSLExtension;
0 5 2 protocolVersion Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
extension
protocolVersion
sun.security.ssl.SSLExtension[] getEnabledExtensions(sun.security.ssl.SSLHandshake);
descriptor: (Lsun/security/ssl/SSLHandshake;)[Lsun/security/ssl/SSLExtension;
flags: (0x0000)
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: invokestatic sun.security.ssl.SSLExtension.values:()[Lsun/security/ssl/SSLExtension;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLHandshake java.util.List top int int sun.security.ssl.SSLExtension[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
getfield sun.security.ssl.SSLExtension.handshakeType:Lsun/security/ssl/SSLHandshake;
aload 1
if_acmpne 6
4: aload 0
aload 3
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifeq 6
5: aload 2
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 2
8: aload 2
iconst_0
anewarray sun.security.ssl.SSLExtension
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast sun.security.ssl.SSLExtension[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/SSLConfiguration;
0 9 1 handshakeType Lsun/security/ssl/SSLHandshake;
1 9 2 extensions Ljava/util/List<Lsun/security/ssl/SSLExtension;>;
3 6 3 extension Lsun/security/ssl/SSLExtension;
MethodParameters:
Name Flags
handshakeType
sun.security.ssl.SSLExtension[] getExclusiveExtensions(sun.security.ssl.SSLHandshake, java.util.List<sun.security.ssl.SSLExtension>);
descriptor: (Lsun/security/ssl/SSLHandshake;Ljava/util/List;)[Lsun/security/ssl/SSLExtension;
flags: (0x0000)
Code:
stack=2, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: invokestatic sun.security.ssl.SSLExtension.values:()[Lsun/security/ssl/SSLExtension;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLHandshake java.util.List java.util.List top int int sun.security.ssl.SSLExtension[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 4
getfield sun.security.ssl.SSLExtension.handshakeType:Lsun/security/ssl/SSLHandshake;
aload 1
if_acmpne 6
4: aload 0
aload 4
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifeq 6
aload 2
aload 4
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 6
5: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 2
8: aload 3
iconst_0
anewarray sun.security.ssl.SSLExtension
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast sun.security.ssl.SSLExtension[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/SSLConfiguration;
0 9 1 handshakeType Lsun/security/ssl/SSLHandshake;
0 9 2 excluded Ljava/util/List<Lsun/security/ssl/SSLExtension;>;
1 9 3 extensions Ljava/util/List<Lsun/security/ssl/SSLExtension;>;
3 6 4 extension Lsun/security/ssl/SSLExtension;
Signature: (Lsun/security/ssl/SSLHandshake;Ljava/util/List<Lsun/security/ssl/SSLExtension;>;)[Lsun/security/ssl/SSLExtension;
MethodParameters:
Name Flags
handshakeType
excluded
sun.security.ssl.SSLExtension[] getEnabledExtensions(sun.security.ssl.SSLHandshake, sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/SSLHandshake;Lsun/security/ssl/ProtocolVersion;)[Lsun/security/ssl/SSLExtension;
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
1: aload 1
iconst_1
anewarray sun.security.ssl.ProtocolVersion
dup
iconst_0
aload 2
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
2: invokevirtual sun.security.ssl.SSLConfiguration.getEnabledExtensions:(Lsun/security/ssl/SSLHandshake;Ljava/util/List;)[Lsun/security/ssl/SSLExtension;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/SSLConfiguration;
0 3 1 handshakeType Lsun/security/ssl/SSLHandshake;
0 3 2 protocolVersion Lsun/security/ssl/ProtocolVersion;
MethodParameters:
Name Flags
handshakeType
protocolVersion
sun.security.ssl.SSLExtension[] getEnabledExtensions(sun.security.ssl.SSLHandshake, java.util.List<sun.security.ssl.ProtocolVersion>);
descriptor: (Lsun/security/ssl/SSLHandshake;Ljava/util/List;)[Lsun/security/ssl/SSLExtension;
flags: (0x0000)
Code:
stack=2, locals=10, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: invokestatic sun.security.ssl.SSLExtension.values:()[Lsun/security/ssl/SSLExtension;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLHandshake java.util.List java.util.List top int int sun.security.ssl.SSLExtension[]
StackMap stack:
2: aload 7
iload 5
aaload
astore 4
start local 4 3: aload 4
getfield sun.security.ssl.SSLExtension.handshakeType:Lsun/security/ssl/SSLHandshake;
aload 1
if_acmpne 12
4: aload 0
aload 4
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 6
5: goto 12
6: StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLHandshake java.util.List java.util.List sun.security.ssl.SSLExtension int int sun.security.ssl.SSLExtension[]
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 11
StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLHandshake java.util.List java.util.List sun.security.ssl.SSLExtension int int sun.security.ssl.SSLExtension[] top java.util.Iterator
StackMap stack:
7: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.ProtocolVersion
astore 8
start local 8 8: aload 4
aload 8
invokevirtual sun.security.ssl.SSLExtension.isAvailable:(Lsun/security/ssl/ProtocolVersion;)Z
ifeq 11
9: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: goto 12
end local 8 11: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 4 12: StackMap locals: sun.security.ssl.SSLConfiguration sun.security.ssl.SSLHandshake java.util.List java.util.List top int int sun.security.ssl.SSLExtension[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 2
14: aload 3
iconst_0
anewarray sun.security.ssl.SSLExtension
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast sun.security.ssl.SSLExtension[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/ssl/SSLConfiguration;
0 15 1 handshakeType Lsun/security/ssl/SSLHandshake;
0 15 2 activeProtocols Ljava/util/List<Lsun/security/ssl/ProtocolVersion;>;
1 15 3 extensions Ljava/util/List<Lsun/security/ssl/SSLExtension;>;
3 12 4 extension Lsun/security/ssl/SSLExtension;
8 11 8 protocolVersion Lsun/security/ssl/ProtocolVersion;
Signature: (Lsun/security/ssl/SSLHandshake;Ljava/util/List<Lsun/security/ssl/ProtocolVersion;>;)[Lsun/security/ssl/SSLExtension;
MethodParameters:
Name Flags
handshakeType
activeProtocols
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast sun.security.ssl.SSLConfiguration
astore 1
start local 1 1: aload 0
getfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
ifnull 6
2: aload 1
3: aload 0
getfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
invokevirtual java.util.HashMap.clone:()Ljava/lang/Object;
4: checkcast java.util.HashMap
5: putfield sun.security.ssl.SSLConfiguration.handshakeListeners:Ljava/util/HashMap;
6: StackMap locals: sun.security.ssl.SSLConfiguration
StackMap stack:
aload 1
7: areturn
end local 1 8: StackMap locals: sun.security.ssl.SSLConfiguration
StackMap stack: java.lang.CloneNotSupportedException
pop
9: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/SSLConfiguration;
1 8 1 config Lsun/security/ssl/SSLConfiguration;
Exception table:
from to target type
0 7 8 Class java.lang.CloneNotSupportedException
static int[] $SWITCH_TABLE$sun$security$ssl$ClientAuthType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.security.ssl.SSLConfiguration.$SWITCH_TABLE$sun$security$ssl$ClientAuthType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic sun.security.ssl.ClientAuthType.values:()[Lsun/security/ssl/ClientAuthType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic sun.security.ssl.ClientAuthType.CLIENT_AUTH_NONE:Lsun/security/ssl/ClientAuthType;
invokevirtual sun.security.ssl.ClientAuthType.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic sun.security.ssl.ClientAuthType.CLIENT_AUTH_REQUESTED:Lsun/security/ssl/ClientAuthType;
invokevirtual sun.security.ssl.ClientAuthType.ordinal:()I
iconst_2
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic sun.security.ssl.ClientAuthType.CLIENT_AUTH_REQUIRED:Lsun/security/ssl/ClientAuthType;
invokevirtual sun.security.ssl.ClientAuthType.ordinal:()I
iconst_3
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic sun.security.ssl.SSLConfiguration.$SWITCH_TABLE$sun$security$ssl$ClientAuthType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "SSLConfiguration.java"
InnerClasses:
final ClientExtensions = sun.security.ssl.SSLExtension$ClientExtensions of sun.security.ssl.SSLExtension
final ServerExtensions = sun.security.ssl.SSLExtension$ServerExtensions of sun.security.ssl.SSLExtension