shishi_aprep_save(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_aprep_save(3) β€” the shishi manual, bestie edition πŸŽ€

okay so welcome to the shishi manual page for shishi_aprep_save(3), section 3, which is where the library calls live. this one is literally just "save your AP-REP to a file" and honestly? she's a queen for being so simple. no cap.


✨ NAME ✨

shishi_aprep_save β€” API function πŸ’…

✨ SYNOPSIS ✨

#include <shishi.h>

int shishi_aprep_save(Shishi * handle, FILE * fh, Shishi_asn1 aprep);

like. three arguments. in, in, in. we love a low-drama signature 🫢

✨ ARGUMENTS ✨

  • Shishi * handle β€” the shishi handle, and no you can't just make one up, it's allocated by shishi_init(). that's her origin story, respect it.
  • FILE * fh β€” a file handle that's open for writing. yes, writing specifically. reading is not the vibe here, bestie. πŸ™ˆ
  • Shishi_asn1 aprep β€” the AP-REP you wanna save. that's the one. the whole point. main character energy fr fr.

✨ DESCRIPTION ✨

Save the DER encoding of the AP-REP to the file. that's it. that's the function. she takes your AP-REP, DER-encodes her, and drops her into the file you handed over. no notes. iconic. ⭐

✨ RETURN VALUE ✨

Returns SHISHI_OK iff successful β€” and yeah it's "iff", the mathematical if-and-only-if, so if you get SHISHI_OK it worked, and if it worked you get SHISHI_OK. no in-between, no situationship. πŸ’–

✨ REPORTING BUGS ✨

found a bug? πŸ› okay don't just scream into the group chat, report it properly:

ngl the maintainers can't fix what they can't see, so please actually send it. πŸ’Œ

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, share the love, just keep the receipts. ✨

✨ 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 it, it's giving ✨educated✨. πŸ“š


that's the whole page, babe πŸ’œ β€” this was shishi version 1.0.3, page shishi_aprep_save(3), and that's the vibe check, passed with flying colors. periodt. πŸ’…πŸŒΈπŸ¦‹