gnutls_pkcs12_bag_get_type(3)
π gnutls_pkcs12_bag_get_type(3) π
okay bestie, welcome to the gnutls manual, and specifically the glow-up that is gnutls_pkcs12_bag_get_type. this one is short and sweet and honestly a lil icon. let's get into it β¨
πΈ NAME πΈ
gnutls_pkcs12_bag_get_type β it's an API function, no cap. that's literally what it is.
π SYNOPSIS π
#include <gnutls/pkcs12.h>
int gnutls_pkcs12_bag_get_type(gnutls_pkcs12_bag_t bag, unsigned indx);
she's a one-liner. we love a low-maintenance queen π«Ά
π¦ ARGUMENTS π¦
gnutls_pkcs12_bag_t bagβ the bag itself, the whole vibe container. this is the thing you're peeking inside.unsigned indxβ which element of the bag you want the type of. yes, index, like picking which item in the list is the main character today π
β DESCRIPTION β
so this function will return the bag's type. that's it. that's the whole job. she shows up, tells you what kind of bag you're dealing with, and goes home. iconic behavior fr fr π
π RETURNS π
on error you get a negative error value β not cute, but informative. otherwise you get one of the gnutls_pkcs12_bag_type_t enumerations. so like, either the tea or a lil frown. both valid πΈ
π REPORTING BUGS π
found a bug? bestie, tell the devs, they wanna know:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
no gatekeeping the bugs, we report them together π€
π 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.
(translation: share it, remix it, just keep the receipts π)
π§ 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/
like, if the local docs ghost you, the website would never π
and that's the whole page, bestie!! this lil drop of wisdom came to you from gnutls, version 3.8.13 β go forth, check your bag types, and slay π β¨ππ¦π
π¦ 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