|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--opencard.core.terminal.APDU | +--opencard.core.terminal.CommandAPDU
Represents a command APDU that can be modified.
Fields inherited from class opencard.core.terminal.APDU |
apdu_buffer,
apdu_length |
Constructor Summary | |
CommandAPDU(byte[] buffer)
Creates a new re-usable command APDU and initializes it with the given buffer. |
|
CommandAPDU(byte[] buffer,
int length)
Creates a new re-usable command APDU and initializes it with the given buffer. |
|
CommandAPDU(int size)
Creates a new re-usable command APDU with a given buffer size. |
Methods inherited from class opencard.core.terminal.APDU |
append,
append,
getBuffer,
getByte,
getBytes,
getLength,
setByte,
setLength,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public CommandAPDU(byte[] buffer)
buffer
- the byte array to be used for holding the APDUAPDU.getLength()
public CommandAPDU(byte[] buffer, int length) throws java.lang.IndexOutOfBoundsException
buffer
- the byte array to be used for holding the APDUlength
- the length of the APDU currently in the bufferAPDU.getLength()
public CommandAPDU(int size)
size
- the size of the buffer to createAPDU.getLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |