CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ccf::crypto::OpenSSL::Unique_EVP_PKEY Struct Reference

#include <openssl_wrappers.h>

Inherits ccf::crypto::OpenSSL::Unique_SSL_OBJECT< EVP_PKEY, EVP_PKEY_new, EVP_PKEY_free >.

Public Member Functions

 Unique_EVP_PKEY ()=default
 
 Unique_EVP_PKEY (EVP_PKEY *key)
 
- Public Member Functions inherited from ccf::crypto::OpenSSL::Unique_SSL_OBJECT< EVP_PKEY, EVP_PKEY_new, EVP_PKEY_free >
 Unique_SSL_OBJECT ()
 C-tor with new pointer via T's c-tor.
 
 Unique_SSL_OBJECT (EVP_PKEY *ptr, void(*dtor)(EVP_PKEY *), bool check_null=true)
 C-tor with pointer created in base class.
 
 operator EVP_PKEY * ()
 Type cast to underlying pointer.
 
 operator EVP_PKEY * () const
 Type cast to underlying pointer.
 
void reset (EVP_PKEY *other)
 Reset pointer, free old if any.
 
EVP_PKEY * release ()
 Release pointer, so it's freed elsewhere (CAUTION!)
 

Additional Inherited Members

- Protected Attributes inherited from ccf::crypto::OpenSSL::Unique_SSL_OBJECT< EVP_PKEY, EVP_PKEY_new, EVP_PKEY_free >
std::unique_ptr< EVP_PKEY, void(*)(EVP_PKEY *)> p
 Pointer owning storage.
 

Constructor & Destructor Documentation

◆ Unique_EVP_PKEY() [1/2]

ccf::crypto::OpenSSL::Unique_EVP_PKEY::Unique_EVP_PKEY ( )
default

◆ Unique_EVP_PKEY() [2/2]

ccf::crypto::OpenSSL::Unique_EVP_PKEY::Unique_EVP_PKEY ( EVP_PKEY *  key)
inline

The documentation for this struct was generated from the following file: