gnutls_x509_crq_set_pubkey(3)
π gnutls_x509_crq_set_pubkey(3) π
okay bestie, welcome to the gnutls manual, this one's a little function from <gnutls/abstract.h> and it's literally the glow-up your certificate request needs β¨
β¨ NAME β¨
gnutls_x509_crq_set_pubkey β API function π
πΈ SYNOPSIS πΈ
#include <gnutls/abstract.h>
int gnutls_x509_crq_set_pubkey(gnutls_x509_crq_t crq, gnutls_pubkey_t
key);
π¦ ARGUMENTS π¦
gnutls_x509_crq_t crqβ should contain agnutls_x509_crq_ttype. yes that's the vibe, it's the request you're handing the keys to π«Άgnutls_pubkey_t keyβ holds a public key. the whole point, the main character, the one carrying the public params π
π DESCRIPTION π
So the way this works: this function will set the public parameters from the given public key to the request. That's it, that's the job. π
and the best part?? once you've done it, the key can be deallocated after that. so you're not stuck holding onto it forever β set it, and let it go, periodt. no cap, that's a whole weight off your shoulders πβ¨
π RETURNS π
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. so like, zero is the slay outcome, negative is the "girl what happened" outcome π
β SINCE β
2.12.0 β this one's been iconic since way back π
π REPORTING BUGS π
Report bugs to <bugs@gnutls.org>. Home page: https://www.gnutls.org
if something's broken fr fr, tell the gnutls girlies directly, they want to know π«Ά
π 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. literally free to share, 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, go read the whole thing, it's giving encyclopedia but make it cute πβ¨
bestie reminder: every option, arg and caveat above is straight from the source, i just put a bow on it π
and that's the page!! this was gnutls version 3.8.13, part of the gnutls_x509_crq_set_pubkey(3) manual β mwah, love u, go set some public keys ππ¦
π¦ 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