|
||
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.
CBase
-
Base class for all classes to be instantiated on the heap.
CX509ExtensionBase
- A certificate extension base class.
CX509BasicConstraintsExt
- An X.509 certificate extension that defines basic constraints.
Defined in CX509BasicConstraintsExt
:
DoConstructL(const TDesC8 &,TInt &)
Implementation for second-phase construction.IsCA()const
Tests whether the certificate belongs to a Certificate Authority.MaxChainLength()const
Gets the maximum number of certificates that can follow this one in the chain.NewL(const TDesC8 &)
Creates a new CX509BasicConstraintsExt object from the specified buffer containi...NewL(const TDesC8 &,TInt &)
Creates a new CX509BasicConstraintsExt object from the specified buffer containi...NewLC(const TDesC8 &)
Creates a new CX509BasicConstraintsExt object from the specified buffer containi...NewLC(const TDesC8 &,TInt &)
Creates a new CX509BasicConstraintsExt object from the specified buffer containi...~CX509BasicConstraintsExt()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...Inherited from CX509ExtensionBase
:
ConstructL(const TDesC8 &,TInt &)
Second-phase constructor.IMPORT_C static CX509BasicConstraintsExt* NewL(const TDesC8 &aBinaryData);
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation.
|
|
IMPORT_C static CX509BasicConstraintsExt* NewLC(const TDesC8 &aBinaryData);
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.
|
|
IMPORT_C static CX509BasicConstraintsExt* NewL(const TDesC8 &aBinaryData, TInt &aPos);
Creates a new CX509BasicConstraintsExt object from the specified buffer containing the binary coded representation, starting at the specified offset.
|
|
IMPORT_C static CX509BasicConstraintsExt* NewLC(const TDesC8 &aBinaryData, TInt &aPos);
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.
|
|
virtual ~CX509BasicConstraintsExt();
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.
|
IMPORT_C TInt MaxChainLength() const;
Gets the maximum number of certificates that can follow this one in the chain.
|
private: virtual void DoConstructL(const TDesC8 &aBinaryData, TInt &aPos);
Implementation for second-phase construction.
This is called by CX509ExtensionBase::ConstructL(const TDesC8 &,TInt &)
.
|