RSACryptoServiceProvider Methods
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The RSACryptoServiceProvider type exposes the following members.
| Name | Description | |
|---|---|---|
|
Clear | (Inherited from AsymmetricAlgorithm.) |
|
Decrypt | Decrypts data with the RSA algorithm. |
|
DecryptValue | This method is not supported in the current version. (Overrides RSA.DecryptValue(Byte[]).) |
|
Dispose() | (Inherited from AsymmetricAlgorithm.) |
|
Dispose(Boolean) | (Inherited from AsymmetricAlgorithm.) |
|
Encrypt | Encrypts data with the RSA algorithm. |
|
EncryptValue | This method is not supported in the current version. (Overrides RSA.EncryptValue(Byte[]).) |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
ExportCspBlob | Security Critical. Exports a blob containing the key information associated with an RSACryptoServiceProvider object. |
|
ExportParameters | Exports the RSAParameters. (Overrides RSA.ExportParameters(Boolean).) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
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. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
ImportCspBlob | Security Critical. Imports a blob that represents RSA key information. |
|
ImportParameters | Imports the specified RSAParameters. (Overrides RSA.ImportParameters(RSAParameters).) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SignData(Byte[], Object) | Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value. |
|
SignData(Stream, Object) | Computes the hash value of the specified input stream using the specified hash algorithm, and signs the resulting hash value. |
|
SignData(Byte[], Int32, Int32, Object) | Computes the hash value of a subset of the specified byte array using the specified hash algorithm, and signs the resulting hash value. |
|
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 that a digital signature is valid by determining the hash value in the signature using the provided public key and comparing it to the hash value of the provided data. |
|
VerifyHash | Verifies that a digital signature is valid by determining the hash value in the signature using the provided public key and comparing it to the provided hash value. |
Show: