From b49ef6b5dde0b37393005b8588d0a32276142ec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=BD?= Date: Tue, 1 Aug 2017 22:34:02 +0200 Subject: [PATCH] Recognize ETSI.CAdES.detached signature type --- poppler/Form.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poppler/Form.cc b/poppler/Form.cc index 4627a432..bd040196 100644 --- a/poppler/Form.cc +++ b/poppler/Form.cc @@ -1433,7 +1433,8 @@ void FormFieldSignature::parseInfo() // check if subfilter is supported for signature validation, only detached signatures work for now sig_dict.dictLookup("SubFilter", &subfilterName); - if (subfilterName.isName("adbe.pkcs7.detached") || subfilterName.isName("adbe.pkcs7.sha1")) { + if (subfilterName.isName("adbe.pkcs7.detached") || subfilterName.isName("adbe.pkcs7.sha1") || + subfilterName.isName("ETSI.CAdES.detached")) { signature_info->setSubFilterSupport(true); } -- 2.13.3