Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509certext.h
Link against: x509.lib

Class CX509SubjectKeyIdExt

CX509SubjectKeyIdExt

Support

Supported from 6.0

Description

A 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 fom the public key or by some method of generating unique IDs.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509ExtensionBaseThis class is internal and not intended for use
CX509SubjectKeyIdExtA X.509 certificate extension that provides a way of identifying certificates that contain a specific public key

Defined in CX509SubjectKeyIdExt:
KeyId(), NewL(), NewL(), NewLC(), NewLC(), ~CX509SubjectKeyIdExt()

Inherited from CBase:
operator new()

Inherited from CX509ExtensionBase:
ConstructL(), DoConstructL()


Construction and destruction


NewL()

static CX509SubjectKeyIdExt* NewL(const TDesC8& aBinaryData);

Description

Creates a new subject key ID extension object from the specified buffer containing the binary coded representation.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509SubjectKeyIdExt*

The new subject key ID extension object.


NewL()

static CX509SubjectKeyIdExt* NewL(const TDesC8& aBinaryData, TInt& aPos);

Description

Creates a new subject key ID 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

CX509SubjectKeyIdExt*

The new subject key ID extension object.


NewLC()

static CX509SubjectKeyIdExt* NewLC(const TDesC8& aBinaryData);

Description

Creates a new subject key ID 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

CX509SubjectKeyIdExt*

The new subject key ID extension object.


NewLC()

static CX509SubjectKeyIdExt* NewLC(const TDesC8& aBinaryData, TInt& aPos);

Description

Creates a new subject key ID 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

CX509SubjectKeyIdExt*

The new subject key ID extension object.


~CX509SubjectKeyIdExt()

~CX509SubjectKeyIdExt();

Description

Destructor.

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

[Top]


Member function


KeyId()

TPtrC8 KeyId() const;

Description

Gets the key ID.

Return value

TPtrC8

A pointer descriptor representing the key ID.