CWTLSValidationResult Class Reference

class CWTLSValidationResult : public CBase

Encapsulates the results of the validation process.

It is returned to client code, which can examine it. Client code takes ownership of it.

Inherits from

  • CWTLSValidationResult

Constructor & Destructor Documentation

CWTLSValidationResult()

CWTLSValidationResult()[private]

~CWTLSValidationResult()

IMPORT_C~CWTLSValidationResult()

Destructor.

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

Member Functions Documentation

AppendWarningL(TWTLSValidationStatus)

voidAppendWarningL(TWTLSValidationStatusaWarning)

Adds a warning to the validation.

Parameters

TWTLSValidationStatus aWarningThe validation status object to be added.

ConstructL()

voidConstructL()[private]

Error()

IMPORT_C const TWTLSValidationStatusError()const

Gets the error status of the operation.

Any errors here are considered fatal: validation has failed.

The error status of the operation.

NewL()

IMPORT_C CWTLSValidationResult *NewL()[static]

Creates a new CWTLSValidationResult object.

The new WTLS Validation Result object.

NewLC()

IMPORT_C CWTLSValidationResult *NewLC()[static]

Creates a new CWTLSValidationResult object and puts a pointer to it on the cleanup stack.

The new WTLS Validation Result object.

Reset()

voidReset()

Resets the validation result object to its default values.

SetError(const TValidationError, const TInt)

voidSetError(const TValidationErroraError,
const TIntaCert
)

Sets the error.

Parameters

const TValidationError aErrorThe error type that occurred when validating the certificate chain.
const TInt aCertThe index number for the certificate that gave rise to the error.

Warnings()

IMPORT_C const CArrayFixFlat< TWTLSValidationStatus > &Warnings()const

Gets an array of any warnings generated.

The warnings may or may not be fatal, depending on the context, which the client is expected to provide.

An array of any warnings generated.

Member Data Documentation

TWTLSValidationStatus iError

TWTLSValidationStatus iError[private]

CArrayFixFlat< TWTLSValidationStatus > * iWarnings

CArrayFixFlat< TWTLSValidationStatus > *iWarnings[private]