javaxades4jxades

Can I use ECDSA certificate to generate signature with xades4j?


I'm trying to digitally sign an xml document with xades4j, but I get an exception "UnsupportedAlgorithmException: Signature algorithm not supported by the provider (EC)" when I use EC certificate, however the exception goes when user RSA.

Is there a way to add a support for the EC Certificate ?

Thanks in advance.


Solution

  • It is possible. The way to do it has been discussed in this issue: https://github.com/luisgoncalves/xades4j/issues/225