Vtk_ChainBuildCallBack
Toolkit Reference

prevnext

Vtk_ChainBuildCallBack

typedef int (VTK_CALLBACK*Vtk_ChainBuildCallback)
(
void *userHdl,
const Vtk_Cert *nextCert
);

Description

This callback function is used for certificate chain building. When an application calls the Vtk_ValidationAddCertChain function, the application can use this callback to provide a function pointer that will be called every time the Toolkit discovers a new link in the certificate chain.

Once the application completes its processing, it returns a 0 or 1 to the Toolkit. The values are as follows:

Parameters


userHdl Parameter that the Toolkit calls. The application provides this parameter.
nextCert Certificate that is to be added to the chain

Notes

None

See Also

Vtk_ValidationAddCertChain

prevnext


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