Vtk_ValidationValidateFromQueries
Toolkit Reference

prevnext

Vtk_ValidationValidateFromQueries

#include <vtk_valid.h>
#include <vtk_err.h>
Vtk_uint32 Vtk_ValidationValidateFromQueries(
const Vtk_Ctxt *ctxt, /* input */
Vtk_Validation *val, /* input */
Vtk_ValQuery **valQueries, /* input/output */
Vtk_uint32 *valStatus /* output */
);



Description

This validation query function validates the validation tokens or responses supplied by the application.

This function is called only after the application has called the Vtk_ValidationGetQueries function to obtain an array of validation query messages contained in the Vtk_Validation data structure, communicates with the VA, and places the information it obtains from the VA in the response field of each query.

Unlike the Vtk_Validation function, this function does not handle the communication with the VA and does not set the response in the query structure.

Parameters

ctxt Pointer to Toolkit context created using the Vtk_CtxtNew function and for which memory has been allocated.
val Validation query structure that contains certificates to be validated.
valQueries Pointer to the array of validation queries that the application wants to have validated by the VA.
valStatus Aggregate validation status of all the certificates in the validation query structure. The function must return VTK_OK for the status field to be valid.

Return Value

VTK_OK The function has completed successfully and validation has completed.
error code The function has failed. For information about possible error values, refer to Appendix 

Notes

The Vtk_ValQuery array is created using the Vtk_ValidationGetQueries function. Since the validation status is an aggregate value, one revoked certificate causes the value of the returned status to be revoked.



See Also

Vtk_Validation

Vtk_ValQuery

Vtk_ValidationGetQueries

Vtk_ValQueriesDelete

prevnext


ValiCert, Inc.
http://www.valicert.com
Voice: +1.650.567.5469
Fax: (+1.650.254.2148
support@valicert.com