summaryrefslogtreecommitdiffstats
path: root/tdecore
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore')
-rw-r--r--tdecore/tdehw/tdecryptographiccarddevice.cpp4
-rw-r--r--tdecore/tdehw/tdecryptographiccarddevice.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdecryptographiccarddevice.cpp b/tdecore/tdehw/tdecryptographiccarddevice.cpp
index dd3c77888..faa803fab 100644
--- a/tdecore/tdehw/tdecryptographiccarddevice.cpp
+++ b/tdecore/tdehw/tdecryptographiccarddevice.cpp
@@ -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"
diff --git a/tdecore/tdehw/tdecryptographiccarddevice.h b/tdecore/tdehw/tdecryptographiccarddevice.h
index ba4007906..4e6cafa70 100644
--- a/tdecore/tdehw/tdecryptographiccarddevice.h
+++ b/tdecore/tdehw/tdecryptographiccarddevice.h
@@ -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);