summaryrefslogtreecommitdiff
path: root/doc/texi/asn1_get_octet_der.texi
diff options
context:
space:
mode:
authorsangsu <sangsu.choi@samsung.com>2016-06-08 10:17:41 +0900
committersangsu <sangsu.choi@samsung.com>2016-06-08 10:18:15 +0900
commita39386a3afe2d7e0cc717a49f970f53d974fda53 (patch)
treed6deb781410d96006a58fcfcaa8f31ffcc139523 /doc/texi/asn1_get_octet_der.texi
parentd2521ee04e00e1c060001d5d67c1cf0bd23ec260 (diff)
downloadlibtasn1-a39386a3afe2d7e0cc717a49f970f53d974fda53.tar.gz
libtasn1-a39386a3afe2d7e0cc717a49f970f53d974fda53.tar.bz2
libtasn1-a39386a3afe2d7e0cc717a49f970f53d974fda53.zip
Imported Upstream version 4.8upstream/4.8submit/upstream/20160613.071414
Change-Id: I25e57ece28b9ebb637a2b7356f57e11b7f2eb807 Signed-off-by: sangsu <sangsu.choi@samsung.com>
Diffstat (limited to 'doc/texi/asn1_get_octet_der.texi')
-rw-r--r--doc/texi/asn1_get_octet_der.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/texi/asn1_get_octet_der.texi b/doc/texi/asn1_get_octet_der.texi
new file mode 100644
index 0000000..14a8422
--- /dev/null
+++ b/doc/texi/asn1_get_octet_der.texi
@@ -0,0 +1,20 @@
+@subheading asn1_get_octet_der
+@anchor{asn1_get_octet_der}
+@deftypefun {int} {asn1_get_octet_der} (const unsigned char * @var{der}, int @var{der_len}, int * @var{ret_len}, unsigned char * @var{str}, int @var{str_size}, int * @var{str_len})
+@var{der}: DER data to decode containing the OCTET SEQUENCE.
+
+@var{der_len}: Length of DER data to decode.
+
+@var{ret_len}: Output variable containing the length of the DER data.
+
+@var{str}: Pre-allocated output buffer to put decoded OCTET SEQUENCE in.
+
+@var{str_size}: Length of pre-allocated output buffer.
+
+@var{str_len}: Output variable containing the length of the OCTET SEQUENCE.
+
+Extract an OCTET SEQUENCE from DER data.
+
+@strong{Returns:} Returns @code{ASN1_SUCCESS} on success, or an error.
+@end deftypefun
+