final class sun.security.ssl.ServerNameExtension$EEServerNameConsumer 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$EEServerNameConsumer
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$EEServerNameConsumer this
0: .line 562
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 564
return
end local 0 // sun.security.ssl.ServerNameExtension$EEServerNameConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/ServerNameExtension$EEServerNameConsumer;
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$EEServerNameConsumer 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 570
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 4 /* chc */
start local 4 // sun.security.ssl.ClientHandshakeContext chc
1: .line 574
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 573
astore 5 /* spec */
start local 5 // sun.security.ssl.ServerNameExtension$CHServerNamesSpec spec
3: .line 575
aload 5 /* spec */
ifnonnull 7
4: .line 576
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 577
ldc "Unexpected EncryptedExtensions server_name extension"
6: .line 576
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
7: .line 581
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 582
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 583
ldc "Invalid EncryptedExtensions server_name extension"
10: .line 582
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
11: .line 587
StackMap locals:
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
12: .line 588
getstatic sun.security.ssl.SSLExtension.EE_SERVER_NAME:Lsun/security/ssl/SSLExtension;
getstatic sun.security.ssl.ServerNameExtension$SHServerNamesSpec.DEFAULT:Lsun/security/ssl/ServerNameExtension$SHServerNamesSpec;
13: .line 587
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: .line 592
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 593
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$EEServerNameConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/ssl/ServerNameExtension$EEServerNameConsumer;
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 EEServerNameConsumer = sun.security.ssl.ServerNameExtension$EEServerNameConsumer of sun.security.ssl.ServerNameExtension
final SHServerNamesSpec = sun.security.ssl.ServerNameExtension$SHServerNamesSpec of sun.security.ssl.ServerNameExtension