Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <x509certchain.h>
Link against: x509.lib

Class CCertificateValidationWarnings

class CCertificateValidationWarnings : public CBase;

Description

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

Derivation

Members

Defined in CCertificateValidationWarnings:

Inherited from CBase:


Construction and destruction


NewL(TInt)

IMPORT_C static CCertificateValidationWarnings* NewL(TInt aIndex);

Description

Creates an instance of CCertificateValidationWarnings.

Parameters

TInt aIndex

The index of aCert in the certificate chain.

Return value

CCertificateValidationWarnings *

A pointer to the new CCertificateWarning object.


NewLC(TInt)

IMPORT_C static CCertificateValidationWarnings* NewLC(TInt aIndex);

Description

Creates an instance of CCertificateValidationWarnings.

Parameters

TInt aIndex

The index of aCert in the certificate chain.

Return value

CCertificateValidationWarnings *

A pointer to the new CCertificateWarning object.


~CCertificateValidationWarnings()

IMPORT_C ~CCertificateValidationWarnings();

Description

The destructor.

Frees all resources owned by the object.

[Top]


Member functions


CriticalExtensionsFound()const

IMPORT_C const RPointerArray< TDesC >& CriticalExtensionsFound() const;

Description

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

Return value

const RPointerArray< TDesC16 > &

An array of critical extensions found.


Warnings()const

IMPORT_C const RArray< TValidationStatus >& Warnings() const;

Description

Gets a list of warnings generated by the certificate.

Return value

const RArray< TValidationStatus > &

An array of warnings generated.


CertIndex()const

IMPORT_C TInt CertIndex() const;

Description

Gets the index of the certificate in the chain.

Return value

TInt

The certificate index number.


ExternalizeL(RWriteStream &)const

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises an object of this class to a write stream.

The presence of this function means that the standard templated operator<<(RWriteStream &,const T &) can be used to externalise objects of this class.

Parameters

RWriteStream &aStream

Stream to which the object should be externalised.


InternalizeL(RReadStream &)

IMPORT_C static CCertificateValidationWarnings* InternalizeL(RReadStream &aStream);

Description

Internalises an object of this class from a read stream.

The presence of this function means that the standard templated operator>>(RReadStream &,T &) 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.

Return value

CCertificateValidationWarnings *

A pointer to the new CCertificateWarning object.