diff options
author | lloyd <[email protected]> | 2006-05-18 18:33:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-05-18 18:33:19 +0000 |
commit | a2c99d3270eb73ef2db5704fc54356c6b75096f8 (patch) | |
tree | ad3d6c4fcc8dd0f403f8105598943616246fe172 /include/parsing.h |
Initial checkin1.5.6
Diffstat (limited to 'include/parsing.h')
-rw-r--r-- | include/parsing.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/parsing.h b/include/parsing.h new file mode 100644 index 000000000..87558e0b3 --- /dev/null +++ b/include/parsing.h @@ -0,0 +1,32 @@ +/************************************************* +* Parser Functions Header File * +* (C) 1999-2006 The Botan Project * +*************************************************/ + +#ifndef BOTAN_PARSER_H__ +#define BOTAN_PARSER_H__ + +#include <botan/types.h> +#include <string> +#include <vector> + +namespace Botan { + +/************************************************* +* String Parsing Functions * +*************************************************/ +std::vector<std::string> parse_algorithm_name(const std::string&); +std::vector<std::string> split_on(const std::string&, char); +std::vector<u32bit> parse_asn1_oid(const std::string&); +bool x500_name_cmp(const std::string&, const std::string&); +u32bit parse_expr(const std::string&); + +/************************************************* +* String/Integer Conversions * +*************************************************/ +std::string to_string(u64bit, u32bit = 0); +u32bit to_u32bit(const std::string&); + +} + +#endif |