Botan 3.13.0
Crypto and TLS for C&
pkcs12_pbe.h File Reference

Internal Header. More...

#include <botan/asn1_obj.h>
#include <botan/secmem.h>
#include <span>
#include <string_view>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

secure_vector< uint8_t > Botan::pkcs12_pbe_decrypt (std::span< const uint8_t > ciphertext, std::string_view password, const AlgorithmIdentifier &pbe_algo, bool openssl_empty_pwd_compat)
std::pair< AlgorithmIdentifier, std::vector< uint8_t > > Botan::pkcs12_pbe_encrypt (std::span< const uint8_t > plaintext, std::string_view password, std::string_view algo, size_t iterations, RandomNumberGenerator &rng)

Variables

constexpr size_t Botan::PKCS12_MAX_ITERATIONS = 100'000'000

Detailed Description

Internal Header.

Definition in file pkcs12_pbe.h.