c# - Is there a way to make the security settings in PDFSharp work in an environment that is restricting to FIPS compliant algorithms? -
i using pdfsharp c# mvc3 application generate pdf completing survey. working fine until migrated windows server 2008 environment setting "system cryptography: use fips compliant algorithms encryption, hashing, , signing" enabled.
has found way continue setting security settings on pdf while in type of environment? here security setting block of code if remove work:
pdfsecuritysettings securitysettings = pdfdocument.securitysettings; securitysettings.ownerpassword = "owner"; // restrict rights. securitysettings.permitaccessibilityextractcontent = false; securitysettings.permitannotations = false; securitysettings.permitassembledocument = false; securitysettings.permitextractcontent = false; securitysettings.permitformsfill = false; securitysettings.permitmodifydocument = false; securitysettings.permitprint = true; securitysettings.permitfullqualityprint = true;
any thoughts? thinking of pulling down pdfsharp source , seeing if use different algorithm because believe issue md5cryptoserviceprovider.
Comments
Post a Comment