summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehw/tdecryptographiccarddevice.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-09-18 23:00:25 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2015-09-18 23:00:25 -0500
commitfa4e775460bf35b655335515cb9b11a4dee9ff1a (patch)
treee1779761928c50f9d640fdb29aa418afdc0759c5 /tdecore/tdehw/tdecryptographiccarddevice.h
parent991dd06fc600f1f99b5aff35734f8b77a8d78f1c (diff)
downloadtdelibs-fa4e775460bf35b655335515cb9b11a4dee9ff1a.tar.gz
tdelibs-fa4e775460bf35b655335515cb9b11a4dee9ff1a.zip
Add autoPIN method to cryptographic card module in tdehwlib
Diffstat (limited to 'tdecore/tdehw/tdecryptographiccarddevice.h')
-rw-r--r--tdecore/tdehw/tdecryptographiccarddevice.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdecryptographiccarddevice.h b/tdecore/tdehw/tdecryptographiccarddevice.h
index 4e6cafa70..29455ce23 100644
--- a/tdecore/tdehw/tdecryptographiccarddevice.h
+++ b/tdecore/tdehw/tdecryptographiccarddevice.h
@@ -106,6 +106,16 @@ class TDECORE_EXPORT TDECryptographicCardDevice : public TDEGenericDevice
void setProvidedPin(TQString pin);
/**
+ * If the inserted card and system configuration provides a PIN for automatic
+ * pin-less operation, @returns the PIN to use when unlocking the card, otherwise
+ * @returns TQString::null.
+ *
+ * @see pinRequested(TQString prompt)
+ * @see setProvidedPin(TQString pin)
+ */
+ TQString autoPIN();
+
+ /**
* If monitoring of insert / remove events is enabled, and a card has been inserted,
* decrypt data originally encrypted using a public key from one of the certificates
* stored on the card.