CWapiCertificates Class Reference

class CWapiCertificates : public CActive

This is a wrapper class which can be used to handle WAPI related certificates

Inherits from

Constructor & Destructor Documentation

CWapiCertificates()

IMPORT_CCWapiCertificates()

~CWapiCertificates()

IMPORT_C~CWapiCertificates()

Member Functions Documentation

ConstructL()

voidConstructL()

Function for reserving memory for the internal data types

DeleteAPSpecificDataL(const TInt)

IMPORT_C voidDeleteAPSpecificDataL(const TIntaId)

Delete AP related data from certificate database tables

Parameters

const TInt aIdService table id

DoCancel()

voidDoCancel()[protected, virtual]

DoCancel from CActive

GetAllCertificateLabelsL(RArray< TBuf< KMaxLabelLength > > **, RArray< TBuf8< KMaxIdentityLength > > **, RArray< TBuf< KMaxLabelLength > > **, RArray< TBuf8< KMaxIdentityLength > > **)

IMPORT_C voidGetAllCertificateLabelsL(RArray< TBuf< KMaxLabelLength > > **aUserCerts,
RArray< TBuf8< KMaxIdentityLength > > **aUserCertData,
RArray< TBuf< KMaxLabelLength > > **aCACerts,
RArray< TBuf8< KMaxIdentityLength > > **aCACertData
)

Gets a list of the available WAPI user and CA certificates

NOTE that the caller is responsible for freeing the memory of the arrays

Parameters

RArray< TBuf< KMaxLabelLength > > ** aUserCertsArray of available WAPI User certificate labels
RArray< TBuf8< KMaxIdentityLength > > ** aUserCertDataArray of available WAPI User certificate identities
RArray< TBuf< KMaxLabelLength > > ** aCACertsArray of available WAPI CA certificate labels
RArray< TBuf8< KMaxIdentityLength > > ** aCACertDataArray of available WAPI CA certificate identities

GetConfigurationL(const TInt, TDes &, TDes &)

IMPORT_C voidGetConfigurationL(const TIntaId,
TDes &aCACert,
TDes &aUserCert
)

Gets the WAPI certificate configuration of a specific AP

Parameters

const TInt aIdService table id
TDes & aCACertId matching the selected WAPI CA certificate
TDes & aUserCertId matching the selected WAPI User certificate

NewL()

IMPORT_C CWapiCertificates *NewL()[static]

Function for creating the CWapiCertificates object

ResetCertificateStoreL()

IMPORT_C voidResetCertificateStoreL()

Resets the WAPI Certificate store

RunL()

voidRunL()[protected, virtual]

RunL from CActive

SetCACertL(const TInt, const TBuf8< KMaxIdentityLength >)

IMPORT_C voidSetCACertL(const TIntaId,
const TBuf8< KMaxIdentityLength >aCACertData
)

Sets the WAPI certificate configuration of a specific AP

Parameters

const TInt aIdService table id
const TBuf8< KMaxIdentityLength > aCACertDataSelected WAPI CA certificate identity

SetUserCertL(const TInt, const TBuf8< KMaxIdentityLength >)

IMPORT_C voidSetUserCertL(const TIntaId,
const TBuf8< KMaxIdentityLength >aUserCertData
)

Sets the WAPI certificate configuration of a specific AP

Parameters

const TInt aIdService table id
const TBuf8< KMaxIdentityLength > aUserCertDataSelected WAPI User certificate identity

Member Data Documentation

abs_eap_am_tools_c * iAmTools

abs_eap_am_tools_c *iAmTools[private]

CCertificateStoreDatabase * iCertDB

CCertificateStoreDatabase *iCertDB[private]

dummy_wapi_core_c * iDummyCore

dummy_wapi_core_c *iDummyCore[private]

ec_certificate_store_c * iEcCertStore

ec_certificate_store_c *iEcCertStore[private]

CActiveSchedulerWait iWait

CActiveSchedulerWait iWait[private]

wapi_am_core_symbian_c * iWapiCore

wapi_am_core_symbian_c *iWapiCore[private]