shishi_authenticator_read(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_read(3) ✨ β€” the shishi girlies' manual πŸ’…

okay bestie, sit down, hydrate, and let me tell you about shishi_authenticator_read 🫢 this one lives in the shishi manual, section 3, and it is literally the moment your DER-encoded authenticator comes home. no cap.


🌸 NAME 🌸

shishi_authenticator_read β€” it's an API function, babe. that's the whole job description. iconic.


πŸŽ€ SYNOPSIS πŸŽ€

#include <shishi.h>

int shishi_authenticator_read(Shishi * handle, FILE * fh, Shishi_asn1 *
       authenticator);

πŸ’– ARGUMENTS πŸ’–

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). it's giving main character energy, everything runs through her.
  • FILE * fh β€” a file handle that's open for reading. she's open, she's ready, she's not here to be written to. πŸ“–
  • Shishi_asn1 * authenticator β€” output variable that receives the newly allocated authenticator. yes bestie, newly allocated, that memory is yours to deal with. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Reads a DER encoded authenticator from the file and populates the authenticator variable you handed over. so like: file goes in, shiny authenticator comes out. the way that DER encoding just works 😭✨


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff it succeeded. that's it, that's the vibe check. anything else means something went sideways. πŸ’€


πŸ™ˆ REPORTING BUGS πŸ™ˆ

Found a bug? don't gatekeep, tell the devs:


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. slay, that's a genuinely generous license fr fr.


🌈 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. iykyk, go read the whole thing, it's lowkey a masterpiece. πŸ’œ


and that's the whole page bestie!! this one shipped as shishi 1.0.3 and it's part of the shishi_authenticator_read(3) manual page. periodt. go forth and read your authenticators. πŸŽ€βœ¨πŸ¦‹