locking needs reader; refs #28
This commit is contained in:
@@ -200,6 +200,15 @@ namespace suisseid {
|
||||
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.
|
||||
virtual unsigned int minimalPinLength() = 0;
|
||||
/// Maximum allowed PIN length for this card.
|
||||
|
Reference in New Issue
Block a user