CX509SubjectKeyIdExt Class Reference

class CX509SubjectKeyIdExt : public CX509ExtensionBase

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

Inherits from

Constructor & Destructor Documentation

CX509SubjectKeyIdExt()

CX509SubjectKeyIdExt()[private]

~CX509SubjectKeyIdExt()

IMPORT_C~CX509SubjectKeyIdExt()

Destructor.

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

Member Functions Documentation

DoConstructL(const TDesC8 &, TInt &)

voidDoConstructL(const TDesC8 &aBinaryData,
TInt &aPos
)[private, virtual]

Implementation for second-phase construction.

This is called by ConstructL().

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation. This is the same as passed to ConstructL().
TInt & aPosThe position from which to start decoding. Note that the value passed points, in effect, to the content, by passing the header data.

KeyId()

IMPORT_C TPtrC8KeyId()const

Gets 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.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

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.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.
TInt & aPosThe offset position from which to start decoding.

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.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.

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.

Parameters

const TDesC8 & aBinaryDataThe encoded binary representation.
TInt & aPosThe offset position from which to start decoding.

Member Data Documentation

HBufC8 * iKeyIdentifier

HBufC8 *iKeyIdentifier[private]