Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AfiPcsc - Class in de.gematik.smartcards.pcsc
-
Provider object for PC/SC.
- AfiPcsc() - Constructor for class de.gematik.smartcards.pcsc.AfiPcsc
-
Default constructor.
B
- beginExclusive() - Method in class de.gematik.smartcards.pcsc.Icc
-
Requests exclusive access to this card.
C
- cbAtr - Variable in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Number of octets in ATR.
- cbPciLength - Variable in class de.gematik.smartcards.pcsc.lib.ScardIoRequest
-
Protocol Control Information Length.
- close() - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Closes this card channel.
- close() - Method in class de.gematik.smartcards.pcsc.IfdCollection
-
Closes this resource, relinquishing any underlying resources.
- connect(String) - Method in class de.gematik.smartcards.pcsc.Ifd
-
Establishes a connection to the card.
- createArray(List<String>, boolean) - Static method in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Creates and initializes an array of
ScardReaderState.
D
- de.gematik.smartcards.pcsc - module de.gematik.smartcards.pcsc
-
Module information.
- de.gematik.smartcards.pcsc - package de.gematik.smartcards.pcsc
-
This package provides PC/SC functionalities.
- de.gematik.smartcards.pcsc.lib - package de.gematik.smartcards.pcsc.lib
-
This package provides PC/SC functionalities.
- disconnect(boolean) - Method in class de.gematik.smartcards.pcsc.Icc
-
Disconnects the connection with this card.
- dwCurrentState - Variable in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Current state of reader.
- dwEventState - Variable in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Reader state ofter a state change.
- Dword - Class in de.gematik.smartcards.pcsc.lib
-
The DWORD type used by WinSCard.h, used wherever an integer is needed in SCard functions.
- Dword() - Constructor for class de.gematik.smartcards.pcsc.lib.Dword
-
Default constructor results in a
Dwordwith value 0. - Dword(long) - Constructor for class de.gematik.smartcards.pcsc.lib.Dword
-
Comfort constructor, results in a
Dwordwith given value. - DwordByReference - Class in de.gematik.smartcards.pcsc.lib
-
Pointer to a DWORD (LPDWORD) type used by WinSCard.h.
- DwordByReference() - Constructor for class de.gematik.smartcards.pcsc.lib.DwordByReference
-
Default constructor results in a "pointer" to a
Dwordwith value 0. - DwordByReference(Dword) - Constructor for class de.gematik.smartcards.pcsc.lib.DwordByReference
-
Comfort constructor.
- dwProtocol - Variable in class de.gematik.smartcards.pcsc.lib.ScardIoRequest
-
Protocol in use.
E
- endExclusive() - Method in class de.gematik.smartcards.pcsc.Icc
-
Releases the exclusive access previously established using
beginExclusive. - engineTerminals() - Method in class de.gematik.smartcards.pcsc.IfdFactory
-
Returns the
CardTerminalscreated by this factory. - EstablishContextException - Exception Class in de.gematik.smartcards.pcsc
-
Class providing a specific exception in case establishing a context fails.
- EstablishContextException(PcscException) - Constructor for exception class de.gematik.smartcards.pcsc.EstablishContextException
-
Constructor.
G
- getAnswerToReset() - Method in class de.gematik.smartcards.pcsc.Icc
-
Getter.
- getATR() - Method in class de.gematik.smartcards.pcsc.Icc
-
Returns the ATR of this card.
- getBasicChannel() - Method in class de.gematik.smartcards.pcsc.Icc
-
Returns the CardChannel for the basic logical channel.
- getCard() - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Returns the Card this channel is associated with.
- getChannelNumber() - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Returns the channel number of this CardChannel.
- getName() - Method in class de.gematik.smartcards.pcsc.Ifd
-
Returns the unique name of this terminal.
- getProtocol() - Method in class de.gematik.smartcards.pcsc.Icc
-
Returns the protocol in use for this card.
- getTime() - Method in class de.gematik.smartcards.pcsc.Icc
-
Returns execution time of previous command-response pair.
- getTime() - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Returns execution time of previous command-response pair.
- getValue() - Method in class de.gematik.smartcards.pcsc.lib.DwordByReference
-
Returns value pointed to by this pointer.
- getValue() - Method in class de.gematik.smartcards.pcsc.lib.ScardContextByReference
-
Constructs a new
ScardContextfrom value pointed to by this instance. - getValue() - Method in class de.gematik.smartcards.pcsc.lib.ScardHandleByReference
-
Constructs a new
ScardHandlefrom value pointed to by this instance.
I
- Icc - Class in de.gematik.smartcards.pcsc
- IccChannel - Class in de.gematik.smartcards.pcsc
-
A logical channel connection to a Smart Card.
- Ifd - Class in de.gematik.smartcards.pcsc
-
Class extending
CardTerminal. - IfdCollection - Class in de.gematik.smartcards.pcsc
-
Class providing an implementation of
CardTerminals. - IfdCollection() - Constructor for class de.gematik.smartcards.pcsc.IfdCollection
-
Default constructor.
- IfdFactory - Class in de.gematik.smartcards.pcsc
-
Class providing an implementation of
TerminalFactorySpi. - IfdFactory(Object) - Constructor for class de.gematik.smartcards.pcsc.IfdFactory
-
Constructor with (unused) parameter.
- INFINITE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Infinite timeout.
- INFO - Static variable in class de.gematik.smartcards.pcsc.AfiPcsc
-
Information.
- isCardPresent() - Method in class de.gematik.smartcards.pcsc.Ifd
-
Returns whether a card is present in this terminal.
- isClosed() - Method in class de.gematik.smartcards.pcsc.IfdCollection
-
Getter.
L
- list(CardTerminals.State) - Method in class de.gematik.smartcards.pcsc.IfdCollection
-
Returns an unmodifiable list of all terminals matching the specified state.
M
- multiString(byte[]) - Static method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
-
Converts octet string into a list of strings.
O
- openLib() - Static method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
-
Pseudo constructor.
- openLogicalChannel() - Method in class de.gematik.smartcards.pcsc.Icc
-
Opens a new logical channel to the card and returns it.
P
- PcscException - Exception Class in de.gematik.smartcards.pcsc
-
Class providing a more specific exception in case something is wrong.
- PcscException(int, String) - Constructor for exception class de.gematik.smartcards.pcsc.PcscException
-
Comfort constructor.
- PcscException(int, String, Throwable) - Constructor for exception class de.gematik.smartcards.pcsc.PcscException
-
Comfort constructor.
- PNP_READER_ID - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Special value used to get notified of he arrival of another smart card reader.
- PROVIDER_NAME - Static variable in class de.gematik.smartcards.pcsc.AfiPcsc
-
Name of provider.
- pvUserData - Variable in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Pointer to user defined data.
R
- reset() - Method in class de.gematik.smartcards.pcsc.Icc
-
Resets the application layer of the smart card.
- reset() - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Resets this card channel.
- rgbAtr - Variable in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Answer-To-Reset (ATR).
S
- SCARD_ABSENT - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_ABSENT.
- SCARD_ALL_READERS - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Group used when no group name is provided when listing readers.
- SCARD_AUTOALLOCATE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Special value used when indicating the length of an output buffer.
- SCARD_DEFAULT_READERS - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Default group to which all readers are added when introduced into the system.
- SCARD_EJECT_CARD - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_EJECT_CARD.
- SCARD_LEAVE_CARD - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_LEAVE_CARD.
- SCARD_LOCAL_READERS - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Deprecated.i.e. legacy value
- SCARD_NEGOTIABLE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_NEGOTIABLE.
- SCARD_POWERED - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_POWERED.
- SCARD_PRESENT - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_PRESENT.
- SCARD_PROTOCOL_RAW - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_PROTOCOL_RAW.
- SCARD_PROTOCOL_T0 - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_PROTOCOL_T0.
- SCARD_PROTOCOL_T1 - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_PROTOCOL_T1.
- SCARD_PROTOCOL_UNDEFINED - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_PROTOCOL_UNDEFINED.
- SCARD_RESET_CARD - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_RESET_CARD.
- SCARD_SCOPE_SYSTEM - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Scope system.
- SCARD_SCOPE_TERMINAL - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Scope terminal.
- SCARD_SCOPE_USER - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Scope user.
- SCARD_SHARE_DIRECT - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_SHARE_DIRECT.
- SCARD_SHARE_EXCLUSIVE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_SHARE_EXCLUSIVE.
- SCARD_SHARE_SHARED - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_SHARE_SHARED.
- SCARD_SPECIFIC - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_SPECIFIC.
- SCARD_STATE_ATRMATCH - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
ATR matches card.
- SCARD_STATE_CHANGED - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
State has changed.
- SCARD_STATE_EMPTY - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Card removed.
- SCARD_STATE_EXCLUSIVE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Exclusive Mode.
- SCARD_STATE_IGNORE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Ignore this reader.
- SCARD_STATE_INUSE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Shared Mode.
- SCARD_STATE_MUTE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Unresponsive card.
- SCARD_STATE_PRESENT - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Card inserted.
- SCARD_STATE_UNAVAILABLE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Status unavailable.
- SCARD_STATE_UNAWARE - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
App wants status.
- SCARD_STATE_UNKNOWN - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Reader unknown.
- SCARD_STATE_UNPOWERED - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Unpowered card.
- SCARD_SWALLOWED - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_SWALLOWED.
- SCARD_SYSTEM_READERS - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Deprecated.i.e. legacy value
- SCARD_UNKNOWN - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_UNKNOWN.
- SCARD_UNPOWER_CARD - Static variable in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
SCARD_UNPOWER_CARD.
- scardConnect(ScardContext, String, int, int, ScardHandleByReference, DwordByReference) - Method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
- SCardConnect(ScardContext, String, Dword, Dword, ScardHandleByReference, DwordByReference) - Method in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Establishes a connection to a smart card.
- ScardContext - Class in de.gematik.smartcards.pcsc.lib
-
Context used by most SCard functions.
- ScardContext() - Constructor for class de.gematik.smartcards.pcsc.lib.ScardContext
-
Default constructor.
- ScardContext(long) - Constructor for class de.gematik.smartcards.pcsc.lib.ScardContext
-
Comfort constructor.
- ScardContextByReference - Class in de.gematik.smartcards.pcsc.lib
-
PSCARDCONTEXT used for SCardEstablishContext.
- ScardContextByReference() - Constructor for class de.gematik.smartcards.pcsc.lib.ScardContextByReference
- scardDisconnect(ScardHandle, int) - Method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
-
Method wrapping
WinscardLibrary.SCardDisconnect(ScardHandle, Dword). - SCardDisconnect(ScardHandle, Dword) - Method in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Terminates a connection between an application and a smart card.
- scardEstablishContext(Dword, Pointer, Pointer, ScardContextByReference) - Method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
- SCardEstablishContext(Dword, Pointer, Pointer, ScardContextByReference) - Method in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Establishes a context.
- scardGetStatusChange(ScardContext, long, ScardReaderState...) - Method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
- SCardGetStatusChange(ScardContext, Dword, ScardReaderState[], Dword) - Method in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Provides a status for a specific set of readers.
- ScardHandle - Class in de.gematik.smartcards.pcsc.lib
-
The
SCARDHANDLEtype defined inpcsclite.h.in. - ScardHandle() - Constructor for class de.gematik.smartcards.pcsc.lib.ScardHandle
-
Default constructor.
- ScardHandleByReference - Class in de.gematik.smartcards.pcsc.lib
-
Pointer to an
ScardHandle. - ScardHandleByReference() - Constructor for class de.gematik.smartcards.pcsc.lib.ScardHandleByReference
- ScardIoRequest - Class in de.gematik.smartcards.pcsc.lib
-
The SCARD_IO_REQUEST struct defined in pcsclite.h.in.
- scardListReaders(ScardContext, String, byte[], DwordByReference) - Method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
- SCardListReaders(ScardContext, ByteBuffer, ByteBuffer, DwordByReference) - Method in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Provides a list of readers.
- ScardReaderState - Class in de.gematik.smartcards.pcsc.lib
-
The
SCARD_READERSTATEstruct used bySCardGetStatusChange, see pcsclite.h. - ScardReaderState() - Constructor for class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Default constructor.
- scardReleaseContext(ScardContext) - Method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
-
Method wrapping
WinscardLibrary.SCardReleaseContext(ScardContext). - SCardReleaseContext(ScardContext) - Method in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Releases a context.
- scardStatus(ScardHandle, ByteBuffer, DwordByReference, DwordByReference, DwordByReference, ByteBuffer, DwordByReference) - Method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
- SCardStatus(ScardHandle, ByteBuffer, DwordByReference, DwordByReference, DwordByReference, ByteBuffer, DwordByReference) - Method in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Retrieves the current status of a smart card in a reader.
- scardTransmit(ScardHandle, byte[], double...) - Method in class de.gematik.smartcards.pcsc.lib.WinscardLibraryImpl
- SCardTransmit(ScardHandle, ScardIoRequest, ByteBuffer, Dword, ScardIoRequest, ByteBuffer, DwordByReference) - Method in interface de.gematik.smartcards.pcsc.lib.WinscardLibrary
-
Transmits data to and from a connected smart card.
- send(byte[]) - Method in class de.gematik.smartcards.pcsc.Icc
-
Sends given message.
- send(byte[]) - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Sends given message and returns the corresponding response.
- send(CommandApdu) - Method in class de.gematik.smartcards.pcsc.Icc
-
Sends given command APDU.
- send(CommandApdu) - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Sends given command APDU.
- szReader - Variable in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Zero terminated string with name of card reader.
T
- toString() - Method in class de.gematik.smartcards.pcsc.Icc
-
Returns
Stringrepresentation. - toString() - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Returns
Stringrepresentation. - toString() - Method in class de.gematik.smartcards.pcsc.Ifd
-
Returns
Stringrepresentation. - toString() - Method in class de.gematik.smartcards.pcsc.lib.Dword
-
Returns signed decimal
String. - toString() - Method in class de.gematik.smartcards.pcsc.lib.ScardContext
-
Return string representation.
- toString() - Method in class de.gematik.smartcards.pcsc.lib.ScardHandle
-
Return string representation.
- toString() - Method in class de.gematik.smartcards.pcsc.lib.ScardIoRequest
-
Return
Stringrepresentation. - toString() - Method in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Return
Stringrepresentation. - toString() - Method in exception class de.gematik.smartcards.pcsc.PcscException
-
Return
Stringrepresentation. - toString(ScardReaderState...) - Static method in class de.gematik.smartcards.pcsc.lib.ScardReaderState
-
Return a
Stringrepresentation of given array. - transmit(ByteBuffer, ByteBuffer) - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Transmits the command APDU stored in the command
ByteBufferand receives the response APDU in the responseByteBuffer. - transmit(CommandAPDU) - Method in class de.gematik.smartcards.pcsc.IccChannel
-
Transmits the specified command APDU to the Smart Card and returns the response APDU.
- transmitControlCommand(int, byte[]) - Method in class de.gematik.smartcards.pcsc.Icc
-
Transmits a control command to the terminal device.
- TransmitException - Exception Class in de.gematik.smartcards.pcsc
-
Class providing a specific exception in case transmission fails.
- TransmitException(CardException) - Constructor for exception class de.gematik.smartcards.pcsc.TransmitException
-
Constructor.
- TYPE - Static variable in class de.gematik.smartcards.pcsc.AfiPcsc
-
Type.
V
W
- waitForCardAbsent(long) - Method in class de.gematik.smartcards.pcsc.Ifd
-
Waits until a card is absent in this terminal or the timeout expires.
- waitForCardPresent(long) - Method in class de.gematik.smartcards.pcsc.Ifd
-
Waits until a card is present in this terminal or the timeout expires.
- waitForChange(long) - Method in class de.gematik.smartcards.pcsc.IfdCollection
-
Waits for card insertion or removal in any terminal of this object or until the timeout expires.
- WinscardLibrary - Interface in de.gematik.smartcards.pcsc.lib
-
The winscard API, also known as PC/SC.
- WinscardLibraryImpl - Class in de.gematik.smartcards.pcsc.lib
-
Class providing a wrapper for native library.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form