|
Botan 3.9.0
Crypto and TLS for C&
|
Functions | |
| void | add_oid (const OID &oid, std::string_view name) |
| BOTAN_UNSTABLE_API void | add_oid2str (const OID &oid, std::string_view name) |
| void | add_oidstr (const char *oidstr, const char *name) |
| BOTAN_UNSTABLE_API void | add_str2oid (const OID &oid, std::string_view name) |
| std::string | lookup (const OID &oid) |
| OID | lookup (std::string_view name) |
| std::string | oid2str_or_empty (const OID &oid) |
| std::string | oid2str_or_throw (const OID &oid) |
| OID | str2oid_or_empty (std::string_view name) |
|
inline |
Register an OID to string mapping.
| oid | the oid to register |
| name | the name to be associated with the oid |
Definition at line 22 of file oids.h.
References add_oid(), and Botan::OID::register_oid().
Referenced by add_oid().
| void Botan::OIDS::add_oid2str | ( | const OID & | oid, |
| std::string_view | name ) |
Definition at line 14 of file oids.cpp.
References Botan::OID_Map::add_oid2str(), and Botan::OID_Map::global_registry().
|
inline |
Definition at line 30 of file oids.h.
References add_oidstr(), BOTAN_DEPRECATED, and Botan::OID::register_oid().
Referenced by add_oidstr().
| void Botan::OIDS::add_str2oid | ( | const OID & | oid, |
| std::string_view | name ) |
Definition at line 18 of file oids.cpp.
References Botan::OID_Map::add_str2oid(), and Botan::OID_Map::global_registry().
|
inline |
|
inline |
Definition at line 65 of file oids.h.
References Botan::OID::from_name(), and lookup().
|
inline |
Resolve an OID
| oid | the OID to look up |
Definition at line 39 of file oids.h.
References oid2str_or_empty().
Referenced by oid2str_or_empty().
|
inline |
Definition at line 53 of file oids.h.
References oid2str_or_throw().
Referenced by oid2str_or_throw().
|
inline |
Find the OID to a name. The lookup will be performed in the general OID section of the configuration.
| name | the name to resolve |
Definition at line 49 of file oids.h.
References Botan::OID::from_name(), and str2oid_or_empty().
Referenced by str2oid_or_empty().