RSACryptoServiceProvider Methods

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

The RSACryptoServiceProvider type exposes the following members.

  Name Description
Public method Clear Releases all resources used by the AsymmetricAlgorithm class. (Inherited from AsymmetricAlgorithm.)
Public method Decrypt Decrypts data with the RSA algorithm.
Public method Dispose()()()() (Inherited from SessionContainer.)
Public method Encrypt Encrypts data with the RSA algorithm.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method ExportParameters Exports the RSAParameters.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ImportParameters Imports the specified RSAParameters.
Public method SignData(array<Byte>[]()[][]) Computes the hash value of the specified byte array and signs the resulting hash value.
Public method SignData(Stream) Computes the hash value of the specified input stream, and signs the resulting hash value.
Public method SignData(array<Byte>[]()[][], HashAlgorithm) Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.
Public method SignData(Stream, HashAlgorithm) Computes the hash value of the specified input stream using the specified hash algorithm, and signs the resulting hash value.
Public method SignData(array<Byte>[]()[][], Int32, Int32, HashAlgorithm) Computes the hash value of a subset of the specified byte array using the specified hash algorithm, and signs the resulting hash value.
Public method SignHash Computes the signature for the specified hash value by encrypting it with the private key.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method VerifyData(array<Byte>[]()[][], array<Byte>[]()[][]) Verifies that a digital signature is valid by determining the hash value in the signature and comparing it to the hash value of the provided data.
Public method VerifyData(array<Byte>[]()[][], HashAlgorithm, array<Byte>[]()[][]) 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 method 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
Show: