#include <Message.h>
Inheritance diagram for CODEX_APSS::EstablishMsg:


Public Member Functions | |
| EstablishMsg () | |
| Default constructor, for creating an object to be unmarshalled. | |
| EstablishMsg (const CODEX_ASN1::Integer &version, const SublabelType &sublabel, const CODEX_ASN1::Integer &establisher, const CODEX_ASN1::Integer &recipient, const ShareType &shares) | |
| Create an EstablishMsg. | |
| EstablishMsg (const EstablishMsg &aOther) | |
| Create an EstablishMsg from another EstablishMsg. | |
| virtual | ~EstablishMsg () |
| Virtual destructor. | |
| void | operator= (const EstablishMsg &aOther) |
| Assignment operator. | |
| const CODEX_ASN1::Integer & | version () const |
| The version of the protocol. | |
| const SublabelType & | sublabel () const |
| The subsharing label being established. | |
| const CODEX_ASN1::Integer & | establisher () const |
| The server establishing the subsharing. | |
| const CODEX_ASN1::Integer & | recipient () const |
| The intended recipient. | |
| const ShareType & | shares () const |
| The shares of the subsharing for the recipient. | |
| int | marshal (unsigned char **pp) const |
| This function creates a serialized representation of the object, which is returned through the argument pp. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| This function takes a serialized representation of the object and recreates the object representation. | |
| BIGNUM * | digest (const CODEX_Ciphers::HashFunction &hf) const |
| Create a message digest. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
Definition at line 206 of file CODEX_APSS/Message.h.
|
|
|
This function creates a serialized representation of the object, which is returned through the argument pp. This must be overridden by the concrete derived class.
Implements CODEX_ASN1::Base. Definition at line 63 of file EstablishMsg.cc. References CODEX_VSS::Combinatoric< NumT, ThreshT >::marshal(), CODEX_VSS::SubshareLabel< _ShareLabel >::marshal(), and CODEX_ASN1::Integer::marshal(). |
|
||||||||||||||||
|
This function takes a serialized representation of the object and recreates the object representation. This must be overridden by the concrete derived class.
Implements CODEX_ASN1::Base. Definition at line 84 of file EstablishMsg.cc. References CODEX_VSS::Combinatoric< NumT, ThreshT >::unmarshal(), CODEX_VSS::SubshareLabel< _ShareLabel >::unmarshal(), and CODEX_ASN1::Integer::unmarshal(). |
1.4.1