#include <CertificateIssuer.h>
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" |
CPKIFCertificateIssuer::CPKIFCertificateIssuer | ( | ) |
Interface: External
Default constructor
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.
Definition at line 77 of file CertificateIssuer.cpp.
References CACASNWRAPPER_CREATE.
CPKIFCertificateIssuer::~CPKIFCertificateIssuer | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFCertificateIssuer.
Definition at line 117 of file CertificateIssuer.cpp.
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.
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.
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
genNames | [out] List of general names. |
Definition at line 148 of file CertificateIssuer.cpp.
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().