System.Security.Cryptography.SymmetricAlgorithm: Method Members

The methods of System.Security.Cryptography.SymmetricAlgorithm are listed below. For a list of all members, see the SymmetricAlgorithm Members list.

See Also: Inherited members from System.Object

Public Methods

Clear()

Releases all resources used by the System.Security.Cryptography.SymmetricAlgorithm class.

static
Create() : SymmetricAlgorithm

Creates a default cryptographic object used to perform the symmetric algorithm.

static
Create(string) : SymmetricAlgorithm

Creates the specified cryptographic object used to perform the symmetric algorithm.

CreateDecryptor() : ICryptoTransform

Creates a symmetric decryptor object with the current SymmetricAlgorithm.Key property and initialization vector (SymmetricAlgorithm.IV).

abstract
CreateDecryptor(byte[], byte[]) : ICryptoTransform

When overridden in a derived class, creates a symmetric decryptor object with the specified SymmetricAlgorithm.Key property and initialization vector (SymmetricAlgorithm.IV).

CreateEncryptor() : ICryptoTransform

Creates a symmetric encryptor object with the current SymmetricAlgorithm.Key property and initialization vector (SymmetricAlgorithm.IV).

abstract
CreateEncryptor(byte[], byte[]) : ICryptoTransform

When overridden in a derived class, creates a symmetric encryptor object with the specified SymmetricAlgorithm.Key property and initialization vector (SymmetricAlgorithm.IV).

Dispose()

Releases all resources used by the current instance of the System.Security.Cryptography.SymmetricAlgorithm class.

Finalize()
Documentation for this section has not yet been entered.
abstract
GenerateIV()

When overridden in a derived class, generates a random initialization vector (SymmetricAlgorithm.IV) to use for the algorithm.

abstract
GenerateKey()

When overridden in a derived class, generates a random key (SymmetricAlgorithm.Key) to use for the algorithm.

ValidKeySize(int) : bool

Determines whether the specified key size is valid for the current algorithm.

Protected Methods

Dispose(bool)

Releases the unmanaged resources used by the System.Security.Cryptography.SymmetricAlgorithm and optionally releases the managed resources.