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


Public Member Functions | |
| OctetString () | |
| Default constructor, for creating an object to be unmarshalled. | |
| OctetString (const ustring &value) | |
| Create an OctetString for a given character string. | |
| OctetString (const ASN1_OCTET_STRING *asn1) | |
| Create an OctetString based on a given ASN.1 specification. | |
| OctetString (const OctetString &aOS) | |
| Create an OctetString from another OctetString. | |
| virtual | ~OctetString () |
| Destructor -- frees the stored ASN1_OCTET_STRING. | |
| void | operator= (const OctetString &aOS) |
| Assignment operator. | |
| ustring | value () const |
| String representation of the OctetString. | |
| const ASN1_OCTET_STRING * | asn1 () const |
| ASN.1 representation of the OctetString. | |
| 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 string value and the ASN.1 representation.
Definition at line 33 of file OctetString.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 80 of file OctetString.cc. Referenced by CODEX_Client::WriteKeyMsg::marshal(), CODEX_Client::ReadKeyMsg::marshal(), CODEX_Client::KeyStoredMsg::marshal(), CODEX_Client::CreateKeyMsg::marshal(), CODEX_Client::BoundNameMsg::marshal(), and CODEX_Client::BlindKeyMsg::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 86 of file OctetString.cc. Referenced by CODEX_Client::WriteKeyMsg::unmarshal(), CODEX_Client::ReadKeyMsg::unmarshal(), CODEX_Client::KeyStoredMsg::unmarshal(), CODEX_Client::CreateKeyMsg::unmarshal(), CODEX_Client::BoundNameMsg::unmarshal(), and CODEX_Client::BlindKeyMsg::unmarshal(). |
1.4.1