jitbit / AspNetSaml

Very simple SAML 2.0 consumer module for ASP.NET/C#
https://www.jitbit.com
Apache License 2.0
361 stars 118 forks source link

Compile error in saml.cs in Init method #39

Closed huseinshaikh closed 3 years ago

huseinshaikh commented 4 years ago

I am using .net framework 3.5

public static void Init() { if (!_initialized) CryptoConfig.AddAlgorithm(typeof(RSAPKCS1SHA256SignatureDescription), "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"); _initialized = true;
} CryptoConfig.AddAlgorithm is not found, may be because I am using lower version of .net frame work. Can you suggest what can be work around for this.

alex-jitbit commented 3 years ago

Yep, it appears it's only in .NET 4.0, not sure if there are any workarounds for .NET 3.5 sorry