33 references to MachineKeyValidation
System.Web (33)
Configuration\MachineKeySection.cs (11)
49internal const MachineKeyValidation DefaultValidation = MachineKeyValidation.SHA1; 200private MachineKeyValidation _cachedValidationEnum; 235public MachineKeyValidation Validation { 813if (s_config.Validation == MachineKeyValidation.TripleDES || s_config.Validation == MachineKeyValidation.AES) { 828if (s_config.Validation == MachineKeyValidation.TripleDES || s_config.Validation == MachineKeyValidation.AES) { 852if (s_config.Validation == MachineKeyValidation.MD5) 907case MachineKeyValidation.TripleDES: 914case MachineKeyValidation.AES:
Configuration\MachineKeyValidationConverter.cs (19)
26if (!(value is MachineKeyValidation)) { 29return ConvertFromEnum((MachineKeyValidation)value); 37internal static string ConvertFromEnum(MachineKeyValidation enumValue) 40case MachineKeyValidation.SHA1: 42case MachineKeyValidation.MD5: 44case MachineKeyValidation.TripleDES: 46case MachineKeyValidation.AES: 48case MachineKeyValidation.HMACSHA256: 50case MachineKeyValidation.HMACSHA384: 52case MachineKeyValidation.HMACSHA512: 59internal static MachineKeyValidation ConvertToEnum(string strValue) 67return MachineKeyValidation.SHA1; 69return MachineKeyValidation.MD5; 71return MachineKeyValidation.TripleDES; 73return MachineKeyValidation.AES; 75return MachineKeyValidation.HMACSHA256; 77return MachineKeyValidation.HMACSHA384; 79return MachineKeyValidation.HMACSHA512; 82return MachineKeyValidation.Custom;
Security\Membership.cs (3)
454MachineKeyValidation v = appConfig.MachineKey.Validation; 455if (v != MachineKeyValidation.AES && v != MachineKeyValidation.TripleDES)