TimestampAttribute.h

Go to the documentation of this file.
00001 
00009 #ifndef __TIMESTAMPATTRIBUTE_H__
00010 #define __TIMESTAMPATTRIBUTE_H__
00011 
00012 #if _MSC_VER > 1000
00013 #pragma once
00014 #endif // _MSC_VER > 1000
00015 
00016 #include "PKIFCMSDLL.h"
00017 #define PKIFCMS_API_FACTORY 
00018 #include "Attribute.h"
00019 
00020 FD_SMART_PTR(CPKIFContentInfo);
00021 
00028 class PKIFCMS_API CPKIFTimestampAttribute : public CPKIFAttribute
00029 {
00030 public:
00031     CPKIFTimestampAttribute();
00032     CPKIFTimestampAttribute(const CPKIFBufferPtr& buf);
00033     ~CPKIFTimestampAttribute();
00034 
00035     static char extOID[];
00036 
00037     //generic attribute functions
00038     CPKIFOIDPtr GetOID() const;
00039     void GetValues(CPKIFBufferList& values) const;
00040 
00041     //timestamp attribute-specific stuff
00042     void SetTimestamp(CPKIFContentInfoPtr& ts);
00043     CPKIFContentInfoPtr GetTimestamp() const;
00044 
00045 private:
00047     CPKIFTimestampAttribute(const CPKIFTimestampAttribute& copy);
00049     CPKIFTimestampAttribute& operator=(const CPKIFTimestampAttribute& rhs); //added 4/6/2004
00050 
00051     struct CPKIFTimestampAttributeImpl *m_impl;
00052 };
00053 DECLARE_SMART_POINTERS(CPKIFTimestampAttribute);
00054 
00055 #endif //__TIMESTAMPATTRIBUTE_H__

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