Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <pkixvalidationresult_v2.h>
Link against: pkixcert.lib
This item is not part of the S60 5th Edition SDK

Class CPKIXValidationResult

class CPKIXValidationResult : public CPKIXValidationResultBase;

Description

Stores the information regarding the results of a validation of a PKIX certificate chain.

Derivation

Members

Defined in CPKIXValidationResult:


Construction and destruction


NewL()

IMPORT_C static CPKIXValidationResult* NewL();

Description

Creates a new PKIX Validation Result object.

Return value

CPKIXValidationResult *

The new PKIX Validation Result object.


NewLC()

IMPORT_C static CPKIXValidationResult* NewLC();

Description

Creates a new PKIX Validation Result object, and puts a pointer to it onto the cleanup stack.

Return value

CPKIXValidationResult *

The new PKIX Validation Result object.


~CPKIXValidationResult()

IMPORT_C ~CPKIXValidationResult();

Description

The destructor.

Frees all resources owned by the object.

[Top]


Member functions


Error()const

IMPORT_C const TValidationStatus Error() const;

Description

Gets the error status of the operation.

Errors are considered fatal, i.e. validation has failed.

Return value

const TValidationStatus

The error status of the operation.


Warnings()const

IMPORT_C const CArrayFixFlat< TValidationStatus >& Warnings() const;

Description

Gets a list of warnings generated.

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

Return value

const CArrayFixFlat< TValidationStatus > &

An array of any warnings generated.


Policies()const

IMPORT_C const CArrayPtrFlat< CX509CertPolicyInfo >& Policies() const;

Description

Gets a list of all the certificate policies which have been accepted implicitly in the course of validation.

Return value

const CArrayPtrFlat< CX509CertPolicyInfo > &

An array of certificate policies.


ValidationWarnings()const

IMPORT_C const RPointerArray< CCertificateValidationWarnings >& ValidationWarnings() const;

Description

Returns a list of critical extensions encountered and warnings generated by certificates during chain validation. A CCertificateWarning object is returned for each certificate in the chain, even if no critical extensions or warnings were encountered. The array's data is in the same order as the certificate chain.

Return value

const RPointerArray< CCertificateValidationWarnings > &

An array of certificate warnings. Ownership is not transferred to the caller.