shishi_priv_priv_der(3)
π shishi_priv_priv_der(3) π
okay bestie, welcome to the shishi manual, and specifically the page for shishi_priv_priv_der β she's an API function and she's here to turn your PRIV into DER, no cap. π
β¨ NAME β¨
shishi_priv_priv_der β literally just an API function, that's her whole job title π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_priv_priv_der(Shishi_priv * priv, char ** out, size_t *
outlen);
like yes, that's the whole thing, she's not complicated π¦
π«Ά ARGUMENTS π«Ά
Shishi_priv * privβ the priv, bestie. as allocated byshishi_priv(). she has to come from there, okay? πchar ** outβ this is your output array, and it gets a freshly allocated DER encoding of PRIV dropped into it. brand new, still warm πsize_t * outlenβ the length of that output array holding the DER encoding of PRIV. it's giving "how big is the thing" energy π
π DESCRIPTION π
So what she does is DER encode the PRIV structure. that's it, that's the vibe. β¨
Typically you'd call shishi_priv_build() first to build the PRIV structure β like, do the prep work before the main character moment, yk? π
And listen, out is allocated by this function, so it is 100% your responsibility as the caller to deallocate it. she made it, you clean it up. no ghosting your memory management, fr fr π
β RETURN VALUE β
Returns SHISHI_OK iff successful. that's the good ending, we love to see it π
π REPORTING BUGS π
Found a bug? spill it to <bug-shishi@gnu.org>. don't be shy, 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.
(iconic behaviour honestly, free to copy, 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 the director's cut π
that's the whole page bestie, you ate that π
β¨ this was shishi version 1.0.3, page shishi_priv_priv_der(3), signing off π¦π
π¦ 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