summaryrefslogtreecommitdiff
path: root/doc/libtasn1.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/libtasn1.texi')
-rw-r--r--doc/libtasn1.texi21
1 files changed, 17 insertions, 4 deletions
diff --git a/doc/libtasn1.texi b/doc/libtasn1.texi
index 607bd56..7fabd21 100644
--- a/doc/libtasn1.texi
+++ b/doc/libtasn1.texi
@@ -15,7 +15,7 @@ This manual is for GNU Libtasn1
which is a library for Abstract Syntax Notation One (ASN.1) and
Distinguished Encoding Rules (DER) manipulation.
-Copyright @copyright{} 2001-2014 Free Software Foundation, Inc.
+Copyright @copyright{} 2001-2015 Free Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
@@ -363,15 +363,24 @@ Options:
For example, consider an ASN.1 definitions file as follows:
@verbatim
-PKIX1 { }
+MYPKIX1 { }
DEFINITIONS IMPLICIT TAGS ::=
BEGIN
+OtherStruct := SEQUENCE {
+ x INTEGER,
+ y CHOICE {
+ y1 INTEGER,
+ y2 OCTET STRING },
+}
+
Dss-Sig-Value ::= SEQUENCE {
r INTEGER,
- s INTEGER
+ s INTEGER,
+ other OtherStruct
+ z INTEGER OPTIONAL,
}
END
@@ -380,10 +389,14 @@ END
And a assignments file as follows:
@verbatim
-dp PKIX1.Dss-Sig-Value
+dp MYPKIX1.Dss-Sig-Value
r 42
s 47
+other.x 66
+other.y y1
+other.y.y1 15
+z (NULL)
@end verbatim
Running the command below will generate a @file{assign.out} file,