A C D E G I L O P S T _

A

Apdu - Class in com.sun.javacard.apduio
This class represent a pair of C-APDU and R-APDU.
Apdu() - Constructor for class com.sun.javacard.apduio.Apdu
Creates a new instance of Apdu.
APDU_TYPE_MASK - Static variable in class com.sun.javacard.apduio.Apdu
Mask to extract APDU type information: either ISO ecoding or not.

C

CadClientInterface - Interface in com.sun.javacard.apduio
An interface describing a client connection to a card.
CadDevice - Class in com.sun.javacard.apduio
Factory class producing CardClientInterface instances (connections to a card)
CadDevice(byte, InputStream, OutputStream) - Constructor for class com.sun.javacard.apduio.CadDevice
this form of constructor is used by T=0, T=1 implementations
CadDevice(byte) - Constructor for class com.sun.javacard.apduio.CadDevice
this form of constructor is used by PCSC streams are not applicable
CadTransportException - Exception in com.sun.javacard.apduio
This abstract class is the parent class of all CAD exception classes.
CadTransportException(int) - Constructor for exception com.sun.javacard.apduio.CadTransportException
Constructor method for exception class.
CASE_1 - Static variable in class com.sun.javacard.apduio.Apdu
The value which indicates this Apdu is an ISO 7816-3 Case 1 apdu
CASE_2E - Static variable in class com.sun.javacard.apduio.Apdu
The value which indicates this Apdu is an ISO 7816-3 Case 2 Extended apdu
CASE_2S - Static variable in class com.sun.javacard.apduio.Apdu
The value which indicates this Apdu is an ISO 7816-3 Case 2 Short apdu
CASE_3E - Static variable in class com.sun.javacard.apduio.Apdu
The value which indicates this Apdu is an ISO 7816-3 Case 3 Extended apdu
CASE_3S - Static variable in class com.sun.javacard.apduio.Apdu
The value which indicates this Apdu is an ISO 7816-3 Case 3 Short apdu
CASE_4E - Static variable in class com.sun.javacard.apduio.Apdu
The value which indicates this Apdu is an ISO 7816-3 Case 4 Extended apdu
CASE_4S - Static variable in class com.sun.javacard.apduio.Apdu
The value which indicates this Apdu is an ISO 7816-3 Case 4 Short apdu
CLA - Static variable in class com.sun.javacard.apduio.Apdu
The offset in the command array to the ISO 7816-3 CLA octet.
close() - Method in class com.sun.javacard.apduio.CadDevice
Flush and close the input and output streams.
com.sun.javacard.apduio - package com.sun.javacard.apduio
Provides a client API for exchanging APDUs with smart cards.
command - Variable in class com.sun.javacard.apduio.Apdu
Internal representation of the C-APDU header

D

dataIn - Variable in class com.sun.javacard.apduio.Apdu
Data part of the C-APDU
dataOut - Variable in class com.sun.javacard.apduio.Apdu
Data part of the R-APDU
debug - Variable in class com.sun.javacard.apduio.CadDevice
Internal debug flag.
deviceProtocol - Variable in class com.sun.javacard.apduio.CadDevice
The currentry used protocol

E

exchangeApdu(Apdu) - Method in interface com.sun.javacard.apduio.CadClientInterface
Exchanges com.sun.javacard.apduio.Apdu with a card.

G

getCadClientInstance(byte, InputStream, OutputStream) - Static method in class com.sun.javacard.apduio.CadDevice
A factory method
getCase() - Method in class com.sun.javacard.apduio.Apdu
Return the ISO 7816-3 Case of this Apdu
getChannelInfo() - Method in class com.sun.javacard.apduio.Apdu
Determines the channel number
getCommand() - Method in class com.sun.javacard.apduio.Apdu
Get internal representation of the header of the C-APDU
getCommandApduBytes() - Method in class com.sun.javacard.apduio.Apdu
returns the command APDU as a byte array.
getDataIn() - Method in class com.sun.javacard.apduio.Apdu
Get the data part of the C-APDU
getDataOut() - Method in class com.sun.javacard.apduio.Apdu
Get the data part of the R-APDU
getDeviceProtocol() - Method in class com.sun.javacard.apduio.CadDevice
Get the value of the protocol byte
getLc() - Method in class com.sun.javacard.apduio.Apdu
Get Lc
getLe() - Method in class com.sun.javacard.apduio.Apdu
Get Le
getMessage() - Method in exception com.sun.javacard.apduio.CadTransportException
Returns a String describing this exception.
getPCSCClientInstance(int) - Static method in class com.sun.javacard.apduio.CadDevice
A factory method for connecting to a PCSC card readed
getResponseApduBytes() - Method in class com.sun.javacard.apduio.Apdu
returns the response APDU as a byte array.
getStatus() - Method in class com.sun.javacard.apduio.Apdu
Get status (SW bytes) as integer
getStatus() - Method in exception com.sun.javacard.apduio.CadTransportException
Returns the status associated with the exception.
getSw1Sw2() - Method in class com.sun.javacard.apduio.Apdu
Get status bytes

