digidoc4j icon indicating copy to clipboard operation
digidoc4j copied to clipboard

Cryptographic signature verification has failed - issue during signature finalize

Open Ashkehn opened this issue 5 months ago • 3 comments

Hi all,

I am developing a simple digital signing application and closely followed the documentation. However, when I attempt to finalize the signature using the finalize method from the DataToSign class, I encounter the following error: eu.europa.esig.dss.model.DSSException: Cryptographic signature verification has failed / Signature verification failed against the best candidate. image image

I am using a self signed x509 certificate generated on my windows machine.

Thanks in advance.

Ashkehn avatar Sep 02 '24 13:09 Ashkehn