| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final ATR | |
| private final ChannelImpl | |
| pack-priv final long | |
| private static byte[] | |
| private volatile Thread | |
| pack-priv final int | |
| private volatile CardImpl. | |
| private final TerminalImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | beginExclusive()
Implements abstract javax. Requests exclusive access to this card. |
| pack-priv void | |
| private void | |
| pack-priv void | |
| public void | disconnect(boolean reset)
Implements abstract javax. Disconnects the connection with this card. |
| public synchronized void | endExclusive()
Implements abstract javax. Releases the exclusive access previously established using
|
| protected void | finalize()
Overrides java. Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
| public ATR | |
| public CardChannel | getBasicChannel()
Implements abstract javax. Returns the CardChannel for the basic logical channel. |
| public String | getProtocol()
Implements abstract javax. Returns the protocol in use for this card. |
| private static int | |
| pack-priv void | |
| pack-priv boolean | |
| public CardChannel | openLogicalChannel()
Implements abstract javax. Opens a new logical channel to the card and returns it. |
| public String | |
| public byte[] | transmitControlCommand(int controlCode, byte[] command)
Implements abstract javax. Transmits a control command to the terminal device. |
| atr | back to summary |
|---|---|
| private final ATR atr | |
| basicChannel | back to summary |
|---|---|
| private final ChannelImpl basicChannel | |
| cardId | back to summary |
|---|---|
| pack-priv final long cardId | |
| commandOpenChannel | back to summary |
|---|---|
| private static byte[] commandOpenChannel | |
| exclusiveThread | back to summary |
|---|---|
| private volatile Thread exclusiveThread | |
| protocol | back to summary |
|---|---|
| pack-priv final int protocol | |
| state | back to summary |
|---|---|
| private volatile CardImpl. | |
| terminal | back to summary |
|---|---|
| private final TerminalImpl terminal | |
| CardImpl | back to summary |
|---|---|
| pack-priv CardImpl(TerminalImpl terminal, String protocol) throws PCSCException | |
| beginExclusive | back to summary |
|---|---|
| public synchronized void beginExclusive() throws CardException Implements abstract javax. Doc from javax. Requests exclusive access to this card. Once a thread has invoked Applications have to ensure that exclusive access is correctly
released. This can be achieved by executing
the
| |
| checkExclusive | back to summary |
|---|---|
| pack-priv void checkExclusive() throws CardException | |
| checkSecurity | back to summary |
|---|---|
| private void checkSecurity(String action) | |
| checkState | back to summary |
|---|---|
| pack-priv void checkState() | |
| disconnect | back to summary |
|---|---|
| public void disconnect(boolean reset) throws CardException Implements abstract javax. Doc from javax. Disconnects the connection with this card. After this method returns, calling methods on this object or in CardChannels associated with this object that require interaction with the card will raise an IllegalStateException.
| |
| endExclusive | back to summary |
|---|---|
| public synchronized void endExclusive() throws CardException Implements abstract javax. Doc from javax. Releases the exclusive access previously established using
| |
| finalize | back to summary |
|---|---|
| protected void finalize() throws Throwable Overrides java. Doc from java. Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
A subclass overrides the
When running in a Java virtual machine in which finalization has been
disabled or removed, the garbage collector will never call
The general contract of
The
The Java programming language does not guarantee which thread will
invoke the
After the
The
Any exception thrown by the
| |
| getATR | back to summary |
|---|---|
| public ATR getATR() Implements abstract javax. Doc from javax. Returns the ATR of this card. | |
| getBasicChannel | back to summary |
|---|---|
| public CardChannel getBasicChannel() Implements abstract javax. Doc from javax. Returns the CardChannel for the basic logical channel. The basic logical channel has a channel number of 0. | |
| getProtocol | back to summary |
|---|---|
| public String getProtocol() Implements abstract javax. Doc from javax. Returns the protocol in use for this card. | |
| getSW | back to summary |
|---|---|
| private static int getSW(byte[] b) | |
| handleError | back to summary |
|---|---|
| pack-priv void handleError(PCSCException e) | |
| isValid | back to summary |
|---|---|
| pack-priv boolean isValid() | |
| openLogicalChannel | back to summary |
|---|---|
| public CardChannel openLogicalChannel() throws CardException Implements abstract javax. Doc from javax. Opens a new logical channel to the card and returns it. The channel is
opened by issuing a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| transmitControlCommand | back to summary |
|---|---|
| public byte[] transmitControlCommand(int controlCode, byte[] command) throws CardException Implements abstract javax. Doc from javax. Transmits a control command to the terminal device. This can be used to, for example, control terminal functions like a built-in PIN pad or biometrics.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final CardImpl. | |
| public static final CardImpl. | |
| public static final CardImpl. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static CardImpl. | |
| public static CardImpl. |
| DISCONNECTED | back to summary |
|---|---|
| public static final CardImpl. | |
| OK | back to summary |
|---|---|
| public static final CardImpl. | |
| REMOVED | back to summary |
|---|---|
| public static final CardImpl. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static CardImpl. | |
| values | back to summary |
|---|---|
| public static CardImpl. | |