Botan  1.11.15
Namespaces | Functions
src/lib/asn1/oid_lookup/oids.cpp File Reference
#include <botan/oids.h>
#include <botan/parsing.h>
#include <mutex>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Botan
namespace  Botan::OIDS

Functions

void Botan::OIDS::add_oid (const OID &oid, const std::string &name)
void Botan::OIDS::add_oid2str (const OID &oid, const std::string &name)
void Botan::OIDS::add_oidstr (const char *oidstr, const char *name)
void Botan::OIDS::add_str2oid (const OID &oid, const std::string &name)
bool Botan::OIDS::have_oid (const std::string &name)
std::string Botan::OIDS::lookup (const OID &oid)
OID Botan::OIDS::lookup (const std::string &name)
bool Botan::OIDS::name_of (const OID &oid, const std::string &name)

Variable Documentation

std::mutex m_mutex
std::map<OID, std::string> m_oid2str

Definition at line 97 of file oids.cpp.

std::map<std::string, OID> m_str2oid

Definition at line 96 of file oids.cpp.