summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-30 12:10:35 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-30 12:10:35 +0200
commit281cc23ba6b50c270dc22027cab80c01d35563e7 (patch)
treea392d715fffff6282bb5a0f65707381db05a22aa /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
parentf9278976789952fc9528f47b6d99a37d79532f68 (diff)
downloadpdf-over-281cc23ba6b50c270dc22027cab80c01d35563e7.tar.gz
pdf-over-281cc23ba6b50c270dc22027cab80c01d35563e7.tar.bz2
pdf-over-281cc23ba6b50c270dc22027cab80c01d35563e7.zip
remove IAIK MobileBKU support, cc @tlenz
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java26
1 files changed, 2 insertions, 24 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
index 456b3d64..76072e27 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/MobileBKUState.java
@@ -36,8 +36,6 @@ import at.asit.pdfover.gui.MainWindowBehavior;
import at.asit.pdfover.gui.bku.MobileBKUConnector;
import at.asit.pdfover.gui.bku.mobile.ATrustHandler;
import at.asit.pdfover.gui.bku.mobile.ATrustStatus;
-import at.asit.pdfover.gui.bku.mobile.IAIKHandler;
-import at.asit.pdfover.gui.bku.mobile.IAIKStatus;
import at.asit.pdfover.gui.bku.mobile.MobileBKUHandler;
import at.asit.pdfover.gui.bku.mobile.MobileBKUStatus;
import at.asit.pdfover.gui.composites.MobileBKUEnterNumberComposite;
@@ -68,20 +66,8 @@ public class MobileBKUState extends State {
public MobileBKUState(StateMachine stateMachine) {
super(stateMachine);
ConfigurationManager provider = stateMachine.configProvider;
- switch(provider.getMobileBKUType()) {
- case A_TRUST:
- this.status = new ATrustStatus(provider);
- this.handler = new ATrustHandler(this, stateMachine.getMainShell(), provider.getMobileBKUBase64());
- break;
-
- case IAIK:
- this.status = new IAIKStatus(provider);
- this.handler = new IAIKHandler(this, stateMachine.getMainShell());
- break;
-
- default:
- throw new RuntimeException("Unexpected mobileBKUType");
- }
+ this.status = new ATrustStatus(provider);
+ this.handler = new ATrustHandler(this, stateMachine.getMainShell(), false);
}
MobileBKUEnterTANComposite mobileBKUEnterTANComposite = null;
@@ -146,14 +132,6 @@ public class MobileBKUState extends State {
}
/**
- * Get the mobile BKU URL
- * @return the mobile BKU URL
- */
- public String getURL() {
- return getStateMachine().configProvider.getMobileBKUURL();
- }
-
- /**
* @return the signingState
*/
public PdfAs4SigningState getSigningState() {