Lines Matching refs:command
78 * Transmits the specified command APDU to the Smart Card and returns the
81 * <p>The CLA byte of the command APDU is automatically adjusted to
96 * implementation should issue a <code>GET RESPONSE</code> command
103 * should reissue the command using <code>XX</code> as the
110 * @param command the command APDU
117 * <code>MANAGE CHANNEL</code> command
118 * @throws NullPointerException if command is null
121 public abstract ResponseAPDU transmit(CommandAPDU command) throws CardException;
124 * Transmits the command APDU stored in the command ByteBuffer and receives
127 * <p>The command buffer must contain valid command APDU data starting
128 * at <code>command.position()</code> and the APDU must be
129 * <code>command.remaining()</code> bytes long.
130 * Upon return, the command buffer's position will be equal
136 * <p>The CLA byte of the command APDU is automatically adjusted to
147 * @param command the buffer containing the command APDU
155 * @throws NullPointerException if command or response is null
157 * @throws IllegalArgumentException if command and response are the
160 * or if the APDU encodes a <code>MANAGE CHANNEL</code> command
163 public abstract int transmit(ByteBuffer command, ByteBuffer response)
168 * a <code>MANAGE CHANNEL</code> command that should use the format