Symmetric |
public abstract class SymmetricAlgorithm : IDisposable
The SymmetricAlgorithm type exposes the following members.
| Name | Description | |
|---|---|---|
| SymmetricAlgorithm | Initializes a new instance of the Crestron.SimplSharp.Cryptography.SymmetricAlgorithm class. |
| 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 (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.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 | |
|---|---|---|
| Clear | Releases all resources used by the Crestron.SimplSharp.Cryptography.SymmetricAlgorithm class. | |
| Create | Creates a default cryptographic object used to perform the symmetric algorithm. | |
| Create(String) | Creates the specified cryptographic object used to perform the symmetric algorithm. | |
| CreateDecryptor | Creates a symmetric decryptor object with the current Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV). | |
| CreateDecryptor(Byte, Byte) | When overridden in a derived class, creates a symmetric decryptor object with the specified Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV). | |
| CreateEncryptor | Creates a symmetric encryptor object with the current Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV). | |
| CreateEncryptor(Byte, Byte) | When overridden in a derived class, creates a symmetric encryptor object with the specified Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key property and initialization vector (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV). | |
| Dispose | Dispose | |
| Dispose(Boolean) | Releases the unmanaged resources used by the Crestron.SimplSharp.Cryptography.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 (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.IV) to use for the algorithm. | |
| GenerateKey | When overridden in a derived class, generates a random key (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.Key) to use for the algorithm. | |
| GetHashCode | Serves as the default hash function. (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 (Crestron.SimplSharp.Cryptography.SymmetricAlgorithm.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. |