3 references to UnprotectKeysWithAnyCertificate
Microsoft.AspNetCore.DataProtection.Extensions.Tests (3)
DataProtectionProviderTests.cs (3)
149
var unprotector = DataProtectionProvider.Create(directory, o => o.
UnprotectKeysWithAnyCertificate
(certWithoutKey)).CreateProtector("purpose");
201
var unprotector = DataProtectionProvider.Create(directory, o => o.
UnprotectKeysWithAnyCertificate
(certInStore, certWithKey)).CreateProtector("purpose");
313
b => b.
UnprotectKeysWithAnyCertificate
(certificate));