summaryrefslogtreecommitdiff
path: root/doc/libtasn1.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/libtasn1.html')
-rw-r--r--doc/libtasn1.html28
1 files changed, 15 insertions, 13 deletions
diff --git a/doc/libtasn1.html b/doc/libtasn1.html
index 59d3da9..43522e5 100644
--- a/doc/libtasn1.html
+++ b/doc/libtasn1.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU Libtasn1
-(version 4.8, 4 April 2016),
+(version 4.9, 4 April 2016),
which is a library for Abstract Syntax Notation One (ASN.1) and
Distinguished Encoding Rules (DER) manipulation.
@@ -13,12 +13,12 @@ any later version published by the Free Software Foundation; with no
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
copy of the license is included in the section entitled "GNU Free
Documentation License". -->
-<!-- Created by GNU Texinfo 6.0, http://www.gnu.org/software/texinfo/ -->
+<!-- Created by GNU Texinfo 6.1, http://www.gnu.org/software/texinfo/ -->
<head>
-<title>GNU Libtasn1 4.8</title>
+<title>GNU Libtasn1 4.9</title>
-<meta name="description" content="GNU Libtasn1 4.8">
-<meta name="keywords" content="GNU Libtasn1 4.8">
+<meta name="description" content="GNU Libtasn1 4.9">
+<meta name="keywords" content="GNU Libtasn1 4.9">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
@@ -48,9 +48,8 @@ pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
-span.nocodebreak {white-space: nowrap}
span.nolinebreak {white-space: nowrap}
-span.roman {font-family: serif; font-weight: normal}
+span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
body {
@@ -105,7 +104,7 @@ dd, li {
</head>
<body lang="en">
-<h1 class="settitle" align="center">GNU Libtasn1 4.8</h1>
+<h1 class="settitle" align="center">GNU Libtasn1 4.9</h1>
@@ -159,7 +158,7 @@ Next: <a href="#Introduction" accesskey="n" rel="next">Introduction</a>, Up: <a
<h1 class="top">Libtasn1</h1>
<p>This manual is for GNU Libtasn1
-(version 4.8, 4 April 2016),
+(version 4.9, 4 April 2016),
which is a library for Abstract Syntax Notation One (ASN.1) and
Distinguished Encoding Rules (DER) manipulation.
</p>
@@ -187,6 +186,7 @@ Documentation License&rdquo;.
<tr><td align="left" valign="top">&bull; <a href="#Copying-Information" accesskey="5">Copying Information</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
</td></tr>
<tr><th colspan="3" align="left" valign="top"><pre class="menu-comment">
+
Indices
</pre></th></tr><tr><td align="left" valign="top">&bull; <a href="#Concept-Index" accesskey="6">Concept Index</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Index of concepts and programs.
@@ -1363,17 +1363,19 @@ the value was too big.
<dt><a name="index-asn1_005fget_005foctet_005fder"></a>Function: <em>int</em> <strong>asn1_get_octet_der</strong> <em>(const unsigned char * <var>der</var>, int <var>der_len</var>, int * <var>ret_len</var>, unsigned char * <var>str</var>, int <var>str_size</var>, int * <var>str_len</var>)</em></dt>
<dd><p><var>der</var>: DER data to decode containing the OCTET SEQUENCE.
</p>
-<p><var>der_len</var>: Length of DER data to decode.
+<p><var>der_len</var>: The length of the <code>der</code> data to decode.
</p>
-<p><var>ret_len</var>: Output variable containing the length of the DER data.
+<p><var>ret_len</var>: Output variable containing the encoded length of the DER data.
</p>
<p><var>str</var>: Pre-allocated output buffer to put decoded OCTET SEQUENCE in.
</p>
<p><var>str_size</var>: Length of pre-allocated output buffer.
</p>
-<p><var>str_len</var>: Output variable containing the length of the OCTET SEQUENCE.
+<p><var>str_len</var>: Output variable containing the length of the contents of the OCTET SEQUENCE.
</p>
-<p>Extract an OCTET SEQUENCE from DER data.
+<p>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.
</p>
<p><strong>Returns:</strong> Returns <code>ASN1_SUCCESS</code> on success, or an error.
</p></dd></dl>