CX509BasicConstraintsExt Class Reference
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.
Constructor & Destructor Documentation
CX509BasicConstraintsExt()
CX509BasicConstraintsExt | ( | ) | [private] |
~CX509BasicConstraintsExt()
~CX509BasicConstraintsExt | ( | ) | [virtual] |
Destructor.
Frees all resources owned by the object, prior to its destruction.
Member Functions Documentation
DoConstructL(const TDesC8 &, TInt &)
void | DoConstructL | ( | const TDesC8 & | aBinaryData, |
| TInt & | aPos |
| ) | [private, virtual] |
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. |
IsCA()
IMPORT_C TBool | IsCA | ( | ) | const |
Tests whether the certificate belongs to a Certificate Authority.
MaxChainLength()
IMPORT_C TInt | MaxChainLength | ( | ) | const |
Gets the maximum number of certificates that can follow this one in the chain.
NewL(const TDesC8 &)
Parameters
const TDesC8 & aBinaryData | The encoded binary representation. |
NewL(const TDesC8 &, TInt &)
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. |
NewLC(const TDesC8 &)
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. |
NewLC(const TDesC8 &, TInt &)
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. |
Member Data Documentation
TInt
iMaxChainLen
TInt
| iMaxChainLen | [private] |
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.