Description

Calculates a digital signature of data using the ECC160 cryptographic algorithm associated with the Feature.

First, the function automatically calculates a hash of the data using the SHA-256 algorithm, and then the resulting hash sum is signed.

Syntax

public unsafe Status Sign(byte[] data, 
						  out byte[] signResult)

Parameters

data

Data buffer to be signed

signResultBuffer with a digital signature

Return values

GRD_OK

GRD_INVALID_HANDLE

GRD_INVALID_FEATURE


  • No labels