CPKIXValidationResult Class Reference

#include <pkixvalidationresult.h>

Link against: pkixcert.lib

class CPKIXValidationResult : public CPKIXValidationResultBase

Inherits from

Public Member Functions
~CPKIXValidationResult()
IMPORT_C const TValidationStatusError()
IMPORT_C CPKIXValidationResult *NewL()
IMPORT_C CPKIXValidationResult *NewLC()
IMPORT_C const CArrayPtrFlat< CX509CertPolicyInfo > &Policies()
IMPORT_C const RPointerArray< CCertificateValidationWarnings > &ValidationWarnings()
IMPORT_C const CArrayFixFlat< TValidationStatus > &Warnings()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CPKIXValidationResultBase::AppendCertificateValidationObjectL(const CCertificateValidationWarnings &)
CPKIXValidationResultBase::AppendCriticalExtensionWarningL(TDesC &)
CPKIXValidationResultBase::AppendPolicyL(CX509CertPolicyInfo &)
CPKIXValidationResultBase::AppendWarningL(TValidationStatus)
CPKIXValidationResultBase::CPKIXValidationResultBase()
CPKIXValidationResultBase::ConstructL()
CPKIXValidationResultBase::ExternalizeL(RWriteStream &)const
CPKIXValidationResultBase::InternalizeL(RReadStream &)
CPKIXValidationResultBase::NewL(RReadStream &)
CPKIXValidationResultBase::NewLC(RReadStream &)
CPKIXValidationResultBase::RemovePolicies()
CPKIXValidationResultBase::Reset()
CPKIXValidationResultBase::SetError(const TValidationError,const TInt)
CPKIXValidationResultBase::SetErrorAndLeaveL(const TValidationError,const TInt)
CPKIXValidationResultBase::~CPKIXValidationResultBase()

Detailed Description

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

Since
v6.0

Constructor & Destructor Documentation

~CPKIXValidationResult ( )

IMPORT_C~CPKIXValidationResult()

The destructor.

Frees all resources owned by the object.

Member Function Documentation

Error ( )

IMPORT_C const TValidationStatusError()const

Reimplemented from CPKIXValidationResultBase::Error()const

Gets the error status of the operation.

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

Returns: The error status of the operation.

NewL ( )

IMPORT_C CPKIXValidationResult *NewL()[static]

Reimplemented from CPKIXValidationResultBase::NewL()

Creates a new PKIX Validation Result object.

Returns: The new PKIX Validation Result object.

NewLC ( )

IMPORT_C CPKIXValidationResult *NewLC()[static]

Reimplemented from CPKIXValidationResultBase::NewLC()

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

Returns: The new PKIX Validation Result object.

Policies ( )

IMPORT_C const CArrayPtrFlat< CX509CertPolicyInfo > &Policies()const

Reimplemented from CPKIXValidationResultBase::Policies()const

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

Returns: An array of certificate policies.

ValidationWarnings ( )

IMPORT_C const RPointerArray< CCertificateValidationWarnings > &ValidationWarnings()const

Reimplemented from CPKIXValidationResultBase::ValidationWarnings()const

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.

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

Warnings ( )

IMPORT_C const CArrayFixFlat< TValidationStatus > &Warnings()const

Reimplemented from CPKIXValidationResultBase::Warnings()const

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.

Returns: An array of any warnings generated.