monotone

monotone Mtn Source Tree

Root/botan/oids.h

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

Archive Download this file

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status