Obtaining the Security Key

This routine requests the SiTef server for the Security Key, which must be used in the LeSenha or LeSenhaDireto to password collection.

int ObtemChaveSeguranca (Track2, OpeningKey, SecurityKey)

ASCII interface

ObtemChaveSegurancaA (Result, Track2, OpeningKey, SecurityKey)

The routine returns a non-zero value on error, or zero (0) on success.

If successful, the ChaveSeguranca parameter will contain the value to be used in the other routines.