Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri Apr 30, 2021 9:40 am

I am using Spire.Pdf.dll (netcoreapp3.0) version 7.4.13.1330

I am working with a PDF/A-3b conforming file, which I need to digitally sign.
I use this code:

Code: Select all
        public static void SignPdf(System.IO.Stream inputStream, System.IO.Stream outputStream, X509Certificate2 certificate)
        {
            using var document = new Spire.Pdf.PdfDocument (inputStream);
            using var pdfCert = new Spire.Pdf.Security.PdfCertificate (certificate);
           
            var pdfSignature = new Spire.Pdf.Security.PdfSignature (document, document.Pages[0], pdfCert, "Epsitec SA")
            {
                ContactInfo = "info@cresus.ch",
                Certificated = true,
                LocationInfo = "Yverdon-les-Bains",
                Reason = "NWP/eBill"
            };

            document.FileInfo.IncrementalUpdate = false;
            document.CompressionLevel = Spire.Pdf.PdfCompressionLevel.Best;
            document.SaveToStream (outputStream);
        }


The PDF file is properly signed, however it is failing the PDF/A-3b validation.

I test validation with this tool https://www.pdf-online.com/osa/validate.aspx
or directly inside Adobe Acrobat DC.

Can you please either explain how to get this right, or submit a bug report to your development team?
Thank you very much.

Pierre Arnaud
User avatar

pierre.arnaud
 
Posts: 13
Joined: Tue Nov 26, 2019 9:23 am

Fri Apr 30, 2021 11:01 am

Hello Pierre,

Thanks for your inquiry.
I tested your case and did reproduce your issue. I have logged it in our bug tracking system with the ticket SPIREPDF-4270. If there is any update, we will let you know. Apologize for the inconvenience caused.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri May 07, 2021 7:00 am

Hi Brian,

Can you please give us an estimate as to when we can expect a fix?
We are currently blocked by this issue.

Best regards,
Pierre
User avatar

pierre.arnaud
 
Posts: 13
Joined: Tue Nov 26, 2019 9:23 am

Fri May 07, 2021 10:47 am

Hello Pierre,

Thanks for your follow up.
I just check the status of your issue and found that it has not been solved. Our Dev team is still investigating your issue. Anyway, I have given your issue the highest priority and requested them to share any possible ETA at their earliest time. I will inform you as soon as there is any update.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Mon May 17, 2021 4:19 am

I would like an update on this issue. We are currently blocked and can't proceed with our development since end of April.
This is not a reasonable delay to get a fix.
User avatar

pierre.arnaud
 
Posts: 13
Joined: Tue Nov 26, 2019 9:23 am

Mon May 17, 2021 7:22 am

Hello,

Thanks for your follow up.
I just got news from our Dev team that your issue has been resolved. It is now under the testing phase. Once it passes the test, we will prepare a new version for you. Thanks for your patience.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Fri May 21, 2021 3:20 am

Hello,

Greetings from E-iceblue!
Glad to inform you that we just released Spire.PDF Pack(Hot Fix) Version:7.5.7 which fixes your issue, please download it from the following links to test on your side. Looking forward to your test result.
Website link: https://www.e-iceblue.com/Download/down ... t-now.html
Nuget link: https://www.nuget.org/packages/Spire.PDF/7.5.7

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Wed May 26, 2021 12:03 pm

Hello,

Greetings from E-iceblue!
How is your issue now? Does this hotfix solve your issue? Any feedback will be greatly appreciated.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Thu Jun 10, 2021 12:34 pm

Sorry for the long delay. I had switched to another project and had not realized that you had posted a solution in the meantime.
Everything now works fine with version 7.6.0.1350.
Thank you. You may close this issue.
User avatar

pierre.arnaud
 
Posts: 13
Joined: Tue Nov 26, 2019 9:23 am

Fri Jun 11, 2021 8:57 am

You are welcome.
Anyway ,I am glad to hear that your issue has been solved.
If you encounter any issues related to our products in the future, please feel free to contact us.

Sincerely,
Brian
E-iceblue support team
User avatar

Brian.Li
 
Posts: 1271
Joined: Mon Oct 19, 2020 3:04 am

Return to Spire.PDF