CPKIFDeltaCRLIndicator Class Reference

#include <DeltaCRLIndicator.h>

Inheritance diagram for CPKIFDeltaCRLIndicator:

Inheritance graph
[legend]
Collaboration diagram for CPKIFDeltaCRLIndicator:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFDeltaCRLIndicator provides access to information found in a delta CRL indicator extension. The ASN.1 definition used by PKIF is given below:
BaseCRLNumber ::= CRLNumber 
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 39 of file DeltaCRLIndicator.h.


Public Member Functions

 CPKIFDeltaCRLIndicator ()
 CPKIFDeltaCRLIndicator (const bool &criticality, const CPKIFBufferPtr &ext)
virtual ~CPKIFDeltaCRLIndicator ()
const CPKIFOIDPtr oid () const
const char * BaseCRLNumber () const
CPKIFBufferPtr value () const

Static Public Attributes

static char extOID [] = "2.5.29.27"

Constructor & Destructor Documentation

CPKIFDeltaCRLIndicator::CPKIFDeltaCRLIndicator (  ) 

Interface: External

Default constructor

Returns:
None

Definition at line 37 of file DeltaCRLIndicator.cpp.

CPKIFDeltaCRLIndicator::CPKIFDeltaCRLIndicator ( const bool &  criticality,
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 extension cannot be parsed.

Returns:
None
Exceptions:
std::bad_alloc 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 extension cannot be parsed.

Returns:
None
Exceptions:
std::bad_alloc 

Definition at line 78 of file DeltaCRLIndicator.cpp.

References CACASNWRAPPER_CREATE.

CPKIFDeltaCRLIndicator::~CPKIFDeltaCRLIndicator (  )  [virtual]

Interface: External

The function destroys an instance of CPKIFDeltaCRLIndicator.

Returns:
None

Definition at line 104 of file DeltaCRLIndicator.cpp.


Member Function Documentation

const CPKIFOIDPtr CPKIFDeltaCRLIndicator::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 119 of file DeltaCRLIndicator.cpp.

References extOID.

const char * CPKIFDeltaCRLIndicator::BaseCRLNumber (  )  const

Interface: External

This function returns the CRL number of the base CRL references in a delta CRL indicator extension.

Returns:
The CRL number of the base CRL references in a delta CRL indicator extension.

Definition at line 134 of file DeltaCRLIndicator.cpp.

Referenced by CPKIFGeneralCRLDetailsPanel::PopulateListExtensions().

CPKIFBufferPtr CPKIFDeltaCRLIndicator::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 148 of file DeltaCRLIndicator.cpp.


Member Data Documentation

char CPKIFDeltaCRLIndicator::extOID = "2.5.29.27" [static]

Definition at line 47 of file DeltaCRLIndicator.h.

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


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

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