final class sun.security.ssl.ECDHKeyExchange$ECDHECredentials implements sun.security.ssl.SSLCredentials
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.SupportedGroupsExtension$NamedGroup namedGroup;
descriptor: Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
flags: (0x0010) ACC_FINAL
void <init>(java.security.interfaces.ECPublicKey, sun.security.ssl.SupportedGroupsExtension$NamedGroup);
descriptor: (Ljava/security/interfaces/ECPublicKey;Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 // sun.security.ssl.ECDHKeyExchange$ECDHECredentials this
start local 1 // java.security.interfaces.ECPublicKey popPublicKey
start local 2 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
0: .line 69
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 70
aload 0 /* this */
aload 1 /* popPublicKey */
putfield sun.security.ssl.ECDHKeyExchange$ECDHECredentials.popPublicKey:Ljava/security/interfaces/ECPublicKey;
2: .line 71
aload 0 /* this */
aload 2 /* namedGroup */
putfield sun.security.ssl.ECDHKeyExchange$ECDHECredentials.namedGroup:Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;
3: .line 72
return
end local 2 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
end local 1 // java.security.interfaces.ECPublicKey popPublicKey
end local 0 // sun.security.ssl.ECDHKeyExchange$ECDHECredentials this
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/SupportedGroupsExtension$NamedGroup;
MethodParameters:
Name Flags
popPublicKey
namedGroup
static sun.security.ssl.ECDHKeyExchange$ECDHECredentials valueOf(sun.security.ssl.SupportedGroupsExtension$NamedGroup, byte[]);
descriptor: (Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;[B)Lsun/security/ssl/ECDHKeyExchange$ECDHECredentials;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
start local 1 // byte[] encodedPoint
0: .line 77
aload 0 /* namedGroup */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.type:Lsun/security/ssl/SupportedGroupsExtension$NamedGroupType;
getstatic sun.security.ssl.SupportedGroupsExtension$NamedGroupType.NAMED_GROUP_ECDHE:Lsun/security/ssl/SupportedGroupsExtension$NamedGroupType;
if_acmpeq 4
1: .line 78
new java.lang.RuntimeException
dup
2: .line 79
ldc "Credentials decoding: Not ECDHE named group"
3: .line 78
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
4: .line 82
StackMap locals:
StackMap stack:
aload 1 /* encodedPoint */
ifnull 5
aload 1 /* encodedPoint */
arraylength
ifne 6
5: .line 83
StackMap locals:
StackMap stack:
aconst_null
areturn
6: .line 87
StackMap locals:
StackMap stack:
aload 0 /* namedGroup */
getfield sun.security.ssl.SupportedGroupsExtension$NamedGroup.oid:Ljava/lang/String;
invokestatic sun.security.ssl.JsseJce.getECParameterSpec:(Ljava/lang/String;)Ljava/security/spec/ECParameterSpec;
7: .line 86
astore 2 /* parameters */
start local 2 // java.security.spec.ECParameterSpec parameters
8: .line 88
aload 2 /* parameters */
ifnonnull 10
9: .line 89
aconst_null
areturn
10: .line 93
StackMap locals: java.security.spec.ECParameterSpec
StackMap stack:
aload 1 /* encodedPoint */
aload 2 /* parameters */
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
11: .line 92
invokestatic sun.security.ssl.JsseJce.decodePoint:([BLjava/security/spec/EllipticCurve;)Ljava/security/spec/ECPoint;
astore 3 /* point */
start local 3 // java.security.spec.ECPoint point
12: .line 94
ldc "EC"
invokestatic sun.security.ssl.JsseJce.getKeyFactory:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 4 /* factory */
start local 4 // java.security.KeyFactory factory
13: .line 95
aload 4 /* factory */
14: .line 96
new java.security.spec.ECPublicKeySpec
dup
aload 3 /* point */
aload 2 /* parameters */
invokespecial java.security.spec.ECPublicKeySpec.<init>:(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V
15: .line 95
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
checkcast java.security.interfaces.ECPublicKey
astore 5 /* publicKey */
start local 5 // java.security.interfaces.ECPublicKey publicKey
16: .line 97
new sun.security.ssl.ECDHKeyExchange$ECDHECredentials
dup
aload 5 /* publicKey */
aload 0 /* namedGroup */
invokespecial sun.security.ssl.ECDHKeyExchange$ECDHECredentials.<init>:(Ljava/security/interfaces/ECPublicKey;Lsun/security/ssl/SupportedGroupsExtension$NamedGroup;)V
areturn
end local 5 // java.security.interfaces.ECPublicKey publicKey
end local 4 // java.security.KeyFactory factory
end local 3 // java.security.spec.ECPoint point
end local 2 // java.security.spec.ECParameterSpec parameters
end local 1 // byte[] encodedPoint
end local 0 // sun.security.ssl.SupportedGroupsExtension$NamedGroup namedGroup
LocalVariableTable:
Start End Slot Name Signature
0 17 0 namedGroup Lsun/security/ssl/SupportedGroupsExtension$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 NamedGroup = sun.security.ssl.SupportedGroupsExtension$NamedGroup of sun.security.ssl.SupportedGroupsExtension
final NamedGroupType = sun.security.ssl.SupportedGroupsExtension$NamedGroupType of sun.security.ssl.SupportedGroupsExtension