Botan 3.9.0
Crypto and TLS for C&
pem.cpp File Reference
#include <botan/pem.h>
#include <botan/base64.h>
#include <botan/data_src.h>
#include <botan/exceptn.h>
#include <botan/internal/fmt.h>

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)
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)