Crypto++ 8.9
Free C++ class library of cryptographic schemes
AlignedSecByteBlock Class Reference

SecBlock using AllocatorWithCleanup<byte, true> typedef. More...

#include <secblock.h>

Inheritance diagram for AlignedSecByteBlock:

Additional Inherited Members

Public Types inherited from SecBlock< byte, AllocatorWithCleanup< byte, true > >
typedef AllocatorWithCleanup< byte, true >::value_type value_type
typedef AllocatorWithCleanup< byte, true >::pointer iterator
typedef AllocatorWithCleanup< byte, true >::const_pointer const_iterator
typedef AllocatorWithCleanup< byte, true >::size_type size_type
Public Member Functions inherited from SecBlock< byte, AllocatorWithCleanup< byte, true > >
 SecBlock (size_type size=0)
 Construct a SecBlock with space for size elements.
 SecBlock (const SecBlock< byte, AllocatorWithCleanup< byte, true > > &t)
 Copy construct a SecBlock from another SecBlock.
 SecBlock (const byte *ptr, size_type len)
 Construct a SecBlock from an array of elements.
 operator const void * () const
 Cast operator.
 operator void * ()
 Cast operator.
 operator const byte * () const
 Cast operator.
 operator byte * ()
 Cast operator.
iterator begin ()
 Provides an iterator pointing to the first element in the memory block.
const_iterator begin () const
 Provides a constant iterator pointing to the first element in the memory block.
iterator end ()
 Provides an iterator pointing beyond the last element in the memory block.
const_iterator end () const
 Provides a constant iterator pointing beyond the last element in the memory block.
AllocatorWithCleanup< byte, true >::pointer data ()
 Provides a pointer to the first element in the memory block.
AllocatorWithCleanup< byte, true >::const_pointer data () const
 Provides a pointer to the first element in the memory block.
size_type size () const
 Provides the count of elements in the SecBlock.
bool empty () const
 Determines if the SecBlock is empty.
byteBytePtr ()
 Provides a byte pointer to the first element in the memory block.
const byteBytePtr () const
 Return a byte pointer to the first element in the memory block.
size_type SizeInBytes () const
 Provides the number of bytes in the SecBlock.
void Assign (const byte *ptr, size_type len)
 Set contents and size from an array.
void Assign (size_type count, byte value)
 Set contents from a value.
void Assign (const SecBlock< byte, AllocatorWithCleanup< byte, true > > &t)
 Copy contents from another SecBlock.
void Append (const byte *ptr, size_type len)
 Append contents from an array.
void Append (const SecBlock< byte, AllocatorWithCleanup< byte, true > > &t)
 Append contents from another SecBlock.
void Append (size_type count, byte value)
 Append contents from a value.
void SetMark (size_t count)
 Sets the number of elements to zeroize.
SecBlock< byte, AllocatorWithCleanup< byte, true > > & operator= (const SecBlock< byte, AllocatorWithCleanup< byte, true > > &t)
 Assign contents from another SecBlock.
SecBlock< byte, AllocatorWithCleanup< byte, true > > & operator+= (const SecBlock< byte, AllocatorWithCleanup< byte, true > > &t)
 Append contents from another SecBlock.
SecBlock< byte, AllocatorWithCleanup< byte, true > > operator+ (const SecBlock< byte, AllocatorWithCleanup< byte, true > > &t)
 Construct a SecBlock from this and another SecBlock.
bool operator== (const SecBlock< byte, AllocatorWithCleanup< byte, true > > &t) const
 Bitwise compare two SecBlocks.
bool operator!= (const SecBlock< byte, AllocatorWithCleanup< byte, true > > &t) const
 Bitwise compare two SecBlocks.
void New (size_type newSize)
 Change size without preserving contents.
void CleanNew (size_type newSize)
 Change size without preserving contents.
void Grow (size_type newSize)
 Change size and preserve contents.
void CleanGrow (size_type newSize)
 Change size and preserve contents.
void resize (size_type newSize)
 Change size and preserve contents.
void swap (SecBlock< byte, AllocatorWithCleanup< byte, true > > &b)
 Swap contents with another SecBlock.
 operator const byte * () const
 Cast operator.
 operator byte * ()
 Cast operator.
Static Public Attributes inherited from SecBlock< byte, AllocatorWithCleanup< byte, true > >
static const size_type ELEMS_MAX
 Returns the maximum number of elements the block can hold.

Detailed Description

SecBlock using AllocatorWithCleanup<byte, true> typedef.

Definition at line 1230 of file secblock.h.


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