#include <PolicyInformation.h>
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) |
CPKIFPolicyInformation::CPKIFPolicyInformation | ( | ) |
Interface: External
This function serves as a constructor for CPKIFPolicyInformation class. This is a default constructor.
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.
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.
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.
Definition at line 61 of file PolicyInformation.cpp.
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.
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.
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.
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.
newQualifiers | TO DO |
Definition at line 144 of file PolicyInformation.cpp.