1asn1_array2tree(3) libtasn1 asn1_array2tree(3)
2
3
4
6 asn1_array2tree - Creates the structures needed to manage the ASN1 def‐
7 initions.
8
10 #include <libtasn1.h>
11
12 asn1_retCode asn1_array2tree(const ASN1_ARRAY_TYPE * array, ASN1_TYPE *
13 definitions, char * errorDescription);
14
16 const ASN1_ARRAY_TYPE * array
17 specify the array that contains ASN.1 declarations
18
19 ASN1_TYPE * definitions
20 return the pointer to the structure created by *ARRAY ASN.1
21 declarations
22
23 char * errorDescription
24 return the error description.
25
27 Creates the structures needed to manage the ASN.1 definitions. array
28 is a vector created by asn1_parser2array().
29
32 Structure created correctly.
33
35 *definitions not ASN1_TYPE_EMPTY.
36
38 In the file there is an identifier that is not defined (see errorDe‐
39 scription for more information).
40
42 The array pointed by array is wrong.
43
45 Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, Inc..
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright
48 notice and this notice are preserved.
49
51 The full documentation for libtasn1 is maintained as a Texinfo manual.
52 If the info and libtasn1 programs are properly installed at your site,
53 the command
54
55 info libtasn1
56
57 should give you access to the complete manual.
58
59
60
61libtasn1 2.3 asn1_array2tree(3)