@subheading asn1_create_element
@anchor{asn1_create_element}
@deftypefun {int} {asn1_create_element} (asn1_node_const @var{definitions}, const char * @var{source_name}, asn1_node * @var{element})
@var{definitions}: pointer to the structure returned by "parser_asn1" function

@var{source_name}: the name of the type of the new structure (must be
inside p_structure).

@var{element}: pointer to the structure created.

Creates a structure of type  @code{source_name} .  Example using
"pkix.asn":

rc = asn1_create_element(cert_def, "PKIX1.Certificate", certptr);

@strong{Returns:} @code{ASN1_SUCCESS}  if creation OK, @code{ASN1_ELEMENT_NOT_FOUND}  if
 @code{source_name} is not known.
@end deftypefun

