shishi_asn1_to_der_field(3)
π shishi_asn1_to_der_field(3) π
okay bestie, welcome to the shishi manual, section 3, and today's main character is shishi_asn1_to_der_field. she's from shishi version 1.0.3 and honestly? she's a whole vibe. let's get into it π¦
β¨ NAME β¨
shishi_asn1_to_der_field β it's an API function, babes. that's the whole job description. π
πΈ SYNOPSIS πΈ
#include <shishi.h>
int shishi_asn1_to_der_field(Shishi * handle, Shishi_asn1 node, const
char * field, char ** der, size_t * len);
look at her. five parameters. no notes. iconic. π
π ARGUMENTS π
Shishi * handleβ the shishi handle, and you gotta get it the legit way: allocated byshishi_init(). no bootleg handles around here bestie πShishi_asn1 nodeβ the ASN.1 data that has the field you wanna extract. she's the container, the moment, the source of truth π«Άconst char * fieldβ the name of the field insidenodethat you're pulling out. name it, claim it, extract it β¨char ** derβ output array that holds the DER encoding of the field innode. freshly handed to you, bestie πsize_t * lenβ output variable with the length of thederoutput array. so you know exactly how much slay you're working with π
π DESCRIPTION π
Extract a newly allocated DER representation of the specified ASN.1 field. that's it, that's the whole plot. she takes your field and hands you back a fresh DER blob. the way that she allocates it for youβ¦ obsessed π
π RETURN VALUE π
- Returns
SHISHI_OKif everything went off without a hitch. we love a success story β - Returns
SHISHI_ASN1_ERRORif the DER encoding fails. and ngl, the most common reason for that is that the ASN.1 is missing required values. like girl, she can't encode what you didn't give her π
π₯ REPORTING BUGS π₯
found a bug? not the cute kind? report it 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/
fr fr, they wanna hear from you π«Ά
π 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.
periodt. π
π§ 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 πβ¨
and that's the tea, bestie π this was shishi_asn1_to_der_field(3) from the shishi manual, version 1.0.3, dated on that page as version 1.0.3 with the same section 3 footer energy. go forth and extract your DER fields, you absolute legend πΈππ¦
π¦ 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