QCA::AuthTag
QCA::AuthTag Class Reference
#include <QtCrypto>
Inheritance diagram for QCA::AuthTag:
Public Member Functions | |
AuthTag () | |
AuthTag (const QByteArray &a) | |
AuthTag (const SecureArray &a) | |
AuthTag (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 authentication tag.
Definition at line 1346 of file qca_core.h.
Constructor & Destructor Documentation
◆ AuthTag() [1/4]
QCA::AuthTag::AuthTag | ( | ) |
Construct an empty authentication tag.
◆ AuthTag() [2/4]
QCA::AuthTag::AuthTag | ( | int | size | ) |
Construct an empty authentication tag of the specified size.
- Parameters
-
size the length of the authentication tag, in bytes
◆ AuthTag() [3/4]
QCA::AuthTag::AuthTag | ( | const SecureArray & | a | ) |
Construct an authentication tag from a provided byte array.
- Parameters
-
a the byte array to copy
◆ AuthTag() [4/4]
QCA::AuthTag::AuthTag | ( | const QByteArray & | a | ) |
Construct an authentication tag 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 Sat Dec 21 2024 17:03:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.