gnutls_pkcs12_set_bag(3)
β¨ gnutls_pkcs12_set_bag(3) β¨
okay bestie, welcome to the gnutls manual β this page is literally about gnutls_pkcs12_set_bag, an API function, and it's giving "small function, big responsibility" π
πΈ SYNOPSIS πΈ
#include <gnutls/pkcs12.h>
int gnutls_pkcs12_set_bag(gnutls_pkcs12_t pkcs12, gnutls_pkcs12_bag_t bag);
π ARGUMENTS π
gnutls_pkcs12_t pkcs12β should contain agnutls_pkcs12_ttype. yes queen, that's the container we're stuffing things into π«Άgnutls_pkcs12_bag_t bagβ an initialized bag. it has to be initialized bestie, no half-baked bags allowed π
π DESCRIPTION π
so the way that this works: this function will insert a Bag into the PKCS12 structure. that's it. that's the whole job. put the bag in the pkcs12. iconic behaviour honestly β¨
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned β slay π
otherwise you get a negative error value, which is the universe's way of saying "not today" π
π¦ REPORTING BUGS π¦
found a bug? don't suffer in silence, tell the girlies:
- report bugs to <bugs@gnutls.org>
- home page: https://www.gnutls.org
π 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: go off, share 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/
and that's the whole page, bestie π
this was gnutls version 3.8.13 β no cap, fr fr. go forth and set your bags, you absolute main character π§ππΈ
π¦ 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