monotone

monotone Mtn Source Tree

Root/botan/pkcs10.h

1/*************************************************
2* PKCS #10 Header File *
3* (C) 1999-2007 The Botan Project *
4*************************************************/
5
6#ifndef BOTAN_PKCS10_H__
7#define BOTAN_PKCS10_H__
8
9#include <botan/x509_obj.h>
10#include <botan/pkcs8.h>
11#include <botan/datastor.h>
12#include <vector>
13
14namespace Botan {
15
16/*************************************************
17* PKCS #10 Certificate Request *
18*************************************************/
19class PKCS10_Request : public X509_Object
20 {
21 public:
22 Public_Key* subject_public_key() const;
23
24 MemoryVector<byte> raw_public_key() const;
25 X509_DN subject_dn() const;
26 AlternativeName subject_alt_name() const;
27 Key_Constraints constraints() const;
28 std::vector<OID> ex_constraints() const;
29
30 bool is_CA() const;
31 u32bit path_limit() const;
32
33 std::string challenge_password() const;
34
35 PKCS10_Request(DataSource&);
36 PKCS10_Request(const std::string&);
37 private:
38 void force_decode();
39 void handle_attribute(const Attribute&);
40
41 Data_Store info;
42 };
43
44}
45
46#endif

Archive Download this file

Branches

Tags

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