11#include <botan/secmem.h>
29std::
string encode(const uint8_t data[],
size_t data_len, std::string_view label,
size_t line_width = 64);
37template <typename Alloc>
38std::
string encode(const std::vector<uint8_t, Alloc>& data, std::string_view label,
size_t line_width = 64) {
39 return encode(data.data(), data.size(), label, line_width);
#define BOTAN_PUBLIC_API(maj, min)
std::string encode(const uint8_t der[], size_t length, std::string_view label, size_t width)
secure_vector< uint8_t > decode_check_label(DataSource &source, std::string_view label_want)
bool matches(DataSource &source, std::string_view extra, size_t search_range)
secure_vector< uint8_t > decode(DataSource &source, std::string &label)
std::vector< T, secure_allocator< T > > secure_vector