2 references to ProtectWithDpapi
Microsoft.AspNetCore.DataProtection (2)
Cng\DpapiSecretSerializerHelper.cs (1)
34
ProtectWithDpapi
(secret, protectToLocalMachine: false);
XmlEncryption\DpapiXmlEncryptor.cs (1)
68
dpapiEncryptedData = DpapiSecretSerializerHelper.
ProtectWithDpapi
(plaintextElementAsSecret, protectToLocalMachine: _protectToLocalMachine);