generateHardwareBackedKeyPair

Generates and returns key pair and if the pair is inside secure hardware or returns null and removes the entry if the key pair isn't hardware backed or any error is occurred.