SetSignProcessCNGKeyFromFileA
Bezpečnosť a podpisy
Opis
ANSI variant of SetSignProcessCNGKeyFromFileAccepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
Syntax
DLL
int DLSetSignProcessCNGKeyFromFileA(int InstanceID, int SignProcessID, const char* CertificateFile, const char* ProviderName, const char* KeyName, int UseMachineKey, int AllowUI);Návratové hodnoty
| 1 | The certificate was read and the configuration was attached |
|---|---|
| 0 | The file, process id, or key name was invalid |
Poznámky
The DLL also exports DLSetSignProcessCNGKeyFromFileA for ANSI paths and namesThe certificate bytes are retained by the sign process, while the private key remains inside its provider