CertificateDetailsPanel.cpp File Reference


Detailed Description

Subsystem: PKIF Resources

Module: CPKIFCertificateDetailsPanel

Id
CertificateDetailsPanel.cpp 9905 2009-05-13 14:14:33Z agalustyan

Definition in file CertificateDetailsPanel.cpp.

#include "PKIFdll.h"
#include "wx/wxprec.h"
#include "CertificateDetailsPanel.h"
#include "pkif.h"
#include "SubjectInfoAccess.h"
#include "PRStringUtils.h"
#include "ResourceUtils.h"
#include <sstream>

Include dependency graph for CertificateDetailsPanel.cpp:

Go to the source code of this file.

Enumerations

enum  { ALLFIELDS = 0, VERSION1ONLY, EXTENSIONSONLY, CRITICALEXTONLY }

Functions

string DecodeIP (CPKIFBufferPtr &encodedIP)
string GetOIDString (const CPKIFOIDPtr &oid)
const wxString & GetBufAsAscii (const CPKIFBufferPtr &in, wxString &out)
CPKIFBufferPtr GetThumbprint (CPKIFCertificatePtr &cert)


Enumeration Type Documentation

anonymous enum

Enumerator:
ALLFIELDS 
VERSION1ONLY 
EXTENSIONSONLY 
CRITICALEXTONLY 

Definition at line 37 of file CertificateDetailsPanel.cpp.


Function Documentation

string DecodeIP ( CPKIFBufferPtr &  encodedIP  ) 

Interface: Module

Helper function to decode encoded IPs

Returns:
decoded string of the ip address
Parameters:
encodedIP  [in] Encoded IP

Definition at line 341 of file NameConstraintsPanel.cpp.

Referenced by CPKIFGeneralCRLDetailsPanel::PopulateListExtensions(), and UpdateList().

const wxString& GetBufAsAscii ( const CPKIFBufferPtr &  in,
wxString &  out 
)

Interface: Subsystem

This function returns buffer as ASCII

Returns:
ASCII representation of the buffer
Parameters:
in  [in] Buffer to be converted to ASCII
out  [out] ASCII representation of the buffer

Definition at line 275 of file ResourceUtils.cpp.

Referenced by CPKIFGeneralCRLDetailsPanel::PopulateListExtensions().

string GetOIDString ( const CPKIFOIDPtr &  oid  ) 

Interface: Subsystem

This function converts OID to algorithm name

Returns:
Algorithm name

Definition at line 167 of file ResourceUtils.cpp.

Referenced by CPKIFGeneralCRLDetailsPanel::PopulateList().

CPKIFBufferPtr GetThumbprint ( CPKIFCertificatePtr &  cert  ) 

Interface: Module

GetThumbprint returns a CPKIFBufferPtr containing either NULL, upon error, or a NULL-terminated ASCII hex string representation of the thumbprint of the certificate.

Returns:
Smart pointer to CPKIFBuffer containing the thumbprint
Parameters:
cert  [in] Certificate of which thumbprint will be calculated

Definition at line 91 of file PathDumpDialog.cpp.

Referenced by GetThumbprint(), and WriteCertsFromOcspResponseToFile().


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