Gck.Object.prototype.get_data_finish

function get_data_finish(result: Gio.AsyncResult): [return_value: ByteArray, n_data: Number(gsize)] {
    // Gjs wrapper for gck_object_get_data_finish()
}
  

Get the result of an operation to get attribute data from an object. For convenience the returned data has an extra null terminator, not included in the returned length.

result

The result passed to the callback.

return_value

The PKCS\#11 attribute data or null if an error occurred.

n_data

The length of the resulting data.