final class sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage extends sun.security.ssl.SSLHandshake$HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage
super_class: sun.security.ssl.SSLHandshake$HandshakeMessage
{
private final byte[] encodedPoint;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.security.ssl.HandshakeContext, java.security.interfaces.ECPublicKey);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/security/interfaces/ECPublicKey;)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial sun.security.ssl.SSLHandshake$HandshakeMessage.<init>:(Lsun/security/ssl/HandshakeContext;)V
1: aload 2
invokeinterface java.security.interfaces.ECPublicKey.getW:()Ljava/security/spec/ECPoint;
astore 3
start local 3 2: aload 2
invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
astore 4
start local 4 3: aload 0
aload 3
aload 4
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
invokestatic sun.security.ssl.JsseJce.encodePoint:(Ljava/security/spec/ECPoint;Ljava/security/spec/EllipticCurve;)[B
putfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeMessage;
0 5 1 handshakeContext Lsun/security/ssl/HandshakeContext;
0 5 2 publicKey Ljava/security/interfaces/ECPublicKey;
2 5 3 point Ljava/security/spec/ECPoint;
3 5 4 params Ljava/security/spec/ECParameterSpec;
MethodParameters:
Name Flags
handshakeContext
publicKey
void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokespecial sun.security.ssl.SSLHandshake$HandshakeMessage.<init>:(Lsun/security/ssl/HandshakeContext;)V
1: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
ifeq 4
2: aload 0
aload 2
invokestatic sun.security.ssl.Record.getBytes8:(Ljava/nio/ByteBuffer;)[B
putfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
3: goto 5
4: StackMap locals: sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer
StackMap stack:
aload 0
iconst_0
newarray 8
putfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
5: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeMessage;
0 6 1 handshakeContext Lsun/security/ssl/HandshakeContext;
0 6 2 m Ljava/nio/ByteBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
handshakeContext
m
static void checkConstraints(java.security.AlgorithmConstraints, java.security.interfaces.ECPublicKey, byte[]);
descriptor: (Ljava/security/AlgorithmConstraints;Ljava/security/interfaces/ECPublicKey;[B)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.security.interfaces.ECPublicKey.getParams:()Ljava/security/spec/ECParameterSpec;
astore 3
start local 3 1: aload 2
aload 3
invokevirtual java.security.spec.ECParameterSpec.getCurve:()Ljava/security/spec/EllipticCurve;
invokestatic sun.security.ssl.JsseJce.decodePoint:([BLjava/security/spec/EllipticCurve;)Ljava/security/spec/ECPoint;
2: astore 4
start local 4 3: new java.security.spec.ECPublicKeySpec
dup
aload 4
aload 3
invokespecial java.security.spec.ECPublicKeySpec.<init>:(Ljava/security/spec/ECPoint;Ljava/security/spec/ECParameterSpec;)V
astore 5
start local 5 4: ldc "EC"
invokestatic sun.security.ssl.JsseJce.getKeyFactory:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 6
start local 6 5: aload 6
aload 5
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
checkcast java.security.interfaces.ECPublicKey
6: astore 7
start local 7 7: aload 0
8: getstatic java.security.CryptoPrimitive.KEY_AGREEMENT:Ljava/security/CryptoPrimitive;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;)Ljava/util/EnumSet;
9: aload 7
10: invokeinterface java.security.AlgorithmConstraints.permits:(Ljava/util/Set;Ljava/security/Key;)Z
11: ifne 21
12: new javax.net.ssl.SSLHandshakeException
dup
13: ldc "ECPublicKey does not comply to algorithm constraints"
14: invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
athrow
end local 7 end local 6 end local 5 end local 4 end local 3 15: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 16: new javax.net.ssl.SSLHandshakeException
dup
17: ldc "Could not generate ECPublicKey"
18: invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
19: aload 3
invokevirtual javax.net.ssl.SSLHandshakeException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
20: checkcast javax.net.ssl.SSLHandshakeException
athrow
end local 3 21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 constraints Ljava/security/AlgorithmConstraints;
0 22 1 publicKey Ljava/security/interfaces/ECPublicKey;
0 22 2 encodedPoint [B
1 15 3 params Ljava/security/spec/ECParameterSpec;
3 15 4 point Ljava/security/spec/ECPoint;
4 15 5 spec Ljava/security/spec/ECPublicKeySpec;
5 15 6 kf Ljava/security/KeyFactory;
7 15 7 peerPublicKey Ljava/security/interfaces/ECPublicKey;
16 21 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 15 15 Class java.security.GeneralSecurityException
0 15 15 Class java.io.IOException
Exceptions:
throws javax.net.ssl.SSLHandshakeException
MethodParameters:
Name Flags
constraints
publicKey
encodedPoint
public sun.security.ssl.SSLHandshake handshakeType();
descriptor: ()Lsun/security/ssl/SSLHandshake;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.security.ssl.SSLHandshake.CLIENT_KEY_EXCHANGE:Lsun/security/ssl/SSLHandshake;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeMessage;
public int messageLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
ifnull 1
aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_1
aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
arraylength
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeMessage;
public void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
ifnull 2
aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
arraylength
ifeq 2
1: aload 1
aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes8:([B)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeMessage;
0 3 1 hos Lsun/security/ssl/HandshakeOutStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hos
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: new java.text.MessageFormat
dup
1: ldc "\"ECDH ClientKeyExchange\": '{'\n \"ecdh public\": '{'\n{0}\n '}',\n'}'"
2: getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
3: invokespecial java.text.MessageFormat.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
astore 1
start local 1 4: aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
ifnull 5
aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
arraylength
ifne 9
5: StackMap locals: java.text.MessageFormat
StackMap stack:
iconst_1
anewarray java.lang.Object
dup
iconst_0
6: ldc " <implicit>"
aastore
7: astore 2
start local 2 8: aload 1
aload 2
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 2 9: StackMap locals:
StackMap stack:
new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 2
start local 2 10: iconst_1
anewarray java.lang.Object
dup
iconst_0
11: aload 2
aload 0
getfield sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage.encodedPoint:[B
invokevirtual sun.misc.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
ldc " "
12: invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aastore
13: astore 3
start local 3 14: aload 1
aload 3
invokevirtual java.text.MessageFormat.format:(Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/ssl/ECDHClientKeyExchange$ECDHClientKeyExchangeMessage;
4 15 1 messageFormat Ljava/text/MessageFormat;
8 9 2 messageFields [Ljava/lang/Object;
10 15 2 hexEncoder Lsun/misc/HexDumpEncoder;
14 15 3 messageFields [Ljava/lang/Object;
}
SourceFile: "ECDHClientKeyExchange.java"
NestHost: sun.security.ssl.ECDHClientKeyExchange
InnerClasses:
private final ECDHClientKeyExchangeMessage = sun.security.ssl.ECDHClientKeyExchange$ECDHClientKeyExchangeMessage of sun.security.ssl.ECDHClientKeyExchange
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake