CPKIXValidationResultBase Class Reference
class CPKIXValidationResultBase : public CBase |
Inherits from
- CPKIXValidationResultBase
Constructor & Destructor Documentation
CPKIXValidationResultBase()
IMPORT_C | CPKIXValidationResultBase | ( | ) | [protected] |
~CPKIXValidationResultBase()
IMPORT_C | ~CPKIXValidationResultBase | ( | ) | |
The destructor.
Frees all resources owned by the object.
Member Functions Documentation
AppendCertificateValidationObjectL(const CCertificateValidationWarnings &)
Adds a certificate warning to the validation result.
AppendCriticalExtensionWarningL(TDesC &)
IMPORT_C void | AppendCriticalExtensionWarningL | ( | TDesC & | aCriticalExt | ) | |
Adds a critical extension OID warning.
Parameters
TDesC & aCriticalExt | The critical extension OID to be added. |
AppendPolicyL(CX509CertPolicyInfo &)
Adds a policy to the validation result.
AppendWarningL(TValidationStatus)
Adds a warning to the validation result.
ConstructL()
IMPORT_C void | ConstructL | ( | ) | [protected] |
Error()
Gets the error status of the operation.
Errors are considered fatal, i.e. validation has failed.
ExternalizeL(RWriteStream &)
Externalises an object of this class to a write stream.
The presence of this function means that the standard templated operator<<() can be used to externalise objects of this class.
Parameters
RWriteStream & aStream | Stream to which the object should be externalised. |
InternalizeL(RReadStream &)
Internalises an object of this class from a read stream.
The presence of this function means that the standard templated operator>>() can be used to internalise objects of this class.
Note that this function has assignment semantics: it replaces the old value of the object with a new value read from the read stream.
Parameters
RReadStream & aStream | Stream from which the object should be internalised. |
NewL()
Creates a new PKIX Validation Result object.
NewL(RReadStream &)
Creates a new PKIX Validation Result object from a stream.
NewLC()
Creates a new PKIX Validation Result object, and puts a pointer to it onto the cleanup stack.
NewLC(RReadStream &)
Creates a new PKIX Validation Result object from a stream, and puts a pointer to it onto the cleanup stack.
Policies()
Gets a list of all the certificate policies which have been accepted implicitly in the course of validation.
RemovePolicies()
Removes all policies from the validation result.
It is used by the validation process to remove policies it has added when the computation cannot complete because of environmental conditions such as out of memory, file access failures, etc..
Reset()
Resets the validation result object to its default values.
SetError(const TValidationError, const TInt)
Parameters
const TValidationError aError | The error type that occurred when validating the certificate chain. |
const TInt aCert | The index number identifying the certificate that gave rise to the error. |
SetErrorAndLeaveL(const TValidationError, const TInt)
Sets the error status, and then leaves.
The function uses SetError() to set the error status.
Parameters
const TValidationError aError | The error type that occurred when validating the certificate chain. |
const TInt aCert | The index number identifying the certificate that gave rise to the error. |
ValidationWarnings()
Returns a list of critical extensions encountered and warnings generated by certificates during chain validation.
Warnings()
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.
Member Data Documentation
RPointerArray< CCertificateValidationWarnings > iCertWarnings
CArrayPtrFlat< CX509CertPolicyInfo > * iPolicies
CArrayFixFlat< TValidationStatus > * iWarnings
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.