GNUTLS_X509_CRQ_GET_PRIVATE_KEY_USAGE_PERIOD(3)
β¨ NAME β¨
okay so bestie, this page is from the gnutls manual β section 3, the library-functions girlies β and it's all about gnutls_x509_crq_get_private_key_usage_period, which is an API function. π
πΈ SYNOPSIS πΈ
like, here's the whole vibe in code form:
#include <gnutls/x509.h>
int gnutls_x509_crq_get_private_key_usage_period(gnutls_x509_crq_t crq,
time_t * activation, time_t * expiration, unsigned int * critical);
π ARGUMENTS π
gnutls_x509_crq_t crqβ should contain agnutls_x509_crq_ttype. yeah bestie it's a crq and it needs to actually be one, no cap.time_t * activationβ The activation time. β°time_t * expirationβ The expiration time. βunsigned int * criticalβ the extension status. lowkey important info, it goes here.
π DESCRIPTION π
so the way this works is: this function will return the expiration and activation times of the private key of the certificate. that's it, that's the whole serve. β¨
π RETURNS π
- On success,
GNUTLS_E_SUCCESS(0) is returned π«Ά GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLEif the extension is not present π (it's giving "nothing to see here")- otherwise a negative error value π
π REPORTING BUGS π
found something cursed? not me gatekeeping β 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. iconic behaviour fr fr, very generous of them.
π¦ 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/
bestie if you got this far, you're literally the main character of reading manpages π
and that's a wrap! this was the gnutls_x509_crq_get_private_key_usage_period(3) page from the gnutls manual, version 3.8.13. periodt. πβ¨
π¦ 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