summaryrefslogtreecommitdiff
path: root/doc/man
diff options
context:
space:
mode:
authorDariusz Michaluk <d.michaluk@samsung.com>2024-02-13 15:38:29 +0100
committerDariusz Michaluk <d.michaluk@samsung.com>2024-02-13 15:38:29 +0100
commit031996ef501f8c3d0532f7df1c38cf2e540a4f11 (patch)
tree27217d793b273edadc969aa3110378aac3c36e9c /doc/man
parent26bea900a531662c6028ecc06f4adea825658434 (diff)
downloadlibtasn1-upstream.tar.gz
libtasn1-upstream.tar.bz2
libtasn1-upstream.zip
Imported Upstream version 4.19.0upstream/4.19.0upstream
Diffstat (limited to 'doc/man')
-rw-r--r--doc/man/asn1_array2tree.36
-rw-r--r--doc/man/asn1_bit_der.36
-rw-r--r--doc/man/asn1_check_version.36
-rw-r--r--doc/man/asn1_copy_node.310
-rw-r--r--doc/man/asn1_create_element.310
-rw-r--r--doc/man/asn1_decode_simple_ber.36
-rw-r--r--doc/man/asn1_decode_simple_der.36
-rw-r--r--doc/man/asn1_delete_element.36
-rw-r--r--doc/man/asn1_delete_structure.36
-rw-r--r--doc/man/asn1_delete_structure2.38
-rw-r--r--doc/man/asn1_der_coding.310
-rw-r--r--doc/man/asn1_der_decoding.36
-rw-r--r--doc/man/asn1_der_decoding2.36
-rw-r--r--doc/man/asn1_der_decoding_element.36
-rw-r--r--doc/man/asn1_der_decoding_startEnd.36
-rw-r--r--doc/man/asn1_dup_node.310
-rw-r--r--doc/man/asn1_encode_simple_der.36
-rw-r--r--doc/man/asn1_expand_any_defined_by.310
-rw-r--r--doc/man/asn1_expand_octet_string.310
-rw-r--r--doc/man/asn1_find_node.310
-rw-r--r--doc/man/asn1_find_structure_from_oid.310
-rw-r--r--doc/man/asn1_get_bit_der.36
-rw-r--r--doc/man/asn1_get_length_ber.36
-rw-r--r--doc/man/asn1_get_length_der.36
-rw-r--r--doc/man/asn1_get_object_id_der.36
-rw-r--r--doc/man/asn1_get_octet_der.36
-rw-r--r--doc/man/asn1_get_tag_der.36
-rw-r--r--doc/man/asn1_length_der.36
-rw-r--r--doc/man/asn1_number_of_elements.310
-rw-r--r--doc/man/asn1_object_id_der.345
-rw-r--r--doc/man/asn1_octet_der.36
-rw-r--r--doc/man/asn1_parser2array.38
-rw-r--r--doc/man/asn1_parser2tree.38
-rw-r--r--doc/man/asn1_perror.36
-rw-r--r--doc/man/asn1_print_structure.310
-rw-r--r--doc/man/asn1_read_node_value.310
-rw-r--r--doc/man/asn1_read_tag.310
-rw-r--r--doc/man/asn1_read_value.310
-rw-r--r--doc/man/asn1_read_value_type.310
-rw-r--r--doc/man/asn1_strerror.36
-rw-r--r--doc/man/asn1_write_value.36
41 files changed, 196 insertions, 151 deletions
diff --git a/doc/man/asn1_array2tree.3 b/doc/man/asn1_array2tree.3
index e85cfca..cfcfebd 100644
--- a/doc/man/asn1_array2tree.3
+++ b/doc/man/asn1_array2tree.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_array2tree" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_array2tree" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_array2tree \- API function
.SH SYNOPSIS
@@ -24,7 +24,7 @@ Creates the structures needed to manage the ASN.1 definitions.
that is not defined (see \fIerrorDescription\fP for more information),
\fBASN1_ARRAY_ERROR\fP if the array pointed by \fIarray\fP is wrong.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -43,5 +43,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_bit_der.3 b/doc/man/asn1_bit_der.3
index 9309c75..6a26cbf 100644
--- a/doc/man/asn1_bit_der.3
+++ b/doc/man/asn1_bit_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_bit_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_bit_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_bit_der \- API function
.SH SYNOPSIS
@@ -28,7 +28,7 @@ that \fIder_len\fP will contain enough bytes to store the string
plus the DER encoding. The DER encoding size can be obtained using
\fBasn1_length_der()\fP.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -47,5 +47,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_check_version.3 b/doc/man/asn1_check_version.3
index 5d348ec..ea7d26d 100644
--- a/doc/man/asn1_check_version.3
+++ b/doc/man/asn1_check_version.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_check_version" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_check_version" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_check_version \- API function
.SH SYNOPSIS
@@ -20,7 +20,7 @@ See \fBASN1_VERSION\fP for a suitable \fIreq_version\fP string.
Version string of run\-time library, or \fBNULL\fP if the
run\-time library does not meet the required version number.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -39,5 +39,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_copy_node.3 b/doc/man/asn1_copy_node.3
index 0f3e560..fdb5cf6 100644
--- a/doc/man/asn1_copy_node.3
+++ b/doc/man/asn1_copy_node.3
@@ -1,17 +1,17 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_copy_node" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_copy_node" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_copy_node \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_copy_node(asn1_node " dst ", const char * " dst_name ", asn1_node " src ", const char * " src_name ");"
+.BI "int asn1_copy_node(asn1_node " dst ", const char * " dst_name ", asn1_node_const " src ", const char * " src_name ");"
.SH ARGUMENTS
.IP "asn1_node dst" 12
Destination asn1 node.
.IP "const char * dst_name" 12
Field name in destination node.
-.IP "asn1_node src" 12
+.IP "asn1_node_const src" 12
Source asn1 node.
.IP "const char * src_name" 12
Field name in source node.
@@ -21,7 +21,7 @@ function requires \fIdst\fP to be expanded using \fBasn1_create_element()\fP.
.SH "RETURNS"
Return \fBASN1_SUCCESS\fP on success.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -40,5 +40,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_create_element.3 b/doc/man/asn1_create_element.3
index 75f090e..9195d83 100644
--- a/doc/man/asn1_create_element.3
+++ b/doc/man/asn1_create_element.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_create_element" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_create_element" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_create_element \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_create_element(asn1_node " definitions ", const char * " source_name ", asn1_node * " element ");"
+.BI "int asn1_create_element(asn1_node_const " definitions ", const char * " source_name ", asn1_node * " element ");"
.SH ARGUMENTS
-.IP "asn1_node definitions" 12
+.IP "asn1_node_const definitions" 12
pointer to the structure returned by "parser_asn1" function
.IP "const char * source_name" 12
the name of the type of the new structure (must be
@@ -23,7 +23,7 @@ rc = asn1_create_element(cert_def, "PKIX1.Certificate", certptr);
\fBASN1_SUCCESS\fP if creation OK, \fBASN1_ELEMENT_NOT_FOUND\fP if
\fIsource_name\fP is not known.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -42,5 +42,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_decode_simple_ber.3 b/doc/man/asn1_decode_simple_ber.3
index f4e9545..51c3385 100644
--- a/doc/man/asn1_decode_simple_ber.3
+++ b/doc/man/asn1_decode_simple_ber.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_decode_simple_ber" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_decode_simple_ber" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_decode_simple_ber \- API function
.SH SYNOPSIS
@@ -26,7 +26,7 @@ decoded as DER.
.SH "RETURNS"
\fBASN1_SUCCESS\fP if successful or an error value.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -45,5 +45,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_decode_simple_der.3 b/doc/man/asn1_decode_simple_der.3
index 63afecb..871e69c 100644
--- a/doc/man/asn1_decode_simple_der.3
+++ b/doc/man/asn1_decode_simple_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_decode_simple_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_decode_simple_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_decode_simple_der \- API function
.SH SYNOPSIS
@@ -23,7 +23,7 @@ The output is a pointer inside the \fIder\fP .
.SH "RETURNS"
\fBASN1_SUCCESS\fP if successful or an error value.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -42,5 +42,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_delete_element.3 b/doc/man/asn1_delete_element.3
index 9f20521..e3e31b2 100644
--- a/doc/man/asn1_delete_element.3
+++ b/doc/man/asn1_delete_element.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_delete_element" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_delete_element" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_delete_element \- API function
.SH SYNOPSIS
@@ -18,7 +18,7 @@ Deletes the element named * \fIelement_name\fP inside * \fIstructure\fP .
\fBASN1_SUCCESS\fP if successful, \fBASN1_ELEMENT_NOT_FOUND\fP if
the \fIelement_name\fP was not found.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -37,5 +37,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_delete_structure.3 b/doc/man/asn1_delete_structure.3
index da4d69e..6b69ecc 100644
--- a/doc/man/asn1_delete_structure.3
+++ b/doc/man/asn1_delete_structure.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_delete_structure" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_delete_structure" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_delete_structure \- API function
.SH SYNOPSIS
@@ -16,7 +16,7 @@ to NULL.
\fBASN1_SUCCESS\fP if successful, \fBASN1_ELEMENT_NOT_FOUND\fP if
* \fIstructure\fP was NULL.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -35,5 +35,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_delete_structure2.3 b/doc/man/asn1_delete_structure2.3
index c92f32f..106a644 100644
--- a/doc/man/asn1_delete_structure2.3
+++ b/doc/man/asn1_delete_structure2.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_delete_structure2" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_delete_structure2" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_delete_structure2 \- API function
.SH SYNOPSIS
@@ -10,7 +10,7 @@ asn1_delete_structure2 \- API function
.IP "asn1_node * structure" 12
pointer to the structure that you want to delete.
.IP "unsigned int flags" 12
-additional flags (see \fBASN1_DELETE_FLAG\fP)
+additional flags (see \fBASN1_DELETE_FLAG_ZEROIZE\fP)
.SH "DESCRIPTION"
Deletes the structure * \fIstructure\fP . At the end, * \fIstructure\fP is set
to NULL.
@@ -18,7 +18,7 @@ to NULL.
\fBASN1_SUCCESS\fP if successful, \fBASN1_ELEMENT_NOT_FOUND\fP if
* \fIstructure\fP was NULL.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -37,5 +37,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_der_coding.3 b/doc/man/asn1_der_coding.3
index 2e7d196..862dd2b 100644
--- a/doc/man/asn1_der_coding.3
+++ b/doc/man/asn1_der_coding.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_der_coding" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_der_coding" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_der_coding \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_der_coding(asn1_node " element ", const char * " name ", void * " ider ", int * " len ", char * " ErrorDescription ");"
+.BI "int asn1_der_coding(asn1_node_const " element ", const char * " name ", void * " ider ", int * " len ", char * " ErrorDescription ");"
.SH ARGUMENTS
-.IP "asn1_node element" 12
+.IP "asn1_node_const element" 12
pointer to an ASN1 element
.IP "const char * name" 12
the name of the structure you want to encode (it must be
@@ -30,7 +30,7 @@ if \fIname\fP is not a valid element, \fBASN1_VALUE_NOT_FOUND\fP if there
is an element without a value, \fBASN1_MEM_ERROR\fP if the \fIider\fP vector isn't big enough and in this case \fIlen\fP will contain the
length needed.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -49,5 +49,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_der_decoding.3 b/doc/man/asn1_der_decoding.3
index ca5db75..ae0a1b6 100644
--- a/doc/man/asn1_der_decoding.3
+++ b/doc/man/asn1_der_decoding.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_der_decoding" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_der_decoding" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_der_decoding \- API function
.SH SYNOPSIS
@@ -29,7 +29,7 @@ if \fIELEMENT\fP is \fBNULL\fP, and \fBASN1_TAG_ERROR\fP or
\fBASN1_DER_ERROR\fP if the der encoding doesn't match the structure
name (* \fIELEMENT\fP deleted).
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -48,5 +48,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_der_decoding2.3 b/doc/man/asn1_der_decoding2.3
index 6468b15..2939d59 100644
--- a/doc/man/asn1_der_decoding2.3
+++ b/doc/man/asn1_der_decoding2.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_der_decoding2" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_der_decoding2" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_der_decoding2 \- API function
.SH SYNOPSIS
@@ -36,7 +36,7 @@ if \fIELEMENT\fP is \fBNULL\fP, and \fBASN1_TAG_ERROR\fP or
\fBASN1_DER_ERROR\fP if the der encoding doesn't match the structure
name (* \fIELEMENT\fP deleted).
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -55,5 +55,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_der_decoding_element.3 b/doc/man/asn1_der_decoding_element.3
index 08f007d..a96d925 100644
--- a/doc/man/asn1_der_decoding_element.3
+++ b/doc/man/asn1_der_decoding_element.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_der_decoding_element" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_der_decoding_element" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_der_decoding_element \- API function
.SH SYNOPSIS
@@ -34,7 +34,7 @@ if ELEMENT is \fBNULL\fP or \fIelementName\fP == NULL, and
\fBASN1_TAG_ERROR\fP or \fBASN1_DER_ERROR\fP if the der encoding doesn't
match the structure \fIstructure\fP (*ELEMENT deleted).
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -53,5 +53,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_der_decoding_startEnd.3 b/doc/man/asn1_der_decoding_startEnd.3
index 7cbf616..69635fb 100644
--- a/doc/man/asn1_der_decoding_startEnd.3
+++ b/doc/man/asn1_der_decoding_startEnd.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_der_decoding_startEnd" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_der_decoding_startEnd" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_der_decoding_startEnd \- API function
.SH SYNOPSIS
@@ -39,7 +39,7 @@ if ELEMENT is \fBasn1_node\fP EMPTY or \fIname_element\fP is not a valid
element, \fBASN1_TAG_ERROR\fP or \fBASN1_DER_ERROR\fP if the der encoding
doesn't match the structure ELEMENT.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -58,5 +58,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_dup_node.3 b/doc/man/asn1_dup_node.3
index d0d67b2..dfb61b0 100644
--- a/doc/man/asn1_dup_node.3
+++ b/doc/man/asn1_dup_node.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_dup_node" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_dup_node" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_dup_node \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "asn1_node asn1_dup_node(asn1_node " src ", const char * " src_name ");"
+.BI "asn1_node asn1_dup_node(asn1_node_const " src ", const char * " src_name ");"
.SH ARGUMENTS
-.IP "asn1_node src" 12
+.IP "asn1_node_const src" 12
Source asn1 node.
.IP "const char * src_name" 12
Field name in source node.
@@ -17,7 +17,7 @@ will return an exact copy of the provided structure.
.SH "RETURNS"
Return \fBNULL\fP on failure.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -36,5 +36,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_encode_simple_der.3 b/doc/man/asn1_encode_simple_der.3
index 0af0904..8574273 100644
--- a/doc/man/asn1_encode_simple_der.3
+++ b/doc/man/asn1_encode_simple_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_encode_simple_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_encode_simple_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_encode_simple_der \- API function
.SH SYNOPSIS
@@ -27,7 +27,7 @@ with the provided \fIstr\fP .
.SH "RETURNS"
\fBASN1_SUCCESS\fP if successful or an error value.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -46,5 +46,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_expand_any_defined_by.3 b/doc/man/asn1_expand_any_defined_by.3
index df13a21..5094056 100644
--- a/doc/man/asn1_expand_any_defined_by.3
+++ b/doc/man/asn1_expand_any_defined_by.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_expand_any_defined_by" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_expand_any_defined_by" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_expand_any_defined_by \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_expand_any_defined_by(asn1_node " definitions ", asn1_node * " element ");"
+.BI "int asn1_expand_any_defined_by(asn1_node_const " definitions ", asn1_node * " element ");"
.SH ARGUMENTS
-.IP "asn1_node definitions" 12
+.IP "asn1_node_const definitions" 12
ASN1 definitions
.IP "asn1_node * element" 12
pointer to an ASN1 structure
@@ -23,7 +23,7 @@ some "ANY DEFINED BY" element couldn't be expanded due to a
problem in OBJECT_ID \-> TYPE association, or other error codes
depending on DER decoding.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -42,5 +42,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_expand_octet_string.3 b/doc/man/asn1_expand_octet_string.3
index 173645c..50fb449 100644
--- a/doc/man/asn1_expand_octet_string.3
+++ b/doc/man/asn1_expand_octet_string.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_expand_octet_string" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_expand_octet_string" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_expand_octet_string \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_expand_octet_string(asn1_node " definitions ", asn1_node * " element ", const char * " octetName ", const char * " objectName ");"
+.BI "int asn1_expand_octet_string(asn1_node_const " definitions ", asn1_node * " element ", const char * " octetName ", const char * " objectName ");"
.SH ARGUMENTS
-.IP "asn1_node definitions" 12
+.IP "asn1_node_const definitions" 12
ASN1 definitions
.IP "asn1_node * element" 12
pointer to an ASN1 structure
@@ -27,7 +27,7 @@ if \fIobjectName\fP or \fIoctetName\fP are not correct,
\fBASN1_VALUE_NOT_VALID\fP if it wasn't possible to find the type to
use for expansion, or other errors depending on DER decoding.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -46,5 +46,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_find_node.3 b/doc/man/asn1_find_node.3
index 8ef20e0..f3eca34 100644
--- a/doc/man/asn1_find_node.3
+++ b/doc/man/asn1_find_node.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_find_node" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_find_node" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_find_node \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "asn1_node asn1_find_node(asn1_node " pointer ", const char * " name ");"
+.BI "asn1_node asn1_find_node(asn1_node_const " pointer ", const char * " name ");"
.SH ARGUMENTS
-.IP "asn1_node pointer" 12
+.IP "asn1_node_const pointer" 12
NODE_ASN element pointer.
.IP "const char * name" 12
null terminated string with the element's name to find.
@@ -19,7 +19,7 @@ name is composed by different identifiers separated by dots. When
.SH "RETURNS"
the search result, or \fBNULL\fP if not found.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -38,5 +38,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_find_structure_from_oid.3 b/doc/man/asn1_find_structure_from_oid.3
index d850500..63158b3 100644
--- a/doc/man/asn1_find_structure_from_oid.3
+++ b/doc/man/asn1_find_structure_from_oid.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_find_structure_from_oid" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_find_structure_from_oid" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_find_structure_from_oid \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "const char * asn1_find_structure_from_oid(asn1_node " definitions ", const char * " oidValue ");"
+.BI "const char * asn1_find_structure_from_oid(asn1_node_const " definitions ", const char * " oidValue ");"
.SH ARGUMENTS
-.IP "asn1_node definitions" 12
+.IP "asn1_node_const definitions" 12
ASN1 definitions
.IP "const char * oidValue" 12
value of the OID to search (e.g. "1.2.3.4").
@@ -18,7 +18,7 @@ Search the structure that is defined just after an OID definition.
constant string that contains the element name defined just after
the OID.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -37,5 +37,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_get_bit_der.3 b/doc/man/asn1_get_bit_der.3
index 8b40416..a7090a9 100644
--- a/doc/man/asn1_get_bit_der.3
+++ b/doc/man/asn1_get_bit_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_get_bit_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_get_bit_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_get_bit_der \- API function
.SH SYNOPSIS
@@ -24,7 +24,7 @@ Extract a BIT SEQUENCE from DER data.
.SH "RETURNS"
\fBASN1_SUCCESS\fP on success, or an error.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -43,5 +43,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_get_length_ber.3 b/doc/man/asn1_get_length_ber.3
index ba2d0ba..4a9dce2 100644
--- a/doc/man/asn1_get_length_ber.3
+++ b/doc/man/asn1_get_length_ber.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_get_length_ber" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_get_length_ber" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_get_length_ber \- API function
.SH SYNOPSIS
@@ -23,7 +23,7 @@ the value was too big.
.SH "SINCE"
2.0
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -42,5 +42,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_get_length_der.3 b/doc/man/asn1_get_length_der.3
index 7a396ab..0e20dc9 100644
--- a/doc/man/asn1_get_length_der.3
+++ b/doc/man/asn1_get_length_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_get_length_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_get_length_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_get_length_der \- API function
.SH SYNOPSIS
@@ -20,7 +20,7 @@ Return the decoded length value, or \-1 on indefinite
length, or \-2 when the value was too big to fit in a int, or \-4
when the decoded length value plus \fIlen\fP would exceed \fIder_len\fP .
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -39,5 +39,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_get_object_id_der.3 b/doc/man/asn1_get_object_id_der.3
index 35dd4b6..1f37377 100644
--- a/doc/man/asn1_get_object_id_der.3
+++ b/doc/man/asn1_get_object_id_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_get_object_id_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_get_object_id_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_get_object_id_der \- API function
.SH SYNOPSIS
@@ -23,7 +23,7 @@ function expects the DER object identifier without the tag.
.SH "RETURNS"
\fBASN1_SUCCESS\fP on success, or an error.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -42,5 +42,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_get_octet_der.3 b/doc/man/asn1_get_octet_der.3
index 8180a42..534e449 100644
--- a/doc/man/asn1_get_octet_der.3
+++ b/doc/man/asn1_get_octet_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_get_octet_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_get_octet_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_get_octet_der \- API function
.SH SYNOPSIS
@@ -26,7 +26,7 @@ content octets.
.SH "RETURNS"
Returns \fBASN1_SUCCESS\fP on success, or an error.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -45,5 +45,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_get_tag_der.3 b/doc/man/asn1_get_tag_der.3
index 88c882c..d91c1d5 100644
--- a/doc/man/asn1_get_tag_der.3
+++ b/doc/man/asn1_get_tag_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_get_tag_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_get_tag_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_get_tag_der \- API function
.SH SYNOPSIS
@@ -22,7 +22,7 @@ Decode the class and TAG from DER code.
.SH "RETURNS"
Returns \fBASN1_SUCCESS\fP on success, or an error.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -41,5 +41,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_length_der.3 b/doc/man/asn1_length_der.3
index b8646b1..a5a9926 100644
--- a/doc/man/asn1_length_der.3
+++ b/doc/man/asn1_length_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_length_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_length_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_length_der \- API function
.SH SYNOPSIS
@@ -20,7 +20,7 @@ length this function will encode is \fBASN1_MAX_LENGTH_SIZE\fP.
To know the size of the DER encoding use a \fBNULL\fP value for \fIder\fP .
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -39,5 +39,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_number_of_elements.3 b/doc/man/asn1_number_of_elements.3
index 86fe2d1..f247a0e 100644
--- a/doc/man/asn1_number_of_elements.3
+++ b/doc/man/asn1_number_of_elements.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_number_of_elements" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_number_of_elements" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_number_of_elements \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_number_of_elements(asn1_node " element ", const char * " name ", int * " num ");"
+.BI "int asn1_number_of_elements(asn1_node_const " element ", const char * " name ", int * " num ");"
.SH ARGUMENTS
-.IP "asn1_node element" 12
+.IP "asn1_node_const element" 12
pointer to the root of an ASN1 structure.
.IP "const char * name" 12
the name of a sub\-structure of ROOT.
@@ -20,7 +20,7 @@ names equal to "?1","?2", ...
\fBASN1_SUCCESS\fP if successful, \fBASN1_ELEMENT_NOT_FOUND\fP if
\fIname\fP is not known, \fBASN1_GENERIC_ERROR\fP if pointer \fInum\fP is \fBNULL\fP.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -39,5 +39,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_object_id_der.3 b/doc/man/asn1_object_id_der.3
new file mode 100644
index 0000000..da2188c
--- /dev/null
+++ b/doc/man/asn1_object_id_der.3
@@ -0,0 +1,45 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
+.TH "asn1_object_id_der" 3 "4.19.0" "libtasn1" "libtasn1"
+.SH NAME
+asn1_object_id_der \- API function
+.SH SYNOPSIS
+.B #include <libtasn1.h>
+.sp
+.BI "int asn1_object_id_der(const char * " str ", unsigned char * " der ", int * " der_len ", unsigned " flags ");"
+.SH ARGUMENTS
+.IP "const char * str" 12
+An object identifier in numeric, dot format.
+.IP "unsigned char * der" 12
+buffer to hold the returned encoding (may be \fBNULL\fP).
+.IP "int * der_len" 12
+initially the size of \fIder\fP ; will hold the final size.
+.IP "unsigned flags" 12
+must be zero
+.SH "DESCRIPTION"
+Creates the DER encoding of the provided object identifier.
+.SH "RETURNS"
+\fBASN1_SUCCESS\fP if DER encoding was OK, \fBASN1_VALUE_NOT_VALID\fP
+if \fIstr\fP is not a valid OID, \fBASN1_MEM_ERROR\fP if the \fIder\fP vector isn't big enough and in this case \fIder_len\fP will contain the
+length needed.
+.SH COPYRIGHT
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
+.br
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.
+.SH "SEE ALSO"
+The full documentation for
+.B libtasn1
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B libtasn1
+programs are properly installed at your site, the command
+.IP
+.B info libtasn1
+.PP
+should give you access to the complete manual.
+As an alternative you may obtain the manual from:
+.IP
+.B https://www.gnu.org/software/libtasn1/manual/
+.PP
diff --git a/doc/man/asn1_octet_der.3 b/doc/man/asn1_octet_der.3
index 6f0233d..8c7cc63 100644
--- a/doc/man/asn1_octet_der.3
+++ b/doc/man/asn1_octet_der.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_octet_der" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_octet_der" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_octet_der \- API function
.SH SYNOPSIS
@@ -26,7 +26,7 @@ that \fIder_len\fP will contain enough bytes to store the string
plus the DER encoding. The DER encoding size can be obtained using
\fBasn1_length_der()\fP.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -45,5 +45,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_parser2array.3 b/doc/man/asn1_parser2array.3
index 0b718b6..a1c493e 100644
--- a/doc/man/asn1_parser2array.3
+++ b/doc/man/asn1_parser2array.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_parser2array" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_parser2array" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_parser2array \- API function
.SH SYNOPSIS
@@ -31,10 +31,10 @@ identifier is known, \fBASN1_FILE_NOT_FOUND\fP if an error occurred
while opening \fIinputFileName\fP , \fBASN1_SYNTAX_ERROR\fP if the syntax is
not correct, \fBASN1_IDENTIFIER_NOT_FOUND\fP if in the file there is
an identifier that is not defined, \fBASN1_NAME_TOO_LONG\fP if in the
-file there is an identifier whith more than \fBASN1_MAX_NAME_SIZE\fP
+file there is an identifier with more than \fBASN1_MAX_NAME_SIZE\fP
characters.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -53,5 +53,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_parser2tree.3 b/doc/man/asn1_parser2tree.3
index 361db5c..c593348 100644
--- a/doc/man/asn1_parser2tree.3
+++ b/doc/man/asn1_parser2tree.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_parser2tree" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_parser2tree" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_parser2tree \- API function
.SH SYNOPSIS
@@ -26,10 +26,10 @@ identifier is known, \fBASN1_ELEMENT_NOT_EMPTY\fP if \fIdefinitions\fP not
opening \fIfile\fP , \fBASN1_SYNTAX_ERROR\fP if the syntax is not
correct, \fBASN1_IDENTIFIER_NOT_FOUND\fP if in the file there is an
identifier that is not defined, \fBASN1_NAME_TOO_LONG\fP if in the
-file there is an identifier whith more than \fBASN1_MAX_NAME_SIZE\fP
+file there is an identifier with more than \fBASN1_MAX_NAME_SIZE\fP
characters.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -48,5 +48,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_perror.3 b/doc/man/asn1_perror.3
index 12b47f6..6d82ed8 100644
--- a/doc/man/asn1_perror.3
+++ b/doc/man/asn1_perror.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_perror" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_perror" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_perror \- API function
.SH SYNOPSIS
@@ -16,7 +16,7 @@ an error returned by a libtasn1 function.
.SH "SINCE"
1.6
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -35,5 +35,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_print_structure.3 b/doc/man/asn1_print_structure.3
index 32cb706..3bcf1c3 100644
--- a/doc/man/asn1_print_structure.3
+++ b/doc/man/asn1_print_structure.3
@@ -1,15 +1,15 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_print_structure" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_print_structure" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_print_structure \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "void asn1_print_structure(FILE * " out ", asn1_node " structure ", const char * " name ", int " mode ");"
+.BI "void asn1_print_structure(FILE * " out ", asn1_node_const " structure ", const char * " name ", int " mode ");"
.SH ARGUMENTS
.IP "FILE * out" 12
pointer to the output file (e.g. stdout).
-.IP "asn1_node structure" 12
+.IP "asn1_node_const structure" 12
pointer to the structure that you want to visit.
.IP "const char * name" 12
an element of the structure
@@ -21,7 +21,7 @@ specify how much of the structure to print, can be
Prints on the \fIout\fP file descriptor the structure's tree starting
from the \fIname\fP element inside the structure \fIstructure\fP .
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -40,5 +40,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_read_node_value.3 b/doc/man/asn1_read_node_value.3
index 5ba1925..b7a7bc3 100644
--- a/doc/man/asn1_read_node_value.3
+++ b/doc/man/asn1_read_node_value.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_read_node_value" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_read_node_value" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_read_node_value \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_read_node_value(asn1_node " node ", asn1_data_node_st * " data ");"
+.BI "int asn1_read_node_value(asn1_node_const " node ", asn1_data_node_st * " data ");"
.SH ARGUMENTS
-.IP "asn1_node node" 12
+.IP "asn1_node_const node" 12
pointer to a node.
.IP "asn1_data_node_st * data" 12
a point to a asn1_data_node_st
@@ -17,7 +17,7 @@ The data returned should be handled as constant values.
.SH "RETURNS"
\fBASN1_SUCCESS\fP if the node exists.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -36,5 +36,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_read_tag.3 b/doc/man/asn1_read_tag.3
index 2ab97cd..1b21248 100644
--- a/doc/man/asn1_read_tag.3
+++ b/doc/man/asn1_read_tag.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_read_tag" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_read_tag" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_read_tag \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_read_tag(asn1_node " root ", const char * " name ", int * " tagValue ", int * " classValue ");"
+.BI "int asn1_read_tag(asn1_node_const " root ", const char * " name ", int * " tagValue ", int * " classValue ");"
.SH ARGUMENTS
-.IP "asn1_node root" 12
+.IP "asn1_node_const root" 12
pointer to a structure
.IP "const char * name" 12
the name of the element inside a structure.
@@ -24,7 +24,7 @@ CLASS can have one of these constants: \fBASN1_CLASS_APPLICATION\fP,
\fBASN1_SUCCESS\fP if successful, \fBASN1_ELEMENT_NOT_FOUND\fP if
\fIname\fP is not a valid element.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -43,5 +43,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_read_value.3 b/doc/man/asn1_read_value.3
index 62ebe39..7ccb411 100644
--- a/doc/man/asn1_read_value.3
+++ b/doc/man/asn1_read_value.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_read_value" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_read_value" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_read_value \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_read_value(asn1_node " root ", const char * " name ", void * " ivalue ", int * " len ");"
+.BI "int asn1_read_value(asn1_node_const " root ", const char * " name ", void * " ivalue ", int * " len ");"
.SH ARGUMENTS
-.IP "asn1_node root" 12
+.IP "asn1_node_const root" 12
pointer to a structure.
.IP "const char * name" 12
the name of the element inside a structure that you want to read.
@@ -75,7 +75,7 @@ to store the result, and in this case \fIlen\fP will contain the number of
bytes needed. On the occasion that the stored data are of zero\-length
this function may return \fBASN1_SUCCESS\fP even if the provided \fIlen\fP is zero.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -94,5 +94,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_read_value_type.3 b/doc/man/asn1_read_value_type.3
index e147c85..ec9856c 100644
--- a/doc/man/asn1_read_value_type.3
+++ b/doc/man/asn1_read_value_type.3
@@ -1,13 +1,13 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_read_value_type" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_read_value_type" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_read_value_type \- API function
.SH SYNOPSIS
.B #include <libtasn1.h>
.sp
-.BI "int asn1_read_value_type(asn1_node " root ", const char * " name ", void * " ivalue ", int * " len ", unsigned int * " etype ");"
+.BI "int asn1_read_value_type(asn1_node_const " root ", const char * " name ", void * " ivalue ", int * " len ", unsigned int * " etype ");"
.SH ARGUMENTS
-.IP "asn1_node root" 12
+.IP "asn1_node_const root" 12
pointer to a structure.
.IP "const char * name" 12
the name of the element inside a structure that you want to read.
@@ -77,7 +77,7 @@ to store the result, and in this case \fIlen\fP will contain the number of
bytes needed. On the occasion that the stored data are of zero\-length
this function may return \fBASN1_SUCCESS\fP even if the provided \fIlen\fP is zero.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -96,5 +96,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_strerror.3 b/doc/man/asn1_strerror.3
index 4d1840e..c7f305e 100644
--- a/doc/man/asn1_strerror.3
+++ b/doc/man/asn1_strerror.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_strerror" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_strerror" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_strerror \- API function
.SH SYNOPSIS
@@ -19,7 +19,7 @@ code.
.SH "SINCE"
1.6
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -38,5 +38,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP
diff --git a/doc/man/asn1_write_value.3 b/doc/man/asn1_write_value.3
index f560ef1..00f004a 100644
--- a/doc/man/asn1_write_value.3
+++ b/doc/man/asn1_write_value.3
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
-.TH "asn1_write_value" 3 "4.13" "libtasn1" "libtasn1"
+.TH "asn1_write_value" 3 "4.19.0" "libtasn1" "libtasn1"
.SH NAME
asn1_write_value \- API function
.SH SYNOPSIS
@@ -115,7 +115,7 @@ result=asn1_write_value(cert,
\fBASN1_ELEMENT_NOT_FOUND\fP if \fIname\fP is not a valid element, and
\fBASN1_VALUE_NOT_VALID\fP if \fIivalue\fP has a wrong format.
.SH COPYRIGHT
-Copyright \(co 2006-2015 Free Software Foundation, Inc..
+Copyright \(co 2006-2022 Free Software Foundation, Inc..
.br
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
@@ -134,5 +134,5 @@ programs are properly installed at your site, the command
should give you access to the complete manual.
As an alternative you may obtain the manual from:
.IP
-.B http://www.gnu.org/software/libtasn1/manual/
+.B https://www.gnu.org/software/libtasn1/manual/
.PP