gnutls_x509_key_purpose_set(3)
gnutls_x509_key_purpose_set(3) π
okay bestie, welcome to the gnutls corner of the manual, where we talk about key purposes and honestly? it's giving certificate vibes β¨
β¨ NAME β¨
gnutls_x509_key_purpose_set β the API function that sets a key purpose, no cap π
πΈ SYNOPSIS πΈ
#include <gnutls/x509-ext.h>
int gnutls_x509_key_purpose_set(gnutls_x509_key_purposes_t p, const char
* oid);
π ARGUMENTS π
gnutls_x509_key_purposes_t pβ the key purposes, like the whole lil' collection we're working with π«Άconst char * oidβ the object identifier of the key purpose. yes, the OID. that string of numbers. iconic.
π¦ DESCRIPTION π¦
so basically, this function will store the specified key purpose in the purposes. that's the whole plot. it takes your key purpose and tucks it right into the purposes. periodt. π
β RETURNS β
on success you get GNUTLS_E_SUCCESS (0) β slay π β otherwise you get a negative error value, which is the code's way of saying "not me today bestie" π
π SINCE π
3.3.0 β she's been here a minute, lowkey a veteran π
π REPORTING BUGS π
found a bug? not the vibe. report it 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. fr fr, that's the whole deal πβ¨
πΈ 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/
ngl bestie, that's the whole page. go forth and set those key purposes π§
gnutls version 3.8.13 π β mwah, take care of her, she's an icon πβ¨
π¦ 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