00001 #ifndef _X509_FOR_KEY_MAN 00002 #define _X509_FOR_KEY_MAN 00003 00004 #include "X509Certificate.h" 00005 #include "Token.h" 00006 class Token; 00011 class X509ForKeyMan : public X509Certificate { 00012 public: 00017 X509ForKeyMan(Token* thisToken,Session* session); 00021 ~X509ForKeyMan(void); 00025 const char* getDescription(); 00026 private: 00030 static const char MY_OID[]; 00034 static const char MY_DESC[]; 00043 class KeyManPrivKey : public KeyContainer, public PrivateKey { 00044 public: 00054 KeyManPrivKey(X509_CINF* certInfo,Token* thisToken,int cka_id) : PrivateKey(certInfo,thisToken,cka_id){} 00060 PIV_Byte getContainerId(); 00061 }; 00062 }; 00063 #endif 00064