1asn1_create_element(3) libtasn1 asn1_create_element(3)
2
3
4
6 asn1_create_element - Creates a structure of type SOURCE_NAME.
7
9 #include <libtasn1.h>
10
11 asn1_retCode asn1_create_element(ASN1_TYPE definitions, const char *
12 source_name, ASN1_TYPE * element);
13
15 ASN1_TYPE definitions
16 pointer to the structure returned by "parser_asn1" function
17
18 const char * source_name
19 the name of the type of the new structure (must be inside
20 p_structure).
21
22 ASN1_TYPE * element
23 pointer to the structure created.
24
26 Creates a structure of type source_name. Example using "pkix.asn":
27
28 rc = asn1_create_structure(cert_def, "PKIX1.Certificate", certptr);
29
32 Creation OK.
33
35 SOURCE_NAME isn't known
36
38 Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, Inc..
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
44 The full documentation for libtasn1 is maintained as a Texinfo manual.
45 If the info and libtasn1 programs are properly installed at your site,
46 the command
47
48 info libtasn1
49
50 should give you access to the complete manual.
51
52
53
54libtasn1 2.3 asn1_create_element(3)