use of org.openecard.ifd.protocol.pace.gui.PINStep in project open-ecard by ecsec.
the class PACEUserConsent method show.
/**
* Shows the user consent.
*
* @param content GUI content
*/
public void show(GUIContentMap content) {
final UserConsentDescription uc = new UserConsentDescription(lang.translationForKey(USER_CONSENT));
final PINStep pinStep = new PINStep(content);
uc.getSteps().add(pinStep.getStep());
UserConsentNavigator navigator = gui.obtainNavigator(uc);
ExecutionEngine exec = new ExecutionEngine(navigator);
exec.process();
pinStep.processResult(exec.getResults());
}
Aggregations