Key Class Reference

Inheritance diagram for Key:

Inheritance graph
[legend]
Collaboration diagram for Key:

Collaboration graph
[legend]
List of all members.

Detailed Description

Applies a basic structure to either private keys or public keys. It should definately be restructured to support a shared key


Public Member Functions

 Key (X509_CINF *certInfo, int cka_id)
virtual ~Key (void)
virtual CK_OBJECT_CLASS getClass ()=0

Protected Attributes

X509_CINF * certInfo
int cka_id
CK_DATE start
CK_DATE end


Constructor & Destructor Documentation

Key::Key X509_CINF *  certInfo,
int  cka_id
 

Construct this object from 'certInfo'

Parameters:
certInfo information about the X509 cert this key represents
cka_id ties the cert to the privkey/pubkey

Key::~Key void   )  [virtual]
 

Does nothing


Member Function Documentation

virtual CK_OBJECT_CLASS Key::getClass  )  [pure virtual]
 

returns the Cryptoki class for 'this' object

Reimplemented from GenericCryptoObject.

Implemented in PrivateKey, and PublicKey.


Member Data Documentation

X509_CINF* Key::certInfo [protected]
 

stores all information about the key

int Key::cka_id [protected]
 

Ties the priavte key, public key and the cert all together so cryptoki can find it

CK_DATE Key::start [protected]
 

All key types must have a valid start date

CK_DATE Key::end [protected]
 

All key types must have a valid end date


Generated on Fri Jan 12 15:48:44 2007 for NIST_PKCS11 by doxygen 1.3.1 using KingsTools