#include <AuthorityInfoAccess.h>
AuthorityInfoAccessSyntax ::= 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 48 of file AuthorityInfoAccess.h.
Public Member Functions | |
CPKIFAuthorityInfoAccess () | |
CPKIFAuthorityInfoAccess (const bool &criticality, const CPKIFBufferPtr &ext) | |
virtual | ~CPKIFAuthorityInfoAccess () |
const CPKIFOIDPtr | oid () const |
CPKIFBufferPtr | value () const |
CPKIFAccessDescriptionListPtr | GetAccessDescriptions () const |
Static Public Attributes | |
static char | extOID [] = "1.3.6.1.5.5.7.1.1" |
CPKIFAuthorityInfoAccess::CPKIFAuthorityInfoAccess | ( | ) |
Interface: External
Default constructor
Definition at line 45 of file AuthorityInfoAccess.cpp.
CPKIFAuthorityInfoAccess::CPKIFAuthorityInfoAccess | ( | const bool & | criticality, | |
const CPKIFBufferPtr & | ext | |||
) |
Interface: External
This constructor is internally invoked when parsing an extension; it 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 |
criticality | [in] Boolean value indicating criticallity of the extension |
ext | [in] A reference to a smart pointer to CPKIFBuffer object that contains CPKIFAuthorityInfoAccess extension |
Definition at line 115 of file AuthorityInfoAccess.cpp.
References CACASNWRAPPER_CREATE.
CPKIFAuthorityInfoAccess::~CPKIFAuthorityInfoAccess | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFAuthorityInfoAccess.
Definition at line 170 of file AuthorityInfoAccess.cpp.
const CPKIFOIDPtr CPKIFAuthorityInfoAccess::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 186 of file AuthorityInfoAccess.cpp.
References extOID.
CPKIFBufferPtr CPKIFAuthorityInfoAccess::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 213 of file AuthorityInfoAccess.cpp.
CPKIFAccessDescriptionListPtr CPKIFAuthorityInfoAccess::GetAccessDescriptions | ( | ) | const |
Interface: External
This function returns a smart pointer to a list of access descriptions associated with the AIA extension or NULL.
Definition at line 201 of file AuthorityInfoAccess.cpp.
Referenced by operator<<(), and CPKIFGeneralCRLDetailsPanel::PopulateListExtensions().
char CPKIFAuthorityInfoAccess::extOID = "1.3.6.1.5.5.7.1.1" [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 60 of file AuthorityInfoAccess.h.
Referenced by oid(), and CPKIFAuthorityInfoAccessFactory::refOID().