Skip navigation links
Java Smart Card I/O
A B C D E G H I J L O R T V W 

A

ATR - Class in javax.smartcardio
A Smart Card's answer-to-reset bytes.
ATR(byte[]) - Constructor for class javax.smartcardio.ATR
Constructs an ATR from a byte array.

B

beginExclusive() - Method in class javax.smartcardio.Card
Requests exclusive access to this card.

C

Card - Class in javax.smartcardio
A Smart Card with which a connection has been established.
Card() - Constructor for class javax.smartcardio.Card
Constructs a new Card object.
CardChannel - Class in javax.smartcardio
A logical channel connection to a Smart Card.
CardChannel() - Constructor for class javax.smartcardio.CardChannel
Constructs a new CardChannel object.
CardException - Exception in javax.smartcardio
Exception for errors that occur during communication with the Smart Card stack or the card itself.
CardException(String) - Constructor for exception javax.smartcardio.CardException
Constructs a new CardException with the specified detail message.
CardException(Throwable) - Constructor for exception javax.smartcardio.CardException
Constructs a new CardException with the specified cause and a detail message of (cause==null ? null : cause.toString()).
CardException(String, Throwable) - Constructor for exception javax.smartcardio.CardException
Constructs a new CardException with the specified detail message and cause.
CardNotPresentException - Exception in javax.smartcardio
Exception thrown when an application tries to establish a connection with a terminal that has no card present.
CardNotPresentException(String) - Constructor for exception javax.smartcardio.CardNotPresentException
Constructs a new CardNotPresentException with the specified detail message.
CardNotPresentException(Throwable) - Constructor for exception javax.smartcardio.CardNotPresentException
Constructs a new CardNotPresentException with the specified cause and a detail message of (cause==null ? null : cause.toString()).
CardNotPresentException(String, Throwable) - Constructor for exception javax.smartcardio.CardNotPresentException
Constructs a new CardNotPresentException with the specified detail message and cause.
CardPermission - Class in javax.smartcardio
A permission for Smart Card operations.
CardPermission(String, String) - Constructor for class javax.smartcardio.CardPermission
Constructs a new CardPermission with the specified actions.
CardTerminal - Class in javax.smartcardio
A Smart Card terminal, sometimes referred to as a Smart Card Reader.
CardTerminal() - Constructor for class javax.smartcardio.CardTerminal
Constructs a new CardTerminal object.
CardTerminals - Class in javax.smartcardio
The set of terminals supported by a TerminalFactory.
CardTerminals() - Constructor for class javax.smartcardio.CardTerminals
Constructs a new CardTerminals object.
CardTerminals.State - Enum in javax.smartcardio
Enumeration of attributes of a CardTerminal.
close() - Method in class javax.smartcardio.CardChannel
Closes this CardChannel.
CommandAPDU - Class in javax.smartcardio
A command APDU following the structure defined in ISO/IEC 7816-4.
CommandAPDU(byte[]) - Constructor for class javax.smartcardio.CommandAPDU
Constructs a CommandAPDU from a byte array containing the complete APDU contents (header and body).
CommandAPDU(byte[], int, int) - Constructor for class javax.smartcardio.CommandAPDU
Constructs a CommandAPDU from a byte array containing the complete APDU contents (header and body).
CommandAPDU(ByteBuffer) - Constructor for class javax.smartcardio.CommandAPDU
Creates a CommandAPDU from the ByteBuffer containing the complete APDU contents (header and body).
CommandAPDU(int, int, int, int) - Constructor for class javax.smartcardio.CommandAPDU
Constructs a CommandAPDU from the four header bytes.
CommandAPDU(int, int, int, int, int) - Constructor for class javax.smartcardio.CommandAPDU
Constructs a CommandAPDU from the four header bytes and the expected response data length.
CommandAPDU(int, int, int, int, byte[]) - Constructor for class javax.smartcardio.CommandAPDU
Constructs a CommandAPDU from the four header bytes and command data.
CommandAPDU(int, int, int, int, byte[], int, int) - Constructor for class javax.smartcardio.CommandAPDU
Constructs a CommandAPDU from the four header bytes and command data.
CommandAPDU(int, int, int, int, byte[], int) - Constructor for class javax.smartcardio.CommandAPDU
Constructs a CommandAPDU from the four header bytes, command data, and expected response data length.
CommandAPDU(int, int, int, int, byte[], int, int, int) - Constructor for class javax.smartcardio.CommandAPDU
Constructs a CommandAPDU from the four header bytes, command data, and expected response data length.
connect(String) - Method in class javax.smartcardio.CardTerminal
Establishes a connection to the card.

