CX509AuthorityKeyIdExt Class Reference

#include <x509certext.h>

Link against: x509.lib

class CX509AuthorityKeyIdExt : public CX509ExtensionBase

Inherits from

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

Since
v6.0

Constructor & Destructor Documentation

~CX509AuthorityKeyIdExt ( )

~CX509AuthorityKeyIdExt()[virtual]

Destructor.

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

Member Function Documentation

AuthorityCertSerialNumber ( )

IMPORT_C TPtrC8AuthorityCertSerialNumber()const

Gets the authority certificate serial number.

Returns: A pointer descriptor representing the authority certificate serial number.

AuthorityName ( )

IMPORT_C const CArrayPtrFlat< CX509GeneralName > &AuthorityName()const

Gets the authority name.

Returns: The authority name.

KeyId ( )

IMPORT_C TPtrC8KeyId()const

Gets the key identifier value.

Returns: A pointer descriptor representing 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.

ParameterDescription
aBinaryDataThe encoded binary representation.

Returns: The new CX509AuthorityKeyIdExt object.

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.

ParameterDescription
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.

Returns: The new CX509AuthorityKeyIdExt object.

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.

ParameterDescription
aBinaryDataThe encoded binary representation.

Returns: The new CX509AuthorityKeyIdExt object.

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.

ParameterDescription
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.

Returns: The new CX509AuthorityKeyIdExt object.