RSAManaged.SignHash Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9083)
SignHash(Byte[], String)
Computes the signature for the specified hash value by signing it with the private key.
Declaration
public byte[] SignHash(byte[] rgbHash, string algorithm)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | rgbHash | The hash of data to be signed. |
String | algorithm | A hash algorithm used to create the hash value. |
Returns
Type | Description |
---|---|
Byte[] | The RSA signature for the specified hash value. |