X509ForDigitalSig.h

00001 #ifndef _X509_FOR_DIGITAL_SIG
00002 #define _X509_FOR_DIGITAL_SIG
00003 
00004 #include "X509Certificate.h"
00005 #include "Token.h"
00006 class Token;
00011 class X509ForDigitalSig : public X509Certificate
00012 {     
00013     public:
00018       X509ForDigitalSig(Token* thisToken,Session* session);
00022       ~X509ForDigitalSig(void);
00026     const char* getDescription();
00027     private:
00031         static const char MY_OID[];
00035         static const char MY_DESC[];
00044         class DigitalSigPrivKey : public KeyContainer, public PrivateKey {
00045           public: 
00055             DigitalSigPrivKey(X509_CINF* certInfo,Token* thisToken,int cka_id) : PrivateKey(certInfo,thisToken,cka_id){}
00061             PIV_Byte getContainerId();
00062         }; 
00063 };
00064 #endif
00065 

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