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


Public Member Functions | |
| WriteKeyMsg () | |
| Default constructor, for creating an object to be unmarshalled. | |
| WriteKeyMsg (const CODEX_ASN1::OctetString &name, const RequestCipherTextType &encryption, const CODEX_Ciphers::RSAPlaintextPK &proof, const CODEX_Ciphers::Credentials &credentials, const SignedBoundNameMsg &binding) | |
| Create a WriteKeyMsg from the basic components. | |
| WriteKeyMsg (const WriteKeyMsg &aWKM) | |
| Create a WriteKeyMsg from another WriteKeyMsg. | |
| virtual | ~WriteKeyMsg () |
| Virtual destructor. | |
| void | operator= (const WriteKeyMsg &aWKM) |
| Assignment operator. | |
| const CODEX_ASN1::OctetString & | name () const |
| The name of the key. | |
| const RequestCipherTextType & | encryption () const |
| The encryption of the key with the service's key. | |
| const CODEX_Ciphers::RSAPlaintextPK & | proof () const |
| The plaintext proof of knowledge certificate. | |
| const CODEX_Ciphers::Credentials & | credentials () const |
| The client's credentials to perform this operation. | |
| const SignedBoundNameMsg & | binding () const |
| The original binding confirmation, signed by the service. | |
| 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? | |
The contents of the message are sufficient to assure the service that the client is authorized to write the key, and that the client knows the key, which is transferred and stored in encrypted form.
In order to be accepted by the service, this message must be signed with the private key corresponding to the public key in the credentials.
Definition at line 345 of file CODEX_Client/Message.h.
|
1.4.1