blob: b5be0e01f5a3bdab4bb8218e0b1a1f7c98d9f147 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/*************************************************
* OID Registry Header File *
* (C) 1999-2007 Jack Lloyd *
*************************************************/
#ifndef BOTAN_OIDS_H__
#define BOTAN_OIDS_H__
#include <botan/asn1_oid.h>
namespace Botan {
namespace OIDS {
/*************************************************
* Register an OID to string mapping *
*************************************************/
BOTAN_DLL void add_oid(const OID&, const std::string&);
/*************************************************
* See if an OID exists in the internal table *
*************************************************/
BOTAN_DLL bool have_oid(const std::string&);
/*************************************************
* Perform OID<->string mappings *
*************************************************/
BOTAN_DLL std::string lookup(const OID&);
BOTAN_DLL OID lookup(const std::string&);
BOTAN_DLL bool name_of(const OID&, const std::string&);
}
}
#endif
|