comparison ui/sslhelp.h @ 1377:c8a6a3e6bdeb

(issue178) Show checksums after installer creation
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 15 Jan 2015 11:22:47 +0100
parents 5ebee91c0bb8
children
comparison
equal deleted inserted replaced
1376:fdef94da2d70 1377:c8a6a3e6bdeb
30 * @param [in] data The data to hash 30 * @param [in] data The data to hash
31 * @returns the sha256sum of the data 31 * @returns the sha256sum of the data
32 */ 32 */
33 QByteArray sha256sum(const QByteArray& data); 33 QByteArray sha256sum(const QByteArray& data);
34 34
35 /** @brief calculate the sha1 of the bytearray data
36 *
37 * @param [in] data The data to hash
38 * @returns the sha1sum of the data
39 */
40 QByteArray sha1sum(const QByteArray& data);
41
35 /** @brief Create a RSA signature fur a sha256 hashsum 42 /** @brief Create a RSA signature fur a sha256 hashsum
36 * 43 *
37 * @param [in] hash the hash to sign. 44 * @param [in] hash the hash to sign.
38 * @param [in] pk the key to use. 45 * @param [in] pk the key to use.
39 * @returns the signature of the data or an empty byte array on error 46 * @returns the signature of the data or an empty byte array on error

http://wald.intevation.org/projects/trustbridge/