| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {int} {gnutls_pkcs11_obj_set_info} (gnutls_pkcs11_obj_t @var{obj}, gnutls_pkcs11_obj_info_t @var{itype}, const void * @var{data}, size_t @var{data_size}, unsigned @var{flags}) |
| 6 |
@var{obj}: should contain a @code{gnutls_pkcs11_obj_t} type |
| 7 |
|
| 8 |
@var{itype}: Denotes the type of information to be set |
| 9 |
|
| 10 |
@var{data}: the data to set |
| 11 |
|
| 12 |
@var{data_size}: the size of data |
| 13 |
|
| 14 |
@var{flags}: Or sequence of GNUTLS_PKCS11_OBJ_* flags |
| 15 |
|
| 16 |
This function will set attributes on the provided object. |
| 17 |
Available options for @code{itype} are @code{GNUTLS_PKCS11_OBJ_LABEL} , |
| 18 |
@code{GNUTLS_PKCS11_OBJ_ID_HEX} , and @code{GNUTLS_PKCS11_OBJ_ID} . |
| 19 |
|
| 20 |
@strong{Returns:} @code{GNUTLS_E_SUCCESS} (0) on success or a negative error code on error. |
| 21 |
|
| 22 |
@strong{Since:} 3.4.0 |
| 23 |
@end deftypefun |