final class sun.security.ssl.Finished$FinishedMessage extends sun.security.ssl.SSLHandshake$HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.Finished$FinishedMessage
super_class: sun.security.ssl.SSLHandshake$HandshakeMessage
{
private final byte[] verifyData;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.security.ssl.HandshakeContext);
descriptor: (Lsun/security/ssl/HandshakeContext;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.security.ssl.SSLHandshake$HandshakeMessage.<init>:(Lsun/security/ssl/HandshakeContext;)V
1: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokestatic sun.security.ssl.Finished$VerifyDataScheme.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/Finished$VerifyDataScheme;
2: astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: aload 2
aload 1
iconst_0
invokevirtual sun.security.ssl.Finished$VerifyDataScheme.createVerifyData:(Lsun/security/ssl/HandshakeContext;Z)[B
astore 3
5: goto 10
StackMap locals: sun.security.ssl.Finished$FinishedMessage sun.security.ssl.HandshakeContext sun.security.ssl.Finished$VerifyDataScheme byte[]
StackMap stack: java.io.IOException
6: astore 4
start local 4 7: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
8: ldc "Failed to generate verify_data"
aload 4
9: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 4 10: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/ssl/Finished$FinishedMessage;
0 12 1 context Lsun/security/ssl/HandshakeContext;
3 12 2 vds Lsun/security/ssl/Finished$VerifyDataScheme;
4 12 3 vd [B
7 10 4 ioe Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=5, locals=7, 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: bipush 12
istore 3
start local 3 2: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
getstatic sun.security.ssl.ProtocolVersion.SSL30:Lsun/security/ssl/ProtocolVersion;
if_acmpne 5
3: bipush 36
istore 3
4: goto 8
StackMap locals: sun.security.ssl.Finished$FinishedMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer int
StackMap stack:
5: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokevirtual sun.security.ssl.ProtocolVersion.useTLS13PlusSpec:()Z
ifeq 8
6: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedCipherSuite:Lsun/security/ssl/CipherSuite;
getfield sun.security.ssl.CipherSuite.hashAlg:Lsun/security/ssl/CipherSuite$HashAlg;
getfield sun.security.ssl.CipherSuite$HashAlg.hashLength:I
7: istore 3
8: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iload 3
if_icmpeq 14
9: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECODE_ERROR:Lsun/security/ssl/Alert;
10: new java.lang.StringBuilder
dup
ldc "Inappropriate finished message: need "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
11: ldc " but remaining "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " bytes verify_data"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
14: StackMap locals:
StackMap stack:
aload 0
iload 3
newarray 8
putfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
15: aload 2
aload 0
getfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
invokevirtual java.nio.ByteBuffer.get:([B)Ljava/nio/ByteBuffer;
pop
16: aload 1
getfield sun.security.ssl.HandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
invokestatic sun.security.ssl.Finished$VerifyDataScheme.valueOf:(Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/Finished$VerifyDataScheme;
17: astore 4
start local 4 18: aload 4
aload 1
iconst_1
invokevirtual sun.security.ssl.Finished$VerifyDataScheme.createVerifyData:(Lsun/security/ssl/HandshakeContext;Z)[B
astore 5
start local 5 19: goto 24
end local 5 StackMap locals: sun.security.ssl.Finished$FinishedMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer int sun.security.ssl.Finished$VerifyDataScheme
StackMap stack: java.io.IOException
20: astore 6
start local 6 21: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
22: ldc "Failed to generate verify_data"
aload 6
23: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 start local 5 24: StackMap locals: byte[]
StackMap stack:
aload 5
aload 0
getfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
invokestatic java.security.MessageDigest.isEqual:([B[B)Z
ifne 28
25: aload 1
getfield sun.security.ssl.HandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.DECRYPT_ERROR:Lsun/security/ssl/Alert;
26: ldc "The Finished message cannot be verified."
27: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
28: StackMap locals:
StackMap stack:
return
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 29 0 this Lsun/security/ssl/Finished$FinishedMessage;
0 29 1 context Lsun/security/ssl/HandshakeContext;
0 29 2 m Ljava/nio/ByteBuffer;
2 29 3 verifyDataLen I
18 29 4 vd Lsun/security/ssl/Finished$VerifyDataScheme;
19 20 5 myVerifyData [B
24 29 5 myVerifyData [B
21 24 6 ioe Ljava/io/IOException;
Exception table:
from to target type
18 19 20 Class java.io.IOException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
m
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.FINISHED:Lsun/security/ssl/SSLHandshake;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/Finished$FinishedMessage;
public int messageLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/Finished$FinishedMessage;
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 1
aload 0
getfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
invokevirtual sun.security.ssl.HandshakeOutStream.write:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/Finished$FinishedMessage;
0 2 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 "\"Finished\": '{'\n \"verify data\": '{'\n{0}\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: new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 2
start local 2 5: iconst_1
anewarray java.lang.Object
dup
iconst_0
6: aload 2
aload 0
getfield sun.security.ssl.Finished$FinishedMessage.verifyData:[B
invokevirtual sun.misc.HexDumpEncoder.encode:([B)Ljava/lang/String;
ldc " "
invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aastore
7: astore 3
start local 3 8: 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 9 0 this Lsun/security/ssl/Finished$FinishedMessage;
4 9 1 messageFormat Ljava/text/MessageFormat;
5 9 2 hexEncoder Lsun/misc/HexDumpEncoder;
8 9 3 messageFields [Ljava/lang/Object;
}
SourceFile: "Finished.java"
NestHost: sun.security.ssl.Finished
InnerClasses:
final HashAlg = sun.security.ssl.CipherSuite$HashAlg of sun.security.ssl.CipherSuite
private final FinishedMessage = sun.security.ssl.Finished$FinishedMessage of sun.security.ssl.Finished
final VerifyDataScheme = sun.security.ssl.Finished$VerifyDataScheme of sun.security.ssl.Finished
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake