#include <x509certchain.h>
class CCertificateValidationWarnings : public CBase |
Public Member Functions | |
---|---|
~CCertificateValidationWarnings() | |
IMPORT_C void | AppendCriticalExtensionWarningL(TDesC &) |
IMPORT_C void | AppendWarningL(TValidationStatus) |
IMPORT_C TInt | CertIndex() |
IMPORT_C const RPointerArray< TDesC > & | CriticalExtensionsFound() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C CCertificateValidationWarnings * | InternalizeL(RReadStream &) |
IMPORT_C CCertificateValidationWarnings * | NewL(TInt) |
IMPORT_C CCertificateValidationWarnings * | NewLC(TInt) |
IMPORT_C const RArray< TValidationStatus > & | Warnings() |
Encapsulates the critical extensions encountered and any warnings found for a particular certificate in the chain during the process of validation.
IMPORT_C | ~CCertificateValidationWarnings | ( | ) |
The destructor.
Frees all resources owned by the object.
IMPORT_C void | AppendCriticalExtensionWarningL | ( | TDesC & | aCriticalExt | ) |
Adds a critical extension OID warning.
IMPORT_C void | AppendWarningL | ( | TValidationStatus | aWarning | ) |
Adds a warning.
IMPORT_C TInt | CertIndex | ( | ) | const |
Gets the index of the certificate in the chain.
Returns: The certificate index number.
IMPORT_C const RPointerArray< TDesC > & | CriticalExtensionsFound | ( | ) | const |
Gets a list of critical extension OIDs found in the certificate.
Returns: An array of critical extensions found.
IMPORT_C void | ExternalizeL | ( | 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.
Parameter | Description |
---|---|
aStream | Stream to which the object should be externalised. |
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.
Parameter | Description |
---|---|
aStream | Stream from which the object should be internalised. |
Returns: A pointer to the new CCertificateWarning object.
IMPORT_C CCertificateValidationWarnings * | NewL | ( | TInt | aIndex | ) | [static] |
Creates an instance of CCertificateValidationWarnings.
Parameter | Description |
---|---|
aIndex | The index of aCert in the certificate chain. |
Returns: A pointer to the new CCertificateWarning object.
IMPORT_C CCertificateValidationWarnings * | NewLC | ( | TInt | aIndex | ) | [static] |
Creates an instance of CCertificateValidationWarnings.
Parameter | Description |
---|---|
aIndex | The index of aCert in the certificate chain. |
Returns: A pointer to the new CCertificateWarning object.
IMPORT_C const RArray< TValidationStatus > & | Warnings | ( | ) | const |
Gets a list of warnings generated by the certificate.
Returns: An array of warnings generated.