SecItemImport

Function SecItemImport 

Source
pub unsafe extern "C-unwind" fn SecItemImport(
    imported_data: &CFData,
    file_name_or_extension: Option<&CFString>,
    input_format: *mut SecExternalFormat,
    item_type: *mut SecExternalItemType,
    flags: SecItemImportExportFlags,
    key_params: *const SecItemImportExportKeyParameters,
    import_keychain: Option<&SecKeychain>,
    out_items: *mut *const CFArray,
) -> i32
Available on crate features SecBase and SecImportExport only.
Expand description

ยงSafety

  • input_format must be a valid pointer or null.
  • item_type must be a valid pointer or null.
  • key_params must be a valid pointer or null.
  • out_items must be a valid pointer or null.