#include <IssuerAltName.h>
GeneralNames ::= SEQUENCE SIZE(1..MAX) OF 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 42 of file IssuerAltName.h.
Public Member Functions | |
CPKIFIssuerAltName () | |
CPKIFIssuerAltName (const bool &criticality, const CPKIFBufferPtr &ext) | |
virtual | ~CPKIFIssuerAltName () |
const CPKIFOIDPtr | oid () const |
void | GeneralNames (CPKIFGeneralNameList &genNames) const |
CPKIFBufferPtr | value () const |
Static Public Attributes | |
static char | extOID [] = "2.5.29.18" |
CPKIFIssuerAltName::CPKIFIssuerAltName | ( | ) |
Interface: External
Default constructor
Definition at line 38 of file IssuerAltName.cpp.
CPKIFIssuerAltName::CPKIFIssuerAltName | ( | 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.
std::bad_alloc | Interface: External |
std::bad_alloc |
Definition at line 80 of file IssuerAltName.cpp.
References CACASNWRAPPER_CREATE.
CPKIFIssuerAltName::~CPKIFIssuerAltName | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFIssuerAltName.
Definition at line 138 of file IssuerAltName.cpp.
const CPKIFOIDPtr CPKIFIssuerAltName::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 154 of file IssuerAltName.cpp.
References extOID.
void CPKIFIssuerAltName::GeneralNames | ( | CPKIFGeneralNameList & | genNames | ) | const |
Interface: External
This function returns a list of general names from an issuer alternative name extension.
genNames | A reference to CPKIFGeneralNameList object containing a list of general names from an issuer alternative name extension. |
Definition at line 118 of file IssuerAltName.cpp.
Referenced by CPKIFGeneralCRLDetailsPanel::PopulateListExtensions().
CPKIFBufferPtr CPKIFIssuerAltName::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 170 of file IssuerAltName.cpp.
char CPKIFIssuerAltName::extOID = "2.5.29.18" [static] |
Definition at line 50 of file IssuerAltName.h.
Referenced by oid(), and CPKIFIssuerAltNameFactory::refOID().