QXmppHashUsed Class
| Header: | #include <QXmppHash.h> |
| Since: | QXmpp 1.5 |
Public Functions
| QXmppHashUsed(QXmpp::HashAlgorithm algorithm) | |
| QXmpp::HashAlgorithm | algorithm() const |
| void | setAlgorithm(QXmpp::HashAlgorithm algorithm) |
Detailed Description
Annotates the used hashing algorithm.
Member Function Documentation
QXmppHashUsed::QXmppHashUsed(QXmpp::HashAlgorithm algorithm)
Creates an object that tells other XMPP entities to use this hash algorithm.
QXmpp::HashAlgorithm QXmppHashUsed::algorithm() const
Returns the algorithm that is supposed to be used for hashing.
See also setAlgorithm().
void QXmppHashUsed::setAlgorithm(QXmpp::HashAlgorithm algorithm)
Sets the algorithm that was used to create the hashed data
See also algorithm().