8 #ifndef BOTAN_X509_CA_H_
9 #define BOTAN_X509_CA_H_
11 #include <botan/x509cert.h>
12 #include <botan/x509_crl.h>
16 #if defined(BOTAN_HAS_SYSTEM_RNG)
17 #include <botan/system_rng.h>
57 const BigInt& serial_number,
76 std::chrono::system_clock::time_point issue_time,
77 std::chrono::seconds next_update)
const;
89 const std::vector<CRL_Entry>& new_entries,
91 std::chrono::system_clock::time_point issue_time,
92 std::chrono::seconds next_update)
const;
102 uint32_t next_update = 604800)
const;
113 const std::vector<CRL_Entry>& new_entries,
115 uint32_t next_update = 604800)
const;
133 const std::vector<uint8_t>& pub_key,
156 const BigInt& serial_number,
158 const std::vector<uint8_t>& pub_key,
174 const std::string& hash_fn,
187 const std::map<std::string,std::string>& opts,
188 const std::string& hash_fn,
191 #if defined(BOTAN_HAS_SYSTEM_RNG)
192 BOTAN_DEPRECATED(
"Use version taking RNG object")
195 const std::string& hash_fn) :
209 X509_CRL make_crl(
const std::vector<CRL_Entry>& entries,
212 std::chrono::system_clock::time_point issue_time,
213 std::chrono::seconds next_update)
const;
217 std::string m_hash_fn;
218 std::unique_ptr<PK_Signer> m_signer;
232 const
std::
string& hash_fn,
254 const
std::map<
std::
string,
std::
string>& opts,
256 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)