D

disconnect(boolean) - Method in class javax.smartcardio.Card
Disconnects the connection with this card.

E

endExclusive() - Method in class javax.smartcardio.Card
Releases the exclusive access previously established using beginExclusive.
engineTerminals() - Method in class javax.smartcardio.TerminalFactorySpi
Returns the CardTerminals created by this factory.
equals(Object) - Method in class javax.smartcardio.ATR
Compares the specified object with this ATR for equality.
equals(Object) - Method in class javax.smartcardio.CardPermission
Compares the specified object with this CardPermission for equality.
equals(Object) - Method in class javax.smartcardio.CommandAPDU
Compares the specified object with this command APDU for equality.
equals(Object) - Method in class javax.smartcardio.ResponseAPDU
Compares the specified object with this response APDU for equality.

G

getActions() - Method in class javax.smartcardio.CardPermission
Returns the canonical string representation of the actions.
getATR() - Method in class javax.smartcardio.Card
Returns the ATR of this card.
getBasicChannel() - Method in class javax.smartcardio.Card
Returns the CardChannel for the basic logical channel.
getBytes() - Method in class javax.smartcardio.ATR
Returns a copy of the bytes in this ATR.
getBytes() - Method in class javax.smartcardio.CommandAPDU
Returns a copy of the bytes in this APDU.
getBytes() - Method in class javax.smartcardio.ResponseAPDU
Returns a copy of the bytes in this APDU.
getCard() - Method in class javax.smartcardio.CardChannel
Returns the Card this channel is associated with.
getChannelNumber() - Method in class javax.smartcardio.CardChannel
Returns the channel number of this CardChannel.
getCLA() - Method in class javax.smartcardio.CommandAPDU
Returns the value of the class byte CLA.
getData() - Method in class javax.smartcardio.CommandAPDU
Returns a copy of the data bytes in the command body.
getData() - Method in class javax.smartcardio.ResponseAPDU
Returns a copy of the data bytes in the response body.
getDefault() - Static method in class javax.smartcardio.TerminalFactory
Returns the default TerminalFactory instance.
getDefaultType() - Static method in class javax.smartcardio.TerminalFactory
Get the default TerminalFactory type.
getHistoricalBytes() - Method in class javax.smartcardio.ATR
Returns a copy of the historical bytes in this ATR.
getINS() - Method in class javax.smartcardio.CommandAPDU
Returns the value of the instruction byte INS.
getInstance(String, Object) - Static method in class javax.smartcardio.TerminalFactory
Returns a TerminalFactory of the specified type that is initialized with the specified parameters.
getInstance(String, Object, String) - Static method in class javax.smartcardio.TerminalFactory
Returns a TerminalFactory of the specified type that is initialized with the specified parameters.
getInstance(String, Object, Provider) - Static method in class javax.smartcardio.TerminalFactory
Returns a TerminalFactory of the specified type that is initialized with the specified parameters.
getName() - Method in class javax.smartcardio.CardTerminal
Returns the unique name of this terminal.
getNc() - Method in class javax.smartcardio.CommandAPDU
Returns the number of data bytes in the command body (Nc) or 0 if this APDU has no body.
getNe() - Method in class javax.smartcardio.CommandAPDU
Returns the maximum number of expected data bytes in a response APDU (Ne).
getNr() - Method in class javax.smartcardio.ResponseAPDU
Returns the number of data bytes in the response body (Nr) or 0 if this APDU has no body.
getP1() - Method in class javax.smartcardio.CommandAPDU
Returns the value of the parameter byte P1.
getP2() - Method in class javax.smartcardio.CommandAPDU
Returns the value of the parameter byte P2.
getProtocol() - Method in class javax.smartcardio.Card
Returns the protocol in use for this card.
getProvider() - Method in class javax.smartcardio.TerminalFactory
Returns the provider of this TerminalFactory.
getSW() - Method in class javax.smartcardio.ResponseAPDU
Returns the value of the status bytes SW1 and SW2 as a single status word SW.
getSW1() - Method in class javax.smartcardio.ResponseAPDU
Returns the value of the status byte SW1 as a value between 0 and 255.
getSW2() - Method in class javax.smartcardio.ResponseAPDU
Returns the value of the status byte SW2 as a value between 0 and 255.
getTerminal(String) - Method in class javax.smartcardio.CardTerminals
Returns the terminal with the specified name or null if no such terminal exists.
getType() - Method in class javax.smartcardio.TerminalFactory
Returns the type of this TerminalFactory.

