we are testing a new ASP.NET application with Spire.PDF. And while it works great on various test systems we are having problems on a production server. The production server is configured to use FIPS-only security algorithms which is causing the following exception:
- Code: Select all
Exception type: InvalidOperationException
Exception message: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.SHA256Managed..ctor()
at sprᩘ..ctor()
at Spire.Pdf.PdfDocumentBase.get_Security()
at sprᩣ.ᜅ(sprខ A_0)
at Spire.Pdf.PdfNewDocument.Save(Stream stream)
at Spire.Pdf.PdfDocumentBase.Save(String fileName, HttpResponse response, HttpReadType type)
We are not using any security features explicitly so I guess it is some internal hashing. Is there any way to make this work in a FIPS-only environment?
Thank you
Sascha