19 references to DataProtectionProvider
Microsoft.AspNetCore.DataProtection.Extensions (6)
DataProtectionProvider.cs (6)
20
/// Creates a <see cref="
DataProtectionProvider
"/> that store keys in a location based on
36
/// Creates an <see cref="
DataProtectionProvider
"/> given a location at which to store keys.
48
/// Creates an <see cref="
DataProtectionProvider
"/> given a location at which to store keys and an
66
/// Creates a <see cref="
DataProtectionProvider
"/> that store keys in a location based on
84
/// Creates an <see cref="
DataProtectionProvider
"/> given a location at which to store keys
101
/// Creates an <see cref="
DataProtectionProvider
"/> given a location at which to store keys, an
Microsoft.AspNetCore.DataProtection.Extensions.Tests (12)
DataProtectionProviderTests.cs (12)
34
var protector =
DataProtectionProvider
.Create(directory).CreateProtector("purpose");
55
var provider =
DataProtectionProvider
.CreateProvider(
100
var protector =
DataProtectionProvider
.Create(directory, configure =>
144
var protector =
DataProtectionProvider
.Create(directory, certificate).CreateProtector("purpose");
149
var unprotector =
DataProtectionProvider
.Create(directory, o => o.UnprotectKeysWithAnyCertificate(certWithoutKey)).CreateProtector("purpose");
195
var protector =
DataProtectionProvider
.Create(directory, certWithKey).CreateProtector("purpose");
198
var keylessUnprotector =
DataProtectionProvider
.Create(directory).CreateProtector("purpose");
201
var unprotector =
DataProtectionProvider
.Create(directory, o => o.UnprotectKeysWithAnyCertificate(certInStore, certWithKey)).CreateProtector("purpose");
228
var protector =
DataProtectionProvider
.Create(directory, certificate).CreateProtector("purpose");
257
var protector =
DataProtectionProvider
.Create("Test", certificate).CreateProtector("purpose");
297
var protector =
DataProtectionProvider
312
var unprotector =
DataProtectionProvider
.Create(directory,
NonDISample (1)
Program.cs (1)
16
var dataProtectionProvider =
DataProtectionProvider
.Create(