2025-01-29 18:41:28 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ref.hpp"
|
|
|
|
|
|
|
|
#include <string_view>
|
|
|
|
|
|
|
|
auto log_openssl_errors(const std::string_view prefix) -> void;
|
2025-01-30 11:47:26 -08:00
|
|
|
auto key_from_file(const std::string &filename, const std::string_view password) -> Ref<EVP_PKEY>;
|
|
|
|
auto cert_from_file(const std::string &filename) -> Ref<X509>;
|