a PEM File is a data structure commonly used to store private keys, and or certificates (as well as several other things not currently supported here). More...
#include "Stroika/Foundation/StroikaPreComp.h"
#include <filesystem>
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/Containers/Sequence.h"
#include "Stroika/Foundation/Cryptography/PKI/Certificate.h"
#include "Stroika/Foundation/Cryptography/PKI/PrivateKey.h"
#include "Stroika/Foundation/Memory/BLOB.h"
#include "PEMFile.inl"
Go to the source code of this file.
Namespaces | |
namespace | Stroika::Foundation |
Typedefs | |
using | Stroika::Foundation::Cryptography::PKI::PEMFile::EntryType = variant< Certificate::Ptr, PrivateKey::Ptr > |
Functions | |
Ptr | Stroika::Foundation::Cryptography::PKI::PEMFile::New (const filesystem::path &pemFile) |
a PEM File is a data structure commonly used to store private keys, and or certificates (as well as several other things not currently supported here).
At this level of abstraction - its just a bunch of bytes, but used in overloading, in other APIs, so they correctly know how to interpret the bytes.
https://datatracker.ietf.org/doc/html/rfc7468
Definition in file PKI/PEMFile.h.
using Stroika::Foundation::Cryptography::PKI::PEMFile::EntryType = typedef variant<Certificate::Ptr, PrivateKey::Ptr> |
Definition at line 40 of file PKI/PEMFile.h.
auto Stroika::Foundation::Cryptography::PKI::PEMFile::New | ( | const filesystem::path & | pemFile | ) |
Definition at line 39 of file PKI/PEMFile.cpp.