#include <Credentials.h>
Inheritance diagram for CODEX_Ciphers::Credentials:


Public Member Functions | |
| Credentials () | |
| Default constructor, for creating an object to be unmarshalled. | |
| Credentials (const RSAPublicKey &publicKey) | |
| Create Credentials from a public key. | |
| Credentials (const Credentials &aCred) | |
| Create Credentials from other Credentials. | |
| virtual | ~Credentials () |
| Virtual destructor. | |
| void | operator= (const Credentials &aCred) |
| Assignment operator. | |
| const RSAPublicKey & | publicKey () const |
| Public key of the client holding the credentials. | |
| 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? | |
The current version of this class is empty, and will always be accepted. It is designed to provide an interface for a mechanism such as SDSI or KeyNote.
Definition at line 38 of file Credentials.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 106 of file Credentials.cc. References CODEX_Ciphers::RSAPublicKey::marshal(). Referenced by CODEX_Client::Interface::codex_issue_credentials(), CODEX_Client::WriteKeyMsg::marshal(), and CODEX_Client::ReadKeyMsg::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 119 of file Credentials.cc. References CODEX_Ciphers::RSAPublicKey::unmarshal(). Referenced by CODEX_Client::Interface::codex_read_key(), CODEX_Client::Interface::codex_write_key(), CODEX_Client::WriteKeyMsg::unmarshal(), and CODEX_Client::ReadKeyMsg::unmarshal(). |
1.4.1