Sign PDF using an external service and iText

后端 未结 2 1140
长情又很酷
长情又很酷 2020-12-11 19:28

I have this scenario.

I have an application that generates a PDF, and that needs to be signed.

We have not the certificates to sign the document, because the

2条回答
  •  不思量自难忘°
    2020-12-11 20:09

    After much debugging, we finally found the problem.

    For some mysterious reason, the method that generates the hash of the document, was executed twice, invalidating the first hash (which we use to send to the service).

    After a refactoring work of the code, the original code worked correctly.

    Very thanks to all people that help me, especially mkl.

提交回复
热议问题