Changeset ce57b45 in terepaima for signHash/cryptotoken.h


Ignore:
Timestamp:
Sep 21, 2017, 4:47:45 PM (7 years ago)
Author:
Antonio Araujo <aaraujo@…>
Branches:
master
Children:
2506bdb
Parents:
f626f58
Message:

Avance en función getPrivateKeyLabels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • signHash/cryptotoken.h

    rf626f58 rce57b45  
    33
    44#include <QObject>
     5#include <QStringList>
    56
    67#include "pkcs11.h"
     
    7071     *
    7172     * @param hashToSign hash to be signed
    72      * @param pin pin of cryptographic device
     73     * @param pin pin of the cryptographic device
    7374     * @param label label of the private key stored in the cryptographic device
    7475     * @return signed hash
    7576     */
    7677    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);
    7789
    7890    /**
Note: See TracChangeset for help on using the changeset viewer.