|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopencard.core.terminal.APDU
opencard.core.terminal.CommandAPDU
public class CommandAPDU
Represents a command APDU that can be modified.
| Field Summary |
|---|
| 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. |
|
| Method Summary |
|---|
| 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 buffer
java.lang.IndexOutOfBoundsException - length exceeds the size of the array bytes.APDU.getLength()public CommandAPDU(int size)
size - the size of the buffer to createAPDU.getLength()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||