Search in sources :

Example 1 with PINStep

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());
}
Also used : ExecutionEngine(org.openecard.gui.executor.ExecutionEngine) PINStep(org.openecard.ifd.protocol.pace.gui.PINStep) UserConsentDescription(org.openecard.gui.definition.UserConsentDescription) UserConsentNavigator(org.openecard.gui.UserConsentNavigator)

Aggregations

UserConsentNavigator (org.openecard.gui.UserConsentNavigator)1 UserConsentDescription (org.openecard.gui.definition.UserConsentDescription)1 ExecutionEngine (org.openecard.gui.executor.ExecutionEngine)1 PINStep (org.openecard.ifd.protocol.pace.gui.PINStep)1