final class sun.security.ssl.KeyShareExtension$HRRKeyShareProducer implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.KeyShareExtension$HRRKeyShareProducer
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$HRRKeyShareProducer this
0: .line 779
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 781
return
end local 0 // sun.security.ssl.KeyShareExtension$HRRKeyShareProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/KeyShareExtension$HRRKeyShareProducer;
public byte[] produce(sun.security.ssl.ConnectionContext, sun.security.ssl.SSLHandshake$HandshakeMessage);
descriptor: (Lsun/security/ssl/ConnectionContext;Lsun/security/ssl/SSLHandshake$HandshakeMessage;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 // sun.security.ssl.KeyShareExtension$HRRKeyShareProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 787
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 790
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.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 791
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
3: .line 792
ldc "Unsupported key_share extension in HelloRetryRequest"
4: .line 791
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
5: .line 795
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
ifnull 7
6: .line 796
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
7: .line 798
StackMap locals:
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
8: .line 799
ldc "Unexpected key_share extension in HelloRetryRequest"
9: .line 798
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
10: .line 802
StackMap locals:
StackMap stack:
aconst_null
astore 4 /* selectedGroup */
start local 4 // sun.security.ssl.SupportedGroupsExtension$NamedGroup selectedGroup
11: .line 803
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 23
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.SupportedGroupsExtension$NamedGroup top java.util.Iterator
StackMap stack:
12: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SupportedGroupsExtension$NamedGroup
astore 5 /* ng */
start local 5 // sun.security.ssl.SupportedGroupsExtension$NamedGroup ng
13: .line 805
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getfield sun.security.ssl.SSLConfiguration.algorithmConstraints:Ljava/security/AlgorithmConstraints;
aload 5 /* ng */
14: .line 804
invokestatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.isActivatable:(Ljava/security/AlgorithmConstraints;Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;)Z
15: .line 805
ifeq 23
16: .line 806
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 21
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 21
17: .line 808
new java.lang.StringBuilder
dup
ldc "HelloRetryRequest selected named group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: .line 809
aload 5 /* ng */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: .line 808
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
20: .line 807
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
21: .line 812
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.SupportedGroupsExtension$NamedGroup sun.security.ssl.SupportedGroupsExtension$NamedGroup java.util.Iterator
StackMap stack:
aload 5 /* ng */
astore 4 /* selectedGroup */
22: .line 813
goto 24
end local 5 // sun.security.ssl.SupportedGroupsExtension$NamedGroup ng
23: .line 803
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.SupportedGroupsExtension$NamedGroup top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
24: .line 817
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.SupportedGroupsExtension$NamedGroup
StackMap stack:
aload 4 /* selectedGroup */
ifnonnull 28
25: .line 818
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
26: .line 819
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
ldc "No common named group"
27: .line 818
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
28: .line 822
StackMap locals:
StackMap stack:
iconst_2
newarray 8
dup
iconst_0
29: .line 823
aload 4 /* selectedGroup */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.id:I
bipush 8
ishr
sipush 255
iand
i2b
bastore
dup
iconst_1
30: .line 824
aload 4 /* selectedGroup */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.id:I
sipush 255
iand
i2b
bastore
31: .line 822
astore 5 /* extdata */
start local 5 // byte[] extdata
32: .line 828
aload 3 /* shc */
aload 4 /* selectedGroup */
putfield sun.security.ssl.ServerHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
33: .line 829
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.HRR_KEY_SHARE:Lsun/security/ssl/SSLExtension;
34: .line 830
new sun.security.ssl.KeyShareExtension$HRRKeyShareSpec
dup
aload 4 /* selectedGroup */
invokespecial sun.security.ssl.KeyShareExtension$HRRKeyShareSpec.<init>:(Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;)V
35: .line 829
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: .line 832
aload 5 /* extdata */
areturn
end local 5 // byte[] extdata
end local 4 // sun.security.ssl.SupportedGroupsExtension$NamedGroup selectedGroup
end local 3 // sun.security.ssl.ServerHandshakeContext shc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.KeyShareExtension$HRRKeyShareProducer this
LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lsun/security/ssl/KeyShareExtension$HRRKeyShareProducer;
0 37 1 context Lsun/security/ssl/ConnectionContext;
0 37 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 37 3 shc Lsun/security/ssl/ServerHandshakeContext;
11 37 4 selectedGroup Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
13 23 5 ng Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
32 37 5 extdata [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "KeyShareExtension.java"
NestHost: sun.security.ssl.KeyShareExtension
InnerClasses:
private final HRRKeyShareProducer = sun.security.ssl.KeyShareExtension$HRRKeyShareProducer of sun.security.ssl.KeyShareExtension
final HRRKeyShareSpec = sun.security.ssl.KeyShareExtension$HRRKeyShareSpec of sun.security.ssl.KeyShareExtension
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
final NamedGroup = sun.security.ssl.SupportedGroupsExtension$NamedGroup of sun.security.ssl.SupportedGroupsExtension
SupportedGroups = sun.security.ssl.SupportedGroupsExtension$SupportedGroups of sun.security.ssl.SupportedGroupsExtension