CPKIFRevocationInfo Class Reference

#include <RevocationInfo.h>

Collaboration diagram for CPKIFRevocationInfo:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFRevocationInfo class provides an interface to PKC Reference

TSP-enforcing: No

Definition at line 28 of file RevocationInfo.h.


Public Member Functions

 CPKIFRevocationInfo ()
 CPKIFRevocationInfo (const CPKIFBufferPtr &revInfo)
virtual ~CPKIFRevocationInfo (void)
void SetCRL (CPKIFCRLPtr &crl)
CPKIFCRLPtr GetCRL ()
void SetDeltaCRL (CPKIFCRLPtr &deltaCRL)
CPKIFCRLPtr GetDeltaCRL ()
void SetOCSPResp (CPKIFBufferPtr &ocsp)
CPKIFBufferPtr GetOCSPResp ()
void SetOtherRevInfo (CPKIFOIDPtr &riType, CPKIFBufferPtr &riValue)
void GetOtherRevInfo (CPKIFOIDPtr &riType, CPKIFBufferPtr &riValue)
REVINFOTYPE GetRevInfoType ()

Constructor & Destructor Documentation

CPKIFRevocationInfo::CPKIFRevocationInfo (  ) 

Interface: External

This function is used to create and initialize CPKIFRevocationInfo object.

Returns:
None

Definition at line 38 of file RevocationInfo.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.

CPKIFRevocationInfo::CPKIFRevocationInfo ( const CPKIFBufferPtr &  revInfo  ) 

Interface: External

This constructor is internally invoked; it will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the extension cannot be parsed.

Returns:
None
Exceptions:
std::bad_alloc 
Parameters:
revInfo  [in] A reference to a smart pointer to CPKIFBuffer object containing der encoded Revocation Info

Definition at line 54 of file RevocationInfo.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_SCVP_ASN.

CPKIFRevocationInfo::~CPKIFRevocationInfo ( void   )  [virtual]

Interface: External

This function destroys instances of CPKIFRevocationInfo.

Returns:
None

Definition at line 130 of file RevocationInfo.cpp.

References LOG_STRING_DEBUG, and TOOLKIT_SCVP_ASN.


Member Function Documentation

void CPKIFRevocationInfo::SetCRL ( CPKIFCRLPtr &  crl  ) 

Interface: External

This function sets the crl

Returns:
None
Parameters:
crl  [in] Smart pointer to CPKIFCRL object containing the CRL

Definition at line 146 of file RevocationInfo.cpp.

CPKIFCRLPtr CPKIFRevocationInfo::GetCRL (  ) 

Interface: External

This function gets the crl

Returns:
Smart pointer to CPKIFCRL object containing the crl

Definition at line 169 of file RevocationInfo.cpp.

void CPKIFRevocationInfo::SetDeltaCRL ( CPKIFCRLPtr &  deltaCRL  ) 

Interface: External

This function sets the delta crl

Returns:
None
Parameters:
deltaCRL  [in] Smart pointer to CPKIFCRL object containing the delta CRL

Definition at line 180 of file RevocationInfo.cpp.

CPKIFCRLPtr CPKIFRevocationInfo::GetDeltaCRL (  ) 

Interface: External

This function gets the delta crl

Returns:
Smart pointer to CPKIFCRL object containing the delta crl

Definition at line 202 of file RevocationInfo.cpp.

void CPKIFRevocationInfo::SetOCSPResp ( CPKIFBufferPtr &  ocsp  ) 

Interface: External

This function sets the der encoded ocsp response

Returns:
None
Parameters:
ocsp  [in] Smart pointer to CPKIFBuffer object containing the ocsp response

Definition at line 213 of file RevocationInfo.cpp.

CPKIFBufferPtr CPKIFRevocationInfo::GetOCSPResp (  ) 

Interface: External

This function gets the ocsp response

Returns:
Smart pointer to CPKIFBuffer object containing the ocsp response

Definition at line 235 of file RevocationInfo.cpp.

void CPKIFRevocationInfo::SetOtherRevInfo ( CPKIFOIDPtr &  riType,
CPKIFBufferPtr &  riValue 
)

Interface: External

This function sets the other revocation information

Returns:
None
Parameters:
riType  [in] Smart pointer to CPKIFOID object containing the revocation info type
riValue  [in] Smart pointer to CPKIFOID object containing the revocation info value

Definition at line 246 of file RevocationInfo.cpp.

void CPKIFRevocationInfo::GetOtherRevInfo ( CPKIFOIDPtr &  riType,
CPKIFBufferPtr &  riValue 
)

Interface: External

This function gets the other revocation info.

Returns:
None
Parameters:
riType  [out] Smart pointer to CPKIFOID object containing the revocation info type
riValue  [out] Smart pointer to CPKIFOID object containing the revocation info value

Definition at line 269 of file RevocationInfo.cpp.

REVINFOTYPE CPKIFRevocationInfo::GetRevInfoType (  ) 

Interface: External

This function returns the type of revocation info stored in this class.

Returns:
REVINFOTYPE

Definition at line 286 of file RevocationInfo.cpp.

References REVINFOTYPE_CRL, REVINFOTYPE_DELTACRL, REVINFOTYPE_NONE, REVINFOTYPE_OCSPRESP, and REVINFOTYPE_OTHER.


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

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