Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The CertChainFindByIssuerCallback function is an application-defined callback function that allows the application to filter certificates that might be added to the certificate chain. A pointer to this function is provided in the pfnFindCallback member of the CERT_CHAIN_FIND_BY_ISSUER_PARA structure.
Syntax
PFN_CERT_CHAIN_FIND_BY_ISSUER_CALLBACK PfnCertChainFindByIssuerCallback;
BOOL PfnCertChainFindByIssuerCallback(
[in] PCCERT_CONTEXT pCert,
[in] void *pvFindArg
)
{...}
Parameters
[in] pCert
A pointer to a CERT_CONTEXT structure that contains the certificate in question.
[in] pvFindArg
A pointer to an application-defined value. This is the same value that was passed in the pvFindArg member of the CERT_CHAIN_FIND_BY_ISSUER_PARA structure.
Return value
Return TRUE to create a chain for the certificate specified in the pCert parameter, or FALSE otherwise.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | wincrypt.h |