APDU is based on RMI to communicate between the card and off-card applications.
The method setOutgoingLength sets the length of response data. The length is supplied as the only argument of the method.
APDU is the communication format between the card and the off-card applications.
The effect of the method setOutGoingAndSend can be achieved by calling setOutgoing, setOutgoingLength and sendBytes in that order.
APDU is an abbrevation for "Application Protocol Data Unit".
The method setOutgoing sets the data transfer direction to outbound.
The method sendBytesLong in the APDU class is overloaded. (note: maybe remove this answer; it is not so important to know about what not exists)
The APDU class defines the method: public byte[] getBuffer()
|