Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_Server::AugmentedEGPublicKey Class Reference

This is an ElGamal public key augmented with an additional generator. More...

#include <AugmentedEGPublicKey.h>

Inheritance diagram for CODEX_Server::AugmentedEGPublicKey:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Server::AugmentedEGPublicKey:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AugmentedEGPublicKey ()
 Default constructor, for creating an object to be unmarshalled.
 AugmentedEGPublicKey (const CODEX_Ciphers::ElGamalPublicKey &key, const CODEX_ASN1::BigNumber &h)
 Create an AugmentedEGPublicKey from an ElGamalPublicKey and a BigNumber.
 AugmentedEGPublicKey (const AugmentedEGPublicKey &aAPK)
 Create an AugmentedEGPublicKeyMsg from another AugmentedEGPublicKey.
virtual ~AugmentedEGPublicKey ()
 Virtual destructor.
void operator= (const AugmentedEGPublicKey &aAPK)
 Assignment operator.
const CODEX_Ciphers::ElGamalPublicKeykey () const
 The ElGamal public key of the service.
const CODEX_ASN1::BigNumberh () const
 The additional generator h.
BIGNUM * digest (const CODEX_Ciphers::HashFunction &hashFunc) const
 Create a message digest for 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?

Detailed Description

This is an ElGamal public key augmented with an additional generator.

Definition at line 35 of file AugmentedEGPublicKey.h.


Member Function Documentation

BIGNUM * AugmentedEGPublicKey::digest const CODEX_Ciphers::HashFunction hashFunc  )  const
 

Create a message digest for the AugmentedEGPublicKey.

Parameters:
hashFunc A secure hash function.
Returns:
The digest of the AugmentedEGPublicKey using hashFunc.

Definition at line 58 of file AugmentedEGPublicKey.cc.

References marshal().

Referenced by CODEX_Server::SignedAugmentedEGPublicKey::SignedAugmentedEGPublicKey(), and CODEX_Server::SignedAugmentedEGPublicKey::verify().

bool CODEX_ASN1::Base::initialized  )  const [inline, inherited]
 

Returns:
Has this object been initialized?

Definition at line 175 of file Base.h.

References CODEX_ASN1::Base::m_initialized.

Referenced by CODEX_APSS::SecretManagement::addComputeMsg(), CODEX_APSS::SecretManagement::addEstablishMsg(), CODEX_APSS::SecretManagement::addEstablishResponse(), CODEX_APSS::SecretManagement::addInitMsg(), CODEX_APSS::SecretManagement::addSharing(), CODEX_APSS::SecretManagement::addSubsharing(), CODEX_VSS::Combinatoric< NumT, ThreshT >::apply(), CODEX_Server::ServerState::caKey(), CODEX_KeyService::ClientCreateCallback::ClientCreateCallback(), CODEX_VSS::Combinatoric< NumT, ThreshT >::count(), CODEX_Server::QuorumBuilderAct::handler(), CODEX_APSS::MessageVerifier::handler(), CODEX_KeyService::DelegateResponseVerifier::handler(), CODEX_KeyService::DelegateRequestDistributor::handler(), CODEX_KeyService::ClientMessageVerifier::handler(), CODEX_KeyService::ClientMessageSigner::handler(), CODEX_VSS::SubshareLabel< LabelType >::marshal(), CODEX_KeyService::KeyInfo::marshal(), CODEX_VSS::LabeledShare< ShareType, OneWay >::marshal(), CODEX_VSS::ShareLabel< _ShareType, _OneWay >::marshal(), CODEX_VSS::ModExpFunctionalArgs::marshal(), CODEX_VSS::Combinatoric< NumT, ThreshT >::marshal(), CODEX_KeyService::SignWriteCallback::operator()(), CODEX_KeyService::SignReadCallback::operator()(), CODEX_KeyService::SignCreateCallback::operator()(), CODEX_VSS::ModExpFunctional::operator()(), CODEX_KeyService::ClientReadCallback::operator()(), CODEX_KeyService::ClientCreateCallback::operator()(), CODEX_VSS::Combinatoric< NumT, ThreshT >::operator+=(), CODEX_Server::ServerState::readElGamalShares(), CODEX_VSS::Combinatoric< NumT, ThreshT >::recover(), CODEX_APSS::SecretManagement::sendFinished(), CODEX_Server::ServerState::serviceKey(), CODEX_Server::ServerState::setEGShareCallback(), and CODEX_Server::ServerState::setRSAShareCallback().


The documentation for this class was generated from the following files:
Generated on Fri May 6 17:42:38 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1