final class sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer 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$CHSupportedGroupsProducer
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$CHSupportedGroupsProducer this
0: .line 371
aload 0 /* this */
invokespecial sun.security.ssl.SupportedGroupsExtension$SupportedGroups.<init>:()V
1: .line 373
return
end local 0 // sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/SupportedGroupsExtension$CHSupportedGroupsProducer;
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$CHSupportedGroupsProducer this
start local 1 // sun.security.ssl.ConnectionContext context
start local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
0: .line 379
aload 1 /* context */
checkcast sun.security.ssl.ClientHandshakeContext
astore 3 /* chc */
start local 3 // sun.security.ssl.ClientHandshakeContext chc
1: .line 382
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.sslConfig:Lsun/security/ssl/SSLConfiguration;
getstatic sun.security.ssl.SSLExtension.CH_SUPPORTED_GROUPS:Lsun/security/ssl/SSLExtension;
invokevirtual sun.security.ssl.SSLConfiguration.isAvailable:(Lsun/security/ssl/SSLExtension;)Z
ifne 6
2: .line 383
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 385
ldc "Ignore unavailable supported_groups extension"
iconst_0
anewarray java.lang.Object
4: .line 384
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
5: .line 387
StackMap locals: sun.security.ssl.ClientHandshakeContext
StackMap stack:
aconst_null
areturn
6: .line 392
StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/NamedGroup;
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
7: .line 391
astore 4 /* namedGroups */
start local 4 // java.util.ArrayList namedGroups
8: .line 393
getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.supportedNamedGroups:[Lsun/security/ssl/NamedGroup;
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 26
StackMap locals: sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.ArrayList top int int sun.security.ssl.NamedGroup[]
StackMap stack:
9: aload 8
iload 6
aaload
astore 5 /* ng */
start local 5 // sun.security.ssl.NamedGroup ng
10: .line 394
getstatic sun.security.ssl.SupportedGroupsExtension$SupportedGroups.enableFFDHE:Z
ifne 13
11: .line 395
aload 5 /* ng */
getfield sun.security.ssl.NamedGroup.type:Lsun/security/ssl/NamedGroup$NamedGroupType;
getstatic sun.security.ssl.NamedGroup$NamedGroupType.NAMED_GROUP_FFDHE:Lsun/security/ssl/NamedGroup$NamedGroupType;
if_acmpne 13
12: .line 396
goto 25
13: .line 399
StackMap locals: sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.ArrayList sun.security.ssl.NamedGroup int int sun.security.ssl.NamedGroup[]
StackMap stack:
aload 5 /* ng */
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.activeProtocols:Ljava/util/List;
invokevirtual sun.security.ssl.NamedGroup.isAvailable:(Ljava/util/List;)Z
ifeq 22
14: .line 400
aload 5 /* ng */
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.activeCipherSuites:Ljava/util/List;
invokevirtual sun.security.ssl.NamedGroup.isSupported:(Ljava/util/List;)Z
ifeq 22
15: .line 401
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.algorithmConstraints:Ljava/security/AlgorithmConstraints;
16: .line 402
getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
17: .line 403
aload 5 /* ng */
getfield sun.security.ssl.NamedGroup.algorithm:Ljava/lang/String;
aload 5 /* ng */
invokestatic sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer.getParameters:(Lsun/security/ssl/NamedGroup;)Ljava/security/AlgorithmParameters;
18: .line 401
invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/lang/String;Ljava/security/AlgorithmParameters;)Z
19: .line 403
ifeq 22
20: .line 404
aload 4 /* namedGroups */
aload 5 /* ng */
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
21: .line 405
goto 25
StackMap locals:
StackMap stack:
22: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 25
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 25
23: .line 407
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.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
24: .line 406
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
end local 5 // sun.security.ssl.NamedGroup ng
25: .line 393
StackMap locals: sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.ArrayList top int int sun.security.ssl.NamedGroup[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
26: iload 6
iload 7
if_icmplt 9
27: .line 411
aload 4 /* namedGroups */
invokevirtual java.util.ArrayList.isEmpty:()Z
ifeq 31
28: .line 412
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 30
ldc "ssl,handshake"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 30
29: .line 413
ldc "no available named group"
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.warning:(Ljava/lang/String;[Ljava/lang/Object;)V
30: .line 416
StackMap locals: sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.ArrayList
StackMap stack:
aconst_null
areturn
31: .line 419
StackMap locals:
StackMap stack:
aload 4 /* namedGroups */
invokevirtual java.util.ArrayList.size:()I
iconst_1
ishl
istore 5 /* vectorLen */
start local 5 // int vectorLen
32: .line 420
iload 5 /* vectorLen */
iconst_2
iadd
newarray 8
astore 6 /* extData */
start local 6 // byte[] extData
33: .line 421
aload 6 /* extData */
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 7 /* m */
start local 7 // java.nio.ByteBuffer m
34: .line 422
aload 7 /* m */
iload 5 /* vectorLen */
invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
35: .line 423
aload 4 /* namedGroups */
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 9
goto 38
StackMap locals: sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer sun.security.ssl.ConnectionContext sun.security.ssl.SSLHandshake$HandshakeMessage sun.security.ssl.ClientHandshakeContext java.util.ArrayList int byte[] java.nio.ByteBuffer top java.util.Iterator
StackMap stack:
36: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.NamedGroup
astore 8 /* namedGroup */
start local 8 // sun.security.ssl.NamedGroup namedGroup
37: .line 424
aload 7 /* m */
aload 8 /* namedGroup */
getfield sun.security.ssl.NamedGroup.id:I
invokestatic sun.security.ssl.Record.putInt16:(Ljava/nio/ByteBuffer;I)V
end local 8 // sun.security.ssl.NamedGroup namedGroup
38: .line 423
StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 36
39: .line 428
aload 3 /* chc */
40: .line 429
aload 4 /* namedGroups */
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
41: .line 428
putfield sun.security.ssl.ClientHandshakeContext.clientRequestedNamedGroups:Ljava/util/List;
42: .line 430
aload 3 /* chc */
getfield sun.security.ssl.ClientHandshakeContext.handshakeExtensions:Ljava/util/Map;
getstatic sun.security.ssl.SSLExtension.CH_SUPPORTED_GROUPS:Lsun/security/ssl/SSLExtension;
43: .line 431
new sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec
dup
aload 4 /* namedGroups */
invokespecial sun.security.ssl.SupportedGroupsExtension$SupportedGroupsSpec.<init>:(Ljava/util/List;)V
44: .line 430
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
45: .line 433
aload 6 /* extData */
areturn
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.ClientHandshakeContext chc
end local 2 // sun.security.ssl.SSLHandshake$HandshakeMessage message
end local 1 // sun.security.ssl.ConnectionContext context
end local 0 // sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer this
LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lsun/security/ssl/SupportedGroupsExtension$CHSupportedGroupsProducer;
0 46 1 context Lsun/security/ssl/ConnectionContext;
0 46 2 message Lsun/security/ssl/SSLHandshake$HandshakeMessage;
1 46 3 chc Lsun/security/ssl/ClientHandshakeContext;
8 46 4 namedGroups Ljava/util/ArrayList<Lsun/security/ssl/NamedGroup;>;
10 25 5 ng Lsun/security/ssl/NamedGroup;
32 46 5 vectorLen I
33 46 6 extData [B
34 46 7 m Ljava/nio/ByteBuffer;
37 38 8 namedGroup Lsun/security/ssl/NamedGroup;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
message
}
SourceFile: "SupportedGroupsExtension.java"
NestHost: sun.security.ssl.SupportedGroupsExtension
InnerClasses:
final NamedGroupType = sun.security.ssl.NamedGroup$NamedGroupType of sun.security.ssl.NamedGroup
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
private final CHSupportedGroupsProducer = sun.security.ssl.SupportedGroupsExtension$CHSupportedGroupsProducer 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