Interface AutonomousSelectionReaderSpi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
closeLogicalChannel()
Closes the logical channel explicitly.byte[]
openChannelForAid(byte[] aid, byte isoControlMask)
Opens a logical channel for the provided AID-
Methods inherited from interface org.eclipse.keyple.core.plugin.spi.reader.ReaderSpi
checkCardPresence, closePhysicalChannel, getName, getPowerOnData, isContactless, isPhysicalChannelOpen, onUnregister, openPhysicalChannel, transmitApdu
-
-
-
-
Method Detail
-
openChannelForAid
byte[] openChannelForAid(byte[] aid, byte isoControlMask) throws ReaderIOException, CardIOException
Opens a logical channel for the provided AIDThe aid is provided as a byte array. It can be set to null to activate the basic channel opening defined by the OMAPI.
The bit mask indicates the ISO defined condition to retrieve the selection data.- Parameters:
aid
- The AID (optional)isoControlMask
- The bit mask from the ISO 7816-4 standard- Returns:
- A not empty byte array containing the card answer to selection
- Throws:
ReaderIOException
- If the communication with the reader has failed.CardIOException
- If the communication with the card has failed.- Since:
- 2.0.0
-
closeLogicalChannel
void closeLogicalChannel()
Closes the logical channel explicitly.- Since:
- 2.0.0
-
-