return null;
}
try {
return new Key(context, data);
} catch (InvalidKeyDataException ex) {
throw new StoreIOException(
StoreIOException.Reason.DESERIALIZATION_ERROR, ex);
} catch (UnregisteredKeyVersionException ex) {
throw new StoreIOException(
StoreIOException.Reason.UNREGISTERED_KEY_VERSION, ex);
}
}