PkiEnvironmentDefinitionNotebook.h
Go to the documentation of this file.00001
00010 #ifndef __PkiEnvironmentDefinitionNotebook_H__
00011 #define __PkiEnvironmentDefinitionNotebook_H__
00012
00013 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) && defined(PKIFRESOURCES_ALLOW_GCC_PRAGMA)
00014 #pragma interface "PkiEnvironmentDefinitionNotebook.cpp"
00015 #endif
00016
00017 #ifndef WX_PRECOMP
00018 #include "wx/wx.h"
00019 #endif
00020
00021 #include "PKIFResources_wdr.h"
00022 #include "PKIFResources.h"
00023 #include "pkif.h"
00024
00025 #include "ColleagueSelectionPanel.h"
00026 #include "LdapAndOcspPanel.h"
00027 #include "SimpleCertAndCrlPanel.h"
00028 #include "SRColleaguesPanel.h"
00029 #include "PathProcessingAndRevCheckingPanel.h"
00030
00031 FD_SMART_PTR(CPRColleagueInfo);
00032
00033
00034
00035
00036
00037
00044 class PKIFRESOURCES_API CPKIFPkiEnvironmentDefinitionNotebook: public wxDialog
00045 {
00046 public:
00047
00048 CPKIFPkiEnvironmentDefinitionNotebook( wxWindow *parent, wxWindowID id, const wxString &title,
00049 const wxPoint& pos = wxDefaultPosition,
00050 const wxSize& size = wxDefaultSize,
00051 long style = wxDEFAULT_DIALOG_STYLE,
00052 bool enableBlacklists = true);
00053
00054 ~CPKIFPkiEnvironmentDefinitionNotebook();
00055
00056 IPKIFMediatorPtr GetMediator();
00057
00058
00059 void OnInitDialog(wxInitDialogEvent& event);
00060
00061
00062
00063 void SetInitialMediator(IPKIFMediatorPtr& m);
00064 void OnSelChange(wxNotebookEvent& event);
00065
00066 private:
00067 IPKIFMediatorPtr m_m;
00068
00069 std::vector<CPRColleagueInfoPtr> m_unrecognizedCrypto;
00070 std::vector<CPRColleagueInfoPtr> m_unrecognizedSR;
00071 std::vector<CPRColleagueInfoPtr> m_unrecognizedRevStatus;
00072 std::vector<CPRColleagueInfoPtr> m_unrecognizedPathProc;
00073
00074
00075
00076 private:
00077
00078 void OnCancel( wxCommandEvent &event );
00079 void OnOK( wxCommandEvent &event );
00080 CPKIFColleagueSelectionPanel* m_pColleaguePanel;
00081 CPKIFLdapAndOcspPanel* m_pLdapAndOcspPanel;
00082 CPKIFSimpleCertAndCrlPanel* m_pSimplePanel;
00083 CPKIFPathAndRevColleagueSelectionPanel* m_pPathAndRevPanel;
00084 CPKIFSRColleagueSelectionPanel* m_pSRPanel;
00085
00086
00087 void AssembleCrypto(CPKIFCryptoMediator2Ptr&) const;
00088 void AssembleStorageAndRetrieval(CPKIFCacheMediator2Ptr&) const;
00089 void AssemblePathProcessing(CPKIFPathProcessingMediator2Ptr&) const;
00090 void AssembleRevocationStatus(CPKIFRevocationStatusMediator2Ptr&) const;
00091
00092 private:
00093 DECLARE_EVENT_TABLE()
00094 };
00095
00096
00097
00098
00099 #endif