Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_Client Namespace Reference

This namespace holds all of the class definitions for messages sent between CODEX clients and the key service. More...


Classes

class  Client
 This class holds the interface methods for client requests, as well as the necessary state information. More...
class  Message
 This class defines the basic message type, which is serializable. More...
class  SignedMessage
 This templated class defines a basic signed message. More...
class  RequestKeyMsg
 This is the message a client uses to request the service's ElGamal public key. More...
class  CreateKeyMsg
 This message is used to create a binding between a name and a set of ownership and access policies. More...
class  BoundNameMsg
 This is the message returned by the service after processing a CreateKeyMsg. More...
class  WriteKeyMsg
 This message is used to write a key with a name that has previously been bound. More...
class  KeyStoredMsg
 This is the message returned by the service after processing a WriteKeyMsg. More...
class  ReadKeyMsg
 This message is used to read a key with a name that has previously been written. More...
class  BlindKeyMsg
 This is the message returned by the service after processing a ReadKeyMsg. More...

Namespaces

namespace  Interface
 This nested namespace holds a singleton Interface which is only needed for building interfaces to C or other languages that support C hooks but not C++.

Typedefs

typedef CODEX_Ciphers::VarRSACipherText CipherTextType
 The type of a general ciphertext.
typedef CipherTextType RequestCipherTextType
 The type of a ciphertext for a write request.
typedef CODEX_Ciphers::RSACipherText BlindingCipherTextType
 The type of a ciphertext for a blinding factor.
typedef CODEX_Ciphers::VarRSABlindCipherText BlindCipherTextType
 The type of a blinded ciphertext.
typedef CODEX_Ciphers::VarRSABlindPlainText BlindPlainTextType
 The type of a plaintext for a blind key.
typedef CODEX_Server::SignedAugmentedEGPublicKey SignedPublicKeyMsg
 RSA-signed (by the service) CODEX_Server::AugmentedEGPublicKey.
typedef SignedMessage< CreateKeyMsg,
CODEX_Ciphers::RSASignature
SignedCreateKeyMsg
 RSA-signed (by the client) CreateKeyMsg.
typedef SignedMessage< BoundNameMsg,
CODEX_Ciphers::RSASignature
SignedBoundNameMsg
 RSA-signed (by the service) BoundNameMsg.
typedef SignedMessage< WriteKeyMsg,
CODEX_Ciphers::RSASignature
SignedWriteKeyMsg
 RSA-signed (by the client) WriteKeyMsg.
typedef SignedMessage< KeyStoredMsg,
CODEX_Ciphers::RSASignature
SignedKeyStoredMsg
 RSA-signed (by the service) KeyStoredMsg.
typedef SignedMessage< ReadKeyMsg,
CODEX_Ciphers::RSASignature
SignedReadKeyMsg
 RSA-signed (by the client) ReadKeyMsg.
typedef SignedMessage< BlindKeyMsg,
CODEX_Ciphers::RSASignature
SignedBlindKeyMsg
 RSA-signed (by the service) BlindKeyMsg.

Enumerations

enum  MessageType {
  kRequestKeyMsg, kPublicKeyMsg, kCreateKeyMsg, kBoundNameMsg,
  kWriteKeyMsg, kKeyStoredMsg, kReadKeyMsg, kBlindKeyMsg
}
 Message types. More...

Variables

const unsigned char SignatureMask = 0x80
 Bit 1 is set if the message is signed.


Detailed Description

This namespace holds all of the class definitions for messages sent between CODEX clients and the key service.

The common base class is Message, which inherits the CODEX_ASN1::Base abstract serializable class.


Enumeration Type Documentation

enum CODEX_Client::MessageType
 

Message types.

Signed message types are not included. There are easily enough bits left over in a single byte for one-bit annotations.

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


Variable Documentation

const unsigned char CODEX_Client::SignatureMask = 0x80
 

Bit 1 is set if the message is signed.

This is assumed to be an RSA signature.

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


Generated on Fri May 6 17:41:55 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1