#include <Integer.h>
Inheritance diagram for CODEX_ASN1::Integer:


Public Methods | |
| Integer () | |
| Default constructor, for creating an object to be unmarshalled. | |
| Integer (int value) | |
| Create an Integer with a given integer value. | |
| Integer (const ASN1_INTEGER *asn1) | |
| Create an Integer based on a given ASN.1 specification. | |
| Integer (const Integer &aInt) | |
| Create an Integer from another Integer. | |
| virtual | ~Integer () |
| Destructor -- frees the stored ASN1_INTEGER. | |
| void | operator= (const Integer &aInt) |
| Assignment operator. | |
| int | value () const |
| |
| const ASN1_INTEGER * | asn1 () const |
| |
| 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. | |
Constructors other than the default will initialize both the integer value and the ASN.1 representation.
Definition at line 30 of file Integer.h.
|
|
||||||||||||||||
|
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 83 of file Integer.cc. References CODEX_ASN1::Base::m_initialized. Referenced by CODEX_Client::Client::fromFile(), CODEX_KeyService::ClientReadCallback::operator()(), CODEX_Server::InternalVerifier::processRequest(), CODEX_KeyService::StateInfo::synchronize(), CODEX_VSS::SubshareLabel< LabelType >::unmarshal(), CODEX_KeyService::KeyInfo::unmarshal(), CODEX_VSS::ShareLabel< _ShareType, _OneWay >::unmarshal(), CODEX_Server::ServerSignature::unmarshal(), CODEX_APSS::RecoverMsg::unmarshal(), CODEX_APSS::RecoveredMsg::unmarshal(), CODEX_APSS::InitMsg::unmarshal(), CODEX_APSS::FinishedMsg::unmarshal(), CODEX_APSS::EstablishMsg::unmarshal(), CODEX_APSS::EstablishedMsg::unmarshal(), CODEX_APSS::ContributeMsg::unmarshal(), CODEX_APSS::ComputeMsg::unmarshal(), CODEX_APSS::ComputedMsg::unmarshal(), CODEX_VSS::Combinatoric< NumT, ThreshT >::unmarshal(), and CODEX_ASN1::Array< CODEX_ASN1::BigNumber >::unmarshal(). |
1.2.18