CX509SubjectKeyIdExt Class Reference

#include <x509certext.h>

Link against: x509.lib

class CX509SubjectKeyIdExt : public CX509ExtensionBase

Inherits from

Detailed Description

An X.509 certificate extension that provides a way of identifying certificates that contain a specific public key.

This is referred to as the subject key ID extension.

It consists of a key identifier value either derived from the public key or by some method of generating unique IDs.

Since
v6.0

Constructor & Destructor Documentation

~CX509SubjectKeyIdExt ( )

IMPORT_C~CX509SubjectKeyIdExt()

Destructor.

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

Member Function Documentation

KeyId ( )

IMPORT_C TPtrC8KeyId()const

Gets the key ID.

Returns: A pointer descriptor representing the key ID.

NewL ( const TDesC8 & )

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

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

ParameterDescription
aBinaryDataThe encoded binary representation.

Returns: The new CX509SubjectKeyIdExt object.

NewL ( const TDesC8 &, TInt & )

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

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

ParameterDescription
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.

Returns: The new CX509SubjectKeyIdExt object.

NewLC ( const TDesC8 & )

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

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

ParameterDescription
aBinaryDataThe encoded binary representation.

Returns: The new CX509SubjectKeyIdExt object.

NewLC ( const TDesC8 &, TInt & )

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

Creates a new CX509SubjectKeyIdExt 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.

ParameterDescription
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.

Returns: The new CX509SubjectKeyIdExt object.