00001 00009 #ifndef __ISSUEDBY_H__ 00010 #define __ISSUEDBY_H__ 00011 00012 00013 #include "PKIFdll.h" 00014 FD_SMART_PTR(CPKIFCertificateNodeEntry); 00015 FD_SMART_PTR(CPKIFName); 00016 FD_SMART_PTR(CPKIFNameAndKeyWithScore); 00017 00023 class IssuedBy 00024 { 00025 public: 00026 IssuedBy (); 00027 ~IssuedBy (); 00028 bool operator()(const CPKIFCertificateNodeEntryPtr& lhs); 00029 void SetRHS(CPKIFNamePtr& rhs); 00030 private: 00031 CPKIFNamePtr m_rhs; 00032 }; 00038 class NotIssuedBy 00039 { 00040 public: 00041 NotIssuedBy (); 00042 ~NotIssuedBy (); 00043 bool operator()(const CPKIFCertificateNodeEntryPtr& lhs); 00044 void SetRHS(CPKIFNamePtr& rhs); 00045 private: 00046 CPKIFNamePtr m_rhs; 00047 }; 00053 class IssuedByNameAndKey 00054 { 00055 public: 00056 IssuedByNameAndKey (); 00057 ~IssuedByNameAndKey (); 00058 bool operator()(const CPKIFNameAndKeyWithScorePtr& lhs); 00059 void SetRHS(CPKIFNamePtr& rhs); 00060 private: 00061 CPKIFNamePtr m_rhs; 00062 }; 00068 class IssuedTo 00069 { 00070 public: 00071 IssuedTo (); 00072 ~IssuedTo (); 00073 bool operator()(const CPKIFNameAndKeyWithScorePtr& lhs); 00074 void SetRHS(CPKIFNamePtr& rhs); 00075 private: 00076 CPKIFNamePtr m_rhs; 00077 }; 00083 class NotIssuedTo 00084 { 00085 public: 00086 NotIssuedTo (); 00087 ~NotIssuedTo (); 00088 bool operator()(const CPKIFCertificateNodeEntryPtr& lhs); 00089 void SetRHS(CPKIFNamePtr& rhs); 00090 private: 00091 CPKIFNamePtr m_rhs; 00092 }; 00093 00094 #endif