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

function GrdFeatureCheck(
  handle: GrdHandle;
  publicKeySize: grd_uint32;
  const publicKey: Pointer): Integer; stdcall;

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