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

#include <openssl_wrappers.h>

Inherits ccf::crypto::OpenSSL::Unique_SSL_OBJECT< BIGNUM, BN_new, BN_free >.

Public Member Functions

 Unique_BIGNUM (const BIGNUM *n)
 
 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< BIGNUM, BN_new, BN_free >
 Unique_SSL_OBJECT ()
 C-tor with new pointer via T's c-tor.
 
 Unique_SSL_OBJECT (BIGNUM *ptr, void(*dtor)(BIGNUM *), bool check_null=true)
 C-tor with pointer created in base class.
 
 operator BIGNUM * ()
 Type cast to underlying pointer.
 
 operator BIGNUM * () const
 Type cast to underlying pointer.
 
void reset (BIGNUM *other)
 Reset pointer, free old if any.
 
BIGNUM * release ()
 Release pointer, so it's freed elsewhere (CAUTION!)
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ Unique_BIGNUM()

ccf::crypto::OpenSSL::Unique_BIGNUM::Unique_BIGNUM ( const BIGNUM *  n)
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: