GNUTLS_X509_CRT_SET_PRIVATE_KEY_USAGE_PERIOD(3)
β¨ NAME β¨
gnutls_x509_crt_set_private_key_usage_period β bestie, this is an API function π
and it lives in the gnutls manual (section 3, the library-functions girlies π).
π¦ SYNOPSIS π¦
okay so here's the whole vibe, verbatim:
#include <gnutls/x509.h>
int gnutls_x509_crt_set_private_key_usage_period(gnutls_x509_crt_t crt,
time_t activation, time_t expiration);
πΈ ARGUMENTS πΈ
gnutls_x509_crt_t crtβ a certificate of typegnutls_x509_crt_t. that's the one we're decorating, bestie β¨time_t activationβ the activation time β°time_t expirationβ the expiration time β
π DESCRIPTION π
so this function will set the private key usage period extension, and the OID is literally 2.5.29.16. that's it, that's the whole job. iconic π«Ά
π₯ RETURNS π₯
if it ate, you get GNUTLS_E_SUCCESS (0) back. if it did not eat, you get a negative error value π no in-between, no cap.
π REPORTING BUGS π
found a bug? not me gatekeeping β report bugs to <bugs@gnutls.org>. π
home page is right here: 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. slay, that's the license, respect it periodt π
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual π and fr fr, if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:
https://www.gnutls.org/manual/
anyway bestie, that's the page π this was the gnutls manual, version 3.8.13 β go forth and set those private key usage periods, main character energy only π
π¦ 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