I

in - Variable in class com.sun.javacard.apduio.CadDevice
The input stream which data is read from.
INS - Static variable in class com.sun.javacard.apduio.Apdu
The offset in the command array to the ISO 7816-3 INS octet.
isExtended - Variable in class com.sun.javacard.apduio.Apdu
Extended APDU flag

L

Lc - Variable in class com.sun.javacard.apduio.Apdu
Value of Lc
Le - Variable in class com.sun.javacard.apduio.Apdu
Value of Le
LOGICAL_CHN_MASK - Static variable in class com.sun.javacard.apduio.Apdu
Mask to extract channel information out of the CLA byte.

O

out - Variable in class com.sun.javacard.apduio.CadDevice
The output stream to which data is written.

P

P1 - Static variable in class com.sun.javacard.apduio.Apdu
The offset in the command array to the ISO 7816-3 P1 octet.
P2 - Static variable in class com.sun.javacard.apduio.Apdu
The offset in the command array to the ISO 7816-3 P2 octet.
P3 - Static variable in class com.sun.javacard.apduio.Apdu
The offset in the command array to the ISO 7816-3 P3 octet.
powerDown(boolean) - Method in interface com.sun.javacard.apduio.CadClientInterface
Send powerdown to a card
powerDown() - Method in interface com.sun.javacard.apduio.CadClientInterface
Powerdown a card or simulator and then disconnect
powerUp() - Method in interface com.sun.javacard.apduio.CadClientInterface
Send powerup to a card or a simulator
PROTOCOL_PCSC - Static variable in class com.sun.javacard.apduio.CadDevice
PC/SC constant
PROTOCOL_T0 - Static variable in class com.sun.javacard.apduio.CadDevice
Protocol constant
PROTOCOL_T1 - Static variable in class com.sun.javacard.apduio.CadDevice
Protocol constant
PROTOCOL_TCL - Static variable in class com.sun.javacard.apduio.CadDevice
Protocol constant

S

setDataIn(byte[]) - Method in class com.sun.javacard.apduio.Apdu
Set the data of the C-APDU
setDataIn(byte[], int) - Method in class com.sun.javacard.apduio.Apdu
Set the data of the C-APDU
setDataOut(byte[]) - Method in class com.sun.javacard.apduio.Apdu
Set the data part of the R-APDU
setDataOut(byte[], int) - Method in class com.sun.javacard.apduio.Apdu
Set the data part of the R-APDU
setLc(int) - Method in class com.sun.javacard.apduio.Apdu
Set the value of Lc
setLe(int) - Method in class com.sun.javacard.apduio.Apdu
Set Le
status - Variable in exception com.sun.javacard.apduio.CadTransportException
Error code
STATUS_UNKNOWN - Static variable in exception com.sun.javacard.apduio.CadTransportException
Error code constant
sw1sw2 - Variable in class com.sun.javacard.apduio.Apdu
Status as byte array

T

T1_BAD_CHECKSUM - Static variable in exception com.sun.javacard.apduio.T1Exception
 
T1_BLOCK_IO_ERROR - Static variable in exception com.sun.javacard.apduio.T1Exception
 
T1_FUNCTION_NOT_SUPPORTED - Static variable in exception com.sun.javacard.apduio.T1Exception
 
T1_PROTOCOL_VIOLATION - Static variable in exception com.sun.javacard.apduio.T1Exception
 
T1_UNINITIALIZED - Static variable in exception com.sun.javacard.apduio.T1Exception
 
T1_WRONG_LENGTH - Static variable in exception com.sun.javacard.apduio.T1Exception
 
T1Exception - Exception in com.sun.javacard.apduio
This class represents error states for T=1 CAD devices.
T1Exception(int) - Constructor for exception com.sun.javacard.apduio.T1Exception
Constructor method for this exception class.
TLP224Exception - Exception in com.sun.javacard.apduio
Exceptions related to TLP224 protocol violations
TLP224Exception(int) - Constructor for exception com.sun.javacard.apduio.TLP224Exception
Constructor
toString() - Method in class com.sun.javacard.apduio.Apdu
Generate a string representation of this Apdu in the ApduTool output format.
toString() - Method in exception com.sun.javacard.apduio.T1Exception
Returns a String describing this exception.
toString() - Method in exception com.sun.javacard.apduio.TLP224Exception
Returns a String describing this exception.

_

_messages - Static variable in class com.sun.javacard.apduio.CadDevice
Properties file with messages
_messages - Static variable in exception com.sun.javacard.apduio.CadTransportException
Properties file with messages

A C D E G I L O P S T _