You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Description

The function uses a digital signature to verify the originality of the Feature. If the signature check is successful, then the feature is original and available for work.

The function can also work without a publicKey, in this case only the feature availability is checked.

Syntax

int GRD_API GrdFeatureCheck(GrdHandle handle, 
							grd_uint32 publicKeySize, 
							const void* publicKey);

Parameters

handle
Session handle
publicKeySize [optional]
The size (in bytes) of the public key. Valid value: 40 bytes 
publicKey [optional]
Pointer to a buffer with a public key. Each feature has its own public key. It is specified in the Guardant Station interface, "Features" section on the page of a specific feature

Return values

GRD_OK

GRD_INVALID_FEATURE

  • No labels