3 references to ToSecret
Microsoft.AspNetCore.DataProtection (3)
KeyManagement\Key.cs (1)
227
var encryptedKeyElement = keyElement.
ToSecret
();
XmlEncryption\DpapiNGXmlEncryptor.cs (1)
68
using (var plaintextElementAsSecret = plaintextElement.
ToSecret
())
XmlEncryption\DpapiXmlEncryptor.cs (1)
66
using (var plaintextElementAsSecret = plaintextElement.
ToSecret
())