00001 #ifndef _X509_FOR_PIV_AUTH 00002 #define _X509_FOR_PIV_AUTH 00003 00004 #include "X509Certificate.h" 00005 #include "Token.h" 00006 class Token; 00011 class X509ForPivAuth : public X509Certificate 00012 { 00013 public: 00018 X509ForPivAuth(Token* thisToken,Session* session); 00022 ~X509ForPivAuth(void); 00023 00027 const char* getDescription(); 00028 private: 00032 static const char MY_OID[]; 00036 static const char MY_DESC[]; 00045 class PivAuthPrivKey : public KeyContainer, public PrivateKey { 00046 public: 00056 PivAuthPrivKey(X509_CINF* certInfo,Token* thisToken,int cka_id) : PrivateKey(certInfo,thisToken,cka_id){} 00062 PIV_Byte getContainerId(); 00063 }; 00064 }; 00065 #endif 00066