shishi_encapreppart_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_encapreppart_save(3) ✨

okay bestie, so this is one of those pages from the shishi manual (that's the GNU Shishi Kerberos-ish library, iykyk) and it's honestly a lil cutie. tiny function, big job. let's get into it πŸ’–


πŸŽ€ NAME πŸŽ€

shishi_encapreppart_save β€” literally just an API function, no cap


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <shishi.h>

int shishi_encapreppart_save(Shishi * handle, FILE * fh, Shishi_asn1
encapreppart);

that's the whole vibe. three things go in, one int comes out 🌸


πŸ’… ARGUMENTS πŸ’…

  • Shishi * handle β€” your shishi handle, the one you got from shishi_init(). like, you can't just show up without it, she needs to be allocated first 🫢
  • FILE * fh β€” a file handle that's open for writing. open for writing, bestie, don't come at her with a read-only file πŸ™ˆ
  • Shishi_asn1 encapreppart β€” the EncAPRepPart you want to save. that's the whole point, that's the main character ✨

πŸ”₯ DESCRIPTION πŸ”₯

Save the DER encoding of EncAPRepPart to a file. that's it. that's the function. it takes your EncAPRepPart, does the DER thing, and drops it into the file you handed over. slay πŸ’œ


⭐ RETURN VALUE ⭐

Returns SHISHI_OK iff successful. and like, iff is doing real work in that sentence β€” successful only, nothing else. so check it, fr fr πŸ‘‘


😭 REPORTING BUGS 😭

found a bug? not you being the QA bestie we all needed. report it 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. (yes queen, royalty-free, go off πŸŽ€)


🌈 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 ✨*comprehensive*✨


that's the whole page bestie, every last flag and fact, untouched and iconic πŸ’–

this was shishi_encapreppart_save(3) from shishi 1.0.3 β€” mwah, take care of her πŸ¦‹πŸ’