Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ECDsa.SignHash Method

Generates a digital signature for the specified hash value.

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

public abstract byte[] SignHash(
	byte[] hash


Type: System.Byte[]

The hash value of the data that is being signed.

Return Value

Type: System.Byte[]
A digital signature that consists of the given hash value encrypted with the private key.


The hash parameter is null.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft