CCertificateValidationWarnings Class Reference

#include <x509certchain.h>

Link against: x509.lib

class CCertificateValidationWarnings : public CBase

Inherits from

  • CCertificateValidationWarnings

Detailed Description

Encapsulates the critical extensions encountered and any warnings found for a particular certificate in the chain during the process of validation.

Since
v9.5

Constructor & Destructor Documentation

~CCertificateValidationWarnings ( )

IMPORT_C~CCertificateValidationWarnings()

The destructor.

Frees all resources owned by the object.

Member Function Documentation

AppendCriticalExtensionWarningL ( TDesC & )

IMPORT_C voidAppendCriticalExtensionWarningL(TDesC &aCriticalExt)

Adds a critical extension OID warning.

AppendWarningL ( TValidationStatus )

IMPORT_C voidAppendWarningL(TValidationStatusaWarning)

Adds a warning.

CertIndex ( )

IMPORT_C TIntCertIndex()const

Gets the index of the certificate in the chain.

Return Value
The certificate index number.

CriticalExtensionsFound ( )

IMPORT_C const RPointerArray< TDesC > &CriticalExtensionsFound()const

Gets a list of critical extension OIDs found in the certificate.

Return Value
An array of critical extensions found.

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

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
aStreamStream to which the object should be externalised.

InternalizeL ( RReadStream & )

IMPORT_C CCertificateValidationWarnings *InternalizeL(RReadStream &aStream)[static]

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
aStreamStream from which the object should be internalised.
Return Value
A pointer to the new CCertificateWarning object.

NewL ( TInt )

IMPORT_C CCertificateValidationWarnings *NewL(TIntaIndex)[static]

Creates an instance of CCertificateValidationWarnings.

Parameters
aIndexThe index of aCert in the certificate chain.
Return Value
A pointer to the new CCertificateWarning object.

NewLC ( TInt )

IMPORT_C CCertificateValidationWarnings *NewLC(TIntaIndex)[static]

Creates an instance of CCertificateValidationWarnings.

Parameters
aIndexThe index of aCert in the certificate chain.
Return Value
A pointer to the new CCertificateWarning object.

Warnings ( )

IMPORT_C const RArray< TValidationStatus > &Warnings()const

Gets a list of warnings generated by the certificate.

Return Value
An array of warnings generated.