#include <x509certext.h>
class CX509KeyUsageExt : public CX509ExtensionBase |
Public Member Functions | |
---|---|
virtual | ~CX509KeyUsageExt() |
IMPORT_C TBool | IsSet(TX509KeyUsage) |
IMPORT_C CX509KeyUsageExt * | NewL(const TDesC8 &) |
IMPORT_C CX509KeyUsageExt * | NewL(const TDesC8 &, TInt &) |
IMPORT_C CX509KeyUsageExt * | NewLC(const TDesC8 &) |
IMPORT_C CX509KeyUsageExt * | NewLC(const TDesC8 &, TInt &) |
An X.509 certificate extension that defines the uses to which a key may be put.
~CX509KeyUsageExt | ( | ) | [virtual] |
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C TBool | IsSet | ( | TX509KeyUsage | aUsage | ) | const |
Tests whether a particular usage is set in the extension.
Parameter | Description |
---|---|
aUsage | The usage. |
Returns: ETrue, if the specific usage is set in the extension; EFalse, otherwise.
IMPORT_C CX509KeyUsageExt * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509KeyUsageExt object from the specified buffer containing the binary coded representation.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: The new CX509KeyUsageExt object.
IMPORT_C CX509KeyUsageExt * | NewL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
Creates a new CX509KeyUsageExt 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 CX509KeyUsageExt object.
IMPORT_C CX509KeyUsageExt * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new CX509KeyUsageExt 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 CX509KeyUsageExt object.
IMPORT_C CX509KeyUsageExt * | NewLC | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
Creates a new CX509KeyUsageExt 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 CX509KeyUsageExt object.