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

Δείτε επίσης

SetSignProcessCNGKey, SetSignProcessPFXFromFile