Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AesCryptoServiceProvider Members

.NET Framework 3.5

Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm.

The AesCryptoServiceProvider type exposes the following members.

  NameDescription
Public method AesCryptoServiceProvider Initializes a new instance of the AesCryptoServiceProvider class.
Top
  NameDescription
Public method Clear Releases all resources used by the SymmetricAlgorithm class. (Inherited from SymmetricAlgorithm.)
Public method CreateDecryptor Overloaded. Creates a symmetric AES decryptor object.
Public method CreateEncryptor Overloaded. Creates a symmetric AES 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 algorithm. (Overrides SymmetricAlgorithm.GenerateIV().)
Public method GenerateKey Generates a random key to use for the 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 feedback size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm.)
Public property IV Gets or sets the initialization vector (IV) for the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
Public property Key Gets or sets the symmetric key that is used for encryption and decryption. (Overrides SymmetricAlgorithm.Key.)
Public property KeySize Gets or sets the size, in bits, of the secret key. (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. (Inherited from SymmetricAlgorithm.)
Public property Padding Gets or sets the padding mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm.)
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.