Imported Upstream version 4.14
[platform/upstream/libtasn1.git] / doc / man / asn1_get_octet_der.3
index e142e52..8180a42 100644 (file)
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
-.TH "asn1_get_octet_der" 3 "4.8" "libtasn1" "libtasn1"
+.TH "asn1_get_octet_der" 3 "4.13" "libtasn1" "libtasn1"
 .SH NAME
 asn1_get_octet_der \- API function
 .SH SYNOPSIS
@@ -10,17 +10,19 @@ asn1_get_octet_der \- API function
 .IP "const unsigned char * der" 12
 DER data to decode containing the OCTET SEQUENCE.
 .IP "int der_len" 12
-Length of DER data to decode.
+The length of the  \fIder\fP data to decode.
 .IP "int * ret_len" 12
-Output variable containing the length of the DER data.
+Output variable containing the encoded length of the DER data.
 .IP "unsigned char * str" 12
 Pre\-allocated output buffer to put decoded OCTET SEQUENCE in.
 .IP "int str_size" 12
 Length of pre\-allocated output buffer.
 .IP "int * str_len" 12
-Output variable containing the length of the OCTET SEQUENCE.
+Output variable containing the length of the contents of the OCTET SEQUENCE.
 .SH "DESCRIPTION"
-Extract an OCTET SEQUENCE from DER data.
+Extract an OCTET SEQUENCE from DER data. Note that this function
+expects the DER data past the tag field, i.e., the length and
+content octets.
 .SH "RETURNS"
 Returns \fBASN1_SUCCESS\fP on success, or an error.
 .SH COPYRIGHT