aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_certstor_utils.h
blob: d3b26f52e6fb3b172a6134bde95d038e6a23a046 (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
35
36
37
38
39
/*
* (C) 1999-2019 Jack Lloyd
* (C) 2019      René Meusel
*
* Botan is released under the Simplified BSD License (see license.txt)
*/

#ifndef BOTAN_TEST_CERT_STORE_UTILS_H_
#define BOTAN_TEST_CERT_STORE_UTILS_H_

#include <string>
#include <vector>

#include <botan/build.h>

#if defined(BOTAN_HAS_X509_CERTIFICATES)

#include <botan/x509_dn.h>

namespace Botan_Tests {

Botan::X509_DN read_dn(const std::string hex);

Botan::X509_DN get_dn();

Botan::X509_DN get_utf8_dn();

std::vector<uint8_t> get_key_id();

Botan::X509_DN get_unknown_dn();

Botan::X509_DN get_skewed_dn();

std::vector<uint8_t> get_unknown_key_id();
}

#endif

#endif