ReasonFlags.h
Go to the documentation of this file.00001
00009 #ifndef __ReasonFlags_H__
00010 #define __ReasonFlags_H__
00011
00012 #if _MSC_VER > 1000
00013 #pragma once
00014 #endif // _MSC_VER > 1000
00015
00016
00017 #include "PKIFdll.h"
00018 #define CAC_API_FACTORY
00019
00020 struct CPKIFReasonFlagsImpl;
00021
00043 class CAC_API CPKIFReasonFlags
00044 {
00045 public:
00046 CPKIFReasonFlags();
00047 ~CPKIFReasonFlags();
00048
00049 bool GetUnused() const;
00050 bool GetKeyCompromise() const;
00051 bool GetCACompromise() const;
00052 bool GetAffiliationChanged() const;
00053 bool GetSuperseded() const;
00054 bool GetCessationOfOperation() const;
00055 bool GetCertificateHold() const;
00056 bool GetPrivilegeWithdrawn() const;
00057 bool GetAACompromise() const;
00058
00059 void SetUnused();
00060 void SetKeyCompromise();
00061 void SetCACompromise();
00062 void SetAffiliationChanged();
00063 void SetSuperseded();
00064 void SetCessationOfOperation();
00065 void SetCertificateHold();
00066 void SetPrivilegeWithdrawn();
00067 void SetAACompromise();
00068
00069 private:
00070 CPKIFReasonFlags(const CPKIFReasonFlags& name);
00071 CPKIFReasonFlags& operator=(const CPKIFReasonFlags& rhs);
00072
00073 struct CPKIFReasonFlagsImpl *m_impl;
00074 };
00075 DECLARE_SMART_POINTERS(CPKIFReasonFlags);
00076 #endif