Botan  2.4.0
Crypto and TLS for C++11
Namespaces | Functions
pkcs8.cpp File Reference
#include <botan/pkcs8.h>
#include <botan/rng.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/pk_algs.h>

Go to the source code of this file.

Namespaces

 Botan
 
 Botan::PKCS8
 

Functions

secure_vector< uint8_t > Botan::PKCS8::BER_encode (const Private_Key &key)
 
std::vector< uint8_t > Botan::PKCS8::BER_encode (const Private_Key &key, RandomNumberGenerator &rng, const std::string &pass, std::chrono::milliseconds msec, const std::string &pbe_algo)
 
std::vector< uint8_t > Botan::PKCS8::BER_encode_encrypted_pbkdf_iter (const Private_Key &key, RandomNumberGenerator &rng, const std::string &pass, size_t pbkdf_iterations, const std::string &cipher, const std::string &pbkdf_hash)
 
std::vector< uint8_t > Botan::PKCS8::BER_encode_encrypted_pbkdf_msec (const Private_Key &key, RandomNumberGenerator &rng, const std::string &pass, std::chrono::milliseconds pbkdf_msec, size_t *pbkdf_iterations, const std::string &cipher, const std::string &pbkdf_hash)
 
std::unique_ptr< Private_Key > Botan::PKCS8::copy_key (const Private_Key &key)
 
Private_Key * Botan::PKCS8::copy_key (const Private_Key &key, RandomNumberGenerator &rng)
 
std::unique_ptr< Private_Key > Botan::PKCS8::load_key (DataSource &source, std::function< std::string()> get_pass)
 
std::unique_ptr< Private_Key > Botan::PKCS8::load_key (DataSource &source, const std::string &pass)
 
std::unique_ptr< Private_Key > Botan::PKCS8::load_key (DataSource &source)
 
Private_Key * Botan::PKCS8::load_key (DataSource &source, 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 (DataSource &source, RandomNumberGenerator &rng)
 
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)
 
std::string Botan::PKCS8::PEM_encode_encrypted_pbkdf_iter (const Private_Key &key, RandomNumberGenerator &rng, const std::string &pass, size_t pbkdf_iterations, const std::string &cipher, const std::string &pbkdf_hash)
 
std::string Botan::PKCS8::PEM_encode_encrypted_pbkdf_msec (const Private_Key &key, RandomNumberGenerator &rng, const std::string &pass, std::chrono::milliseconds pbkdf_msec, size_t *pbkdf_iterations, const std::string &cipher, const std::string &pbkdf_hash)