3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 // <OWNER>Microsoft</OWNER>
13 namespace System.Security.Cryptography
15 [System.Runtime.InteropServices.ComVisible(true)]
17 public abstract class Rijndael : SymmetricAlgorithm
19 private static KeySizes[] s_legalBlockSizes = {
20 new KeySizes(128, 256, 64)
23 private static KeySizes[] s_legalKeySizes = {
24 new KeySizes(128, 256, 64)
28 // protected constructors
31 protected Rijndael() {
34 FeedbackSizeValue = BlockSizeValue;
35 LegalBlockSizesValue = s_legalBlockSizes;
36 LegalKeySizesValue = s_legalKeySizes;
43 new static public Rijndael Create() {
45 return new System.Security.Cryptography.RijndaelManaged ();
47 return Create("System.Security.Cryptography.Rijndael");
51 new static public Rijndael Create(String algName) {
52 return (Rijndael) CryptoConfig.CreateFromName(algName);