CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Functions
openssl_wrappers.h File Reference
#include "ccf/crypto/pem.h"
#include "ccf/ds/x509_time_fmt.h"
#include <chrono>
#include <fmt/format.h>
#include <memory>
#include <openssl/asn1.h>
#include <openssl/bn.h>
#include <openssl/ec.h>
#include <openssl/engine.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/pem.h>
#include <openssl/rsa.h>
#include <openssl/ssl.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>

Go to the source code of this file.

Classes

class  ccf::crypto::OpenSSL::Unique_SSL_OBJECT< T, CTOR, DTOR >
 
struct  ccf::crypto::OpenSSL::Unique_BIO
 
struct  ccf::crypto::OpenSSL::Unique_SSL_CTX
 
struct  ccf::crypto::OpenSSL::Unique_SSL
 
struct  ccf::crypto::OpenSSL::Unique_PKEY
 
struct  ccf::crypto::OpenSSL::Unique_EVP_PKEY_CTX
 
struct  ccf::crypto::OpenSSL::Unique_EVP_MD_CTX
 
struct  ccf::crypto::OpenSSL::Unique_X509_REQ
 
struct  ccf::crypto::OpenSSL::Unique_X509_CRL
 
struct  ccf::crypto::OpenSSL::Unique_X509
 
struct  ccf::crypto::OpenSSL::Unique_X509_STORE
 
struct  ccf::crypto::OpenSSL::Unique_X509_STORE_CTX
 
struct  ccf::crypto::OpenSSL::Unique_EVP_CIPHER_CTX
 
struct  ccf::crypto::OpenSSL::Unique_STACK_OF_X509
 
struct  ccf::crypto::OpenSSL::Unique_STACK_OF_X509_EXTENSIONS
 
struct  ccf::crypto::OpenSSL::Unique_ECDSA_SIG
 
struct  ccf::crypto::OpenSSL::Unique_BIGNUM
 
struct  ccf::crypto::OpenSSL::Unique_X509_TIME
 
struct  ccf::crypto::OpenSSL::Unique_BN_CTX
 
struct  ccf::crypto::OpenSSL::Unique_EC_GROUP
 
struct  ccf::crypto::OpenSSL::Unique_EC_POINT
 
struct  ccf::crypto::OpenSSL::Unique_EVP_ENCODE_CTX
 
struct  ccf::crypto::OpenSSL::Unique_EVP_PKEY
 
struct  ccf::crypto::OpenSSL::Unique_X509_REQ_DER
 

Namespaces

namespace  ccf
 
namespace  ccf::crypto
 
namespace  ccf::crypto::OpenSSL
 

Macros

#define FMT_HEADER_ONLY
 

Functions

std::string ccf::crypto::OpenSSL::error_string (unsigned long ec)
 Returns the error string from an error code.
 
void ccf::crypto::OpenSSL::CHECK1 (int rc)
 Throws if rc is not 1 and has error.
 
void ccf::crypto::OpenSSL::CHECK0 (int rc)
 Throws if rc is 0 and has error.
 
void ccf::crypto::OpenSSL::CHECKNULL (void *ptr)
 Throws if ptr is null.
 
void ccf::crypto::OpenSSL::CHECKEQUAL (int expect, int actual)
 
void ccf::crypto::OpenSSL::CHECKPOSITIVE (int val)
 
X509 * ccf::crypto::OpenSSL::read_pem (BIO *mem)
 

Macro Definition Documentation

◆ FMT_HEADER_ONLY

#define FMT_HEADER_ONLY