final class sun.security.ssl.XDHKeyExchange$XDHECredentials implements sun.security.ssl.NamedGroupCredentials
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.XDHKeyExchange$XDHECredentials
super_class: java.lang.Object
{
final java.security.interfaces.XECPublicKey popPublicKey;
descriptor: Ljava/security/interfaces/XECPublicKey;
flags: (0x0010) ACC_FINAL
final sun.security.ssl.NamedGroup namedGroup;
descriptor: Lsun/security/ssl/NamedGroup;
flags: (0x0010) ACC_FINAL
void <init>(java.security.interfaces.XECPublicKey, sun.security.ssl.NamedGroup);
descriptor: (Ljava/security/interfaces/XECPublicKey;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.XDHKeyExchange$XDHECredentials.popPublicKey:Ljava/security/interfaces/XECPublicKey;
2: aload 0
aload 2
putfield sun.security.ssl.XDHKeyExchange$XDHECredentials.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/XDHKeyExchange$XDHECredentials;
0 4 1 popPublicKey Ljava/security/interfaces/XECPublicKey;
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.XDHKeyExchange$XDHECredentials.popPublicKey:Ljava/security/interfaces/XECPublicKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/XDHKeyExchange$XDHECredentials;
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.XDHKeyExchange$XDHECredentials.namedGroup:Lsun/security/ssl/NamedGroup;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/XDHKeyExchange$XDHECredentials;
static sun.security.ssl.XDHKeyExchange$XDHECredentials valueOf(sun.security.ssl.NamedGroup, byte[]);
descriptor: (Lsun/security/ssl/NamedGroup;[B)Lsun/security/ssl/XDHKeyExchange$XDHECredentials;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=7, 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_XDH:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
if_acmpeq 4
1: new java.lang.RuntimeException
dup
2: ldc "Credentials decoding: Not XDH 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 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
astore 2
start local 2 7: aload 2
invokestatic sun.security.ssl.Utilities.reverseBytes:([B)V
8: new java.math.BigInteger
dup
iconst_1
aload 2
invokespecial java.math.BigInteger.<init>:(I[B)V
astore 3
start local 3 9: new java.security.spec.XECPublicKeySpec
dup
10: new java.security.spec.NamedParameterSpec
dup
aload 0
getfield sun.security.ssl.NamedGroup.name:Ljava/lang/String;
invokespecial java.security.spec.NamedParameterSpec.<init>:(Ljava/lang/String;)V
aload 3
11: invokespecial java.security.spec.XECPublicKeySpec.<init>:(Ljava/security/spec/AlgorithmParameterSpec;Ljava/math/BigInteger;)V
astore 4
start local 4 12: aload 0
getfield sun.security.ssl.NamedGroup.algorithm:Ljava/lang/String;
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 5
start local 5 13: aload 5
14: aload 4
15: invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
checkcast java.security.interfaces.XECPublicKey
astore 6
start local 6 16: new sun.security.ssl.XDHKeyExchange$XDHECredentials
dup
aload 6
aload 0
invokespecial sun.security.ssl.XDHKeyExchange$XDHECredentials.<init>:(Ljava/security/interfaces/XECPublicKey;Lsun/security/ssl/NamedGroup;)V
areturn
end local 6 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 17 0 namedGroup Lsun/security/ssl/NamedGroup;
0 17 1 encodedPoint [B
7 17 2 uBytes [B
9 17 3 u Ljava/math/BigInteger;
12 17 4 xecPublicKeySpec Ljava/security/spec/XECPublicKeySpec;
13 17 5 factory Ljava/security/KeyFactory;
16 17 6 publicKey Ljava/security/interfaces/XECPublicKey;
Exceptions:
throws java.io.IOException, java.security.GeneralSecurityException
MethodParameters:
Name Flags
namedGroup
encodedPoint
}
SourceFile: "XDHKeyExchange.java"
NestHost: sun.security.ssl.XDHKeyExchange
InnerClasses:
final NamedGroupSpec = sun.security.ssl.NamedGroup$NamedGroupSpec of sun.security.ssl.NamedGroup
final XDHECredentials = sun.security.ssl.XDHKeyExchange$XDHECredentials of sun.security.ssl.XDHKeyExchange