final class sun.security.ssl.ServerNameExtension$SHServerNameConsumer implements sun.security.ssl.SSLExtension$ExtensionConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ServerNameExtension$SHServerNameConsumer
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.security.ssl.ServerNameExtension$SHServerNameConsumer this
0: .line 471
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 473
return
end local 0 // sun.security.ssl.ServerNameExtension$SHServerNameConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/ServerNameExtension$SHServerNameConsumer;
public void consume(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;Ljava/nio/ByteBuffer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=4
start local 0 // sun.security.ssl.ServerNameExtension$SHServerNameConsumer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
start local 3 // java.nio.ByteBuffer buffer
0: .line 479
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 4 /* chc */
start local 4 // sun.security.ssl.ClientHandshakeContext chc
1: .line 483
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_SERVER_NAME:Lsun/security/ssl/SSLExtension;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast sun.security.ssl.ServerNameExtension$CHServerNamesSpec
2: .line 482
astore 5 /* spec */
start local 5 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec spec
3: .line 484
aload 5 /* spec */
ifnonnull 7
4: .line 485
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
5: .line 486
ldc "Unexpected ServerHello server_name extension"
6: .line 485
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
7: .line 490
StackMap locals: sun.security.ssl.ClientHandshakeContext sun.security.ssl.ServerNameExtension$CHServerNamesSpec
StackMap stack:
aload 3 /* buffer */
invokevirtual java.nio.ByteBuffer.remaining:()I
ifeq 11
8: .line 491
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
9: .line 492
ldc "Invalid ServerHello server_name extension"
10: .line 491
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
11: .line 496
StackMap locals:
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
12: .line 497
getstatic sun.security.ssl.SSLExtension.SH_SERVER_NAME:Lsun/security/ssl/SSLExtension;
getstatic sun.security.ssl.ServerNameExtension$SHServerNamesSpec.DEFAULT:Lsun/security/ssl/ServerNameExtension$SHServerNamesSpec;
13: .line 496
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: .line 501
aload 4 /* chc */
aload 5 /* spec */
getfield sun.security.ssl.ServerNameExtension$CHServerNamesSpec.serverNames:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
putfield sun.security.ssl.ClientHandshakeContext.negotiatedServerName:Ljavax/net/ssl/SNIServerName;
15: .line 502
return
end local 5 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec spec
end local 4 // sun.security.ssl.ClientHandshakeContext chc
end local 3 // java.nio.ByteBuffer buffer
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.ServerNameExtension$SHServerNameConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/ssl/ServerNameExtension$SHServerNameConsumer;
0 16 1 context Lsun/security/ssl/ConnectionContext;
0 16 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 16 3 buffer Ljava/nio/ByteBuffer;
1 16 4 chc Lsun/security/ssl/ClientHandshakeContext;
3 16 5 spec Lsun/security/ssl/ServerNameExtension$CHServerNamesSpec;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
buffer
}
SourceFile: "ServerNameExtension.java"
NestHost: sun.security.ssl.ServerNameExtension
InnerClasses:
abstract ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
final CHServerNamesSpec = sun.security.ssl.ServerNameExtension$CHServerNamesSpec of sun.security.ssl.ServerNameExtension
private final SHServerNameConsumer = sun.security.ssl.ServerNameExtension$SHServerNameConsumer of sun.security.ssl.ServerNameExtension
final SHServerNamesSpec = sun.security.ssl.ServerNameExtension$SHServerNamesSpec of sun.security.ssl.ServerNameExtension