Searched refs:apdu (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/smartcardio/
H A DResponseAPDU.java51 private byte[] apdu; field in class:ResponseAPDU
60 * @param apdu the complete response APDU
62 * @throws NullPointerException if apdu is null
63 * @throws IllegalArgumentException if apdu.length is less than 2
65 public ResponseAPDU(byte[] apdu) { argument
66 apdu = apdu.clone();
67 check(apdu);
68 this.apdu = apdu;
71 check(byte[] apdu) argument
[all...]
H A DCommandAPDU.java72 private byte[] apdu; field in class:CommandAPDU
80 // index of start of data within the apdu array
87 * <p>Note that the apdu bytes are copied to protect against
90 * @param apdu the complete command APDU
92 * @throws NullPointerException if apdu is null
93 * @throws IllegalArgumentException if apdu does not contain a valid
96 public CommandAPDU(byte[] apdu) { argument
97 this.apdu = apdu.clone();
107 * <p>Note that the apdu byte
120 CommandAPDU(byte[] apdu, int apduOffset, int apduLength) argument
161 CommandAPDU(ByteBuffer apdu) argument
[all...]
/openjdk7/jdk/test/javax/smartcardio/
H A DTestCommandAPDU.java43 CommandAPDU apdu = new CommandAPDU((byte)0, (byte)0, (byte)0, (byte)0, data, ne);
44 //System.out.println(apdu);
45 if (apdu.getNc() != nc) {
48 if (Arrays.equals(data, apdu.getData()) == false) {
51 if (apdu.getNe() != ne) {
54 byte[] apduBytes = apdu.getBytes();

Completed in 31 milliseconds