shishi_safe_safe_der(3)
π shishi_safe_safe_der π
okay bestie, welcome to the shishi section 3 manual, page shishi_safe_safe_der(3) β yes that's a lot of "safe"s, we don't question the naming gods, we just vibe π«Ά
β¨ NAME β¨
shishi_safe_safe_der β an API function, and she's here to turn your SAFE into DER π
β¨ SYNOPSIS β¨
#include <shishi.h>
int shishi_safe_safe_der(Shishi_safe * safe, char ** out, size_t *
outlen);
β¨ ARGUMENTS β¨
Shishi_safe * safeβ the safe, bestie. as in, the one you already got fromshishi_safe(). don't come in here with a random pointer, that's not the vibe πchar ** outβ output array, and it's holding the freshly allocated DER encoding of the SAFE. newly allocated. brand new. main character π¦size_t * outlenβ the length of that output array with the DER encoding of SAFE. so you know how big your little guy is π
β¨ DESCRIPTION β¨
so basically she DER encodes the SAFE structure. that's it, that's the job πΈ
ngl, the usual flow is you call shishi_safe_build() first to build the SAFE structure, then you come here. like, build first, encode second, that's the order, periodt.
β οΈ important, and I mean it:outis allocated by this function, and it is the responsibility of the caller to deallocate it. that means YOU. you free it. nobody else is gonna free it for you. not me, not the library, not the universe. free your ownout, queen π
β¨ RETURN VALUE β¨
Returns SHISHI_OK iff successful. yes, "iff". that's math speak for "if and only if". slay π
β¨ REPORTING BUGS β¨
found a bug? tell the people, not me π 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. we love a permissive license, fr fr π
β¨ 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β¨
okay that's the whole page, you ate it up π this was shishi_safe_safe_der(3) from shishi 1.0.3, and if you need me I'll be right here, being obsessed with DER encoding ππ
π¦
π¦ 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