QXmppHash Class
| Header: | #include <QXmppHash> |
| Since: | QXmpp 1.5 |
Public Functions
| QXmpp::HashAlgorithm | algorithm() const |
| QByteArray | hash() const |
| void | setAlgorithm(QXmpp::HashAlgorithm algorithm) |
| void | setHash(const QByteArray &data) |
Detailed Description
Contains a hash value and its algorithm.
Member Function Documentation
QXmpp::HashAlgorithm QXmppHash::algorithm() const
Returns the algorithm used to create the hash.
See also setAlgorithm().
QByteArray QXmppHash::hash() const
Returns the binary data of the hash.
See also setHash().
void QXmppHash::setAlgorithm(QXmpp::HashAlgorithm algorithm)
Sets the algorithm that was used to create the hashed data
See also algorithm().
void QXmppHash::setHash(const QByteArray &data)
Sets the hashed data.
See also hash().