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 870
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 871
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 872
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 875
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareSpec
StackMap stack:
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
15: .line 876
aload 6 /* serverGroup */
ifnonnull 21
16: .line 877
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 878
new java.lang.StringBuilder
dup
ldc "Unsupported HelloRetryRequest selected group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: .line 879
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;
19: .line 878
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
20: .line 877
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
21: .line 882
StackMap locals: 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 27
22: .line 883
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 884
new java.lang.StringBuilder
dup
ldc "Unexpected HelloRetryRequest selected group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
24: .line 885
aload 6 /* serverGroup */
getfield sun.security.ssl.NamedGroup.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
25: .line 884
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: .line 883
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
27: .line 895
StackMap locals:
StackMap stack:
aload 4 /* chc */
aload 6 /* serverGroup */
putfield sun.security.ssl.ClientHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/NamedGroup;
28: .line 896
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 897
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 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/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