CPKIFASN1Attribute Class Reference

#include <PKIFAttribute.h>

Collaboration diagram for CPKIFASN1Attribute:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFASN1Attribute provides access to information found in a Attribute structure. The ASN.1 definition is given below:

TSP-enforcing: No

Definition at line 35 of file PKIFAttribute.h.


Public Member Functions

 CPKIFASN1Attribute ()
 CPKIFASN1Attribute (const CPKIFBufferPtr &ext)
virtual ~CPKIFASN1Attribute ()
const CPKIFOIDPtr GetAttrType () const
const CPKIFBufferPtr GetAttrValues () const

Constructor & Destructor Documentation

CPKIFASN1Attribute::CPKIFASN1Attribute (  ) 

Interface: External

Defaul constructor

Returns:
None

Definition at line 36 of file PKIFAttribute.cpp.

CPKIFASN1Attribute::CPKIFASN1Attribute ( const CPKIFBufferPtr &  ext  ) 

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 object cannot be parsed.

Returns:
None
Exceptions:
std::bad_alloc 

Definition at line 50 of file PKIFAttribute.cpp.

References CACASNWRAPPER_CREATE, COMMON_INVALID_INPUT, and TOOLKIT_X509_ASN.

CPKIFASN1Attribute::~CPKIFASN1Attribute (  )  [virtual]

Interface: External

The function destroys an instance of CPKIFASN1Attribute.

Returns:
None

Definition at line 78 of file PKIFAttribute.cpp.


Member Function Documentation

const CPKIFOIDPtr CPKIFASN1Attribute::GetAttrType (  )  const

Interface: External

This function is used to retrive attribute type information

Returns:
Smart pointer to CPKIFOID object containing attribute type

Definition at line 93 of file PKIFAttribute.cpp.

const CPKIFBufferPtr CPKIFASN1Attribute::GetAttrValues (  )  const

Interface: External

This function is used to retrive attribute values

Returns:
Smart pointer to CPKIFBuffer object containing attribute values

Definition at line 105 of file PKIFAttribute.cpp.


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

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