4 instantiations of DpapiXmlEncryptor
Microsoft.AspNetCore.DataProtection (3)
DataProtectionBuilderExtensions.cs (1)
332
options.XmlEncryptor = new
DpapiXmlEncryptor
(protectToLocalMachine, loggerFactory);
KeyManagement\XmlKeyManager.cs (2)
672
encryptor = new
DpapiXmlEncryptor
(
702
encryptor = new
DpapiXmlEncryptor
(protectToLocalMachine: true, loggerFactory: _loggerFactory);
Microsoft.AspNetCore.DataProtection.Tests (1)
XmlEncryption\DpapiXmlEncryptionTests.cs (1)
21
var encryptor = new
DpapiXmlEncryptor
(protectToLocalMachine, NullLoggerFactory.Instance);
4 references to DpapiXmlEncryptor
Microsoft.AspNetCore.DataProtection (3)
XmlEncryption\DpapiXmlDecryptor.cs (1)
14
/// An <see cref="IXmlDecryptor"/> that decrypts XML elements that were encrypted with <see cref="
DpapiXmlEncryptor
"/>.
XmlEncryption\DpapiXmlEncryptor.cs (2)
28
/// Creates a <see cref="
DpapiXmlEncryptor
"/> given a protection scope and an <see cref="IServiceProvider"/>.
38
_logger = loggerFactory.CreateLogger<
DpapiXmlEncryptor
>();
Microsoft.AspNetCore.DataProtection.Tests (1)
XmlEncryption\DpapiXmlEncryptionTests.cs (1)
21
var
encryptor = new DpapiXmlEncryptor(protectToLocalMachine, NullLoggerFactory.Instance);