DSACrypto |
public sealed class DSACryptoServiceProvider : DSA, ICspAsymmetricAlgorithm
The DSACryptoServiceProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| DSACryptoServiceProvider | Initializes a new instance of the Crestron.SimplSharp.Cryptography.DSACryptoServiceProvider class. | |
| DSACryptoServiceProvider(CspParameters) | Initializes a new instance of the Crestron.SimplSharp.Cryptography.DSACryptoServiceProvider class with the specified parameters for the cryptographic service provider (CSP). | |
| DSACryptoServiceProvider(Int32) | Initializes a new instance of the Crestron.SimplSharp.Cryptography.DSACryptoServiceProvider class with the specified key size. | |
| DSACryptoServiceProvider(Int32, CspParameters) | Initializes a new instance of the Crestron.SimplSharp.Cryptography.DSACryptoServiceProvider class with the specified key size and parameters for the cryptographic service provider (CSP). |
| Name | Description | |
|---|---|---|
| CspKeyContainerInfo | Gets a Crestron.SimplSharp.Cryptography.CspKeyContainerInfo object that describes additional information about a cryptographic key pair. | |
| KeyExchangeAlgorithm |
Gets the name of the key exchange algorithm.
(Overrides DSAKeyExchangeAlgorithm) | |
| KeySize |
Gets the size of the key used by the asymmetric algorithm in bits.
(Overrides AsymmetricAlgorithmKeySize) | |
| LegalKeySizes |
Gets the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm) | |
| PersistKeyInCsp | Gets or sets a value indicating whether the key should be persisted in the cryptographic service provider (CSP). | |
| PublicOnly | Gets a value that indicates whether the Crestron.SimplSharp.Cryptography.DSACryptoServiceProvider object contains only a public key. | |
| SignatureAlgorithm |
Gets the name of the signature algorithm.
(Overrides DSASignatureAlgorithm) | |
| UseMachineKeyStore | Gets or sets a value indicating whether the key should be persisted in the computer's key store instead of the user profile store. |
| Name | Description | |
|---|---|---|
| Clear |
Releases all resources used by the Crestron.SimplSharp.Cryptography.AsymmetricAlgorithm class.
(Inherited from AsymmetricAlgorithm) | |
| CreateSignature |
Creates the Crestron.SimplSharp.Cryptography.DSA signature for the specified data.
(Overrides DSACreateSignature(Byte)) | |
| Dispose |
Dispose
(Inherited from AsymmetricAlgorithm) | |
| Dispose(Boolean) |
Releases the unmanaged resources used by the Crestron.SimplSharp.Cryptography.DSACryptoServiceProvider
and optionally releases the managed resources.
(Overrides DSADispose(Boolean)) | |
| ExportCspBlob | Exports a blob containing the key information associated with a Crestron.SimplSharp.Cryptography.DSACryptoServiceProvider object. | |
| ExportParameters |
Exports the Crestron.SimplSharp.Cryptography.DSAParameters.
(Overrides DSAExportParameters(Boolean)) | |
| ImportCspBlob | Imports a blob that represents DSA key information. | |
| ImportParameters |
Imports the specified Crestron.SimplSharp.Cryptography.DSAParameters.
(Overrides DSAImportParameters(DSAParameters)) | |
| SignData(Byte) | Computes the hash value of the specified byte array and signs the resulting hash value. | |
| SignData(Stream) | Computes the hash value of the specified input stream and signs the resulting hash value. | |
| SignData(Byte, Int32, Int32) | Signs a byte array from the specified start point to the specified end point. | |
| SignHash | Computes the signature for the specified hash value by encrypting it with the private key. | |
| VerifyData | Verifies the specified signature data by comparing it to the signature computed for the specified data. | |
| VerifyHash | Verifies the specified signature data by comparing it to the signature computed for the specified hash value. | |
| VerifySignature |
Verifies the Crestron.SimplSharp.Cryptography.DSA signature for the specified data.
(Overrides DSAVerifySignature(Byte, Byte)) |
| Name | Description | |
|---|---|---|
| KeySizeValue |
Represents the size, in bits, of the key modulus used by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm) | |
| LegalKeySizesValue |
Specifies the key sizes that are supported by the asymmetric algorithm.
(Inherited from AsymmetricAlgorithm) |