- 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.QByteArrayView)
withkey = new io.qt.core.QByteArrayView()
.QMessageAuthenticationCode
(QCryptographicHash.Algorithm method, byte [] key) Overloaded constructor forQMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArrayView)
.Overloaded constructor forQMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArrayView)
.Overloaded constructor forQMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArrayView)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
addData
(byte [] data) Overloaded function foraddData(io.qt.core.QByteArrayView)
.final void
addData
(QByteArray data) Overloaded function foraddData(io.qt.core.QByteArrayView)
.final void
addData
(QByteArrayView data) final boolean
final void
addData
(ByteBuffer data) static QByteArray
hash
(byte [] message, byte [] key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(byte [] message, QByteArray key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(byte [] message, QByteArrayView key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(byte [] message, ByteBuffer key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArray message, byte [] key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArray message, QByteArray key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArray message, QByteArrayView key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArray message, ByteBuffer key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArrayView message, byte [] key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArrayView message, QByteArray key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(QByteArrayView message, QByteArrayView key, QCryptographicHash.Algorithm method) static QByteArray
hash
(QByteArrayView message, ByteBuffer key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(ByteBuffer message, byte [] key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(ByteBuffer message, QByteArray key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(ByteBuffer message, QByteArrayView key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.static QByteArray
hash
(ByteBuffer message, ByteBuffer key, QCryptographicHash.Algorithm method) Overloaded function forhash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.final void
reset()
final QByteArray
result()
final QByteArrayView
final void
setKey
(byte [] key) Overloaded function forsetKey(io.qt.core.QByteArrayView)
.final void
setKey
(QByteArray key) Overloaded function forsetKey(io.qt.core.QByteArrayView)
.final void
setKey
(QByteArrayView key) final void
setKey
(ByteBuffer key) Overloaded function forsetKey(io.qt.core.QByteArrayView)
.final void
swap
(QMessageAuthenticationCode other) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QMessageAuthenticationCode
See
QMessageAuthenticationCode::
QMessageAuthenticationCode(QCryptographicHash::Algorithm, QByteArrayView) - Parameters:
method
-key
-
-
QMessageAuthenticationCode
Overloaded constructor for
QMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArrayView)
withkey = new io.qt.core.QByteArrayView()
. -
QMessageAuthenticationCode
Overloaded constructor for
QMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArrayView)
. -
QMessageAuthenticationCode
Overloaded constructor for
QMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArrayView)
. -
QMessageAuthenticationCode
Overloaded constructor for
QMessageAuthenticationCode(io.qt.core.QCryptographicHash.Algorithm, io.qt.core.QByteArrayView)
.
-
-
Method Details
-
addData
- Parameters:
data
-
-
addData
- Parameters:
device
-- Returns:
-
addData
- Parameters:
data
-
-
reset
-
result
- Returns:
-
resultView
- Returns:
- Since:
- This function was introduced in Qt 6.6.
-
setKey
- Parameters:
key
-
-
swap
- Parameters:
other
-- Since:
- This function was introduced in Qt 6.6.
-
hash
public static QByteArray hash(QByteArrayView message, QByteArrayView key, QCryptographicHash.Algorithm method) - Parameters:
message
-key
-method
-- Returns:
-
addData
Overloaded function for
addData(io.qt.core.QByteArrayView)
. -
addData
Overloaded function for
addData(io.qt.core.QByteArrayView)
. -
setKey
Overloaded function for
setKey(io.qt.core.QByteArrayView)
. -
setKey
Overloaded function for
setKey(io.qt.core.QByteArrayView)
. -
setKey
Overloaded function for
setKey(io.qt.core.QByteArrayView)
. -
hash
public static QByteArray hash(QByteArray message, QByteArrayView key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(ByteBuffer message, QByteArrayView key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(byte [] message, QByteArrayView key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(QByteArrayView message, QByteArray key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(QByteArray message, QByteArray key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(ByteBuffer message, QByteArray key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(QByteArrayView message, ByteBuffer key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(QByteArray message, ByteBuffer key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(ByteBuffer message, ByteBuffer key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
public static QByteArray hash(QByteArrayView message, byte [] key, QCryptographicHash.Algorithm method) Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
. -
hash
Overloaded function for
hash(io.qt.core.QByteArrayView, io.qt.core.QByteArrayView, io.qt.core.QCryptographicHash.Algorithm)
.
-