Документация
ОС Аврора 5.1.7
Класс InitializationVector
#include <QtCrypto>
Диаграмма кооперации класса QCA::InitializationVector:

Публичные функции
| InitializationVector () |
| InitializationVector (const QByteArray &a) |
| InitializationVector (const SecureArray &a) |
| InitializationVector (int size) |
Публичные функции, унаследованные от QCA::SecureArray
| SecureArray & | append (const SecureArray &a) |
| char & | at (int index) |
| const char & | at (int index) const |
| void | clear () |
| const char * | constData () const |
| char * | data () |
| const char * | data () const |
| void | fill (char fillChar, int fillToPosition=-1) |
| bool | isEmpty () const |
| bool | operator!= (const MemoryRegion &other) const |
| SecureArray & | operator+= (const SecureArray &a) |
| SecureArray & | operator= (const QByteArray &a) |
| SecureArray & | operator= (const SecureArray &from) |
| bool | operator== (const MemoryRegion &other) const |
| char & | operator[] (int index) |
| const char & | operator[] (int index) const |
| bool | resize (int size) |
| SecureArray () | |
| SecureArray (const char *str) | |
| SecureArray (const MemoryRegion &a) | |
| SecureArray (const QByteArray &a) | |
| SecureArray (const SecureArray &from) | |
| SecureArray (int size, char ch=0) | |
| int | size () const |
| QByteArray | toByteArray () const |
Публичные функции, унаследованные от QCA::MemoryRegion
| const char & | at (int index) const |
| const char * | constData () const |
| const char * | data () const |
| bool | isEmpty () const |
| bool | isNull () const |
| bool | isSecure () const |
| MemoryRegion (const char *str) | |
| MemoryRegion (const MemoryRegion &from) | |
| MemoryRegion (const QByteArray &from) | |
| MemoryRegion & | operator= (const MemoryRegion &from) |
| MemoryRegion & | operator= (const QByteArray &from) |
| int | size () const |
| QByteArray | toByteArray () const |
Дополнительные унаследованные члены
Защищённые функции, унаследованные от QCA::SecureArray
| void | set (const QByteArray &from) |
| void | set (const SecureArray &from) |
Защищённые функции, унаследованные от QCA::MemoryRegion
| char & | at (int index) |
| char * | data () |
| MemoryRegion (bool secure) | |
| MemoryRegion (const QByteArray &from, bool secure) | |
| MemoryRegion (int size, bool secure) | |
| bool | resize (int size) |
| void | set (const QByteArray &from, bool secure) |
| void | setSecure (bool secure) |
Подробное описание
Контейнер для векторов инициализации и однократно используемые значений.
Примеры
Описание конструкторов и деструктора
InitializationVector() [1/4]
| QCA::InitializationVector::InitializationVector () |
Создаёт пустой вектор инициализации (нулевой длины).
InitializationVector() [2/4]
| QCA::InitializationVector::InitializationVector (int size) |
Создаёт вектор инициализации указанного размера.
Параметры
| size | Длина вектора инициализации в байтах |
InitializationVector() [3/4]
| QCA::InitializationVector::InitializationVector (const SecureArray & a) |
Создаёт вектор инициализации из предоставленного массива байтов.
Параметры
| a | Массив байтов для копирования |
InitializationVector() [4/4]
| QCA::InitializationVector::InitializationVector (const QByteArray & a) |
Создаёт вектор инициализации из предоставленного массива байтов.
Параметры
| a | Массив байтов для копирования |