|
|
This property is available in EFT Server 5.2 and later. |
Use the ICIPgpActionParams interface KeyIDs property to retrieve the list of OpenPGP key IDs for encrypting/decrypting keys. You can also use the property to change the keys used to encrypt/decrypt.
HRESULT KeyIDs([out, retval] SAFEARRAY(BSTR) *pVal);
HRESULT KeyIDs([in] SAFEARRAY(BSTR) newVal);
pgpParams.KeyIDs = Array("0x067194CB", "0x4567890F")
HRESULT KeyIDs([out, retval] VARIANT *pVal);
HRESULT KeyIDs([in] VARIANT newVal);
For retrieving:
For Each key In PGPParams.KeyIDs
MsgBox "Key " & key & " will be used in encryption"
Next
For specifying:
PGPParams.KeyIDs = Array("0x01234567", "0x89ABCDEF")