Troubleshooting guide

113
5: Using smart cards
*/
private SmartCardID _id;
/**
* Location of the private key file on the smart card.
*/
private byte _file;
/**
* Constructs a new MyCryptoTokenData object
*
* @param id ID of the smart card containing the private key file
* @param file Location of the private key file.
*/
public MyCryptoTokenData( SmartCardID id, byte file )
{
_id = id;
_file = file;
}
/**
* Retrieve the ID of the key file containing the private key file.
*
* @return ID of the smart card.
*/
public SmartCardID getSmartCardID()
{
return _id;
}
/**
* Retrieve the location of the private key file on the smart card.
*
* @return Location of the private key file.
*/
public byte getFile()
{
return _file;
}
}