CSymbianCertChain Class Reference

class CSymbianCertChain : public CActive

Inherits from

Constructor & Destructor Documentation

CSymbianCertChain()

CSymbianCertChain()[private]

C++ default constructor.

~CSymbianCertChain()

IMPORT_C~CSymbianCertChain()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DoCancel()

voidDoCancel()[protected, virtual]

This function is called as part of the active object's Cancel().

GetError()

IMPORT_C TIntGetError()

Get the error flag

Since
S60 v3.2

GetValidateResult()

IMPORT_C TIntGetValidateResult()

Get the validation result

Since
S60 v3.2

InitializeL(TUint8 *, TUint, const RPointerArray< CX509Certificate > &)

IMPORT_C voidInitializeL(TUint8 *aEncodedCerts,
TUintaEncodedCertsLen,
const RPointerArray< CX509Certificate > &aRootCerts
)

Create the PKIXCertChain iCertChain

Since
S60 v3.2

Parameters

TUint8 * aEncodedCertsOne or more concatenated DER encoded X.509 certificates in TUint8 format
TUint aEncodedCertsLenLength of the DER encoded X.509 certificates
const RPointerArray< CX509Certificate > & aRootCertsAn array of certificates which the chain will treat as candidate root certificates

NewL()

IMPORT_C CSymbianCertChain *NewL()[static]

Create new object.

Since
S60 v3.2

RunError(TInt)

TInt RunError(TIntaError)[protected, virtual]

Handles Leaves from RunL function.

Parameters

TInt aError

RunL()

voidRunL()[protected, virtual]

From CActive Callback function, invoked to handle responses from the server

ValidateL()

IMPORT_C voidValidateL()
Call ValidateL() of the iCertChain
Since
S60 v3.2

Member Enumerations Documentation

Enum TState

State of active object. EUnitialized before validation EValidate after validation

Enumerators

EUnitialized
EValidate

Member Data Documentation

CPKIXCertChain * iCertChain

CPKIXCertChain *iCertChain[private]

A reference to the cert chain

TInt iError

TInt iError[private]

Error flag

RFs iFs

RFs iFs[private]

A reference to the File Server Client

TState iState

TState iState[private]

An internal state

CPKIXValidationResult * iValidationResult

CPKIXValidationResult *iValidationResult[private]

Contain result of the validation