Vtk_DelegatedIssuerCallBack
Toolkit Reference

prevnext

Vtk_DelegatedIssuerCallBack

typedef int (VTK_CALLBACK*Vtk_DelegatedIssuerCallback)
(
void *userHdl,
const Vtk_Cert *delegatedCert,
const Vtk_Cert *trustedCert
);

Description

This callback function allows applications to examine and reject the certificate used to validate the validation response. It is used when the signer of the response is not directly part of the trusted VA or CA certificate store. The Toolkit calls back the application during its checking of OCSP and CRT responses in delegated trust models. It is only used in VA or CA delegated trust paradigms.

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.
delegatedCert Certificate that has been delegated and needs to be checked
trustedCert CA or VA that issued the delegated certificate.

Notes

This callback is set through the Vtk_CtxtSetOption.


See Also

Vtk_CtxtLogType

Vtk_Callback

prevnext


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