public class org.bouncycastle.crypto.signers.RSADigestSigner implements org.bouncycastle.crypto.Signer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.signers.RSADigestSigner
super_class: java.lang.Object
{
private final org.bouncycastle.crypto.AsymmetricBlockCipher rsaEngine;
descriptor: Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.asn1.x509.AlgorithmIdentifier algId;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.crypto.Digest digest;
descriptor: Lorg/bouncycastle/crypto/Digest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean forSigning;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private static final java.util.Hashtable oidMap;
descriptor: Ljava/util/Hashtable;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
1: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "RIPEMD128"
getstatic org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers.ripemd128:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "RIPEMD160"
getstatic org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers.ripemd160:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "RIPEMD256"
getstatic org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers.ripemd256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA-1"
getstatic org.bouncycastle.asn1.x509.X509ObjectIdentifiers.id_SHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA-224"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha224:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA-256"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA-384"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha384:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA-512"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA-512/224"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha512_224:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA-512/256"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha512_256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA3-224"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha3_224:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA3-256"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha3_256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA3-384"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha3_384:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "SHA3-512"
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha3_512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "MD2"
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.md2:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "MD4"
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.md4:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
ldc "MD5"
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.md5:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.bouncycastle.crypto.Digest);
descriptor: (Lorg/bouncycastle/crypto/Digest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.bouncycastle.crypto.signers.RSADigestSigner.oidMap:Ljava/util/Hashtable;
aload 1
invokeinterface org.bouncycastle.crypto.Digest.getAlgorithmName:()Ljava/lang/String;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
invokespecial org.bouncycastle.crypto.signers.RSADigestSigner.<init>:(Lorg/bouncycastle/crypto/Digest;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
0 2 1 digest Lorg/bouncycastle/crypto/Digest;
MethodParameters:
Name Flags
digest
public void <init>(org.bouncycastle.crypto.Digest, org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/crypto/Digest;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.crypto.encodings.PKCS1Encoding
dup
new org.bouncycastle.crypto.engines.RSABlindedEngine
dup
invokespecial org.bouncycastle.crypto.engines.RSABlindedEngine.<init>:()V
invokespecial org.bouncycastle.crypto.encodings.PKCS1Encoding.<init>:(Lorg/bouncycastle/crypto/AsymmetricBlockCipher;)V
putfield org.bouncycastle.crypto.signers.RSADigestSigner.rsaEngine:Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
2: aload 0
aload 1
putfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
3: aload 0
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 2
getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
putfield org.bouncycastle.crypto.signers.RSADigestSigner.algId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
0 5 1 digest Lorg/bouncycastle/crypto/Digest;
0 5 2 digestOid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
digest
digestOid
public java.lang.String getAlgorithmName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getAlgorithmName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "withRSA"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
public void init(boolean, org.bouncycastle.crypto.CipherParameters);
descriptor: (ZLorg/bouncycastle/crypto/CipherParameters;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
putfield org.bouncycastle.crypto.signers.RSADigestSigner.forSigning:Z
1: aload 2
instanceof org.bouncycastle.crypto.params.ParametersWithRandom
ifeq 4
2: aload 2
checkcast org.bouncycastle.crypto.params.ParametersWithRandom
invokevirtual org.bouncycastle.crypto.params.ParametersWithRandom.getParameters:()Lorg/bouncycastle/crypto/CipherParameters;
checkcast org.bouncycastle.crypto.params.AsymmetricKeyParameter
astore 3
start local 3 3: goto 5
end local 3 4: StackMap locals:
StackMap stack:
aload 2
checkcast org.bouncycastle.crypto.params.AsymmetricKeyParameter
astore 3
start local 3 5: StackMap locals: org.bouncycastle.crypto.params.AsymmetricKeyParameter
StackMap stack:
iload 1
ifeq 7
aload 3
invokevirtual org.bouncycastle.crypto.params.AsymmetricKeyParameter.isPrivate:()Z
ifne 7
6: new java.lang.IllegalArgumentException
dup
ldc "signing requires private key"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 1
ifne 9
aload 3
invokevirtual org.bouncycastle.crypto.params.AsymmetricKeyParameter.isPrivate:()Z
ifeq 9
8: new java.lang.IllegalArgumentException
dup
ldc "verification requires public key"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.bouncycastle.crypto.signers.RSADigestSigner.reset:()V
10: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.rsaEngine:Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
iload 1
aload 2
invokeinterface org.bouncycastle.crypto.AsymmetricBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
0 12 1 forSigning Z
0 12 2 parameters Lorg/bouncycastle/crypto/CipherParameters;
3 4 3 k Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
5 12 3 k Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
MethodParameters:
Name Flags
forSigning
parameters
public void update(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
iload 1
invokeinterface org.bouncycastle.crypto.Digest.update:(B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
0 2 1 input B
MethodParameters:
Name Flags
input
public void update(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
aload 1
iload 2
iload 3
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
0 2 1 input [B
0 2 2 inOff I
0 2 3 length I
MethodParameters:
Name Flags
input
inOff
length
public byte[] generateSignature();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.forSigning:Z
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "RSADigestSigner not initialised for signature generation."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
newarray 8
astore 1
start local 1 3: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
aload 1
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
4: aload 0
aload 1
invokevirtual org.bouncycastle.crypto.signers.RSADigestSigner.derEncode:([B)[B
astore 2
start local 2 5: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.rsaEngine:Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
aload 2
iconst_0
aload 2
arraylength
invokeinterface org.bouncycastle.crypto.AsymmetricBlockCipher.processBlock:([BII)[B
6: areturn
end local 2 7: StackMap locals: org.bouncycastle.crypto.signers.RSADigestSigner byte[]
StackMap stack: java.io.IOException
astore 2
start local 2 8: new org.bouncycastle.crypto.CryptoException
dup
new java.lang.StringBuilder
dup
ldc "unable to encode signature: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.crypto.CryptoException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
3 9 1 hash [B
5 7 2 data [B
8 9 2 e Ljava/io/IOException;
Exception table:
from to target type
4 6 7 Class java.io.IOException
Exceptions:
throws org.bouncycastle.crypto.CryptoException, org.bouncycastle.crypto.DataLengthException
public boolean verifySignature(byte[]);
descriptor: ([B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.forSigning:Z
ifeq 2
1: new java.lang.IllegalStateException
dup
ldc "RSADigestSigner not initialised for verification"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
newarray 8
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
aload 2
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
4: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.rsaEngine:Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
aload 1
iconst_0
aload 1
arraylength
invokeinterface org.bouncycastle.crypto.AsymmetricBlockCipher.processBlock:([BII)[B
astore 3
start local 3 5: aload 0
aload 2
invokevirtual org.bouncycastle.crypto.signers.RSADigestSigner.derEncode:([B)[B
astore 4
start local 4 6: goto 9
end local 4 end local 3 7: StackMap locals: org.bouncycastle.crypto.signers.RSADigestSigner byte[] byte[]
StackMap stack: java.lang.Exception
pop
8: iconst_0
ireturn
start local 3 start local 4 9: StackMap locals: byte[] byte[]
StackMap stack:
aload 3
arraylength
aload 4
arraylength
if_icmpne 11
10: aload 3
aload 4
invokestatic org.bouncycastle.util.Arrays.constantTimeAreEqual:([B[B)Z
ireturn
11: StackMap locals:
StackMap stack:
aload 3
arraylength
aload 4
arraylength
iconst_2
isub
if_icmpne 29
12: aload 3
arraylength
aload 2
arraylength
isub
iconst_2
isub
istore 5
start local 5 13: aload 4
arraylength
aload 2
arraylength
isub
iconst_2
isub
istore 6
start local 6 14: aload 4
iconst_1
dup2
baload
iconst_2
isub
i2b
bastore
15: aload 4
iconst_3
dup2
baload
iconst_2
isub
i2b
bastore
16: iconst_0
istore 7
start local 7 17: iconst_0
istore 8
start local 8 18: goto 21
19: StackMap locals: org.bouncycastle.crypto.signers.RSADigestSigner byte[] byte[] byte[] byte[] int int int int
StackMap stack:
iload 7
aload 3
iload 5
iload 8
iadd
baload
aload 4
iload 6
iload 8
iadd
baload
ixor
ior
istore 7
20: iinc 8 1
StackMap locals:
StackMap stack:
21: iload 8
aload 2
arraylength
if_icmplt 19
end local 8 22: iconst_0
istore 8
start local 8 23: goto 26
24: StackMap locals:
StackMap stack:
iload 7
aload 3
iload 8
baload
aload 4
iload 8
baload
ixor
ior
istore 7
25: iinc 8 1
StackMap locals:
StackMap stack:
26: iload 8
iload 5
if_icmplt 24
end local 8 27: iload 7
ifne 28
iconst_1
ireturn
StackMap locals:
StackMap stack:
28: iconst_0
ireturn
end local 7 end local 6 end local 5 29: StackMap locals:
StackMap stack:
aload 4
aload 4
invokestatic org.bouncycastle.util.Arrays.constantTimeAreEqual:([B[B)Z
pop
30: iconst_0
ireturn
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 Lorg/bouncycastle/crypto/signers/RSADigestSigner;
0 31 1 signature [B
3 31 2 hash [B
5 7 3 sig [B
9 31 3 sig [B
6 7 4 expected [B
9 31 4 expected [B
13 29 5 sigOffset I
14 29 6 expectedOffset I
17 29 7 nonEqual I
18 22 8 i I
23 27 8 i I
Exception table:
from to target type
4 6 7 Class java.lang.Exception
MethodParameters:
Name Flags
signature
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.reset:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
private byte[] derEncode(byte[]);
descriptor: ([B)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: new org.bouncycastle.asn1.x509.DigestInfo
dup
aload 0
getfield org.bouncycastle.crypto.signers.RSADigestSigner.algId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 1
invokespecial org.bouncycastle.asn1.x509.DigestInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)V
astore 2
start local 2 1: aload 2
ldc "DER"
invokevirtual org.bouncycastle.asn1.x509.DigestInfo.getEncoded:(Ljava/lang/String;)[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/signers/RSADigestSigner;
0 2 1 hash [B
1 2 2 dInfo Lorg/bouncycastle/asn1/x509/DigestInfo;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
hash
}
SourceFile: "RSADigestSigner.java"