3 instantiations of NullXmlDecryptor
Microsoft.AspNetCore.DataProtection.Tests (3)
XmlEncryption\NullXmlEncryptionTests.cs (1)
14
var decryptor = new
NullXmlDecryptor
();
XmlEncryption\XmlEncryptionExtensionsTests.cs (2)
96
mockActivator.Setup(o => o.CreateInstance(typeof(NullXmlDecryptor), decryptorTypeName)).Returns(new
NullXmlDecryptor
());
128
mockActivator.Setup(o => o.CreateInstance(typeof(IXmlDecryptor), decryptorTypeName)).Returns(new
NullXmlDecryptor
());
10 references to NullXmlDecryptor
Microsoft.AspNetCore.DataProtection (3)
XmlEncryption\NullXmlEncryptor.cs (1)
60
return new EncryptedXmlInfo(newElement, typeof(
NullXmlDecryptor
));
XmlEncryption\XmlEncryptionExtensions.cs (2)
93
else if (typeof(
NullXmlDecryptor
).MatchName(typeNameToMatch, typeNameResolver))
95
return activator.CreateInstance<
NullXmlDecryptor
>(decryptorTypeName);
Microsoft.AspNetCore.DataProtection.Tests (7)
KeyManagement\XmlKeyManagerTests.cs (1)
281
typeof(
NullXmlDecryptor
).AssemblyQualifiedName,
XmlEncryption\NullXmlEncryptionTests.cs (2)
14
var
decryptor = new NullXmlDecryptor();
33
Assert.Equal(typeof(
NullXmlDecryptor
), retVal.DecryptorType);
XmlEncryption\XmlEncryptionExtensionsTests.cs (4)
85
var decryptorTypeName = typeof(
NullXmlDecryptor
).AssemblyQualifiedName;
96
mockActivator.Setup(o => o.CreateInstance(typeof(
NullXmlDecryptor
), decryptorTypeName)).Returns(new NullXmlDecryptor());
98
var resolvedType = typeof(
NullXmlDecryptor
);
118
var decryptorTypeName = typeof(
NullXmlDecryptor
).AssemblyQualifiedName;