Symbian
 Developer Library

DEVELOPER LIBRARY

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



Location: x509certext.h
Link against: x509.lib

Class CX509AuthorityKeyIdExt

CX509AuthorityKeyIdExt

Support

Supported from 6.0

Description

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

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509AuthorityKeyIdExtA X.509 certificate extension that provides a way to find the public key corresponding to the private key used to sign the certificate
CX509ExtensionBaseThis class is internal and not intended for use

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

Inherited from CBase:
operator new()

Inherited from CX509ExtensionBase:
ConstructL(), DoConstructL()


Construction and destruction


NewL()

static CX509AuthorityKeyIdExt* NewL(const TDesC8& aBinaryData);

Description

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

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509AuthorityKeyIdExt*

The new authority key ID extension object.


NewL()

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

Description

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

CX509AuthorityKeyIdExt*

The new authority key ID extension object.


NewLC()

static CX509AuthorityKeyIdExt* NewLC(const TDesC8& aBinaryData);

Description

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

CX509AuthorityKeyIdExt*

The new authority key ID extension object.


NewLC()

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

Description

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

CX509AuthorityKeyIdExt*

The new authority key ID extension object.


~CX509AuthorityKeyIdExt()

~CX509AuthorityKeyIdExt();

Description

Destructor.

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

[Top]


Member functions


AuthorityName()

const CArrayPtrFlat<CX509GeneralName>& AuthorityName() const;

Description

Gets the authority name.

Return value

CArrayPtrFlatCX509GeneralName&

The authority name.


AuthorityCertSerialNumber()

TPtrC8 AuthorityCertSerialNumber() const;

Description

Gets the authority certificate serial number.

Return value

TPtrC8

A pointer descriptor representing the authority certificate serial number.


KeyId()

TPtrC8 KeyId() const;

Description

Gets the key ID.

Return value

TPtrC8

A pointer descriptor representing the key ID.