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