|
|
|
Location:
pkixcertchain.h
Link against: x500.lib
CPKIXValidationResult
Supported from 6.0
Encapsulates the result of the validation operation.
|
Defined in CPKIXValidationResult:
AppendPolicyL(), AppendWarningL(), Error(), NewL(), NewLC(), Policies(), SetError(), SetErrorAndLeaveL(), Warnings(), ~CPKIXValidationResult()
Inherited from CBase:
operator new()
static CPKIXValidationResult* NewL();
Creates a CPKIX Validation result object.
|
static CPKIXValidationResult* NewLC();
Creates a CPKIX Validation result object, and puts a pointer to it onto the cleanup stack.
|
~CPKIXValidationResult();
Destructor.
Frees all resources owned by the object, prior to its destruction.
const TValidationStatus Error() const;
Gets the error status for the chain. Any errors are considered fatal: validation has failed.
|
const CArrayFixFlat<TValidationStatus>& Warnings() const;
Gets an array of any warnings generated: these may or may not be fatal, depending on the context, which the client is expected to provide.
|
const CArrayPtrFlat<CX509CertPolicyInfo>& Policies() const;
Gets an array of all the certificate policies which have been implicitly accepted in the course of validation.
|
void SetErrorAndLeaveL(const TValidationError aError, const TInt aCert);
Sets the result of validating the certificate chain, and then leaves.
The function leaves unconditionally.
|
|
void SetError(const TValidationError aError, const TInt aCert);
Sets the result of validating the certificate chain.
|
void AppendWarningL(TValidationStatus aWarning);
Adds the specified certificate validation status object to any existing set of certificate validation status objects.
|
void AppendPolicyL(CX509CertPolicyInfo& aPolicy);
Adds the specified certificate policy object to any existing set of certificate policy objects.
|