aboutsummaryrefslogtreecommitdiffstats
path: root/include/oids.h
blob: 32a8fd051019edb995d95ec1c2cb01c428fdf94b (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-2008 The Botan Project                *
*************************************************/

#ifndef BOTAN_OIDS_H__
#define BOTAN_OIDS_H__

#include <botan/asn1_oid.h>

namespace Botan {

namespace OIDS {

/*************************************************
* Register an OID to string mapping              *
*************************************************/
void add_oid(const OID&, const std::string&);

/*************************************************
* See if an OID exists in the internal table     *
*************************************************/
bool have_oid(const std::string&);

/*************************************************
* Perform OID<->string mappings                  *
*************************************************/
std::string lookup(const OID&);
OID lookup(const std::string&);
bool name_of(const OID&, const std::string&);

}

}

#endif