final class sun.security.ssl.DHKeyExchange$DHECredentials implements sun.security.ssl.NamedGroupCredentials
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.DHKeyExchange$DHECredentials
super_class: java.lang.Object
{
final javax.crypto.interfaces.DHPublicKey popPublicKey;
descriptor: Ljavax/crypto/interfaces/DHPublicKey;
flags: (0x0010) ACC_FINAL
final sun.security.ssl.NamedGroup namedGroup;
descriptor: Lsun/security/ssl/NamedGroup;
flags: (0x0010) ACC_FINAL
void <init>(javax.crypto.interfaces.DHPublicKey, sun.security.ssl.NamedGroup);
descriptor: (Ljavax/crypto/interfaces/DHPublicKey;Lsun/security/ssl/NamedGroup;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.DHKeyExchange$DHECredentials.popPublicKey:Ljavax/crypto/interfaces/DHPublicKey;
2: aload 0
aload 2
putfield sun.security.ssl.DHKeyExchange$DHECredentials.namedGroup:Lsun/security/ssl/NamedGroup;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/DHKeyExchange$DHECredentials;
0 4 1 popPublicKey Ljavax/crypto/interfaces/DHPublicKey;
0 4 2 namedGroup Lsun/security/ssl/NamedGroup;
MethodParameters:
Name Flags
popPublicKey
namedGroup
public java.security.PublicKey getPublicKey();
descriptor: ()Ljava/security/PublicKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.DHKeyExchange$DHECredentials.popPublicKey:Ljavax/crypto/interfaces/DHPublicKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/DHKeyExchange$DHECredentials;
public sun.security.ssl.NamedGroup getNamedGroup();
descriptor: ()Lsun/security/ssl/NamedGroup;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.DHKeyExchange$DHECredentials.namedGroup:Lsun/security/ssl/NamedGroup;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/DHKeyExchange$DHECredentials;
static sun.security.ssl.DHKeyExchange$DHECredentials valueOf(sun.security.ssl.NamedGroup, byte[]);
descriptor: (Lsun/security/ssl/NamedGroup;[B)Lsun/security/ssl/DHKeyExchange$DHECredentials;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.NamedGroup.spec:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
getstatic sun.security.ssl.NamedGroup$NamedGroupSpec.NAMED_GROUP_FFDHE:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
if_acmpeq 4
1: new java.lang.RuntimeException
dup
2: ldc "Credentials decoding: Not FFDHE named group"
3: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ifnull 5
aload 1
arraylength
ifne 6
5: StackMap locals:
StackMap stack:
aconst_null
areturn
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.NamedGroup.keAlgParamSpec:Ljava/security/spec/AlgorithmParameterSpec;
checkcast javax.crypto.spec.DHParameterSpec
astore 2
start local 2 7: ldc "DiffieHellman"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 3
start local 3 8: new javax.crypto.spec.DHPublicKeySpec
dup
9: new java.math.BigInteger
dup
iconst_1
aload 1
invokespecial java.math.BigInteger.<init>:(I[B)V
10: aload 2
invokevirtual javax.crypto.spec.DHParameterSpec.getP:()Ljava/math/BigInteger;
aload 2
invokevirtual javax.crypto.spec.DHParameterSpec.getG:()Ljava/math/BigInteger;
11: invokespecial javax.crypto.spec.DHPublicKeySpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
astore 4
start local 4 12: aload 3
aload 4
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
checkcast javax.crypto.interfaces.DHPublicKey
13: astore 5
start local 5 14: new sun.security.ssl.DHKeyExchange$DHECredentials
dup
aload 5
aload 0
invokespecial sun.security.ssl.DHKeyExchange$DHECredentials.<init>:(Ljavax/crypto/interfaces/DHPublicKey;Lsun/security/ssl/NamedGroup;)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 15 0 ng Lsun/security/ssl/NamedGroup;
0 15 1 encodedPublic [B
7 15 2 params Ljavax/crypto/spec/DHParameterSpec;
8 15 3 kf Ljava/security/KeyFactory;
12 15 4 spec Ljavax/crypto/spec/DHPublicKeySpec;
14 15 5 publicKey Ljavax/crypto/interfaces/DHPublicKey;
Exceptions:
throws java.io.IOException, java.security.GeneralSecurityException
MethodParameters:
Name Flags
ng
encodedPublic
}
SourceFile: "DHKeyExchange.java"
NestHost: sun.security.ssl.DHKeyExchange
InnerClasses:
final DHECredentials = sun.security.ssl.DHKeyExchange$DHECredentials of sun.security.ssl.DHKeyExchange
final NamedGroupSpec = sun.security.ssl.NamedGroup$NamedGroupSpec of sun.security.ssl.NamedGroup