4#include "Stroika/Foundation/StroikaPreComp.h"
6#if qStroika_HasComponent_OpenSSL
9#include "Stroika/Foundation/Execution/RequiredComponentMissingException.h"
17using namespace Stroika::Foundation::Cryptography;
18using namespace Stroika::Foundation::Cryptography::PKI;
19#if !qStroika_HasComponent_OpenSSL
22using namespace Stroika::Foundation::Streams;
31 return BinaryToText::Convert (get ()->GetData ());
39auto PKI::PEMFile::New (
const filesystem::path& pemFile) ->
Ptr
41 return New (IO::FileSystem::FileInputStream::New (pemFile).ReadAll ());
43auto PKI::PEMFile::New ([[maybe_unused]]
const Memory::BLOB& pemData) ->
Ptr
45#if qStroika_HasComponent_OpenSSL
46 return Cryptography::Providers::OpenSSL::PEMFile::New (pemData);
53#if qStroika_HasComponent_OpenSSL
54 return Cryptography::Providers::OpenSSL::PEMFile::New (entries);
String is like std::u32string, except it is much easier to use, often much more space efficient,...
A generalization of a vector: a container whose elements are keyed by the natural numbers.
A Streams::Ptr<ELEMENT_TYPE> is a smart-pointer to a stream of elements of type T.
void Throw(T &&e2Throw)
like the builtin C++ 'throw', but stamps in the current Activity context and does helpful,...