public final class sun.security.ssl.RSASignature extends java.security.SignatureSpi
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.RSASignature
super_class: java.security.SignatureSpi
{
private final java.security.Signature rawRsa;
descriptor: Ljava/security/Signature;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.security.MessageDigest md5;
descriptor: Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
private java.security.MessageDigest sha;
descriptor: Ljava/security/MessageDigest;
flags: (0x0002) ACC_PRIVATE
private boolean isReset;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.security.SignatureSpi.<init>:()V
1: aload 0
ldc "NONEwithRSA"
invokestatic sun.security.ssl.JsseJce.getSignature:(Ljava/lang/String;)Ljava/security/Signature;
putfield sun.security.ssl.RSASignature.rawRsa:Ljava/security/Signature;
2: aload 0
iconst_1
putfield sun.security.ssl.RSASignature.isReset:Z
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/RSASignature;
Exceptions:
throws java.security.NoSuchAlgorithmException
static java.security.Signature getInstance();
descriptor: ()Ljava/security/Signature;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "MD5andSHA1withRSA"
invokestatic sun.security.ssl.JsseJce.getSignature:(Ljava/lang/String;)Ljava/security/Signature;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.security.NoSuchAlgorithmException
static java.security.Signature getInternalInstance();
descriptor: ()Ljava/security/Signature;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "MD5andSHA1withRSA"
ldc "SunJSSE"
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Signature;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
static void setHashes(java.security.Signature, java.security.MessageDigest, java.security.MessageDigest);
descriptor: (Ljava/security/Signature;Ljava/security/MessageDigest;Ljava/security/MessageDigest;)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "hashes"
iconst_2
anewarray java.security.MessageDigest
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokevirtual java.security.Signature.setParameter:(Ljava/lang/String;Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 sig Ljava/security/Signature;
0 2 1 md5 Ljava/security/MessageDigest;
0 2 2 sha Ljava/security/MessageDigest;
MethodParameters:
Name Flags
sig
md5
sha
private void reset();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.RSASignature.isReset:Z
ifne 4
1: aload 0
getfield sun.security.ssl.RSASignature.md5:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
2: aload 0
getfield sun.security.ssl.RSASignature.sha:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
3: aload 0
iconst_1
putfield sun.security.ssl.RSASignature.isReset:Z
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/RSASignature;
private static void checkNull(java.security.Key);
descriptor: (Ljava/security/Key;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.security.InvalidKeyException
dup
ldc "Key must not be null"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 key Ljava/security/Key;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
protected void engineInitVerify(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic sun.security.ssl.RSASignature.checkNull:(Ljava/security/Key;)V
1: aload 0
invokevirtual sun.security.ssl.RSASignature.reset:()V
2: aload 0
getfield sun.security.ssl.RSASignature.rawRsa:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/RSASignature;
0 4 1 publicKey Ljava/security/PublicKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
publicKey
protected void engineInitSign(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual sun.security.ssl.RSASignature.engineInitSign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/RSASignature;
0 2 1 privateKey Ljava/security/PrivateKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
privateKey
protected void engineInitSign(java.security.PrivateKey, java.security.SecureRandom);
descriptor: (Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic sun.security.ssl.RSASignature.checkNull:(Ljava/security/Key;)V
1: aload 0
invokevirtual sun.security.ssl.RSASignature.reset:()V
2: aload 0
getfield sun.security.ssl.RSASignature.rawRsa:Ljava/security/Signature;
aload 1
aload 2
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/RSASignature;
0 4 1 privateKey Ljava/security/PrivateKey;
0 4 2 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
privateKey
random
private void initDigests();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.RSASignature.md5:Ljava/security/MessageDigest;
ifnonnull 3
1: aload 0
invokestatic sun.security.ssl.JsseJce.getMD5:()Ljava/security/MessageDigest;
putfield sun.security.ssl.RSASignature.md5:Ljava/security/MessageDigest;
2: aload 0
invokestatic sun.security.ssl.JsseJce.getSHA:()Ljava/security/MessageDigest;
putfield sun.security.ssl.RSASignature.sha:Ljava/security/MessageDigest;
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/ssl/RSASignature;
protected void engineUpdate(byte);
descriptor: (B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.ssl.RSASignature.initDigests:()V
1: aload 0
iconst_0
putfield sun.security.ssl.RSASignature.isReset:Z
2: aload 0
getfield sun.security.ssl.RSASignature.md5:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
3: aload 0
getfield sun.security.ssl.RSASignature.sha:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/RSASignature;
0 5 1 b B
MethodParameters:
Name Flags
b
protected void engineUpdate(byte[], int, int);
descriptor: ([BII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.security.ssl.RSASignature.initDigests:()V
1: aload 0
iconst_0
putfield sun.security.ssl.RSASignature.isReset:Z
2: aload 0
getfield sun.security.ssl.RSASignature.md5:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
3: aload 0
getfield sun.security.ssl.RSASignature.sha:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
4: return
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/RSASignature;
0 5 1 b [B
0 5 2 off I
0 5 3 len I
MethodParameters:
Name Flags
b
off
len
private byte[] getDigest();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.ssl.RSASignature.initDigests:()V
1: bipush 36
newarray 8
astore 1
start local 1 2: aload 0
getfield sun.security.ssl.RSASignature.md5:Ljava/security/MessageDigest;
aload 1
iconst_0
bipush 16
invokevirtual java.security.MessageDigest.digest:([BII)I
pop
3: aload 0
getfield sun.security.ssl.RSASignature.sha:Ljava/security/MessageDigest;
aload 1
bipush 16
bipush 20
invokevirtual java.security.MessageDigest.digest:([BII)I
pop
4: aload 0
iconst_1
putfield sun.security.ssl.RSASignature.isReset:Z
5: aload 1
6: areturn
end local 1 7: StackMap locals:
StackMap stack: java.security.DigestException
astore 1
start local 1 8: new java.security.SignatureException
dup
aload 1
invokespecial java.security.SignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/RSASignature;
2 7 1 data [B
8 9 1 e Ljava/security/DigestException;
Exception table:
from to target type
0 6 7 Class java.security.DigestException
Exceptions:
throws java.security.SignatureException
protected byte[] engineSign();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.RSASignature.rawRsa:Ljava/security/Signature;
aload 0
invokevirtual sun.security.ssl.RSASignature.getDigest:()[B
invokevirtual java.security.Signature.update:([B)V
1: aload 0
getfield sun.security.ssl.RSASignature.rawRsa:Ljava/security/Signature;
invokevirtual java.security.Signature.sign:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/RSASignature;
Exceptions:
throws java.security.SignatureException
protected boolean engineVerify(byte[]);
descriptor: ([B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual sun.security.ssl.RSASignature.engineVerify:([BII)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/RSASignature;
0 1 1 sigBytes [B
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
sigBytes
protected boolean engineVerify(byte[], int, int);
descriptor: ([BII)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.security.ssl.RSASignature.rawRsa:Ljava/security/Signature;
aload 0
invokevirtual sun.security.ssl.RSASignature.getDigest:()[B
invokevirtual java.security.Signature.update:([B)V
1: aload 0
getfield sun.security.ssl.RSASignature.rawRsa:Ljava/security/Signature;
aload 1
iload 2
iload 3
invokevirtual java.security.Signature.verify:([BII)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/RSASignature;
0 2 1 sigBytes [B
0 2 2 offset I
0 2 3 length I
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
sigBytes
offset
length
protected void engineSetParameter(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "hashes"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
1: new java.security.InvalidParameterException
dup
2: new java.lang.StringBuilder
dup
ldc "Parameter not supported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
instanceof java.security.MessageDigest[]
ifne 8
5: new java.security.InvalidParameterException
dup
6: ldc "value must be MessageDigest[]"
7: invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 2
checkcast java.security.MessageDigest[]
astore 3
start local 3 9: aload 0
aload 3
iconst_0
aaload
putfield sun.security.ssl.RSASignature.md5:Ljava/security/MessageDigest;
10: aload 0
aload 3
iconst_1
aaload
putfield sun.security.ssl.RSASignature.sha:Ljava/security/MessageDigest;
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/RSASignature;
0 12 1 param Ljava/lang/String;
0 12 2 value Ljava/lang/Object;
9 12 3 digests [Ljava/security/MessageDigest;
Exceptions:
throws java.security.InvalidParameterException
MethodParameters:
Name Flags
param
value
protected java.lang.Object engineGetParameter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.security.InvalidParameterException
dup
ldc "Parameters not supported"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/ssl/RSASignature;
0 1 1 param Ljava/lang/String;
Exceptions:
throws java.security.InvalidParameterException
MethodParameters:
Name Flags
param
}
SourceFile: "RSASignature.java"