Changeset baaf582 in terepaima


Ignore:
Timestamp:
Dec 12, 2017, 11:23:30 AM (6 years ago)
Author:
Antonio Araujo <aaraujo@…>
Branches:
master
Parents:
595f4e7
Message:

Modificación en la función getCertificateInformation(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE certificate) para que se retorne el certificado en hexadecimal en la QStringList.

Location:
signHash
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • signHash/cryptotoken.cpp

    r595f4e7 rbaaf582  
    12291229    }
    12301230
    1231     //qDebug("mira el contenido qcert");
     1231    qDebug("mira el contenido qcert");
    12321232
    12331233    /*
     
    12441244    list.append(qcert.expiryDate().date().toString("dd.MM.yyyy"));
    12451245
     1246    qDebug("***CERT HEX");
     1247    qDebug(qcert.toDer().toHex());
     1248    list.append(qcert.toDer().toHex());
     1249    qDebug("************");
     1250
    12461251    //qDebug(qPrintable(qcert.effectiveDate().date().toString("dd.MM.yyyy")));
    12471252    //qDebug(qPrintable(qcert.expiryDate().date().toString("dd.MM.yyyy")));
  • signHash/cryptotoken.h

    r595f4e7 rbaaf582  
    122122     * @param hSession session handle
    123123     * @param key key handle
    124      * @return QStringList with commonName and expiration date
     124     * @return QStringList with commonName, organization, expiration date and certificate in hexadecimal
    125125     */
    126126    QStringList getCertificateInformation(CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE certificate);
Note: See TracChangeset for help on using the changeset viewer.