10#include <botan/ber_dec.h>
11#include <botan/der_enc.h>
12#include <botan/hash.h>
13#include <botan/x509_ext.h>
27 m_subject_serial = subject_serial;
100 m_cert_status =
static_cast<uint32_t
>(
cert_status.type());
BER_Decoder & decode(bool &out)
BER_Decoder start_sequence()
BER_Decoder & decode_optional(T &out, ASN1_Type type_tag, ASN1_Class class_tag, const T &default_value=T())
BER_Decoder & get_next(BER_Object &ber)
static BigInt from_bytes(std::span< const uint8_t > bytes)
DER_Encoder & start_sequence()
DER_Encoder & encode(bool b)
static std::unique_ptr< HashFunction > create_or_throw(std::string_view algo_spec, std::string_view provider="")
void decode_from(BER_Decoder &from) override
void encode_into(DER_Encoder &to) const override
bool is_id_for(const X509_Certificate &issuer, const X509_Certificate &subject) const
void decode_from(BER_Decoder &from) override
size_t cert_status() const
void encode_into(DER_Encoder &to) const override
std::string to_formatted_string() const
const std::vector< uint8_t > & serial_number() const
const std::vector< uint8_t > & raw_subject_dn() const
const std::vector< uint8_t > & raw_issuer_dn() const
const std::vector< uint8_t > & subject_public_key_bitstring() const
std::vector< T > unlock(const secure_vector< T > &in)