webpg-npapi 0.6.1
FB::variant webpgPluginAPI::gpgSymmetricEncrypt ( const std::string &  data,
bool  sign = false 
)

Calls webpgPluginAPI::gpgEncrypt() without any recipients specified which initiates a Symmetric encryption method on the gpgme context.

Parameters:
dataThe data to symmetrically encrypt.
signThe data should also be signed. NOTE: Signed symmetric encryption does not work in gpgme v1.3.2; For details, see https://bugs.g10code.com/gnupg/issue1440

Definition at line 1316 of file webpgPluginAPI.cpp.

References gpgEncrypt().

Referenced by webpgPluginAPI().

{
    FB::VariantList empty_keys;
    return webpgPluginAPI::gpgEncrypt(data, empty_keys, sign);
}

Here is the call graph for this function:

 All Classes Functions