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.type:Lsun/security/ssl/NamedGroup$NamedGroupType;
getstatic sun.security.ssl.NamedGroup$NamedGroupType.NAMED_GROUP_ECDHE:Lsun/security/ssl/NamedGroup$NamedGroupType;
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:
aconst_null
aload 0
getfield sun.security.ssl.NamedGroup.oid:Ljava/lang/String;
invokestatic sun.security.util.ECUtil.getECParameterSpec:(Ljava/security/Provider;Ljava/lang/String;)Ljava/security/spec/ECParameterSpec;
7: astore 2
start local 2 8: aload 2
ifnonnull 10
9: aconst_null
areturn
10: StackMap locals: java.security.spec.ECParameterSpec
StackMap stack:
aload 1
aload 2
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
11: invokestatic sun.security.util.ECUtil.decodePoint:([BLjava/security/spec/EllipticCurve;)Ljava/security/spec/ECPoint;
astore 3
start local 3 12: ldc "EC"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 4
start local 4 13: aload 4
14: 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
15: invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
checkcast java.security.interfaces.ECPublicKey
astore 5
start local 5 16: 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 17 0 namedGroup Lsun/security/ssl/NamedGroup;
0 17 1 encodedPoint [B
8 17 2 parameters Ljava/security/spec/ECParameterSpec;
12 17 3 point Ljava/security/spec/ECPoint;
13 17 4 factory Ljava/security/KeyFactory;
16 17 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 NamedGroupType = sun.security.ssl.NamedGroup$NamedGroupType of sun.security.ssl.NamedGroup