Vtk_ValidationAddReqExtForSingleCertHdl
Toolkit Reference

prevnext

Vtk_ValidationAddReqExtForSingleCertHdl

#include <vtk_valid.h>
#include <vtk_err.h>
Vtk_uint32 Vtk_ValidationAddReqExtForSingleCertHdl(
const Vtk_Ctxt *ctxt, /* input */
const Vtk_ValHdl *hdl, /* input */
const Vtk_Extension *ext, /* input */
);

Description

This validation function adds an extension to a specific certificate in a validation request. The Vtk_ValHdl passed in this function is used to identify the certificate to which the application wants an extension added. If the application wants to identify the certificate by means of its validation handle using this function, the application must first obtain the Vtk_ValHdl structure by calling the Vtk_AddCert, Vtk_AddCertRaw, or Vtk_ValidationGetValHdl function.

Compare this function with the Vtk_ValidationAddReqExtForSingleCert function which allows an application to identify a specific certificate using the certificate/issuer pair.

Parameters

ctxt Pointer to Toolkit context created using the Vtk_CtxtNew function and for which memory has been allocated.
hdl Pointer to the certificate in the validation query structure to add the extension.
ext Pointer to the extension to add to the specific certificate.

Return Value
VTK_OK The function has completed successfully and the extension has been added to the certificate in 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_ValidationAddCert

Vtk_ValidationAddCertRaw

Vtk_ValidationAddReqExt

Vtk_ValidationAddReqExtForSingleCertHdl

Vtk_ValidationGetValHdl

prevnext


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