AddPublicKeyRecipientFromFileA

אבטחה וחתימות

תיאור

ANSI variant of AddPublicKeyRecipientFromFileAccepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point

תחביר

DLL

int DLAddPublicKeyRecipientFromFileA(int InstanceID, const char* CertificateFileName, int Permissions);

ערכי החזרה

1The recipient was added or an identical entry was already present
0The certificate, permissions, or document state was invalid

הערות

נמענים בעלי הרשאות זהות חולקים מעטפת CMS אחת, בעוד שמסכות הרשאות שונות יוצרות קבוצות מעטפת נפרדות; ה-DLL מייצא גם

DLAddPublicKeyRecipientFromFileA for ANSI paths

ראה גם

AddPublicKeyRecipientFromPFX, AddPublicKeyRecipientFromStore, EncryptPublicKey