Annotation of 43BSDReno/contrib/isode-beta/acsap/acs.py, revision 1.1.1.1

1.1       root        1: -- acs.py - AcSAP definitions
                      2: --     lifted directly from ISO8650
                      3:     
                      4: -- $Header: /f/osi/acsap/RCS/acs.py,v 7.1 90/07/09 14:30:23 mrose Exp $
                      5: --
                      6: --
                      7: -- $Log:       acs.py,v $
                      8: -- Revision 7.1  90/07/09  14:30:23  mrose
                      9: -- sync
                     10: -- 
                     11: -- Revision 7.0  89/11/23  21:21:43  mrose
                     12: -- Release 6.0
                     13: -- 
                     14: 
                     15: --
                     16: --                               NOTICE
                     17: --
                     18: --    Acquisition, use, and distribution of this module and related
                     19: --    materials are subject to the restrictions of a license agreement.
                     20: --    Consult the Preface in the User's Manual for the full terms of
                     21: --    this agreement.
                     22: --
                     23: --
                     24: 
                     25: 
                     26: --* ACSE-1 *-- ACS DEFINITIONS ::=
                     27: 
                     28: %{
                     29: #ifndef        lint
                     30: static char *rcsid = "$Header: /f/osi/acsap/RCS/acs.py,v 7.1 90/07/09 14:30:23 mrose Exp $";
                     31: #endif
                     32: %}
                     33: 
                     34: BEGIN
                     35: 
                     36: -- ACSE-1 refers to ACSE version 1
                     37: 
                     38: ACSE-apdu ::=
                     39:         CHOICE {
                     40:             aarq
                     41:                 AARQ-apdu,
                     42: 
                     43:             aare
                     44:                 AARE-apdu,
                     45: 
                     46:             rlrq
                     47:                 RLRQ-apdu,
                     48: 
                     49:             rlre
                     50:                 RLRE-apdu,
                     51: 
                     52:             abrt
                     53:                 ABRT-apdu
                     54:         }
                     55: 
                     56: 
                     57: AARQ-apdu ::=
                     58:     [APPLICATION 0]
                     59:         IMPLICIT SEQUENCE {
                     60:             protocol-version[0]
                     61:                 IMPLICIT BIT STRING {
                     62:                     version1(0)
                     63:                 }
                     64:                 DEFAULT { version1 },
                     65: 
                     66:             application-context-name[1]
                     67:                 Application-context-name,
                     68: 
                     69:             called-AP-title[2]
                     70:                 AP-title
                     71:                 OPTIONAL,
                     72: 
                     73:             called-AE-qualifier[3]
                     74:                 AE-qualifier
                     75:                 OPTIONAL,
                     76: 
                     77:             called-AP-invocation-id[4]
                     78:                 AP-invocation-id
                     79:                 OPTIONAL,
                     80: 
                     81:             called-AE-invocation-id[5]
                     82:                 AE-invocation-id
                     83:                 OPTIONAL,
                     84: 
                     85:             calling-AP-title[6]
                     86:                 AP-title
                     87:                 OPTIONAL,
                     88: 
                     89:             calling-AE-qualifier[7]
                     90:                 AE-qualifier
                     91:                 OPTIONAL,
                     92: 
                     93:             calling-AP-invocation-id[8]
                     94:                 AP-invocation-id
                     95:                 OPTIONAL,
                     96: 
                     97:             calling-AE-invocation-id[9]
                     98:                 AE-invocation-id
                     99:                 OPTIONAL,
                    100: 
                    101:             implementation-information[29]
                    102:                 IMPLICIT Implementation-data
                    103:                 OPTIONAL,
                    104: 
                    105:             user-information[30]
                    106:                 IMPLICIT Association-information
                    107:                 OPTIONAL
                    108:         }
                    109: 
                    110: 
                    111: AARE-apdu ::=
                    112:     [APPLICATION 1]
                    113:         IMPLICIT SEQUENCE {
                    114:             protocol-version[0]
                    115:                 IMPLICIT BIT STRING {
                    116:                     version1(0)
                    117:                 }
                    118:                 DEFAULT { version1 },
                    119: 
                    120:             application-context-name[1]
                    121:                 Application-context-name,
                    122: 
                    123:             result[2]
                    124:                 --* Associate-result, *--
                    125:                INTEGER {                       --* *--
                    126:                    accepted(0),                --* *--
                    127:                    rejected-permanent(1),      --* *--
                    128:                    rejected-transient(2)       --* *--
                    129:                },                              --* *--
                    130: 
                    131:             result-source-diagnostic[3]
                    132:                 Associate-source-diagnostic,
                    133: 
                    134:             responding-AP-title[4]
                    135:                 AP-title
                    136:                 OPTIONAL,
                    137: 
                    138:             responding-AE-qualifier[5]
                    139:                 AE-qualifier
                    140:                 OPTIONAL,
                    141: 
                    142:             responding-AP-invocation-id[6]
                    143:                 AP-invocation-id
                    144:                 OPTIONAL,
                    145: 
                    146:             responding-AE-invocation-id[7]
                    147:                 AE-invocation-id
                    148:                 OPTIONAL,
                    149: 
                    150:             implementation-information[29]
                    151:                 IMPLICIT Implementation-data
                    152:                 OPTIONAL,
                    153: 
                    154:             user-information[30]
                    155:                 IMPLICIT Association-information
                    156:                 OPTIONAL
                    157:         }
                    158: 
                    159: 
                    160: RLRQ-apdu ::=
                    161:     [APPLICATION 2]
                    162:         IMPLICIT SEQUENCE {
                    163:             reason[0]
                    164:                 IMPLICIT --* Release-request-reason *--
                    165:                INTEGER {                       --* *--
                    166:                    normal(0),                  --* *--
                    167:                    urgent(1),                  --* *--
                    168:                    user-defined(30)            --* *--
                    169:                }                               --* *--
                    170:                 OPTIONAL,
                    171: 
                    172:             user-information[30]
                    173:                 IMPLICIT Association-information
                    174:                 OPTIONAL
                    175:         }
                    176: 
                    177: 
                    178: RLRE-apdu ::=
                    179:     [APPLICATION 3]
                    180:         IMPLICIT SEQUENCE {
                    181:             reason[0]
                    182:                 IMPLICIT --* Release-response-reason *--
                    183:                INTEGER {                       --* *--
                    184:                    normal(0),                  --* *--
                    185:                    not-finished(1),            --* *--
                    186:                    user-defined(30)            --* *--
                    187:                }                               --* *--
                    188:                 OPTIONAL,
                    189: 
                    190:             user-information[30]
                    191:                 IMPLICIT Association-information
                    192:                 OPTIONAL
                    193:         }
                    194: 
                    195: 
                    196: ABRT-apdu ::=
                    197:     [APPLICATION 4]
                    198:         IMPLICIT SEQUENCE {
                    199:             abort-source[0]
                    200:             --* IMPLICIT ABRT-source, *--
                    201:                 IMPLICIT INTEGER {             --* *--
                    202:                     acse-service-user(0),      --* *--
                    203:                     acse-service-provider(1)   --* *--
                    204:                 },                             --* *--
                    205: 
                    206: 
                    207:             user-information[30]
                    208:                 IMPLICIT Association-information
                    209:                 OPTIONAL
                    210:         }
                    211: 
                    212: ABRT-source ::=
                    213:         INTEGER {
                    214:             acse-service-user(0),
                    215:             acse-service-provider(1)
                    216:         }
                    217: 
                    218: 
                    219: Application-context-name ::=
                    220:         OBJECT IDENTIFIER
                    221: 
                    222: 
                    223: AP-title ::=
                    224:         ANY
                    225:     -- The exact definition and values used for AP-title
                    226:     -- should be chosen taking into account the ongoing
                    227:     -- work in the areas of naming, the Directory, and the
                    228:     -- Registration Authority procedures for AP-titles,
                    229:     -- AE-titles and AE-qualifiers.
                    230: 
                    231: AE-qualifier ::=
                    232:         ANY
                    233:     -- The exact definition and values used for AE-qualifier
                    234:     -- should be chosen taking into account the ongoing
                    235:     -- work in the areas of naming, the Directory, and the
                    236:     -- Registration Authority procedures for AP-titles,
                    237:     -- AE-titles and AE-qualifiers.
                    238: 
                    239: -- As defined in ISO 7498-3, an application-entity title is composed of
                    240: -- an application-process title and an application-entity qualifier.
                    241: -- The ACSE protocol provides for the transfer of an application-entity
                    242: -- title value by the transfer of its component values.  However, the
                    243: -- following data type is provided by reference for other International
                    244: -- Standards that require a single syntactic structure for AE-titles.
                    245: 
                    246: AE-title ::=
                    247:         SEQUENCE {
                    248:            title --* *--
                    249:                AP-title,
                    250: 
                    251:            qualifier --* *--
                    252:                AE-qualifier
                    253:        }
                    254: 
                    255: AE-invocation-id ::=
                    256:         INTEGER
                    257: 
                    258: AP-invocation-id ::=
                    259:         INTEGER
                    260: 
                    261: 
                    262: Associate-result ::=
                    263:         INTEGER {
                    264:             accepted(0),
                    265:             rejected-permanent(1),
                    266:             rejected-transient(2)
                    267:         }
                    268: 
                    269: Associate-source-diagnostic ::=
                    270:         CHOICE {
                    271:             acse-service-user[1]
                    272:                 INTEGER {
                    273:                     null(0),
                    274:                     no-reason-given(1),
                    275:                     application-context-name-not-supported(2),
                    276:                     calling-AP-title-not-recognized(3),
                    277:                     calling-AP-invocation-identifier-not-recognized(4),
                    278:                     calling-AE-qualifier-not-recognized(5),
                    279:                     calling-AE-invocation-id-not-recognized(6),
                    280:                     called-AP-title-not-recognized(7),
                    281:                     called-AP-invocation-identifier-not-recognized(8),
                    282:                     called-AE-qualifier-not-recognized(9),
                    283:                     called-AE-invocation-id-not-recognized(10)
                    284:                 },
                    285: 
                    286:             acse-service-provider[2]
                    287:                 INTEGER {
                    288:                     null(0),
                    289:                     no-reason-given(1),
                    290:                     no-common-acse-version(2)
                    291:                 }
                    292:         }
                    293: 
                    294: Association-information ::=
                    295:         SEQUENCE OF
                    296:             EXTERNAL
                    297: 
                    298: Implementation-data ::=
                    299:         GraphicString
                    300: 
                    301: Release-request-reason ::=
                    302:         INTEGER {
                    303:             normal(0),
                    304:             urgent(1),
                    305:             user-defined(30)
                    306:         }
                    307: 
                    308: Release-response-reason ::=
                    309:         INTEGER {
                    310:             normal(0),
                    311:             not-finished(1),
                    312:             user-defined(30)
                    313:         }
                    314: 
                    315: END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.