| 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.
| 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 () |
| Private Member Functions | |
|---|---|
| CCertificateValidationWarnings ( TInt ) | |
| Private Attributes | |
|---|---|
| TInt | iCertIndex |
| RPointerArray < TDesC > | iCriticalExtsFound |
| RArray < TValidationStatus > | iWarnings |
| CCertificateValidationWarnings | ( | TInt | aIndex | ) | [private] |
| TInt aIndex |
| IMPORT_C | ~CCertificateValidationWarnings | ( | ) |
The destructor.
Frees all resources owned by the object.
| IMPORT_C void | AppendCriticalExtensionWarningL | ( | TDesC & | aCriticalExt | ) |
Adds a critical extension OID warning.
| TDesC & aCriticalExt |
| IMPORT_C void | AppendWarningL | ( | TValidationStatus | aWarning | ) |
Adds a warning.
| TValidationStatus aWarning |
| IMPORT_C const RPointerArray < TDesC > & | CriticalExtensionsFound | ( | ) | const |
Gets a list of critical extension OIDs found in the certificate.
| 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.
| RWriteStream & 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.
| RReadStream & aStream | Stream from which the object should be internalised. |
| IMPORT_C CCertificateValidationWarnings * | NewL | ( | TInt | aIndex | ) | [static] |
Creates an instance of CCertificateValidationWarnings .
| TInt aIndex | The index of aCert in the certificate chain. |
| IMPORT_C CCertificateValidationWarnings * | NewLC | ( | TInt | aIndex | ) | [static] |
Creates an instance of CCertificateValidationWarnings .
| TInt aIndex | The index of aCert in the certificate chain. |
| IMPORT_C const RArray < TValidationStatus > & | Warnings | ( | ) | const |
Gets a list of warnings generated by the certificate.
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.