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 844
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 846
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 852
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 4 /* chc */
start local 4 // sun.security.ssl.ClientHandshakeContext chc
1: .line 855
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 856
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 857
ldc "Unsupported key_share extension in HelloRetryRequest"
4: .line 856
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
5: .line 860
StackMap locals: sun.security.ssl.ClientHandshakeContext
StackMap stack:
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
ifnull 7
6: .line 861
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
7: .line 863
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 864
ldc "Unexpected key_share extension in HelloRetryRequest"
9: .line 863
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
10: .line 868
StackMap locals:
StackMap stack:
new sun.security.ssl.KeyShareExtension$HRRKeyShareSpec
dup
aload 4 /* chc */
aload 3 /* buffer */
invokespecial sun.security.ssl.KeyShareExtension$HRRKeyShareSpec.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
astore 5 /* spec */
start local 5 // sun.security.ssl.KeyShareExtension$HRRKeyShareSpec spec
11: .line 869
aload 5 /* spec */
getfield sun.security.ssl.KeyShareExtension$HRRKeyShareSpec.selectedGroup:I
invokestatic sun.security.ssl.NamedGroup.valueOf:(I)Lsun/security/ssl/NamedGroup;
astore 6 /* serverGroup */
start local 6 // sun.security.ssl.NamedGroup serverGroup
12: .line 870
aload 6 /* serverGroup */
ifnonnull 18
13: .line 871
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
14: .line 872
new java.lang.StringBuilder
dup
ldc "Unsupported HelloRetryRequest selected group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
15: .line 873
aload 5 /* spec */
getfield sun.security.ssl.KeyShareExtension$HRRKeyShareSpec.selectedGroup:I
invokestatic sun.security.ssl.NamedGroup.nameOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
16: .line 872
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: .line 871
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
18: .line 876
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareSpec sun.security.ssl.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 24
19: .line 877
aload 4 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
20: .line 878
new java.lang.StringBuilder
dup
ldc "Unexpected HelloRetryRequest selected group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
21: .line 879
aload 6 /* serverGroup */
getfield sun.security.ssl.NamedGroup.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: .line 878
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: .line 877
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
24: .line 889
StackMap locals:
StackMap stack:
aload 4 /* chc */
aload 6 /* serverGroup */
putfield sun.security.ssl.ClientHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/NamedGroup;
25: .line 890
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
26: .line 891
return
end local 6 // sun.security.ssl.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 27 0 this Lsun/security/ssl/KeyShareExtension$HRRKeyShareConsumer;
0 27 1 context Lsun/security/ssl/ConnectionContext;
0 27 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 27 3 buffer Ljava/nio/ByteBuffer;
1 27 4 chc Lsun/security/ssl/ClientHandshakeContext;
11 27 5 spec Lsun/security/ssl/KeyShareExtension$HRRKeyShareSpec;
12 27 6 serverGroup Lsun/security/ssl/NamedGroup;
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