00001 00010 #ifndef __HASHVALUE_H__ 00011 #define __HASHVALUE_H__ 00012 00013 00014 #include "PKIFSCVPDLL.h" 00015 #include "PKIFdll.h" 00016 00017 00018 // forward declarations 00019 struct CPKIFHashValueImpl; 00020 00021 00022 FD_SMART_PTR(CPKIFBuffer); 00023 FD_SMART_PTR(CPKIFAlgorithmIdentifier); 00024 00030 class PKIFSCVP_API CPKIFHashValue 00031 { 00032 public: 00033 CPKIFHashValue(); 00034 CPKIFHashValue(const CPKIFBufferPtr&); 00035 virtual ~CPKIFHashValue(void); 00036 00037 //required field 00038 void SetValue(CPKIFBufferPtr& value); 00039 const CPKIFBufferPtr GetValue() const; 00040 00041 //required field 00042 void SetAlgID(CPKIFAlgorithmIdentifierPtr& statusCode); 00043 const CPKIFAlgorithmIdentifierPtr GetAlgID() const; 00044 00045 private: 00047 CPKIFHashValue(const CPKIFHashValue& copy); 00049 CPKIFHashValue& operator=(const CPKIFHashValue& rhs); 00050 00051 struct CPKIFHashValueImpl *m_impl; 00052 }; 00053 DECLARE_SMART_POINTERS(CPKIFHashValue); 00054 00055 typedef std::vector<CPKIFHashValuePtr> CPKIFHashValueList; 00056 DECLARE_SMART_POINTERS(CPKIFHashValueList); 00057 #endif //__HASHVALUE_H__