-
- All Known Implementing Classes:
GetMoreDataWrapper
,GetResponseWrapper
,RetryWithRightLengthWrapper
,SmartCardAppFutures
public interface AsynchronousBIBO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
CompletableFuture<byte[]>
transmit(byte[] bytes)
Transceives a bunch of bytes to a secure element, asynchronously.
-
-
-
Method Detail
-
transmit
CompletableFuture<byte[]> transmit(byte[] bytes)
Transceives a bunch of bytes to a secure element, asynchronously.Comparable to:
IsoDep.transceive() in Android SCardTransmit() in PC/SC CardChannel.transmit(ByteBuffer, ByteBuffer) in javax.smartcardio Channel.transmit() in OpenMobileAPI The future is completed exceptionally if a response APDU can not be retrieved.
- Parameters:
bytes
- payload- Returns:
- the bytes returned from the SE. The size should always be >= 2 bytes
-
close
default void close()
-
-