CPKIFOCSPCertStatus Class Reference

#include <OCSPCertStatus.h>

Collaboration diagram for CPKIFOCSPCertStatus:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFOCSPCertStatus class provides an interface to OCSP CertStatus objects.

TSP-enforcing: No

Definition at line 25 of file OCSPCertStatus.h.


Public Types

enum  CertStatusChoice { GOOD, REVOKED, UNKNOWN, UNSET }
 The CertStatusChoice enum is used to identify Cert status. More...

Public Member Functions

 CPKIFOCSPCertStatus (void)
 CPKIFOCSPCertStatus (const CPKIFBufferPtr &cs)
 ~CPKIFOCSPCertStatus (void)
CPKIFOCSPCertStatus::CertStatusChoice GetChoice () const
void SetRevokedInfo (CPKIFRevokedInfoPtr &ri)
CPKIFRevokedInfoPtr GetRevokedInfo () const

Member Enumeration Documentation

The CertStatusChoice enum is used to identify Cert status.

Enumerator:
GOOD 
REVOKED 
UNKNOWN 
UNSET 

Definition at line 32 of file OCSPCertStatus.h.


Constructor & Destructor Documentation

CPKIFOCSPCertStatus::CPKIFOCSPCertStatus ( void   ) 

Interface: External

Default constructor

Returns:
None

Definition at line 37 of file OCSPCertStatus.cpp.

References LOG_STRING_DEBUG, TOOLKIT_OCSP_ASN, and UNSET.

CPKIFOCSPCertStatus::CPKIFOCSPCertStatus ( const CPKIFBufferPtr &  cs  ) 

Interface: External

This function is used to create and initialize CPKIFOCSPCertStatus objects. This constructor takes a CertStatus parameter is used internally by PKIF when parsing OCSP objects. It is not used by applications.

Returns:
None
Parameters:
cs  [in] Reference to a CertStatus structure

Definition at line 76 of file OCSPCertStatus.cpp.

References CACASNWRAPPER_CREATE, GOOD, LOG_STRING_DEBUG, REVOKED, TOOLKIT_OCSP_ASN, UNKNOWN, and UNSET.

CPKIFOCSPCertStatus::~CPKIFOCSPCertStatus ( void   ) 

Interface: External

This function destroys CPKIFOCSPCertStatus objects.

Returns:
None

Definition at line 116 of file OCSPCertStatus.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_OCSP_ASN.


Member Function Documentation

CPKIFOCSPCertStatus::CertStatusChoice CPKIFOCSPCertStatus::GetChoice (  )  const

Interface: External

This function is used to get an enumeration indicating the type of revocation information associated with a CertStatus object.

The CertStatusChoice enum is used to identify certificate status choice.

enum CertStatusChoice 
{
	GOOD,
	REVOKED,
	UNKNOWN,
	UNSET
};

Returns:
None

Definition at line 63 of file OCSPCertStatus.cpp.

void CPKIFOCSPCertStatus::SetRevokedInfo ( CPKIFRevokedInfoPtr &  ri  ) 

Interface: External

This function is used to set the revocation information associated with a CPKIFOCSPCertStatus object.

Returns:
None
Parameters:
ri  [in] Reference to a smart pointer to a CPKIFRevokedInfo object

Definition at line 130 of file OCSPCertStatus.cpp.

CPKIFRevokedInfoPtr CPKIFOCSPCertStatus::GetRevokedInfo (  )  const

Interface: External

This function is used to get the revocation information associated with a CPKIFOCSPCertStatus object.

Returns:
A smart pointer to CPKIFRevokedInfo object

Definition at line 143 of file OCSPCertStatus.cpp.


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

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