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 a gnutls_x509_crq_t type. 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_AVAILABLE if 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 Β© 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