RSACryptoServiceProvider Methods

RSACryptoServiceProvider Methods

 

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodClear()

Releases all resources used by the AsymmetricAlgorithm class.(Inherited from AsymmetricAlgorithm.)

System_CAPS_pubmethodDecrypt(Byte[], Boolean)

Decrypts data with the RSA algorithm.

System_CAPS_pubmethodDecrypt(Byte[], RSAEncryptionPadding)

Decrypts data that was previously encrypted with the RSA algorithm by using the specified padding. (Overrides RSA.Decrypt(Byte[], RSAEncryptionPadding).)

System_CAPS_pubmethodDecryptValue(Byte[])

This method is not supported in the current version.(Overrides RSA.DecryptValue(Byte[]).)

System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the AsymmetricAlgorithm class.(Inherited from AsymmetricAlgorithm.)

System_CAPS_pubmethodEncrypt(Byte[], Boolean)

Encrypts data with the RSA algorithm.

System_CAPS_pubmethodEncrypt(Byte[], RSAEncryptionPadding)

Encrypts data with the RSA algorithm using the specified padding. (Overrides RSA.Encrypt(Byte[], RSAEncryptionPadding).)

System_CAPS_pubmethodEncryptValue(Byte[])

This method is not supported in the current version.(Overrides RSA.EncryptValue(Byte[]).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExportCspBlob(Boolean)

Exports a blob containing the key information associated with an RSACryptoServiceProvider object.

System_CAPS_pubmethodExportParameters(Boolean)
System_CAPS_pubmethodFromXmlString(String)

Initializes an RSA object from the key information from an XML string.(Inherited from RSA.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodImportCspBlob(Byte[])

Imports a blob that represents RSA key information.

System_CAPS_pubmethodImportParameters(RSAParameters)

Imports the specified RSAParameters.(Overrides RSA.ImportParameters(RSAParameters).)

System_CAPS_pubmethodSignData(Byte[], HashAlgorithmName, RSASignaturePadding)

Computes the hash value of the specified byte array using the specified hash algorithm and padding mode, and signs the resulting hash value. (Inherited from RSA.)

System_CAPS_pubmethodSignData(Byte[], Int32, Int32, HashAlgorithmName, RSASignaturePadding)

Computes the hash value of a portion of the specified byte array using the specified hash algorithm and padding mode, and signs the resulting hash value. (Inherited from RSA.)

System_CAPS_pubmethodSignData(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.

System_CAPS_pubmethodSignData(Byte[], Object)

Computes the hash value of the specified byte array using the specified hash algorithm, and signs the resulting hash value.

System_CAPS_pubmethodSignData(Stream, HashAlgorithmName, RSASignaturePadding)

Computes the hash value of the specified stream using the specified hash algorithm and padding mode, and signs the resulting hash value.(Inherited from RSA.)

System_CAPS_pubmethodSignData(Stream, Object)

Computes the hash value of the specified input stream using the specified hash algorithm, and signs the resulting hash value.

System_CAPS_pubmethodSignHash(Byte[], HashAlgorithmName, RSASignaturePadding)

Computes the signature for the specified hash value by encrypting it with the private key using the specified padding. (Overrides RSA.SignHash(Byte[], HashAlgorithmName, RSASignaturePadding).)

System_CAPS_pubmethodSignHash(Byte[], String)

Computes the signature for the specified hash value by encrypting it with the private key.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodToXmlString(Boolean)

Creates and returns an XML string containing the key of the current RSA object.(Inherited from RSA.)

System_CAPS_pubmethodVerifyData(Byte[], Byte[], HashAlgorithmName, RSASignaturePadding)

Verifies that a digital signature is valid by calculating the hash value of the specified data using the specified hash algorithm and padding, and comparing it to the provided signature. (Inherited from RSA.)

System_CAPS_pubmethodVerifyData(Byte[], Int32, Int32, Byte[], HashAlgorithmName, RSASignaturePadding)

Verifies that a digital signature is valid by calculating the hash value of the data in a portion of a byte array using the specified hash algorithm and padding, and comparing it to the provided signature. (Inherited from RSA.)

System_CAPS_pubmethodVerifyData(Byte[], Object, 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.

System_CAPS_pubmethodVerifyData(Stream, Byte[], HashAlgorithmName, RSASignaturePadding)

Verifies that a digital signature is valid by calculating the hash value of the specified stream using the specified hash algorithm and padding, and comparing it to the provided signature. (Inherited from RSA.)

System_CAPS_pubmethodVerifyHash(Byte[], Byte[], HashAlgorithmName, RSASignaturePadding)

Verifies that a digital signature is valid by determining the hash value in the signature using the specified hashing algorithm and padding, and comparing it to the provided hash value. (Overrides RSA.VerifyHash(Byte[], Byte[], HashAlgorithmName, RSASignaturePadding).)

System_CAPS_pubmethodVerifyHash(Byte[], String, 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 provided hash value.

Return to top
Show:
© 2016 Microsoft