SignedXml SHA256 digest FIPS compliant

  • Thread starter Thread starter David Voboril
  • Start date Start date
D

David Voboril

Guest
Hi, i need compute Signature with FIPS compliant algorithm. I set Reference.DigestMethod to http://www.w3.org/2001/04/xmlenc#sha256, but with FIPS algorith enabled i see error that algorithm is not fips compliant. I have configured CryptoConfig (CryptoConfig.AddAlgorithm(typeof(RSAPKCS1SHA256SignatureDescription), "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256");)Signature is FIPS compliant but reference is computed by SHA256Managed, which is not FIPS compliant. How I can setup digestMethod to SHA256Cng or SHA256Csp (FIPS compliant)? Framework 4.5.1


Thanks, David

Continue reading...
 
Back
Top