]> git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_asn1/asn1/asn-useful.asn1
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / libsecurity_asn1 / asn1 / asn-useful.asn1
1 ASN-USEFUL DEFINITIONS ::=
2 BEGIN
3
4 -- file: .../asn1specs/asn-useful.asn1
5 --
6 -- NOTE: every one of these types is marked as a PDU so the compiler
7 -- will produce the encode and decode routines that
8 -- enc/dec the top tag/len pairs, not just the content decoders.
9 -- (only nec for re-generating the library files "asn_useful.[ch]").
10 -- The isPdu field does not affect how this module is linked
11 -- with other modules during compilation.
12 --
13 -- (type DEF comment directives immediately follow the "::=")
14 --
15 -- MS 92
16 --
17 -- $Header: /Volumes/Data2/cvs2svn/runf/cvs-mirror/tla/libsecurity_asn1/asn1/asn-useful.asn1,v 1.1 2003/02/19 19:06:35 dmitch Exp $
18 -- $Log: asn-useful.asn1,v $
19 -- Revision 1.1 2003/02/19 19:06:35 dmitch
20 -- Moved ASN source here from old Security/SecurityASN1 for documentation purposes.
21 --
22 -- Revision 1.1.1.1 2001/05/18 23:13:59 mb
23 -- Move from private repository to open source repository
24 --
25 -- Revision 1.1 2000/06/14 22:23:07 dmitch
26 -- New PKCS/CMS snacc-generated framework.
27 --
28 -- Revision 1.1.1.1 2000/03/09 00:59:54 rmurphy
29 -- Base Fortissimo Tree
30 --
31 -- Revision 1.2 1999/03/10 18:23:38 aram
32 -- Corrected definition of UTF8String.
33 --
34 -- Revision 1.1 1999/03/10 18:16:44 aram
35 -- Added UTF8String definition.
36 --
37 -- Revision 1.3 1995/07/24 15:12:35 rj
38 -- useful.asn1 renamed to asn-useful.asn1 to accomodate to snacc's new file name generation scheme.
39 --
40 -- Revision 1.2 1994/08/28 09:54:19 rj
41 -- comment leader fixed.
42 --
43 -- Revision 1.1 1994/08/28 09:51:15 rj
44 -- first check-in.
45
46
47 ObjectDescriptor ::= -- isPdu:"TRUE" --
48 [UNIVERSAL 7] IMPLICIT OCTET STRING
49
50 UTF8String ::= --snacc isPdu:"TRUE" --
51 [UNIVERSAL 12] IMPLICIT OCTET STRING
52
53 NumericString ::= --snacc isPdu:"TRUE" --
54 [UNIVERSAL 18] IMPLICIT OCTET STRING
55
56 PrintableString ::= --snacc isPdu:"TRUE" --
57 [UNIVERSAL 19] IMPLICIT OCTET STRING
58
59 TeletexString ::= --snacc isPdu:"TRUE" --
60 [UNIVERSAL 20] IMPLICIT OCTET STRING
61
62 T61String ::= --snacc isPdu:"TRUE" --
63 [UNIVERSAL 20] IMPLICIT OCTET STRING
64
65 VideotexString ::= --snacc isPdu:"TRUE" --
66 [UNIVERSAL 21] IMPLICIT OCTET STRING
67
68 IA5String ::= --snacc isPdu:"TRUE" --
69 [UNIVERSAL 22] IMPLICIT OCTET STRING
70
71 GraphicString ::= --snacc isPdu:"TRUE" --
72 [UNIVERSAL 25] IMPLICIT OCTET STRING
73
74 VisibleString ::= --snacc isPdu:"TRUE" --
75 [UNIVERSAL 26] IMPLICIT OCTET STRING
76
77 ISO646String ::= --snacc isPdu:"TRUE" --
78 [UNIVERSAL 26] IMPLICIT OCTET STRING
79
80 GeneralString ::= --snacc isPdu:"TRUE" --
81 [UNIVERSAL 27] IMPLICIT OCTET STRING
82
83 UTCTime ::= --snacc isPdu:"TRUE" --
84 [UNIVERSAL 23] IMPLICIT OCTET STRING
85
86 GeneralizedTime ::= --snacc isPdu:"TRUE" --
87 [UNIVERSAL 24] IMPLICIT OCTET STRING
88
89 UniversalString ::= --snacc isPdu:"TRUE" --
90 [UNIVERSAL 28] IMPLICIT OCTET STRING
91
92 BMPString ::= --snacc isPdu:"TRUE" --
93 [UNIVERSAL 30] IMPLICIT OCTET STRING
94
95 EXTERNAL ::= --snacc isPdu:"TRUE" -- [UNIVERSAL 8] IMPLICIT SEQUENCE
96 {
97 direct-reference OBJECT IDENTIFIER OPTIONAL,
98 indirect-reference INTEGER OPTIONAL,
99 data-value-descriptor ObjectDescriptor OPTIONAL,
100 encoding CHOICE
101 {
102 single-ASN1-type [0] OCTET STRING, -- should be ANY
103 octet-aligned [1] IMPLICIT OCTET STRING,
104 arbitrary [2] IMPLICIT BIT STRING
105 }
106 }
107
108 END -- of ASN-USEFUL type definitions