DSACryptoServiceProvider.SignHash(Byte[], String) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
计算指定的哈希值的签名,方法是将其与私钥一起加密。
public:
 cli::array <System::Byte> ^ SignHash(cli::array <System::Byte> ^ rgbHash, System::String ^ str);public byte[] SignHash(byte[] rgbHash, string? str);public byte[] SignHash(byte[] rgbHash, string str);member this.SignHash : byte[] * string -> byte[]Public Function SignHash (rgbHash As Byte(), str As String) As Byte()参数
- rgbHash
- Byte[]
待签名数据的哈希值。
- str
- String
用于创建数据哈希值的哈希算法的名称。
返回
		Byte[]
		
	
	指定哈希值的 DSA 签名。
例外
              rgbHash 参数为 null。
注解
此方法创建使用 VerifyHash 方法验证的数字签名。