shishi_der2asn1_apreq(3)
π NAME π
shishi_der2asn1_apreq β bestie, this is an API function and it's about to decode some DER for you β¨
It lives in the shishi manual, so if you're the kind of girl who reads man 3 pages for fun (me, obviously π
), you're in the right place.
β¨ SYNOPSIS β¨
okay so here's the vibe, literally the whole function signature, no cap:
#include <shishi.h>
Shishi_asn1 shishi_der2asn1_apreq(Shishi * handle, const char * der,
size_t derlen);
three arguments, one return value, zero drama π
π«Ά ARGUMENTS π«Ά
Shishi * handleβ the shishi handle, and yes bestie you gotta get it the proper way, as allocated byshishi_init(). no homemade handles, that's not the move πconst char * derβ the input character array holding the DER encoding. it's giving "raw bytes, handle with care" πsize_t derlenβ the length of that input character array with the DER encoding. yeah you have to tell it how long the thing is, it's not psychic π
πΈ DESCRIPTION πΈ
So what does it even do? It decodes the DER encoding of AP-REQ and creates an ASN.1 structure. That's it, that's the whole assignment. DER goes in, ASN.1 comes out, main character energy from start to finish π
β RETURN VALUE β
It returns the ASN.1 structure corresponding to the DER data. Like, you hand it the encoded situation and it hands you back the actual structure. iconic behaviour fr fr π
π REPORTING BUGS π
Found a bug? Don't suffer in silence, bestie, 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/
not me begging you to actually file the bug instead of just complaining in the group chat π«Ά
π 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. slay, very generous of them π
π 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, go read the whole thing, it's worth it π§
k bye bestie, go decode something cute π
β¨ this was shishi version 1.0.3, page shishi_der2asn1_apreq(3), dated however old this page is (the manpage footer said so, and I'm just passing the message along π).
π¦ 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