7 references to MyXmlDecryptor
Microsoft.AspNetCore.DataProtection.Tests (7)
XmlEncryption\XmlEncryptionExtensionsTests.cs (7)
56
var decryptorTypeName = typeof(
MyXmlDecryptor
).AssemblyQualifiedName;
217
mockXmlEncryptor.Setup(o => o.Encrypt(It.IsAny<XElement>())).Returns(new EncryptedXmlInfo(new XElement("theElement"), typeof(
MyXmlDecryptor
)));
225
Assert.Equal(typeof(
MyXmlDecryptor
).AssemblyQualifiedName, (string)retVal.Attribute(XmlConstants.DecryptorTypeAttributeName));
260
typeof(
MyXmlDecryptor
).AssemblyQualifiedName);
265
.Returns<XElement>(element => new EncryptedXmlInfo(new XElement(element.Name.LocalName + "_encrypted"), typeof(
MyXmlDecryptor
)));
309
typeof(
MyXmlDecryptor
).AssemblyQualifiedName);
314
.Returns<XElement>(element => new EncryptedXmlInfo(new XElement(element), typeof(
MyXmlDecryptor
)));