Export (0) Print
Expand All

RSACryptoServiceProvider Methods

The methods of the RSACryptoServiceProvider class are listed here. For a complete list of RSACryptoServiceProvider class members, see the RSACryptoServiceProvider Members topic.

Public Methods

public methodClear (inherited from AsymmetricAlgorithm) Releases all resources used by the AsymmetricAlgorithm.
public methodDecrypt Decrypts data with the RSA algorithm.
public methodDecryptValue Overridden. This method is not supported in the current version.
public methodEncrypt Encrypts data with the RSA algorithm.
public methodEncryptValue Overridden. This method is not supported in the current version.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodExportParameters Overridden. Exports the RSAParameters.
public methodFromXmlString (inherited from RSA) Overridden. Reconstructs an RSA object from an XML string.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodImportParameters Overridden. Imports the specified RSAParameters.
public methodSignData Overloaded. Computes the hash value of the specified data and signs it.
public methodSignHash Computes the signature for the specified hash value by encrypting it with the private key.
public methodToString (inherited from Object) Returns a String that represents the current Object.
public methodToXmlString (inherited from RSA) Overridden. Creates and returns an XML string representation of the current RSA object.
public methodVerifyData Verifies the specified signature data by comparing it to the signature computed for the specified data.
public methodVerifyHash Verifies the specified signature data by comparing it to the signature computed for the specified hash value.

Protected Methods

protected methodDispose Overridden. Releases the unmanaged resources used by the RSACryptoServiceProvider and optionally releases the managed resources.
protected methodFinalize Overridden. Releases the unmanaged resources used by the RSACryptoServiceProvider.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RSACryptoServiceProvider Class | System.Security.Cryptography Namespace

Show:
© 2014 Microsoft