1
/*************************************************
2
* Parser Functions Header File *
3
* (C) 1999-2007 The Botan Project *
4
*************************************************/
6
#ifndef BOTAN_PARSER_H__
7
#define BOTAN_PARSER_H__
9
#include <botan/types.h>
15
/*************************************************
16
* String Parsing Functions *
17
*************************************************/
18
std::vector<std::string> parse_algorithm_name(const std::string&);
19
std::vector<std::string> split_on(const std::string&, char);
20
std::vector<u32bit> parse_asn1_oid(const std::string&);
21
bool x500_name_cmp(const std::string&, const std::string&);
22
u32bit parse_expr(const std::string&);
24
/*************************************************
25
* String/Integer Conversions *
26
*************************************************/
27
std::string to_string(u64bit, u32bit = 0);
28
u32bit to_u32bit(const std::string&);