Skip to content

Instantly share code, notes, and snippets.

@OllieJones
Created March 4, 2016 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OllieJones/2e6af134a5fd725326fe to your computer and use it in GitHub Desktop.
Save OllieJones/2e6af134a5fd725326fe to your computer and use it in GitHub Desktop.
CryptoConfig.AddAlgorithm(typeof(RsaPkCs1Sha512SignatureDescription),
"http://www.w3.org/2001/04/xmldsig-more#rsa-sha512");
CryptoConfig.AddAlgorithm(typeof(RsaPkCs1Sha384SignatureDescription),
"http://www.w3.org/2001/04/xmldsig-more#rsa-sha384");
CryptoConfig.AddAlgorithm(typeof(RsaPkCs1Sha256SignatureDescription),
"http://www.w3.org/2001/04/xmldsig-more#rsa-sha256");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment