PathDumpDialog Class Reference

#include <PathDumpDialog.h>

Inheritance diagram for PathDumpDialog:

Inheritance graph
[legend]
Collaboration diagram for PathDumpDialog:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class is used to output path validation results

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)

Constructor & Destructor Documentation

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

Returns:
None

Definition at line 624 of file PathDumpDialog.cpp.


Member Function Documentation

wxButton* PathDumpDialog::GetDumpSaveCerts (  )  [inline]

Definition at line 45 of file PathDumpDialog.h.

Referenced by DumpPath().

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

Returns:
None
Parameters:
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

Returns:
None
Parameters:
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

Returns:
None

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

Returns:
None

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().


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:21:04 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6