|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaccal.Session
A Session controls access to the card.
SessionFactory
,
JaccalPCSCSession
Field Summary | |
private String |
name
|
Constructor Summary | |
Session()
|
Method Summary | |
void |
close()
Closes the session. |
void |
commit()
Commits the changes to the card. |
CardResponse |
execute(Command command)
Directly sends APDU commands to the card. |
Card |
getCard()
Retrieves the card object. |
String |
getName()
Gets the name of this session. |
Atr |
open()
Intializes the card access session without authenticating for update access |
void |
setName(String name)
Sets the name of this session. |
void |
update(Card card)
Updates the card with this card object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private String name
Constructor Detail |
public Session()
Method Detail |
public Atr open() throws CardException
CardException
public Card getCard() throws UnknownCardException
UnknownCardException
public void update(Card card) throws CardException
card
- The card object to be updated with
CardException
public void commit() throws CardException
CardException
public void close() throws CardException
CardException
JaccalPCSCSession.close()
public String getName()
public void setName(String name)
name
- The name of this session.public CardResponse execute(Command command) throws CardException
command
- The command object
CardException
JaccalPCSCSession.execute(com.jaccal.command.Command)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |