Closed pzsette closed 1 year ago
Hello @pzsette ,
Did you add one of the PAdES implementations to your project? See 17.1.3. DSS PAdES for information about available implementations. For PdfBox, you should add the following dependency to pom.xml of your project:
<dependency>
<groupId>eu.europa.ec.joinup.sd-dss</groupId>
<artifactId>dss-pades-pdfbox</artifactId>
</dependency>
I hope this will help you.
Best regards, Aleksandr.
It works, thanks a lot
When i try to validate the signatures on a PDF file inside the function
SignedDocumentValidator.fromDocument(signedDocument)
i got the following errorDocument format not recognized/handled
. More precisely the program fails with the byte check ingetAsn1Encodable()
. My file first tagByte is 37 and the desired value is 48. How can i solve this problem ?