RSACryptoServiceProvider Members
.NET Framework 2.0
Performs asymmetric encryption and decryption using the implementation of the RSA algorithm provided by the cryptographic service provider (CSP). This class cannot be inherited.
The following tables list the members exposed by the RSACryptoServiceProvider type.
| Name | Description | |
|---|---|---|
| RSACryptoServiceProvider | Overloaded. Initializes a new instance of the RSACryptoServiceProvider class. |
| Name | Description | |
|---|---|---|
| CspKeyContainerInfo | Gets a CspKeyContainerInfo object that describes additional information about a cryptographic key pair. |
| KeyExchangeAlgorithm | Overridden. Gets the name of the key exchange algorithm available with this implementation of RSA. |
| KeySize | Overridden. Gets the size of the current key. |
| 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 RSACryptoServiceProvider object contains only a public key. |
| SignatureAlgorithm | Overridden. Gets the name of the signature algorithm available with this implementation of RSA. |
| 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 AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.) |
| Create | Overloaded. Allows specific implementations of RSA to be instantiated. (Inherited from RSA.) |
| Decrypt | Decrypts data with the RSA algorithm. |
| DecryptValue | Overridden. This method is not supported in the current version. |
| Encrypt | Encrypts data with the RSA algorithm. |
| EncryptValue | Overridden. This method is not supported in the current version. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| ExportCspBlob | Exports a blob containing the key information associated with an RSACryptoServiceProvider object. |
| ExportParameters | Overridden. Exports the RSAParameters. |
| FromXmlString | Initializes an RSA object from the key information from an XML string. (Inherited from RSA.) |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ImportCspBlob | Imports a blob that represents RSA key information. |
| ImportParameters | Overridden. Imports the specified RSAParameters. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| SignData | Overloaded. Computes the hash value of the specified data and signs it. |
| SignHash | Computes the signature for the specified hash value by encrypting it with the private key. |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| ToXmlString | Creates and returns an XML string containing the key of the current RSA object. (Inherited from RSA.) |
| 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. |
Reference
RSACryptoServiceProvider ClassSystem.Security.Cryptography Namespace