"Fossies" - the Fresh Open Source Software Archive

Member "otp_src_22.1/lib/asn1/test/asn1_SUITE_data/rfcs/ACSE-1.asn1" (17 Sep 2019, 10590 Bytes) of package /linux/misc/otp_src_22.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 -- Module ACSE-1 (X.237:04/1995)
    2 ACSE-1 {joint-iso-itu-t association-control(2) modules(0) apdus(0) version1(1)}
    3 --  ACSE-1 refers to ACSE version 1
    4 DEFINITIONS ::=
    5 BEGIN
    6 
    7 EXPORTS
    8   acse-as-id, ACSE-apdu, aCSE-id, Application-context-name, AP-title,
    9     AE-qualifier, AE-title, AP-invocation-identifier, AE-invocation-identifier,
   10     Mechanism-name, Authentication-value, ACSE-requirements, ObjectSet;
   11 
   12 IMPORTS
   13   Name, RelativeDistinguishedName
   14     FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
   15       informationFramework(1) 3};
   16 
   17 --  The data types Name and RelativeDistinguishedName are imported from ISO/IEC 9594-2.
   18 --  object identifier assignments
   19 acse-as-id OBJECT IDENTIFIER ::=
   20   {joint-iso-itu-t association-control(2) abstract-syntax(1) apdus(0)
   21    version1(1)}
   22 
   23 --  may be used to reference the abstract syntax of the ACSE APDUs
   24 aCSE-id OBJECT IDENTIFIER ::=
   25   {joint-iso-itu-t association-control(2) ase-id(3) acse-ase(1) version(1)}
   26 
   27 --  may be used to identify the Association Control ASE.
   28 --  top level CHOICE
   29 ACSE-apdu ::= CHOICE {
   30   aarq  AARQ-apdu,
   31   aare  AARE-apdu,
   32   rlrq  RLRQ-apdu,
   33   rlre  RLRE-apdu,
   34   abrt  ABRT-apdu,
   35   ...
   36 }
   37 
   38 AARQ-apdu ::= [APPLICATION 0] IMPLICIT SEQUENCE {
   39   protocol-version
   40     [0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
   41   application-context-name          [1]  Application-context-name,
   42   called-AP-title                   [2]  AP-title OPTIONAL,
   43   called-AE-qualifier               [3]  AE-qualifier OPTIONAL,
   44   called-AP-invocation-identifier   [4]  AP-invocation-identifier OPTIONAL,
   45   called-AE-invocation-identifier   [5]  AE-invocation-identifier OPTIONAL,
   46   calling-AP-title                  [6]  AP-title OPTIONAL,
   47   calling-AE-qualifier              [7]  AE-qualifier OPTIONAL,
   48   calling-AP-invocation-identifier  [8]  AP-invocation-identifier OPTIONAL,
   49   calling-AE-invocation-identifier  [9]  AE-invocation-identifier OPTIONAL,
   50   --  The following field shall not be present if only the Kernel is used.
   51   sender-acse-requirements          [10] IMPLICIT ACSE-requirements OPTIONAL,
   52   --  The following field shall only be present if the Authentication functional unit is selected.
   53   mechanism-name                    [11] IMPLICIT Mechanism-name OPTIONAL,
   54   --  The following field shall only be present if the Authentication functional unit is selected.
   55   calling-authentication-value      [12] EXPLICIT Authentication-value OPTIONAL,
   56   application-context-name-list
   57     [13] IMPLICIT Application-context-name-list OPTIONAL,
   58   --  The above field shall only be present if the Application Context Negotiation functional unit is selected
   59   implementation-information        [29] IMPLICIT Implementation-data OPTIONAL,
   60   ...,
   61   ...,
   62   user-information
   63     [30] IMPLICIT Association-information OPTIONAL
   64 }
   65 
   66 AARE-apdu ::= [APPLICATION 1] IMPLICIT SEQUENCE {
   67   protocol-version
   68     [0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
   69   application-context-name             [1]  Application-context-name,
   70   result                               [2]  Associate-result,
   71   result-source-diagnostic             [3]  Associate-source-diagnostic,
   72   responding-AP-title                  [4]  AP-title OPTIONAL,
   73   responding-AE-qualifier              [5]  AE-qualifier OPTIONAL,
   74   responding-AP-invocation-identifier  [6]  AP-invocation-identifier OPTIONAL,
   75   responding-AE-invocation-identifier  [7]  AE-invocation-identifier OPTIONAL,
   76   --  The following field shall not be present if only the Kernel is used.
   77   responder-acse-requirements          [8] IMPLICIT ACSE-requirements OPTIONAL,
   78   --  The following field shall only be present if the Authentication functional unit is selected.
   79   mechanism-name                       [9] IMPLICIT Mechanism-name OPTIONAL,
   80   --  This following field shall only be present if the Authentication functional unit is selected.
   81   responding-authentication-value
   82     [10] EXPLICIT Authentication-value OPTIONAL,
   83   application-context-name-list
   84     [11] IMPLICIT Application-context-name-list OPTIONAL,
   85   --  The above field shall only be present if the Application Context Negotiation functional unit is selected
   86   implementation-information
   87     [29] IMPLICIT Implementation-data OPTIONAL,
   88   ...,
   89   ...,
   90   user-information
   91     [30] IMPLICIT Association-information OPTIONAL
   92 }
   93 
   94 RLRQ-apdu ::= [APPLICATION 2] IMPLICIT SEQUENCE {
   95   reason            [0] IMPLICIT Release-request-reason OPTIONAL,
   96   ...,
   97   ...,
   98   user-information  [30] IMPLICIT Association-information OPTIONAL
   99 }
  100 
  101 RLRE-apdu ::= [APPLICATION 3] IMPLICIT SEQUENCE {
  102   reason            [0] IMPLICIT Release-response-reason OPTIONAL,
  103   ...,
  104   ...,
  105   user-information  [30] IMPLICIT Association-information OPTIONAL
  106 }
  107 
  108 ABRT-apdu ::= [APPLICATION 4] IMPLICIT SEQUENCE {
  109   abort-source      [0] IMPLICIT ABRT-source,
  110   abort-diagnostic  [1] IMPLICIT ABRT-diagnostic OPTIONAL,
  111   --  This field shall not be present if only the Kernel is used.
  112   ...,
  113   ...,
  114   user-information  [30] IMPLICIT Association-information OPTIONAL
  115 }
  116 
  117 ABRT-diagnostic ::= ENUMERATED {
  118   no-reason-given(1), protocol-error(2),
  119   authentication-mechanism-name-not-recognized(3),
  120   authentication-mechanism-name-required(4), authentication-failure(5),
  121   authentication-required(6), ...
  122   }
  123 
  124 ABRT-source ::= INTEGER {acse-service-user(0), acse-service-provider(1)
  125 }(0..1, ...)
  126 
  127 ACSE-requirements ::= BIT STRING {
  128   authentication(0), application-context-negotiation(1)}
  129 
  130 Application-context-name-list ::= SEQUENCE OF Application-context-name
  131 
  132 Application-context-name ::= OBJECT IDENTIFIER
  133 
  134 --  Application-entity title productions follow (not in alphabetical order)
  135 AP-title ::= CHOICE {
  136   ap-title-form1  AP-title-form1,
  137   ap-title-form2  AP-title-form2,
  138   ...
  139 }
  140 
  141 AE-qualifier ::= CHOICE {
  142   ae-qualifier-form1  AE-qualifier-form1,
  143   ae-qualifier-form2  AE-qualifier-form2,
  144   ...
  145 }
  146 
  147 --  When both AP-title and AE-qualifier data values are present in an AARQ or AARE APDU, both must
  148 --  have the same form to allow the construction of an AE-title as discussed in CCITT Rec. X.665 |
  149 --  ISO/IEC 9834-6.
  150 AP-title-form1 ::=
  151   Name
  152 
  153 --  The value assigned to AP-title-form1 is The Directory Name of an application-process title.
  154 AE-qualifier-form1 ::=
  155   RelativeDistinguishedName
  156 
  157 --  The value assigned to AE-qualifier-form1 is the relative distinguished name of a particular
  158 --  application-entity of the application-process identified by AP-title-form1.
  159 AP-title-form2 ::= OBJECT IDENTIFIER
  160 
  161 AE-qualifier-form2 ::= INTEGER
  162 
  163 AE-title ::= CHOICE {
  164   ae-title-form1  AE-title-form1,
  165   ae-title-form2  AE-title-form2,
  166   ...
  167 }
  168 
  169 --  As defined in CCITT Rec. X.650 | ISO 7498-3, an application-entity title is composed of an application-
  170 --  process title and an application-entity qualifier.  The ACSE protocol provides for the transfer of an
  171 --  application-entity title value by the transfer of its component values.  However, the following data type
  172 --  is provided for International Standards that reference a single syntactic structure for AE titles.
  173 AE-title-form1 ::=
  174   Name
  175 
  176 --  For access to The Directory (ITU-T Rec. X.500-Series | ISO/IEC 9594), an AE title has AE-title-form1.
  177 --  This value can be constructed from AP-title-form1 and AE-qualifier-form1 values contained in an
  178 --  AARQ or AARE APDU. A discussion of forming an AE-title-form1 from AP-title-form1 and AE-qualifier-
  179 --  form1 may be found in CCITT Rec. X.665 | ISO/IEC 9834-6.
  180 AE-title-form2 ::= OBJECT IDENTIFIER
  181 
  182 --  A discussion of forming an AE-title-form2 from AP-title-form2 and AE-qualifier-form2 may be
  183 --  found in CCITT Rec. X.665 | ISO/IEC 9834-6.
  184 AE-invocation-identifier ::= INTEGER
  185 
  186 AP-invocation-identifier ::= INTEGER
  187 
  188 --  End of Application-entity title productions
  189 Associate-result ::= INTEGER {
  190   accepted(0), rejected-permanent(1), rejected-transient(2)}(0..2, ...)
  191 
  192 Associate-source-diagnostic ::= CHOICE {
  193   acse-service-user
  194     [1]  INTEGER {null(0), no-reason-given(1),
  195                   application-context-name-not-supported(2),
  196                   calling-AP-title-not-recognized(3),
  197                   calling-AP-invocation-identifier-not-recognized(4),
  198                   calling-AE-qualifier-not-recognized(5),
  199                   calling-AE-invocation-identifier-not-recognized(6),
  200                   called-AP-title-not-recognized(7),
  201                   called-AP-invocation-identifier-not-recognized(8),
  202                   called-AE-qualifier-not-recognized(9),
  203                   called-AE-invocation-identifier-not-recognized(10),
  204                   authentication-mechanism-name-not-recognized(11),
  205                   authentication-mechanism-name-required(12),
  206                   authentication-failure(13), authentication-required(14)}
  207                                                                     (0..14, ...),
  208   acse-service-provider
  209     [2]  INTEGER {null(0), no-reason-given(1), no-common-acse-version(2)}
  210                                                                     (0..2, ...)
  211 }
  212 
  213 Association-information ::= SEQUENCE SIZE (1, ..., 0 | 2..MAX) OF EXTERNAL
  214 
  215 Authentication-value ::= CHOICE {
  216   charstring  [0] IMPLICIT GraphicString,
  217   bitstring   [1] IMPLICIT BIT STRING,
  218   external    [2] IMPLICIT EXTERNAL,
  219   other
  220     [3] IMPLICIT SEQUENCE {other-mechanism-name
  221                              MECHANISM-NAME.&id({ObjectSet}),
  222                            other-mechanism-value
  223                              MECHANISM-NAME.&Type
  224                                ({ObjectSet}{@.other-mechanism-name})}
  225 }
  226 
  227 --  The abstract syntax of (calling/responding) authentication-value is determined by the authentication
  228 --  mechanism used during association establishment.  The authentication mechanism is either explicitly
  229 --  denoted by the &id field (of type OBJECT IDENTIFIER) for a mechanism belonging to the class 
  230 --  MECHANISM-NAME, or it is known implicitly by
  231 --  prior agreement between the communicating partners.  If the "other" component is chosen, then 
  232 --  the "mechanism-name" component must be present in accordance with
  233 --  ITU-T Rec. X.680 | ISO/IEC 8824. If the value "mechanism-name" occurs in the AARQ-apdu or the
  234 --  AARE-apdu, then that value must be the same as the value for "other-mechanism-name"
  235 Implementation-data ::= GraphicString
  236 
  237 Mechanism-name ::= OBJECT IDENTIFIER
  238 
  239 MECHANISM-NAME ::= TYPE-IDENTIFIER
  240 
  241 ObjectSet MECHANISM-NAME ::=
  242   {...}
  243 
  244 Release-request-reason ::= INTEGER {normal(0), urgent(1), user-defined(30)
  245 }(0 | 1 | 30, ...)
  246 
  247 Release-response-reason ::= INTEGER {
  248   normal(0), not-finished(1), user-defined(30)}(0 | 1 | 30, ...)
  249 
  250 END
  251 
  252 -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
  253