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>
126 void CA_key(
size_t limit = 1);
165 u32bit expire_time = 365 * 24 * 60 * 60);
182 const std::string& hash_fn,
195 const std::string& hash_fn,
std::vector< OID > ex_constraints
Key_Constraints constraints
void sanity_check() const
void add_constraints(Key_Constraints constr)
X509_Cert_Options(const std::string &opts="", u32bit expire_time=365 *24 *60 *60)
std::string serial_number
void add_ex_constraint(const OID &oid)
void CA_key(size_t limit=1)
void not_after(const std::string &time)
void not_before(const std::string &time)
X509_Certificate create_self_signed_cert(const X509_Cert_Options &opts, const Private_Key &key, const std::string &hash_fn, RandomNumberGenerator &rng)
PKCS10_Request create_cert_req(const X509_Cert_Options &opts, const Private_Key &key, const std::string &hash_fn, RandomNumberGenerator &rng)