SetSignProcessCNGKeyFromFileA
אבטחה וחתימות
תיאור
ANSI variant of SetSignProcessCNGKeyFromFileAccepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
תחביר
DLL
int DLSetSignProcessCNGKeyFromFileA(int InstanceID, int SignProcessID, const char* CertificateFile, const char* ProviderName, const char* KeyName, int UseMachineKey, int AllowUI);ערכי החזרה
| 1 | The certificate was read and the configuration was attached |
|---|---|
| 0 | The file, process id, or key name was invalid |
הערות
ה-DLL מייצא גם DLSetSignProcessCNGKeyFromFileA עבור נתיבי ושמות ANSIאת בייטי התעודה שומר תהליך החתימה, בזמן שהמפתח הפרטי נשאר בתוך הספק שלו