<< back to sysax.com Product page |
The PGPEncrypt method can be used to encrypt files using OpenPGP.
Exhibit 12.3. IDL Definition of method to encrypting files
HRESULT PGPEncrypt ([in] BSTR b_infilename, [in] BSTR b_username, [in] BSTR b_outfilename, [in, defaultvalue("")] BSTR b_keyringfile); |
Exhibit 12.4. Example usage of method to encrypting files (VBScript)
app.PGPEncrypt "file.txt", "myuser", "file.pgp", "" |