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

Compare with Current View Page History

« Previous Version 4 Next »

General-purpose Guardant API functions

General-purpose functions allow implementing service operations related to initialization, setup and deinitialization of Guardant API as well as performing the main operations with dongles:

    •  Search for a dongle meeting specified search criteria
    • Initialize the dongle memory
    • Read data from dongle memory
    • Write data into dongle memory
    • Set read/write locks on dongle memory
    • Encrypt information using dongle hardware algorithms

List of general-purpose Guardant API functions:

Name of functionAccess codeShort description
GrdStartupNoneInitialize Guardant API
GrdStartupExNoneInitialize a Guardant API copy with indicating path to GnClient.ini
GrdCleanupNoneDeinitializes Guardant API
GrdDllMainNoneInitializes network functions to be used in DLL
GrdGetLastErrorNoneRetrieves information on the last error from the secured container
GrdFormatMessageNoneConverts the error code into a text message
GrdGetInfoNoneRetrieves information from the secured container
GrdIsValidHandleNoneChecks validity of the secured container handle
GrdCreateHandleNoneCreates the secured container handle
GrdCloseHandleNoneCloses the secured container handle
GrdSetAccessCodesPublic and Read required, others - on demandPlaces access codes into the secured container
GrdSetWorkModeNoneSets the Guardant API operating mode
GrdSetFindModeNoneSets the dongle search mode
GrdFindPrivate ReadFinds a dongle meeting the search criteria
GrdLoginPrivate ReadLogs in to the dongle
GrdLogoutPrivate ReadLogs out of the dongle
GrdLockPrivate ReadLocks the dongle for the period of performing dongle op-erations requiring monopoly running mode
GrdUnlockPrivate ReadUnlocks the dongle
GrdCheckPrivate ReadChecks for dongle availability
GrdDecGPPrivate Read+ Private WriteDecrements the GP counter
GrdReadPrivate ReadReads data from the dongle memory
GrdWritePrivate WriteWrites data into the dongle memory
GrdSignPrivate ReadCalculate the digital signature of data array
GrdVerifySignNoneCheck the digital signature of data array
GrdSeekNoneMoves the index to the current memory address of the dongle
GrdInitPrivate masterInitializes the dongle memory
GrdProtectPrivate masterSets the read/write hardware locks and records the number of hardware algorithms and protected items
GrdTransformPrivate ReadConverts data using a hardware or software implemented algorithm
GrdTransformExPrivate ReadExtended variant of GrdTransform
GrdCryptPrivate ReadEncrypts/decrypts data using a hardware or software algorithm
GrdCryptExPrivate ReadExtended variant of GrdCrypt
GrdHashPrivate ReadCalculates the hash-function value using a hardware or software algorithm
GrdHashExPrivate ReadExtended variant of GrdHash
GrdCodeInitPrivate ReadInitializes the fast reversible conversion password
GrdEnCodeNoneEncrypts data using fast reversible conversion
GrdDeCodeNoneDecrypts data using fast reversible conversion
GrdCRCNoneCalculates the CRC

 

 

  • No labels