Module apdu4j.core
Package apdu4j.core

Class GetMoreDataWrapper

    • Constructor Detail

    • Method Detail

      • transmit

        public CompletableFuture<byte[]> transmit​(byte[] command)
        Description copied from interface: AsynchronousBIBO
        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.

        Specified by:
        transmit in interface AsynchronousBIBO
        Parameters:
        command - payload
        Returns:
        the bytes returned from the SE. The size should always be >= 2 bytes