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

CODEX_Client::BlindKeyMsg Class Reference

This is the message returned by the service after processing a ReadKeyMsg. More...

#include <Message.h>

Inheritance diagram for CODEX_Client::BlindKeyMsg:

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

Collaboration graph
[legend]
List of all members.

Public Methods

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

 BlindKeyMsg (const CODEX_ASN1::OctetString &name, const BlindPlainTextType &blindedKey, const CODEX_Ciphers::RSASignature &requestSignature)
 Create a BlindKeyMsg from the basic components.

 BlindKeyMsg (const BlindKeyMsg &aBKM)
 Create a BlindKeyMsg from another BlindKeyMsg.

virtual ~BlindKeyMsg ()
 Virtual destructor.

void operator= (const BlindKeyMsg &aBKM)
 Assignment operator.

const CODEX_ASN1::OctetStringname () const
 
Returns:
The name of the key.


const BlindPlainTextTypeblindedKey () const
 
Returns:
The blinded key.


const CODEX_Ciphers::RSASignaturerequestSignature () const
 
Returns:
The client's signature from the read request.


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

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


Detailed Description

This is the message returned by the service after processing a ReadKeyMsg.

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 BlindKeyMsg is successfully signed by the service.

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


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