RSACryptoServiceProvider: SignHash

SignHash

Signs a hash using RSA AT_SIGNATURE.



 Public Function SignHash(
	  ByRef RgbHash ( ) As Byte,
	  ByRef Str As String ) As Byte ( )

Parameters

RgbHash
[ByRef] Byte. The hash value to be signed.
Str
[ByRef] String. The type of hash value being signed.

Return Values

Byte() -  The signature for the hash data.

Remarks

Only MD5, SHA1, SHA256, SHA384, and SHA512 hashes are supported.

The Str parameter can be "MD5", "SHA", "SHA1", "SHA256", "SHA384", "SHA512" or the OID.

See Also

Project CorLib Overview

Class RSACryptoServiceProvider Overview

CryptoConfig