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
)

Parameters

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.

ExceptionCondition
ArgumentNullException

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
Show:
© 2015 Microsoft