Botan  1.11.15
Namespaces | Functions
src/lib/pubkey/pkcs8.cpp File Reference
#include <botan/pkcs8.h>
#include <botan/der_enc.h>
#include <botan/ber_dec.h>
#include <botan/alg_id.h>
#include <botan/oids.h>
#include <botan/pem.h>
#include <botan/pbes2.h>
#include <botan/scan_name.h>
#include <botan/internal/pk_algs.h>

Go to the source code of this file.

Namespaces

namespace  Botan
namespace  Botan::PKCS8

Functions

secure_vector< byte > Botan::PKCS8::BER_encode (const Private_Key &key)
std::vector< byte > Botan::PKCS8::BER_encode (const Private_Key &key, RandomNumberGenerator &rng, const std::string &pass, std::chrono::milliseconds msec, const std::string &pbe_algo)
Private_Key * Botan::PKCS8::copy_key (const Private_Key &key, RandomNumberGenerator &rng)
Private_Key * Botan::PKCS8::load_key (DataSource &source, RandomNumberGenerator &rng, std::function< std::string()> get_pass)
Private_Key * Botan::PKCS8::load_key (const std::string &fsname, RandomNumberGenerator &rng, std::function< std::string()> get_pass)
Private_Key * Botan::PKCS8::load_key (DataSource &source, RandomNumberGenerator &rng, const std::string &pass)
Private_Key * Botan::PKCS8::load_key (const std::string &fsname, RandomNumberGenerator &rng, const std::string &pass)
std::string Botan::PKCS8::PEM_encode (const Private_Key &key)
std::string Botan::PKCS8::PEM_encode (const Private_Key &key, RandomNumberGenerator &rng, const std::string &pass, std::chrono::milliseconds msec, const std::string &pbe_algo)