Changeset 2506bdb in terepaima for signHash/cryptotoken.h
- Timestamp:
- Oct 4, 2017, 4:08:55 PM (7 years ago)
- Branches:
- master
- Children:
- 2aa151c
- Parents:
- ce57b45
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
signHash/cryptotoken.h
rce57b45 r2506bdb 78 78 79 79 80 std::vector<CK_OBJECT_HANDLE> findObject(CK_OBJECT_CLASS objectClass, CK_ULONG max) const;80 //std::vector<CK_OBJECT_HANDLE> findObject(CK_OBJECT_CLASS objectClass, CK_ULONG max) const; 81 81 82 82 /** 83 * @brief Returns a list of key labels83 * @brief Returns a list of private key labels 84 84 * 85 85 * @param pin pin of the cryptographic device … … 87 87 */ 88 88 QStringList getPrivateKeyLabels(QString pin); 89 90 /** 91 * @brief get label of the key 92 * @param hSession session handle 93 * @param key key handle 94 * @return key label as QString 95 */ 96 QString getKeyLabel(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE key); 97 98 /** 99 * @brief get certificate information bound to the key 100 * @param hSession session handle 101 * @param key key handle 102 * @return QStringList with commonName and expiration date 103 */ 104 QStringList getCertificateInformation(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE certificate); 105 106 /** 107 * @brief Get information of commonName and expiration date of certificates inside the device 108 * @param pin pin of the device 109 * @return list of QStringList with <commnonName,expirationDate> 110 */ 111 QList<QStringList> getCertificateCNandExpirationDate(QString pin); 112 113 /** 114 * @brief Returns information about device's certificates. 115 * 116 * @param pin pin of the device 117 * @return QList<QStringList> of information about certificate: <key label, commonName, expiration date> 118 */ 119 QList<QStringList> getDeviceCertificates(QString pin); 120 121 122 void getCertificateAttributes(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hCert); 123 124 125 89 126 90 127 /**
Note: See TracChangeset
for help on using the changeset viewer.