8#ifndef BOTAN_X509_SELF_H_
9#define BOTAN_X509_SELF_H_
11#include <botan/pkcs10.h>
12#include <botan/pkix_types.h>
13#include <botan/x509cert.h>
143 void CA_key(
size_t limit = 1);
203 std::string_view hash_fn,
217 std::string_view hash_fn,
#define BOTAN_PUBLIC_API(maj, min)
#define BOTAN_FUTURE_EXPLICIT
std::vector< OID > ex_constraints
Key_Constraints constraints
void add_constraints(Key_Constraints constr)
void not_before(std::string_view time)
std::vector< std::string > more_org_units
void not_after(std::string_view time)
std::string serial_number
std::vector< std::string > more_dns
void add_ex_constraint(const OID &oid)
void set_padding_scheme(std::string_view scheme)
void CA_key(size_t limit=1)
BOTAN_FUTURE_EXPLICIT X509_Cert_Options(std::string_view opts="", uint32_t expire_time=365 *24 *60 *60)
std::string padding_scheme
PKCS10_Request create_cert_req(const X509_Cert_Options &opts, const Private_Key &key, std::string_view hash_fn, RandomNumberGenerator &rng)
X509_Certificate create_self_signed_cert(const X509_Cert_Options &opts, const Private_Key &key, std::string_view hash_fn, RandomNumberGenerator &rng)