shishi_der2asn1_priv(3)
π shishi_der2asn1_priv β the shishi manual, section 3 π
okay bestie, so this is a page from the shishi manual (that's section 3, the library-functions girlies β¨), and it's all about one lil function that turns your DER bytes into a shiny ASN.1 structure. she's niche, she's powerful, she's giving glue-code icon. let's get into it π«Ά
β¨ NAME β¨
shishi_der2asn1_priv β it's an API function, bestie. that's the whole vibe.
πΈ SYNOPSIS πΈ
#include <shishi.h>
Shishi_asn1 shishi_der2asn1_priv(Shishi * handle, const char * der,
size_t derlen);
likeβ¦ look at her. three args, one return, zero drama π
π ARGUMENTS π
Shishi * handleβ your shishi handle, and no you can't just make one up on the spot, it's the one allocated byshishi_init(). she needs her papers in order fr fr.const char * derβ the input character array holding the DER encoding. this is the raw material, the main character of the operation π₯size_t derlenβ the length of that input character array with the DER encoding. yes she needs to know how long it is, do not skip this one or it's giving chaos π
π¦ DESCRIPTION π¦
so what she does: she decodes the DER encoding of KRB-PRIV and creates an ASN.1 structure out of it. that's it. that's the job. decode in, structure out, slay. β¨
β RETURN VALUE β
she returns the ASN.1 structure that corresponds to your DER data. that's your prize, bestie, go use it π
π REPORTING BUGS π
found a bug? do not suffer in silence, that's not the vibe. 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. (translation: she's free, she's generous, just keep the receipts π§Ύβ¨)
π SEE ALSO π
the full documentation for shishi is maintained as a Texinfo manual, which is the real deep lore. 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 ππ
okay that's the whole page, no cap. everything you need, nothing skipped, periodt. this was shishi version 1.0.3, page shishi_der2asn1_priv(3) β tysm for reading, 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