8#ifndef BOTAN_X509_SELF_H_
9#define BOTAN_X509_SELF_H_
11#include <botan/x509cert.h>
12#include <botan/pkcs10.h>
13#include <botan/pkix_types.h>
17class RandomNumberGenerator;
141 void CA_key(
size_t limit = 1);
146 void set_padding_scheme(
const std::string& scheme);
152 void not_before(
const std::string& time);
158 void not_after(
const std::string& time);
170 void add_ex_constraint(
const OID& oid);
176 void add_ex_constraint(
const std::string&
name);
185 uint32_t expire_time = 365 * 24 * 60 * 60);
202 const
std::
string& hash_fn,
215 const
std::
string& hash_fn,
std::vector< OID > ex_constraints
Key_Constraints constraints
std::vector< std::string > more_org_units
std::string serial_number
std::vector< std::string > more_dns
std::string padding_scheme
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
PKCS10_Request create_cert_req(const X509_Cert_Options &opts, const Private_Key &key, const std::string &hash_fn, RandomNumberGenerator &rng)
X509_Certificate create_self_signed_cert(const X509_Cert_Options &opts, const Private_Key &key, const std::string &hash_fn, RandomNumberGenerator &rng)