monotone

monotone Mtn Source Tree

Root/botan/oids.h

1/*************************************************
2* OID Registry Header File *
3* (C) 1999-2006 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* See if an OID exists in the internal table *
22*************************************************/
23bool have_oid(const std::string&);
24
25/*************************************************
26* Perform OID<->string mappings *
27*************************************************/
28std::string lookup(const OID&);
29OID lookup(const std::string&);
30bool name_of(const OID&, const std::string&);
31
32}
33
34}
35
36#endif

Archive Download this file

Branches

Tags

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