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

#include <openssl_wrappers.h>

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

Public Member Functions

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Unique_BIO() [1/5]

ccf::crypto::OpenSSL::Unique_BIO::Unique_BIO ( )
inline

◆ Unique_BIO() [2/5]

ccf::crypto::OpenSSL::Unique_BIO::Unique_BIO ( const void *  buf,
int  len 
)
inline

◆ Unique_BIO() [3/5]

ccf::crypto::OpenSSL::Unique_BIO::Unique_BIO ( std::span< const uint8_t >  s)
inline

◆ Unique_BIO() [4/5]

ccf::crypto::OpenSSL::Unique_BIO::Unique_BIO ( const Pem pem)
inline

◆ Unique_BIO() [5/5]

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

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