CX509ExtendedKeyUsageExt Class Reference

#include <x509certext.h>

Link against: x509.lib

class CX509ExtendedKeyUsageExt : public CX509ExtensionBase

Inherits from

Detailed Description

An X.509 certificate extension that defines the extra uses to which a key may be put.

This is referred to as the extended key usage extension.

Since
v6.0

Constructor & Destructor Documentation

~CX509ExtendedKeyUsageExt ( )

IMPORT_C~CX509ExtendedKeyUsageExt()

Destructor.

Frees all resources owned by the object, prior to its destruction.

Member Function Documentation

KeyUsages ( )

IMPORT_C const CArrayPtrFlat< HBufC > &KeyUsages()const

Gets the sequence of Object Ids (OID) that identify the key usages.

The sequence is held in a set of heap descriptors.

Return Value
A reference to the array of pointers to the heap descriptors that contain the OIDs.

NewL ( const TDesC8 & )

IMPORT_C CX509ExtendedKeyUsageExt *NewL(const TDesC8 &aBinaryData)[static]

Creates a new CX509ExtendedKeyUsageExt object from the specified buffer containing the binary coded representation.

Parameters
aBinaryDataThe encoded binary data.
Return Value
The new CX509ExtendedKeyUsageExt object.

NewL ( const TDesC8 &, TInt & )

IMPORT_C CX509ExtendedKeyUsageExt *NewL(const TDesC8 &aBinaryData,
TInt &aPos
)[static]

Creates a new CX509ExtendedKeyUsageExt object from the specified buffer containing the binary coded representation, starting at the specified offset.

Parameters
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
The new CX509ExtendedKeyUsageExt object.

NewLC ( const TDesC8 & )

IMPORT_C CX509ExtendedKeyUsageExt *NewLC(const TDesC8 &aBinaryData)[static]

Creates a new CX509ExtendedKeyUsageExt object from the specified buffer containing the binary coded representation, and puts a pointer to it onto the cleanup stack.

Parameters
aBinaryDataThe encoded binary representation.
Return Value
The new CX509ExtendedKeyUsageExt object.

NewLC ( const TDesC8 &, TInt & )

IMPORT_C CX509ExtendedKeyUsageExt *NewLC(const TDesC8 &aBinaryData,
TInt &aPos
)[static]

Creates a new CX509ExtendedKeyUsageExt 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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
The new CX509ExtendedKeyUsageExt object.