java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QMessageAuthenticationCode
- All Implemented Interfaces:
QtObjectInterface
public class QMessageAuthenticationCode extends QtObject
Way to generate hash-based message authentication codes
Java wrapper for Qt class QMessageAuthenticationCode
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QMessageAuthenticationCode(QCryptographicHash.Algorithm method)
Overloaded constructor forQMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArray)
withkey = new io.qt.core.QByteArray()
.QMessageAuthenticationCode(QCryptographicHash.Algorithm method, QByteArray key)
protected
QMessageAuthenticationCode(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
addData(byte[] array)
void
addData(QByteArray data)
boolean
addData(QIODevice device)
void
addData(ByteBuffer data)
static QByteArray
hash(QByteArray message, QByteArray key, QCryptographicHash.Algorithm method)
void
reset()
QByteArray
result()
void
setKey(QByteArray key)
-
Constructor Details
-
QMessageAuthenticationCode
Overloaded constructor for
QMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArray)
withkey = new io.qt.core.QByteArray()
. -
QMessageAuthenticationCode
-
QMessageAuthenticationCode
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
addData
-
addData
-
addData
-
reset
-
result
-
setKey
-
hash
public static QByteArray hash(QByteArray message, QByteArray key, QCryptographicHash.Algorithm method) -
addData
-