final class sun.security.ssl.HelloExtensions
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.HelloExtensions
super_class: java.lang.Object
{
private java.util.List<sun.security.ssl.HelloExtension> extensions;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lsun/security/ssl/HelloExtension;>;
private int encodedLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/HelloExtensions;
void <init>(sun.security.ssl.HandshakeInStream);
descriptor: (Lsun/security/ssl/HandshakeInStream;)V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt16:()I
istore 2
start local 2 2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
3: aload 0
iload 2
iconst_2
iadd
putfield sun.security.ssl.HelloExtensions.encodedLength:I
4: goto 27
5: StackMap locals: sun.security.ssl.HelloExtensions sun.security.ssl.HandshakeInStream int
StackMap stack:
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt16:()I
istore 3
start local 3 6: aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt16:()I
istore 4
start local 4 7: iload 3
invokestatic sun.security.ssl.ExtensionType.get:(I)Lsun/security/ssl/ExtensionType;
astore 5
start local 5 8: aload 5
getstatic sun.security.ssl.ExtensionType.EXT_SERVER_NAME:Lsun/security/ssl/ExtensionType;
if_acmpne 11
9: new sun.security.ssl.ServerNameExtension
dup
aload 1
iload 4
invokespecial sun.security.ssl.ServerNameExtension.<init>:(Lsun/security/ssl/HandshakeInStream;I)V
astore 6
start local 6 10: goto 25
end local 6 StackMap locals: int int sun.security.ssl.ExtensionType
StackMap stack:
11: aload 5
getstatic sun.security.ssl.ExtensionType.EXT_ELLIPTIC_CURVES:Lsun/security/ssl/ExtensionType;
if_acmpne 14
12: new sun.security.ssl.SupportedEllipticCurvesExtension
dup
aload 1
iload 4
invokespecial sun.security.ssl.SupportedEllipticCurvesExtension.<init>:(Lsun/security/ssl/HandshakeInStream;I)V
astore 6
start local 6 13: goto 25
end local 6 StackMap locals:
StackMap stack:
14: aload 5
getstatic sun.security.ssl.ExtensionType.EXT_EC_POINT_FORMATS:Lsun/security/ssl/ExtensionType;
if_acmpne 18
15: new sun.security.ssl.SupportedEllipticPointFormatsExtension
dup
aload 1
iload 4
invokespecial sun.security.ssl.SupportedEllipticPointFormatsExtension.<init>:(Lsun/security/ssl/HandshakeInStream;I)V
16: astore 6
start local 6 17: goto 25
end local 6 StackMap locals:
StackMap stack:
18: aload 5
getstatic sun.security.ssl.ExtensionType.EXT_RENEGOTIATION_INFO:Lsun/security/ssl/ExtensionType;
if_acmpne 21
19: new sun.security.ssl.RenegotiationInfoExtension
dup
aload 1
iload 4
invokespecial sun.security.ssl.RenegotiationInfoExtension.<init>:(Lsun/security/ssl/HandshakeInStream;I)V
astore 6
start local 6 20: goto 25
end local 6 StackMap locals:
StackMap stack:
21: aload 5
getstatic sun.security.ssl.ExtensionType.EXT_EXTENDED_MASTER_SECRET:Lsun/security/ssl/ExtensionType;
if_acmpne 24
22: new sun.security.ssl.ExtendedMasterSecretExtension
dup
aload 1
iload 4
invokespecial sun.security.ssl.ExtendedMasterSecretExtension.<init>:(Lsun/security/ssl/HandshakeInStream;I)V
astore 6
start local 6 23: goto 25
end local 6 24: StackMap locals:
StackMap stack:
new sun.security.ssl.UnknownExtension
dup
aload 1
iload 4
aload 5
invokespecial sun.security.ssl.UnknownExtension.<init>:(Lsun/security/ssl/HandshakeInStream;ILsun/security/ssl/ExtensionType;)V
astore 6
start local 6 25: StackMap locals: sun.security.ssl.HelloExtension
StackMap stack:
aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
26: iload 2
iload 4
iconst_4
iadd
isub
istore 2
end local 6 end local 5 end local 4 end local 3 27: StackMap locals: sun.security.ssl.HelloExtensions sun.security.ssl.HandshakeInStream int
StackMap stack:
iload 2
ifgt 5
28: iload 2
ifeq 32
29: new javax.net.ssl.SSLProtocolException
dup
30: ldc "Error parsing extensions: extra data"
31: invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/security/ssl/HelloExtensions;
0 33 1 s Lsun/security/ssl/HandshakeInStream;
2 33 2 len I
6 27 3 type I
7 27 4 extlen I
8 27 5 extType Lsun/security/ssl/ExtensionType;
10 11 6 extension Lsun/security/ssl/HelloExtension;
13 14 6 extension Lsun/security/ssl/HelloExtension;
17 18 6 extension Lsun/security/ssl/HelloExtension;
20 21 6 extension Lsun/security/ssl/HelloExtension;
23 24 6 extension Lsun/security/ssl/HelloExtension;
25 27 6 extension Lsun/security/ssl/HelloExtension;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
java.util.List<sun.security.ssl.HelloExtension> list();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HelloExtensions;
Signature: ()Ljava/util/List<Lsun/security/ssl/HelloExtension;>;
void add(sun.security.ssl.HelloExtension);
descriptor: (Lsun/security/ssl/HelloExtension;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 2
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
iconst_m1
putfield sun.security.ssl.HelloExtensions.encodedLength:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HelloExtensions;
0 5 1 ext Lsun/security/ssl/HelloExtension;
MethodParameters:
Name Flags
ext
sun.security.ssl.HelloExtension get(sun.security.ssl.ExtensionType);
descriptor: (Lsun/security/ssl/ExtensionType;)Lsun/security/ssl/HelloExtension;
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: sun.security.ssl.HelloExtensions sun.security.ssl.ExtensionType top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.HelloExtension
astore 2
start local 2 2: aload 2
getfield sun.security.ssl.HelloExtension.type:Lsun/security/ssl/ExtensionType;
aload 1
if_acmpne 4
3: aload 2
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/HelloExtensions;
0 6 1 type Lsun/security/ssl/ExtensionType;
2 4 2 ext Lsun/security/ssl/HelloExtension;
MethodParameters:
Name Flags
type
int length();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HelloExtensions.encodedLength:I
iflt 2
1: aload 0
getfield sun.security.ssl.HelloExtensions.encodedLength:I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 5
3: aload 0
iconst_0
putfield sun.security.ssl.HelloExtensions.encodedLength:I
4: goto 10
5: StackMap locals:
StackMap stack:
aload 0
iconst_2
putfield sun.security.ssl.HelloExtensions.encodedLength:I
6: aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
goto 9
StackMap locals: sun.security.ssl.HelloExtensions top java.util.Iterator
StackMap stack:
7: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.HelloExtension
astore 1
start local 1 8: aload 0
dup
getfield sun.security.ssl.HelloExtensions.encodedLength:I
aload 1
invokevirtual sun.security.ssl.HelloExtension.length:()I
iadd
putfield sun.security.ssl.HelloExtensions.encodedLength:I
end local 1 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: StackMap locals: sun.security.ssl.HelloExtensions
StackMap stack:
aload 0
getfield sun.security.ssl.HelloExtensions.encodedLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/HelloExtensions;
8 9 1 ext Lsun/security/ssl/HelloExtension;
void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.ssl.HelloExtensions.length:()I
istore 2
start local 2 1: iload 2
ifne 3
2: return
3: StackMap locals: int
StackMap stack:
aload 1
iload 2
iconst_2
isub
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
4: aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: sun.security.ssl.HelloExtensions sun.security.ssl.HandshakeOutStream int top java.util.Iterator
StackMap stack:
5: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.HelloExtension
astore 3
start local 3 6: aload 3
aload 1
invokevirtual sun.security.ssl.HelloExtension.send:(Lsun/security/ssl/HandshakeOutStream;)V
end local 3 7: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/HelloExtensions;
0 9 1 s Lsun/security/ssl/HandshakeOutStream;
1 9 2 length I
6 7 3 ext Lsun/security/ssl/HelloExtension;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
void print(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.HelloExtensions.extensions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: sun.security.ssl.HelloExtensions java.io.PrintStream top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.HelloExtension
astore 2
start local 2 2: aload 1
aload 2
invokevirtual sun.security.ssl.HelloExtension.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HelloExtensions;
0 5 1 s Ljava/io/PrintStream;
2 3 2 ext Lsun/security/ssl/HelloExtension;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "HelloExtensions.java"