4 types derived from Aes
System.Security.Cryptography (4)
System\Security\Cryptography\AesCryptoServiceProvider.cs (1)
11public sealed class AesCryptoServiceProvider : Aes
System\Security\Cryptography\AesImplementation.cs (1)
8internal sealed partial class AesImplementation : Aes
System\Security\Cryptography\AesManaged.cs (1)
12public sealed class AesManaged : Aes
System\Security\Cryptography\Cng.NotSupported.cs (1)
70public sealed partial class AesCng : Aes
63 references to Aes
Microsoft.AspNetCore.DataProtection (7)
AuthenticatedEncryption\AuthenticatedEncryptorFactory.cs (1)
177return typeof(Aes);
AuthenticatedEncryption\ConfigurationModel\ManagedAlgorithmHelpers.cs (1)
16typeof(Aes),
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorConfiguration.cs (3)
29public Type EncryptionAlgorithmType { get; set; } = typeof(Aes); 85if (type == typeof(Aes)) 87return nameof(Aes);
AuthenticatedEncryption\ManagedAuthenticatedEncryptorFactory.cs (2)
97if (configuration.EncryptionAlgorithmType == typeof(Aes)) 99return Aes.Create;
Microsoft.AspNetCore.DataProtection.Tests (16)
AuthenticatedEncryption\ConfigurationModel\AuthenticatedEncryptorDescriptorTests.cs (1)
129symmetricAlgorithmFactory: () => Aes.Create(),
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs (6)
15[InlineData(typeof(Aes), typeof(HMACSHA1))] 16[InlineData(typeof(Aes), typeof(HMACSHA256))] 17[InlineData(typeof(Aes), typeof(HMACSHA384))] 18[InlineData(typeof(Aes), typeof(HMACSHA512))] 60EncryptionAlgorithmType = typeof(Aes), 69<encryption algorithm='{typeof(Aes).AssemblyQualifiedName}' keyLength='192' />
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorTests.cs (4)
40[InlineData(typeof(Aes), typeof(HMACSHA1))] 41[InlineData(typeof(Aes), typeof(HMACSHA256))] 42[InlineData(typeof(Aes), typeof(HMACSHA384))] 43[InlineData(typeof(Aes), typeof(HMACSHA512))]
Managed\ManagedAuthenticatedEncryptorTests.cs (3)
17symmetricAlgorithmFactory: Aes.Create, 37symmetricAlgorithmFactory: Aes.Create, 83symmetricAlgorithmFactory: Aes.Create,
RegistryPolicyResolverTests.cs (2)
229["EncryptionAlgorithmType"] = typeof(Aes).AssemblyQualifiedName, 235EncryptionAlgorithmType = typeof(Aes),
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
857[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.Aes))]
netstandard (1)
netstandard.cs (1)
1840[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.Aes))]
System.Core (1)
System.Core.cs (1)
196[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.Aes))]
System.Security.Cryptography (16)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
253cipher = Aes.Create(); 258cipher = Aes.Create(); 263cipher = Aes.Create(); 615Aes aes = Aes.Create();
System\Security\Cryptography\Aes.cs (3)
24public static new Aes Create() 31public static new Aes? Create(string algorithmName) 33return (Aes?)CryptoConfig.CreateFromName(algorithmName);
System\Security\Cryptography\AesCryptoServiceProvider.cs (2)
13private readonly Aes _impl; 19_impl = Aes.Create();
System\Security\Cryptography\AesManaged.cs (2)
14private readonly Aes _impl; 19_impl = Aes.Create();
System\Security\Cryptography\RijndaelImplementation.cs (2)
18private readonly Aes _impl; 26_impl = Aes.Create();
System\Security\Cryptography\RijndaelManaged.cs (2)
15private readonly Aes _impl; 22_impl = Aes.Create();
System.Security.Cryptography.Algorithms (1)
System.Security.Cryptography.Algorithms.cs (1)
4[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.Aes))]
System.Security.Cryptography.Pkcs (8)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (3)
185alg = Aes.Create(); 189alg = Aes.Create(); 193alg = Aes.Create();
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
253cipher = Aes.Create(); 258cipher = Aes.Create(); 263cipher = Aes.Create(); 615Aes aes = Aes.Create();
System.Security.Cryptography.Xml (11)
System\Security\Cryptography\Xml\EncryptedXml.cs (7)
573using (Aes aes = Aes.Create()) 631else if (symKey is Rijndael || symKey is Aes) 658using (Aes aes = Aes.Create()) 934else if (symmetricAlgorithm is Rijndael || symmetricAlgorithm is Aes) 988else if (symmetricAlgorithm is Rijndael || symmetricAlgorithm is Aes)
System\Security\Cryptography\Xml\SymmetricKeyWrap.cs (4)
128Aes? aes = null; 133aes = Aes.Create(); 191Aes? aes = null; 196aes = Aes.Create();
System.ServiceModel.Primitives (1)
System\IdentityModel\CryptoHelper.cs (1)
241return Aes.Create();