Botan  1.11.15
Classes | Namespaces | Functions
src/lib/pubkey/pkcs8.h File Reference
#include <botan/x509_key.h>
#include <functional>
#include <chrono>

Go to the source code of this file.

Classes

struct  Botan::PKCS8_Exception

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)