-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
APDUBIBO
,BlockingBIBO
public interface BIBO extends AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
byte[]
transceive(byte[] bytes)
Transceives a bunch of bytes to a secure element, synchronously.
-
-
-
Method Detail
-
transceive
byte[] transceive(byte[] bytes) throws BIBOException
Transceives a bunch of bytes to a secure element, synchronously.Comparable to:
IsoDep.transceive() in Android SCardTransmit() in PC/SC CardChannel.transmit(ByteBuffer, ByteBuffer) in javax.smartcardio Channel.transmit() in OpenMobileAPI
- Parameters:
bytes
- payload- Returns:
- the bytes returned from the SE. The size should always be >= 2 bytes
- Throws:
BIBOException
- when transceive fails
-
close
void close()
- Specified by:
close
in interfaceAutoCloseable
-
-