aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_certstor_utils.h
blob: a89c0ca2496f0b200395f7914ae9c0d862bf9e4d (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
/*
* (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 <botan/ber_dec.h>
#include <botan/der_enc.h>
#include <botan/hex.h>
#include <botan/x509_dn.h>

namespace Botan_Tests {

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

Botan::X509_DN get_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