Package opencard.core.terminal
-
Interface Summary Interface Description CardTerminalFactory A CardTerminalFactory produces CardTerminal objects of a certain type attached at an address.CHVEncoder Encode a String for card holder verification.ExtendedVerifiedAPDUInterface The ExtendedVerifiedAPDUInterface extends the VerifiedAPDUInterface.Observer This interface is used by the CardTerminalRegistry to communicate to an interested party added/remove card terminals and card insertion/removal.Pollable This interface must be implemented by implementations ofCardTerminal
if they do not generate events when a card is inserted in or removed from the card terminal.VerifiedAPDUInterface A CardTerminal that implements the VerifiedAPDUInterface can query the user for CHV (Card Holder Verification) data and insert that CHV data into the CommandAPDU. -
Class Summary Class Description APDU An APDU represents a Application Protocol Data Unit which is the basic unit of communication with a smart card.CardID Represents a smartcard's ATR (Answer To Reset).CardTerminal The CardTerminal class represents a physical card terminal.CardTerminalIOBlender A CardTerminalIOBlender processes (blends) user input for a CardTerminal.CardTerminalIOControl The CardTerminalIOControl class provides a means of fine-tuning the way a CardTerminal processes user input.CardTerminalRegistry The CardTerminalRegistry keeps track of the installed CardTerminals registered within a system.CHVControl Determine the characteristics of a card holder verification.CommandAPDU Represents a command APDU that can be modified.ResponseAPDU A ResponseAPDU represents a Response Application Protocol Data Unit received from the smart card in response to a previous CommandAPDU.Slot Deprecated. use slot number insteadSlotChannel A SlotChannel serves a dual purpose: It is a gate object providing access to the smart card and, in addition, is used to send and receive APDUs and generally interact with the card. -
Exception Summary Exception Description CardNotPresentException Thrown when a card should be inserted in one of the slots but is not present.CardTerminalException Through a CardTerminalException we signal all exceptions upstream.CommunicationErrorException InvalidSlotChannelException AnInvalidSlotChannelException
signals that theSlotChannel
was not valid (e.g., it was not opened by aCardTerminal
).ScriptFailedException TerminalInitException Thrown when a timeout occured.TerminalTimeoutException Thrown when a timeout occured.