8#ifndef BOTAN_X509_PUBLIC_KEY_H_
9#define BOTAN_X509_PUBLIC_KEY_H_
11#include <botan/data_src.h>
12#include <botan/pk_keys.h>
41#if defined(BOTAN_TARGET_OS_HAS_FILESYSTEM)
47inline std::unique_ptr<Public_Key>
load_key(std::string_view filename) {
58inline std::unique_ptr<Public_Key>
load_key(
const std::vector<uint8_t>& enc) {
68inline std::unique_ptr<Public_Key>
load_key(std::span<const uint8_t> enc) {
std::vector< uint8_t > subject_public_key() const
#define BOTAN_PUBLIC_API(maj, min)
std::vector< uint8_t > BER_encode(const Public_Key &key)
std::unique_ptr< Public_Key > load_key(DataSource &source)
std::unique_ptr< Public_Key > copy_key(const Public_Key &key)
std::string PEM_encode(const Public_Key &key)