1 write to SpecificPurposes
System.Web (1)
Security\Cryptography\Purpose.cs (1)
65SpecificPurposes = specificPurposes ?? new string[0];
10 references to SpecificPurposes
System.Web (10)
Security\Cryptography\MachineKeyDataProtectorFactory.cs (1)
40return DataProtector.Create(dataProtectorTypeName, applicationName, purpose.PrimaryPurpose, purpose.SpecificPurposes);
Security\Cryptography\Purpose.cs (9)
68SaveDerivedKeys = (SpecificPurposes.Length == 0); 87string[] newSpecificPurposes = new string[SpecificPurposes.Length + 1]; 88Array.Copy(SpecificPurposes, newSpecificPurposes, SpecificPurposes.Length); 102string[] newSpecificPurposes = new string[SpecificPurposes.Length + specificPurposes.Count]; 103Array.Copy(SpecificPurposes, newSpecificPurposes, SpecificPurposes.Length); 104specificPurposes.CopyTo(newSpecificPurposes, SpecificPurposes.Length); 154foreach (string specificPurpose in SpecificPurposes) {