Changeset f626f58 in terepaima for signHash/cryptotoken.h
- Timestamp:
- Jun 5, 2017, 1:22:15 PM (7 years ago)
- Branches:
- master
- Children:
- ce57b45
- Parents:
- 0f7c727
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
signHash/cryptotoken.h
r0f7c727 rf626f58 65 65 CK_ULONG someDataLen, CK_BYTE_PTR sign, CK_ULONG_PTR signLen ); 66 66 67 68 /** 69 * @brief Sign a hash. 70 * 71 * @param hashToSign hash to be signed 72 * @param pin pin of cryptographic device 73 * @param label label of the private key stored in the cryptographic device 74 * @return signed hash 75 */ 76 std::vector<unsigned char> signHash(QString hashToSign, QString pin, QString label); 77 67 78 /** 68 79 * @brief Retorna información del modulo PKCS11 … … 78 89 QString returnErrorToQString(CK_RV rv); 79 90 91 92 QByteArray toHex(const std::vector<unsigned char> &data); 93 94 std::vector<unsigned char> fromHex(const QString &data); 80 95 }; 81 96
Note: See TracChangeset
for help on using the changeset viewer.