final class sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage extends sun.security.ssl.SSLHandshake$HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage
super_class: sun.security.ssl.SSLHandshake$HandshakeMessage
{
private final byte[] signature;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(sun.security.ssl.HandshakeContext, sun.security.ssl.X509Authentication$X509Possession);
descriptor: (Lsun/security/ssl/HandshakeContext;Lsun/security/ssl/X509Authentication$X509Possession;)V
flags: (0x0000)
Code:
stack=5, locals=8, 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 1
checkcast sun.security.ssl.ClientHandshakeContext
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 2
getfield sun.security.ssl.X509Authentication$X509Possession.popPrivateKey:Ljava/security/PrivateKey;
invokeinterface java.security.PrivateKey.getAlgorithm:()Ljava/lang/String;
astore 5
start local 5 4: aload 5
aload 2
getfield sun.security.ssl.X509Authentication$X509Possession.popPrivateKey:Ljava/security/PrivateKey;
invokestatic sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage.getSignature:(Ljava/lang/String;Ljava/security/Key;)Ljava/security/Signature;
5: astore 6
start local 6 6: aload 3
getfield sun.security.ssl.ClientHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
aload 5
invokevirtual sun.security.ssl.HandshakeHash.digest:(Ljava/lang/String;)[B
astore 7
start local 7 7: aload 6
aload 7
invokevirtual java.security.Signature.update:([B)V
8: aload 6
invokevirtual java.security.Signature.sign:()[B
astore 4
end local 7 end local 6 9: goto 21
StackMap locals: sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage sun.security.ssl.HandshakeContext sun.security.ssl.X509Authentication$X509Possession sun.security.ssl.ClientHandshakeContext byte[] java.lang.String
StackMap stack: java.security.NoSuchAlgorithmException
10: astore 6
start local 6 11: aload 3
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
12: new java.lang.StringBuilder
dup
ldc "Unsupported signature algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: ldc ") used in CertificateVerify handshake message"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
14: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: aload 6
16: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 17: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 6
start local 6 18: aload 3
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
19: ldc "Cannot produce CertificateVerify signature"
aload 6
20: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 21: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage.signature:[B
22: 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 23 0 this Lsun/security/ssl/CertificateVerify$T10CertificateVerifyMessage;
0 23 1 context Lsun/security/ssl/HandshakeContext;
0 23 2 x509Possession Lsun/security/ssl/X509Authentication$X509Possession;
2 23 3 chc Lsun/security/ssl/ClientHandshakeContext;
3 23 4 temproary [B
4 23 5 algorithm Ljava/lang/String;
6 9 6 signer Ljava/security/Signature;
7 9 7 hashes [B
11 17 6 nsae Ljava/security/NoSuchAlgorithmException;
18 21 6 gse Ljava/security/GeneralSecurityException;
Exception table:
from to target type
4 9 10 Class java.security.NoSuchAlgorithmException
4 9 17 Class java.security.GeneralSecurityException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
x509Possession
void <init>(sun.security.ssl.HandshakeContext, java.nio.ByteBuffer);
descriptor: (Lsun/security/ssl/HandshakeContext;Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=5, locals=8, 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 1
checkcast sun.security.ssl.ServerHandshakeContext
astore 3
start local 3 2: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_2
if_icmpge 6
3: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
4: ldc "Invalid CertificateVerify message: no sufficient data"
5: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
6: StackMap locals: sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext
StackMap stack:
aload 0
aload 2
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
putfield sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage.signature:[B
7: aconst_null
astore 4
start local 4 8: aload 3
getfield sun.security.ssl.ServerHandshakeContext.handshakeCredentials:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.X509Authentication$X509Credentials top java.util.Iterator
StackMap stack:
9: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SSLCredentials
astore 5
start local 5 10: aload 5
instanceof sun.security.ssl.X509Authentication$X509Credentials
ifeq 13
11: aload 5
checkcast sun.security.ssl.X509Authentication$X509Credentials
astore 4
12: goto 14
end local 5 13: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
14: StackMap locals: sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.X509Authentication$X509Credentials
StackMap stack:
aload 4
ifnull 16
15: aload 4
getfield sun.security.ssl.X509Authentication$X509Credentials.popPublicKey:Ljava/security/PublicKey;
ifnonnull 19
16: StackMap locals:
StackMap stack:
aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
17: ldc "No X509 credentials negotiated for CertificateVerify"
18: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
19: StackMap locals:
StackMap stack:
aload 4
getfield sun.security.ssl.X509Authentication$X509Credentials.popPublicKey:Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getAlgorithm:()Ljava/lang/String;
astore 5
start local 5 20: aload 5
aload 4
getfield sun.security.ssl.X509Authentication$X509Credentials.popPublicKey:Ljava/security/PublicKey;
invokestatic sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage.getSignature:(Ljava/lang/String;Ljava/security/Key;)Ljava/security/Signature;
21: astore 6
start local 6 22: aload 3
getfield sun.security.ssl.ServerHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
aload 5
invokevirtual sun.security.ssl.HandshakeHash.digest:(Ljava/lang/String;)[B
astore 7
start local 7 23: aload 6
aload 7
invokevirtual java.security.Signature.update:([B)V
24: aload 6
aload 0
getfield sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage.signature:[B
invokevirtual java.security.Signature.verify:([B)Z
ifne 39
25: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
26: ldc "Invalid CertificateVerify message: invalid signature"
27: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
end local 7 end local 6 28: StackMap locals: sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext sun.security.ssl.X509Authentication$X509Credentials java.lang.String
StackMap stack: java.security.NoSuchAlgorithmException
astore 6
start local 6 29: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
30: new java.lang.StringBuilder
dup
ldc "Unsupported signature algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
31: ldc ") used in CertificateVerify handshake message"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
32: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
33: aload 6
34: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 35: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 6
start local 6 36: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
37: ldc "Cannot verify CertificateVerify signature"
aload 6
38: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 39: 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 40 0 this Lsun/security/ssl/CertificateVerify$T10CertificateVerifyMessage;
0 40 1 context Lsun/security/ssl/HandshakeContext;
0 40 2 m Ljava/nio/ByteBuffer;
2 40 3 shc Lsun/security/ssl/ServerHandshakeContext;
8 40 4 x509Credentials Lsun/security/ssl/X509Authentication$X509Credentials;
10 13 5 cd Lsun/security/ssl/SSLCredentials;
20 40 5 algorithm Ljava/lang/String;
22 28 6 signer Ljava/security/Signature;
23 28 7 hashes [B
29 35 6 nsae Ljava/security/NoSuchAlgorithmException;
36 39 6 gse Ljava/security/GeneralSecurityException;
Exception table:
from to target type
20 28 28 Class java.security.NoSuchAlgorithmException
20 28 35 Class java.security.GeneralSecurityException
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.CERTIFICATE_VERIFY:Lsun/security/ssl/SSLHandshake;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/CertificateVerify$T10CertificateVerifyMessage;
public int messageLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_2
aload 0
getfield sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage.signature:[B
arraylength
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/CertificateVerify$T10CertificateVerifyMessage;
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.CertificateVerify$T10CertificateVerifyMessage.signature:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes16:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/CertificateVerify$T10CertificateVerifyMessage;
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 "\"CertificateVerify\": '{'\n \"signature\": '{'\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: new sun.security.util.HexDumpEncoder
dup
invokespecial sun.security.util.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.CertificateVerify$T10CertificateVerifyMessage.signature:[B
invokevirtual sun.security.util.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
ldc " "
7: invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aastore
8: astore 3
start local 3 9: 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 10 0 this Lsun/security/ssl/CertificateVerify$T10CertificateVerifyMessage;
4 10 1 messageFormat Ljava/text/MessageFormat;
5 10 2 hexEncoder Lsun/security/util/HexDumpEncoder;
9 10 3 messageFields [Ljava/lang/Object;
private static java.security.Signature getSignature(java.lang.String, java.security.Key);
descriptor: (Ljava/lang/String;Ljava/security/Key;)Ljava/security/Signature;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
dup
astore 3
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
2206: 2
67986: 3
81440: 4
default: 11
}
StackMap locals: java.security.Signature java.lang.String
StackMap stack:
2: aload 3
ldc "EC"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
goto 11
StackMap locals:
StackMap stack:
3: aload 3
ldc "DSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
goto 11
StackMap locals:
StackMap stack:
4: aload 3
ldc "RSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 11
5: StackMap locals:
StackMap stack:
ldc "NONEwithRSA"
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 2
6: goto 14
7: StackMap locals:
StackMap stack:
ldc "RawDSA"
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 2
8: goto 14
9: StackMap locals:
StackMap stack:
ldc "NONEwithECDSA"
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 2
10: goto 14
11: StackMap locals:
StackMap stack:
new java.security.SignatureException
dup
new java.lang.StringBuilder
dup
ldc "Unrecognized algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
12: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 2
ifnull 19
15: aload 1
instanceof java.security.PublicKey
ifeq 18
16: aload 2
aload 1
checkcast java.security.PublicKey
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
17: goto 19
18: StackMap locals:
StackMap stack:
aload 2
aload 1
checkcast java.security.PrivateKey
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
19: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 algorithm Ljava/lang/String;
0 20 1 key Ljava/security/Key;
1 20 2 signer Ljava/security/Signature;
Exceptions:
throws java.security.GeneralSecurityException
MethodParameters:
Name Flags
algorithm
key
}
SourceFile: "CertificateVerify.java"
NestHost: sun.security.ssl.CertificateVerify
InnerClasses:
final T10CertificateVerifyMessage = sun.security.ssl.CertificateVerify$T10CertificateVerifyMessage of sun.security.ssl.CertificateVerify
abstract HandshakeMessage = sun.security.ssl.SSLHandshake$HandshakeMessage of sun.security.ssl.SSLHandshake
final X509Credentials = sun.security.ssl.X509Authentication$X509Credentials of sun.security.ssl.X509Authentication
final X509Possession = sun.security.ssl.X509Authentication$X509Possession of sun.security.ssl.X509Authentication