![]()  | 
     BALTECH Docs | 
    C API for BALTECH SDK
   
    
   
   | 
   
| 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.
| [in] | protocol | used to execute the command | 
| [in] | KeyIndex | Index of custom key configuration value in which the configuration card key should be copied. This value must be != 0x00. | 
| [in] | ForceDefaultKey | If true , the Baltech standard key will be copied even if a custom key is defined. |