Determining Operation for PGP Event Action (Operation)

icon_info.gif

This property is available in EFT Server 5.2 and later.

Use the ICIPgpActionParams interface Operation property to verify or specify whether an OpenPGP Event Action will Encrypt, Decrypt, Encrypt and Sign, Sign Only, or Self-Decrypting Archive (SDA).

Signature:

HRESULT Operation([out, retval] PGPOperation *pVal);

HRESULT Operation([in] PGPOperation newVal);

Example:

pgpParams.Operation = 0 'Encrypt

In version 6.1, PGPOperation enumeration was extended to support new PGP operations introduced in EFT 6.0:

typedef enum {

Encrypt = 0, // Encrypt file with PGP key

EncryptAndSign = 1, // Encrypt + Sign file

Sign = 2, // Sign file

SDA = 3, // Create Self-decrypting archive

Decrypt = 4  // Decrypt PGP-encrypted file

} PGPOperation;