summaryrefslogtreecommitdiff
path: root/doc/texi/decoding.c.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/texi/decoding.c.texi')
-rw-r--r--doc/texi/decoding.c.texi9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/texi/decoding.c.texi b/doc/texi/decoding.c.texi
index b9a3003..2eacc3d 100644
--- a/doc/texi/decoding.c.texi
+++ b/doc/texi/decoding.c.texi
@@ -25,7 +25,7 @@ when the decoded length value plus @code{len} would exceed @code{der_len} .
@var{len}: Output variable containing the length of the DER TAG data.
-@var{tag}: Output variable containing the decoded tag.
+@var{tag}: Output variable containing the decoded tag (may be @code{NULL} ).
Decode the class and TAG from DER code.
@@ -86,7 +86,8 @@ content octets.
@var{str_size}: Length of pre-allocated output buffer.
-Converts a DER encoded object identifier to its textual form.
+Converts a DER encoded object identifier to its textual form. This
+function expects the DER object identifier without the tag.
@strong{Returns:} @code{ASN1_SUCCESS} on success, or an error.
@end deftypefun
@@ -157,7 +158,7 @@ error occurred.
Fill the structure * @code{element} with values of a DER encoding
string. The structure must just be created with function
-@code{asn1_create_element()} .
+@code{asn1_create_element()} .
Note that the * @code{element} variable is provided as a pointer for
historical reasons.
@@ -309,7 +310,7 @@ The output is a pointer inside the @code{der} .
@var{ber_len}: the total length occupied by BER (may be @code{NULL} )
-Decodes a BER encoded type. The output is an allocated value
+Decodes a BER encoded type. The output is an allocated value
of the data. This decodes BER STRINGS only. Other types are
decoded as DER.