#include <Message.h>
Inheritance diagram for CODEX_Client::KeyStoredMsg:


Public Member Functions | |
| KeyStoredMsg () | |
| Default constructor, for creating an object to be unmarshalled. | |
| KeyStoredMsg (const CODEX_ASN1::OctetString &name, const CODEX_Ciphers::RSASignature &requestSignature) | |
| Create a KeyStoredMsg from an OctetString and an RSASignature. | |
| KeyStoredMsg (const KeyStoredMsg &aKSM) | |
| Create a KeyStoredMsg from another KeyStoredMsg. | |
| virtual | ~KeyStoredMsg () |
| Virtual destructor. | |
| void | operator= (const KeyStoredMsg &aKSM) |
| Assignment operator. | |
| const CODEX_ASN1::OctetString & | name () const |
| The name of the key. | |
| const CODEX_Ciphers::RSASignature & | requestSignature () const |
| The client's signature from the write request. | |
| int | marshal (unsigned char **pp) const |
| Serialize the message. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| Unserialize the message. | |
| BIGNUM * | digest (const CODEX_Ciphers::HashFunction &hf) const |
| Create a message digest. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
We can save on space here by not returning the entire request, but only the relevant signature. As long as the client still has its original request this is sufficient, since the service must have approved a message with this signature if the KeyStoredMsg is successfully signed by the service.
Definition at line 424 of file CODEX_Client/Message.h.
|
1.4.1