public abstract class org.bouncycastle.jce.provider.DSABase extends java.security.SignatureSpi implements org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers, org.bouncycastle.asn1.x509.X509ObjectIdentifiers
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.jce.provider.DSABase
super_class: java.security.SignatureSpi
{
protected org.bouncycastle.crypto.Digest digest;
descriptor: Lorg/bouncycastle/crypto/Digest;
flags: (0x0004) ACC_PROTECTED
protected org.bouncycastle.crypto.DSA signer;
descriptor: Lorg/bouncycastle/crypto/DSA;
flags: (0x0004) ACC_PROTECTED
protected org.bouncycastle.jce.provider.DSAEncoder encoder;
descriptor: Lorg/bouncycastle/jce/provider/DSAEncoder;
flags: (0x0004) ACC_PROTECTED
protected void <init>(org.bouncycastle.crypto.Digest, org.bouncycastle.crypto.DSA, org.bouncycastle.jce.provider.DSAEncoder);
descriptor: (Lorg/bouncycastle/crypto/Digest;Lorg/bouncycastle/crypto/DSA;Lorg/bouncycastle/jce/provider/DSAEncoder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.security.SignatureSpi.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.jce.provider.DSABase.digest:Lorg/bouncycastle/crypto/Digest;
2: aload 0
aload 2
putfield org.bouncycastle.jce.provider.DSABase.signer:Lorg/bouncycastle/crypto/DSA;
3: aload 0
aload 3
putfield org.bouncycastle.jce.provider.DSABase.encoder:Lorg/bouncycastle/jce/provider/DSAEncoder;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/DSABase;
0 5 1 digest Lorg/bouncycastle/crypto/Digest;
0 5 2 signer Lorg/bouncycastle/crypto/DSA;
0 5 3 encoder Lorg/bouncycastle/jce/provider/DSAEncoder;
MethodParameters:
Name Flags
digest
signer
encoder
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 org.bouncycastle.jce.provider.DSABase.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 Lorg/bouncycastle/jce/provider/DSABase;
0 2 1 privateKey Ljava/security/PrivateKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
privateKey
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
getfield org.bouncycastle.jce.provider.DSABase.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/jce/provider/DSABase;
0 2 1 b B
Exceptions:
throws java.security.SignatureException
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
getfield org.bouncycastle.jce.provider.DSABase.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/jce/provider/DSABase;
0 2 1 b [B
0 2 2 off I
0 2 3 len I
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
b
off
len
protected byte[] engineSign();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.DSABase.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
newarray 8
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.jce.provider.DSABase.digest:Lorg/bouncycastle/crypto/Digest;
aload 1
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
2: aload 0
getfield org.bouncycastle.jce.provider.DSABase.signer:Lorg/bouncycastle/crypto/DSA;
aload 1
invokeinterface org.bouncycastle.crypto.DSA.generateSignature:([B)[Ljava/math/BigInteger;
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.jce.provider.DSABase.encoder:Lorg/bouncycastle/jce/provider/DSAEncoder;
aload 2
iconst_0
aaload
aload 2
iconst_1
aaload
invokeinterface org.bouncycastle.jce.provider.DSAEncoder.encode:(Ljava/math/BigInteger;Ljava/math/BigInteger;)[B
4: areturn
end local 2 5: StackMap locals: org.bouncycastle.jce.provider.DSABase byte[]
StackMap stack: java.lang.Exception
astore 2
start local 2 6: new java.security.SignatureException
dup
aload 2
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/provider/DSABase;
1 7 1 hash [B
3 5 2 sig [Ljava/math/BigInteger;
6 7 2 e Ljava/lang/Exception;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
Exceptions:
throws java.security.SignatureException
protected boolean engineVerify(byte[]);
descriptor: ([B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.jce.provider.DSABase.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
newarray 8
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.jce.provider.DSABase.digest:Lorg/bouncycastle/crypto/Digest;
aload 2
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
2: aload 0
getfield org.bouncycastle.jce.provider.DSABase.encoder:Lorg/bouncycastle/jce/provider/DSAEncoder;
aload 1
invokeinterface org.bouncycastle.jce.provider.DSAEncoder.decode:([B)[Ljava/math/BigInteger;
astore 3
start local 3 3: goto 6
end local 3 4: StackMap locals: org.bouncycastle.jce.provider.DSABase byte[] byte[]
StackMap stack: java.lang.Exception
pop
5: new java.security.SignatureException
dup
ldc "error decoding signature bytes."
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
start local 3 6: StackMap locals: java.math.BigInteger[]
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.DSABase.signer:Lorg/bouncycastle/crypto/DSA;
aload 2
aload 3
iconst_0
aaload
aload 3
iconst_1
aaload
invokeinterface org.bouncycastle.crypto.DSA.verifySignature:([BLjava/math/BigInteger;Ljava/math/BigInteger;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/provider/DSABase;
0 7 1 sigBytes [B
1 7 2 hash [B
3 4 3 sig [Ljava/math/BigInteger;
6 7 3 sig [Ljava/math/BigInteger;
Exception table:
from to target type
2 3 4 Class java.lang.Exception
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
sigBytes
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "engineSetParameter unsupported"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/DSABase;
0 1 1 params Ljava/security/spec/AlgorithmParameterSpec;
MethodParameters:
Name Flags
params
protected void engineSetParameter(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
ldc "engineSetParameter unsupported"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/DSABase;
0 1 1 param Ljava/lang/String;
0 1 2 value Ljava/lang/Object;
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.lang.UnsupportedOperationException
dup
ldc "engineSetParameter unsupported"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/DSABase;
0 1 1 param Ljava/lang/String;
MethodParameters:
Name Flags
param
}
SourceFile: "DSABase.java"