MySQL 8.4.2
Source Code Documentation
|
Convenience wrapper around SecBufferDesc
.
More...
#include <handshake.h>
Public Member Functions | |
Security_buffer (const Blob &) | |
Security_buffer class implementation. More... | |
Security_buffer () | |
~Security_buffer () | |
byte * | ptr () const |
size_t | len () const |
const Blob | as_blob () const |
void | mem_free (void) |
Private Member Functions | |
void | init (byte *ptr, size_t len) |
Security_buffer (const Security_buffer &) | |
const Security_buffer & | operator= (const Security_buffer &) |
Private Attributes | |
SecBuffer | m_buf |
A SecBuffer instance. More... | |
const bool | m_allocated |
If false , no deallocation will be done in the destructor. More... | |
Convenience wrapper around SecBufferDesc
.
|
private |
|
explicit |
Security_buffer class implementation.
Security_buffer::Security_buffer | ( | ) |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
void Security_buffer::mem_free | ( | void | ) |
|
private |
|
inline |
|
private |
If false
, no deallocation will be done in the destructor.
|
private |
A SecBuffer
instance.