ResponseType

SmartCard Application Protocol Data Unit - Response

  • Returns bytes in the response body. If this APDU has no body, this method returns nil

  • nr

    Returns the number of data bytes in the response body (Nr) or 0 if this APDU has no body. This call should be equivalent to data.count.

  • sw1

    Returns the value of the status byte SW1 as a value between 0 and 255.

  • sw2

    Returns the value of the status byte SW2 as a value between 0 and 255.

  • sw

    Returns the value of the status bytes SW1 and SW2 as a single status word SW.