1asn1_read_tag(3) libtasn1 asn1_read_tag(3)
2
3
4
6 asn1_read_tag - Returns the TAG of one element inside a structure
7
9 #include <libtasn1.h>
10
11 asn1_retCode asn1_read_tag(node_asn * root, const char * name, int *
12 tagValue, int * classValue);
13
15 node_asn * root
16 pointer to a structure
17
18 const char * name
19 the name of the element inside a structure.
20
21 int * tagValue
22 variable that will contain the TAG value.
23
24 int * classValue
25 variable that will specify the TAG type.
26
28 Returns the TAG and the CLASS of one element inside a structure.
29
31 ASN1_CLASS_APPLICATION, ASN1_CLASS_UNIVERSAL, ASN1_CLASS_PRIVATE or
32 ASN1_CLASS_CONTEXT_SPECIFIC.
33
36 Set value OK.
37
39 NAME is not a valid element.
40
42 Copyright © 2006 Free Software Foundation, Inc..
43 Permission is granted to make and distribute verbatim copies of this
44 manual provided the copyright notice and this permission notice are
45 preserved on all copies.
46
48 The full documentation for libtasn1 is maintained as a Texinfo manual.
49 If the info and libtasn1 programs are properly installed at your site,
50 the command
51
52 info libtasn1
53
54 should give you access to the complete manual.
55
56
57
58libtasn1 0.3.9 asn1_read_tag(3)