C API for BALTECH SDK

§ brp_Crypto_CopyConfigKey()

brp_errcode brp_Crypto_CopyConfigKey ( brp_protocol  protocol,
unsigned  KeyIndex,
bool  ForceDefaultKey 
)

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]protocolused to execute the command
[in]KeyIndexIndex of custom key configuration value in which the configuration card key should be copied. This value must be != 0x00.
[in]ForceDefaultKeyIf true , the Baltech standard key will be copied even if a custom key is defined.