00001 #ifndef _X509_FOR_CARD_AUTH 00002 #define _X509_FOR_CARD_AUTH 00003 00004 #include "X509Certificate.h" 00005 00010 class X509ForCardAuth : public X509Certificate 00011 { 00012 public: 00017 X509ForCardAuth(Token* thisToken,Session* session); 00021 ~X509ForCardAuth(void); 00022 00026 const char* getDescription(); 00031 // string getOid(); 00032 private: 00036 static const char MY_OID[]; 00040 static const char MY_DESC[]; 00049 class CardAuthPrivKey : public KeyContainer, public PrivateKey { 00050 public: 00060 CardAuthPrivKey(X509_CINF* certInfo,Token* thisToken,int cka_id) : PrivateKey(certInfo,thisToken,cka_id){} 00066 PIV_Byte getContainerId(); 00067 }; 00068 }; 00069 #endif 00070