shishi_authenticator_from_file(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_authenticator_from_file(3) πŸ’–

okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_authenticator_from_file β€” an API function that literally just reads an Authenticator off your disk. no cap. it's giving "load file, get object." let's get into it 🫢


✨ NAME ✨

shishi_authenticator_from_file β€” API function πŸ’…


✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_authenticator_from_file(Shishi * handle, Shishi_asn1 *
authenticator, int filetype, const char * filename);

✨ ARGUMENTS ✨

  • Shishi * handle β€” the shishi handle, and you get it from shishi_init(). that's the vibe, that's the source, that's where it came from 🌸
  • Shishi_asn1 * authenticator β€” output variable, and it holds the newly allocated Authenticator. yes queen, freshly allocated, brand new πŸŽ€
  • int filetype β€” input variable that says what type of file we're reading. wanna know the options? go look at Shishi_filetype, iykyk πŸ‘‘
  • const char * filename β€” input variable with the filename to read from. that's the file. the one you're reading. periodt πŸ“

✨ DESCRIPTION ✨

Read Authenticator from file in specified TYPE. that's it, that's the whole thing β€” you hand it a file, it hands you back an Authenticator. lowkey iconic 😭


✨ RETURN VALUE ✨

Returns SHISHI_OK iff successful. and bestie, "iff" is doing a lot of heavy lifting there β€” anything that isn't SHISHI_OK means it did not slay πŸ’€


✨ REPORTING BUGS ✨

found a bug? not me gatekeeping the email β€” report bugs to <bug-shishi@gnu.org>. πŸ›

GNU Shishi home page: http://www.gnu.org/software/shishi/

General help using GNU software: http://www.gnu.org/gethelp/


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. so like, go off, copy it, remix it, just keep the receipts bestie 🫢


✨ 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. run it, it's literally right there πŸ¦‹


shishi 1.0.3 β€” that's the source and the version, mwah πŸ’‹ thanks for reading my little shishi_authenticator_from_file(3) era, stay hydrated, read your man pages, and go allocate something beautiful 🌈✨