5 implementations of IAuthenticatedEncryptorFactory
Microsoft.AspNetCore.DataProtection (4)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
22public sealed class AuthenticatedEncryptorFactory : IAuthenticatedEncryptorFactory
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
22public sealed class CngCbcAuthenticatedEncryptorFactory : IAuthenticatedEncryptorFactory
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactory.cs (1)
22public sealed class CngGcmAuthenticatedEncryptorFactory : IAuthenticatedEncryptorFactory
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (1)
17public sealed class ManagedAuthenticatedEncryptorFactory : IAuthenticatedEncryptorFactory
Microsoft.AspNetCore.DataProtection.Tests (1)
KeyManagement\XmlKeyManagerTests.cs (1)
1030private class TestEncryptorFactory : IAuthenticatedEncryptorFactory
38 references to IAuthenticatedEncryptorFactory
KeyManagementSimulator (1)
Program.cs (1)
292sealed class MockAuthenticatedEncryptorFactory(IAuthenticatedEncryptor authenticatedEncryptor) : IAuthenticatedEncryptorFactory
Microsoft.AspNetCore.DataProtection (14)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
19/// An <see cref="IAuthenticatedEncryptorFactory"/> to create an <see cref="IAuthenticatedEncryptor"/>
AuthenticatedEncryption\CngCbcAuthenticatedEncryptorFactory.cs (1)
20/// An <see cref="IAuthenticatedEncryptorFactory"/> for <see cref="CbcAuthenticatedEncryptor"/>.
AuthenticatedEncryption\CngGcmAuthenticatedEncryptorFactory.cs (1)
20/// An <see cref="IAuthenticatedEncryptorFactory"/> for <see cref="CngGcmAuthenticatedEncryptor"/>.
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (1)
15/// An <see cref="IAuthenticatedEncryptorFactory"/> for <see cref="ManagedAuthenticatedEncryptor"/>.
KeyManagement\Key.cs (6)
27private readonly IEnumerable<IAuthenticatedEncryptorFactory> _encryptorFactories; 41IEnumerable<IAuthenticatedEncryptorFactory> encryptorFactories) 64IEnumerable<IAuthenticatedEncryptorFactory> encryptorFactories) 82IEnumerable<IAuthenticatedEncryptorFactory> encryptorFactories, 100IEnumerable<IAuthenticatedEncryptorFactory> encryptorFactories, 187foreach (var factory in _encryptorFactories)
KeyManagement\KeyManagementOptions.cs (3)
162/// The list of <see cref="IAuthenticatedEncryptorFactory"/> that will be used for creating 165public IList<IAuthenticatedEncryptorFactory> AuthenticatedEncryptorFactories { get; } = new List<IAuthenticatedEncryptorFactory>();
KeyManagement\XmlKeyManager.cs (1)
59private readonly IEnumerable<IAuthenticatedEncryptorFactory> _encryptorFactories;
Microsoft.AspNetCore.DataProtection.Tests (23)
KeyManagement\DefaultKeyResolverTests.cs (2)
342var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 412var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>();
KeyManagement\DeferredKeyTests.cs (6)
31var encryptorFactory = Mock.Of<IAuthenticatedEncryptorFactory>(); 49var encryptorFactory = Mock.Of<IAuthenticatedEncryptorFactory>(); 72var encryptorFactory = Mock.Of<IAuthenticatedEncryptorFactory>();
KeyManagement\KeyRingBasedDataProtectorTests.cs (9)
203var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 231var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 256var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 287var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 323var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 390var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 431var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 478var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 527var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>();
KeyManagement\KeyRingProviderTests.cs (2)
880var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>(); 897var mockEncryptorFactory = new Mock<IAuthenticatedEncryptorFactory>();
KeyManagement\KeyTests.cs (4)
21var encryptorFactory = Mock.Of<IAuthenticatedEncryptorFactory>(); 39var encryptorFactory = Mock.Of<IAuthenticatedEncryptorFactory>();