ResponderID.h

Go to the documentation of this file.
00001 
00009 #ifndef __ResponderID_H__
00010 #define __ResponderID_H__
00011 
00012 #include "PKIFdll.h"
00013 FD_SMART_PTR(CPKIFName);
00014 struct CPKIFResponderIDImpl;
00015 FD_SMART_PTR(CPKIFBuffer);
00016 
00017 struct ResponderID;
00018 
00026 class CAC_API CPKIFResponderID
00027 {
00028 public:
00029     CPKIFResponderID(void);
00030     CPKIFResponderID(const CPKIFBufferPtr& rid);
00031     //CPKIFResponderID(ResponderID& rid);
00032     ~CPKIFResponderID(void);
00033 
00034     enum ResponderIDType {NAME, KEYHASH, UNSET};
00035 
00036     ResponderIDType GetChoice() const;
00037 
00038     //name
00039     CPKIFNamePtr GetName() const;
00040     void SetName(CPKIFNamePtr& name);
00041 
00042     //key hash
00043     CPKIFBufferPtr GetHash() const;
00044     void SetHash(CPKIFBufferPtr& hash);
00045 
00046 private:
00048     CPKIFResponderID(const CPKIFResponderID& copy);
00050     CPKIFResponderID& operator=(const CPKIFResponderID& rhs); //added 4/6/2004
00051 
00052     struct CPKIFResponderIDImpl *m_impl;
00053 
00054 };
00055 DECLARE_SMART_POINTERS(CPKIFResponderID);
00056 
00057 #endif

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