8 #ifndef BOTAN_X509_CA_H_
9 #define BOTAN_X509_CA_H_
11 #include <botan/x509cert.h>
12 #include <botan/x509_crl.h>
15 #if defined(BOTAN_HAS_SYSTEM_RNG)
16 #include <botan/system_rng.h>
56 const BigInt& serial_number,
75 std::chrono::system_clock::time_point issue_time,
76 std::chrono::seconds next_update)
const;
88 const std::vector<CRL_Entry>& new_entries,
90 std::chrono::system_clock::time_point issue_time,
91 std::chrono::seconds next_update)
const;
101 uint32_t next_update = 604800)
const;
112 const std::vector<CRL_Entry>& new_entries,
114 uint32_t next_update = 604800)
const;
132 const std::vector<uint8_t>& pub_key,
155 const BigInt& serial_number,
157 const std::vector<uint8_t>& pub_key,
173 const std::string& hash_fn,
186 const std::map<std::string,std::string>& opts,
187 const std::string& hash_fn,
190 #if defined(BOTAN_HAS_SYSTEM_RNG)
191 BOTAN_DEPRECATED(
"Use version taking RNG object")
194 const std::string& hash_fn) :
208 X509_CRL make_crl(
const std::vector<CRL_Entry>& entries,
211 std::chrono::system_clock::time_point issue_time,
212 std::chrono::seconds next_update)
const;
216 std::string m_hash_fn;
217 std::unique_ptr<PK_Signer> m_signer;
231 const
std::
string& hash_fn,
253 const
std::map<
std::
string,
std::
string>& opts,
255 const
std::
string& hash_fn,
RandomNumberGenerator & system_rng()
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
PK_Signer * choose_sig_format(const Private_Key &key, RandomNumberGenerator &rng, const std::string &hash_fn, AlgorithmIdentifier &sig_algo)