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()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

DoCancel()

void DoCancel ( ) [protected, virtual]

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

GetError()

IMPORT_C TInt GetError ( )

Get the error flag

Since
S60 v3.2

GetValidateResult()

IMPORT_C TInt GetValidateResult ( )

Get the validation result

Since
S60 v3.2

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

IMPORT_C void InitializeL ( TUint8 * aEncodedCerts,
TUint aEncodedCertsLen,
const RPointerArray < CX509Certificate > & aRootCerts
)

Create the PKIXCertChain iCertChain

Since
S60 v3.2

Parameters

TUint8 * aEncodedCerts One or more concatenated DER encoded X.509 certificates in TUint8 format
TUint aEncodedCertsLen Length of the DER encoded X.509 certificates
const RPointerArray < CX509Certificate > & aRootCerts An 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 ( TInt aError ) [protected, virtual]

Handles Leaves from RunL function.

Parameters

TInt aError

RunL()

void RunL ( ) [protected, virtual]

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

ValidateL()

IMPORT_C void ValidateL ( )
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