]> git.saurik.com Git - apple/security.git/blob - SecuritySNACCRuntime/asn1specs/ex1.asn1
Security-54.1.3.tar.gz
[apple/security.git] / SecuritySNACCRuntime / asn1specs / ex1.asn1
1 -- file: .../asn1specs/ex1.asn1
2 --
3 -- This is an example ASN.1 module used in the documentation
4 --
5 -- MS 92
6 --
7 -- $Header: /cvs/Darwin/src/live/Security/SecuritySNACCRuntime/asn1specs/ex1.asn1,v 1.1.1.1 2001/05/18 23:14:05 mb Exp $
8 -- $Log: ex1.asn1,v $
9 -- Revision 1.1.1.1 2001/05/18 23:14:05 mb
10 -- Move from private repository to open source repository
11 --
12 -- Revision 1.1.1.1 1999/03/16 18:05:55 aram
13 -- Originals from SMIME Free Library.
14 --
15 -- Revision 1.2 1997/02/16 20:25:22 rj
16 -- check-in of a few cosmetic changes
17 --
18 -- Revision 1.1 1994/10/08 05:41:32 rj
19 -- initial check-in.
20 --
21
22 EX1 DEFINITIONS ::=
23 BEGIN
24
25 anOidVal OBJECT IDENTIFIER ::= { joint-iso-ccitt 40 foobar(29) }
26 theSameOidVal OBJECT IDENTIFIER ::= { 2 40 29 }
27 anIntVal INTEGER ::= 1
28 aBoolVal BOOLEAN ::= TRUE
29
30 T1 ::= SEQUENCE
31 {
32 INTEGER OPTIONAL,
33 OCTET STRING OPTIONAL,
34 ENUMERATED { a(0), b(1), c(2) },
35 SEQUENCE OF INTEGER,
36 SEQUENCE { id OBJECT IDENTIFIER, value OCTET STRING },
37 CHOICE { INTEGER, OBJECT IDENTIFIER }
38 }
39
40 END