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 | Το πιστοποιητικό διαβάστηκε και η ρύθμιση επισυνάφθηκε |
|---|---|
| 0 | Το αρχείο, το process id ή το όνομα κλειδιού ήταν άκυρα |
Παρατηρήσεις
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