Maccatalyst app can't get a response of TimeStampServer
Hi.
I want to make a app by MAUI that can make a pdf with timestamp signature.
But I call a method "enableLTV" of PdfSignature class. It throws a exception "PKCS#7 certificate format is not supported on this platform".
In windows, It is OK. But maccatalyst(MacOS) is NG.
I researched source in the PdfSignature, Then I found a problem in "TimeStampServerCertificate" method.
The Maccatalyst platform is not support X509Certificate2Collection.Import(rawData); rawData is byte[]. So, We can't use byte[] variable in this kind of type.
Replace TimeStampServerCertificate to own method using Rfc3161TimestampRequest class. It's fine.
Please resolve...
Hi Koichi,
We have attempted to reproduce the issue that was reported to us, but unfortunately, we were unable to replicate it. We have shared a sample for your reference and kindly request that you modify the sample to replicate the problem on our end or provide a code example and timestamp details that can replicate the issue. This will enable us to analyze the problem further and provide a prompt solution.
Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/.NET1118440079.zip
Regards,
Karmegam
Thank you for your reply.
I modified project file and source files.
It throws a exception before I wrote.
Please check this project in your MacOS.
Attachment: MacCatalyst1_5e3f0b5a.zip
Currently we are working on this and will update the further details on June 3, 2024.
Hi Koichi,
We were able to reproduce the reported issue with the provided details on our end, and currently, we are analyzing it. We will provide further details on June 5, 2024.
Regards,
Jeyalakshmi T
Hi Koichi,
We have confirmed the issue ”Exception occurs while enabling LTV for timestamp certificate in Mac platform” as a defect in our product and fix will be included in our upcoming weekly NuGet release, which will be available on June 18, 2024.
Use the below feedback link to track the status of the reported bug.
Note: If you require a patch for the reported issue in any of our Essential Studio Main or SP release versions, then kindly let us know the version, so that we can provide a patch in that version based on our SLA policy.
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Regards,
Anantha Gokula Raman J
I'm very happy to listen to your message.
Fortunately, I have a time of waiting for coming new release version.
Thank you for announce of patch.
Hi Koichi,
Most welcome, We will update you on June 18th as per promised.
Regards,
Jeyalakshmi T
Hi Koichi,
The Weekly release has been postponed to Wednesday (June 19th, 2024), will update you once it has been released.
Regards,
Jeyalakshmi T
Hi Koichi,
The fix for the reported issue "Exception occurs while enabling LTV for timestamp certificate in Mac platform" has been included in our weekly NuGet release v26.1.38.
Kindly use the following link to download the NuGet package,
NuGet Gallery | Syncfusion.Pdf.NET 26.1.38
Root cause:
To enable LTV (Long-Term Validation), we must include OCSP (Online Certificate Status Protocol) and CRL (Certificate Revocation List) in the document security store (DSS). Details from OCSP and CRL responses are needed from the certificate in the time stamp response. We currently use the X509Certificate2Collection function to get certificates from this response. However, we found that X509Certificate2Collection isn't supported in the MAC environment. Therefore, we can't enable LTV in the MAC environment.
Regards,
Jeyalakshmi T
- 9 Replies
- 4 Participants
-
KI Koichi Iida
- May 28, 2024 10:31 AM UTC
- Jun 20, 2024 12:11 PM UTC