final class sun.security.ssl.HandshakeMessage$CertificateVerify extends sun.security.ssl.HandshakeMessage
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.HandshakeMessage$CertificateVerify
super_class: sun.security.ssl.HandshakeMessage
{
private byte[] signature;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
sun.security.ssl.ProtocolVersion protocolVersion;
descriptor: Lsun/security/ssl/ProtocolVersion;
flags: (0x0000)
private sun.security.ssl.SignatureAndHashAlgorithm preferableSignatureAlgorithm;
descriptor: Lsun/security/ssl/SignatureAndHashAlgorithm;
flags: (0x0002) ACC_PRIVATE
private static final java.lang.Class<?> delegate;
descriptor: Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private static final java.lang.reflect.Field spiField;
descriptor: Ljava/lang/reflect/Field;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Object NULL_OBJECT;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.Class<?>, java.lang.Object> methodCache;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Object;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: ldc "java.security.MessageDigest$Delegate"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
putstatic sun.security.ssl.HandshakeMessage$CertificateVerify.delegate:Ljava/lang/Class;
1: getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.delegate:Ljava/lang/Class;
ldc "digestSpi"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
putstatic sun.security.ssl.HandshakeMessage$CertificateVerify.spiField:Ljava/lang/reflect/Field;
2: goto 5
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 0
start local 0 4: new java.lang.RuntimeException
dup
ldc "Reflection failed"
aload 0
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 0 5: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.spiField:Ljava/lang/reflect/Field;
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.makeAccessible:(Ljava/lang/reflect/AccessibleObject;)V
6: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic sun.security.ssl.HandshakeMessage$CertificateVerify.NULL_OBJECT:Ljava/lang/Object;
7: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
8: putstatic sun.security.ssl.HandshakeMessage$CertificateVerify.methodCache:Ljava/util/Map;
9: return
LocalVariableTable:
Start End Slot Name Signature
4 5 0 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
void <init>(sun.security.ssl.ProtocolVersion, sun.security.ssl.HandshakeHash, java.security.PrivateKey, javax.crypto.SecretKey, java.security.SecureRandom, sun.security.ssl.SignatureAndHashAlgorithm);
descriptor: (Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;Ljava/security/PrivateKey;Ljavax/crypto/SecretKey;Ljava/security/SecureRandom;Lsun/security/ssl/SignatureAndHashAlgorithm;)V
flags: (0x0000)
Code:
stack=5, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial sun.security.ssl.HandshakeMessage.<init>:()V
1: aload 0
aconst_null
putfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
2: aload 0
aload 1
putfield sun.security.ssl.HandshakeMessage$CertificateVerify.protocolVersion:Lsun/security/ssl/ProtocolVersion;
3: aload 3
invokeinterface java.security.PrivateKey.getAlgorithm:()Ljava/lang/String;
astore 7
start local 7 4: aconst_null
astore 8
start local 8 5: aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 9
6: aload 0
aload 6
putfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
7: aload 6
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getAlgorithmName:()Ljava/lang/String;
invokestatic sun.security.ssl.JsseJce.getSignature:(Ljava/lang/String;)Ljava/security/Signature;
astore 8
8: goto 10
9: StackMap locals: sun.security.ssl.HandshakeMessage$CertificateVerify sun.security.ssl.ProtocolVersion sun.security.ssl.HandshakeHash java.security.PrivateKey javax.crypto.SecretKey java.security.SecureRandom sun.security.ssl.SignatureAndHashAlgorithm java.lang.String java.security.Signature
StackMap stack:
aload 1
aload 7
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.getSignature:(Lsun/security/ssl/ProtocolVersion;Ljava/lang/String;)Ljava/security/Signature;
astore 8
10: StackMap locals:
StackMap stack:
aload 8
aload 3
aload 5
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
11: aload 8
aload 1
aload 2
aload 7
12: aload 4
13: invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.updateSignature:(Ljava/security/Signature;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;Ljava/lang/String;Ljavax/crypto/SecretKey;)V
14: aload 0
aload 8
invokevirtual java.security.Signature.sign:()[B
putfield sun.security.ssl.HandshakeMessage$CertificateVerify.signature:[B
15: return
end local 8 end local 7 end local 6 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 16 0 this Lsun/security/ssl/HandshakeMessage$CertificateVerify;
0 16 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 16 2 handshakeHash Lsun/security/ssl/HandshakeHash;
0 16 3 privateKey Ljava/security/PrivateKey;
0 16 4 masterSecret Ljavax/crypto/SecretKey;
0 16 5 sr Ljava/security/SecureRandom;
0 16 6 signAlgorithm Lsun/security/ssl/SignatureAndHashAlgorithm;
4 16 7 algorithm Ljava/lang/String;
5 16 8 sig Ljava/security/Signature;
Exceptions:
throws java.security.GeneralSecurityException
MethodParameters:
Name Flags
protocolVersion
handshakeHash
privateKey
masterSecret
sr
signAlgorithm
void <init>(sun.security.ssl.HandshakeInStream, java.util.Collection<sun.security.ssl.SignatureAndHashAlgorithm>, sun.security.ssl.ProtocolVersion);
descriptor: (Lsun/security/ssl/HandshakeInStream;Ljava/util/Collection;Lsun/security/ssl/ProtocolVersion;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial sun.security.ssl.HandshakeMessage.<init>:()V
1: aload 0
aconst_null
putfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
2: aload 0
aload 3
putfield sun.security.ssl.HandshakeMessage$CertificateVerify.protocolVersion:Lsun/security/ssl/ProtocolVersion;
3: aload 3
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 16
4: aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
istore 4
start local 4 5: aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getInt8:()I
istore 5
start local 5 6: aload 0
7: iload 4
iload 5
iconst_0
invokestatic sun.security.ssl.SignatureAndHashAlgorithm.valueOf:(III)Lsun/security/ssl/SignatureAndHashAlgorithm;
8: putfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
9: aload 2
10: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
11: invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
12: ifne 16
13: new javax.net.ssl.SSLHandshakeException
dup
14: ldc "Unsupported SignatureAndHashAlgorithm in CertificateVerify message"
15: invokespecial javax.net.ssl.SSLHandshakeException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 16: StackMap locals: sun.security.ssl.HandshakeMessage$CertificateVerify sun.security.ssl.HandshakeInStream java.util.Collection sun.security.ssl.ProtocolVersion
StackMap stack:
aload 0
aload 1
invokevirtual sun.security.ssl.HandshakeInStream.getBytes16:()[B
putfield sun.security.ssl.HandshakeMessage$CertificateVerify.signature:[B
17: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/ssl/HandshakeMessage$CertificateVerify;
0 18 1 input Lsun/security/ssl/HandshakeInStream;
0 18 2 localSupportedSignAlgs Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;
0 18 3 protocolVersion Lsun/security/ssl/ProtocolVersion;
5 16 4 hashAlg I
6 16 5 signAlg I
Exceptions:
throws java.io.IOException
Signature: (Lsun/security/ssl/HandshakeInStream;Ljava/util/Collection<Lsun/security/ssl/SignatureAndHashAlgorithm;>;Lsun/security/ssl/ProtocolVersion;)V
MethodParameters:
Name Flags
input
localSupportedSignAlgs
protocolVersion
sun.security.ssl.SignatureAndHashAlgorithm getPreferableSignatureAlgorithm();
descriptor: ()Lsun/security/ssl/SignatureAndHashAlgorithm;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeMessage$CertificateVerify;
boolean verify(sun.security.ssl.ProtocolVersion, sun.security.ssl.HandshakeHash, java.security.PublicKey, javax.crypto.SecretKey);
descriptor: (Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;Ljava/security/PublicKey;Ljavax/crypto/SecretKey;)Z
flags: (0x0000)
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
invokeinterface java.security.PublicKey.getAlgorithm:()Ljava/lang/String;
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 6
3: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getAlgorithmName:()Ljava/lang/String;
4: invokestatic sun.security.ssl.JsseJce.getSignature:(Ljava/lang/String;)Ljava/security/Signature;
astore 6
5: goto 7
6: StackMap locals: java.lang.String java.security.Signature
StackMap stack:
aload 1
aload 5
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.getSignature:(Lsun/security/ssl/ProtocolVersion;Ljava/lang/String;)Ljava/security/Signature;
astore 6
7: StackMap locals:
StackMap stack:
aload 6
aload 3
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
8: aload 6
aload 1
aload 2
aload 5
9: aload 4
10: invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.updateSignature:(Ljava/security/Signature;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;Ljava/lang/String;Ljavax/crypto/SecretKey;)V
11: aload 6
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.signature:[B
invokevirtual java.security.Signature.verify:([B)Z
ireturn
end local 6 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 12 0 this Lsun/security/ssl/HandshakeMessage$CertificateVerify;
0 12 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 12 2 handshakeHash Lsun/security/ssl/HandshakeHash;
0 12 3 publicKey Ljava/security/PublicKey;
0 12 4 masterSecret Ljavax/crypto/SecretKey;
1 12 5 algorithm Ljava/lang/String;
2 12 6 sig Ljava/security/Signature;
Exceptions:
throws java.security.GeneralSecurityException
MethodParameters:
Name Flags
protocolVersion
handshakeHash
publicKey
masterSecret
private static java.security.Signature getSignature(sun.security.ssl.ProtocolVersion, java.lang.String);
descriptor: (Lsun/security/ssl/ProtocolVersion;Ljava/lang/String;)Ljava/security/Signature;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 3
2206: 1
67986: 2
81440: 3
default: 7
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 2
ldc "EC"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 6
goto 7
StackMap locals:
StackMap stack:
2: aload 2
ldc "DSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 7
StackMap locals:
StackMap stack:
3: aload 2
ldc "RSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
goto 7
4: StackMap locals:
StackMap stack:
invokestatic sun.security.ssl.RSASignature.getInternalInstance:()Ljava/security/Signature;
areturn
5: StackMap locals:
StackMap stack:
ldc "RawDSA"
invokestatic sun.security.ssl.JsseJce.getSignature:(Ljava/lang/String;)Ljava/security/Signature;
areturn
6: StackMap locals:
StackMap stack:
ldc "NONEwithECDSA"
invokestatic sun.security.ssl.JsseJce.getSignature:(Ljava/lang/String;)Ljava/security/Signature;
areturn
7: 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
8: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 10 1 algorithm Ljava/lang/String;
Exceptions:
throws java.security.GeneralSecurityException
MethodParameters:
Name Flags
protocolVersion
algorithm
private static void updateSignature(java.security.Signature, sun.security.ssl.ProtocolVersion, sun.security.ssl.HandshakeHash, java.lang.String, javax.crypto.SecretKey);
descriptor: (Ljava/security/Signature;Lsun/security/ssl/ProtocolVersion;Lsun/security/ssl/HandshakeHash;Ljava/lang/String;Ljavax/crypto/SecretKey;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 3
ldc "RSA"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
1: aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpge 9
2: aload 2
invokevirtual sun.security.ssl.HandshakeHash.getMD5Clone:()Ljava/security/MessageDigest;
astore 5
start local 5 3: aload 2
invokevirtual sun.security.ssl.HandshakeHash.getSHAClone:()Ljava/security/MessageDigest;
astore 6
start local 6 4: aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpge 7
5: aload 5
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.MD5_pad1:[B
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.MD5_pad2:[B
aload 4
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.updateDigest:(Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
6: aload 6
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.SHA_pad1:[B
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.SHA_pad2:[B
aload 4
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.updateDigest:(Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
7: StackMap locals: java.security.MessageDigest java.security.MessageDigest
StackMap stack:
aload 0
aload 5
aload 6
invokestatic sun.security.ssl.RSASignature.setHashes:(Ljava/security/Signature;Ljava/security/MessageDigest;Ljava/security/MessageDigest;)V
end local 6 end local 5 8: goto 18
9: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.security.ssl.HandshakeHash.getAllHandshakeMessages:()[B
invokevirtual java.security.Signature.update:([B)V
10: goto 18
11: StackMap locals:
StackMap stack:
aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpge 17
12: aload 2
invokevirtual sun.security.ssl.HandshakeHash.getSHAClone:()Ljava/security/MessageDigest;
astore 5
start local 5 13: aload 1
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS10:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmpge 15
14: aload 5
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.SHA_pad1:[B
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.SHA_pad2:[B
aload 4
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.updateDigest:(Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
15: StackMap locals: java.security.MessageDigest
StackMap stack:
aload 0
aload 5
invokevirtual java.security.MessageDigest.digest:()[B
invokevirtual java.security.Signature.update:([B)V
end local 5 16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.security.ssl.HandshakeHash.getAllHandshakeMessages:()[B
invokevirtual java.security.Signature.update:([B)V
18: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 sig Ljava/security/Signature;
0 19 1 protocolVersion Lsun/security/ssl/ProtocolVersion;
0 19 2 handshakeHash Lsun/security/ssl/HandshakeHash;
0 19 3 algorithm Ljava/lang/String;
0 19 4 masterKey Ljavax/crypto/SecretKey;
3 8 5 md5Clone Ljava/security/MessageDigest;
4 8 6 shaClone Ljava/security/MessageDigest;
13 16 5 shaClone Ljava/security/MessageDigest;
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
sig
protocolVersion
handshakeHash
algorithm
masterKey
private static void updateDigest(java.security.MessageDigest, byte[], byte[], javax.crypto.SecretKey);
descriptor: (Ljava/security/MessageDigest;[B[BLjavax/crypto/SecretKey;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "RAW"
aload 3
invokeinterface javax.crypto.SecretKey.getFormat:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 3
invokeinterface javax.crypto.SecretKey.getEncoded:()[B
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
3: StackMap locals:
StackMap stack: byte[]
astore 4
start local 4 4: aload 4
ifnull 7
5: aload 0
aload 4
invokevirtual java.security.MessageDigest.update:([B)V
6: goto 8
7: StackMap locals: byte[]
StackMap stack:
aload 0
aload 3
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.digestKey:(Ljava/security/MessageDigest;Ljavax/crypto/SecretKey;)V
8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.security.MessageDigest.update:([B)V
9: aload 0
invokevirtual java.security.MessageDigest.digest:()[B
astore 5
start local 5 10: aload 4
ifnull 13
11: aload 0
aload 4
invokevirtual java.security.MessageDigest.update:([B)V
12: goto 14
13: StackMap locals: byte[]
StackMap stack:
aload 0
aload 3
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.digestKey:(Ljava/security/MessageDigest;Ljavax/crypto/SecretKey;)V
14: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual java.security.MessageDigest.update:([B)V
15: aload 0
aload 5
invokevirtual java.security.MessageDigest.update:([B)V
16: 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 17 0 md Ljava/security/MessageDigest;
0 17 1 pad1 [B
0 17 2 pad2 [B
0 17 3 masterSecret Ljavax/crypto/SecretKey;
4 17 4 keyBytes [B
10 17 5 temp [B
MethodParameters:
Name Flags
md
pad1
pad2
masterSecret
private static void makeAccessible(java.lang.reflect.AccessibleObject);
descriptor: (Ljava/lang/reflect/AccessibleObject;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.security.ssl.HandshakeMessage$CertificateVerify$1
dup
aload 0
invokespecial sun.security.ssl.HandshakeMessage$CertificateVerify$1.<init>:(Ljava/lang/reflect/AccessibleObject;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 o Ljava/lang/reflect/AccessibleObject;
MethodParameters:
Name Flags
o final
private static void digestKey(java.security.MessageDigest, javax.crypto.SecretKey);
descriptor: (Ljava/security/MessageDigest;Ljavax/crypto/SecretKey;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.delegate:Ljava/lang/Class;
if_acmpeq 2
1: new java.lang.Exception
dup
ldc "Digest is not a MessageDigestSpi"
invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.spiField:Ljava/lang/reflect/Field;
aload 0
invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.MessageDigestSpi
astore 2
start local 2 3: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 4: getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.methodCache:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 5: aload 4
ifnonnull 12
6: aload 3
ldc "implUpdate"
iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/crypto/SecretKey;
aastore
invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 4
7: aload 4
checkcast java.lang.reflect.Method
invokestatic sun.security.ssl.HandshakeMessage$CertificateVerify.makeAccessible:(Ljava/lang/reflect/AccessibleObject;)V
8: goto 11
StackMap locals: java.security.MessageDigest javax.crypto.SecretKey java.security.MessageDigestSpi java.lang.Class java.lang.Object
StackMap stack: java.lang.NoSuchMethodException
9: pop
10: getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.NULL_OBJECT:Ljava/lang/Object;
astore 4
11: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.methodCache:Ljava/util/Map;
aload 3
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: StackMap locals:
StackMap stack:
aload 4
getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.NULL_OBJECT:Ljava/lang/Object;
if_acmpne 16
13: new java.lang.Exception
dup
14: ldc "Digest does not support implUpdate(SecretKey)"
15: invokespecial java.lang.Exception.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 4
checkcast java.lang.reflect.Method
astore 5
start local 5 17: aload 5
aload 2
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 5 end local 4 end local 3 end local 2 18: goto 24
StackMap locals: java.security.MessageDigest javax.crypto.SecretKey
StackMap stack: java.lang.Exception
19: astore 2
start local 2 20: new java.lang.RuntimeException
dup
21: ldc "Could not obtain encoded key and MessageDigest cannot digest key"
22: aload 2
23: invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 24: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 md Ljava/security/MessageDigest;
0 25 1 key Ljavax/crypto/SecretKey;
3 18 2 spi Ljava/security/MessageDigestSpi;
4 18 3 clazz Ljava/lang/Class<*>;
5 18 4 r Ljava/lang/Object;
17 18 5 update Ljava/lang/reflect/Method;
20 24 2 e Ljava/lang/Exception;
Exception table:
from to target type
6 8 9 Class java.lang.NoSuchMethodException
0 18 19 Class java.lang.Exception
MethodParameters:
Name Flags
md
key
int messageType();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 15
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/HandshakeMessage$CertificateVerify;
int messageLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=1
start local 0 0: iconst_2
istore 1
start local 1 1: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.protocolVersion:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 3
2: iload 1
invokestatic sun.security.ssl.SignatureAndHashAlgorithm.sizeInRecord:()I
iadd
istore 1
3: StackMap locals: int
StackMap stack:
iload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.signature:[B
arraylength
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/HandshakeMessage$CertificateVerify;
1 4 1 temp I
void send(sun.security.ssl.HandshakeOutStream);
descriptor: (Lsun/security/ssl/HandshakeOutStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.protocolVersion:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 3
1: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getHashValue:()I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
2: aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getSignatureValue:()I
invokevirtual sun.security.ssl.HandshakeOutStream.putInt8:(I)V
3: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.signature:[B
invokevirtual sun.security.ssl.HandshakeOutStream.putBytes16:([B)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/HandshakeMessage$CertificateVerify;
0 5 1 s Lsun/security/ssl/HandshakeOutStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
void print(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "*** CertificateVerify"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: getstatic sun.security.ssl.HandshakeMessage$CertificateVerify.debug:Lsun/security/ssl/Debug;
ifnull 6
ldc "verbose"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 6
2: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.protocolVersion:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
getstatic sun.security.ssl.ProtocolVersion.TLS12:Lsun/security/ssl/ProtocolVersion;
getfield sun.security.ssl.ProtocolVersion.v:I
if_icmplt 6
3: aload 1
new java.lang.StringBuilder
dup
ldc "Signature Algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
getfield sun.security.ssl.HandshakeMessage$CertificateVerify.preferableSignatureAlgorithm:Lsun/security/ssl/SignatureAndHashAlgorithm;
invokevirtual sun.security.ssl.SignatureAndHashAlgorithm.getAlgorithmName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/ssl/HandshakeMessage$CertificateVerify;
0 7 1 s Ljava/io/PrintStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
}
SourceFile: "HandshakeMessage.java"
NestHost: sun.security.ssl.HandshakeMessage
InnerClasses:
final CertificateVerify = sun.security.ssl.HandshakeMessage$CertificateVerify of sun.security.ssl.HandshakeMessage
sun.security.ssl.HandshakeMessage$CertificateVerify$1