class sun.security.ssl.SupportedGroupsExtension$SupportedGroups
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.ssl.SupportedGroupsExtension$SupportedGroups
super_class: java.lang.Object
{
static final boolean enableFFDHE;
descriptor: Z
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final sun.security.ssl.NamedGroup[] supportedNamedGroups;
descriptor: [Lsun/security/ssl/NamedGroup;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=8, args_size=0
0: ldc "jsse.enableFFDHE"
iconst_1
invokestatic sun.security.ssl.Utilities.getBooleanProperty:(Ljava/lang/String;Z)Z
1: putstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.enableFFDHE:Z
2: ldc "jdk.tls.namedGroups"
invokestatic sun.security.action.GetPropertyAction.privilegedGetProperty:(Ljava/lang/String;)Ljava/lang/String;
3: astore 0
start local 0 4: aload 0
ifnull 8
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 8
5: aload 0
invokevirtual java.lang.String.length:()I
iconst_1
if_icmple 8
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 8
6: aload 0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 34
if_icmpne 8
7: aload 0
iconst_1
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 0
8: StackMap locals: java.lang.String
StackMap stack:
aload 0
ifnull 27
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifne 27
9: aload 0
ldc ","
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 10: new java.util.ArrayList
dup
aload 2
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 11: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 20
StackMap locals: java.lang.String java.util.ArrayList java.lang.String[] top int int java.lang.String[]
StackMap stack:
12: aload 6
iload 4
aaload
astore 3
start local 3 13: aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
14: aload 3
invokevirtual java.lang.String.isEmpty:()Z
ifne 19
15: aload 3
invokestatic sun.security.ssl.NamedGroup.nameOf:(Ljava/lang/String;)Lsun/security/ssl/NamedGroup;
astore 7
start local 7 16: aload 7
ifnull 19
17: aload 7
getfield sun.security.ssl.NamedGroup.isAvailable:Z
ifeq 19
18: aload 1
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 3 19: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
iload 5
if_icmplt 12
21: aload 1
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 49
22: new java.lang.IllegalArgumentException
dup
23: new java.lang.StringBuilder
dup
ldc "System property jdk.tls.namedGroups("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") contains no supported named groups"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 27: StackMap locals: java.lang.String
StackMap stack:
bipush 10
anewarray sun.security.ssl.NamedGroup
dup
iconst_0
28: getstatic sun.security.ssl.NamedGroup.X25519:Lsun/security/ssl/NamedGroup;
aastore
dup
iconst_1
29: getstatic sun.security.ssl.NamedGroup.SECP256_R1:Lsun/security/ssl/NamedGroup;
aastore
dup
iconst_2
30: getstatic sun.security.ssl.NamedGroup.SECP384_R1:Lsun/security/ssl/NamedGroup;
aastore
dup
iconst_3
31: getstatic sun.security.ssl.NamedGroup.SECP521_R1:Lsun/security/ssl/NamedGroup;
aastore
dup
iconst_4
32: getstatic sun.security.ssl.NamedGroup.X448:Lsun/security/ssl/NamedGroup;
aastore
dup
iconst_5
33: getstatic sun.security.ssl.NamedGroup.FFDHE_2048:Lsun/security/ssl/NamedGroup;
aastore
dup
bipush 6
34: getstatic sun.security.ssl.NamedGroup.FFDHE_3072:Lsun/security/ssl/NamedGroup;
aastore
dup
bipush 7
35: getstatic sun.security.ssl.NamedGroup.FFDHE_4096:Lsun/security/ssl/NamedGroup;
aastore
dup
bipush 8
36: getstatic sun.security.ssl.NamedGroup.FFDHE_6144:Lsun/security/ssl/NamedGroup;
aastore
dup
bipush 9
37: getstatic sun.security.ssl.NamedGroup.FFDHE_8192:Lsun/security/ssl/NamedGroup;
aastore
38: astore 2
start local 2 39: new java.util.ArrayList
dup
aload 2
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 40: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 45
StackMap locals: java.lang.String java.util.ArrayList sun.security.ssl.NamedGroup[] top int int sun.security.ssl.NamedGroup[]
StackMap stack:
41: aload 6
iload 4
aaload
astore 3
start local 3 42: aload 3
getfield sun.security.ssl.NamedGroup.isAvailable:Z
ifeq 44
43: aload 1
aload 3
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 44: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
45: iload 4
iload 5
if_icmplt 41
46: aload 1
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 49
47: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 49
ldc "ssl"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 49
48: ldc "No default named groups"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 2 49: StackMap locals: java.lang.String java.util.ArrayList
StackMap stack:
aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray sun.security.ssl.NamedGroup
putstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/NamedGroup;
50: iconst_0
istore 2
start local 2 51: aload 1
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 4
goto 54
StackMap locals: java.lang.String java.util.ArrayList int top java.util.Iterator
StackMap stack:
52: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.NamedGroup
astore 3
start local 3 53: getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/NamedGroup;
iload 2
iinc 2 1
aload 3
aastore
end local 3 54: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 52
end local 2 end local 1 end local 0 55: return
LocalVariableTable:
Start End Slot Name Signature
4 55 0 property Ljava/lang/String;
11 27 1 groupList Ljava/util/ArrayList<Lsun/security/ssl/NamedGroup;>;
40 55 1 groupList Ljava/util/ArrayList<Lsun/security/ssl/NamedGroup;>;
10 27 2 groups [Ljava/lang/String;
13 19 3 group Ljava/lang/String;
16 19 7 namedGroup Lsun/security/ssl/NamedGroup;
39 49 2 groups [Lsun/security/ssl/NamedGroup;
42 44 3 group Lsun/security/ssl/NamedGroup;
51 55 2 i I
53 54 3 namedGroup Lsun/security/ssl/NamedGroup;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/SupportedGroupsExtension$SupportedGroups;
static boolean isActivatable(java.security.AlgorithmConstraints, sun.security.ssl.NamedGroup$NamedGroupSpec);
descriptor: (Ljava/security/AlgorithmConstraints;Lsun/security/ssl/NamedGroup$NamedGroupSpec;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/NamedGroup;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 10
StackMap locals: java.security.AlgorithmConstraints sun.security.ssl.NamedGroup$NamedGroupSpec int top int int sun.security.ssl.NamedGroup[]
StackMap stack:
2: aload 6
iload 4
aaload
astore 3
start local 3 3: aload 3
getfield sun.security.ssl.NamedGroup.isAvailable:Z
ifeq 9
aload 3
getfield sun.security.ssl.NamedGroup.spec:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
aload 1
if_acmpne 9
4: aload 3
aload 0
invokevirtual sun.security.ssl.NamedGroup.isPermitted:(Ljava/security/AlgorithmConstraints;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals: java.security.AlgorithmConstraints sun.security.ssl.NamedGroup$NamedGroupSpec int sun.security.ssl.NamedGroup int int sun.security.ssl.NamedGroup[]
StackMap stack:
iload 2
ifne 9
7: aload 1
getstatic sun.security.ssl.NamedGroup$NamedGroupSpec.NAMED_GROUP_FFDHE:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
if_acmpne 9
8: iconst_1
istore 2
end local 3 9: StackMap locals: java.security.AlgorithmConstraints sun.security.ssl.NamedGroup$NamedGroupSpec int top int int sun.security.ssl.NamedGroup[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmplt 2
11: iload 2
ifne 12
aload 1
getstatic sun.security.ssl.NamedGroup$NamedGroupSpec.NAMED_GROUP_FFDHE:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
if_acmpne 12
iconst_1
ireturn
StackMap locals: java.security.AlgorithmConstraints sun.security.ssl.NamedGroup$NamedGroupSpec int
StackMap stack:
12: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 constraints Ljava/security/AlgorithmConstraints;
0 13 1 type Lsun/security/ssl/NamedGroup$NamedGroupSpec;
1 13 2 hasFFDHEGroups Z
3 9 3 namedGroup Lsun/security/ssl/NamedGroup;
MethodParameters:
Name Flags
constraints
type
static boolean isActivatable(java.security.AlgorithmConstraints, sun.security.ssl.NamedGroup);
descriptor: (Ljava/security/AlgorithmConstraints;Lsun/security/ssl/NamedGroup;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getfield sun.security.ssl.NamedGroup.isAvailable:Z
ifeq 1
aload 1
invokestatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.isSupported:(Lsun/security/ssl/NamedGroup;)Z
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual sun.security.ssl.NamedGroup.isPermitted:(Ljava/security/AlgorithmConstraints;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 constraints Ljava/security/AlgorithmConstraints;
0 3 1 namedGroup Lsun/security/ssl/NamedGroup;
MethodParameters:
Name Flags
constraints
namedGroup
static boolean isSupported(sun.security.ssl.NamedGroup);
descriptor: (Lsun/security/ssl/NamedGroup;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/NamedGroup;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: sun.security.ssl.NamedGroup top int int sun.security.ssl.NamedGroup[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 0
getfield sun.security.ssl.NamedGroup.id:I
aload 1
getfield sun.security.ssl.NamedGroup.id:I
if_icmpne 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 namedGroup Lsun/security/ssl/NamedGroup;
2 4 1 group Lsun/security/ssl/NamedGroup;
MethodParameters:
Name Flags
namedGroup
static sun.security.ssl.NamedGroup getPreferredGroup(sun.security.ssl.ProtocolVersion, java.security.AlgorithmConstraints, sun.security.ssl.NamedGroup$NamedGroupSpec[], java.util.List<sun.security.ssl.NamedGroup>);
descriptor: (Lsun/security/ssl/ProtocolVersion;Ljava/security/AlgorithmConstraints;[Lsun/security/ssl/NamedGroup$NamedGroupSpec;Ljava/util/List;)Lsun/security/ssl/NamedGroup;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 7
StackMap locals: sun.security.ssl.ProtocolVersion java.security.AlgorithmConstraints sun.security.ssl.NamedGroup$NamedGroupSpec[] java.util.List top java.util.Iterator
StackMap stack:
1: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.NamedGroup
astore 4
start local 4 2: aload 2
aload 4
getfield sun.security.ssl.NamedGroup.spec:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
invokestatic sun.security.ssl.NamedGroup$NamedGroupSpec.arrayContains:([Lsun/security/ssl/NamedGroup$NamedGroupSpec;Lsun/security/ssl/NamedGroup$NamedGroupSpec;)Z
ifeq 7
3: aload 4
aload 0
invokevirtual sun.security.ssl.NamedGroup.isAvailable:(Lsun/security/ssl/ProtocolVersion;)Z
ifeq 7
4: aload 4
invokestatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.isSupported:(Lsun/security/ssl/NamedGroup;)Z
ifeq 7
5: aload 4
aload 1
invokevirtual sun.security.ssl.NamedGroup.isPermitted:(Ljava/security/AlgorithmConstraints;)Z
ifeq 7
6: aload 4
areturn
end local 4 7: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
8: aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 negotiatedProtocol Lsun/security/ssl/ProtocolVersion;
0 9 1 constraints Ljava/security/AlgorithmConstraints;
0 9 2 types [Lsun/security/ssl/NamedGroup$NamedGroupSpec;
0 9 3 requestedNamedGroups Ljava/util/List<Lsun/security/ssl/NamedGroup;>;
2 7 4 namedGroup Lsun/security/ssl/NamedGroup;
Signature: (Lsun/security/ssl/ProtocolVersion;Ljava/security/AlgorithmConstraints;[Lsun/security/ssl/NamedGroup$NamedGroupSpec;Ljava/util/List<Lsun/security/ssl/NamedGroup;>;)Lsun/security/ssl/NamedGroup;
MethodParameters:
Name Flags
negotiatedProtocol
constraints
types
requestedNamedGroups
static sun.security.ssl.NamedGroup getPreferredGroup(sun.security.ssl.ProtocolVersion, java.security.AlgorithmConstraints, sun.security.ssl.NamedGroup$NamedGroupSpec[]);
descriptor: (Lsun/security/ssl/ProtocolVersion;Ljava/security/AlgorithmConstraints;[Lsun/security/ssl/NamedGroup$NamedGroupSpec;)Lsun/security/ssl/NamedGroup;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/NamedGroup;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: sun.security.ssl.ProtocolVersion java.security.AlgorithmConstraints sun.security.ssl.NamedGroup$NamedGroupSpec[] top int int sun.security.ssl.NamedGroup[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 2
aload 3
getfield sun.security.ssl.NamedGroup.spec:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
invokestatic sun.security.ssl.NamedGroup$NamedGroupSpec.arrayContains:([Lsun/security/ssl/NamedGroup$NamedGroupSpec;Lsun/security/ssl/NamedGroup$NamedGroupSpec;)Z
ifeq 6
3: aload 3
aload 0
invokevirtual sun.security.ssl.NamedGroup.isAvailable:(Lsun/security/ssl/ProtocolVersion;)Z
ifeq 6
4: aload 3
aload 1
invokevirtual sun.security.ssl.NamedGroup.isPermitted:(Ljava/security/AlgorithmConstraints;)Z
ifeq 6
5: aload 3
areturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 1
8: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 negotiatedProtocol Lsun/security/ssl/ProtocolVersion;
0 9 1 constraints Ljava/security/AlgorithmConstraints;
0 9 2 types [Lsun/security/ssl/NamedGroup$NamedGroupSpec;
2 6 3 namedGroup Lsun/security/ssl/NamedGroup;
MethodParameters:
Name Flags
negotiatedProtocol
constraints
types
}
SourceFile: "SupportedGroupsExtension.java"
NestHost: sun.security.ssl.SupportedGroupsExtension
InnerClasses:
final NamedGroupSpec = sun.security.ssl.NamedGroup$NamedGroupSpec of sun.security.ssl.NamedGroup
SupportedGroups = sun.security.ssl.SupportedGroupsExtension$SupportedGroups of sun.security.ssl.SupportedGroupsExtension