1.1 --- a/epoc32/include/pkixvalidationresult.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ b/epoc32/include/pkixvalidationresult.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -18,11 +18,10 @@
1.4 */
1.5
1.6
1.7 -
1.8 -
1.9 /**
1.10 @file
1.11 - @internalTechnology
1.12 + @publishedAll
1.13 + @released
1.14 */
1.15
1.16 #ifndef __PKIXVALIDATIONRESULT_H__
1.17 @@ -34,7 +33,6 @@
1.18 class RReadStream;
1.19 /**
1.20 * Base class for CPKIXValidationResult.
1.21 - * @internalTechnology
1.22 */
1.23 class CPKIXValidationResultBase : public CBase
1.24 {
1.25 @@ -87,7 +85,9 @@
1.26 * @return An array of certificate policies. */
1.27 IMPORT_C const CArrayPtrFlat<CX509CertPolicyInfo>& Policies() const;
1.28
1.29 - /** Resets the validation result object to its default values. */
1.30 + /** Resets the validation result object to its default values.
1.31 + * @internalTechnology
1.32 + */
1.33 void Reset();
1.34
1.35 /** Sets the error status, and then leaves.
1.36 @@ -96,31 +96,41 @@
1.37 *
1.38 * @param aError The error type that occurred when validating the certificate chain.
1.39 * @param aCert The index number identifying the certificate that gave rise to
1.40 - * the error. */
1.41 + * the error.
1.42 + * @internalTechnology
1.43 + */
1.44 void SetErrorAndLeaveL(const TValidationError aError, const TInt aCert);
1.45
1.46 /** Sets the error status.
1.47 *
1.48 * @param aError The error type that occurred when validating the certificate chain.
1.49 * @param aCert The index number identifying the certificate that gave rise to
1.50 - * the error. */
1.51 + * the error.
1.52 + * @internalTechnology
1.53 + */
1.54 void SetError(const TValidationError aError, const TInt aCert);
1.55
1.56 /** Adds a warning to the validation result.
1.57 *
1.58 - * @param aWarning The warning to be added. */
1.59 + * @param aWarning The warning to be added.
1.60 + * @internalTechnology
1.61 + */
1.62 void AppendWarningL(TValidationStatus aWarning);
1.63
1.64 /** Adds a policy to the validation result.
1.65 *
1.66 - * @param aPolicy The policy to be added. */
1.67 + * @param aPolicy The policy to be added.
1.68 + * @internalTechnology
1.69 + */
1.70 void AppendPolicyL(CX509CertPolicyInfo& aPolicy);
1.71
1.72 /** Removes all policies from the validation result.
1.73 *
1.74 * It is used by the validation process to remove policies it has added when
1.75 * the computation cannot complete because of environmental conditions such as
1.76 - * out of memory, file access failures, etc.. */
1.77 + * out of memory, file access failures, etc..
1.78 + * @internalTechnology
1.79 + */
1.80 // (not like signature validation...)
1.81 void RemovePolicies();
1.82
1.83 @@ -176,8 +186,6 @@
1.84 /** Stores the information regarding the results of a validation of a PKIX
1.85 * certificate chain.
1.86 *
1.87 -* @publishedAll
1.88 -* @released
1.89 * @since v6.0 */
1.90 class CPKIXValidationResult : public CPKIXValidationResultBase
1.91 {