source: filezilla/trunk/fuentes/src/interface/verifyhostkeydialog.h @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 3 years ago

First release to xenial

File size: 584 bytes
Line 
1#ifndef __VERIFYHOSTKEYDIALOG_H__
2#define __VERIFYHOSTKEYDIALOG_H__
3
4/* Full handling is done inside fzsftp, this class is just to display the
5 * dialog and for temporary session trust, lost on restart of FileZilla.
6 */
7class CVerifyHostkeyDialog
8{
9public:
10        static bool IsTrusted(CHostKeyNotification const& pNotification);
11        static void ShowVerificationDialog(wxWindow* parent, CHostKeyNotification& pNotification);
12
13protected:
14        struct t_keyData
15        {
16                wxString host;
17                wxString fingerprint;
18        };
19        static std::list<t_keyData> m_sessionTrustedKeys;
20};
21
22#endif //__VERIFYHOSTKEYDIALOG_H__
Note: See TracBrowser for help on using the repository browser.