Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509certext.h
Link against: x509.lib

Class CX509AuthorityKeyIdExt

class CX509AuthorityKeyIdExt : public CX509ExtensionBase;

Description

An X.509 certificate extension that provides a way to find the public key corresponding to the private key used to sign the certificate.

This is referred to as the authority key ID extension.

The key may be identified by the issuer's name and the issuing certificate's serial number, or by a key identifier value either derived from the public key or by some method of generating unique IDs.

Derivation

Members

Defined in CX509AuthorityKeyIdExt:
AuthorityCertSerialNumber(), AuthorityName(), DoConstructL(), KeyId(), NewL(), NewL(), NewLC(), NewLC()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CX509ExtensionBase:
ConstructL()


Construction and destruction


NewL()

static IMPORT_C CX509AuthorityKeyIdExt *NewL(const TDesC8 &aBinaryData);

Description

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509AuthorityKeyIdExt *

The new CX509AuthorityKeyIdExt object.


NewLC()

static IMPORT_C CX509AuthorityKeyIdExt *NewLC(const TDesC8 &aBinaryData);

Description

Creates a new CX509AuthorityKeyIdExt 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

CX509AuthorityKeyIdExt *

The new CX509AuthorityKeyIdExt object.


NewL()

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

Description

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

TInt &aPos

The offset position from which to start decoding.

Return value

CX509AuthorityKeyIdExt *

The new CX509AuthorityKeyIdExt object.


NewLC()

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

Description

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

TInt &aPos

The offset position from which to start decoding.

Return value

CX509AuthorityKeyIdExt *

The new CX509AuthorityKeyIdExt object.

[Top]


Member functions


AuthorityName()

IMPORT_C const CArrayPtrFlat< CX509GeneralName > &AuthorityName() const;

Description

Gets the authority name.

Return value

const CArrayPtrFlat< CX509GeneralName > &

The authority name.


AuthorityCertSerialNumber()

IMPORT_C TPtrC8 AuthorityCertSerialNumber() const;

Description

Gets the authority certificate serial number.

Return value

TPtrC8

A pointer descriptor representing the authority certificate serial number.


KeyId()

IMPORT_C TPtrC8 KeyId() const;

Description

Gets the key identifier value.

Return value

TPtrC8

A pointer descriptor representing the key identifier value.


DoConstructL()

private: virtual void DoConstructL(const TDesC8 &aBinaryData, TInt &aPos);

Description

Implementation for second-phase construction.

This is called by ConstructL().

Parameters

const TDesC8 &aBinaryData

The encoded binary representation. This is the same as passed to ConstructL().

TInt &aPos

The position from which to start decoding. Note that the value passed points, in effect, to the content, by passing the header data.