gnutls_pkcs11_obj_set_info(3)
π gnutls_pkcs11_obj_set_info β the glow-up page π
okay bestie, so this one lives in the gnutls manual, and it's literally the function that lets you change stuff on a PKCS#11 object instead of just staring at it. giving makeover energy fr fr. β¨
πΈ NAME πΈ
gnutls_pkcs11_obj_set_info β API function
no cap, that's the whole name section, she's lowkey mysterious like that.
π SYNOPSIS π
#include <gnutls/pkcs11.h>
int gnutls_pkcs11_obj_set_info(gnutls_pkcs11_obj_t obj,
gnutls_pkcs11_obj_info_t itype, const void * data, size_t data_size,
unsigned flags);
like, copy it exactly, don't freestyle it π
π¦ ARGUMENTS π¦
gnutls_pkcs11_obj_t objβ should contain agnutls_pkcs11_obj_ttype. that's the object you're about to glam up πgnutls_pkcs11_obj_info_t itypeβ Denotes the type of information to be set. basically: which attribute are we touching today?const void * dataβ the data to set. the actual content, the moment, the main character β¨size_t data_sizeβ the size of data. yes bestie, you gotta tell it how big your data is, it's not psychic πunsigned flagsβ Or sequence ofGNUTLS_PKCS11_OBJ_*flags. stack 'em, or don't, your call π«Ά
π DESCRIPTION π
This function will set attributes on the provided object. Available options for itype are GNUTLS_PKCS11_OBJ_LABEL, GNUTLS_PKCS11_OBJ_ID_HEX, and GNUTLS_PKCS11_OBJ_ID.
that's it, that's the vibe check. three itypes, no more, no less. don't go inventing a fourth one, i'm begging π
β RETURNS β
GNUTLS_E_SUCCESS (0) on success or a negative error code on error.
so like β 0 means slay, negative means we're crying in the group chat π
π SINCE π
3.4.0
og status. been here since 3.4.0, iconic behavior honestly.
π REPORTING BUGS π
Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
fr fr, if something's broken, tell the maintainers, not me, i'm just the messenger π§
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
π₯ SEE ALSO π₯
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit
https://www.gnutls.org/manual/
and that's the whole page bestie, go set some attributes and be the main character of your own PKCS#11 token π β¨
this was gnutls version 3.8.13, page gnutls_pkcs11_obj_set_info(3) β mwah, drink water, read the docs, love u π«Άπ
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms