AddPublicKeyRecipientFromStoreA

Security and signatures

Description

ANSI variant of AddPublicKeyRecipientFromStore

Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point

Syntax

DLL

int DLAddPublicKeyRecipientFromStoreA(int InstanceID, const char* StoreName, const char* CertificateName, int UseMachineStore, int Permissions);

Return values

1The recipient certificate was added
0The store, certificate, permissions, or document state was invalid

Remarks

The DLL also exports DLAddPublicKeyRecipientFromStoreA for ANSI strings

See also

SetPublicKeyDecryptionStore, EncryptPublicKey