|
|
1.1 root 1: -- dase.py - co-resident DASE
2:
3: -- $Header: /f/osi/acsap/RCS/dase.py,v 7.1 90/07/09 14:30:53 mrose Exp $
4: --
5: --
6: -- $Log: dase.py,v $
7: -- Revision 7.1 90/07/09 14:30:53 mrose
8: -- sync
9: --
10: -- Revision 7.0 90/07/07 16:11:33 mrose
11: -- *** empty log message ***
12: --
13:
14: --
15: -- NOTICE
16: --
17: -- Acquisition, use, and distribution of this module and related
18: -- materials are subject to the restrictions of a license agreement.
19: -- Consult the Preface in the User's Manual for the full terms of
20: -- this agreement.
21: --
22: --
23:
24:
25: DASE DEFINITIONS ::=
26:
27: %{
28: #ifndef lint
29: static char *rcsid = "$Header: /f/osi/acsap/RCS/dase.py,v 7.1 90/07/09 14:30:53 mrose Exp $";
30: #endif
31: %}
32:
33: BEGIN
34:
35: Query-REQ ::=
36: [0] IMPLICIT
37: SEQUENCE {
38: name -- e.g., "cs, ucl, gb"
39: SEQUENCE OF
40: IA5String,
41:
42: interactive -- true IFF allow callbacks
43: BOOLEAN,
44:
45: envlist -- search list
46: SEQUENCE OF
47: Environment,
48:
49: context -- e.g., "iso ftam"
50: IA5String
51: }
52:
53: Environment ::=
54: SEQUENCE {
55: upper
56: INTEGER,
57:
58: lower
59: INTEGER,
60:
61: path
62: SEQUENCE OF
63: IA5String
64: }
65:
66: Callback-REQ ::=
67: [1] IMPLICIT
68: SEQUENCE {
69: string -- e.g., "smith"
70: IA5String,
71:
72: choices -- list of possible matches
73: SEQUENCE OF
74: Pair
75: }
76:
77: Pair ::=
78: SEQUENCE {
79: friendly
80: IA5String,
81:
82: complete
83: IA5String
84: }
85:
86: Callback-RSP ::=
87: [2] IMPLICIT
88: SEQUENCE OF
89: IA5String
90:
91: Query-RSP ::=
92: [3] IMPLICIT
93: SEQUENCE {
94: friendly[0] -- friendly name
95: IA5String
96: OPTIONAL,
97:
98: name[1] -- a DN in Directory ASN
99: ANY
100: OPTIONAL,
101:
102: value[2] -- a PSAPaddr in Directory ASN
103: ANY
104: OPTIONAL,
105:
106: diagnostic[3] -- in case of error
107: IA5String
108: OPTIONAL
109: }
110:
111:
112: -- auxiliary types to make coding easier
113:
114: Message ::=
115: CHOICE {
116: query-request
117: Query-REQ,
118:
119: callback-request
120: Callback-REQ,
121:
122: callback-response
123: Callback-RSP,
124:
125: query-response
126: Query-RSP
127: }
128:
129: Provider-RSP ::=
130: CHOICE {
131: callback
132: Callback-REQ,
133:
134: answer
135: Query-RSP
136: }
137:
138: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.