Location:
x509cert.h
Link against: x509.lib
class CX509CertExtension : public CBase;
A generic X.509 certificate extension.
The creation of a generic extension is the first step in the creation of a specific extension. Client code gets the decoded Object Identifier (OID) encapsulated by an instance of this class and uses it to create the specific extension.
Consists of an any-defined-by structure along with a boolean flag saying whether the extension is critical or not.
CBase
- Base class for all classes to be instantiated on the heap
CX509CertExtension
- A generic X.509 certificate extension
Defined in CX509CertExtension
:
Critical()
, Data()
, Id()
, NewL()
, NewL()
, NewL()
, NewLC()
, NewLC()
, NewLC()
, ~CX509CertExtension()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
static IMPORT_C CX509CertExtension *NewL(const CX509CertExtension &aExtension);
Creates a new generic X.509 certificate extension object from an existing object.
This is equivalent to a copy constructor.
|
|
static IMPORT_C CX509CertExtension *NewLC(const CX509CertExtension &aExtension);
Creates a new generic X.509 certificate extension object from an existing object, and puts a pointer to it onto the cleanup stack.
This is equivalent to a copy constructor.
|
|
static IMPORT_C CX509CertExtension *NewL(const TDesC8 &aBinaryData);
Creates a new generic X.509 certificate extension object from the specified buffer containing the binary coded representation.
|
|
static IMPORT_C CX509CertExtension *NewLC(const TDesC8 &aBinaryData);
Creates a new generic X.509 certificate extension object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack .
|
|
static IMPORT_C CX509CertExtension *NewL(const TDesC8 &aBinaryData, TInt &aPos);
Creates a new generic X.509 certificate extension object from the specified buffer containing the binary coded representation, starting at the specified offset.
|
|
static IMPORT_C CX509CertExtension *NewLC(const TDesC8 &aBinaryData, TInt &aPos);
Creates a new generic X.509 certificate extension object from the specified buffer containing the binary coded representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.
|
|
IMPORT_C ~CX509CertExtension();
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C TBool Critical() const;
Tests whether certificate processing code must process this extension for certificate validation to succeed.
|
IMPORT_C TPtrC Id() const;
Gets the Object Identifier (OID) of the certficate extension.
|
IMPORT_C TPtrC8 Data() const;
Gets the encoded binary representation of the specific extension.
|