CCF
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ccf::crypto::OpenSSL::Unique_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_PKEY (BIO *mem)
 
 Unique_PKEY (EVP_PKEY *pkey)
 
 Unique_SSL_OBJECT ()
 C-tor with new pointer via T's c-tor.
 
 Unique_SSL_OBJECT (T *ptr, void(*dtor)(T *), bool check_null=true)
 C-tor with pointer created in base class.
 
- 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_PKEY() [1/2]

ccf::crypto::OpenSSL::Unique_PKEY::Unique_PKEY ( BIO *  mem)
inline

◆ Unique_PKEY() [2/2]

ccf::crypto::OpenSSL::Unique_PKEY::Unique_PKEY ( EVP_PKEY *  pkey)
inline

Member Function Documentation

◆ Unique_SSL_OBJECT() [1/2]

ccf::crypto::OpenSSL::Unique_SSL_OBJECT< T, CTOR, DTOR >::Unique_SSL_OBJECT ( )
inline

C-tor with new pointer via T's c-tor.

◆ Unique_SSL_OBJECT() [2/2]

ccf::crypto::OpenSSL::Unique_SSL_OBJECT< T, CTOR, DTOR >::Unique_SSL_OBJECT ( T *  ptr,
void(*)(T *)  dtor,
bool  check_null = true 
)
inline

C-tor with pointer created in base class.


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