#if !defined(AFX_NETSECURITYDLG_H__A27CCA90_ABF8_4D64_A6A4_02B7475991AB__INCLUDED_) #define AFX_NETSECURITYDLG_H__A27CCA90_ABF8_4D64_A6A4_02B7475991AB__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // NetSecurityDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CNetSecurityDlg dialog class CNetSecurityDlg; class CNetSecurity; ///////////////////////////////////////////////////////////////////////////// // CNetISCLInfo dialog class CNetISCLInfo : public CPropertyPage { DECLARE_DYNCREATE(CNetISCLInfo) // Construction public: CNetISCLInfo(); ~CNetISCLInfo(); // Dialog Data //{{AFX_DATA(CNetISCLInfo) enum { IDD = IDD_SEC_INFO }; // NOTE - ClassWizard will add data members here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CNetISCLInfo) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: CFont m_Font1; CFont m_Font2; // Generated message map functions //{{AFX_MSG(CNetISCLInfo) virtual BOOL OnInitDialog(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// // CNetISCLAuth dialog class CNetISCLAuth : public CPropertyPage { DECLARE_DYNCREATE(CNetISCLAuth) // Construction public: CNetISCLAuth(); ~CNetISCLAuth(); CNetSecurityDlg* m_pOwner; // Dialog Data //{{AFX_DATA(CNetISCLAuth) enum { IDD = IDD_SEC_AUTH }; CListCtrl m_Keys; CComboBox m_Alg; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CNetISCLAuth) public: virtual BOOL OnSetActive(); virtual BOOL OnKillActive(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CNetISCLAuth) virtual BOOL OnInitDialog(); afx_msg void OnAuthGen(); afx_msg void OnAuthAdd(); afx_msg void OnAuthEdit(); afx_msg void OnAuthRemove(); afx_msg void OnDblclkAuthKeys(NMHDR* pNMHDR, LRESULT* pResult); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: L_UINT64 GetRandom(); }; ///////////////////////////////////////////////////////////////////////////// // CNetISCLEncr dialog class CNetISCLEncr : public CPropertyPage { DECLARE_DYNCREATE(CNetISCLEncr) // Construction public: CNetISCLEncr(); ~CNetISCLEncr(); CNetSecurityDlg* m_pOwner; // Dialog Data //{{AFX_DATA(CNetISCLEncr) enum { IDD = IDD_SEC_ENC }; CComboBox m_Sign; CListCtrl m_Keys; CComboBox m_Alg; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CNetISCLEncr) public: virtual BOOL OnSetActive(); virtual BOOL OnKillActive(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CNetISCLEncr) virtual BOOL OnInitDialog(); afx_msg void OnEncGenerate(); afx_msg void OnEncAdd(); afx_msg void OnEncEdit(); afx_msg void OnDblclkEncKeys(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnClose(); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: L_UINT64 GetRandom(); }; ///////////////////////////////////////////////////////////////////////////// // CNetTLSInit dialog class CNetTLSInit : public CPropertyPage { DECLARE_DYNCREATE(CNetTLSInit) // Construction public: CNetTLSInit(); ~CNetTLSInit(); CNetSecurityDlg* m_pOwner; // Dialog Data //{{AFX_DATA(CNetTLSInit) enum { IDD = IDD_SEC_TLS }; // NOTE - ClassWizard will add data members here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CNetTLSInit) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CNetTLSInit) // NOTE: the ClassWizard will add member functions here //}}AFX_MSG DECLARE_MESSAGE_MAP() }; class CNetSecurityDlg : public CDialog { // Construction public: CNetSecurityDlg(CWnd* pParent = NULL); // standard constructor //CNetSecurity* m_SecureData; L_UINT64 m_ISCLAuthKeys[8]; L_UINT m_ISCLAuthCurrentKey; L_UINT32 m_ISCLAuthAlg; L_UINT64 m_ISCLEncKeys[8]; L_UINT m_ISCLEncCurrentKey; L_UINT32 m_ISCLEncAlg; L_UINT32 m_ISCLEncSign; // Dialog Data //{{AFX_DATA(CNetSecurityDlg) enum { IDD = IDD_SESSION_SECURITY }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CNetSecurityDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation private: CPropertySheet m_Sheet; CNetISCLAuth m_ISCLAuth; CNetISCLEncr m_ISCLEnc; CNetISCLInfo m_ISCLInfo; CNetTLSInit m_TLSInit; // Generated message map functions //{{AFX_MSG(CNetSecurityDlg) virtual BOOL OnInitDialog(); virtual void OnOK(); virtual void OnCancel(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_NETSECURITYDLG_H__A27CCA90_ABF8_4D64_A6A4_02B7475991AB__INCLUDED_)