Prev Next

WinTrustProviderSubmitCertificate info

The WinTrustProviderSubmitCertificate function passes a WIN_CERTIFICATE structure to a trust provider. When an application calls the WinSubmitCertificate function, WinTrust loads and calls the WinTrustProviderSubmitCertificate function of all registered trust providers.

VOID WinTrustProviderSubmitCertificate (

    LPWIN_CERTIFICATE  lpCertificate

// pointer to the certificate

   );

Parameters

lpCertificate
Pointer to a WIN_CERTIFICATE structure that may contain a certificate of interest to the trust provider.

Return Values

None.

Remarks

Each trust provider can either save the certificate for future use, or ignore it.

WinTrust calls the WinTrustProviderSubmitCertificate function only on the client component of the trust provider.

Each trust provider must implement the WinTrustProviderSubmitCertificate function. The trust provider provides WinTrust with a pointer to its implementation when WinTrust calls the trust provider’s WinTrustProviderClientInitialize initialization function.

The LPWINTRUST_PROVIDER_SUBMIT_CERTIFICATE type is a pointer to a WinTrustProviderSubmitCertificate function.

See Also

WIN_CERTIFICATE, WinTrustProviderClientInitialize