~ubuntu-branches/debian/sid/filezilla/sid

« back to all changes in this revision

Viewing changes to src/interface/verifycertdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Adrien Cunin
  • Date: 2009-08-20 00:38:30 UTC
  • mfrom: (1.3.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090820003830-0prw6uzkgv06kbkh
* New upstream release (LP: #389525)
   - New feature: remote file search
   - pkg-config is now used to search for gnutls (Closes: #529822)
* Changed package descriptions, not mentioning Windows anymore
* Updated features list in package description
* Added pkg-config to the build-dependencies
* Build-Depend on libgnutls-dev version >= 2.8.3, as required by upstream
* Updated Standards-Version to 3.8.3
* debian/rules: touch magic on configure and configure.in to make sure the
  first has a more recent timestamp than the second (Closes: #529701)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
#include "xmlfunctions.h"
5
5
 
6
 
class CVerifyCertDialog
 
6
class wxDialogEx;
 
7
class CVerifyCertDialog : protected wxEvtHandler
7
8
{
8
9
public:
9
10
        virtual ~CVerifyCertDialog();
14
15
protected:
15
16
        bool IsTrusted(const unsigned char* data, unsigned int len, bool permanentOnly);
16
17
 
 
18
        bool DisplayCert(wxDialogEx* pDlg, const CCertificate& cert);
 
19
 
17
20
        void ParseDN(wxDialog* pDlg, const wxString& dn, wxSizer* pSizer);
18
 
        void ParseDN_by_prefix(wxDialog* pDlg, std::list<wxString>& tokens, wxString prefix, const wxString& name, wxSizer* pSizer);
 
21
        void ParseDN_by_prefix(wxDialog* pDlg, std::list<wxString>& tokens, wxString prefix, const wxString& name, wxSizer* pSizer, bool decode = false);
 
22
        
 
23
        wxString DecodeValue(const wxString& value);
19
24
 
20
25
        wxString ConvertHexToString(const unsigned char* data, unsigned int len);
21
26
        unsigned char* ConvertStringToHex(const wxString& str, unsigned int &len);
33
38
        std::list<t_certData> m_sessionTrustedCerts;
34
39
 
35
40
        CXmlFile m_xmlFile;
 
41
 
 
42
        std::vector<CCertificate> m_certificates;
 
43
        wxDialogEx* m_pDlg;
 
44
        wxSizer* m_pSubjectSizer;
 
45
        wxSizer* m_pIssuerSizer;
 
46
 
 
47
        void OnCertificateChoice(wxCommandEvent& event);
36
48
};
37
49
 
38
50
#endif //__VERIFYCERTDIALOG_H__