// long time.
displayProgressDialog(WAITING_MSG, 4);
// The certificates need to be associated with a particular smart
// card.
final SmartCardID smartCardID = getSmartCardID();
final RSACryptoToken token = new MyRSACryptoToken();
final RSACryptoSystem cryptoSystem =
new RSACryptoSystem(token, 1024);
RSAPrivateKey privateKey;