Search in sources :

Example 1 with RecognizedState

use of org.openecard.plugins.pinplugin.RecognizedState in project open-ecard by ecsec.

the class PINStepAction method createCANReplacementStep.

/**
 * Create the step that asks the user to insert the CAN.
 *
 * @return Step for CAN entry
 */
private Step createCANReplacementStep() {
    String title = lang.translationForKey(CANSTEP_TITLE);
    RecognizedState state = RecognizedState.PIN_suspended;
    CANEntryStep canStep = new CANEntryStep("can-entry", title, capturePin, state, false, false);
    StepAction pinAction = new CANStepAction(capturePin, conHandle, dispatcher, canStep, state);
    canStep.setAction(pinAction);
    return canStep;
}
Also used : StepAction(org.openecard.gui.executor.StepAction) RecognizedState(org.openecard.plugins.pinplugin.RecognizedState)

Aggregations

StepAction (org.openecard.gui.executor.StepAction)1 RecognizedState (org.openecard.plugins.pinplugin.RecognizedState)1