CPKIFSubjectInfoAccess Class Reference

#include <SubjectInfoAccess.h>

Inheritance diagram for CPKIFSubjectInfoAccess:

Inheritance graph
[legend]
Collaboration diagram for CPKIFSubjectInfoAccess:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFSubjectInfoAccess provides access to subject information access SIA) extensions. The ASN.1 definition used by PKIF is given below:
SubjectInfoAccessSyntax    ::= SEQUENCE SIZE (1..MAX) OF AccessDescription 
AccessDescription  ::=  SEQUENCE 
{
    accessMethod          OBJECT IDENTIFIER,
    accessLocation        GeneralName  
}

For details on accessing extensions in a certificate or CRL, see the sections on CPKIFCertificate and CPKIFCRL.

PKIF does not provide a means of encoding extensions. This class is used to parse extensions present in encoded objects, e.g. public-key certificates.

TSP-enforcing: No

Definition at line 47 of file SubjectInfoAccess.h.


Public Member Functions

 CPKIFSubjectInfoAccess ()
 CPKIFSubjectInfoAccess (const bool &criticality, const CPKIFBufferPtr &ext)
virtual ~CPKIFSubjectInfoAccess ()
const CPKIFOIDPtr oid () const
CPKIFAccessDescriptionListPtr GetAccessDescriptions () const
CPKIFBufferPtr value () const

Static Public Attributes

static char extOID [] = "1.3.6.1.5.5.7.1.11"

Constructor & Destructor Documentation

CPKIFSubjectInfoAccess::CPKIFSubjectInfoAccess (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 45 of file SubjectInfoAccess.cpp.

CPKIFSubjectInfoAccess::CPKIFSubjectInfoAccess ( const bool &  criticality,
const CPKIFBufferPtr &  ext 
)

Interface: External

This constructor is called by CPKIFSubjectInfoAccessFactory::create().

Returns:
None
Parameters:
criticality  [in] Boolean value indicating criticallity of the extension
ext  [in] A reference to a smart pointer to CPKIFBuffer object that contains CPKIFSubjectInfoAccess extension

Definition at line 57 of file SubjectInfoAccess.cpp.

References CACASNWRAPPER_CREATE.

CPKIFSubjectInfoAccess::~CPKIFSubjectInfoAccess (  )  [virtual]

Interface: External

The function destroys an instance of CPKIFSubjectInfoAccess.

Returns:
None

Definition at line 98 of file SubjectInfoAccess.cpp.


Member Function Documentation

const CPKIFOIDPtr CPKIFSubjectInfoAccess::oid (  )  const [virtual]

Interface: External

This function returns a smart pointer to a CPKIFOID object containing the object identifier associated with this type of extension.

Returns:
A smart pointer to a CPKIFOID object containing the object identifier associated with this type of extension

Reimplemented from CPKIFX509Extension.

Definition at line 114 of file SubjectInfoAccess.cpp.

References extOID.

CPKIFAccessDescriptionListPtr CPKIFSubjectInfoAccess::GetAccessDescriptions (  )  const

Interface: External

This function returns a smart pointer to a list of access descriptions associated with the AIA extension or NULL.

Returns:
A smart pointer to a list of access descriptions associated with the AIA extension or NULL.

Definition at line 129 of file SubjectInfoAccess.cpp.

Referenced by operator<<().

CPKIFBufferPtr CPKIFSubjectInfoAccess::value (  )  const [virtual]

Interface: External

This function returns a smart pointer to a CPKIFBuffer object containing value of the extension.

Returns:
A smart pointer to a CPKIFBuffer object containing value of the extension.

Reimplemented from CPKIFX509Extension.

Definition at line 140 of file SubjectInfoAccess.cpp.


Member Data Documentation

char CPKIFSubjectInfoAccess::extOID = "1.3.6.1.5.5.7.1.11" [static]

The extOID member of each extension class provides a NULL terminated string representation of the object identifier that identifies the extension. The value defined for this class is "1.3.6.1.5.5.7.1.1".

Definition at line 59 of file SubjectInfoAccess.h.

Referenced by oid(), and CPKIFSubjectInfoAccessFactory::refOID().


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

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