CPKIFCertificateIssuer Class Reference

#include <CertificateIssuer.h>

Inheritance diagram for CPKIFCertificateIssuer:

Inheritance graph
[legend]
Collaboration diagram for CPKIFCertificateIssuer:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFCertificateIssuer provides access to information found in a certificate issuer extension. The ASN.1 definition used by PKIF is given below:
CertificateIssuer ::= GeneralNames

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 44 of file CertificateIssuer.h.


Public Member Functions

 CPKIFCertificateIssuer ()
 CPKIFCertificateIssuer (const bool &criticality, const CPKIFBufferPtr &ext)
virtual ~CPKIFCertificateIssuer ()
const CPKIFOIDPtr oid () const
CPKIFBufferPtr value () const
void CertificateIssuer (CPKIFGeneralNameList &gns)

Static Public Attributes

static char extOID [] = "2.5.29.29"

Constructor & Destructor Documentation

CPKIFCertificateIssuer::CPKIFCertificateIssuer (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 39 of file CertificateIssuer.cpp.

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

Interface: External

This constructor is internally invoked; it version will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the extension cannot be parsed.

Returns:
None Interface: External
This constructor is internally invoked; it version will throw a std::bad_alloc exception if allocation of memory fails or ASN.1 decoding errors if the extension cannot be parsed.

Returns:
None

Definition at line 77 of file CertificateIssuer.cpp.

References CACASNWRAPPER_CREATE.

CPKIFCertificateIssuer::~CPKIFCertificateIssuer (  )  [virtual]

Interface: External

The function destroys an instance of CPKIFCertificateIssuer.

Returns:
None

Definition at line 117 of file CertificateIssuer.cpp.


Member Function Documentation

const CPKIFOIDPtr CPKIFCertificateIssuer::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 133 of file CertificateIssuer.cpp.

References extOID.

CPKIFBufferPtr CPKIFCertificateIssuer::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 168 of file CertificateIssuer.cpp.

void CPKIFCertificateIssuer::CertificateIssuer ( CPKIFGeneralNameList genNames  ) 

Interface: External

This function returns the general names associated with a certificate issuer extension

Returns:
None
Parameters:
genNames  [out] List of general names.

Definition at line 148 of file CertificateIssuer.cpp.


Member Data Documentation

char CPKIFCertificateIssuer::extOID = "2.5.29.29" [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 "2.5.29.29".

Definition at line 55 of file CertificateIssuer.h.

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


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

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