AesManaged Members

.NET Framework 3.5

Provides a managed implementation of the Advanced Encryption Standard (AES) symmetric algorithm.

The AesManaged type exposes the following members.

  NameDescription
Public method AesManaged Initializes a new instance of the AesManaged class.
Top

  NameDescription
Public method Clear Releases all resources used by the SymmetricAlgorithm class. (Inherited from SymmetricAlgorithm.)
Public method CreateDecryptor Overloaded. Creates a symmetric decryptor object.
Public method CreateEncryptor Overloaded. Creates a symmetric encryptor object.
Protected method Dispose Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. (Inherited from SymmetricAlgorithm.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GenerateIV Generates a random initialization vector (IV) to use for the symmetric algorithm. (Overrides SymmetricAlgorithm.GenerateIV().)
Public method GenerateKey Generates a random key to use for the symmetric algorithm. (Overrides SymmetricAlgorithm.GenerateKey().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method ValidKeySize Determines whether the specified key size is valid for the current algorithm. (Inherited from SymmetricAlgorithm.)
Top

  NameDescription
Protected field BlockSizeValue Represents the block size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm.)
Protected field FeedbackSizeValue Represents the feedback size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm.)
Protected field IVValue Represents the initialization vector (IV) for the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Protected field KeySizeValue Represents the size, in bits, of the secret key used by the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Protected field KeyValue Represents the secret key for the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Protected field LegalBlockSizesValue Specifies the block sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Protected field LegalKeySizesValue Specifies the key sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Protected field ModeValue Represents the cipher mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Protected field PaddingValue Represents the padding mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Top

  NameDescription
Public property BlockSize Gets or sets the block size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm.)
Public property FeedbackSize Gets or sets the number of bits to use as feedback. (Overrides SymmetricAlgorithm.FeedbackSize.)
Public property IV Gets or sets the initialization vector (IV) to use for the symmetric algorithm. (Overrides SymmetricAlgorithm.IV.)
Public property Key Gets or sets the secret key used for the symmetric algorithm. (Overrides SymmetricAlgorithm.Key.)
Public property KeySize Gets or sets the size, in bits, of the secret key used for the symmetric algorithm. (Overrides SymmetricAlgorithm.KeySize.)
Public property LegalBlockSizes Gets the block sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Public property LegalKeySizes Gets the key sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Public property Mode Gets or sets the mode for operation of the symmetric algorithm. (Overrides SymmetricAlgorithm.Mode.)
Public property Padding Gets or sets the padding mode used in the symmetric algorithm. (Overrides SymmetricAlgorithm.Padding.)
Top

  NameDescription
Explicit interface implemetation Private method IDisposable.Dispose Infrastructure. Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. (Inherited from SymmetricAlgorithm.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft