Method

GckSessionwrap_key_finish

Declaration [src]

guchar*
gck_session_wrap_key_finish (
  GckSession* self,
  GAsyncResult* result,
  gsize* n_result,
  GError** error
)

Description [src]

Get the result of a wrap key operation.

Parameters

result GAsyncResult
 

The async result passed to the callback.

 The data is owned by the caller of the function.
n_result gsize*
 

A location in which to return the length of the wrapped data.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: An array of guchar
 

The wrapped data or NULL if the operation failed.

 The length of the array is in the n_result argument.
 The caller of the method takes ownership of the data, and is responsible for freeing it.