#include <AugmentedEGPublicKey.h>
Inheritance diagram for CODEX_Server::SignedAugmentedEGPublicKey:


Public Member Functions | |
| SignedAugmentedEGPublicKey () | |
| Default constructor, for creating an object to be unmarshalled. | |
| SignedAugmentedEGPublicKey (const AugmentedEGPublicKey &aAPK, const CODEX_Ciphers::RSASignature &sig) | |
| Constructor taking an augmented public key and a signature. | |
| SignedAugmentedEGPublicKey (const AugmentedEGPublicKey &aAPK, const CODEX_Ciphers::RSAPrivateKey &key, const CODEX_Ciphers::HashFunction &hashFunc) | |
| Constructor taking an augmented public key and the private key and hash function needed to generate the signature. | |
| SignedAugmentedEGPublicKey (const SignedAugmentedEGPublicKey &aOther) | |
| Copy constructor. | |
| virtual | ~SignedAugmentedEGPublicKey () |
| Virtual destructor. | |
| void | operator= (const SignedAugmentedEGPublicKey &aOther) |
| Assignment operator. | |
| const AugmentedEGPublicKey & | key () const |
| The augmented ElGamal public key. | |
| const CODEX_Ciphers::RSASignature & | signature () const |
| The signature on the public key. | |
| bool | verify (const CODEX_Ciphers::RSAPublicKey &key, const CODEX_Ciphers::HashFunction &hashFunc) const |
| Verify the signature on the AugmentedEGPublicKey. | |
| int | marshal (unsigned char **pp) const |
| Serialize the message. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| Unserialize the message. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
Definition at line 85 of file AugmentedEGPublicKey.h.
|
|
||||||||||||
|
Verify the signature on the AugmentedEGPublicKey.
Definition at line 208 of file AugmentedEGPublicKey.cc. References CODEX_Server::AugmentedEGPublicKey::digest(), and key(). Referenced by CODEX_Server::ServerState::configure(). |
1.4.1