digidoc4j
digidoc4j copied to clipboard
Cryptographic signature verification has failed - issue during signature finalize
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.
I am using a self signed x509 certificate generated on my windows machine.
Thanks in advance.