#include <dsa.h>
Inheritance diagram for GDSADigestVerifier:

Public Methods | |
| GDSADigestVerifier (const Integer &p,const Integer &q,const Integer &g,const Integer &y) | |
| GDSADigestVerifier (BufferedTransformation &bt) | |
| void | Precompute (unsigned int precomputationStorage=16) |
| void | LoadPrecomputation (BufferedTransformation &storedPrecomputation) |
| retrieve previously saved precomputation. More... | |
| void | SavePrecomputation (BufferedTransformation &storedPrecomputation)const |
| save precomputation for later use. More... | |
| void | DEREncode (BufferedTransformation &bt)const |
| bool | VerifyDigest (const byte *digest,unsigned int digestLen,const byte *signature)const |
| unsigned int | MaxDigestLength ()const |
| unsigned int | DigestSignatureLength ()const |
| const Integer& | GetModulus ()const |
| const Integer& | GetSubgroupSize ()const |
| const Integer& | GetGenerator ()const |
| const Integer& | GetPublicResidue ()const |
| bool | RawVerify (const Integer &m,const Integer &a,const Integer &b)const |
Protected Methods | |
| GDSADigestVerifier () | |
| unsigned int | ExponentBitLength ()const |
| Integer | EncodeDigest (const byte *digest,unsigned int digestLen)const |
Protected Attributes | |
| Integer | m_p |
| Integer | m_q |
| Integer | m_g |
| Integer | m_y |
| ModExpPrecomputation | m_gpc |
| ModExpPrecomputation | m_ypc |
GDSA stands for generalized DSA, where the key length is allowed to be greater than 1024 and any message digest function can be used. Standard DSA is at the bottom of this file.
Definition at line 28 of file dsa.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
retrieve previously saved precomputation.
Reimplemented from PK_Precomputation. |
|
|
|
|
|
The exact semantics of Precompute() is varies, but typically it means calculate a table of n objects that can be used later to speed up computation. Reimplemented from PK_Precomputation. |
|
|
|
|
|
save precomputation for later use.
Reimplemented from PK_Precomputation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000