Allow impls of GateKeeper to keep ownership of key ptr

We require the lifecycle of the key ptr to be maintained
by the implementation as different constraints may
be placed on keeping keys in memory depending on the
implementation.

Change-Id: I20180029e738e6ee610db0bca53cc136375634e9
3 files changed