final class sun.security.ssl.KeyShareExtension$CHKeyShareConsumer 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$CHKeyShareConsumer
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/KeyShareExtension$CHKeyShareConsumer;
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=4, locals=11, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
checkcast sun.security.ssl.ServerHandshakeContext
astore 4
start local 4 1: aload 4
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 6
2: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 5
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 5
3: ldc "The key_share extension has been loaded"
iconst_0
anewarray java.lang.Object
4: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 4
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 11
7: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 10
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 10
8: ldc "Ignore unavailable key_share extension"
iconst_0
anewarray java.lang.Object
9: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
return
11: StackMap locals:
StackMap stack:
new sun.security.ssl.KeyShareExtension$CHKeyShareSpec
dup
aload 4
aload 3
invokespecial sun.security.ssl.KeyShareExtension$CHKeyShareSpec.<init>:(Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
astore 5
start local 5 12: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 6
start local 6 13: aload 5
getfield sun.security.ssl.KeyShareExtension$CHKeyShareSpec.clientShares:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 39
StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List top java.util.Iterator
StackMap stack:
14: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.KeyShareExtension$KeyShareEntry
astore 7
start local 7 15: aload 7
getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.namedGroupId:I
invokestatic sun.security.ssl.NamedGroup.valueOf:(I)Lsun/security/ssl/NamedGroup;
astore 9
start local 9 16: aload 9
ifnull 20
17: aload 4
getfield sun.security.ssl.ServerHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
aload 9
18: invokestatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.isActivatable:(Ljava/security/AlgorithmConstraints;Lsun/security/ssl/NamedGroup;)Z
19: ifne 26
20: StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List sun.security.ssl.KeyShareExtension$KeyShareEntry java.util.Iterator sun.security.ssl.NamedGroup
StackMap stack:
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 39
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 39
21: new java.lang.StringBuilder
dup
ldc "Ignore unsupported named group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
22: aload 7
getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.namedGroupId:I
invokestatic sun.security.ssl.NamedGroup.nameOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
23: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
24: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
25: goto 39
26: StackMap locals:
StackMap stack:
aload 9
aload 7
getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.keyExchange:[B
27: aload 4
getfield sun.security.ssl.ServerHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
28: invokedynamic apply()Lsun/security/ssl/NamedGroup$ExceptionSupplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/String;)V
sun/security/ssl/KeyShareExtension$CHKeyShareConsumer.lambda$0(Ljava/lang/String;)V (6)
(Ljava/lang/String;)V
29: invokevirtual sun.security.ssl.NamedGroup.decodeCredentials:([BLjava/security/AlgorithmConstraints;Lsun/security/ssl/NamedGroup$ExceptionSupplier;)Lsun/security/ssl/SSLCredentials;
30: astore 10
start local 10 31: aload 10
ifnull 39
32: aload 6
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 33: goto 39
StackMap locals:
StackMap stack: java.security.GeneralSecurityException
34: pop
35: new java.lang.StringBuilder
dup
ldc "Cannot decode named group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
36: aload 7
getfield sun.security.ssl.KeyShareExtension$KeyShareEntry.namedGroupId:I
invokestatic sun.security.ssl.NamedGroup.nameOf:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
37: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
38: invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 9 end local 7 39: StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
40: aload 6
invokeinterface java.util.List.isEmpty:()Z
ifne 43
41: aload 4
getfield sun.security.ssl.ServerHandshakeContext.handshakeCredentials:Ljava/util/List;
aload 6
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
42: goto 47
43: StackMap locals: sun.security.ssl.KeyShareExtension$CHKeyShareConsumer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.KeyShareExtension$CHKeyShareSpec java.util.List
StackMap stack:
aload 4
getfield sun.security.ssl.ServerHandshakeContext.handshakeProducers:Ljava/util/HashMap;
44: getstatic sun.security.ssl.SSLHandshake.HELLO_RETRY_REQUEST:Lsun/security/ssl/SSLHandshake;
getfield sun.security.ssl.SSLHandshake.id:B
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
45: getstatic sun.security.ssl.SSLHandshake.HELLO_RETRY_REQUEST:Lsun/security/ssl/SSLHandshake;
46: invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
47: StackMap locals:
StackMap stack:
aload 4
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_KEY_SHARE:Lsun/security/ssl/SSLExtension;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
48: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 49 0 this Lsun/security/ssl/KeyShareExtension$CHKeyShareConsumer;
0 49 1 context Lsun/security/ssl/ConnectionContext;
0 49 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
0 49 3 buffer Ljava/nio/ByteBuffer;
1 49 4 shc Lsun/security/ssl/ServerHandshakeContext;
12 49 5 spec Lsun/security/ssl/KeyShareExtension$CHKeyShareSpec;
13 49 6 credentials Ljava/util/List<Lsun/security/ssl/SSLCredentials;>;
15 39 7 entry Lsun/security/ssl/KeyShareExtension$KeyShareEntry;
16 39 9 ng Lsun/security/ssl/NamedGroup;
31 33 10 kaCred Lsun/security/ssl/SSLCredentials;
Exception table:
from to target type
26 33 34 Class java.security.GeneralSecurityException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
buffer
private static void lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 s Ljava/lang/String;
Exceptions:
throws javax.net.ssl.SSLException
}
SourceFile: "KeyShareExtension.java"
NestHost: sun.security.ssl.KeyShareExtension
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private final CHKeyShareConsumer = sun.security.ssl.KeyShareExtension$CHKeyShareConsumer of sun.security.ssl.KeyShareExtension
final CHKeyShareSpec = sun.security.ssl.KeyShareExtension$CHKeyShareSpec of sun.security.ssl.KeyShareExtension
private final KeyShareEntry = sun.security.ssl.KeyShareExtension$KeyShareEntry of sun.security.ssl.KeyShareExtension
abstract ExceptionSupplier = sun.security.ssl.NamedGroup$ExceptionSupplier of sun.security.ssl.NamedGroup
abstract ExtensionConsumer = sun.security.ssl.SSLExtension$ExtensionConsumer of sun.security.ssl.SSLExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
SupportedGroups = sun.security.ssl.SupportedGroupsExtension$SupportedGroups of sun.security.ssl.SupportedGroupsExtension