final class sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer extends sun.security.ssl.SupportedGroupsExtension$SupportedGroups implements sun.security.ssl.HandshakeProducer
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer
super_class: sun.security.ssl.SupportedGroupsExtension$SupportedGroups
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer this
0: .line 930
aload 0 /* this */
invokespecial sun.security.ssl.SupportedGroupsExtension$SupportedGroups.<init>:()V
1: .line 932
return
end local 0 // sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/SupportedGroupsExtension$EESupportedGroupsProducer;
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=10, args_size=3
start local 0 // sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 938
aload 1 /* context */
checkcast sun.security.ssl.ServerHandshakeContext
astore 3 /* shc */
start local 3 // sun.security.ssl.ServerHandshakeContext shc
1: .line 941
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getstatic sun.security.ssl.SSLExtension.EE_SUPPORTED_GROUPS:Lsun/security/ssl/SSLExtension;
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 6
2: .line 942
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: .line 944
ldc "Ignore unavailable supported_groups extension"
iconst_0
anewarray java.lang.Object
4: .line 943
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: .line 946
StackMap locals: sun.security.ssl.ServerHandshakeContext
StackMap stack:
aconst_null
areturn
6: .line 953
StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
7: .line 954
getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
arraylength
8: .line 953
invokespecial java.util.ArrayList.<init>:(I)V
astore 4 /* namedGroups */
start local 4 // java.util.ArrayList namedGroups
9: .line 955
getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 27
StackMap locals: sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext java.util.ArrayList top int int sun.security.ssl.SupportedGroupsExtension$NamedGroup[]
StackMap stack:
10: aload 8
iload 6
aaload
astore 5 /* ng */
start local 5 // sun.security.ssl.SupportedGroupsExtension$NamedGroup ng
11: .line 956
getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.enableFFDHE:Z
ifne 14
12: .line 957
aload 5 /* ng */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.type:Lsun/security/ssl/SupportedGroupsExtension$NamedGroupType;
getstatic sun.security.ssl.SupportedGroupsExtension$NamedGroupType.NAMED_GROUP_FFDHE:Lsun/security/ssl/SupportedGroupsExtension$NamedGroupType;
if_acmpne 14
13: .line 958
goto 26
14: .line 961
StackMap locals: sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext java.util.ArrayList sun.security.ssl.SupportedGroupsExtension$NamedGroup int int sun.security.ssl.SupportedGroupsExtension$NamedGroup[]
StackMap stack:
aload 5 /* ng */
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.activeProtocols:Ljava/util/List;
invokevirtual sun.security.ssl.SupportedGroupsExtension$NamedGroup.isAvailable:(Ljava/util/List;)Z
ifeq 23
15: .line 962
aload 5 /* ng */
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.activeCipherSuites:Ljava/util/List;
invokevirtual sun.security.ssl.SupportedGroupsExtension$NamedGroup.isSupported:(Ljava/util/List;)Z
ifeq 23
16: .line 963
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
17: .line 964
getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
18: .line 965
aload 5 /* ng */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.algorithm:Ljava/lang/String;
getstatic sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer.namedGroupParams:Ljava/util/Map;
aload 5 /* ng */
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.AlgorithmParameters
19: .line 963
invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
20: .line 965
ifeq 23
21: .line 966
aload 4 /* namedGroups */
aload 5 /* ng */
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
22: .line 967
goto 26
StackMap locals:
StackMap stack:
23: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 26
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 26
24: .line 969
new java.lang.StringBuilder
dup
ldc "Ignore inactive or disabled named group: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5 /* ng */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
25: .line 968
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 5 // sun.security.ssl.SupportedGroupsExtension$NamedGroup ng
26: .line 955
StackMap locals: sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext java.util.ArrayList top int int sun.security.ssl.SupportedGroupsExtension$NamedGroup[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
27: iload 6
iload 7
if_icmplt 10
28: .line 973
aload 4 /* namedGroups */
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 32
29: .line 974
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 31
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 31
30: .line 975
ldc "no available named group"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
31: .line 978
StackMap locals: sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext java.util.ArrayList
StackMap stack:
aconst_null
areturn
32: .line 981
StackMap locals:
StackMap stack:
aload 4 /* namedGroups */
invokevirtual java.util.ArrayList.size:()I
iconst_1
ishl
istore 5 /* vectorLen */
start local 5 // int vectorLen
33: .line 982
iload 5 /* vectorLen */
iconst_2
iadd
newarray 8
astore 6 /* extData */
start local 6 // byte[] extData
34: .line 983
aload 6 /* extData */
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 7 /* m */
start local 7 // java.nio.ByteBuffer m
35: .line 984
aload 7 /* m */
iload 5 /* vectorLen */
invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
36: .line 985
aload 4 /* namedGroups */
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 9
goto 39
StackMap locals: sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ServerHandshakeContext java.util.ArrayList int byte[] java.nio.ByteBuffer top java.util.Iterator
StackMap stack:
37: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SupportedGroupsExtension$NamedGroup
astore 8 /* namedGroup */
start local 8 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
38: .line 986
aload 7 /* m */
aload 8 /* namedGroup */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.id:I
invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
end local 8 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
39: .line 985
StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 37
40: .line 990
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
41: .line 991
aload 4 /* namedGroups */
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
42: .line 990
putfield sun.security.ssl.TransportContext.serverRequestedNamedGroups:Ljava/util/List;
43: .line 992
new sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec
dup
aload 4 /* namedGroups */
invokespecial sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.<init>:(Ljava/util/List;)V
astore 8 /* spec */
start local 8 // sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec spec
44: .line 993
aload 3 /* shc */
getfield sun.security.ssl.ServerHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.EE_SUPPORTED_GROUPS:Lsun/security/ssl/SSLExtension;
aload 8 /* spec */
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
45: .line 995
aload 6 /* extData */
areturn
end local 8 // sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec spec
end local 7 // java.nio.ByteBuffer m
end local 6 // byte[] extData
end local 5 // int vectorLen
end local 4 // java.util.ArrayList namedGroups
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.SupportedGroupsExtension$EESupportedGroupsProducer this
LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lsun/security/ssl/SupportedGroupsExtension$EESupportedGroupsProducer;
0 46 1 context Lsun/security/ssl/ConnectionContext;
0 46 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 46 3 shc Lsun/security/ssl/ServerHandshakeContext;
9 46 4 namedGroups Ljava/util/ArrayList<Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;>;
11 26 5 ng Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
33 46 5 vectorLen I
34 46 6 extData [B
35 46 7 m Ljava/nio/ByteBuffer;
38 39 8 namedGroup Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
44 46 8 spec Lsun/security/ssl/SupportedGroupsExtension$SupportedGroupsSpec;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "SupportedGroupsExtension.java"
NestHost: sun.security.ssl.SupportedGroupsExtension
InnerClasses:
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
private final EESupportedGroupsProducer = sun.security.ssl.SupportedGroupsExtension$EESupportedGroupsProducer of sun.security.ssl.SupportedGroupsExtension
final NamedGroup = sun.security.ssl.SupportedGroupsExtension$NamedGroup of sun.security.ssl.SupportedGroupsExtension
final NamedGroupType = sun.security.ssl.SupportedGroupsExtension$NamedGroupType of sun.security.ssl.SupportedGroupsExtension
SupportedGroups = sun.security.ssl.SupportedGroupsExtension$SupportedGroups of sun.security.ssl.SupportedGroupsExtension
final SupportedGroupsSpec = sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec of sun.security.ssl.SupportedGroupsExtension