Gck.objects_from_handle_array
Description: Reference for Gck.objects_from_handle_array

### Function

# Gckobjects_from_handle_array

#### Declaration [src]

    GList*
    gck_objects_from_handle_array (
      GckSession* session,
      gulong* object_handles,
      gulong n_object_handles
    )

#### Description [src]

Initialize a list of GckObject from raw PKCS#11 handles. The handles argument must contain contiguous CK_OBJECT_HANDLE handles in an array.

#### Parameters

`session`

  Type: `GckSession`

  The session for these objects.

  The data is owned by the caller of the function.

`object_handles`

  Type: An array of `gulong`

  The raw object handles.

  The length of the array is specified in the `n_object_handles` argument.
  The data is owned by the caller of the function.

`n_object_handles`

  Type: `gulong`

  The number of raw object handles.

#### Return value

Type: A list of `GckObject*`

The list of `GckObject` objects. You should use `gck_list_unref_free()` when done with this list.

The caller of the function takes ownership of the data, and is responsible for freeing it.