// For this sample we use a hard coded certificate contained below.
// This encoding would be extracted from the card using a series of
// APDU commands.
Certificate certificate = null;
try {
certificate = new X509Certificate(CERTIFICATE_ENCODING);
} catch (final CertificateParsingException e) {
// Should not happen.
}
stepProgressDialog(1);