#include "pubkey.h"#include "modexppc.h"#include "sha.h"#include <limits.h>Go to the source code of this file.
Compounds | |
| class | DSAPrivateKey |
| class | GDSADigestSigner |
| class | GDSADigestVerifier |
| class | GDSASigner |
| class | GDSAVerifier |
Typedefs | |
| typedef GDSAVerifier<SHA> | DSAPublicKey |
| DSA. More... | |
Enumerations | |
| enum | DSASignatureFormat { DSA_P1363, DSA_DER, DSA_OPENPGP } |
Functions | |
| unsigned int | DSAConvertSignatureFormat (byte *buffer,unsigned int bufferSize,DSASignatureFormat toFormat,const byte *signature,unsigned int signatureLen,DSASignatureFormat fromFormat) |
| This function converts between these formats, and returns length of signature in the target format. More... | |
| bool | GenerateDSAPrimes (byte *seed,unsigned int seedLength,int &counter,Integer &p,unsigned int primeLength,Integer &q) |
| Generate DSA primes according to NIST standard. More... | |
Variables | |
| const int | MIN_DSA_PRIME_LENGTH = 512 |
| const int | MAX_DSA_PRIME_LENGTH = 1024 |
Definition in file dsa.h.
|
|
DSA.
|
|
|
The DSA signature format used by Crypto++ is as defined by IEEE P1363. Java uses the DER format, and OpenPGP uses the OpenPGP format. |
|
|
This function converts between these formats, and returns length of signature in the target format. If toFormat == DSA_P1363, bufferSize must equal publicKey.SignatureLength() |
|
|
Generate DSA primes according to NIST standard. both seedLength and primeLength are in bits, but seedLength should be a multiple of 8 |
|
|
|
|
|
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000