Add PKCS provider library accessor

pull/1/head
Timothy Pearson 9 years ago
parent b839144412
commit 991dd06fc6

@ -821,5 +821,9 @@ int TDECryptographicCardDevice::createNewSecretRSAKeyFromCertificate(TQByteArray
return retcode;
}
TQString TDECryptographicCardDevice::pkcsProviderLibrary() {
return OPENSC_PKCS11_PROVIDER_LIBRARY;
}
#include "tdecryptographiccarddevice.moc"
#include "tdecryptographiccarddevice_private.moc"

@ -142,6 +142,11 @@ class TDECORE_EXPORT TDECryptographicCardDevice : public TDEGenericDevice
*/
static int createNewSecretRSAKeyFromCertificate(TQByteArray &plaintext, TQByteArray &ciphertext, X509* certificate);
/**
* @return The built-in PKCS provider library file name, including the full path
*/
static TQString pkcsProviderLibrary();
public slots:
void cardStatusChanged(TQString status, TQString atr);
void workerRequestedPin(TQString prompt);

Loading…
Cancel
Save