shishi_authenticator_parse(3)
β¨ shishi_authenticator_parse(3) β¨
okay bestie, welcome to the shishi girlies π this one is a little C function from the shishi manual, section 3, and it's literally just "read an authenticator off a file, babe". no drama. let's go π
πΈ NAME πΈ
shishi_authenticator_parse β it's an API function π that's the whole job description, and she's serving it.
π¦ SYNOPSIS π¦
#include <shishi.h>
int shishi_authenticator_parse(Shishi * handle, FILE * fh, Shishi_asn1 *
authenticator);
that's the whole entrance, no cap β¨
π ARGUMENTS π
Shishi * handleβ your shishi handle, the one you got fromshishi_init(). she's the main character here, allocated and everything πFILE * fhβ a file handle, and it has to be open for reading fr fr. don't come at her with a write handle πShishi_asn1 * authenticatorβ an output variable, and she gets a newly allocated authenticator dropped into her π«Ά that's the whole point
π DESCRIPTION π
So basically: this function reads an ASCII armored DER encoded authenticator from a file and populates the authenticator variable you handed her. read β populate β done. it's giving "glow up via file I/O" β¨
like, you give her the handle, the file, and an authenticator to fill, and she fills it. obsessed π
β RETURN VALUE β
Returns SHISHI_OK iff successful π β and yes, "iff" is doing its little math-girl thing, she means if and only if, periodt.
π REPORTING BUGS π
Found a bug? don't suffer in silence bestie, tell the people:
- 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 π
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. π (iconic of them honestly)
π§ 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. go read her, she's long but she ate πβ¨
lowkey a reminder:shishi_authenticator_parse(3)is the page,shishiis the manual, and the file you're feeding her has to be ASCII armored DER encoded. don't skip the armor, babe π‘οΈπ
shishi version 1.0.3 β mwah, that's a wrap, ty for coming to my ted talk, ily, bye π«Άπππ¦πΈ
π¦ where this page comes from
- debian bookworm: shishi-doc 1.0.3-1 Β· GPL-3.0-or-later
- debian trixie: shishi-doc 1.0.3-5 Β· GPL-3.0-or-later
- nixos 26.05: shishi 1.0.3
- nixpkgs unstable: shishi 1.0.3
- ubuntu noble: shishi-doc 1.0.3-2.1build2 Β· GPL-3.0-or-later
- ubuntu questing: shishi-doc 1.0.3-5
- ubuntu resolute: shishi-doc 1.0.3-5build1 Β· GPL-3.0-or-later
- ubuntu stonking: shishi-doc 1.0.3-7 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms