8#include <botan/x509_key.h>
10#include <botan/asn1_obj.h>
11#include <botan/ber_dec.h>
12#include <botan/data_src.h>
14#include <botan/pk_algs.h>
31 std::vector<uint8_t> key_bits;
41 if(key_bits.empty()) {
BER_Decoder & decode(bool &out)
BER_Decoder start_sequence()
std::vector< uint8_t > subject_public_key() const
bool maybe_BER(DataSource &source)
std::string encode(const uint8_t der[], size_t length, std::string_view label, size_t width)
secure_vector< uint8_t > decode_check_label(DataSource &source, std::string_view label_want)
bool matches(DataSource &source, std::string_view extra, size_t search_range)
std::unique_ptr< Public_Key > load_key(DataSource &source)
std::string PEM_encode(const Public_Key &key)
std::unique_ptr< Public_Key > load_public_key(const AlgorithmIdentifier &alg_id, std::span< const uint8_t > key_bits)