QCA::InitializationVector
QCA::InitializationVector Class Reference
#include <QtCrypto>
Inheritance diagram for QCA::InitializationVector:
Public Member Functions | |
InitializationVector () | |
InitializationVector (const QByteArray &a) | |
InitializationVector (const SecureArray &a) | |
InitializationVector (int size) | |
Public Member Functions inherited from QCA::SecureArray | |
SecureArray () | |
SecureArray (const char *str) | |
SecureArray (const MemoryRegion &a) | |
SecureArray (const QByteArray &a) | |
SecureArray (const SecureArray &from) | |
SecureArray (int size, char ch=0) | |
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) |
int | size () const |
QByteArray | toByteArray () const |
Public Member Functions inherited from QCA::MemoryRegion | |
MemoryRegion (const char *str) | |
MemoryRegion (const MemoryRegion &from) | |
MemoryRegion (const QByteArray &from) | |
const char & | at (int index) const |
const char * | constData () const |
const char * | data () const |
bool | isEmpty () const |
bool | isNull () const |
bool | isSecure () const |
MemoryRegion & | operator= (const MemoryRegion &from) |
MemoryRegion & | operator= (const QByteArray &from) |
int | size () const |
QByteArray | toByteArray () const |
Additional Inherited Members | |
Protected Member Functions inherited from QCA::SecureArray | |
void | set (const QByteArray &from) |
void | set (const SecureArray &from) |
Protected Member Functions inherited from QCA::MemoryRegion | |
MemoryRegion (bool secure) | |
MemoryRegion (const QByteArray &from, bool secure) | |
MemoryRegion (int size, bool secure) | |
char & | at (int index) |
char * | data () |
bool | resize (int size) |
void | set (const QByteArray &from, bool secure) |
void | setSecure (bool secure) |
Detailed Description
Container for initialisation vectors and nonces.
- Examples
- ciphertest.cpp.
Definition at line 1309 of file qca_core.h.
Constructor & Destructor Documentation
◆ InitializationVector() [1/4]
QCA::InitializationVector::InitializationVector | ( | ) |
Construct an empty (zero length) initialization vector.
◆ InitializationVector() [2/4]
QCA::InitializationVector::InitializationVector | ( | int | size | ) |
Construct an initialization vector of the specified size.
- Parameters
-
size the length of the initialization vector, in bytes
◆ InitializationVector() [3/4]
QCA::InitializationVector::InitializationVector | ( | const SecureArray & | a | ) |
Construct an initialization vector from a provided byte array.
- Parameters
-
a the byte array to copy
◆ InitializationVector() [4/4]
QCA::InitializationVector::InitializationVector | ( | const QByteArray & | a | ) |
Construct an initialization vector from a provided byte array.
- Parameters
-
a the byte array to copy
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:15:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.