Interface FileSystemSendAPDU

  • All Known Implementing Classes:
    IsoCardService, SmartCardHSMCardService

    public interface FileSystemSendAPDU
    Interface implemented by CardServices supporting direct APDUs to file system objects
    Author:
    asc
    • Method Detail

      • sendCommandAPDU

        ResponseAPDU sendCommandAPDU​(CardFilePath path,
                                     CommandAPDU com,
                                     int usageQualifier)
                              throws CardServiceException,
                                     CardTerminalException
        Send APDU making sure that the object referenced by path is selected
        Parameters:
        path - the DF which should be the active DF for this APDU
        com - the command APDU
        usageQualifier - a combination of SecureChannel.CPRO / CENC / RPRO / RENC to control the transformation of the APDU for secure messaging. Use 0 for plain transmission.
        Returns:
        Response APDU the response from the card
        Throws:
        CardServiceException
        CardTerminalException