| class CX509BasicConstraintsExt : public CX509ExtensionBase |
An X.509 certificate extension that defines basic constraints.
It indicates whether the certificate belongs to a Certificate Authority or an end Entity.
| Public Member Functions | |
|---|---|
| ~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 &) |
| Private Member Functions | |
|---|---|
| CX509BasicConstraintsExt () | |
| void | DoConstructL (const TDesC8 &, TInt &) |
| Private Attributes | |
|---|---|
| TBool | iIsCA |
| TInt | iMaxChainLen |
| ~CX509BasicConstraintsExt | ( | ) | [virtual] |
Destructor.
Frees all resources owned by the object, prior to its destruction.
| void | DoConstructL | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos | |||
| ) | [private, virtual] | |||
| IMPORT_C TBool | IsCA | ( | ) | const |
Tests whether the certificate belongs to a Certificate Authority.
| IMPORT_C TInt | MaxChainLength | ( | ) | const |
Gets the maximum number of certificates that can follow this one in the chain.
| IMPORT_C CX509BasicConstraintsExt * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation.
| const TDesC8 & aBinaryData | The encoded binary representation. |
| 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.
| 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.
| const TDesC8 & aBinaryData | The encoded binary representation. |
| 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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.