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;
}
Aggregations