shishi_x509cert_default_file_set(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– shishi_x509cert_default_file_set(3) πŸ’–

okay bestie, so this one lives in the shishi manual section, and it's genuinely one of the cutest little setters in the whole library. no cap.


✨ NAME ✨

shishi_x509cert_default_file_set β€” API function πŸŽ€


✨ SYNOPSIS ✨

#include <shishi.h>

void shishi_x509cert_default_file_set(Shishi * handle, const char *
x509certfile);

✨ ARGUMENTS ✨

  • Shishi * handle β€” the Shishi library handle, the one you made with shishi_init(). your main character, literally.
  • const char * x509certfile β€” a string holding the new default x509 client certificate file name. or, if you wanna go back to the way things were, pass NULL to reset it to default. that's it, that's the vibe. πŸ¦‹

✨ DESCRIPTION ✨

so what does it do? it sets the default X.509 client certificate filename used in the library. that's the whole job, and it does it flawlessly. πŸ’…

and why do you care? because the certificate is used during TLS connections with the KDC to authenticate the client. so it's giving "who am i, prove it" energy. πŸ”₯

the best part, the part that's genuinely iconic: the string is copied into the library, so you can dispose of the variable immediately after calling this function. no dangling pointer drama, no "wait should i free that", nothing. go ahead and let it go the second the call returns, bestie. 🫢


✨ REPORTING BUGS ✨

found something cursed? report bugs to <bug-shishi@gnu.org>. 😭


Copyright Β© 2002-2022 Simon Josefsson.

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.


✨ SEE ALSO ✨

the full documentation for shishi is maintained as a Texinfo manual. if the info and shishi programs are properly installed at your site, the command

info shishi

should give you access to the complete manual. 🧚


ngl, that's the whole page. every flag, every arg, every default. nothing skipped, nothing invented. periodt. πŸ’…

and that's a wrap, bestie β€” this was shishi version 1.0.3, page shishi_x509cert_default_file_set(3). mwah, go set some certs. πŸŒΈβœ¨πŸ‘‘