final class sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator implements sun.security.ssl.SSLKeyAgreementGenerator
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$sun$security$ssl$NamedGroup$NamedGroupType;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
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/ECDHKeyExchange$ECDHEXDHKAGenerator;
public sun.security.ssl.SSLKeyDerivation createKeyDerivation(sun.security.ssl.HandshakeContext);
descriptor: (Lsun/security/ssl/HandshakeContext;)Lsun/security/ssl/SSLKeyDerivation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 1
getfield sun.security.ssl.HandshakeContext.handshakePossessions:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 20
StackMap locals: sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator sun.security.ssl.HandshakeContext sun.security.ssl.NamedGroupPossession sun.security.ssl.NamedGroupCredentials sun.security.ssl.NamedGroup top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SSLPossession
astore 5
start local 5 5: aload 1
getfield sun.security.ssl.HandshakeContext.handshakeCredentials:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 8
goto 19
StackMap locals: sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator sun.security.ssl.HandshakeContext sun.security.ssl.NamedGroupPossession sun.security.ssl.NamedGroupCredentials sun.security.ssl.NamedGroup sun.security.ssl.SSLPossession java.util.Iterator top java.util.Iterator
StackMap stack:
6: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SSLCredentials
astore 7
start local 7 7: aload 5
instanceof sun.security.ssl.ECDHKeyExchange$ECDHEPossession
ifeq 9
8: aload 7
instanceof sun.security.ssl.ECDHKeyExchange$ECDHECredentials
ifne 11
9: StackMap locals: sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator sun.security.ssl.HandshakeContext sun.security.ssl.NamedGroupPossession sun.security.ssl.NamedGroupCredentials sun.security.ssl.NamedGroup sun.security.ssl.SSLPossession java.util.Iterator sun.security.ssl.SSLCredentials java.util.Iterator
StackMap stack:
aload 5
instanceof sun.security.ssl.XDHKeyExchange$XDHEPossession
ifeq 19
10: aload 7
instanceof sun.security.ssl.XDHKeyExchange$XDHECredentials
ifeq 19
11: StackMap locals:
StackMap stack:
aload 5
checkcast sun.security.ssl.NamedGroupPossession
astore 9
start local 9 12: aload 7
checkcast sun.security.ssl.NamedGroupCredentials
astore 10
start local 10 13: aload 9
invokeinterface sun.security.ssl.NamedGroupPossession.getNamedGroup:()Lsun/security/ssl/NamedGroup;
aload 10
invokeinterface sun.security.ssl.NamedGroupCredentials.getNamedGroup:()Lsun/security/ssl/NamedGroup;
if_acmpeq 15
14: goto 19
15: StackMap locals: sun.security.ssl.NamedGroupPossession sun.security.ssl.NamedGroupCredentials
StackMap stack:
aload 9
invokeinterface sun.security.ssl.NamedGroupPossession.getNamedGroup:()Lsun/security/ssl/NamedGroup;
astore 4
16: aload 9
astore 2
17: aload 10
astore 3
18: goto 21
end local 10 end local 9 end local 7 19: StackMap locals: sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator sun.security.ssl.HandshakeContext sun.security.ssl.NamedGroupPossession sun.security.ssl.NamedGroupCredentials sun.security.ssl.NamedGroup sun.security.ssl.SSLPossession java.util.Iterator top java.util.Iterator
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 5 20: StackMap locals: sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator sun.security.ssl.HandshakeContext sun.security.ssl.NamedGroupPossession sun.security.ssl.NamedGroupCredentials sun.security.ssl.NamedGroup top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
21: StackMap locals: sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator sun.security.ssl.HandshakeContext sun.security.ssl.NamedGroupPossession sun.security.ssl.NamedGroupCredentials sun.security.ssl.NamedGroup
StackMap stack:
aload 2
ifnull 22
aload 3
ifnonnull 25
22: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
23: ldc "No sufficient ECDHE/XDH key agreement parameters negotiated"
24: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
25: StackMap locals:
StackMap stack:
invokestatic sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator.$SWITCH_TABLE$sun$security$ssl$NamedGroup$NamedGroupType:()[I
aload 4
getfield sun.security.ssl.NamedGroup.type:Lsun/security/ssl/NamedGroup$NamedGroupType;
invokevirtual sun.security.ssl.NamedGroup$NamedGroupType.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 26
2: 30
3: 28
default: 30
}
26: StackMap locals:
StackMap stack:
ldc "ECDH"
astore 5
start local 5 27: goto 31
end local 5 28: StackMap locals:
StackMap stack:
ldc "XDH"
astore 5
start local 5 29: goto 31
end local 5 30: StackMap locals:
StackMap stack:
new java.lang.RuntimeException
dup
ldc "Unexpected named group type"
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
start local 5 31: StackMap locals: java.lang.String
StackMap stack:
new sun.security.ssl.KAKeyDerivation
dup
aload 5
aload 1
32: aload 2
invokeinterface sun.security.ssl.NamedGroupPossession.getPrivateKey:()Ljava/security/PrivateKey;
33: aload 3
invokeinterface sun.security.ssl.NamedGroupCredentials.getPublicKey:()Ljava/security/PublicKey;
34: invokespecial sun.security.ssl.KAKeyDerivation.<init>:(Ljava/lang/String;Lsun/security/ssl/HandshakeContext;Ljava/security/PrivateKey;Ljava/security/PublicKey;)V
areturn
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 35 0 this Lsun/security/ssl/ECDHKeyExchange$ECDHEXDHKAGenerator;
0 35 1 context Lsun/security/ssl/HandshakeContext;
1 35 2 namedGroupPossession Lsun/security/ssl/NamedGroupPossession;
2 35 3 namedGroupCredentials Lsun/security/ssl/NamedGroupCredentials;
3 35 4 namedGroup Lsun/security/ssl/NamedGroup;
5 20 5 poss Lsun/security/ssl/SSLPossession;
7 19 7 cred Lsun/security/ssl/SSLCredentials;
12 19 9 p Lsun/security/ssl/NamedGroupPossession;
13 19 10 c Lsun/security/ssl/NamedGroupCredentials;
27 28 5 alg Ljava/lang/String;
29 30 5 alg Ljava/lang/String;
31 35 5 alg Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
static int[] $SWITCH_TABLE$sun$security$ssl$NamedGroup$NamedGroupType();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator.$SWITCH_TABLE$sun$security$ssl$NamedGroup$NamedGroupType:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic sun.security.ssl.NamedGroup$NamedGroupType.values:()[Lsun/security/ssl/NamedGroup$NamedGroupType;
arraylength
newarray 10
astore 0
2: aload 0
getstatic sun.security.ssl.NamedGroup$NamedGroupType.NAMED_GROUP_ARBITRARY:Lsun/security/ssl/NamedGroup$NamedGroupType;
invokevirtual sun.security.ssl.NamedGroup$NamedGroupType.ordinal:()I
iconst_4
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic sun.security.ssl.NamedGroup$NamedGroupType.NAMED_GROUP_ECDHE:Lsun/security/ssl/NamedGroup$NamedGroupType;
invokevirtual sun.security.ssl.NamedGroup$NamedGroupType.ordinal:()I
iconst_1
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic sun.security.ssl.NamedGroup$NamedGroupType.NAMED_GROUP_FFDHE:Lsun/security/ssl/NamedGroup$NamedGroupType;
invokevirtual sun.security.ssl.NamedGroup$NamedGroupType.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic sun.security.ssl.NamedGroup$NamedGroupType.NAMED_GROUP_NONE:Lsun/security/ssl/NamedGroup$NamedGroupType;
invokevirtual sun.security.ssl.NamedGroup$NamedGroupType.ordinal:()I
iconst_5
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
getstatic sun.security.ssl.NamedGroup$NamedGroupType.NAMED_GROUP_XDH:Lsun/security/ssl/NamedGroup$NamedGroupType;
invokevirtual sun.security.ssl.NamedGroup$NamedGroupType.ordinal:()I
iconst_3
iastore
15: goto 17
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
16: pop
StackMap locals:
StackMap stack:
17: aload 0
dup
putstatic sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator.$SWITCH_TABLE$sun$security$ssl$NamedGroup$NamedGroupType:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
11 12 13 Class java.lang.NoSuchFieldError
14 15 16 Class java.lang.NoSuchFieldError
}
SourceFile: "ECDHKeyExchange.java"
NestHost: sun.security.ssl.ECDHKeyExchange
InnerClasses:
final ECDHECredentials = sun.security.ssl.ECDHKeyExchange$ECDHECredentials of sun.security.ssl.ECDHKeyExchange
final ECDHEPossession = sun.security.ssl.ECDHKeyExchange$ECDHEPossession of sun.security.ssl.ECDHKeyExchange
private final ECDHEXDHKAGenerator = sun.security.ssl.ECDHKeyExchange$ECDHEXDHKAGenerator of sun.security.ssl.ECDHKeyExchange
final NamedGroupType = sun.security.ssl.NamedGroup$NamedGroupType of sun.security.ssl.NamedGroup
final XDHECredentials = sun.security.ssl.XDHKeyExchange$XDHECredentials of sun.security.ssl.XDHKeyExchange
final XDHEPossession = sun.security.ssl.XDHKeyExchange$XDHEPossession of sun.security.ssl.XDHKeyExchange