Botan  1.11.15
Namespaces | Functions
src/lib/misc/pem/pem.h File Reference
#include <botan/data_src.h>

Go to the source code of this file.

Namespaces

namespace  Botan
namespace  Botan::PEM_Code

Functions

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