14 references to IVType
System.Web (14)
Configuration\MachineKeySection.cs (7)
450
return EncryptOrDecryptData(fEncrypt, buf, modifier, start, length, false, false,
IVType
.Random);
457
return EncryptOrDecryptData(fEncrypt, buf, modifier, start, length, useValidationSymAlgo, false,
IVType
.Random);
462
bool useValidationSymAlgo, bool useLegacyMode,
IVType
ivType)
475
bool useValidationSymAlgo, bool useLegacyMode,
IVType
ivType, bool signData)
548
bool createIV = signData || ((ivType !=
IVType
.None) && (CompatMode > MachineKeyCompatibilityMode.Framework20SP1));
556
case
IVType
.Hash:
561
case
IVType
.Random:
Security\FormsAuthentication.cs (2)
167
bBlob = MachineKeySection.EncryptOrDecryptData(false, bBlob, null, 0, bBlob.Length, false, false,
IVType
.Random);
281
bBlob = MachineKeySection.EncryptOrDecryptData(true, bBlob, null, 0, bBlob.Length, false, false,
IVType
.Random);
Security\MachineKey.cs (2)
51
data = MachineKeySection.EncryptOrDecryptData(true, data, null, 0, data.Length, false, false,
IVType
.Random, !AppSettings.UseLegacyMachineKeyEncryption);
85
data = MachineKeySection.EncryptOrDecryptData(false, data, null, 0, data.Length, false, false,
IVType
.Random, !AppSettings.UseLegacyMachineKeyEncryption);
Security\MembershipAdapter.cs (1)
44
return MachineKeySection.EncryptOrDecryptData(encrypt, buffer, (byte[])null, 0, buffer.Length, false /* useValidationSymAlgo */, useLegacyMode,
IVType
.None, false /*Sign*/);
UI\Page.cs (2)
1856
clearData = MachineKeySection.EncryptOrDecryptData(fEncrypt: false, buf: protectedData, modifier: null, start: 0, length: protectedData.Length, useValidationSymAlgo: false, useLegacyMode: false, ivType:
IVType
.Hash);
2021
protectedData = MachineKeySection.EncryptOrDecryptData(fEncrypt: true, buf: clearData, modifier: null, start: 0, length: clearData.Length, useValidationSymAlgo: false, useLegacyMode: false, ivType:
IVType
.Hash);