Set the key index for the sender or receiver. If the key index is not set, the key index will be set to 0.
Future<bool> setKeyIndex(int index);