Inherits libdar::mem_ui.
Definition at line 50 of file crypto_asym.hpp.
un-cipher data
- Parameters
-
[in] | ciphered | contains the encrypted data to decipher |
[out] | clear | resulting un-ciphered (thus clear) data (the object must be readable) |
- Note
- this assumes the GnuPG keyring has an appropriated private key (the objet must be writable)
void libdar::crypto_asym::encrypt |
( |
const std::vector< std::string > & |
recipients_email, |
|
|
generic_file & |
clear, |
|
|
generic_file & |
ciphered |
|
) |
| |
encrypt (and sign if signatures have been given using set_signatories) data for the given recipients
- Parameters
-
[in] | recipients_email | list of email of recipient that will be able to read the encrypted data |
[in] | clear | where to read from clear data to be encrypted (the object must be readable) |
[out] | ciphered | where to write down encrypted data (the object must be writable) |
- Note
- this assumes the GnuPG keyring has the public keys of the recipient listed
const std::list<signator>& libdar::crypto_asym::verify |
( |
| ) |
const |
|
inline |
after un-ciphering data retrieve the list of signature that were used beside encryption return a sorted list of signatories
Definition at line 86 of file crypto_asym.hpp.
The documentation for this class was generated from the following file: