Toolkit Reference |
This validation function sets specific protocol and VA information for this validation operation for the certificates in the Vtk_Ctxt or Vtk_CertStore (if specified).
The information set in this function overrides the protocol and VA information currently set for the Vtk_Ctxt resulting in this Vtk_Validation structure being specific to the specified VA.
ctxt | Pointer to Toolkit context created using the Vtk_CtxtNew function and for which memory has been allocated. |
val | Pointer to the Vtk_Validation query structure. |
vaUrl | URL for the VA, for example http://ocsp.valicert.net:80. |
mech | Validation mechanism type employed by the user. The possible values are: For more information about these values, see Vtk_ValidationMech. |
vaCerts | Pointer to the certificate store that contains the VA certificates that are to be used to validate responses from the VA. This parameter is optional. If it is not set, the settings are applied to the certificates specified in the context. See Vtk_CertStore. |
VTK_OK | The function has completed successfully and the VA information and protocol have been set. |
error code | The function has failed. For information about possible error values, refer to Appendix |
![]() |
This function copies the Vtk_CertStore structure. Therefore, applications must call the Vtk_CertStoreDelete to release the memory and resources allocated to the Vtk_CertStore structure. |
ValiCert, Inc. http://www.valicert.com Voice: +1.650.567.5469 Fax: (+1.650.254.2148 support@valicert.com |