SignHash Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Generates a signature for the specified hash value.

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

Syntax

'Declaration
Public Function SignHash ( _
    hash As Byte(), _
    hashAlgorithm As MechanismType _
) As Byte()
public byte[] SignHash(
    byte[] hash,
    MechanismType hashAlgorithm
)
public:
array<unsigned char>^ SignHash(
    array<unsigned char>^ hash, 
    MechanismType hashAlgorithm
)
member SignHash : 
        hash:byte[] * 
        hashAlgorithm:MechanismType -> byte[] 
public function SignHash(
    hash : byte[], 
    hashAlgorithm : MechanismType
) : byte[]

Parameters

Return Value

Type: array<System. . :: . .Byte> [] () [] []
A digital signature for the specified hash value.

.NET Framework Security

See Also

Reference

ECDsaCryptoServiceProvider Class

System.Security.Cryptography Namespace