Interface ApduRequestSpi


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      byte[] getApdu()
      Gets the APDU bytes to be sent to the card.
      java.lang.String getInfo()
      Gets the information about this APDU request (e.g.
      java.util.Set<java.lang.Integer> getSuccessfulStatusWords()
      Gets the list of status words that must be considered successful for the APDU.
    • Method Detail

      • getApdu

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

        java.util.Set<java.lang.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

        java.lang.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