java.lang.Object
io.qt.QtObject
io.qt.core.QMessageAuthenticationCode
- All Implemented Interfaces:
QtObjectInterface
Way to generate hash-based message authentication codes
Java wrapper for Qt class QMessageAuthenticationCode
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forQMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArray)
withkey = new io.qt.core.QByteArray()
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addData
(byte[] array) final void
addData
(QByteArray data) final boolean
final void
addData
(ByteBuffer data) static QByteArray
hash
(QByteArray message, QByteArray key, QCryptographicHash.Algorithm method) final void
reset()
final QByteArray
result()
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()
.
-
-
Method Details
-
addData
-
addData
-
addData
-
reset
-
result
-
setKey
-
hash
public static QByteArray hash(QByteArray message, QByteArray key, QCryptographicHash.Algorithm method) -
addData
-