SCVPCertID.h

Go to the documentation of this file.
00001 
00010 #ifndef __SCVPCERTID_H__
00011 #define __SCVPCERTID_H__
00012 
00013 
00014 #include "PKIFSCVPDLL.h"
00015 #include "PKIFdll.h"
00016 
00017 
00018 // forward declarations
00019 struct CPKIFSCVPCertIDImpl;
00020 
00021 
00022 FD_SMART_PTR(CPKIFOID);
00023 FD_SMART_PTR(CPKIFBuffer);
00024 FD_LIST_PTR(CPKIFGeneralName);
00025 
00031 class PKIFSCVP_API CPKIFSCVPCertID
00032 {
00033 public:
00034     CPKIFSCVPCertID();
00035     CPKIFSCVPCertID(const CPKIFBufferPtr&);
00036     virtual ~CPKIFSCVPCertID(void);
00037 
00038     //required field
00039     void CalculateCertHash(CPKIFBufferPtr& check);
00040     const CPKIFBufferPtr GetCertHash() const;
00041 
00042     //required field
00043     void SetHashAlgorithm(CPKIFAlgorithmIdentifierPtr& value);
00044     const CPKIFAlgorithmIdentifierPtr GetHashAlgorithm() const;
00045 
00046     void SetSerialNumber(const char * serialNumber);
00047     const char * GetSerialNumber() const;
00048 
00049     void SetIssuerName(CPKIFGeneralNameListPtr& issuerName);
00050     void GetIssuerName(CPKIFGeneralNameListPtr& issuerName) const;
00051 
00052 
00053     void SetMediator(IPKIFMediatorPtr &med);
00054 
00055 private:
00057     CPKIFSCVPCertID(const CPKIFSCVPCertID& copy);
00059     CPKIFSCVPCertID& operator=(const CPKIFSCVPCertID& rhs);
00060 
00061     struct CPKIFSCVPCertIDImpl *m_impl;
00062 };
00063 DECLARE_SMART_POINTERS(CPKIFSCVPCertID);
00064 
00065 #endif //__SCVPCERTID_H__

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