Specifying or Retrieving Password for SDA Operation (SDAPassword)

Use the ICIPgpActionParams::SDAPassword property to specify or retrieve the password used to create a Self-Decrypting Archive (SDA) operation.

HRESULT SDAPassword([out, retval] BSTR* pVal);

HRESULT SDAPassword([in] BSTR newVal);

Examples (VBScript):

Retrieving:

MsgBox "Password for self-decrypting archive: " & PGPParams.SDAPassword

Specifying:

PGPParams.SDAPassword = "My_VeRy_CoMpLeX_PaSsWoRd"