SetPublicKeyDecryptionPFXA
אבטחה וחתימות
תיאור
ANSI variant of SetPublicKeyDecryptionPFXAccepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
תחביר
DLL
int DLSetPublicKeyDecryptionPFXA(int InstanceID, const char* PFXFileName, const char* PFXPassword, int UseMachineKeyset);ערכי החזרה
| 1 | The credential was validated and retained |
|---|---|
| 0 | ה-PFX או הסיסמה לא היו חוקיים, ו-LastErrorCode מחזירה 420 |
הערות
ה-credential נשאר פעיל לאורך טעינות מסמך עד שמוחלף או נמחק; ה-DLL מייצא גם
DLSetPublicKeyDecryptionPFXA for ANSI strings
ראה גם
SetPublicKeyDecryptionStore, ClearPublicKeyDecryptionCredential, GetPubSecStatus