BALTECH SDK wrapper functions reference

§ brp_Crypto_CopyConfigKey()

brp_errcode brp_Crypto_CopyConfigKey ( brp_Crypto_CopyConfigKey_t  params)

Copies the configuration card key 0x0202/0x85 (Device/Run/ConfigCardEncryptKey) to the Custom/Crypto/Key[x] area of the Baltech reader's configuration, where x is the index of the target key, specified in the KeyIndex parameter.

When a key does not exist, a Baltech standard key is used instead.

Parameters
[in]paramsStruct with the following fields:
  • protocol used to execute the command
  • KeyIndex (in) Index of custom key configuration value in which the configuration card key should be copied. This value must be != 0x00.
  • ForceDefaultKey (in) If true , the Baltech standard key will be copied even if a custom key is defined.