Botan 3.6.1
Crypto and TLS for C&
pkcs8.h File Reference

Public Header. More...

#include <botan/data_src.h>
#include <botan/exceptn.h>
#include <botan/pk_keys.h>
#include <botan/secmem.h>
#include <chrono>
#include <functional>
#include <memory>
#include <span>
#include <string_view>

Go to the source code of this file.

Classes

class  Botan::PKCS8_Exception
 

Namespaces

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

Detailed Description

Public Header.

Definition in file pkcs8.h.