RSACryptoServiceProvider Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The RSACryptoServiceProvider type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Clear Releases all resources used by the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.)
Public methodSupported by Silverlight for Windows Phone Decrypt Decrypts data with the RSA algorithm.
Public methodSupported by Silverlight for Windows Phone DecryptValue This method is not supported in the current version. (Overrides RSA.DecryptValue(array<Byte[]).)
Public methodSupported by Silverlight for Windows Phone Dispose() Releases all resources used by the current instance of the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.)
Protected methodSupported by Silverlight for Windows Phone Dispose(Boolean) Releases the unmanaged resources used by the AsymmetricAlgorithm class and optionally releases the managed resources. (Inherited from AsymmetricAlgorithm.)
Public methodSupported by Silverlight for Windows Phone Encrypt Encrypts data with the RSA algorithm.
Public methodSupported by Silverlight for Windows Phone EncryptValue This method is not supported in the current version. (Overrides RSA.EncryptValue(array<Byte[]).)
Public methodSupported by Silverlight for Windows Phone Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ExportCspBlob Security Critical. Exports a blob containing the key information associated with an RSACryptoServiceProvider object.
Public methodSupported by Silverlight for Windows Phone ExportParameters Exports the RSAParameters. (Overrides RSA.ExportParameters(Boolean).)
Protected methodSupported by Silverlight for Windows Phone 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.)
Public methodSupported by Silverlight for Windows Phone FromXmlString Initializes an RSA object from the key information from an XML string. (Inherited from RSA.)
Public methodSupported by Silverlight for Windows Phone GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ImportCspBlob Security Critical. Imports a blob that represents RSA key information.
Public methodSupported by Silverlight for Windows Phone ImportParameters Imports the specified RSAParameters. (Overrides RSA.ImportParameters(RSAParameters).)
Protected methodSupported by Silverlight for Windows Phone MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone SignData(array<Byte[], Object) Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.
Public methodSupported by Silverlight for Windows Phone SignData(Stream, Object) Computes the hash value of the specified input stream using the specified hash algorithm, and signs the resulting hash value.
Public methodSupported by Silverlight for Windows Phone SignData(array<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.
Public methodSupported by Silverlight for Windows Phone SignHash Computes the signature for the specified hash value by encrypting it with the private key.
Public methodSupported by Silverlight for Windows Phone ToString Returns a string that represents the current object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows Phone ToXmlString Creates and returns an XML string containing the key of the current RSA object. (Inherited from RSA.)
Public methodSupported by Silverlight for Windows Phone 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.
Public methodSupported by Silverlight for Windows Phone 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.

Top