PcscMacOS class

The main class to use to deal with PCSC.

Inheritance
  • Object
  • PlatformInterface
  • PcscMacOS

Constructors

PcscMacOS()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cardConnect(int context, String reader, int shareMode, int protocol) Future<Map>
Connects to the card using the specified reader.
cardDisconnect(int hCard, int disposition) Future<void>
Disconnects from the card.
establishContext(int scope) Future<int>
Establishes a PCSC context.
listReaders(int context) Future<List<String>>
Lists available readers for this context.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
releaseContext(int context) Future<void>
Releases the PCSC context.
toString() String
A string representation of this object.
inherited
transmit(int hCard, int activeProtocol, List<int> commandBytes, {bool newIsolate = false}) Future<List<int>>
Transmits an APDU to the card.
waitForCardPresent(int context, String readerName) Future<Map>
Waits for a card to be present on the specified reader.
waitForCardRemoved(int context, String readerName) Future<void>
Waits for a card to be removed on the specified reader.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith() → void