#include <DistributionPointName.h>
TSP-enforcing: No
Definition at line 36 of file DistributionPointName.h.
Public Member Functions | |
CPKIFDistributionPointName () | |
CPKIFDistributionPointName (const CPKIFBufferPtr &name) | |
virtual | ~CPKIFDistributionPointName () |
bool | operator== (const CPKIFDistributionPointName &name) |
void | FullName (CPKIFGeneralNameList &genNames) const |
bool | NameRelativeToIssuerPresent () const |
CPKIFNamePtr | GetRelativeNameAsFullName (CPKIFNamePtr &issuerName) |
CPKIFDistributionPointName::CPKIFDistributionPointName | ( | ) |
Interface: External
Default constructor
Definition at line 38 of file DistributionPointName.cpp.
CPKIFDistributionPointName::CPKIFDistributionPointName | ( | const CPKIFBufferPtr & | name | ) |
Interface: External
This constructor is internally invoked; this version will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the extension cannot be parsed.
std::bad_alloc |
name | [in] A reference to a smart pointer to CPKIFBuffer object containing the DistributionPointName |
Definition at line 74 of file DistributionPointName.cpp.
References CACASNWRAPPER_CREATE, NEW_NEXT_AND_ADVANCE, and NEW_NODE.
CPKIFDistributionPointName::~CPKIFDistributionPointName | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFDistributionPointName.
Definition at line 187 of file DistributionPointName.cpp.
bool CPKIFDistributionPointName::operator== | ( | const CPKIFDistributionPointName & | name | ) |
Interface: External
This function returns true if the CPKIFDistributionPointName passed via the name parameter matches the CPKIFDistributionPointName on which this function was invoked and returns false otherwise. A match occurs if a GeneralName in the FullName field of the name parameter is present in the FullName field of the object on which this comparison operator is invoked.
Definition at line 205 of file DistributionPointName.cpp.
References FullName(), and GeneralNamesCompare::SetGeneralNames().
void CPKIFDistributionPointName::FullName | ( | CPKIFGeneralNameList & | genNames | ) | const |
Interface: External
This function returns a list of general names from the FullName component of a DistributionPointName. If the FullName field is not present or is empty, the genNames list will be empty following a call to this function.
genNames | [out] Reference to a list of smart pointers to CPKIFGeneralName objects to receive the GeneralNames from the DistributionPointName |
Definition at line 238 of file DistributionPointName.cpp.
Referenced by operator==().
bool CPKIFDistributionPointName::NameRelativeToIssuerPresent | ( | ) | const |
Interface: External
This function returns true if the DistributionPointName object includes a relative-to-issuer component.
Definition at line 226 of file DistributionPointName.cpp.
CPKIFNamePtr CPKIFDistributionPointName::GetRelativeNameAsFullName | ( | CPKIFNamePtr & | issuerName | ) |
Interface: External
This function returns a relative name as a full name.
Definition at line 271 of file DistributionPointName.cpp.
References NEW_NEXT_AND_ADVANCE, and NEW_NODE.