10 references to EncryptedXmlInfo
CustomEncryptorSample (1)
CustomXmlEncryptor.cs (1)
29
var encryptedTextElement = new
EncryptedXmlInfo
(newElement, typeof(CustomXmlDecryptor));
KeyManagementSimulator (1)
Program.cs (1)
562
return new
EncryptedXmlInfo
(plaintextElement, typeof(IXmlDecryptor)); // Activator will know what to do
Microsoft.AspNetCore.DataProtection (4)
XmlEncryption\CertificateXmlEncryptor.cs (1)
76
return new
EncryptedXmlInfo
(encryptedElement, typeof(EncryptedXmlDecryptor));
XmlEncryption\DpapiNGXmlEncryptor.cs (1)
91
return new
EncryptedXmlInfo
(element, typeof(DpapiNGXmlDecryptor));
XmlEncryption\DpapiXmlEncryptor.cs (1)
87
return new
EncryptedXmlInfo
(element, typeof(DpapiXmlDecryptor));
XmlEncryption\NullXmlEncryptor.cs (1)
60
return new
EncryptedXmlInfo
(newElement, typeof(NullXmlDecryptor));
Microsoft.AspNetCore.DataProtection.Tests (4)
KeyManagement\XmlKeyManagerTests.cs (1)
787
.Returns<XElement>(element => new
EncryptedXmlInfo
(element, typeof(IXmlDecryptor)));
XmlEncryption\XmlEncryptionExtensionsTests.cs (3)
217
mockXmlEncryptor.Setup(o => o.Encrypt(It.IsAny<XElement>())).Returns(new
EncryptedXmlInfo
(new XElement("theElement"), typeof(MyXmlDecryptor)));
265
.Returns<XElement>(element => new
EncryptedXmlInfo
(new XElement(element.Name.LocalName + "_encrypted"), typeof(MyXmlDecryptor)));
314
.Returns<XElement>(element => new
EncryptedXmlInfo
(new XElement(element), typeof(MyXmlDecryptor)));