PKIFNSSCredential.h

Go to the documentation of this file.
00001 
00009 #ifndef _PKIFNSSCREDENTIAL_H_
00010 #define _PKIFNSSCREDENTIAL_H_
00011 
00012 #include "PKIFdll.h"
00013 #include "PKIFCredential.h"
00014 
00015 #include "PKIFNSSConfig.h"
00016 
00026 class CPKIFNSSCredential : public CPKIFCredential
00027 {
00028     friend class CPKIFNSS;
00029 public:
00030     CPKIFNSSCredential(SECKEYPrivateKey * key, SECItem * derCert);
00031     virtual ~CPKIFNSSCredential();
00032     
00033     virtual void SetPassword(unsigned char* password, int len);
00034 
00035     CPKIFCertificatePtr GetCertificate() const;
00036 
00037 private:
00039     CPKIFNSSCredential(const CPKIFNSSCredential& copy);
00041     CPKIFNSSCredential& operator=(const CPKIFNSSCredential& rhs); //added 4/6/2004
00042 
00043     SECKEYPrivateKey * m_privateKey;
00044     CPKIFCertificatePtr m_pkifCert;
00045     
00046 
00047     unsigned char * m_password;
00048     unsigned int m_pwLen;
00049 };
00050 
00051 #endif

Generated on Mon Nov 15 11:15:55 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6