]> git.saurik.com Git - apple/security.git/blob - SecuritySNACCRuntime/asn1specs/asn-useful.asn1
Security-54.1.7.tar.gz
[apple/security.git] / SecuritySNACCRuntime / asn1specs / 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: /cvs/root/Security/SecuritySNACCRuntime/asn1specs/Attic/asn-useful.asn1,v 1.1.1.1 2001/05/18 23:14:05 mb Exp $
18 -- $Log: asn-useful.asn1,v $
19 -- Revision 1.1.1.1 2001/05/18 23:14:05 mb
20 -- Move from private repository to open source repository
21 --
22 -- Revision 1.2 2000/06/08 19:58:05 dmitch
23 -- Added UTF8String.
24 --
25 -- Revision 1.1.1.1 1999/03/16 18:05:55 aram
26 -- Originals from SMIME Free Library.
27 --
28 -- Revision 1.3 1995/07/24 15:12:35 rj
29 -- useful.asn1 renamed to asn-useful.asn1 to accomodate to snacc's new file name generation scheme.
30 --
31 -- Revision 1.2 1994/08/28 09:54:19 rj
32 -- comment leader fixed.
33 --
34 -- Revision 1.1 1994/08/28 09:51:15 rj
35 -- first check-in.
36
37
38 ObjectDescriptor ::= -- isPdu:"TRUE" --
39 [UNIVERSAL 7] IMPLICIT OCTET STRING
40
41 UTF8String ::= --snacc isPdu:"TRUE" --
42 [UNIVERSAL 12] IMPLICIT OCTET STRING
43
44 NumericString ::= --snacc isPdu:"TRUE" --
45 [UNIVERSAL 18] IMPLICIT OCTET STRING
46
47 PrintableString ::= --snacc isPdu:"TRUE" --
48 [UNIVERSAL 19] IMPLICIT OCTET STRING
49
50 TeletexString ::= --snacc isPdu:"TRUE" --
51 [UNIVERSAL 20] IMPLICIT OCTET STRING
52
53 T61String ::= --snacc isPdu:"TRUE" --
54 [UNIVERSAL 20] IMPLICIT OCTET STRING
55
56 VideotexString ::= --snacc isPdu:"TRUE" --
57 [UNIVERSAL 21] IMPLICIT OCTET STRING
58
59 IA5String ::= --snacc isPdu:"TRUE" --
60 [UNIVERSAL 22] IMPLICIT OCTET STRING
61
62 GraphicString ::= --snacc isPdu:"TRUE" --
63 [UNIVERSAL 25] IMPLICIT OCTET STRING
64
65 VisibleString ::= --snacc isPdu:"TRUE" --
66 [UNIVERSAL 26] IMPLICIT OCTET STRING
67
68 ISO646String ::= --snacc isPdu:"TRUE" --
69 [UNIVERSAL 26] IMPLICIT OCTET STRING
70
71 GeneralString ::= --snacc isPdu:"TRUE" --
72 [UNIVERSAL 27] IMPLICIT OCTET STRING
73
74 UTCTime ::= --snacc isPdu:"TRUE" --
75 [UNIVERSAL 23] IMPLICIT OCTET STRING
76
77 GeneralizedTime ::= --snacc isPdu:"TRUE" --
78 [UNIVERSAL 24] IMPLICIT OCTET STRING
79
80 UniversalString ::= --snacc isPdu:"TRUE" --
81 [UNIVERSAL 28] IMPLICIT OCTET STRING
82
83 BMPString ::= --snacc isPdu:"TRUE" --
84 [UNIVERSAL 30] IMPLICIT OCTET STRING
85
86 EXTERNAL ::= --snacc isPdu:"TRUE" -- [UNIVERSAL 8] IMPLICIT SEQUENCE
87 {
88 direct-reference OBJECT IDENTIFIER OPTIONAL,
89 indirect-reference INTEGER OPTIONAL,
90 data-value-descriptor ObjectDescriptor OPTIONAL,
91 encoding CHOICE
92 {
93 single-ASN1-type [0] OCTET STRING, -- should be ANY
94 octet-aligned [1] IMPLICIT OCTET STRING,
95 arbitrary [2] IMPLICIT BIT STRING
96 }
97 }
98
99 END -- of ASN-USEFUL type definitions