Normalization of cryptographic uses in asp.net
[mono.git] / mcs / class / System.Web / System.Web.Configuration_2.0 / MachineKeyValidation.cs
index a7b75150edb9174b498c05fe9fab212f452b5fb6..eb7dfe13182604e8087b2518958f239479e676cc 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004, 2010 Novell, Inc (http://www.novell.com)
 //
 
-using System.Resources;
-
 namespace System.Web.Configuration
 {
 #if NET_2_0
@@ -40,7 +38,13 @@ namespace System.Web.Configuration
                MD5 = 0,
                SHA1 = 1,
                TripleDES = 2,
-               AES = 3
+               AES = 3,
+#if NET_4_0
+               HMACSHA256 = 4,
+               HMACSHA384 = 5,
+               HMACSHA512 = 6,
+               Custom = 7
+#endif
        }
 }