Blame doc/functions/gnutls_pkcs11_obj_get_ptr
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_pkcs11_obj_get_ptr} (gnutls_pkcs11_obj_t @var{obj}, void ** @var{ptr}, void ** @var{session}, void ** @var{ohandle}, unsigned long * @var{slot_id}, unsigned int @var{flags})
|
|
Packit Service |
4684c1 |
@var{obj}: should contain a @code{gnutls_pkcs11_obj_t} type
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{ptr}: will contain the CK_FUNCTION_LIST_PTR pointer (may be @code{NULL} )
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{session}: will contain the CK_SESSION_HANDLE of the object
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{ohandle}: will contain the CK_OBJECT_HANDLE of the object
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{slot_id}: the identifier of the slot (may be @code{NULL} )
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: Or sequence of GNUTLS_PKCS11_OBJ_* flags
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Obtains the PKCS@code{11} session handles of an object. @code{session} and @code{ohandle} must be deinitialized by the caller. The returned pointers are
|
|
Packit Service |
4684c1 |
independent of the @code{obj} lifetime.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} @code{GNUTLS_E_SUCCESS} (0) on success or a negative error code
|
|
Packit Service |
4684c1 |
on error.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.6.3
|
|
Packit Service |
4684c1 |
@end deftypefun
|