monotone

monotone Mtn Source Tree

Root/botan/x509stat.h

1/*************************************************
2* Globally Saved X.509 State Header *
3* (C) 1999-2007 The Botan Project *
4*************************************************/
5
6#include <botan/asn1_oid.h>
7
8namespace Botan {
9
10/*************************************************
11* Prototype for a Certificate Extension *
12*************************************************/
13class Extension_Prototype
14 {
15 public:
16 virtual class Certificate_Extension* make(const OID&) = 0;
17 virtual ~Extension_Prototype() {}
18 };
19
20/*************************************************
21* X.509 Global State *
22*************************************************/
23class X509_GlobalState
24 {
25 public:
26 void add(Extension_Prototype*);
27 class Certificate_Extension* get_extension(const OID&) const;
28
29 X509_GlobalState();
30 ~X509_GlobalState();
31 private:
32 std::vector<Extension_Prototype*> prototypes;
33 };
34
35}

Archive Download this file

Branches

Tags

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