DL_PublicKey_GFP< GP > Class Template Reference

#include <gfpcrypt.h>

Inheritance diagram for DL_PublicKey_GFP< GP >:

DL_PublicKeyImpl< GP > DL_PublicKey< GP::Element > DL_KeyImpl< X509PublicKey, GP > DL_Key< T >

List of all members.

Public Types

typedef GP::Element Element
typedef GP GroupParameters

Public Member Functions

void Initialize (const DL_GroupParameters_IntegerBased &params, 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
virtual const Element & GetPublicElement () const
virtual void SetPublicElement (const Element &y)
virtual Element ExponentiatePublicElement (const Integer &exponent) const
virtual Element CascadeExponentiateBaseAndPublicElement (const Integer &baseExp, const Integer &publicExp) const
GetAlgorithmID () const
bool BERDecodeAlgorithmParameters (BufferedTransformation &bt)
bool DEREncodeAlgorithmParameters (BufferedTransformation &bt) const
const GP & GetGroupParameters () const
GP & AccessGroupParameters ()


Detailed Description

template<class GP>
class DL_PublicKey_GFP< GP >

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.

Definition at line 211 of file gfpcrypt.h.


The documentation for this class was generated from the following file:

Generated on Mon Oct 27 02:38:30 2008 for Crypto++ by  doxygen 1.5.7.1