Interface ApduRequestSpi


public interface ApduRequestSpi
Data to build a single APDU command to be sent to a card.
Since:
1.0.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Gets the APDU bytes to be sent to the card.
    Gets the information about this APDU request (e.g.
    Gets the list of status words that must be considered successful for the APDU.
  • Method Details

    • getApdu

      byte[] getApdu()
      Gets the APDU bytes to be sent to the card.
      Returns:
      An array of at least 4 bytes.
      Since:
      1.0.0
    • getSuccessfulStatusWords

      Set<Integer> getSuccessfulStatusWords()
      Gets the list of status words that must be considered successful for the APDU.
      Returns:
      A set of integer values containing at least 9000h.
      Since:
      1.0.0
    • getInfo

      String getInfo()
      Gets the information about this APDU request (e.g. command name).

      These information are intended to improve the logging.

      Returns:
      Null if no information has been defined.
      Since:
      1.0.0