Amsterdam-based Gemalto N.V. was following Belcamp cyber security firm SafeNet Inc. for years before striking a deal to buy it.