CPKIFPolicyInformation Class Reference

#include <PolicyInformation.h>

Collaboration diagram for CPKIFPolicyInformation:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFPolicyInformation class provides access to certificate policy information objects. Applications uses instances of this class when inspecting certificate policies retrieved from a certificate object and when specifying an initial policy set prior to performing a path validation operation.

TSP-enforcing: Yes

Definition at line 36 of file PolicyInformation.h.


Public Member Functions

 CPKIFPolicyInformation ()
 CPKIFPolicyInformation (const CPKIFBufferPtr &buffer)
 CPKIFPolicyInformation (const CPKIFOIDPtr &oid)
virtual ~CPKIFPolicyInformation ()
bool operator== (const CPKIFPolicyInformation &pol)
CPKIFOIDPtr PolicyOID () const
CPKIFPolicyQualifierListPtr Qualifiers () const
void SetQualifiers (CPKIFPolicyQualifierListPtr &newQualifiers)

Constructor & Destructor Documentation

CPKIFPolicyInformation::CPKIFPolicyInformation (  ) 

Interface: External

This function serves as a constructor for CPKIFPolicyInformation class. This is a default constructor.

Returns:
None

Definition at line 34 of file PolicyInformation.cpp.

CPKIFPolicyInformation::CPKIFPolicyInformation ( const CPKIFBufferPtr &  buffer  ) 

Interface: External

This function serves as a constructor for CPKIFPolicyInformation class. This constructor is internally used and should not be called by applications.

Returns:
None
Parameters:
buffer  [in] Reference to a smart pointer to CPKIFBuffer object used to construct the object

Definition at line 83 of file PolicyInformation.cpp.

References CACASNWRAPPER_CREATE.

CPKIFPolicyInformation::CPKIFPolicyInformation ( const CPKIFOIDPtr &  oid  ) 

Interface: External

This function serves as a constructor for CPKIFPolicyInformation class. Applications should only use the constructor that takes a CPKIFOIDPtr parameter, which simply sets a member variable equal to the object passed as oid, incrementing the reference count on that object.

Returns:
None
Parameters:
oid  [in] A smart pointer to CPKIFOID object

Definition at line 47 of file PolicyInformation.cpp.

CPKIFPolicyInformation::~CPKIFPolicyInformation (  )  [virtual]

Interface: External

The function destroys an instance of CPKIFPolicyInformation.

Returns:
None

Definition at line 61 of file PolicyInformation.cpp.


Member Function Documentation

bool CPKIFPolicyInformation::operator== ( const CPKIFPolicyInformation pol  ) 

Interface: External

This function returns true if the values returned by the PolicyOID function of the compared CPKIFPolicyInformation object are equal.

Returns:
True if the values returned by the PolicyOID function of the compared CPKIFPolicyInformation object are equal.
Parameters:
pol  [in] Reference to a smart pointer to a CPKIFPolicyInformation object to compare

Definition at line 120 of file PolicyInformation.cpp.

References m_impl.

CPKIFOIDPtr CPKIFPolicyInformation::PolicyOID (  )  const

Interface: External

This function returns the object identifier held by an instance of CPKIFPolicyInformation. The OID identifies a certificate policy.

Returns:
The object identifier held by an instance of CPKIFPolicyInformation.

Definition at line 158 of file PolicyInformation.cpp.

CPKIFPolicyQualifierListPtr CPKIFPolicyInformation::Qualifiers (  )  const

Interface: External

This function returns a list of policy qualifers held by a policy information object.

Returns:
A list of policy qualifers held by a policy information object.

Definition at line 133 of file PolicyInformation.cpp.

void CPKIFPolicyInformation::SetQualifiers ( CPKIFPolicyQualifierListPtr &  newQualifiers  ) 

Interface: External

This function sets a list of policy qualifers held by a policy information object.

Returns:
A list of policy qualifers held by a policy information object.
Parameters:
newQualifiers  TO DO

Definition at line 144 of file PolicyInformation.cpp.


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

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