Changeset ce57b45 in terepaima for signHash/cryptotoken.h
- Timestamp:
- Sep 21, 2017, 4:47:45 PM (7 years ago)
- Branches:
- master
- Children:
- 2506bdb
- Parents:
- f626f58
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
signHash/cryptotoken.h
rf626f58 rce57b45 3 3 4 4 #include <QObject> 5 #include <QStringList> 5 6 6 7 #include "pkcs11.h" … … 70 71 * 71 72 * @param hashToSign hash to be signed 72 * @param pin pin of cryptographic device73 * @param pin pin of the cryptographic device 73 74 * @param label label of the private key stored in the cryptographic device 74 75 * @return signed hash 75 76 */ 76 77 std::vector<unsigned char> signHash(QString hashToSign, QString pin, QString label); 78 79 80 std::vector<CK_OBJECT_HANDLE> findObject(CK_OBJECT_CLASS objectClass, CK_ULONG max) const; 81 82 /** 83 * @brief Returns a list of key labels 84 * 85 * @param pin pin of the cryptographic device 86 * @return QStringList of labels 87 */ 88 QStringList getPrivateKeyLabels(QString pin); 77 89 78 90 /**
Note: See TracChangeset
for help on using the changeset viewer.