- All Implemented Interfaces:
QtObjectInterface
Way to generate hash-based message authentication codes
Java wrapper for Qt class QMessageAuthenticationCode
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArray)
withkey = new io.qt.core.QByteArray()
.QMessageAuthenticationCode
(QCryptographicHash.Algorithm method, byte [] key) Overloaded constructor forQMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArray)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addData
(byte [] data) Overloaded function foraddData(io.qt.core.QByteArray)
.final void
addData
(QByteArray data) final boolean
final void
addData
(ByteBuffer data) static QByteArray
hash
(byte [] message, byte [] key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArray, io.qt.core.QByteArray, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(byte [] message, QByteArray key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArray, io.qt.core.QByteArray, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArray message, byte [] key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArray, io.qt.core.QByteArray, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArray message, QByteArray key, QCryptographicHash.Algorithm method) final void
reset()
final QByteArray
result()
final void
setKey
(byte [] key) Overloaded function forsetKey(io.qt.core.QByteArray)
.final void
setKey
(QByteArray key) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QMessageAuthenticationCode
-
QMessageAuthenticationCode
Overloaded constructor for
QMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArray)
withkey = new io.qt.core.QByteArray()
. -
QMessageAuthenticationCode
Overloaded constructor for
QMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArray)
.
-
-
Method Details
-
addData
-
addData
-
addData
-
reset
-
result
-
setKey
-
hash
public static QByteArray hash(QByteArray message, QByteArray key, QCryptographicHash.Algorithm method) -
addData
Overloaded function for
addData(io.qt.core.QByteArray)
. -
setKey
Overloaded function for
setKey(io.qt.core.QByteArray)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArray, io.qt.core.QByteArray, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArray, io.qt.core.QByteArray, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArray, io.qt.core.QByteArray, io.qt.core.QCryptographicHash.Algorithm)
.
-