Method
GckSessionwrap_key_async
Declaration [src]
void
gck_session_wrap_key_async (
GckSession* self,
GckObject* wrapper,
GckMechanism* mechanism,
GckObject* wrapped,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Wrap a key into a byte stream. This call will return immediately and complete asynchronously.
This method completes asynchronously. Use gck_session_wrap_key_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
wrapper-
Type:
GckObjectThe key to use for wrapping.
The data is owned by the caller of the method. mechanism-
Type:
GckMechanismThe mechanism to use for wrapping.
The data is owned by the caller of the method. wrapped-
Type:
GckObjectThe key to wrap.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableOptional cancellation object or
NULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackCalled when the operation completes.
The argument can be NULL. user_data-
Type:
gpointerData to pass to the callback.
The argument can be NULL.The data is owned by the caller of the method.