final class sun.security.ssl.KeyShareExtension$HRRKeyShareConsumer implements sun.security.ssl.SSLExtension$ExtensionConsumer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.KeyShareExtension$HRRKeyShareConsumer
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.KeyShareExtension$HRRKeyShareConsumer this
0: .line 884
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 886
return
end local 0 // sun.security.ssl.KeyShareExtension$HRRKeyShareConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/KeyShareExtension$HRRKeyShareConsumer;
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=5, locals=7, args_size=4
start local 0 // sun.security.ssl.KeyShareExtension$HRRKeyShareConsumer 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 892
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 4 /* chc */
start local 4 // sun.security.ssl.ClientHandshakeContext chc
1: .line 895
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getstatic sun.security.ssl.SSLExtension.HRR_KEY_SHARE:Lsun/security/ssl/SSLExtension;
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 5
2: .line 896
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
3: .line 897
ldc "Unsupported key_share extension in HelloRetryRequest"
4: .line 896
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
5: .line 900
StackMap locals: sun.security.ssl.ClientHandshakeContext
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
ifnull 7
6: .line 901
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
7: .line 903
StackMap locals:
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
8: .line 904
ldc "Unexpected key_share extension in HelloRetryRequest"
9: .line 903
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
10: .line 910
StackMap locals:
StackMap stack:
new sun.security.ssl.KeyShareExtension$HRRKeyShareSpec
dup
aload 3 /* buffer */
invokespecial sun.security.ssl.KeyShareExtension$HRRKeyShareSpec.<init>:(Ljava/nio/ByteBuffer;)V
astore 5 /* spec */
start local 5 // sun.security.ssl.KeyShareExtension$HRRKeyShareSpec spec
11: .line 911
goto 14
end local 5 // sun.security.ssl.KeyShareExtension$HRRKeyShareSpec spec
StackMap locals:
StackMap stack: java.io.IOException
12: astore 6 /* ioe */
start local 6 // java.io.IOException ioe
13: .line 912
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
aload 6 /* ioe */
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 // java.io.IOException ioe
start local 5 // sun.security.ssl.KeyShareExtension$HRRKeyShareSpec spec
14: .line 915
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareSpec
StackMap stack:
aload 5 /* spec */
getfield sun.security.ssl.KeyShareExtension$HRRKeyShareSpec.selectedGroup:I
invokestatic sun.security.ssl.SupportedGroupsExtension$NamedGroup.valueOf:(I)Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
astore 6 /* serverGroup */
start local 6 // sun.security.ssl.SupportedGroupsExtension$NamedGroup serverGroup
15: .line 916
aload 6 /* serverGroup */
ifnonnull 21
16: .line 917
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
17: .line 918
new java.lang.StringBuilder
dup
ldc "Unsupported HelloRetryRequest selected group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: .line 919
aload 5 /* spec */
getfield sun.security.ssl.KeyShareExtension$HRRKeyShareSpec.selectedGroup:I
invokestatic sun.security.ssl.SupportedGroupsExtension$NamedGroup.nameOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: .line 918
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: .line 917
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
21: .line 922
StackMap locals: sun.security.ssl.SupportedGroupsExtension$NamedGroup
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
aload 6 /* serverGroup */
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 27
22: .line 923
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
23: .line 924
new java.lang.StringBuilder
dup
ldc "Unexpected HelloRetryRequest selected group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: .line 925
aload 6 /* serverGroup */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: .line 924
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: .line 923
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
27: .line 935
StackMap locals:
StackMap stack:
aload 4 /* chc */
aload 6 /* serverGroup */
putfield sun.security.ssl.ClientHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
28: .line 936
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.HRR_KEY_SHARE:Lsun/security/ssl/SSLExtension;
aload 5 /* spec */
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
29: .line 937
return
end local 6 // sun.security.ssl.SupportedGroupsExtension$NamedGroup serverGroup
end local 5 // sun.security.ssl.KeyShareExtension$HRRKeyShareSpec 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.KeyShareExtension$HRRKeyShareConsumer this
LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/security/ssl/KeyShareExtension$HRRKeyShareConsumer;
0 30 1 context Lsun/security/ssl/ConnectionContext;
0 30 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 30 3 buffer Ljava/nio/ByteBuffer;
1 30 4 chc Lsun/security/ssl/ClientHandshakeContext;
11 12 5 spec Lsun/security/ssl/KeyShareExtension$HRRKeyShareSpec;
14 30 5 spec Lsun/security/ssl/KeyShareExtension$HRRKeyShareSpec;
13 14 6 ioe Ljava/io/IOException;
15 30 6 serverGroup Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
Exception table:
from to target type
10 11 12 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
buffer
}
SourceFile: "KeyShareExtension.java"
NestHost: sun.security.ssl.KeyShareExtension
InnerClasses:
private final HRRKeyShareConsumer = sun.security.ssl.KeyShareExtension$HRRKeyShareConsumer of sun.security.ssl.KeyShareExtension
final HRRKeyShareSpec = sun.security.ssl.KeyShareExtension$HRRKeyShareSpec of sun.security.ssl.KeyShareExtension
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 NamedGroup = sun.security.ssl.SupportedGroupsExtension$NamedGroup of sun.security.ssl.SupportedGroupsExtension