#include <x509certext.h>
class CX509BasicConstraintsExt : public CX509ExtensionBase |
Public Member Functions | |
---|---|
virtual | ~CX509BasicConstraintsExt() |
IMPORT_C TBool | IsCA() |
IMPORT_C TInt | MaxChainLength() |
IMPORT_C CX509BasicConstraintsExt * | NewL(const TDesC8 &) |
IMPORT_C CX509BasicConstraintsExt * | NewL(const TDesC8 &, TInt &) |
IMPORT_C CX509BasicConstraintsExt * | NewLC(const TDesC8 &) |
IMPORT_C CX509BasicConstraintsExt * | NewLC(const TDesC8 &, TInt &) |
An X.509 certificate extension that defines basic constraints.
It indicates whether the certificate belongs to a Certificate Authority or an end Entity.
~CX509BasicConstraintsExt | ( | ) | [virtual] |
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C TBool | IsCA | ( | ) | const |
Tests whether the certificate belongs to a Certificate Authority.
Returns: ETrue, if the certificate belongs to a Certificate Authority; EFalse, otherwise.
IMPORT_C TInt | MaxChainLength | ( | ) | const |
Gets the maximum number of certificates that can follow this one in the chain.
Returns: The number of certificates.
IMPORT_C CX509BasicConstraintsExt * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new CX509BasicConstraintsExt object.
IMPORT_C CX509BasicConstraintsExt * | NewL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation, starting at the specified offset.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
Returns: The new CX509BasicConstraintsExt object.
IMPORT_C CX509BasicConstraintsExt * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new CX509BasicConstraintsExt object.
IMPORT_C CX509BasicConstraintsExt * | NewLC | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
Returns: The new CX509BasicConstraintsExt object.