#include <cipherpack/cipherpack.hpp>
#include <cstdint>
#include <jau/debug.hpp>
#include <jau/file_util.hpp>
Go to the source code of this file.
|
static std::vector< uint8_t > | _fingerprint_public (const Botan::Public_Key &key, Botan::HashFunction &hash_func) |
|
static uint64_t | _read_buffer (jau::io::ByteInStream &in, secure_vector< uint8_t > &buffer) noexcept |
|
static uint64_t | _read_stream (jau::io::ByteInStream &in, cipherpack::secure_vector< uint8_t > &buffer, const _StreamConsumerFunc &consumer_fn) noexcept |
|
static uint64_t | _read_stream (jau::io::ByteInStream &in, cipherpack::secure_vector< uint8_t > &buffer1, secure_vector< uint8_t > &buffer2, const _StreamConsumerFunc &consumer_fn) noexcept |
|
static PackHeader | checkSignThenDecrypt_Impl (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) |
|
static PackHeader | encryptThenSign_Impl (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) |
|
static Botan::BigInt | to_BigInt (const uint64_t &v) |
|
static std::vector< uint8_t > | to_OctetString (const std::string &s) |
|
static int64_t | to_positive_int64_t (const Botan::BigInt &v) |
|
static std::string | to_string (const std::vector< uint8_t > &v) |
|
static uint64_t | to_uint64_t (const Botan::BigInt &v) |
|
◆ _StreamConsumerFunc
◆ to_BigInt()
static Botan::BigInt to_BigInt |
( |
const uint64_t & |
v | ) |
|
|
static |
◆ to_uint64_t()
static uint64_t to_uint64_t |
( |
const Botan::BigInt & |
v | ) |
|
|
static |
◆ to_positive_int64_t()
static int64_t to_positive_int64_t |
( |
const Botan::BigInt & |
v | ) |
|
|
static |
◆ to_OctetString()
static std::vector< uint8_t > to_OctetString |
( |
const std::string & |
s | ) |
|
|
static |
◆ to_string()
static std::string to_string |
( |
const std::vector< uint8_t > & |
v | ) |
|
|
static |
◆ _read_stream() [1/2]
◆ _read_buffer()
static uint64_t _read_buffer |
( |
jau::io::ByteInStream & |
in, |
|
|
secure_vector< uint8_t > & |
buffer |
|
) |
| |
|
staticnoexcept |
◆ _read_stream() [2/2]
◆ _fingerprint_public()
static std::vector< uint8_t > _fingerprint_public |
( |
const Botan::Public_Key & |
key, |
|
|
Botan::HashFunction & |
hash_func |
|
) |
| |
|
static |
◆ encryptThenSign_Impl()
static PackHeader encryptThenSign_Impl |
( |
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 |
|
) |
| |
|
static |
◆ checkSignThenDecrypt_Impl()
static PackHeader checkSignThenDecrypt_Impl |
( |
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 |
|
) |
| |
|
static |