diff options
author | Pawel Kowalski <p.kowalski2@partner.samsung.com> | 2018-06-15 11:24:08 +0200 |
---|---|---|
committer | Pawel Kowalski <p.kowalski2@partner.samsung.com> | 2018-06-15 11:26:09 +0200 |
commit | 5c7e0aaf17a296535495e3431db6a86ad64064b3 (patch) | |
tree | d7cca0250c60fbc69eb70a7039d0f9659f81b9d0 /doc/man/asn1_get_octet_der.3 | |
parent | 1701584f7841a79ae4e97699a8c4ac9f0a09c38f (diff) | |
parent | e527f54afdf27ab8ce73a22d05d69e5482f5e92b (diff) | |
download | libtasn1-5c7e0aaf17a296535495e3431db6a86ad64064b3.tar.gz libtasn1-5c7e0aaf17a296535495e3431db6a86ad64064b3.tar.bz2 libtasn1-5c7e0aaf17a296535495e3431db6a86ad64064b3.zip |
Merge branch 'upstream' into tizensubmit/tizen_5.0/20181101.000007submit/tizen/20180615.093304accepted/tizen/unified/20180620.131427accepted/tizen/5.0/unified/20181102.030257
Change-Id: I254f6095d312777427a57af3ed346986a28f3aaa
Diffstat (limited to 'doc/man/asn1_get_octet_der.3')
-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 |