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

#include <openssl_wrappers.h>

Inherits ccf::crypto::OpenSSL::Unique_SSL_OBJECT< SSL, nullptr, nullptr >.

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Unique_SSL()

ccf::crypto::OpenSSL::Unique_SSL::Unique_SSL ( SSL_CTX *  ctx)
inline

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