Module apdu4j.core
Package apdu4j.core

Class APDUBIBO

    • Constructor Detail

      • APDUBIBO

        public APDUBIBO​(BIBO bibo)
    • Method Detail

      • transceive

        public byte[] transceive​(byte[] bytes)
                          throws BIBOException
        Description copied from interface: BIBO
        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

        Specified by:
        transceive in interface BIBO
        Parameters:
        bytes - payload
        Returns:
        the bytes returned from the SE. The size should always be >= 2 bytes
        Throws:
        BIBOException - when transceive fails