asn1_get_tag_der(3)
β¨ asn1_get_tag_der β the libtasn1 glow-up β¨
okay bestie, welcome to asn1_get_tag_der(3), a lil function from libtasn1 (that's the ASN.1 library, iykyk) and honestly? she's a whole vibe. let's get into it π
π NAME π
asn1_get_tag_der β an API function, no cap π«Ά
πΈ SYNOPSIS πΈ
#include <libtasn1.h>
int asn1_get_tag_der(const unsigned char * der, int der_len, unsigned
char * cls, int * len, unsigned long * tag);
look at her. five args. iconic. π
π¦ ARGUMENTS π¦
const unsigned char * derβ the DER data you wanna decode, bestie. it'sconstso like, hands off, we're just reading πint der_lenβ how long that DER data is. the length. of the data. yes.unsigned char * clsβ output variable, she's gonna hold the decoded class β¨int * lenβ output variable holding the length of the DER TAG data. (that's the TAG's length specifically, not the data's, don't get it twisted π)unsigned long * tagβ output variable with the decoded tag. may beNULLβ she's optional, lowkey chill about it π
π DESCRIPTION π
Decode the class and the TAG from the DER code. that's it. that's the whole thing. she decodes. she serves. periodt π
β RETURNS β
Returns ASN1_SUCCESS on success π or an error π. that's the deal.
π COPYRIGHT π
Copyright Β© 2006-2025 Free Software Foundation, Inc..
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. (fr fr, go off, just keep the notice π)
π₯ SEE ALSO π₯
The full documentation for libtasn1 is maintained as a Texinfo manual. If the info and libtasn1 programs are properly installed at your site, the command
info libtasn1
should give you access to the complete manual. As an alternative you may obtain the manual from:
https://www.gnu.org/software/libtasn1/manual/
okay that's the whole page bestie, you're so welcome π
β¨ this was libtasn1 version 4.21.0, asn1_get_tag_der(3), and yes she ate ππ¦π
π¦ where this page comes from
- alpine 3.22: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- alpine 3.23: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- alpine 3.24: libtasn1-doc 4.21.0-r0 Β· LGPL-2.1-or-later
- arch rolling: libtasn1 4.21.0-1 Β· GPL-3.0-or-later AND LGPL-2.1-or-later AND GFDL-1.3-or-later
- fedora 43: libtasn1-devel 4.21.0-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: libtasn1-devel 4.21.0-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: libtasn1-devel 4.21.0-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: libtasn1-devel 4.21.0-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: libtasn1-devel 4.21.0-160000.1.1 Β· GFDL-1.3-or-later AND LGPL-2.1-or-later
- ubuntu resolute: libtasn1-6-dev 4.21.0-2
- ubuntu stonking: libtasn1-6-dev 4.21.0-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms