File: gnutls_pkcs11_obj_get_ptr

package info (click to toggle)
gnutls28 3.8.9-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 83,872 kB
  • sloc: ansic: 388,071; asm: 117,804; sh: 18,477; makefile: 6,732; yacc: 1,858; python: 1,399; cpp: 1,243; perl: 995; sed: 16
file content (25 lines) | stat: -rw-r--r-- 925 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25




@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})
@var{obj}: should contain a @code{gnutls_pkcs11_obj_t}  type

@var{ptr}: will contain the CK_FUNCTION_LIST_PTR pointer (may be @code{NULL} )

@var{session}: will contain the CK_SESSION_HANDLE of the object

@var{ohandle}: will contain the CK_OBJECT_HANDLE of the object

@var{slot_id}: the identifier of the slot (may be @code{NULL} )

@var{flags}: Or sequence of GNUTLS_PKCS11_OBJ_* flags

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
independent of the  @code{obj} lifetime.

@strong{Returns:} @code{GNUTLS_E_SUCCESS}  (0) on success or a negative error code
on error.

@strong{Since:} 3.6.3
@end deftypefun