Botan  1.11.15
Namespaces | Functions
src/lib/utils/parsing.cpp File Reference
#include <botan/parsing.h>
#include <botan/exceptn.h>
#include <botan/charset.h>
#include <botan/get_byte.h>
#include <set>
#include <stdexcept>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

std::string Botan::erase_chars (const std::string &str, const std::set< char > &chars)
std::string Botan::ipv4_to_string (u32bit ip)
std::vector< std::string > Botan::parse_algorithm_name (const std::string &namex)
std::vector< u32bit > Botan::parse_asn1_oid (const std::string &oid)
std::string Botan::replace_char (const std::string &str, char from_char, char to_char)
std::string Botan::replace_chars (const std::string &str, const std::set< char > &chars, char to_char)
std::vector< std::string > Botan::split_on (const std::string &str, char delim)
std::vector< std::string > Botan::split_on_pred (const std::string &str, std::function< bool(char)> pred)
std::string Botan::string_join (const std::vector< std::string > &strs, char delim)
u32bit Botan::string_to_ipv4 (const std::string &str)
u32bit Botan::timespec_to_u32bit (const std::string &timespec)
u32bit Botan::to_u32bit (const std::string &str)
bool Botan::x500_name_cmp (const std::string &name1, const std::string &name2)