CX509AuthorityKeyIdExt Class Reference

class CX509AuthorityKeyIdExt : public CX509ExtensionBase

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.

Since
v6.0

Inherits from

Constructor & Destructor Documentation

CX509AuthorityKeyIdExt()

CX509AuthorityKeyIdExt ( ) [private]

~CX509AuthorityKeyIdExt()

~CX509AuthorityKeyIdExt ( ) [virtual]

Destructor.

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

Member Functions Documentation

AuthorityCertSerialNumber()

IMPORT_C TPtrC8 AuthorityCertSerialNumber ( ) const

Gets the authority certificate serial number.

AuthorityName()

IMPORT_C const CArrayPtrFlat < CX509GeneralName > & AuthorityName ( ) const

Gets the authority name.

DecodeKeyIdL(const TDesC8 &)

void DecodeKeyIdL ( const TDesC8 & aBinaryData ) [private]

Parameters

const TDesC8 & aBinaryData

DecodeNameL(const TDesC8 &)

void DecodeNameL ( const TDesC8 & aBinaryData ) [private]

Parameters

const TDesC8 & aBinaryData

DecodeSerialNoL(const TDesC8 &)

void DecodeSerialNoL ( const TDesC8 & aBinaryData ) [private]

Parameters

const TDesC8 & aBinaryData

DoConstructL(const TDesC8 &, TInt &)

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

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.

KeyId()

IMPORT_C TPtrC8 KeyId ( ) const

Gets the key identifier value.

NewL(const TDesC8 &)

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

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

Parameters

const TDesC8 & aBinaryData The encoded binary representation.

NewL(const TDesC8 &, TInt &)

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

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.

NewLC(const TDesC8 &)

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

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.

NewLC(const TDesC8 &, TInt &)

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

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.

Member Data Documentation

HBufC8 * iAuthorityCertSerialNumber

HBufC8 * iAuthorityCertSerialNumber [private]

CArrayPtrFlat< CX509GeneralName > * iAuthorityName

CArrayPtrFlat < CX509GeneralName > * iAuthorityName [private]

HBufC8 * iKeyIdentifier

HBufC8 * iKeyIdentifier [private]