final class sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec implements sun.security.ssl.SSLExtension$SSLExtensionSpec
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec
super_class: java.lang.Object
{
final int[] namedGroupsIds;
descriptor: [I
flags: (0x0010) ACC_FINAL
private void <init>(int[]);
descriptor: ([I)V
flags: (0x0002) ACC_PRIVATE
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
putfield sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.namedGroupsIds:[I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/SupportedGroupsExtension$SupportedGroupsSpec;
0 3 1 namedGroupsIds [I
MethodParameters:
Name Flags
namedGroupsIds
private void <init>(java.util.List<sun.security.ssl.NamedGroup>);
descriptor: (Ljava/util/List;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokeinterface java.util.List.size:()I
newarray 10
putfield sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.namedGroupsIds:[I
2: iconst_0
istore 2
start local 2 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec java.util.List int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.NamedGroup
astore 3
start local 3 5: aload 0
getfield sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.namedGroupsIds:[I
iload 2
iinc 2 1
aload 3
getfield sun.security.ssl.NamedGroup.id:I
iastore
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/SupportedGroupsExtension$SupportedGroupsSpec;
0 8 1 namedGroups Ljava/util/List<Lsun/security/ssl/NamedGroup;>;
3 8 2 i I
5 6 3 ng Lsun/security/ssl/NamedGroup;
Signature: (Ljava/util/List<Lsun/security/ssl/NamedGroup;>;)V
MethodParameters:
Name Flags
namedGroups
private void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmpge 7
2: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
3: new javax.net.ssl.SSLProtocolException
dup
4: ldc "Invalid supported_groups extension: insufficient data"
5: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
6: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
7: StackMap locals: sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec sun.security.ssl.HandshakeContext java.nio.ByteBuffer
StackMap stack:
aload 2
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
astore 3
start local 3 8: aload 2
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 14
9: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
10: new javax.net.ssl.SSLProtocolException
dup
11: ldc "Invalid supported_groups extension: unknown extra data"
12: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
13: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
14: StackMap locals: byte[]
StackMap stack:
aload 3
ifnull 15
aload 3
arraylength
ifeq 15
aload 3
arraylength
iconst_2
irem
ifeq 20
15: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
16: new javax.net.ssl.SSLProtocolException
dup
17: ldc "Invalid supported_groups extension: incomplete data"
18: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
19: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
20: StackMap locals:
StackMap stack:
aload 3
arraylength
iconst_2
idiv
newarray 10
astore 4
start local 4 21: iconst_0
istore 5
start local 5 22: iconst_0
istore 6
start local 6 23: goto 25
24: StackMap locals: int[] int int
StackMap stack:
aload 4
iload 6
iinc 6 1
aload 3
iload 5
iinc 5 1
baload
sipush 255
iand
bipush 8
ishl
aload 3
iload 5
iinc 5 1
baload
sipush 255
iand
ior
iastore
25: StackMap locals:
StackMap stack:
iload 5
aload 3
arraylength
if_icmplt 24
end local 6 end local 5 26: aload 0
aload 4
putfield sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.namedGroupsIds:[I
27: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/security/ssl/SupportedGroupsExtension$SupportedGroupsSpec;
0 28 1 hc Lsun/security/ssl/HandshakeContext;
0 28 2 m Ljava/nio/ByteBuffer;
8 28 3 ngs [B
21 28 4 ids [I
22 26 5 i I
23 26 6 j I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hc
m
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: new java.text.MessageFormat
dup
1: ldc "\"versions\": '['{0}']'"
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
2: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 3: aload 0
getfield sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.namedGroupsIds:[I
ifnull 4
aload 0
getfield sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.namedGroupsIds:[I
arraylength
ifne 8
4: StackMap locals: java.text.MessageFormat
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
5: ldc "<no supported named group specified>"
aastore
6: astore 2
start local 2 7: aload 1
aload 2
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 8: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
sipush 512
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 2
start local 2 9: iconst_1
istore 3
start local 3 10: aload 0
getfield sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.namedGroupsIds:[I
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 18
StackMap locals: sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec java.text.MessageFormat java.lang.StringBuilder int top int int int[]
StackMap stack:
11: aload 7
iload 5
iaload
istore 4
start local 4 12: iload 3
ifeq 15
13: iconst_0
istore 3
14: goto 16
15: StackMap locals: sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec java.text.MessageFormat java.lang.StringBuilder int int int int int[]
StackMap stack:
aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
16: StackMap locals:
StackMap stack:
aload 2
iload 4
invokestatic sun.security.ssl.NamedGroup.nameOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 4 17: iinc 5 1
StackMap locals: sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec java.text.MessageFormat java.lang.StringBuilder int top int int int[]
StackMap stack:
18: iload 5
iload 6
if_icmplt 11
19: iconst_1
anewarray java.lang.Object
dup
iconst_0
20: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aastore
21: astore 4
start local 4 22: aload 1
aload 4
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/ssl/SupportedGroupsExtension$SupportedGroupsSpec;
3 23 1 messageFormat Ljava/text/MessageFormat;
7 8 2 messageFields [Ljava/lang/Object;
9 23 2 builder Ljava/lang/StringBuilder;
10 23 3 isFirst Z
12 17 4 ngid I
22 23 4 messageFields [Ljava/lang/Object;
}
SourceFile: "SupportedGroupsExtension.java"
NestHost: sun.security.ssl.SupportedGroupsExtension
InnerClasses:
abstract SSLExtensionSpec = sun.security.ssl.SSLExtension$SSLExtensionSpec of sun.security.ssl.SSLExtension
final SupportedGroupsSpec = sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec of sun.security.ssl.SupportedGroupsExtension