I am using spire.pdf.5.4.1.nupkg to password protect a pdf document.
When Local Policy on Workstation: System cryptography Use: FIPS compliant algorithms for encryption, hashing, and signing is Enabled, I am receiving the error message "Document encryption is not allowed in FIPS mode".
Method used to encrypt the document: pdf.Security.Encrypt(strPwd);
I also tried using the obsolete methods PdfSecurity.KeySize and PdfSecurity.UserPassword without success.
Please let me know if I am missing anything.