SmartCard IO
-
SmartCardIO - AB Circle specific TerminalFactory Class
A factory for CardTerminal objects. It allows an application to:
- obtain a TerminalFactory by calling one of the static factory methods in this class (getDefault() or getInstance()).
- use this TerminalFactory object to access the CardTerminals by calling the terminals() method.
This TerminalFactory is using the following standard type name: “PC/SC” - an implementation that calls into the PC/SC Smart Card stack of the host platform.
Note: This TerminalFactory is the default and only TerminalFactory available for use.
See moreDeclaration
Swift
public class ABCircleTerminalFactory : Status
-
SmartCardIO - CardTerminals Class
The set of terminals supported by a TerminalFactory. This class allows applications to enumerate the available CardTerminals, obtain a specific CardTerminal, or wait for the insertion or removal of cards.
See moreDeclaration
Swift
public class CardTerminals : BaseClass
-
SmartCardIO - CardTerminal class
A Smart Card terminal, sometimes refered to as a Smart Card Reader. A CardTerminal object can be obtained by calling CardTerminals.list() or CardTerminals.getTerminal(). Note that physical card readers with slots for multiple cards are represented by one CardTerminal object per such slot.
See moreDeclaration
Swift
public class CardTerminal : BaseClass
-
SmartCardIO - CardChannel class
A logical channel connection to a Smart Card. It is used to exchange APDUs with a Smart Card. A CardChannel object can be obtained by calling the method Card.getBasicChannel() or Card.openLogicalChannel().
See moreDeclaration
Swift
public class CardChannel : BaseClass
-
SmartCardIO - CommandAPDU Class
A command APDU following the structure defined in ISO/IEC 7816-4. It consists of a four byte header and a conditional body of variable length. This class does not attempt to verify that the APDU encodes a semantically valid command.
Note that when the expected length of the response APDU is specified in the constructors, the actual length (Ne) must be specified, not its encoded form (Le). Similarly, getNe() returns the actual value Ne. In other words, a value of 0 means “no data in the response APDU” rather than “maximum length.”
This class supports both the short and extended forms of length encoding for Ne and Nc. However, note that not all terminals and Smart Cards are capable of accepting APDUs that use the extended form.
See moreDeclaration
Swift
public class CommandAPDU : BaseClass