Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

CODEX_Client::CreateKeyMsg Class Reference

This message is used to create a binding between a name and a set of ownership and access policies. More...

#include <Message.h>

Inheritance diagram for CODEX_Client::CreateKeyMsg:

Inheritance graph
[legend]
Collaboration diagram for CODEX_Client::CreateKeyMsg:

Collaboration graph
[legend]
List of all members.

Public Methods

 CreateKeyMsg ()
 Default constructor, for creating an object to be unmarshalled.

 CreateKeyMsg (const CODEX_ASN1::OctetString &name, const CODEX_ASN1::Certificate &owner, const CODEX_Ciphers::Policy &readP, const CODEX_Ciphers::Policy &writeP)
 Create a CreateKeyMsg from an OctetString and Certificates.

 CreateKeyMsg (const CreateKeyMsg &aCKM)
 Create a CreateKeyMsg from another CreateKeyMsg.

virtual ~CreateKeyMsg ()
 Virtual destructor.

void operator= (const CreateKeyMsg &aCKM)
 Assignment operator.

const CODEX_ASN1::OctetStringname () const
 
Returns:
The name to bind.


const CODEX_ASN1::Certificateowner () const
 
Returns:
The owner's Certificate.


const CODEX_Ciphers::PolicyreadP () const
 
Returns:
The read policy.


const CODEX_Ciphers::PolicywriteP () const
 
Returns:
The write policy.


int marshal (unsigned char **pp) const
 Serialize the message.

void * unmarshal (void *bogus, unsigned char **pp, long length)
 Unserialize the message.


Detailed Description

This message is used to create a binding between a name and a set of ownership and access policies.

The owner Certificate is signed by a CA that is trusted by the service. The public key bound by the Certificate is used to sign the policy Certificates. The public keys bound by the policy certificates are then used to sign credentials Certificates. In order to be accepted by the service, this message must be signed by the client using the private key corresponding to the public key in the owner Certificate.

For the moment there is no delete semantics. To add it in, one more Certificate is needed.

Definition at line 232 of file CODEX_Client/Message.h.


The documentation for this class was generated from the following files:
Generated on Wed Jun 2 16:33:06 2004 for COrnell Data EXchange (CODEX) by doxygen1.2.18