1 type derived from DataProtector
System.Security (1)
system\security\cryptography\dpapidataprotector.cs (1)
16
public sealed class DpapiDataProtector :
DataProtector
10 references to DataProtector
System.Security (2)
system\security\cryptography\dataprotector.cs (2)
126
public static
DataProtector
Create(string providerClass,
136
return (
DataProtector
)CryptoConfig.CreateFromName(providerClass, applicationName, primaryPurpose, specificPurposes);
System.Web (8)
Security\Cryptography\DataProtectorCryptoService.cs (1)
32
DataProtector
dataProtector = null;
Security\Cryptography\IDataProtectorFactory.cs (1)
15
DataProtector
GetDataProtector(Purpose purpose);
Security\Cryptography\MachineKeyDataProtectorFactory.cs (6)
18
private Func<Purpose,
DataProtector
> _dataProtectorFactory;
25
public
DataProtector
GetDataProtector(Purpose purpose) {
32
private Func<Purpose,
DataProtector
> GetDataProtectorFactory() {
36
Func<Purpose,
DataProtector
> factory = purpose => {
40
return
DataProtector
.Create(dataProtectorTypeName, applicationName, purpose.PrimaryPurpose, purpose.SpecificPurposes);
47
DataProtector
dataProtector = factory(_creationTestingPurpose);