Location:
x509certext.h
Link against: x509.lib
class CX509BasicConstraintsExt : public CX509ExtensionBase;
Description
An X.509 certificate extension that defines basic constraints.
It indicates whether the certificate belongs to a Certificate Authority or an end Entity.
Derivation
CBase
- Base class for all classes to be instantiated on the heap
CX509BasicConstraintsExt
- An X.509 certificate extension that defines basic constraints
Members
Defined in CX509BasicConstraintsExt
:
DoConstructL()
, IsCA()
, MaxChainLength()
, NewL()
, NewL()
, NewLC()
, NewLC()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CX509ExtensionBase
:
ConstructL()
static IMPORT_C CX509BasicConstraintsExt *NewL(const TDesC8 &aBinaryData);
Description
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation.
Parameters
const TDesC8 &aBinaryData |
The encoded binary representation.
|
|
Return value
static IMPORT_C CX509BasicConstraintsExt *NewLC(const TDesC8 &aBinaryData);
Description
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation, and puts
a pointer to it onto the cleanup stack.
Parameters
const TDesC8 &aBinaryData |
The encoded binary representation.
|
|
Return value
static IMPORT_C CX509BasicConstraintsExt *NewL(const TDesC8 &aBinaryData, TInt &aPos);
Description
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation, starting
at the specified offset.
Parameters
const TDesC8 &aBinaryData |
The encoded binary representation.
|
TInt &aPos |
The offset position from which to start decoding.
|
|
Return value
static IMPORT_C CX509BasicConstraintsExt *NewLC(const TDesC8 &aBinaryData, TInt &aPos);
Description
Creates a new CX509BasicConstraintsExt 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.
Parameters
const TDesC8 &aBinaryData |
The encoded binary representation.
|
TInt &aPos |
The offset position from which to start decoding.
|
|
Return value
IMPORT_C TBool IsCA() const;
Description
Tests whether the certificate belongs to a Certificate Authority.
Return value
TBool
|
ETrue, if the certificate belongs to a Certificate Authority; EFalse, otherwise.
|
|
IMPORT_C TInt MaxChainLength() const;
Description
Gets the maximum number of certificates that can follow this one in the chain.
Return value
TInt
|
The number of certificates.
|
|
private: virtual void DoConstructL(const TDesC8 &aBinaryData, TInt &aPos);
Description
Implementation for second-phase construction.
This is called by ConstructL()
.
Parameters
const TDesC8 &aBinaryData |
The encoded binary representation. This is the same as passed to ConstructL() .
|
TInt &aPos |
The position from which to start decoding. Note that the value passed points, in effect, to the content, by passing the header
data.
|
|