SetPublicKeyDecryptionPFXA

Security and signatures

Description

ANSI variant of SetPublicKeyDecryptionPFX

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

Syntax

DLL

int DLSetPublicKeyDecryptionPFXA(int InstanceID, const char* PFXFileName, const char* PFXPassword, int UseMachineKeyset);

Return values

1The credential was validated and retained
0The PFX or password was invalid and LastErrorCode returns 420

Remarks

The credential remains active across document loads until replaced or cleared

The DLL also exports DLSetPublicKeyDecryptionPFXA for ANSI strings

See also

SetPublicKeyDecryptionStore, ClearPublicKeyDecryptionCredential, GetPubSecStatus