CPKIXValidationResult Class Reference

class CPKIXValidationResult : public CPKIXValidationResultBase

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

Since
v6.0

Inherits from

Public Member Functions
~CPKIXValidationResult ()
IMPORT_C const TValidationStatus Error ()
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 ()
Private Member Functions
CPKIXValidationResult ()
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()

Constructor & Destructor Documentation

CPKIXValidationResult()

CPKIXValidationResult ( ) [private]

~CPKIXValidationResult()

IMPORT_C ~CPKIXValidationResult ( )

The destructor.

Frees all resources owned by the object.

Member Functions Documentation

Error()

IMPORT_C const TValidationStatus Error ( ) const

Gets the error status of the operation.

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

NewL()

IMPORT_C CPKIXValidationResult * NewL ( ) [static]

Creates a new PKIX Validation Result object.

NewLC()

IMPORT_C CPKIXValidationResult * NewLC ( ) [static]

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

Policies()

IMPORT_C const CArrayPtrFlat < CX509CertPolicyInfo > & Policies ( ) const

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

ValidationWarnings()

IMPORT_C const RPointerArray < CCertificateValidationWarnings > & 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.

Warnings()

IMPORT_C const CArrayFixFlat < TValidationStatus > & 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.