shishi_der2asn1_kdcreq(3)
π shishi_der2asn1_kdcreq β bestie, it's a section 3 manual page from the shishi crew β¨
okay so real talk, this page lives in section 3 of the shishi manual, and it's here to walk you through one (1) very specific little function. grab a strawberry π, we're doing this.
πΈ NAME πΈ
shishi_der2asn1_kdcreq β it's an API function, bestie. that's literally its whole job description and honestly? iconic.
β¨ SYNOPSIS β¨
#include <shishi.h>
Shishi_asn1 shishi_der2asn1_kdcreq(Shishi * handle, const char * der,
size_t derlen);
look at that. three args, one return, no drama. we love a low-maintenance signature π«Ά
π ARGUMENTS π
Shishi * handleβ the shishi handle, and no you can't just make one up, it's gotta be allocated byshishi_init(). that's the rules, bestie.const char * derβ your input character array holding the DER encoding. it'sconst, so hands off, we're just reading πsize_t derlenβ the length of that input character array with the DER encoding in it. yes you have to tell it how long your bytes are. it's not psychic, it's a C library.
π DESCRIPTION π
so what does it actually DO? it decodes the DER encoding of an AS-REQ, a TGS-REQ or a KDC-REQ and creates an ASN.1 structure out of it.
that's it. that's the whole plot. bytes go in, shiny ASN.1 structure comes out. the way it just transforms them π
π RETURN VALUE π
it returns the ASN.1 structure that corresponds to your DER data. give it bytes, get a structure. slay.
π REPORTING BUGS π
found a bug? not the vibe, but okay, tell the people. 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/
they're nice, they'll help you out π«Ά
π 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. so like, be free, 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 π
ngl, that's the whole page. every flag, every arg, every byte, all present and accounted for π―
shishi version 1.0.3, page shishi_der2asn1_kdcreq(3) β and that's a wrap, bestie, go decode something pretty πΈππ
π¦ 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