CPKIFAccessDescription Class Reference

#include <AccessDescription.h>

Collaboration diagram for CPKIFAccessDescription:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFAccessDescription provides access to information contained in AuthorityInformationAccess extensions (see CPKIFAuthorityInfoAccess). The ASN.1 definition for AuthorityInformationAccess is given below:
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.

Constructor & Destructor Documentation

CPKIFAccessDescription::CPKIFAccessDescription (  ) 

Interface: External

Default constructor

Returns:
None

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.

Returns:
None
Exceptions:
std::bad_alloc 
Parameters:
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.

Returns:
None

Definition at line 83 of file AccessDescription.cpp.


Member Function Documentation

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.

Returns:
Smart pointer to a CPKIFOID object containing the access location.

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.

Returns:
Smart pointer to a CPKIFGeneralName object containing the access location.

Definition at line 96 of file AccessDescription.cpp.


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

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