#include <AccessDescription.h>
AccessDescription ::= SEQUENCE { accessMethod OBJECT IDENTIFIER, accessLocation GeneralName }
TSP-enforcing: No
Definition at line 40 of file AccessDescription.h.
Public Member Functions | |
CPKIFAccessDescription () | |
CPKIFAccessDescription (const CPKIFBufferPtr &ext) | |
virtual | ~CPKIFAccessDescription () |
CPKIFOIDPtr | AccessMethod () const |
Retrieves the object identifier that specifies the access method. | |
CPKIFGeneralNamePtr | AccessLocation () const |
Retrieves the GeneralName identifying the access location. |
CPKIFAccessDescription::CPKIFAccessDescription | ( | ) |
Interface: External
Default constructor
Definition at line 37 of file AccessDescription.cpp.
CPKIFAccessDescription::CPKIFAccessDescription | ( | const CPKIFBufferPtr & | ext | ) |
Interface: External
This constructor is invoked when parsing an extension (it is invoked in CPKIFAccessDescriptionFactory::create); this version will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the name form or OID cannot be parsed.
std::bad_alloc |
ext | [in] A reference to a smart pointer to CPKIFBuffer object that contains CPKIFAuthorityInfoAccess extension |
Definition at line 53 of file AccessDescription.cpp.
References CACASNWRAPPER_CREATE.
CPKIFAccessDescription::~CPKIFAccessDescription | ( | ) | [virtual] |
Interface: External
This function destroys an instance of CPKIFAccessDescription.
Definition at line 83 of file AccessDescription.cpp.
CPKIFOIDPtr CPKIFAccessDescription::AccessMethod | ( | ) | const |
Retrieves the object identifier that specifies the access method.
Interface: External
This function returns a smart pointer to a CPKIFOID object containing the access method OID or NULL if no access method was specified.
Definition at line 109 of file AccessDescription.cpp.
CPKIFGeneralNamePtr CPKIFAccessDescription::AccessLocation | ( | ) | const |
Retrieves the GeneralName identifying the access location.
Interface: External
This function returns a CPKIFGeneralNamePtr containing the access location name.
Definition at line 96 of file AccessDescription.cpp.