libtasn1-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU libtasn1 branch, master, updated. libtasn1_2_9-17-gd918833


From: Simon Josefsson
Subject: [SCM] GNU libtasn1 branch, master, updated. libtasn1_2_9-17-gd918833
Date: Tue, 25 Oct 2011 13:55:23 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU libtasn1".

http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=d918833e7744a5cf79c85f3e13d22739b1b3690b

The branch, master has been updated
       via  d918833e7744a5cf79c85f3e13d22739b1b3690b (commit)
      from  dcc598156e41efe6996f13d9842c76a68b8d46b2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d918833e7744a5cf79c85f3e13d22739b1b3690b
Author: Simon Josefsson <address@hidden>
Date:   Tue Oct 25 15:55:19 2011 +0200

    libtasn1.texi: Add examples to asn1Coding and asn1Decoding tools.

-----------------------------------------------------------------------

Summary of changes:
 doc/libtasn1.texi |   41 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 41 insertions(+), 0 deletions(-)

diff --git a/doc/libtasn1.texi b/doc/libtasn1.texi
index 3099b0f..84649ec 100644
--- a/doc/libtasn1.texi
+++ b/doc/libtasn1.texi
@@ -320,6 +320,39 @@ Options:
  -o file : output file.
 @end verbatim
 
+For example, consider a ASN.1 definitions file as follows:
+
address@hidden
+PKIX1 { }
+
+DEFINITIONS IMPLICIT TAGS ::=
+
+BEGIN
+
+Dss-Sig-Value ::= SEQUENCE {
+     r       INTEGER,
+     s       INTEGER
+}
+
+END
address@hidden verbatim
+
+And a assignments file as follows:
+
address@hidden
+dp PKIX1.Dss-Sig-Value
+
+r 42
+s 47
address@hidden verbatim
+
+Running the command below will generate a file @file{assign.out}
+containing the DER encoding of @code{PKIX1.Dss-Sig-Value}.
+
address@hidden
+$ asn1Coding pkix.asn assign.asn1
address@hidden verbatim
+
 @node Invoking asn1Decoding
 @section Invoking asn1Decoding
 @cindex asn1Decoding program
@@ -338,6 +371,14 @@ Options:
  -o file : output file.
 @end verbatim
 
+For example, after generating the file @file{assign.out} from the
+example section of the @code{asn1Coding} command, the following
+invocation will decode the DER data.
+
address@hidden
+$ asn1Decoding pkix.asn assign.out PKIX1.Dss-Sig-Value
address@hidden verbatim
+
 @node Function reference
 @chapter Function reference
 


hooks/post-receive
-- 
GNU libtasn1



reply via email to

[Prev in Thread] Current Thread [Next in Thread]