4 references to Create
Microsoft.AspNetCore.DataProtection.Extensions.Tests (4)
DataProtectionProviderTests.cs (4)
144
var protector = DataProtectionProvider.
Create
(directory, certificate).CreateProtector("purpose");
195
var protector = DataProtectionProvider.
Create
(directory, certWithKey).CreateProtector("purpose");
228
var protector = DataProtectionProvider.
Create
(directory, certificate).CreateProtector("purpose");
298
.
Create
(directory, certificate)