Can I use ECDSA certificate to generate signature with xades4j?

227 views Asked by At

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.

1

There are 1 answers

0
lgoncalves On BEST ANSWER

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