gnutls_x509_ext_export_proxy(3)
π gnutls_x509_ext_export_proxy(3) π
okay bestie, welcome to the gnutls manual page for gnutls_x509_ext_export_proxy. yes it's a mouthful, no you don't have to say it out loud. let's get into it π¦
β¨ NAME β¨
gnutls_x509_ext_export_proxy β literally just an API function, that's the whole vibe
πΈ SYNOPSIS πΈ
#include <gnutls/x509-ext.h>
int gnutls_x509_ext_export_proxy(int pathLenConstraint, const char *
policyLanguage, const char * policy, size_t sizeof_policy,
gnutls_datum_t * ext);
π ARGUMENTS π
int pathLenConstraintβ bestie listen. if you hand this a negative value, the path length constraint gets removed, periodt. if it's non-negative, that number becomes the length of thepathLenConstraintsfield. your call, your power πconst char * policyLanguageβ the OID that describes the language ofpolicy. it's giving "which language is this policy speaking" π£οΈconst char * policyβ auint8_tbyte array holding the policy language. and yes, it can beNULL. iconic, honestly.size_t sizeof_policyβ the size ofpolicy. the receipts, the measurements, the exact tea βgnutls_datum_t * extβ the DER-encoded extension data β¨. important: you gotta free this yourself withgnutls_free(). she does not clean up after herself, that's on you π«Ά
π DESCRIPTION π
so what does this function actually do? it takes all those parameters you just fed it and converts them into a proxyCertInfo extension. one glow-up, coming right up π«
and the ext data? that gets allocated using gnutls_malloc(). noted, remembered, tattooed on my brain π§
β RETURNS β
slay on success: you get GNUTLS_E_SUCCESS (0) π
if it's not giving: you get a negative error value. π
π¦ SINCE π¦
3.3.0 β she's been around, she's got history, she's a legend π
π REPORTING BUGS π
found a bug? don't be shy, tell the devs:
- 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.
(no cap, that's the actual legal text, I'm not paraphrasing the license π)
π 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/
fr fr, read the docs. iykyk πΈ
that's the whole page bestie, go forth and export those proxy extensions responsibly π§
gnutls 3.8.13 Β· gnutls_x509_ext_export_proxy(3) β mwah, catch you in the next manpage ππ
π¦ 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