// frmSSLCertificate.h - SSL Certificate form header. // // (c) 2012-2015 Xestia Software Development. // // This file is part of Xestia Address Book. // // Xestia Address Book is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by the // Free Software Foundation, version 3 of the license. // // Xestia Address Book is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License along // with Xestia Address Book. If not, see #ifndef __frmSSLCertificate__ #define __frmSSLCertificate__ /** @file Subclass of frmSSLCertificateADT, which is generated by wxFormBuilder. */ #include "AppXestiaAddrBk.h" #include "common/sslcertstructs.h" #include #include #include //// end generated include /** Implementing frmSSLCertificateADT */ class frmSSLCertificate : public frmSSLCertificateADT { protected: // Handlers for frmSSLCertificateADT events. void LoadValueData( wxListEvent& event ); void ViewCertificate( wxCommandEvent& event ); void CloseWindow( wxCommandEvent& event ); void CheckCertificate( wxTreeEvent& event ); public: void SetupCerts(SSLCertCollection SSLCertInc); void SetupCertsString(SSLCertCollectionString SSLCertInc); void StartCertFrom(int StartFromInc); /** Constructor */ frmSSLCertificate( wxWindow* parent ); private: int StartFrom = 0; SSLCertCollection SSLCertData; SSLCertCollectionString SSLCertDataString; std::map GetSubjectData(wxString SubjectData); std::map GetSubjectData(std::string SubjectData); class SSLCertItemData : public wxTreeItemData { protected: int SSLCertID; public: SSLCertItemData(int SSLCertIDInc){ SSLCertID = SSLCertIDInc; }; int GetCertID(){ return SSLCertID; }; ~SSLCertItemData(){}; }; //// end generated class members }; #endif // __frmSSLCertificate__