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