00001 #ifndef PRIVATE_KEY_H 00002 #define PRIVATE_KEY_H 00003 00004 #include "Key.h" 00005 00006 class Token; 00011 class PrivateKey : public Key 00012 { 00013 public: 00022 PrivateKey(X509_CINF* certInfo,Token* thisToken,int cka_id); 00026 virtual ~PrivateKey(void); 00032 CK_OBJECT_CLASS getClass(); 00037 const char* getDescription(); 00038 00039 00040 private: 00044 static CK_OBJECT_CLASS CLASS; 00048 static CK_KEY_TYPE KEY_TYPE; 00052 static const char MY_DESC[]; 00053 }; 00054 #endif 00055