final class sun.security.ssl.ServerNameExtension extends sun.security.ssl.HelloExtension
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ServerNameExtension
super_class: sun.security.ssl.HelloExtension
{
static final int NAME_HOST_NAME;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
private java.util.List<sun.security.ssl.ServerNameExtension$ServerName> names;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lsun/security/ssl/ServerNameExtension$ServerName;>;
void <init>(sun.security.ssl.HandshakeInStream, int);
descriptor: (Lsun/security/ssl/HandshakeInStream;I)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic sun.security.ssl.ExtensionType.EXT_SERVER_NAME:Lsun/security/ssl/ExtensionType;
invokespecial sun.security.ssl.HelloExtension.<init>:(Lsun/security/ssl/ExtensionType;)V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
2: goto 6
3: StackMap locals: sun.security.ssl.ServerNameExtension sun.security.ssl.HandshakeInStream int
StackMap stack:
new sun.security.ssl.ServerNameExtension$ServerName
dup
aload 1
invokespecial sun.security.ssl.ServerNameExtension$ServerName.<init>:(Lsun/security/ssl/HandshakeInStream;)V
astore 3
start local 3 4: aload 0
getfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: iload 2
aload 3
getfield sun.security.ssl.ServerNameExtension$ServerName.length:I
iconst_2
iadd
isub
istore 2
end local 3 6: StackMap locals:
StackMap stack:
iload 2
ifgt 3
7: iload 2
ifeq 9
8: new javax.net.ssl.SSLProtocolException
dup
ldc "Invalid server_name extension"
invokespecial javax.net.ssl.SSLProtocolException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/ssl/ServerNameExtension;
0 10 1 s Lsun/security/ssl/HandshakeInStream;
0 10 2 len I
4 6 3 name Lsun/security/ssl/ServerNameExtension$ServerName;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
len
int length();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.RuntimeException
dup
ldc "not yet supported"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ServerNameExtension;
void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.RuntimeException
dup
ldc "not yet supported"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ServerNameExtension;
0 1 1 s Lsun/security/ssl/HandshakeOutStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Unsupported extension "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.ssl.ServerNameExtension.type:Lsun/security/ssl/ExtensionType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.ssl.ServerNameExtension.names:Ljava/util/List;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ServerNameExtension;
}
SourceFile: "HelloExtensions.java"
NestMembers:
sun.security.ssl.ServerNameExtension$ServerName
InnerClasses:
ServerName = sun.security.ssl.ServerNameExtension$ServerName of sun.security.ssl.ServerNameExtension