locking needs reader; refs #28

master
Marc Wäckerlin 11 years ago
parent acb046f913
commit 9ec9bea1a0
  1. 9
      src/suisseid.hxx

@ -200,6 +200,15 @@ namespace suisseid {
throw slot_not_found(name()); throw slot_not_found(name());
} }
/// Get the reader, needed for example to lock a transaction
/** @begincode
pcsc::Connection::Reader::Transaction lock(card.reader());
[... do some low level stuff ...]
@endcode */
mrw::Shared<pcsc::Connection::Reader> reader() {
return _reader;
}
/// Minimum allowed PIN length for this card. /// Minimum allowed PIN length for this card.
virtual unsigned int minimalPinLength() = 0; virtual unsigned int minimalPinLength() = 0;
/// Maximum allowed PIN length for this card. /// Maximum allowed PIN length for this card.

Loading…
Cancel
Save