5 implementations of IAuthenticatedEncryptorDescriptorDeserializer
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorDeserializer.cs (1)
16
public sealed class AuthenticatedEncryptorDescriptorDeserializer :
IAuthenticatedEncryptorDescriptorDeserializer
AuthenticatedEncryption\ConfigurationModel\CngCbcAuthenticatedEncryptorDescriptorDeserializer.cs (1)
17
public sealed class CngCbcAuthenticatedEncryptorDescriptorDeserializer :
IAuthenticatedEncryptorDescriptorDeserializer
AuthenticatedEncryption\ConfigurationModel\CngGcmAuthenticatedEncryptorDescriptorDeserializer.cs (1)
17
public sealed class CngGcmAuthenticatedEncryptorDescriptorDeserializer :
IAuthenticatedEncryptorDescriptorDeserializer
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializer.cs (1)
16
public sealed class ManagedAuthenticatedEncryptorDescriptorDeserializer :
IAuthenticatedEncryptorDescriptorDeserializer
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\XmlKeyManagerTests.cs (1)
1022
private class MyDeserializer :
IAuthenticatedEncryptorDescriptorDeserializer
19 references to IAuthenticatedEncryptorDescriptorDeserializer
KeyManagementSimulator (4)
Program.cs (4)
242
new(serializedDescriptor, typeof(
IAuthenticatedEncryptorDescriptorDeserializer
)); // This shouldn't be an interface, but we control the activator
257
sealed class MockAuthenticatedEncryptorDescriptorDeserializer(IAuthenticatedEncryptorDescriptor descriptor) :
IAuthenticatedEncryptorDescriptorDeserializer
267
sealed class MockActivator(IXmlDecryptor decryptor,
IAuthenticatedEncryptorDescriptorDeserializer
descriptorDeserializer) : IActivator
272
Type t when t == typeof(
IAuthenticatedEncryptorDescriptorDeserializer
) => descriptorDeserializer,
Microsoft.AspNetCore.DataProtection (8)
AuthenticatedEncryption\ConfigurationModel\IAuthenticatedEncryptorDescriptor.cs (1)
19
/// current descriptor object. The deserializer type must be assignable to <see cref="
IAuthenticatedEncryptorDescriptorDeserializer
"/>.
AuthenticatedEncryption\ConfigurationModel\XmlSerializedDescriptorInfo.cs (4)
21
/// <param name="deserializerType">The class whose <see cref="
IAuthenticatedEncryptorDescriptorDeserializer
.ImportFromXml(XElement)"/>
28
if (!typeof(
IAuthenticatedEncryptorDescriptorDeserializer
).IsAssignableFrom(deserializerType))
31
Resources.FormatTypeExtensions_BadCast(deserializerType.FullName, typeof(
IAuthenticatedEncryptorDescriptorDeserializer
).FullName),
40
/// The class whose <see cref="
IAuthenticatedEncryptorDescriptorDeserializer
.ImportFromXml(XElement)"/>
KeyManagement\XmlKeyManager.cs (3)
582
var
deserializerInstance = CreateDeserializer(descriptorDeserializerTypeName);
594
private
IAuthenticatedEncryptorDescriptorDeserializer
CreateDeserializer(string descriptorDeserializerTypeName)
619
return _activator.CreateInstance<
IAuthenticatedEncryptorDescriptorDeserializer
>(descriptorDeserializerTypeName);
Microsoft.AspNetCore.DataProtection.Tests (7)
KeyManagement\XmlKeyManagerTests.cs (5)
757
.Returns(new XmlSerializedDescriptorInfo(serializedDescriptor, typeof(
IAuthenticatedEncryptorDescriptorDeserializer
)));
766
var descriptorDeserializer = new Mock<
IAuthenticatedEncryptorDescriptorDeserializer
>(MockBehavior.Strict);
795
.Setup(o => o.CreateInstance(typeof(
IAuthenticatedEncryptorDescriptorDeserializer
), It.IsAny<string>()))
848
var descriptorDeserializer = new Mock<
IAuthenticatedEncryptorDescriptorDeserializer
>(MockBehavior.Strict);
872
.Setup(o => o.CreateInstance(typeof(
IAuthenticatedEncryptorDescriptorDeserializer
), It.IsAny<string>()))
MockExtensions.cs (2)
21
.Setup(o => o.CreateInstance(typeof(
IAuthenticatedEncryptorDescriptorDeserializer
), typeName))
24
var mockDeserializer = new Mock<
IAuthenticatedEncryptorDescriptorDeserializer
>();