Mono Class Library: Overview

System.Security.Cryptography.SymmetricAlgorithm: Members

The members of System.Security.Cryptography.SymmetricAlgorithm are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Called from constructor of derived class.

Protected Fields

BlockSizeValueint. The block size of the cryptographic operation in bits.
FeedbackSizeValueint. The feedback size of the cryptographic operation in bits.
IVValuebyte[]. The initialization vector (IV) for the symmetric algorithm.
KeySizeValueint. The size of the secret key used by the symmetric algorithm in bits.
KeyValuebyte[]. The secret key for the symmetric algorithm.
LegalBlockSizesValueKeySizes[]. Specifies the block sizes that are supported by the symmetric algorithm.
LegalKeySizesValueKeySizes[]. Specifies the key sizes that are supported by the symmetric algorithm.
ModeValueCipherMode. Represents the cipher mode used in the symmetric algorithm.
PaddingValuePaddingMode. Represents the padding mode used in the symmetric algorithm.

Public Properties

BlockSizeint. The block size of the cryptographic operation in bits.
FeedbackSizeint. The feedback size of the cryptographic operation in bits.
IVbyte[]. The initialization vector (IV) for the symmetric algorithm.
Keybyte[]. The secret key for the symmetric algorithm.
KeySizeint. The size of the secret key used by the symmetric algorithm in bits.
[read-only]
LegalBlockSizesKeySizes[]. Specifies the block sizes that are supported by the symmetric algorithm.
[read-only]
LegalKeySizesKeySizes[]. Specifies the key sizes that are supported by the symmetric algorithm.
ModeCipherMode. Represents the cipher mode used in the symmetric algorithm.
PaddingPaddingMode. Represents the padding mode used in the symmetric algorithm.

Public Methods

Clear()
Zeroize sensitive informations inside the algorithm implementation.
static
Create() : SymmetricAlgorithm
Creates the default implementation of the default symmetric algorithm (System.Security.Cryptography.Rijndael).
static
Create(string) : SymmetricAlgorithm
Creates a specific implementation of the given symmetric algorithm.
CreateDecryptor() : ICryptoTransform
Gets an Decryptor transform object to work with a CryptoStream.
abstract
CreateDecryptor(byte[], byte[]) : ICryptoTransform
Gets an Decryptor transform object to work with a CryptoStream.
CreateEncryptor() : ICryptoTransform
Gets an Encryptor transform object to work with a CryptoStream.
abstract
CreateEncryptor(byte[], byte[]) : ICryptoTransform
Gets an Encryptor transform object to work with a CryptoStream.
Finalize()
Documentation for this section has not yet been entered.
abstract
GenerateIV()
Generate a new initialization vector (IV) for the algorithm.
abstract
GenerateKey()
Generate a new secret key for the algorithm.
ValidKeySize(int) : bool
Checks wether the given keyLength is valid for the current algorithm.

Protected Methods

Dispose(bool)
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

IDisposable.DisposeDocumentation for this section has not yet been entered.