Blackberry JAVA DEVELOPMENT ENVIRONMENT - - CRYPTOGRAPHIC SMART CARD DRIVER - DEVELOPMENT GUIDE Průvodce řešením problémů Strana 113

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 286
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 112
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;
}
}
Zobrazit stránku 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 285 286

Komentáře k této Příručce

Žádné komentáře