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