public interface IResponseApdu
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Returns a copy of the complete bytes in response APDU.
|
byte[] |
getData()
Returns a copy of the data bytes in body of response APDU.
|
int |
getNr()
Returns the number of data bytes in the body of response APDU or 0 if response
APDU has no body.
|
int |
getSW()
Returns the value of the status bytes SW1 and SW2 as a single
status word SW.
|
int |
getSW1()
Returns the value of the status byte SW1 of response APPDU.
|
int |
getSW2()
Returns the value of the status byte SW2 of response APPDU.
|
int getNr()
Returns the number of data bytes in the body of response APDU or 0 if response APDU has no body. This call is equivalent to <code>getData().length</code>.
byte[] getData()
Returns a copy of the data bytes in body of response APDU. If response APDU has no body, this method returns a byte array with a length of zero.
int getSW1()
Returns the value of the status byte SW1 of response APPDU. It returns a value of an unsigned byte in range of 0 to 255.
int getSW2()
Returns the value of the status byte SW2 of response APPDU. It returns a value of an unsigned byte in range of 0 to 255.
int getSW()
Returns the value of the status bytes SW1 and SW2 as a single
status word SW.
It is defined as
(getSW1() << 8) | getSW2()
byte[] getBytes()
Returns a copy of the complete bytes in response APDU.