Lines Matching refs:newObject
332 IFAPI_OBJECT *newObject = &command->new_object; in Fapi_Import_Finish() local
405 memset(newObject, 0, sizeof(IFAPI_OBJECT)); in Fapi_Import_Finish()
406 newObject->objectType = IFAPI_KEY_OBJ; in Fapi_Import_Finish()
407 newObject->misc.key.public = keyTree->public; in Fapi_Import_Finish()
408 newObject->policy = keyTree->policy; in Fapi_Import_Finish()
409 newObject->misc.key.private.size = command->private->size; in Fapi_Import_Finish()
410 newObject->misc.key.private.buffer = &command->private->buffer[0]; in Fapi_Import_Finish()
411 newObject->misc.key.policyInstance = NULL; in Fapi_Import_Finish()
412 newObject->misc.key.description = NULL; in Fapi_Import_Finish()
413 newObject->misc.key.certificate = NULL; in Fapi_Import_Finish()
416 &newObject->misc.key.signing_scheme); in Fapi_Import_Finish()
422 r = ifapi_esys_serialize_object(context->esys, newObject); in Fapi_Import_Finish()
428 newObject); in Fapi_Import_Finish()
462 if (newObject->objectType == IFAPI_KEY_OBJ) { in Fapi_Import_Finish()
463 if (newObject->policy) in Fapi_Import_Finish()
464 ifapi_cleanup_policy(newObject->policy); in Fapi_Import_Finish()
465 SAFE_FREE(newObject->policy); in Fapi_Import_Finish()
478 if (newObject) in Fapi_Import_Finish()
479 ifapi_cleanup_ifapi_object(newObject); in Fapi_Import_Finish()