#include <SubjectInfoAccess.h>
SubjectInfoAccessSyntax ::= 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 47 of file SubjectInfoAccess.h.
Public Member Functions | |
CPKIFSubjectInfoAccess () | |
CPKIFSubjectInfoAccess (const bool &criticality, const CPKIFBufferPtr &ext) | |
virtual | ~CPKIFSubjectInfoAccess () |
const CPKIFOIDPtr | oid () const |
CPKIFAccessDescriptionListPtr | GetAccessDescriptions () const |
CPKIFBufferPtr | value () const |
Static Public Attributes | |
static char | extOID [] = "1.3.6.1.5.5.7.1.11" |
CPKIFSubjectInfoAccess::CPKIFSubjectInfoAccess | ( | ) |
Interface: External
Default constructor
Definition at line 45 of file SubjectInfoAccess.cpp.
CPKIFSubjectInfoAccess::CPKIFSubjectInfoAccess | ( | const bool & | criticality, | |
const CPKIFBufferPtr & | ext | |||
) |
Interface: External
This constructor is called by CPKIFSubjectInfoAccessFactory::create().
criticality | [in] Boolean value indicating criticallity of the extension |
ext | [in] A reference to a smart pointer to CPKIFBuffer object that contains CPKIFSubjectInfoAccess extension |
Definition at line 57 of file SubjectInfoAccess.cpp.
References CACASNWRAPPER_CREATE.
CPKIFSubjectInfoAccess::~CPKIFSubjectInfoAccess | ( | ) | [virtual] |
Interface: External
The function destroys an instance of CPKIFSubjectInfoAccess.
Definition at line 98 of file SubjectInfoAccess.cpp.
const CPKIFOIDPtr CPKIFSubjectInfoAccess::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 114 of file SubjectInfoAccess.cpp.
References extOID.
CPKIFAccessDescriptionListPtr CPKIFSubjectInfoAccess::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 129 of file SubjectInfoAccess.cpp.
Referenced by operator<<().
CPKIFBufferPtr CPKIFSubjectInfoAccess::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 140 of file SubjectInfoAccess.cpp.
char CPKIFSubjectInfoAccess::extOID = "1.3.6.1.5.5.7.1.11" [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 59 of file SubjectInfoAccess.h.
Referenced by oid(), and CPKIFSubjectInfoAccessFactory::refOID().