24 #include <QSslCertificate> 59 Hash(
const quint32 aHash160bits[KNumberOfIntsInHash]) ;
68 Hash(
const quint32 aBits1,
72 const quint32 aBits5) ;
79 Hash(
const unsigned char aDigest[KNumberOfIntsInHash * 4]) ;
92 Hash(
const char* aHexString,
int aHexStringLen) ;
98 Hash(
const QSslCertificate& aSslCert) ;
184 void setFromCharArray(
const unsigned char aDigest[KNumberOfIntsInHash * 4]) ;
bool operator==(const Hash &aHashToCompare) const
void fromString(const unsigned char *aBuf)
quint32 iHash160bits[KNumberOfIntsInHash]
Definition: hash.h:202
void calculate(const QByteArray &aBuf)
bool operator<(const Hash &aHashToCompare) const
bool operator>(const Hash &aHashToCompare) const
Hash is class that carries 160-bit digest.
Definition: hash.h:38
Hash operator-(const Hash &aToBeSubstracted) const
void setFromCharArray(const unsigned char aDigest[KNumberOfIntsInHash *4])
static const int KNumberOfIntsInHash
Definition: hash.h:45
Hash operator+(const Hash &aToBeAdded) const
Hash & operator=(const Hash &aHashToSubstitute)
bool operator!=(const Hash &aHashToCompare) const
QVariant toQVariant() const
void fromQVariant(const QVariant &aQVariantHashValue)
Hash distanceFrom(const Hash &aHash)