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 739
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 741
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 747
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 750
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 751
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 752
ldc "Unsupported key_share extension in HelloRetryRequest"
4: .line 751
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
5: .line 755
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
ifnull 7
6: .line 756
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
7: .line 758
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 759
ldc "Unexpected key_share extension in HelloRetryRequest"
9: .line 758
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
10: .line 762
StackMap locals:
StackMap stack:
aconst_null
astore 4 /* selectedGroup */
start local 4 // sun.security.ssl.NamedGroup selectedGroup
11: .line 763
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.NamedGroup top java.util.Iterator
StackMap stack:
12: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.NamedGroup
astore 5 /* ng */
start local 5 // sun.security.ssl.NamedGroup ng
13: .line 765
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
aload 5 /* ng */
14: .line 764
invokestatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.isActivatable:(Ljava/security/AlgorithmConstraints;Lsun/security/ssl/NamedGroup;)Z
15: .line 765
ifeq 23
16: .line 766
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 768
new java.lang.StringBuilder
dup
ldc "HelloRetryRequest selected named group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: .line 769
aload 5 /* ng */
getfield sun.security.ssl.NamedGroup.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: .line 768
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
20: .line 767
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
21: .line 772
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.NamedGroup sun.security.ssl.NamedGroup java.util.Iterator
StackMap stack:
aload 5 /* ng */
astore 4 /* selectedGroup */
22: .line 773
goto 24
end local 5 // sun.security.ssl.NamedGroup ng
23: .line 763
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.NamedGroup top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
24: .line 777
StackMap locals: sun.security.ssl.KeyShareExtension$HRRKeyShareProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext sun.security.ssl.NamedGroup
StackMap stack:
aload 4 /* selectedGroup */
ifnonnull 28
25: .line 778
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
26: .line 779
getstatic sun.security.ssl.Alert.UNEXPECTED_MESSAGE:Lsun/security/ssl/Alert;
ldc "No common named group"
27: .line 778
invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
28: .line 782
StackMap locals:
StackMap stack:
iconst_2
newarray 8
dup
iconst_0
29: .line 783
aload 4 /* selectedGroup */
getfield sun.security.ssl.NamedGroup.id:I
bipush 8
ishr
sipush 255
iand
i2b
bastore
dup
iconst_1
30: .line 784
aload 4 /* selectedGroup */
getfield sun.security.ssl.NamedGroup.id:I
sipush 255
iand
i2b
bastore
31: .line 782
astore 5 /* extdata */
start local 5 // byte[] extdata
32: .line 788
aload 3 /* shc */
aload 4 /* selectedGroup */
putfield sun.security.ssl.ServerHandshakeContext.serverSelectedNamedGroup:Lsun/security/ssl/NamedGroup;
33: .line 789
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 790
new sun.security.ssl.KeyShareExtension$HRRKeyShareSpec
dup
aload 4 /* selectedGroup */
invokespecial sun.security.ssl.KeyShareExtension$HRRKeyShareSpec.<init>:(Lsun/security/ssl/NamedGroup;)V
35: .line 789
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: .line 792
aload 5 /* extdata */
areturn
end local 5 // byte[] extdata
end local 4 // sun.security.ssl.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/NamedGroup;
13 23 5 ng Lsun/security/ssl/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
SupportedGroups = sun.security.ssl.SupportedGroupsExtension$SupportedGroups of sun.security.ssl.SupportedGroupsExtension