8 #ifndef BOTAN_X509_SELF_H__ 9 #define BOTAN_X509_SELF_H__ 11 #include <botan/x509cert.h> 12 #include <botan/pkcs8.h> 13 #include <botan/pkcs10.h> 120 void sanity_check()
const;
126 void CA_key(
size_t limit = 1);
132 void not_before(
const std::string& time);
138 void not_after(
const std::string& time);
150 void add_ex_constraint(
const OID&
oid);
156 void add_ex_constraint(
const std::string& name);
165 u32bit expire_time = 365 * 24 * 60 * 60);
182 const std::string& hash_fn,
195 const std::string& hash_fn,
PKCS10_Request create_cert_req(const X509_Cert_Options &opts, const Private_Key &key, const std::string &hash_fn, RandomNumberGenerator &rng)
Key_Constraints constraints
EAC1_1_CVC create_self_signed_cert(Private_Key const &key, EAC1_1_CVC_Options const &opt, RandomNumberGenerator &rng)
std::string serial_number
std::vector< OID > ex_constraints