Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ECDsa::SignHash Method (array<Byte>^)

 

Generates a digital signature for the specified hash value.

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

public:
virtual array<unsigned char>^ SignHash(
	array<unsigned char>^ hash
) abstract

Parameters

hash
Type: array<System::Byte>^

The hash value of the data that is being signed.

Return Value

Type: array<System::Byte>^

A digital signature that consists of the given hash value encrypted with the private key.

Exception Condition
ArgumentNullException

The hash parameter is null.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft