shishi_priv_encprivpart_der_set(3)
π shishi_priv_encprivpart_der_set β bestie, let's talk β¨
okay so real talk, this is a page from the shishi manual (section 3, the library-call girlies π«Ά), and it's literally all about one lil function. no cap. let's get into it.
β¨ NAME β¨
shishi_priv_encprivpart_der_set β it's an API function, bestie. that's the whole vibe. π
π SYNOPSIS π
#include <shishi.h>
int shishi_priv_encprivpart_der_set(Shishi_priv * priv, char * der,
size_t derlen);
like... look at her. three things go in, one int comes out. iconic behavior honestly.
π ARGUMENTS π
Shishi_priv * privβ theprivyou got fromshishi_priv(). like, you gotta have it already, don't just show up with nothing. π¦char * derβ an input array holding a DER encoded ENCPRIVPART. that's the goods. that's what's being handed over. β¨size_t derlenβ the length of that input array with the DER encoded ENCPRIVPART in it. yes, you have to tell her how long it is. she's not a mind reader, bestie. π
π DESCRIPTION π
so here's the tea: this function DER decodes ENCPRIVPART and then sets it into the PRIV exchange. that's it. that's the whole job. she decodes, she sets, she slays. π
but listen β if the decoding fails, the ENCPRIVPART in the PRIV exchange remains. meaning nothing gets swapped out, nothing gets clobbered. it just... stays. the old one is still there. so don't panic, but also don't assume your new thing landed. π
β RETURN VALUE β
returns SHISHI_OK. that's it. that's the return value. periodt. π
π REPORTING BUGS π
found a bug? spill it to <bug-shishi@gnu.org>. fr fr, they wanna know.
- 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. (translation: go off, 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. iykyk. π§
and that's the whole page, babe. this was shishi 1.0.3, the shishi_priv_encprivpart_der_set(3) manual page β thanks for coming to my TED talk, mwah πβ¨π
π¦ 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