Show subpath in Clean Dialog title
[TortoiseGit.git] / src / TortoiseProc / CheckCertificateDlg.h
blobde8ff3d9df297b9cf0f6464976433390f1298c65
1 // TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2014 - TortoiseGit
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #pragma once
20 #include "StandAloneDlg.h"
21 #include "TortoiseProc.h"
23 class CCheckCertificateDlg : public CStandAloneDialog
25 DECLARE_DYNAMIC(CCheckCertificateDlg)
26 public:
27 CCheckCertificateDlg(CWnd* pParent = NULL); // standard constructor
29 // Dialog Data
30 enum { IDD = IDD_CERTCHECK };
32 CString m_sHostname;
33 CString m_sError;
35 CString m_sCertificateCN;
36 CString m_sCertificateIssuer;
38 git_cert_x509* cert;
40 protected:
41 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
42 virtual BOOL OnInitDialog();
43 afx_msg void OnBnClickedOk();
44 afx_msg void OnBnClickedOpencert();
46 DECLARE_MESSAGE_MAP()
48 CString m_sSHA1;
49 CString m_sSHA256;