diff options
Diffstat (limited to 'tdecore/tdehw/tdecryptographiccarddevice_private.h')
-rw-r--r-- | tdecore/tdehw/tdecryptographiccarddevice_private.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdecryptographiccarddevice_private.h b/tdecore/tdehw/tdecryptographiccarddevice_private.h index 6ee4cd34a..4e6a588c4 100644 --- a/tdecore/tdehw/tdecryptographiccarddevice_private.h +++ b/tdecore/tdehw/tdecryptographiccarddevice_private.h @@ -29,6 +29,12 @@ #include <reader.h> #endif +#ifdef WITH_PKCS + #include <pkcs11-helper-1.0/pkcs11h-certificate.h> + #include <pkcs11-helper-1.0/pkcs11h-openssl.h> + #define PKCS11H_PROMPT_MASK_ALLOW_NONE (PKCS11H_PROMPT_MASK_ALLOW_ALL & ~PKCS11H_PROMPT_MASK_ALLOW_ALL) +#endif + class TDECryptographicCardDevice; class CryptoCardDeviceWatcher : public TQObject @@ -43,6 +49,7 @@ class CryptoCardDeviceWatcher : public TQObject void run(); void requestTermination(); TQString getCardATR(TQString readerName); + int retrieveCardCertificates(TQString readerName); signals: void statusChanged(TQString, TQString); @@ -51,6 +58,9 @@ class CryptoCardDeviceWatcher : public TQObject TDECryptographicCardDevice *cardDevice; private: + void deleteAllCertificatesFromCache(); + + private: bool m_terminationRequested; #ifdef WITH_PCSC SCARDCONTEXT m_cardContext; |