Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
W
A
ABSENT
- Static variable in class com.linuxnet.jpcsc.
PCSC
Card is absent
Apdu
- class com.linuxnet.jpcsc.
Apdu
.
The Apdu class encapsulates an APDU.
Apdu(byte[])
- Constructor for class com.linuxnet.jpcsc.
Apdu
Construct apdu by taking given buffer.
Apdu(int)
- Constructor for class com.linuxnet.jpcsc.
Apdu
Allocate len bytes for internal APDU buffer.
Apdu(int, int, int, int, int, byte[], int, int)
- Constructor for class com.linuxnet.jpcsc.
Apdu
Construct internal buffer from given data.
Apdu.Format
- class com.linuxnet.jpcsc.
Apdu.Format
.
The Format class described the format to use for converting APDU strings to buffers and vice versa.
Apdu.Format()
- Constructor for class com.linuxnet.jpcsc.
Apdu.Format
Constructor.
Apdu.Format(int, boolean, boolean)
- Constructor for class com.linuxnet.jpcsc.
Apdu.Format
Constructor.
addByte(int)
- Method in class com.linuxnet.jpcsc.
Apdu
Add a data byte to the apdu.
addByte(byte)
- Method in class com.linuxnet.jpcsc.
Apdu
Add a data byte to the apdu.
addLe(int)
- Method in class com.linuxnet.jpcsc.
Apdu
Add expected length of data.
addString(String)
- Method in class com.linuxnet.jpcsc.
Apdu
Add a string representing data to the apdu data area.
B
BeginTransaction()
- Method in class com.linuxnet.jpcsc.
Card
Signal the start of a transaction.
ba2s(byte[])
- Static method in class com.linuxnet.jpcsc.
Apdu
Return string representation for bytearray.
ba2s(byte[], int, int)
- Static method in class com.linuxnet.jpcsc.
Apdu
Return string representation for bytearray range.
ba2s(byte[], Apdu.Format)
- Static method in class com.linuxnet.jpcsc.
Apdu
Return string representation for bytearray.
ba2s(byte[], int, int, Apdu.Format)
- Static method in class com.linuxnet.jpcsc.
Apdu
Return string representation for bytearray range according to given format.
buf
- Variable in class com.linuxnet.jpcsc.
Apdu
The buffer keeping the apdu data.
C
CODES_COUNT
- Static variable in class com.linuxnet.jpcsc.
PCSC
Cancel()
- Method in class com.linuxnet.jpcsc.
Context
Cancel all pending GetStatusChange() calls.
Card
- class com.linuxnet.jpcsc.
Card
.
The Card-class offers the PCSC-functions related to connecting, disconnecting and transfering data to cards.
Card()
- Constructor for class com.linuxnet.jpcsc.
Card
Constructor.
Connect(String, int, int)
- Method in class com.linuxnet.jpcsc.
Context
Return card object in case of successful connection.
Context
- class com.linuxnet.jpcsc.
Context
.
The Context-class wraps the PCSC-functions related to connecting/disconnecting to the PCSC-service and card-readers.
Context()
- Constructor for class com.linuxnet.jpcsc.
Context
Constructor.
Control(int, byte[], int, int)
- Method in class com.linuxnet.jpcsc.
Card
Wrapper for SCardControl().
card
- Variable in class com.linuxnet.jpcsc.
Card
Native handle.
com.linuxnet.jpcsc
- package com.linuxnet.jpcsc
construct(int, int, int, int, int, byte[], int, int)
- Static method in class com.linuxnet.jpcsc.
Apdu
Construct APDU and return it in a newly created array.
ctx
- Variable in class com.linuxnet.jpcsc.
Context
The native handle.
D
Disconnect(int)
- Method in class com.linuxnet.jpcsc.
Card
Disconnect from card.
dataFormat
- Variable in class com.linuxnet.jpcsc.
Apdu.Format
Format of data printed.
defaultFormat
- Static variable in class com.linuxnet.jpcsc.
Apdu
Default format for convert rotuines.
digits
- Static variable in class com.linuxnet.jpcsc.
Apdu
Helper string.
dwCurrentState
- Variable in class com.linuxnet.jpcsc.
State
Set by Context.GetStatusChange() and Card.Status().
dwEventState
- Variable in class com.linuxnet.jpcsc.
State
Only set via Context.GetStatusChange().
E
EJECT_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
Eject on close
E_CANCELLED
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_CANT_DISPOSE
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_CARD_UNSUPPORTED
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_DUPLICATE_READER
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_INSUFFICIENT_BUFFER
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_INVALID_ATR
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_INVALID_HANDLE
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_INVALID_PARAMETER
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_INVALID_TARGET
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_INVALID_VALUE
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_NOT_READY
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_NOT_TRANSACTED
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_NO_MEMORY
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_NO_SERVICE
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_NO_SMARTCARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_PCI_TOO_SMALL
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_PROTO_MISMATCH
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_READER_UNAVAILABLE
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_READER_UNSUPPORTED
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_SERVICE_STOPPED
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_SHARING_VIOLATION
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_SYSTEM_CANCELLED
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_TIMEOUT
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_UNKNOWN_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
E_UNKNOWN_READER
- Static variable in class com.linuxnet.jpcsc.
PCSC
EndTransaction(int)
- Method in class com.linuxnet.jpcsc.
Card
Signal end of a transaction.
EstablishContext(int, String, String)
- Method in class com.linuxnet.jpcsc.
Context
Establish context.
emptyStringArray
- Static variable in class com.linuxnet.jpcsc.
Context
Dummy empty string array.
F
F_COMM_ERROR
- Static variable in class com.linuxnet.jpcsc.
PCSC
F_INTERNAL_ERROR
- Static variable in class com.linuxnet.jpcsc.
PCSC
F_UNKNOWN_ERROR
- Static variable in class com.linuxnet.jpcsc.
PCSC
F_WAITED_TOO_LONG
- Static variable in class com.linuxnet.jpcsc.
PCSC
finalize()
- Method in class com.linuxnet.jpcsc.
Card
Cleanup.
finalize()
- Method in class com.linuxnet.jpcsc.
Context
Cleanup operation.
G
GetStatusChange(int, State[])
- Method in class com.linuxnet.jpcsc.
Context
Return status change for given readers.
getBuffer()
- Method in class com.linuxnet.jpcsc.
Apdu
Return internal buffer.
getBytes(byte[], int)
- Method in class com.linuxnet.jpcsc.
Apdu
Copy the currently defined apdu to given buffer.
getLength()
- Method in class com.linuxnet.jpcsc.
Apdu
Return length of apdu in the internal buffer.
getMessage()
- Method in class com.linuxnet.jpcsc.
PCSCException
Return error message.
getProto()
- Method in class com.linuxnet.jpcsc.
Card
Return protocol used.
getReason()
- Method in class com.linuxnet.jpcsc.
PCSCException
Return code.
H
HEX_COLON_HEX_FORMAT
- Static variable in class com.linuxnet.jpcsc.
Apdu
Output format: hex:hex:hex
HEX_SPACE_HEX_FORMAT
- Static variable in class com.linuxnet.jpcsc.
Apdu
Output format: hex space hex space hex
HEX_VOID_HEX_FORMAT
- Static variable in class com.linuxnet.jpcsc.
Apdu
Output format: hexhexhex
I
initialize()
- Static method in class com.linuxnet.jpcsc.
PCSC
L
LEAVE_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
Do nothing on close
ListReaderGroups()
- Method in class com.linuxnet.jpcsc.
Context
List all known reader groups by the system.
ListReaders()
- Method in class com.linuxnet.jpcsc.
Context
List all known readers in all known groups.
ListReaders(String)
- Method in class com.linuxnet.jpcsc.
Context
List all known readers in given group.
ListReaders(String[])
- Method in class com.linuxnet.jpcsc.
Context
List all known readers in given group.
len
- Variable in class com.linuxnet.jpcsc.
Apdu
The length of the data in the buffer keeping the APDU.
M
MAX_BRACE_CNT
- Static variable in class com.linuxnet.jpcsc.
Apdu
Number of parentheses allowed in string specifications of APDUs.
main(String[])
- Static method in class com.linuxnet.jpcsc.
Apdu
Test the convert methods.
N
NEGOTIABLE
- Static variable in class com.linuxnet.jpcsc.
PCSC
Ready for PTS
NativeBeginTransaction()
- Method in class com.linuxnet.jpcsc.
Card
NativeCancel()
- Method in class com.linuxnet.jpcsc.
Context
NativeConnect(Card, String, int, int)
- Method in class com.linuxnet.jpcsc.
Context
NativeControl(int, byte[], int, int)
- Method in class com.linuxnet.jpcsc.
Card
NativeDisconnect(int)
- Method in class com.linuxnet.jpcsc.
Card
NativeEndTransaction(int)
- Method in class com.linuxnet.jpcsc.
Card
NativeEstablishContext(int, String, String)
- Method in class com.linuxnet.jpcsc.
Context
NativeGetStatusChange(int, State[])
- Method in class com.linuxnet.jpcsc.
Context
NativeInitialize(Class, Class, Class)
- Static method in class com.linuxnet.jpcsc.
PCSC
NativeListReaderGroups()
- Method in class com.linuxnet.jpcsc.
Context
NativeListReaders()
- Method in class com.linuxnet.jpcsc.
Context
NativeListReaders(String)
- Method in class com.linuxnet.jpcsc.
Context
NativeListReaders(String[])
- Method in class com.linuxnet.jpcsc.
Context
NativeReconnect(int, int, int)
- Method in class com.linuxnet.jpcsc.
Card
NativeReleaseContext()
- Method in class com.linuxnet.jpcsc.
Context
NativeStatus(State)
- Method in class com.linuxnet.jpcsc.
Card
NativeTransmit(byte[], int, int)
- Method in class com.linuxnet.jpcsc.
Card
NativeTransmit(byte[], int, int, byte[], int)
- Method in class com.linuxnet.jpcsc.
Card
P
PCSC
- class com.linuxnet.jpcsc.
PCSC
.
Warning, Error, Parameter Codes.
PCSC()
- Constructor for class com.linuxnet.jpcsc.
PCSC
PCSCException
- exception com.linuxnet.jpcsc.
PCSCException
.
Exception class used for PCSC-related errors.
PCSCException()
- Constructor for class com.linuxnet.jpcsc.
PCSCException
Default constructor.
PCSCException(String)
- Constructor for class com.linuxnet.jpcsc.
PCSCException
Constructor.
PCSCException(String, int)
- Constructor for class com.linuxnet.jpcsc.
PCSCException
Constructor.
POWERED
- Static variable in class com.linuxnet.jpcsc.
PCSC
Card is powered
PRESENT
- Static variable in class com.linuxnet.jpcsc.
PCSC
Card is present
PROTOCOL_ANY
- Static variable in class com.linuxnet.jpcsc.
PCSC
IFD determines protocol.
PROTOCOL_DEFAULT
- Static variable in class com.linuxnet.jpcsc.
PCSC
IFD determines protocol.
PROTOCOL_RAW
- Static variable in class com.linuxnet.jpcsc.
PCSC
Raw active protocol.
PROTOCOL_T0
- Static variable in class com.linuxnet.jpcsc.
PCSC
T=0 active protocol.
PROTOCOL_T1
- Static variable in class com.linuxnet.jpcsc.
PCSC
T=1 active protocol.
pcscNativeLibName
- Static variable in class com.linuxnet.jpcsc.
PCSC
Name of the native library we depend on.
printAscii
- Variable in class com.linuxnet.jpcsc.
Apdu.Format
Append ascii representation of apdu.
printLength
- Variable in class com.linuxnet.jpcsc.
Apdu.Format
Prepend string with apdu length.
proto
- Variable in class com.linuxnet.jpcsc.
Card
Protocol used.
proto
- Variable in class com.linuxnet.jpcsc.
State
Only set via Card.Status().
pvUserData
- Variable in class com.linuxnet.jpcsc.
State
Not used.
R
RESET_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
Reset on close
Reconnect(int, int, int)
- Method in class com.linuxnet.jpcsc.
Card
Reconnect to card.
ReleaseContext()
- Method in class com.linuxnet.jpcsc.
Context
Release context.
reason
- Variable in class com.linuxnet.jpcsc.
PCSCException
PCSC status code for failed action.
reset()
- Method in class com.linuxnet.jpcsc.
Apdu
Reset the buffer.
reset(int)
- Method in class com.linuxnet.jpcsc.
Apdu
Reset Apdu, reallocate buffer.
rgbAtr
- Variable in class com.linuxnet.jpcsc.
State
The ATR received by a card.
S
SCOPE_GLOBAL
- Static variable in class com.linuxnet.jpcsc.
PCSC
Scope is global, mapped on SCOPE_SYSTEM on Windows
SCOPE_SYSTEM
- Static variable in class com.linuxnet.jpcsc.
PCSC
Scope in system
SCOPE_TERMINAL
- Static variable in class com.linuxnet.jpcsc.
PCSC
Scope in terminal
SCOPE_USER
- Static variable in class com.linuxnet.jpcsc.
PCSC
Scope in user space
SHARE_DIRECT
- Static variable in class com.linuxnet.jpcsc.
PCSC
Raw mode only
SHARE_EXCLUSIVE
- Static variable in class com.linuxnet.jpcsc.
PCSC
Exclusive mode only
SHARE_SHARED
- Static variable in class com.linuxnet.jpcsc.
PCSC
Shared mode only
SPECIFIC
- Static variable in class com.linuxnet.jpcsc.
PCSC
PTS has been set
STATE_ATRMATCH
- Static variable in class com.linuxnet.jpcsc.
PCSC
ATR matches card
STATE_CHANGED
- Static variable in class com.linuxnet.jpcsc.
PCSC
State has changed
STATE_EMPTY
- Static variable in class com.linuxnet.jpcsc.
PCSC
Card removed
STATE_EXCLUSIVE
- Static variable in class com.linuxnet.jpcsc.
PCSC
Exclusive Mode
STATE_IGNORE
- Static variable in class com.linuxnet.jpcsc.
PCSC
Ignore this reader
STATE_INUSE
- Static variable in class com.linuxnet.jpcsc.
PCSC
Shared Mode
STATE_MUTE
- Static variable in class com.linuxnet.jpcsc.
PCSC
Unresponsive card
STATE_PRESENT
- Static variable in class com.linuxnet.jpcsc.
PCSC
Card inserted
STATE_UNAVAILABLE
- Static variable in class com.linuxnet.jpcsc.
PCSC
Status unavailable
STATE_UNAWARE
- Static variable in class com.linuxnet.jpcsc.
PCSC
App wants status
STATE_UNKNOWN
- Static variable in class com.linuxnet.jpcsc.
PCSC
Reader unknown
SUCCESS
- Static variable in class com.linuxnet.jpcsc.
PCSC
Note that PCSClite versions up to 0.8.2 return 1 instead of 0 on success and thus do not match jpcsc.
SWALLOWED
- Static variable in class com.linuxnet.jpcsc.
PCSC
Card not powered
State
- class com.linuxnet.jpcsc.
State
.
Instances are used to keep information about the states of connections with readers or cards.
State(String)
- Constructor for class com.linuxnet.jpcsc.
State
Constructor.
State()
- Constructor for class com.linuxnet.jpcsc.
State
Default constructor.
Status()
- Method in class com.linuxnet.jpcsc.
Card
Return status of connection.
StringifyError(int)
- Static method in class com.linuxnet.jpcsc.
Context
Return symbolic representation of an error.
s2ba(String)
- Static method in class com.linuxnet.jpcsc.
Apdu
Convert string to a bytearray.
s2ba(String, byte[], int)
- Static method in class com.linuxnet.jpcsc.
Apdu
Convert string to a bytearray.
set(byte[])
- Method in class com.linuxnet.jpcsc.
Apdu
Copy the given apdu to the internal buffer.
set(byte[], int, int)
- Method in class com.linuxnet.jpcsc.
Apdu
Copy the given apdu (range froma bytearray) to the internal buffer.
set(int, int, int, int, int, byte[], int, int)
- Method in class com.linuxnet.jpcsc.
Apdu
Create an apdu from the given data.
set(int, int, int, int)
- Method in class com.linuxnet.jpcsc.
Apdu
Create apdu payload from given data.
set(String)
- Method in class com.linuxnet.jpcsc.
Apdu
Set apdu data from given string.
szReader
- Variable in class com.linuxnet.jpcsc.
State
The name of the reader.
T
Transmit(Apdu)
- Method in class com.linuxnet.jpcsc.
Card
Transmit given APDU.
Transmit(byte[], int, int)
- Method in class com.linuxnet.jpcsc.
Card
Transmit data.
Transmit(int, int, int, int, int, byte[], int, int)
- Method in class com.linuxnet.jpcsc.
Card
Transmit data to the card.
Transmit(int, int, int, int, byte[], int, int, int)
- Method in class com.linuxnet.jpcsc.
Card
Transmit data to the card.
Transmit(int, int, int, int, byte[], int)
- Method in class com.linuxnet.jpcsc.
Card
Transmit data to the card.
Transmit(int, int, int, int, byte[], int, int)
- Method in class com.linuxnet.jpcsc.
Card
Transmit data to the card.
Transmit(int, int, int, int, byte[])
- Method in class com.linuxnet.jpcsc.
Card
Transmit data to the card.
Transmit(byte[], int, int, byte[], int)
- Method in class com.linuxnet.jpcsc.
Card
Transmit data.
toString()
- Method in class com.linuxnet.jpcsc.
Apdu
Return string representation of apdu.
toString(Apdu.Format)
- Method in class com.linuxnet.jpcsc.
Apdu
Return string representation of apdu according to given format specification.
toString()
- Method in class com.linuxnet.jpcsc.
PCSCException
Return symbolic representation of this exception.
toString()
- Method in class com.linuxnet.jpcsc.
State
Return a string representation.
U
UNKNOWN
- Static variable in class com.linuxnet.jpcsc.
PCSC
Unknown state
UNPOWER_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
Power down on close
W
W_REMOVED_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
W_RESET_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
W_UNPOWERED_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
W_UNRESPONSIVE_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
W_UNSUPPORTED_CARD
- Static variable in class com.linuxnet.jpcsc.
PCSC
A
B
C
D
E
F
G
H
I
L
M
N
P
R
S
T
U
W
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes