WinSubmitCertificate

[New - Windows NT]

The WinSubmitCertificate function passes a WIN_CERTIFICATE structure to all trust providers registered with the WinTrust service.

BOOL WinSubmitCertificate(

LPWIN_CERTIFICATE lpCertificate // pointer to a WIN_CERTIFICATE structure
);  

Parameters

lpCertificate

Pointer to a WIN_CERTIFICATE structure.

Return Values

If the function succeeds, the return value is a nonzero value.

If the lpCertificate parameter is invalid, the return value is zero. To get extended error information, call GetLastError.

Remarks

A call to WinSubmitCertificate causes WinTrust to load all registered trust providers and submit the certificate to them. Each trust provider can save a copy of the certificate for future use, or discard it. For example, Microsoft's Software Publisher Trust Provider might save certificates related to software publishing, but discard other certificates. WinSubmitCertificate does not return any indication of whether any trust provider saved the certificate.

See Also

WIN_CERTIFICATE