AWS SDK for C++  1.9.19
AWS SDK for C++
Public Member Functions | List of all members
Aws::Utils::CryptoBuffer Class Reference

#include <Array.h>

+ Inheritance diagram for Aws::Utils::CryptoBuffer:

Public Member Functions

 CryptoBuffer (size_t arraySize=0)
 
 CryptoBuffer (const unsigned char *arrayToCopy, size_t arraySize)
 
 CryptoBuffer (Aws::Vector< ByteBuffer * > &&toMerge)
 
 CryptoBuffer (const ByteBuffer &other)
 
 CryptoBuffer (const CryptoBuffer &other)
 
 CryptoBuffer (CryptoBuffer &&other)
 
CryptoBufferoperator= (const CryptoBuffer &)=default
 
CryptoBufferoperator= (CryptoBuffer &&other)
 
bool operator== (const CryptoBuffer &other) const
 
bool operator!= (const CryptoBuffer &other) const
 
 ~CryptoBuffer ()
 
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 (Aws::Vector< Array * > &&toMerge)
 
 Array (const Array &other)
 
 Array (Array &&other)
 
virtual ~Array ()=default
 
Arrayoperator= (const Array &other)
 
Arrayoperator= (Array &&other)
 
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
 
unsigned char * GetUnderlyingData () const
 

Additional Inherited Members

- Protected Attributes inherited from Aws::Utils::Array< unsigned char >
size_t m_size
 
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 228 of file Array.h.

Constructor & Destructor Documentation

◆ CryptoBuffer() [1/6]

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

Definition at line 231 of file Array.h.

◆ CryptoBuffer() [2/6]

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

Definition at line 232 of file Array.h.

◆ CryptoBuffer() [3/6]

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

Definition at line 233 of file Array.h.

◆ CryptoBuffer() [4/6]

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

Definition at line 234 of file Array.h.

◆ CryptoBuffer() [5/6]

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

Definition at line 235 of file Array.h.

◆ CryptoBuffer() [6/6]

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

Definition at line 236 of file Array.h.

◆ ~CryptoBuffer()

Aws::Utils::CryptoBuffer::~CryptoBuffer ( )
inline

Definition at line 242 of file Array.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 240 of file Array.h.

◆ operator=() [1/2]

CryptoBuffer& Aws::Utils::CryptoBuffer::operator= ( const CryptoBuffer )
default

◆ operator=() [2/2]

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

Definition at line 238 of file Array.h.

◆ operator==()

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

Definition at line 239 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: