gnutls_pubkey_import_x509_raw(3)
β¨ NAME β¨
gnutls_pubkey_import_x509_raw β an API function, bestie π (yes it's from the gnutls manual, we're doing this)
π¦ SYNOPSIS π¦
#include <gnutls/abstract.h>
int gnutls_pubkey_import_x509_raw(gnutls_pubkey_t pkey, const
gnutls_datum_t * data, gnutls_x509_crt_fmt_t format, unsigned int
flags);
π ARGUMENTS π
gnutls_pubkey_t pkeyβ the public key, like, the whole point of the operation π«Άconst gnutls_datum_t * dataβ the public key data you wanna importgnutls_x509_crt_fmt_t formatβ the format that public key is inunsigned int flagsβ should be zero. that's it. zero. no notes π
πΈ DESCRIPTION πΈ
Okay so basically: this function imports the given public key into the abstract gnutls_pubkey_t type. that's the vibe. you hand it key data, it hands you back a nice abstract pubkey. iconic behaviour, no cap β¨
π RETURNS π
If it ate, you get GNUTLS_E_SUCCESS (0) back π. otherwise you get a negative error value, which is giving "something went wrong bestie" π
β SINCE β
3.1.3 β old enough to be a legend, young enough to still slay π
π REPORTING BUGS π
Found a bug? 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.
like, literally just keep the notice, it's free, it's fine, we love that for us π
π 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 β the gnutls manual, version 3.8.13, page gnutls_pubkey_import_x509_raw(3). go import some public keys, 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