1gnutls_pkcs11_obj_set_info(3)       gnutls       gnutls_pkcs11_obj_set_info(3)
2
3
4

NAME

6       gnutls_pkcs11_obj_set_info - API function
7

SYNOPSIS

9       #include <gnutls/pkcs11.h>
10
11       int         gnutls_pkcs11_obj_set_info(gnutls_pkcs11_obj_t         obj,
12       gnutls_pkcs11_obj_info_t itype, const void *  data,  size_t  data_size,
13       unsigned flags);
14

ARGUMENTS

16       gnutls_pkcs11_obj_t obj
17                   should contain a gnutls_pkcs11_obj_t type
18
19       gnutls_pkcs11_obj_info_t itype
20                   Denotes the type of information to be set
21
22       const void * data
23                   the data to set
24
25       size_t data_size
26                   the size of data
27
28       unsigned flags
29                   Or sequence of GNUTLS_PKCS11_OBJ_* flags
30

DESCRIPTION

32       This  function  will  set attributes on the provided object.  Available
33       options       for        itype       are       GNUTLS_PKCS11_OBJ_LABEL,
34       GNUTLS_PKCS11_OBJ_ID_HEX, and GNUTLS_PKCS11_OBJ_ID.
35

RETURNS

37       GNUTLS_E_SUCCESS (0) on success or a negative error code on error.
38

SINCE

40       3.4.0
41

REPORTING BUGS

43       Report bugs to <bugs@gnutls.org>.
44       Home page: https://www.gnutls.org
45
46
48       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
49       Copying  and  distribution  of this file, with or without modification,
50       are permitted in any medium  without  royalty  provided  the  copyright
51       notice and this notice are preserved.
52

SEE ALSO

54       The  full  documentation  for gnutls is maintained as a Texinfo manual.
55       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
56       visit
57
58       https://www.gnutls.org/manual/
59
60gnutls                              3.6.11       gnutls_pkcs11_obj_set_info(3)
Impressum