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


Public Member Functions | |
| 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 |
| Integer representation of the Integer. | |
| const ASN1_INTEGER * | asn1 () const |
| ASN.1 representation of the Integer. | |
| 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. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
Constructors other than the default will initialize both the integer value and the ASN.1 representation.
Definition at line 33 of file Integer.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 77 of file Integer.cc. Referenced by CODEX_KeyService::ClientMessageSigner::handler(), CODEX_VSS::SubshareLabel< LabelType >::marshal(), CODEX_KeyService::KeyInfo::marshal(), CODEX_VSS::ShareLabel< _ShareType, _OneWay >::marshal(), CODEX_Server::ServerSignature::marshal(), CODEX_APSS::RecoverMsg::marshal(), CODEX_APSS::RecoveredMsg::marshal(), CODEX_APSS::InitMsg::marshal(), CODEX_APSS::FinishedMsg::marshal(), CODEX_APSS::EstablishMsg::marshal(), CODEX_APSS::EstablishedMsg::marshal(), CODEX_APSS::ContributeMsg::marshal(), CODEX_APSS::ComputeMsg::marshal(), CODEX_APSS::ComputedMsg::marshal(), CODEX_VSS::Combinatoric< NumT, ThreshT >::marshal(), and CODEX_Client::Client::toFile(). |
|
||||||||||||||||
1.4.1