shishi_safe_safe_der_set(3)
π shishi_safe_safe_der_set β the NAME section, bestie
okay so. bestie. this is shishi_safe_safe_der_set, a function from the shishi manual (section 3, the library-calls girlies β¨). it's an API function. that's the whole vibe of the name, no cap. π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_safe_safe_der_set(Shishi_safe * safe, char * der, size_t
derlen);
like. it takes three things and gives you back an int. iconic behavior honestly. π
π¦ ARGUMENTS π¦
Shishi_safe * safeβ this is the safe (the struct, not the adjective, i know π) and you gotta have allocated it already withshishi_safe(). don't just hand me a random pointer, bestie, i will simply pass away.char * derβ an input array holding a DER encoded KRB-SAFE. yes it'schar *. yes it's DER. we contain multitudes. πsize_t derlenβ the length of that input array with the DER encoded KRB-SAFE. like, how many bytes. the count. the receipts. π
β¨ DESCRIPTION β¨
so what it DOES. it DER decodes the KRB-SAFE, and then it sets it into the SAFE exchange. that's the whole job. ate, left no crumbs. π
and here's the plot twist that matters, so listen up: if the decoding fails, the KRB-SAFE in the SAFE exchange remains β as in, it stays exactly how it was. no half-decoded mess, no drama. the original stays put. π«Ά
π RETURN VALUE π
returns SHISHI_OK. that's it. that's the return value. short king behavior fr fr. π
π REPORTING BUGS π
found a bug? spill the tea 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.
(translation: share it, remix it, just keep the receipts bestie π§)
π 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. main character research arc. π
k bye, this was shishi version 1.0.3, documented in shishi_safe_safe_der_set(3) β mwah, stay decoded bestie πβ¨ππ¦
π¦ 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