Botan 3.4.0
Crypto and TLS for C&
Namespaces | Functions
pem.h File Reference

Public Header. More...

#include <botan/secmem.h>
#include <string>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  Botan
 
namespace  Botan::PEM_Code
 

Functions

secure_vector< uint8_t > Botan::PEM_Code::decode (DataSource &source, std::string &label)
 
secure_vector< uint8_t > Botan::PEM_Code::decode (std::string_view pem, std::string &label)
 
secure_vector< uint8_t > Botan::PEM_Code::decode_check_label (DataSource &source, std::string_view label_want)
 
secure_vector< uint8_t > Botan::PEM_Code::decode_check_label (std::string_view pem, std::string_view label_want)
 
template<typename Alloc >
std::string Botan::PEM_Code::encode (const std::vector< uint8_t, Alloc > &data, std::string_view label, size_t line_width=64)
 
std::string Botan::PEM_Code::encode (const uint8_t der[], size_t length, std::string_view label, size_t width)
 
bool Botan::PEM_Code::matches (DataSource &source, std::string_view extra, size_t search_range)
 

Detailed Description

Public Header.

Definition in file pem.h.