summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-23 14:20:40 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-09-23 14:20:40 +0200
commit87b36acc9f2a9019dddf64ea0b94210087d03597 (patch)
treed9ccf0dafda2894a7790f0dfca9ddae8454d28fe /pdf-over-gui/src
parent0d0e631462033f2ba732b3f2c799fee4ba42970e (diff)
downloadpdf-over-87b36acc9f2a9019dddf64ea0b94210087d03597.tar.gz
pdf-over-87b36acc9f2a9019dddf64ea0b94210087d03597.tar.bz2
pdf-over-87b36acc9f2a9019dddf64ea0b94210087d03597.zip
fido detection test
Diffstat (limited to 'pdf-over-gui/src')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
index 41d92cf2..18f93b22 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/bku/mobile/ATrustHandler.java
@@ -253,6 +253,18 @@ public class ATrustHandler extends MobileBKUHandler {
}catch (Exception e) {
log.debug("No text_tan tag");
}
+ try {
+ String webauthnLink = MobileBKUHelper.extractValueFromTagWithParam(responseData, "a", "id", "FidoButton", "href");
+ log.info("Webauthn link: {}", webauthnLink);
+ } catch (Exception e) {
+ log.info("No webauthnLink");
+ }
+ try {
+ String webauthnData = MobileBKUHelper.extractValueFromTagWithParam(responseData, "input", "id", "credentialOptions", "value");
+ log.info("Fido credential options: {}", webauthnData);
+ } catch (Exception e) {
+ log.info("No webauthnData");
+ }
} else if (responseData.contains("sl:InfoboxReadResponse")) {
// credentials ok! InfoboxReadResponse