|
PackHeader | checkSignThenDecrypt (const std::vector< std::string > &sign_pub_keys, const std::string &dec_sec_key_fname, const jau::io::secure_string &passphrase, jau::io::ByteInStream &source, CipherpackListenerRef listener, const std::string_view &plaintext_hash_algo, const std::string destination_fname="") |
| Verify signature then decrypt the source passing to the CipherpackListener if opt-in and also optionally store into destination file. More...
|
|
std::string_view | default_hash_algo () noexcept |
| Name of default hash algo for the plaintext message, e.g. More...
|
|
PackHeader | encryptThenSign (const CryptoConfig &crypto_cfg, const std::vector< std::string > &enc_pub_keys, const std::string &sign_sec_key_fname, const jau::io::secure_string &passphrase, jau::io::ByteInStream &source, const std::string &target_path, const std::string &subject, const std::string &plaintext_version, const std::string &plaintext_version_parent, CipherpackListenerRef listener, const std::string_view &plaintext_hash_algo, const std::string destination_fname="") |
| Encrypt then sign the source producing a cipherpack stream passed to the CipherpackListener if opt-in and also optionally store into destination_fname. More...
|
|
std::shared_ptr< Botan::Private_Key > | load_private_key (const std::string &privatekey_fname, const jau::io::secure_string &passphrase) |
|
std::shared_ptr< Botan::Public_Key > | load_public_key (const std::string &pubkey_fname) |
|
std::string | to_string (const PackHeader &ph) noexcept |
|