1asn1_read_tag(3) libtasn1 asn1_read_tag(3)
2
3
4
6 asn1_read_tag - API function
7
9 #include <libtasn1.h>
10
11 asn1_retCode asn1_read_tag(ASN1_TYPE root, const char * name, int *
12 tagValue, int * classValue);
13
15 ASN1_TYPE 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 Copyright © 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
37 Inc..
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright
40 notice and this notice are preserved.
41
43 The full documentation for libtasn1 is maintained as a Texinfo manual.
44 If the info and libtasn1 programs are properly installed at your site,
45 the command
46
47 info libtasn1
48
49 should give you access to the complete manual.
50
51
52
53libtasn1 2.7 asn1_read_tag(3)