#include <ElGamal.h>
Inheritance diagram for CODEX_Ciphers::ElGamalSignature:


Public Member Functions | |
| ElGamalSignature () | |
| Default constructor, for creating an object to be unmarshalled. | |
| ElGamalSignature (BIGNUM *r, BIGNUM *s) | |
| Constructor taking signature as two BIGNUM%s. | |
| ElGamalSignature (const CODEX_ASN1::BigNumber &r, const CODEX_ASN1::BigNumber &s) | |
| Constructor taking signature as two BigNumber%s. | |
| ElGamalSignature (const ElGamalSignature &aSig) | |
| Copy constructor. | |
| virtual | ~ElGamalSignature () |
| Destructor. | |
| void | operator= (const ElGamalSignature &aSig) |
| Assignment operator. | |
| const CODEX_ASN1::BigNumber & | r () const |
| First part of signature -- g^k mod p. | |
| const CODEX_ASN1::BigNumber & | s () const |
| Second part of signature -- (m - xr)/k mod (p-1). | |
| int | marshal (unsigned char **pp) const |
| Serialize the object. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| Unserialize the object. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
The notation (r,s) follows that of ElGamal's original paper.
Definition at line 157 of file ElGamal.h.
|
1.4.1