final class sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage 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$T12CertificateVerifyMessage
super_class: sun.security.ssl.SSLHandshake$HandshakeMessage
{
private final sun.security.ssl.SignatureScheme signatureScheme;
descriptor: Lsun/security/ssl/SignatureScheme;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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=6, 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: aload 0
3: aload 3
getfield sun.security.ssl.ClientHandshakeContext.peerRequestedSignatureSchemes:Ljava/util/List;
4: aload 2
5: aload 3
getfield sun.security.ssl.ClientHandshakeContext.negotiatedProtocol:Lsun/security/ssl/ProtocolVersion;
6: invokestatic sun.security.ssl.SignatureScheme.getPreferableAlgorithm:(Ljava/util/List;Lsun/security/ssl/X509Authentication$X509Possession;Lsun/security/ssl/ProtocolVersion;)Lsun/security/ssl/SignatureScheme;
putfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
7: aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
ifnonnull 11
8: aload 3
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
9: ldc "No preferred signature algorithm for CertificateVerify"
10: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
11: StackMap locals: sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage sun.security.ssl.HandshakeContext sun.security.ssl.X509Authentication$X509Possession sun.security.ssl.ClientHandshakeContext
StackMap stack:
aconst_null
astore 4
start local 4 12: aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
aload 2
getfield sun.security.ssl.X509Authentication$X509Possession.popPrivateKey:Ljava/security/PrivateKey;
invokevirtual sun.security.ssl.SignatureScheme.getSignature:(Ljava/security/Key;)Ljava/security/Signature;
13: astore 5
start local 5 14: aload 5
aload 3
getfield sun.security.ssl.ClientHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
invokevirtual sun.security.ssl.HandshakeHash.archived:()[B
invokevirtual java.security.Signature.update:([B)V
15: aload 5
invokevirtual java.security.Signature.sign:()[B
astore 4
end local 5 16: goto 29
17: StackMap locals: sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage sun.security.ssl.HandshakeContext sun.security.ssl.X509Authentication$X509Possession sun.security.ssl.ClientHandshakeContext byte[]
StackMap stack: java.security.GeneralSecurityException
astore 5
start local 5 18: aload 3
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
19: new java.lang.StringBuilder
dup
ldc "Unsupported signature algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
getfield sun.security.ssl.SignatureScheme.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
21: ldc ") used in CertificateVerify handshake message"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
22: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
23: aload 5
24: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 5 25: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 5
start local 5 26: aload 3
getfield sun.security.ssl.ClientHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
27: ldc "Cannot produce CertificateVerify signature"
aload 5
28: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 5 29: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signature:[B
30: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lsun/security/ssl/CertificateVerify$T12CertificateVerifyMessage;
0 31 1 context Lsun/security/ssl/HandshakeContext;
0 31 2 x509Possession Lsun/security/ssl/X509Authentication$X509Possession;
2 31 3 chc Lsun/security/ssl/ClientHandshakeContext;
12 31 4 temproary [B
14 16 5 signer Ljava/security/Signature;
18 25 5 nsae Ljava/security/GeneralSecurityException;
26 29 5 ikse Ljava/security/GeneralSecurityException;
Exception table:
from to target type
12 16 17 Class java.security.NoSuchAlgorithmException
12 16 17 Class java.security.InvalidAlgorithmParameterException
12 16 25 Class java.security.InvalidKeyException
12 16 25 Class java.security.SignatureException
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
2: astore 3
start local 3 3: aload 2
invokevirtual java.nio.ByteBuffer.remaining:()I
iconst_4
if_icmpge 7
4: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.ILLEGAL_PARAMETER:Lsun/security/ssl/Alert;
5: ldc "Invalid CertificateVerify message: no sufficient data"
6: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
7: StackMap locals: sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext
StackMap stack:
aload 2
invokestatic sun.security.ssl.Record.getInt16:(Ljava/nio/ByteBuffer;)I
istore 4
start local 4 8: aload 0
iload 4
invokestatic sun.security.ssl.SignatureScheme.valueOf:(I)Lsun/security/ssl/SignatureScheme;
putfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
9: aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
ifnonnull 15
10: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
11: new java.lang.StringBuilder
dup
ldc "Invalid signature algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
12: ldc ") used in CertificateVerify handshake message"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
15: StackMap locals: int
StackMap stack:
aload 3
getfield sun.security.ssl.ServerHandshakeContext.localSupportedSignAlgs:Ljava/util/List;
aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 22
16: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
17: new java.lang.StringBuilder
dup
ldc "Unsupported signature algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
18: aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
getfield sun.security.ssl.SignatureScheme.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
19: ldc ") used in CertificateVerify handshake message"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
20: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
22: StackMap locals:
StackMap stack:
aconst_null
astore 5
start local 5 23: aload 3
getfield sun.security.ssl.ServerHandshakeContext.handshakeCredentials:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 28
StackMap locals: sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext int sun.security.ssl.X509Authentication$X509Credentials top java.util.Iterator
StackMap stack:
24: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.security.ssl.SSLCredentials
astore 6
start local 6 25: aload 6
instanceof sun.security.ssl.X509Authentication$X509Credentials
ifeq 28
26: aload 6
checkcast sun.security.ssl.X509Authentication$X509Credentials
astore 5
27: goto 29
end local 6 28: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
29: StackMap locals: sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage sun.security.ssl.HandshakeContext java.nio.ByteBuffer sun.security.ssl.ServerHandshakeContext int sun.security.ssl.X509Authentication$X509Credentials
StackMap stack:
aload 5
ifnull 31
30: aload 5
getfield sun.security.ssl.X509Authentication$X509Credentials.popPublicKey:Ljava/security/PublicKey;
ifnonnull 34
31: 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;
32: ldc "No X509 credentials negotiated for CertificateVerify"
33: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
34: StackMap locals:
StackMap stack:
aload 0
aload 2
invokestatic sun.security.ssl.Record.getBytes16:(Ljava/nio/ByteBuffer;)[B
putfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signature:[B
35: aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
aload 5
getfield sun.security.ssl.X509Authentication$X509Credentials.popPublicKey:Ljava/security/PublicKey;
invokevirtual sun.security.ssl.SignatureScheme.getSignature:(Ljava/security/Key;)Ljava/security/Signature;
36: astore 6
start local 6 37: aload 6
aload 3
getfield sun.security.ssl.ServerHandshakeContext.handshakeHash:Lsun/security/ssl/HandshakeHash;
invokevirtual sun.security.ssl.HandshakeHash.archived:()[B
invokevirtual java.security.Signature.update:([B)V
38: aload 6
aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signature:[B
invokevirtual java.security.Signature.verify:([B)Z
ifne 54
39: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
40: ldc "Invalid CertificateVerify signature"
41: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;)Ljavax/net/ssl/SSLException;
athrow
end local 6 42: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 6
start local 6 43: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.INTERNAL_ERROR:Lsun/security/ssl/Alert;
44: new java.lang.StringBuilder
dup
ldc "Unsupported signature algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
45: aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
getfield sun.security.ssl.SignatureScheme.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
46: ldc ") used in CertificateVerify handshake message"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
47: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
48: aload 6
49: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 50: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 6
start local 6 51: aload 3
getfield sun.security.ssl.ServerHandshakeContext.conContext:Lsun/security/ssl/TransportContext;
getstatic sun.security.ssl.Alert.HANDSHAKE_FAILURE:Lsun/security/ssl/Alert;
52: ldc "Cannot verify CertificateVerify signature"
aload 6
53: invokevirtual sun.security.ssl.TransportContext.fatal:(Lsun/security/ssl/Alert;Ljava/lang/String;Ljava/lang/Throwable;)Ljavax/net/ssl/SSLException;
athrow
end local 6 54: 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 55 0 this Lsun/security/ssl/CertificateVerify$T12CertificateVerifyMessage;
0 55 1 handshakeContext Lsun/security/ssl/HandshakeContext;
0 55 2 m Ljava/nio/ByteBuffer;
3 55 3 shc Lsun/security/ssl/ServerHandshakeContext;
8 55 4 ssid I
23 55 5 x509Credentials Lsun/security/ssl/X509Authentication$X509Credentials;
25 28 6 cd Lsun/security/ssl/SSLCredentials;
37 42 6 signer Ljava/security/Signature;
43 50 6 nsae Ljava/security/GeneralSecurityException;
51 54 6 ikse Ljava/security/GeneralSecurityException;
Exception table:
from to target type
35 42 42 Class java.security.NoSuchAlgorithmException
35 42 42 Class java.security.InvalidAlgorithmParameterException
35 42 50 Class java.security.InvalidKeyException
35 42 50 Class java.security.SignatureException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
handshakeContext
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$T12CertificateVerifyMessage;
public int messageLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_4
aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signature:[B
arraylength
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/CertificateVerify$T12CertificateVerifyMessage;
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$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
getfield sun.security.ssl.SignatureScheme.id:I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt16:(I)V
1: aload 1
aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signature:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes16:([B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/CertificateVerify$T12CertificateVerifyMessage;
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 "\"CertificateVerify\": '{'\n \"signature algorithm\": {0}\n \"signature\": '{'\n{1}\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.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 2
start local 2 5: iconst_2
anewarray java.lang.Object
dup
iconst_0
6: aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signatureScheme:Lsun/security/ssl/SignatureScheme;
getfield sun.security.ssl.SignatureScheme.name:Ljava/lang/String;
aastore
dup
iconst_1
7: aload 2
aload 0
getfield sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage.signature:[B
invokevirtual sun.misc.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
ldc " "
8: invokestatic sun.security.ssl.Utilities.indent:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
aastore
9: astore 3
start local 3 10: 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 11 0 this Lsun/security/ssl/CertificateVerify$T12CertificateVerifyMessage;
4 11 1 messageFormat Ljava/text/MessageFormat;
5 11 2 hexEncoder Lsun/misc/HexDumpEncoder;
10 11 3 messageFields [Ljava/lang/Object;
}
SourceFile: "CertificateVerify.java"
NestHost: sun.security.ssl.CertificateVerify
InnerClasses:
final T12CertificateVerifyMessage = sun.security.ssl.CertificateVerify$T12CertificateVerifyMessage 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