From fa4e775460bf35b655335515cb9b11a4dee9ff1a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 18 Sep 2015 23:00:25 -0500 Subject: Add autoPIN method to cryptographic card module in tdehwlib --- tdecore/tdehw/tdecryptographiccarddevice.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tdecore/tdehw/tdecryptographiccarddevice.h') 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 @@ -105,6 +105,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 -- cgit v1.2.1