11#include <botan/asn1_obj.h>
12#include <unordered_map>
63inline bool BOTAN_DEPRECATED(
"Use oid == OID::from_string(name)")
name_of(const
OID& oid, const
std::
string&
name)
84inline std::string BOTAN_DEPRECATED(
"Use oid2str_or_empty")
oid2str(const
OID& oid)
#define BOTAN_UNSTABLE_API
bool name_of(const OID &oid, const std::string &name)
std::string oid2str(const OID &oid)
BOTAN_UNSTABLE_API std::string oid2str_or_throw(const OID &oid)
BOTAN_UNSTABLE_API void add_str2oid(const OID &oid, const std::string &name)
BOTAN_UNSTABLE_API void add_oidstr(const char *oidstr, const char *name)
BOTAN_UNSTABLE_API void add_oid2str(const OID &oid, const std::string &name)
std::unordered_map< std::string, OID > load_str2oid_map()
BOTAN_UNSTABLE_API std::string oid2str_or_empty(const OID &oid)
std::string lookup(const OID &oid)
OID str2oid(const std::string &name)
BOTAN_UNSTABLE_API bool have_oid(const std::string &oid)
BOTAN_UNSTABLE_API void add_oid(const OID &oid, const std::string &name)
BOTAN_UNSTABLE_API OID str2oid_or_empty(const std::string &name)
std::unordered_map< std::string, std::string > load_oid2str_map()