Method
GckSlotopen_session_full_async
Declaration [src]
void
gck_slot_open_session_full_async (
GckSlot* self,
GckSessionOptions options,
GTlsInteraction* interaction,
gulong pkcs11_flags,
gpointer app_data,
CK_NOTIFY notify,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Open a session on the slot. If the ‘auto reuse’ setting is set, then this may be a recycled session with the same flags.
This call will return immediately and complete asynchronously.
This method is not directly available to language bindings.
Parameters
options-
Type:
GckSessionOptionsOptions to open the new session with.
interaction-
Type:
GTlsInteractionThe
GTlsInteractionto use, orNULL.The argument can be NULL.The data is owned by the caller of the function. pkcs11_flags-
Type:
gulongAdditional raw PKCS#11 flags.
app_data-
Type:
gpointerApplication data for notification callback.
The argument can be NULL.The data is owned by the caller of the function. notify-
Type:
CK_NOTIFYPKCS#11 notification callback.
cancellable-
Type:
GCancellableOptional cancellation object, or
NULL.The argument can be NULL.The data is owned by the caller of the function. 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 function.