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

CODEX_KeyService::KeyInfo Class Reference

Associate a name/policy binding and an encrypted value. More...

#include <StateInfo.h>

Inheritance diagram for CODEX_KeyService::KeyInfo:

Inheritance graph
[legend]
Collaboration diagram for CODEX_KeyService::KeyInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KeyInfo ()
 Default constructor, for creating an object to be unmarshalled.
 KeyInfo (const CODEX_Client::BoundNameMsg &binding)
 Create a KeyInfo with only the binding message.
 KeyInfo (const CODEX_Client::BoundNameMsg &binding, const CODEX_Ciphers::RSASignature &signature)
 Create a KeyInfo with the binding message and signature.
 KeyInfo (const CODEX_Client::SignedBoundNameMsg &binding)
 Create a KeyInfo with a signed binding message.
 KeyInfo (const CODEX_Client::BoundNameMsg &binding, const CODEX_Ciphers::RSASignature &signature, const CODEX_Client::RequestCipherTextType &keyValue)
 Create a KeyInfo with a binding message, signature, and key value.
 KeyInfo (const CODEX_Client::SignedBoundNameMsg &binding, const CODEX_Client::RequestCipherTextType &keyValue)
 Create a KeyInfo with a signed binding message and a key value.
 KeyInfo (const KeyInfo &aKI)
 Create a KeyInfo from another KeyInfo.
virtual ~KeyInfo ()
 Virtual destructor.
void operator= (const KeyInfo &aKI)
 Assignment operator.
void setBinding (const CODEX_Client::BoundNameMsg &binding)
 Set the binding.
void setSignature (const CODEX_Ciphers::RSASignature &signature)
 Set the signature.
void setKeyValue (const CODEX_Client::RequestCipherTextType &keyValue)
 Set the key value.
void setVerified ()
 Set the verified bit.
const CODEX_Client::BoundNameMsgbinding () const
 The binding message.
const CODEX_Ciphers::RSASignaturesignature () const
 The signature on the binding.
const CODEX_Client::RequestCipherTextTypekeyValue () const
 The key value.
bool verified () const
 Is the value verified?
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?

Detailed Description

Associate a name/policy binding and an encrypted value.

Definition at line 47 of file CODEX_KeyService/StateInfo.h.


Member Function Documentation

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(), 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:24 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1