SymmetricAlgorithm Members
.NET Framework 3.5
Represents the abstract base class from which all implementations of symmetric algorithms must inherit.
The SymmetricAlgorithm type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clear | Releases all resources used by the SymmetricAlgorithm class. |
|
Create | Overloaded. Creates a cryptographic object used to perform the symmetric algorithm. |
|
CreateDecryptor | Overloaded. Creates a symmetric decryptor object. |
|
CreateEncryptor | Overloaded. Creates a symmetric encryptor object. |
|
Dispose | Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GenerateIV | When overridden in a derived class, generates a random initialization vector (IV) to use for the algorithm. |
|
GenerateKey | When overridden in a derived class, generates a random key (Key) to use for the algorithm. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
ValidKeySize | Determines whether the specified key size is valid for the current algorithm. |
| Name | Description | |
|---|---|---|
|
BlockSizeValue | Represents the block size, in bits, of the cryptographic operation. |
|
FeedbackSizeValue | Represents the feedback size, in bits, of the cryptographic operation. |
|
IVValue | Represents the initialization vector (IV) for the symmetric algorithm. |
|
KeySizeValue | Represents the size, in bits, of the secret key used by the symmetric algorithm. |
|
KeyValue | Represents the secret key for the symmetric algorithm. |
|
LegalBlockSizesValue | Specifies the block sizes, in bits, that are supported by the symmetric algorithm. |
|
LegalKeySizesValue | Specifies the key sizes, in bits, that are supported by the symmetric algorithm. |
|
ModeValue | Represents the cipher mode used in the symmetric algorithm. |
|
PaddingValue | Represents the padding mode used in the symmetric algorithm. |
| Name | Description | |
|---|---|---|
|
BlockSize | Gets or sets the block size, in bits, of the cryptographic operation. |
|
FeedbackSize | Gets or sets the feedback size, in bits, of the cryptographic operation. |
|
IV | Gets or sets the initialization vector (IV) for the symmetric algorithm. |
|
Key | Gets or sets the secret key for the symmetric algorithm. |
|
KeySize | Gets or sets the size, in bits, of the secret key used by the symmetric algorithm. |
|
LegalBlockSizes | Gets the block sizes, in bits, that are supported by the symmetric algorithm. |
|
LegalKeySizes | Gets the key sizes, in bits, that are supported by the symmetric algorithm. |
|
Mode | Gets or sets the mode for operation of the symmetric algorithm. |
|
Padding | Gets or sets the padding mode used in the symmetric algorithm. |
| Name | Description | |
|---|---|---|
|
IDisposable.Dispose | Infrastructure. Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. |