Vtk_ValidationNew
Toolkit Reference

prevnext

Vtk_ValidationNew

#include <vtk_valid.h>
#include <vtk_err.h>
Vtk_Validation* Vtk_ValidationNew(
const Vtk_Ctxt *ctxt /* input */
);

Description

This validation function initializes and allocates memory for a validation query. This structure can encapsulate one or more validation queries.

Once the validation query structure has been initialized, the application can add certificates to be validated using the Vtk_ValidationAddCert or Vtk_ValidationAddCertRaw function.

Parameters
ctxt Pointer to Toolkit context created using the Vtk_CtxtNew function and for which memory has been allocated.

Return Value

Vtk_Validation The function has completed successfully. The function returns the Vtk_Validation structure that has been newly created and initialized.
NULL The function has failed.

Notes

This function creates an empty Vtk_Validation structure. When the application no longer needs this structure it must call the Vtk_ValidationDelete function to release memory and resources allocated to this structure.



See Also

Vtk_ValidationAddCert

Vtk_ValidationAddCertRaw

Vtk_ValidationDelete

Vtk_ValidationValidate

prevnext


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