H

hashCode() - Method in class javax.smartcardio.ATR
Returns the hash code value for this ATR.
hashCode() - Method in class javax.smartcardio.CardPermission
Returns the hash code value for this CardPermission object.
hashCode() - Method in class javax.smartcardio.CommandAPDU
Returns the hash code value for this command APDU.
hashCode() - Method in class javax.smartcardio.ResponseAPDU
Returns the hash code value for this response APDU.

I

implies(Permission) - Method in class javax.smartcardio.CardPermission
Checks if this CardPermission object implies the specified permission.
isCardPresent() - Method in class javax.smartcardio.CardTerminal
Returns whether a card is present in this terminal.

J

javax.smartcardio - package javax.smartcardio
Java™ Smart Card I/O API

L

list() - Method in class javax.smartcardio.CardTerminals
Returns an unmodifiable list of all available terminals.
list(CardTerminals.State) - Method in class javax.smartcardio.CardTerminals
Returns an unmodifiable list of all terminals matching the specified state.

O

openLogicalChannel() - Method in class javax.smartcardio.Card
Opens a new logical channel to the card and returns it.

R

ResponseAPDU - Class in javax.smartcardio
A response APDU as defined in ISO/IEC 7816-4.
ResponseAPDU(byte[]) - Constructor for class javax.smartcardio.ResponseAPDU
Constructs a ResponseAPDU from a byte array containing the complete APDU contents (conditional body and trailed).

T

TerminalFactory - Class in javax.smartcardio
A factory for CardTerminal objects.
TerminalFactorySpi - Class in javax.smartcardio
The TerminalFactorySpi class defines the service provider interface.
TerminalFactorySpi() - Constructor for class javax.smartcardio.TerminalFactorySpi
Constructs a new TerminalFactorySpi object.
terminals() - Method in class javax.smartcardio.TerminalFactory
Returns a new CardTerminals object encapsulating the terminals supported by this factory.
toString() - Method in class javax.smartcardio.ATR
Returns a string representation of this ATR.
toString() - Method in class javax.smartcardio.CommandAPDU
Returns a string representation of this command APDU.
toString() - Method in class javax.smartcardio.ResponseAPDU
Returns a string representation of this response APDU.
toString() - Method in class javax.smartcardio.TerminalFactory
Returns a string representation of this TerminalFactory.
transmit(CommandAPDU) - Method in class javax.smartcardio.CardChannel
Transmits the specified command APDU to the Smart Card and returns the response APDU.
transmit(ByteBuffer, ByteBuffer) - Method in class javax.smartcardio.CardChannel
Transmits the command APDU stored in the command ByteBuffer and receives the response APDU in the response ByteBuffer.
transmitControlCommand(int, byte[]) - Method in class javax.smartcardio.Card
Transmits a control command to the terminal device.

V

valueOf(String) - Static method in enum javax.smartcardio.CardTerminals.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum javax.smartcardio.CardTerminals.State
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForCardAbsent(long) - Method in class javax.smartcardio.CardTerminal
Waits until a card is absent in this terminal or the timeout expires.
waitForCardPresent(long) - Method in class javax.smartcardio.CardTerminal
Waits until a card is present in this terminal or the timeout expires.
waitForChange() - Method in class javax.smartcardio.CardTerminals
Waits for card insertion or removal in any of the terminals of this object.
waitForChange(long) - Method in class javax.smartcardio.CardTerminals
Waits for card insertion or removal in any of the terminals of this object or until the timeout expires.
A B C D E G H I J L O R T V W 
Skip navigation links
Java Smart Card I/O


Copyright © 2005, 2019, Oracle and/or its affiliates. All rights reserved.