final class sun.security.ssl.ECDHKeyExchange$ECDHECredentials implements sun.security.ssl.NamedGroupCredentials
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ECDHKeyExchange$ECDHECredentials
super_class: java.lang.Object
{
final java.security.interfaces.ECPublicKey popPublicKey;
descriptor: Ljava/security/interfaces/ECPublicKey;
flags: (0x0010) ACC_FINAL
final sun.security.ssl.NamedGroup namedGroup;
descriptor: Lsun/security/ssl/NamedGroup;
flags: (0x0010) ACC_FINAL
void <init>(java.security.interfaces.ECPublicKey, sun.security.ssl.NamedGroup);
descriptor: (Ljava/security/interfaces/ECPublicKey;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.ECDHKeyExchange$ECDHECredentials.popPublicKey:Ljava/security/interfaces/ECPublicKey;
2: aload 0
aload 2
putfield sun.security.ssl.ECDHKeyExchange$ECDHECredentials.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/ECDHKeyExchange$ECDHECredentials;
0 4 1 popPublicKey Ljava/security/interfaces/ECPublicKey;
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.ECDHKeyExchange$ECDHECredentials.popPublicKey:Ljava/security/interfaces/ECPublicKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ECDHKeyExchange$ECDHECredentials;
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.ECDHKeyExchange$ECDHECredentials.namedGroup:Lsun/security/ssl/NamedGroup;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ECDHKeyExchange$ECDHECredentials;
static sun.security.ssl.ECDHKeyExchange$ECDHECredentials valueOf(sun.security.ssl.NamedGroup, byte[]);
descriptor: (Lsun/security/ssl/NamedGroup;[B)Lsun/security/ssl/ECDHKeyExchange$ECDHECredentials;
flags: (0x0008) ACC_STATIC
Code:
stack=5, 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_ECDHE:Lsun/security/ssl/NamedGroup$NamedGroupSpec;
if_acmpeq 4
1: new java.lang.RuntimeException
dup
2: ldc "Credentials decoding: Not ECDHE 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 java.security.spec.ECParameterSpec
7: astore 2
start local 2 8: aload 1
aload 2
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
9: invokestatic sun.security.util.ECUtil.decodePoint:([BLjava/security/spec/EllipticCurve;)Ljava/security/spec/ECPoint;
astore 3
start local 3 10: ldc "EC"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 4
start local 4 11: aload 4
12: new java.security.spec.ECPublicKeySpec
dup
aload 3
aload 2
invokespecial java.security.spec.ECPublicKeySpec.<init>:(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V
13: invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
checkcast java.security.interfaces.ECPublicKey
astore 5
start local 5 14: new sun.security.ssl.ECDHKeyExchange$ECDHECredentials
dup
aload 5
aload 0
invokespecial sun.security.ssl.ECDHKeyExchange$ECDHECredentials.<init>:(Ljava/security/interfaces/ECPublicKey;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 namedGroup Lsun/security/ssl/NamedGroup;
0 15 1 encodedPoint [B
8 15 2 parameters Ljava/security/spec/ECParameterSpec;
10 15 3 point Ljava/security/spec/ECPoint;
11 15 4 factory Ljava/security/KeyFactory;
14 15 5 publicKey Ljava/security/interfaces/ECPublicKey;
Exceptions:
throws java.io.IOException, java.security.GeneralSecurityException
MethodParameters:
Name Flags
namedGroup
encodedPoint
}
SourceFile: "ECDHKeyExchange.java"
NestHost: sun.security.ssl.ECDHKeyExchange
InnerClasses:
final ECDHECredentials = sun.security.ssl.ECDHKeyExchange$ECDHECredentials of sun.security.ssl.ECDHKeyExchange
final NamedGroupSpec = sun.security.ssl.NamedGroup$NamedGroupSpec of sun.security.ssl.NamedGroup