com.ecebs.rtd.enabler.types.card
Class CardInformation

java.lang.Object
  extended by com.ecebs.rtd.enabler.types.card.CardInformation
All Implemented Interfaces:
Serializable

public class CardInformation
extends Object
implements Serializable

Proides a means of obtaining information about a detected ITSO CM. Note that an instance is invalid after carrying out an RTD operation using an ITransactionController.

Author:
kyleb
See Also:
Serialized Form

Constructor Summary
CardInformation(ITSOCard card)
          Create an instance to provide details about an ITSO smartcard detected by the specified reader
 
Method Summary
 boolean equals(Object obj)
           
 ITSOCardType getCardType()
          Provides information about the type of card detected
 List<DirEntry> getIPEHeaderList()
          Get a list of the directory entries read from the most recent directory file on the smartcard
 String getReaderId()
          Get the ID of the reader that detected the smartcard
 ITSOShell getShellHeader()
          Get the shell read from the smartcard
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CardInformation

public CardInformation(ITSOCard card)
Create an instance to provide details about an ITSO smartcard detected by the specified reader

Parameters:
card - The card that this instance represents
Method Detail

getIPEHeaderList

public List<DirEntry> getIPEHeaderList()
Get a list of the directory entries read from the most recent directory file on the smartcard

Returns:
read-only list of directory entries read from the smartcard
See Also:
Collections.unmodifiableList(List), Directory.getDirEntries()

getReaderId

public String getReaderId()
Get the ID of the reader that detected the smartcard

Returns:
ID of reader that detected the smartcard

getShellHeader

public ITSOShell getShellHeader()
Get the shell read from the smartcard

Returns:
Shell read from the smartcard

getCardType

public ITSOCardType getCardType()
Provides information about the type of card detected

Returns:
The type of card detected

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013 Ecebs Ltd. All Rights Reserved.