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.

Return Value
A pointer descriptor representing the authority certificate serial number.

AuthorityName ( )

IMPORT_C const CArrayPtrFlat< CX509GeneralName > &AuthorityName()const

Gets the authority name.

Return Value
The authority name.

KeyId ( )

IMPORT_C TPtrC8KeyId()const

Gets the key identifier value.

Return Value
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.

Parameters
aBinaryDataThe encoded binary representation.
Return Value
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.

Parameters
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
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.

Parameters
aBinaryDataThe encoded binary representation.
Return Value
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.

Parameters
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
The new CX509AuthorityKeyIdExt object.