blob: 02910871a27f43e212723855eba6049dec5ad28c (
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
|
/*
* Certificate Store in SQL
* (C) 2016 Kai Michaelis, Rohde & Schwarz Cybersecurity
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_CERT_STORE_SQLITE_H__
#define BOTAN_CERT_STORE_SQLITE_H__
#include <botan/certstor_sql.h>
namespace Botan {
/**
* Certificate and private key store backed by an sqlite (http://sqlite.org) database.
*/
class BOTAN_PUBLIC_API(2,0) Certificate_Store_In_SQLite : public Certificate_Store_In_SQL
{
public:
/**
* Create/open a certificate store.
* @param db_path path to the database file
* @param passwd password to encrypt private keys in the database
* @param rng used for encrypting keys
* @param table_prefix optional prefix for db table names
*/
Certificate_Store_In_SQLite(const std::string& db_path,
const std::string& passwd,
RandomNumberGenerator& rng,
const std::string& table_prefix = "");
};
}
#endif
|