fourdst_plugin 0.0.1a
C++ Plugin Manager
Loading...
Searching...
No Matches
public_key.h File Reference

Public key handling for cryptographic operations. More...

#include <iostream>
#include <string>
#include <memory>
#include <vector>
#include <openssl/pem.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include <filesystem>

Classes

struct  fourdst::crypt::EVP_PKEY_Deleter
 Custom deleter for OpenSSL EVP_PKEY objects. More...
 
class  fourdst::crypt::PublicKey
 Represents a public key for cryptographic operations. More...
 

Namespaces

namespace  fourdst
 
namespace  fourdst::crypt
 

Typedefs

using fourdst::crypt::Unique_EVP_PKEY = std::unique_ptr<EVP_PKEY, EVP_PKEY_Deleter>
 Unique pointer type for managing EVP_PKEY objects with automatic cleanup.
 

Detailed Description

Public key handling for cryptographic operations.

This header defines the PublicKey class for managing public keys in various formats, including loading from files and memory, and performing key-related operations.