The method setOutgoingLength sets the length of response data. The length is supplied as the only argument of the method.
The method setOutgoing sets the data transfer direction to outbound.
APDU is based on RMI to communicate between the card and off-card applications.
The APDU class defines the method: public byte[] getBuffer()
The effect of the method setOutGoingAndSend can be achieved by calling setOutgoing, setOutgoingLength and sendBytes in that order.
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)
APDU is the communication format between the card and the off-card applications.
APDU is an abbrevation for "Application Protocol Data Unit".
|