aboutsummaryrefslogtreecommitdiff
path: root/moaSig/moa-sig-lib/src/main/java/at/gv
diff options
context:
space:
mode:
authorThomas <>2023-06-22 21:14:21 +0200
committerThomas <>2023-06-22 21:14:21 +0200
commitd855cc609099b72a0bb20fafb87da79a5478068d (patch)
treeea750dc06755d467cd55d64b516bfeaeed9a738b /moaSig/moa-sig-lib/src/main/java/at/gv
parent2162d750da0cecf5ed6a0a63928e7b4e4d65b884 (diff)
downloadmoa-sig-d855cc609099b72a0bb20fafb87da79a5478068d.tar.gz
moa-sig-d855cc609099b72a0bb20fafb87da79a5478068d.tar.bz2
moa-sig-d855cc609099b72a0bb20fafb87da79a5478068d.zip
fix(core): update cpxlevel validation lib to solve wrong key-usage validation
Diffstat (limited to 'moaSig/moa-sig-lib/src/main/java/at/gv')
-rw-r--r--moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/AdESResultUtils.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/AdESResultUtils.java b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/AdESResultUtils.java
index 23570cc..8e37b1c 100644
--- a/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/AdESResultUtils.java
+++ b/moaSig/moa-sig-lib/src/main/java/at/gv/egovernment/moa/spss/util/AdESResultUtils.java
@@ -112,7 +112,11 @@ public class AdESResultUtils {
minorInfo = "ERROR";
} else if (resultCode.getCode().equals(ResultCode.UNKNOWN_SUBFILTER)) {
minorInfo = "UNKNOWN_SUBFILTER";
-
+ } else if (resultCode.getCode().equals(ResultCode.CODE_NO_SIGNER_CERTIFICATE_FOUND)) {
+ minorInfo = "NO_SIGNER_CERTIFICATE_FOUND";
+
+
+
// pdf-as 3.x detection is removed from MOA-SP since 3.1.2
} else if (resultCode.getCode().equals(ResultCode.PDF_AS_SIGNATURE)) {
// minorInfo = "PDF_AS_SIGNATURE";