1asn1_create_element(3) libtasn1 asn1_create_element(3)
2
3
4
6 asn1_create_element - API function
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_element(cert_def, "PKIX1.Certificate", certptr);
29
32 Copyright © 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
33 Inc..
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for libtasn1 is maintained as a Texinfo manual.
40 If the info and libtasn1 programs are properly installed at your site,
41 the command
42
43 info libtasn1
44
45 should give you access to the complete manual.
46
47
48
49libtasn1 2.7 asn1_create_element(3)