java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.core.QMessageAuthenticationCode
- All Implemented Interfaces:
QtObjectInterface
Way to generate hash-based message authentication codes
Java wrapper for Qt's class QMessageAuthenticationCode
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArray)
withkey = new io.qt.core.QByteArray()
.protected
Constructor for internal use only. -
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
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
-