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.
Public Member Functions | |
---|---|
~CWTLSValidationResult () | |
void | AppendWarningL ( TWTLSValidationStatus ) |
IMPORT_C const TWTLSValidationStatus | Error () |
IMPORT_C CWTLSValidationResult * | NewL () |
IMPORT_C CWTLSValidationResult * | NewLC () |
void | Reset () |
void | SetError (const TValidationError , const TInt ) |
IMPORT_C const CArrayFixFlat < TWTLSValidationStatus > & | Warnings () |
Private Member Functions | |
---|---|
CWTLSValidationResult () | |
void | ConstructL () |
Private Attributes | |
---|---|
TWTLSValidationStatus | iError |
CArrayFixFlat < TWTLSValidationStatus > * | iWarnings |
IMPORT_C | ~CWTLSValidationResult | ( | ) |
Destructor.
Frees all resources owned by the object, prior to its destruction.
void | AppendWarningL | ( | TWTLSValidationStatus | aWarning | ) |
Adds a warning to the validation.
TWTLSValidationStatus aWarning | The validation status object to be added. |
IMPORT_C const TWTLSValidationStatus | Error | ( | ) | const |
Gets the error status of the operation.
Any errors here are considered fatal: validation has failed.
IMPORT_C CWTLSValidationResult * | NewL | ( | ) | [static] |
Creates a new CWTLSValidationResult object.
IMPORT_C CWTLSValidationResult * | NewLC | ( | ) | [static] |
Creates a new CWTLSValidationResult object and puts a pointer to it on the cleanup stack.
void | SetError | ( | const TValidationError | aError, |
const TInt | aCert | |||
) |
Sets the error.
const TValidationError aError | The error type that occurred when validating the certificate chain. |
const TInt aCert | The index number for the certificate that gave rise to the error. |
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.
CArrayFixFlat < TWTLSValidationStatus > * | iWarnings | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.