Vtk_ValidationAddReqExt
Toolkit Reference

prevnext

Vtk_ValidationAddReqExt

#include <vtk_valid.h>
#include <vtk_err.h>
Vtk_uint32 Vtk_ValidationAddReqExt(
const Vtk_Ctxt *ctxt, /* input */
Vtk_Validation *val, /* input/output */
const Vtk_Extension *ext /* input */
);

Description

This validation function adds an extension to an entire OCSP or CRT validation request. A validation request can be for one or more certificates. An extension added using this function applies to all the certificates in the request. An application can call Vtk_ExtensionNew to create an extension and can call Vtk_ExtensionInit to initialize the data. The data by can be any data that the application wants to add to a validation request.

An extension added with this function can have a VA server extension counterpart that provides Stateful Validation using the VA API described in the ValiCert Enterprise VA Installation and Administration Guide.

Parameters

ctxt Pointer to Toolkit context created using the Vtk_CtxtNew function and for which memory has been allocated.
val Pointer to the validation query structure that contains certificates to be validated.
ext Pointer to the extension to be added to the request.

Return Value
VTK_OK The function has completed successfully and the extension has been added to the validation query.
error code The function has failed. For information about possible error values, refer to Appendix 

Notes

An application can add extensions to the entire request as well as individual certificates in the validation request.


See Also

Vtk_ValidationAddReqExtForSingleCert

Vtk_ValidationAddReqExtForSingleCertHdl

prevnext


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