11#include <botan/secmem.h>
29 const
std::
string& label,
30 size_t line_width = 64);
38template<typename Alloc>
40 const
std::
string& label,
41 size_t line_width = 64)
43 return encode(data.data(), data.size(), label, line_width);
69 const
std::
string& label);
78 const
std::
string& label);
84 const
std::
string& extra = "",
85 size_t search_range = 4096);
#define BOTAN_PUBLIC_API(maj, min)
std::string encode(const uint8_t der[], size_t length, const std::string &label, size_t width)
bool matches(DataSource &source, const std::string &extra, size_t search_range)
secure_vector< uint8_t > decode_check_label(DataSource &source, const std::string &label_want)
secure_vector< uint8_t > decode(DataSource &source, std::string &label)
std::vector< T, secure_allocator< T > > secure_vector