open-eid / digidoc4j

DigiDoc for Java. Javadoc:
http://open-eid.github.io/digidoc4j
GNU Lesser General Public License v2.1
73 stars 39 forks source link

Does digidoc4j support the validation of ASIC-E or ASIC-S containers that use the CAdES signature format? #71

Closed olamiko closed 5 years ago

olamiko commented 5 years ago

Hi, we tried validating container with the CAdES signatures but they cause errors. Is this supported in digidoc4j?

naare commented 5 years ago

No, Digidoc4j only supports XAdES based signatures.

olamiko commented 5 years ago

Thank you, is there any rationale for this choice not to support CAdES? @naare

naare commented 5 years ago

Digidoc4j was created as Estonian specific library. Estonia has standardized and used only XAdES based signatures so far.

If you need to handle CAdES signatures you can directly use DSS library (provided by EU). https://github.com/esig/dss

olamiko commented 5 years ago

Thank you @naare