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.
Parameters:
-
reset - whether to reset the card after disconnecting.
Throws:
-
CardException - if the card operation failed
-
SecurityException - if a SecurityManager exists and the
caller does not have the required
{@linkplain CardPermission permission}