summaryrefslogtreecommitdiff
path: root/doc/texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/texi')
-rw-r--r--doc/texi/ASN1.c.texi4
-rw-r--r--doc/texi/asn1_copy_node.texi2
-rw-r--r--doc/texi/asn1_create_element.texi2
-rw-r--r--doc/texi/asn1_delete_structure2.texi2
-rw-r--r--doc/texi/asn1_der_coding.texi2
-rw-r--r--doc/texi/asn1_dup_node.texi2
-rw-r--r--doc/texi/asn1_expand_any_defined_by.texi2
-rw-r--r--doc/texi/asn1_expand_octet_string.texi2
-rw-r--r--doc/texi/asn1_find_node.texi2
-rw-r--r--doc/texi/asn1_find_structure_from_oid.texi2
-rw-r--r--doc/texi/asn1_number_of_elements.texi2
-rw-r--r--doc/texi/asn1_object_id_der.texi18
-rw-r--r--doc/texi/asn1_parser2array.texi2
-rw-r--r--doc/texi/asn1_parser2tree.texi2
-rw-r--r--doc/texi/asn1_print_structure.texi2
-rw-r--r--doc/texi/asn1_read_node_value.texi2
-rw-r--r--doc/texi/asn1_read_tag.texi2
-rw-r--r--doc/texi/asn1_read_value.texi2
-rw-r--r--doc/texi/asn1_read_value_type.texi2
-rw-r--r--doc/texi/coding.c.texi20
-rw-r--r--doc/texi/decoding.c.texi4
-rw-r--r--doc/texi/element.c.texi8
-rw-r--r--doc/texi/parser_aux.c.texi2
-rw-r--r--doc/texi/structure.c.texi14
24 files changed, 70 insertions, 34 deletions
diff --git a/doc/texi/ASN1.c.texi b/doc/texi/ASN1.c.texi
index 6c2dc1d..6c9e165 100644
--- a/doc/texi/ASN1.c.texi
+++ b/doc/texi/ASN1.c.texi
@@ -19,7 +19,7 @@ identifier is known, @code{ASN1_ELEMENT_NOT_EMPTY} if @code{definitions} not
opening @code{file} , @code{ASN1_SYNTAX_ERROR} if the syntax is not
correct, @code{ASN1_IDENTIFIER_NOT_FOUND} if in the file there is an
identifier that is not defined, @code{ASN1_NAME_TOO_LONG} if in the
-file there is an identifier whith more than @code{ASN1_MAX_NAME_SIZE}
+file there is an identifier with more than @code{ASN1_MAX_NAME_SIZE}
characters.
@end deftypefun
@@ -49,7 +49,7 @@ identifier is known, @code{ASN1_FILE_NOT_FOUND} if an error occurred
while opening @code{inputFileName} , @code{ASN1_SYNTAX_ERROR} if the syntax is
not correct, @code{ASN1_IDENTIFIER_NOT_FOUND} if in the file there is
an identifier that is not defined, @code{ASN1_NAME_TOO_LONG} if in the
-file there is an identifier whith more than @code{ASN1_MAX_NAME_SIZE}
+file there is an identifier with more than @code{ASN1_MAX_NAME_SIZE}
characters.
@end deftypefun
diff --git a/doc/texi/asn1_copy_node.texi b/doc/texi/asn1_copy_node.texi
index 267d3fe..4a0dba8 100644
--- a/doc/texi/asn1_copy_node.texi
+++ b/doc/texi/asn1_copy_node.texi
@@ -1,6 +1,6 @@
@subheading asn1_copy_node
@anchor{asn1_copy_node}
-@deftypefun {int} {asn1_copy_node} (asn1_node @var{dst}, const char * @var{dst_name}, asn1_node @var{src}, const char * @var{src_name})
+@deftypefun {int} {asn1_copy_node} (asn1_node @var{dst}, const char * @var{dst_name}, asn1_node_const @var{src}, const char * @var{src_name})
@var{dst}: Destination asn1 node.
@var{dst_name}: Field name in destination node.
diff --git a/doc/texi/asn1_create_element.texi b/doc/texi/asn1_create_element.texi
index f6e6c09..23c348c 100644
--- a/doc/texi/asn1_create_element.texi
+++ b/doc/texi/asn1_create_element.texi
@@ -1,6 +1,6 @@
@subheading asn1_create_element
@anchor{asn1_create_element}
-@deftypefun {int} {asn1_create_element} (asn1_node @var{definitions}, const char * @var{source_name}, asn1_node * @var{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
diff --git a/doc/texi/asn1_delete_structure2.texi b/doc/texi/asn1_delete_structure2.texi
index 6bc85aa..7390b9c 100644
--- a/doc/texi/asn1_delete_structure2.texi
+++ b/doc/texi/asn1_delete_structure2.texi
@@ -3,7 +3,7 @@
@deftypefun {int} {asn1_delete_structure2} (asn1_node * @var{structure}, unsigned int @var{flags})
@var{structure}: pointer to the structure that you want to delete.
-@var{flags}: additional flags (see @code{ASN1_DELETE_FLAG} )
+@var{flags}: additional flags (see @code{ASN1_DELETE_FLAG_ZEROIZE} )
Deletes the structure * @code{structure} . At the end, * @code{structure} is set
to NULL.
diff --git a/doc/texi/asn1_der_coding.texi b/doc/texi/asn1_der_coding.texi
index 2c8f9ff..49f82ec 100644
--- a/doc/texi/asn1_der_coding.texi
+++ b/doc/texi/asn1_der_coding.texi
@@ -1,6 +1,6 @@
@subheading asn1_der_coding
@anchor{asn1_der_coding}
-@deftypefun {int} {asn1_der_coding} (asn1_node @var{element}, const char * @var{name}, void * @var{ider}, int * @var{len}, char * @var{ErrorDescription})
+@deftypefun {int} {asn1_der_coding} (asn1_node_const @var{element}, const char * @var{name}, void * @var{ider}, int * @var{len}, char * @var{ErrorDescription})
@var{element}: pointer to an ASN1 element
@var{name}: the name of the structure you want to encode (it must be
diff --git a/doc/texi/asn1_dup_node.texi b/doc/texi/asn1_dup_node.texi
index b2f52b2..97c1b95 100644
--- a/doc/texi/asn1_dup_node.texi
+++ b/doc/texi/asn1_dup_node.texi
@@ -1,6 +1,6 @@
@subheading asn1_dup_node
@anchor{asn1_dup_node}
-@deftypefun {asn1_node} {asn1_dup_node} (asn1_node @var{src}, const char * @var{src_name})
+@deftypefun {asn1_node} {asn1_dup_node} (asn1_node_const @var{src}, const char * @var{src_name})
@var{src}: Source asn1 node.
@var{src_name}: Field name in source node.
diff --git a/doc/texi/asn1_expand_any_defined_by.texi b/doc/texi/asn1_expand_any_defined_by.texi
index c17da6b..81a95d4 100644
--- a/doc/texi/asn1_expand_any_defined_by.texi
+++ b/doc/texi/asn1_expand_any_defined_by.texi
@@ -1,6 +1,6 @@
@subheading asn1_expand_any_defined_by
@anchor{asn1_expand_any_defined_by}
-@deftypefun {int} {asn1_expand_any_defined_by} (asn1_node @var{definitions}, asn1_node * @var{element})
+@deftypefun {int} {asn1_expand_any_defined_by} (asn1_node_const @var{definitions}, asn1_node * @var{element})
@var{definitions}: ASN1 definitions
@var{element}: pointer to an ASN1 structure
diff --git a/doc/texi/asn1_expand_octet_string.texi b/doc/texi/asn1_expand_octet_string.texi
index a459e32..509842a 100644
--- a/doc/texi/asn1_expand_octet_string.texi
+++ b/doc/texi/asn1_expand_octet_string.texi
@@ -1,6 +1,6 @@
@subheading asn1_expand_octet_string
@anchor{asn1_expand_octet_string}
-@deftypefun {int} {asn1_expand_octet_string} (asn1_node @var{definitions}, asn1_node * @var{element}, const char * @var{octetName}, const char * @var{objectName})
+@deftypefun {int} {asn1_expand_octet_string} (asn1_node_const @var{definitions}, asn1_node * @var{element}, const char * @var{octetName}, const char * @var{objectName})
@var{definitions}: ASN1 definitions
@var{element}: pointer to an ASN1 structure
diff --git a/doc/texi/asn1_find_node.texi b/doc/texi/asn1_find_node.texi
index 9ff06f1..289d1b1 100644
--- a/doc/texi/asn1_find_node.texi
+++ b/doc/texi/asn1_find_node.texi
@@ -1,6 +1,6 @@
@subheading asn1_find_node
@anchor{asn1_find_node}
-@deftypefun {asn1_node} {asn1_find_node} (asn1_node @var{pointer}, const char * @var{name})
+@deftypefun {asn1_node} {asn1_find_node} (asn1_node_const @var{pointer}, const char * @var{name})
@var{pointer}: NODE_ASN element pointer.
@var{name}: null terminated string with the element's name to find.
diff --git a/doc/texi/asn1_find_structure_from_oid.texi b/doc/texi/asn1_find_structure_from_oid.texi
index 18e7e9b..be5c37a 100644
--- a/doc/texi/asn1_find_structure_from_oid.texi
+++ b/doc/texi/asn1_find_structure_from_oid.texi
@@ -1,6 +1,6 @@
@subheading asn1_find_structure_from_oid
@anchor{asn1_find_structure_from_oid}
-@deftypefun {const char *} {asn1_find_structure_from_oid} (asn1_node @var{definitions}, const char * @var{oidValue})
+@deftypefun {const char *} {asn1_find_structure_from_oid} (asn1_node_const @var{definitions}, const char * @var{oidValue})
@var{definitions}: ASN1 definitions
@var{oidValue}: value of the OID to search (e.g. "1.2.3.4").
diff --git a/doc/texi/asn1_number_of_elements.texi b/doc/texi/asn1_number_of_elements.texi
index f4a1ae8..806290c 100644
--- a/doc/texi/asn1_number_of_elements.texi
+++ b/doc/texi/asn1_number_of_elements.texi
@@ -1,6 +1,6 @@
@subheading asn1_number_of_elements
@anchor{asn1_number_of_elements}
-@deftypefun {int} {asn1_number_of_elements} (asn1_node @var{element}, const char * @var{name}, int * @var{num})
+@deftypefun {int} {asn1_number_of_elements} (asn1_node_const @var{element}, const char * @var{name}, int * @var{num})
@var{element}: pointer to the root of an ASN1 structure.
@var{name}: the name of a sub-structure of ROOT.
diff --git a/doc/texi/asn1_object_id_der.texi b/doc/texi/asn1_object_id_der.texi
new file mode 100644
index 0000000..9b39d9a
--- /dev/null
+++ b/doc/texi/asn1_object_id_der.texi
@@ -0,0 +1,18 @@
+@subheading asn1_object_id_der
+@anchor{asn1_object_id_der}
+@deftypefun {int} {asn1_object_id_der} (const char * @var{str}, unsigned char * @var{der}, int * @var{der_len}, unsigned @var{flags})
+@var{str}: An object identifier in numeric, dot format.
+
+@var{der}: buffer to hold the returned encoding (may be @code{NULL} ).
+
+@var{der_len}: initially the size of @code{der} ; will hold the final size.
+
+@var{flags}: must be zero
+
+Creates the DER encoding of the provided object identifier.
+
+@strong{Returns:} @code{ASN1_SUCCESS} if DER encoding was OK, @code{ASN1_VALUE_NOT_VALID}
+if @code{str} is not a valid OID, @code{ASN1_MEM_ERROR} if the @code{der} vector isn't big enough and in this case @code{der_len} will contain the
+length needed.
+@end deftypefun
+
diff --git a/doc/texi/asn1_parser2array.texi b/doc/texi/asn1_parser2array.texi
index 84c9012..5933e40 100644
--- a/doc/texi/asn1_parser2array.texi
+++ b/doc/texi/asn1_parser2array.texi
@@ -24,7 +24,7 @@ identifier is known, @code{ASN1_FILE_NOT_FOUND} if an error occurred
while opening @code{inputFileName} , @code{ASN1_SYNTAX_ERROR} if the syntax is
not correct, @code{ASN1_IDENTIFIER_NOT_FOUND} if in the file there is
an identifier that is not defined, @code{ASN1_NAME_TOO_LONG} if in the
-file there is an identifier whith more than @code{ASN1_MAX_NAME_SIZE}
+file there is an identifier with more than @code{ASN1_MAX_NAME_SIZE}
characters.
@end deftypefun
diff --git a/doc/texi/asn1_parser2tree.texi b/doc/texi/asn1_parser2tree.texi
index 5087cd2..508a3a7 100644
--- a/doc/texi/asn1_parser2tree.texi
+++ b/doc/texi/asn1_parser2tree.texi
@@ -19,7 +19,7 @@ identifier is known, @code{ASN1_ELEMENT_NOT_EMPTY} if @code{definitions} not
opening @code{file} , @code{ASN1_SYNTAX_ERROR} if the syntax is not
correct, @code{ASN1_IDENTIFIER_NOT_FOUND} if in the file there is an
identifier that is not defined, @code{ASN1_NAME_TOO_LONG} if in the
-file there is an identifier whith more than @code{ASN1_MAX_NAME_SIZE}
+file there is an identifier with more than @code{ASN1_MAX_NAME_SIZE}
characters.
@end deftypefun
diff --git a/doc/texi/asn1_print_structure.texi b/doc/texi/asn1_print_structure.texi
index 9072bfb..637331e 100644
--- a/doc/texi/asn1_print_structure.texi
+++ b/doc/texi/asn1_print_structure.texi
@@ -1,6 +1,6 @@
@subheading asn1_print_structure
@anchor{asn1_print_structure}
-@deftypefun {void} {asn1_print_structure} (FILE * @var{out}, asn1_node @var{structure}, const char * @var{name}, int @var{mode})
+@deftypefun {void} {asn1_print_structure} (FILE * @var{out}, asn1_node_const @var{structure}, const char * @var{name}, int @var{mode})
@var{out}: pointer to the output file (e.g. stdout).
@var{structure}: pointer to the structure that you want to visit.
diff --git a/doc/texi/asn1_read_node_value.texi b/doc/texi/asn1_read_node_value.texi
index fd74bbc..9745569 100644
--- a/doc/texi/asn1_read_node_value.texi
+++ b/doc/texi/asn1_read_node_value.texi
@@ -1,6 +1,6 @@
@subheading asn1_read_node_value
@anchor{asn1_read_node_value}
-@deftypefun {int} {asn1_read_node_value} (asn1_node @var{node}, asn1_data_node_st * @var{data})
+@deftypefun {int} {asn1_read_node_value} (asn1_node_const @var{node}, asn1_data_node_st * @var{data})
@var{node}: pointer to a node.
@var{data}: a point to a asn1_data_node_st
diff --git a/doc/texi/asn1_read_tag.texi b/doc/texi/asn1_read_tag.texi
index 1226e40..6879fb6 100644
--- a/doc/texi/asn1_read_tag.texi
+++ b/doc/texi/asn1_read_tag.texi
@@ -1,6 +1,6 @@
@subheading asn1_read_tag
@anchor{asn1_read_tag}
-@deftypefun {int} {asn1_read_tag} (asn1_node @var{root}, const char * @var{name}, int * @var{tagValue}, int * @var{classValue})
+@deftypefun {int} {asn1_read_tag} (asn1_node_const @var{root}, const char * @var{name}, int * @var{tagValue}, int * @var{classValue})
@var{root}: pointer to a structure
@var{name}: the name of the element inside a structure.
diff --git a/doc/texi/asn1_read_value.texi b/doc/texi/asn1_read_value.texi
index f1ea8b6..894cb20 100644
--- a/doc/texi/asn1_read_value.texi
+++ b/doc/texi/asn1_read_value.texi
@@ -1,6 +1,6 @@
@subheading asn1_read_value
@anchor{asn1_read_value}
-@deftypefun {int} {asn1_read_value} (asn1_node @var{root}, const char * @var{name}, void * @var{ivalue}, int * @var{len})
+@deftypefun {int} {asn1_read_value} (asn1_node_const @var{root}, const char * @var{name}, void * @var{ivalue}, int * @var{len})
@var{root}: pointer to a structure.
@var{name}: the name of the element inside a structure that you want to read.
diff --git a/doc/texi/asn1_read_value_type.texi b/doc/texi/asn1_read_value_type.texi
index 9393761..5a6cce6 100644
--- a/doc/texi/asn1_read_value_type.texi
+++ b/doc/texi/asn1_read_value_type.texi
@@ -1,6 +1,6 @@
@subheading asn1_read_value_type
@anchor{asn1_read_value_type}
-@deftypefun {int} {asn1_read_value_type} (asn1_node @var{root}, const char * @var{name}, void * @var{ivalue}, int * @var{len}, unsigned int * @var{etype})
+@deftypefun {int} {asn1_read_value_type} (asn1_node_const @var{root}, const char * @var{name}, void * @var{ivalue}, int * @var{len}, unsigned int * @var{etype})
@var{root}: pointer to a structure.
@var{name}: the name of the element inside a structure that you want to read.
diff --git a/doc/texi/coding.c.texi b/doc/texi/coding.c.texi
index 7ffdb35..c92c142 100644
--- a/doc/texi/coding.c.texi
+++ b/doc/texi/coding.c.texi
@@ -59,6 +59,24 @@ with the provided @code{str} .
@strong{Returns:} @code{ASN1_SUCCESS} if successful or an error value.
@end deftypefun
+@subheading asn1_object_id_der
+@anchor{asn1_object_id_der}
+@deftypefun {int} {asn1_object_id_der} (const char * @var{str}, unsigned char * @var{der}, int * @var{der_len}, unsigned @var{flags})
+@var{str}: An object identifier in numeric, dot format.
+
+@var{der}: buffer to hold the returned encoding (may be @code{NULL} ).
+
+@var{der_len}: initially the size of @code{der} ; will hold the final size.
+
+@var{flags}: must be zero
+
+Creates the DER encoding of the provided object identifier.
+
+@strong{Returns:} @code{ASN1_SUCCESS} if DER encoding was OK, @code{ASN1_VALUE_NOT_VALID}
+if @code{str} is not a valid OID, @code{ASN1_MEM_ERROR} if the @code{der} vector isn't big enough and in this case @code{der_len} will contain the
+length needed.
+@end deftypefun
+
@subheading asn1_bit_der
@anchor{asn1_bit_der}
@deftypefun {void} {asn1_bit_der} (const unsigned char * @var{str}, int @var{bit_len}, unsigned char * @var{der}, int * @var{der_len})
@@ -85,7 +103,7 @@ plus the DER encoding. The DER encoding size can be obtained using
@subheading asn1_der_coding
@anchor{asn1_der_coding}
-@deftypefun {int} {asn1_der_coding} (asn1_node @var{element}, const char * @var{name}, void * @var{ider}, int * @var{len}, char * @var{ErrorDescription})
+@deftypefun {int} {asn1_der_coding} (asn1_node_const @var{element}, const char * @var{name}, void * @var{ider}, int * @var{len}, char * @var{ErrorDescription})
@var{element}: pointer to an ASN1 element
@var{name}: the name of the structure you want to encode (it must be
diff --git a/doc/texi/decoding.c.texi b/doc/texi/decoding.c.texi
index 2eacc3d..3462c00 100644
--- a/doc/texi/decoding.c.texi
+++ b/doc/texi/decoding.c.texi
@@ -236,7 +236,7 @@ doesn't match the structure ELEMENT.
@subheading asn1_expand_any_defined_by
@anchor{asn1_expand_any_defined_by}
-@deftypefun {int} {asn1_expand_any_defined_by} (asn1_node @var{definitions}, asn1_node * @var{element})
+@deftypefun {int} {asn1_expand_any_defined_by} (asn1_node_const @var{definitions}, asn1_node * @var{element})
@var{definitions}: ASN1 definitions
@var{element}: pointer to an ASN1 structure
@@ -255,7 +255,7 @@ depending on DER decoding.
@subheading asn1_expand_octet_string
@anchor{asn1_expand_octet_string}
-@deftypefun {int} {asn1_expand_octet_string} (asn1_node @var{definitions}, asn1_node * @var{element}, const char * @var{octetName}, const char * @var{objectName})
+@deftypefun {int} {asn1_expand_octet_string} (asn1_node_const @var{definitions}, asn1_node * @var{element}, const char * @var{octetName}, const char * @var{objectName})
@var{definitions}: ASN1 definitions
@var{element}: pointer to an ASN1 structure
diff --git a/doc/texi/element.c.texi b/doc/texi/element.c.texi
index 9f793e5..5d8d328 100644
--- a/doc/texi/element.c.texi
+++ b/doc/texi/element.c.texi
@@ -111,7 +111,7 @@ result=asn1_write_value(cert,
@subheading asn1_read_value
@anchor{asn1_read_value}
-@deftypefun {int} {asn1_read_value} (asn1_node @var{root}, const char * @var{name}, void * @var{ivalue}, int * @var{len})
+@deftypefun {int} {asn1_read_value} (asn1_node_const @var{root}, const char * @var{name}, void * @var{ivalue}, int * @var{len})
@var{root}: pointer to a structure.
@var{name}: the name of the element inside a structure that you want to read.
@@ -182,7 +182,7 @@ this function may return @code{ASN1_SUCCESS} even if the provided @code{len} i
@subheading asn1_read_value_type
@anchor{asn1_read_value_type}
-@deftypefun {int} {asn1_read_value_type} (asn1_node @var{root}, const char * @var{name}, void * @var{ivalue}, int * @var{len}, unsigned int * @var{etype})
+@deftypefun {int} {asn1_read_value_type} (asn1_node_const @var{root}, const char * @var{name}, void * @var{ivalue}, int * @var{len}, unsigned int * @var{etype})
@var{root}: pointer to a structure.
@var{name}: the name of the element inside a structure that you want to read.
@@ -255,7 +255,7 @@ this function may return @code{ASN1_SUCCESS} even if the provided @code{len} i
@subheading asn1_read_tag
@anchor{asn1_read_tag}
-@deftypefun {int} {asn1_read_tag} (asn1_node @var{root}, const char * @var{name}, int * @var{tagValue}, int * @var{classValue})
+@deftypefun {int} {asn1_read_tag} (asn1_node_const @var{root}, const char * @var{name}, int * @var{tagValue}, int * @var{classValue})
@var{root}: pointer to a structure
@var{name}: the name of the element inside a structure.
@@ -275,7 +275,7 @@ CLASS can have one of these constants: @code{ASN1_CLASS_APPLICATION} ,
@subheading asn1_read_node_value
@anchor{asn1_read_node_value}
-@deftypefun {int} {asn1_read_node_value} (asn1_node @var{node}, asn1_data_node_st * @var{data})
+@deftypefun {int} {asn1_read_node_value} (asn1_node_const @var{node}, asn1_data_node_st * @var{data})
@var{node}: pointer to a node.
@var{data}: a point to a asn1_data_node_st
diff --git a/doc/texi/parser_aux.c.texi b/doc/texi/parser_aux.c.texi
index 9ff06f1..289d1b1 100644
--- a/doc/texi/parser_aux.c.texi
+++ b/doc/texi/parser_aux.c.texi
@@ -1,6 +1,6 @@
@subheading asn1_find_node
@anchor{asn1_find_node}
-@deftypefun {asn1_node} {asn1_find_node} (asn1_node @var{pointer}, const char * @var{name})
+@deftypefun {asn1_node} {asn1_find_node} (asn1_node_const @var{pointer}, const char * @var{name})
@var{pointer}: NODE_ASN element pointer.
@var{name}: null terminated string with the element's name to find.
diff --git a/doc/texi/structure.c.texi b/doc/texi/structure.c.texi
index fd3f6c8..77c743b 100644
--- a/doc/texi/structure.c.texi
+++ b/doc/texi/structure.c.texi
@@ -35,7 +35,7 @@ to NULL.
@deftypefun {int} {asn1_delete_structure2} (asn1_node * @var{structure}, unsigned int @var{flags})
@var{structure}: pointer to the structure that you want to delete.
-@var{flags}: additional flags (see @code{ASN1_DELETE_FLAG} )
+@var{flags}: additional flags (see @code{ASN1_DELETE_FLAG_ZEROIZE} )
Deletes the structure * @code{structure} . At the end, * @code{structure} is set
to NULL.
@@ -60,7 +60,7 @@ the @code{element_name} was not found.
@subheading asn1_create_element
@anchor{asn1_create_element}
-@deftypefun {int} {asn1_create_element} (asn1_node @var{definitions}, const char * @var{source_name}, asn1_node * @var{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
@@ -79,7 +79,7 @@ rc = asn1_create_element(cert_def, "PKIX1.Certificate", certptr);
@subheading asn1_print_structure
@anchor{asn1_print_structure}
-@deftypefun {void} {asn1_print_structure} (FILE * @var{out}, asn1_node @var{structure}, const char * @var{name}, int @var{mode})
+@deftypefun {void} {asn1_print_structure} (FILE * @var{out}, asn1_node_const @var{structure}, const char * @var{name}, int @var{mode})
@var{out}: pointer to the output file (e.g. stdout).
@var{structure}: pointer to the structure that you want to visit.
@@ -96,7 +96,7 @@ from the @code{name} element inside the structure @code{structure} .
@subheading asn1_number_of_elements
@anchor{asn1_number_of_elements}
-@deftypefun {int} {asn1_number_of_elements} (asn1_node @var{element}, const char * @var{name}, int * @var{num})
+@deftypefun {int} {asn1_number_of_elements} (asn1_node_const @var{element}, const char * @var{name}, int * @var{num})
@var{element}: pointer to the root of an ASN1 structure.
@var{name}: the name of a sub-structure of ROOT.
@@ -112,7 +112,7 @@ names equal to "?1","?2", ...
@subheading asn1_find_structure_from_oid
@anchor{asn1_find_structure_from_oid}
-@deftypefun {const char *} {asn1_find_structure_from_oid} (asn1_node @var{definitions}, const char * @var{oidValue})
+@deftypefun {const char *} {asn1_find_structure_from_oid} (asn1_node_const @var{definitions}, const char * @var{oidValue})
@var{definitions}: ASN1 definitions
@var{oidValue}: value of the OID to search (e.g. "1.2.3.4").
@@ -126,7 +126,7 @@ the OID.
@subheading asn1_copy_node
@anchor{asn1_copy_node}
-@deftypefun {int} {asn1_copy_node} (asn1_node @var{dst}, const char * @var{dst_name}, asn1_node @var{src}, const char * @var{src_name})
+@deftypefun {int} {asn1_copy_node} (asn1_node @var{dst}, const char * @var{dst_name}, asn1_node_const @var{src}, const char * @var{src_name})
@var{dst}: Destination asn1 node.
@var{dst_name}: Field name in destination node.
@@ -143,7 +143,7 @@ function requires @code{dst} to be expanded using @code{asn1_create_element()}
@subheading asn1_dup_node
@anchor{asn1_dup_node}
-@deftypefun {asn1_node} {asn1_dup_node} (asn1_node @var{src}, const char * @var{src_name})
+@deftypefun {asn1_node} {asn1_dup_node} (asn1_node_const @var{src}, const char * @var{src_name})
@var{src}: Source asn1 node.
@var{src_name}: Field name in source node.