#include <PathDumpDialog.h>
TSP-enforcing: No
Definition at line 35 of file PathDumpDialog.h.
Public Member Functions | |
PathDumpDialog (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER) | |
wxButton * | GetDumpSaveCerts () |
wxTextCtrl * | GetPathDumpDetails () |
int | DumpPath (CPKIFCertificatePathPtr, const char *appInfo=NULL, bool bPrepareOnly=false) |
int | DumpResults (CPKIFCertificatePathPtr, CPKIFPathValidationResultsPtr, const char *appInfo=NULL, bool bPrepareOnly=false) |
void | SavePathToDisk (void) |
void | SaveRIToDisk (void) |
void | SaveLogToDisk (void) |
PathDumpDialog::PathDumpDialog | ( | wxWindow * | parent, | |
wxWindowID | id, | |||
const wxString & | title, | |||
const wxPoint & | position = wxDefaultPosition , |
|||
const wxSize & | size = wxDefaultSize , |
|||
long | style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | |||
) |
Interface: External
Dialog constructor
Definition at line 624 of file PathDumpDialog.cpp.
wxButton* PathDumpDialog::GetDumpSaveCerts | ( | ) | [inline] |
wxTextCtrl* PathDumpDialog::GetPathDumpDetails | ( | ) | [inline] |
Definition at line 46 of file PathDumpDialog.h.
Referenced by DumpPath(), DumpResults(), and SaveLogToDisk().
int PathDumpDialog::DumpPath | ( | CPKIFCertificatePathPtr | path, | |
const char * | appInfo = NULL , |
|||
bool | bPrepareOnly = false | |||
) |
Interface: External
This function displays path validation log
path | [in] The path for which results are prepared and, optionally, displayed |
bPrepareOnly | [in] When false, the results are displayed and the result of ShowModal returned, when true ShowModal is not called and 0 is returned |
Definition at line 1024 of file PathDumpDialog.cpp.
References GetDumpSaveCerts(), GetPathDumpDetails(), and CPKIFPathLogger::LogPath().
Referenced by DumpResults().
int PathDumpDialog::DumpResults | ( | CPKIFCertificatePathPtr | path, | |
CPKIFPathValidationResultsPtr | pvr, | |||
const char * | appInfo = NULL , |
|||
bool | bPrepareOnly = false | |||
) |
Interface: External
This function displays path validation results
path | [in] The path for which results are prepared and, optionally, displayed |
pvr | [in] The validation result for which results are prepared and, optionally, displayed |
bPrepareOnly | [in] When false, the results are displayed and the result of ShowModal returned, when true ShowModal is not called and 0 is returned |
Definition at line 1064 of file PathDumpDialog.cpp.
References DumpPath(), GetPathDumpDetails(), and CPKIFPathLogger::LogValidationResults().
void PathDumpDialog::SavePathToDisk | ( | void | ) |
Interface: External
This function saves certificates in the path to disk
Definition at line 1115 of file PathDumpDialog.cpp.
References CPKIFTrustRoot::GetCert(), WriteBufferToFile(), and WXCASTCHARS.
void PathDumpDialog::SaveRIToDisk | ( | void | ) |
Interface: External
This function saves revocation info to disk
Definition at line 1176 of file PathDumpDialog.cpp.
References REVSOURCE_CRL, REVSOURCE_OCSP, WriteBufferToFile(), and WXCASTCHARS.
void PathDumpDialog::SaveLogToDisk | ( | void | ) |
Definition at line 1155 of file PathDumpDialog.cpp.
References GetPathDumpDetails(), and WriteBufferToFile().