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


Public Member Functions | |
| Certificate () | |
| Default constructor, for creating an object to be unmarshalled. | |
| Certificate (X509 *value) | |
| Create a Certificate from an X.509 structure, taking ownership. | |
| Certificate (const Certificate &aCert) | |
| Create a Certificate from another Certificate. | |
| virtual | ~Certificate () |
| Destructor -- frees the stored X.509 certificate. | |
| void | operator= (const Certificate &aCert) |
| Assignment operator. | |
| const X509 * | value () const |
| X.509 structure. | |
| 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. | |
| void * | fromPEMFile (const char *fname) |
| Read a certificate from a PEM-format file. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
Definition at line 32 of file Certificate.h.
|
|
Read a certificate from a PEM-format file.
Definition at line 87 of file Certificate.cc. Referenced by CODEX_Server::ServerState::configure(), CODEX_Server::ServerState::readCACert(), and CODEX_Server::ServerState::readServiceCert(). |
|
|
|
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 66 of file Certificate.cc. Referenced by CODEX_Client::CreateKeyMsg::marshal(), and CODEX_Client::Client::toFile(). |
|
||||||||||||||||
|
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 72 of file Certificate.cc. Referenced by CODEX_Client::Client::fromFile(), and CODEX_Client::CreateKeyMsg::unmarshal(). |
1.4.1