diff options
Diffstat (limited to 'doc/man/asn1_object_id_der.3')
-rw-r--r-- | doc/man/asn1_object_id_der.3 | 45 |
1 files changed, 45 insertions, 0 deletions
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 |