00001 00010 #ifndef __BASICCONSTRAINTSVIOLATION_H__ 00011 #define __BASICCONSTRAINTSVIOLATION_H__ 00012 00013 #include "PKIFdll.h" 00014 FD_SMART_PTR(CPKIFCertificateNodeEntry); 00015 00027 class BasicConstraintsViolation 00028 { 00029 public: 00030 BasicConstraintsViolation(); 00031 bool operator()(const CPKIFCertificateNodeEntryPtr& entry); 00032 void SetCACount(int caCount); 00033 00034 private: 00035 //Default copy constructor is fine since the only member variable is an integer. 00036 //BasicConstraintsViolation(const BasicConstraintsViolation& copy); 00037 00039 BasicConstraintsViolation& operator=(const BasicConstraintsViolation& rhs); //added 4/6/2004 00040 00041 int m_numOfCAsBelowCurInPath; 00042 }; 00043 00044 #endif //__BASICCONSTRAINTSVIOLATION_H__