std::map<wxString,wxString> frmSSLCertificate::GetSubjectData(wxString SubjectData)
{
+ // Get the subject data and put into a map<wxString,wxString>
+
std::map<wxString,wxString> SubjectDataFinal;
wxStringTokenizer SubjectDataToken(SubjectData, wxT(";"));
wxString StringData;
void frmSSLCertificate::CloseWindow( wxCommandEvent& event )
{
+
+ // Close this window.
+
this->Close();
}
void frmSSLCertificate::StartCertFrom(int StartFromInc){
+
+ // Start the certificate chain from the specified
+ // certificate number.
+
StartFrom = StartFromInc;
}
void frmSSLCertificate::CheckCertificate( wxTreeEvent& event ){
+ // Check the certificate.
+
wxTreeItemId SelectedChild = treHierarchy->GetSelection();
SSLCertItemData *ActiveSSLData = (SSLCertItemData*)treHierarchy->GetItemData(SelectedChild);