From ee4fee3314e4adc3d1001f5bd5633bbb8ffccd38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ce=C4=BEuch?= Date: Fri, 8 Dec 2023 11:56:39 +0100 Subject: [PATCH] add cades level to user settings options --- src/main/java/digital/slovensko/autogram/core/UserSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/digital/slovensko/autogram/core/UserSettings.java b/src/main/java/digital/slovensko/autogram/core/UserSettings.java index 67c7d6245..82010c41a 100644 --- a/src/main/java/digital/slovensko/autogram/core/UserSettings.java +++ b/src/main/java/digital/slovensko/autogram/core/UserSettings.java @@ -77,7 +77,7 @@ public void save() { private void setSignatureType(String signatureType) { var signatureLevelStringConverter = new SignatureLevelStringConverter(); var signatureLevel = Arrays - .asList(SignatureLevel.XAdES_BASELINE_B, SignatureLevel.PAdES_BASELINE_B) + .asList(SignatureLevel.XAdES_BASELINE_B, SignatureLevel.PAdES_BASELINE_B, SignatureLevel.CAdES_BASELINE_B) .stream() .map(signatureLevelStringConverter::toString) .filter(sl -> sl.equals(signatureType))