diff options
author | Dariusz Michaluk <d.michaluk@samsung.com> | 2018-06-15 11:11:52 +0200 |
---|---|---|
committer | Dariusz Michaluk <d.michaluk@samsung.com> | 2018-06-15 11:11:52 +0200 |
commit | 9ec7943e548cce0a73bdd3805933248fcb0ee67c (patch) | |
tree | 3d2dddcfb0dcb05fb0b7e5a8247f75e6b430c257 /doc/man | |
parent | a39386a3afe2d7e0cc717a49f970f53d974fda53 (diff) | |
download | libtasn1-9ec7943e548cce0a73bdd3805933248fcb0ee67c.tar.gz libtasn1-9ec7943e548cce0a73bdd3805933248fcb0ee67c.tar.bz2 libtasn1-9ec7943e548cce0a73bdd3805933248fcb0ee67c.zip |
Imported Upstream version 4.9upstream/4.9
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/asn1_get_octet_der.3 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/man/asn1_get_octet_der.3 b/doc/man/asn1_get_octet_der.3 index e142e52..22fe3d8 100644 --- a/doc/man/asn1_get_octet_der.3 +++ b/doc/man/asn1_get_octet_der.3 @@ -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 |