Location:
x509certext.h
Link against: x509.lib
CX509KeyUsageExt
Support
Supported from 6.0
Description
A X.509 certificate extension that defines the uses to which a key may be put.
Derivation
CBase | Base class for all classes to be instantiated on the heap |
CX509ExtensionBase | This class is internal and not intended for use |
CX509KeyUsageExt | A X.509 certificate extension that defines the uses to which a key may be put |
|
Defined in CX509KeyUsageExt:
IsSet(), NewL(), NewL(), NewLC(), NewLC(), ~CX509KeyUsageExt()
Inherited from CBase:
operator new()
Inherited from CX509ExtensionBase:
ConstructL(),
DoConstructL()
static CX509KeyUsageExt* NewL(const TDesC8& aBinaryData);
Description
Creates a new key usage certificate extension object from the specified buffer containing
the binary coded representation.
Parameters
const TDesC8& aBinaryData |
The encoded binary representation. |
|
Return value
static CX509KeyUsageExt* NewL(const TDesC8& aBinaryData, TInt& aPos);
Description
Creates a new key usage certificate extension object from the specified buffer containing
the binary coded representation, starting at the specified offset.
Parameters
const TDesC8& aBinaryData |
The encoded binary representation. |
const TInt& aPos |
The offset position from which to start decoding. |
|
Return value
static CX509KeyUsageExt* NewLC(const TDesC8& aBinaryData);
Description
Creates a new key usage certificate extension 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 CX509KeyUsageExt* NewLC(const TDesC8& aBinaryData, TInt& aPos);
Description
Creates a new key usage certificate extension 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. |
const TInt& aPos |
The offset position from which to start decoding. |
|
Return value
~CX509KeyUsageExt();
Description
Destructor.
Frees all resources owned by the object, prior to its destruction.
TBool IsSet(TKeyUsage aUsage) const;
Description
Tests whether a particular usage is set in the extension.
Parameters
Return value
TBool |
True, if the specific usage is set in the extension; false, otherwise. |
|