Crypto++
|
#include <gfpcrypt.h>
Public Types | |
typedef GP::Element | Element |
Public Member Functions | |
void | Initialize (const DL_GroupParameters_IntegerBased ¶ms, const Integer &y) |
void | Initialize (const Integer &p, const Integer &g, const Integer &y) |
void | Initialize (const Integer &p, const Integer &q, const Integer &g, const Integer &y) |
void | BERDecodePublicKey (BufferedTransformation &bt, bool, size_t) |
void | DEREncodePublicKey (BufferedTransformation &bt) const |
bool | Validate (RandomNumberGenerator &rng, unsigned int level) const |
bool | GetVoidValue (const char *name, const std::type_info &valueType, void *pValue) const |
void | AssignFrom (const NameValuePairs &source) |
bool | SupportsPrecomputation () const |
void | Precompute (unsigned int precomputationStorage=16) |
void | LoadPrecomputation (BufferedTransformation &storedPrecomputation) |
void | SavePrecomputation (BufferedTransformation &storedPrecomputation) const |
const DL_GroupParameters < Element > & | GetAbstractGroupParameters () const |
DL_GroupParameters< Element > & | AccessAbstractGroupParameters () |
const DL_FixedBasePrecomputation < Element > & | GetPublicPrecomputation () const |
DL_FixedBasePrecomputation < Element > & | AccessPublicPrecomputation () |
bool | operator== (const DL_PublicKeyImpl< GP > &rhs) const |
DSA public key format is defined in 7.3.3 of RFC 2459. The private key format is defined in 12.9 of PKCS #11 v2.10.