CCertificateValidationWarnings Class Reference

class CCertificateValidationWarnings : public CBase

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

Since
v9.5

Inherits from

  • CCertificateValidationWarnings

Constructor & Destructor Documentation

CCertificateValidationWarnings(TInt)

CCertificateValidationWarnings(TIntaIndex)[private]

Parameters

TInt aIndex

~CCertificateValidationWarnings()

IMPORT_C~CCertificateValidationWarnings()

The destructor.

Frees all resources owned by the object.

Member Functions Documentation

AppendCriticalExtensionWarningL(TDesC &)

IMPORT_C voidAppendCriticalExtensionWarningL(TDesC &aCriticalExt)

Adds a critical extension OID warning.

Parameters

TDesC & aCriticalExt

AppendWarningL(TValidationStatus)

IMPORT_C voidAppendWarningL(TValidationStatusaWarning)

Adds a warning.

Parameters

TValidationStatus aWarning

CertIndex()

IMPORT_C TIntCertIndex()const

Gets the index of the certificate in the chain.

CriticalExtensionsFound()

IMPORT_C const RPointerArray< TDesC > &CriticalExtensionsFound()const

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

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

RWriteStream & 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

RReadStream & aStreamStream from which the object should be internalised.

NewL(TInt)

IMPORT_C CCertificateValidationWarnings *NewL(TIntaIndex)[static]

Creates an instance of CCertificateValidationWarnings.

Parameters

TInt aIndexThe index of aCert in the certificate chain.

NewLC(TInt)

IMPORT_C CCertificateValidationWarnings *NewLC(TIntaIndex)[static]

Creates an instance of CCertificateValidationWarnings.

Parameters

TInt aIndexThe index of aCert in the certificate chain.

Warnings()

IMPORT_C const RArray< TValidationStatus > &Warnings()const

Gets a list of warnings generated by the certificate.

Member Data Documentation

TInt iCertIndex

TInt iCertIndex[private]

RPointerArray< TDesC > iCriticalExtsFound

RPointerArray< TDesC >iCriticalExtsFound[private]

RArray< TValidationStatus > iWarnings

RArray< TValidationStatus >iWarnings[private]