11 #include <botan/data_src.h>
20 BOTAN_DLL std::string
encode(
const byte[],
size_t,
21 const std::string&,
size_t = 64);
22 BOTAN_DLL std::string
encode(
const MemoryRegion<byte>&,
23 const std::string&,
size_t = 64);
25 BOTAN_DLL SecureVector<byte>
decode(DataSource&, std::string&);
28 BOTAN_DLL
bool matches(DataSource&,
const std::string& =
"",
29 size_t search_range = 4096);
SecureVector< byte > decode(DataSource &source, std::string &label)
bool matches(DataSource &source, const std::string &extra, size_t search_range)
std::string encode(const byte der[], size_t length, const std::string &label, size_t width)
SecureVector< byte > decode_check_label(DataSource &source, const std::string &label_want)