AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Utils::CryptoBuffer Class Reference

#include <Array.h>

Inheritance diagram for Aws::Utils::CryptoBuffer:
[legend]

Public Member Functions

 CryptoBuffer (size_t arraySize=0)
 
 CryptoBuffer (const unsigned char *arrayToCopy, size_t arraySize)
 
 
 CryptoBuffer (const ByteBuffer &other)
 
 CryptoBuffer (const CryptoBuffer &other)
 
 
 
 
 CryptoBuffer (Crt::ByteBuf &&other) noexcept
 
CryptoBufferoperator= (Crt::ByteBuf &&other) noexcept
 
bool operator== (const CryptoBuffer &other) const
 
bool operator!= (const CryptoBuffer &other) const
 
 ~CryptoBuffer () override
 
Array< CryptoBufferSlice (size_t sizeOfSlice) const
 
CryptoBufferoperator^ (const CryptoBuffer &operand)
 
void Zero ()
 

Public Member Functions inherited from Aws::Utils::Array< unsigned char >

 Array (size_t arraySize=0)
 
 Array (const unsigned char *arrayToCopy, size_t arraySize)
 
 Array (size_t capacity, size_t length, UniqueArrayPtr< unsigned char > data)
 
 Array (Aws::Vector< Array * > &&toMerge)
 
 Array (const Array &other)
 
 Array (Array &&other) noexcept
 
 Array (const Aws::String &string)
 
virtual ~Array ()=default
 
Arrayoperator= (const Array &other)
 
Arrayoperator= (Array &&other) noexcept
 
bool operator== (const Array &other) const
 
bool operator!= (const Array &other) const
 
unsigned char const & GetItem (size_t index) const
 
unsigned char & GetItem (size_t index)
 
unsigned char & operator[] (size_t index)
 
unsigned char const & operator[] (size_t index) const
 
size_t GetLength () const
 
size_t GetSize () const
 
unsigned char * GetUnderlyingData () const
 
void SetLength (size_t len)
 

Additional Inherited Members

Protected Attributes inherited from Aws::Utils::Array< unsigned char >

size_t m_capacity
 
size_t m_length
 
Aws::UniqueArrayPtr< unsigned char > m_data
 

Detailed Description

Buffer for cryptographic operations. It zeroes itself back out upon deletion. Everything else is identical to byte buffer.

Definition at line 254 of file Array.h.

Constructor & Destructor Documentation

◆ CryptoBuffer() [1/7]

Aws::Utils::CryptoBuffer::CryptoBuffer ( size_t  arraySize = 0)
inline

Definition at line 257 of file Array.h.

◆ CryptoBuffer() [2/7]

Aws::Utils::CryptoBuffer::CryptoBuffer ( const unsigned char *  arrayToCopy,
size_t  arraySize 
)
inline

Definition at line 258 of file Array.h.

◆ CryptoBuffer() [3/7]

Aws::Utils::CryptoBuffer::CryptoBuffer ( Aws::Vector< ByteBuffer * > &&  toMerge)
inline

Definition at line 259 of file Array.h.

◆ CryptoBuffer() [4/7]

Aws::Utils::CryptoBuffer::CryptoBuffer ( const ByteBuffer other)
inline

Definition at line 260 of file Array.h.

◆ CryptoBuffer() [5/7]

Aws::Utils::CryptoBuffer::CryptoBuffer ( const CryptoBuffer other)
inline

Definition at line 261 of file Array.h.

◆ CryptoBuffer() [6/7]

Aws::Utils::CryptoBuffer::CryptoBuffer ( CryptoBuffer &&  other)
inline

Definition at line 262 of file Array.h.

◆ CryptoBuffer() [7/7]

Aws::Utils::CryptoBuffer::CryptoBuffer ( Crt::ByteBuf &&  other)
inlinenoexcept

Definition at line 266 of file Array.h.

◆ ~CryptoBuffer()

Aws::Utils::CryptoBuffer::~CryptoBuffer ( )
inlineoverride

Definition at line 297 of file Array.h.

Member Function Documentation

◆ operator!=()

bool Aws::Utils::CryptoBuffer::operator!= ( const CryptoBuffer other) const
inline

Definition at line 295 of file Array.h.

◆ operator=() [1/3]

CryptoBuffer & Aws::Utils::CryptoBuffer::operator= ( const CryptoBuffer other)
inline

Definition at line 263 of file Array.h.

◆ operator=() [2/3]

CryptoBuffer & Aws::Utils::CryptoBuffer::operator= ( Crt::ByteBuf &&  other)
inlinenoexcept

Definition at line 280 of file Array.h.

◆ operator=() [3/3]

CryptoBuffer & Aws::Utils::CryptoBuffer::operator= ( CryptoBuffer &&  other)
inline

Definition at line 264 of file Array.h.

◆ operator==()

bool Aws::Utils::CryptoBuffer::operator== ( const CryptoBuffer other) const
inline

Definition at line 294 of file Array.h.

◆ operator^()

CryptoBuffer & Aws::Utils::CryptoBuffer::operator^ ( const CryptoBuffer operand)

◆ Slice()

Array< CryptoBuffer > Aws::Utils::CryptoBuffer::Slice ( size_t  sizeOfSlice) const

◆ Zero()

void Aws::Utils::CryptoBuffer::Zero ( )

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