using System;
namespace System.Security.Cryptography
{
/// Represents the abstract base class from which all implementations of the Advanced Encryption Standard (AES) must inherit.
// Token: 0x0200004E RID: 78
public abstract class Aes : SymmetricAlgorithm
{
/// Initializes a new instance of the class.
// Token: 0x06000458 RID: 1112 RVA: 0x00014710 File Offset: 0x00012910
protected Aes()
{
this.KeySizeValue = 256;
this.BlockSizeValue = 128;
this.LegalKeySizesValue = new KeySizes[1];
this.LegalKeySizesValue[0] = new KeySizes(128, 256, 64);
this.LegalBlockSizesValue = new KeySizes[1];
this.LegalBlockSizesValue[0] = new KeySizes(128, 128, 0);
}
/// Creates a cryptographic object that is used to perform the symmetric algorithm.
/// A cryptographic object that is used to perform the symmetric algorithm.
// Token: 0x06000459 RID: 1113 RVA: 0x00014784 File Offset: 0x00012984
public new static Aes Create()
{
return Aes.Create("System.Security.Cryptography.AesManaged, System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");
}
/// Creates a cryptographic object that specifies the implementation of AES to use to perform the symmetric algorithm.
/// A cryptographic object that is used to perform the symmetric algorithm.
/// The name of the specific implementation of AES to use.
/// The parameter is null.
// Token: 0x0600045A RID: 1114 RVA: 0x00014790 File Offset: 0x00012990
public new static Aes Create(string algName)
{
return (Aes)CryptoConfig.CreateFromName(algName);
}
}
}