1asn1_get_tag_der(3) libtasn1 asn1_get_tag_der(3)
2
3
4
6 asn1_get_tag_der - API function
7
9 #include <libtasn1.h>
10
11 int asn1_get_tag_der(const unsigned char * der, int der_len, unsigned
12 char * cls, int * len, unsigned long * tag);
13
15 const unsigned char * der
16 DER data to decode.
17
18 int der_len Length of DER data to decode.
19
20 unsigned char * cls
21 Output variable containing decoded class.
22
23 int * len Output variable containing the length of the DER TAG data.
24
25 unsigned long * tag
26 Output variable containing the decoded tag (may be NULL).
27
29 Decode the class and TAG from DER code.
30
32 Returns ASN1_SUCCESS on success, or an error.
33
35 Copyright © 2006-2022 Free Software Foundation, Inc..
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright no‐
38 tice and this notice are preserved.
39
41 The full documentation for libtasn1 is maintained as a Texinfo manual.
42 If the info and libtasn1 programs are properly installed at your site,
43 the command
44
45 info libtasn1
46
47 should give you access to the complete manual. As an alternative you
48 may obtain the manual from:
49
50 https://www.gnu.org/software/libtasn1/manual/
51
52libtasn1 4.19.0 asn1_get_tag_der(3)