+```
+
+#### G.3.1.2 Determining if a caller's FacetID is authorized for an AppID
+
+1. If the AppID is not an HTTPS URL and matches the FacetID of the caller, no additional processing is necessary and the operation may proceed.
+
+2. If the AppID is null or empty, the client MUST set the AppID to be the FacetID of the caller and the operation may proceed without additional processing.
+3. If the caller's FacetID is an `https://` Origin sharing the same host as the AppID, (e.g., if an application hosted at `https://fido.example.com/myApp` set an AppID of `https://fido.example.com/myAppId`), no additional processing is necessary and the operation may proceed. This algorithm MAY be continued asynchronously for purposes of caching the Trusted Facet List, if desired.
+4. Begin to fetch the trusted facet list using the HTTP GET method. The location MUST be identified with an HTTPS URL.
+5. The URL MUST be dereferenced with an anonymous fetch. That is, the HTTP GET MUST include no cookies, authentication, Origin or Referer headers and present no TLS certificates or other forms of credentials.
+6. The response MUST set a MIME Content-Type of "application/fido.trusted-apps+json".
+7. The caching related HTTP header fields in the HTTP response (e.g., "Expires") SHOULD be respected when fetching a Trusted Facets List.
+8. The server hosting the Trusted Facets List MUST respond uniformly to all clients. That is, it MUST NOT vary the contents of the response body based on any credential material, including ambient authority such as originating IP address, supplied with the request.
+9. If the server returns an HTTP redirect (status code 3xx) the server MUST also send the HTTP header `FIDO-AppID-Redirect-Authorized: true` and the client MUST verify the presence of such a header before following the redirect. This protects against abuse of open redirectors within the target domain by unauthorized parties. If this check has passed, restart this algorithm from step 4.
+10. A trusted facet list MAY contain an unlimited number of entries, but clients MAY truncate or decline to process large responses.
+11. From among the objects in the `trustedFacet` array, select the one with the `version` matching that of the protocol message version.
+12. The scheme of URLs in `ids` MUST identify either an application identity (e.g., using the `apk:`, `ios:` or similar scheme) or an `https:` Web Origin [IETF RFC 6454].
+13. Entries in `ids` using the `https://` scheme MUST contain only scheme, host and port components, with an optional trailing /. Any path, query string, username/password, or fragment information MUST be discarded.
+14. All Web Origins listed MUST have host names under the scope of the same least-specific private label in the DNS, using the following algorithm:
+ 1. Obtain the list of public DNS suffixes from [https://publicsuffix.org/list/effective\\_tld\\_names.dat](https://publicsuffix.org/list/effective_tld_names.dat) (the client MAY cache such data), or equivalent functionality as available on the platform.
+ 2. Extract the host portion of the original AppID URL, before following any redirects.
+ 3. The least-specific private label is the portion of the host portion of the AppID URL that matches a public suffix plus one additional label to the left.
+ 4. For each Web Origin in the TrustedFacets list, the calculation of the least-specific private label in the DNS MUST be a case-insensitive match of that of the AppID URL itself. Entries that do not match MUST be discarded.
+15. If the TrustedFacets list cannot be retrieved and successfully parsed according to these rules, the client MUST abort processing of the requested FIDO operation.
+16. After processing the `trustedFacets` entry of the correct `version` and removing any invalid entries, if the caller's FacetID matches one listed in `ids`, the operation is allowed.
+
+#### G.3.1.3 TrustedFacets structure
+
+The JSON resource hosted at the AppID URL consists of a dictionary containing a single member, `trustedFacets` which is an array of `TrustedFacets` dictionaries.
+
+---
+
+```
+dictionary TrustedFacets {
+ Version version;
+ DOMString[] ids;
+};
+```
+
+---
+
+##### G.3.1.3.1 Dictionary `TrustedFacets` members
+
+`version` of type `Version`
+
+The protocol version to which this set of trusted facets applies. See Annex A for the definition of the `version` structure.
+
+`ids` of type array of `DOMString`
+
+An array of URLs identifying authorized facets for this AppID.
+
+#### G.3.1.4 AppID example 1:
+
+".com" is a public suffix. "https://www.example.com/appID" is provided as an AppID. The body of the resource at this location contains:
+
+EXAMPLE
+
+```
+{
+ "trustedFacets" : [{
+ "version": { "major": 1, "minor" : 0 },
+ "ids": [
+ "https://register.example.com", // VALID, shares "example.com" label
+ "https://fido.example.com", // VALID, shares "example.com" label
+ "http://www.example.com", // DISCARD, scheme is not https:
+ "http://www.example-test.com", // DISCARD, "example-test.com" does not match
+ "https://www.example.com:444" // VALID, port is not significant
+ ]
+ }
+}]
+```
+
+For this policy, "https://www.example.com" and "https://register.example.com" would have access to the keys registered for this AppID and "https://user1.example.com" would not.
+
+#### G.3.1.5 AppID example 2:
+
+"hosting.example.com" is a public suffix, operated under "example.com" and used to provide hosted cloud services for many companies. "https://companyA.hosting.example.com/appID" is provided as an AppID. The body of the resource at this location contains:
+
+EXAMPLE
+
+```
+{
+ "trustedFacets" : [{
+ "version": { "major": 1, "minor" : 0 },
+ "ids": [
+ "https://register.example.com", // DISCARD, does not share "companyA.hosting.example.com" label
+ "https://fido.companyA.hosting.example.com", // VALID, shares "companyA.hosting.example.com" label
+ "https://xyz.companyA.hosting.example.com", // VALID, shares "companyA.hosting.example.com" label
+ "https://companyB.hosting.example.com" // DISCARD, "companyB.hosting.example.com" does not match
+ ]
+ }
+}]
+```
+
+For this policy, "https://fido.companyA.hosting.example.com" would have access to the keys registered for this AppID and "https://register.example.com" and "https://companyB.hosting.example.com" would not as a public-suffix exists between these DNS names and the AppID's.
+
+#### G.3.1.6 Obtaining FacetID of Android native app
+
+The following code demonstrates how a FIDO client can obtain and construct the FacetID of a calling Android native application.
+
+##### EXAMPLE: ANDROIDFACETID
+
+```
+private String getFacetID(Context aContext, int callingUid) {
+ String packageNames[] = aContext.getPackageManager().getPackagesForUid(callingUid);
+ if (packageNames == null) {
+ return null;
+ }
+ try {
+ PackageInfo info = aContext.getPackageManager().getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES);
+ byte[] cert = info.signatures[0].toByteArray();
+ InputStream input = new ByteArrayInputStream(cert);
+ CertificateFactory cf = CertificateFactory.getInstance("X509");
+ X509Certificate c = (X509Certificate) cf.generateCertificate(input);
+ MessageDigest md = MessageDigest.getInstance("SHA1");
+ return "android:apk-key-hash:" +
+ Base64.encodeToString(md.digest(c.getEncoded()), Base64.DEFAULT | Base64.NO_WRAP | Base64.NO_PADDING);
+ }
+ catch (PackageManager.NameNotFoundException e) {
+ e.printStackTrace();
+ }
+ catch (CertificateException e) {
+ e.printStackTrace();
+ }
+ catch (NoSuchAlgorithmException e) {
+ e.printStackTrace();
+ }
+ catch (CertificateEncodingException e) {
+ e.printStackTrace();
+ }
+ return null;
+}
+```
+
+#### G.3.1.7 Additional security considerations
+
+The UAF protocol supports passing FacetID to the FIDO server and including the FacetID in the computation of the authentication response.
+
+Trusting a web origin facet implicitly trusts all subdomains under the named entity because web user agents do not provide a security barrier between such origins. So, in AppID Example 1, although not explicitly listed, "https://foobar.register.example.com" would still have effective access to credentials registered for the AppID "https://www.example.com/appID" because it can effectively act as "https://register.example.com".
+
+The component implementing the controls described here must reliably identify callers to securely enforce the mechanisms. Platform inter-process communication mechanisms which allow such identification *SHOULD* be used when available.
+
+It is unlikely that the component implementing the controls described here can verify the integrity and intent of the entries on a [TrustedFacetList](#). If a trusted facet can be compromised or enlisted as a *confused deputy* (see clause 3.2.4) by a malicious party, it may be possible to trick a user into completing an authentication ceremony under the control of that malicious party.
+
+##### G.3.1.7.1 Wildcards in TrustedFacet identifiers
+
+Wildcards are not supported in TrustedFacet identifiers. This follows the advice of RFC6125 [IETF RFC 6125], clause 7.2.
+
+FacetIDs are URIs that uniquely identify specific security principals that are trusted to interact with a given registered credential. Wildcards introduce undesirable ambiguity in the definition of the principal, as there is no consensus syntax for what wildcards mean, how they are expanded and where
+
+they can occur across different applications and protocols in common use. For schemes indicating application identities, it is not clear that wildcarding is appropriate in any fashion. For Web origins, it broadly increases the scope of the credential to potentially include rogue or buggy hosts.
+
+Taken together, these ambiguities might introduce exploitable differences in identity checking behavior among client implementations and would necessitate overly complex and inefficient identity checking algorithms.
+
+# Annex H
+
+## FIDO metadata statements
+
+(This annex forms an integral part of this Recommendation.)
+
+## H.1 Summary
+
+FIDO authenticators may have many different form factors, characteristics and capabilities. This annex defines a standard means to describe the relevant pieces of information about an authenticator in order to interoperate with it, or to make risk-based policy decisions about transactions involving a particular authenticator.
+
+## H.2 Overview
+
+The FIDO family of protocols enable simpler and more secure online authentication utilizing a wide variety of different devices in a competitive marketplace. Much of the complexity behind this variety is hidden from relying party applications, but in order to accomplish the goals of FIDO, relying parties must have some means of discovering and verifying various characteristics of authenticators. Relying parties can learn a subset of verifiable information for authenticators certified by the FIDO Alliance with an authenticator metadata statement. The URL to access that metadata statement is provided by the Metadata TOC file accessible through the metadata service Annex I.
+
+For definitions of terms, please refer to clause 3.2 (FIDO glossary).
+
+### H.2.1 Scope
+
+This annex describes the format of and information contained in *Authenticator Metadata* statements. For a definitive list of possible values for the various types of information, refer to the FIDO registry of predefined values Annex J.
+
+The description of the processes and methods by which authenticator metadata statements are distributed and the methods how these statements can be verified are described in the Metadata service specification Annex I.
+
+### H.2.2 Audience
+
+The intended audience for this annex includes:
+
+- FIDO authenticator vendors who wish to produce metadata statements for their products.
+- FIDO server implementers who need to consume metadata statements to verify characteristics of authenticators and attestation statements, make proper algorithm choices for protocol messages, create policy statements or tailor various other modes of operation to authenticator-specific characteristics.
+- FIDO relying parties who wish to
+ - create custom policy statements about which authenticators they will accept
+ - risk score authenticators based on their characteristics
+ - verify attested authenticator IDs for cross-referencing with third party metadata
+
+### H.2.3 Architecture
+
+Figure H.1 shows the FIDO architecture.
+
+
+
+The diagram illustrates the FIDO architecture. On the left, an 'RP App' (grey hexagon) is connected via a double-headed arrow to an 'RP server' (grey hexagon). Below the RP App is a 'Platform (OS, browser)' (grey rectangle) containing a 'FIDO authenticator' (blue rectangle). Below the Platform is another 'FIDO authenticator' (blue rectangle). On the right, the 'RP server' is connected via a double-headed arrow to a 'FIDO server' (blue rectangle). Inside the FIDO server is a document icon labeled 'Metadata statement incl. attestation trust anchor'. Below the FIDO server is a 'FIDO metadata service' (blue rectangle). A dashed arrow points from the 'FIDO metadata service' to the 'Metadata statement' icon. A label 'Other metadata sources' points to the dashed arrow. The identifier 'X.1277(18)\_FH.1' is located at the bottom right of the diagram.
+
+Figure H.1 – FIDO architecture diagram showing the interaction between RP App, RP server, Platform (OS, browser), FIDO authenticator, FIDO server, and FIDO metadata service.
+
+**Figure H.1 – FIDO architecture**
+
+*Authenticator metadata statements* are used directly by the FIDO server at a relying party, but the information contained in the authoritative statement is used in several other places. How a server obtains these metadata statements is described in Annex I.
+
+The workflow around an authenticator metadata statement is as follows:
+
+1. The authenticator vendor produces a metadata statement describing the characteristics of an authenticator.
+2. The metadata statement is submitted to the FIDO Alliance as part of the FIDO certification process. The FIDO Alliance distributes the metadata as described in Annex I.
+3. A FIDO relying party configures its registration policy to allow authenticators matching certain characteristics to be registered.
+4. The FIDO server sends a registration challenge message. This message can contain such policy statement.
+5. Depending on the FIDO protocol being used, either the relying party application or the FIDO UAF client receives the policy statement as part of the challenge message and processes it. It queries available authenticators for their self-reported characteristics and (with the user's input) selects an authenticator that matches the policy, to be registered.
+6. The client processes and sends a registration response message to the server. This message contains a reference to the authenticator model and, optionally, a signature made with the private key corresponding to the public key in the authenticator's attestation certificate.
+7. The FIDO server looks up the metadata statement for the particular authenticator model. If the metadata statement lists an attestation certificate(s), it verifies that an attestation signature is present and made with the private key corresponding to either (a) one of the certificates listed in this metadata statement or (b) corresponding to the public key in a certificate that *chains* to one of the issuer certificates listed in the authenticator's metadata statement.
+
+8. The FIDO server next verifies that the authenticator meets the originally supplied registration policy based on its authoritative metadata statement. This prevents the registration of unexpected authenticator models.
+9. *Optionally*, a FIDO server may, with input from the relying party, assign a risk or trust score to the authenticator, based on its metadata, including elements not selected for by the stated policy.
+10. *Optionally*, a FIDO server may cross-reference the attested authenticator model with other metadata databases published by third parties. Such third-party metadata might, for example, inform the FIDO server if an authenticator has achieved certifications relevant to certain markets or industry verticals, or whether it meets application-specific regulatory requirements.
+
+## H.3 Types
+
+### H.3.1 CodeAccuracyDescriptor dictionary
+
+The `CodeAccuracyDescriptor` describes the relevant accuracy/complexity aspects of passcode user verification methods.
+
+NOTE 1 – One example of such a method is the use of 4 digit PIN codes for mobile phone SIM card unlock.
+
+NOTE 2 – The numeral system `base` (radix) and `minLen` is used instead of the number of potential combinations since there is sufficient evidence [b-iPhonePasscodes] [b-MoreTopWorstPasswords] that users do not select their code evenly distributed at random. So software might take into account the various probability distributions for different bases. This essentially means that in practice, passcodes are not as secure as they could be if randomly chosen.
+
+---
+
+```
+dictionary CodeAccuracyDescriptor {
+ required unsigned short base;
+ required unsigned short minLength;
+ unsigned short maxRetries;
+ unsigned short blockSlowdown;
+};
+```
+
+---
+
+#### H.3.1.1 Dictionary CodeAccuracyDescriptor members
+
+`base` of type `required unsigned short`
+
+The numeric system base (radix) of the code, e.g., 10 in the case of decimal digits.
+
+`minLength` of type `required unsigned short`
+
+The minimum number of digits of the given base required for that code, e.g., 4 in the case of 4 digits.
+
+`maxRetries` of type `unsigned short`
+
+Maximum number of false attempts before the authenticator will block this method (at least for some time). 0 means it will never block.
+
+`blockSlowdown` of type `unsigned short`
+
+Enforced minimum number of seconds wait time after blocking (e.g., due to forced reboot or similar). 0 means this user verification method will be blocked, either permanently or until an alternative user verification method succeeded. All alternative user verification methods MUST be specified appropriately in the Metadata in `userVerificationDetails`.
+
+### H.3.2 BiometricAccuracyDescriptor dictionary
+
+The `BiometricAccuracyDescriptor` describes relevant accuracy/complexity aspects in the case of a biometric user verification method.
+
+NOTE 1 – The *False Acceptance Rate* (FAR) and *False Rejection Rate* (FRR) values typically are interdependent via the *Receiver Operator Characteristic* (ROC) curve.
+
+NOTE 2 – The *False Artefact Acceptance Rate* (FAAR) value reflects the capability of detecting presentation attacks, such as the detection of rubber finger presentation.
+
+NOTE 3 – The FAR, FRR and FAAR values given here MUST reflect the actual configuration of the authenticators (as opposed to being theoretical best case values).
+
+At least one of the values MUST be set. If the vendor does not want to specify such values, then `VerificationMethodDescriptor.baDesc` MUST be omitted.
+
+NOTE – Typical fingerprint sensor characteristics can be found in Google Android 6.0 Compatibility Definition and Apple b-iOS Security Guide.
+
+---
+
+```
+dictionary BiometricAccuracyDescriptor {
+ double FAR;
+ double FRR;
+ double EER;
+ double FAAR;
+ unsigned short maxReferenceDataSets;
+ unsigned short maxRetries;
+ unsigned short blockSlowdown;
+};
+```
+
+---
+
+#### H.3.2.1 Dictionary `BiometricAccuracyDescriptor` members
+
+`FAR` of type `double`
+
+The false acceptance rate [ISO 19795-1] for a single reference data set, i.e., the percentage of non-matching data sets that are accepted as valid ones. For example a FAR of 0.002% would be encoded as 0.00002.
+
+NOTE 1 – The resulting FAR when all reference data sets are used is `maxReferenceDataSets * FAR`.
+
+NOTE 2 – The false acceptance rate is relevant for the security. Lower false acceptance rates mean better security.
+
+NOTE 3 – Only the live captured subjects are covered by this value – not the presentation of artefacts.
+
+`FRR` of type `double`
+
+The false rejection rate for a single reference data set, i.e., the percentage of presented valid data sets that lead to a (false) non-acceptance. For example a FRR of 10% would be encoded as 0.1.
+
+NOTE – The false rejection rate is relevant for the convenience. Lower false acceptance rates mean better convenience.
+
+`EER` of type `double`
+
+The equal error rate for a single reference data set.
+
+`FAAR` of type `double`
+
+The false artefact acceptance rate [ISO 30107-1], i.e., the percentage of artefacts that are incorrectly accepted by the system. For example a FAAR of 0.1% would be encoded as 0.001.
+
+NOTE – The false artefact acceptance rate is relevant for the security of the system. Lower false artefact acceptance rates imply better security.
+
+`maxReferenceDataSets` of type `unsigned short`
+
+Maximum number of alternative reference data sets, e.g., 3 if the user is allowed to enroll 3 different fingers to a fingerprint based authenticator.
+
+`maxRetries` of type `unsigned short`
+
+Maximum number of false attempts before the authenticator will block this method (at least for some time). 0 means it will never block.
+
+`blockSlowdown` of type `unsigned short`
+
+Enforced minimum number of seconds wait time after blocking (e.g., due to forced reboot or similar). 0 means that this user verification method will be blocked either permanently or until an alternative user verification method succeeded. All alternative user verification methods MUST be specified appropriately in the metadata in `userVerificationDetails`.
+
+### H.3.3 PatternAccuracyDescriptor dictionary
+
+The `PatternAccuracyDescriptor` describes relevant accuracy/complexity aspects in the case that a pattern is used as the user verification method.
+
+NOTE – One example of such a pattern is the 3x3 dot matrix as used in Android [b-AndroidUnlockPattern] screen unlock. The `minComplexity` would be 1624 in that case, based on the user choosing a 4-digit PIN, the minimum allowed for this mechanism.
+
+---
+
+```
+dictionary PatternAccuracyDescriptor {
+ required unsigned long minComplexity;
+ unsigned short maxRetries;
+ unsigned short blockSlowdown;
+};
+```
+
+---
+
+#### H.3.3.1 Dictionary `PatternAccuracyDescriptor` members
+
+`minComplexity` of type `required unsigned long`
+
+Number of possible patterns (having the minimum length) out of which exactly one would be the right one, i.e., 1/probability in the case of equal distribution.
+
+`maxRetries` of type `unsigned short`
+
+Maximum number of false attempts before the authenticator will block authentication using this method (at least temporarily). 0 means it will never block.
+
+`blockSlowdown` of type `unsigned short`
+
+Enforced minimum number of seconds wait time after blocking (due to forced reboot or similar mechanism). 0 means this user verification method will be blocked, either permanently or until an alternative user verification method method succeeded. All alternative user verification methods MUST be specified appropriately in the metadata under `userVerificationDetails`.
+
+### H.3.4 VerificationMethodDescriptor dictionary
+
+A descriptor for a specific *base user verification method* as implemented by the authenticator
+
+A base user verification method must be chosen from the list of those described in Annex J.
+
+NOTE – In reality, several of the methods described above might be combined. For example, a fingerprint based user verification can be combined with an alternative password.
+
+The specification of the related AccuracyDescriptor is optional, but recommended.
+
+---
+
+```
+dictionary VerificationMethodDescriptor {
+ required unsigned long userVerification;
+ CodeAccuracyDescriptor caDesc;
+ BiometricAccuracyDescriptor baDesc;
+ PatternAccuracyDescriptor paDesc;
+};
+```
+
+---
+
+#### H.3.4.1 Dictionary **VerificationMethodDescriptor** members
+
+`userVerification` of type `required unsigned long`
+
+a *single* `USER_VERIFY` constant (see Annex J), **not a bit flag combination**. This value **MUST** be non-zero.
+
+`caDesc` of type `CodeAccuracyDescriptor`
+
+May optionally be used in the case of method `USER_VERIFY_PASSCODE`.
+
+`baDesc` of type `BiometricAccuracyDescriptor`
+
+May optionally be used in the case of method `USER_VERIFY_FINGERPRINT`, `USER_VERIFY_VOICEPRINT`, `USER_VERIFY_FACEPRINT`, `USER_VERIFY_EYEPRINT`, **or** `USER_VERIFY_HANDPRINT`.
+
+`paDesc` of type `PatternAccuracyDescriptor`
+
+May optionally be used in case of method `USER_VERIFY_PATTERN`.
+
+### H.3.5 verificationMethodANDCombinations typedef
+
+---
+
+```
+typedef VerificationMethodDescriptor[] VerificationMethodANDCombinations;
+```
+
+---
+
+`VerificationMethodANDCombinations` **MUST** be non-empty. It is a list containing the base user verification methods which must be passed as part of a successful user verification.
+
+This list will contain only a single entry if using a single user verification method is sufficient.
+
+If this list contains multiple entries, then all of the listed user verification methods **MUST** be passed as part of the user verification process.
+
+### H.3.6 rgbPaletteEntry dictionary
+
+The `rgbPaletteEntry` is an RGB three-sample tuple palette entry
+
+---
+
+```
+dictionary rgbPaletteEntry {
+ required unsigned short r;
+ required unsigned short g;
+```
+
+---
+
+---
+
+```
+ required unsigned short b;
+};
+```
+
+---
+
+#### H.3.6.1 Dictionary **rgbPaletteEntry** members
+
+**r** of type **required unsigned short**
+
+Red channel sample value
+
+**g** of type **required unsigned short**
+
+Green channel sample value
+
+**b** of type **required unsigned short**
+
+Blue channel sample value
+
+### H.3.7 Displayb-PNGCharacteristicsDescriptor dictionary
+
+The Displayb-PNGCharacteristicsDescriptor describes a b-PNG image characteristics as defined in the PNG [b-PNG] spec for IHDR (image header) and PLTE (palette table).
+
+---
+
+```
+dictionary Displayb-PNGCharacteristicsDescriptor {
+ required unsigned long width;
+ required unsigned long height;
+ required octet bitDepth;
+ required octet colorType;
+ required octet compression;
+ required octet filter;
+ required octet interlace;
+ rgbPaletteEntry[] plte;
+};
+```
+
+---
+
+#### H.3.7.1 Dictionary **Displayb-PNGCharacteristicsDescriptor** members
+
+**width** of type **required unsigned long**
+
+image width
+
+**height** of type **required unsigned long**
+
+image height
+
+**bitDepth** of type **required octet**
+
+Bit depth – bits per sample or per palette index.
+
+**colorType** of type **required octet**
+
+Color type defines the b-PNG image type.
+
+**compression** of type **required octet**
+
+Compression method used to compress the image data.
+
+**filter** of type **required octet**
+
+Filter method is the preprocessing method applied to the image data before compression.
+
+*interlace* of type required octet
+
+Interlace method is the transmission order of the image data.
+
+*plte* of type array of *rgbPaletteEntry*
+
+1 to 256 palette entries
+
+### H.3.8 EcdaaTrustAnchor dictionary
+
+In the case of ECDAA attestation, the ECDAA-Issuer's trust anchor MUST be specified in this field.
+
+---
+
+```
+dictionary EcdaaTrustAnchor {
+ required DOMString X;
+ required DOMString Y;
+ required DOMString c;
+ required DOMString sx;
+ required DOMString sy;
+ required DOMString G1Curve;
+};
+```
+
+---
+
+#### H.3.8.1 Dictionary **EcdaaTrustAnchor** members
+
+*X* of type required DOMString
+
+base64url encoding of the result of ECPoint2ToB of the ECPoint2 $X = P_2^x$ . See Annex K for the definition of ECPoint2ToB.
+
+*Y* of type required DOMString
+
+base64url encoding of the result of ECPoint2ToB of the ECPoint2 $Y = P_2^y$ . See Annex K for the definition of ECPoint2ToB.
+
+*c* of type required DOMString
+
+base64url encoding of the result of BigNumberToB(c). See section "Issuer Specific ECDAA Parameters" in Annex K for an explanation of c. See Annex K for the definition of BigNumberToB.
+
+*sx* of type required DOMString
+
+base64url encoding of the result of BigNumberToB(sx). See section "Issuer Specific ECDAA Parameters" in Annex K for an explanation of sx. See Annex K for the definition of BigNumberToB.
+
+*sy* of type required DOMString
+
+base64url encoding of the result of BigNumberToB(sy). See section "Issuer Specific ECDAA Parameters" in Annex K for an explanation of sy. See Annex K for the definition of BigNumberToB.
+
+*G1Curve* of type required DOMString
+
+Name of the Barreto-Naehrig elliptic curve for G1. "BN\_P256", "BN\_P638", "BN\_ISOP256" and "BN\_ISOP512" are supported. See clause J.4.1 "Supported curves for ECDAA" in Annex J for details.
+
+NOTE – Whenever a party uses this trust anchor for the first time, it must first verify that it was correctly generated by verifying s, sx, sy. See Annex J for details.
+
+### H.3.9 ExtensionDescriptor dictionary
+
+This descriptor contains an extension supported by the authenticator.
+
+---
+
+```
+dictionary ExtensionDescriptor {
+ required DOMString id;
+ DOMString data;
+ required boolean fail_if_unknown;
+};
+```
+
+---
+
+## H.3.9.1 Dictionary **ExtensionDescriptor** members
+
+**id** of type **required DOMString**
+
+Identifies the extension.
+
+**data** of type **DOMString**
+
+Contains arbitrary data further describing the extension and/or data needed to correctly process the extension.
+
+This field MAY be missing or it MAY be empty.
+
+**fail\_if\_unknown** of type **required boolean**
+
+Indicates whether unknown extensions must be ignored (**false**) or must lead to an error (**true**) when the extension is to be processed by the FIDO server, FIDO client, ASM, or FIDO authenticator.
+
+- A value of **false** indicates that unknown extensions MUST be ignored
+- A value of **true** indicates that unknown extensions MUST result in an error.
+
+### H.4 Metadata keys
+
+---
+
+```
+dictionary MetadataStatement {
+ AAID aaid;
+ AAGUID aaguid;
+ DOMString[] attestationCertificateKeyIdentifiers;
+ required DOMString description;
+ required unsigned short authenticatorVersion;
+ DOMString protocolFamily;
+ required Version[] upv;
+ required DOMString assertionScheme;
+ required unsigned short authenticationAlgorithm;
+ required unsigned short publicKeyAlgAndEncoding;
+ required unsigned short[] attestationTypes;
+ required VerificationMethodANDCombinations[] userVerificationDetails;
+ required unsigned short keyProtection;
+ boolean isKeyRestricted;
+ boolean isFreshUserVerificationRequired;
+ required unsigned short matcherProtection;
+ required unsigned long attachmentHint;
+ required boolean isSecondFactorOnly;
+ required unsigned short tcDisplay;
+ DOMString tcDisplayContentType;
+ Displayb-PNGCharacteristicsDescriptor[] tcDisplayb-PNGCharacteristics;
+ required DOMString[] attestationRootCertificates;
+```
+
+---
+
+---
+
+```
+
+EcdaaTrustAnchor[] ecdaaTrustAnchors;
+DOMString icon;
+ExtensionDescriptor supportedExtensions[];
+};
+
+```
+
+---
+
+#### H.4.1 Dictionary **MetadataStatement** members
+
+**aaid** of type **AAID**
+
+The authenticator attestation ID. See Annex A for the definition of the AAID structure. This field **MUST** be set if the authenticator implements FIDO UAF.
+
+NOTE – FIDO UAF authenticators support AAID, but they do not support AAGUID.
+
+**aaguid** of type **AAGUID**
+
+The authenticator attestation GUID. See [b-FIDOKeyAttestation] for the definition of the AAGUID structure. This field **MUST** be set if the authenticator implements FIDO 2.
+
+NOTE – FIDO 2 authenticators support AAGUID, but they do not support AAID.
+
+**attestationCertificateKeyIdentifiers** of type array of **DOMString**
+
+A list of the attestation certificate public key identifiers encoded as hex string. This value **MUST** be calculated according to method 1 for computing the keyIdentifier as defined in clause 4.2.1.2 of [IETF RFC 5280]. The hex string **MUST NOT** contain any non-hex characters (e.g., spaces). All hex letters **MUST** be lower case. This field **MUST** be set if neither **aaid** nor **aaguid** are set. Setting this field implies that the attestation certificate(s) are dedicated to a single authenticator model.
+
+All **attestationCertificateKeyIdentifier** values should be unique within the scope of the Metadata Service.
+
+NOTE – FIDO U2F authenticators typically do not support AAID nor AAGUID, but they use attestation certificates dedicated to a single authenticator model.
+
+**description** of type **required DOMString**
+
+A human-readable short description of the authenticator.
+
+NOTE 1 – This description should help an administrator configuring authenticator policies. This description might deviate from the description returned by the ASM for that authenticator.
+
+NOTE 2 – This description should contain the public authenticator trade name and the publicly known vendor name.
+
+**authenticatorVersion** of type **required unsigned short**
+
+Earliest (i.e., lowest) trustworthy **authenticatorVersion** meeting the requirements specified in this metadata statement.
+
+Adding new **StatusReport** entries with status **UPDATE\_AVAILABLE** to the metadata **TOC** object (Annex I) **MUST** also change this **authenticatorVersion** if the update fixes severe security issues, e.g., the ones reported by preceding **StatusReport** entries with status code **USER\_VERIFICATION\_BYPASS**, **ATTESTATION\_KEY\_COMPROMISE**, **USER\_KEY\_REMOTE\_COMPROMISE**, **USER\_KEY\_PHYSICAL\_COMPROMISE**, **REVOKED**.
+
+It is **RECOMMENDED** to assume increased risk if this version is higher (newer) than the firmware version present in an authenticator. For example, if a **StatusReport** entry with status **USER\_VERIFICATION\_BYPASS** or **USER\_KEY\_REMOTE\_COMPROMISE** precedes the
+
+`UPDATE_AVAILABLE` entry, than any firmware version lower (older) than the one specified in the metadata statement is assumed to be vulnerable.
+
+`protocolFamily` of type `DOMString`
+
+The FIDO protocol family. The values "uaf", "u2f" and "fido2" are supported. If this field is missing, the assumed protocol family is "uaf". Metadata Statements for U2F authenticators MUST set the value of `protocolFamily` to "u2f" and FIDO 2.0 authenticators implementations MUST set the value of `protocolFamily` to "fido2".
+
+`upv` of type array of `required Version`
+
+The FIDO unified protocol version(s) (related to the specific protocol family) supported by this authenticator. See Annex A for the definition of the `Version` structure.
+
+`assertionScheme` of type `required DOMString`
+
+The assertion scheme supported by the authenticator. Must be set to one of the enumerated strings defined in the FIDO UAF registry of predefined values (Annex E) or to "FIDOV2" in the case of the FIDO 2 assertion scheme.
+
+`authenticationAlgorithm` of type `required unsigned short`
+
+The authentication algorithm supported by the authenticator. Must be set to one of the `ALG_` constants defined in the FIDO registry of predefined values in Annex J. This value MUST be non-zero.
+
+`publicKeyAlgAndEncoding` of type `required unsigned short`
+
+The public key format used by the authenticator during registration operations. Must be set to one of the `ALG_KEY` constants defined in the FIDO registry of predefined values in Annex J. Because this information is not present in APIs related to authenticator discovery or policy, a FIDO server MUST be prepared to accept and process any and all key representations defined for any public key algorithm it supports. This value MUST be non-zero.
+
+`attestationTypes` of type array of `required unsigned short`
+
+The supported attestation type(s). (e.g., `TAG_ATTESTATION_BASIC_FULL`) See Registry for more information (Annex E).
+
+`userVerificationDetails` of type array of `required VerificationMethodANDCombinations`
+
+A list of alternative `VerificationMethodANDCombinations`. Each of these entries is one alternative user verification method. Each of these alternative user verification methods might itself be an "AND" combination of multiple modalities.
+
+All effectively available alternative user verification methods MUST be properly specified here. A user verification method is considered effectively available if this method can be used to either:
+
+- enroll new verification reference data to one of the user verification methods
+- or
+- unlock the UAuth key directly after successful user verification
+
+`keyProtection` of type `required unsigned short`
+
+A 16-bit number representing the bit fields defined by the `KEY_PROTECTION` constants in the FIDO registry of predefined values (Annex J).
+
+This value **MUST** be non-zero.
+
+NOTE – The `keyProtection` specified here denotes the effective security of the attestation key and Uauth private key and the effective trustworthiness of the attested attributes in the "sign assertion". Effective security means that key extraction or injecting malicious attested attributes is only possible if the specified protection method is compromised. For example, if `keyProtection=TEE` is stated, it shall be impossible to extract the attestation key or the Uauth private key or to inject any malicious attested attributes *without breaking the TEE*.
+
+`isKeyRestricted` of type `boolean`
+
+This entry is set to `true`, if the Uauth private key is restricted by the authenticator to only sign valid FIDO signature assertions.
+
+This entry is set to `false`, if the authenticator does not restrict the Uauth key to only sign valid FIDO signature assertions. In this case, the calling application could potentially get any hash value signed by the authenticator.
+
+If this field is missing, the assumed value is `isKeyRestricted=true`
+
+NOTE – Note that only in the case of `isKeyRestricted=true`, the FIDO server can trust a signature counter or transaction text to have been correctly processed/controlled by the authenticator.
+
+`isFreshUserVerificationRequired` of type `boolean`
+
+This entry is set to `true`, if Uauth key usage always requires a fresh user verification.
+
+If this field is missing, the assumed value is `isFreshUserVerificationRequired=true`.
+
+This entry is set to `false`, if the Uauth key can be used without requiring a fresh user verification, e.g., without any additional user interaction, if the user was verified a (potentially configurable) caching time ago.
+
+In the case of `isFreshUserVerificationRequired=false`, the FIDO server **MUST** verify the registration response and/or authentication response and verify that the (maximum) caching time (sometimes also called "authTimeout") is acceptable.
+
+This entry solely refers to the user verification. In the case of transaction confirmation, the authenticator **MUST** always ask the user to authorize the specific transaction.
+
+NOTE – Note that in the case of `isFreshUserVerificationRequired=false`, the calling App could trigger use of the key without user involvement. In this case it is the responsibility of the App to ask for user consent.
+
+`matcherProtection` of type `required unsigned short`
+
+A 16-bit number representing the bit fields defined by the `MATCHER_PROTECTION` constants in the FIDO registry of predefined values in Annex J.
+
+This value **MUST** be non-zero.
+
+NOTE 1 – If multiple matchers are implemented, then this value must reflect the *weakest* implementation of all matchers.
+
+NOTE 2 – The `matcherProtection` specified here denotes the effective security of the FIDO authenticator's user verification. This means that a false positive user verification implies breach of the stated method. For example, if `matcherProtection=TEE` is stated, it shall be impossible to trigger use of the Uauth private key when bypassing the user verification without breaking the TEE.
+
+`attachmentHint` of type `required unsigned long`
+
+A 32-bit number representing the bit fields defined by the `ATTACHMENT_HINT` constants in the FIDO registry of predefined values (Annex J).
+
+NOTE – The connection state and topology of an authenticator may be transient and cannot be relied on as authoritative by a relying party, but the metadata field should have all the bit flags set for the topologies possible for the authenticator. For example, an authenticator instantiated as a single-purpose hardware token that can communicate over bluetooth should set `ATTACHMENT_HINT_EXTERNAL` but not `ATTACHMENT_HINT_INTERNAL`.
+
+`isSecondFactorOnly` of type `required boolean`
+
+Indicates if the authenticator is designed to be used only as a second factor, i.e., requiring some other authentication method as a first factor (e.g., username+password).
+
+`tcDisplay` of type `required unsigned short`
+
+A 16-bit number representing a combination of the bit flags defined by the `TRANSACTION_CONFIRMATION_DISPLAY` constants in the FIDO registry of predefined values in Annex J.
+
+This value MUST be 0, if transaction confirmation is not supported by the authenticator.
+
+NOTE – The `tcDisplay` specified here denotes the effective security of the authenticator's transaction confirmation display. This means that only a breach of the stated method allows an attacker to inject transaction text to be included in the signature assertion which has not been displayed and confirmed by the user.
+
+`tcDisplayContentType` of type `DOMString`
+
+Supported MIME content type [IETF RFC 2049] for the transaction confirmation display, such as `text/plain` or `image/png`.
+
+This value MUST be present if transaction confirmation is supported, i.e., `tcDisplay` is non-zero.
+
+`tcDisplayb-PNGCharacteristics` of type array of `Displayb-PNGCharacteristicsDescriptor`
+
+A list of alternative `Displayb-PNGCharacteristicsDescriptor`. Each of these entries is one alternative of supported image characteristics for displaying a b-PNG image.
+
+This list MUST be present if b-PNG-image based transaction confirmation is supported, i.e., `tcDisplay` is non-zero and `tcDisplayContentType` is `image/png`.
+
+`attestationRootCertificates` of type array of `required DOMString`
+
+Each element of this array represents a PKIX [IETF RFC 5280] trust root X.509 certificate that is valid for this authenticator model. Multiple certificates might be used for different batches of the same model. The array does not represent a certificate chain, but only the trust anchor of that chain.
+
+Each array element is a base64-encoded (clause 4 of [IETF RFC 4648]), DER-encoded [ITU-T X.690] PKIX certificate value. Each element MUST be dedicated for authenticator attestation.
+
+NOTE 1 – A certificate listed here is a trust root. It might be the actual certificate presented by the authenticator, or it might be an issuing authority certificate from the vendor that the actual certificate in the authenticator chains to.
+
+NOTE 2 – In the case of "uaf" protocol family, the attestation certificate itself and the ordered certificate chain are included in the registration assertion (see Annex C).
+
+Either
+
+1. the manufacturer attestation root certificate
+- or
+2. the root certificate dedicated to a specific authenticator model
+
+MUST be specified.
+
+In the case (1), the root certificate might cover multiple authenticator models. In this case, it must be possible to uniquely derive the authenticator model from the Attestation Certificate. When using AAID or AAGUID, this can be achieved by either specifying the AAID or AAGUID in the attestation certificate using the extension `id-fido-gen-ce-aaid` { 1 3 6 1 4 1 45724 1 1 1 } or `id-fido-gen-ce-aaguid` { 1 3 6 1 4 1 45724 1 1 4 } or – when neither AAID nor AAGUID are defined – by using the `attestationCertificateKeyIdentifier` method.
+
+In the case (2) this is not required as the root certificate only covers a single authenticator model.
+
+When supporting surrogate basic attestation only (see Annex A, clause "Surrogate basic attestation"), no attestation root certificate is required/used. So this array MUST be empty in that case.
+
+`ecdaaTrustAnchors` of type array of `EcdaaTrustAnchor`
+
+A list of trust anchors used for ECDAAs attestation. This entry MUST be present if and only if attestationType includes TAG\_ATTESTATION\_ECDAAs. The entries in `attestationRootCertificates` have no relevance for ECDAAs attestation. Each `ecdaaTrustAnchor` MUST be dedicated to a single authenticator model (e.g., as identified by its AAID/AAGUID).
+
+`icon` of type `DOMString`
+
+A `data: url` [b-IETF RFC 2397] encoded PNG [b-PNG] icon for the authenticator.
+
+`supportedExtensions[]` of type `ExtensionDescriptor`
+
+List of extensions supported by the authenticator.
+
+## H.5 Metadata statement format
+
+A FIDO authenticator metadata statement is a document containing a JSON encoded dictionary `MetadataStatement`.
+
+### H.5.1 UAF example
+
+Example of the metadata statement for an UAF authenticator with:
+
+- `authenticatorVersion` 2.
+- Fingerprint based user verification allowing up to 5 registered fingers, with false acceptance rate of 0.002% and rate limiting attempts for 30 seconds after 5 false trials.
+- Authenticator is embedded with the FIDO User device.
+- The authentication keys are protected by TEE and are restricted to sign valid FIDO sign assertions only.
+- The (fingerprint) matcher is implemented in TEE.
+- The transaction confirmation display is implemented in a TEE.
+
+- The transaction confirmation display supports display of "image/png" objects only.
+- Display has a width of 320 and a height of 480 pixel. A bit depth of 16 bits per pixel offering True Color (=Color Type 2). The zlib compression method (0). It does not support filtering (i.e., filter type of=0) and no interlacing support (interlace method=0).
+- The authenticator can act as first factor or as second factor, i.e., isSecondFactorOnly = false.
+- It supports the "UAFV1TLV" assertion scheme.
+- It uses the `ALG_SIGN_SECP256R1_ECDSA_SHA256_RAW` authentication algorithm.
+- It uses the `ALG_KEY_ECC_X962_RAW` public key format (0x100=256 decimal).
+- It only implements the `TAG_ATTESTATION_BASIC_FULL` method (0x3E07=15879 decimal).
+- It implements UAF protocol version (upv) 1.0 and 1.1.
+
+#### EXAMPLE 1: MetadataStatement for UAF authenticator
+
+```
+{ "aaid": "1234#5678",
+ "description": "FIDO Alliance Sample UAF Authenticator",
+ "authenticatorVersion": 2,
+ "upv": [ { "major": 1, "minor": 0 }, { "major": 1, "minor": 1 } ],
+ "assertionScheme": "UAFV1TLV",
+ "authenticationAlgorithm": 1,
+ "publicKeyAlgAndEncoding": 256,
+ "attestationTypes": [15879],
+ "userVerificationDetails": [ [ { "userVerification": 2, "baDesc":
+ { "FAR": 0.00002, "maxRetries": 5, "blockSlowdown": 30, "maxReferenceDataSets": 5 } } ] ],
+ "keyProtection": 6,
+ "isKeyRestricted": true,
+ "matcherProtection": 2,
+ "attachmentHint": 1,
+ "isSecondFactorOnly": "false",
+ "tcDisplay": 5,
+ "tcDisplayContentType": "image/png",
+ "tcDisplayb-PNGCharacteristics": [ { "width": 320, "height": 480, "bitDepth": 16,
+ "colorType": 2, "compression": 0, "filter": 0, "interlace": 0 } ],
+ "attestationRootCertificates": [
+ "MIICTPCCAeOgAwIBAgIJA0ueXvU3Oy2wMAoGCCqGSM49BAMCMHsxIDAeBgNVBAMM
+ F1NhbXBsZSBDbHRlc3RhdGlvbiBsb290MRyWfAYDVQKDA1GSURPIEFsbGhbmNl
+ MRewDwYDVQQLDAhVQUYyYVdHLDDESMBAGA1UEBwwJUGFsb3B3b3RvMQswCQYDVQK
+ DAJQDTLMKA1UEBHMCMVVMHhcnMTQwNjE4M4MTMzMzMzMzMzMzMzMzMzMzMzMzM
+ WJB7MSAWhGyDVQDDbDtdYw1wbGUxQXQ0R0ZXR0YXN0YXN0YXN0YXN0YXN0YXN0
+ RklETyBBB3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3B3
+ QWwObzELMKA1UEBHMCMVVMHhcnMTQwNjE4M4MTMzMzMzMzMzMzMzMzMzMzMzM
+ zj0DAQcDQQAeH8hv2D0HXA59/BmpQ7RZehL/FMGzFd1QBg9vAUUpOZ3ajnuQ94PR7
+ aMzH33nUSBr8fHYDrqQBb58pxGgHJRYX/6NQME4wHQYDVR0DBBVEFPoHA3CLhxFb
+ C0It7zE4w8hk5EJ/MB8GA1UdIwQYMBAAFPoHA3CLhxFbC0It7zE4w8hk5EJ/MAW
+ A1UdEwQFMAMBAf8wCgYIKoZIzj0EAwIDSAARQThAJ06QSxt9ihIbEKYKIjsPkri
+ VdLlgtfssbDSu7ErJfzr4AiBqoYCZf0+zI55aQeAHjIzA9Xm63rruAxzBZ9ps9z2XN
+ lQ=="],
+ "icon": "data:image/png;base64,
+ iVBORw0KGgoAAAANSUheUgAAAAB8AAAAvCAAAACiWJfCAAAAXNSR0IARs4c6QAAAAARnQ1BAACx
+ jwv8YQUAAAAJcEh2cWAAADMAAA7DAdcvGQAAAAhSURBVGhD7zr5bXR1GMf9KzTB8AM/YehE2W7p
+ QZcWKKbc1SpHAT1ELARE7kNECCA3FkWK0CKKSCFIIsKBcgVCDWGNESdYidwgggJBiRiMhFc/4wy8
+ 844zu9NdlngTfZJP2n3n0++88933fveBBx+PgCzJkTUVbLmpUDWvBTmpcSZvXCLdX9R05Sk19
+ bb5atf599fg+/era541q47aP1LLVa9SiYVNUi8Ii8d5kGTsi30NFv7ai9n7QZPMwbdys2erU2Xmq
+ Udy8+ZcanMgimE8yXN3Rud3a18nF0fUlovZ+OCTZwPd2Vj+eOmlbEyy6Dx4i5pUMGWveo506q227
+ dtuWB1uffr6oWp0FPNlhow1751Nm21LvPH3rVtWjFz66Lfql8tX7FR19YFSXsmSseb9ceOGbYk7
+ MNucPg8ZsbMe9rfQUaaV/JMX9sqdzDCSvp0kZHMTZg9x7bLHcMnThbl6eJ+mVfQq8yaUZQNG64i
+ XZ+0/kq6uOZFO0QtatdWKFxNRQ99Bj91R50IFnk54jN0mkUiql03XDW+M1+98MBK6tW7rWpZcPc+
+ Ozg4tLrY1Uc8E6eGDJIMubVpcusearfIYGRk6brhZVr/JcHool7550jedLExopWcArPi2ZUghu
+ 7JLvrVsQU81zkOFeemMRyVvUqSx7PbiDQY5JvZonftK+1VY8H9utx530h0ob+jmRYqj6ouaYvEe
+ nW/WlYjpb8cwbMm682tPwqW1R4tj/2SH13IRJY14moZvXpiSqDr7dXtQHxa/PK3/+BWsK1dTgHu6V
+ 8tQJ3bWfKpFvU0Q50s1f31evm8zZcq17+BBaw7K81EK5qzKYearK9A8p7P3GzDK+nd3DQow+6UC
+ 8SVN82iuv38im7NtaXtV1Cvg6Rgw4pksmbdi3bu2De7YfaBxcqfvgPrUjFQNTQ221fdUvVT68rT
+ JKf5DnSmUjgdgq4mS9pmsfDJR3G6ToH0iW9av7LWLHYXK11TDt0LTAtkYiaamp1QjVv++uyGuXv
+ dJ0DNVXSm+b1qRxp184ddfX1Lp10/d69tsod0vs5hGre9xu8o+fpLR1cGhNTD6Z57C9KMWXefJd0
+ Z94bb9ogd1ROnS7qIT7TzHimMqivb03g0DdVyk3WQBhBztK35YKND0nc803acS6fdFzGKaXLSep5
+ rdl1iBqp89cJcs/m7Tvs0rkjGfN4b0kPoZn3UJuIOrn222yP1fmvUx+O5gSgebV1m+zSuYNVhQ7T
+ WbDiLVv1jplLop6CLXP+2gtvGLIL/lvimIsdMBgzSoFZyu6Tqd+jzxgsPaV9BCqee/NjYk6v61K
+ 9cwiUc/STtF1HDPM3b592y7h3Thx5ozK69HLPYUwAwag5Scv26q7ceb8efVYARep3iF08zj1knSw
+ ZXHMmnCj0Gogalo7UQfSCM3qQr2H/XFP7ssXx45Y191ByeCep4moZoh+1fG3x0d4t7T7x8kwyj8nw
+ b9ev26V0B6d+7H4zKvudAH537FjgyzOHdJnHeuzmXq/WjxObvNMbv7nhywsX2aVsWtC8+48aLeap
+ E7p5wKZ10A2QRV5nvr4E+uJc+b61kAppInxBgmd/4V5QP/mt18HDC7sRHftmeu5lmhV0rn/ALX2
+ 32bq4BfnDx7V1lcWS2uff0IbB47qexxmUj9QutYjupd3tYD6abWBBMrh+apNB0KrnF1+ugCa4r1
+ XGfWmpPtviavhU3YMOAAnuUb/R07L0yOSeOadE88ApsXFGff30ynh1JgM51CU6vN9EzgnvpHBFUy
+ iVraePwJ53DF5ZTZNomN85kNud2oJi2Wpr4OmmkfN4x4zHfiVFc8Dv8NzuhNqOidilGvA6DGU
+ eZw078AAQn61Ek6+zW5VcYjvqNDYPOoIUwaKShrxAuXLLkH4aYuGfMYDc10WF52a13hPJOfcUhr
+ U/J1NI6c6elRYDbpo6++Yfjx61LGNfRm4MD5rJ1j3FoGhnjDSBNarYUGmlyMsZKpb7tXpoHfPs8
+ h3Wp1LznFNK54Xxc1wDGUmZXXefh6z/cKtVm4EBxa9VQGDZyR3LrUMRjHEKk7zaFKYQA2hGQU1
+ z+85FNWpXDrkz3vx10GqxQ6BzeNboBk5n8k4nebRh+k1hwfxTFOD1EyWU55nv+dgQqKaxzuCdE0i
+ sH102NQ8ahOmXr12La3m0f9wk9+wLNTMY/86MPo8yi310fxmT6PwoG9+DzukyNa56mS2z5WWSy
+ 5qVA1rwUyJqXAlnzkiAi/gHSD7RkTyihogAAAAABJRU5ErkJggg=="
+ }
+```
+
+Example of a *User Verification Methods* entry for an authenticator with:
+
+- Fingerprint based user verification method, with:
+ - the ability for the user to enroll up to 5 fingers (reference data sets) with
+ - a false acceptance rate of 1 in 50000 (0.002%) per finger. This results in a FAR of 0.01% (0.0001).
+ - The fingerprint verification will be blocked after 5 unsuccessful attempts.
+- A PIN code with a minimum length of 4 decimal digits has to be set-up as alternative verification method. Entering the PIN will be required to re-activate fingerprint based user verification after it has been blocked.
+
+EXAMPLE 2: User verification methods entry
+
+```
+[
+ [ { "userVerification": 2, "baDesc": { "FAR": 0.00002, "maxReferenceDataSets": 5,
+ "maxRetries": 5, "blockSlowdown": 0 } } ],
+ [ { "userVerification": 4, "caDesc": { "base": 10, "minLength": 4 } } ]
+]
+```
+
+## H.5.2 U2F example
+
+Example of the metadata statement for an U2F authenticator with:
+
+- authenticatorVersion 2.
+- Touch based user presence check.
+- Authenticator is a USB pluggable hardware token.
+- The authentication keys are protected by a secure element.
+- The user presence check is implemented in the chip.
+- The authenticator is a pure second factor authenticator.
+- It supports the "U2FV1BIN" assertion scheme.
+- It uses the `ALG_SIGN_SECP256R1_ECDSA_SHA256_RAW` authentication algorithm.
+- It uses the `ALG_KEY_ECC_X962_RAW` public key format (0x100=256 decimal).
+- It only implements the `TAG_ATTESTATION_BASIC_FULL` method (0x3E07=15879 decimal).
+- It implements U2F protocol version 1.0 only.
+
+EXAMPLE 3: MetadataStatement for U2F authenticator
+
+```
+{ "description": "FIDO Alliance Sample U2F Authenticator",
+ "attestationCertificateKeyIdentifiers":
+ ["7c0903708b87115b0b422def3138c3c864e44573"],
+ "protocolFamily": "u2f",
+ "authenticatorVersion": 2,
+ "upv": [ { "major": 1, "minor": 0 } ],
+ "assertionScheme": "U2FV1BIN",
+ "authenticationAlgorithm": 1,
+ "publicKeyAlgAndEncoding": 256,
+ "attestationTypes": [15879],
+ "userVerificationDetails": [ [ { "userVerification": 1 } ] ],
+ "keyProtection": 10,
+ "matcherProtection": 4,
+ "attachmentHint": 2,
+ "isSecondFactorOnly": "true",
+ "tcDisplay": 0,
+ "attestationRootCertificates": [
+ "MIICPTCCAeOgAwIBAgIJA0uexvU30y2wMAoGCCqGSM49BAMCMHsxIDAeBgNVBAMM
+ F1NhbxBSZSBBdHRLc3RhdGlvbiBSb290MRYwFAYDVQQKDA1GSURPIEFsbGhbmNl
+ MREwDwYDVQQLEDAhVQUYyGfVfHLEDESMBAGA1UEBwwJUGFsbyBBbHRvMQswCQYDVQQL
+ DAJDQTElMAkGA1UEBhMCVVMwHhcNMTQwNjE4MTMzMzMyWhcNNDExMTAzMTMzMzMy
+```
+
+WjB7MSAwHgYDVQDDbTYW1wbGUgQXR0ZXN0YXRpb24gUm9vdDEWMBQGA1UECgwN
+Rk1ETyBBbGxpYW5jZTERMA8GA1UECwwIVUFGIFRXYwxEjAQBGNVBACMCVBhbG8g
+QWx0bzELMAkGA1UECAwCQ0ExCzAJBgNVBAYTAlVTMFkwEwYHKoZIzj0CAQYIKoZI
+zj0DAQcDQgAEH8hv2D0HXa59/BmpQ7RZehL/FMGzFd1QBg9vAUpOZ3ajnuQ94PR7
+aMzH33nUSBr8fHYDrqOBb58pxGqHJRyX/6NQME4wHQYDVR0OBBYEFPoHA3CLhxGb
+C0It7zE4w8hk5EJ/MB8GA1UdIwQYMBaAFPoHA3CLhxGbC0It7zE4w8hk5EJ/MAwG
+A1UdEwQFMAMBAf8wCgYIKoZIzj0EAwIDSAAwRQIhAJ06QSXt9ihIbEKYKIjsPkri
+VdLIgtfsbDSu7ErJfzr4AiBqoYCZf0+zI55aQeAHjIzA9Xm63rruAxBZ9ps9z2XN
+lQ=="],
+
+## H.6 Additional considerations
+
+### Field updates and metadata
+
+Metadata statements are intended to be stable once they have been published. When authenticators are updated in the field, such updates are expected to improve the authenticator security (for example, improve FRR or FAR). The `authenticatorVersion` must be updated if firmware updates fixing severe security issues (e.g., as reported previously) are available.
+
+NOTE 1 – The metadata statement is assumed to relate to all authenticators having the same AAID.
+
+NOTE 2 – The FIDO server is recommended to assume increased risk if the `authenticatorVersion` specified in the metadata statement is newer (higher) than the one present in the authenticator.
+
+Significant changes in authenticator functionality are not anticipated in firmware updates. For example, if an authenticator vendor wants to modify a PIN-based authenticator to use "Speaker Recognition" as a user verification method, the vendor MUST assign a new AAID to this authenticator.
+
+A single authenticator implementation could report itself as two "virtual" authenticators using different AAIDs. Such implementations MUST properly (i.e., according to the security characteristics claimed in the metadata) protect `UAuth` keys and other sensitive data from the other "virtual" authenticator – just as a normal authenticator would do.
+
+NOTE – Authentication keys (`UAuth.pub`) registered for one AAID cannot be used by authenticators reporting a different AAID – even when running on the same hardware (see clause A.4.5.7.5)
+
+## Annex I
+
+### FIDO metadata service
+
+(This annex forms an integral part of this Recommendation.)
+
+#### I.1 Summary
+
+The FIDO authenticator metadata specification defines so-called "authenticator metadata" statements. The metadata statements contain the "trust anchor" required to validate the attestation object and they also describe several other important characteristics of the authenticator.
+
+The metadata service described in this annex defines a baseline method for relying parties to access the latest metadata statements.
+
+#### I.2 Overview
+
+Annex H defines authenticator metadata statements.
+
+These metadata statements contain the trust anchor required to verify the attestation object (more specifically the `KeyRegistrationData` object) and they also describe several other important characteristics of the authenticator, including supported authentication and registration assertion schemes and key protection flags.
+
+These characteristics can be used when defining policies about which authenticators are acceptable for registration or authentication.
+
+The metadata service described in this annex defines a baseline method for relying parties to access the latest metadata statements.
+
+Figure I.1 shows an overview of the FIDO metadata service architecture.
+
+
+
+```
+graph LR;
+ FA[FIDO authenticator] -- "Attestation object" --> FS[FIDO server];
+ AV[Authenticator vendor] -.- "Provide metadata as part of FIDO certification" --> MS[Metadata service];
+ MS -- "Metadata" --> FS;
+```
+
+The diagram illustrates the FIDO metadata service architecture. It features four main components: a FIDO authenticator, a FIDO server, an authenticator vendor, and a metadata service. The FIDO authenticator sends an attestation object to the FIDO server. The FIDO server then performs two tasks: verifying the attestation object using a trust anchor from metadata and supporting policy configuration using metadata. The authenticator vendor provides metadata as part of FIDO certification to the metadata service. The metadata service then provides the metadata to the FIDO server.
+
+Figure I.1 – FIDO metadata service architecture overview. The diagram shows four main components: FIDO authenticator, FIDO server, Authenticator vendor, and Metadata service. The FIDO authenticator sends an 'Attestation object' to the FIDO server. The FIDO server performs two tasks: '1. Verify attestation object using trust anchor from metadata' and '2. Support policy configuration using metadata'. The Authenticator vendor provides metadata as part of FIDO certification to the Metadata service. The Metadata service then provides the 'Metadata' to the FIDO server.
+
+Figure I.1 – FIDO metadata service architecture overview
+
+##### I.2.1 Scope
+
+This annex describes the FIDO metadata service architecture in detail and it defines the structure and interface to access this service. It also defines the flow of the metadata related messages and presents the rationale behind the design choices.
+
+### I.2.2 Detailed architecture
+
+The metadata "table-of-contents" (TOC) file contains a list of metadata statements related to the authenticators known to the FIDO Alliance (FIDO authenticators).
+
+The FIDO server downloads the metadata TOC file from a well-known FIDO URL and caches it locally.
+
+The FIDO server verifies the integrity and authenticity of this metadata TOC file using the digital signature. It then iterates through the individual entries and loads the metadata statements related to authenticator AADs relevant to the relying party.
+
+Individual metadata statements will be downloaded from the URL specified in the entry of the metadata TOC file and may be cached by the FIDO server as required.
+
+Figure I.2 shows the FIDO metadata service architecture.
+
+The integrity of the metadata statements will be verified by the FIDO server using the hash value included in the related entry of the metadata TOC file.
+
+
+
+The diagram illustrates the FIDO metadata service architecture. It features three main components: an Authenticator vendor (white box), a FIDO server (blue box), and a Metadata service (blue box). A legend at the top left indicates that a single arrow represents the 'Direction of data flow' and a double arrow represents the 'Direction of connection'. The Authenticator vendor has a single arrow pointing to the FIDO server labeled 'Download metadata statement from authenticator vendor'. The Authenticator vendor also has a dashed double arrow pointing to the Metadata service labeled 'Provide metadata as part of FIDO certification'. The FIDO server and Metadata service are connected by two double arrows: one labeled 'Download metadata statement from metadata service' and another labeled 'Download metadata TOC'. Inside the FIDO server box, two steps are listed: '1. Download and verify metadata TOC from well-known URL' and '2. Download and verify metadata statement from URL supplied in metadata TOC'.
+
+```
+graph TD
+ AV[Authenticator vendor]
+ FS[FIDO server]
+ MS[Metadata service]
+
+ AV -- "Download metadata statement from authenticator vendor" --> FS
+ AV -.->| "Provide metadata as part of FIDO certification" | MS
+ FS <-->| "Download metadata statement from metadata service" | MS
+ FS <-->| "Download metadata TOC" | MS
+```
+
+X.1277(18)\_FI.2
+
+Figure I.2 – FIDO metadata service architecture diagram showing data flow and connections between Authenticator vendor, FIDO server, and Metadata service.
+
+**Figure I.2 – FIDO metadata service architecture**
+
+NOTE – The single arrow indicates the direction of the network connection, the double arrow indicates the direction of the data flow.
+
+NOTE – The metadata TOC file is freely accessible at a well-known URL published by the FIDO Alliance.
+
+NOTE – The relying party decides how frequently the metadata service is accessed to check for metadata TOC updates.
+
+### I.3 Metadata service details
+
+NOTE – The relying party can decide whether it wants to use the metadata service and whether or not it wants to accept certain authenticators for registration or authentication.
+
+The relying party could also obtain metadata directly from authenticator vendors or other trusted sources.
+
+### I.3.1 Metadata TOC format
+
+NOTE 1 – The metadata service makes the metadata TOC object (see Metadata TOC) accessible to FIDO servers.
+
+NOTE 2 – This object is a "table-of-contents" for metadata, as it includes the AAID, the download URL and the hash value of the individual metadata statements. The TOC object contains one signature.
+
+#### I.3.1.1 Metadata TOC payload entry dictionary
+
+Represents the MetadataTOCPayloadEntry
+
+---
+
+```
+dictionary MetadataTOCPayloadEntry {
+ AAID aaid;
+ AAGUID aaguid;
+ DOMString[] attestationCertificateKeyIdentifiers;
+ required DOMString hash;
+ required DOMString url;
+ required StatusReport[] statusReports;
+ required DOMString timeOfLastStatusChange;
+ DOMString rogueListURL;
+ DOMString rogueListHash;
+};
+```
+
+---
+
+##### I.3.1.1.1 Dictionary **MetadataTOCPayloadEntry** members
+
+**aaid** of type **AAID**
+
+The AAID of the authenticator this metadata TOC payload entry relates to. See Annex A for the definition of the AAID structure. This field **MUST** be set if the authenticator implements FIDO UAF.
+
+NOTE – FIDO UAF authenticators support AAID, but they do not support AAGUID.
+
+**aaguid** of type **AAGUID**
+
+The authenticator attestation GUID. See [b-FIDOKeyAttestation] for the definition of the AAGUID structure. This field **MUST** be set if the authenticator implements FIDO 2.
+
+NOTE – FIDO 2 authenticators support AAGUID, but they do not support AAID.
+
+**attestationCertificateKeyIdentifiers** of type array of **DOMString**
+
+A list of the attestation certificate public key identifiers encoded as hex string. This value **MUST** be calculated according to method 1 for computing the keyIdentifier as defined in [IETF RFC 5280] clause 4.2.1.2. The hex string **MUST NOT** contain any non-hex characters (e.g., spaces). All hex letters **MUST** be lower case. This field **MUST** be set if neither **aaid** nor **aaguid** are set. Setting this field implies that the attestation certificate(s) are dedicated to a single authenticator model.
+
+NOTE – FIDO U2F authenticators do not support AAID or AAGUID, but they use attestation certificates dedicated to a single authenticator model.
+
+**hash** of type **required DOMString**
+
+**base64url(string[1..512])**
+
+The hash value computed over the base64url encoding of the UTF-8 representation of the JSON encoded metadata statement available at **url** and as defined in Annex H. The hash algorithm related to the signature algorithm specified in the JWTHeader (see Metadata TOC) **MUST** be used.
+
+NOTE – This method of base64url encoding the UTF-8 representation is also used by JWT [IETF RFC 7519] to avoid encoding ambiguities.
+
+`url` of type **required** `DOMString`
+
+Uniform resource locator (URL) of the encoded metadata statement for this authenticator model (identified by its AAID, AAGUID or attestationCertificateKeyIdentifier). This URL MUST point to the base64url encoding of the UTF-8 representation of the JSON encoded metadata statement as defined in Annex H.
+
+`encodedMetadataStatement` = `base64url(utf8(JSONMetadataStatement))`
+
+NOTE – This method of the base64url encoding the UTF-8 representation is also used by JWT [IETF RFC 7519] to avoid encoding ambiguities.
+
+`statusReports` of type array of **required** `StatusReport`
+
+An array of status reports applicable to this authenticator.
+
+`timeOfLastStatusChange` of type **required** `DOMString`
+
+ISO-8601 formatted date since when the status report array was set to the current value.
+
+`rogueListURL` of type `DOMString`
+
+URL of a list of rogue (i.e., untrusted) individual authenticators.
+
+`rogueListHash` of type `DOMString`
+
+`base64url(string[1..512])`
+
+The hash value computed over the Base64url encoding of the UTF-8 representation of the JSON encoded `rogueList` available at `rogueListURL` (with type `rogueListEntry[]`). The hash algorithm related to the signature algorithm specified in the JWTHeader (see Metadata TOC) MUST be used.
+
+This hash value MUST be present and non-empty whenever `rogueListURL` is present.
+
+NOTE – This method of base64url-encoding the UTF-8 representation is also used by JWT [IETF RFC 7519] to avoid encoding ambiguities.
+
+#### EXAMPLE 1: UAF METADATA TOC PAYLOAD
+
+```
+{ "no": 1234, "nextUpdate": "2014-03-31",
+ "entries": [
+ { "aaid": "1234#5678",
+ "hash": "90da8da6de23248abb34da0d4861f4b30a793e198a8d5baa7f98f260db71acd4",
+ "url": "https://fidoalliance.org/metadata/1234%x23abcd",
+ "rogueListHash": "b5079cf40fd7ed174c645cc04df1e72b7f1229590585d16df62dd20b9541c6b5",
+ "rogueListURL": "https://fidoalliance.org/metadata/1234%x23abcd.r1",
+ "statusReports": [
+ { status: "FIDO_CERTIFIED", effectiveDate: "2014-01-04" }
+ ],
+ "timeOfLastStatusChange": "2014-01-04"
+ },
+ { "attestationCertificateKeyIdentifiers": ["7c0903708b87115b0b422def3138c3c864e44573"],
+ "hash": "785d16df640fd7b50ed174cb5645cc0f1e72b7f19cf22959052dd20b9541c64d",
+ "url": "https://authnr-vendor-a.com/metadata/9876%x234321",
+ "statusReports": [
+ { status: "FIDO_CERTIFIED", effectiveDate: "2014-01-07" },
+ { status: "UPDATE_AVAILABLE", effectiveDate: "2014-02-19",
+ url: "https://example.com/update1234" }
+ ],
+ "timeOfLastStatusChange": "2014-02-19"
+ }
+ ]
+}
+```
+
+NOTE 1 – The character # is a reserved character and not allowed in URLs [b-IETF RFC 3986]. As a consequence it has been replaced by its hex value %x23.
+
+NOTE 2 – The authenticator vendors can decide to let the metadata service publish its metadata statements or to publish metadata statements themselves. Authenticator vendors can restrict access to the metadata statements they publish themselves.
+
+### I.3.1.2 StatusReport dictionary
+
+NOTE 1 – Contains an `AuthenticatorStatus` and additional data associated with it, if any.
+
+NOTE 2 – New `StatusReport` entries will be added to report known issues present in firmware updates.
+
+The latest `StatusReport` entry MUST reflect the "current" status. For example, if the latest entry has status `USER_VERIFICATION_BYPASS`, then it is recommended assuming an increased risk associated with all authenticators of this AAID; if the latest entry has status `UPDATE_AVAILABLE`, then the update is intended to address at least all previous issues reported in this `StatusReport` dictionary.
+
+---
+
+```
+dictionary StatusReport {
+ required AuthenticatorStatus status;
+ DOMString effectiveDate;
+ DOMString certificate;
+ DOMString url;
+};
+```
+
+---
+
+#### I.3.1.2.1 Dictionary `StatusReport` members
+
+`status` of type required `AuthenticatorStatus`
+
+Status of the authenticator. Additional fields MAY be set depending on this value.
+
+`effectiveDate` of type `DOMString`
+
+ISO-8601 formatted date since when the status code was set, if applicable. If no date is given, the status is assumed to be effective while present.
+
+`certificate` of type `DOMString`
+
+Base64-encoded [IETF RFC 4648] (not base64url!) DER [ITU-T X.690] PKIX certificate value related to the current status, if applicable.
+
+NOTE – As an example, this could be an Attestation Root Certificate (see Annex H) related to a set of compromised authenticators (`ATTESTATION_KEY_COMPROMISE`).
+
+`url` of type `DOMString`
+
+HTTPS URL where additional information may be found related to the current status, if applicable.
+
+NOTE – For example a link to a web page describing an available firmware update in the case of status `UPDATE_AVAILABLE`, or a link to a description of an identified issue in the case of status `USER_VERIFICATION_BYPASS`.
+
+### I.3.1.3 AuthenticatorStatus enum
+
+This enumeration describes the status of an authenticator model as identified by its AAID and potentially some additional information (such as a specific attestation key).
+
+---
+
+```
+
+enum AuthenticatorStatus {
+ "NOT_FIDO_CERTIFIED",
+ "FIDO_CERTIFIED",
+ "USER_VERIFICATION_BYPASS",
+ "ATTESTATION_KEY_COMPROMISE",
+ "USER_KEY_REMOTE_COMPROMISE",
+ "USER_KEY_PHYSICAL_COMPROMISE",
+ "UPDATE_AVAILABLE",
+ "REVOKED",
+ "SELF_ASSERTION_SUBMITTED",
+ "FIDO_SECURITY_CERTIFIED_L1",
+ "FIDO_SECURITY_CERTIFIED_L2",
+ "FIDO_SECURITY_CERTIFIED_L3",
+ "FIDO_SECURITY_CERTIFIED_L4"
+};
+
+```
+
+---
+
+**Table I.1 – Enumeration of authenticator status**
+
+| Enumeration description | |
+|------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| NOT_FIDO_CERTIFIED | This authenticator is not FIDO certified – no functional and no security certification. |
+| FIDO_CERTIFIED | This authenticator has passed FIDO functional certification. |
+| USER_VERIFICATION_BYPASS | Indicates that malware is able to bypass the user verification. This means that the authenticator could be used without the user's consent and potentially even without the user's knowledge. |
+| ATTESTATION_KEY_COMPROMISE | Indicates that an attestation key for this authenticator is known to be compromised. Additional data should be supplied, including the key identifier and the date of compromise, if known. |
+| USER_KEY_REMOTE_COMPROMISE | This authenticator has identified weaknesses that allow registered keys to be compromised and should not be trusted. This would include both, e.g., weak entropy that causes predictable keys to be generated or side channels that allow keys or signatures to be forged, guessed or extracted. |
+| USER_KEY_PHYSICAL_COMPROMISE | This authenticator has known weaknesses in its key protection mechanism(s) that allow user keys to be extracted by an adversary in physical possession of the device. |
+| UPDATE_AVAILABLE | A software or firmware update is available for the device. Additional data should be supplied including a URL where users can obtain an update and the date the update was published.
When this code is used, then the field authenticatorVersion in the metadata Statement Annex H MUST be updated, if the update fixes severe security issues, e.g., the ones reported by preceding StatusReport entries with status code USER_VERIFICATION_BYPASS, ATTESTATION_KEY_COMPROMISE, USER_KEY_REMOTE_COMPROMISE, USER_KEY_PHYSICAL_COMPROMISE, REVOKED.
NOTE – Relying parties might want to inform users about available firmware updates.
|
+
+**Table I.1 – Enumeration of authenticator status**
+
+| Enumeration description | |
+|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| REVOKED | The FIDO Alliance has determined that this authenticator should not be trusted for any reason, for example if it is known to be a fraudulent product or contain a deliberate backdoor. |
+| SELF_ASSERTION_SUBMITTED | The authenticator vendor has completed and submitted the self-certification checklist to the FIDO Alliance. If this completed checklist is publicly available, the URL will be specified in StatusReport.url . |
+| FIDO_SECURITY_CERTIFIED_L1 | The authenticator has passed a sanctioned third party security validation according to FIDO level 1. |
+| FIDO_SECURITY_CERTIFIED_L2 | The authenticator has passed a sanctioned third party security validation according to FIDO level 2. |
+| FIDO_SECURITY_CERTIFIED_L3 | The authenticator has passed a sanctioned third party security validation according to FIDO level 3. |
+| FIDO_SECURITY_CERTIFIED_L4 | The authenticator has passed a sanctioned third party security validation according to FIDO level 4. |
+
+More values might be added in the future. FIDO servers MUST silently ignore all unknown AuthenticatorStatus values.
+
+### I.3.1.4 RogueListEntry dictionary
+
+NOTE 1 – Contains a list of individual authenticators known to be rogue.
+
+NOTE 2 – New `RogueListEntry` entries will be added to report new individual authenticators known to be rogue.
+
+NOTE 3 – Old `RogueListEntry` entries will be removed if the individual authenticator is known to not be rogue any longer.
+
+---
+
+```
+dictionary RogueListEntry {
+ required DOMString sk;
+ required DOMString date;
+};
+```
+
+---
+
+#### I.3.1.4.1 Dictionary `RogueListEntry` members
+
+`sk` of type `required DOMString`
+
+Base64url encoding of the rogue authenticator's secret key (sk value, see Annex K, clause ECDAAttestation).
+
+NOTE – In order to revoke an individual authenticator, its secret key (sk) must be known.
+
+`date` of type `required DOMString`
+
+ISO-8601 formatted date since when this entry is effective.
+
+#### EXAMPLE 2: ROGUELISTENTRY[] EXAMPLE
+
+```
+[
+ { "sk": "30efa86aa6de25249acb35da0d4861f4b30a793e198a8d5baa7e96f240da51f3",
+ "date": "2016-06-07"},
+ { "sk": "93de8da6de23248abb34da0d4861f4b30a793e153a8d5bb27f98f260db71acd4",
+ "date": "2016-06-09"},
+]
+```
+
+### I.3.1.5 Metadata TOC payload dictionary
+
+Represents the MetadataTOCPayload
+
+---
+
+```
+dictionary MetadataTOCPayload {
+ required Number no;
+ required DOMString nextUpdate;
+ required MetadataTOCPayloadEntry[] entries;
+};
+```
+
+---
+
+#### I.3.1.5.1 Dictionary **MetadataTOCPayload** members
+
+**no** of type **required Number**
+
+The serial number of this UAF Metadata TOC Payload. Serial numbers MUST be consecutive and strictly monotonic, i.e., the successor TOC will have a **no** value exactly incremented by one.
+
+**nextUpdate** of type **required DOMString**
+
+ISO-8601 formatted date when the next update will be provided at latest.
+
+**entries** of type array of **required MetadataTOCPayloadEntry**
+
+List of zero or more MetadataTOCPayloadEntry objects.
+
+### I.3.1.6 Metadata TOC
+
+The metadata table of contents (TOC) is a JSON Web Token (see [IETF RFC 7519] and [IETF RFC 7515]).
+
+It consists of three elements:
+
+- The base64url encoding, without padding, of the UTF-8 encoded JWT Header (see example below),
+- the base64url encoding, without padding, of the UTF-8 encoded UAF Metadata TOC Payload ( see example at the beginning of clause I.3.1 Metadata TOC Format),
+- and the base64url-encoded, also without padding, JWS Signature [IETF RFC 7515] computed over the to-be-signed payload, i.e.
+
+**tbsPayload** = EncodedJWTHeader | "." | EncodedMetadataTOCPayload
+
+All three elements of the TOC are concatenated by a period ("."):
+
+**MetadataTOC** = EncodedJWTHeader | "." | EncodedMetadataTOCPayload | "." | EncodedJWSSignature
+
+The hash algorithm related to the signing algorithm specified in the JWT Header (e.g., SHA256 in the case of "ES256") MUST also be used to compute the hash of the metadata statements (see clause I.3.1.1 Metadata TOC payload entry dictionary).
+
+#### I.3.1.6.1 Examples
+
+EXAMPLE 3: Encoded Metadata Statement
+
+```
+eyJhIjoiQVUFRjRCI6ICIxMjM0IzU2NzgiLA0KICAiQXR0ZXN0YXRpb25Sb290Q2VydG1maWNhdGUiOiAiA
+TU1JQ1BUQ0NBZU9nQXdJQkFnSUppBT3VleHhZVM095MndNQW9HQ0NwR1NNND1CQU1DTUhzeE1EQWVC
+Z05WQkFNTQ0KRjFOaGJYQnNaU0JCZUhSbGMzMUmhkR2x2Ym1CU2IyOTBNUl13RkFZRFZRUUteEQTfH
+U1VSUE1FRnNiR2xoYm1ObA0KTVJFd0R3WURWUVFMREFoV1FVWwWdWRmRITERFU01CQUdBMVVfQnd3
+SlVHRnNieUJCYkhSdktRc3dDUV1EV1FRSQ0KREFKRFFURUxNQWtHQTfVVRUJoTUNWVkl3SGhjTk1U
+UXdoaku0TVRNek16TX1XaGNOTkrFE1UQXpNVE16TXpNeQ0KV2pCN01TQXdIZ11EV1FRRERCZFRZ
+```
+
+VzF3YkdVZ1FYUjBaWE4wWVhScGIyNGdVbTl2ZERFV01CUUdBMVVFQ2d3Tg0KUmtsRVR5QkjiR3hw
+WVc1alpURVJNQTHQTFVRUN3d0lWVUZHSUZSWFJ5d3hFakFRQmdOVkJBY01DVkJoYkc4Zw0KUVd4
+MGJ6RUxNQWtHQTFVRUNBd0NRMEV4Q3pBSkNtJlZCQVlUQWxWVElGa3dFd1lIS29aSXpqMENBUVlJ
+S29aSQ0KemowREFRY0RRZ0FFSDhodjJEMEhYyTU5L0JtcFE3U1plaEwvRk1HekZkMVFCZl2QVvW
+TlozYWpudVE5NFBSNw0KYU16SDMzblVTQnI4ZkhZRHJxT0JiNThweEdxSEpSeVgVnK5RTUU0d0hR
+WURWUjBPQkZRUZQb0hBM0NMaHhGYg0KQzBJdDd6RTR3OGhrNUVKL01COEdBMVvKsXDRWU1CYUFG
+UG9lQTNDTGh4RmJdMEl0N3pFNhc4aGs1RUovTUF3Rw0KQTFVZEV3UUZNQU1CQWY4d0NnWU1Lb1pJ
+emowRUF3SURTQUF3U1FJAEFKMDZRU1h0OWloSWJFS11LSWpzUGtyaQ0KVmRMSWd0ZnNiRFN1N0Vy
+SmZ6cjRBAUJxb11DWmYwK3pJNTVhUWVBSGpJekE5WG02M3JydUF4Q1o5cHM5ejJYTg0KbFE9PSIS
+DQogICJEZXNjcmlwdGlvbiI6ICJGSURPIEFsbGhbmNlIFNhbXBsZSBVQUYyQXV0aGVudG1jYXRv
+ciIsDQogICJVC2VyVmVyaWZpY2F0aW9uTWV0aG9kcyI6IDIsDQogICJWYWxpZEF0dGFjaG1lbnRU
+eXB1cyI6IDEsDQogICJLZXlQcm90ZWN0aW9uIjogNiwiNCiAgIk1hdGNoZXJQcm90ZWN0aW9uIjog
+MiwiNCiAgI1NlY3VyZURpc3BsYXkiOiA0LA0KICAiU2VjdXJlRGlzcGxheUNvbnRlbnRUeXB1cyI6
+IFsiaW1hZ2UvcG5nIl0sDQogICJTWZWN1cmVEaXNwbGF5UE5HQ2hhcmFjdGVyaXN0aWNZiJogW1sw
+LDAsMSw2NCwLDAsMSwYmJjQmTYsMiwwLDAsMF1dLA0KICAiaXNTZWVbmRGYWN0b3JPbm5iIjog
+ImZhbHNlIiwNCiAgIk1jb24iOiAiZGF0YTpbbWFnZS9wbmc7YmFzZTY0LGlWQk9Sc2BLR2dvQUFB
+QU5TVWwhFVWdBQUFFOEFBQUF2Q0FZQUFBQ2l3SmZjQUFBQUFYtLNSMElBcnM0YzZRRUFBQVJuUVUx
+QkFBQ3gNCmp3djhzUVVBQUFBSSmNfaFpjd0FBRHNNQUFBN0RBY2R2cUdRQUFBYWhTVVJCVkd0Rdda
+cjVieFJsR01mOUT6VEI4QU0vWUVoRTJXN3ANC1FaY1dLS0JjbFwSEFUbEVmQVJFN2tORUNDQTNG
+a1dLMENLS1NDRklzS0JjZlZDRFdHTkVtZEFZaWR3Z2dnSkJpUmlNaEZjLzR3eTgNCjg4NHp1OU5k
+bG5HVGVZaSlAybjNuTysrODg5MzNmNmVCQngrUHFDEkprVFV2QmJMbXBRVf2Q1RjBjXBJQ1Nadlhm
+Q2RYOIVNVRMTkNCMiJiNWFOZjU5OWZHKy9lcke1NDfXNDdhUDFMTFZhOVNJeVZOVWk4SWk4ZDVr
+R1RzaTmWtKz2N2FpOW43UVPQTXdiZl1zMmVvYTJYTXENC1VkeTgrWmNhTm1HaWlFOH1YTjNSVWQz
+YTE4bkYwZl1Vsb3ZaKzBDVHPhXcGQyVmorZU9tMWJfEXk2RHg0aTVwVU1HV3Zl1bzUwNnEyMjcNCmR0
+dVdCSXVmZnI2b1dwVjBGUE5MaG93MTc1MU5tMjFMDlBIM3JWdFdqZno2NkxmcWw4dFg3RlJsOVLG
+U1hzbVNzZWl5Y2VPR2JZazcNCk1OVWNHUGc4WnNiTWU5cmZRVWFhVi9KTvg5c3FkekRDU3ZwMGta
+SG1UWmc5eDdiTEhjTW5UaGixNmVKK21WZlFxoHl1hVVPRTkc2NGkNC1haKzAva3E2dU9aRk8wUXRh
+dGRXS2ZYblJROTL1CajkxUjVPSUZUazU0ak4wbWtVaXFSzTzNYRfcrTWwrOThtS0I2dFc3cldwWmNQ
+YsNCXjB6ZzR0THJZbFVjODZFNmVHRGpJTXV1VnBj1LXJmZ0lZRL1JrNmJyaFpWci9KY0h1YTjNSVWQz
+NzU1MGplZExFeG9wV2NBcGkyW1VxaHUNCjDKTHZyVnNRVTgxemt6T1BlZW1NU112VnVRC1g3UGJp
+RFFZNUp2Wm9uZnRLKzFWWThIOXV0eDUzMGgw2IramlSWXFqNm91YV12RWUNCm5XL1dsWWpwOGN3
+Yk1tNjgydFB3cVcxUjR0ai8yU0gxM0lSS11sNG1vWnZYcG1TcURYN2RYdFFIeGEvUEszLytCV3NL
+MWRUZ0h1N1YNCjh0U0ozYndGa3dwRnJVT1E1MHMxcjNsZXZtOHpaY3ExNytCQmF3N0s4bEVLNXF6
+a111YXJR0UE4cDdQM0d6REsrbmQzRFFvdys2VUMNCjhtVvK44Mml1djM4aW03TnRhWHRWMUNWcTZS
+Z3c0cGtzBwJkaTNidTJEZTdZmFCQnhjczW2cVByVWpGUU5UUTiYbGZkVvZVVDY4c1QNCkplRjJES
+b1NtVWpnZHFNGL1TUz1wbXNmREpSM0c2VG9IMGLXOWFWN0xxTEhZWEtsbFREDDBMVEF0a11JYWft
+cDFRalZ2Kyt1eUdVeFYNCmRKMEROV1hTbStiMXFSeHBSODRkZGZYMUxwMU8vZDY5dHNvZDB2czVo
+R3JlOXh1OG8rZnBMUjFjR2hOVEQ2WjU3Qz1LTvdyZWZKZE8NC1o5NGJiOW9xZDFST25TN3FJVFR6
+SGltTXFpdmJPM2cwRGRWeWszV1FCaEJ6dEsZNV1LTmRpbmM4TzNhY1M2ZkRaRmdLYVhMc0VKcDUN
+CnJkcmxpQnFwOD1jSmNzL203VHZzMHJrakdmTjRiMgtQb1puM1VKdU1Pcm5aMjJ5UDFmbXZVeCtP
+NWdTRCWivjFtK3pTdVlOVmhxN1QNC1diRG1MvNzsanBsTGxvcDZDTFhQKzJxdHZHTE1MLzF2aW1J
+U2RNQmd6U29Gwn11NlRxCtqenhc1BhVj1CQ3F1ZS9OallrNnY2bEsNCj1jd21VYy9TVHRmMUhE
+cE0zYjU5Mnk3aDNuAHg1b3pLNj1ITHBZV3Vbd2FzUzVjdjI2cTdjZWl4ZWZWWF5ZVAzaUZVOHPq
+MWtuU3cNClpYSE1tbkNqWTBPZ2FsbzdVUWZTQ00zcVFRcjJIL1hGUddzc1h4NDVzbDkxQn11Q2Vw
+NG1vWm9IKzFmRzN4RDR0VDD4OGt3eWo4bncNCmI5ZXyYn1YwQjZkKzdINHPLdnVqUg1MzdGanF5
+ek9IZEpUSEV1em1YcS9XanhPYnZOTWJ2N25oeXdzWDJhVnNXDEM4KzQ4YUx1YXANCkU3cDV3S1pp
+MEEyQVFSVjVudlI0Rst1SmMrYjYxa0FwcU1ueEJnbWQvNFY1UVAvbXQxOEHeQzdzUkhmdG11dTvs
+bWhWMHJUL0FMWDINCjMyYnFkNEJGbkR4N1ZpMWNXUzJ1ZmYwSWJCNDdxZXh4bVvQOVF1dFlqdxBk
+M3RZRDZl1dCQk1yaCthcE5iT0tyTkyxK3VnQ2E0XcmNClhHZndNUFB0VmlhdmhVM11NT0FBbnVV
+Yi9SMDdMMH1PU2VPYWRFOdHbCHNYRkdmZjMweW5obEpntTUxQ1U2dk45RXpnbN2SEJGVXkNCm1W
+cmFlUG13SjUzREY1W1Rabm9tRU5nODVrTlVkmM9KaTJXcHI0T21ta2ZONHg0ekhMaVZGYzhEdjhO
+enVoTnFPaWRpbEd2QTZER3UNCmVad083OEFBUW42Y21FazYrcnc1VmN2anZxTkRZUE9vSVV3YUtT
+aHJ4QXVYTGxrSDRhWXVHZk1ZRGmXMFdGNVRhmZFoUEpPZmNVaHINC1UvSmxJTMk2YzZ1bFJZZEJw
+bzYrK1lmang2MWxHTmZSBTRNRDVysjFqM0ZvR0huaKRTQk5hc11VZ01MeU1zektWYjd0WHBvSGZQ
+czgNCmgzV3AXThpOzk5rNTRYeEMxd0RHVW1ZelhzWZwONNovY0t0Vm00RUJ4YT1WUUDbEllyM0xy
+VU1SakhFS2trN3phRktZUUEyaEdRVTEncnorODVOR1dwWERYa3ozdngxMEDxeFE2QnplTmJvQms1
+bjhrNG51Y1JoK2sxaFdmefRGMEQxRX1XVXM1bnYrZGdRcUtheHp1Q2RFMGkNCnN1bDyTle4YWgw
+bVhyMTJMYTntMGY5d21rOST3TE5UTVkvODZNUG84eWkzMU9meG1UN1BXb3FHOSTEWnVrWW5hNTZt
+U1p0NVdXU3kNCjVxVkeXcndVeUpXWFEsbnpaWFpL2dIU0Q3UmtUeWlob2dBQUFBQkpsVTVFcmtK
+Z2dnPT0iLA0KICAiQXNzZXJ0aW9uU2NoZW11IjogIlVBRlYxVExWIiwNCiAgIk1kdGh1bnRyY2F0
+aW9uQWxnb3JpdGhtIjogMSwNCiAgIk1kdGZvdGF0aW9uVHlwZXMiOiBbMTYzOTF0LA0KICAiVVbW
+IjogW1sxLDBdXQ0KfQ0K
+
+## EXAMPLE 4: JWT Header
+
+```
+{"typ": "JWT",
+ "alg": "ES256"
+ "x5t#S256": "7231962210d2933ec993a77b4a7203898ab74cdf974ff02d2de3f1ec7cb9de68"}
+```
+
+To produce the tbsPayload, the base64url-encoded (without padding) JWT Header is first needed:
+
+EXAMPLE 5: Encoded JWT Header
+
+```
+eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ijc4NXQjUzI1NiI6IjcyMzE5IjYyMTE5MTBkMkjz
+M2VjOTkzYTC3YjRhNzIwMzg5OGFiNzRjZjZ5NzRmZjAyZjkzZTNmMWVjN2NiNiOWR1Njg1NjifQ
+```
+
+then a period (".") and the base64url encoding of the EncodedMetadata TOCPayload (taken from the example in clause I.3.1 Metadata TOC Format) are appended:
+
+EXAMPLE 6: tbsPayload
+
+```
+eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ijc4NXQjUzI1NiI6IjcyMzE5IjYyMTE5MTBkMkjz
+M2VjOTkzYTC3YjRhNzIwMzg5OGFiNzRjZjZ5NzRmZjAyZjkzZTNmMWVjN2NiNiOWR1Njg1NjifQ.
+eyAibm8iOiAxMjM0LCJhaWbmV4dC11CGRhdGUiOiAiMzetMDMtMjAxNCIsDQogICJlbnRyaWVzIjog
+Ww0KICAgZ2VyaW1hY2I6ICIXMjM0MzU2NzI2NzI1Nzg1ZlBnbm1LLm9yZy9yZXRzZGF0YTkzYmYyZTIz
+MjQ4YWJiMzRkYTBkNm2MWY0YjMwYjUwY2U2NzgzZlI1ZGlhbmNlIiwgICImHhc2giOiAiOTBkYThkYTkz
+ICAgICAidXJsIjogImh0dHBzOi8vZm1kb2U2Z2FhbmNlIiwgICImHhc2giOiAiOTBkYThkYTkzYmYyZTIz
+Y2QilCANCIagICAgInN0YXR1c1JlcG9ydHMiOiBbDQogICAgICAgIHsNCiAgICAgICAgICAgInN0YXR1
+YXR1c0NoYW5nZSI6ICIIIA0KICAgICAgICAgY2VydGlmaWNhdGlvbi1kbGvRhdGUiOiAiMzA0NC0wNC0x
+fSwNCiAgIHsgImFwaWQwIjogIitjMjM0MzU2NzI2NzI1Nzg1ZlBnbm1LLm9yZy9yZXRzZGF0YTkzYmYy
+ZmQ3YjUwZWZQXzRjYjU2N2M2MmMWU3MmM3ZmM3Z2YyYmMWU3M2I2Ym1kMjk1OTA1OTM2NGQ2N2I0A0K
+ICAgICAidXJsIjogImh0dHBzOi8vZm1kb2U2Z2FhbmNlIiwgICImHhc2giOiAiOTBkYThkYTkzYmYyZTIz
+MzQzZmlEIA0KICAgICAgICAgInN0YXR1c1JlcG9ydHMiOiBbDQogICAgICAgIHsNCiAgICAgICAgICAg
+InN0YXR1cyI6ICIIIA0KICAgICAgICAgY2VydGlmaWNhdGlvbi1kbGvRhdGUiOiAiMzA0NC0wNC0x
+fV0NCn0
+```
+
+and finally another period (".") is appended followed by the base64url-encoded signature.
+
+EXAMPLE 7: JWT
+
+```
+eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ijc4NXQjUzI1NiI6IjcyMzE5IjYyMTE5MTBkMkjz
+M2VjOTkzYTC3YjRhNzIwMzg5OGFiNzRjZjZ5NzRmZjAyZjkzZTNmMWVjN2NiNiOWR1Njg1NjifQ.
+eyAibm8iOiAxMjM0LCJhaWbmV4dC11CGRhdGUiOiAiMzetMDMtMjAxNCIsDQogICJlbnRyaWVzIjog
+Ww0KICAgZ2VyaW1hY2I6ICIXMjM0MzU2NzI2NzI1Nzg1ZlBnbm1LLm9yZy9yZXRzZGF0YTkzYmYyZTIz
+MjQ4YWJiMzRkYTBkNm2MWY0YjMwYjUwY2U2NzgzZlI1ZGlhbmNlIiwgICImHhc2giOiAiOTBkYThkYTkz
+ICAgICAidXJsIjogImh0dHBzOi8vZm1kb2U2Z2FhbmNlIiwgICImHhc2giOiAiOTBkYThkYTkzYmYyZTIz
+Y2QilCANCIagICAgInN0YXR1c1JlcG9ydHMiOiBbDQogICAgICAgIHsNCiAgICAgICAgICAgInN0YXR1
+YXR1c0NoYW5nZSI6ICIIIA0KICAgICAgICAgY2VydGlmaWNhdGlvbi1kbGvRhdGUiOiAiMzA0NC0wNC0x
+fSwNCiAgIHsgImFwaWQwIjogIitjMjM0MzU2NzI2NzI1Nzg1ZlBnbm1LLm9yZy9yZXRzZGF0YTkzYmYy
+ZmQ3YjUwZWZQXzRjYjU2N2M2MmMWU3MmM3ZmM3Z2YyYmMWU3M2I2Ym1kMjk1OTA1OTM2NGQ2N2I0A0K
+ICAgICAidXJsIjogImh0dHBzOi8vZm1kb2U2Z2FhbmNlIiwgICImHhc2giOiAiOTBkYThkYTkzYmYyZTIz
+MzQzZmlEIA0KICAgICAgICAgInN0YXR1c1JlcG9ydHMiOiBbDQogICAgICAgIHsNCiAgICAgICAgICAg
+InN0YXR1cyI6ICIIIA0KICAgICAgICAgY2VydGlmaWNhdGlvbi1kbGvRhdGUiOiAiMzA0NC0wNC0x
+fV0NCi5BUC1nb2J3VlPzj7L6lCE1UzHzJYQnszFQ8d2hJz51sPasGYABK5VXOFnAhzBTQRRkgwGqULy6PtTyUV
+zKxM0HrvoyZq
+```
+
+NOTE – The line breaks are for display purposes only.
+
+The signature in the example above was computed with the following ECDSA key
+
+EXAMPLE 8: ECDSA Key used for signature computation
+
+```
+x: d4166ba8843d1731813f46f1af32174b5c2f6013831fb16f12c9c0b18af3a9b4
+y: 861bc2f803a2241f4939bd0d8ecd34e468e42f7fdccd424edb1c3ce7c4dd04e
+d: 3744c426764f331f153e182d24f133190b6393cea480a8eec1c722fce161fe2d
+```
+
+### I.3.1.7 Metadata TOC object processing rules
+
+The FIDO server MUST follow these processing rules:
+
+- The FIDO server MUST be able to download the latest metadata TOC object from the well-known URL, when appropriate. The nextUpdate field of the Metadata TOC specifies a date when the download SHOULD occur at latest.
+- If the x5u attribute is present in the JWT Header, then:
+
+202 Rec. ITU-T X.1277 (11/2018)
+
+1. The FIDO server MUST verify that the URL specified by the `x5u` attribute has the same web-origin as the URL used to download the metadata TOC from. The FIDO server SHOULD ignore the file if the web-origin differs (in order to prevent loading objects from arbitrary sites).
+2. The FIDO server MUST download the certificate (chain) from the URL specified by the `x5u` attribute [IETF RFC 7515]. The certificate chain MUST be verified to properly chain to the metadata TOC signing trust anchor according to [IETF RFC 5280]. All certificates in the chain MUST be checked for revocation according to [IETF RFC 5280].
+3. The FIDO server SHOULD ignore the file if the chain cannot be verified or if one of the chain certificates is revoked.
+3. If the `x5u` attribute is missing, the chain should be retrieved from the `x5c` attribute. If that attribute is missing as well, metadata TOC signing trust anchor is considered the TOC signing certificate chain.
+4. Verify the signature of the metadata TOC object using the TOC signing certificate chain (as determined by the steps above). The FIDO server SHOULD ignore the file if the signature is invalid. It SHOULD also ignore the file if its number (`no`) is less or equal to the number of the last metadata TOC object cached locally.
+5. Write the verified object to a local cache as required.
+6. Iterate through the individual entries (of type `MetadataTOCPayloadEntry`). For each entry:
+ 1. Ignore the entry if the AAID, AAGUID or attestationCertificateKeyIdentifiers is not relevant to the relying party (e.g., not acceptable by any policy).
+ 2. Download the metadata statement from the URL specified by the field `url`. Some authenticator vendors might require authentication in order to provide access to the data. Conforming FIDO servers SHOULD support the HTTP Basic and HTTP Digest authentication schemes, as defined in [b-IETF RFC 2617].
+ 3. Check whether the status report of the authenticator model has changed compared to the cached entry by looking at the fields `timeOfLastStatusChange` and `statusReport`. Update the status of the cached entry. It is up to the relying party to specify behavior for authenticators with status reports that indicate a lack of certification, or known security issues. However, the status `REVOKED` indicates significant security issues related to such authenticators.
+
+NOTE – authenticators with an unacceptable status should be marked accordingly. This information is required for building registration and authentication policies included in the registration request and the authentication request (Annex A).
+ 4. Compute the hash value of the (base64url encoding without padding of the UTF-8 encoded) metadata statement downloaded from the URL and verify the hash value to the hash specified in the field `hash` of the metadata TOC object. Ignore the downloaded metadata statement if the hash value does not match.
+ 5. Update the cached metadata statement according to the downloaded one.
+
+## I.4 Considerations
+
+This clause describes the key considerations for designing this metadata service.
+
+**Need for authenticator metadata** When defining policies for acceptable authenticators, it is often better to describe the required authenticator characteristics in a generic way than to list individual authenticator AAIDs. The metadata statements provide such information. Authenticator metadata also provides the trust anchor required to verify attestation objects.
+
+The metadata service provides a standardized method to access such metadata statements.
+
+**Integrity and authenticity** Metadata statements include information relevant for the security. Some business verticals might even have the need to document authenticator policies and trust anchors used for verifying attestation objects for auditing purposes.
+
+It is important to have a strong method to verify and proof integrity and authenticity and the freshness of metadata statements. A single digital signature is used to protect the integrity and authenticity of the metadata TOC object and the integrity and authenticity of the individual metadata statements are protected by including their cryptographic hash values into the metadata TOC object. This allows for flexible distribution of the metadata statements and the metadata TOC object using standard content distribution networks.
+
+**Organizational impact** Authenticator vendors can delegate the publication of metadata statements to the metadata service in its entirety. Even if authenticator vendors choose to publish metadata statements themselves, the effort is very limited as the metadata statement can be published like a normal document on a website. The FIDO Alliance has control over the FIDO certification process and receives the metadata as part of that process anyway. With this metadata service, the list of known authenticators needs to be updated, signed and published regularly. A single signature needs to be generated in order to protect the integrity and authenticity of the metadata TOC object.
+
+**Performance impact** Metadata TOC objects and metadata statements can be cached by the FIDO server.
+
+The update policy can be specified by the relying party.
+
+The metadata TOC object includes a date for the next scheduled update. As a result there is no additional impact to the FIDO server during FIDO authentication or FIDO registration operations.
+
+Updating the metadata TOC object and metadata statements can be performed asynchronously. This reduces the availability requirements for the metadata service and the load for the FIDO server.
+
+The metadata TOC object itself is relatively small as it does not contain the individual metadata statements. So downloading the metadata TOC object does not generate excessive data traffic.
+
+Individual metadata statements are expected to change less frequently than the metadata TOC object. Only the modified metadata statements need be downloaded by the FIDO server.
+
+**Non-public metadata statements** Some authenticator vendors might want to provide access to metadata statements only to their subscribed customers.
+
+They can publish the metadata statements on access protected URLs. The access URL and the cryptographic hash of the metadata statement is included in the metadata TOC object.
+
+**High security environments** Some high security environments might only trust internal policy authorities. FIDO servers in such environments could be restricted to use metadata TOC objects from a proprietary trusted source only. The metadata service is the baseline for most relying parties.
+
+**Extended authenticator information** Some relying parties might want additional information about authenticators before accepting them. The policy configuration is under control of the relying party, so it is possible to only accept authenticators for which additional data is available and meets the requirements.
+
+## Annex J
+
+### FIDO ECDAAs algorithm
+
+(This annex forms an integral part of this Recommendation.)
+
+#### J.1 Summary
+
+The FIDO basic attestation scheme uses attestation "group" keys shared across a set of authenticators with identical characteristics in order to preserve privacy by avoiding the introduction of global correlation handles. If such an attestation key is extracted from one single authenticator, it is possible to create a "fake" authenticator using the same key and hence indistinguishable from the original authenticators by the relying party. Removing trust for registering new authenticators with the related key would affect the entire set of authenticators sharing the same "group" key. Depending on the number of authenticators, this risk might be unacceptable high.
+
+This is especially relevant when the attestation key is primarily protected against malware attacks as opposed to targeted physical attacks.
+
+An alternative approach to "group" keys is the use of individual keys combined with a Privacy-CA [b-TPMv1-2-Part1]. Translated to FIDO, this approach would require one Privacy-CA interaction for each Uauth key. This means relatively high load and high availability requirements for the Privacy-CA. Additionally the Privacy-CA aggregates sensitive information (i.e., knowing the relying parties the user interacts with). This might make the Privacy-CA an interesting attack target.
+
+Another alternative is the direct anonymous attestation [b-BriCamChe2004-DAA]. Direct anonymous attestation is a cryptographic scheme combining privacy with security. It uses the authenticator specific secret once to communicate with a single DAA Issuer and uses the resulting DAA credential in the DAA-Sign protocol with each relying party. The DAA scheme has been adopted by the trusted computing group for TPM v1.2 [b-TPMv1-2-Part1].
+
+This annex specifies the use of an improved DAA scheme based on elliptic curves and bilinear pairings largely compatible with [b-CheLi2013-ECDAAs] called ECDAAs. This scheme provides significantly improved performance compared with the original DAA and basic building blocks for its implementation are part of the TPMv2 specification [b-TPMv2-Part1].
+
+Our improvements over [b-CheLi2013-ECDAAs] mainly consist of security fixes, see [b-ANZ-2013] and [b-XYZF-2014], when splitting the sign operation into two parts.
+
+The FIDO basic attestation scheme uses attestation "group" keys shared across a set of authenticators with identical characteristics.
+
+#### J.2 Overview
+
+FIDO uses the concept of attestation to provide a cryptographic proof of the authenticator model to the relying party. When the authenticator is registered to the relying party (RP), it generates a new authentication key pair and includes the public key in the attestation message, which is also known as a key registration data object (KRD). When using the ECDAAs algorithm, the KRD object is signed using ECDAAs-Sign (clause J.3.5).
+
+For privacy reasons, the authentication key pair is dedicated to one RP, or to be more specific, to an application identifier (AppID). Consequently the attestation method needs to provide the same level of unlinkability. This is the reason why the FIDO ECDAAs algorithm does not use a basename (bsn) often found in other direct anonymous attestation algorithms, e.g., [b-BriCamChe2004-DAA] or [b-BFGSW-2011].
+
+The authenticator encapsulates all user verification operations and cryptographic functions. An authenticator specific module (ASM) is used to provide a standardized communication interface for authenticators. The authenticator might be implemented in separate hardware or trusted execution environments. The ASM is assumed to run in the normal operating system (e.g., Android, Windows, etc.).
+
+### J.2.1 Scope
+
+This annex describes the FIDO ECDAAtestation algorithm in detail.
+
+### J.2.2 Architecture overview
+
+ECDAAtestation defines global system parameters and issuer specific parameters. Both parameter sets need to be installed on the host, in the authenticator and in the FIDO server. The ECDAAtestation method consists of two steps:
+
+- ECDAAtestation-Join to be performed before the first FIDO registration
+ - $n = \text{GetNonceFromECDAAtestationIssuer}()$
+ - $(Q, c1, s1) = \text{EcdaaJoin1}(X, Y, n)$
+ - $(A, B, C, D, s2, c2) = \text{EcdaaIssuerJoin}(Q, c1, s1)$
+ - $\text{EcdaaJoin2}(A, B, C, D, c2, s2) // \text{store cre}=(A, B, C, D)$
+- and the pair of ECDAAtestation-Sign performed by the authenticator and ECDAAtestation-Verify performed by the FIDO server as part of the FIDO registration.
+ - Client: $\text{Attestation} = (\text{signature}, \text{KRD}) = \text{EcdaaSign}(\text{AppID})$
+ - Server: $\text{success} = \text{EcdaaVerify}(\text{signature}, \text{KRD}, \text{AppID})$
+
+The technical implementation details of the ECDAAtestation-Join step are out-of-scope for FIDO. This annex normatively specifies the general algorithm to the extent required for interoperability and outlines examples of some possible implementations for this step.
+
+The ECDAAtestation-Sign and ECDAAtestation-Verify steps and the encoding of the related ECDAAtestation signature are normatively specified in this annex. The generation and encoding of the KRD object is defined in other FIDO specifications.
+
+The algorithm and terminology are inspired by [b-BFGSW-2011]. The algorithm was modified in order to fix security weaknesses (e.g., as mentioned by [b-ANZ-2013] and [b-XYZF-2014]). Our algorithm proposes an improved task split for the sign operation while still being compatible with TPMv2 (without fixing the TPMv2 weaknesses in such case).
+
+## J.3 FIDO ECDAAtestation
+
+### J.3.1 Object encodings
+
+There is a need to convert `BigNumber` and `ECPoint` objects to byte strings using the following encoding functions:
+
+#### J.3.1.1 Encoding BigNumber values as byte strings (BigNumberToB)
+
+The I2OSP algorithm is used as defined in [IETF RFC 3447] for converting big numbers to byte arrays. The bytes from the big endian encoded (non-negative) number $n$ will be copied right-aligned into the buffer area $b$ . The unused bytes will be set to 0. Negative values will not occur due to the construction of the algorithms.
+
+EXAMPLE 1: Converting BigNumber $n$ to byte string $b$
+
+```
+b0 b1 b2 b3 b4 b5 b6 b7
+0 0 n0 n1 n2 n3 n4 n5
+```
+
+The algorithm implemented in Java looks like this:
+
+#### EXAMPLE 2: Algorithm for converting BigNumber to byte strings
+
+```
+ByteArray BigNumberToB(
+ BigNumber inVal, // IN: number to convert
+ int size // IN: size of the output.
+)
+{
+ ByteArray buffer = new ByteArray(size);
+ int oversize = size - inVal.length;
+ if (oversize < 0)
+ return null;
+ for (int i=overvize; i > 0; i--)
+ buffer[i] = 0;
+ ByteCopy( inVal.bytes, &buffer[oversize], inVal.length);
+ return buffer;
+}
+```
+
+#### J.3.1.2 Encoding **ECPoint** values as byte strings (ECPointToB)
+
+The ANSI X9.62 point-to-octet-string [b-ECDSA-ANSI] conversion is used in the expanded format, i.e., the format where the compression byte (i.e., 0x04 for expanded) is followed by the encoding of the affine x coordinate, followed by the encoding of the affine y coordinate.
+
+#### EXAMPLE 3: Converting ECPoint P to byte string
+
+```
+(x, y) = ECPointGetAffineCoordinates(P)
+len = G1.byteLength
+byte string = 0x04 | BigIntegerToB(x,len) | BigIntegerToB(y,len)
+```
+
+#### J.3.1.3 Encoding **ECPoint2** values as byte strings (ECPoint2ToB)
+
+The type **ECPoint2** denotes a point on the sextic twist of a BN elliptic curve over $F(q^2)$ , see clause J.4.1 Supported curves for ECDAA. Each **ECPoint2** is represented by a pair $(a, b)$ of elements of $F(q)$ .
+
+The group zero element is always encoded (using the encoding rules as described below) as a an element having all components set to zero (i.e., $cx.a=0$ , $cx.b=0$ , $cy.a=0$ , $cy.b=0$ ).
+
+Normalized (non-zero) **ECPoint2** values (i.e., $cz = 1$ ) are always assumed before they are encoded. Non-zero values are encoded using the expanded format (i.e., 0x04 for expanded) followed by the $cx$ followed by the $cy$ value. This leads to the concatenation of 0x04 followed by the first element ( $cx.a$ ) and second element ( $cx.b$ ) of the pair of $cx$ followed by the first element ( $cy.a$ ) and second element ( $cy.b$ ) of the pair of $cy$ . All individual numbers are padded to the same length (i.e., the maximum byte length of all relevant 4 numbers).
+
+#### EXAMPLE 4: Converting ECPoint2 P2 to byte string
+
+```
+(cx, cy) = ECPointGetAffineCoordinates(P2)
+len = G2.byteLength
+byte string = 0x04 | BigIntegerToB(cx.a,len) | BigIntegerToB(cx.b,len)
+ | BigIntegerToB(cy.a,len) | BigIntegerToB(cy.b,len)
+```
+
+### J.3.2 Global ECDAA system parameters
+
+1. Groups $G_1$ , $G_2$ and $G_T$ , of sufficiently large prime order $p$ .
+2. Two generators $P_1$ and $P_2$ , such that $G_1 = ext{\langle} P_1 ext{\rangle}$ and $G_2 = ext{\langle} P_2 ext{\rangle}$ .
+3. A bilinear pairing $e: G_1 imes G_2
ightarrow G_T$ . The use of "ate" pairing (see [b-BarNae-2006]) is proposed. For example source code on this topic, see BNPairings.
+4. Hash function $H$ with $H: ext{\{}0,1 ext{\}}^*
ightarrow ext{\mathbb{Z}}_p$ .
+5. $(G_1, P_1, p, H)$ are installed in all authenticators implementing FIDO ECDAA attestation.
+
+Definition of $G_1$ , $G_2$ , $G_T$ , pairings and hash function $H$ .
+
+See clause J.4.1 Supported curves for ECDAA.
+
+### J.3.3 Issuer specific ECDAAs parameters
+
+Issuer parameters $parI$ consist of the following values:
+
+1. Randomly generated issuer private $isk = (x, y)$ with $[x, y = RAND(p)]$ .
+2. Issuer public key $(X, Y)$ , with $X = P_2^x$ and $Y = P_2^y$ .
+3. A proof that the issuer key was correctly computed
+ 1. BigInteger $r_x = RAND(p)$
+ 2. BigInteger $r_y = RAND(p)$
+ 3. ECPoint2 $U_x = P_2^{r_x}$
+ 4. ECPoint2 $U_y = P_2^{r_y}$
+ 5. BigInteger $c = H(U_x | U_y | P_2 | X | Y)$
+ 6. BigInteger $s_x = r_x + c \cdot x \pmod{p}$
+ 7. BigInteger $s_y = r_y + c \cdot y \pmod{p}$
+4. $ipk = X, Y, c, s_x, s_y$
+
+Whenever a party uses $ipk$ for the first time, it must first verify that it was correctly generated:
+
+$$H(P_2^{s_x}) \cdot X^{-c} | P_2^{s_y} \cdot Y^{-c} | P_2 | X | Y \stackrel{?}{=} c$$
+
+NOTE 1 – $P_2^{s_x} \cdot X^{-c} = P_2^{r_x + cx} \cdot P_2^{-cx} = P_2^{r_x} = U_x$
+
+NOTE 2 – $P_2^{s_y} \cdot Y^{-c} = P_2^{r_y + cy} \cdot P_2^{-cy} = P_2^{r_y} = U_y$
+
+The ECDAAs-Issuer public key $ipk$ MUST be dedicated to a single authenticator model.
+
+### J.3.4 ECDAAs-Join
+
+NOTE – One ECDAAs-Join operation is required once in the lifetime of an authenticator prior to the first registration of a credential.
+
+In order to use ECDAAs, the authenticator must first receive ECDAAs credentials from an ECDAAs-Issuer. This is done by the ECDAAs-Join operation. This operation needs to be performed a single time (before the first credential registration can take place). After the ECDAAs-Join, the authenticator will use the ECDAAs-Sign operation as part of each FIDO Registration. The ECDAAs-Issuer is not involved in this step. ECDAAs plays no role in FIDO authentication/transaction confirmation operations.
+
+In order to use ECDAAs, (at least) one ECDAAs-Issuer is needed. The approach specified in this annex easily scales to multiple ECDAAs-Issuers, e.g., one per authenticator vendor. FIDO lets the authenticator vendor choose any ECDAAs-Issuer (similar to his current freedom for selecting any PKI infrastructure/service provider to issuing attestation certificates required for FIDO basic attestation).
+
+- All ECDAAs-Join operations (of the related authenticators) are performed with one of the ECDAAs-Issuer entities.
+- Each ECDAAs-Issuer has a set of public parameters, i.e., ECDAAs public key material. The related attestation trust anchor is contained in the metadata of each authenticator model identified by its AAGUID.
+
+There are two different implementation options relevant for the authenticator vendors (the authenticator vendor can freely choose them):
+
+1. In-Factory ECDAAs-Join
+2. Remote ECDAAs-Join and
+
+In the first case, physical proximity is used to locally establish the trust between the ECDAAs-Issuer and the authenticator (e.g., using a key provisioning station in a production line). There is no requirement for the ECDAAs-Issuer to operate an online web service.
+
+In the second case, some credential is required to remotely establish the trust between the ECDAAs-Issuer and the authenticator. As this operation is performed once and only with a single ECDAAs-Issuer, privacy is preserved and an authenticator specific credential can and should be used.
+
+Not all ECDAAs authenticators might be able to add their authenticator model IDs (e.g., AAGUID) to the registration assertion (e.g., TPMs). In all cases, the ECDAAs-Issuer will be able to derive the exact the authenticator model from either the credential or the physically proximate authenticator. So the ECDAAs-Issuer root key MUST be dedicated to a single authenticator model.
+
+#### J.3.4.1 ECDAAs-Join algorithm
+
+NOTE – If this join is not in-factory, the value Q must be authenticated by the authenticator. Upon receiving this value, the issuer must verify that this authenticator did not join before.
+
+1. The authenticator asks the issuer for a nonce.
+2. The issuer chooses a nonce BigInteger $n = \text{RAND}(p)$ and sends $n$ via the ASM to the authenticator.
+3. The authenticator chooses and stores the ECDAAs private key BigInteger $sk = \text{RAND}(p)$
+4. The authenticator computes its ECDAAs public key ECPPoint $Q = P_1^{sk}$
+5. The authenticator proves knowledge of $sk$ as follows
+ 1. BigInteger $r_1 = \text{RAND}(p)$
+ 2. ECPPoint $U_1 = P_1^{r_1}$
+ 3. BigInteger $c_1 = H(U_1|P_1|Q|n)$
+ 4. BigInteger $s_1 = r_1 + c_1 \cdot sk$
+6. The authenticator sends $Q, c_1, s_1$ via the ASM to the issuer
+7. The issuer verifies that the authenticator is "authentic" and that $Q$ was indeed generated by the authenticator. In the case of an in-factory Join, this might be trivial; in the case of a remote Join this typically requires the use of other cryptographic methods. Since ECDAAs-Join is a one-time operation, unlinkability is not a concern for that.
+8. The issuer verifies that $Q \in G_1$ and verifies $H(P_1^{s_1} \cdot Q^{-c_1} | P_1 | Q | n) \stackrel{?}{=} c_1$ (check proof-of-possession of private key).
+
+NOTE – $P_1^{s_1} \cdot Q^{-c_1} = P_1^{r_1 + c_1 sk} \cdot Q^{-c_1} = P_1^{r_1 + c_1 sk} \cdot P_1^{-c_1 sk} = P_1^{r_1} = U_1$
+
+9. The issuer creates credential (A, B, C, D) as follows:
+ 1. BigInteger $l_j = \text{RAND}(p)$
+ 2. ECPPoint $A = P_1^{l_j}$
+ 3. ECPPoint $B = A^y$
+ 4. ECPPoint $C = A^x \cdot Q^{xyl_j}$
+ 5. ECPPoint $D = Q^{l_j y}$
+10. The issuer proves that it computed this credential correctly:
+ 1. BigInteger $r_2 = \text{RAND}(p)$
+ 2. ECPPoint $U_2 = P_1^{r_2}$
+ 3. ECPPoint $V_2 = Q^{r_2}$
+ 4. BigInteger $c_2 = H(U_2 | V_2 | P_1 | B | Q | D)$
+ 5. BigInteger $s_2 = r_2 + c_2 \cdot l_j \cdot y$
+
+11. The issuer sends A, B, C, D, $c_2$ , $s_2$ to the authenticator.
+12. The authenticator checks that A, B, C, D $\in G_1$ and $A \neq 1_{G_1}$
+13. The authenticator checks $H(P_1^{s_2} \cdot B^{-c_2} | Q^{s_2} | D^{-c_2} | P_1 | B | Q | D) \stackrel{?}{=} c_2$
+NOTE 1 – $P_1^{s_2} \cdot B^{-c_2} = P_1^{r_2} \cdot P_1^{c_2 \cdot l_j \cdot y} \cdot B^{-c_2} = U_2 \cdot B^{c_2} \cdot B^{-c_2} = U_2$
+NOTE 2 – $Q^{s_2} \cdot D^{-c_2} = Q^{r_2} \cdot Q^{c_2 \cdot l_j \cdot y} \cdot D^{-c_2} = V_2 \cdot D^{c_2} \cdot D^{-c_2} = V_2$
+14. The authenticator checks $e(A, Y) \stackrel{?}{=} e(B, P_2)$
+NOTE – $e(A, Y) = e(P_1^{l_j}, P_2^y)$ ; $(e(B, P_2) = e(A^y, P_2) = e(P_1^{y l_j}, P_2))$
+15. and the authenticator checks $e(C, P_2) \stackrel{?}{=} e(A \cdot D, X)$
+NOTE – $e(C, P_2) = e(A^x \cdot Q^{x y l_j}, P_2)$ ; $(e(A \cdot D, X) = e(A \cdot Q^{y l_j}, P_2^x))$
+16. The authenticator stores credential A, B, C, D
+
+**J.3.4.2 ECDAA-Join split between authenticator and ASM**
+
+NOTE – If this join is not in-factory, the value Q must be authenticated by the authenticator. Upon receiving this value, the issuer must verify that this authenticator did not join before.
+
+1. The ASM asks the issuer for a nonce.
+2. The issuer chooses a nonce BigInteger *n* = RAND(p) and sends *n* to the ASM.
+3. The ASM forwards *n* to the authenticator.
+4. The authenticator chooses and stores the private key BigInteger *sk* = RAND(p).
+5. The authenticator computes its ECDAA public key ECPoint $Q = P_1^{sk}$ .
+6. The authenticator proves knowledge of *sk* as follows:
+ 1. BigInteger $r_1 = \text{RAND}(p)$
+ 2. ECPoint $U_1 = P_1^{r_1}$
+ 3. BigInteger $c_1 = H(U_1 | P_1 | Q | n)$
+ 4. BigInteger $s_1 = r_1 + c_1 \cdot sk$
+7. The authenticator sends Q, $c_1$ , $s_1$ to the ASM, who forwards it to the issuer.
+8. The issuer verifies that the authenticator is "authentic" and that Q was indeed generated by the authenticator. In the case of an in-factory Join, this might be trivial; in the case of a remote Join this typically requires the use of other cryptographic methods. Since ECDAA-Join is a one-time operation, unlinkability is not a concern for that.
+9. The issuer verifies that $Q \in G_1$ and verifies $H(P_1^{s_1} \cdot Q^{-c_1} | P_1 | Q | n) \stackrel{?}{=} c_1$
+10. The issuer creates credential A, B, C, D as follows:
+ 1. BigInteger $l_j = \text{RAND}(p)$
+ 2. ECPoint $A = P_1^{l_j}$
+ 3. ECPoint $B = A^y$
+ 4. ECPoint $C = A^x \cdot Q^{x y l_j}$
+ 5. ECPoint $D = Q^{l_j y}$
+11. The issuer proves that it computed this credential correctly:
+ 1. BigInteger $r_2 = \text{RAND}(p)$
+ 2. ECPoint $U_2 = P_1^{r_2}$
+ 3. ECPoint $V_2 = Q^{r_2}$
+
+4. $\text{BigInteger } c_2 = H(U_2|V_2|P_1|B|Q|D)$
+5. $\text{BigInteger } s_2 = r_2 + c_2 \cdot l_j \cdot y$
+12. The issuer sends A, B, C, D, $c_2$ , $s_2$ to the ASM. The issuer authenticates B, D, $c_2$ , $s_2$ such that the authenticator can verify they were created by the issuer.
+13. The ASM checks that A, B, C, D $\in G_1$ and $A \neq 1_{G_1}$
+14. The ASM checks $H(P_1^{s_2} \cdot B^{-c_2} | Q^{s_2} \cdot D^{-c_2} | P_1 | B | Q | D) \stackrel{?}{=} c_2$
+15. The ASM checks $e(A, Y) \stackrel{?}{=} e(B, P_2)$
+16. and the ASM checks that $e(C, P_2) \stackrel{?}{=} e(A \cdot D, X)$
+17. The ASM stores A, B, C, D and sends B, D, $c_2$ , $s_2$ to the authenticator.
+18. The authenticator checks B, D $\in G_1$ and $B \neq 1_{G_1}$ and verifies that B, D, $c_2$ , $s_2$ were sent by the issuer.
+19. The authenticator checks $H(P_1^{s_2} \cdot B^{-c_2} | Q^{s_2} \cdot D^{-c_2} | P_1 | B | Q | D) \stackrel{?}{=} c_2$
+20. The authenticator stores B, D and ignores further join requests.
+
+NOTE – These values belong to the ECDAA secret key **sk**. They should persist even in the case of a factory reset.
+
+### J.3.4.3 ECDAA-Join split between TPM and ASM
+
+NOTE – The endorsement key credential (EK-C) and TPM2\_ActivateCredentials are used for supporting the remote Join.
+
+This description is based on the principles described in [b-TPMv2-Part1] section 24 and [b-Arthur-Challener-2015], page 109 ("Activating a credential").
+
+1. The ASM asks the ECDAA Issuer for a nonce.
+2. The ECDAA Issue chooses a nonce $\text{BigInteger } n = \text{RAND}(p)$ and sends n to the ASM.
+3. The ASM
+ 1. instructs the TPM to create a restricted key by calling TPM2\_Create, giving the public key template **TPMT\_PUBLIC** [b-TPMv2-Part2] (including the public key Q in field **unique**) to the ASM.
+ 2. retrieves TPM Endorsement Key Certificate (EK-C) from the TPM
+ 3. calls TPM2\_Commit(keyhandle, P1, s2, y2) where keyhandle is the handle of the restricted key generated before (see above), P1 is set to $P_1$ and s2 and y2 are left empty. This call returns K, L, E and ctr; where K and L will be empty.
+ 4. computes $\text{BigInteger } c_1 = H(E|P_1|Q|n)$
+ 5. call TPM2\_Sign( $c_1$ , ctr), returning $s_1$ .
+ 6. sends EK-C, **TPMT\_PUBLIC** (including Q in field **unique**), $c_1$ , $s_1$ to the ECDAA Issuer.
+4. The ECDAA Issuer
+ 1. verifies EK-C and its certificate chain. As a result the ECDAA Issuer knows the TPM model related to EK-C.
+ 2. verifies that this EK-C was not used in a (successful) Join before.
+ 3. verifies that the **objectAttributes** in **TPMT\_PUBLIC** [b-TPMv2-Part2] matches the following flags: **fixedTPM** = 1; **fixedParent** = 1; **sensitiveDataOrigin** = 1; **encryptedDuplication** = 0; **restricted** = 1; **decrypt** = 0; **sign** = 1.
+
+4. examines the public key $Q$ , i.e., it verifies that $Q \in G_1$
+5. checks $H(P_1^{S_1} \cdot Q^{-c_1} | P_1 | Q | n) \stackrel{?}{=} c_1$
+6. generates the ECDAA credential $(A, B, C, D)$ as follows:
+ 1. BigInteger $l_1 = \text{RAND}(p)$
+ 2. ECPoint $A = P_1^{l_1}$
+ 3. ECPoint $B = A^y$
+ 4. ECPoint $C = A^x \cdot Q^{xy l_1}$
+ 5. ECPoint $D = Q^{l_1 y}$
+7. proves that it computed this credential correctly:
+ 1. BigInteger $r_2 = \text{RAND}(p)$
+ 2. ECPoint $U_2 = P_1^{r_2}$
+ 3. ECPoint $V_2 = Q^{r_2}$
+ 4. BigInteger $c_2 = H(U_2 | V_2 | P_1 | B | Q | D)$
+ 5. BigInteger $s_2 = r_2 + c_2 \cdot l_1 \cdot y$
+8. generates a *secret* (derived from a *seed*) and wraps the credential $A, B, C, D$ using that *secret*.
+9. encrypts the *seed* using the public key included in EK-C.
+10. uses *seed* and *name* in KDFa (see [b-TPMv2-Part2] section 24.4) to derive HMAC and symmetric encryption key. Wrap the *secret* in symmetric encryption key and protect it with the HMAC key.
+ NOTE – The parameter *name* in KDFa is derived from **TPMT\_PUBLIC**, see [b-TPMv2-Part1], section 16.
+11. sends the credential proof $c_2, s_2$ and the wrapped object including the credential from previous step to the ASM.
+5. The ASM instructs the TPM (by calling TPM2\_ActivateCredential) to
+ 1. decrypt the *seed* using the TPM Endorsement key
+ 2. compute the *name* (for the ECDAA attestation key)
+ 3. use the *seed* in KDFa (with *name*) to derive the HMAC key and the symmetric encryption key.
+ 4. use the symmetric encryption key to unwrap the *secret*.
+6. The ASM
+ 1. unwraps the credential $A, B, C, D$ using the *secret* received from the TPM.
+ 2. checks that $A, B, C, D \in G_1$ and $A \neq 1_{G_1}$
+ 3. checks $H(P_1^{S_2} \cdot B^{-c_2} | Q^{S_2} \cdot D^{-c_2} | P_1 | B | Q | D) \stackrel{?}{=} c_2$
+ 4. checks $e(A, Y) \stackrel{?}{=} e(B, P_2)$ and $e(C, P_2) \stackrel{?}{=} e(A \cdot D, X)$
+ 5. stores $A, B, C, D$
+
+### J.3.5 ECDAA-Sign
+
+NOTE – One ECDAA-Sign operation is required for the client-side environment whenever a new credential is being registered at a relying party.
+
+### J.3.5.1 ECDAA-Sign algorithm
+
+(signature, KRD) = EcdaaSign(String AppID)
+
+Parameters:
+
+- p: System parameter prime order of group G1 (global constant)
+- AppID: FIDO AppID (i.e., https-URL of TrustedFacets object)
+
+Algorithm outline:
+
+1. KRD = BuildAndEncodeKRD(); // all traditional Registration tasks are here
+2. BigNumber l = RAND(p)
+3. ECPoint R = $A^l$ ;
+4. ECPoint S = $B^l$ ;
+5. ECPoint T = $C^l$ ;
+6. ECPoint W = $D^l$ ;
+7. BigInteger r = RAND(p)
+8. ECPoint U = $S^r$
+9. BigInteger c = H(U | S | W | AppID | H(KRD))
+10. BigInteger s = $r + c \cdot sk \pmod{p}$
+11. signature = (c, s, R, S, T, W)
+12. return (signature, KRD)
+
+### J.3.5.2 ECDAA-Sign split between authenticator and ASM
+
+**NOTE** – This split requires both the authenticator and ASM to be honest to achieve anonymity. Only the authenticator must be trusted for unforgeability. The communication between ASM and authenticator must be secure.
+
+Algorithm outline:
+
+1. The ASM randomizes the credential
+ 1. BigNumber l = RAND(p)
+ 2. ECPoint R = $A^l$ ;
+ 3. ECPoint S = $B^l$ ;
+ 4. ECPoint T = $C^l$ ;
+ 5. ECPoint W = $D^l$ ;
+2. The ASM sends l, AppID to the authenticator.
+3. The authenticator performs the following tasks:
+ 1. KRD = BuildAndEncodeKRD(); // all traditional Registration tasks are here
+ 2. ECPoint S' = $B^l$
+ 3. ECPoint W' = $D^l$
+ 4. BigInteger r = RAND(p)
+ 5. ECPoint U = $S^r$
+ 6. BigInteger c = H(U | S' | W' | AppID | H(KRD))
+ 7. BigInteger s = $r + c \cdot sk \pmod{p}$
+ 8. Send c, s, KRD to the ASM
+4. The ASM sets signature = (c, s, R, S, T, W) and outputs (signature, KRD).
+
+### J.3.5.3 ECDAASign split between TPM and ASM
+
+NOTE – This algorithm is for the special case of a TPMv2 as authenticator. This case requires both the TPM and ASM to be honest for anonymity and unforgeability, see [b-XYZF-2014].
+
+Algorithm outline:
+
+1. The ASM randomizes the credential
+ 1. BigInteger $l = \text{RAND}(p)$
+ 2. ECPoint $R = A^l$ ;
+ 3. ECPoint $S = B^l$ ;
+ 4. ECPoint $T = C^l$ ;
+ 5. ECPoint $W = D^l$ ;
+2. The ASM calls TPM2\_Commit() with $P_1$ set to $S$ and $s_2, y_2$ empty buffers. The ASM receives the result values $K, L, E = S^r$ and ctr. $K$ and $L$ are empty since $s_2, y_2$ are empty buffers.
+3. The ASM calls TPM2\_Create to generate the new authentication key pair.
+4. The ASM calls TPM2\_Certify() on the newly created key with ctr from the TPM2\_Commit and $E, S, W, \text{AppID}$ as qualifying data ( $E = S^r$ is returned by step 2). The ASM receives signature $c, s$ and attestation block $\text{KRD}$ (i.e., TPMS\_ATTEST structure in this case).
+5. The ASM sets signature = $(c, s, R, S, T, W)$ and outputs (signature, $\text{KRD}$ )
+
+### J.3.6 ECDAASVerify operation
+
+NOTE – One ECDAASVerify operation is required for the FIDO server as part of each FIDO registration.
+
+boolean EcdaaVerify(signature, AppID, $\text{KRD}$ , ModelName)
+
+Parameters:
+
+- $p$ : System parameter prime order of group $G_1$ (global constant)
+- $P_2$ : System parameter generator of group $G_2$ (global constant)
+- signature: $(c, s, R, S, T, W)$
+- AppID: FIDO AppID
+- $\text{KRD}$ : Attestation Data object as defined in other specifications.
+- ModelName: the claimed FIDO authenticator model (i.e., either AAID or AAGUID)
+
+Algorithm outline:
+
+1. Based on the claimed ModelName, look up $X, Y$ from trusted source
+2. Check that $R, S, T, W \in G_1, R \neq 1_{G_1}$ and $S \neq 1_{G_1}$ .
+3. $H(S^s \cdot W^{-c} \mid S \mid W \mid \text{AppID} \mid H(\text{KRD})) \stackrel{?}{=} c$ ; fail if not equal
+NOTE 1 – $B = A^y = P_1^{ly}$
+NOTE 2 – $D = Q^{ly} = P_1^{skly} = B^{sk}$
+NOTE 3 – $S = B^l$ and $W = D^l$
+NOTE 4 – $U = S^r$
+NOTE 5 – $S^s \cdot W^{-c} = S^{r+csk} \cdot W^{-c} = U \cdot S^{csk} \cdot W^{-c}$
+ $= U \cdot B^{lcsk} \cdot D^{-lc} = U \cdot B^{lcsk} \cdot B^{-lcsk} = U$
+4. $e(R, Y) \stackrel{?}{=} e(S, P_2)$ ; fail if not equal
+NOTE – $e(R, Y) = e(A^l, P_2^y)$ ; $e(S, P_2) = e(B^l, P_2) = e(A^{ly}, P_2)$
+
+5. $e(T, P_2) \stackrel{?}{=} e(R \cdot W, X)$ ; fail if not equal
+NOTE – $e(T, P_2) = e(C^1, P_2) = e(A^{x^1} \cdot Q^{x^1 y^1}, P_2)$ ; $e(A^1 \cdot D^1, X) = e(A^1 \cdot Q^{y^1}, P_2^x)$
+6. for (all $sk'$ on RogueList) do if $W \stackrel{?}{=} S^{sk'}$ fail;
+7. // perform all other processing steps for new credential registration
+NOTE – In the case of a TPMv2, i.e., KRD is a TPMS\_ATTEST object. In this case the verifier must check whether the TPMS\_ATTEST object starts with TPM\_GENERATED magic number and whether its field objectAttributes contains the flag fixedTPM=1 (indicating that the key was generated by the TPM).
+8. return true;
+
+## J.4 FIDO ECDAA object formats and algorithm details
+
+### J.4.1 Supported curves for ECDAA
+
+Definition of G1:
+
+G1 is an elliptic curve group E: $y^2 = x^3 + ax + b$ over $F(q)$ with $a = 0$ .
+
+Definition of G2:
+
+G2 is the p-torsion subgroup of $E'(F_{q^2})$ where $E'$ is a sextic twist of E. With $E': y'^2 = x'^3 + b'$ .
+
+An element of $F(q_2)$ is represented by a pair (a,b) where $a + bX$ is an element of $F(q)[X]/\langle X^2 + 1 \rangle$ . Angle brackets $\langle Y \rangle$ are used to signify the ideal generated by the enclosed value.
+
+NOTE – In the literature the pair (a,b) is sometimes also written as a complex number a+b\*i.
+
+Definition of GT
+
+GT is an order-p subgroup of $F_{q^{12}}$ .
+
+Pairings
+
+The use of Ate pairings are proposed as they are efficient (more efficient than Tate pairings) on Barreto-Naehrig curves [b-DevScoDah2007].
+
+Supported BN curves
+
+Pairing-friendly Barreto-Naehrig [b-BarNae-2006] [b-ISO 15946-5] elliptic curves are used. The curves TPM\_ECC\_BN\_P256 and TPM\_ECC\_BN\_P638 curves are defined in [b-TPMv2-Part4].
+
+BN curves have a Modulus $q = 36 \cdot u^4 + 36 \cdot u^3 + 24 \cdot u^2 + 6 \cdot u + 1$ [b-ISO 15946-5] and a related order of the group $p = 36 \cdot u^4 + 36 \cdot u^3 + 18 \cdot u^2 + 6 \cdot u + 1$ [b-ISO 15946-5].
+
+- TPM\_ECC\_BN\_P256 is a curve of form E(F(q)), where q is the field modulus [b-TPMv2-Part4] [b-BarNae-2006]. This curve is identical to the P256 curve defined in [b-ISO 15946-5] section C.3.5.
+ - The values have been generated using u=-7 530 851 732 716 300 289.
+ - Modulus q = 115 792 089 237 314 936 872 688 561 244 471 742 058 375 878 355 761 205 198 700 409 522 629 664 518 163
+ - Group order p = 115 792 089 237 314 936 872 688 561 244 471 742 058 035 595 988 840 268 584 488 757 999 429 535 617 037
+ - p and q have length of 256 bit each.
+ - b = 3
+ - $P_1\_256 = (x = 1, y = 2)$
+
+- $b' = (a = 3, b = 3)$
+- $P_{2\_256} = (x, y)$ , with
+ - $P_{2\_256.x} = (a=114\ 909\ 019\ 869\ 825\ 495\ 805\ 094\ 438\ 766\ 505\ 779\ 201\ 460\ 871\ 441\ 403\ 689\ 227\ 802\ 685\ 522\ 624\ 680\ 861\ 435, b=35\ 574\ 363\ 727\ 580\ 634\ 541\ 930\ 638\ 464\ 681\ 913\ 209\ 705\ 880\ 605\ 623\ 913\ 174\ 726\ 536\ 241\ 706\ 071\ 648\ 811)$
+ - $P_{2\_256.y} = (a=65\ 076\ 021\ 719\ 150\ 302\ 283\ 757\ 931\ 701\ 622\ 350\ 436\ 355\ 986\ 716\ 727\ 896\ 397\ 520\ 706\ 509\ 932\ 529\ 649\ 684, b=113\ 380\ 538\ 053\ 789\ 372\ 416\ 298\ 017\ 450\ 764\ 517\ 685\ 681\ 349\ 483\ 061\ 506\ 360\ 354\ 665\ 554\ 452\ 649\ 749\ 368)$
+- **TPM\_ECC\_BN\_P638** [b-TPMv2-Part4] uses
+ - The values have been generated using $u=365\ 375\ 408\ 992\ 443\ 362\ 629\ 982\ 744\ 420\ 548\ 242\ 302\ 862\ 098\ 433$
+ - Modulus $q = 641\ 593\ 209\ 463\ 000\ 238\ 284\ 923\ 228\ 689\ 168\ 801\ 117\ 629\ 789\ 043\ 238\ 356\ 871\ 360\ 716\ 989\ 515\ 584\ 497\ 239\ 494\ 051\ 781\ 991\ 794\ 253\ 619\ 096\ 481\ 315\ 470\ 262\ 367\ 432\ 019\ 698\ 642\ 631\ 650\ 152\ 075\ 067\ 922\ 231\ 951\ 354\ 925\ 301\ 839\ 708\ 740\ 457\ 083\ 469\ 793\ 717\ 125\ 223$
+ - The related order of the group is $p = 641\ 593\ 209\ 463\ 000\ 238\ 284\ 923\ 228\ 689\ 168\ 801\ 117\ 629\ 789\ 043\ 238\ 356\ 871\ 360\ 716\ 989\ 515\ 584\ 497\ 239\ 494\ 051\ 781\ 991\ 794\ 252\ 818\ 101\ 344\ 337\ 098\ 690\ 003\ 906\ 272\ 221\ 387\ 599\ 391\ 201\ 666\ 378\ 807\ 960\ 583\ 525\ 233\ 832\ 645\ 565\ 592\ 955\ 122\ 034\ 352\ 630\ 792\ 289$
+ - $p$ and $q$ have length of 638 bit each.
+ - $b = 257$
+ - $P_{1\_638} = (x=641\ 593\ 209\ 463\ 000\ 238\ 284\ 923\ 228\ 689\ 168\ 801\ 117\ 629\ 789\ 043\ 238\ 356\ 871\ 360\ 716\ 989\ 515\ 584\ 497\ 239\ 494\ 051\ 781\ 991\ 794\ 253\ 619\ 096\ 481\ 315\ 470\ 262\ 367\ 432\ 019\ 698\ 642\ 631\ 650\ 152\ 075\ 067\ 922\ 231\ 951\ 354\ 925\ 301\ 839\ 708\ 740\ 457\ 083\ 469\ 793\ 717\ 125\ 222, y=16)$
+ - $b' = (a=771, b=1542)$
+ - $P_{2\_638} = (x, y)$ , with
+ - $P_{2\_638.x} = (a=192\ 492\ 098\ 325\ 059\ 629\ 927\ 844\ 609\ 092\ 536\ 807\ 849\ 769\ 208\ 589\ 403\ 233\ 289\ 748\ 474\ 758\ 010\ 838\ 876\ 457\ 636\ 072\ 173\ 883\ 771\ 602\ 089\ 605\ 233\ 264\ 992\ 910\ 618\ 494\ 201\ 909\ 695\ 576\ 234\ 119\ 413\ 319\ 303\ 931\ 909\ 848\ 663\ 554\ 062\ 144\ 113\ 485\ 982\ 076\ 866\ 968\ 711\ 247, b=166\ 614\ 418\ 891\ 499\ 184\ 781\ 285\ 132\ 766\ 747\ 495\ 170\ 152\ 701\ 259\ 472\ 324\ 679\ 873\ 541\ 478\ 330\ 301\ 406\ 623\ 174\ 002\ 502\ 345\ 930\ 325\ 474\ 988\ 134\ 317\ 071\ 869\ 554\ 535\ 111\ 092\ 924\ 719\ 466\ 650\ 228\ 182\ 095\ 841\ 246\ 668\ 361\ 451\ 788\ 368\ 418\ 036\ 777\ 197\ 454\ 618\ 413\ 255)$
+ - $P_{2\_638.y} = (a=622\ 964\ 952\ 935\ 200\ 827\ 531\ 506\ 751\ 874\ 167\ 806\ 262\ 407\ 152\ 244\ 280\ 323\ 674\ 626\ 687\ 789\ 202\ 660\ 794\ 092\ 633\ 841\ 098\ 984\ 322\ 671\ 973\ 226\ 667\ 873\ 503\ 889\ 270\ 602\ 870\ 064\ 426\ 165\ 592\ 237\ 410\ 681\ 318\ 519\ 893\ 784\ 898\ 821\ 343\ 051\ 339\ 820\ 566\ 224\ 981\ 344\ 169\ 470, b=514\ 285\ 963\ 827\ 225\ 043\ 076\ 463\ 721\ 426\ 569\ 583\ 576\ 029\ 220\ 880\ 138\ 564\ 906\ 219\ 230\ 942\ 887\ 639\ 456\ 599\ 654\ 554\ 743\ 732\ 087\ 558\ 187\ 149\ 207\ 036\ 952\ 474\ 092\ 411\ 405\ 629\ 612\ 957\ 921\ 369\ 286\ 372\ 038\ 525\ 830\ 610\ 755\ 207\ 588\ 843\ 864\ 366\ 759\ 521\ 090\ 861\ 911\ 494)$
+- **ECC\_BN\_DSD\_P256** [b-DevScoDah2007] section 3 uses
+ - The values have been generated using $u=6\ 917\ 529\ 027\ 641\ 089\ 837$
+ - Modulus $q = 82434016654300679721217353503190038836571781811386228921167\ 322412819029493183$
+ - The related order of the group is $p = 824340166543006797212173535031900388362846\ 68564296686430114510052556401373769$
+
+- p and q have length of 256 bit each.
+- $b = 3$
+- $P_1\_DSD\_P256 = (1, 2)$
+- $b' = (a=3, b=6)$
+- $P_2\_DSD\_P256 = (x, y)$ , with
+ - $P_2\_DSD\_P256.x = (a=73\ 481\ 346\ 555\ 305\ 118\ 071\ 940\ 904\ 527\ 347\ 990\ 526\ 214\ 212\ 698\ 180\ 576\ 973\ 201\ 374\ 397\ 013\ 567\ 073\ 039, b=28\ 955\ 468\ 426\ 222\ 256\ 383\ 171\ 634\ 927\ 293\ 329\ 392\ 145\ 263\ 879\ 318\ 611\ 908\ 127\ 165\ 887\ 947\ 997\ 417\ 463)$
+ - $P_2\_DSD\_P256.y = (a=3\ 632\ 491\ 054\ 685\ 712\ 358\ 616\ 318\ 558\ 909\ 408\ 435\ 559\ 591\ 759\ 282\ 597\ 787\ 781\ 393\ 534\ 962\ 445\ 630\ 353, b=60\ 960\ 585\ 579\ 560\ 783\ 681\ 258\ 978\ 162\ 498\ 088\ 639\ 544\ 584\ 959\ 644\ 221\ 094\ 447\ 372\ 720\ 880\ 177\ 666\ 763)$
+- **ECC\_BN\_ISOP512** [b-ISO 15946-5] clause C.3.7 uses
+ - The values have been generated using $u=138\ 919\ 694\ 570\ 470\ 098\ 040\ 331\ 481\ 282\ 401\ 523\ 727$
+ - Modulus $q = 13\ 407\ 807\ 929\ 942\ 597\ 099\ 574\ 024\ 998\ 205\ 830\ 437\ 246\ 153\ 344\ 875\ 111\ 580\ 494\ 527\ 427\ 714\ 590\ 099\ 881\ 795\ 845\ 981\ 157\ 516\ 604\ 994\ 291\ 639\ 750\ 834\ 285\ 779\ 043\ 186\ 149\ 750\ 164\ 319\ 950\ 153\ 126\ 044\ 364\ 566\ 323$
+ - The related order of the group is $p = 13\ 407\ 807\ 929\ 942\ 597\ 099\ 574\ 024\ 998\ 205\ 830\ 437\ 246\ 153\ 344\ 875\ 111\ 580\ 494\ 527\ 427\ 714\ 590\ 099\ 881\ 680\ 053\ 891\ 920\ 200\ 409\ 570\ 720\ 654\ 742\ 146\ 445\ 677\ 939\ 306\ 408\ 461\ 754\ 626\ 647\ 833\ 262\ 056\ 300\ 743\ 149$
+ - p and q have length of 512 bit each.
+ - $b = 3$
+ - $P_1\_ISO\_P512 = (x=1, y=2)$
+ - $b' = (a = 3, b = 3)$
+ - $P_2\_ISO\_P512 = (x, y)$ , with
+ - $P_2\_ISO\_P512.x = (a=3\ 094\ 648\ 157\ 539\ 090\ 131\ 026\ 477\ 120\ 117\ 259\ 896\ 222\ 920\ 557\ 994\ 037\ 039\ 545\ 437\ 079\ 729\ 804\ 516\ 315\ 481\ 514\ 566\ 156\ 984\ 245\ 473\ 190\ 248\ 967\ 907\ 724\ 153\ 072\ 490\ 467\ 902\ 779\ 495\ 072\ 074\ 156\ 718\ 085\ 785\ 269, b=3\ 776\ 690\ 234\ 788\ 102\ 103\ 015\ 760\ 376\ 468\ 067\ 863\ 580\ 475\ 949\ 014\ 286\ 077\ 855\ 600\ 384\ 033\ 870\ 546\ 339\ 773\ 119\ 295\ 555\ 161\ 718\ 985\ 244\ 561\ 452\ 474\ 412\ 673\ 836\ 012\ 873\ 126\ 926\ 524\ 076\ 966\ 265\ 127\ 900\ 471\ 529)$
+ - $P_2\_ISO\_P512.y = (a=7\ 593\ 872\ 605\ 334\ 070\ 150\ 001\ 723\ 245\ 210\ 278\ 735\ 800\ 573\ 263\ 881\ 411\ 015\ 285\ 406\ 372\ 548\ 542\ 328\ 752\ 430\ 917\ 597\ 485\ 450\ 360\ 707\ 892\ 769\ 159\ 214\ 115\ 916\ 255\ 816\ 324\ 924\ 295\ 339\ 525\ 686\ 777\ 569\ 132\ 644\ 242, b=9\ 131\ 995\ 053\ 349\ 122\ 285\ 871\ 305\ 684\ 665\ 648\ 028\ 094\ 505\ 015\ 281\ 268\ 488\ 257\ 987\ 110\ 193\ 875\ 868\ 585\ 868\ 792\ 041\ 571\ 666\ 587\ 093\ 146\ 239\ 570\ 057\ 934\ 816\ 183\ 220\ 992\ 460\ 187\ 617\ 700\ 670\ 514\ 736\ 173\ 834\ 408)$
+
+NOTE – Spaces are used inside numbers to improve readability.
+
+Hash algorithms:
+
+Depending on the curve, $H(x) = \text{SHA256}(x) \bmod p$ or $H(x) = \text{SHA512}(x) \bmod p$ is used as hash algorithm $H: \{0,1\}^* \rightarrow Z_p$ .
+
+The argument of the hash function must always be converted to a byte string using the appropriate encoding function specific in clause J.3.1 Object Encodings, e.g., according to clause J.3.1.3 Encoding ECPoint2 values as byte strings (ECPoint2ToB) in the case of **ECPoint2** points.
+
+NOTE –IEEE P1363.3 clause 6.1.1 IHF1-SHA with security parameter t (e.g., t=128 or 256) is not used as it is more complex and not supported by TPMv2.
+
+**J.4.2 ECDAAs algorithm names**
+
+The following JWS-style algorithm names are defined, see [IETF RFC 7515]:
+
+ED256
+
+TPM\_ECC\_BN\_P256 curve, using SHA256 as hash algorithm H.
+
+ED256-2
+
+ECC\_BN\_DSD\_P256 curve, using SHA256 as hash algorithm H.
+
+ED512
+
+ECC\_BN\_ISOP512 curve, using SHA512 as hash algorithm H.
+
+ED638
+
+TPM\_ECC\_BN\_P638 curve, using SHA512 as hash algorithm H.
+
+**J.4.3 ecdaaSignature object**
+
+The fields c and s both have length N. The fields R, S, T, W have equal length (2\*N+1 each).
+
+In the case of BN\_P256 curve (with key length N=32 bytes), the fields R, S, T, W have length 2\*32+1=65 bytes. The fields c and s have length N=32 each.
+
+The ecdaaSignature object is a binary object generated as the concatenation of the binary fields in the order described in Table J.1 (total length of 324 bytes for 256bit curves):
+
+**Table J.1 – ecdaaSignature object fields**
+
+| Value | Length (in Bytes) | Description |
+|-----------------------------|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| UINT8[] ECDAAsignature_c | N | The c value, $c=H(U S W KRD AppID)$ as returned by AuthnrEcdaaSign encoded as byte string according to BigIntegerToB. Where • U = S^r , with r = RAND(p) computed by the signer. • KRD is the the entire to-be-signed object (e.g., TAG_UAFV1_KRD in the case of FIDO UAF). • S = B^l , with l = RAND(p) computed by the signer and B = A^y computed in the ECDAAsign-Join |
+| UINT8[] ECDAAsignature_s | N | The s value, $s=r + c * sk \pmod p$ , as returned by AuthnrEcdaaSign encoded as byte string according to BigIntegerToB. Where • r = RAND(p) , computed by the signer at FIDO registration (see J.3.5.2 ECDAAsign-Sign Split between Authenticator and ASM) • p is the group order of G1 • sk: is the authenticator's attestation secret key, see above |
+| UINT8[] ECDAAsignature_R | 2*N+1 | $R = A^l$ ; computed by the ASM or the authenticator at FIDO registration; encoded as byte string according to ECPointToB. Where |
+
+**Table J.1 – ecdaaSignature object fields**
+
+| Value | Length (in Bytes) | Description |
+|-------------------------------|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | • l = \text{RAND}(p) , i.e., random number 0 \leq l \leq p . Computed by the ASM or the authenticator at FIDO registration. • And where R = A^l denotes the scalar multiplication (of scalar l ) of a curve point A . • Where A has been provided by the ECDAAs-Issuer as part of ECDAAs-Join: A = P_1^{l_j} , see clause J.3.4.1 ECDAAs-Join Algorithm. • Where P_1 and p are system values, injected into the authenticator and l_j is a random number computed by the ECDAAs-Issuer on Join. |
+| UINT8[] ECDAAs_Signature_S | 2*N+1 | S = B^l ; computed by the ASM or the authenticator at FIDO registration encoded as byte string according to ECPointToB.
Where B has been provided by the ECDAAs-Issuer on Join: B = A^v , see clause J.3.4.1 ECDAAs-Join Algorithm.
|
+| UINT8[] ECDAAs_Signature_T | 2*N+1 | T = C^l ; computed by the ASM or the authenticator at FIDO registration encoded as byte string according to ECPointToB. Where
• C = A^x \cdot Q^{xy}l_j , provided by the ECDAAs-Issuer on Join • l_j = \text{RAND}(p) computed by the ECDAAs-Issuer at Join (see clause J.3.4.1 ECDAAs-Join Algorithm) • x and y are components of the ECDAAs-Issuer private key, \text{iskk}=(x,y) . • Q is the authenticator public key |
+| UINT8[] ECDAAs_Signature_W | 2*N+1 | W = D^l ; computed by the ASM or the authenticator at FIDO registration encoded as byte string according to ECPointToB.
Where D = Q^{l_j}y is computed by the ECDAAs-Issuer at Join (see clause J.3.4.1 ECDAAs-Join Algorithm).
|
+
+## J.5 Considerations
+
+A detailed security analysis of this algorithm can be found in [b-FIDO-DAA-Security-Proof].
+
+### J.5.1 Algorithms and key sizes
+
+The proposed algorithms and key sizes are chosen such that compatibility to TPMv2 is possible.
+
+### J.5.2 Indicating the authenticator model
+
+Some authenticators (e.g., TPMv2) do not have the ability to include their model (i.e., vendor ID and model name) in attested messages (i.e., the to-be-signed part of the registration assertion). The TPM's endorsement key certificate typically contains that information directly or at least it allows the model to be derived from the endorsement key certificate.
+
+In FIDO, the relying party expects the ability to cryptographically verify the authenticator model.
+
+The ECDAAs-Issuers public key ( $\text{ipk}=(X,Y,c,sx,sy)$ ) is required to be dedicated to one single authenticator model (e.g., as identified by AAID or AAGUID).
+
+### J.5.3 Revocation
+
+If the private ECDAAs attestation key $sk$ of an authenticator has been leaked, it can be revoked by adding its value to a RogueList.
+
+The ECDAAs-Verifier (i.e., FIDO server) check for such revocations. See clause J.3.6 ECDAAs-Verify operation.
+
+The ECDAAs-Issuer is expected to check revocation by other means:
+
+1. if ECDAAs-Join is done in-factory, it is assumed that produced devices are known to be uncompromised (at time of production).
+2. if a remote ECDAAs-Join is performed, the (remote) ECDAAs-Issuer already must use a different method to remotely authenticate the authenticator (e.g., using some endorsement key). The ECDAAs-Issuer is expected to perform a revocation check based on that information. This is even more flexible as it does not require access to the authenticator ECDAAs private key $sk$ .
+
+### J.5.4 Pairing algorithm
+
+The pairing algorithm $e$ needs to be used by the ASM as part of the Join process and by the verifier (i.e., FIDO relying party) as part of the verification (i.e., FIDO registration) process.
+
+The result of such a pairing operation is only compared to the result of another pairing operation computed by the same entity. As a consequence, it does not matter whether the ASM and the verifier use the exact same pairings or not (as long as they both use valid pairings).
+
+### J.5.5 Performance
+
+For performance reasons the calculation of $Sig2=(R, S, T, W)$ may be performed by the ASM running on the FIDO user device (as opposed to inside the authenticator). See clause J.3.5.2 ECDAAs-Sign split between authenticator and ASM.
+
+The cryptographic computations to be performed inside the authenticator are limited to G1. The ECDAAs-Issuer has to perform two G2 point multiplications for computing the public key. The verifier (i.e., FIDO relying party) has to perform G1 operations and two pairing operations.
+
+### J.5.6 Binary concatenation
+
+A simple byte-wise concatenation function is used for the different parameters, i.e., $H(a,b) = H(a || b)$ .
+
+This approach is as secure as the underlying hash algorithm since the authenticator controls the length of the (fixed-length) values (e.g., $U, S, W$ ). The AppID is provided externally and has unverified structure and length. However, it is only followed by a fixed length entry – the (system defined) hash of KRD. As a consequence, no parts of the AppID would ever be confused with the fixed length value.
+
+### J.5.7 IANA considerations
+
+This annex (see Table J.2) registers the algorithm names "ED256", "ED512" and "ED638" defined in clause J.4 FIDO ECDAAs object formats and algorithm details with the IANA JSON Web algorithms registry as defined in "Cryptographic algorithms for digital signatures and MACs" in [b-RFC7518].
+
+**Table J.2 – Algorithm names**
+
+| | |
+|----------------------------------|------------------------------------------------------------------------------------------------------------|
+| Algorithm Name | "ED256" |
+| Algorithm Description | FIDO ECDAAs algorithm based on TPM_ECC_BN_P256 [b-TPMv2-Part4] curve using SHA256 hash algorithm. |
+| Algorithm Usage Location(s) | "alg", i.e., used with JWS. |
+| JOSE Implementation Requirements | Optional |
+| Change Controller | FIDO Alliance, Contact Us |
+| Specification Documents | Clauses J.3. FIDO ECDAAs Attestation and J.4. FIDO ECDAAs Object Formats and Algorithm Details of Annex K. |
+| Algorithm Analysis Document(s) | [b-FIDO-DAA-Security-Proof] |
+| Algorithm Name | "ED512" |
+| Algorithm Description | ECDAAs algorithm based on ECC_BN_ISOP512 [b-ISO 15946-5] curve using SHA512 algorithm. |
+| Algorithm Usage Location(s) | "alg", i.e., used with JWS. |
+| JOSE Implementation Requirements | Optional |
+| Change Controller | FIDO Alliance, Contact Us |
+| Specification Documents | Clauses J.3. FIDO ECDAAs Attestation and J.4. FIDO ECDAAs Object Formats and Algorithm Details of Annex K. |
+| Algorithm Analysis Document(s) | [b-FIDO-DAA-Security-Proof] |
+| Algorithm Name | "ED638" |
+| Algorithm Description | ECDAAs algorithm based on TPM_ECC_BN_P638 [b-TPMv2-Part4] curve using SHA512 algorithm. |
+| Algorithm Usage Location(s) | "alg", i.e., used with JWS. |
+| JOSE Implementation Requirements | Optional |
+| Change Controller | FIDO Alliance, Contact Us |
+| Specification Documents | Clauses J.3. FIDO ECDAAs Attestation and J.4. FIDO ECDAAs Object Formats and Algorithm Details of Annex K. |
+| Algorithm Analysis Document(s) | [b-FIDO-DAA-Security-Proof] |
+
+## Annex K
+
+### FIDO registry of predefined values
+
+(This annex forms an integral part of this Recommendation.)
+
+#### K.1 Summary
+
+This annex defines all the strings and constants reserved by FIDO protocols. The values defined in this annex are referenced by various FIDO specifications.
+
+#### K.2 Overview
+
+This annex defines the registry of FIDO-specific constants common to multiple FIDO protocol families. It is expected that, over time, new constants will be added to this registry. For example new authentication algorithms and new types of authenticator characteristics will require new constants to be defined for use within the specifications.
+
+#### K.3 Authenticator characteristics
+
+##### K.3.1 User verification methods
+
+The `USER_VERIFY` constants are flags in a bitfield represented as a 32 bit long integer. They describe the methods and capabilities of an UAF authenticator for locally verifying a user. The operational details of these methods are opaque to the server. These constants are used in the authoritative metadata for an authenticator, reported and queried through the UAF discovery APIs and used to form authenticator policies in UAF protocol messages.
+
+All user verification methods must be performed locally by the authenticator in order to meet FIDO privacy principles.
+
+`USER_VERIFY_PRESENCE 0x00000001`
+
+This flag **MUST** be set if the authenticator is able to confirm user presence in any fashion. If this flag and no other is set for user verification, the guarantee is only that the authenticator cannot be operated without some human intervention, not necessarily that the presence verification provides any level of authentication of the human's identity. (e.g., a device that requires a touch to activate)
+
+`USER_VERIFY_FINGERPRINT 0x00000002`
+
+This flag **MUST** be set if the authenticator uses any type of measurement of a fingerprint for user verification.
+
+`USER_VERIFY_PASSCODE 0x00000004`
+
+This flag **MUST** be set if the authenticator uses a local-only passcode (i.e., a passcode not known by the server) for user verification.
+
+`USER_VERIFY_VOICEPRINT 0x00000008`
+
+This flag **MUST** be set if the authenticator uses a voiceprint (also known as speaker recognition) for user verification.
+
+`USER_VERIFY_FACEPRINT 0x00000010`
+
+This flag **MUST** be set if the authenticator uses any manner of face recognition to verify the user.
+
+`USER_VERIFY_LOCATION 0x00000020`
+
+This flag **MUST** be set if the authenticator uses any form of location sensor or measurement for user verification.
+
+USER\_VERIFY\_EYEPRINT 0x0000040
+
+This flag MUST be set if the authenticator uses any form of eye biometrics for user verification.
+
+USER\_VERIFY\_PATTERN 0x0000080
+
+This flag MUST be set if the authenticator uses a drawn pattern for user verification.
+
+USER\_VERIFY\_HANDPRINT 0x0000100
+
+This flag MUST be set if the authenticator uses any measurement of a full hand (including palm-print, hand geometry or vein geometry) for user verification.
+
+USER\_VERIFY\_NONE 0x0000200
+
+This flag MUST be set if the authenticator will respond without any user interaction (e.g., Silent authenticator).
+
+USER\_VERIFY\_ALL 0x0000400
+
+If an authenticator sets multiple flags for user verification types, it MAY also set this flag to indicate that all verification methods will be enforced (e.g., faceprint AND voiceprint). If flags for multiple user verification methods are set and this flag is not set, verification with only one is necessary (e.g., fingerprint OR passcode).
+
+### K.3.2 Key protection types
+
+The `KEY_PROTECTION` constants are flags in a bit field represented as a 16 bit long integer. They describe the method an authenticator uses to protect the private key material for FIDO registrations. Refer to Annex C for more details on the relevance of keys and key protection. These constants are used in the authoritative metadata for an authenticator, reported and queried through the UAF discovery APIs and used to form authenticator policies in UAF protocol messages.
+
+When used in metadata describing an authenticator, several of these flags are *exclusive* of others (i.e., can not be combined) – the certified metadata may have at most one of the mutually exclusive bits set to 1. When used in authenticator policy, any bit may be set to 1, e.g., to indicate that a server is willing to accept authenticators using either `KEY_PROTECTION_SOFTWARE` or `KEY_PROTECTION_HARDWARE`.
+
+NOTE – These flags must be set according to the effective security of the keys, in order to follow the assumptions made in Annex L. For example, if a key is stored in a secure element but software running on the FIDO user device could call a function in the secure element to export the key either in the clear or using an arbitrary wrapping key, then the effective security is `KEY_PROTECTION_SOFTWARE` and not `KEY_PROTECTION_SECURE_ELEMENT`.
+
+KEY\_PROTECTION\_SOFTWARE 0x0001
+
+This flag MUST be set if the authenticator uses software-based key management. Exclusive in authenticator metadata with `KEY_PROTECTION_HARDWARE`, `KEY_PROTECTION_TEE`, `KEY_PROTECTION_SECURE_ELEMENT`
+
+KEY\_PROTECTION\_HARDWARE 0x0002
+
+This flag SHOULD be set if the authenticator uses hardware-based key management. Exclusive in authenticator metadata with `KEY_PROTECTION_SOFTWARE`
+
+KEY\_PROTECTION\_TEE 0x0004
+
+This flag SHOULD be set if the authenticator uses the Trusted Execution Environment [b-TEE] for key management. In authenticator metadata, this flag should be set in conjunction with `KEY_PROTECTION_HARDWARE`. Mutually exclusive in authenticator metadata with `KEY_PROTECTION_SOFTWARE`, `KEY_PROTECTION_SECURE_ELEMENT`
+
+`KEY_PROTECTION_SECURE_ELEMENT 0x0008`
+
+This flag SHOULD be set if the authenticator uses a secure element [b-SecureElement] for key management. In authenticator metadata, this flag should be set in conjunction with `KEY_PROTECTION_HARDWARE`. Mutually exclusive in authenticator metadata with `KEY_PROTECTION_TEE`, `KEY_PROTECTION_SOFTWARE`
+
+`KEY_PROTECTION_REMOTE_HANDLE 0x0010`
+
+This flag MUST be set if the authenticator does not store (wrapped) UAuth keys at the client, but relies on a server-provided key handle. This flag MUST be set in conjunction with one of the other `KEY_PROTECTION` flags to indicate how the local key handle wrapping key and operations are protected. servers MAY unset this flag in authenticator policy if they are not prepared to store and return key handles, for example, if they have a requirement to respond indistinguishably to authentication attempts against userIDs that do and do not exist. Refer to Annex A for more details.
+
+### K.3.3 Matcher protection types
+
+The `MATCHER_PROTECTION` constants are flags in a bit field represented as a 16 bit long integer. They describe the method an authenticator uses to protect the matcher that performs user verification. These constants are used in the authoritative metadata for an authenticator, reported and queried through the UAF discovery APIs and used to form authenticator policies in UAF protocol messages. Refer to Annex C for more details on the matcher component.
+
+NOTE – These flags must be set according to the effective security of the matcher, in order to follow the assumptions made in Annex L. For example, if a passcode based matcher is implemented in a secure element, but the passcode is expected to be provided as unauthenticated parameter, then the effective security is `MATCHER_PROTECTION_SOFTWARE` and not `MATCHER_PROTECTION_ON_CHIP`.
+
+`MATCHER_PROTECTION_SOFTWARE 0x0001`
+
+This flag MUST be set if the authenticator's matcher is running in software. Exclusive in authenticator metadata with `MATCHER_PROTECTION_TEE`, `MATCHER_PROTECTION_ON_CHIP`
+
+`MATCHER_PROTECTION_TEE 0x0002`
+
+This flag SHOULD be set if the authenticator's matcher is running inside the trusted execution environment [b-TEE]. Mutually exclusive in authenticator metadata with `MATCHER_PROTECTION_SOFTWARE`, `MATCHER_PROTECTION_ON_CHIP`
+
+`MATCHER_PROTECTION_ON_CHIP 0x0004`
+
+This flag SHOULD be set if the authenticator's matcher is running on the chip. Mutually exclusive in authenticator metadata with `MATCHER_PROTECTION_TEE`, `MATCHER_PROTECTION_SOFTWARE`
+
+### K.3.4 Authenticator attachment hints
+
+The `ATTACHMENT_HINT` constants are flags in a bit field represented as a 32 bit long. They describe the method an authenticator uses to communicate with the FIDO user device. These constants are reported and queried through the UAF discovery APIs (Annex B) and used to form authenticator policies in UAF protocol messages. Because the connection state and topology of an authenticator may be transient, these values are only hints that can be used by server-supplied policy to guide the user experience, e.g., to prefer a device that is connected and ready for authenticating or confirming a low-value transaction, rather than one that is more secure but requires more user effort.
+
+NOTE – These flags are not a mandatory part of authenticator metadata and, when present, only indicate possible states that may be reported during authenticator discovery.
+
+#### ATTACHMENT\_HINT\_INTERNAL 0x0001
+
+This flag MAY be set to indicate that the authenticator is permanently attached to the FIDO user device.
+
+A device such as a smartphone may have authenticator functionality that is able to be used both locally and remotely. In such a case, the FIDO client MUST filter and exclusively report only the relevant bit during discovery and when performing policy matching.
+
+This flag cannot be combined with any other ATTACHMENT\_HINT flags.
+
+#### ATTACHMENT\_HINT\_EXTERNAL 0x0002
+
+This flag MAY be set to indicate, for a hardware-based authenticator, that it is removable or remote from the FIDO user device.
+
+A device such as a smartphone may have authenticator functionality that is able to be used both locally and remotely. In such a case, the FIDO UAF client MUST filter and exclusively report only the relevant bit during discovery and when performing policy matching.
+
+#### ATTACHMENT\_HINT\_WIRED 0x0004
+
+This flag MAY be set to indicate that an external authenticator currently has an exclusive wired connection, e.g., through USB, Firewire or similar, to the FIDO user device.
+
+#### ATTACHMENT\_HINT\_WIRELESS 0x0008
+
+This flag MAY be set to indicate that an external authenticator communicates with the FIDO user device through a personal area or otherwise non-routed wireless protocol, such as Bluetooth or NFC.
+
+#### ATTACHMENT\_HINT\_NFC 0x0010
+
+This flag MAY be set to indicate that an external authenticator is able to communicate by NFC to the FIDO user device. As part of authenticator metadata, or when reporting characteristics through discovery, if this flag is set, the ATTACHMENT\_HINT\_WIRELESS flag SHOULD also be set as well.
+
+#### ATTACHMENT\_HINT\_BLUETOOTH 0x0020
+
+This flag MAY be set to indicate that an external authenticator is able to communicate using Bluetooth with the FIDO user device. As part of authenticator metadata, or when reporting characteristics through discovery, if this flag is set, the ATTACHMENT\_HINT\_WIRELESS flag SHOULD also be set.
+
+#### ATTACHMENT\_HINT\_NETWORK 0x0040
+
+This flag MAY be set to indicate that the authenticator is connected to the FIDO user device over a non-exclusive network (e.g., over a TCP/IP LAN or WAN, as opposed to a PAN or point-to-point connection).
+
+#### ATTACHMENT\_HINT\_READY 0x0080
+
+This flag MAY be set to indicate that an external authenticator is in a "ready" state. This flag is set by the ASM at its discretion.
+
+NOTE – Generally this should indicate that the device is immediately available to perform user verification without additional actions such as connecting the device or creating a new biometric profile enrollment, but the exact meaning may vary for different types of devices. For example, a USB authenticator may only report itself as ready when it is plugged in, or a Bluetooth authenticator when it is paired and connected, but an NFC-based authenticator may always report itself as ready.
+
+ATTACHMENT\_HINT\_WIFI\_DIRECT 0x0100
+
+This flag MAY be set to indicate that an external authenticator is able to communicate using WiFi direct with the FIDO user device. As part of authenticator metadata and when reporting characteristics through discovery, if this flag is set, the ATTACHMENT\_HINT\_WIRELESS flag SHOULD also be set.
+
+### K.3.5 Transaction confirmation display types
+
+The TRANSACTION\_CONFIRMATION\_DISPLAY constants are flags in a bit field represented as a 16 bit long integer. They describe the availability and implementation of a transaction confirmation display capability required for the transaction confirmation operation. These constants are used in the authoritative metadata for an authenticator, reported and queried through the UAF Discovery APIs and used to form authenticator policies in UAF protocol messages. Refer to Annex C for more details on the security aspects of TransactionConfirmation Display.
+
+TRANSACTION\_CONFIRMATION\_DISPLAY\_ANY 0x0001
+
+This flag MUST be set to indicate that a transaction confirmation display, of any type, is available on this authenticator. Other TRANSACTION\_CONFIRMATION\_DISPLAY flags MAY also be set if this flag is set. If the authenticator does not support a transaction confirmation display, then the value of TRANSACTION\_CONFIRMATION\_DISPLAY MUST be set to 0.
+
+TRANSACTION\_CONFIRMATION\_DISPLAY\_PRIVILEGED\_SOFTWARE 0x0002
+
+This flag MUST be set to indicate, that a software-based transaction confirmation display operating in a privileged context is available on this authenticator.
+
+A FIDO client that is capable of providing this capability MAY set this bit (in conjunction with TRANSACTION\_CONFIRMATION\_DISPLAY\_ANY) for all authenticators of type ATTACHMENT\_HINT\_INTERNAL, even if the authoritative metadata for the authenticator does not indicate this capability.
+
+NOTE – Software based transaction confirmation displays might be implemented within the boundaries of the ASM rather than by the authenticator itself Annex D.
+
+This flag is mutually exclusive with TRANSACTION\_CONFIRMATION\_DISPLAY\_TEE and TRANSACTION\_CONFIRMATION\_DISPLAY\_HARDWARE.
+
+TRANSACTION\_CONFIRMATION\_DISPLAY\_TEE 0x0004
+
+This flag SHOULD be set to indicate that the authenticator implements a transaction confirmation display in a Trusted Execution Environment ([b-TEE], [b-TEESecureDisplay]). This flag is mutually exclusive with TRANSACTION\_CONFIRMATION\_DISPLAY\_PRIVILEGED\_SOFTWARE and TRANSACTION\_CONFIRMATION\_DISPLAY\_HARDWARE.
+
+TRANSACTION\_CONFIRMATION\_DISPLAY\_HARDWARE 0x0008
+
+This flag SHOULD be set to indicate that a transaction confirmation display based on hardware assisted capabilities is available on this authenticator. This flag is mutually exclusive with TRANSACTION\_CONFIRMATION\_DISPLAY\_PRIVILEGED\_SOFTWARE and TRANSACTION\_CONFIRMATION\_DISPLAY\_TEE.
+
+TRANSACTION\_CONFIRMATION\_DISPLAY\_REMOTE 0x0010
+
+This flag SHOULD be set to indicate that the transaction confirmation display is provided on a distinct device from the FIDO user device. This flag can be combined with any other flag.
+
+### K.3.6 Tags used for crypto algorithms and types
+
+These tags indicate the specific authentication algorithms, public key formats and other crypto relevant data.
+
+### K.3.6.1 Authentication algorithms
+
+The `ALG_SIGN` constants are 16 bit long integers indicating the specific signature algorithm and encoding.
+
+NOTE – FIDO UAF supports RAW and DER signature encodings in order to allow small footprint authenticator implementations.
+
+`ALG_SIGN_SECP256R1_ECDSA_SHA256_RAW 0x0001`
+
+An ECDSA signature on the NIST secp256r1 curve which MUST have raw R and S buffers, encoded in big-endian order. This is the signature encoding as specified in [b-ECDSA-ANSI].
+
+i.e., `[R (32 bytes), S (32 bytes)]`
+
+This algorithm is suitable for authenticators using the following key representation formats:
+
+- `ALG_KEY_ECC_X962_RAW`
+- `ALG_KEY_ECC_X962_DER`
+
+`ALG_SIGN_SECP256R1_ECDSA_SHA256_DER 0x0002`
+
+DER [ITU-T X.690] encoded ECDSA signature [IETF RFC 5480] on the NIST secp256r1 curve.
+
+i.e., a DER encoded `SEQUENCE { r INTEGER, s INTEGER }`
+
+This algorithm is suitable for authenticators using the following key representation formats:
+
+- `ALG_KEY_ECC_X962_RAW`
+- `ALG_KEY_ECC_X962_DER`
+
+`ALG_SIGN_RSASSA_PSS_SHA256_RAW 0x0003`
+
+RSASSA-PSS [IETF RFC 3447] signature MUST have raw S buffers, encoded in big-endian order [IETF RFC 4055] [IETF RFC 4056]. The default parameters as specified in [IETF RFC 4055] MUST be assumed, i.e.,
+
+- Mask generation algorithm MGF1 with SHA256
+- Salt length of 32 bytes, i.e., the length of a SHA256 hash value.
+- Trailer field value of 1, which represents the trailer field with hexadecimal value `0xBC`.
+
+i.e., `[ S (256 bytes) ]`
+
+This algorithm is suitable for authenticators using the following key representation formats:
+
+- `ALG_KEY_RSA_2048_RAW`
+- `ALG_KEY_RSA_2048_DER`
+
+`ALG_SIGN_RSASSA_PSS_SHA256_DER 0x0004`
+
+DER [ITU-T X.690] encoded OCTET STRING (not BIT STRING!) containing the RSASSA-PSS [IETF RFC 3447] signature [IETF RFC 4055] [IETF RFC 4056]. The default parameters as specified in [IETF RFC 4055] MUST be assumed, i.e.,
+
+- Mask generation algorithm MGF1 with SHA256
+- Salt length of 32 bytes, i.e., the length of a SHA256 hash value.
+- Trailer field value of 1, which represents the trailer field with hexadecimal value `0xBC`.
+
+i.e., a DER encoded OCTET STRING (including its tag and length bytes).
+
+This algorithm is suitable for authenticators using the following key representation formats:
+
+- ALG\_KEY\_RSA\_2048\_RAW
+- ALG\_KEY\_RSA\_2048\_DER
+
+ALG\_SIGN\_SECP256K1\_ECDSA\_SHA256\_RAW 0x0005
+
+An ECDSA signature on the secp256k1 curve which MUST have raw R and S buffers, encoded in big-endian order.
+
+i.e. [R (32 bytes), S (32 bytes)]
+
+This algorithm is suitable for authenticators using the following key representation formats:
+
+- ALG\_KEY\_ECC\_X962\_RAW
+- ALG\_KEY\_ECC\_X962\_DER
+
+ALG\_SIGN\_SECP256K1\_ECDSA\_SHA256\_DER 0x0006
+
+DER [ITU-T X.690] encoded ECDSA signature [IETF RFC 5480] on the secp256k1 curve.
+
+i.e., a DER encoded SEQUENCE { r INTEGER, s INTEGER }
+
+This algorithm is suitable for authenticators using the following key representation formats:
+
+- ALG\_KEY\_ECC\_X962\_RAW
+- ALG\_KEY\_ECC\_X962\_DER
+
+ALG\_SIGN\_SM2\_SM3\_RAW 0x0007 (optional)
+
+Chinese SM2 elliptic curve based signature algorithm combined with SM3 hash algorithm [b-OSCCA-SM2],[b-OSCCA-SM3]. The 256bit curve [b-OSCCA-SM2-curve-param] is used.
+
+This algorithm is suitable for authenticators using the following key representation format: ALG\_KEY\_ECC\_X962\_RAW.
+
+ALG\_SIGN\_RSA\_EMSA\_PKCS1\_SHA256\_RAW 0x0008
+
+This is the EMSA-PKCS1-v1\_5 signature as defined in [IETF RFC 3447]. This means that the encoded message EM will be the input to the cryptographic signing algorithm RSASP1 as defined in [IETF RFC 3447]. The result s of RSASP1 is then encoded using function I2OSP to produce the raw signature octets.
+
+- EM = 0x00 | 0x01 | PS | 0x00 | T
+- with the padding string PS with length=emLen – tLen – 3 octets having the value 0xff for each octet, e.g., (0x) ff ff ff ff ff ff ff ff
+- with the DER [ITU-T X.690] encoded DigestInfo value T: (0x) 30 31 30 0d 06 09 60 86 48 01 65 03 04 02 01 05 00 04 20 | H, where H denotes the bytes of the SHA256 hash value.
+
+This algorithm is suitable for authenticators using the following key representation formats:
+
+- ALG\_KEY\_RSA\_2048\_RAW
+- ALG\_KEY\_RSA\_2048\_DER
+
+NOTE – Implementers should verify that their implementation of the PKCS#1 V1.5 signature follows the recommendations in [b-IETF RFC 3218] to protect against adaptive chosen-ciphertext attacks such as Bleichenbacher.
+
+ALG\_SIGN\_RSA\_EMSA\_PKCS1\_SHA256\_DER 0x0009
+
+DER [ITU-T X.690] encoded OCTET STRING (not BIT STRING!) containing the EMSA-PKCS1-v1\_5 signature as defined in [IETF RFC 3447]. This means that the encoded message EM will be the input to the cryptographic signing algorithm RSASP1 as defined in [IETF RFC 3447]. The result s of RSASP1 is then encoded using function I2OSP to produce the raw signature. The raw signature is DER [ITU-T X.690] encoded as an OCTET STRING to produce the final signature octets.
+
+- EM = 0x00 | 0x01 | PS | 0x00 | T
+- with the padding string PS with length=emLen – tLen – 3 octets having the value 0xff for each octet, e.g., (0x) ff ff ff ff ff ff ff ff
+- with the DER encoded DigestInfo value T: (0x) 30 31 30 0d 06 09 60 86 48 01 65 03 04 02 01 05 00 04 20 | H, where H denotes the bytes of the SHA256 hash value.
+
+This algorithm is suitable for authenticators using the following key representation formats:
+
+- ALG\_KEY\_RSA\_2048\_RAW
+- ALG\_KEY\_RSA\_2048\_DER
+
+NOTE – Implementers should verify that their implementation of the PKCS#1 V1.5 signature follows the recommendations in [b-IETF RFC 3218] to protect against adaptive chosen-ciphertext attacks such as Bleichenbacher.
+
+### K.3.6.2 Public key representation formats
+
+The ALG\_KEY constants are 16 bit long integers indicating the specific Public Key algorithm and encoding.
+
+NOTE – FIDO UAF supports RAW and DER encodings in order to allow small footprint authenticator implementations. By definition, the authenticator must encode the public key as part of the registration assertion.
+
+ALG\_KEY\_ECC\_X962\_RAW 0x0100
+
+Raw ANSI X9.62 formatted elliptic curve public key [b-SEC1].
+
+i.e., [0x04, X (32 bytes), Y (32 bytes)]. Where the byte 0x04 denotes the uncompressed point compression method.
+
+ALG\_KEY\_ECC\_X962\_DER 0x0101
+
+DER [ITU-T X.690] encoded ANSI X.9.62 formatted SubjectPublicKeyInfo [IETF RFC 5480] specifying an elliptic curve public key.
+
+i.e., a DER encoded SubjectPublicKeyInfo as defined in [IETF RFC 5480].
+
+Authenticator implementations MUST generate namedCurve in the ECPParameters object which is included in the AlgorithmIdentifier. A FIDO UAF server MUST accept namedCurve in the ECPParameters object which is included in the AlgorithmIdentifier.
+
+ALG\_KEY\_RSA\_2048\_RAW 0x0102
+
+Raw encoded 2048-bit RSA public key [IETF RFC 3447].
+
+That is, [n (256 bytes), e (N-256 bytes)]. Where N is the total length of the field.
+
+This total length should be taken from the object containing this key, e.g., the TLV encoded field.
+
+ALG\_KEY\_RSA\_2048\_DER 0x0103
+
+ASN.1 DER [ITU-T X.690] encoded 2048-bit RSA [IETF RFC 3447] public key [IETF RFC 4055].
+
+That is a DER encoded SEQUENCE { n INTEGER, e INTEGER }.
+
+## Annex L
+
+### FIDO security reference
+
+(This annex forms an integral part of this Recommendation.)
+
+#### L.1 Summary
+
+This annex analyzes the FIDO security. The analysis is performed on the basis of the FIDO universal authentication framework (UAF) specification and FIDO Universal 2nd Factor (U2F) specifications as of the date of this publication.
+
+#### L.2 Introduction
+
+This annex analyzes the security properties of the FIDO UAF and U2F families of protocols. Although a brief architectural summary is provided in Figure L.1, readers should familiarize themselves with clause 3.2 for definitions of terms used throughout. For technical details of various aspects of the architecture, readers should refer to the FIDO Alliance specifications in the bibliography.
+
+
+
+The diagram illustrates the FIDO reference architecture, showing the interaction between a FIDO User Device and a Relying Party.
+
+**FIDO USER DEVICE:**
+
+- Contains a **BROWSER/APP** (grey box) and a **FIDO CLIENT** (blue box).
+- The **FIDO CLIENT** connects to an **ASM** (blue box), which in turn connects to the **FIDO AUTHENTICATOR** (blue box).
+- The **FIDO AUTHENTICATOR** contains multiple FIDO authenticator icons.
+
+**RELYING PARTY:**
+
+- Contains a **WEB SERVER** (grey box) and a **FIDO SERVER** (blue box).
+- The **WEB SERVER** connects to the **FIDO SERVER**.
+- The **FIDO SERVER** contains a database icon labeled **FIDO** and a document icon.
+
+**Interactions and Data Flow:**
+
+- A **TLS protocol** and **TLS key** are used for secure communication between the **BROWSER/APP** and the **WEB SERVER**.
+- The **UAF protocol** (Universal Authentication Framework) is used for authentication between the **BROWSER/APP** and the **WEB SERVER**.
+- A **Cryptographic authentication key reference DB** is shared between the **FIDO CLIENT** and the **FIDO SERVER**.
+- Authentication keys** and **Attestation keys** are managed by the **FIDO AUTHENTICATOR** and the **FIDO SERVER**.
+- The **FIDO AUTHENTICATOR** stores **Authenticator metadata and attestation trust store** information.
+- The **FIDO SERVER** interacts with a **FIDO METADATA SERVICE** (blue box) for **Update** and **Certify compliance** operations.
+
+X.1277(18)\_FL.1
+
+Figure L.1 – FIDO reference architecture diagram showing the interaction between a FIDO User Device and a Relying Party.
+
+Figure L.1 – FIDO reference architecture
+
+Conceptually, FIDO involves a conversation between a computing environment controlled by a relying party and one controlled by the user to be authenticated. The relying party's environment consists conceptually of at least a web server and the server-side portions of a web application, plus a FIDO server. The FIDO server has a trust store, containing the (public) trust anchors for the attestation of FIDO authenticators. The user's environment, referred to as the FIDO user device, consists of one or more FIDO authenticators, a piece of software called the FIDO client that is the endpoint for UAF and U2F conversations and user agent software. The user agent software may be a browser hosting a web application delivered by the relying party, or it may be a standalone application delivered by the relying party. In either case, the FIDO client, while a conceptually distinct entity, may actually be implemented in whole or part within the boundaries of the user agent.
+
+### L.2.1 Intended audience
+
+This annex assumes a technical audience that is proficient with security analysis of computing systems and network protocols as well as the specifics of the FIDO architecture and protocol families. It discusses the security goals, security measures, security assumptions and a series of threats to FIDO systems, including the user's computing environment, the relying party's computing environment and the supply chain, including the vendors of FIDO components.
+
+### L.3 Attack classification
+
+The following threat classes (all leading to the impersonation of the user) can be distinguished:
+
+1. Automated attacks focused on relying parties, which affect the user but cannot be prevented by the user.
+2. Automated attacks which are performed once and lead to the ability to impersonate the user on an on-going basis without involving him or his device directly.
+3. Automated attacks which involve the user or his device for each successful impersonation.
+4. Automated attacks to sessions authenticated by the user.
+5. Not automatable attacks to the user or his device which are performed once and lead to the ability to impersonate the user on an on-going basis without involving him or his device directly.
+6. Not automatable attacks to the user or his device which involve the user or his device for each successful impersonation.
+
+
+
+| Counter measures | Attack Class | Description | Examples |
+|-----------------------------------------------------------------------------------------------------------------------------------------|--------------|---------------------------------------------------------------------------------|----------------------------------------------|
+| Use robust and spoofing resistant user verification Use SE based key protection | 5 | Physically attacking user devicessteal data for impersonation | |
+| | 6 | Physically attacking user devicesmisuse them for impersonation | |
+| Use transaction confirmation with TEE based transaction display Use TEE or SE based key protection Use HW based user verification | 2 | Remotely attacking lots of user devicessteal data for impersonation | EuroGrabber |
+| | 3 | Remotely attacking lots of user devicesmisuse them for impersonation | |
+| | 4 | Remotely attacking lots of user devicesmisuse authenticated sessions | |
+| Use asymmetric crypto. e.g., FIDO | 1 | Remotely attacking central serverssteal data for impersonation | Recent mass-scale attacks to steal passwords |
+
+X.1277(18)\_FL.2
+
+Figure L.2 – Attack classes diagram showing six attack classes (1-6) with their countermeasures and examples.
+
+**Figure L.2 – Attack classes**
+
+Figure L.2 shows attack classes. The first four attack classes are considered scalable as they are automated (or at least can be automated). The attack classes 5 and 6 are not automatable; they involve some kind of manual/physical interaction of the attacker with the user or his device. The threats analyzed in this annex will be attributed with the related attack class (AC1 – AC6).
+
+NOTE –
+
+1. FIDO UAF uses asymmetric cryptography to protect against this class of attacks. This gives control back to the user, i.e., when using good random numbers, the user's authenticator can make breaking the key as hard as the underlying factoring (in the case of RSA) or discrete logarithm (in the case of DSA or ECDSA) problem.
+
+2. Once counter-measures for this kind of attack are commonly in place, attackers will likely focus on another attack class.
+3. The numbers at the attack classes do not imply a feasibility ranking of the related attacks, e.g., it is not necessarily more difficult to perform (4) than it is to perform (3).
+4. Feasibility of attack class (1) cannot be influenced by the user at all. This makes this attack class really bad.
+5. The concept of physical security (i.e., "protect your authenticator from being stolen"), related to attack classes (5) and (6) is much better internalized by users than the concept of logical security, related to attack classes (2), (3) and (4).
+6. In order to protect against misuse of authenticated sessions (e.g., MITB attacks), the FIDO authenticator must support the concept of transaction confirmation and the relying party must use it.
+7. For an attacker to succeed, any attack class is sufficient.
+
+#### **L.4 UAF security goals**
+
+In this clause the specific security goals of UAF are described. The FIDO UAF protocol in Annex A supports a variety of different FIDO authenticators. Even though the security of those authenticators varies, the UAF protocol and the FIDO server should provide a very high level of security – at least on a conceptual level. In reality it might require a FIDO authenticator with a high security level in order to fully leverage the UAF security strength.
+
+NOTE – In certain environments the overall security of the explicit authentication (as provided by FIDO) is less important, as it might be supplemented with a high degree of implicit authentication or the application does not even require a high level of authentication strength.
+
+The FIDO U2F protocol [U2FOverview] supports a more constrained set of authenticator capabilities. It shares the same security goals as UAF, with the exception of [SG-14] transaction non-repudiation. The UAF protocol has the following security goals:
+
+##### **[SG-1]**
+
+Strong user authentication: Authenticate (i.e., recognize) a user and/or a device to a relying party with high (cryptographic) strength.
+
+##### **[SG-2]**
+
+Credential guessing resilience: Provide robust protection against eavesdroppers, e.g., be resilient to physical observation, resilient to targeted impersonation, resilient to throttled and unthrottled guessing.
+
+##### **[SG-3]**
+
+Credential disclosure resilience: Be resilient to phishing attacks and real-time phishing attack, including resilience to online attacks by adversaries able to actively manipulate network traffic.
+
+##### **[SG-4]**
+
+Unlinkability: Protect the protocol conversation such that any two relying parties cannot link the conversation to one user (i.e., be unlinkable).
+
+##### **[SG-5]**
+
+Verifier leak resilience: Be resilient to leaks from other relying parties. i.e., nothing that a verifier could possibly leak can help an attacker impersonate the user to another relying party.
+
+**[SG-6]**
+
+Authenticator leak resilience: Be resilient to leaks from other FIDO authenticators. i.e., nothing that a particular FIDO authenticator could possibly leak can help an attacker to impersonate any other user to any relying party.
+
+**[SG-7]**
+
+User consent: Notify the user before a relationship to a new relying party is being established (requiring explicit consent).
+
+**[SG-8]**
+
+Limited PII: Limit the amount of personal identifiable information (PII) exposed to the relying party to the absolute minimum.
+
+**[SG-9]**
+
+Attestable properties: relying party must be able to verify FIDO authenticator model/type (in order to calculate the associated risk).
+
+**[SG-10]**
+
+DoS resistance: Be resilient to denial of service attacks. i.e., prevent attackers from inserting invalid registration information for a legitimate user for the next login phase. Afterward, the legitimate user will not be able to login successfully anymore.
+
+**[SG-11]**
+
+Forgery resistance: Be resilient to forgery attacks (impersonation attacks). i.e., prevent attackers from attempting to modify intercepted communications in order to masquerade as the legitimate user and login to the system.
+
+**[SG-12]**
+
+Parallel session resistance: Be resilient to parallel session attacks. Without knowing a user's authentication credential, an attacker can masquerade as the legitimate user by creating a valid authentication message out of some eavesdropped communication between the user and the server.
+
+**[SG-13]**
+
+Forwarding resistance: Be resilient to forwarding and replay attacks. Having intercepted previous communications, an attacker can impersonate the legal user to authenticate to the system. The attacker can replay or forward the intercepted messages.
+
+**[SG-14]**
+
+Transaction non-repudiation: Provide strong cryptographic non-repudiation for secure transactions.
+
+**[SG-15]**
+
+Respect for operating environment security boundaries: Ensure that registrations and key material as a shared system resource is appropriately protected according to the operating environment privilege boundaries in place on the FIDO user device.
+
+NOTE – For a definition of the phrases printed in *italics*, refer to [b-QuestToReplacePasswords] and to [b-PWAuthSchemesKeyIssues]
+
+### **L.4.1 Assets to be protected**
+
+Independent of any particular implementation, the UAF protocol assumes some assets to be present and to be protected.
+
+1. Cryptographic authentication key. Typically keys in FIDO are unique for each tuple of (relying party, user account, authenticator).
+2. Cryptographic authentication key reference. This is the cryptographic material stored at the relying party and used to uniquely verify the cryptographic authentication key, typically the public portion of an asymmetric key pair.
+3. Authenticator attestation key (as stored in each authenticator). This should only be usable to attest a cryptographic authentication key and the type and manufacturing batch of an authenticator. Attestation keys and certificates are shared by a large number of authenticators in a device class from a given vendor in order to prevent their becoming a linkable identifier across relying parties. Authenticator attestation certificates may be self-signed, or signed by an authority key controlled by the vendor.
+4. Authenticator attestation authority key. An authenticator vendor may elect to sign authenticator attestation certificates with a per-vendor certificate authority key.
+5. Authenticator attestation authority certificate. Contained in the initial/default trust store as part of the FIDO server and contained in the active trust store maintained by each relying party.
+6. Active trust store. Contains all trusted attestation master certificates for a given FIDO server.
+7. All data items suitable for uniquely identifying the authenticator across relying parties. An attack on those would break the non-linkability security goal.
+8. Private key of relying party TLS server certificate.
+9. TLS root certificate trust store for the user's browser/app.
+
+### **L.5 FIDO security measures**
+
+NOTE 1 – Particular implementations of FIDO clients, authenticators, servers and participating applications may not implement all of these security measures (e.g., secure display, [SM-10] Transaction Confirmation) and they also might (and should) implement additional security measures.
+
+NOTE 2 – The U2F protocol lacks support for [SM-10] Transaction confirmation, has only server-supplied [SM-8] Protocol nonces and [SM-3] Authenticator class attestation is implicit as there is only a single class of device.
+
+#### **[SM-1] (U2F + UAF)**
+
+Key protection: Authentication key is protected against misuse. Misuse means any use violating the FIDO specification or the details given in the metadata statement. Before a key can be used, it requires the user to unlock it using the user verification method specified in the authenticator metadata statement (Silent authenticators do not require any user verification method).
+
+#### **[SM-2] (U2F + UAF)**
+
+Unique authentication keys: Cryptographic authentication key is specific and unique to the tuple of (FIDO authenticator, user, relying party).
+
+#### **[SM-3] (U2F + UAF)**
+
+Authenticator class attestation: Hardware-based FIDO authenticators support authenticator attestation using an attestation key using one of the FIDO specified attestation types and algorithms. Each relying party receives regular updates of the trust store (through the FIDO metadata service).
+
+#### **[SM-4] (UAF)**
+
+Authenticator status checking: Relying parties will be notified of compromised authenticators or authenticator attestation keys. The FIDO server must take this information into account. Authenticator manufacturers have to inform FIDO alliance about compromised authenticators.
+
+#### **[SM-5] (UAF)**
+
+User consent: FIDO client implements a user interface for getting user's consent on any actions (except authentication with silent authenticator) and displaying RP name (derived from server URL).
+
+#### **[SM-6] (U2F + UAF)**
+
+Cryptographically secure verifier database: The relying party stores only the public portion of an asymmetric key pair, or an encrypted key handle, as a cryptographic authentication key reference.
+
+#### **[SM-7] (U2F + UAF)**
+
+Secure channel with server authentication: The TLS protocol with server authentication or a transport with equivalent properties is used as transport protocol for UAF. The use of https is enforced by a browser or relying party application.
+
+#### **[SM-8] (UAF)**
+
+Protocol nonces: Both server and client supplied nonces are used for UAF registration and authentication. U2F requires server supplied nonces.
+
+#### **[SM-9] (U2F + UAF)**
+
+Authenticator certification: Only authenticators meeting certification requirements defined by the FIDO Alliance and accurately describing their relevant characteristics will have their related attestation keys included in the default trust store.
+
+#### **[SM-10] (UAF)**
+
+Transaction confirmation (WYSIWYS): Secure display (WYSIWYS) (optionally) implemented by the FIDO authenticators is used by FIDO client for displaying relying party name and transaction data to be confirmed by the user.
+
+#### **[SM-11] (U2F + UAF)**
+
+Round trip integrity: FIDO server verifies that the transaction data related to the server challenge received in the UAF message from the FIDO client is identical to the transaction data and server challenge delivered as part of the UAF request message.
+
+#### **[SM-12] (U2F + UAF)**
+
+Channel binding: Relying party servers may verify the continuity of a secure channel with a client application.
+
+#### **[SM-13] (UAF)**
+
+Key handle access token: Authenticators not intended to roam between untrusted systems are able to constrain the use of registration keys within the privilege boundaries defined by the operating environment of the user device. (per-user, or perapplication, or per-user + per-application as appropriate)
+
+### [SM-14] (U2F + UAF)
+
+AppID separation: A relying party can declare the application identities allowed to access its registered keys, for operating environments on user devices that support this concept.
+
+### [SM-15] (U2F + UAF)
+
+Signature counter: Authenticators send a monotonically increasing signature counter that a relying party can check to possibly detect cloned authenticators.
+
+## L.5.1 Relation between measures and goals
+
+Table L.1 shows the relationship between security measures and goals.
+
+**Table L.1 – Relationship between security measures and goals**
+
+| Security goal | Supporting security measures |
+|-----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|
+| [SG-1] Strong User Authentication | [SM-1] Key Protection [SM-12] Channel Binding [SM-14] AppID Separation [SM-15] Signature Counter |
+| [SG-2] Credential Guessing Resilience | [SM-1] Key Protection [SM-6] Cryptographically Secure Verifier Database |
+| [SG-3] Credential Disclosure Resilience | [SM-1] Key Protection [SM-9] Authenticator Certification [SM-15] Signature Counter |
+| [SG-4] Unlinkability | [SM-2] Unique Authentication Keys [SM-3] Authenticator Class Attestation |
+| [SG-5] Verifier Leak Resilience | [SM-2] Unique Authentication Keys [SM-6] Cryptographically Secure Verifier Database |
+| [SG-6] Authenticator Leak Resilience | [SM-9] Authenticator Certification [SM-15] Signature Counter |
+| [SG-7] User Consent | [SM-1] Key Protection [SM-5] User Consent [SM-7] Secure Channel with server Authentication [SM-10] Transaction Confirmation (WYSIWYS) |
+| [SG-8] Limited PII | [SM-2] Unique Authentication Keys |
+| [SG-9] Attestable Properties | [SM-3] Authenticator Class Attestation [SM-4] Authenticator Status Checking [SM-9] Authenticator Certification |
+| [SG-10] DoS Resistance | [SM-8] Protocol Nonces |
+| [SG-11] Forgery Resistance | [SM-7] Secure Channel with server Authentication [SM-8] Protocol Nonces [SM-11] Round Trip Integrity [SM-12] Channel Binding |
+| [SG-12] Parallel Session Resistance | [SM-7] Secure Channel with server Authentication [SM-8] Protocol Nonces [SM-11] Round Trip Integrity [SM-12] Channel Binding |
+
+**Table L.1 – Relationship between security measures and goals**
+
+| Security goal | Supporting security measures |
+|---------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| [SG-13] Forwarding Resistance | [SM-7] Secure Channel with server Authentication [SM-8] Protocol Nonces [SM-11] Round Trip Integrity [SM-12] Channel Binding |
+| [SG-14] Transaction Non-Repudiation | [SM-1] Key Protection [SM-2] Unique Authentication Keys [SM-8] Protocol Nonces [SM-9] Authenticator Certification [SM-10] Transaction Confirmation (WYSIWYS) [SM-11] Round Trip Integrity [SM-12] Channel Binding |
+| [SG-15] Respect for Operating Environment Security Boundaries | [SM-13] Key Handle Access Token [SM-14] AppID Separation |
+
+## **L.6 UAF security assumptions**
+
+Today's computer systems and cryptographic algorithms are not provably secure. This clause lists the security assumptions, i.e., assumptions on security provided by other components. A violation of any of these assumptions will prevent reliable achievement of the security goals.
+
+### **[SA-1]**
+
+The cryptographic algorithms and parameters (key size, mode, output length, etc.) in use are not subject to unknown weaknesses that make them unfit for their purpose in encrypting, digitally signing and authenticating messages.
+
+### **[SA-2]**
+
+Operating system privilege separation mechanisms relied up on by the software modules involved in a FIDO operation on the user device perform as advertised. For example, boundaries between user and kernel mode, between user accounts and between applications (where applicable) are securely enforced and security principals can be mutually, securely identifiable.
+
+### **[SA-3]**
+
+Applications on the user device are able to establish secure channels that provide trustworthy server authentication and confidentiality and integrity for messages (e.g., through TLS).
+
+### **[SA-4]**
+
+The secure display implementation is protected against spoofing and tampering.
+
+### **[SA-5]**
+
+The computing environment on the FIDO user device and the applications involved in a FIDO operation act as trustworthy agents of the user.
+
+### **[SA-6]**
+
+The inherent value of a cryptographic key resides in the confidence it imparts and this commodity decays with the passage of time, irrespective of any compromise event. As a result the effective assurance level of authenticators will be reduced over time.
+
+## [SA-7]
+
+The computing resources at the relying party involved in processing a FIDO operation act as trustworthy agents of the relying party.
+
+### L.6.1 Discussion
+
+With regard to [SA-5] and malicious computation on the FIDO user's device, only very limited guarantees can be made within the scope of these assumptions. Malicious code privileged at the level of the trusted computing base can always violate [SA-2] and [SA-3]. Malicious code privileged at the level of the user's account in traditional multi-user environments will also likely be able to violate [SA-3].
+
+FIDO can also provide only limited protections when a user chooses to deliberately violate [SA-5], e.g., by roaming a USB authenticator to an untrusted system like a kiosk, or by granting permissions to access all authentication keys to a malicious app in a mobile environment. Transaction Confirmation can be used as a method to protect against compromised FIDO user devices.
+
+In to components such as the FIDO client, server, Authenticators and the mix of software and hardware modules they are comprised of, the end-to-end security goals also depend on correct implementation and adherence to FIDO security guidance by other participating components, including web browsers and relying party applications. Some configurations and uses may not be able to meet all security goals. For example, authenticators may lack a secure display, they may be composed only of unattestable software components, they may be deliberately designed to roam between untrusted operating environments and some operating environments may not provide all necessary security primitives (e.g., secure IPC, application isolation, modern TLS implementations, etc.)
+
+### L.7 Threat analysis
+
+#### L.7.1 Threats to client side
+
+##### L.7.1.1 Exploiting user's pattern matching weaknesses
+
+**Table L.2 – Homograph mis-registration**
+
+| T-1.1.1 | Homograph mis-registration | Violates |
+|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
+| AC3 | The user registers a FIDO authentication key with a fraudulent web site instead of the genuine relying party.
Consequences: The fraudulent site may convince the user to disclose a set of non-FIDO credentials sufficient to allow the attacker to register a FIDO Authenticator under its own control, at the genuine relying party, on the user's behalf, violating [SG-1] Strong User Authentication.
Mitigations: Disclosure of non-FIDO credentials is outside of the scope of the FIDO security measures, but Relying Parties should be aware that the initial strength of an authentication key is no better than the identity-proofing applied as part of the registration process.
| SG-1 |
+
+## L.7.1.2 Threats to the user device, FIDO client and relying party client applications
+
+**Table L.3 – Threats to the user device, FIDO client and relying party client applications**
+
+| T-1.2.1 | FIDO client corruption | Violates |
+|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------|
+| AC3 | Attacker gains ability to execute code in the security context of the FIDO client.
Consequences: Violation of [SA-5].
Mitigations: When the operating environment on the FIDO user device allows, the FIDO client should operate in a privileged and isolated context under [SA-2] to protect itself from malicious modification by anything outside of the Trusted Computing Base.
| SA-5 |
+| T-1.2.2 | Logical/Physical user device attack | Violates |
+| AC3 / AC5 | Attacker gains physical access to the FIDO user device but not the FIDO Authenticator.
Consequences: Possible violation of [SA-5] by installing malicious software or otherwise tampering with the FIDO user device.
Mitigations: [SM-1] Key Protection prevents the disclosure of authentication keys or other assets during a transient compromise of the FIDO user device. A persistent compromise of the FIDO user device can lead to a violation of [SA-5] unless additional protection measures outside the scope of FIDO are applied to the FIDO user device. (e.g. whole disk encryption and boot-chain integrity)
| SA-5 |
+| T-1.2.3 | User device account access | Violates |
+| AC3 / AC4 | Attacker gains access to a user's login credentials on the FIDO user device.
Consequences: Authenticators might be remotely abused, or weakly-verifying authenticators might be locally abused, violating [SG-1] Strong User Authentication and [SG-13] Transaction Non-Repudiation.
Possible violation of [SA-5] by the installation of malicious software.
Mitigations: Relying Parties can use [SM-9] Authenticator Certification and [SM-3] Authenticator Class Attestation to determine the nature of authenticators and not rely on weak, or weakly-verifying authenticators for high value operations.
| SG-1, SG-13; SA-5 |
+| T-1.2.4 | App server verification error | Violates |
+| AC3 | A client application fails to properly validate the remote sever identity, accepts forged or stolen credentials for a remote server, or allows weak or missing cryptographic protections for the secure channel.
Consequences: An active network adversary can modify the relying party's authenticator policy and downgrade the client's choice of authenticator to make it easier to attack.
An active network adversary can intercept or view FIDO messages intended for the relying party. It may be able to use this ability to violate [SG-12] Parallel
| SG-11, SG-12, SG-13 |
+
+| | | |
+|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------|
+| T-1.2.4 | App server verification error | Violates |
+| AC3 | Session Resistance, [SG-11] Forgery Resistance or [SG-13] Forwarding Resistance,
Mitigations: The server can verify [SM-8] Protocol Nonces to detect replayed messages and protect from an adversary that can read but not modify traffic in a secure channel.
The server can mandate a channel with strong cryptographic protections to prevent message forgery and can verify a [SM-12] Channel Binding to detect forwarded messages.
| SG-11, SG-12, SG-13 |
+| T-1.2.5 | RP Web app corruption | Violates |
+| | An attacker is able to obtain malicious execution in the security context of the relying party application (e.g., via Cross-Site Scripting) or abuse the secure channel or session identifier after the user has successfully authenticated.
Consequences: The attacker is able to control the user's session, violating [SG-14] Transaction Non-Repudiation.
Mitigations: The server can employ [SM-10] Transaction Confirmation to gain additional assurance for high value operations.
| SG-14 |
+| T-1.2.6 | Fingerprinting authenticators | Violates |
+| | A remote adversary is able to uniquely identify a FIDO user device using the fingerprint of discoverable configuration of its FIDO Authenticators.
Consequences: The exposed information violates [SG-8] Limited PII, allowing an adversary to violate [SG-7] User Consent by strongly authenticating the user without their knowledge and [SG-4] Unlinkability by sharing that fingerprint.
Mitigations: [SM-3] Authenticator Class Attestation ensures that the fingerprint of an Authenticator will not be unique.
For web browsing situations where this threat is most prominent, user agents may provide additional user controls around the discoverability of FIDO Authenticators.
| SG-4, SG7, SG-8 |
+| T-1.2.7 | App to FIDO client full MITM attack | Violates |
+| AC3 | Malicious software on the FIDO user device is able to read, tamper with, or spoof the endpoint of inter-process communication channels between the FIDO client and browser or relying party application.
Consequences: Adversary is able to subvert [SA-2].
Mitigations: On platforms where [SA-2] is not strong the security of the system may depend on preventing malicious applications from arriving on the FIDO user device. Such protections, e.g., app store policing, are outside the scope of FIDO. When using [SM-10] Transaction Confirmation, the user would see the relevant AppID and transaction text and decide whether or not to accept an action.
| SA-2 |
+| T-1.2.8 | Authenticator to app read-only MITM attack | Violates |
+| AC3 | An adversary is able to obtain an authenticator's signed protocol response message.
Consequences: The attacker attempts to replay the message to authenticate as the user, violating [SG-1] Strong User Authentication, [SG-13] Forwarding Resistance and [SG-12] Parallel Session Resistance.
| SG-1, SG-12, SG-13 |
+
+| | | |
+|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
+| T-1.2.8 | Authenticator to app read-only MITM attack | Violates |
+| | Mitigations: The server can use [SM-8] Protocol Nonces to detect replay of messages and verify [SM-11] Round Trip Integrity to detect modified messages. | |
+| T-1.2.9 | Malicious app | Violates |
+| AC3 | A user installs an application that represents itself as being associated with to one relying party application but actually initiates a protocol conversation with a different relying party and attempts to abuse previously registered authentication keys at that relying party.
Consequences: Adversary is able to violate [SG-7] User Consent by misrepresenting the target of authentication.
Other consequences equivalent to [T-1.2.5]
Mitigations: If a [SM-10] Transaction Confirmation Display is present, the user may be able to verify the true target of an operation.
If the malicious application attempts to communicate directly with an Authenticator that uses [SM-13] KeyHandleAccessToken, it should not be able to access keys registered by other FIDO clients.
If the operating environment on the FIDO user device supports it, the FIDO client may be able to determine the application's identity and verify if it is authorized to target that relying party using a [SM-14] AppID Separation.
| SG-7 |
+| T-1.2.10 | Phishing attack | Violates |
+| | A Phisher convinces the user to enter his PIN used for user verification into an application / web site disclosing the PIN to the Phisher. In the traditional username/password world this enables the attacker to successfully impersonate the user (to the relying party).
Consequences: None as the phisher additionally would need access to the Authenticator in order to pass user verification [SM-1]. In FIDO, the user verification PIN (if user verification is done via PIN) is not known to the relying party and hence is not sufficient for user impersonation. If user verification is done using an alternative user verification method, this applies accordingly.
Mitigations: In FIDO, the Uauth.priv key is used to sign a relying party supplied challenge. without (use) access to that key, no impersonation is possible.
| |
+
+### L.7.1.3 Creating a fake client
+
+**Table L.4 – Creating a fake client**
+
+| | | |
+|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
+| T-1.3.1 | Malicious FIDO client | Violates |
+| AC3 | Attacker convinces users to install and use a malicious FIDO client.
Consequences: Violation of [SA-5]
Mitigations: Mitigating malicious software installation is outside the scope of FIDO.
If an authenticator implements [SM-1] Key Protection, the user may be able to recover full control of their registered authentication keys by removing the malicious software from their user device.
When using [SM-10] Transaction Confirmation, the user sees the real AppIDs and transaction text and can decide to accept or reject the action.
| SA-5 |
+
+## L.7.1.4 Threats to FIDO authenticator
+
+Table L.5
+
+| T-1.4.1 | Malicious authenticator | Violates |
+|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
+| AC2 | Attacker convinces users to use a maliciously implemented authenticator.
Consequences: The fake authenticator does not implement any appropriate security measures and is able to violate all security goals of FIDO.
Mitigations: A user may be unable to distinguish a malicious authenticator, but a relying party can use [SM-3] Authenticator Class Attestation to identify and only allow registration of reliable authenticators that have passed [SM-9] Authenticator Certification
A relying party can additionally rely on [SM-4] Authenticator Status Checking to check if an attestation presented by a malicious authenticator has been marked as compromised.
| SG-1 |
+| T-1.4.2 | Uauth.priv key compromise | Violates |
+| AC2 | Attacker succeeds in extracting a user's cryptographic authentication key for use in a different context.
Consequences: The attacker could impersonate the user with a cloned authenticator that does not do trustworthy user verification, violating [SG-1].
Mitigations: [SM-1] Key Protection measures are intended to prevent this. Relying Parties can check [SM-9] Authenticator Certification attributes to determine the type of key protection in use by a given authenticator class. Relying Parties can additionally verify the [SM-15] Signature Counter and detect that an authenticator has been cloned if it ever fails to advance relative to the prior operation.
| SG-1 |
+| T-1.4.3 | User verification by-pass | Violates |
+| AC3 | Attacker could use the cryptographic authentication key (inside the authenticator) either with or without being noticed by the legitimate user.
Consequences: Attacker could impersonate user, violating [SG-1].
Mitigations: A user can only register and a relying party only allow authenticators that perform [SM-1] Key Protection with an appropriately secure user verification process.
Does not apply to Silent Authenticators.
| SG-1 |
+| T-1.4.4 | Physical authenticator attack | Violates |
+| AC5 / AC6 | Attacker could get physical access to FIDO Authenticator (e.g., by stealing it).
Consequences: Attacker could launch offline attack in order to use the authentication key. If this offline attack succeeds, the attacker could successfully impersonate the user, violating [SG-1] Strong User Authentication.
Attacker can introduce a low entropy situation to recover an ECDSA signature key (or otherwise extract the Uauth.priv key), violating [SG-9] Attestable Properties if the attestation key is targeted or [SG-1] Strong User Authentication if a user key is targeted.
Mitigations: [SM-1] Key Protection includes requirements to implement strong protections for key material, including resistance to offline attacks and low entropy situations.
| SG-1 |
+
+| | | |
+|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
+| T-1.4.4 | Physical authenticator attack | Violates |
+| | Relying Parties should use [SM-3] Authenticator Class Attestation to only accept Authenticators implementing a sufficiently strong user verification method. | |
+| T-1.4.6 | Fake authenticator | Violates |
+| | Attacker is able to extract the authenticator attestation key from an authenticator, e.g., by neutralizing physical countermeasures in a laboratory setting.
Consequences: Attacker can violate [SG-9] Attestable Properties by creating a malicious hardware or software device that represents itself as a legitimate one.
Mitigations: Relying Parties can use [SM-4] Authenticator Status Checking to identify known-compromised keys. Identification of such compromise is outside the strict scope of the FIDO protocols.
| SG-9 |
+| T-1.4.7 | Transaction confirmation display overlay attack | Violates |
+| | Attacker is able to subvert [SM-5] Secure Display functionality (WYSIWYS), perhaps by overlaying the display with false information.
Consequences: Violation of [SG-14] Transaction Non-Repudiation.
Mitigations: Implementations must take care to protect [SA-4] in their implementation of a secure display, e.g., by implementing a distinct hardware display or employing appropriate privileges in the operating environment of the user device to protect against spoofing and tampering.
[SM-9] Authenticator Certification will provide Relying Parties with metadata about the nature of a transaction confirmation display information that can be used to assess whether it matches the assurance level and risk tolerance of the relying party for that particular transaction.
| SG-14 |
+| T-1.4.8 | Signature algorithm attack | Violates |
+| AC2 | A cryptographic attack is discovered against the public key cryptography system used to sign data by the FIDO authenticator.
Consequences: Attacker is able to use messages generated by the client to violate [SG-2] Credential Guessing Resistance
Mitigations: [SM-8] Protocol Nonces, including client-generated entropy, limit the amount of control any adversary has over the internal structure of an authenticator.
[SM-1] Key Protection for non-silent authenticators requires user interaction to authorize any operation performed with the authentication key, severely limiting the rate at which an adversary can perform adaptive cryptographic attacks.
| SG-2 |
+| T-1.4.9 | Abuse functionality | Violates |
+| | It might be possible for an attacker to abuse the Authenticator functionality by sending commands with invalid parameters or invalid commands to the Authenticator.
Consequences: This might lead to e.g., user verification by-pass or potential key extraction.
Mitigations: Proper robustness (e.g., due to testing) of the Authenticator firmware.
| SG-1 |
+
+| | | |
+|-----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
+| T-1.4.10 | Random number prediction | Violates |
+| | It might be possible for an attacker to get access to information allowing the prediction of RNG data.
Consequences: This might lead to key compromise situation (T-1.4.2) when using ECDSA (if the k value is used multiple times or if it is predictable).
Mitigations: Proper robustness of the Authenticator's RNG and verification of the relevant operating environment parameters (e.g., temperature, ...).
| SG-1 |
+| T-1.4.11 | Firmware rollback | Violates |
+| | Attacker might be able to install a previous and potentially buggy version of the firmware.
Consequences: This might lead to successful attacks, e.g., T-1.4.9.
Mitigations: Proper robustness firmware verification method.
| SG-1 |
+| T-1.4.12 | User verification data injection | Violates |
+| AC3, AC6 | Attacker might be able to inject pre-captured user verification data into the Authenticator. For example, if a password is used as user verification method, the attacker could capture the password entered by the user and then send the correct password to the Authenticator (by-passing the expected keyboard/PIN pad). Passwords could be captured ahead of the attack e.g., by convincing the user to enter the password into a malicious app ("phishing") or by spying directly or indirectly the password data.
| SG-1 |
+| T-1.4.12 | User verification data injection | Violates |
+| AC3, AC6 | In another example, some malware could play an audio stream which would be recorded by the microphone and used by a Speaker-Recognition based Authenticator.
Consequences: This might lead to successful user impersonation (if the attacker has access to valid user verification data).
Mitigations: Use a physically secured user verification input method, e.g., Fingerprint Sensor or Trusted-User-Interface for PIN entry which cannot be by-passed by malware.
| SG-1 |
+| T-1.4.13 | Verification reference data modification | Violates |
+| AC3, AC6 | The Attacker gained logical or physical access to the Authenticator and modifies Verification Reference Data (e.g., hashed PIN value, fingerprint templates) stored in the Authenticator and adds reference data known to or reproducible by the attacker.
Consequences: The attacker would be recognized as the legitimate User and could impersonate the user.
Mitigations: Proper protection of the the verification reference data in the Authenticator.
| SG-1 |
+| T-1.4.14 | Read access to captured user verification data | Violates |
+| AC3, AC6 | The Attacker gained read access to the captured user verification data (e.g., PIN, fingerprint image, ...).
Consequences: The attacker gets access to PII and could disclose it violating SG-8.
Mitigations: Limiting access to the user verification data to the Authenticator exclusively.
| SG-8 |
+
+## L.7.2 Threats to relying party
+
+### L.7.2.1 Threats to FIDO server data
+
+**Table L.6 – Threats to FIDO server data**
+
+| T-2.1.1 | FIDO server DB read attack | Violates |
+|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
+| | Attacker could obtains read-access to FIDO server registration database.
Consequences: Attacker can access all cryptographic key handles and authenticator characteristics associated with a username. If an authenticator or combination of authenticators is unique, they might use this to try to violate [SG-2] Unlinkability
Attacker attempts to perform factorization of public keys by virtue of having access to a large corpus of data, violating [SG-5] Verifier Leak Resilience and [SG-2] Credential Guessing Resilience
Mitigations: [SM-2] Unique Authentication Keys help prevent disclosed key material from being useful against any other relying party, even if successfully attacked.
The use of an [SM-6] Cryptographically Secure Verifier Database helps assure that it is infeasible to attack any leaked verifier keys.
[SM-9] Authenticator Certification should help prevent authenticators with poor entropy from entering the market, reducing the likelihood that even a large corpus of key material will be useful in mounting attacks.
| SG-2, SG-5 |
+| T-2.1.2 | FIDO server DB modification attack | Violates |
+| | Attacker gains write-access to the FIDO server registration database.
Consequences: Violation of [SA-7]
The attacker may inject a key registration under its control, violating [SG-1] Strong User Authentication
Mitigations: Mitigating such attacks is outside the scope of the FIDO specifications. The relying party must maintain the integrity of any information it relies up on to identify a user as part of [SA-7].
| SA-7 |
+| T-2.2.1 | WebApp malware | Violates |
+| | Attacker gains ability to execute code in the security context of the relying party web application or FIDO server.
Consequences: Attacker is able to violate [SG-1], [SG-10], [SG-9] and any other relying party controls.
Mitigations: The consequences of such an incident are limited to the relationship between the user and that particular relying party by [SM-1], [SM-2] and [SM-5].
Even within the relying party to user relationship, a user can be protected by [SM-10] Transaction Confirmation if the compromise does not include to the user's computing environment
| SG-1, SG-9, SG-10 |
+
+## L.7.3 Threats to the secure channel between client and relying party
+
+### L.7.3.1 Exploiting weaknesses in the secure transport of FIDO messages
+
+FIDO takes as a base assumption that [SA-3] applications on the user device are able to establish secure channels that provide trustworthy server authentication and confidentiality and integrity for messages. e.g., through TLS. [T-1.2.4] discusses some consequences of violations of this assumption due to implementation errors in a browser or client application, but other threats exist in different layers.
+
+**Table L.7 – Exploiting weaknesses in the secure transport of FIDO messages**
+
+| T-3.1.1 | TLS proxy | Violates |
+|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------|
+| | The FIDO user device is administratively configured to connect through a proxy that terminates TLS connections. The client trusts this device, but the connection between the user and FIDO server is no longer end-to-end secure.
Consequences: Any such proxies introduce a new party into the protocol. If this party is untrustworthy, consequences may be as for [T-1.2.4]
Mitigations: Mitigations for [T-1.2.4] apply, except that the proxy is considered trusted by the client, so certain methods of [SM-12] Channel Binding may indicate a compromised channel even in the absence of an attack. servers should use multiple methods and adjust their risk scoring appropriately. A trustworthy client that reports a server certificate that is unknown to the server and does not chain to a public root may indicate a client behind such a proxy. A client reporting a server certificate that is unknown to the server but validates for the server's identity according to commonly used public trust roots is more likely to indicate [T-3.1.2]
| SG-11, SG-12, SG-13 |
+| T-3.1.2 | Fraudulent TLS server certificate | Violates |
+| | An attacker is able to obtain control of a certificate credential for a relying party, perhaps from a compromised Certification Authority or poor protection practices by the relying party.
Consequences: As for [T-1.2.4].
Mitigations: As for [T-1.2.4].
| |
+| T-3.1.3 | Protocol level real-time MITM attack | Violates |
+| | An adversary can intercept and manipulate network packages sent from the relying party to the client. The adversary uses this capability to (a) terminate the underlying TLS session from the client at the adversary and to (b) simultaneously use another TLS session from the adversary to the relying party. In the traditional username/password world, this allows the adversary to intercept the username and the password and then successfully impersonate the user at the relying party.
Consequences: None if FIDO channelBinding [SM-12] or transaction confirmation [SM-10] are used.
Mitigations: In the case of channelBinding [SM-12], the FIDO server will detect the MITM in the TLS channel by comparing the channel binding information provided by the client and the channel binding information retrieved locally by the server.
In the case of transaction confirmation [SM-10], the user verifies and approves a particular transaction. The adversary could modify the transaction before approval. This would lead to rejection by the user. Alternatively, the adversary could modify the transaction after approval. This will break the signature in the transaction confirmation response. The FIDO server will not accept it as a consequence.
| |
+
+## L.7.4 Threats to the infrastructure
+
+### L.7.4.1 Threats to FIDO authenticator manufacturers
+
+**Table L.8 – Threats to FIDO authenticator manufacturers**
+
+| T-4.1.1 | Manufacturer level attestation key compromise | Violates |
+|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
+| | Attacker obtains control of an attestation key or attestation key issuing key.
Consequences: Same as [T-1.4.6]: Attacker can violate [SG-9] Attestable Properties by creating a malicious hardware or software device that represents itself as a legitimate one.
Mitigations: Same as [T-1.4.6]: Relying Parties can use [SM-4] Authenticator Status Checking to identify known-compromised keys. Identification of such compromise is outside the strict scope of the FIDO protocols.
| SG-9 |
+| T-4.1.2 | Malicious authenticator HW | Violates |
+| | FIDO Authenticator manufacturer relies on hardware or software components that generate weak cryptographic authentication key material or contain backdoors.
Consequences: Effective violation of [SA-1] in the context of such an Authenticator.
Mitigations: The process of [SM-9] Authenticator Certification may reveal a subset of such threats, but it is not possible that all such can be revealed with black box testing and white box examination may be is economically infeasible. Users and Relying Parties with special concerns about this class of threat must exercise their own necessary caution about the trustworthiness and verifiability of their vendors and supply chain.
| SA-1 |
+
+### L.7.4.2 Threats to FIDO server vendors
+
+**Table L.9 – Threats to FIDO server vendors**
+
+| T-4.2.1 | Vendor level trust anchor injection attack | Violates |
+|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
+| | Attacker adds malicious trust anchors to the trust list shipped by a FIDO server vendor.
Consequences: Attacker can deploy fake Authenticators which Relying Parties cannot detect as such, which do not implement any appropriate security measures and is able to violate all security goals of FIDO.
Mitigations: This type of supply chain threat is outside the strict scope of the FIDO protocols and violates [SA-7]. Relying Parties can their trust list against definitive data published by the FIDO Alliance.
| SA-7 |
+
+### L.7.4.3 Threats to FIDO metadata service operators
+
+**Table L.10 – Threats to FIDO metadata service operators**
+
+| T-4.3.1 | Metadata service signing key compromise | Violates |
+|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|
+| | The attacker gets access to the private Metadata signing key.
Consequences: The attacker could sign invalid Metadata. The attacker could
• make trustworthy authenticators look less trustworthy (e.g., by increasing FAR). • make weak authenticators look strong (e.g., by changing the key protection method to a more secure one) • inject malicious attestation trust anchors, e.g., root certificates which cross-signed the original attestation trust anchor and the cross signed original attestation root certificate. This malicious trust anchors could be used to sign attestation certificates for fraudulent authenticators, e.g., authenticators using the AAID of trustworthy authenticators but not protecting their keys as stated in the metadata. Mitigations: The Metadata Service operator should protect the Metadata signing key appropriately, e.g., using a hardware protected key storage.
Relying parties could use out-of-band methods to cross-check Metadata Statements with the respective vendors and cross-check the revocation state of the Metadata signing key with the provider of the Metadata Service.
| SG-9 |
+| T-4.3.2 | Metadata service data injection | Violates |
+| | The attacker injects malicious Authenticator data into the Metadata source.
Consequences: The attacker could make the Metadata Service operator sign invalid Metadata. The attacker could
• make trustworthy authenticators look less trustworthy (e.g., by increasing FAR). • make weak authenticators look strong (e.g., by changing the key protection method to a more secure one) • inject malicious attestation trust anchors, e.g., root certificates which cross-signed the original attestation trust anchor and the cross signed original attestation root certificate. This malicious trust anchors could be used to sign attestation certificates for fraudulent authenticators, e.g., authenticators using the AAID of trustworthy authenticators but not protecting their keys as stated in the metadata. Mitigations: The Metadata Service operator could carefully review the delta between the old and the new Metadata. Authenticator vendors could verify the published Metadata related to their Authenticators.
| SG-9 |
+
+## L.7.5 Threats specific to UAF with a second factor / U2F
+
+**Table L.11 – Threats specific to UAF with a second factor / U2F**
+
+| T-5.1.1 | Error status side channel | Violates |
+|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|
+| | Relying parties issues an authentication challenge to an authenticator and can infer from error status if it is already enrolled.
Consequences: U2F authenticators not requiring user interaction may be used to track users without their consent by issuing a pre-authentication challenge to a U2F token, revealing the identity of an otherwise anonymous user. Users would be identifiable by relying parties without their knowledge, violating [SG-7]
Mitigations: The U2F specification recommends that browsers prompt users whether to allow this operation using mechanisms similar to those defined for other privacy sensitive operations like Geolocation.
| SG-7 |
+| T-5.1.2 | Malicious RP | Violates |
+| | Malicious relying party mounts a cryptographic attack on a key handle it is storing.
Consequences: U2F does not have a protocol-level notion of [SG-14] Transaction Non-Repudiation but If the relying party is able to recover the contents of the key handle it might forge logs of protocol exchanges to associate the user with actions he or she did not perform.
If the relying party is able to recover the key used to wrap a key handle, that key is likely shared and might be used to decrypt key handles stored with other Relying Parties and violate [SG-1] Strong User Authentication.
Mitigations: None. U2F depends on [SA-1] to hold for key wrapping operations.
| |
+| T-5.1.3 | Physical U2F authenticator attack | Violates |
+| | Attacker gains physical access to U2F Authenticator (e.g., by stealing it).
Consequences: Same as for T-1.4.4
A U2F authenticator has weak local user verification. If the attacker can guess the username and password/PIN, they can impersonate the user, violating [SG-1] Strong User Authentication
Mitigations: Relying Parties can use strong additional factors.
Relying Parties should provide users a means to revoke keys associated with a lost device.
| SG-1 |
+
+## Bibliography
+
+- [b-ISO 15946-5] ISO/IEC 15946-5, Information Technology – Security Techniques – *Cryptographic techniques based on elliptic curves – Part 5: Elliptic curve generation*.
+
+- [b-ISOIEC-19794] ISO 19794 series, *Information technology – Biometric data interchange formats*.
+
+- [b-ABNF] D. Crocker, Ed.; P. Overell (2008), *Augmented BNF for Syntax Specifications: ABNF*.
+
+- [b-ANDROID] The Android™ Operating System. Google, Inc., the Open Handset Alliance and the Android Open Source Project (*Work in progress*)
+
+- [b-AndroidUnlockPattern] Android Unlock Pattern Security Analysis.
+
+- [b-AnonTerminology] Pfizmann and M. Hansen (2010), *Anonymity, Unlinkability, Unobservability, Pseudonymity, and Identity Management – A Consolidated Proposal for Terminology*, Version 0.34.
+[http://dud.inf.tu-dresden.de/literatur/Anon\\_Terminology\\_v0.34.pdf](http://dud.inf.tu-dresden.de/literatur/Anon_Terminology_v0.34.pdf)
+- [b-ANZ-2013] Tolga Acar, Lan Nguyen and Greg Zaverucha, Microsoft Research, Redmond, WA (2013), *A TPM Diffie-Hellman Oracle*.
+
+- [b-APK-Signing] Signing Your Applications (2014), *The Android™ Operating System. Google, Inc., the Open Handset Alliance and the Android Open Source Project*
+
+- [b-Arthur-Challener-2015] Will Arthur and David Challener with Kenneth Goldman (2014), *A Practical Guide to TPM 2.0: Using the Trusted Platform Module in the New Age of Security*.
+
+- [b-BFGSW-2011] D. Bernhard, G. Fuchsbaauer, E. Ghadafi, N. P. Smart and B. Warinschi (2011), *Anonymous attestation with user-controlled linkability*.
+
+- [b-BarNae-2006] Paulo S. L. M. Barreto and Michael Naehrig (2006), *Pairing-Friendly Elliptic Curves of Prime Order*.
+
+- [b-BriCamChe2004-DAA] Ernie Brickell, Intel Corporation; Jan Camenisch, IBM Research; Liqun Chen, HP Laboratories (2004), *Direct Anonymous Attestation*.
+
+
+| | |
+|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| [b-BundleID] | Apple, Inc. (2014), Configuring your Xcode Project for Distribution , clause About Bundle IDs .https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/ConfiguringYourApp/ConfiguringYourApp.html |
+| [b-ChannelID] | D. Balfanz (Work In Progress), Transport Layer Security (TLS) Channel IDs .http://tools.ietf.org/html/draft-balfanz-tls-channelid |
+| [b-Coron99] | J. Coron and D. Naccache, LNCS 1556 (1999), An accurate evaluation of Maurer's universal test .http://www.jscoron.fr/publications/universal.pdf |
+| [b-CheLi2013-ECDA] | Liquan Chen, HP Laboratories and Jiangtao Li, Intel Corporation (2013), Flexible and Scalable Digital Signatures in TPM 2.0 .http://dx.doi.org/10.1145/2508859.2516729 |
+| [b-Clickjacking] | D. Lin-Shung Huang, C. Jackson, A. Moshchuk, H. Wang, S. Schlechter, USENIX (2012), Clickjacking: Attacks and Defenses .https://www.usenix.org/system/files/conference/usenixsecurity12/sec12-final39.pdf |
+| [b-CommonCriteria] | CommonCriteria Publications . CCRA Members (2014).https://www.commoncriteriaportal.org/cc/ |
+| [b-CTRModes] | H. Lipmea, P. Rogaway, D. Wagner, National Institute of Standards and Technology (2014), Comments to NIST concerning AES Modes of Operation: CTR-Mode Encryption .http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/ctr/ctr-spec.pdf |
+| [b-DevSchoDah2007] | Augusto Jun Devegili, Michael Scott, and Ricardo Dahab (2007), Implementing Cryptographic Pairings over Barreto-Naehrig Curves .https://eprint.iacr.org/2007/390.pdf |
+| [b-ECDSA-ANSI] | National Standards Institute, (2005), Public Key Cryptography for the Financial Services Industry: The Elliptic Curve Digital Signature Algorithm (ECDSA), ANSI X9.62-2005 .http://webstore.ansi.org/RecordDetail.aspx?sku=ANSI+X9.62%3A2005 |
+| [b-ECMA-262] | ECMAScript Language Specification.https://tc39.github.io/ecma262/ |
+| [b-ECMA-404] | The JSON Data Interchange Format . (2013)https://www.ecma-international.org/publications/files/ECMA-ST/b-ECMA-404.pdf |
+| [b-ETSI-Secure-Channel] | ETSI TS 102 484 (2012), Smart Cards; Secure channel between a UICC and an end-point terminal .https://standards.globalspec.com/std/1637349/etsi-ts-102-484 |
+| [b-FIDO-DAA-Security-Proof] | Jan Camenisch, Manu Drijvers, Anja Lehmann (2015), Universally Composable Direct Anonymous Attestation .https://eprint.iacr.org/2015/1246 |
+| [b-FIDOKeyAttestation] | FIDO 2.0: Key attestation format .https://fidoalliance.org/specs/fido-v2.0-ps-20150904/fido-key-attestation-v2.0-ps-20150904.html |
+| [b_FIPS140-2] | National Institute of Standards and Technology (2001), FIPS PUB 140-2: Security Requirements for Cryptographic Modules .http://csrc.nist.gov/publications/fips/fips140-2/fips1402.pdf |
+
+| | |
+|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| [b-FIPS198-1] | National Institute of Standards and Technology (2008), FIPS PUB 198-1: The Keyed-Hash Message Authentication Code (HMAC) .http://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf |
+| [b-GlobalPlatform-Card] | Secure Channel Protocol 03 – GlobalPlatform Card Specification v.2.2 – Amendment D . |
+| [b-GlobalPlatform-TEE-SE] | TEE Secure Element API Specification v1.0 GPD_SPE_024 |
+| [b-ISOBiometrics] | ISO/IEC 2382-37 (2012), Project Editor, Harmonized Biometric Vocabulary .http://standards.iso.org/ittf/PubliclyAvailableStandards/c055194_ISOIEC_2382-37_2012.zip |
+| [b-iOS] | Apple, Inc. (2014), b-iOS Dev Center .https://developer.apple.com/devcenter/ios/index.action |
+| [b-iPhonePasscodes] | Daniel Amitay (2014), Most Common iPhone Passcodes .http://danielamitay.com/blog/2011/6/13/most-common-iphone-passcodes |
+| [b-MoreTopWorstPasswords] | Mark Burnett (2014), 10000 Top Passwords .https://xato.net/passwords/more-top-worst-passwords/ |
+| [b-NSTC Biometrics] | National Science and Technology Council Subcommittee on Biometrics, (2006), Biometrics Glossary .http://biometrics.gov/Documents/Glossary.pdf |
+| [b-OSCCA-SM2] | SM2: Public Key Cryptographic Algorithm SM2 Based on Elliptic Curves: Part 1: General . (2010).http://www.oscca.gov.cn/UpFile/2010122214822692.pdf |
+| [b-OSCCA-SM2-curve-param] | SM2: Elliptic Curve Public-Key Cryptography Algorithm: Recommended Curve Parameters . (2010)http://www.oscca.gov.cn/UpFile/2010122214836668.pdf |
+| [b-OSCCA-SM3] | SM3 Cryptographic Hash Algorithm . (2010)http://www.oscca.gov.cn/UpFile/20101222141857786.pdf |
+| [b-OWASP2013] | OWASP (2013), OWASP Top 10 – 2013. The Ten Most Critical Web Application Security Risks . |
+| [b-PWAuthSchemesKeyIssues] | Chwei-Shyong Tsai, Cheng-Chi Lee, and Min-Shiang Hwang, International Journal of Network Security , Vol.3, No.2, PP.101–115 (2006), Password Authentication Schemes: Current Status and Key Issues .http://ijns.femto.com.tw/contents/ijns-v3-n2/ijns-2006-v3-n2-p101-115.pdf |
+| [b-PNG] | Tom Lane (2003), Portable Network Graphics (b-PNG) Specification (Second Edition) . W3C Recommendation.https://www.w3.org/TR/b-PNG/ |
+| [b-QuestToReplacePasswords] | Joseph Bonneau, Cormac Herley, Paul C. van Oorschot and Frank Stajano, Microsoft Research, Carleton University and University of Cambridge, March 2012 The Quest to Replace Passwords: A Framework for Comparative Evaluation of Web Authentication Schemes .http://research.microsoft.com/pubs/161585/QuestToReplacePasswords.pdf |
+| [b-IETF RFC 2560] | M. Myers; R. Ankney; A. Malpani; S. Galperin; C. Adams. (1999), Proposed Standard. X.509 Internet Public Key Infrastructure Online Certificate Status Protocol – OCSP .https://tools.ietf.org/html/rfc2560 |
+
+- [b-IETF RFC 2397] L. Masinter (1998), Proposed Standard, *The "data" URL scheme*.
+
+- [b-IETF RFC 2617] J. Franks; P. Hallam-Baker; J. Hostetler; S. Lawrence; P. Leach; A. Luotonen; L. Stewart (1999), *HTTP Authentication: Basic and Digest Access Authentication*. Draft Standard.
+
+- [b-IETF RFC 3218] E. Rescorla (2002), *Preventing the Million Message Attack on Cryptographic Message Syntax*.
+
+- [b-IETF RFC 3986] T. Berners-Lee; R. Fielding; L. Masinter (2005) Internet Standard, *Uniform Resource Identifier (URI): Generic Syntax*.
+
+- [b-IETF RFC 5746] E. Rescorla; M. Ray; S. Dispensa; N. Oskov (2010), *Proposed Standard. Transport Layer Security (TLS) Renegotiation Indication Extension*.
+
+- [b-IETF RFC 6287] D. M'Raihi, J. Rydell, S. Bajaj, S. Machani, D. Naccache, IETF (2011), *OCRA: OATH Challenge-Response Algorithm (RFC 6287)*.
+
+- [b-IETF RFC 7525] Y. Sheffer; R. Holz; P. Saint-Andre (2015), Best Current Practice. *Recommendations for Secure Use of Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)*.
+
+- [b-IETF RFC 7627] K. Bhargavan, Ed.; A. Delignat-Lavaud; A. Pironti; A. Langley; M. Ray (2015), Proposed Standard. *Transport Layer Security (TLS) Session Hash and Extended Master Secret Extension*.
+
+- [b-SecureElement] *GlobalPlatform Card Specifications*. GlobalPlatform. (2014),
+
+- [b-SHEFFER-TLS] Y. Sheffer, R. Holz, P. Saint-Andre. Internet-Draft (Work in progress.) *Recommendations for Secure Use of TLS and DTLS*.
+
+- [b-SEC1] Standards for Efficient Cryptography Group (SECG) (2000), *SEC1: Elliptic Curve Cryptography*, Version 2.0.
+- [b-SP800-38C] M. Dworkin, National Institute of Standards and Technology (2007), *NIST Special Publication 800-38C: Recommendation for Block Cipher Modes of Operation: The CCM Mode for Authentication and Confidentiality*.
+[http://csrc.nist.gov/publications/nistpubs/800-38C/b-SP800-38C\\_updated-July20\\_2007.pdf](http://csrc.nist.gov/publications/nistpubs/800-38C/b-SP800-38C_updated-July20_2007.pdf)
+- [b-SP800-38D] M. Dworkin (2007), *NIST Special Publication 800-38D: Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC*.
+
+- [b-SP800-38F] M. Dworkin, National Institute of Standards and Technology, (2012), *NIST Special Publication 800-38F: Recommendation*
+
+*for Block Cipher Modes of Operation: Methods for Key Wrapping.*
+
+
+
+[b-SP800-57] SP800-57 (2012), U.S. Department of Commerce/National Institute of Standards and Technology. *Recommendation for Key Management – Part 1: General (Revision 3).*
+
+[https://csrc.nist.gov/publications/nistpubs/800-57/sp800-57\\_part1\\_rev3\\_general.pdf](https://csrc.nist.gov/publications/nistpubs/800-57/sp800-57_part1_rev3_general.pdf)
+
+[b-SP800-63] W. Burr, D. Dodson, E. Newton, R. Perlner, W.T. Polk, S. Gupta and E. Nabbus, National Institute of Standards and Technology (2013), *NIST Special Publication 800-63-2: Electronic Authentication Guideline.*
+
+
+
+[b-SP800-90B] Elaine Barker and John Kelsey (2016), *NIST Special Publication 800-90B: Recommendation for the Entropy Sources Used for Random Bit Generation. National Institute of Standards and Technology.*
+
+
+
+[b-SP800-131A] Laine Barker and Allen Roginsky (2015), *NIST Special Publication 800-131A Rev.1: Transitions: Recommendation for Transitioning the Use of Cryptographic Algorithms and Key Lengths.*
+
+
+
+[b-TEESecureDisplay] GlobalPlatform (2014), *GlobalPlatform Trusted User Interface API Specifications.*
+
+
+
+[b-TPM] Trusted Computing Group. (2014), *TPM Main Specification.*
+
+[http://www.trustedcomputinggroup.org/resources/tpm\\_main\\_specification](http://www.trustedcomputinggroup.org/resources/tpm_main_specification)
+
+[b-TPMv1-2-Part1] Trusted Computing Group, *TPM 1.2 Part 1: Design Principles.*
+
+[http://www.trustedcomputinggroup.org/files/static\\_page\\_files/72C26AB5-1A4B-B294-D002BC0B8C062FF6/TPM%20Main-Part%201%20Design%20Principles\\_v1.2\\_rev116\\_01032011.pdf](http://www.trustedcomputinggroup.org/files/static_page_files/72C26AB5-1A4B-B294-D002BC0B8C062FF6/TPM%20Main-Part%201%20Design%20Principles_v1.2_rev116_01032011.pdf)
+
+[b-TPMv2-Part1] Trusted Computing Group, *Trusted Platform Module Library, Part 1: Architecture.*
+
+[http://www.trustedcomputinggroup.org/files/static\\_page\\_files/8C56AE3E-1A4B-B294-D0F43097156A55D8/TPM%20Rev%202.0%20Part%201%20-%20Architecture%2001.16.pdf](http://www.trustedcomputinggroup.org/files/static_page_files/8C56AE3E-1A4B-B294-D0F43097156A55D8/TPM%20Rev%202.0%20Part%201%20-%20Architecture%2001.16.pdf)
+
+[b-TPMv2-Part2] Trusted Computing Group, *Trusted Platform Module Library, Part 2: Structures.*
+
+[http://www.trustedcomputinggroup.org/files/static\\_page\\_files/8C583202-1A4B-B294-D0469592DB10A6CD/TPM%20Rev%202.0%20Part%202%20-%20Structures%2001.16.pdf](http://www.trustedcomputinggroup.org/files/static_page_files/8C583202-1A4B-B294-D0469592DB10A6CD/TPM%20Rev%202.0%20Part%202%20-%20Structures%2001.16.pdf)
+
+[b-TLS] T. Dierks; E. Rescorla (2008), Proposed Standard. *The Transport Layer Security (TLS) Protocol Version 1.2.*
+
+
+
+- [b-TLSAUTH] Karthikeyan Bhargavan; Antoine Delignat-Lavaud; Cédric Fournet; Alfredo Pironti; Pierre-Yves Strub (2014), *Triple Handshakes and Cookie Cutters: Breaking and Fixing Authentication over TLS*.
+
+- [b-TR-03116-4] Bundesamt für Sicherheit in der Informationstechnik (2013), *Technische Richtlinie b-TR-03116-4: eCard-Projekte der Bundesregierung: Teil 4 – Vorgaben für Kommunikationsverfahren im eGovernment*.
+
+- [b-TPMv2-Part4] Trusted Computing Group, *Trusted Platform Module Library, Part 4: Supporting Routines*.
+[http://www.trustedcomputinggroup.org/files/static\\_page\\_files/8C6CABBC-1A4B-B294-D0DA8CE1B452CAB4/TPM%20Rev%202.0%20Part%204%20-%20Supporting%20Routines%2001.16-code.pdf](http://www.trustedcomputinggroup.org/files/static_page_files/8C6CABBC-1A4B-B294-D0DA8CE1B452CAB4/TPM%20Rev%202.0%20Part%204%20-%20Supporting%20Routines%2001.16-code.pdf)
+- [b-WebIDL] Cameron McCormack; Boris Zbarsky; Tobie Langel (2016), *Web IDL*. W3C Editor's Draft.
+
+- [b-WebIDL-ED] Cameron McCormack, *Web IDL*, W3C. Editor's Draft (2014),
+
+- [b-XYZF-2014] Li Xi, Kang Yang, Zhenfeng Zhang, and Dengguo Feng, (2014), *DAA-Related APIs in TPM 2.0 Revisited*, in *T. Holz and S. Ioannidis (Eds.): TRUST 2014, LNCS 8564, pp. 1–18*.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1280-202403-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg b/marked/X/T-REC-X.1280-202403-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d4d8969f805414689ab79cfd08c333d454d482b3
--- /dev/null
+++ b/marked/X/T-REC-X.1280-202403-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:636c3839edff955a5b6208530b05fa1c983ab153d90f00216517a7a99478b988
+size 7074
diff --git a/marked/X/T-REC-X.1283-202409-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg b/marked/X/T-REC-X.1283-202409-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d4d8969f805414689ab79cfd08c333d454d482b3
--- /dev/null
+++ b/marked/X/T-REC-X.1283-202409-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:636c3839edff955a5b6208530b05fa1c983ab153d90f00216517a7a99478b988
+size 7074
diff --git a/marked/X/T-REC-X.1283-202409-I_PDF-E/365b54f616aff249b4e6c0edafdcb9b3_img.jpg b/marked/X/T-REC-X.1283-202409-I_PDF-E/365b54f616aff249b4e6c0edafdcb9b3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c0336240e0d29ee3705681ac11455e65d3d9f9d0
--- /dev/null
+++ b/marked/X/T-REC-X.1283-202409-I_PDF-E/365b54f616aff249b4e6c0edafdcb9b3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:66bd91f1a5333b26ed84a937aff6e848258e5dd042bc0cb19a0b2b6c1c8f2efe
+size 26764
diff --git a/marked/X/T-REC-X.1283-202409-I_PDF-E/4cde160bcc69b7b6c81b648dd0e4252e_img.jpg b/marked/X/T-REC-X.1283-202409-I_PDF-E/4cde160bcc69b7b6c81b648dd0e4252e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a655c9a37da7b433037979ceeb50648149692132
--- /dev/null
+++ b/marked/X/T-REC-X.1283-202409-I_PDF-E/4cde160bcc69b7b6c81b648dd0e4252e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a2f374b7257c089dbd5e6d8b735532e59bb8111bb2561aa011d47f66e2b76d5e
+size 39934
diff --git a/marked/X/T-REC-X.1283-202409-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg b/marked/X/T-REC-X.1283-202409-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..dfaefd456db275bace9e7a5114d891dc918e2a2b
--- /dev/null
+++ b/marked/X/T-REC-X.1283-202409-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:54b008ba80d4593a6fb72c2f9a4e2086063d3ac8a5ffa272d9826f0341ffdadd
+size 26536
diff --git a/marked/X/T-REC-X.1283-202409-I_PDF-E/79e1709a7317ead45379cbb8ff3ba802_img.jpg b/marked/X/T-REC-X.1283-202409-I_PDF-E/79e1709a7317ead45379cbb8ff3ba802_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7eaf623e87eedc9d968956dcf75d51bde8fd4253
--- /dev/null
+++ b/marked/X/T-REC-X.1283-202409-I_PDF-E/79e1709a7317ead45379cbb8ff3ba802_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:29f5562a5938c93506f774608d88cc56b3c8e68f4beb8359e8cb4434fd03048d
+size 23899
diff --git a/marked/X/T-REC-X.1283-202409-I_PDF-E/a74294f34a0c736b7ee0f5f0cdca7e28_img.jpg b/marked/X/T-REC-X.1283-202409-I_PDF-E/a74294f34a0c736b7ee0f5f0cdca7e28_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..12fff14f2f1961abf41b859cb9db9ff98e7f17e7
--- /dev/null
+++ b/marked/X/T-REC-X.1283-202409-I_PDF-E/a74294f34a0c736b7ee0f5f0cdca7e28_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:35be31638e23347705d9d98a9d709bed6916cbf0a01c5ed5d8f17749ae4339f0
+size 33469
diff --git a/marked/X/T-REC-X.1283-202409-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg b/marked/X/T-REC-X.1283-202409-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b6575010b7dc2e4668ac2cae3ecc65b2787c9e13
--- /dev/null
+++ b/marked/X/T-REC-X.1283-202409-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:250679b7ad0d12ad0f748b0f58aff48078ef14843729dec15b90fe616b9c50c5
+size 58578
diff --git a/marked/X/T-REC-X.1283-202409-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg b/marked/X/T-REC-X.1283-202409-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0e3c7576f41b67ae2cf36efa1e31f99db4223854
--- /dev/null
+++ b/marked/X/T-REC-X.1283-202409-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b698647e8f23d6181bbd8f0108c10cc6a8e43b7d278988cb8786ef5414dfe079
+size 30895
diff --git a/marked/X/T-REC-X.130-198811-I_PDF-E/raw.md b/marked/X/T-REC-X.130-198811-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..5d6e13eaef34814b5b45d4e50bf8a39682838045
--- /dev/null
+++ b/marked/X/T-REC-X.130-198811-I_PDF-E/raw.md
@@ -0,0 +1,408 @@
+
+
+
+
+ITU logo: a globe with the letters ITU and a lightning bolt symbol.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+## X.130
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# **PUBLIC DATA NETWORKS NETWORK ASPECTS** ---
+
+## **CALL PROCESSING DELAYS IN PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL SYNCHRONOUS CIRCUIT-SWITCHED DATA SERVICES**
+
+## **ITU-T Recommendation X.130**
+
+(Extract from the *Blue Book*)
+
+---
+
+## NOTES
+
+1 ITU-T Recommendation X.130 was published in Fascicle VIII.3 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below).
+
+2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## Recommendation X.130
+
+## CALL PROCESSING DELAYS IN PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL SYNCHRONOUS CIRCUIT-SWITCHED DATA SERVICES
+
+(Geneva, 1980; amended at Malaga-Torremolinos, 1984)
+
+The CCITT,
+
+*considering*
+
+- (a) that Recommendation X.1 specifies the user classes of service applicable to networks offering public data services;
+- (b) that Recommendation X.2 specifies the international user services and facilities to be offered by public data networks;
+- (c) that Recommendations X.21 and X.21 *bis* define the DTE/DCE interface for circuit switched services;
+- (d) that Recommendation X.60 specifies the common channel signalling for synchronous data networks;
+- (e) that Recommendation X.71 specifies the channel associated signalling for synchronous data networks;
+- (f) that Recommendation X.92 specifies the hypothetical reference connections for public data networks;
+- (g) that Recommendation X.110 specifies the routing plan to be applied in the international portions of public data networks;
+- (h) that Recommendation X.213 specifies the OSI Network Layer service;
+- (i) that Recommendation X.140 specifies the user-oriented quality of service parameters applicable to data services,
+
+*unanimously declares*
+
+that when public data networks provide international synchronous circuit-switched data services according to Recommendations X.21 and X.21 *bis*, the values of call processing delays specified in this Recommendation shall be taken as provisional worst-case values that should not be exceeded under the conditions specified therein.
+
+*Introductory note* - Design objectives that take into account both user needs and network costs are for further study.
+
+## 1 Introduction
+
+1.1 Quality of service in circuit-switched public data networks has been considered in five basic areas as follows:
+
+- i) call processing delays (Recommendation X.130);
+- ii) failures due to congestion (blocking) (Recommendation X.131);
+- iii) failures due to malfunction;
+- iv) loss of service; and
+- v) transmission performance (including throughput).
+
+This Recommendation specifies the objectives for i) above. Each of the other areas of circuit-switching quality of service identified above will be the subject of a separate Recommendation in the X-series.
+
+1.2 In telecommunication networks it is necessary, for economic reasons, to limit the resources provided for carrying the offered traffic. This limitation may affect the quality of service to the user of circuit-switched services in two different ways: by call processing delays and by blocking. Both of these aspects, that are consequences of the finite
+
+traffic handling capacity of the network, constitute the grade of service. Grade of service together with malfunction, loss of service and transmission performance constitute the quality of service.
+
+1.3 In this Recommendation the values for the network delay are quoted for two types of connection according to Recommendation X.92 as follows:
+
+Type 1: Typical terrestrial international connection of moderate length with no satellite circuits either in the national or international portions (International portion: 1000 km).
+
+Type 2: Long distance international connection with a satellite circuit in one national portion and two satellite circuits in the international portion (International portion: 160 000 km).
+
+Where appropriate, values are also specified separately for the following network portions:
+
+- originating national network,
+- international portion,
+- destination national network.
+
+The boundaries for these portions are shown in Figure 1/X.130.
+
+
+
+The diagram shows a horizontal timeline divided into three sections: 'Originating national portion', 'International portion', and 'Destination national portion'. In the 'Originating national portion', a circle labeled 'Local DSE' is followed by a dashed arrow pointing right. At the boundary to the 'International portion', a circle labeled 'IDSE' is shown. A dashed arrow continues from the 'IDSE' in the 'International portion' to another 'IDSE' at the boundary to the 'Destination national portion'. Finally, a dashed arrow continues from the 'IDSE' in the 'Destination national portion' to a circle labeled 'Local DSE' (with 'CCITT-71361' below it), which is followed by the text 'Called or cleared'. Above the timeline, double-headed arrows indicate the extent of each portion. Below the timeline, arrows indicate the direction of call set-up or clear-down.
+
+Diagram illustrating the boundaries for call set-up and clear-down functions across three network portions: Originating national portion, International portion, and Destination national portion. The diagram shows a sequence of events: Calling or clearing (Local DSE) in the Originating national portion, followed by IDSE at the boundary to the International portion, then IDSE at the boundary to the Destination national portion, and finally Local DSE (Called or cleared) in the Destination national portion. Arrows indicate the direction of call set-up or clear-down.
+
+*Note 1* – A DSE may also function as an IDSE.
+
+*Note 2* – Arrows indicate direction of call set-up or clear-down.
+
+FIGURE 1/X.130
+
+National/international boundaries for call set-up
+and clear-down functions
+
+For the present, the values apply also to other normal routing options within the international portion.
+
+Following the allocation of a delay allowance to the international portion of an international transit connection, it will be necessary to further apportion the allowance to individual transit networks and/or their component parts within the international portion. The means by which useful and realistic constraints can be applied, consistent with maintaining the maximum possible freedom for each involved Administration in the design and implementation of its own network, is for further study.
+
+1.4 The values for call processing delays established in this Recommendation are to be considered as design objectives in network planning together with the forecast traffic for the planned period. The actual delay performance that will be obtained will depend on the accuracy of the traffic estimations. Normally, the actual delay performance will not coincide with the one used as a basis for planning. Furthermore, if the network is planned for the traffic forecast at the end of the period considered, the actual delay performance of the network may be better than the design value, worsening gradually to the end of the planning period as traffic increases.
+
+The non-coincidence of busy hours in originating and destination national networks as well as in the international network will improve the overall delay performance with respect to the sum of the nominal delays of the constituent parts of the connection.
+
+1.5 Delays are specified under conditions of normal busy hour load and are expressed where appropriate in terms of mean and 95% probability values. The term "mean" is taken to be the expected value of delay in the statistical sense. The "95% probability" value is taken as the limit within which 95% of the delays fall. Delays at higher loadings are for further study.
+
+1.6 Call processing delays are defined for a basic call which does not include any optional user facilities, e.g. those defined in Recommendation X.21.
+
+1.7 Where appropriate, separate limits are quoted for common channel signalling and channel associated signalling between DSEs.
+
+For common channel signalling, the values given in this Recommendation are also applicable to lower signalling rates (less than 4800 bit/s), when the associated mode of operation is used.
+
+1.8 The quality of service implications of regional or national satellite systems using demand assignment for resource allocation require further study.
+
+## 2 Call connection delay
+
+See Annex A for an explanation of the delay elements $t_1$ to $t_6$ .
+
+### 2.1 *Total call connection delay (TCCD)*
+
+The **total call connection delay (TCCD)** is the time interval between the transmission of the *call request* signal and receipt of the *ready for data* signal by the calling DTE. A full explanation of the elements of TCCD is contained in Annex A. Objectives for the network-dependent components of TCCD are provided below.
+
+### 2.2 *Call request delay ( $t_1$ )*
+
+Call request delay is considered to be a national matter and consequently the specification of its value is not appropriate to this Recommendation.
+
+### 2.3 *Overall network post selection delay*
+
+Overall network post selection delay is the sum of $t_3$ and $t_5$ . It should not exceed the values given in Tables 1/X.130 and 2/X.130.
+
+If on any call the overall network post selection delay exceeds X seconds, the call will be considered for quality of service purposes to have failed. The precise value of X is for further study but it should be at least 30 seconds.
+
+### 2.4 *Network portion post selection delays ( $t_3 + t_5$ )*
+
+The contribution from each network portion to the overall network post selection delay should not exceed the values given in Tables 3/X.130 and 4/X.130.
+
+### 2.5 *Ready for data delay ( $t_6$ )*
+
+The need for specification of this parameter is for further study.
+
+## 3 Call clearing delays
+
+### 3.1 *Clear request delay (CLRD)*
+
+**Clear request delay (CLRD)** is the delay between transmission of a *clear request* signal and receipt of the *DCE ready* signal by the clearing DTE. Clear request delay is considered to be a national matter and consequently the specification of its value is not appropriate to this Recommendation.
+
+TABLE 1/X.130
+
+#### **Overall network post selection delay for common-channel signalling**
+
+| User rate (bit/s) | Statistic | Delay (ms) | |
+|----------------------|-----------|-----------------|------|
+| | | Connection type | |
+| | | 1 | 2 |
+| 600 | Mean | 1800 | 3500 |
+| | 95% | 2700 | 4400 |
+| 2400 | Mean | 1500 | 3200 |
+| | 95% | 2200 | 3900 |
+| 4800 | Mean | 1300 | 3000 |
+| | 95% | 1900 | 3600 |
+| 9600 | Mean | 1300 | 3000 |
+| | 95% | 1900 | 3600 |
+| 48000 | Mean | 1300 | 3000 |
+| | 95% | 1900 | 3600 |
+
+*Note* - See introductory note to this Recommendation.
+
+TABLE 2/X.130
+
+#### **Overall network post selection delay for channel-associated signalling**
+
+| User rate (bit/s) | Statistic | Delay (ms) | |
+|----------------------|-----------|-----------------|------|
+| | | Connection type | |
+| | | 1 | 2 |
+| 600 | Mean | 2200 | 4000 |
+| | 95% | 3300 | 5100 |
+| 2400 | Mean | 1800 | 3600 |
+| | 95% | 2700 | 4500 |
+| 4800 | Mean | 1700 | 3500 |
+| | 95% | 2500 | 4400 |
+| 9600 | Mean | 1600 | 3400 |
+| | 95% | 2400 | 4200 |
+| 48000 | Mean | 1500 | 3300 |
+| | 95% | 2200 | 4100 |
+
+*Note* - See introductory note to this Recommendation.
+
+TABLE 3/X.130
+
+#### **Contributions to network post selection delays for common-channel signalling**
+
+| User rate (bit/s) | Statistic | Originating national portion (ms) | | Destination national portion (ms) | | International portion (ms) | |
+|----------------------|-----------|-----------------------------------------|------|-----------------------------------------|------|----------------------------|------|
+| | | Number of satellites | | Number of satellites | | Connection type | |
+| | | 0 | 1 | 0 | 1 | 1 | 2 |
+| 600 | Mean | 700 | 1200 | 800 | 1300 | 300 | 1500 |
+| | 95% | 1100 | 1600 | 1200 | 1800 | 500 | 1700 |
+| 2400 | Mean | 600 | 1100 | 700 | 1200 | 200 | 1400 |
+| | 95% | 900 | 1500 | 1100 | 1600 | 300 | 1600 |
+| 4800 | Mean | 500 | 1000 | 600 | 1100 | 200 | 1400 |
+| | 95% | 800 | 1300 | 900 | 1500 | 300 | 1600 |
+| 9600 | Mean | 500 | 1000 | 600 | 1100 | 200 | 1400 |
+| | 95% | 800 | 1300 | 900 | 1500 | 300 | 1600 |
+| 48000 | Mean | 500 | 1000 | 600 | 1100 | 200 | 1400 |
+| | 95% | 800 | 1300 | 900 | 1500 | 300 | 1600 |
+
+*Note* - See introductory note to this Recommendation.
+
+TABLE 4/X.130
+
+#### **Contributions to network post selection delays for channel-associated signalling**
+
+| User rate (bit/s) | Statistic | Originating national portion (ms) | | Destination national portion (ms) | | International portion (ms) | |
+|----------------------|-----------|-----------------------------------------|------|-----------------------------------------|------|----------------------------|------|
+| | | Number of satellites | | Number of satellites | | Connection type | |
+| | | 0 | 1 | 0 | 1 | 1 | 2 |
+| 600 | Mean | 800 | 1300 | 1000 | 1500 | 400 | 1700 |
+| | 95% | 1200 | 1800 | 1500 | 2100 | 600 | 2000 |
+| 2400 | Mean | 700 | 1200 | 800 | 1300 | 300 | 1600 |
+| | 95% | 1100 | 1600 | 1200 | 1800 | 500 | 1900 |
+| 4800 | Mean | 600 | 1100 | 800 | 1300 | 300 | 1600 |
+| | 95% | 900 | 1500 | 1200 | 1800 | 500 | 1900 |
+| 9600 | Mean | 600 | 1100 | 700 | 1200 | 300 | 1600 |
+| | 95% | 900 | 1500 | 1100 | 1600 | 500 | 1900 |
+| 48000 | Mean | 600 | 1100 | 700 | 1200 | 200 | 1500 |
+| | 95% | 900 | 1500 | 1100 | 1600 | 400 | 1700 |
+
+*Note* - See introductory note to this Recommendation.
+
+### 3.2 *Network clear indication delay (NCID)*
+
+**Network clear indication delay (NCID)** is the delay between transmission of a *clear request* signal by the clearing DTE and the receipt of the DCE *clear indication* signal by the cleared DTE. It should not exceed the values given in Tables 5/X.130 and 6/X.130.
+
+If on any call the overall network clear indication delay exceeds Y seconds the call will be considered for quality of service purposes to have failed. The precise value of Y is for further study but it should be at least 30 seconds.
+
+TABLE 5/X.130
+
+#### **Overall network clear indication delay for common-channel signalling**
+
+| User rate (bit/s) | Statistic | Delay (ms) | |
+|----------------------|-----------|-----------------|------|
+| | | Connection type | |
+| | | 1 | 2 |
+| 600 | Mean | 900 | 1900 |
+| | 95% | 1300 | 2400 |
+| 2400 | Mean | 700 | 1700 |
+| | 95% | 1100 | 2100 |
+| 4800 | Mean | 600 | 1600 |
+| | 95% | 900 | 1900 |
+| 9600 | Mean | 600 | 1600 |
+| | 95% | 900 | 1900 |
+| 48000 | Mean | 600 | 1600 |
+| | 95% | 900 | 1900 |
+
+*Note* - See introductory note to this Recommendation.
+
+TABLE 6/X.130
+
+#### **Overall network clear indication delay for channel-associated signalling**
+
+| User rate (bit/s) | Statistic | Delay (ms) | |
+|----------------------|-----------|-----------------|------|
+| | | Connection type | |
+| | | 1 | 2 |
+| 600 | Mean | 1100 | 2100 |
+| | 95% | 1600 | 2700 |
+| 2400 | Mean | 900 | 1900 |
+| | 95% | 1300 | 2400 |
+| 4800 | Mean | 800 | 1800 |
+| | 95% | 1200 | 2300 |
+| 9600 | Mean | 800 | 1800 |
+| | 95% | 1200 | 2300 |
+| 48000 | Mean | 800 | 1800 |
+| | 95% | 1200 | 2300 |
+
+*Note* - See introductory note to this Recommendation
+
+### 3.3 *Network portion clear indication delay (NPCID)*
+
+The contribution from each network portion to the overall network clear indication delay should not exceed the values given in Tables 7/X.130 and 8/X.130.
+
+TABLE 7/X.130
+**Contributions to network clear indication delay for common-channel signalling**
+
+| User rate (bit/s) | Statistic | Originating national portion (ms) | | Destination national portion (ms) | | International portion (ms) | |
+|----------------------|-----------|-----------------------------------------|-----|-----------------------------------------|-----|----------------------------|------|
+| | | Number of satellites | | Number of satellites | | Connection type | |
+| | | 0 | 1 | 0 | 1 | 1 | 2 |
+| 600 | Mean | 300 | 600 | 400 | 700 | 200 | 900 |
+| | 95% | 500 | 800 | 600 | 900 | 300 | 1100 |
+| 2400 | Mean | 200 | 500 | 300 | 600 | 200 | 900 |
+| | 95% | 300 | 600 | 500 | 800 | 300 | 1100 |
+| 4800 | Mean | 200 | 500 | 300 | 600 | 100 | 800 |
+| | 95% | 300 | 600 | 500 | 800 | 200 | 900 |
+| 9600 | Mean | 200 | 500 | 300 | 600 | 100 | 800 |
+| | 95% | 300 | 600 | 500 | 800 | 200 | 900 |
+| 48000 | Mean | 200 | 500 | 300 | 600 | 100 | 800 |
+| | 95% | 300 | 600 | 500 | 800 | 200 | 900 |
+
+*Note* - See introductory note to this Recommendation
+
+TABLE 8/X.130
+
+#### **Contributions to network clear indication delay for channel-associated signalling**
+
+| User rate (bit/s) | Statistic | Originating national portion (ms) | | Destination national portion (ms) | | International portion (ms) | |
+|----------------------|-----------|-----------------------------------------|-----|-----------------------------------------|------|----------------------------|------|
+| | | Number of satellites | | Number of satellites | | Connection type | |
+| | | 0 | 1 | 0 | 1 | 1 | 2 |
+| 600 | Mean | 400 | 700 | 500 | 800 | 200 | 900 |
+| | 95 % | 600 | 900 | 800 | 1100 | 300 | 1100 |
+| 2400 | Mean | 300 | 600 | 400 | 700 | 200 | 900 |
+| | 95 % | 500 | 800 | 600 | 900 | 300 | 1100 |
+| 4800 | Mean | 300 | 600 | 300 | 600 | 200 | 900 |
+| | 95 % | 500 | 800 | 500 | 800 | 300 | 1100 |
+| 9600 | Mean | 300 | 600 | 300 | 600 | 200 | 900 |
+| | 95 % | 500 | 800 | 500 | 800 | 300 | 1100 |
+| 48000 | Mean | 300 | 600 | 300 | 600 | 200 | 900 |
+| | 95 % | 500 | 800 | 500 | 800 | 300 | 1100 |
+
+*Note* - See introductory note to this Recommendation.
+
+### 3.4 Clear confirmation delay (CLCD)
+
+**Clear confirmation delay (CLCD)** is the delay between transmission of a *DTE clear confirmation* signal and receipt of a *DCE ready* signal by the cleared DTE. Clear confirmation delay is considered to be a national matter and consequently the specification of its value is not appropriate to this Recommendation.
+
+## ANNEX A (to Recommendation X.130)
+
+### A.1 Total call connection delay (TCCD) elements
+
+The total call connection delay is the sum of the following elements (see Figure A- I/X. 1 30):
+
+- t1: delay between transmission of the *call request* signal and receipt of the *proceed to select* signal by the calling DTE.
+ - t2: time between receipt of the *proceed to select* signal and transmission of the *end of selection* signal by the calling DTE.
+ - t3: delay between transmission of the *end of selection* signal by the calling DTE and receipt of the *incoming call* signal by the called DTE.
+ - t4: delay between receipt of the *incoming call* signal and transmission of the *call accepted* signal by the called DTE.
+- and if $t5 > t6$ ,
+- t5: delay between transmission of the *call accepted* signal by the called DTE and receipt of the *ready for data* signal by the calling DTE.
+- or if $t5 < t6$ ,
+- t6: delay between transmission of the *call accepted* signal and receipt of the *ready for data* signal by the called DTE.
+
+
+
+The diagram shows the sequence of signals and associated delays between four entities: Originating DTE, Local DSE, Local DSE, and Destination DTE. The Originating DTE and Destination DTE are represented by triangles, while the Local DSEs are represented by circles. Vertical lines represent the DCE/DTE interfaces for each DTE.
+
+- Signal Sequence:**
+ - Originating DTE sends *Call request signal* to the first Local DSE.
+ - First Local DSE sends *Proceed to select signal* back to Originating DTE.
+ - Originating DTE sends *End of selection signal* to the first Local DSE.
+ - First Local DSE sends *Incoming call signal* to the second Local DSE.
+ - Second Local DSE sends *Call accepted signal* to the Destination DTE.
+ - Destination DTE sends *Ready for data signal* back to the second Local DSE.
+ - Second Local DSE sends *Ready for data signal* back to Originating DTE.
+- Delay Elements (t1 to t6):**
+ - t1:** Delay from transmission of *Call request signal* to receipt of *Proceed to select signal* at Originating DTE.
+ - t2:** Delay from receipt of *Proceed to select signal* to transmission of *End of selection signal* at Originating DTE.
+ - t3:** Delay from transmission of *End of selection signal* to receipt of *Incoming call signal* at Destination DTE.
+ - t4:** Delay from receipt of *Incoming call signal* to transmission of *Call accepted signal* at Destination DTE.
+ - t5:** Delay from transmission of *Call accepted signal* to receipt of *Ready for data signal* at Originating DTE.
+ - t6:** Delay from transmission of *Call accepted signal* to receipt of *Ready for data signal* at Destination DTE.
+
+Sequence diagram illustrating the Total Call Connection Delay (TCCD) elements between an Originating DTE and a Destination DTE via two Local DSEs.
+
+CCITT-06170
+
+FIGURE A-1/X.130
+
+Total call connection delay (TCCD)
+
+#### A.1.1 *User-dependent call connection delay (UCCD)*
+
+Considering the above elements of TCCD, $t_2$ is dependent on the source DTE. Similarly $t_4$ is dependent on the destination DTE. It is therefore inappropriate to specify values for these times in this Recommendation, but the following observations are relevant:
+
+##### A.1.1.1 *Selection time ( $t_2$ )*
+
+Selection times for automatic calls from the DTE are given in Table A-1/X.130.
+
+TABLE A-1/X.130
+
+###### **Selection time**
+
+| User rate (bit/s) | Selection time ( $t_2$ ) (ms) |
+|----------------------|----------------------------------|
+| 600 | 260 |
+| 2400 | 70 |
+| 4800 | 40 |
+| 9600 | 20 |
+| 48000 | 5 |
+
+##### A.1.1.2 *Call acceptance delay (CAD) ( $t_4$ )*
+
+If the CAD exceeds 500 ms with automatic answer or 60 seconds with manual answer the DCE will initiate clearing.
+
+#### A.1.2 *Network-dependent call connection delay (NCCD)*
+
+Considering the elements of TCCD in § A.1, it has been shown in § A.1.1 that $t_2$ and $t_4$ are user-dependent and are not regarded as network performance parameters.
+
+The network (dependent) call connection delay is therefore the sum of the remaining elements. Hence:
+
+$$\text{NCCD} = t_1 + t_3 + t_5$$
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1303-200709-I_PDF-E/raw.md b/marked/X/T-REC-X.1303-200709-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..febdc273cb6595dd54eb2681ffcd016f80cb43ea
--- /dev/null
+++ b/marked/X/T-REC-X.1303-200709-I_PDF-E/raw.md
@@ -0,0 +1,1675 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**X.1303**
+
+(09/2007)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Telecommunication security
+
+# --- **Common alerting protocol (CAP 1.1)**
+
+ITU-T Recommendation X.1303
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|-----------------------------------------------|----------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.379 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.889 |
+| Generic applications of ASN.1 | X.890–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| TELECOMMUNICATION SECURITY | X.1000– |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# **ITU-T Recommendation X.1303**
+
+# **Common alerting protocol (CAP 1.1)**
+
+# **Summary**
+
+The common alerting protocol (CAP) is a simple but general format for exchanging all-hazard emergency alerts and public warnings over all kinds of networks. CAP allows a consistent warning message to be disseminated simultaneously over many different warning systems, thus increasing warning effectiveness while simplifying the warning task. CAP also facilitates the detection of emerging patterns in local warnings of various kinds, such as might indicate an undetected hazard or hostile act. CAP also provides a template for effective warning messages based on best practices identified in academic research and real-world experience.
+
+ITU-T Recommendation X.1303 also provides both an XSD specification and an equivalent ASN.1 specification (that permits a compact binary encoding) and allows the use of ASN.1 as well as XSD tools for the generation and processing of CAP messages. This Recommendation enables existing systems, such as H.323 systems, to more readily encode, transport and decode CAP messages.
+
+###### **Source**
+
+ITU-T Recommendation X.1303 was approved on 13 September 2007 by ITU-T Study Group 17 (2005-2008) under the ITU-T Recommendation A.8 procedure.
+
+# FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure e.g. interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2008
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+# CONTENTS
+
+| | Page |
+|-----------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 2 |
+| 3 Definitions ..... | 3 |
+| 4 Abbreviations and acronyms ..... | 3 |
+| 5 Conventions ..... | 3 |
+| 6 Design principles and concepts ..... | 3 |
+| 6.1 Design philosophy ..... | 3 |
+| 6.2 Examples of requirements for design ..... | 4 |
+| 6.3 Examples of use scenarios ..... | 4 |
+| 7 Alert message structure..... | 6 |
+| 7.1 Document object model..... | 6 |
+| 7.2 Data dictionary ..... | 6 |
+| 7.3 Implementation considerations..... | 17 |
+| 7.4 XML schema ..... | 18 |
+| 8 Use of ASN.1 to specify and encode the CAP alert message..... | 21 |
+| 8.1 General ..... | 21 |
+| 8.2 Formal mappings and specification..... | 21 |
+| Appendix I – CAP alert message examples ..... | 27 |
+| I.1 Homeland security advisory system alert..... | 27 |
+| I.2 Severe thunderstorm warning..... | 28 |
+| I.3 Earthquake report ..... | 29 |
+| I.4 AMBER alert (Including EAS activation) ..... | 30 |
+| Bibliography..... | 31 |
+
+# **Introduction**
+
+Provides a brief introduction to the common alerting protocol (the current specification is identified as CAP 1.1).
+
+## **Purpose**
+
+The common alerting protocol (CAP) provides an open, non-proprietary message format for all types of alerts and notifications. It does not address any particular application or telecommunications method. The CAP format is compatible with emerging techniques, such as web services and the ITU-T fast web services, as well as existing formats including the specific area message encoding (SAME) used for the United States' National Oceanic and Atmospheric Administration (NOAA) weather radio and the emergency alert system (EAS), while offering enhanced capabilities that include:
+
+- flexible geographic targeting using latitude/longitude shapes and other geospatial representations in three dimensions;
+- multilingual and multi-audience messaging;
+- phased and delayed effective times and expirations;
+- enhanced message update and cancellation features;
+- template support for framing complete and effective warning messages;
+- compatible with digital encryption and signature capability; and
+- facility for digital images and audio.
+
+CAP provides reduction of costs and operational complexity by eliminating the need for multiple custom software interfaces to the many warning sources and dissemination systems involved in all-hazard warning. The CAP message format can be converted to and from the "native" formats of all kinds of sensor and alerting technologies, forming a basis for a technology-independent national and international "warning Internet".
+
+## **CAP history**
+
+The National Science and Technology Council report on "Effective Disaster Warnings" released in November, 2000 recommended that "a standard method should be developed to collect and relay instantaneously and automatically all types of hazard warnings and reports locally, regionally and nationally for input into a wide variety of dissemination systems."
+
+An international working group of more than 130 emergency managers and information technology and telecommunications experts convened in 2001 and adopted the specific recommendations of the National Science and Technology Council (NSTC) report as a point of departure for the design of a common alerting protocol (CAP). Their draft went through several revisions and was tested in demonstrations and field trials in Virginia (supported by the ComCARE Alliance) and in California (in cooperation with the California Office of Emergency Services) during 2002 and 2003.
+
+Geographic locations in CAP are defined using [b-WGS 84] (World Geodetic System 1984). CAP does not assign responsibilities for coordinate transformations from and to other Spatial Reference Systems. See clause 5, below, for the format of coordinate pairs within CAP elements.
+
+In 2002, the CAP initiative was endorsed by the national non-profit Partnership for Public Warning, which sponsored its contribution in 2003 to the OASIS standards process. In 2004, CAP version 1.0 was adopted as an OASIS Standard.
+
+## Structure of the CAP Alert Message
+
+Each CAP Alert Message consists of an segment, which may contain one or more segments, each of which may include one or more segments. Under most circumstances, CAP messages with a value of "Alert" should include at least one element. (See the document object model diagram in clause 7.1, below.)
+
+### - ****
+
+The segment provides basic information about the current message: its purpose, its source and its status, as well as a unique identifier for the current message and links to any other related messages. An segment may be used alone for message acknowledgements, cancellations or other system functions, but most segments will include at least one segment.
+
+### - ****
+
+The segment describes an anticipated or actual event in terms of its urgency (time available to prepare), severity (intensity of impact) and certainty (confidence in the observation or prediction), as well as providing both categorical and textual descriptions of the subject event. It may also provide instructions for an appropriate response by message recipients and various other details (hazard duration, technical parameters, contact information, links to additional information sources, etc.). Multiple segments may be used to describe differing parameters or to provide the information in multiple languages.
+
+### - ****
+
+The segment provides an optional reference to additional information related to the segment within which it appears, in the form of a digital asset such as an image or audio file.
+
+#### - ** **
+
+The segment describes a geographic area to which the segment in which it appears applies. Textual and coded descriptions (such as postal codes) are supported, but the preferred representations use geospatial shapes (polygons and circles) and an altitude or altitude range, expressed in standard latitude/longitude/altitude terms in accordance with a specified geospatial datum.
+
+## Applications of the CAP Alert Message
+
+The primary use of the CAP Alert Message is to provide a single input to activate all kinds of alerting and public warning systems. This reduces the workload associated with using multiple warning systems while enhancing technical reliability and target-audience effectiveness. It also helps ensure consistency in the information transmitted over multiple delivery systems, another key to warning effectiveness.
+
+A secondary application of CAP is to normalize warnings from various sources so they can be aggregated and compared in tabular or graphic form as an aid to situational awareness and pattern detection.
+
+Although primarily designed as an interoperability standard for use among warning systems and other emergency information systems, the CAP Alert Message can be delivered directly to alert recipients over various networks, including data broadcasts. Location-aware receiving devices could use the information in a CAP Alert Message to determine, based on their current location, whether that particular message was relevant to their users.
+
+The CAP Alert Message can also be used by sensor systems as a format for reporting significant events to collection and analysis systems and centers.
+
+
+
+## ITU-T Recommendation X.1303
+
+## Common alerting protocol (CAP 1.1)
+
+# 1 Scope
+
+This Recommendation defines the common alerting protocol (CAP) – version 1.1 – which is a simple but general format for exchanging all-hazard emergency alerts and public warnings over all kinds of networks. CAP allows a consistent warning message to be disseminated simultaneously over many different warning systems, thus increasing warning effectiveness while simplifying the warning task. CAP facilitates the detection of emerging patterns in local warnings of various kinds, such as might indicate an undetected hazard or hostile act. CAP provides a template for effective warning messages based on best practices identified in academic research and real-world experience.
+
+The common alerting protocol (CAP) provides an open, non-proprietary digital message format for various types of alerts and notifications. CAP provides the following capabilities:
+
+- flexible geographic targeting using latitude/longitude shapes and other geospatial representations in three dimensions;
+- multilingual and multi-audience messaging;
+- phased and delayed effective times and expirations;
+- enhanced message update and cancellation features;
+- template support for framing complete and effective warning messages;
+- compatible with digital encryption and signature capability; and
+- facility for digital images and audio.
+
+CAP provides reduction of costs and operational complexity by eliminating the need for multiple custom software interfaces to the many warning sources and dissemination systems involved in all-hazard warning. The CAP message format can be converted to and from the "native" formats of all kinds of sensor and alerting technologies, forming a basis for a technology-independent national and international "warning Internet".
+
+This Recommendation also provides both an XSD schema and an ASN.1 specification for the common alerting protocol.
+
+NOTE – The ASN.1 specification defines the same message information content and XML encoding as that defined by the XSD schema, but permits a compact binary encoding and the use of ASN.1 as well as XSD tools for the generation and processing of CAP messages.
+
+This Recommendation is technically equivalent to the OASIS Common Alerting Protocol v.1.1 with the Errata approved on 2 October 2007. This Recommendation defines the following:
+
+- 1) structure of the CAP alert message;
+- 2) design principles and concepts of CAP;
+- 3) alert message structure;
+- 4) XML and compact binary encodings of the message (using XSD for the XML encoding and the ASN.1 specification and its Encoding Rules for the XML – identical to the XSD specification – and the binary encodings);
+- 5) conversion between compact binary and XML encodings of the message using ASN.1 Recommendations.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.680] ITU-T Recommendation X.680 (2002), *Information technology – Abstract Syntax Notation One (ASN.1): Specification of basic notation*.
+- [ITU-T X.691] ITU-T Recommendation X.691 (2002), *Information technology – ASN.1 encoding rules: Specification of Packed Encoding Rules (PER)*.
+- [ITU-T X.693] ITU-T Recommendation X.693 (2001), *Information technology – ASN.1 encoding rules: XML Encoding Rules (XER)*.
+- [ITU-T X.694] ITU-T Recommendation X.694 (2004), *Information technology – ASN.1 encoding rules: Mapping W3C XML schema definitions into ASN.1*.
+- [FIPS 180-2] National Institute for Standards and Technology, *Secure Hash Standard (SHS)*, , August 2002.
+- [IETF RFC 2046] IETF RFC 2046 (1996), *Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types*.
+- [IETF RFC 3066] IETF RFC 3066 (2001), *Tags for the Identification of Languages*.
+- [W3C Datatypes] *XML Schema Part 2: Data types Second Edition*, W3C Recommendation, Copyright © [28 October 2004] World Wide Web Consortium, (Massachusetts Institute of Technology, *Institut National de Recherche en Informatique et en Automatique*, Keio University), .
+- [W3C Encryption] *XML Encryption Syntax and Processing*, W3C Recommendation, Copyright © [10 December 2002] World Wide Web Consortium, (Massachusetts Institute of Technology, *Institut National de Recherche en Informatique et en Automatique*, Keio University), .
+- [W3C Namespaces] *Namespaces in XML*, W3C Recommendation, Copyright © [14 January 1999] World Wide Web Consortium (Massachusetts *Institut of Technology*, *Institut National de Recherche en Informatique et en Automatique*, Keio University), .
+- [W3C Signature] *XML-Signature Syntax and Processing*, W3C Recommendation, Copyright © [12 February 2002] World Wide Web Consortium, (Massachusetts Institute of Technology, *Institut National de Recherche en Informatique et en Automatique*, Keio University), .
+- [W3C XML] *Extensible Markup Language (XML) 1.0 (Third Edition)*, W3C Recommendation, Copyright © [4 February 2004] World Wide Web Consortium, (Massachusetts Institute of Technology, *Institut National de Recherche en Informatique et en Automatique*, Keio University), .
+
+# 3 Definitions
+
+This clause is intentionally left blank.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|----------------------------------------------|
+| ASN.1 | Abstract Syntax Notation One |
+| CAP | Common Alerting Protocol |
+| EAS | Weather radio and the Emergency Alert System |
+| MIME | Multipurpose Internet Mail Extensions |
+| SAME | Specific Area Message Encoding |
+| URI | Uniform Resource Identifier |
+| XML | eXtensible Markup Language |
+| XSD | XML Schema Definition |
+
+# 5 Conventions
+
+The words *warning*, *alert* and *notification* are used interchangeably throughout this Recommendation.
+
+The term "coordinate pair" is used in this Recommendation to refer to a comma-delimited pair of decimal values describing a geospatial location in degrees, in the form "[latitude],[longitude]". Latitudes in the Southern Hemisphere and longitudes in the Western Hemisphere are signed negative by means of a leading dash.
+
+References to XML elements within the body of this Recommendation are in bold font.
+
+# 6 Design principles and concepts
+
+This clause is non-normative.
+
+This clause provides a brief review of the design concepts and principles behind CAP.
+
+## 6.1 Design philosophy
+
+Among the principles which guided the design of the CAP Alert Message were:
+
+- Interoperability: First and foremost, the CAP Alert Message should provide a means for interoperable exchange of alerts and notifications among all kinds of emergency information systems.
+- Completeness: The CAP Alert Message format should provide for all the elements of an effective public warning message.
+- Simple implementation: The design should not place undue burdens of complexity on technical implementers.
+- Simple XML (see [W3C XML], [W3C Namespaces], [W3C Datatypes]) and portable structure: Although the primary anticipated use of the CAP Alert Message is as an XML document or its binary equivalent, the format should remain sufficiently abstract to be adaptable to other coding schemes.
+- Multi-use format: One message schema supports multiple message types (e.g., alert/update/cancellations/acknowledgements/error messages) in various applications (actual/exercise/test/system message).
+
+- Familiarity: The data elements and code values should be meaningful to warning originators and non-expert recipients alike.
+- Interdisciplinary and international utility: The design should allow a broad range of applications in public safety and emergency management and allied applications and should be applicable worldwide.
+
+## 6.2 Examples of requirements for design
+
+NOTE – The following requirements were used as a basis for design and review of the CAP Alert Message format. This list is non-normative and not intended to be exhaustive.
+
+The common alerting protocol should:
+
+- Provide a specification for a simple, extensible format for digital representation of warning messages and notifications;
+- Enable integration of diverse sensor and dissemination systems;
+- Be usable over multiple transmission systems, including TCP/IP-based networks and one-way "broadcast" channels and low-bandwidth communication;
+- Support credible end-to-end authentication and validation of all messages;
+- Provide a unique identifier (e.g., an ID number) for each warning message and for each message originator;
+- Provide for multiple message types, such as:
+ - warnings;
+ - acknowledgements;
+ - expirations and cancellations;
+ - updates and amendments;
+ - reports of results from dissemination systems;
+ - administrative and system messages.
+- Provide for multiple message types, such as:
+ - geographic targeting;
+ - level of urgency;
+ - level of certainty;
+ - level of threat severity.
+- Provide a mechanism for referencing supplemental information (e.g., digital audio or image files, additional text);
+- Use an established open-standard data representation;
+- Be based on a program of real-world cross-platform testing and evaluation;
+- Provide a clear basis for certification and further protocol evaluation and improvement; and
+- Provide a clear logical structure that is relevant and clearly applicable to the needs of emergency response and public safety users and warning system operators.
+
+## 6.3 Examples of use scenarios
+
+This clause provides examples of use scenarios that were used as a basis for the design and review of the CAP Alert Message format.
+
+NOTE – These scenarios are non-normative and not intended to be exhaustive or to reflect actual practices.
+
+### **6.3.1 Manual origination**
+
+"The Incident Commander at an industrial fire with potential of a major explosion decides to issue a public alert with three components:
+
+- a) an evacuation of the area within half a mile of the fire;
+- b) a shelter-in-place instruction for people in a polygon roughly describing a downwind dispersion 'plume' extending several miles downwind and half a mile upwind from the fire; and
+- c) a request for all media and civilian aircraft to remain above 2500 feet above ground level when within a half mile radius of the fire."
+
+"Using a portable computer and a web page (and a pop-up drawing tool to enter the polygon) the Incident Commander issues the alert as a CAP message to a local alerting network."
+
+### **6.3.2 Automated origination by autonomous sensor system**
+
+"A set of automatic tsunami warning sirens has been installed along a popular Northwest beach. A wireless network of sensor devices collocated with the sirens controls their activation. When triggered, each sensor generates a CAP message containing its location and the sensed data at that location that is needed for the tsunami determination. Each siren activates when the combination of its own readings and those reported at by other devices on the network indicate an immediate tsunami threat. In addition, a network component assembles a summary CAP message describing the event and feeds it to regional and national alerting networks."
+
+### **6.3.3 Aggregation and correlation on real-time map**
+
+"At the State Operations Center a computerized map of the state depicts, in real time, all current and recent warning activity throughout the state. All major warning systems in the state – the Emergency Alert System, siren systems, telephone alerting and other systems – have been equipped to report the details of their activation in the form of a CAP message. (Since many of them are now activated by way of CAP messages, this is frequently just a matter of forwarding the activation message to the state center.)
+
+Using this visualization tool, state officials can monitor for emerging patterns of local warning activity and correlate it with other real time data (e.g., telephone central office traffic loads, 9-1-1 traffic volume, seismic data, automatic vehicular crash notifications, etc.)."
+
+### **6.3.4 Integrated public alerting**
+
+"As part of an integrated warning system funded by local industry, all warning systems in a community can be activated simultaneously by the issuance by authorized authority of a single CAP message."
+
+"Each system converts the CAP message data into the form suitable for its technology (text captioning on TV, synthesized voice on radio and telephone, activation of the appropriate signal on sirens, etc.). Systems that can target their messages to particular geographic areas implement the targeting specified in the CAP message with as little 'spill' as their technology permits."
+
+"In this way, not only is the reliability and reach of the overall warning system maximized, but citizens also get corroboration of the alert through multiple channels, which increases the chance of the warning being acted upon."
+
+### **6.3.5 Repudiating a false alarm**
+
+"Inadvertently the integrated alerting network has been activated with an inaccurate warning message. This activation comes to officials' attention immediately through their own monitoring facilities (e.g., 6.3.3 above). Having determined that the alert is, in fact, inappropriate, the officials issue a cancellation message that refers directly to the erroneous prior alert. Alerting systems that
+
+are still in the process of delivering the alert (e.g., telephone dialing systems) stop doing so. Broadcast systems deliver the cancellation message. Other systems (e.g., highway signs) simply reset to their normal state."
+
+# 7 Alert message structure
+
+This clause discusses CAP alert message structure.
+
+## 7.1 Document object model
+
+The CAP document object model is provided in Figure 7-1 below.
+
+NOTE – In the figure below, elements in boldface are mandatory; elements in italics have default values that will be assumed if the element is not present; asterisks (\*) indicate that multiple instances are permitted.
+
+
+
+```
+
+graph TD
+ alert["alert
+Message ID (identifier)
+Sender ID (sender)
+Sent Date/Time (sent)
+Message Status (status)
+Message Type (msgType)
+Source (source)
+Scope (scope)
+Restriction (restriction)
+Addresses (addresses)
+Handling Code (code)*
+Note (note)
+Reference IDs (references)
+Incident IDs (incidents)"]
+ info["info
+Language (language)
+Event Category (category)*
+Event Type (event)
+Response Type (responseType)
+Urgency (urgency)
+Severity (severity)
+Certainty (certainty)
+Audience (audience)
+Event Code (eventcode)*
+Effective Date/Time (effective)
+Onset Date/Time (onset)
+Expiration Date/Time (expires)
+Sender Name (senderName)
+Headline (headline)
+Event Description (description)
+Instructions (instruction)
+Information URL (web)
+Contact Info (contact)
+Parameter (parameter)*"]
+ resource["resource
+Description (resourceDesc)
+MIME Type (mimeType)
+File Size (size)
+URI (uri)
+Dereferenced URI (derefUri)
+Digest (digest)"]
+ area["area
+Area Description (areaDesc)
+Area Polygon (polygon)*
+Area Circle (circle)*
+Area Geocode (geocode)*
+Altitude (altitude)
+Ceiling (ceiling)"]
+
+ alert -- "*" --> info
+ info -- "*" --> resource
+ info -- "*" --> area
+
+```
+
+The diagram illustrates the Document Object Model (DOM) for CAP alert messages. It consists of four main components: **alert**, **info**, **resource**, and **area**. The **alert** object is the root and contains mandatory fields like Message ID, Sender ID, and Sent Date/Time, along with optional fields like Source, Scope, and Note. It has a one-to-many relationship with the **info** object, indicated by an arrow from **alert** to **info** with an asterisk (\*). The **info** object contains mandatory fields like Event Category and Response Type, and optional fields like Language, Event Type, and Event Code. It has one-to-many relationships with both the **resource** and **area** objects, indicated by arrows from **info** to each with an asterisk (\*). The **resource** object contains mandatory fields like Description and MIME Type, and optional fields like File Size and URI. The **area** object contains mandatory fields like Area Description and optional fields like Area Polygon and Area Circle.
+
+Figure 7-1: Document object model diagram showing the relationships between 'alert', 'info', 'resource', and 'area' objects.
+
+X.1303(07)\_F7.1
+
+Figure 7-1 – Document object model
+
+## 7.2 Data dictionary
+
+This clause provides a description of the CAP data dictionary.
+
+NOTE – Unless explicitly constrained within this Data Dictionary or the XML Schema (see [W3C XML] and clause 7.4), CAP elements may have null values. Implementers must check for this condition wherever it might affect application performance.
+
+### 7.2.1 "alert" element and sub-elements
+
+Table 7-1 provides a description of the "alert" element and sub-elements.
+
+**Table 7-1 – "alert" element and sub-elements**
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------|
+| Element name | alert | context.class.attribute.representation | cap.alert.group |
+| Definition | The container for all Component parts of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | 1) Surrounds CAP alert message sub-elements
2) Must include the xmlns attribute referencing the CAP URN as the namespace, e.g.:
<cap:alert xmlns:cap="urn:oasis:names:tc:emerge ncy:cap:1.1"> [sub-elements] </cap:alert> 3) In addition to the specified sub-elements, may contain one or more <info> blocks.
| | |
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|----------------------|
+| Element name | identifier | context.class.attribute.representation | cap.alert.identifier |
+| Definition | The identifier of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | 1) A number or string uniquely identifying this message, assigned by the sender
2) Must not include spaces, commas or restricted characters (< and &)
| | |
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------|
+| Element name | sender | context.class.attribute.representation | cap.alert.sender.identifier |
+| Definition | The identifier of the sender of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | 1) Identifies the originator of this alert. Guaranteed by assigner to be unique globally; e.g., may be based on an Internet domain name
2) Must not include spaces, commas or restricted characters (< and &)
| | |
+
+| | | | |
+|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|---------------------|
+| Element name | sent | context.class.attribute.representation | cap.alert.sent.time |
+| Definition | The time and date of the origination of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | 1) The date and time is represented in [dateTime] format (e.g., "2002-05-24T16:49:00-07:00" for 24 May 2002 at 16:49 PDT).
2) Alphabetic timezone designators such as "Z" must not be used. The timezone for UTC must be represented as "-00:00" or "+00:00".
| | |
+
+| | | | |
+|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------|
+| Element name | status | context.class.attribute.representation | cap.alert.status.code |
+| Definition | The code denoting the appropriate handling of the alert message | | |
+| Optionality | REQUIRED | | |
+| Code Values | "Actual" – Actionable by all targeted recipients
"Exercise" – Actionable only by designated exercise participants; exercise identifier should appear in <note>
"System" – For messages that support alert network internal functions.
"Test" – Technical testing only, all recipients disregard
"Draft" – A preliminary template or draft, not actionable in its current form.
| | |
+
+**Table 7-1 – "alert" element and sub-elements**
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|---------------------|
+| Element name | msgType | context.class.attribute.representation | cap.alert.type.code |
+| Definition | The code denoting the nature of the alert message | | |
+| Optionality | REQUIRED | | |
+| Code Values | "Alert" – Initial information requiring attention by targeted recipients "Update" – Updates and supersedes the earlier message(s) identified in "Cancel" – Cancels the earlier message(s) identified in "Ack" – Acknowledges receipt and acceptance of the message(s) identified in "Error" indicates rejection of the message(s) identified in ; explanation should appear in | | |
+
+
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------|
+| Element name | source | context.class.attribute.representation | cap.alert.source.identifier |
+| Definition | The text identifying the source of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | The particular source of this alert; e.g., an operator or a specific device. | | |
+
+
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|----------------------|
+| Element name | scope | context.class.attribute.representation | cap.alert.scope.code |
+| Definition | The code denoting the Intended distribution of the alert message | | |
+| Optionality | REQUIRED | | |
+| Code Values | "Public" – For general dissemination to unrestricted audiences "Restricted" – For dissemination only to users with a known operational requirement (see , below) "Private" – For dissemination only to specified addresses (see , below) | | |
+
+
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------|-----------------------------------------------|----------------------------|
+| Element name | restriction | context.class.attribute.representation | cap.alert.restriction.text |
+| Definition | The text describing the rule for limiting distribution of the restricted alert message | | |
+| Optionality | CONDITIONAL | | |
+| Notes | Used when value is "Restricted" | | |
+
+
+
+| | | | |
+|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|---------------------------|
+| Element name | addresses | context.class.attribute.representation | cap.alert.addresses.group |
+| Definition | The group listing of Intended recipients of the private alert message | | |
+| Optionality | CONDITIONAL | | |
+| Notes | 1) Used when value is "Private" 2) Each recipient shall be identified by an identifier or an address 3) Multiple space-delimited addresses may be included. Addresses including whitespace must be enclosed in double-quotes. | | |
+
+
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|----------------|
+| Element name | code | context.class.attribute.representation | cap.alert.code |
+| Definition | The code denoting the Special handling of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Any user-defined flag or special code used to flag the alert message for special handling. 2) Multiple instances may occur within a single block. | | |
+
+**Table 7-1 – "alert" element and sub-elements**
+
+| | | | |
+|---------------------|-------------------------------------------------------------------------------------------|-----------------------------------------------|---------------------|
+| Element name | note | context.class.attribute.representation | cap.alert.note.text |
+| Definition | The text describing the purpose or significance of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | The message note is primarily intended for use with Cancel and Error alert message types. | | |
+
+| | | | |
+|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|----------------------------|
+| Element name | references | context.class.attribute.representation | cap.alert.references.group |
+| Definition | The group listing Identifying earlier message(s) referenced by the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) The extended message identifier(s) (in the form sender, identifier, sent ) of an earlier CAP message or messages referenced by this one. 2) If multiple messages are referenced, they shall be separated by whitespace. | | |
+
+| | | | |
+|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|---------------------------|
+| Element name | incidents | context.class.attribute.representation | cap.alert.incidents.group |
+| Definition | The group listing naming the referent incident(s) of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Used to collate multiple messages referring to different aspects of the same incident 2) If multiple incident identifiers are referenced, they shall be separated by whitespace. Incident names including whitespace shall be surrounded by double-quotes | | |
+
+### 7.2.2 "info" element and sub-elements
+
+Table 7-2 provides a description of the "info" element and sub-elements.
+
+**Table 7-2 – "info" element and sub-elements**
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------|
+| Element name | info | context.class.attribute.representation | cap.alertInfo.info.group |
+| Definition | The container for all component parts of the info sub-element of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Multiple occurrences are permitted within a single . If targeting of multiple "info" blocks in the same language overlaps, information in later blocks may expand but may not override the corresponding values in earlier ones. Each set of "info" blocks containing the same language identifier shall be treated as a separate sequence. 2) In addition to the specified sub-elements, may contain one or more blocks and/or one or more blocks. | | |
+
+| | | | |
+|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------|
+| Element name | language | context.class.attribute.representation | cap.alertInfo.language.code |
+| Definition | The code denoting the language of the info sub-element of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Code Values: Natural language identifier per [IETF RFC 3066]. 2) If not present, an implicit default value of "en-US" shall be assumed. 3) A null value in this element shall be considered equivalent to "en-US." | | |
+
+**Table 7-2 – "info" element and sub-elements**
+
+| Element name | category | context.class.attribute.representation | cap.alertInfo.category.code |
+|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|-----------------------------|
+| Definition | The code denoting the category of the subject event of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | 1) Code Values:
"Geo" – Geophysical (inc. landslide)
"Met" – Meteorological (inc. flood)
"Safety" – General emergency and public safety
"Security" – Law enforcement, military, homeland and local/private security
"Rescue" – Rescue and recovery
"Fire" – Fire suppression and rescue
"Health" – Medical and public health
"Env" – Pollution and other environmental
"Transport" – Public and private transportation
"Infra" – Utility, telecommunication, other non-transport infrastructure
"CBRNE" – Chemical, Biological, Radiological, Nuclear or High-Yield Explosive threat or attack
"Other" – Other events
2) Multiple instances may occur within a single <info> block.
| | |
+
+| Element name | event | context.class.attribute.representation | cap.alertInfo.event.text |
+|--------------------|----------------------------------------------------------------------|----------------------------------------|--------------------------|
+| Definition | The text denoting the type of the subject event of the alert message | | |
+| Optionality | REQUIRED | | |
+
+| Element name | responseType | context.class.attribute.representation | cap.alertInfo.responseType.code |
+|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|---------------------------------|
+| Definition | The code denoting the type of action recommended for the target audience | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Code Values:
"Shelter" – Take shelter in place or per <instruction>
"Evacuate" – Relocate as instructed in the <instruction>
"Prepare" – Make preparations per the <instruction>
"Execute" – Execute a pre-planned activity identified in <instruction>
"Monitor" – Attend to information sources as described in <instruction>
"Assess" – Evaluate the information in this message. (This value should NOT be used in public warning applications.)
"None" – No action recommended
2) Multiple instances may occur within a single <info> block.
| | |
+
+**Table 7-2 – "info" element and sub-elements**
+
+| Element name | urgency | context.class.attribute.representation | cap.alertInfo.urgency.code |
+|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|----------------------------|
+| Definition | The code denoting the urgency of the subject event of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | 1) The "urgency", "severity", and "certainty" elements collectively distinguish less emphatic from more emphatic messages.
2) Code Values:
"Immediate" – Responsive action should be taken immediately
"Expected" – Responsive action should be taken soon (within next hour)
"Future" – Responsive action should be taken in the near future
"Past" – Responsive action is no longer required
"Unknown" – Urgency not known
| | |
+
+| Element name | severity | context.class.attribute.representation | cap.alertInfo.severity.code |
+|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|-----------------------------|
+| Definition | The code denoting the severity of the subject event of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | 1) The "urgency", "severity", and "certainty" elements collectively distinguish less emphatic from more emphatic messages.
2) Code Values:
"Extreme" – Extraordinary threat to life or property
"Severe" – Significant threat to life or property
"Moderate" – Possible threat to life or property
"Minor" – Minimal threat to life or property
"Unknown" – Severity unknown
| | |
+
+| Element name | certainty | context.class.attribute.representation | cap.alertInfo.certainty.code |
+|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|------------------------------|
+| Definition | The code denoting the certainty of the subject event of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | 1) The "urgency", "severity", and "certainty" elements collectively distinguish less emphatic from more emphatic messages.
2) Code Values:
"Observed" – Determined to have occurred or to be ongoing.
"Likely" – Likely (p > \sim 50\% )
"Possible" – Possible but not likely (p \leq \sim 50\% )
"Unlikely" – Not expected to occur (p \sim 0 )
"Unknown" – Certainty unknown
3) For backward compatibility with CAP 1.0, the deprecated value of "Very Likely" should be treated as equivalent to "Likely".
| | |
+
+**Table 7-2 – "info" element and sub-elements**
+
+| | | | |
+|---------------------|----------------------------------------------------------------|-----------------------------------------------|-----------------------------|
+| Element name | audience | context.class.attribute.representation | cap.alertInfo.audience.text |
+| Definition | The text describing the intended audience of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | | | |
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------|
+| Element name | eventCode | context.class.attribute.representation | cap.alertInfo.event.code |
+| Definition | A system-specific code identifying the event type of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Any system-specific code for event typing, in the form:
<eventCode> <valueName>valueName</valueName> <value>value</value> </eventCode> where the content of "valueName" is a user-assigned string designating the domain of the code, and the content of "value" is a string (which may represent a number) denoting the value itself (e.g., valueName="SAME" and value="CEM").
2) Values of "valueName" that are acronyms should be represented in all capital letters without periods (e.g., SAME, FIPS, ZIP).
3) Multiple instances may occur within a single <info> block.
| | |
+
+| | | | |
+|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|------------------------------|
+| Element name | effective | context.class.attribute.representation | cap.alertInfo.effective.time |
+| Definition | The effective time of the information of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) The date and time is represented in [dateTime] format (e.g., "2002-05-24T16:49:00-07:00" for 24 May 2002 at 16:49 PDT).
2) Alphabetic timezone designators such as "Z" must not be used. The timezone for UTC must be represented as "-00:00" or "+00:00".
3) If this item is not included, the effective time shall be assumed to be the same as in <sent>.
| | |
+
+| | | | |
+|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------|
+| Element name | onset | context.class.attribute.representation | cap.alertInfo.onset.time |
+| Definition | The expected time of the beginning of the subject event of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) The date and time is represented in [dateTime] format (e.g., "2002-05-24T16:49:00-07:00" for 24 May 2002 at 16:49 PDT).
2) Alphabetic timezone designators such as "Z" must not be used. The timezone for UTC must be represented as "-00:00" or "+00:00".
| | |
+
+**Table 7-2 – "info" element and sub-elements**
+
+| | | | |
+|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|----------------------------|
+| Element name | expires | context.class.attribute.representation | cap.alertInfo.expires.time |
+| Definition | The expiry time of the information of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) The date and time is represented in [dateTime] format (e.g., "2002-05-24T16:49:00-07:00" for 24 May 2002 at 16:49 PDT).
2) Alphabetic timezone designators such as "Z" must not be used. The timezone for UTC must be represented as "-00:00" or "+00:00".
3) If this item is not provided, each recipient is free to set its own policy as to when the message is no longer in effect.
| | |
+
+| | | | |
+|---------------------|------------------------------------------------------------------------|-----------------------------------------------|---------------------------|
+| Element name | senderName | context.class.attribute.representation | cap.alertInfo.sender.name |
+| Definition | The text naming the originator of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | The human-readable name of the agency or authority issuing this alert. | | |
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------|
+| Element name | headline | context.class.attribute.representation | cap.alertInfo.headline.text |
+| Definition | The text headline of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | A brief human-readable headline. Note that some displays (for example, short messaging service devices) may only present this headline; it should be made as direct and actionable as possible while remaining short. 160 characters may be a useful target limit for headline length. | | |
+
+| | | | |
+|---------------------|---------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------------|
+| Element name | description | context.class.attribute.representation | cap.alertInfo.description.text |
+| Definition | The text describing the subject event of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | An extended human readable description of the hazard or event that occasioned this message. | | |
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------------|
+| Element name | instruction | context.class.attribute.representation | cap.alertInfo.instruction.text |
+| Definition | The text describing the recommended action to be taken by recipients of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | An extended human readable instruction to targeted recipients. (If different instructions are intended for different recipients, they should be represented by use of multiple blocks.) | | |
+
+| | | | |
+|---------------------|-----------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------------------|
+| Element name | web | context.class.attribute.representation | cap.alertInfo.information.identifier |
+| Definition | The identifier of the hyperlink associating additional information with the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | A full, absolute URI for an HTML page or other text resource with additional or reference information regarding this alert. | | |
+
+**Table 7-2 – "info" element and sub-elements**
+
+| | | | |
+|---------------------|-------------------------------------------------------------------------------------|-----------------------------------------------|----------------------------|
+| Element name | contact | context.class.attribute.representation | cap.alertInfo.contact.text |
+| Definition | The text describing the contact for follow-up and confirmation of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | | | |
+
+
+
+| | | | |
+|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-------------------------------|
+| Element name | parameter | context.class.attribute.representation | cap.alertInfo.parameter.group |
+| Definition | A system-specific additional parameter associated with the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Any system-specific datum, in the form:
<parameter> <valueName>valueName</valueName> <value>value</value> </parameter> where the content of "valueName" is a user-assigned string designating the domain of the code, and the content of "value" is a string (which may represent a number) denoting the value itself (e.g., valueName="SAME" and value="CIV".)
2) Values of "valueName" that are acronyms should be represented in all capital letters without periods (e.g., SAME, FIPS, ZIP).
3) Multiple instances may occur within a single <info> block.
| | |
+
+### 7.2.3 "resource" element and sub-elements
+
+Table 7-3 provides a description of the "resource" element and sub-elements.
+
+**Table 7-3 – "resource" element and sub-elements**
+
+| | | | |
+|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------------------|
+| Element name | resource | context.class.attribute.representation | cap.alertInfoResource.resource.group |
+| Definition | The container for all Component parts of the resource sub-element of the info sub-element of the alert element | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Refers to an additional file with supplemental information related to this <info> element; e.g., an image or audio file
2) Multiple occurrences may occur within a single <info> block
| | |
+
+
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------------------|
+| Element name | resourceDesc | context.class.attribute.representation | cap.alertInfoResource.resourceDesc.text |
+| Definition | The text describing the type and content of the resource file | | |
+| Optionality | REQUIRED | | |
+| Notes | The human-readable text describing the content and kind, such as "map" or "photo", of the resource file. | | |
+
+**Table 7-3 – "resource" element and sub-elements**
+
+| | | | |
+|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------------------------|
+| Element name | contentType | context.class.attribute.representation | cap.alertInfoResource.mime Type.identifier |
+| Definition | The identifier of the MIME content type and sub-type describing the resource file | | |
+| Optionality | OPTIONAL | | |
+| Notes | MIME content type and sub-type as described in [IETF RFC 2046]. (As of the publication of this Recommendation the current IANA registered MIME types are listed at: http://www.iana.org/assignments/mediatypes/ ) | | |
+
+
+
+| | | | |
+|---------------------|------------------------------------------------------|-----------------------------------------------|----------------------------------------|
+| Element name | size | context.class.attribute.representation | cap.alertInfoResource.size. integer |
+| Definition | The integer indicating the size of the resource file | | |
+| Optionality | OPTIONAL | | |
+| Notes | Approximate size of the resource file in bytes. | | |
+
+
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|------------------------------------------|
+| Element name | uri | context.class.attribute.representation | cap.alertInfoResource.uri. identifier |
+| Definition | The identifier of the hyperlink for the resource file | | |
+| Optionality | OPTIONAL | | |
+| Notes | A full absolute URI, typically a Uniform Resource Locator that can be used to retrieve the resource over the Internet
OR
a relative URI to name the content of a <derefUri> element if one is present in this resource block.
| | |
+
+
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------------------|
+| Element name | derefUri | context.class.attribute.representation | cap.alertInfoResource. derefUri.data |
+| Definition | The base-64 encoded data content of the resource file | | |
+| Optionality | CONDITIONAL | | |
+| Notes | 1) May be used either with or instead of the <uri> element in messages transmitted over one-way (e.g., broadcast) data links where retrieval of a resource via a URI is not feasible. 2) Clients intended for use with one-way data links must support this element. 3) This element must not be used unless the sender is certain that all direct clients are capable of processing it. 4) If messages including this element are forwarded onto a two-way network, the forwarder must strip the <derefUri> element and should extract the file contents and provide a <uri> link to a retrievable version of the file. 5) Providers of one-way data links may enforce additional restrictions on the use of this element, including message-size limits and restrictions regarding file types. | | |
+
+**Table 7-3 – "resource" element and sub-elements**
+
+| | | | |
+|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-----------------------------------|
+| Element name | digest | context.class.attribute.representation | cap.alertInfoResource.digest.code |
+| Definition | The code representing the digital digest ("hash") computed from the resource file | | |
+| Optionality | OPTIONAL | | |
+| Notes | Calculated using the secure hash algorithm (SHA-1) per [FIPS 180-2] NOTE – It should be noted that NIST is encouraging the use of SHA-256 as a more secure alternative to SHA-1. | | |
+
+### 7.2.4 "area" element and sub-elements
+
+Table 7-4 provides a description of the "area" element and sub-elements.
+
+**Table 7-4 – "area" element and sub-elements**
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------------------------------------|-----------------------------------------------|------------------------------|
+| Element name | area | context.class.attribute.representation | cap.alertInfoArea.area.group |
+| Definition | The container for all component parts of the area sub-element of the info sub-element of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | | | |
+
+| | | | |
+|---------------------|------------------------------------------------------------|-----------------------------------------------|-----------------------------|
+| Element name | areaDesc | context.class.attribute.representation | cap.alertInfoArea.area.text |
+| Definition | The text describing the affected area of the alert message | | |
+| Optionality | REQUIRED | | |
+| Notes | A text description of the affected area. | | |
+
+| | | | |
+|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|---------------------------------|
+| Element name | polygon | context.class.attribute.representation | cap.alertInfoArea.polygon.group |
+| Definition | The paired values of points defining a polygon that delineates the affected area of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Code Values: The geographic polygon is represented by a whitespace-delimited list of coordinate pairs. 2) The first and last pairs of coordinates must be the same. 3) Multiple instances may occur within an . | | |
+
+| | | | |
+|---------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------------|
+| Element name | circle | context.class.attribute.representation | cap.alertInfoArea.circle.group |
+| Definition | The paired values of a point and radius delineating the affected area of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Code Values: The circular area is represented by a central point given as a coordinates pair followed by a space character and a radius value in kilometres. NOTE – Per the [b-WGS 84] datum. 2) Multiple instances may occur within an . | | |
+
+**Table 7-4 – "area" element and sub-elements**
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|--------------------------------|
+| Element name | geocode | context.class.attribute.representation | cap.alertInfoArea.geocode.code |
+| Definition | The geographic code delineating the affected area of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) Any geographically-based code to describe message target area:
<parameter> <valueName>valueName</valueName> <value>value</value> </parameter> where the content of "valueName" is a user-assigned string designating the domain of the code, and the content of "value" is a string (which may represent a number) denoting the value itself (e.g., valueName ="SAME" and value="006113").
2) Values of "valueName" that are acronyms should be represented in all capital letters without periods (e.g., SAME, FIPS, ZIP).
3) Multiple instances may occur within a single <info> block.
4) This element is primarily for compatibility with other systems. Use of this element presumes knowledge of the coding system on the part of recipients; therefore, for interoperability, it should be used in concert with an equivalent description in the more universally understood <polygon> and <circle> forms whenever possible.
| | |
+
+| | | | |
+|---------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|-------------------------------------|
+| Element name | altitude | context.class.attribute.representation | cap.alertInfoArea.altitude.quantity |
+| Definition | The specific or minimum altitude of the affected area of the alert message | | |
+| Optionality | OPTIONAL | | |
+| Notes | 1) If used with the <ceiling> element, this value is the lower limit of a range. Otherwise, this value specifies a specific altitude.
2) The altitude measure is in feet above mean sea level.
NOTE – Per the [b-WGS 84] datum.
| | |
+
+| | | | |
+|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|------------------------------------|
+| Element name | ceiling | context.class.attribute.representation | cap.alertInfoArea.ceiling.quantity |
+| Definition | The maximum altitude of the affected area of the alert message | | |
+| Optionality | CONDITIONAL | | |
+| Notes | 1) Must not be used except in combination with the <altitude> element
2) The ceiling measure is in feet above mean sea level.
NOTE – Per the [b-WGS 84] datum.
| | |
+
+## 7.3 Implementation considerations
+
+This clause defines some insights into CAP implementations.
+
+### 7.3.1 Security
+
+Because CAP is an XML-based format, existing XML security mechanisms can be used to secure and authenticate its content. While these mechanisms are available to secure CAP Alert Messages, they should not be used indiscriminately.
+
+This clause adds two tags to CAP by reference. These are: "Signature" and "EncryptedData". Both elements are children of the element and are optional. If the "EncryptedData" element exists, no other elements will be visible until after the message is decrypted. This makes the minimal CAP message an alert element which encloses an EncryptedData element. The maximal CAP message, if an EncryptedData element is present, is an element enclosing a single EncryptedData element and a single Signature element.
+
+### 7.3.2 Digital signatures
+
+The alert element of a CAP Alert Message may have an Enveloped Signature, as described by XML-Signature and Syntax Processing (see [W3C Signature]). Other XML signature mechanisms must not be used in CAP Alert Messages.
+
+Processors must not reject a CAP Alert Message containing such a signature simply because they are not capable of verifying it; they must continue processing and may inform the user of their failure to validate the signature.
+
+In other words, the presence of an element with the namespace URI (see [W3C Signature]) and a local name of "Signature" as a child of the alert element must not cause a processor to fail merely because of its presence.
+
+### 7.3.3 Encryption
+
+The alert element of a CAP Alert Message may be encrypted, using the mechanisms described by XML Encryption Syntax and Processing (see [W3C Encryption]). Other XML encryption mechanisms must not be used in CAP Alert Messages; however, transport-layer encryption mechanisms may be used independently of this requirement.
+
+## 7.4 XML schema
+
+```
+
+
+
+
+ CAP Alert Message (version 1.1)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+```
+
+# 8 Use of ASN.1 to specify and encode the CAP alert message
+
+This clause provides the ASN.1 specification of the CAP alert message.
+
+## 8.1 General
+
+The ASN.1 specification (see [ITU-T X.680]) in clause 8.3 provides an alternative formulation of the XML schema defined in clause 7.4. If the ASN.1 Extended XML Encoding Rules (see [ITU-T X.693]) are applied to this ASN.1 schema, the permitted XML is identical to that supported by the XML schema in clause 7.4. If the ASN.1 Unaligned Packed Encoding Rules (see [ITU-T X.691]) are applied to it, the resulting binary encodings are more compact than the corresponding XML encodings.
+
+## 8.2 Formal mappings and specification
+
+The normative specification of the compact binary encoding is in clause 8.3 with the application of the ASN.1 Unaligned Packed Encoding Rules (see [ITU-T X.691]).
+
+The semantics of the fields in the ASN.1 specification is identical to those of the XSD specification, and the mapping of the fields from the XSD specification to the ASN.1 specification is formally defined in [ITU-T X.694].
+
+Implementations can produce and process the CAP alert XML messages using either ASN.1-based or XSD-based tools (or other ad hoc software).
+
+Implementations can produce and process the CAP alert compact binary messages using ASN.1-based tools (or by other ad hoc software).
+
+Any XML encoded CAP alert messages can be converted to compact binary messages by decoding with an ASN.1 tool configured for the Extended XML Encoding Rules and re-encoding the resulting abstract values with an ASN.1 tool configured for Unaligned Packed Encoding Rules.
+
+Any compact binary CAP alert messages can be converted to XML encoded messages by decoding with an ASN.1 tool configured for Unaligned Packed Encoding Rules and re-encoding the resulting abstract values with an ASN.1 tool configured for Extended XML Encoding Rules.
+
+## 8.3 ASN.1 module
+
+```
+CAP-1-1 {itu-t recommendation x cap(1303) version1-1(1)}
+DEFINITIONS XER INSTRUCTIONS AUTOMATIC TAGS ::=
+-- CAP Alert Message (version 1.1)
+BEGIN
+-- References in comments to clauses outside this module refer to
+-- ITU-T Recommendation X.1303 (09/2007).
+-- This ASN.1 module is also included in OASIS CAP v1.1 Errata
+-- (approved on 2 October 2007), and the references there are to
+-- clauses 3.2.x as in OASIS CAP v1.1 and not clauses 7.2.x as
+-- in ITU-T X.1303
+Alert ::= SEQUENCE {
+ identifier IdentifierString,
+ -- Unambiguous identification of the message
+ -- from all messages from
+ -- this sender, in a format defined by the sender and
+ -- identified in the "sender" field below.
+ sender String,
+ -- The globally unambiguous identification of the sender.
+ -- This specification does not define the root of
+ -- a global identification tree (there is no international
+ -- agreement on such a root), so it relies
+ -- on human-readable text to define globally and
+ -- unambiguously the sender.
+ -- An internet domain name or use of "iri:/ITU-T/..."
+ -- is possible, but
+ -- the choice needs to be clearly stated in human-readable form.
+ sent DateTime,
+ status AlertStatus,
+ msgType AlertMessageType,
+ source String OPTIONAL,
+ -- Not standardized human-readable identification
+ -- of the source of the alert.
+ scope AlertScope,
+ restriction String OPTIONAL,
+ -- Not standardized human-readable restrictions
+ -- on the distribution of the alert message
+ addresses String OPTIONAL,
+ -- A space separated list of addresses for private messages
+ -- (see 7.2.1)
+ code-list SEQUENCE SIZE((0..MAX)) OF code String,
+ -- A sequence codes for special handling
+ -- (see 7.2.1)
+ -- The format and semantics of the codes are not defined in this
+ -- specification.
+ note String OPTIONAL,
+ -- Not standardized human-readable clarifying text for the alert
+ -- (see 7.2.1)
+```
+
+```
+
+references String OPTIONAL,
+ -- Space-separated references to earlier messages
+ -- (see 7.2.1)
+incidents String OPTIONAL,
+ -- Space-separated references to related incidents
+ -- (see 7.2.1)
+info-list SEQUENCE SIZE((0..MAX)) OF info AlertInformation }
+
+AlertStatus ::= ENUMERATED {
+ actual,
+ draft,
+ exercise,
+ system,
+ test }
+
+AlertMessageType ::= ENUMERATED {
+ ack,
+ alert,
+ cancel,
+ error,
+ update }
+
+AlertScope ::= ENUMERATED {
+ private,
+ public,
+ restricted }
+
+AlertInformation ::= SEQUENCE {
+ language Language -- DEFAULT "en-US" -- ,
+ -- The language used in this value of the Info type
+ -- (see 7.2.2)
+ category-list SEQUENCE (SIZE(1..MAX)) OF
+ category InformationCategory,
+ event String,
+ -- Not standardized human-readable text describing the
+ -- type of the event (see 7.2.2)
+ responseType-list SEQUENCE SIZE((0..MAX)) OF
+ responseType InformationResponseType,
+ urgency HowUrgent,
+ severity HowSevere,
+ certainty HowCertain,
+ audience String OPTIONAL,
+ -- Not standardized human-readable text describing the
+ -- intended audience for the message (see 7.2.2)
+ eventCode-list SEQUENCE SIZE((0..MAX)) OF eventCode SEQUENCE {
+ valueName ValueName,
+ value Value },
+ effective DateTime OPTIONAL,
+ onset DateTime OPTIONAL,
+ expires DateTime OPTIONAL,
+ senderName String OPTIONAL,
+ -- Not standardized human-readable name of the authority
+ -- issuing the message (see 7.2.2)
+ headline String (SIZE (1..160,...)) OPTIONAL,
+ -- Not standardized human-readable short statement (headline)
+ -- of the alert (see 7.2.2)
+ description String OPTIONAL,
+ -- Not standardized human-readable extended description of
+ -- the event (see 7.2.2)
+ instruction String OPTIONAL,
+ -- Not standardized human-readable recommended action
+ -- (see 7.2.2)
+ web AnyURI OPTIONAL,
+ contact String OPTIONAL,
+
+```
+
+```
+
+-- Not standardized human-readable contact details for
+-- follow-up (see 7.2.2)
+parameter-list SEQUENCE SIZE((0..MAX)) OF parameter SEQUENCE {
+-- System-specific parameters (see 7.2.2)
+ valueName ValueName,
+ value Value },
+resource-list SEQUENCE SIZE((0..MAX)) OF resource ResourceFile,
+area-list SEQUENCE SIZE((0..MAX)) OF Area }
+
+```
+
+```
+
+InformationCategory ::= ENUMERATED {
+ cBRNE,
+ env,
+ fire,
+ geo,
+ health,
+ infra,
+ met,
+ other,
+ rescue,
+ safety,
+ security,
+ transport }
+
+```
+
+```
+
+InformationResponseType ::= ENUMERATED {
+ assess,
+ evacuate,
+ execute,
+ monitor,
+ none,
+ prepare,
+ shelter }
+
+```
+
+```
+
+HowUrgent ::= ENUMERATED {
+ expected,
+ future,
+ immediate,
+ past,
+ unknown }
+
+```
+
+```
+
+HowSevere ::= ENUMERATED {
+ extreme,
+ minor,
+ moderate,
+ severe,
+ unknown }
+
+```
+
+```
+
+HowCertain ::= ENUMERATED {
+ likely,
+ observed,
+ possible,
+ unknown,
+ unlikely }
+
+```
+
+```
+
+ResourceFile ::= SEQUENCE {
+-- Information about an associated resource file
+-- (see 7.2.3)
+ resourceDesc String,
+-- Not standardized human-readable description of the type
+-- and content of
+-- an associated resource file (for example a map or
+-- photograph) (see 7.2.3)
+ mimeType String OPTIONAL,
+ size INTEGER OPTIONAL, -- In bytes
+ uri AnyURI OPTIONAL,
+
+```
+
+```
+
+derefUri String OPTIONAL,
+ -- An alternative to the URI giving the Base64-encoded
+ -- content of the resource file (see 7.2.3)
+digest String OPTIONAL
+ -- SHA-1 hash of the resource file for error detection
+ -- (see 7.2.3) -- }
+
+Area ::= SEQUENCE {
+ -- Identification of an affected area
+ areaDesc String,
+ -- Not standardized human-readable description of the area
+ polygon-list SEQUENCE OF polygon String,
+ -- Each element is a space-separated list of coordinate pairs
+ -- The complete list starts and ends with the same point and
+ -- defines the polygon that defines the area
+ -- (see 7.2.4).
+ circle-list SEQUENCE OF circle String,
+ -- A space-separated list of coordinates for a point and a radius
+ geocode-list SEQUENCE SIZE((0..MAX)) OF geocode SEQUENCE {
+ -- A geographic code designating the alert target area
+ -- (see 7.2.4)
+ valueName ValueName,
+ value Value },
+ altitude String OPTIONAL,
+ -- Specific or minimum altitude of the affected area
+ ceiling String OPTIONAL
+ -- Maximum altitude of the affected area -- }
+
+ValueName ::= String -- A not standardized name for
+ -- an information event code, a parameter or a geocode
+
+Value ::= String -- The value of the information event code,
+ -- parameter or geocode
+
+String ::= UTF8String (FROM (
+ {0,0,0,9} -- TAB
+ | {0,0,0,10} -- CR
+ | {0,0,0,13} -- LF
+ | {0,0,0,32}..{0,0,215,255} -- Space to the start of the S-zone
+ | {0,0,224,0}..{0,0,255,253} -- Rest of BMP after S-zone
+ | {0,1,0,0}..{0,16,255,253} -- Other planes -- ) )
+
+StringChar ::= String (SIZE(1))
+
+SpaceAndComma ::= UTF8String (FROM (
+ {0,0,0,32} -- SPACE
+ | {0,0,0,44} -- COMMA -- ) )
+
+IdentifierString ::= String (FROM (StringChar EXCEPT SpaceAndComma))
+
+Language ::= VisibleString(FROM ("a".."z" | "A".."Z" | "-" | "0".."9"))
+ (PATTERN "[a-zA-Z]#(1,8)(-[a-zA-Z0-9]#(1,8))*")
+ -- The semantics of Language is specified in IETF RFC 3066
+
+DateTime ::= TIME (SETTINGS "Basic=Date-Time Date=YMD
+ Year=Basic Time=HMS Local-or-UTC=LD")
+ -- This is the ISO 8601 format using local time and a
+ -- time difference
+
+StringWithNoCRLFHT ::= UTF8String (FROM (
+ {0,0,0,32}..{0,0,215,255}
+ | {0,0,224,0}..{0,0,255,253}
+ | {0,1,0,0}..{0,16,255,253}))
+
+```
+
+```
+
+AnyURI ::= StringWithNoCRLFHT (CONSTRAINED BY {
+ /* Shall be a valid URI as defined in IETF RFC 2396 */)
+
+ENCODING-CONTROL XER
+GLOBAL-DEFAULTS MODIFIED-ENCODINGS
+GLOBAL-DEFAULTS CONTROL-NAMESPACE
+ "http://www.w3.org/2001/XMLSchema-instance" PREFIX "xsi"
+NAMESPACE ALL, ALL IN ALL AS "urn:oasis:names:tc:emergency:cap:1.1"
+ PREFIX "cap"
+NAME Alert, Area AS UNCAPITALIZED
+UNTAGGED SEQUENCE OF
+DEFAULT-FOR-EMPTY AlertInformation.language AS "en-US"
+TEXT AlertStatus:ALL,
+ AlertMessageType:ALL,
+ AlertScope:ALL,
+ InformationCategory:ALL,
+ InformationResponseType:ALL,
+ HowUrgent:ALL,
+ HowSevere:ALL,
+ HowCertain:ALL AS CAPITALIZED
+WHITESPACE Language, AnyURI COLLAPSE
+END
+
+```
+
+# Appendix I
+
+## CAP alert message examples
+
+(This appendix does not form an integral part of this Recommendation)
+
+## I.1 Homeland security advisory system alert
+
+The following is a speculative example in the form of a CAP XML message.
+
+```
+
+
+43b080713727
+hsas@dhs.gov
+2003-04-02T14:39:01-05:00
+Actual
+Alert
+Public
+
+ Security
+ Homeland Security Advisory System Update
+ Immediate
+ Severe
+ Likely
+ U.S. Government, Department of Homeland
+Security
+ Homeland Security Sets Code ORANGE
+ The Department of Homeland Security has elevated the
+Homeland Security Advisory
+System threat level to ORANGE / High in response to intelligence which
+may indicate a heightened
+threat of terrorism.
+ A High Condition is declared when there is a high risk
+of terrorist attacks. In
+addition to the Protective Measures taken in the previous Threat
+Conditions, Federal departments
+and agencies should consider agency-specific Protective Measures in
+accordance with their
+existing plans.
+ http://www.dhs.gov/dhspublic/display?theme=29
+
+ HSAS
+ ORANGE
+
+
+ Image file (GIF)
+ http://www.dhs.gov/dhspublic/getAdvisoryImage
+
+
+ U.S. nationwide and interests worldwide
+
+
+
+```
+
+## I.2 Severe thunderstorm warning
+
+The following is a speculative example in the form of a CAP XML message.
+
+```
+
+
+KSTO1055887203
+KSTO@NWS.NOAA.GOV
+2003-06-17T14:57:00-07:00
+Actual
+Alert
+Public
+
+ Met
+ SEVERE THUNDERSTORM
+ Shelter
+ Immediate
+ Severe
+ Observed
+
+ same
+ SVR
+
+ 2003-06-17T16:00:00-07:00
+ NATIONAL WEATHER SERVICE SACRAMENTO CA
+ SEVERE THUNDERSTORM WARNING
+ AT 254 PM PDT...NATIONAL WEATHER SERVICE DOPPLER RADAR INDICATED
+A SEVERE THUNDERSTORM OVER SOUTH CENTRAL ALPINE COUNTY...OR ABOUT 18 MILES
+SOUTHEAST OF KIRKWOOD...MOVING
+SOUTHWEST AT 5 MPH. HAIL...INTENSE RAIN AND STRONG DAMAGING WINDS ARE LIKELY
+WITH THIS STORM.
+ TAKE COVER IN A SUBSTANTIAL SHELTER UNTIL THE STORM
+PASSES.
+ BARUFFALDI/JUSKIE
+
+ EXTREME NORTH CENTRAL TUOLUMNE COUNTY IN CALIFORNIA, EXTREME
+NORTHEASTERN CALAVERAS COUNTY IN CALIFORNIA, SOUTHWESTERN ALPINE COUNTY IN
+CALIFORNIA
+ 38.47, -120.14 38.34, -119.95 38.52, -119.74 38.62, -119.89 38.47, -
+120.14
+
+ FIPS6
+ 006109
+
+
+ FIPS6
+ 006009
+
+
+ FIPS6
+ 006003
+
+
+
+
+```
+
+## I.3 Earthquake report
+
+The following is a speculative example in the form of a CAP XML message.
+
+```
+
+
+TRI13970876.1
+trinet@caltech.edu
+2003-06-11T20:56:00-07:00
+Actual
+Alert
+Public
+13970876
+
+ Geo
+ Earthquake
+ Past
+ Minor
+ Observed
+ Southern California Seismic Network (TriNet) operated by
+ Caltech and
+ USGS
+ EQ 3.4 Imperial County CA - PRELIMINARY REPORT
+ A minor earthquake measuring 3.4 on the Richter scale
+ occurred near Brawley,
+ California at 8:53 PM Pacific Daylight Time on Wednesday,
+ June 11, 2003. (This is a computer-
+ generated solution and has not yet been reviewed by a human.)
+
+ http://www.trinet.org/scsn/scsn.html
+
+ EventID
+ 13970876
+
+
+ Version
+ 1
+
+
+ Magnitude
+ 3.4 Ml
+
+
+ Depth
+ 11.8 mi.
+
+
+ Quality
+ Excellent
+
+
+ 1 mi. WSW of Brawley, CA; 11 mi. N of El Centro, CA; 30 mi.
+ E of OCOTILLO
+ (quarry); 1 mi. N of the Imperial Fault
+ 32.9525,-115.5527 0
+
+
+
+```
+
+## I.4 AMBER alert (Including EAS activation)
+
+The following is a speculative example in the form of a CAP XML message.
+
+```
+
+
+KARO-0306112239-SW
+KARO@CLETS.DDJ.CA.GOV
+2003-06-11T22:39:00-07:00
+Actual
+Alert
+SW
+Public
+
+ Rescue
+ Child Abduction
+ Immediate
+ Severe
+ Likely
+
+ SAME
+ CAE
+
+ LOS ANGELES POLICE DEPT - LAPD
+ AMBER ALERT
+ DATE/TIME: 06/11/03, 1915 HRS. VICTIM(S): KHAYRI DOE
+ JR. M/B BLK/BRO 3'0", 40
+ LBS. LIGHT COMPLEXION. DOB 06/24/01. WEARING RED SHORTS, WHITE T-SHIRT,
+ W/BUE COLLAR. LOCATION: 5721 DOE ST., LOS ANGELES, CA. SUSPECT(S):
+ KHAYRI DOE SR. DOB 04/18/71 M/B, BLK HAIR,
+ BRO EYE. VEHICLE: 81' BUICK 2-DR, BLUE (4XXX000).
+ DET. SMITH, 77TH DIV, LOS ANGELES POLICE DEPT-LAPD
+ AT 213 485-2389
+
+ Los Angeles County
+
+ SAME
+ 006037
+
+
+
+
+```
+
+# Bibliography
+
+- [b-WGS 84] National Geospatial Intelligence Agency, Department of Defense World Geodetic System 1984, [http://earth-info.nga.mil/GandG/publications/tr8350.2/tr8350\\_2.html](http://earth-info.nga.mil/GandG/publications/tr8350.2/tr8350_2.html), NGA Technical, Report TR8350.2, January 2000.
+
+
+
+
+
+# SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|---------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.131-198811-I_PDF-E/raw.md b/marked/X/T-REC-X.131-198811-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..050b9328da778d4fcba22a184e59a7089d2eb461
--- /dev/null
+++ b/marked/X/T-REC-X.131-198811-I_PDF-E/raw.md
@@ -0,0 +1,152 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+## X.131
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# **PUBLIC DATA NETWORKS NETWORK ASPECTS** ---
+
+## **CALL BLOCKING IN PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL SYNCHRONOUS CIRCUIT-SWITCHED DATA SERVICES**
+
+## **ITU-T Recommendation X.131**
+
+(Extract from the *Blue Book*)
+
+---
+
+### NOTES
+
+1 ITU-T Recommendation X.131 was published in Fascicle VIII.3 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below).
+
+2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+### Recommendation X.131
+
+## CALL BLOCKING IN PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL SYNCHRONOUS CIRCUIT-SWITCHED DATA SERVICES
+
+(Former X.132, Geneva, 1980; amended at Malaga-Torremolinos, 1984)
+
+The CCITT,
+
+*considering*
+
+- (a) that Recommendation X.1 specifies the user classes of service applicable to networks offering public data services;
+- (b) that Recommendation X.2 specifies the international user services and facilities to be offered by public data networks;
+- (c) that Recommendations X.21 and X.21 *bis* define the DTE/DCE interface for circuit switched services;
+- (d) that Recommendation X.60 specifies the common channel signalling for synchronous data networks;
+- (e) that Recommendation X.71 specifies the channel associated signalling for synchronous data networks;
+- (f) that Recommendation X.92 specifies the hypothetical reference connections for public data networks;
+- (g) that Recommendation X.110 specifies the routing plan to be applied in the international portions of public data networks;
+- (h) that Recommendation X.213 specifies the OSI Network Layer service;
+- (i) that Recommendation X.140 specifies the user-oriented quality of service parameters applicable to data services,
+
+*unanimously declares*
+
+that when public data networks provide international synchronous circuit-switched data services, according to Recommendations X.21 and X.21 *bis*, the values of call blocking probability specified in this Recommendation shall be taken as provisional, worst-case values that should not be exceeded under the conditions specified therein.
+
+*Introductory note* - Design objectives that take into account both user needs and network costs are for further study.
+
+## 1 Introduction
+
+1.1 Quality of service in circuit-switched public data networks has been considered in five basic areas as follows:
+
+- i) call processing delays (Recommendation X.130);
+- ii) failures due to congestion (blocking) (Recommendation X.131);
+- iii) failures due to malfunction;
+- iv) loss of service; and
+- v) transmission performance (including throughput).
+
+This Recommendation specifies the objectives for ii) above. Each of the other areas of circuit-switching quality of service identified above will be the subject of a separate Recommendation in the X-series.
+
+1.2 In telecommunication networks it is necessary, for economic reasons, to limit the resources provided for carrying the offered traffic. This limitation may affect the quality of service to the user of circuit-switched services in two different ways: by call processing delays and by blocking. Both of these aspects, that are consequences of the finite traffic handling capacity of the network, constitute the grade of service. Grade of service together with malfunction, loss of service and transmission performance constitute the quality of service.
+
+1.3 In this Recommendation the values for the network blocking are quoted for two types of connection according to Recommendation X.92 as follows:
+
+Type 1: Typical terrestrial interconnection of moderate length with no satellite circuits either in the national or international portions. (International portion: 1000 km.)
+
+Type 2: Long distance international connection with a satellite circuit in one national portion and two satellite circuits in the international portion. (International portion: 160 000 km.)
+
+Where appropriate, values are also specified separately for the following network portions:
+
+- originating national network,
+- international portion,
+- destination national network.
+
+The boundaries for these portions are shown in Figure 1 /X.131.
+
+
+
+CCITT-71361
+
+Diagram illustrating the boundaries for call set-up and clear-down functions across three network portions: Originating national portion, International portion, and Destination national portion. The diagram shows a sequence of nodes: a 'Local DSE' in the originating national portion, an 'IDSE' at the boundary to the international portion, another 'IDSE' at the boundary to the destination national portion, and a final 'Local DSE' in the destination national portion. Dashed arrows indicate the direction of call set-up or clear-down. Above the diagram, double-headed arrows define the extent of each national portion. Labels 'Calling or clearing' and 'Called or cleared' are placed at the start and end of the sequence respectively. A reference code 'CCITT-71361' is located at the bottom right of the diagram.
+
+*Note 1* – A DSE may also function as an IDSE.
+
+*Note 2* – Arrows indicate direction of call set-up or clear-down.
+
+FIGURE 1/X.131
+
+### **National/international boundaries for call set-up and clear-down functions**
+
+For the present, the values apply also to other normal routing options within the international portion.
+
+Following the allocation of a blocking allowance to the international portion of an international transit connection, it will be necessary to further apportion the allowance to individual transit networks and/or their component parts within the international portion. The means by which useful and realistic constraints can be applied, consistent with maintaining the maximum possible freedom for each involved Administration in the design and implementation of its own network, is for further study.
+
+1.4 The values for blocking probability established in this Recommendation are to be considered as design objectives in network planning together with the forecast traffic for the planned period. The actual blocking performance that will be obtained will depend on the accuracy of the traffic estimations. Normally the actual blocking performance will not coincide with the one used as a basis for planning. Furthermore, if the network is planned for the traffic forecast
+
+at the end of the period considered, the actual blocking performance of the network may be better than the design value, worsening gradually to the end of the planning period as traffic increases.
+
+The non-coincidence of busy hours in originating and destination national networks as well as in the international network will improve the overall blocking performance with respect to the sum of the nominal blocking probabilities of the constituent parts of the connection.
+
+1.5 The blocking probabilities are specified under conditions of normal busy hour load. Blocking probabilities for higher loadings are for further study.
+
+1.6 Blocking probabilities are defined for a basic call which does not include any optional user facilities, e.g. those defined in Recommendation X.21.
+
+1.7 Recommendation X.21 permits the following blocking situations:
+
+- i) non-reception of *proceed to select*;
+- ii) non-connection of call.
+
+Item i) is considered to be a national matter and consequently the specification of its value is not appropriate to this Recommendation. Objectives for item ii) are contained in § 2 of this Recommendation.
+
+1.8 The quality of service implications of regional or national satellite systems using demand assignment for resource allocation require further study.
+
+## 2 Probability of non-connection due to congestion (blocking probability)
+
+Probability of non-connection due to congestion is the probability that a calling DTE does not receive the *ready for data* signal but does receive a *network congestion* signal within 20 seconds after transmission of the *end of selection* signal (or within 60 seconds when manual answering is permitted at the called DTE).
+
+### 2.1 Overall probability of non-connection due to congestion
+
+The overall probability of non-connection due to congestion for an end-to-end connection seen from the customer point of view should not exceed the following values:
+
+Connection type 1: 13%
+
+Connection type 2: 15%
+
+See Introductory note to this Recommendation.
+
+### 2.2 Network portion probability of non-connection due to congestion
+
+The contribution of each network portion to overall probability of non-connection due to congestion should not exceed the values shown in Table 1/X.131.
+
+TABLE 1/X.131
+Contributions to network probability of non-connection
+due to congestion
+
+| Original national portion | Destination national portion | International portion | |
+|---------------------------|------------------------------|-----------------------|----|
+| | | Connection type | |
+| | | 1 | 2 |
+| 5% | 5% | 3% | 5% |
+
+*Note* - See introductory note to this Recommendation.
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/02d0c8a07c481d880b73a25d02050fad_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/02d0c8a07c481d880b73a25d02050fad_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ef5015e33d39f4c7148accad6d6f8ca8a839b41e
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/02d0c8a07c481d880b73a25d02050fad_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b03617c9ef5a025d570fff39c545529cb3da6f20f806ef713d8c35585126601
+size 36474
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/08c7a76a7786bd08b99dd4cb41583ef4_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/08c7a76a7786bd08b99dd4cb41583ef4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..86336df47401bebc11e948bb617f034b74a06738
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/08c7a76a7786bd08b99dd4cb41583ef4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1467e29e319270fa7c6e420bdecc60d30466eb7aab2015f415c2d7e7a2ac9ed0
+size 6376
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..df1a6f55e5d2c732f35ad6b9043c3557eb5276f7
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/0b3d9fe35da3ee0c88f1420bb9ed7a03_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:17d078b71235728571db4bb946f0ad7d4d4088139d4cf867611a247c09d9c776
+size 31324
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/0ee9d674085524d589646a6c3fb21ec3_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/0ee9d674085524d589646a6c3fb21ec3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c4b9a8f5eff6d9f469c4dc7cb8b18128af73cf6e
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/0ee9d674085524d589646a6c3fb21ec3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cbdb9c61fa8de94c4fd08d4a3152091fc65a2782a012ab6e2e8e2275f79c268a
+size 3677
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/2837ffdadcdb1e5bababa56b564e56ed_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/2837ffdadcdb1e5bababa56b564e56ed_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9216e2aeca05729dc69dabfcbb0591d77cca394a
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/2837ffdadcdb1e5bababa56b564e56ed_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d7fa1654d7686c57b5c3adb805b158990edd6f311682b9ebac15bcf9338fa5fb
+size 4713
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/2bacc162a73d75c43a7f90715832bd13_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/2bacc162a73d75c43a7f90715832bd13_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f97601bcaf500f0832856834ee8930b56dd7b7dc
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/2bacc162a73d75c43a7f90715832bd13_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8ee3ff8d9b3e98423d3c7285d9ee2f91b000c1e06cc2c4b8c4184d6b4e125cd7
+size 20753
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/44c70af075e4d9bbc6fbe267a666b3b0_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/44c70af075e4d9bbc6fbe267a666b3b0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4195ede5cbeebea997f7552a646121e78fafce2d
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/44c70af075e4d9bbc6fbe267a666b3b0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:248096025b57a3d08c46d9562491fc287bcee1c302d6d9e4ce3f8fda2fe8bf2e
+size 8558
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/4e4be0bd8b235167902f2c03e41da651_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/4e4be0bd8b235167902f2c03e41da651_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..952b3a8338292c3bf5a573a1712fcd94d0629bea
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/4e4be0bd8b235167902f2c03e41da651_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9c44d2dc97a15680d176289992e23e938eedacd2b41ae0f8b875d84e10e42990
+size 203740
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/5456ef9dc49ffc9cbb93cf1dd8052884_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/5456ef9dc49ffc9cbb93cf1dd8052884_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..28b480b412c022ceda1f0a646e7ec767e9397dc7
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/5456ef9dc49ffc9cbb93cf1dd8052884_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a47dccdfdd5ec0bf71cef6fbba79c6e2bdc0da3c781a28a15214e4ef5f841978
+size 21826
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/6e612452d995bb03cc3f3d004493f7bf_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/6e612452d995bb03cc3f3d004493f7bf_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1074d2785c9bf23e31e8b02b1bd7b77c436933e8
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/6e612452d995bb03cc3f3d004493f7bf_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:777439cb2741f49efc9c8f74a208e541a3231a186c3f5f8ad0aec3d3178ace9e
+size 5802
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bae3f01dac4b61c0718f19a394636938256e9b23
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:323dcdd02fa19cf499b22f53beacbd938f8378e9a125b0cb2a82ec6d2006614a
+size 20019
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/77464a47f104d0d647b2414591137b64_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/77464a47f104d0d647b2414591137b64_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b010d3d391eebe790c65817baf45112efa739191
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/77464a47f104d0d647b2414591137b64_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:26f49cd7a59d4eaff75f940822e1ce5cb4b3c8bd5c2837cc6f3002586544215d
+size 57939
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9683695516233ce00c08f9dd1a25582c4189223a
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2e17945269a0880b9a2706ea6e09f669316afc001597085bb9e0fc6978c28447
+size 6976
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/933ecd14c858bf3fc919222d8e357bc8_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/933ecd14c858bf3fc919222d8e357bc8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3588bb2bf97dd0547ed9ca551dd6e99cfd149715
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/933ecd14c858bf3fc919222d8e357bc8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2f6b0a024f119e72e0500fcdbb788f5d097169585af5f5999ead2af17b5279c3
+size 34947
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/a1890b9a9b85f13e67ed59bbad623659_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/a1890b9a9b85f13e67ed59bbad623659_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d973be7319ae03064b6dbaf3c5d27d9280beeab9
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/a1890b9a9b85f13e67ed59bbad623659_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d7f9e616f248a5c3d95414fa35771d2fe30a50c201a87eb0c6101072a8cac0a2
+size 11792
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/b54ce9bffd341cd643e196d5f4538829_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/b54ce9bffd341cd643e196d5f4538829_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1133f2d694f014a3c4faa2ae6fdaaec6c557a47d
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/b54ce9bffd341cd643e196d5f4538829_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:64cb7d29d848f073e516779704491fcb6d98eae114ab9f14ef03998eb51011f4
+size 3657
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/bd671b21db63e6fdb2196e9b18502aac_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/bd671b21db63e6fdb2196e9b18502aac_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..11c61e55f2b1acc1a55101ab50626d4515dc9e6c
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/bd671b21db63e6fdb2196e9b18502aac_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:53ebc7b989e4c860b1faba6d8e6748c45bac8120dfa1b0f392ef1062212af5a1
+size 45990
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..29892b1ecd420f97ef201fcf80e0901acbfeae13
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b5e260ee0e6daf6d2671ab56173b272f1c70739ae762676f15120eaf07148c54
+size 64589
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/c85b57b2414f341860dfc338e1cf2509_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/c85b57b2414f341860dfc338e1cf2509_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..22f93b749118b30d2ccf72fad42a01dad5f9fdae
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/c85b57b2414f341860dfc338e1cf2509_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:51ecad4c7628e90cccda05f6661fefabcd6a5b88791df8ba27f7aab21bd5f17a
+size 3623
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/ca1709650afeccbebb6eb9473796e5f5_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/ca1709650afeccbebb6eb9473796e5f5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3ebc1c9d79a2063ffed4a4e63b09d17493419eab
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/ca1709650afeccbebb6eb9473796e5f5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cd6fd2e183879ca419c9a635832ce9c8c4a1bfa98478234cd8bee95eab52ecfc
+size 5328
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/d9843ac5dfc4bbe9e4d21b8898723b5e_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/d9843ac5dfc4bbe9e4d21b8898723b5e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c505720c28c8cc31464ad588fa68d653f4484f53
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/d9843ac5dfc4bbe9e4d21b8898723b5e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:010aed8e8edd803f88fe7dd27a6445aa80724486abe074ae502fe12512f16ac3
+size 13332
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/df6b7ae63e53e5f93dbd0a70acdae4a6_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/df6b7ae63e53e5f93dbd0a70acdae4a6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..92b0965e04ed862e2f548781119bdbf347912d35
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/df6b7ae63e53e5f93dbd0a70acdae4a6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7524ed4d7a6a50103ad79fcf0cf86cd88b0eede4993f3d22618985dc0f3a6775
+size 20129
diff --git a/marked/X/T-REC-X.1311-201102-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg b/marked/X/T-REC-X.1311-201102-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..53468c54b027f549a7452eed2c181f27165f235f
--- /dev/null
+++ b/marked/X/T-REC-X.1311-201102-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:012c55cf4534d1e1b1f851875b0e0f7e068c263e84eb126d5d11edef9e801515
+size 142561
diff --git a/marked/X/T-REC-X.1313-201210-I_PDF-E/raw.md b/marked/X/T-REC-X.1313-201210-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..125aa105703d78f0b30b198131af0a253cd65b75
--- /dev/null
+++ b/marked/X/T-REC-X.1313-201210-I_PDF-E/raw.md
@@ -0,0 +1,596 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1313
+
+(10/2012)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services – Ubiquitous sensor
+network security
+
+# --- **Security requirements for wireless sensor network routing**
+
+Recommendation ITU-T X.1313
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|-------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1339 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# **Recommendation ITU-T X.1313**
+
+# **Security requirements for wireless sensor network routing**
+
+## **Summary**
+
+Recommendation ITU-T X.1313 provides the security requirements for wireless sensor network routing. It explains the general network topologies and routing protocols in ubiquitous sensor networks. In addition, this Recommendation analyses the security threats facing wireless sensor networks.
+
+## **History**
+
+| Edition | Recommendation | Approval | Study Group |
+|---------|----------------|------------|-------------|
+| 1.0 | ITU-T X.1313 | 2012-10-14 | 17 |
+
+## **Keywords**
+
+Routing, security, USN, WSN.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2013
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|---|----------------------------------------------------------------------------------------------------------------------------------------|-------------|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 5 | Conventions ..... | 3 |
+| 6 | Characteristics of general network topologies and routing protocols on security considerations for wireless sensor networks (WSN)..... | 4 |
+| | 6.1 General features of routing in the configuration of network topology..... | 4 |
+| | 6.2 General network topologies in the WSN..... | 4 |
+| | 6.3 Characteristics of routing protocols in WSN..... | 5 |
+| 7 | Requirements for secure routing..... | 7 |
+| | 7.1 Requirements for sensor and base station ..... | 7 |
+| | 7.2 Security requirements for the neighbour discovery procedure..... | 7 |
+| | 7.3 Security requirements for routing set-up and packet delivery..... | 8 |
+| | 7.4 Security dimensions and requirements for secure routing ..... | 8 |
+| | Appendix I – Overview of wireless sensor routing protocols..... | 11 |
+| | I.1 Examples of existing routing protocols..... | 11 |
+| | Bibliography..... | 16 |
+
+
+
+# Recommendation ITU-T X.1313
+
+## Security requirements for wireless sensor network routing
+
+# 1 Scope
+
+Recommendation ITU-T X.1313 describes the security requirements for wireless sensor network routing and also covers the following:
+
+- general network topologies and routing protocols for wireless sensor networks (WSN)
+- security threats faced by WSN routing
+- security requirements for WSN routing.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.800] Recommendation ITU-T X.800 (1991), *Security architecture for Open Systems Interconnection for CCITT applications*.
+- [ITU-T X.805] Recommendation ITU-T X.805 (2003), *Security architecture for systems providing end-to-end communications*.
+- [ITU-T X.1311] Recommendation ITU-T X.1311| ISO/IEC 29180:2011, *Information Technology — Security framework for ubiquitous sensor networks*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 authentication** [ITU-T X.800]: See data origin authentication and peer-entity authentication in [ITU-T X.800].
+
+**3.1.2 confidentiality** [ITU-T X.800]: The property that information is not made available or disclosed to unauthorized individuals, entities or processes.
+
+**3.1.3 data integrity** [ITU-T X.800]: The property that data has not been altered or destroyed in an unauthorized manner.
+
+**3.1.4 key** [ITU-T X.800]: A sequence of symbols that controls the operation of encipherment and decipherment.
+
+**3.1.5 sensor** [b-ITU-T Y.2221]: An electronic device that senses a physical condition or chemical compound and delivers an electronic signal proportional to the observed characteristic.
+
+**3.1.6 sensor network** [b-ITU-T Y.2221]: A network comprised of interconnected sensor nodes exchanging sensed data by wired or wireless communication.
+
+**3.1.7 threat** [ITU-T X.800]: A potential violation of security.
+
+**3.1.8 ubiquitous sensor network (USN)** [b-ITU-T Y.2221]: A conceptual network built over existing physical networks which makes use of sensed data and provides knowledge services to anyone, anywhere and at any time, and where information is generated by using context awareness.
+
+## **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following terms:
+
+**3.2.1 actuator:** A receiving and transmitting for sensed data.
+
+**3.2.2 ad hoc on-demand distance vector (AODV):** An on-demand routing protocol that discovers routes on an "as-needed" basis for wireless ad hoc networks and wireless sensor networks. AODV builds routes using a route request (RREQ) and a route reply (RREP) query cycle. When a source node desires a route to a destination for which it does not already have a route, it broadcasts a route request (RREQ) packet across the network. Nodes receiving this packet update their information for the source node and set up backward pointers to the source node in the route tables.
+
+**3.2.3 node integrity:** The property wherein the node has not been altered or destroyed in an unauthorized manner.
+
+**3.2.4 routing:** The process for establishing a communication association between the sensor nodes. Routing involves determining the path, and transporting information through the network.
+
+**3.2.5 sensor network node:** A device that contains at least one sensor and zero or more actuators, with the capability of 1) using internal sensor data to control any actuators present, or 2) sending sensor data and receiving actuator commands over the network.
+
+**3.2.6 topology:** The physical and logical arrangement of the elements of a sensor network. In a WSN, it is represented as a collection of sensor nodes and gateways, some of which are connected by wireless links.
+
+**3.2.7 wireless sensor network (WSN):** A network that consists of a base station and a large number of sensor nodes with wireless transmission capability in the sensor networking domain of the USN.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|---------|--------------------------------------------------------------------------------|
+| ACQUIRE | Active query forwarding In sensor networks |
+| AES | Advanced Encryption Standard |
+| AODV | Ad hoc On-demand Distance Vector |
+| APTEEN | Adaptive Periodic Threshold-sensitive Energy-Efficient sensor Network protocol |
+| BS | Base Station |
+| CADR | Constrained Anisotropic Diffusion Routing |
+| CDMA | Code Division Multiple Access |
+| CH | Cluster Head |
+| DAG | Directed Acyclic Graph |
+| DAM | Distributed Aggregate Management |
+| DC | Data-Centric |
+| DODAG | Destination Oriented DAG |
+| DoS | Denial of Service |
+
+| | |
+|---------|---------------------------------------------------------------|
+| EBAM | Energy-Based Activity Monitoring |
+| EMLAM | Expectation-Maximization Like Activity Monitoring |
+| GBR | Gradient-Based Routing |
+| GPS | Global Positioning System |
+| ID | Identity |
+| IDS | Intrusion Detection System |
+| IDSQ | Information-Driven Sensor Querying |
+| IPS | Intrusion Prevention System |
+| LEACH | Low Energy Adaptive Clustering Hierarchy |
+| LML | Local Markov Loops |
+| MAC | Medium Access Control |
+| MAC | Message Authentication Code |
+| MCFA | Minimum Cost Forwarding Algorithm |
+| MECN | small Minimum Energy Communication Network |
+| OS | Operating System |
+| PEGASIS | Power-Efficient Gathering in Sensor Information Systems |
+| PHY | Physical |
+| RPL | IPv6 Routing Protocol for Low-power and Lossy networks |
+| RREP | Route Reply |
+| RREQ | Route Request |
+| RTLS | Real-Time Locating Systems |
+| SN | Sensor Network |
+| SOP | Self-Organizing Protocol |
+| SPIN | Sensor Protocols for Information via Negotiation |
+| TDMA | Time Division Multiple Access |
+| TEEN | Threshold-sensitive Energy-Efficient sensor Network protocols |
+| TPM | Trusted Platform Module |
+| USN | Ubiquitous Sensor Network |
+| WPAN | Wireless Personal Area Network |
+| WSN | Wireless Sensor Network |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The keywords "is required to" indicate a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation | International Standard is to be claimed.
+
+The keywords "is recommended" indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "is prohibited from" indicate a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation | International Standard is to be claimed.
+
+The keywords "can optionally" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means that the vendor may optionally provide the feature and still claim conformance with this Recommendation.
+
+# **6 Characteristics of general network topologies and routing protocols on security considerations for wireless sensor networks (WSN)**
+
+A WSN can be composed of more than one base station and several sensors. The base station can be a wired node with many resources, or it can have mobility with less computing resources and batteries. The sensors can be dust types for only sensing data, or they can store or route sensed information, for example, a clustering head or parent node which has more computing resources to enable the acquisition of sensed information from its child sensors, and to enable routing on the configured network topologies.
+
+## **6.1 General features of routing in the configuration of network topology**
+
+Routing is initialised as a neighbour discovery procedure. In WSNs, a base station(s) and many sensors are neighbours. The discovery procedure differs as determined by the relationship with each composed node on configuring the network topology. Also, redundancy and mobility of the base station should be considered.
+
+## **6.2 General network topologies in the WSN**
+
+The WSN nodes are typically organized into one of three types of network topology: the star, tree or mesh topology. Figure 1 shows the three basic types of network topology. In a star topology, each node is directly connected to a central node called the base station.
+
+In star networking, all sensors communicate with their base station. Neighbour discovery is thus performed between the base station and the sensors. The base station advertises its existence with its ID and location information periodically, and the sensors send their response register to the base station with their IDs. To maintain the network status actively, the current state would be exchanged between the base station and the sensor. If the base station or any sensor has failed, shut down or moved, the neighbour discovery would be started. As a result, control packets for neighbour discovery should be considered for security aspects.
+
+In a cluster tree network, the base station and sensors advertise their existence by making it known to each other so that the tree network can be configured. Here, intermediate sensors have batteries and more computing resources for routing to their parents or to the base station than leaf sensors that are responsible for sensing data.
+
+In a mesh topology network, there are at least two nodes with two or more paths between them. This type of topology allows for most transmissions to be distributed, and is reliable due to its multiple paths, even though it may be difficult and expensive to maintain the redundant connections between nodes.
+
+Sensors advertise themselves and solicit their neighbour with a one-hop distance, and are fully or partially connected with other sensors or base station(s) within their possible one-hop propagation. A mesh topology needs sensors with more computing resources and batteries than is required in a tree topology. A periodical neighbour discovery is needed to maintain a mesh network.
+
+In some cases, hybrid topologies exist that are a mix of at least two types of the three basic topologies with clustering. In such a case, clustering would be configured in the form of one or more than three network topologies.
+
+
+
+(a) Star
+
+(b) Cluster Tree
+
+(c) Mesh
+
+□ : sink node
+○ : sensor node
+
+(a).1 : communication between sink node and nodes
+(it contains the types of broadcast and unicast)
+
+(b).1 : sink node to node communication
+(b).2 : node to sink node communication
+(b).3 : communication between nodes
+
+(c).1 : communication between sink node to nodes
+(c).2 : communication between nodes
+
+Figure 1: Three general network topologies for a WSN-base station. (a) Star topology: A central sink node (blue square) connected to eight sensor nodes (white circles). Arrows labeled (a).1 point from sensor nodes to the sink. (b) Cluster Tree topology: A sink node at the top connected to a tree of sensor nodes. Arrows labeled (b).1 point from the sink to nodes, (b).2 from nodes to the sink, and (b).3 between nodes. A dashed circle encloses a group of nodes labeled 'Cluster'. (c) Mesh topology: A sink node at the top connected to a mesh of sensor nodes. Arrows labeled (c).1 point from the sink to nodes, and (c).2 point between nodes. A legend indicates: Blue square = sink node, White circle = sensor node.
+
+**Figure 1 – Three general network topologies for a WSN-base station**
+
+## 6.3 Characteristics of routing protocols in WSN
+
+### 6.3.1 General features of routing set-up features
+
+In the star topology, routing set-up is not needed because the sensors only send the sensed data to its base station. The address will be an IPv6 address of 6lowpan, a ZigBee address, or a user defined ID for delivering packets.
+
+In a tree and mesh topology, including clustering, each sensor finds its route to its base station for setting up the routing table after neighbour discovery. At this step, the tree join and leave operations from a parent node are performed by the sensors by treating the base station as a root node. Furthermore, the parent node checks the routing table for updating the current status, either periodically or on demand. Each node connects to a higher node in the tree and then to the base station, and data is routed from the leaf node to the base station via several intermediate nodes, which constitute the tree topology. In the tree topology network, a hierarchical routing scheme can be implemented. Also, an address is used for delivering packets between sensors to the base station. The address is used for the delivery of packets.
+
+At this stage, their IDs and routing metric values, which could be battery status, propagation delay, location, or network bandwidth, are used. Therefore, control packets containing the routing information, ID and routing path should be considered for security.
+
+For tree and clustering networking in particular, a parent node and cluster head exist, with the parent and head performing the functions of data aggregation and management of their child nodes. Therefore, their security should be more carefully considered.
+
+### 6.3.2 Security considerations for WSN routing
+
+Table 1 summarizes the above security considerations for routing features:
+
+**Table 1 – Security considerations for routing actions**
+
+| Topology | Targets of security | | | | Existing protocols | Remarks |
+|---------------|-----------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|
+| | Node | Neighbour discovery | Routing set-up | Packet delivery | | |
+| Star | Base station(s) /Sensors | Advertisement control packets, which are triggered periodically and moved; and contain ID and location by BS registration packets by sensors. | N/A | Address, ID, data, next node | Zigbee [b-Zigbee], IEEE 802.16.4 [b-IEEE 802.1.6.4] | |
+| Tree/ Cluster | Base station(s) /Parent sensors (cluster head sensors), child sensors | Advertisement control packets, which are triggered periodically and moved; and contain ID and location by BS and parent nodes. | Join and leave packets containing routing metric values between parent and child nodes with a root node as the BS on initialization and movement, reconstruction phase. | Address, ID, data, next node, routing table | LEACH protocol [b-Heinzelman] PEGASIS [b-Lindsey], TEEN and APTEEN [b-Manjeshwar-1], [b-Manjeshwar-2], MECN [b-Rodoplu], SOP [b-Subramanian], Sensor aggregates routing [b-Fang] | |
+| Mesh | Base station(s) /Sensors | Advertisement control packets from base stations and sensors containing ID location. | Routing set-up packets containing routing metric values on initialization and movement, reconstruction phase. | Address, ID, data, next node, routing table | SPIN [b-Chandrakasan], [b-Kulik], Directed diffusion [b-Intanagonwiwat], Rumor routing [b-Braginsky], MCFA [b-Ye], Gradient-based routing [b-Schurgers], ACQUIRE [b-Sadagopan], Energy aware routing [b-Shah], Routing protocols with random walks [b-Servetto] | |
+
+# **7 Requirements for secure routing**
+
+[ITU-T X.1311] describes security threats (clause 7.1.2) and dimensions (clause 9.1) in USN routing aspects. It includes the functional requirements on routing actions, as in Table 1, with the dimensions (clause 9.1). The requirements are shown in clause 11 of [ITU-T X.1311].
+
+## **7.1 Requirements for sensor and base station**
+
+For secure routing, each sensor node and base station should be self-reliable. However, because the sensors are lightweight, certain performance considerations must be addressed to satisfy the security dimensions [ITU-T X.1311].
+
+As the base station is more powerful than the sensors in terms of stored information and the management of WSN networks, it should be protected from DoS attacks and physical tampering to ensure its availability and reliability. Therefore, it should have tamper-proofing and a fault tolerant mechanism. Also, an IDS/IPS or a firewall would be provided in its wired/wireless network as separate systems or virtual forms. The requirements for each sensor and the base station are as follows:
+
+- The base station and sensor are each required to have an authenticator and the key to identify and authenticate each other initially.
+- Information stored in the base station and all sensors – especially information on sensed data, ID, and location is required for encryption and authentication.
+- To counter insider attacks, it is recommended that the base station guarantees node integrity such as TPM.
+- It is recommended that the base stations are allowed the sensor-node list initially for access control before configuration of the sensor network.
+- It is recommended that the sensor authorizes the ID for access control before configuration of the sensor network.
+- It is recommended that the base station be fault-tolerant, i.e., with regard to duplication and smooth replacement.
+- It is recommended that the base station is recommended to have a tamper-proofing mechanism installed in its hardware support, secure bootstrapping, OS enhancements, and software authentication and validation, i.e., by using TPM or sandbox technology.
+- The sensor can optionally have fault-tolerance or tamper-proofing.
+- The base station can optionally be protected by IDS/IPS or a firewall if it is a wire-lined device.
+- For countering insider attacks, sensors can optionally support node integrity.
+
+## **7.2 Security requirements for the neighbour discovery procedure**
+
+Neighbour discovery could be started through broadcasting messages from the base station. So this clause considers the security dimensions and threats for messages broadcast from a base station to all sensor nodes [ITU-T X.1311]. Also, the sensors could use the one-hop broadcasting way to discover its neighbours. After the procedure, all base stations and sensors could form multicast groups for efficient communication.
+
+- The base station is required to have an authorization method for sensors with a secrecy value i.e., a predefined authenticator, key material and ID.
+- Each sensor is required to adopt a lightweight authentication mechanism to confirm each other. If, after authenticating with the base station, the group is formed, then the authentication would be performed on the group identifier and a common secrecy value is encrypted with their group key.
+
+- Upon receipt of the broadcast messages, source and message authentication is required to be verified. An advertisement message is required to be authenticated to all the other nodes in a group-aware way on the sensor network.
+- As it is a form of response to the advertisement message from the sensors, a unicast message is required to be authenticated at the source.
+- For secure communication to protect ID, location information and computing resources, the encryption and key management mechanism is required to be needed for advertisement and solicitation.
+- Intermediate sensors can optionally check their authority using the lightweight access control method in the same way as for the group-aware common authenticator.
+
+## **7.3 Security requirements for routing set-up and packet delivery**
+
+The security requirements are described depending on the security dimensions and the threats posed by insider and outsider attacks [ITU-T X.1311]. When a route to the base station is set up, a routing metric such as the shortest path or delay can be used; furthermore, a cluster head or parent ID can be used as the routing metric on the defined routing topology and method. A reconstruction of the routing path is performed whenever the base station or sensors are moved, exhausted or there is a change of the head or parent node joining or leaving the sensor network.
+
+- The base station and all sensors are required to check the authority of their neighbour nodes to determine which is the next node to communicate with the base station. If cluster heads or parent nodes are elected, node authentication for the representative is required to be performed to prevent a sinkhole attack by disguising the node.
+- It is recommended that for routing configuration messages on routing information flooding, joining and leaving messages are required to be verified for integrity and source authority in a one-to-one manner. If a group is formed during the phase of neighbour discovery, the authentication key could be a group key for greater efficiency.
+- Routing configuration messages containing ID, location and metric information are required to be protected by the encryption and key management methods.
+- To provide fault-tolerance and avoid sinkhole or wormhole attacks, multi-paths for the base station can be optionally configured with different key materials for source and message authentication, and encryption.
+- It is recommended that, after completing routing set-up, packets through the routing paths are recommended to be encrypted and authenticated using proper key management, encryption and authentication mechanisms. The encryption and authentication methods for sensors are more lightweight than those for the base station.
+- When the data aggregation procedure is performed by cluster heads or parent nodes, key material and the methods for authentication and encryption of routing set-up or data delivery, can be optionally different in subgroups clustered by the heads or parents.
+
+## **7.4 Security dimensions and requirements for secure routing**
+
+This clause defines the functions which satisfy the security requirements under performance considerations. The requirements are described using the classification of targets for security in Table 1. Also, this clause refers to security techniques used in ubiquitous sensor networks and specific security requirements for USNs in [ITU-T X.1311].
+
+### **7.4.1 Base station and sensor aspects**
+
+The base station(s) could have an access control list with each secrecy value and ID of the sensors for initially checking their authentication and authorization together with the shared key information. The key could be pre-shared or generated by the secrecy value or third-party. Also, the
+
+nodes could have an encryption ability for stored information. The base station(s) and some sensors for data aggregation should have secure storage for privacy and confidentiality. The key management, rekey and revocation of the group key could be required for authentication and authorization; this is the same for the unique key for each secured storage. In particular, if the base station is wire-lined, IPS/IDS functions could be provided.
+
+A tamper-resistant module and trusted platform module for the nodes could be needed for hardware aspects.
+
+**Table 2 – Security dimensions and requirements**
+
+| Security dimensions | Node-specific requirements | | | | | |
+|------------------------|----------------------------|----------------|----------------|-------------------------------------------------------|---------------------|---------|
+| | Encryption | Key management | Secure storage | Initial access control, authentication, authorization | Tamper-proofed, TPM | IDS/IPS |
+| Access control | | | | Y | | |
+| Authentication | Y | Y | | Y | | |
+| Non-repudiation | | | | Y | | |
+| Confidentiality | Y | Y | Y | | | |
+| Communication security | Y | Y | Y | | | |
+| Data integrity | Y | | | | | |
+| Availability | | | | | Y | Y |
+| Privacy | Y | Y | Y | | | |
+| Resilience to attacks | Y | | | | Y | Y |
+
+### 7.4.2 Neighbour discovery aspects
+
+Authenticated advertisements should be broadcast. An authentication method is provided to initially send the advertisement. Here, ID information could be an authenticated anonymously or hidden within a continuously changing ID using a hash chain. In response, the registration message could be encrypted for protecting ID, location and routing metric information. Here, key material for packet delivery should be different from neighbour discovery to the routing set-up phase. Key management should include rekey and revocation procedures.
+
+**Table 3 – Security dimensions and requirements**
+
+| Security dimensions | Neighbour discovery requirements | | | | |
+|------------------------|----------------------------------|----------------|-----------------------------------|----------------|---------------------|
+| | Encryption | Key management | Source and message authentication | Data freshness | TPM, Fault-tolerant |
+| Access control | | | Y | Y | |
+| Authentication | | Y | Y | Y | |
+| Non-repudiation | | | Y | | |
+| Confidentiality | Y | Y | | | |
+| Communication security | Y | Y | | | |
+
+**Table 3 – Security dimensions and requirements**
+
+| Security dimensions | Neighbour discovery requirements | | | | |
+|-----------------------|----------------------------------|----------------|-----------------------------------|----------------|---------------------|
+| | Encryption | Key management | Source and message authentication | Data freshness | TPM, Fault-tolerant |
+| Data integrity | | | Y | Y | |
+| Availability | | | | | Y |
+| Privacy | Y | Y | Y | | |
+| Resilience to attacks | | | | | Y |
+
+### 7.4.3 Routing set-up and packet delivery aspects
+
+Regarding the topological features, there are some parents or cluster heads election and join/leave procedures for routing set-up. While setting up the routes, ID, location and routing metrics should be hidden or encrypted and authenticated; therefore encryption, ID anonymous, and key management procedures should be provided. In particular, key management contains creation, rekey and revocation for each routing set-up and packet delivery.
+
+**Table 4 – Security dimensions and requirements**
+
+| Security dimensions | Routing set-up and packet delivery requirements | | | | | |
+|------------------------|-------------------------------------------------|----------------|-----------------------------------|----------------|-------------------------|---------------------|
+| | Encryption | Key management | Source and message authentication | Data freshness | Secure data aggregation | TPM, Fault-tolerant |
+| Access control | | | Y | Y | | |
+| Authentication | | Y | Y | Y | Y | |
+| Non-repudiation | | | Y | | | |
+| Confidentiality | Y | Y | | | Y | |
+| Communication security | Y | Y | | | Y | |
+| Data integrity | | | Y | Y | Y | |
+| Availability | | | | | | Y |
+| Privacy | Y | Y | Y | | Y | |
+| Resilience to attacks | | | | | | Y |
+
+# Appendix I
+
+## Overview of wireless sensor routing protocols
+
+(This appendix does not form an integral part of this Recommendation.)
+
+## I.1 Examples of existing routing protocols
+
+Many mechanisms have been proposed for the routing of sensor networks. These routing mechanisms have taken into consideration the inherent features of sensor networks along with application and topological requirements. The task of finding and maintaining routes in sensor networks, while considering energy consumption, effectiveness of routing, reliability of data, and security, is not trivial.
+
+The following are the existing routing protocols.
+
+- Sensor protocols for information via negotiation (SPIN) [b-Heinzelman] [b-Chandrakasan] and [b-Kulik]
+This refers to a family of adaptive protocols called sensor protocols for information via negotiation (SPIN) that disseminate all the information of each node to every node in the network assuming that all nodes in the network are potential base stations. This enables a user to query any node and obtain the required information immediately. These protocols make use of the property that nodes in close proximity have similar data, and hence there is a need to only distribute the data that other nodes do not possess.
+- Directed diffusion [b-Intanagonwiwat]
+This refers to a popular data aggregation paradigm for WSNs, called directed diffusion. Directed diffusion is a data-centric (DC) and application-aware paradigm in the sense that all data generated by sensor nodes is named by attribute-value pairs. The main idea of the DC paradigm is to combine the data coming from different sources en route (in-network aggregation) by eliminating redundancy, minimizing the number of transmissions; thus saving network energy and prolonging its lifetime. Unlike traditional end-to-end routing, DC routing finds routes from multiple sources to a single destination that allows in-network consolidation of redundant data.
+- Rumour routing [b-Braginsky]
+Rumour routing is a variation of directed diffusion and is mainly intended for applications where geographic routing is not feasible. In general, directed diffusion uses flooding to inject the query to the entire network when there is no geographic criterion to diffuse tasks. However, in some cases there is only a small amount of data requested from the nodes, and thus the use of flooding is unnecessary. An alternative approach is to flood the events if the number of events is small and the number of queries is large. The key idea is to route the queries to the nodes that have observed a particular event rather than flooding the entire network to retrieve information about occurring events. In order to flood events through the network, the rumour routing algorithm employs long-lived packets, called agents. When a node detects an event, it adds such an event to its local table, called events table, and generates an agent.
+- MCFA [b-Ye]
+The MCFA (minimum cost forwarding algorithm) exploits the fact that the direction of routing is always known, that is, towards the fixed external base station. Hence, a sensor node need not have a unique ID or maintain a routing table. Instead, each node maintains the least cost estimate from itself to the base station. Each message to be forwarded by the sensor node is broadcast to its neighbours. When a node receives the message, it checks if it is on the least cost path between the source sensor node and the base station. If this is the
+
+case, it re-broadcasts the message to its neighbours. This process is repeated until the base station is reached.
+
+- Gradient-based routing [b-Schurgers]
+
+This refers to another variant of directed diffusion, called gradient-based routing (GBR). The key idea in GBR is to memorize the number of hops when *the interest* is diffused through the whole network. As such, each node can calculate a parameter called the height of the node, which is the minimum number of hops to reach the base station (BS).
+
+- Information-driven sensor querying (IDSQ) and constrained anisotropic diffusion routing (CADR) [b-Chu]
+
+Two routing techniques, namely, information-driven sensor querying (IDSQ) and constrained anisotropic diffusion routing (CADR) were proposed in [b-Chu]. CADR aims to be a general form of directed diffusion. The key idea is to query sensors and route data in the network so that the information gain is maximized while latency and bandwidth are minimized. CADR diffuses queries by using a set of information criteria to select which sensors can get the data. This is achieved by activating only the sensors that are close to a particular event and dynamically adjusting data routes. The main difference between this mechanism and directed diffusion is the consideration of information gain in addition to the communication cost. In CADR, each node evaluates an information/cost objective and route data based on the local information/cost gradient and end-user requirements. In IDSQ, the querying node can determine which node can provide the most useful information with the additional advantage of balancing the energy cost. However, IDSQ does not specifically define how the query and the information are routed between sensors and the BS. Therefore, IDSQ can be seen as a complementary optimization procedure. Simulated results have shown that these approaches are more energy-efficient than directed diffusion where queries are diffused in an isotropic fashion and reach the nearest neighbours first.
+
+- COUGAR [b-Yao]
+
+Another data-centric protocol called COUGAR, is named by author; it views the network as a huge distributed database system. The key idea is to use declarative queries in order to abstract query processing from the network layer functions such as the selection of relevant sensors and so on. COUGAR utilizes in-network data aggregation to obtain more energy saving. The abstraction is supported through an additional query layer that lies between the network and application layers. COUGAR incorporates an architecture for the sensor database system where sensor nodes select a leader node to perform aggregation and transmit the data to the BS. The BS is responsible for generating a query plan, which specifies the necessary information about the data flow and in-network computation for the incoming query and send it to the relevant nodes. The query plan also describes how to select a leader for the query. The architecture provides an in-network computation ability that can provide energy efficiency in situations where the generated data is huge. COUGAR has provided network-layer independent methods for data query.
+
+- ACQUIRE [b-Sadagopan]
+
+This refers to a technique for querying sensor networks called active query forwarding in sensor networks (ACQUIRE). Similar to COUGAR, ACQUIRE views the network as a distributed database where complex queries can be further divided into several sub-queries. The operation of ACQUIRE can be described as follows. The BS node sends a query, which is then forwarded by each node receiving the query. During this process, each node tries to respond to the query partially by using its pre-cached information and then forwards it to another sensor node. If the pre-cached information is not up-to-date, the nodes gather information from their neighbours within a look-ahead of $d$ hops. Once the query has been completely resolved, it is sent back through either the reverse or shortest-path to the BS.
+
+Hence, ACQUIRE can deal with complex queries by allowing many nodes to send responses.
+
+- Energy-aware routing [b-Shah]
+
+The objective of energy-aware routing protocol, a destination-initiated reactive protocol, is to increase the network lifetime. Although this protocol is similar to directed diffusion, it differs in the sense that it maintains a set of paths instead of maintaining or enforcing one optimal path at higher rates. These paths are maintained and chosen by means of a certain probability. The value of this probability depends on how low the energy consumption of each path can be achieved. By having paths chosen at different times, the energy of any single path will not deplete quickly. This can achieve longer network lifetime as energy is dissipated more equally among all nodes.
+
+- Routing protocols with random walks [b-Servetto]
+
+The objective of the random walks-based routing technique is to achieve load balancing in a statistical sense and by making use of multi-path routing in WSNs. This technique considers only large scale networks where nodes have very limited mobility. In this protocol, it is assumed that sensor nodes can be turned on or off at random times. Furthermore, each node has a unique identifier but no location information is needed. Nodes were arranged so that each node falls exactly on one crossing point of a regular grid on a plane, but the topology can be irregular. To find a route from a source to its destination, the location information or lattice coordination is obtained by computing distances between nodes using the distributed asynchronous version of the well-known Bellman-Ford algorithm [b-Bellman]. An intermediate node would select as the next hop the neighbouring node that is closer to the destination according to a computed probability. By carefully manipulating this probability, some kind of load balancing can be obtained in the network. The routing algorithm is simple as nodes are required to maintain little state information. Moreover, different routes are chosen at different times even for the same pair of source and destination nodes.
+
+- LEACH protocol [b-Heinzelman], [b-Chandrakasan]
+
+This introduces a hierarchical clustering algorithm for sensor networks, called low energy adaptive clustering hierarchy (LEACH). LEACH is a cluster-based protocol, which includes distributed cluster formation. LEACH randomly selects a few sensor nodes as cluster heads (CHs) and rotates this role to evenly distribute the energy load among the sensors in the network. In LEACH, the cluster head (CH) nodes compress data arriving from nodes that belong to the respective cluster, and send an aggregated packet to the base station in order to reduce the amount of information that must be transmitted to the base station. LEACH uses a TDMA (time division multiple access)/CDMA (code division multiple access) MAC to reduce inter-cluster and intra-cluster collisions. However, data collection is centralized and is performed periodically. Therefore, this protocol is most appropriate when there is a need for constant monitoring by the sensor network.
+
+- Power-efficient gathering in sensor information systems (PEGASIS) [b-Lindsey]
+
+An enhancement over the LEACH protocol was proposed. The protocol, called power-efficient gathering in sensor information systems (PEGASIS), is a near optimal chain-based protocol. The basic idea of the protocol is that in order to extend network lifetime, nodes need only communicate with their closest neighbours and they take turns in communicating with the base station. When the round of all nodes communicating with the base station ends, a new round will start and so on. This reduces the power required to transmit data per round as the power draining is spread uniformly over all nodes.
+
+- Threshold-sensitive energy-efficient sensor network protocols (TEEN) and adaptive periodic threshold-sensitive energy-efficient sensor network protocol (TEEN and (APTEEN), [b-Manjeshwar-1] and [b-Manjeshwar-2].
+
+Two hierarchical routing protocols called TEEN (threshold-sensitive energy-efficient sensor network protocol), and APTEEN (adaptive periodic threshold-sensitive energy-efficient sensor network protocol) are proposed respectively. These protocols were proposed for time-critical applications. In TEEN, sensor nodes sense the medium continuously, but the data transmission is done less frequently. A cluster head sensor sends its members a hard threshold, which is the threshold value of the sensed attribute and a soft threshold, which is a small change in the value of the sensed attribute that triggers the node to switch on its transmitter and transmit. Thus, the hard threshold tries to reduce the number of transmissions by allowing the nodes to transmit only when the sensed attribute is in the range of interest.
+
+APTEEN is a hybrid protocol that changes the periodicity or threshold values used in the TEEN protocol according to user needs and the type of the application. In APTEEN, the cluster-heads broadcasts attributes, thresholds, schedule, and count time. The node senses the environment continuously, and only those nodes which sense a data value at or beyond the hard threshold transmit.
+
+- Small minimum energy communication network (MECN) [b-Rodoplu]
+
+A protocol is proposed that computes an energy-efficient subnetwork, namely the minimum energy communication network (MECN) for a certain sensor network by utilizing a low power global positioning system (GPS). MECN identifies a relay region for every node. The relay region consists of nodes in a surrounding area where transmitting through those nodes is more energy-efficient than direct transmission.
+
+- Self-organizing protocol (SOP) [b-Subramanian]
+
+This describes a self-organizing protocol and an application taxonomy that was used to build architecture used to support heterogeneous sensors. Furthermore, these sensors can be mobile or stationary. Some sensors probe the environment and forward the data to a designated set of nodes that act as routers. Router nodes are stationary and form the backbone for communication. Collected data are forwarded through the routers to the more powerful BS nodes. Each sensing node should be able to reach a router in order to be part of the network. A routing architecture that requires the addressing of each sensor node has been proposed. Sensing nodes are identifiable through the address of the router node they are connected to. The routing architecture is hierarchical where groups of nodes are formed and merge when needed. The local Markov loops (LML) algorithm, which performs a random walk on spanning trees of a graph, was used to support fault tolerance and as a means of broadcasting.
+
+- Sensor aggregates routing [b-Fang]
+
+A set of algorithms for constructing and maintaining sensor aggregates were proposed. The objective is to collectively monitor target activity in a certain environment (target tracking applications). A sensor aggregate comprises those nodes in a network that satisfy a grouping predicate for a collaborative processing task.
+
+Three algorithms were proposed in [b-Fang]. The first algorithm is a lightweight protocol, distributed aggregate management (DAM), for forming sensor aggregates for a target monitoring task. The protocol comprises a decision predicate $P$ for each node to decide if it should participate in an aggregate, and a message exchange scheme $M$ for which it determines how the grouping predicate is applied to nodes. A node determines if it belongs to an aggregate based on the result of applying the predicate to the data of the node as well as information from other nodes. Aggregates are formed when the process eventually converges.
+
+The second algorithm, energy-based activity monitoring (EBAM) algorithm, estimates the energy level at each node by computing the signal impact area, combining a weighted form of the detected target energy at each impacted sensor assuming that each target sensor has an equal or constant energy level.
+
+The third algorithm, expectation-maximization like activity monitoring (EMLAM), removes the constant and equal target energy level assumption. EMLAM estimates the target positions and signal energy using received signals, and uses the resulting estimates to predict how signals from the targets may be mixed at each sensor. This process is iterated, until the estimate is sufficiently good.
+
+- RPL: IPv6 routing protocol for low- power and lossy networks [b-IETF RFC 6550]
+
+RPL organizes a topology as a directed acyclic graph (DAG) that is partitioned into one or more destination oriented DAGs (DODAGs). RPL works on two different layers; packet processing and forwarding, and routing optimization. Furthermore, RPL has three security options: unsecured, pre-installed key and authenticated. Pre-installed keys enable the nodes to process and generate secure RPL messages. With the authenticated option, nodes can join as leaves using only the pre-installed key. Joining as a router requires obtaining a key from an authenticated authority. Here in 'unsecured' mode, there is no security mechanisms applied.
+
+# Bibliography
+
+- [b-ITU-T Y.2221] Recommendation ITU-T Y.2221 (2010), *Requirements for support of ubiquitous sensor network (USN) applications and services in the NGN environment*.
+- [b-IEEE 802.16.2] IEEE 802.16.2™ (2004), *Recommended Practice for Local and metropolitan area networks: Coexistence of Fixed Broadband Wireless Access Systems*, IEEE.
+- [b-IETF RFC 6650] IETF RFC 6550 (2012), RPL: IPv6 Routing Protocol for Low-Power and Lossy Networks.
+- [b-ISO/IEC 11889-1] ISO/IEC 11889-1 (2009), *Information technology – Trusted Platform Module – Part 1: Overview*.
+- [b-Bellman] Bellman, R. (1958), *On a route problem*, Quarterly of Applied Mathematics Vol. 16, pp. 87-90.
+- [b-Braginsky] Braginsky, D., and Estrin, D. (2002), *Rumor routing algorithm for Sensor Networks*, Proceedings of the First Workshop on Sensor Networks and Applications (WSNA), Atlanta, GA.
+- [b-Chandrakasan] Heinzelman, W. R., Chandrakasan, A., and Balakrishnan, H. (2000), *Energy-efficient communication protocol for wireless microsensor networks*, Proceedings of the 33rd Annual Hawaii International Conference on System Sciences (HICSS'00).
+- [b-Chu] Chu, M., Haussecker, H., and Zhao, F. (2002), *Scalable Information-Driven Sensor Querying and Routing for Ad Hoc Heterogeneous Sensor Networks*, The International Journal of High Performance Computing Applications, Vol. 16, No. 3, pp. 293-313.
+- [b-Fang] Fang, Q., Zhao, F., and Guibas, L. (2003), *Lightweight sensing and communication protocols for target enumeration and aggregation*, Proceedings of the 4th ACM international symposium on Mobile ad hoc networking and computing (MOBIHOC), pp. 165-176.
+- [b-Heinzelman] Heinzelman, W., Kulik, J., and Balakrishnan, H. (1999), *Adaptive Protocols for Information Dissemination in Wireless Sensor Networks*, Proceedings of the 5th annual ACM/IEEE international conference on Mobile computing and networking (MobiCom'99), pp. 174-85, Seattle, WA.
+- [b-Intanagonwiwat] Intanagonwiwat, C., Govindan, R., and Estrin, D. (2000), *Directed diffusion: a scalable and robust communication paradigm for sensor networks*, Proceedings of the 6th annual international conference on Mobile computing and networking (MobiCom'00), pp. 56-67, Boston, MA.
+- [b-Kulik] Kulik, J., Heinzelman, W.R., and Balakrishnan, H. (2002), *Negotiation-based protocols for disseminating information in wireless sensor networks*, Wireless Networks, Vol. 8, No. 2/3, pp. 169-185.
+- [b-Lindsey] Lindsey, S., and Raghavendra, C. (2002), *PEGASIS: Power-efficient gathering in sensor information systems*, Aerospace Conference Proceedings, IEEE, Vol. 3, pp. 1125-1130.
+
+- [b-Manjeshwar-1] Manjeshwar, A., and Agarwal, D.P. (2000), *TEEN: a routing protocol for enhanced efficiency in wireless sensor networks*, Parallel and Distributed Processing Symposium, Proceedings 15th International, pp. 2009-2015.
+- [b-Manjeshwar-2] Manjeshwar, A., and Agarwal, D.P. (2002), *APTEEN: a hybrid protocol for efficient routing and comprehensive information retrieval in wireless sensor networks*, Parallel and Distributed Processing Symposium, Proceedings International, IPDPS, pp. 195-202.
+- [b-Rodoplu] Rodoplu, V., and Meng, T.H. (1999), *Minimum Energy Mobile Wireless Networks*, IEEE Journal Selected Areas in Communications, Vol. 17, No. 8, August, pp. 1333-1344.
+- [b-Sadagopan] Sadagopan, N. Krishnamachari, B., and Helmy, A. (2003), *The ACQUIRE mechanism for efficient querying in sensor networks*, in the Proceedings of the First IEEE International Workshop on Sensor Network Protocols and Applications, Anchorage, Alaska, May.
+- [b-Schurgers] Schurgers, C., and Srivastava, M.B. (2001), *Energy efficient routing in wireless sensor networks*, Military Communications Conference, 2001. MILCOM 2001. Communications for Network-Centric Operations: Creating the Information Force. IEEE, Vol.1, pp. 357-361.
+- [b-Servetto] Servetto, S., and Barrenechea, G. (2002), *Constrained random walks on random graphs: routing algorithms for large scale wireless sensor networks*, Proceedings of the 1st ACM international workshop on Wireless sensor networks and applications, pp. 12-21, Atlanta, Georgia, USA.
+- [b-Shah] Shah, R.C., and Rabaey, J. (2002), *Energy aware routing for low energy ad hoc sensor networks*, Wireless Communications and Networking Conference (WCNC), March, IEEE, Orlando, FL.
+- [b-Subramanian] Subramanian, L., and Katz, R.H. (2000), *An architecture for building self-configurable systems*, Proceedings of the 1st ACM international symposium on Mobile ad hoc networking & computing, MobiHoc '00, August, Boston, MA.
+- [b-Yao] Yao, Y., and Gehrke, J. (2002), *The cougar approach to in-network query processing in sensor networks*, ACM SIGMOD Record, Vol. 31, No. 3, pp. 9-18.
+- [b-Ye] Ye, F., Chen, A., Liu, S., and Zhang, L. (2001), *A scalable solution to minimum cost forwarding in large sensor networks*, Proceedings of the tenth International Conference on Computer Communications and Networks (ICCCN), pp. 304-309.
+- [b-Zigbee] Zigbee, <>.
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|---------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Terminals and subjective and objective assessment methods |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1314-201411-I_PDF-E/raw.md b/marked/X/T-REC-X.1314-201411-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..f35231aac01542e959a4845862ccce00af1d6773
--- /dev/null
+++ b/marked/X/T-REC-X.1314-201411-I_PDF-E/raw.md
@@ -0,0 +1,865 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1314
+
+(11/2014)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services – Ubiquitous sensor
+network security
+
+# --- **Security requirements and framework of ubiquitous networking**
+
+Recommendation ITU-T X.1314
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1339 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.1314
+
+# Security requirements and framework of ubiquitous networking
+
+## Summary
+
+Recommendation ITU-T X.1314 provides a high-level security framework for ubiquitous networking, analyses security threats and defines the security requirements to mitigate these threats in ubiquitous networking environment.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|------------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1314 | 2014-11-13 | 17 | 11.1002/1000/12345 |
+
+## Keywords
+
+Object, security framework, security requirement, security threats, ubiquitous networking.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2015
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|-----------------------------------------------------------------|------|
+| 1 Scope..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere ..... | 1 |
+| 3.2 Terms defined in this Recommendation ..... | 2 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 4 |
+| 6 High-level security framework for ubiquitous networking ..... | 4 |
+| 7 Security threats and requirements..... | 6 |
+| 7.1 Service and transport security domain ..... | 6 |
+| 7.2 End-user security domain ..... | 9 |
+| 7.3 UN application security domain ..... | 11 |
+| 7.4 Other network security domains..... | 14 |
+| 7.5 End-to-end connectivity security domain..... | 14 |
+| 7.6 Interface security domain ..... | 15 |
+| Appendix I – Security framework progress from other SDOs..... | 16 |
+| I.1 3GPP M2M security framework (b-3GPP TR33.868) ..... | 16 |
+| I.2 oneM2M security framework (b-oneM2M-TS-0003)..... | 17 |
+| Bibliography..... | 21 |
+
+# Introduction
+
+The ETSI Board 69 meeting approved to establish a machine-to-machine (M2M) Technical Committee (TC) in October 2009. ETSI TC M2M has the following responsibilities:
+
+- to collect and specify M2M requirements from relevant stakeholders;
+- to develop and maintain an end-to-end overall high level architecture for M2M;
+- to identify gaps where existing standards do not fulfil the requirements and provide specifications and standards to fill these gaps, where existing standards bodies or groups are unable to do so;
+- to provide the ETSI main centre of expertise in the area of M2M;
+- to co-ordinate ETSI's M2M activity with that of other standardization groups and forums.
+
+3GPP has initiated a series of study items on machine-to-machine communications. 3GPP network improvements for machine type communications will be studied. The objectives of these work items are to:
+
+- identify and specify general requirements for machine type communications;
+- identify service aspects where network improvements (compared to the current human-to-human (H2H) oriented services) are needed to cater for the specific nature of machine type communications;
+- specify machine type communication requirements for these service aspects where network improvements are needed for machine type communication;
+- study the architecture aspects based on the above requirements.
+
+ITU-T Study Group 13 approved Recommendation ITU-T Y.2002 on 29 October 2009. [ITU-T Y.2002] provides an overview of ubiquitous networking and of its support in next-generation networks (NGNs). The security considerations of ubiquitous networking were addressed as follows:
+
+- Basic considerations on the security architecture for NGN are addressed in [b-ITU-T Y.2001], while the security requirements of NGN are described in [b-ITU-T Y.2701]. Concerning the specifics of ubiquitous networking, the various kinds of terminals, devices and contents that can be involved will have to conform to the security requirements of the network they are willing to attach to. When attaching to NGN, the corresponding authentication and authorization requirements are described in [ITU-T Y.2702].
+- Objects involved in ubiquitous networking have their own identities and are interconnected involving more interactions throughout a dynamic and heterogeneous environment. Accordingly, security as well as the design of the security architecture for a secure information discovery and delivery to users, including persons and objects, is very crucial. Security measures should take into account, for all use, cases that rely upon NGN capabilities but which are in line with the guidelines and principles for ubiquitous networking.
+
+ITU-T Question 6/17 has standardized the security of ubiquitous sensor network (USN). Recommendations ITU-T X.1311, ITU-T X.1312, and ITU-T X.1313 respectively deal with the different security issues of USN:
+
+- Recommendation ITU-T X.1311 | ISO/IEC 29180, 'Information technology – Security framework for ubiquitous sensor networks', describes security threats to and security requirements of the USN. In addition, this Recommendation categorizes security technologies according to the security functions that satisfy the said security requirements and where the security technologies are applied in the security model of the USN. Finally, [b-ITU-T X.1311] presents the security functional requirements and security technologies.
+- Recommendation ITU-T X.1312, 'Ubiquitous sensor network middleware security guidelines', provides guidelines for USN middleware security. It analyses security threats on USN middleware and defines security requirements.
+- Recommendation ITU-T X.1313, 'Secure routing mechanisms for wireless sensor network', provides the security requirements for wireless sensor network routing. It explains the general network topologies and routing protocols in USNs. In addition, this Recommendation analyses the security threats facing wireless sensor networks.
+
+Ubiquitous networking anticipates a comprehensive and complex system in the future. Meanwhile, some important issues for ubiquitous telecommunication are already being developed by the major standards development organizations (SDOs).
+
+Security is one of the most important issues for ubiquitous networking. Security requirements and measurements to 3GPP network, USN and M2M service layer have already been studied among 3GPP, ITU-T and ETSI. However, there are limited discussions on security of ubiquitous networking so far. Therefore, more detailed security requirements to ubiquitous networking supported by NGN should be researched, and its security architecture should be provided based on the architectural model for ubiquitous networking in [ITU-T Y.2002].
+
+
+
+## Recommendation ITU-T X.1314
+
+# Security requirements and framework of ubiquitous networking
+
+# 1 Scope
+
+This Recommendation provides a high-level security framework for ubiquitous networking. This framework is divided into security domains, which include an analysis of security threats. High-level security requirements then are derived based on this analysis.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T Y.2002] Recommendation ITU-T Y.2002 (2009), *Overview of ubiquitous networking and of its support in NGN*.
+- [ITU-T Y.2702] Recommendation ITU-T Y.2702 (2008), *Authentication and authorization requirements for NGN release 1*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 next generation network (NGN)** [b-ITU-T Y.2001]: A packet-based network able to provide telecommunication services and able to make use of multiple broadband, QoS-enabled transport technologies and in which service-related functions are independent from underlying transport-related technologies. It enables unfettered access for users to networks and to competing service providers and/or services of their choice. It supports generalized mobility which will allow consistent and ubiquitous provision of services to users.
+
+**3.1.2 object** [b-ITU-T Q.1300]: An intrinsic representation of an entity that is described at an appropriate level of abstraction in terms of its attributes and functions.
+
+NOTE 1 [b-ITU-T Y.2002] – An object is characterized by its behaviour. An object is distinct from any other object. An object interacts with its environment including other objects at its interaction points. An object is informally said to perform functions and offer services (an object which makes a function available is said to offer a service). For modelling purposes, these functions and services are specified in terms of the behaviour of the object and of its interfaces. An object can perform more than one function. A function can be performed by the cooperation of several objects. See [b-ITU-T X.902] for further information.
+
+NOTE 2 [b-ITU-T Y.2002] – Objects include terminal devices (e.g., used by a person to access the network such as mobile phones, personal computers, etc.), remote monitoring devices (e.g., cameras, sensors, etc.), information devices (e.g., content delivery server), products, contents, and resources.
+
+**3.1.3 security domain** [b-ITU-T X.810]: A set of elements, a security policy, a security authority and a set of security-relevant activities in which the set of elements are subject to the security policy for the specified activities, and the security policy is administered by the security authority for the security domain.
+
+**3.1.4 threat** [b-ISO/IEC 27000]: Potential cause of an unwanted incident, which may result in harm to a system or organisation.
+
+**3.1.5 ubiquitous networking** [ITU-T Y.2002]: The ability for persons and/or devices to access services and communicate while minimizing technical restrictions regarding where, when and how these services are accessed, in the context of the service(s) subscribed to.
+
+**3.1.6 ubiquitous sensor network (USN)** [b-ITU-T Y.2221]: A conceptual network built over existing physical networks which makes use of sensed data and provides knowledge services to anyone, anywhere and at anytime, and where the information is generated by using context awareness.
+
+## **3.2 Terms defined in this Recommendation**
+
+None.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|----------|-------------------------------------------------|
+| 3GPP | 3rd Generation Partnership Project |
+| AE | Application Entity |
+| ANI | Application-to-Network Interface |
+| AS | Application Server |
+| CA | Certification Authority |
+| CDF | Charging Data Function |
+| CGF | Charging Gateway Function |
+| CSE | Common Services Entity |
+| CSF | Common Service Functions |
+| DoS | Denial of Service |
+| DDoS | Distributed Denial of Service |
+| DTLS | Datagram Transport Layer Security |
+| EAP | Extensible Authentication Protocol |
+| ETSI | European Telecommunications Standards Institute |
+| GGSN | Gateway GPRS Support Node |
+| GMSC | Gateway MSC |
+| H2H | Human-to-Human |
+| HPLMN | Home Public Land Mobile Network |
+| HSS | Home Subscriber Server |
+| ID | Identity |
+| IoT | Internet of Things |
+| IP | Internet Protocol |
+| IPSec | Internet Protocol Security |
+| IP-SM-GW | IP-Short-Message-Gateway |
+| ISDN | Integrated Services Digital Network |
+
+| | |
+|--------|----------------------------------------|
+| IWF | Interworking Function |
+| IWMSC | Interworking Mobile Switching Centre |
+| LTE | Long Term Evolution |
+| M2M | Machine-to-Machine |
+| MITM | Man-in-the-Middle |
+| MME | Mobile Management Entity |
+| MSC | Mobile Switching Centre |
+| MTC | Machine Type Communication |
+| NAS | Network Access Server |
+| NGN | Next-Generation Network |
+| NNI | Network-to-Network Interface |
+| NSE | Network Services Entity |
+| OSI | Open Systems Interconnection |
+| P-GW | Packet Data Network Gateway |
+| PII | Personally Identifiable Information |
+| PKI | Public Key Infrastructure |
+| PSTN | Public Switched Telephone Network |
+| QoS | Quality of Service |
+| RAN | Radio Access Network |
+| RFID | Radio Frequency Identifier |
+| SCS | Services Capability Server |
+| SDO | Standards Development Organization |
+| SGSN | Serving GPRS Support Node |
+| S-GW | Serving Gateway |
+| SME | Short Message Entity |
+| SMS-SC | Short Message Service – Service Centre |
+| SIM | Subscriber Identity Module |
+| TC | Technical Committee |
+| TLS | Transport Layer Security |
+| UE | User Equipment |
+| UICC | Universal Integrated Circuit Card |
+| UN | Ubiquitous Networking |
+| UNI | User-to-Network Interface |
+| USN | Ubiquitous Sensor Network |
+| VPLMN | Visited Public Land Mobile Network |
+| VPN | Virtual Private Network |
+
+# **5 Conventions**
+
+None.
+
+# **6 High-level security framework for ubiquitous networking**
+
+[ITU-T Y.2002] states that one of the ultimate objectives of ubiquitous networking (UN) is to meet the challenge of seamless communications of "anything" (e.g., persons and objects). UN will have to encompass the following characteristics:
+
+- ubiquitous connectivity allowing for whenever, whoever, wherever, and whatever types of communications;
+- pervasive reality for effective interface to provide connectable real world environments;
+- ambient intelligence allowing for innovative communications and providing increased value creation;
+
+There are security threats and challenges when "anythings" (e.g., persons and objects) communicate with each other; security requirements vary to a great extent for different UN applications. Many of the security threats can be mitigated with the implementation of traditional security processes and mechanisms. However, objects in UN have their own identities and their inter-communication in a dynamic and heterogeneous environment requires more interactivity. Accordingly, it is crucial that secure information discovery and secure information delivery to users (including persons and objects) should be carefully considered in the design of security framework for UN. Security measures should take into account all use cases that rely on NGN capabilities while at the same time be in line with the guidelines and principles for UN.
+
+Based on these identified security threats and challenges, security requirements are derived to mitigate security threats and address security challenges for UN.
+
+This Recommendation aims to provide a high-level security framework for UN, which is shown in Figure 1, based on the high-level architectural model for UN in NGN specified in [ITU-T Y.2002].
+
+
+
+The diagram illustrates the high-level security framework for the Ubiquitous Network (UN). It consists of six security domains:
+
+- UN applications security domain (III)**: Contains "Web service environments (IT + vehicle, health, etc.)".
+- Interface security domain (VI)**: Located at the top right, connected to domain (III) via the ANI interface.
+- End-user security domain (II)**: Contains "Connecting to anything" (Personal device, RFID tag, sensor, smartcard). It is connected to domain (I) via the UNI interface.
+- Service and transport security domain (I)**: The central domain, containing "Context-awareness (user and environment status recognition)", "Seamlessness (any time, any where, any device, any content, always connected)", and "Multi-networking (unicast/multicast, multihoming, multi-interfaces, multi-path)".
+- Other networks security domain (IV)**: Contains "IPv4/IPv6 networks", "Broadcasting networks", "Mobile/wireless networks", and "PSTN/ISDN". It is connected to domain (I) via the NNI interface.
+- End-to-end connectivity security domain (V)**: Represented by a large orange arrow at the bottom, spanning all domains.
+
+Interfaces are marked as ANI (Application Network Interface), UNI (User Network Interface), and NNI (Network Network Interface).
+
+X.1314(14)\_F01
+
+Figure 1 – High-level security framework for UN. The diagram shows six security domains: (I) Service and transport security domain, (II) End-user security domain, (III) UN applications security domain, (IV) Other networks security domain, (V) End-to-end connectivity security domain, and (VI) Interface security domain. Domain (I) is central, connected to (II) on the left and (IV) on the right. Domain (III) is at the top, connected to (I) and (VI). Domain (V) is a large orange arrow at the bottom spanning all domains. Interfaces ANI, UNI, and NNI are marked.
+
+**Figure 1 – High-level security framework for UN**
+
+In this framework, six security domains are defined. Each of these domains contains a group of security features that will meet certain threats and accomplishes certain security objectives.
+
+**Service and transport security domain (I):** The set of security features that provide the security assurance for signalling traffic and user traffic in the control and transport network of the UN.
+
+For example, one of the key issues of UN is congestion avoidance and control, which is either caused by concurrent services or by malicious attacks such as denial of service (DoS) or distributed denial of service (DDoS) attacks. When many objects are required to report service data in a short period of time, the resulting bulk converged data may overwhelm network capacity and lead to congestion, which in the worst case may cause the ubiquitous network to collapse. Other causes of congestion are mainly from malicious attacks such as DoS/DDoS attacks.
+
+Congestion blocks the normal communication and hence disables the proper functioning of the fundamental services of UN. For this reason, network congestion avoidance and control is one of the most significant problems to be solved in UN.
+
+**End-user security domain (II):** The set of security features that protect the object itself from malicious attacks, including object integrity, object application software security, privacy as well as communication security between objects and network.
+
+**UN applications security domain (III):** The set of security features that offer protection for services and applications over UN. Common application domain security features may include application level access control, web security, etc.
+
+**Other networks security domains (IV):** The set of security features of a neighbouring network. There are two possible cases. If the neighbouring network is also a ubiquitous network, then its network security requirements are in accordance with that of the ubiquitous network. On the other hand, if the neighbouring network is not a ubiquitous network, which might be either a mobile network or a fixed network, then there are different security mechanisms for these two kinds of networks.
+
+End-to-end connectivity security domain (V): The set of security features that provide secure end-to-end communication for UN. These features may include cross domain key management, identity management, etc.
+
+As a cross-domain security assurance, the end-to-end connectivity security domain may cover communication security assurance between end-user security domain and UN applications security domain, end-user security domain and other domains, and in-between end-user security domains. Cross-domain security assurance mainly ensures media plane data security, which includes encryption, integrity, and end-to-end user authentication, etc.
+
+NOTE 1 – When providing end-to-end communication domain security, it is required that any influences from the network domain onto the media plane user data should be avoided. However, the network domain can participate in key management or number assignment, or a third-party key management centre or certification authority (CA) can be introduced to provide key or certificate management. Pre-shared keys or a periodical change of keys can also be used. All these approaches can be used to provide end-to-end communication data security.
+
+NOTE 2 – In general, the end-to-end authentication and authorization, end-to-end data encryption and data integrity can be achieved within the ubiquitous network. However, when the ubiquitous network needs to communicate with or through other network domains, it is possible that end-to-end security protection be jeopardized due to the failure of encryption key negotiation. In these cases, when different network access mechanisms are utilized for accessing ubiquitous networks and other network domains, a common mechanism such as the Internet protocol (IP) access and data protection mechanism (e.g., transport layer security (TLS) or datagram transport layer security (DTLS)) may be utilized to further protect end-to-end communications.
+
+Security technologies for end-to-end communication mainly include encryption technology, digital signature technology, etc. These technologies can all be found in the 'Other networks security domain'.
+
+Interface security domain (VI): This refers to the access security and/or inter-connect security mechanisms of user-to-network interface (UNI), application-to-network interface (ANI) and network-to-network interface (NNI).
+
+UNI access security technologies have been included in the description in domain I and domain II above. ANI access security technologies have also been included in the description in domain I and domain III above. ANI access security and NNI security technologies include extensible authentication protocol (EAP), Internet protocol security (IPSec), etc. These technologies can also be found in the above first three domains.
+
+# **7 Security threats and requirements**
+
+Concerning the specifics of UN, various kinds of terminals, devices and content that can be involved will have to conform to the security requirements of the network they are willing to attach to. When attaching to NGN, the corresponding authentication and authorization requirements are described in [ITU-T Y.2702].
+
+## **7.1 Service and transport security domain**
+
+### **7.1.1 Security threats**
+
+The following threats exist in the service and transport domain.
+
+#### **7.1.1.1 Disclosure of privacy information**
+
+Some objects may be located in physically exposed sites. This leaves the attackers an opportunity to get user privacy information (such as personally identifiable information (PII)) from these objects, and attack the ubiquitous network from these objects.
+
+#### **7.1.1.2 Secure data transmission**
+
+There are generic security issues related to the confidentiality and integrity of signalling in UN.
+
+#### **7.1.1.3 Congestion**
+
+Due to the large number of objects, signalling traffic generated from present authentication and authorization mechanism will pose a tremendous pressure on the traffic generated from the network, especially when all these objects need to be logged into the system within a short period of time. This may lead to congestion and hence block normal data communication for legitimate services and applications. If no improvements are implemented, the present authentication and authorization mechanism will lead to vulnerability and an opportunity for the attackers to utilize and attack the system based on DoS/DDoS mechanisms.
+
+In a conventional communication network, the network side authenticates user terminals individually and generates the corresponding encryption and integrity keys. Hence when there are huge numbers of objects (many more than the number of conventional mobile terminals), this one-by-one key generation process will over-consume network-side resources and lead to vulnerability and an opportunity for the attackers to utilize and attack the system based on resource-depletion DoS/DDoS mechanism. Similarly, for the various kinds of services in the future Internet of things (IoT) network, the individual authentication mechanism for authenticating the same user and the same type of service equipment will be an enormous waste of network-side resources.
+
+#### **7.1.1.4 Man-in-the-middle attack**
+
+Attackers may initiate a man-in-the-middle (MITM) attack which results in the objects becoming disconnected from the ubiquitous network. Attackers may also trick the objects by sending spoofed requests or responses towards the ubiquitous network, resulting in the ubiquitous network making wrong judgements and hence damaging the network security.
+
+#### **7.1.1.5 Spoofed network messages**
+
+Attackers may utilize the security mechanisms of objects and send spoofed signalling commands to them to disconnect them from the ubiquitous network, or trick them to make wrong operations or wrong responses.
+
+### **7.1.2 Security requirements**
+
+The security requirements for the service and transport security domain mainly include:
+
+- authentication and authorization for network access;
+- secure transmission of voice, data and multimedia service data;
+- establishment of the virtual private network (VPN) over the Internet public infrastructure;
+- secure storage of privacy information including personal or company information;
+- countering measures against viruses, network-based attacks, etc.
+
+Although different communication networks have different characteristics and security requirements, most security issues on UN can be solved by the existing common and enhanced protection measures.
+
+For this reason, UN should provide the following security capabilities.
+
+#### **7.1.2.1 Overall security requirements**
+
+The overall security requirements of UN shall not be lower than that of NGN.
+
+More specifically, the security requirements of ubiquitous network abide by those of NGN. However, in certain UN services or under certain UN architectures, there may be new security requirements that are unique to UN, such as the congestion avoidance and control requirement of UN and other security requirements that are induced by certain trigger services in UN.
+
+#### **7.1.2.2 Confidentiality requirement**
+
+The confidentiality of signalling in UN shall be guaranteed. This refers to the confidentiality requirements of control plane data so that control plane data are properly secured from eavesdropping, etc. In this way, it is ensured that UN can process the services normally.
+
+#### **7.1.2.3 Integrity requirement**
+
+The integrity of signalling information and user data in UN shall be guaranteed. This refers to the data integrity requirements of both UN signalling information and user data, so that the signalling information is properly secured and the user data integrity requirements are met. In this way, it is ensured that UN can process the services normally.
+
+#### **7.1.2.4 Privacy requirement**
+
+The privacy information such as user identity and node location shall be protected. This refers to the protection of the PII from being eavesdropped or disclosed, as well as the protection of user location information, etc., from being obtained by attackers. Once this information is obtained by attackers, they may launch illegal attacks to objects.
+
+#### **7.1.2.5 General requirement on authentication**
+
+Multiple mechanisms of mutual authentication between objects and ubiquitous networks shall be supported so as to ensure that only legal objects may access the ubiquitous network.
+
+#### **7.1.2.6 Group authentication requirement**
+
+The number of UN terminals can be huge and based on the classification of all kinds of applications and services, there can be many UN terminal groups. UN needs to implement a unified management, and a unified resource allocation to these terminal groups. Therefore, it is necessary for UN to implement group authentication for these terminal groups.
+
+Group authentication of objects shall be supported. For group authentication, a group of objects may have a common UN group identity (ID) for authentication and authorization. The ubiquitous network or the UN application domain may authenticate and authorize the whole group of objects with this group ID, or may authenticate and authorize them individually.
+
+The authentication of group objects may be performed by an authentication agent or gateway, or by master equipment.
+
+Through a unified terminal gateway, mutual authentication can be implemented between the objects and the ubiquitous network. Firstly, the gateway shall implement mutual authentication with the ubiquitous network, and calculate the corresponding key materials. Secondly, the gateway shall implement mutual authentication with objects and, if successful, it shall send the above calculated key materials to the objects. In the meantime, the gateway shall inform the ubiquitous network and the authenticated object group. Thirdly, the objects shall generate authenticated encryption traffic keys based on the hash of its root key and the received key materials from the gateway, meanwhile the ubiquitous network shall also generate the authenticated encryption traffic key based on the hash of key materials and the root key of the authenticated objects. In this way, the communication security between the UN object group and the ubiquitous network is guaranteed.
+
+#### **7.1.2.7 General requirement for the keys**
+
+Based on the group authentication requirement, shared keys between objects and network-side entities shall be supported.
+
+Based on the open systems interconnection (OSI) protocol stack, shared keys of the same protocol layer between objects and network-side entities shall be supported.
+
+Based on the OSI protocol stack, keys of part or of all protocol layers may be generated by the ubiquitous network equipment.
+
+## **7.2 End-user security domain**
+
+### **7.2.1 Security threats**
+
+The following threats exist in the end-user domain.
+
+#### **7.2.1.1 Unauthorized access**
+
+When objects are physically or logically compromised, attackers may use simple analytical tools to read confidential data stored on objects.
+
+When objects are physically or logically compromised, attackers may disable the objects from providing services.
+
+#### **7.2.1.2 Fake objects**
+
+Through faking legitimate objects, attackers may inject data into legitimate objects and thereby initiate various cyber-attacks. These may include eavesdropping on the communications of objects, announcing spoofed routing information, reporting spoofed data, launching denial of service (DoS) attacks, etc.
+
+#### **7.2.1.3 Threat of selfish nodes among objects**
+
+Objects are supposed to collaborate with each other in order to provide more efficient services. However, for various reasons some objects may be reluctant to use their own power or available bandwidth for providing certain (typically data forwarding) services. These behaviours may lead to reduced network efficiency and, in worst cases, to the failure of the network.
+
+#### **7.2.1.4 Trojans, viruses, and spam attacks**
+
+These threats originate from application software bugs or operating system bugs.
+
+#### **7.2.1.5 Personally identifiable information disclosure**
+
+This information includes personal data, using habit, user location, etc. Attackers may collect these data and undertake comprehensive user behaviour analysis.
+
+### **7.2.2 Security requirements**
+
+The security requirements for objects can be very different depending on their types and corresponding characteristics. Different types of objects have distinct characteristics, and hence they have peculiar vulnerabilities and may face specific security threats. Consequently, different security requirements should be identified and the corresponding protection measures should be applied on these different types of objects. All these must be based on an in-depth analysis of the respective object characteristics, which include:
+
+- different physical characteristics including the storage capacity, communication and processing abilities of objects;
+- different services provided by objects;
+- different service environments of objects;
+- different service requirements of users, etc.
+
+Based on the above analysis, these differences in object characteristics will lead to differences in the security requirements of objects. These requirements are detailed in the following subclauses.
+
+#### **7.2.2.1 Physical protection requirements**
+
+Measures should be taken to protect objects from theft or from being physically acquired by attackers.
+
+Measures should be taken to prevent the universal integrated circuit card (UICC) or the subscriber identity module (SIM) card from being illegally removed or replaced by attackers.
+
+#### **7.2.2.2 Anti-virus, firewall protection requirements**
+
+Anti-virus software and firewall should be installed to prevent the objects from being attacked by Trojans, viruses and spam email.
+
+#### **7.2.2.3 Access control requirements**
+
+Access control mechanisms should be applied on objects to prevent them from being logically compromised, and to prevent them from disclosing user or objects information to other objects or network equipment.
+
+#### **7.2.2.4 Authentication requirement**
+
+Authentication should be required for users and other network equipment which require access to the sensor nodes.
+
+#### **7.2.2.5 Non-repudiation requirement**
+
+Logging should be provided for read and write operations on objects so that access to the ubiquitous network and usage of services can be identified.
+
+#### **7.2.2.6 Confidentiality requirement**
+
+The data stored on, and transmitted by, objects should be encrypted.
+
+#### **7.2.2.7 Data integrity requirement**
+
+Measures should be taken to prevent data on objects from being tampered with. More specifically, this refers to the protection of transmitted and received data on objects from tampering so that the proper functioning of UN services is guaranteed.
+
+#### **7.2.2.8 Availability requirements**
+
+Measures should be taken to protect sensor nodes from being logically compromised or from being attacked by viruses, both of which may lead to their being taken out of service. Measures should also be taken to ensure that objects collaborate with each other so that while network resources are being consumed, objects can contribute at the same time in the enhancement of their own resources.
+
+#### **7.2.2.9 Privacy requirement**
+
+Measures should be taken to protect user privacy information stored on objects, and to prevent personally identifiable information from being disclosed.
+
+**Table 1 – Relationship between security threats and security requirements of the end-user domain**
+
+| Threat Requirement | Unauthorized access of object data | Disable objects from service | Fake objects | Selfish nodes among objects | Trojans, viruses and spams attacks | Information disclosure |
+|---------------------------------|------------------------------------|------------------------------|--------------|-----------------------------|------------------------------------|------------------------|
+| Physical protection | √ | √ | √ | | | |
+| Anti-virus, firewall protection | | | | | √ | |
+| Access control | √ | √ | √ | | | √ |
+| Authentication | √ | √ | √ | | | √ |
+| Non-repudiation | √ | √ | √ | | | √ |
+| Confidentiality | √ | √ | √ | | | √ |
+| Data integrity | | | √ | | | |
+| Availability | | √ | | √ | √ | |
+| Privacy | √ | | | | | √ |
+
+## 7.3 UN application security domain
+
+### 7.3.1 Security threats
+
+The following threats exist in the UN application domain.
+
+#### 7.3.1.1 Privacy threats
+
+Extensive use of wireless communications, electronic tags (e-tags) and large amount of unattended equipment are three fundamental characteristics of UN, which make it outstanding for the privacy disclosure threat. In telemedicine, electronic payment, and positioning, etc., scenarios, user privacy information might be obtained by attackers and hence users will face a potential security threat of privacy disclosure and consequently hidden troubles.
+
+There are two types of privacy threats: privacy disclosure and malicious tracking:
+
+- Privacy disclosure: Privacy disclosure refers to the situation where important or valuable user information is directly or implicitly disclosed to attackers. This PII may include user's medical records, identity, hobbies, trade secrets, etc.
+- Malicious tracking: The user privacy information may be used by the attacker for malicious tracking of the user. For example, the privacy violator may track the user's whereabouts by utilizing the location information of e-tags. Robbers may identify the number and track the location of the valuables by utilizing their identification information.
+
+#### 7.3.1.2 Service abuse
+
+The potential threats of service abuse should be mitigated in UN. These may include illegal access to services by unauthorized users, and illegal access to non-customized services by authorized users, etc.
+
+#### 7.3.1.3 Identity impersonation
+
+There are large numbers of physically exposed and unattended objects in ubiquitous networks. These devices might be hijacked and used to masquerade as a client or application server to send data and perform operations. For example, in the intelligent home scenario attackers may hijack an UN device
+
+to masquerade as an application server so as to remotely compromise automatic door access control systems. Then the attackers may disable the alarm systems of the house, open the door and break in without any access card.
+
+#### **7.3.1.4 Application layer information eavesdropping/tampering**
+
+The ubiquitous network is a multi-domain, heterogeneous network. Each domain has its own specific issues. Therefore the security mechanisms for these network domains are relatively independent, leading to the potential risk and threat that the application layer data might be eavesdropped, injected and tampered.
+
+#### **7.3.1.5 Repudiation**
+
+Any user who has participated in a communication session may deny or repudiate the operations and commitments he or she had made.
+
+#### **7.3.1.6 Replay**
+
+Attackers may send a received message from the ubiquitous network to deceive the system.
+
+#### **7.3.1.7 Signalling congestion**
+
+As in conventional communication networks, the authentication between objects and ubiquitous network servers is currently performed individually. Due to the large number of objects, when these objects are required to participate in providing a service in a short period of time, they will produce massive amounts of authentication requirement messages towards the ubiquitous network application server. These massive messages may cause an overload of the ubiquitous network application server, which will ultimately lead to a congestion in the ubiquitous network signalling channel, and result in DoS of the application server.
+
+### **7.3.2 Security requirements**
+
+The basis of all UN applications is to achieve wide range information exchange between persons and UN terminals, as well as between UN terminals. These UN applications include various industry applications as well as public-serving applications, all of which fall in the category of the UN application domain security. Research works on security issues and security requirements need to be carried out in combination with a variety of application scenarios respectively, which include smart city, intelligent transportation, intelligent logistics, intelligent monitoring and control of the environment, smart community and intelligent home, smart health care, etc.
+
+There are commonalities and differences in security issues and security requirements for these applications scenarios. Common security requirements include:
+
+- identity authentication and access control for operating users;
+- source encryption and integrity protection for sensitive industrial data;
+- use of certificates and application of public key infrastructure (PKI) for identity authentication;
+- use of digital signature for non-repudiation and security audit, etc.
+
+Besides, application-specific security requirements should be identified in combination with the corresponding intelligent applications, for which the following aspects of targeted research should be carried out:
+
+- the characteristics of these intelligent applications;
+- the application scenarios;
+- the service clients of these intelligent applications;
+- the user-specific requirements of these intelligent applications, etc.
+
+Regarding the common security issues in the UN application domain, the following security requirements can be mainly identified.
+
+#### **7.3.2.1 Identity authentication requirement**
+
+The true identity of both the UN server and the objects should be authenticated so that identity impersonation and cloning of object attacks can be avoided.
+
+#### **7.3.2.2 Service authentication requirement**
+
+The UN application server should authenticate the objects for the right to use the service, so that illegal, unauthorized access to services can be avoided. Rigorous service authentication must be enforced before objects are permitted to use the services.
+
+#### **7.3.2.3 Group authentication requirement**
+
+Ubiquitous network applications typically rely on the support of a large number of objects, and these terminals may be classified into a group. Hence a group authentication capability is an essential requirement for the ubiquitous network application server.
+
+#### **7.3.2.4 Privacy protection requirement**
+
+This UN capability ensures that user behaviour and communication contents are not disclosed. This information includes the communication content, user location, and user identity, etc.
+
+#### **7.3.2.5 Integrity protection requirement**
+
+In ubiquitous networks, malicious objects may inject or tamper application layer messages. Therefore, it is required that unauthorized deletion, insertion and copy operations cannot be performed in the UN application layer. Since the ubiquitous network is a heterogeneous network and the security mechanisms for this network are independent and inconsistent, end-to-end application layer integrity protection is therefore required for the communications crossing the ubiquitous network.
+
+#### **7.3.2.6 Confidentiality protection requirement**
+
+In ubiquitous networks, the variety of data and messages should only be viewed by authorized users. Confidentiality protection mechanisms provide UN with the capability to prevent unauthorized access to UN applications and prevent unauthorized reading of the application layer data. Since the ubiquitous network is a heterogeneous network and the security mechanisms for this network are independent and inconsistent, end-to-end application layer confidentiality protection is therefore required for the communications crossing the ubiquitous network.
+
+#### **7.3.2.7 Key protection requirement**
+
+The protection of keys can be achieved by dynamically downloading key parameters and dynamically updating login passwords.
+
+#### **7.3.2.8 Non-repudiation requirement**
+
+Non-repudiation mechanisms ensure that the communicating parties cannot falsely deny their actions or the time when they conducted these actions. For example, identity authentication, digital signature and time stamp mechanisms can be utilized to provide non-repudiation capability for the ubiquitous network.
+
+#### **7.3.2.9 Anti-replay requirement**
+
+This is a mechanism that provides UN with the capability to resist replay attacks.
+
+**Table 2 – Relationship between security threats and security requirements of UN applications domain**
+
+| Threat Requirement | Eavesdrop | Tamper | Service abuse | Privacy disclosure | Replay attack | Signalling congestion | Repudiation attack |
+|-------------------------------------|------------------|---------------|----------------------|---------------------------|----------------------|------------------------------|---------------------------|
+| Integrity | | √ | | | | | |
+| Confidentiality | √ | | | √ | | | |
+| Authentication | | | √ | | | √ | |
+| Privacy | | | | √ | | | |
+| Anti-replay | | | | | √ | | |
+| Non-repudiation | | | | | | | √ |
+
+## **7.4 Other network security domains**
+
+### **7.4.1 Security threat**
+
+The security threat for other network domains is consistent with those of the existing mobile network and fixed network.
+
+### **7.4.2 Security requirements**
+
+The security requirements for other network domains should satisfy those of the existing mobile network and fixed network.
+
+## **7.5 End-to-end connectivity security domain**
+
+### **7.5.1 Security threats**
+
+The security threat for the end-to-end communication domain mainly includes MITM attacks, eavesdropping, illegally obtaining end-to-end encryption keys or impersonating end users or objects, etc. All these attacks may impair the security for end-to-end communication.
+
+The following threats exist in the end-to-end communication domain.
+
+#### **7.5.1.1 Disclosure of privacy information**
+
+Through number analysis or location trace software, etc., it is not difficult to trace the user's location information or the user's home location information in the communication process of a ubiquitous network. Attackers may hence obtain and utilize this privacy information and launch position-associated attacks and endanger end-to-end communication security.
+
+#### **7.5.1.2 Man-in-the-middle attack**
+
+By means of MITM attack in an end-to-end communication process, the attackers from their intermediate nodes may launch attacks on any one end of the communication process. Through MITM attacks, communication data may be eavesdropped or sabotaged, leading to failure of providing regular UN services. For example, if the application domain is attacked the application domain services and applications may be compromised. If terminals are attacked, their ability to support applications and services may be compromised.
+
+### **7.5.2 Security requirements**
+
+The security requirements for the end-to-end communication domain should be able to prevent MITM attacks, prevent illegally obtaining of encryption keys, and prevent illegal end users and fake objects from accessing the ubiquitous network.
+
+#### **7.5.2.1 Confidentiality requirement**
+
+The confidentiality of data in end-to-end communications should be ensured. For example, in order to protect the confidentiality of end-to-end media data communication, encryption algorithms should be used.
+
+#### **7.5.2.2 Integrity requirement**
+
+The integrity of the end-to-end communication data should be ensured. For example, in order to protect the integrity of end-to-end media data communication, integrity algorithms should be used.
+
+#### **7.5.2.3 Privacy requirement**
+
+User privacy information should be protected and illegally obtaining user privacy information should be prohibited. The user privacy information includes the user location information and the user identity information. The assurance of using legal terminals and using legal applications can effectively protect user privacy information from disclosure.
+
+#### **7.5.2.4 General requirement on authentication**
+
+Authentication and authorization mechanisms should be introduced to ensure end-to-end communication safety. Terminals should be able to authenticate legal services and applications, while services and applications should be able to authenticate legal terminals.
+
+#### **7.5.2.5 Key management requirement**
+
+Keys for end-to-end communication may be distributed from the network domain, or from the third-party key management centre or CA. Communication parties should ensure the safety of the communication keys through pre-shared keys or through a periodical change of encryption keys.
+
+## **7.6 Interface security domain**
+
+### **7.6.1 Security threat**
+
+The security threat for the interface domain mainly includes illegal end users trying to access ubiquitous networks; using illegal or impersonation applications to try to access ubiquitous networks; other illegal networks trying to access ubiquitous networks; attackers from end-user domains; and network domains and other network domains trying to attack the ubiquitous network. All these attacks may impair the stability and security of the ubiquitous network.
+
+### **7.6.2 Security requirements**
+
+The security requirements for the interface domain should be able to ensure that legal users have safe access to ubiquitous networks, legal applications have normal access to ubiquitous networks, and other legal networks have normal access to ubiquitous networks. The security requirements should be able to clean/cut off abnormal traffic attacks originating from the end-user domain, the network domain and other network domains.
+
+**Appendix I**
+
+**Security framework progress from other SDOs**
+
+(This appendix does not form an integral part of this Recommendation.)
+
+**I.1 3GPP M2M security framework (b-3GPP TR33.868)**
+
+3GPP has defined M2M security framework in [b-3GPP TR33.868]. The detailed architecture is described in Figure I.1.
+
+
+
+The diagram illustrates the 3GPP M2M security framework architecture. It shows the following components and connections:
+ - **VPLMN Area:** Contains MTC UE application, UE, RAN, MSC, MME, SGSN, and S-GW.
+ - **HPLMN Area:** Contains IP-SM-GW, SMS-SC/GMSC/IWMSC, CDF/CGF, HSS, MTC-IWF, GGSN/P-GW, and Services capability server (SCS).
+ - **External:** Application servers (AS) 1 and 2.
+ - **Interfaces:** Um/Uu/LTE-Uu between UE and RAN; T5a, T5b, T5c between MTC-IWF and SGSN/MME/MSC; T4 between MTC-IWF and SMS-SC; S6m between MTC-IWF and HSS; Tsp between MTC-IWF and SCS; Gi/SGi between GGSN/P-GW and SCS/AS.
+ - **Security Areas:** Labeled A1, A2, A3 (UE to various network nodes), B1, B2 (Network nodes to AS), and C1, C2 (End-to-end paths).
+ - **Models:** Indirect Model (1), Direct Model (2), and Hybrid Model (1 + 2).
+
+Figure I.1 – Potential high-level security architecture for 3GPP architecture for machine type communication (MTC)
+
+**Figure I.1 – Potential high-level security architecture for 3GPP architecture for machine type communication (MTC)**
+
+The following defines potential high-level security architecture for MTC non-roaming architecture. Three different areas are defined. When analysing the security aspects of the key issues, the area(s) being impacted by the key issues should be considered. It should also be noted that the key issues analysed could be related to more than one area, e.g., items A and B.
+
+16 Rec. ITU-T X.1314 (11/2014)
+
+- A) Security for MTC communication between the user equipment (UE) and 3GPP network can be further divided into:
+ - A1) Security for MTC communication between UE and radio access network (RAN);
+ - A2) Security for MTC communication between UE and network access server (NAS);
+ - A3) Security for MTC communication between UE and MTC-interworking function (IWF).
+- B) Security for MTC communication between the 3GPP network and an entity outside the 3GPP network can be further divided into:
+ - B1) Security for MTC communication between the MTC server and 3GPP network in indirect deployment model. This can be further divided into security aspects when the MTC server is within the 3GPP network and when it is outside the 3GPP network;
+ - B2) Security for MTC communication between the MTC application and 3GPP network in direct deployment model.
+
+The communication between MTC server and MTC application is out of 3GPP scope.
+
+- C) Security for MTC communication between an entity outside the 3GPP network and UE can be further divided into:
+ - C1) Security for MTC communication between the MTC server and UE in indirect deployment model;
+ - C2) Security for MTC communication between the MTC application and UE in direct deployment model.
+
+## **I.2 oneM2M security framework (b-oneM2M-TS-0003)**
+
+### **I.2.1 oneM2M functional architecture**
+
+The oneM2M functional architecture in Figure I.2 comprises of the following functions:
+
+- Application Entity (AE): The AE represents an instantiation of application logic for end-to-end M2M solutions. Each AE is identified with a unique AE-ID. Examples of the AEs can be an instance of a fleet tracking application, a remote blood sugar monitoring application, a power metering application, or a controlling application.
+- Common Services Entity (CSE): A CSE represents an instantiation of a set of "common service functions" of the M2M environments. Such service functions are exposed to other entities through reference points Mca and Mcc. Reference point Mcn is used for accessing underlying network service entities. Each CSE is identified with a unique CSE-ID.
+- Examples of service functions offered by CSE include: data management, device management, M2M subscription management, and location services. Such "sub-functions" offered by a CSE may be logically and informatively conceptualized as common services functions (CSFs). The normative resources which implement the service functions in a CSE can be mandatory or optional.
+- Underlying Network Services Entity (NSE): A NSE provides services from the underlying network to the CSEs. Examples of such services include device management, location services and device triggering. No particular organization of the NSEs is assumed.
+
+NOTE – Underlying networks provide data transport services between entities in the oneM2M System. Such data transport services are not included in the NSE.
+
+
+
+Figure I.2 – oneM2M functional architecture diagram. The diagram is divided into two domains by a vertical dashed line: 'Field domain' on the left and 'Infrastructure domain' on the right. In the Field domain, there is a stack of three boxes: 'AE' at the top, 'CSE' in the middle, and 'NSE' at the bottom. They are connected by vertical lines with labels: 'Mca' between AE and CSE, and 'Mcn' between CSE and NSE. In the Infrastructure domain, there is a similar stack: 'AE' at the top, 'CSE' in the middle, and 'NSE' at the bottom, connected by 'Mca' and 'Mcn' respectively. A diagonal line labeled 'Mca' connects the 'AE' box in the Field domain to the 'CSE' box in the Infrastructure domain. A horizontal line labeled 'Mcc' connects the 'CSE' box in the Field domain to the 'CSE' box in the Infrastructure domain. From the 'CSE' box in the Infrastructure domain, a line labeled 'Mcc'' points to a cloud shape containing the text 'To infrastructure domain of other service provider'. The reference 'X.1314(14)\_FI.2' is located at the bottom right of the diagram.
+
+**Figure I.2 – oneM2M functional architecture**
+
+### **I.2.2 High level overview of the security architecture in oneM2M**
+
+The architecture consists of following layers:
+
+- Security functions layer
+This layer contains a set of security functions that are exposed at reference point Mca and Mcc. These security functions can be classified into six categories; they are identification, authentication, authorization, security association, sensitive data handling and security administration.
+- Security environment abstraction layer
+This layer implements various security capabilities such as key derivation, data encryption/decryption, signature generation/verification, security credential read/write from/to the secure environments, and so on. The security functions in the security functions layer invoke these functions in order to do the operations related to the secure environments. In addition this layer also provides physical access to the secure environments. Implementation of this is out of scope of the present document. This layer is not specified in the initial release but is expected to be considered in future releases.
+- Secure environment layer
+This layer contains one or multiple secure environments that provide various security services related to sensitive data storage and sensitive function execution. The sensitive data includes SE capability, security keys, local credentials, security policies, identity information, subscription information, and so on. The sensitive functions include data encryption, data decryption, and so on. Implementation of secure environments is out of scope of the present document.
+
+
+
+Figure I.3: High level overview of the Security architecture in oneM2M. The diagram shows a layered architecture. At the top is the 'Security services' layer, which includes a 'Security API (Mca, Mcc) (not specified in this document)'. Below this is the 'Security functions layer', which contains six components: 'Identification and authentication', 'Authorization', 'Identity management', 'Security association', 'Sensitive data handling', and 'Security administration'. Below the security functions layer is the 'Secure environment abstraction layer (not specified in this document)'. At the bottom is the 'Secure environments layer', which contains multiple 'Secure environment n' blocks. Each 'Secure environment n' block contains two components: 'Sensitive data' and 'Sensitive functions'.
+
+X.1314(14)\_Fl.3
+
+**Figure I.3 – High level overview of the Security architecture in oneM2M**
+
+Design principles:
+
+- Security services are modular and configurable according to the needs of the hosting CSE, its supported reference points and its purpose.
+- The architecture is split into several components and sub-components providing a modular design. With this design, mapping of the architecture to different nodes and entities is enabled.
+- Depending on the requirements of each entity, security should consist of components relevant to fulfil the requirements of the respective node or entity and the intended use case.
+- The architecture may need to be adapted to be suitable for implementation in different entities. For example, the architecture can be mapped to different device classes.
+- The security administration component shall enable administration of all sensitive resources (data and functions) and shall also allow configuration and extension of security services itself.
+- The secure environment within the CSE is accessed via the secure environment abstraction layer and shall hold all sensitive resources.
+
+### **I.2.3 Security layers**
+
+#### **I.2.3.1 Security service layer**
+
+The security service layer provides the following services:
+
+- Access management:
+ - authorization;
+ - authentication;
+ - access control.
+- Sensitive data handling:
+ - sensitive functions protection;
+ - secure storage.
+- Security association establishment:
+
+- secure connection via secure session establishment;
+ - secure connection via object security.
+- Security Administration (including remote security provisioning)
+- Identity Protection
+
+Each of these services provides functions and resources on the Security Service and Administration API.
+
+#### **I.2.3.2 Secure environment abstraction layer**
+
+The secure environment abstraction layer (not specified in the present document) provides access to the secure environment via a general security transport API. A Plug-in associated to the type of secure environment shall provide physical/logical connectivity to the secure environment. The secure environment abstraction Layer shall also be accessible on the service layer.
+
+# Bibliography
+
+- [b-ITU-T Q.1300] Recommendation ITU-T Q.1300 (1995), *Telecommunication applications for switches and computers (TASC) – General overview*.
+- [b-ITU-T X.810] Recommendation ITU-T X.810 (1995) | ISO/IEC 10181-1:1996, *Information technology – Open Systems Interconnection – Security frameworks for open systems: Overview*.
+- [b-ITU-T X.902] Recommendation ITU-T X.902 (2009) | ISO/IEC 10746-2:2009, *Information technology – Open Distributed Processing – Reference model: Foundations*.
+- [b-ITU-T X.1311] Recommendation ITU-T X.1311 (2011) | ISO/IEC 29180:2012, *Information technology – Security framework for ubiquitous sensor networks*.
+- [b-ITU-T X.1312] Recommendation ITU-T X.1312 (2011), *Ubiquitous sensor network middleware security guidelines*.
+- [b-ITU-T X.1313] Recommendation ITU-T X.1313 (2012), *Security requirements for wireless sensor network routing*.
+- [b-ITU-T Y.2001] Recommendation ITU-T Y.2001 (2004), *General overview of NGN*.
+- [b-ITU-T Y.2221] Recommendation ITU-T Y.2221 (2010), *Requirements for support of ubiquitous sensor network (USN) applications and services in the NGN environment*.
+- [b-ITU-T Y.2701] Recommendation ITU-T Y.2701 (2007), *Security requirements for NGN release 1*.
+- [b-ISO/IEC 27000] ISO/IEC 27000:2012, *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+- [b-3GPP TR33.868] 3GPP TR33.868 Release 12 (2013), *Security aspects of Machine-Type Communications (MTC)*.
+- [b-oneM2M-TS-0003] TS-0003-Security\_Solutions-V-0.7.1 (2014), *oneM2M Security Solutions*.
+- [b-oneM2M-TS-0002] oneM2M-TS-0002-V-0.6.2 (2013), *oneM2M Requirements Technical Specification*.
+- [b-oneM2M-TS-0001] oneM2M-TS-0001-V-1.0.0 (2014), *oneM2M Functional Architecture*.
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|---------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Terminals and subjective and objective assessment methods |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.136-199708-I_PDF-E/raw.md b/marked/X/T-REC-X.136-199708-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..1ac4e3ffa490c551ced7fcd91e21c6b766f23395
--- /dev/null
+++ b/marked/X/T-REC-X.136-199708-I_PDF-E/raw.md
@@ -0,0 +1,702 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt symbol.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# CCITT
+
+THE INTERNATIONAL
+TELEGRAPH AND TELEPHONE
+CONSULTATIVE COMMITTEE
+
+## X.136
+
+(09/92)
+
+# DATA COMMUNICATION NETWORKS NETWORK ASPECTS ---
+
+# ACCURACY AND DEPENDABILITY PERFORMANCE VALUES FOR PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL PACKET-SWITCHED SERVICES
+
+
+
+CCITT logo: a stylized globe with the letters CCITT inside.
+
+Recommendation X.136
+
+---
+
+# FOREWORD
+
+The CCITT (the International Telegraph and Telephone Consultative Committee) is a permanent organ of the International Telecommunication Union (ITU). CCITT is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The Plenary Assembly of CCITT which meets every four years, establishes the topics for study and approves Recommendations prepared by its Study Groups. The approval of Recommendations by the members of CCITT between Plenary Assemblies is covered by the procedure laid down in CCITT Resolution No. 2 (Melbourne, 1988).
+
+Recommendation X.136 was revised by Study Group VII and was approved under the Resolution No. 2 procedure on the 10th of September 1992.
+
+# --- CCITT NOTES
+
+- 1) In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized private operating agency.
+- 2) A list of abbreviations used in this Recommendation can be found in Annex C.
+
+## Recommendation X.136
+
+# ACCURACY AND DEPENDABILITY PERFORMANCE VALUES FOR PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL PACKET-SWITCHED SERVICES
+
+(Malaga-Torremolinos, 1984; amended at Melbourne, 1988, revised 1992)
+
+The CCITT,
+
+*considering*
+
+- (a) that Recommendation X.1 specifies the international user classes of service in public data networks;
+- (b) that Recommendation X.2 specifies the international data transmission services and optional user facilities in public data networks;
+- (c) that Recommendation X.25 specifies the DTE/DCE interface for packet mode terminals connected to public data networks by dedicated circuit;
+- (d) that Recommendation X.75 specifies the packet-switched signalling system between public data networks providing data transmission services;
+- (e) that Recommendation X.323 specifies general arrangements for interworking between packet-switched public data networks;
+- (f) that Recommendation X.96 specifies call progress signals in public data networks;
+- (g) that Recommendation X.110 specifies the international routing principles and routing plan for public data networks;
+- (h) that Recommendation X.213 defines the OSI Network Layer service;
+- (i) that Recommendation X.140 defines general quality of service parameters for communication via public data networks;
+- (j) that Recommendation X.134 specifies portion boundaries and packet layer reference events for defining packet-switched performance parameters;
+- (k) that Recommendation X.135 specifies speed of service performance values for public data networks when providing international packet-switched service;
+- (l) that Recommendation X.137 specifies availability performance values for public data networks when providing international packet-switched service,
+
+*unanimously declares*
+
+- (1) that the accuracy and dependability parameters defined in this Recommendation shall be used in the planning and operation of international packet-switched data communication services provided in accordance with Recommendations X.25 and X.75;
+- (2) that in such services, the performance values specified in this Recommendation shall be taken as worst-case limits under the conditions specified herein.
+
+# 1 Introduction
+
+1.1 This Recommendation is the third in a series of four CCITT Recommendations (X.134 to X.137) that define performance parameters and values for international packet-switched data communication services. Figure 1/X.136 illustrates the scope of these four Recommendations and the relationships among them.
+
+1.2 Recommendation X.134 divides a virtual connection into basic sections whose boundaries are associated with X.25 and X.75 interfaces; defines particular collections of basic sections, called virtual connection portions, for which performance values will be specified; and defines a set of packet layer reference events (PEs) which provide a
+
+basis for performance parameter definition. The basic sections consist of network sections and circuit sections. They are delimited, in each case, by physical data terminal equipment (DTE) or data switching equipment (DSE) interfaces. Virtual connection portions are identified either as national portions or international portions. Each PE is defined to occur when a packet crossing a section boundary changes the state of the packet layer interface.
+
+
+
+Recommendation X.134
+
+Network section
+
+DSE DSE
+(Packet network)
+
+...
+
+DTE or DSE Circuit section DTE or DSE
+
+(X.25 or X.75)
+
+Physical interface
+
+Physical interface
+
+Physical interface
+
+Physical interface
+
+(Packet layer reference events)
+
+| Criterion Function | Speed | Accuracy | Dependability |
+|----------------------------------------------------------------|---------------|---------------|---------------|
+| Access | Rec. X.135 | Rec. X.136 | |
+| User information transfer | | | |
+| Disengagement | | | |
+
+Primary parameter values
+
+Service available
+
+Rec. X.137
+
+Service unavailable
+
+T0715620-93
+
+Diagram of the Packet-switched service performance description framework showing network sections, circuit sections, a performance matrix, and service availability states.
+
+FIGURE 1/X.136
+**Packet-switched service performance description framework**
+
+1.3 For comparability and completeness, packet-switched network performance is considered in the context of the 3 × 3 performance matrix defined in Recommendation X.140. Three protocol-independent data communication functions are identified in the matrix: access, user information transfer, and disengagement. These general functions
+
+correspond to call set-up, data (and interrupt), transfer, and call clearing in packet-switched virtual call services conforming to the Recommendations X.25 and X.75. Each function is considered with respect to three general performance concerns (or “performance criteria”): speed, accuracy, and dependability. These express, respectively, the delay or rate, degree of correctness, and degree of certainty with which the function is performed.
+
+1.4 Recommendation X.135 defines protocol-specific speed of service parameters and values associated with each of the three data communication functions. This Recommendation defines protocol-specific accuracy and dependability parameters and values associated with each function. The Recommendation X.135 parameters and this Recommendation parameters are called “primary parameters” to emphasize their direct derivation from packet layer reference events.
+
+1.5 An associated two-state model provides a basis for describing overall service availability. A specified availability function compares the values for a subset of the primary parameters with corresponding outage thresholds to classify the service as “available” (no service outage) or “unavailable” (service outage) during scheduled service time. Recommendation X.137 specifies the availability function and defines the availability parameters and values that characterize the resulting binary random process.
+
+1.6 Eight accuracy and dependability parameters are defined in this Recommendation: two access parameters (call set-up error probability and call set-up failure probability), five user information transfer parameters (residual error rate, reset stimulus probability, reset probability, premature disconnect stimulus probability, and premature disconnect probability), and one disengagement parameter (call clear failure probability). Each parameter can be applied to any basic section or portion of a virtual connection. This generally makes the parameters useful in performance allocation and concatenation.
+
+1.7 This Recommendation specifies accuracy and dependability values for national and international portions of two types (see Table 1/X.136). Performance values for data terminal equipment are not specified, but the parameters defined in this Recommendation may be employed in such specification to assist users in establishing quantitative relationships between network performance and quality of service (see Recommendation X.140).
+
+TABLE 1/X.136
+
+### **Virtual connection portion types for which performance values are specified a) **
+
+| Portion type | Typical characteristics |
+|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------|
+| National A | Terrestrial connection via an access network section |
+| National B | Connection via an access network section with one satellite circuit; or via an access network section and one or more transit network sections |
+| International A | Connection via a direct terrestrial internetwork section |
+| International B | Connection via two satellite circuits and one transit network section; or via one satellite circuit and two or more transit network sections |
+
+a) The values specified for type B portions also apply to virtual connection portions not explicitly identified as type A or type B.
+
+1.8 Worst-case values for each of the eight accuracy and dependability parameters are specified below for each virtual connection portion type identified in Table 1/X.136. The term “worst case” means that these values should be met during the normal busy hour in the worst-performing virtual connection portion used in providing international packet-switched services. The performance of a virtual connection portion may be better than the worst-case values specified in this Recommendation. Design objectives that take into account more demanding user applications and network performance and connectivity enhancements are for further study.
+
+Numerical methods for combining individual portion performance values to estimate end-to-end performance are also provided in this Recommendation. DTE to DTE values for two particular hypothetical reference connections are derived using these methods in Annex B.
+
+# 2 Access parameters
+
+This section specifies worst-case values for two access parameters: call set-up error probability and call set-up failure probability.
+
+Call set-up error and call set-up failure are defined between pairs of section boundaries ( $B_i, B_j$ ). $B_j$ is one of the set of boundaries to which the call attempt can properly be routed. Figure 2/X.136 identifies the sequence of four particular events that occur at these boundaries during a successful call set-up1) . A call set-up attempt over this section is an occurrence of event (a). A successful call set-up attempt over this section is a sequential occurrence of corresponding events (a, b, c and d) within a 200-second timeout period2) . Call set-up errors and call set-up failures within this section are defined below. Any other unsuccessful call set-up attempt is caused by problems outside the section and is excluded from the measurement.
+
+## 2.1 *Call set-up error probability*
+
+Call set-up error probability applies to virtual call services. It does not apply to permanent virtual circuit establishment. This parameter is used to measure the accuracy of the general user function of access in public packet-switched services conforming to Recommendations X.25 and X.75.
+
+#### 2.1.1 **call set-up error probability definition**
+
+Call set-up error probability is the ratio of total call attempts that result in call set-up error to the total call attempts in a population of interest.
+
+With reference to Figure 2/X.136, a call set-up error is defined to occur on any call attempt in which event (d) occurs, but event (c) does not occur within a 200-second timeout period.
+
+Call set-up error is essentially the case of a “wrong number”. It occurs when the network responds to a valid call request by erroneously establishing a virtual call to a destination DTE other than the one designated in the call request, and does not correct the error prior to entry to the data transfer state. It may be caused, for example, by network operator administrative or maintenance actions.
+
+Call set-up error is distinguished from successful call set-up by the fact that the intended called user is not contacted and committed to the data communication session during the call set-up attempt.
+
+Call set-up error probability does not apply to the fast select mode of data transfer. The optional user call redirection facilities in Recommendation X.25 (including hunt group, call redirection, call forwarding subscription, call forwarding selection, call redirection or forwarding notification, and called line address modified notification) are assumed not to be used in the calculation of this parameter.
+
+The specific X.134 PEs used in measuring call set-up error probability at each section boundary are those identified in Figure 2/X.136.
+
+---
+
+1) The PE numbers in Figure 2a/X.136 refer to Tables 1/X.134 and 2/X.134.
+
+2) This period corresponds to timer T21 in Recommendation X.25.
+
+| Boundary/Event Interface | $B_i$ | | $B_j$ | |
+|-----------------------------|-------|-----|-------|-----|
+| | (a) | (d) | (b) | (c) |
+| Rec. X.25 | 2 | 3 | 1 | 4 |
+| Rec. X.75 | 1 | 2 | 1 | 2 |
+
+a) Packet layer reference events (PEs)
+
+
+
+The diagram illustrates the sequence of events between two boundaries, $B_i$ and $B_j$ . Two vertical lines represent the boundaries. Four arrows indicate the sequence of events: (a) starts at $B_i$ and points right; (b) starts at $B_j$ and points left; (c) starts at $B_j$ and points right; (d) starts at $B_i$ and points left. The arrows cross each other, showing the relative timing of events at the two boundaries.
+
+Diagram showing event sequence between two boundaries B\_i and B\_j. Arrows indicate events (a), (b), (c), and (d) across the boundaries.
+
+b) Event sequence
+
+T0715630-93
+
+FIGURE 2/X.136
+
+Packet layer reference events occurring during successful call set-up
+
+#### 2.1.2 Values
+
+The contribution from each network portion to the overall call set-up error probability under the conditions described in this Recommendation shall not exceed the values specified in Table 2/X.136.
+
+TABLE 2/X.136
+
+Worst-case call set-up error probability values
+for virtual connection portions
+
+| Statistic | Virtual connection portion type | | | |
+|-------------|---------------------------------|--------------------|---------------|--------------------|
+| | National | | International | |
+| | A | B | A | B |
+| Probability | $10^{-5}$ | $2 \times 10^{-5}$ | a) | $2 \times 10^{-5}$ |
+
+a) The type A international virtual connection portion consists only of a physical circuit. Its contribution to call set-up error probability is expected to be negligible.
+
+Note – All specified values are provisional.
+
+## 2.2 Call set-up failure probability
+
+Call set-up failure probability applies only to virtual call services. This parameter is used to measure the dependability of the general user function of access in public packet-switched services conforming to Recommendations X.25 and X.75.
+
+2.2.1 **call set-up failure probability** *definition*
+
+Call set-up failure probability is the ratio of total call attempts that result in call set-up failure to the total call attempts in a population of interest.
+
+With reference to Figure 2/X.136, call set-up failure is defined to occur on any call attempt in which either one of the following outcomes is observed within a 200-second timeout period3) :
+
+- 1) both events (b) and (d) do not occur;
+- 2) events (b) and (c) occur, but event (d) does not.
+
+Call attempts that are cleared by the section as a result of incorrect performance or non-performance on the part of an entity outside the section are excluded. The specific X.134 PEs used in measuring call set-up failure probability at each section boundary are those identified in Figure 2/X.136.
+
+2.2.2 *Values*
+
+The contribution from each network portion to the overall call set-up failure probability under the conditions described in this Recommendation shall not exceed the values specified in Table 3/X.136.
+
+TABLE 3/X.136
+
+**Worst-case call set-up failure probability values
+for virtual connection portions**
+
+| Statistic | Virtual connection portion type | | | |
+|-------------|---------------------------------|-----------|---------------|-----------|
+| | National | | International | |
+| | A | B | A | B |
+| Probability | $5 \times 10^{-3}$ | $10^{-2}$ | a) | $10^{-2}$ |
+
+a) The type A international virtual connection portion consists only of a physical circuit. Its contribution to call set-up failure probability is expected to be negligible.
+
+*Note* – All specified values are provisional.
+
+2.2.3 *Excluded call attempts*
+
+A call set-up attempt can also fail as a result of user blocking. Such failures are excluded from network performance measurement. Examples of user blocking include the following:
+
+- 1) either the originating or the called user issues a clear request to reject the call set-up attempt;
+- 2) the called user delays excessively in generating the call accepted packet during the connection period, with the result that a connection is not established before the timeout;
+- 3) all logical channels at the called DTE are in use.
+
+3) Recommendation X.96 places limits on the frequency at which a DTE can repeat call attempts to a given destination.
+
+6 **Recommendation X.136 (09/92)**
+
+# 3 User information transfer parameters
+
+This section specifies worst-case values for five user information transfer parameters; residual error rate, reset stimulus probability, reset probability, premature disconnect stimulus probability, and premature disconnect probability. These parameters describe impairments observed during the data transfer state of a virtual call or permanent virtual circuit.
+
+## 3.1 *Residual error rate*
+
+Residual error rate applies to both virtual call and permanent virtual circuit services. This parameter is used to measure the accuracy of the general function of user information transfer in public packet-switched services conforming to Recommendations X.25 and X.75.
+
+#### 3.1.1 **residual error rate definition**
+
+Residual error rate is the ratio of total incorrect, lost, and extra (e.g. duplicate) user data bits to total user data bits transferred across either section boundary in a population of interest.
+
+User data bits are the bits of the user data field in data packets of the X.25 or X.75 packet layer (protocols and data above the packet layer). Framing routing, bit stuffing, error control, and other protocol fields introduced by all protocols at or below the packet layer are excluded.
+
+Relationships among the quantities identified above are defined in Figure 3/X.136. Incorrect user data bits are user data bits that are inverted in transfer between the section boundaries, i.e. bits whose binary value observed at the section boundary on the destination side of a virtual connection portion is the opposite of that observed at the section boundary on the source side. Lost user data bits are user data bits that are transferred into a virtual connection portion at one section boundary, but are not transferred out of the virtual connection portion at the other within 200 seconds of non-flow-controlled transmission. Bits lost in association with a reset or premature disconnect are excluded in calculating residual error rate. Extra user data bits are user data bits that are transferred out of a virtual connection portion at one section boundary, but were not previously transferred into the virtual connection portion at the other. Extra user data bits include duplicated user data bits and misdelivered user data bits.
+
+
+
+Venn diagram showing the components of residual error rate. A large horizontal oval represents the total user data bits either transmitted or received (N). Inside this oval, four regions are defined: 'Lost user data bits (N\_L)' on the left, 'Successfully transferred user data bits (N\_S)' in the center, 'Incorrect user data bits (N\_E)' to the right of the center, and 'Extra user data bits (N\_X)' on the far right. Above the oval, 'Transmitted user data bits (N\_T)' points to the left half and 'Received user data bits (N\_R)' points to the right half. A bracket below the oval is labeled 'Total user data bits either transmitted or received (N)'.
+
+T0715640-93
+
+$$\text{RER} = \frac{N_E + N_L + N_X}{N}$$
+$$N = N_L + N_S + N_E + N_X$$
+
+FIGURE 3/X.136
+Components of residual error rate
+
+The specific X.134 PEs used in measuring residual error rate at each section boundary are identified in Table 4/X.136. Only user data bits in data packets that create the specified PEs are counted in calculating residual error rate estimates.
+
+TABLE 4/X.136
+
+##### **Packet layer reference events (PEs) used in measuring residual error rate**
+
+| Circuit section | Starting/Ending PE |
+|------------------------------------|--------------------|
+| Source access circuit section | 10a (X.25) |
+| Destination access circuit section | 9a (X.25) |
+| Internetwork circuit section | 5a (X.75) |
+
+In practice, it is not possible in all cases to distinguish lost, errored, and extra bit occurrences without detailed knowledge of the problems within the boundaries. A simple, approximate method of calculating residual error rate values is presented in Annex A. Other methods of equivalent or superior accuracy are acceptable.
+
+#### 3.1.2 Values
+
+The contribution from each network portion to the overall residual error rate of a virtual connection provided under the conditions described in this Recommendation shall not exceed the values specified in Table 5/X.136. These specified values are based on an assumed data packet length of 128 octets.
+
+TABLE 5/X.136
+
+##### **Worst-case residual error rate values for virtual connection portions**
+
+| Statistic | Virtual connection portion type | | | |
+|-------------|---------------------------------|--------------------|---------------|--------------------|
+| | National | | International | |
+| | A | B | A | B |
+| Probability | $10^{-9}$ | $2 \times 10^{-9}$ | $10^{-9}$ | $2 \times 10^{-9}$ |
+
+*Note* – All specified values are provisional.
+
+#### 3.1.3 Components of residual error rate
+
+In some applications, it may be important to specify probability limits for the individual failure outcomes illustrated in Figure 3/X.136 in addition to the overall residual error rate. The general user information error, user information loss, and extra user information delivery probabilities defined in Recommendation X.140 may be specialized to the corresponding user data bit-oriented measures as follows:
+
+- user data bit error probability $P_1(E)$ is the ratio of total incorrect user data bits ( $N_E$ ) to total successfully transferred user data bits *plus* incorrect user data bits ( $N_S + N_E$ ) in a population of interest;
+
+- user data bit loss probability $P_1(L)$ is the ratio of total lost user data bits ( $N_L$ ) to total transmitted user data bits ( $N_T$ ) in a population of interest;
+- extra user data bit delivery probability $P_1(X)$ is the ratio of total (unrequested) extra user data bits ( $N_X$ ) to total received user data bits ( $N_R$ ) in a population of interest.
+
+The denominators of these ratios are chosen to ensure that each defined probability is properly normalized; i.e. each failure outcome is expressed in proportion to the total number of opportunities for that outcome to occur. The mathematical relationship between residual error rate (RER) and the three user data bits transfer failure probabilities defined above is as follows:
+
+$$\text{RER} = \frac{[P_1(E)] [N_E + N_S] + [P_1(L)] [N_T] + [P_1(X)] [N_R]}{N}$$
+
+### 3.2 *Reset parameters*
+
+Reset stimulus probability and reset probability are related parameters used to describe the dependability of the general function of user information transfer in public packet-switched services conforming to Recommendations X.25 and X.75.
+
+#### 3.2.1 **reset stimulus probability definition**
+
+A reset stimulus is observed at a single section boundary. It is any event or combination of events that according to the protocol should result in a reset (or, in the case of a PVC, a reset or restart) being generated by the recipient4) . An example of a reset stimulus is a DTE transmitting a reject packet when the packet retransmission facility has not been subscribed.
+
+The **reset stimulus probability of a section at a boundary** is the expected number of reset stimuli generated within that section and transferred across the boundary per virtual connection second.
+
+#### 3.2.2 **reset probability definition**
+
+A reset event is defined to have been generated within a section when, in the absence of an external reset stimulus, two packets exit the section – one at each boundary – creating any one of the pairs of Recommendation X.134 packet layer reference events listed in Table 6/X.136.
+
+The reset probability for a virtual connection section is the probability, in any given second, that a reset event is generated within that section.
+
+Reset events generated within a section may be estimated by counting the number of reset request and reset indication packets exiting the section during a measurement period; subtracting the number of reset request and reset indication packets entering the section during the same period; dividing the difference by 2; and then subtracting from the result any reset stimuli that enter the section during the period.
+
+*Note* – Reset events may be associated with a loss of packets.
+
+The specific X.134 PEs used in measuring reset probability at each section boundary are identified in Table 6/X.136.
+
+---
+
+4) For the purpose of performance parameter definition it is assumed that the reset stimuli for an X.25 DTE are equivalent to the reset stimuli for an X.25 DCE.
+
+TABLE 6/X.136
+
+##### **Packet layer reference events (PEs) used in measuring reset probability**
+
+| Boundaries of section | Pair of PEs |
+|-----------------------|---------------------|
+| X.25 X.25 | [20(X.25) 20(X.25)] |
+| X.25 X.75 | [20(X.25) 10(X.75)] |
+| X.75 X.75 | [10(X.75) 10(X.75)] |
+
+###### *a) Pairs of PEs resulting from reset events*
+
+| Boundaries of section | Pair of PEs |
+|-----------------------|--------------------------------------------|
+| X.25 X.25 | [20(X.25) 24(X.25)] |
+| X.25 X.75 | [20(X.25) 12(X.75)] or [24(X.25) 10(X.75)] |
+| X.75 X.75 | [10(X.75) 12(X.75)] |
+
+###### *b) Additional PE pairs resulting from reset events on PVCs*
+
+#### 3.2.3 Values
+
+The contribution from each network portion to overall reset stimulus probability and reset probability under the conditions described in this Recommendation shall not exceed the values specified in Table 7/X.136.
+
+TABLE 7/X.136
+
+##### **Worst-case reset stimulus probability and reset probability values for virtual connection portions**
+
+| Statistic | Virtual connection portion type | | | |
+|-------------------------------------------------------------|---------------------------------|--------------------|---------------|--------------------|
+| | National | | International | |
+| | A | B | A | B |
+| Reset stimulus probability (reset stimuli per VC second) | $10^{-6}$ | $10^{-6}$ | a) | $10^{-6}$ |
+| Reset probability (resets per VC second) | $10^{-5}$ | $2 \times 10^{-5}$ | N/A | $2 \times 10^{-5}$ |
+
+a) The type A international virtual connection portion consists only of a physical circuit. Its contribution to reset stimulus probability is expected to be negligible.
+
+*Note* – All specified values are provisional.
+
+The reset stimulus and reset probabilities for a set of concatenated virtual connection portions may be estimated from the individual portion probabilities as follows. Assume between boundaries ( $B_i, B_j$ ) the reset probability is $R_1$ and the reset stimulus probabilities are $S_{1i}, S_{1j}$ . Assume between boundaries ( $B_j, B_k$ ) the reset probability is $R_2$ and the reset stimulus probabilities are $S_{2j}, S_{2k}$ . Then on a VC passing through $B_j$ the reset
+
+probability between $B_i$ and $B_k$ is approximately $(R_1 + R_2 + S_{1j} + S_{2j})$ . See Figure 4/X.136. The reset stimulus probability at $B_i$ is $S_{1i}$ and the reset stimulus probability at $B_k$ is $S_{2k}$ .
+
+### 3.3 Premature disconnect parameters
+
+Premature disconnect stimulus probability and premature disconnect probability are related parameters used to describe the dependability of user information transfer in public packet-switched networks conforming to Recommendations X.25 and X.75.
+
+
+
+T0715650-93
+
+Diagram illustrating reset stimulus and reset probabilities for concatenated virtual connection portions. It shows three vertical lines representing boundaries B\_i, B\_j, and B\_k. Between B\_i and B\_j, there is a double-headed arrow labeled R\_1. Between B\_j and B\_k, there is a double-headed arrow labeled R\_2. At B\_i, there is a left-pointing arrow labeled S\_{1i}. At B\_j, there is a left-pointing arrow labeled S\_{2j} and a right-pointing arrow labeled S\_{1j}. At B\_k, there is a right-pointing arrow labeled S\_{2k}.
+
+FIGURE 4/X.136
+Reset stimulus and reset probabilities for concatenated
+virtual connection portions
+
+#### 3.3.1 premature disconnect stimulus probability definition
+
+A premature disconnect stimulus is observed at a single section boundary. It is any event or combination of events that according to the protocol should result in a clear or restart being generated by the recipient5) . An example of a premature disconnect stimulus is the transmission of an incorrect packet type into a virtual connection section. A premature disconnect stimulus applies only to virtual call services
+
+The **premature disconnect stimulus probability of a section at a boundary** is the probability of a premature disconnect stimulus generated within that section and transferred across the boundary per virtual connection second.
+
+#### 3.3.2 premature disconnect probability definition
+
+A premature disconnect event is defined to have been generated within a section when, in the absence of an external premature disconnect stimulus, two packets exit the section – one at each boundary – creating any one of the pairs of packet layer reference events listed in Table 8/X.136. A premature disconnect event applies only to virtual call services.
+
+The premature disconnect probability for a virtual connection section is the probability, in any given second, that a virtual call experiences a premature disconnect event generated within that section.
+
+Premature disconnect events generated within a section may be estimated by counting the number of clear request or clear indication packets exiting the section during a measurement period; subtracting the number of clear
+
+5) For the purpose of performance parameter definition, it is assumed that the premature disconnect stimuli for an X.25 DTE are equivalent to the premature disconnect stimuli for an X.25 DCE.
+
+request and clear indication packets entering the section during the same period; dividing the difference by 2; and then subtracting from the result any premature disconnect stimuli that enter the section during that period.
+
+*Note* – Premature disconnect events may be associated with a loss of packets.
+
+The specific X.134 PEs used in measuring premature disconnect probability at each section boundary are identified in Table 8/X.136.
+
+TABLE 8/X.136
+
+##### **Packet layer reference events (PEs) used in measuring premature disconnect probability**
+
+(Pairs of PEs resulting from premature disconnect events)
+
+| Boundaries of section | Pair of PEs |
+|-----------------------|---------------------------------------------------------------|
+| X.25 X.25 | [5(X.25) 5(X.25)] or [5(X.25) 24(X.25)] |
+| X.25 X.75 | [5(X.25) 3(X.75)] or [5(X.25) 12(X.75)] or [24(X.25) 3(X.75)] |
+| X.75 X.75 | [3(X.75) 3(X.75)] or [3(X.75) 12(X.75)] |
+
+#### 3.3.3 Values
+
+The contribution from each network portion to overall premature disconnect stimulus probability and premature disconnect probability under the conditions described in this Recommendation shall not exceed the values specified in Table 9/X.136.
+
+TABLE 9/X.136
+
+##### **Worst-case premature disconnect stimulus probability and premature disconnect probability values for virtual connection portions**
+
+| Statistic | Virtual connection portion type | | | |
+|-------------------------------------------------------------------------------------------|---------------------------------|-----------|---------------|-----------|
+| | National | | International | |
+| | A | B | A | B |
+| Premature disconnect stimulus probability (premature disconnect stimuli per VC second) | $10^{-7}$ | $10^{-7}$ | $10^{-7}$ | $10^{-7}$ |
+| Premature disconnect probability (premature disconnects per VC second) | $5 \times 10^{-6}$ | $10^{-5}$ | N/A | $10^{-5}$ |
+
+*Note* – All specified values are provisional.
+
+The premature disconnect stimulus and premature disconnect probabilities for a set of concatenated virtual connection portions may be estimated from the individual portion probabilities in a manner analogous to that described in § 3.2.3.
+
+# 4 Disengagement performance – Call clear failure probability
+
+Call clear failure probability applies only to virtual call services. This parameter is used to measure the accuracy and dependability of the general function of disengagement in public packet-switched services conforming to Recommendations X.25 and X.75.
+
+## 4.1 call clear failure probability *definition*
+
+Call clear failure is defined with reference to events at the boundaries of a virtual connection section ( $B_i, B_j$ ). A call clear attempt occurs when a clear request or clear indication packet enters the section creating a packet layer reference event at $B_i$ . A call clear failure occurs when no corresponding clear indication packet layer reference event occurs at $B_j$ within 180 seconds. The relevant PEs are listed in Table 10/X.136.
+
+TABLE 10/X.136
+
+**Packet layer reference events (PEs) used
+in measuring call clear failure probability**
+
+| Circuit section | X.134 Packet layer reference event | |
+|-------------------------------------|------------------------------------|-----------------------------|
+| | Starting PE | Ending PE |
+| Clearing DTE access circuit section | 6(X.25) | – |
+| Cleared DTE access circuit section | – | 5(X.25) (Does not occur) |
+| Internetwork circuit section | 3(X.75) | 3(X.75) (Does not occur) |
+
+Call clear failure probability for a virtual connection section is the ratio of call clear failures to call clear attempts in a population of interest.
+
+## 4.2 *Values*
+
+The contribution from each virtual connection portion to the overall call clear failure probability under the conditions described in this Recommendation shall not exceed the values specified in Table 11/X.136.
+
+## 4.3 *Local clear confirmation*
+
+The failure of a section to respond to a clear request or clear indication packet with a clear confirmation packet is not addressed in this Recommendation. Recovery mechanisms for such occurrences are defined in both the Recommendations X.25 and X.75 protocols. Clear confirmation at X.25 interfaces is a national matter.
+
+TABLE 11/X.136
+
+### **Worst-case call clear failure probability values for virtual connection portions**
+
+| Statistic | Virtual connection portion type | | | |
+|-------------|---------------------------------|--------------------|---------------|--------------------|
+| | National | | International | |
+| | A | B | A | B |
+| Probability | $10^{-5}$ | $2 \times 10^{-5}$ | a) | $2 \times 10^{-5}$ |
+
+a) The type A international virtual connection portion consists only of a physical circuit. Its contribution to call clear failure probability is expected to be negligible.
+
+*Note* – All specified values are provisional.
+
+## ANNEX A
+
+(to Recommendation X.136)
+
+## **Ancillary information on accuracy and dependability measurement**
+
+The following points should be noted with regard to accuracy and dependability measurement:
+
+- The ratios used to calculate the probabilities are understood to be estimates of the true probabilities.
+- The periods of observation for accuracy – and dependability – related probabilities, as well as the concept of busy hour itself, for packet services, are for further study.
+
+Figure A-1/X.136 illustrates a simple approximate method of calculating residual error rate. A sample consisting of $n_T$ user data bits is transmitted typically in many successive packets. (A 128-octet packet length is assumed.) A corresponding sample consisting of $n_R$ user data bits is received. If $n_T = n_R$ , the transmitted and received user data bits are compared bit for bit, and the number of incorrect data bits in the sample is estimated by $m_E$ , the number of corresponding transmitted and received bits that do not match. If $n_T > n_R$ , the number of lost data bits in the sample is estimated by $m_L = (n_T - n_R)$ . If $n_T < n_R$ , the number of extra data bits in the sample is estimated by $m_x = (n_R - n_T)$ . If a reset request or clear request is issued during the transfer of a measurement sample, that sample is excluded in calculating the RER estimate.
+
+The outcome totals in each sample are accumulated over a number of samples sufficient to calculate the residual error rate with the desired precision. Guidelines for relating overall sample size with desired precision are for further study. It should be noted that the approximate method of residual error rate estimation presented here will not produce unbiased estimates if more than one category of bit transfer failure occurs in the same sample. Other, more exact methods of estimating residual error rate may also be employed.
+
+
+
+```
+
+graph TD
+ Start([Start]) --> Send[Send sample ( $n_T$ data bits)
+Receive sample ( $n_R$ data bits)]
+ Send --> Update[ $N_T = N_T + n_T$
+ $N_R = N_R + n_R$ ]
+ Update --> Decision{ $n_T = n_R$
+ $n_T > n_R$
+or
+ $n_T < n_R$ ?}
+
+ Decision -- " $n_T > n_R$ " --> ML[ $m_L = n_T - n_R$ ]
+ ML --> NLS[ $N_L = N_L + m_L$
+ $N_S = N_S + n_R$ ]
+
+ Decision -- " $n_T = n_R$ " --> ME[Compute $m_E$
+Compute $m_S$
+(see below)]
+ ME --> NES[ $N_E = N_E + m_E$
+ $N_S = N_S + m_S$ ]
+
+ Decision -- " $n_T < n_R$ " --> MX[ $m_X = n_R - n_T$ ]
+ MX --> NXS[ $N_X = N_X + m_X$
+ $N_S = N_S + n_T$ ]
+
+ NLS --> Join(( ))
+ NES --> Join
+ NXS --> Join
+
+ Join --> Sufficient{Sufficient
+sample?}
+ Sufficient -- No --> Send
+ Sufficient -- Yes --> Calculate[Calculate RER
+estimate]
+ Calculate --> End([End])
+
+```
+
+T0715660-93
+
+Flowchart for calculating residual error rate (RER) estimate. The process starts with 'Start', followed by 'Send sample (n\_T data bits) Receive sample (n\_R data bits)'. Then, cumulative counts are updated: N\_T = N\_T + n\_T, N\_R = N\_R + n\_R. A decision diamond checks if n\_T = n\_R, n\_T > n\_R, or n\_T < n\_R. If n\_T > n\_R, m\_L = n\_T - n\_R is calculated, and N\_L = N\_L + m\_L, N\_S = N\_S + n\_R are updated. If n\_T = n\_R, m\_E and m\_S are computed, and N\_E = N\_E + m\_E, N\_S = N\_S + m\_S are updated. If n\_T < n\_R, m\_X = n\_R - n\_T is calculated, and N\_X = N\_X + m\_X, N\_S = N\_S + n\_T are updated. All paths lead to a 'Sufficient sample?' decision. If not sufficient, it loops back to the sample reception step. If sufficient, it proceeds to 'Calculate RER estimate' and then 'End'.
+
+$$m_E = \sum_{i=1}^{n_T} b_i^T \hat{A} b_i^R$$
+
+$i = \text{bit position}$
+
+$$m_S = n_T - m_E$$
+
+FIGURE A-1/X.136
+**An approximate method of calculating residual error rate**
+
+(to Recommendation X.136)
+
+### Representative end-to-end accuracy and dependability performance
+
+This annex provides two examples to illustrate how end-to-end (DTE to DTE) accuracy and dependability performance can be estimated from the individual virtual connection portion performance values specified in this Recommendation. Two example concatenations of type A and type B virtual connection portions are defined. The end-to-end call set-up error probability, call set-up failure probability, residual error rate, reset stimulus probability, reset probability, premature disconnect stimulus probability, premature disconnect probability, and call clear failure probability are calculated for each example. Although alternative network models and statistical assumptions are possible, the methods presented in this annex provide one practical way of estimating end-to-end performance from the performance of the individual network portions.
+
+#### B.1 *Definition of the example end-to-end connections*
+
+For ease of reference, the two example end-to-end (i.e. DTE to DTE) connections presented in this annex will be referred to as “type 1” and “type 2” configurations. These hypothetical, but representative, configurations use the portion boundaries and packet layer reference events described in Recommendation X.134. Table 1/X.136 defines the virtual connection portion types.
+
+The type 1 configuration is defined to be:
+
+
+
+```
+
+graph LR
+ DTE1[DTE] --- NA1[National A]
+ NA1 --- IA[International A]
+ IA --- NA2[National A]
+ NA2 --- DTE2[DTE]
+
+```
+
+The diagram illustrates the Type 1 configuration as a horizontal line representing the end-to-end connection. It is divided into three segments by vertical tick marks. The segments are labeled 'National A', 'International A', and 'National A' from left to right. Above the leftmost tick mark is the label 'DTE', and above the rightmost tick mark is the label 'DTE', indicating the connection is between two Data Terminal Equipment (DTE) units.
+
+Diagram of Type 1 configuration showing a sequence of three network portions: National A, International A, and National A, connected between two DTEs.
+
+The type 2 configuration is defined to be:
+
+
+
+```
+
+graph LR
+ DTE1[DTE] --- NA[National A]
+ NA --- IB[International B]
+ IB --- NB[National B]
+ NB --- DTE2[DTE]
+
+```
+
+The diagram illustrates the Type 2 configuration as a horizontal line representing the end-to-end connection. It is divided into three segments by vertical tick marks. The segments are labeled 'National A', 'International B', and 'National B' from left to right. Above the leftmost tick mark is the label 'DTE', and above the rightmost tick mark is the label 'DTE', indicating the connection is between two Data Terminal Equipment (DTE) units.
+
+Diagram of Type 2 configuration showing a sequence of three network portions: National A, International B, and National B, connected between two DTEs.
+
+#### B.2 *End-to-end accuracy and dependability performance for the type 1 and type 2 configuration examples*
+
+End-to-end accuracy and dependability performance values have been calculated for the example type 1 and type 2 connection configurations and are reported below in Tables B-1/X.136 and B-2/X.136. These calculations have been made by applying the methods described below to the individual network portions that, for convenience in defining these examples, are characterized by the worst-case accuracy and dependability performance values specified in this Recommendation.
+
+Assuming that the performance associated with the individual network portions are statistically independent, then a very close approximation to the end-to-end performance can be obtained for the call set-up error probability, call set-up failure probability, residual error rate probability, and call clear failure probability by simply summing the respective probabilities for the concatenated individual connection portions. Note that this procedure assumes that the approximation error caused by dropping the higher order terms in combining these individual portion probabilities is usually not significant and therefore can be ignored for most cases of practical interest.
+
+*Example:* To compute the end-to-end probability of call set-up error for the type 1 configuration, refer to Table 2/X.136 to obtain the individual portion probabilities (National A: probability = $10^{-5}$ ; International A: probability = 0). The end-to-end probability of call set-up error is then $10^{-5} + 0 + 10^{-5} = 2 * 10^{-5}$ .
+
+The approximate end-to-end performance at each boundary for the reset probability, reset stimulus probability, premature disconnect stimulus probability, and premature disconnect probability can be calculated using methods in §§ 3.2.3 and 3.3.3.
+
+*Example:* To compute the end-to-end performance for the reset probability for the type 1 configuration, refer to Table 7/X.136 to obtain the individual portion probabilities. The end-to-end probability of reset at the boundaries can be calculated as $10^{-5} + 0 + 10^{-5} + 0 + 10^{-6} + 0 + 10^{-6} = 2.2 * 10^{-5}$ .
+
+*Example:* To compute the end-to-end performance for the reset stimulus probability for the type 1 configuration, refer to Table 7/X.136 to obtain the individual portion probabilities. The end-to-end probability of reset stimulus at the boundaries can be determined by inspection as $10^{-6}$ .
+
+TABLE B-1/X.136
+
+##### **End-to-end accuracy and dependability performance for the type 1 configuration example**
+
+| Type 1 configuration | |
+|-------------------------------------------|------------------|
+| Statistic | End-to-end value |
+| Call set-up error probability | $2 * 10^{-5}$ |
+| Call set-up failure probability | $1 * 10^{-2}$ |
+| Residual error rate | $2 * 10^{-10}$ |
+| Reset stimulus probability | $1 * 10^{-6}$ |
+| Reset probability | $2.2 * 10^{-5}$ |
+| Premature disconnect stimulus probability | $1 * 10^{-7}$ |
+| Premature disconnect probability | $1.04 * 10^{-5}$ |
+| Call clear failure probability | $2 * 10^{-5}$ |
+
+TABLE B-2/X.136
+
+##### **End-to-end accuracy and dependability performance for the type 2 configuration example**
+
+| Type 2 configuration | |
+|-------------------------------------------|------------------|
+| Statistic | End-to-end value |
+| Call set-up error probability | $5 * 10^{-5}$ |
+| Call set-up failure probability | $2.5 * 10^{-2}$ |
+| Residual error rate | $5 * 10^{-10}$ |
+| Reset stimulus probability | $1 * 10^{-6}$ |
+| Reset probability | $5.4 * 10^{-5}$ |
+| Premature disconnect stimulus probability | $1 * 10^{-7}$ |
+| Premature disconnect probability | $2.54 * 10^{-5}$ |
+| Call clear failure probability | $5 * 10^{-5}$ |
+
+#### **B.3** *Notes on key assumptions, results and implications*
+
+For further study.
+
+## ANNEX C
+
+(to Recommendation X.136)
+
+### **Alphabetical list of abbreviations used in this Recommendation**
+
+| | |
+|-----|------------------------------------|
+| DCE | Data circuit-terminating equipment |
+| DSE | Data switching equipment |
+| DTE | Data terminal equipment |
+| PE | Packet layer reference event |
+| PVC | Permanent virtual circuit |
+| RER | Residual error rate |
+| VC | Virtual connection |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1361-201809-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1361-201809-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b251589cf40ace6dacc78699abda475ccc29cb4a
--- /dev/null
+++ b/marked/X/T-REC-X.1361-201809-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5a5181407216d035f79590e56aec9a16d90fff38afd14731b2addf225d041a7
+size 4098
diff --git a/marked/X/T-REC-X.1361-201809-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg b/marked/X/T-REC-X.1361-201809-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c328884777c792945144acbcb1d69fce70fa313c
--- /dev/null
+++ b/marked/X/T-REC-X.1361-201809-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b1bf2b476f47c561794ab55893999b750d865d06aa12a08c94cf915daf99c904
+size 88328
diff --git a/marked/X/T-REC-X.1361-201809-I_PDF-E/e9314c83043183351ed74908e9bf2f90_img.jpg b/marked/X/T-REC-X.1361-201809-I_PDF-E/e9314c83043183351ed74908e9bf2f90_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..88b4ffebe85dcf8d4fafb87d3289b17d1d88dc4b
--- /dev/null
+++ b/marked/X/T-REC-X.1361-201809-I_PDF-E/e9314c83043183351ed74908e9bf2f90_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e4ba1855f14f806e391471e23f70c21cb3586a6575941854f7dc94b7837a8d4f
+size 74969
diff --git a/marked/X/T-REC-X.1361-201809-I_PDF-E/fc69ceb1dee1da7e33bd6c38fc4ceab9_img.jpg b/marked/X/T-REC-X.1361-201809-I_PDF-E/fc69ceb1dee1da7e33bd6c38fc4ceab9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0db4f93d140affe7dbdad844b3fe92e82eee3238
--- /dev/null
+++ b/marked/X/T-REC-X.1361-201809-I_PDF-E/fc69ceb1dee1da7e33bd6c38fc4ceab9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a478d0134a288d075d80f9093916a064b104bb8974759511c0554e6325f163e
+size 45867
diff --git a/marked/X/T-REC-X.1361-201809-I_PDF-E/raw.md b/marked/X/T-REC-X.1361-201809-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..fcf18258462f23777cb6c63b697b0836ce9deb7f
--- /dev/null
+++ b/marked/X/T-REC-X.1361-201809-I_PDF-E/raw.md
@@ -0,0 +1,714 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1361
+
+(09/2018)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services (2) – Internet of things
+(IoT) security
+
+# --- **Security framework for the Internet of things based on the gateway model**
+
+Recommendation ITU-T X.1361
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.1361
+
+# Security framework for the Internet of things based on the gateway model
+
+## Summary
+
+Recommendation ITU-T X.1361 describes a security framework for the Internet of things (IoT) using security gateways. The IoT is a global infrastructure for the information society, enabling advanced services by interconnecting (physical and virtual) things based on existing and evolving interoperable information and communication technologies.
+
+This Recommendation analyses security threats and challenges in an IoT environment, and describes capabilities that could address and mitigate these threats and challenges. A framework methodology is provided for determining which security capabilities are required for mitigating and addressing these threats and challenges for the IoT.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1361 | 2018-09-07 | 17 | 11.1002/1000/13607 |
+
+## Keywords
+
+Internet of things, security framework, security requirements.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2019
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|----|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|
+| 1 | Scope..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Terms and Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 3 |
+| 4 | Abbreviations and acronyms ..... | 4 |
+| 5 | Conventions ..... | 4 |
+| 6 | Overview..... | 4 |
+| 7 | Functional architecture and framework ..... | 4 |
+| 8 | Security threats to the Internet of things..... | 6 |
+| | 8.1 Security threats to IoT sensors/devices ..... | 6 |
+| | 8.2 Security threats to IoT gateways ..... | 6 |
+| | 8.3 Security threats to the network ..... | 7 |
+| | 8.4 Security threats to platform/services ..... | 7 |
+| 9 | Requirements for Internet of things ..... | 8 |
+| 10 | Security capabilities for the Internet of things..... | 8 |
+| | 10.1 Overview ..... | 8 |
+| | 10.2 Security capabilities for sensors/devices ..... | 9 |
+| | 10.3 Security capabilities for gateways ..... | 10 |
+| | 10.4 Security capabilities for the network ..... | 11 |
+| | 10.5 Security capabilities for platforms/services..... | 11 |
+| | Annex A – Security and privacy requirements described in ITU-T Y.4100/Y.2066 ..... | 12 |
+| | A.1 Communication security..... | 12 |
+| | A.2 Data management security ..... | 12 |
+| | A.3 Service provision security ..... | 12 |
+| | A.4 Integration of security policies and techniques ..... | 12 |
+| | A.5 Mutual authentication and authorization ..... | 12 |
+| | A.6 Security audit..... | 12 |
+| | Appendix I – Security and privacy capabilities described in ITU-T Y.4401/Y.2068 ..... | 13 |
+| | I.1 Communication security capability ..... | 13 |
+| | I.2 Data management security capability..... | 13 |
+| | I.3 Service provision security capability..... | 13 |
+| | I.4 Security integration capability ..... | 13 |
+| | I.5 Mutual authentication and authorization capability ..... | 13 |
+| | I.6 Security audit capability ..... | 13 |
+| | Appendix II – Implementation view of the IoT functional framework building over the next generation network functional architecture in ITU-T Y.4401/Y.2068 ..... | 14 |
+
+| | Page |
+|-------------------|-------------|
+| Bibliography..... | 15 |
+
+# Recommendation ITU-T X.1361
+
+## Security framework for the Internet of things based on the gateway model
+
+# 1 Scope
+
+This Recommendation describes a security framework for the Internet of Things (IoT) using security gateways.
+
+This Recommendation analyses security threats and challenges in the IoT environment and describes capabilities that address and mitigate these security threats and challenges. A framework methodology is provided for determining which security capabilities are required for mitigating and addressing security threats and challenges for the IoT.
+
+The focus of this Recommendation is on IoT security capabilities using security gateways and considers the reference model described in [b-ITU-T Y.4401] with a focus on technical, not management aspects.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+[ITU-T Y.4100] Recommendation ITU-T Y.4100/Y.2066 (2014), *Common requirements of the Internet of things*.
+
+# 3 Terms and Definitions
+
+### 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 attack** [b-ISO13491-1]: Attempt by an adversary on the device to obtain or modify sensitive information or a service they are not authorized to obtain or modify.
+
+**3.1.2 authentication** [b-NIST SP 800-53]: Verifying the identity of a user, process, or device, often as a prerequisite to allowing access to resources in an information system.
+
+**3.1.3 capability** [b-ISO 19440]: Construct that represents the collection of capability characteristics (expressed as capability attributes) of either a Resource (its provided Capability) or an Enterprise Activity (its required Capability).
+
+NOTE – Capabilities can be aggregated.
+
+**3.1.4 context** [b-ITU-T X.1252]: An environment with defined boundary conditions in which entities exist and interact.
+
+**3.1.5 cryptographic algorithm** [b-ISO/IEC 19790]: Well-defined computational procedure that takes variable inputs, which may include cryptographic keys, and produces an output.
+
+**3.1.6 cryptographic-quality random-number** [b-ITU-T X.667]: A random number or pseudo-random number generated by a mechanism, which ensures sufficient spread of repeatedly-generated values to be acceptable for use in cryptographic work (and is used in such work).
+
+**3.1.7 cryptography** [b-ITU-T X.800]: The discipline which embodies principles, means, and methods for the transformation of data in order to hide its information content, prevent its undetected modification and/or prevent its unauthorized use.
+
+NOTE – Cryptography determines the methods used in encipherment and decipherment. An attack on a cryptographic principle, means, or method is cryptanalysis.
+
+**3.1.8 cryptosystem** [b-ISO 11568-1]: Set of cryptographic primitives used to provide information security services.
+
+**3.1.9 device** [b-ITU-T Y.4000]: With regard to the Internet of things, this is a piece of equipment with the mandatory capabilities of communication and the optional capabilities of sensing, actuation, data capture, data storage and data processing.
+
+**3.1.10 identity management** [b-ITU-T X.1250]: A set of functions and capabilities (e.g., administration, management and maintenance, discovery, communication exchanges, correlation and binding, policy enforcement, authentication and assertions) used for:
+
+- assurance of identity information (e.g., identifiers, credentials, attributes);
+- assurance of the identity of an entity (e.g., users/subscribers, groups, user devices, organizations, network and service providers, network elements and objects, and virtual objects); and
+- supporting business and security applications.
+
+**3.1.11 Internet of things (IoT)** [b-ITU-T Y.4000]: A global infrastructure for the information society, enabling advanced services by interconnecting (physical and virtual) things based on existing and evolving interoperable information and communication technologies.
+
+NOTE 1 – Through the exploitation of identification, data capture, processing and communication capabilities, the IoT makes full use of things to offer services to all kinds of applications, whilst ensuring that security and privacy requirements are fulfilled.
+
+NOTE 2 – From a broader perspective, the IoT can be perceived as a vision with technological and societal implications.
+
+**3.1.12 intrusion detection** [b-ISO/IEC 27039]: Formal process of detecting intrusions, generally characterized by gathering knowledge about abnormal usage patterns, as well as what, how, and which vulnerability has been exploited to include how and when it occurred.
+
+**3.1.13 intrusion detection system** [b-ISO/IEC 27039]: Information systems used to identify that an intrusion has been attempted, is occurring, or has occurred.
+
+**3.1.14 intrusion prevention** [b-ISO/IEC 27033-1]: Formal process of actively responding to prevent intrusions.
+
+**3.1.15 intrusion prevention system** [b-ISO/IEC 27039]: Variant on intrusion detection systems that are specifically designed to provide an active response capability.
+
+**3.1.16 key management** [b-ITU-T X.800]: The generation, storage, distribution, deletion, archiving and application of keys in accordance with a security policy.
+
+**3.1.17 lightweight cryptography** [b-ISO/IEC 29192-1]: cryptography tailored for implementation in constrained environments.
+
+**3.1.18 malware** [b-ISO/IEC 27033-1]: Malicious software designed specifically to damage or disrupt a system, attacking confidentiality, integrity and/or availability.
+
+NOTE – Viruses and Trojan horses are examples of malware.
+
+**3.1.19 network monitoring** [b-ISO/IEC 27033-1]: Process of continuously observing and reviewing data recorded on network activity and operations, including audit logs and alerts, and related analysis.
+
+**3.1.20 personally identifiable information (PII)** [b-ISO/IEC 29100]: Any information that a) can be used to identify the PII principal to whom such information relates, or b) is or might be directly or indirectly linked to a PII principal.
+
+NOTE – To determine whether a PII principal is identifiable, account should be taken of all the means which can reasonably be used by the privacy stakeholder holding the data, or by any other party, to identify that natural person.
+
+**3.1.21 security association with mask (SAM)** [b-ITU-T X.1362]: This is a security-protocol-specific set of parameters. SAM defines the services and mechanisms necessary to protect traffic by applying encryption with associated mask data (EAMD). SAM is referred to by its associated protocol, depending on the protocol layers such as transport layer or Internet protocol (IP) layer. Algorithm identifiers, modes, layer identifier at which EAMD is applied and cryptographic keys can be included in these parameters.
+
+**3.1.22 sensor** [b-ITU-T Y.4105]: An electronic device that senses a physical condition or chemical compound and delivers an electronic signal proportional to the observed characteristic.
+
+**3.1.23 thing** [b-ITU-T Y.4000]: With regard to the Internet of things, this is an object of the physical world (physical things) or the information world (virtual things), which is capable of being identified and integrated into communication networks.
+
+**3.1.24 threat** [b-ISO/IEC 27000]: Potential cause of an unwanted incident, which may result in harm to a system or organization.
+
+**3.1.25 vulnerability** [b-ISO/IEC 27000]: Weakness of an asset or control that can be exploited by one or more threats.
+
+### **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following terms:
+
+**3.2.1 cryptographic algorithm negotiation:** Mechanism to determine the type of cryptographic algorithm and length of cryptographic keys to use in an encrypted and integrated communications session and to ascertain the most suitable cryptographic algorithm available at both sides.
+
+NOTE – This definition is adapted from [b-ISO/IEC 27033-1] and referred to as ‘gateway’ in this Recommendation.
+
+**3.2.2 patch management:** Process which encompasses acquiring, testing, and installing multiple patches to information systems.
+
+NOTE – Vulnerability management capability could be considered.
+
+**3.2.3 PII breach:** Situation where personally identifiable information is processed in violation of one or more relevant PII protection requirements.
+
+**3.2.4 privacy preference model:** Model that allows websites to declare their intended use of data they collect about individuals, to give more control of their personal information.
+
+**3.2.5 secure configuration:** Process by which network devices should be configured to reduce the level of inherent vulnerabilities and provide only the services required to fulfil their role.
+
+NOTE – It includes removal or disabling of unnecessary user accounts and unnecessary software, changing any default password to an alternative, strong password, enabling firewall and configuring to disable (block) unapproved connections by default, and disabling of auto-run feature.
+
+**3.2.6 security gateway:** Point of connection between networks, or between subgroups within networks, or between software applications within different security domains intended to protect a network according to a given security policy in the IoT environment.
+
+**3.2.7 side-channel attack:** Attack utilizing information obtained from the physical implementation of a cryptosystem.
+
+NOTE – Information about computational timing, power consumption, and electromagnetic leaks can be exploited to break the cryptosystem.
+
+**3.2.8 vulnerability management:** Process that consists of identifying, classifying, remediating, and mitigating vulnerabilities.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|--------------------------------------|
+| DoS | Denial of Service |
+| EAMD | Encryption with Associated Mask Data |
+| IDS | Intrusion Detection System |
+| IoT | Internet of things |
+| IP | Internet Protocol |
+| IPS | Intrusion Prevention System |
+| PII | Personally Identifiable Information |
+
+# 5 Conventions
+
+None.
+
+# 6 Overview
+
+The Internet of things (IoT) is defined as a global infrastructure for the information society enabling advanced services by interconnecting (physical and virtual) things based on existing and evolving, interoperable information and communication technologies.
+
+A typical IoT deployment will consist of sensor-equipped edge devices on a wired or wireless network, sending data via a gateway to a public or private cloud. Aspects of the topology will vary broadly from application to application; for example, in some cases the gateway may be on the device. Devices based on such topologies may be built from the ground up to leverage IoT or may be legacy devices that will have IoT capabilities added post-deployment.
+
+# 7 Functional architecture and framework
+
+This Recommendation is based on the functional architecture of IoT shown in Figure 1.
+
+
+
+Figure 1 illustrates the simplified IoT functional architecture, organized into three main functional blocks connected sequentially:
+
+- Sensor/device:** This block contains icons for a sensor and a camera. Below this block is a green box labeled "Data acquisition" with an upward-pointing arrow.
+- Network:** This block contains a "Gateway" icon and a cloud icon labeled "Wired/wireless". Below this block is a green box labeled "Data aggregation" with an upward-pointing arrow.
+- Platform/service:** This block contains icons for "Big data" (a cylinder), "Security as service" (a smartphone), and "Clouds" (a cloud). Below this block is a green box labeled "Data analysis" with an upward-pointing arrow.
+
+Horizontal lines connect the three main blocks, indicating the flow of data from acquisition to aggregation and then to analysis. A small identifier "X.1361(18)\_F01" is located at the bottom right of the diagram.
+
+Figure 1 – IoT functional architecture (simplified). The diagram shows a three-stage architecture: Sensor/device, Network, and Platform/service. The Sensor/device stage includes a sensor and a camera, with a red bracket underneath. The Network stage includes a Gateway and a cloud icon labeled 'Wired/wireless'. The Platform/service stage includes 'Big data' (a cylinder icon), 'Security as service' (a smartphone icon), and 'Clouds' (a cloud icon). Below each stage is a green box with an arrow pointing up: 'Data acquisition' for the sensor stage, 'Data aggregation' for the network stage, and 'Data analysis' for the platform stage. A small text 'X.1361(18)\_F01' is at the bottom right.
+
+**Figure 1 – IoT functional architecture (simplified)**
+
+The data between an IoT end-point (sensor or device) and gateway can be communicated over two types of communication networks: Internet protocol (IP)-based network or a non-IP-based network. It is assumed that the communication between the gateway and the IoT component in the IoT platform, deployed in a data center, should be carried out using an IP-based protocol. Therefore, in case of a non-IP network, the communication connection over the non-IP network should be terminated and re-established over an IP network at the gateway.
+
+The functional architecture can be elaborated as shown in Figure 2.
+
+
+
+The diagram illustrates the functional architecture of an IoT system, organized into four main sections: End-points, Gateway, Network, and Cloud/Data centre.
+
+- End-points:** This section shows three types of IoT end-points:
+ - Micro-cell/Femto-cell:** Represented by two smartphones connected to a cloud icon.
+ - Home/SMB network:** Represented by two smartphones connected to a cloud icon containing a house icon.
+ - Enterprise network:** Represented by two smartphones connected to a cloud icon.
+- Gateway:** This section shows three types of gateways:
+ - A radio tower for the Micro-cell/Femto-cell network.
+ - A small wireless router for the Home/SMB network.
+ - A radio tower with a green circular base for the Enterprise network.
+- Network:** This section shows two overlapping circles representing different network types:
+ - Wireless network:** The top circle, connected to the radio tower gateways.
+ - Fixed network:** The bottom circle, connected to the radio tower with a green base gateway.
+- Cloud/Data centre:** This section shows a large box containing:
+ - Data centre-IoT platform/services:** Represented by server and computer icons.
+
+Arrows indicate the flow of data from the end-points through their respective gateways and networks to the data centre. The label 'X.1361(18)\_F02' is located at the bottom right of the diagram.
+
+Figure 2 – Practical functional architecture diagram showing the flow from End-points to Gateway, Network, and Cloud/Data centre.
+
+**Figure 2 – Practical functional architecture**
+
+For example, in an intelligent transport system, the gateway, shown in Figure 2, could act as a vehicle mobile gateway to connect an internal (car) area network and an external open network.
+
+A firewall capability should be in place in the gateway to control traffic that is destined to terminate at the device. Some IoT devices have unique transport protocols, distinct from transmission control protocol (TCP)/IP protocols. Proprietary protocols can be used to govern how IoT devices communicate with one another. Thus, industry-specific protocol filtering capabilities should be in place to identify malicious payloads that could potentially hide in non-IP protocols.
+
+The gateway should implement a function for filtering specific data destined to terminate on that device in a way that makes optimal use of the limited computational resources available.
+
+The gateway participates as a unique element in the functional architecture. The gateway is often the first point of reliable security in an IoT system, because end-points are most vulnerable to physical tampering. The gateway plays a role in IoT that warrants its distinction as a specific security asset, apart from the network. The gateway should consider the constraints of sensor nodes. The gateway can often perform some security functions on behalf of constrained end-points such as: key management, cryptographic negotiation, intrusion prevention.
+
+The gateway will have widely varying security capabilities depending on factors such as: the power and capabilities of the end-points, service design, network design, physical locations and usage context.
+
+# **8 Security threats to the Internet of things**
+
+### **8.1 Security threats to IoT sensors/devices**
+
+Sensor/device-specific threats:
+
+- Device capture: Refers to a device being physically compromised or having its keys lost.
+- Sinkhole attack: Refers to an attack in which a compromised device attracts communication traffic to form a black hole or introduce selective forwarding. In a sinkhole attack, an intruder compromises a device or introduces a counterfeit device inside the network and uses it to launch a sinkhole attack. The compromised device tries to attract all data traffic from neighbouring nodes based on the routing metric used in the routing protocol. When this is achieved, the compromised device will launch an attack. Sinkhole attacks are a type of network-layer attack where a compromised device sends fake routing information to its neighbours to attract network traffic to itself. Due to ad hoc networks and the many-to-one communication patterns of wireless networks where many nodes send data to a single base station, wireless networks are particularly vulnerable to sinkhole attacks. Based on communication flows in a wireless network, a sinkhole does not need to target all nodes in the network, but only those close to the base station.
+- Sybil attack: Refers to an attack in which a malicious device illegitimately takes on multiple identities. A malicious device's additional identity is referred to as a Sybil node. This attack is launched in conjunction with other attacks, to reduce the effectiveness of fault-tolerant mechanisms, such as distributed storage, multi-path routing and topology maintenance.
+- Flooding attack: A flooding attack is a form of a denial of service (DoS) attack in which an attacker sends a succession of 'hello' packets to a targeted device in an attempt to consume enough of the device's resources to make the device unresponsive to legitimate traffic.
+- Selective forwarding attacks: In this attack, a compromised node filters randomly received packets and forwards some of them to the next node. If the node filters out (drops) all the packets it receives, it is called a 'blackhole' attack.
+- Wormhole attack: Wormhole attacks occur when two malicious/compromised nodes advertise having a very short path between them. A tunnel is a data path between two networked devices which is established across an existing network infrastructure. A network that tunnels data to another network gets the data from one network and replicates it onto another network through the tunnel and that particular network may be confused due to this action. At this time a hacker may easily enter and misuse the network. Used in conjunction with a sinkhole and Sybil attack, can result in selective forwarding or creation of a sinkhole.
+- Impersonation of sensor/device. This attack happens when an attacker successfully masquerades as the identity of a legitimate sensor/device.
+
+### **8.2 Security threats to IoT gateways**
+
+Gateway-specific threats:
+
+- Unauthorized access: Unauthorized access to a gateway can cause the disclosure of sensitive information, data modification, DoS and illicit use of resources. For example, once an attacker has accessed a gateway, monitoring of the now unencrypted data can result in user names, passwords and secure configuration data being compromised.
+- Rogue gateway: Even if all wireless gateways are secure, it is easy for attackers to deploy a rogue gateway of their own. For example, an overly eager employee might install a wireless access point in their office with no regard for security. This will effectively circumvent many of the security measures in place and perhaps even cause radio interference with the official organization and/or enterprise installation. A rogue, wireless access point may also be deliberately and covertly installed in order to grant easy access to a perpetrator on the network
+
+either locally or remotely. A perpetrator (known as an 'evil twin') could replace an existing wireless access point with one on which they have full configuration and monitoring access or even configure a rogue wireless access point, with similar settings, but with a higher power ratio necessary to overcome the legitimate wireless access point's signal. Once a legitimate device is deceived into connecting to a rogue gateway, confidential connection information can be gathered.
+
+- Denial of service attack: The DoS attack causes a target to significantly slow down or, ideally, stop the services it provides by exhausting the target's memory and/or computing capacity. Targets are kept busy responding to the illegitimate traffic that attackers are sending. The wireless sensor network is particularly vulnerable to DoS attacks due to its features of an open medium, dynamic changing topology, and the lack of a clear line of defence. DoS attacks are a growing problem in networks today. Many of the defence techniques developed for fixed wired network are not applicable to mobile network environments.
+
+## **8.3 Security threats to the network**
+
+Network specific threats:
+
+- Unauthorized access: Unauthorized access to a wireless sensor network can cause disclosure of sensitive information, data modification, DoS and illicit use of resources. For example, once an attacker has accessed a sensor network, monitoring of the now unencrypted data can result in user names and passwords being compromised.
+- Packet sniffing: For wireless sensor networks that do not have encryption capabilities it is generally easy for attackers to eavesdrop on network communications. To eavesdrop on such a wireless sensor network, an antenna, along with normal wireless networking tools and a network packet sniffer are required. A network packet sniffer is a tool that sets the network card to "promiscuous mode". This means that the interface will receive and process all traffic rather than only traffic meant for it. A network sniffer will show its user all network packets and decode them for easy reading. All plaintext traffic is easily understood and filters can be defined to look for certain keywords or values.
+- Bluejacking: This is an attack conducted on Bluetooth-enabled mobile devices, such as cell phones. An attacker initiates bluejacking by sending unsolicited messages to users of Bluetooth-enabled devices. The actual messages sent do not cause harm to the targeted device, but may induce the user to respond in some fashion or to add the new contact to the device's address book.
+- Bluesnarfing: This attack results in the unauthorized access of information from a targeted wireless device through a Bluetooth connection, often between phones, desktops, laptops, and personal digital assistants (PDAs). A successful attack may result in unauthorized access to private and confidential information on these devices.
+
+## **8.4 Security threats to platform/services**
+
+In the Internet, the main task of the application layer is to collect and process a large number of user data, including users' personal information or confidential information of various transactions. The data are an attacker's main target, stolen, tampered or damaged. It is necessary to protect data using privacy protection mechanisms. Application layer threats include: mass data processing, out-of-control smart devices, unauthorized human intervention, and out-of-control devices unable to recover from disaster.
+
+Platform/services specific threats:
+
+- Profiling: Exploratory process used to gather information on the platform/services.
+- Denial of service: An attack in which the platform/service is overwhelmed by massive service requests and becomes too busy to respond to legitimate client requests.
+
+- Arbitrary code execution: An attack that tries to run malicious code on a platform/service to compromise its resources and to then launch additional attacks.
+- Malicious code execution: Any part of a software system or script, which is intended to cause undesired effects, security or personally identifiable information (PII) breaches, or damage to a system. Typical example includes viruses, worms, and Trojan horses.
+- Elevation of privileges: An attack in which code is executed, using a privileged process account, to elevate the attacker's privileges.
+- Structured query language (SQL) injection: An attack that exploits vulnerabilities in an application's input validation and data access code to run arbitrary commands that inject or extract information.
+- Network eavesdropping: An attack that captures packets transmitted from the network and reads the data content in search of sensitive information such as passwords, session tokens, or any kind of confidential information.
+- Unauthorized access: An attack that gains access to a platform/service using someone else's account or another method of access. For example, if someone keeps guessing a password or username for an account that was not their own until access has been gained; this is considered unauthorized access.
+- Brute force: An attack that systematically checks all possible keys until a correct one is found.
+- Dictionary attack of usernames/passwords: An attack that systematically defeats cipher or authentication mechanisms by repeatedly trying passwords, using words in a dictionary.
+- Use of default usernames and passwords/use of weak passwords: An attack where default usernames and passwords/weak passwords are exploited to gain access to platform/services.
+- Inference attack: This attack occurs when a user is able to infer protected information from rightfully accessible chunks of information with lower classification.
+- PII leakage: Intentional or unintentional release of PII to an untrusted environment.
+
+# **9 Requirements for Internet of things**
+
+This Recommendation is based on the high-level requirements described in [ITU-T Y.4100], as discussed in Annex A.
+
+# **10 Security capabilities for the Internet of things**
+
+### **10.1 Overview**
+
+This Recommendation only addresses security requirements and takes into account reliability and quality of services. The security capabilities for the IoT are expanded from those described in [b-ITU-T Y.4401].
+
+#### *General capabilities*
+
+The IoT architecture should include:
+
+- a secure communication capability for supporting secure, trusted and privacy protected communication;
+- a secure key management capability for supporting secure communications;
+- a secure data management capability for providing secure, trusted and privacy protected data management;
+- an authentication capability for authenticating devices;
+- an authorization (access control) capability for authorizing devices;
+
+- an audit capability for monitoring data access or attempts to access IoT applications in a fully transparent, traceable and reproducible manner, based on appropriate regulations and laws;
+- a secure service provision capability for providing secure, trusted and privacy protected service provision;
+- a secure integration capability for integrating different security policies and techniques related to the variety of IoT functional components;
+- a capability to implement secure protocols using publicly available and standardized cryptographic algorithms;
+- a capability to implement secure protocols based on lightweight cryptography;
+- a secure and robust software update capability for updating software modules or applications;
+- an identity management capability for IoT devices/sensors, gateways and platforms/services;
+- a vulnerability scanning capability;
+- a capability for monitoring data access or attempts to access IoT applications in a fully transparent, traceable and reproducible way;
+- a hardware-based (e.g., trusted platform module) security capability to prevent occurrences of physical security risks that come with network and gateway virtualization.
+- a multi-path routing capability for preventing selective forwarding attacks;
+- a PII protection capability against PII breaches throughout the entire PII lifecycle;
+- a secure configuration capability;
+- a capability using lightweight cryptography; and
+- a simple encryption capability with encryption with associated mask data (EAMD) [b-ITU-T X.1362] for communicating with other entities including the gateway.
+
+#### *Cryptographic algorithm related capabilities*
+
+The IoT architecture should include:
+
+- a capability of producing a cryptographic-quality random-number for supporting key management [b-IETF RFC 4086];
+- a periodic update capability of necessary cryptographic keys for broadcast streams; and
+- a capability using standardized cryptographic algorithms.
+
+#### *Context related capabilities*
+
+The IoT architecture should include:
+
+- a capability to resist side-channel attacks;
+- a capability to support secure coding practices that enforce rigorous data validation input in systems and services, database applications, and web services; and
+- a capability to conduct a planned risk assessment to determine risks across operational contexts.
+
+### **10.2 Security capabilities for sensors/devices**
+
+The IoT sensors/devices should include:
+
+- a key management capability;
+- a cryptographic algorithm negotiation capability;
+- a data encryption capability and in some cases signalling, control and management plane data to mitigate the security concerns to confidentiality of data transmitted through wireless networks;
+
+- a data integrity capability for data transmitted through wireless networks by using appropriate integrity protection schemes which provide assurances that user data or signalling, control or management data has not been tampered with or altered;
+- an authentication capability of the origin of the data or of identities of the IoT sensors/devices and of administrators and maintenance personnel of the sensor networks;
+- a capability for patch management, including updating and upgrading secure software modules;
+- a capability to implement secure protocols based on lightweight cryptography;
+- an access control capability to ensure that only authorized personnel or devices are allowed access to network elements, stored information, information flows, services and applications;
+- a tamper detection and/or tamper prevention capability;
+- a capability to produce cryptographic-quality random numbers to support key management;
+- a capability to resist against side-channel attacks;
+- a malware detection and protection capability; and
+- a PII protection capability against PII leakage.
+
+The IoT devices should include:
+
+- a capability to verify the authenticity and integrity of software on a device using cryptographically generated digital signatures [b-ISO/IEC 9796-3];
+- a firewall, intrusion detection, intrusion protection, or deep packet inspection capability to control traffic that is destined to terminate at a device; and
+- a capability for performing secure configurations.
+
+## **10.3 Security capabilities for gateways**
+
+The gateway should include:
+
+- an intrusion detection system (IDS)/intrusion prevention system (IPS) capability;
+- a key management capability;
+- a capability for performing secure configuration;
+- a cryptographic algorithm negotiation capability;
+- a capability to encrypt data and in some cases signalling, control and management plane data with IoT devices and components in the data center to mitigate the security concerns to confidentiality of data transmitted through wireless networks;
+- an integrity capability of data transmitted through wireless networks by using appropriate integrity protection schemes to provide assurances that user data or signalling, control or management data has not been tampered with or altered;
+- an availability capability to handle DoS attacks ranging from using secure source coding techniques, source code analysis testing and vulnerability testing, to using a network or host-based IDS/IPS;
+- an authentication capability of the origin of the data or of identities of the IoT sensors/devices and of administrators and maintenance personnel of the sensor networks;
+- an access control capability to ensure that only authorized personnel or devices are allowed access to network elements, stored information, information flows, services and applications; and
+- an IoT device accountability capability to ensure that any violation of policy will be traceable to a specific device.
+
+The gateway is required to support a capability for updating secure software modules.
+
+## **10.4 Security capabilities for the network**
+
+Security capabilities for the network are out of scope of this Recommendation.
+
+NOTE – Security capabilities to meet security dimensions described in [b-ITU-T X.805] could be used.
+
+## **10.5 Security capabilities for platforms/services**
+
+The platform/service should include:
+
+- a capability to protect a credential for cryptographic operations, which is a set of data presented as evidence of a claimed identity and/or entitlements;
+- a capability to change default usernames and passwords during initial setup;
+- a capability to implement strong passwords and a granular access control policy;
+- a capability to make unnecessary ports unavailable;
+- a capability to support secure configuration, for example, to remove unnecessary services and software;
+- a capability to protect against malware infection through the use of malware protection software;
+- a capability to implement patch management policies;
+- a capability for vulnerability management;
+- a capability for updating secure software modules and applications;
+- a key management capability for secure message transfer between a gateway and a platform/service;
+- a capability for cryptographic algorithm negotiations for establishing secure tunnelling between the gateway and the platform/service, in case there is a need for secure message transfer between the gateway and the platform/service;
+- an availability capability to handle DoS attacks;
+- a capability for network monitoring;
+- a capability for PII protection at rest;
+- a capability for application level security to prevent application level threats and attacks described in clause 8.4; and
+- a capability to provide support for mitigating inference attacks.
+
+# **Annex A**
+
+## **Security and privacy requirements described in ITU-T Y.4100/Y.2066**
+
+(This annex forms an integral part of this Recommendation.)
+
+Security and privacy protection requirements refer to the functional requirements during capturing, storing, transferring, aggregating and processing the data of things, as well as provisioning services which involve things. These requirements are related to all IoT actors.
+
+This annex provides high-level security and privacy requirements described in Annex A of [ITU-T Y.4100] and the bracketed terms given in each clause below refer to the particular element of Annex A of [ITU-T Y.4100].
+
+### **A.1 Communication security**
+
+Secure, trusted and privacy protected communication capability is required, so that unauthorized access to the content of data can be prohibited, integrity of data can be guaranteed and privacy-related content of data can be protected during data transmission or transfer in IoT [SP1].
+
+### **A.2 Data management security**
+
+Secure, trusted and privacy protected data management capability is required, so that unauthorized access to the content of data can be prohibited, integrity of data can be guaranteed and privacy-related content of data can be protected when storing or processing data in IoT [SP2].
+
+### **A.3 Service provision security**
+
+Secure, trusted and privacy protected service provision capability is required, so that unauthorized access to service and fraudulent service provision can be prohibited and privacy information related to IoT users can be protected [SP3].
+
+### **A.4 Integration of security policies and techniques**
+
+The ability to integrate different security policies and techniques is required, to ensure consistent security control over the variety of devices and user networks in IoT [SP4].
+
+### **A.5 Mutual authentication and authorization**
+
+Before a device (or an IoT user) can access the IoT, mutual authentication and authorization between the device (or the IoT user) and IoT is required to be performed according to predefined security policies [SP5].
+
+### **A.6 Security audit**
+
+Security audit is required to be supported in IoT. Any data access or attempt to access IoT applications are required to be fully transparent, traceable and reproducible according to appropriate regulation and laws. In particular, IoT is required to support security audit for data transmission, storage, processing and application access [SP6].
+
+# **Appendix I**
+
+## **Security and privacy capabilities described in ITU-T Y.4401/Y.2068**
+
+(This appendix does not form an integral part of this Recommendation.)
+
+This appendix provides high-level security and privacy capabilities described in [b-ITU-T Y.4401] and the bracketed terms given in each clause below refer to the particular element of [b-ITU-T Y.4401].
+
+### **I.1 Communication security capability**
+
+Communication security capability involves the abilities of supporting secure, trusted and privacy protected communication [C-7-1].
+
+### **I.2 Data management security capability**
+
+Data management security capability involves the abilities of providing secure, trusted and privacy protected data management [C-7-2].
+
+### **I.3 Service provision security capability**
+
+Service provision security capability involves the abilities of providing secure, trusted and privacy protected service provision [C-7-3].
+
+### **I.4 Security integration capability**
+
+Security integration capability involves the abilities of integrating different security policies and techniques related to the variety of IoT functional components [C-7-4].
+
+### **I.5 Mutual authentication and authorization capability**
+
+Mutual authentication and authorization capability involves the abilities of authenticating and authorizing each device before the device accesses the IoT based on predefined security policies [C-7-5].
+
+### **I.6 Security audit capability**
+
+Security audit capability involves the abilities of monitoring data access or attempts to access IoT applications in a fully transparent, traceable and reproducible way based on appropriate regulations and laws [C-7-6].
+
+NOTE – These security and privacy protection capabilities also include the ability of coping with the security and privacy protection issues for operations across different domains.
+
+# Appendix II
+
+## Implementation view of the IoT functional framework building over the next generation network functional architecture in ITU-T Y.4401/Y.2068
+
+(This appendix does not form an integral part of this Recommendation.)
+
+Figure II.1 illustrates an implementation view of the IoT functional framework, building over the functional entities described in the next generation network (NGN) functional architecture in [b-ITU-T Y.4401] which is related to the security functional framework in this Recommendation. This Recommendation provides capabilities for the service support layer and device layer described in Figure 7-2 of [b-ITU-T Y.4401].
+
+
+
+The diagram illustrates the implementation view of the IoT functional framework, building over the NGN functional architecture. It consists of three main layers, each enclosed in a dashed box, and two sidebars representing security and management functions.
+
+- Service support and application support layer:** Contains six functional blocks arranged in a 2x3 grid:
+ - IoT service control (green)
+ - IoT data management (green)
+ - Application support (purple)
+ - Service control (purple)
+ - Service provision (purple)
+ - Content delivery (purple)
+- Network layer:** Contains three functional blocks:
+ - IoT transport control (green)
+ - Transport control (grey)
+ - Transport (grey)
+- Device layer:** Contains three functional blocks:
+ - IoT gateway (green)
+ - IoT device (green)
+ - End-user device (green)
+
+On the left, a green sidebar labeled **IoT security and privacy protection** has bidirectional arrows connecting to the Service support and application support layer, the Network layer, and the Device layer. On the right, a yellow sidebar labeled **Management and identity management** has bidirectional arrows connecting to the same three layers. Additionally, bidirectional arrows connect the three layers to each other in a vertical stack.
+
+X.1361(18)\_FII.1
+
+Figure II.1: Implementation view of the IoT functional framework building over the NGN functional architecture. The diagram shows three main layers: Service support and application support layer, Network layer, and Device layer, all interacting with IoT security and privacy protection and Management and identity management.
+
+**Figure II.1 – Implementation view of the IoT functional framework building over the NGN functional architecture**
+
+# Bibliography
+
+- [b-ITU-T X.667] Recommendation ITU-T X.667 (2012), *Information technology – Procedures for the operation of object identifier registration authorities: Generation of universally unique identifiers and their use in object identifiers.*
+- [b-ITU-T X.800] Recommendation ITU-T X.800 (1991), *Security architecture for Open Systems Interconnection for CCITT applications.*
+- [b-ITU-T X.805] Recommendation ITU-T X.805 (2003), *Security architecture for systems providing end-to-end communications.*
+- [b-IUT-T X.1250] Recommendation ITU-T X.1250 (2009), *Baseline capabilities for enhanced global identity management and interoperability.*
+- [b-ITU-T X.1252] Recommendation ITU-T X.1252 (2010), *Baseline identity management terms and definitions.*
+- [b-ITU-T X.1311] Recommendation ITU-T X.1311 (2011) | ISO/IEC 29180:2012, *Information technology – Security framework for ubiquitous sensor networks.*
+- [b-ITU-T X.1362] Recommendation ITU-T X.1362 (2017), *Simple encryption procedure for Internet of things (IoT) environments.*
+- [b-ITU-T Y.4000] Recommendation ITU-T Y.4000/Y.2060 (2012), *Overview of the Internet of things.*
+- [b-ITU-T Y.4050] Recommendation ITU-T Y.4050/Y.2069 (2012), *Terms and definitions for the Internet of things.*
+- [b-ITU-T Y.4105] Recommendation ITU-T Y.4105/Y.2221 (2010), *Requirements for support of ubiquitous sensor network (USN) applications and services in the NGN environment.*
+- [b-ITU-T Y.4113] Recommendation ITU-T Y.4113 (2016), *Requirements of the network for the Internet of things.*
+- [b-ITU-T Y.4400] Recommendation ITU-T Y.4400/Y.2063 (2012), *Framework of the web of things.*
+- [b-ITU-T Y.4401] Recommendation ITU-T Y.4401/Y.2068 (2015), *Functional framework and capabilities of the Internet of things.*
+- [b-IETF RFC 4086] IETF RFC 4086 (2005), *Randomness Requirements for Security.*
+- [b-ISO 11568-1] ISO 11568-1:2005, *Banking – Key management (retail) – Part 1: Principles.*
+- [b-ISO 13491-1] ISO 13491-1:2016, *Financial services – Secure cryptographic devices (retail) – Part 1: Concepts, requirements and evaluation methods.*
+- [b-ISO 19440] ISO 19440:2007, *Enterprise integration – Constructs for enterprise modelling.*
+- [b-ISO/IEC 9796-3] ISO/IEC 9796-3:2006, *Information technology – Security techniques – Digital signature schemes giving message recovery – Part 3: Discrete logarithm based mechanisms.*
+- [b-ISO/IEC 19790] ISO/IEC 19790:2012, *Information technology – Security techniques – Security requirements for cryptographic modules.*
+
+- [b-ISO/IEC 27000] ISO/IEC 27000:2018, *Information technology – Security techniques – Information security management systems – Overview and vocabulary.*
+- [b-ISO/IEC 27033-1] ISO/IEC 27033-1:2015, *Information technology – Security techniques – Network security – Part 1: Overview and concepts.*
+- [b-ISO/IEC 27033-6] ISO/IEC 27033-6:2016, *Information technology – Security techniques – Network security – Part 6: Securing wireless IP network access.*
+- [b-ISO/IEC 27039] ISO/IEC 27039:2015, *Information technology – Security techniques – Selection, deployment and operations of intrusion detection systems (IDPS).*
+- [b-ISO/IEC 29100] ISO/IEC 29100:2011, *Information technology – Security techniques – Privacy framework.*
+- [b-ISO/IEC 29192-1] ISO/IEC 29192-1:2012, *Information technology – Security techniques – Lightweight cryptography – Part 1: General.*
+- [b-NIST SP 800-53] NIST Special Publication 800-53 (2013), *Security and Privacy Controls for Federal Information Systems and Organizations.*
+- [b-ZT] Zhang Li, Tong Xin (2013), *Threat Modeling and Countermeasures Study for the Internet of Things*, Journal of Convergence Information Technology (JCIT), Vol. 8, No. 5, March.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b251589cf40ace6dacc78699abda475ccc29cb4a
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5a5181407216d035f79590e56aec9a16d90fff38afd14731b2addf225d041a7
+size 4098
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7256a4a689ae1417fba18dbd8cb3bdc517a47a27
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0df6ce8c9698503bcb1ea1f43bc648e0eb3b9c86a505dbb5f6f18d64802d6c99
+size 17129
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/3c6151f296d5800335472b7dc00ce423_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/3c6151f296d5800335472b7dc00ce423_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..af7a61c3a84ffce767a528f6b9faa3f63692052b
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/3c6151f296d5800335472b7dc00ce423_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c0e8d38e5a00232c2af661e019bad4a2c939fafb4b6e44ff9293901c4d30850d
+size 119637
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/408c4798ea60469e0728a7cbbd598668_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/408c4798ea60469e0728a7cbbd598668_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..857999bbffa1774669082c49bfae67a436dae41a
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/408c4798ea60469e0728a7cbbd598668_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6c90466e5084add836064b292c5962a6a7893cbd61586c495d79eee4068d7ac7
+size 10573
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/4162c218fc7881cd90fc9574e07d2327_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/4162c218fc7881cd90fc9574e07d2327_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0574baa1bdf07e233dfb3e7f65802d516ab478d0
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/4162c218fc7881cd90fc9574e07d2327_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9e460eef076529005f07d93ba7d724eae75868082931229e7093ed89e26c80e6
+size 23560
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/41aef1f5efab13d4f38f69e86c726062_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/41aef1f5efab13d4f38f69e86c726062_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..be4f68b826c75cab32b6cccaaed4e10ce021d75a
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/41aef1f5efab13d4f38f69e86c726062_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:360c35d29f093e6a59312b65c601c0519ed6510a991a9c9a9788b4a1409543fc
+size 67529
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d7477b57dd099f49b6e664efea7cd19a074a8170
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a69d0415119d9686aa74b3b3aa79029ebe2eddfb6adbfc5af8e785fffe9210b3
+size 69099
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/5cab96b2d23174c25919840ecd50aa48_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/5cab96b2d23174c25919840ecd50aa48_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3652f1e46edd8811078bf0b572acbbeb21b8928a
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/5cab96b2d23174c25919840ecd50aa48_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2006512b1cc762e49deb1b26564a52769c3dd50dbef9ba8f593204bef3687798
+size 17979
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/701bc79e78b382bcfd3ba85597dbb9c3_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/701bc79e78b382bcfd3ba85597dbb9c3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c30702579c77e7e8a20561698ed563eda64c1394
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/701bc79e78b382bcfd3ba85597dbb9c3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:492bb9d5082d3c5073a38bfef2f70d352b5d7b1ab99152df676ba8636b82ad1b
+size 34884
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f1c0970a22e5f15607618eb957e99792dd532702
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d4262f927dffb2f0a6f7f19255c263ff68483e14ec53489b369562a1aafd2027
+size 23514
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/89f8aefc01866631793087542316cef2_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/89f8aefc01866631793087542316cef2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7b1bfce1f9a35ce8449a1d424cd0af0fe952f105
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/89f8aefc01866631793087542316cef2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f76a929cd1ba26730343fab70ecb1d005527fef588598e9e5ee52730d93b93a9
+size 43752
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/a97518a839da75f8379c578562b01bc2_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/a97518a839da75f8379c578562b01bc2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a1da3de66a8ace543a785d7ee82dbccb5f9fc856
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/a97518a839da75f8379c578562b01bc2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2c0c08e83266316dab0cc2a7edc5d94cd16f450c89df072d1e5126b9adf7b763
+size 7878
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/b904ac2472cab80892d1e783e6230d6e_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/b904ac2472cab80892d1e783e6230d6e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c854746cb1c3807f9d1e4550d1aecb81992aa41e
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/b904ac2472cab80892d1e783e6230d6e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a6497d4c194f289d7710e575421e76940ce1ad86e61d89152a91566d0af2506d
+size 29581
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..40ef05899eab73e99f8ed3b83f3d81d35c8638ab
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:65f623031b698d239d37924a6d51d8fbf4dc2a8259a084b5cb6265977ae9762b
+size 14459
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/cc98b584f9b31fe69948e3fa65a3ba69_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/cc98b584f9b31fe69948e3fa65a3ba69_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1aedb8f64c84244b21e177f47a0f05a2d939a041
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/cc98b584f9b31fe69948e3fa65a3ba69_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ebb382a3899953245069849d8f79ec02816c81ea4d6c28606a1cfd46743dca8f
+size 119935
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/df6b7ae63e53e5f93dbd0a70acdae4a6_img.jpg b/marked/X/T-REC-X.1365-202003-I_PDF-E/df6b7ae63e53e5f93dbd0a70acdae4a6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e58ea189b73a1c241d7c66c6c7bdc74eb2266477
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/df6b7ae63e53e5f93dbd0a70acdae4a6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:04716e8760a6a6ab17b4d68a848c336d454050d9c40fa26655a545e4a0e082a0
+size 17986
diff --git a/marked/X/T-REC-X.1365-202003-I_PDF-E/raw.md b/marked/X/T-REC-X.1365-202003-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..a8bb9a91c530df3d19755d319e43804e69a7bc72
--- /dev/null
+++ b/marked/X/T-REC-X.1365-202003-I_PDF-E/raw.md
@@ -0,0 +1,2617 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1365
+
+(03/2020)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services (2) – Internet of things
+(IoT) security
+
+# --- **Security methodology for the use of identity- based cryptography in support of Internet of things (IoT) services over telecommunication networks**
+
+Recommendation ITU-T X.1365
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | X.1700–X.1729 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+## Recommendation ITU-T X.1365
+
+# Security methodology for the use of identity-based cryptography in support of Internet of things (IoT) services over telecommunication networks
+
+## Summary
+
+Recommendation ITU-T X.1365 provides a security methodology for the use of identity-based cryptography (IBC) public key technology in support of Internet of things (IoT) services over telecommunication networks, including mechanisms of identity management, key management architecture, key management operations and authentication.
+
+Traditional certificate-based security methodology involves heavyweight key management operations including certificate issuance, querying and revocation. Such systems face great difficulty in keeping up with the increasing numbers of devices connected in IoT while maintaining adequate performance.
+
+IBC technology is another security methodology that uses an entity's identity as a public key. An essential feature of IoT is that everything has a unique identifier (ID). Using such IDs as public keys has the benefit of no certificates being required. Consequently, an IBC security solution utilizes simpler key management, enables distributed authorities to control their own devices and scales well to both a high number of endpoints and diverse devices.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1365 | 2020-03-26 | 17 | 11.1002/1000/14089 |
+
+## Keywords
+
+IoT, IBC, identity-based cryptography, security methodology, user data security.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendations unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-Ts purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2020
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|---|--------------------------------------------------------------------------------------------------------|------|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 2 |
+| | 3.1 Terms defined elsewhere..... | 2 |
+| | 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 5 | Conventions..... | 4 |
+| 6 | Overview ..... | 4 |
+| 7 | System reference architecture for IoT services over telecommunications networks ... | 6 |
+| 8 | Framework of using identity-based cryptography for IoT services over telecommunications networks ..... | 7 |
+| | 8.1 IoT system architecture with identity-based cryptography ..... | 7 |
+| | 8.2 Key management architecture ..... | 9 |
+| | 8.3 Identity naming..... | 11 |
+| | 8.4 Key management ..... | 11 |
+| | 8.5 Authentication ..... | 12 |
+| 9 | Security requirements ..... | 13 |
+| | 9.1 Security requirements on master secret key ..... | 13 |
+| | 9.2 Security requirement on public parameters ..... | 13 |
+| | 9.3 Security requirement on identifier ..... | 13 |
+| | 9.4 Security requirement for private key ..... | 13 |
+| | 9.5 Security requirement for ephemeral secrets ..... | 13 |
+| | Annex A – Generic formulation and algorithms of identity-based cryptography ..... | 14 |
+| | Annex B – Identity-based cryptography key data specification ..... | 17 |
+| | Annex C – Key management operations..... | 27 |
+| | C.1 System initialization ..... | 27 |
+| | C.2 Device initialization..... | 28 |
+| | C.3 Public parameter lookup..... | 29 |
+| | C.4 Identity and key provisioning..... | 29 |
+| | C.5 Identity and key revocation ..... | 33 |
+| | Annex D – Authentication ..... | 39 |
+| | D.1 One-pass secret transport protocol ..... | 39 |
+| | D.2 TLS-IBS ..... | 40 |
+| | D.3 EAP-TLS-IBS..... | 43 |
+| | D.4 EAP-PSK-ECCSI ..... | 45 |
+| | Appendix I – Identity naming ..... | 50 |
+| | Appendix II – KMIP extensions to support IBC..... | 52 |
+| | Bibliography..... | 58 |
+
+
+
+# Recommendation ITU-T X.1365
+
+# Security methodology for the use of identity-based cryptography in support of Internet of things (IoT) services over telecommunication networks
+
+# 1 Scope
+
+This Recommendation specifies a security methodology for the use of identity-based cryptography (IBC) technology in support of Internet of things (IoT) services over telecommunications networks. This security methodology includes mechanisms for device identification, private key issue, public parameter lookup and authentication protocols.
+
+NOTE – This methodology is not limited to IoT service, it can be used by other services also.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [IETF RFC 4764] IETF RFC 4764 (2007), *The EAP-PSK protocol: A Pre-Shared Key Extensible Authentication Protocol (EAP) Method*.
+- [IETF RFC 5091] IETF RFC 5091 (2007), *Identity-Based Cryptography Standard (IBCS) #1: Supersingular Curve Implementations of the BF and BB1 Cryptosystems*.
+- [IETF RFC 5216] IETF RFC 5216 (2008), *The EAP-TLS Authentication Protocol*.
+- [IETF RFC 5280] IETF RFC 5280 (2008), *Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile*.
+- [IETF RFC 5408] IETF RFC 5408 (2009), *Identity-Based Encryption Architecture and Supporting Data Structures*.
+- [IETF RFC 5480] IETF RFC 5480 (2009), *Elliptic Curve Cryptography Subject Public Key Information*.
+- [IETF RFC 5958] IETF RFC 5958(2010), *Asymmetric Key Packages*.
+- [IETF RFC 6507] IETF RFC 6507 (2012), *Elliptic Curve-Based Certificateless Signatures for Identity-Based Encryption (ECCSI)*.
+- [IETF RFC 6508] IETF RFC 6508 (2012), *Sakai–Kasahara Key Encryption (SAKKE)*.
+- [IETF RFC 6960] IETF RFC 6960 (2013), *X.509 Internet Public Key Infrastructure Online Certificate Status Protocol – OCSP*.
+- [IETF RFC 7250] IETF RFC 7250 (2014), *Using Raw Public Keys in Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)*.
+- [IETF RFC 8446] IETF RFC 8446 (2018), *The Transport Layer Security (TLS) Protocol Version 1.3*.
+- [ISO/IEC 11770-3] ISO/IEC 11770-3:2015, *Information technology – Security techniques – Key management – Part 3: Mechanisms using asymmetric techniques*.
+
+[ISO/IEC 14888-3] ISO/IEC 14888-3:2018, *IT Security techniques – Digital signatures with appendix – Part 3: Discrete logarithm based mechanisms*.
+
+[ISO/IEC 18033-5] ISO/IEC 18033-5:2015, *Information technology – Security techniques – Encryption algorithms – Part 5: Identity-based ciphers*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 identity provider** [b-ITU-T Y.2720]: An entity that creates, maintains and manages trusted identity information of other entities (e.g., users/subscribers, organizations, and devices) and offers identity-based services based on trust, business and other types of relationship.
+
+**3.1.2 identifier (ID)** [b-ITU-T E.101]: A series of digits, characters and symbols used to identify uniquely a subscriber, a user, a network element, a function, a network entity, a service or an application. Identifiers can be used for registration or authorization. They can be either public to all networks or private to a specific network (private IDs are normally not disclosed to third parties).
+
+**3.1.4 master public key (MPK)** [ISO/IEC 18033-5]: Public value uniquely determined by the corresponding master secret key.
+
+**3.1.3 master secret key (MSK)** [ISO/IEC 18033-5]: Secret value used by the private key generator to compute private keys for an IBE algorithm.
+
+**3.1.5 private key generator (PKG)** [ISO/IEC 18033-5]: Entity or function which generates a set of private keys.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 identity domain**: A collection of entities that share the same set of public parameters and identity naming rules.
+
+**3.2.2 public parameter**: One of the parameters for cryptographic computation, including a selection of a particular cryptographic scheme or function from a family of cryptographic schemes or functions, or from a family of mathematical spaces and the master public key.
+
+**3.2.3 public parameter server**: An entity that provides public parameters upon request.
+
+**3.2.4 security module (SecM)**: A piece of software or hardware or the composition of software and hardware that securely implements cryptographic mechanisms and provides security services.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-----|-----------------------------|
+| 4G | fourth Generation |
+| 5G | fifth Generation |
+| AuC | Authentication Centre |
+| AGW | Aggregate Gateway |
+| AK | Authentication Key |
+| AKA | Authenticated Key Agreement |
+| AN | Access Node |
+
+| | |
+|--------|-------------------------------------------------------------------------------|
+| AS | Access System |
+| ASN.1 | Abstract Syntax Notation one |
+| AU | Authentication Unit |
+| BN | Barreto-Naehrig |
+| BLS-12 | Barreto-Lynn-Scott embedding degree 12 |
+| BLS-24 | Barreto-Lynn-Scott embedding degree 24 |
+| CRL | Certificate Revocation List |
+| DER | Distinguished Encoding Rules |
+| EAP | Extensible Authentication Protocol |
+| ECCSI | Elliptic Curve-based Certificateless Signatures for Identity-based encryption |
+| EID | eUICC-ID |
+| EIS | eUICC Information Set |
+| eUICC | Embedded Universal Integrated Circuit Card |
+| EUM | eUICC Manufacturer |
+| GW | Gateway |
+| HSM | Hardware Security Module |
+| HTTP | Hypertext Transfer Protocol |
+| IBAKA | Identity-Based Authenticated Key Agreement |
+| IBC | Identity-Based Cryptography |
+| IBE | Identity-Based Encryption |
+| IBS | Identity-Based Signature |
+| ID | Identifier |
+| IdP | Identity Provider |
+| IMSI | International Mobile Subscription Identity |
+| IoT | Internet of Things |
+| ISP | IoT Service Platform |
+| IRL | Identity Revocation List |
+| ISD | Issuer Security Domain |
+| KDF | Key Derivation Function |
+| KDK | Key Derivation Key |
+| KEK | Key Encryption Key |
+| KEM | Key Encapsulation Mechanism |
+| KMIP | Key Management Interoperability Protocol |
+| KMS | Key Management Service |
+| KPAK | KMS Public Authentication Key |
+| KSS-16 | Kachisa-Schaefer-Scott embedding degree 16 |
+| KSS-18 | Kachisa-Schaefer-Scott embedding degree 18 |
+
+| | |
+|--------|---------------------------------------|
+| LTE | Long-Term Evolution |
+| LTE-M | Long-Term Evolution, category M1 |
+| MAC | Media Access Control |
+| MNO | Mobile Network Operator |
+| MSK | Master Secret Key |
+| NB-IoT | Narrowband Internet of Things |
+| OCSF | Online Certificate Status Protocol |
+| OID | Object Identifier |
+| OISP | Online Identity Status Protocol |
+| PKG | Private Key Generator |
+| PKI | Public Key Infrastructure |
+| PPS | Public Parameter Server |
+| PVT | Public Verification Token |
+| RSF | Revocation Server Function |
+| SecM | Security Module |
+| SK | Sakai-Kasahara |
+| SM-DP | Subscription Manager Data Preparation |
+| SM-SR | Subscription Manager Secure Routing |
+| SOK | Sakai-Ohgishi-Kasahara |
+| SSK | Secret Signing Key |
+| TLS | Transport Layer Security |
+| TLV | Tag, Length and Vector |
+| TVP | Time-Variant Parameter |
+| UE | User Equipment |
+| UICC | Universal Integrated Circuit Card |
+
+# 5 Conventions
+
+None.
+
+# 6 Overview
+
+The IoT can be viewed as a global infrastructure for the information society, enabling advanced services by interconnecting (physical and virtual) things based on existing and evolving interoperable information and communication technologies (ICT) according to clause 6.1 of [b-ITU-T Y.4000]. Security of IoT is one of the foremost concerns due to the ubiquitous nature of devices coupled with increasing sensitivity of user data. [b-ITU-T Y.4100] describes high-level common security requirements of IoT, including communication security, data management security, service provision security, as well as mutual authentication and authorization. [b-ITU-T X.1361] further analyses security threats and challenges in an IoT environment and describes capabilities that could address and mitigate them. The necessary security capabilities defined [b-ITU-T X.1361] include:
+
+- a secure communication capability for supporting secure, trusted and privacy protected communication;
+- a secure key management capability for supporting secure communications;
+- a secure data management capability for providing secure, trusted and privacy protected data management;
+- an authentication capability for authenticating devices;
+- an authorization (access control) capability for authorizing devices;
+- a capability to implement secure protocols based on lightweight cryptographic algorithms.
+
+IoT devices are characterized by a constraint of resources such as computation and communication capabilities. The nature of IoT devices brings new challenges to satisfy security requirements in an IoT system. Particularly, easy deployment, lightweight management operations and distributed authority are among the key factors when considering security solutions for IoT.
+
+As described in [b-ITU-T X.1361], authentication, access control, as well as data integrity and confidentiality are among essential services required to secure IoT. Both symmetric-key and public-key cryptography mechanics can be exploited to provide such services.
+
+A symmetric-key based security solution is relatively simple. However, it does not fit well in peer-to-peer scenarios such as machine-to-machine applications in IoT without an online service acting as a trust broker or without pre-sharing a secret pairwise among devices. Cross-system secure communication is also complicated without exposing the user secret to peer parties.
+
+The traditional certificate-based public key cryptography solution involves heavyweight key management operations, including certificate issue, querying, distribution, verification and revocation. Such systems face significant challenges in keeping up with the pace of increases in device numbers and functionality on IoT while maintaining decent performance. Overhead of exchanging certificates in security protocols also causes problems, particularly in narrowband Internet of things (NB-IoT) networks which have a small packet data unit.
+
+Identity-based cryptography (IBC) is another type of technology, which uses an entity's identity as a public key. As one of the essential features of IoT, everything has a unique identifier (ID). By using such IDs as public keys, no certificates are required. Consequently, an IBC security solution utilizes simpler key management, enables distributed authorities to control their own devices and scales well to both high number of endpoints and diversity of devices. As no certificates are transmitted, security protocols can be conducted more efficiently.
+
+In an IBC system, a trusted party called a key management service (KMS) is in charge of generating each entity's private key. Before providing the key generation service, the KMS starts a system initialization process by invoking an **IBSetup** function which, given a security parameter, determines a set of system parameters and generates a master secret key (MSK) and a master public key (MPK). Note that the KMS has the same function as private key generator (PKG). Thus, for convenience of expression, KMS and PKG are used interchangeably in this Recommendation, and the combination of system parameters and the MPK is referred to as the public parameters. The KMS keeps the MSK strictly confidential and makes the public parameters publicly available. If necessary, the public parameters may be published by a dedicated service public parameter server (PPS).
+
+A typical IBC security system may use a range of IBC mechanisms including identity-based encryption (IBE), identity-based signature (IBS) and identity-based authenticated key agreement (IBAKA) to provide various security services including data confidentiality, entity authentication and secure channel establishment. All of these IBC algorithms can be deemed as the composition of two sets of functions. One set consists of key generation functions, which generate identity-based public and private key pairs. The private key generation function (**IBExtract**) generates a private key from an ID, the MSK and the public parameters. The identity public key derivation function (**IBDerivate**) computes a public key from an ID and the public parameters. The other set of functions, e.g.,
+
+encryption or decryption (**IBEnc/IBDec**), signing or verification (**IBSign/IBVerify**) and authenticated session key establishment protocol, uses the key pairs generated to complete corresponding cryptographic operations.
+
+IBC technology has been standardized by various standards development organizations, including the International Organization for Standardization (ISO), International Electrotechnical Commission (IEC), Internet Engineering Task Force (IETF), Institution of Electrical and Electronics Engineers (IEEE), European Telecommunications Standards Institute (ETSI) and Standard Administration of China (SAC). A list of some relevant standards developed by these organizations is given in the Bibliography. OneM2M is also considering use of IBC technologies for IoT networks in Release 4, whose security analysis can be found in [b-ETSI TR 118 508].
+
+This Recommendation describes a security framework for using IBC technology to provide security capabilities for IoT services over telecommunications networks. The framework covers aspects of identity management, key management architecture, key management operations and authentication, as well as key agreement protocols of using IBC.
+
+# 7 System reference architecture for IoT services over telecommunications networks
+
+This clause presents a general system reference architecture for IoT services over telecommunications networks. Figure 1 shows a conceptual system reference architecture for IoT services. The system consists of three domains: IoT device, access system (AS), and IoT service platform (ISP).
+
+
+
+```
+graph LR
+ IoT_device[IoT device] -.- AN[AN]
+ subgraph AS [Access system]
+ AN --- CP([Control plane])
+ AN --- UP([User plane])
+ CP --- UP
+ end
+ UP --- IoT_service_platform[IoT service platform]
+```
+
+Figure 1: Conceptual system architecture for Internet of things services. The diagram shows three main components: an IoT device, an Access system (AS), and an IoT service platform. The IoT device is connected to the AS via a dashed line. The AS is represented by a large rectangle containing an AN (Access Network) block and two ovals: 'Control plane' and 'User plane'. The AN is connected to both the Control plane and the User plane. The Control plane is also connected to the User plane. The User plane is connected to the IoT service platform. The IoT service platform is represented by a separate rectangle. The diagram is labeled 'X.1365(20)\_F01' at the bottom right.
+
+**Figure 1 – Conceptual system architecture for Internet of things services**
+
+IoT devices are responsible for data collection or performing actions. Most IoT devices can establish a connection with a telecommunication system and communicate with an ISP. Nowadays, the majority of IoT devices connect to an ISP via a wireless link established with a telecommunication network. In this Recommendation, the AS refers to telecommunication networks. Usually it consists of two parts: access network (AN) and core network. The core network can be further subdivided into two parts: control plane and user plane, which are responsible for control signalling and data transmission, respectively.
+
+The telecommunication network, as a traditional wireless connection, has already been used for several generations. Historically, telecommunication networks are designed to support mobile communication for human beings with seamless roaming features. In recent years, starting from fourth generation (4G) long-term evolution (LTE) networks, supporting of IoT devices are also considered in the design. For example, in 4G-LTE, category M1 (LTE-M) and NB-IoT technologies are developed to support IoT devices.
+
+The majority of today's telecommunication systems consist of three components: terminals or user equipment (UE), an AN, and core networks. Here, it is assumed that both the AN and core networks belong to the AS, illustrated in Figure 1. IoT services are usually outside telecommunication networks with some interfaces for data transmission and service management. To provide better support for IoT services, telecommunication networks are including more IoT specific design in their system
+
+specifications. Integration between telecommunications networks and IoT services has become closer in recent years.
+
+With system specifications developed for fifth generation (5G) networks, public key technologies are supported for IoT services, including network access authentication. As mentioned in clause 6, compared to other public key technologies, IBC is simpler in management and more efficient in transmission. Therefore, the use of IBC for IoT services over telecommunication networks requires specification as a standard complementary to existing specifications.
+
+# **8 Framework of using identity-based cryptography for IoT services over telecommunications networks**
+
+In this clause, a framework of using IBC public key technologies for IoT services in telecommunications networks is provided. The framework contains a system architecture by including necessary network components required when using IBC technologies. Furthermore, a key management framework for IBC is specified, as it is essential for a system using IBC technology. Other critical issues, such as key management, identity naming and authentication protocols, are also addressed in this framework.
+
+## **8.1 IoT system architecture with identity-based cryptography**
+
+For IoT services run over telecommunications networks, IBC can be used for either network access authentication or service access authentication, or both. Network access authentication addresses whether a device is allowed to access the network, while service access authentication addresses whether a device can access an ISP.
+
+IoT devices can access the telecommunication network directly or indirectly. Hence, there are two access models:
+
+- direct-connected model: IoT devices connect to the AS directly;
+- indirect-connected model: IoT devices connect to the AS via an aggregate gateway (AGW).
+
+Figure 2 shows an IoT system reference architecture with IBC used for both AS and ISP security protection. From security point of view, both the AS and ISP may have their own security requirements for IoT services. Considering security credentials may be provided by either the AS or the ISP, there are three scenarios using IBC for IoT networks, as follows.
+
+- using IBC in AS security protection scenario:
+For this scenario, security credentials for network access stored in IoT devices are provided and managed by the AS. IoT devices are authenticated by the AS when connecting to it. For example, an IoT device computes the IBS signature based on the private key provided by the AS and sends the signature to the AS. Accordingly, the AS can authenticate the IoT device based on the IBS signature provided in the authentication messages. If the verification is success, the AS sends the data from the IoT device to the IoT server;
+- using IBC for ISP security protection:
+The IBC credentials stored in IoT devices are provided and managed by the ISP for service access. IoT devices are authenticated by the ISP based on the signature generated with IBC credentials;
+- using IBC in both AS and ISP security protection scenario:
+The IBC security credentials stored in IoT devices are provided and managed by either the AS or by the ISP, or both jointly. The IoT device can be authenticated by both the AS and ISP with the same set of credentials.
+
+
+
+X.1365(20)\_F02
+
+Figure 2: IoT system architecture based on identity-based cryptography. The diagram shows three main components: IoT devices, an Access system, and an IoT service platform. IoT devices (IoT device-1, IoT device-2, IoT device-3) are connected to an Aggregate Gateway (AGW) via interfaces T0, G1, and G1. The AGW connects to an Access Node (AN) via interface G2. The Access system (AS) includes AN, AS.GW, AS.AU, AS.KMS, and AS.RSF. The IoT service platform (ISP) includes IPS.GW, ISP.AU, ISP.KMS, ISP.RSF, and an IoT server. Connections between the Access system and the IoT service platform are labeled T1, T2, T3, I1, I2, I3, I4, and I5.
+
+**Figure 2 – IoT system architecture based on identity-based cryptography in both access system and IoT service platform security protection scenarios**
+
+The three scenarios described above cover most use cases with IBC for network and service access. However, there could be other scenarios that are outside the scope of this Recommendation.
+
+IoT system architecture based on IBC consists of the following network functions (NF) and devices:
+
+- access system (AS): a system of access for IoT devices or AGW, including access node (AS.AN), key management system (AS.KMS) function, authentication unit (AS.AU), revocation server function (AS.RSF) and gateway (AS.GW);
+ - IoT service platform (ISP): a platform for IoT service management, including key management system function (ISP.KMS), authentication unit (isp.au), revocation server function (ISP.RSF), gateway (ISP.GW) and IoT server. The ISP shall support key management, distribution, identity authentication, encryption or decryption and signature signing or verification, etc.;
+ - aggregate gateway (AGW): an aggregation node, responsible for an IoT device connection, aggregating and sending all IoT device data to the AS. The AGW plays the proxy role of data transmission between IoT devices and the AN;
+ - access node (AN): access node for IoT devices or AGW, can be a wireless or fixed network access point;
+ - key management system (KMS) function: a management system, responsible for key generation, distribution and update of the IBC keys and parameters for IoT devices and network functions;
+ - authentication unit (AU): an AU authenticates an IoT device based on IBC system;
+ - revocation server function (RSF): a server maintains an identity revocation list (IRL). Public keys or identities in the revocation list are excluded from usage;
+- NOTE – Both the AS and ISP may have their own KMS, AU and RSF.
+- access system gateway (AS.GW): a network element connected to an IoT GW, responsible for IoT user data transmission;
+ - IoT gateway (IoT GW): a GW responsible for forwarding or aggregating data and transmitting data to an IoT server, or for forwarding data/signalling from an IoT server to IoT devices.
+
+- IoT server: a server located on the IoT service provider side, collecting IoT data from the IoT GW;
+- IoT device: an end device, used for data collection and connection establishment with an AN and IoT server, providing data protection, including key negotiation, encryption or decryption and signature signing or verification.
+
+Functions of the reference points shown in Figure 2 are described as follows:
+
+- G1: reference point between an IoT device and AGW, used for authentication and security communication;
+- G2: reference point between an AGW and AN, used for signalling and data communication between the AGW and AN;
+- T0: reference point between IoT devices, used for signalling and data exchange;
+- T1: reference point between IoT devices and an AN, used for authentication and security communication;
+- T2: reference points between AS.GW and ISP.GW, providing a user plane data tunnel between the AS.GW and ISP;
+- T3: reference points between AS.AU and ISP.AU, for signalling exchange, including identity exchange or key provision;
+- A1: reference points between AN and AS.GW, for user plane data tunnelling;
+- A2: reference points between AS.AU and AN, for control plane signalling;
+- A3: reference points between AS.AU and AS.GW, for GW allocation and management protocol in the AS;
+- A4: reference points between AS.AU and AS.KMS, for the key provision protocol in the AS;
+- A5: reference points between AS.AU and AS.RSF, for the identity or key revocation protocol in the AS;
+- I1: reference points between IoT server and ISP.GW, for user plane data tunnelling;
+- I2: reference points between ISP.AU and ISP.GW, for GW allocation and management protocol in the ISP;
+- I3: reference points between ISP.AU and IoT server, for information exchange, such as service-related subscription information transferred from IoT server to ISP.AU, authentication notification message from ISP.AU to the IoT server;
+- I4: reference points between ISP.AU and ISP.KMS, for the key provision protocol in the ISP;
+- I5: reference points between ISP.AU and ISP.RSF, for the identity or key revocation protocol in the ISP.
+
+## 8.2 Key management architecture
+
+This clause describes the functional architecture required to support key management when using IBC mechanisms in IoT. Based on whether an IoT device has an embedded universal integrated circuit card (eUICC) [b-GSMA SGP.02] component, two types of key management architecture are considered: 1) IBC in IoT devices with eUICC; and 2) IBC in non-eUICC IoT devices.
+
+If using IBC in IoT devices with eUICC, the architecture follows that of general eUICC remote provision defined in [b-GSMA SGP.02] by adding two new function entities, i.e., KMS and PPS. Depending on the location of the KMS, this case is further divided into the following two subcases:
+
+- 1) KMS is managed by the entity that is also in charge of a mobile network operator (MNO) – see Figure 3;
+- 2) KMS is managed by the entity that is in charge of subscription manager data preparation (SM-DP) – see Figure 4.
+
+In both subcases, the keys including the private key and public parameters are generated when an MNO places a profile order. The keys are then provided remotely to eUICC devices as those keys installed following current remote key provision specification in [b-GSMA SGP.02]. Details of roles, associated functions and interfaces of eUICC remote provision can be found in [b-GSMA SGP.02]. Specification of profile, storage format and usage of these keys in eUICC is outside the scope of this Recommendation.
+
+
+
+```
+
+graph TD
+ MNO_KMS[MNO/KMS] <--> SM_SR_PPS[SM-SR/PPS]
+ MNO_KMS --> eUICC[eUICC]
+ MNO_KMS --> SM_DP[SM-DP]
+ eUICC <--> SM_SR_PPS
+ SM_SR_PPS <--> SM_DP
+ SM_SR_PPS <--> EUM[EUM]
+ EUM --> eUICC
+
+```
+
+X.1365(20)\_F03
+
+Figure 3: Identity-based cryptography key management architecture A for IoT devices with embedded universal integrated circuit card. The diagram shows a central SM-SR/PPS block connected to MNO/KMS, eUICC, SM-DP, and EUM. MNO/KMS also connects to eUICC and SM-DP. EUM connects to eUICC.
+
+**Figure 3 – Identity-based cryptography key management architecture A for IoT devices with embedded universal integrated circuit card**
+
+
+
+```
+
+graph TD
+ MNO[MNO] <--> SM_SR_PPS[SM-SR/PPS]
+ MNO --> eUICC[eUICC]
+ MNO --> SM_DP_KMS[SM-DP/KMS]
+ eUICC <--> SM_SR_PPS
+ SM_SR_PPS <--> SM_DP_KMS
+ SM_SR_PPS <--> EUM[EUM]
+ EUM --> eUICC
+
+```
+
+X.1365(20)\_F04
+
+Figure 4: Identity-based cryptography key management architecture B for IoT devices with embedded universal integrated circuit card. The diagram shows a central SM-SR/PPS block connected to MNO, eUICC, SM-DP/KMS, and EUM. MNO also connects to eUICC and SM-DP/KMS. EUM connects to eUICC.
+
+**Figure 4 – Identity-based cryptography key management architecture B for IoT devices with embedded universal integrated circuit card**
+
+In the case of using IBC in non-eUICC IoT devices, a general architecture is depicted in Figure 5. The building blocks include the following:
+
+- SecM: A security module (SecM) represents an element that can securely store keys and execute security mechanisms with the stored keys to complete security operations. An IoT device should have a SecM;
+- IdP: An identity provider (IdP) is an entity that creates, maintains, and manages identity information;
+- AuC: An authentication centre (AuC) offers entity authentication as a service.
+
+The IdP relies on the authentication service provided by the AuC to authenticate IoT devices. After the initial authentication process, the IdP provides identity provision service to the SecM including identity creation, designation, replacement and revocation. After a new identity is created and designated to an IoT device, the IdP invokes the private key generation service provided by the KMS to generate the private key corresponding to the newly allocated ID and securely distribute the keys to the SecM. The IdP also extracts public parameters from the KMS and feed them into the PPS which publishes the public parameters to external entities. The IdP may also provide authentication service
+
+to other entities by executing with the SecM specific authentication protocols including those defined in this Recommendation.
+
+
+
+```
+graph TD; KMS <--> IdP; IdP <--> AuC; IdP <--> PPS; SecM <--> IdP; SecM --> PPS;
+```
+
+Figure 5: Identity-based cryptography key management architecture for non-embedded universal integrated circuit card IoT devices. The diagram shows five components: KMS (Key Management System) at the top, IdP (Identity Provider) in the center, SecM (Security Manager) to the left of IdP, AuC (Authentication Center) to the right of IdP, and PPS (Public Parameter Set) at the bottom. Bidirectional arrows connect KMS and IdP, IdP and AuC, IdP and PPS, and SecM and IdP. A unidirectional arrow points from SecM to PPS. The reference X.1365(20)\_F05 is located at the bottom right of the diagram area.
+
+**Figure 5 – Identity-based cryptography key management architecture for non-embedded universal integrated circuit card IoT devices**
+
+## 8.3 Identity naming
+
+When using IBC technology for IoT services over a telecommunication network, identity naming can provide useful information to help operators to manage the network. Various pieces of information, e.g., service type, location, device ID and valid time can be embedded in an identity. Part of the information is necessary when using IBC technology, e.g., the valid time. With the identity information, the operator can optimize network management, e.g. by allocating a connection to specific network slices based on its service type. It is also easy to locate a device based on its location information. An example definition of the identity is presented in Appendix I.
+
+## 8.4 Key management
+
+Apart from the identity value, an IBC system involves three types of cryptographic key values: the MSK, the public parameters and the private key. The abstract syntax notation one (ASN.1) definition of these key structures is given in Annex B.
+
+To manage these keys, the IBC system makes use of five key management operations:
+
+- 1) system initialization operation;
+- 2) device initialization;
+- 3) public parameter lookup;
+- 4) identity and key provisioning;
+- 5) identity and key revocation.
+
+The key management interoperability protocol (KMIP) [b-OASIS KMIP] can be utilized to exchange messages between the management entity and the KMS. However, extension necessary to KMIP to satisfy new requirements of the **IBSetup** and **IBExtract** function requires definition. For IoT devices with eUICC, standard procedures for remote key provision are used [b-GSMA SGP.02]. For non-eUICC IoT devices, the protocols for interactions between the SecMs and the management entities are defined based on hypertext transfer protocol (HTTP). Specifications of these operations are defined in Annex C.
+
+The system initialization operation initializes an IBC system by generating the MSK and public parameters. A management entity, such as IdP, SM-DP or MNO, is assumed to be in charge of the IBC system initialization process. It establishes a secure channel with a KMS entity that implements the **IBSetup** function. The two parties execute the KMIP with the create key pair operation. The management entity provides necessary information for the KMS to invoke the **IBSetup** function and generate the MSK and public parameters. The KMIP is extended to support setup functions
+
+including those of various standardized IBC algorithms. Details of this operation are specified in clause C.1.
+
+The device initialization operation is to prepare an IoT device for identity and key provision. There are two cases: initialization of IoT devices with eUICC and initialization of non-eUICC IoT devices. For devices with eUICC, it is required that eUICC completes the registration at subscription manager secure routing (SM-SR) and so is ready for profile download [b-GSMA SGP.02]. There is no extra operation required for standard eUICC devices. For non-eUICC IoT devices, the SecM should first register with AuC to get a provision ID (PROV.ID) and provision credential (PROV.CRED). This pair, PROV.ID/PROV.CRED, is used for entity authentication in the identity/key provision process. If IoT devices cannot establish a secure channel with IdP using transport layer security (TLS), it is further required that a key identity IdP.ID and a related public key IdP.PUK belonging to IdP or the public parameter should be installed in SecM during the device initialization process. Details of the operation are specified in clause C.2.
+
+The public parameter lookup operation is to retrieve the IBC public parameters. An IoT device shall use the identity and key provision procedure to get the public parameters of the IBC system that it belongs to. It may follow the specification defined in clause 4 of [IETF RFC 5408] to retrieve the public parameters of another IBC system from the known PPS. Details of the operation are specified in clause C.3.
+
+The identity and key provisioning operation includes the identity assignment, the private key extraction and the key distribution procedure. IoT devices after the initialization process only have a provisional identity. The IdP or SM-DP or MNO shall determine which identity is to be assigned to the requesting device and then communicate with the KMS to generate the corresponding private key and finally distribute the identity, the private key and the public parameters to the device securely. Details of the operation are specified in clause C.4.
+
+The identity and key revocation operation is used when a stringent security policy requires that an identity should be revoked in a timely fashion. If an identity is revoked, the identity shall be set in the revoked status. If an entry queries the status of a revoked identity, IdP or SM-DP or MNO shall return the correct value as defined in the online identity status protocol (OISP). To check a batch of identity statuses more efficiently, an entity can retrieve the IRL from IdP or SM-DP or MNO regularly and store it locally, and the entity can check with the fresh IRL to determine whether an identity is revoked without querying status online for each identity. Details of the operation are specified in clause C.5.
+
+## **8.5 Authentication**
+
+Authentication is the process of determining whether an entity (a device or a user) has the right to access certain resources. In telecommunication networks, there are two types of authentication related to IoT devices: network access authentication and service authentication. Network access authentication addresses whether a device is allowed to access the network, while service authentication addresses whether a device can access an ISP or not.
+
+Authentication protocols built based on IBC technologies are suitable for IoT authentications in telecommunication networks. This is due to the fact that IBC can greatly reduce the burden on identity and key management for a massive number of IoT devices. Another advantage of IBC is that it enables distributed authentication, which not only significantly reduces authentication time, but also enables new application scenarios, e.g., device to device authentication, vehicle to vehicle authentication. For current telecommunications networks, such as 4G LTE networks, IBC can be used in authentication between IoT devices and ISPs. For 5G cellular networks, IBC can be used for both network access authentication and service access authentication. Current specification for 5G security, [b-ETSI TS 133.501], specifies a unified authentication framework that supports extensible authentication protocol (EAP) methods. Annex of [b-ETSI TS 133.501] further specifies how to use EAP-TLS in 5G for IoT networks.
+
+The EAP framework is open and supports many authentication protocols, including EAP-TLS. Both symmetric and asymmetric keys are supported by EAP authentication methods.
+
+As a relatively new public key technology, IBC is not well supported in existing authentication protocols. Therefore, in Annex D, four existing protocols are amended to support IBC in authentication:
+
+- 1) clause D.1: one-pass secret transport protocol [ISO/IEC 11770-3];
+- 2) clause D.2: TLS with raw public key [IETF RFC 8446];
+- 3) clause D.3: EAP-TLS [IETF RFC 5216];
+- 4) clause D.4: EAP-PSK [IETF RFC 4764IETF RFC 4764].
+
+# **9 Security requirements**
+
+This Recommendation only focuses on security requirements of using IBC in IoT. General security threats and requirements for IoT are specified in [b-ITU-T X.1361]. As a cryptosystem, paramount security concerns are the integrity and authenticity of public keys used and secrecy of long-term and ephemeral secret keys used. An IBC system involves the following components: the MSK, public parameters, IDs, private keys and ephemeral secrets used in cryptographic operations.
+
+## **9.1 Security requirements on master secret key**
+
+All private keys are generated by the MSK. In particular, if the MSK is compromised, the adversary has the ability to recreate any entity's private key and therefore can decrypt all messages protected with the corresponding public key or impersonate any entity. Any illegal access to the MSK would compromise the security of the IBC system. Hence, the MSK shall be stored in a hardened environment such as a hardware security module (HSM). Any access to the key shall be authenticated with strong security mechanisms.
+
+## **9.2 Security requirement on public parameters**
+
+The public key is computed from the public parameters and an ID with the **IBDerivate** operation. Hence using a false set of public parameters generated by an adversary to encrypt a message or verify a signature will lead to compromise of secrecy of the encrypted message or reach a false conclusion of the originator of a signature. Hence, the public parameters shall be transmitted through a secure channel or with a valid signature. An entity shall verify the peer entity of the secure channel or verify the validity of the signature with regard to a trusted public key before accepting the public parameters.
+
+## **9.3 Security requirement on identifier**
+
+In IoT, each entity owns an ID. If the same ID is assigned to more than one entity and the corresponding private key is provisioned to each entity, this could result in leakage of sensitive information or impersonation attacks. Hence, each device shall be assigned a unique ID.
+
+## **9.4 Security requirement for private key**
+
+The private key could be leaked if the security environment of an IoT device is compromised. Hence, the private key shall be distributed through a secure channel and stored in a secure environment.
+
+## **9.5 Security requirement for ephemeral secrets**
+
+Ephemeral secrets, such as the random secret used in encryption or signature processes, could be leaked if the security environment of an IoT device is compromised. Hence, randomness of ephemeral secrets shall be guaranteed.
+
+# Annex A
+
+## Generic formulation and algorithms of identity-based cryptography
+
+(This annex forms an integral part of this Recommendation.)
+
+This annex gives a generic formulation of IBC and provides a list of IBC algorithms that are supported in this Recommendation. The algorithms that follow this generic formulation but that are not listed below may also be easily included in the future as extensions to this framework. The generic formulation specified here also guides the descriptions of related key data structures, key management operations, as well as authentication and key establishment protocols defined in Annex B through Annex D.
+
+An IBC cryptosystem involves the following types of key data, where the categorization of these keys follows [ISO/IEC 18033-5]:
+
+- *ib.msk*: the MSK is the secret value used by the KMS to compute an identity-based private key. *ib.msk* is generated during the system initialization process and is known by KMS only;
+- *ib.mpk*: the MPK that is uniquely determined by the corresponding MSK. *ib.mpk* is computed by KMS during the system initialization process;
+- *ib.sysparam*: the system parameters for cryptographic computation including a selection of a particular cryptographic scheme or function from a family of cryptographic schemes or functions, or from a family of mathematical spaces. *ib.sysparam* is chosen by KMS during the system initialization process;
+- *ib.pubparam*: the public parameters are the combination of the system parameters *ib.sysparam* with the MPK *ib.mpk*. This type of key is defined to provide a unified view among International Standards such as [ISO/IEC 18033-5] and RFCs related to IBC such as [IETF RFC 5091];
+- *ib.prk*: the identity-based private key, which is generated by KMS with *ib.msk* and *ib.pubparam*, corresponding to an identifier *ID*;
+- *ib.pub*: the identity-based public key, which is computed from an identifier *ID* and *ib.pubparam* through a function defined by an identity-based cryptographic scheme.
+
+An IBC cryptosystem may include the following functions, which are specified with inputs and outputs:
+
+### **IBSetup**
+
+input: security parameter
+
+output: *ib.pubparam*, *ib.msk*
+
+### **IBExtract**
+
+input: *ib.pubparam*, *ib.msk*, *ID*
+
+output: *ib.prk*
+
+### **IBDerivate**
+
+input: *ib.pubparam*, *ID*
+
+output: *ib.puk*
+
+### **IBEnc**
+
+input: *ib.pubparam*, *ID*, message *M*
+
+output: ciphertext $C$
+
+### **IBDec**
+
+input: $ib.pubparam$ , $ID$ , $ib.prk$ , ciphertext $C$
+
+output: plaintext $M$ or error
+
+### **IBSign**
+
+input: $ib.pubparam$ , $ID$ , $ib.prk$ , message $M$
+
+output: signature $S$
+
+### **IBVerify**
+
+input: $ib.pubparam$ , $ID$ , message $M$ , signature $S$
+
+output: valid or invalid
+
+This Recommendation shall support the use of the following identity-based algorithms:
+
+- BB1-KEM (key encapsulation mechanism (KEM)) [IETF RFC 5091];
+- BF-IBE [IETF RFC 5091];
+- SK-KEM [IETF RFC 6508];
+- SM9-IBE [b-GM/T 0044.2];
+- Cha-Cheon-IBS (IBS2) [ISO/IEC 14888-3];
+- ECCSI (elliptic curve-based certificateless signatures for identity-based encryption) [IETF RFC 6507];
+- Hess-IBS (IBS1) [ISO/IEC 14888-3];
+- SM9-IBS (Chinese IBS) [ISO/IEC 14888-3];
+- Fujioka-Suzuki-Ustaoglu-AKA (authenticated key agreement (AKA)) [ISO/IEC 11770-3];
+- Smart-Chen-Cheng-AKA [ISO/IEC 11770-3];
+- SM9-AKA [b-GM/T 0044.2];
+- Wang-AKA [b-IEEE P1363.3].
+
+All of these algorithms are based on the discrete logarithm assumption and typically are implemented on the point group over an elliptic curve. Many of these algorithms also make use of cryptographic pairing over an elliptic curve [b-Galbraith]. A cryptographic pairing $e$ is an efficiently computable bilinear map $e: G1 \times G2 \rightarrow G3$ , satisfying the equation:
+
+$$e([a]P1, [b]P2) = e(P1, P2)^{a*b}$$
+
+where $P1$ and $P2$ are the generator of cyclic group $G1$ and $G2$ , respectively. $[a]P1$ denotes $a$ times group operations with $P1$ ; similarly $[b]P2$ is the group operation with $P2$ .
+
+A cryptographic pairing can be instantiated by the Weil pairing, Tate pairing, optimal Ate pairing, etc., over pairing-friendly elliptic curves [b-Freeman]. The commonly used pairing-friendly elliptic curves include supersingular elliptic curves, Barreto-Naehrig (BN) curves, Barreto-Lynn-Scott embedding degree 12 (BLS-12) curves, Kachisa-Schaefer-Scott embedding degree 16 (KSS-16) curves, Kachisa-Schaefer-Scott embedding degree 18 (KSS-18) curves and Barreto-Lynn-Scott embedding degree 24 (BLS-24) curves [b-Freeman]. All these curves $E$ are based on a prime field, a finite field of prime characteristic $p$ , $F_p$ , where $p$ is a prime integer. $G1$ is the point subgroup on curve $E$ . $G2$ is either the same as $G1$ if the supersingular curves are used or is a point subgroup on the twist curve $E$ . $E$ is constructed from some extension field of the base field $F_p$ . $G3$ is the field extension $F_{p^k}$ of the base field $F_p$ , where $k$ is the embedding degree.
+
+There IBC algorithms are constructed with other mathematical mechanisms such as lattices, e.g., [b-Ducas]. This type of algorithm is efficient regarding computation, while having larger key and output size than those based on the discrete logarithm over elliptic curves. The algorithms are generally believed to be resistant to attacks running on quantum computers. However, algorithms of this category are still under development. Hence it seems premature to consider them for standardization, but those lattice-based IBC algorithms may be considered for future inclusion.
+
+# Annex B
+
+## Identity-based cryptography key data specification
+
+(This annex forms an integral part of this Recommendation.)
+
+Using the standard ASN.1 method, [IETF RFC5408] has defined a generic structure for system parameters, including *ib.pubparam* and other auxiliary information, and [IETF RFC 5091] has defined two sets of key data structures including *ib.msk* and *ib.prk* for two IBE algorithms, i.e., BF-IBE and BB1-IBE. While maintaining compatibility with the existing definitions, this Recommendation extends the system parameter definition and defines new key data structures to support more algorithms and various efficient implementations with different curves and pairings.
+
+A generic system parameter structure is defined as follows:
+
+```
+IBSysParams ::= SEQUENCE {
+ version INTEGER { v3(3) },
+ domainName IA5String,
+ domainSerial INTEGER,
+ validity ValidityPeriod,
+ ibPublicParameters IBPublicParameters,
+ ibIdentityType OBJECT IDENTIFIER,
+ ibParamExtensions [0] IMPLICIT IBParamExtensions OPTIONAL,
+ signatureAlgorithm [1] IMPLICIT AlgorithmIdentifier OPTIONAL,
+ signature [2] IMPLICIT BIT STRING OPTIONAL
+}
+```
+
+IBSysParams corresponds to the IBESysParams definition in [IETF RFC 5408], but the version is changed to v3 (3) and two extra fields are added. *districtName* and *districtSerial* have been renamed as *domainName* and *domainSerial*, respectively. The definition of *IBPublicParameter* has been modified from the OCTET STRING type to the newly defined *IBParameterData* type, which is a CHOICE determined by the value of *pkgAlgorithm*. This definition removes unnecessary double-encoding caused by the previous definition, namely, encoding *publicParameterData* as a SEQUENCE of, for example, *BFPublicParameters* and further encoding the result as an OCTET STRING. Except the two new fields, the meaning of other fields remains unchanged as in [IETF RFC 5408]. The meanings of the two new fields are as follows:
+
+- *signature algorithm* designates the signature algorithm used to generate the signature value. This field is optional, as the signature field is not mandatory;
+- *signature field* contains the digital signature computed upon the ASN.1 distinguished encoding rules (DER) result from field *version* to *ibParamExtensions*. This field is encoded as BIT STRING and is optional.
+
+If present, the signature field is used to help an entity to check the authenticity of the system public parameters without resorting other methods. For example, if an IoT device does not have the capability to establish a TLS-based secure channel as required in [IETF RFC 5408] to retrieve the public parameters of another IBC system, it may query its PPS with HTTP. In this case, the serving PPS shall sign the requested public parameters with its private signing key. The IoT device can verify the signature to check the authenticity of the response. If a PPS is publishing the public parameters of another IBC system to its serving entities, it is recommended that the signing message be treated
+
+as an identity and the **IBExtract** algorithm used as the signature algorithm to generate the private key as the corresponding signature value. In this way, the IoT devices verify whether the signature value is a valid private key corresponding to the ASN.1 DER result from field version to *ibParamExtensions* and do not need an extra verification public key to verify the signature.
+
+```
+ValidityPeriod ::= SEQUENCE {
+ notBefore GeneralizedTime,
+ notAfter GeneralizedTime
+}
+```
+
+```
+IBPublicParameters ::= SEQUENCE SIZE (1..MAX) OF IBPublicParameter
+```
+
+```
+IBPublicParameter ::= SEQUENCE {
+ pkgAlgorithm OBJECT IDENTIFIER,
+ publicParameterData IBParameterData
+}
+```
+
+The value of *publicParameterData* is defined by *pkgAlgorithm*. It can be one of following choices.
+
+```
+IBParameterData ::= CHOICE {
+ bb1ParameterData [0] IMPLICIT BB1PublicParameters,
+ bfParameterData [1] IMPLICIT BFPublicParameters,
+ eccsiParameterData [2] IMPLICIT ECCSIPublicParameters,
+ skParameterData [3] IMPLICIT SKPublicParameters,
+ sm9ParameterData [4] IMPLICIT SM9PublicParameters
+}
+```
+
+```
+IBParamExtensions ::= SEQUENCE OF IBParamExtension
+```
+
+```
+IBParamExtension ::= SEQUENCE {
+ ibParamExtensionOID OBJECT IDENTIFIER,
+ ibParamExtensionValue OCTET STRING
+}
+```
+
+```
+AlgorithmIdentifier ::= SEQUENCE {
+ algorithm OBJECT IDENTIFIER,
+ parameters ANY DEFINED BY algorithm OPTIONAL
+}
+```
+
+In [IETF RFC 5091], two sets of MSK, public parameters and private key block, i.e.:
+
+- BB1MasterSecret, BB1PublicParameters, BB1PrivateKeyBlock;
+- BFMasterSecret, BFPublicParameters, BFPrivateKeyBlock are defined for BF and BB1 key generation function. These designations only fit with implementations of the functions with symmetric pairings on supersingular elliptic curves defined over prime fields. This Recommendation specifies new structures with version changed to v3 to support implementations of these algorithms with asymmetric pairings. For symmetric pairings over supersingular elliptic curves, the corresponding field in BB1 and BF key data structures remains unchanged as in [IETF RFC 5091]. Three more sets of key data structures are defined for ECCSI, SM9, and SK-KEM. Respectively;
+
+```
+
+BB1MasterSecret ::= SEQUENCE {
+
+```
+
+```
+
+ version INTEGER { v3(3) },
+
+```
+
+```
+
+ alpha INTEGER,
+
+```
+
+```
+
+ beta INTEGER,
+
+```
+
+```
+
+ gamma INTEGER
+
+```
+
+```
+
+}
+
+```
+
+- for implementations with asymmetric pairings, alpha shall be s1, beta shall be s2 and gamma shall be s3 in clause 9.3 of [ISO IEC 18033-5];
+
+```
+
+BB1PublicParameters ::= SEQUENCE {
+
+```
+
+```
+
+ version INTEGER { v3(3) },
+
+```
+
+```
+
+ curve OBJECT IDENTIFIER,
+
+```
+
+```
+
+ hashfcn OBJECT IDENTIFIER,
+
+```
+
+```
+
+ pairing PAIRING OPTIONAL,
+
+```
+
+```
+
+ p INTEGER OPTIONAL,
+
+```
+
+```
+
+ q [0] IMPLICIT INTEGER OPTIONAL,
+
+```
+
+```
+
+ pointP FpPoint,
+
+```
+
+```
+
+ pointQ [1] EXPLICIT FpxPoint OPTIONAL,
+
+```
+
+```
+
+ pointP1 FpPoint,
+
+```
+
+```
+
+ pointP2 [2] EXPLICIT FpxPoint OPTIONAL,
+
+```
+
+```
+
+ pointP3 FpPoint,
+
+```
+
+```
+
+ v FpxElement
+
+```
+
+```
+
+}
+
+```
+
+- pairing specifies which type of bilinear map shall be used with generated parameters. Three types of pairing are supported: Weil pairing; Tate pairing; and optimal Ate pairing.
+- p and q become optional. For some types of curves, such as BN, BLS-12, etc., p and q are pre-determined by curve object identifiers (OIDs) and hence it is unnecessary to specify them again.
+- pointP and pointQ, for implementation with asymmetric pairings, shall be Q1 in $G_1$ and Q2 in $G_2$ in clause 9.3 of [ISO IEC 18033-5]. For symmetric pairings, pointP equals to pointQ, so pointQ is OPTIONAL.
+- pointP1 and pointP3, for implementation with asymmetric pairings, shall be R and T in clause 9.3 of [ISO/IEC 18033-5].
+- pointP2, for implementation with asymmetric pairings such as the optimal Ate pairing over BN curves, takes value from an extension field of $F_p$ . pointP2 is optional because if v is given, pointP2 is unnecessary for the BB1-KEM algorithm to carry through.
+- v is the pairing result, which is an element from the extension field of $F_p$ . For implementation with asymmetric pairings, such as the optimal Ate pairing over BN curves, the extension field is $F_{p^k}$ , where k is the embedding degree. In this case, v shall be J in clause 9.3 of [ISO/IEC 18033-5].
+- the meaning of other fields remains unchanged as in [IETF RFC 5091].
+
+```
+
+PAIRING ::= ENUMERATED {
+ weil (1), --Weil pairing
+ tate (2), --Tate pairing
+ optimalAte (3) --Optimal Ate pairing
+}
+
+```
+
+```
+
+FpPoint ::= SEQUENCE {
+ x INTEGER,
+ y INTEGER
+}
+
+```
+
+FpPoint defines a point on an elliptic curve over a prime field. A point has two coordinates, which are designated as the x-coordinate and y-coordinate. Both coordinates take big integer values.
+
+```
+
+FpxPoint ::= CHOICE {
+ fpPoint [1] EXPLICIT FpPoint,
+ fp2Point [2] EXPLICIT Fp2Point,
+ fp3Point [3] EXPLICIT Fp3Point,
+ fp4Point [4] EXPLICIT Fp4Point
+}
+
+```
+
+- Fp2Point defines a point on an elliptic curve over a field $F_{p^2}$ . Each coordinate of a point takes value from an element of $F_{p^2}$ .
+- Fp3Point defines a point on an elliptic curve over a field $F_{p^3}$ . Each coordinate of a point takes value from an element of $F_{p^3}$ .
+- Fp4Point defines a point on an elliptic curve over a field $F_{p^4}$ . Each coordinate of a point takes value from an element of $F_{p^4}$ .
+
+```
+
+Fp2Point ::= SEQUENCE {
+ x Fp2Element,
+ y Fp2Element
+}
+
+```
+
+- Fp2Point defines a point on an elliptic curve over a field $F_{p^2}$ . A point has two coordinates which are named as x-coordinate and y-coordinate. Both coordinates take values from $F_{p^2}$ .
+
+```
+
+Fp3Point ::= SEQUENCE {
+ x Fp3Element,
+ y Fp3Element
+}
+
+```
+
+- Fp3Point defines a point on an elliptic curve over a field $F_{p^3}$ . Both coordinates of a point take values from $F_{p^3}$ .
+
+```
+
+Fp4Point ::= SEQUENCE {
+ x Fp4Element,
+ y Fp4Element
+}
+
+```
+
+- Fp4Point defines a point on an elliptic curve over a field $F_p^4$ . Both coordinates of a point take values from $F_p^4$ .
+
+Fp2Element ::= SEQUENCE {
+
+- a INTEGER,
+- b INTEGER
+
+}
+
+- Fp2Element defines an element from a field $F_p^2$ , which is represented as $a+b\alpha$ where $\alpha$ is non-quadratic root in $F_p$ .
+
+Fp3Element ::= SEQUENCE {
+
+- a INTEGER,
+- b INTEGER,
+- c INTEGER
+
+}
+
+- Fp3Element defines an element from a field $F_p^3$ , which is represented as $a+b\beta+c\beta^2$ where $\beta$ is non-cubic root in $F_p$ .
+
+Fp4Element ::= SEQUENCE {
+
+- a Fp2Element,
+- b Fp2Element
+
+}
+
+- Fp4Element defines an element from a field $F_p^4$ , which is represented as tower of two elements from $F_p^2$ .
+
+FpxElement ::= CHOICE {
+
+- fp2Elemt [1] EXPLICIT Fp2Element,
+--for super singular elliptic curve implementation
+- fp12Elemt [2] EXPLICIT Fp12Element,
+--using $F_p \rightarrow F_p^2 \rightarrow F_p^6 \rightarrow F_p^{12}$ tower representation
+- fp16Elemt [3] EXPLICIT Fp16Element,
+--using $F_p \rightarrow F_p^2 \rightarrow F_p^4 \rightarrow F_p^8 \rightarrow F_p^{16}$ tower representation
+- fp18Elemt [4] EXPLICIT Fp18Element,
+--using $F_p \rightarrow F_p^3 \rightarrow F_p^6 \rightarrow F_p^{18}$ tower representation
+- fp24Elemt [5] EXPLICIT Fp24Element
+--using $F_p \rightarrow F_p^2 \rightarrow F_p^6 \rightarrow F_p^{12} \rightarrow F_p^{24}$ tower representation
+
+}
+
+- FpxElement defines the tower representation of an element in $G3$ . The pairing $e$ maps two inputs from $G1$ and $G2$ , respectively, to an element in $G3$ . For the commonly used pairing-friendly curves, elements in $G3$ are normally represented in a tower method. For different embedding degrees, there could be different tower representations. This Recommendation defines a commonly used tower representation of elements in field with embedding degree 12, 16, 18 and 24.
+
+Fp12Element ::= SEQUENCE {
+
+a Fp6Element,
+
+b Fp6Element
+
+}
+
+- Fp12Element defines an element of $F_p^{12}$ with a $2 \times 3 \times 2$ tower representation and shall be used in implementation with BN curves or BLS-12 curves or BLS-24 curves.
+
+Fp6Element ::= SEQUENCE {
+
+a Fp2Element,
+
+b Fp2Element,
+
+c Fp2Element
+
+}
+
+- Fp6Element defines an element of $F_p^6$ with a $3 \times 2$ tower representation and shall be used in implementation with BN curves or BLS-12 curves or BLS-24 curves.
+
+Fp16Element ::= SEQUENCE {
+
+a Fp8Element,
+
+b Fp8Element
+
+}
+
+- Fp16Element defines an element of $F_p^{16}$ with a $2 \times 2 \times 2 \times 2$ tower representation and shall be used in implementation with KSS-16 curves.
+
+Fp8Element ::= SEQUENCE {
+
+a Fp4Element,
+
+b Fp4Element
+
+}
+
+- Fp8Element defines an element of $F_p^8$ with a $2 \times 2 \times 2$ tower representation and shall be used in implementation with KSS-16 curves.
+
+Fp18Element ::= SEQUENCE {
+
+a Fp6bElement,
+
+b Fp6bElement,
+
+c Fp6bElement
+
+}
+
+- Fp18Element defines an element of $F_p^{18}$ with a $3 \times 2 \times 3$ tower representation and shall be used in implementation with KSS-18 curves.
+
+Fp6bElement ::= SEQUENCE {
+
+a Fp3Element,
+
+b Fp3Element
+
+}
+
+- Fp6bElement defines an element of $F_p^6$ with a $2 \times 3$ tower representation and shall be used in implementation with KSS-18 curves.
+
+Fp24Element ::= SEQUENCE {
+
+- a Fp12Element,
+- b Fp12Element
+
+}
+
+- Fp24Element defines an element of $F_p^{24}$ with a $2 \times 2 \times 3 \times 2$ tower representation and shall be used in implementation with BLS-24 curves.
+
+BB1PrivateKeyBlock ::= SEQUENCE {
+
+- version INTEGER { v3(3) },
+- pointD0FpxPoint,
+- pointD1FpxPoint
+
+}
+
+- The meanings of pointD0 and pointD1 remain unchanged as in [IETF RFC 5091], but they are taken from $G_2$ if BB1-KEM is implemented with asymmetric pairings. In this case, pointD0 and pointD1 shall be dID0 and dID1 respectively in clause 9.3 of [ISO/IEC 18033-5].
+
+BFMasterSecret ::= SEQUENCE {
+
+- version INTEGER { v3(3) },
+- masterSecret INTEGER
+
+}
+
+- The meaning of each field remains unchanged as in [IETF RFC 5091].
+
+BFPublicParameters ::= SEQUENCE {
+
+- version INTEGER { v3(3) },
+- curve OBJECT IDENTIFIER,
+- hashfcn OBJECT IDENTIFIER,
+- pairing PAIRING OPTIONAL,
+- p INTEGER OPTIONAL,
+- q [0] IMPLICIT INTEGER OPTIONAL,
+- pointP FpxPoint,
+- pointPpub FpxPoint
+
+}
+
+- The meaning of each field remains unchanged as in [IETF RFC 5091], but pointP and pointPpub is taken from $G_2$ if BF-IBE is implemented with asymmetric pairings. In this case, pointP and pointPpub shall be Q and R respectively in clause 8.2 of [ISO/IEC 18033-5].
+
+BFPrivateKeyBlock ::= SEQUENCE {
+
+- version INTEGER { v3(3) },
+- privateKey FpPoint
+
+}
+
+- The meanings of each field remain unchanged as in [IETF RFC 5091]. For implementations with asymmetric pairings, privateKey shall be skID in clause 8.2 of [ISO/IEC 18033-5].
+
+ECCSIMasterSecret ::= SEQUENCE {
+
+version INTEGER {v3(3)},
+
+masterSecret INTEGER
+
+}
+
+– masterSecret shall be KSAK in [IETF RFC 6507].
+
+ECCSIPublicParameters ::= SEQUENCE {
+
+version INTEGER { v2(2) },
+
+curve OBJECT IDENTIFIER,
+
+hashfcn OBJECT IDENTIFIER,
+
+pointP FpPoint,
+
+pointPpub FpPoint
+
+}
+
+– pointP shall be G in [IETF RFC 6507].
+
+– pointPpub shall be the KMS public authentication key (KPAK) in [IETF RFC 6507].
+
+ECCSIPrivateKeyBlock ::= SEQUENCE {
+
+version INTEGER { v2(2) },
+
+ssk INTEGER ,
+
+pvt OCTET STRING
+
+}
+
+– ssk and pvt shall be a secret signing key (SSK) and public verification token (PVT) in [IETF RFC 6507], respectively.
+
+SKMasterSecret ::= SEQUENCE {
+
+version INTEGER {v3(3)},
+
+masterSecret INTEGER
+
+}
+
+– masterSecret shall be z\_T in [IETF RFC 6508] and s in clause 9.2 of [ISO/IEC 18033-5].
+
+SKPublicParameters ::= SEQUENCE {
+
+version INTEGER { v3(3) },
+
+curve OBJECT IDENTIFIER,
+
+hashfcn OBJECT IDENTIFIER,
+
+pairing PAIRING OPTIONAL,
+
+p INTEGER OPTIONAL,
+
+q [0] IMPLICIT INTEGER OPTIONAL,
+
+pointP1 FpPoint,
+
+pointP1pub [1] EXPLICIT FpPoint OPTIONAL,
+
+pointP2 [2] EXPLICIT FpxPoint OPTIONAL,
+
+pointP2pub [3] EXPLICIT FpxPoint OPTIONAL,
+
+v [4] EXPLICIT FpxElement
+
+}
+
+- For implementations with symmetric pairings over supersingular curves, p and q are defined in [IETF RFC 5091]. For implementations with asymmetric pairings, p and q are pre-determined by the curve used and become optional.
+- pointP1 shall be P in [IETF RFC 6508] and Q1 in *G*1 in clause 9.2 of [ISO/IEC 18033-5].
+- pointP1pub shall be $Z_T$ in [IETF RFC 6508] and R in clause 9.2 of [ISO/IEC 18033-5]. pointP1pub may be unnecessary for other algorithms, such as signature algorithms, based on the Sakai-Kasahara (SK) generation function, so it is optional.
+- pointP2 shall be Q2 in *G*2 in clause 9.2 of [ISO/IEC 18033-5] if the SK-KEM is implemented with asymmetric pairings. pointP2 is not necessary for SK-KEM to carry through, so it is optional.
+- pointP2pub shall be [*ib.msk*]Q2, which is unnecessary for SK-KEM, but may be necessary for other algorithms, such as signature algorithms, based on the SK key generation function, so it is optional.
+
+```
+SKPrivateKeyBlock ::= SEQUENCE {
+```
+
+```
+ version INTEGER { v3(3) },
+ privateKey FpxPoint
+```
+
+}
+
+- privateKey shall be RSK in [IETF RFC 6508] and skID in clause 9.2 of [ISO/IEC 18033-5].
+
+```
+SM9MasterSecret ::= SEQUENCE {
+```
+
+```
+ version INTEGER {v3(3) },
+ masterSecret INTEGER
+```
+
+}
+
+- masterSecret shall be *ib.msk* which is U defined in clause 7.4 of [b-ISO/IEC 14888-3a].
+
+```
+SM9PublicParameters ::= SEQUENCE {
+```
+
+```
+ version INTEGER { v3(3) },
+ curve OBJECT IDENTIFIER,
+ hashfcn OBJECT IDENTIFIER,
+ pairing PAIRING OPTIONAL,
+ p INTEGER OPTIONAL,
+ q [0] IMPLICIT INTEGER OPTIONAL,
+ pointP1 FpPoint,
+ pointP1pub [1] EXPLICIT FpPoint OPTIONAL,
+ pointP2 [2] EXPLICIT FpxPoint OPTIONAL,
+ pointP2pub [3] EXPLICIT FpxPoint OPTIONAL,
+ v [4] EXPLICIT FpxElement
+```
+
+}
+
+- For implementations with symmetric pairing over supersingular curves, p and q are as defined in [IETF RFC 5091]. For implementations with asymmetric pairings, p and q are pre-determined by the curve used.
+- pointP1 shall be P in clause 7.4 of [ISO/IEC 14888-3].
+- pointP1pub is unnecessary for SM9-IBS, but necessary for SM9-IBE and in this case pointP2pub shall be $[ib.msk]P$ .
+- pointP2 shall be Q in clause 7.4 of [ISO/IEC 14888-3]. pointP2 is not necessary for **SM9-IBE** to carry through, so it is optional.
+- pointP2pub shall be V in clause 7.4 of [ISO/IEC 14888-3a]. pointP2pub is not necessary for **SM9-IBE** to carry through, so it is optional.
+
+SM9PrivateKeyBlock ::= SEQUENCE {
+
+version INTEGER { v3(3) },
+privateKey FpxPoint
+
+}
+
+- privateKey shall be X in clause 7.4 of [ISO/IEC 14888-3a] for signature and shall be the *ib.prvk* in $G_1$ for SM9-IBE and SM9-AKA.
+
+The BFMasterSecret, BFPublicParameters, and BFPrivateKeyBlock definition shall be used for those algorithms using the Sakai-Ohgishi-Kasahara (SOK) key generation such as BF-IBE, Cha-Cheon-IBS, Hess-IBS, Fujioka-Suzuki-Ustaoglu-AKA, Smart-Chen-Cheng-AKA, and Wang-AKA. The BB1MasterSecret, BB1PublicParameters, and BB1PrivateKeyBlock definition shall be used for those algorithms using the BB1 key generation such as BB1-KEM. The SKMasterSecret, SKPublicParameters and SKPrivateKeyBlock shall be used for SK-KEM and possibly other algorithms based on the SK key generation function. The SM9MasterSecret, SM9PublicParameters and SM9PrivateKeyBlock shall be used for SM9 algorithms including SM9-IBE, SM9-IBS, and SM9-AKA. The ECCSIMasterSecret, ECCSIPublicParameters, and ECCSIPrivateKeyBlock shall be used for ECCSI.
+
+If the private key needs to be protected, the EncryptedPrivateKeyInfo structure as defined in [IETF RFC 5958] shall be used.
+
+EncryptedPrivateKeyInfo ::= SEQUENCE {
+
+encryptionAlgorithm EncryptionAlgorithmIdentifier,
+encryptedData EncryptedData
+
+}
+
+EncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
+
+EncryptedData ::= OCTET STRING
+
+AlgorithmIdentifier ::= SEQUENCE {
+
+algorithm OBJECT IDENTIFIER,
+parameters ANY DEFINED BY algorithm OPTIONAL
+
+}
+
+# Annex C
+
+## Key management operations
+
+(This annex forms an integral part of this Recommendation.)
+
+In an IBC system, key management operations include system initialization, identity or private key provision, identity or private key revocation and system parameter publication. System initialization involves a step to invoke the **IBSetup** function, and private key provision involves a step to invoke the **IBExtract** function. These operations require interactions between a management entity and the KMS. This Recommendation uses KMIP to exchange messages between these two parties. The necessary extension is specified to satisfy the new requirements of the supported **IBSetup** and **IBExtract** algorithms can be found in Appendix II. The protocols for interactions between the SecMs and the management entities are defined based on HTTP for non-eUICC IoT devices. For eUICC, [b-GSMA SGP.02] standards are used and extended if necessary.
+
+### C.1 System initialization
+
+In each IBC system, a system initialization process should be completed before providing KMSs to its users. In the process, the KMS executes one or more **IBSetup** functions to generate one or more sets of *ib.msk* and *ib.pubparam* key pairs. The method to harden the security of the KMS lies outside the scope of this Recommendation. As a good practice, *ib.msk* shall be generated and stored in an HSM. If possible, a distributed key generation scheme that applies a secret sharing scheme to split *ib.msk* and spread the secret shares and the private key generation function across several KMSs may be deployed. In this case, only if more than a threshold number of KMSs is functioning appropriately, can a private key corresponding to an ID be generated correctly.
+
+See Figure C.1.
+
+
+
+```
+sequenceDiagram
+ participant IdP/SM-DP/MNO
+ participant KMS
+ IdP/SM-DP/MNO->>KMS: 1. Create key pair operation with request payload
+ activate KMS
+ KMS->>KMS: 2. IBSetup
+ KMS-->>IdP/SM-DP/MNO: 3. Create key pair operation response
+ deactivate KMS
+ IdP/SM-DP/MNO->>KMS: 4. Get operation with the public key identifier
+ activate KMS
+ KMS-->>IdP/SM-DP/MNO: 5. Get operation response
+ deactivate KMS
+```
+
+X.1365(20)\_FC.1
+
+Sequence diagram showing the system initialization process between IdP/SM-DP/MNO and KMS.
+
+Figure C.1 – System initialization with key management interoperability protocol
+
+#### Start conditions:
+
+It is assumed that IdP/SM-DP/MNO plays the role of a system initiator and is in charge of the system initialization process. Before IdP/SM-DP/MNO can invoke the **IBSetup** function in a KMS, the following conditions shall be satisfied.
+
+- a) There is a secure channel established between IdP/SM-DP/MNO and KMS.
+- b) IdP/SM-DP/MNO has completed an authentication process with KMS, and the authenticated IdP/SM-DP/MNO is authorized to perform the **IBSetup** request.
+
+#### **Procedure:**
+
+- 1) IdP/SM-DP/MNO shall prepare the Request Payload and invoke the create key pair operation to send encoded request message to KMS;
+- 2) KMS shall check the validity of the request and that IdP/SM-DP/MNO is authorized to invoke this operation. If any of these conditions is not satisfied, then KMS shall return a response indicating a failure. Otherwise, KMS shall execute **IBSetup** with parameters specified within the request;
+- 3) KMS shall return to IdP/SM-DP/MNO the execution response. If the operation is a success, then KMS shall at least return a private key unique ID to *ib.msk* and a public key unique ID to *ib.pubparam*, respectively;
+- 4) optionally, if the create key pair operation is successful, IdP/SM-DP/MNO may invoke the get operation with the public key unique ID obtained from the last response to retrieve the public parameters *ib.pubparam*;
+- 5) KMS shall return the key value of the newly generated public parameters.
+
+**The extension of KMIP to support this operation can be found in Appendix II.**
+
+**End condition:** The KMS is initialized successfully and IdP/SM-DP/MNO has the private key unique ID and public key unique ID to access the generated MSK *ib.msk* and the public parameters *ib.pubparam*, respectively. IdP/SM-DP/MNO shall use the private key unique ID to call the sign operation to generate identity private keys and shall use the public key unique ID to call the get operation to retrieve the public parameters.
+
+### **C.2 Device initialization**
+
+Device initialization operation is to prepare the device for identity and key provision. For eUICC and other non-eUICC IoT devices, different device initialization procedures are followed.
+
+#### **C.2.1 Case 1: Initialization for eUICC**
+
+For eUICC, the identity and corresponding private key *ib.prk* and public parameters *ib.sysparam* are downloaded in an issuer security domain (ISD) profile. Hence, after device initialization process, eUICC should be ready for ISD profile creation. Following [b-GSMA SGP.02], the registration operation shall be completed. The following is a reiteration of clause 3.5.1 of [b-GSMA SGP.02].
+
+- eUICC Registration at SM-SR
+
+##### **Start condition:**
+
+- a. eUICCs are produced and a provisioning profile is loaded and active in the provisioning operators network. They are tested and ready for shipment. Each eUICC has a corresponding eUICC information set (EIS).
+
+##### **Procedure:**
+
+- 1) the eUICC manufacturer (EUM) sends an eUICC registration request to the selected SM-SR, containing the EIS;
+- 2) the SM-SR stores the EIS in its database, with eUICC-ID (EID) as the key parameter;
+- 3) the SM-SR confirms the successful registration towards the EUM. The confirmation message includes the EID.
+
+**End condition:** The eUICC is registered at the SM-SR and ready for Profile download. It can now be shipped to the machine to machine Device manufacturer.
+
+#### **C.2.2 Case 2: Initialization for non-eUICC IoT devices**
+
+For non-eUICC IoT devices, the following registration operation shall be completed.
+
+- SecM Registration at AuC
+
+##### Start condition:
+
+- The SecM is produced and the IoT device shall be able to communicate with IdP in the operators network.
+
+##### Procedure:
+
+- 1) The SecM sends a SecM provision data acquisition request to the AuC;
+- 2) The AuC generates a provision ID (PROV.ID) and a related authentication credential (PROV.CRED) for the requesting SecM;
+- 3) The AuC sends PROV.ID and PROV.CRED to the SecM. In the same message, the AuC also sends a key identity IdP.ID and a related public key IdP.PUK or *ib.sysparam* to the SecM if the SecM has no capability to carry out the TLS protocol;
+- 4) The SecM securely stores PROV.ID and PROV.CRED, and store IdP.ID and IdP.PUK or *ib.sysparam* if provided. The SecM shall protect IdP.ID and IdP.PUK or *ib.sysparam* from authorized change.
+
+**End condition:** The SecM is registered at the AuC and ready for identity and key provision.
+
+### C.3 Public parameter lookup
+
+An entity shall use the identity or key provision procedure to get the public parameters for the IBC system with which the entity has registered. An entity, which can be an IoT device or a management entity of an IBC system, shall follow the specification defined in clause 4 of [IETF RFC 5408] to retrieve the public parameters of another IBC system from the known PPS. The IBESysParams in the response in [IETF RFC 5408] shall be replaced with IBSysParams defined in this Recommendation. [IETF RFC 5408] assumes that the querying IoT device can establish a TLS-based secure channel with the requested PPS. If such a requirement cannot be satisfied, the signatureAlgorithm and signature field in IBSysParams shall exist and be valid. Once the IBSysParams has been retrieved, a proper signature verification process shall be followed, and only if the signature in IBSysParams is valid and the signature verifying public key is authentic and valid, shall the retrieved public parameters be accepted.
+
+### C.4 Identity and key provisioning
+
+Identity and key provision include the identity assignment, the private key extraction and the key distribution procedure. Devices after the initialization process only have a provisional identity. The IdP or SM-DP or MNO shall determine which identity is to be assigned to the requesting device and then communicate with the KMS to generate the corresponding private key and finally distribute the identity, the private key and the public parameters to the device securely.
+
+See Figure C.2.
+
+
+
+```
+
+sequenceDiagram
+ participant IdP as IdP/SM-DP/MNO
+ participant KMS as KMS
+ IdP->>KMS: 1. Sign operation with request payload
+ activate KMS
+ KMS->>KMS: 2. IBExtract
+ KMS-->>IdP: 3. Sign operation response
+ deactivate KMS
+
+```
+
+X.1365(20)\_FC.2
+
+Sequence diagram showing the private key generation process between IdP/SM-DP/MNO and KMS.
+
+**Figure C.2 – Private key generation with key management interoperability protocol**
+
+#### - **Private key generation with KMIP**
+
+##### **Start conditions:**
+
+Assuming that the IdP/SM-DP/MNO plays the role of generating private key *ib.prk*. Before IdP/SM-DP/MNO can invoke the IBExtract function in a KMS, the following conditions shall be satisfied.
+
+- a. There is a secure channel established between IdP/SM-DP/MNO and KMS.
+- b. The IdP/SM-DP/MNO has completed an authentication process to the KMS and the authenticated IdP/SM-DP/MNO is authorized to perform the IBExtract request.
+
+##### **Procedure:**
+
+- 1) the IdP/SM-DP/MNO shall prepare the request payload and invoke the sign operation to send the encoded request message to the KMS.
+- 2) the KMS shall check the validity of the request and that the IdP/SM-DP/MNO is authorized to invoke this operation. If any of these conditions is not satisfied, then the KMS shall return a response indicating a failure. Otherwise, the KMS shall execute **IBExtract** with *ib.msk*, *ib.pubparam*, and parameters specified within the request.
+- 3) the KMS shall return the execution response to the IdP/SM-DP/MNO. If the operation is a success, then the KMS shall return the generated private key *ib.prk* in the form of IBPrivateKeyBlock which is a CHOICE defined with ASN.1 as follows:
+
+```
+IBPrivateKeyBlock ::= CHOICE {
+ bb1PrivateKeyBlock BB1PrivateKeyBlock,
+ bfPrivateKeyBlock BFPrivateKeyBlock,
+ eccsiPrivateKeyBlock ECCSIPrivateKeyBlock,
+ skPrivateKeyBlock SKPrivateKeyBlock,
+ sm9PrivateKeyBlock SM9PrivateKeyBlock
+}
+```
+
+The extension of KMIP to support this operation can be found in Appendix II.
+
+**End condition:** The IdP/SM-DP/MNO retrieved the private key corresponding to the request identity.
+
+#### - **Identity/key provision for eUICC**
+
+##### **Start conditions:**
+
+- a. The eUICC is registered at the SM-SR and ready for profile download.
+- b. An unpersonalised profile has been created by the SM-DP based on the profile description provided by the MNO.
+- c. The MNO has a request for a quantity of eUICC profiles.
+- d. The un-personalised profile has been validated on the target eUICC type using the un-personalised profile verification procedure.
+
+##### **Procedure:**
+
+- 1) the MNO provides the profile ordering to a selected SM-DP. The details of profile ordering process is shown in clause 3.5.3 of [b-GSMA SGP.02];
+- 2) a personalized profile is created by the SM-DP using the data received from the MNO. In particular, SM-DP shall use the chosen international mobile subscription identity (IMSI) as the identity to complete the sign operation with the KMS as specified in the private key generation with KMIP to generate a private key for the chosen IMSI. The generated private key and *ibPublicParameters* in *IBSysParams* shall be included as keys in the profile;
+
+- 3) the target profile is provisioned on the eUICC from the MNO. The details of profile the download and installation process can be seen in clause 3.5.4 of [b-GSMA SGP.02];
+- 4) the target profile of the eUICC is enabled via SM-SR or via SM-DP and SM-SR. For the specific steps of profile enablement, see clause 3.5.6 or 3.5.7 of [b-GSMA SGP.02].
+
+**End condition:** The target profile is enabled on the eUICC. The previously enabled profile is disabled. The EIS is up to date.
+
+#### - **Identity and key provision for non-eUICC IoT devices**
+
+**Case 1:** SecM has the capability to establish a TLS session with the IdP
+
+**Start conditions:**
+
+- a. SecM has been registered at the AuC.
+
+**Procedure:**
+
+- 1) the SecM establishes a TLS session with the IdP and it shall successfully verify the validity of the IdP TLS certificate;
+- 2) the SecM carries through a web authentication procedure with the IdP using PROV.ID and PROV.CRED;
+- 3) the IdP chooses an identity assigned to the requesting device and completes the sign operation with the KMS as specified in the private key generation with KMIP to generate a private key for the chosen identity;
+- 4) the IdP sends the assigned identity, the generated private key and the public parameters to the SecM through the TLS session;
+- 5) the SecM stores the private key securely and the public parameters shall be protected from unauthorized change.
+
+**End condition:** The target key is provisioned on the SecM.
+
+The SecM and IdP shall follow the protocol defined in clause 5 and [IETF RFC 5408] to complete the identity and key provision procedure. In the response, the IBPrivateKeyReply structure defined in [IETF RFC 5408] shall be replaced by IBPrivateKeyReply.
+
+IBPrivateKeyReply ::= SEQUENCE SIZE (1..MAX) OF IBPrivateKey
+
+IBPrivateKey ::= SEQUENCE {
+
+| | |
+|--------------|----------------------------------------------|
+| pkgIdentity | IBIdentityInfo OPTIONAL, |
+| pkgAlgorithm | OBJECT IDENTIFIER, |
+| pkgKeyData | IBPrivateKeyBlock, --defined by pkgAlgorithm |
+| pkgOptions | SEQUENCE SIZE (1..MAX) OF PKGOption, |
+| ibSysParams | IBSysParams OPTIONAL |
+
+}
+
+PKGOption ::= SEQUENCE {
+
+| | |
+|-------------|--------------------|
+| optionID | OBJECT IDENTIFIER, |
+| optionValue | OCTET STRING |
+
+}
+
+**Case 2:** SecM has no TLS implementation
+
+##### **Start conditions:**
+
+- a. SecM has been registered at AuC.
+
+##### **Procedure:**
+
+- 1) the SecM generates the key encryption key (KEK) and encodes the key provisioning request (IBKeyProvRequest). The request includes the KEK, the provision ID (PROV.ID) and credential (PROV.CRED) which are encrypted by using the IdPs public key identified by IdP.ID. The encryption result is encoded as EncryptedMsg. It sends the encrypted request as the body of a HTTP POST request to the IdP;
+- 2) the IdP decrypts the ciphertext by using the privacy key identified by IdP.ID in the request and checks the freshness of the timestamp or the correctness of the counter, or both. If the request does not pass these checks, the IdP shall return a response indicating a failure. The IdP further checks the correctness of PROV.ID and PROV.CRED with the AuC. If such a check fails, the IdP shall return a response indicating a failure. The IdP chooses an identity assigned to the requesting device and completes the sign operation with the KMS as specified in the private key generation with KMIP to generate a private key for the chosen identity;
+- 3) the IdP encrypts the generated private key and, if necessary, the identity and the public parameters, which are encoded as IBKeyProvisionData, with the key encryption key (KEK) using the specified algorithm (keyProtAlg) conveyed in the request. The ciphertext is encoded as EncryptedMsg. The IdP sends the encrypted response as the body of the HTTP response to the SecM through;
+- 4) the SecM decrypts the response and gets the assigned identity, the private key and the public parameters. It stores the private key securely and the public parameters shall be protected from unauthorized change.
+
+**End condition:** The target key is provisioned on the SecM.
+
+IBKeyProvisionRequest ::= SEQUENCE {
+
+version INTEGER { v1(1) },
+timer Time OPTIONAL,
+counter INTEGER OPTIONAL,
+identity OCTET STRING,
+credential OCTET STRING,
+keyProtAlg OBJECT IDENTIFIER,
+kek OCTET STRING
+
+}
+
+Time ::= CHOICE {
+
+utcTime UTCTime,
+generalTime GeneralizedTime
+
+}
+
+IBKeyProvisionResponse ::= SEQUENCE SIZE(1..MAX) OF IBKeyProvisionData
+
+IBKeyProvisionData ::= SEQUENCE {
+
+identity OCTET STRING OPTIONAL,
+ibSysParams IBSysParams OPTIONAL,
+ibPrivateKey IBPrivateKeyBlock
+
+```
+
+}
+EncryptedMsg ::= SEQUENCE {
+ encryptionAlgorithm EncryptionAlgorithmIdentifier,
+ encryptedData EncryptedData
+}
+EncryptionAlgorithmIdentifier ::= AlgorithmIdentifier
+EncryptedData ::= OCTET STRING
+
+```
+
+### C.5 Identity and key revocation
+
+If an identity must be disallowed in the IBC system for various reasons, e.g., because the owner of the identity has unsubscribed from the service or the corresponding private key has been compromised, the identity should be revoked and the corresponding private key may need to be destroyed for security reasons. If an identity is revoked, the identity shall be set in the revoked status. If an entry queries the status of a revoked identity, IdP/SM-DP/MNO shall return the correct value as defined in the OISP. To check the identity status more efficiently, an entity can retrieve the IRL from the IdP/SM-DP/MNO regularly and store it locally, and the entity can check with the fresh IRL to determine whether an identity is revoked without querying status online for each identity. For eUICC, the process to destroy the private key is possible by first disabling and then deleting the profile from the eUICC.
+
+- Identity and key revocation for eUICC
+
+#### Start conditions:
+
+- a. The target profile is enabled on the eUICC.
+
+#### Procedure:
+
+- 1) the MNO starts profile disablement via the SM-DP process. The details of the profile disabling process are shown in clause 3.5.8 of [b-GSMA SGP.02]. SM-DP shall set the identity in the revoked status;
+- 2) the MNO starts the profile deletion process. For the specific steps in ISD-P deletion, see clause 3.5.10 of [b-GSMA SGP.02]. The SM-DP shall set the identity to revoked, and if the ISD-P deletion process is successful, the identity is also set to the deleted status. When an entity queries the status of an identity, the SM-DP shall respond appropriately according to the status record. Periodically, the SM-DP shall publish an identity status list of those with revoked identity during the period.
+
+**End condition:** The target profile is disabled and deleted from the eUICC.
+
+- **Identity and key revocation for non-eUICC IoT devices**
+
+If an identity is revoked, the IdP shall set the identity to the revoked status. When an entity queries the status of an identity, IdP shall respond appropriately according to the status record. Periodically, the IdP shall publish an identity status list of those with revoked identity during the period.
+
+The revocation trigger process and identity status maintenance lie outside the scope of this Recommendation.
+
+- **Online identity status protocol**
+
+With a large number of IoT devices connecting to a telecommunications operator, it may be necessary for an SM-DP, IdP or an IoT device to obtain timely information regarding the revocation status of an IoT device identity. In this Recommendation, an OISP is specified to enable the SM-DP, IdP or an IoT device to determine the current status of an identity with online queries. An OISP client issues a status request to an OISP responder and suspends acceptance of the identity in question until the
+
+responder responds. The OISP shares similarity with the online certificate status protocol (OCSP) [IETF RFC 6960].
+
+An OISP request contains the following data:
+
+OISPRequest ::= SEQUENCE {
+
+version INTEGER { v1(1) },
+
+identity IBIdentityInfoSet
+
+}
+
+– version indicates the version of the protocol, which for this document is v1(1).
+
+– identity is the OISP request.
+
+IBIdentityInfoSet ::= SEQUENCE SIZE(1..MAX) OF IBIdentityInfo
+
+IBIdentityInfo ::= SEQUENCE {
+
+domainName IA5String OPTIONAL,
+
+domainSerial INTEGER OPTIONAL,
+
+identityType OBJECT IDENTIFIER OPTIONAL,
+
+identityData OCTET STRING
+
+}
+
+– domainName is OPTIONAL and IA5String represents the URI [b-URI] or IRI [b-IRI].
+
+– domainSerial is OPTIONAL and includes an INTEGER that defines a unique set of IBC public parameters in the event that more than one set of parameters is used by a single domain.
+
+– identityType is OPTIONAL and contains an OBJECT IDENTIFIER that defines the format that the identityData field is encoded with. If this field is missing, default identity type is used.
+
+– identityData is the data of the target identity.
+
+Upon receipt of a request, an OISP responder checks whether the message is well formed and the request contains the information needed by the responder. If such a check fails, the OISP responder produces an error message; otherwise, it returns a definitive response according to the status of queried identities in the request.
+
+OISPResponse ::= SEQUENCE {
+
+responseStatus OISPResponseStatus,
+
+responseData OISPResponseData OPTIONAL
+
+}
+
+– responseStatus indicates the processing status of the prior request.
+
+– responseData is OPTIONAL and includes the response data of the request. If the value of responseStatus is one of the error conditions, the responseData field is not set.
+
+OISPResponseStatus ::= ENUMERATED {
+
+successful(0), -- Response has valid confirmations
+
+malformedRequest (1), -- Illegal confirmation request
+
+internalError (2), -- Internal error in issuer
+
+tryLater (3), -- Try again later
+
+--(4) is not used
+
+unauthorized (5) -- Request unauthorized
+
+}
+
+OISPResponseData ::= SEQUENCE {
+
+version INTEGER { v1(1) },
+
+producedAt GeneralizedTime,
+
+hashAlgorithm AlgorithmIdentifier OPTIONAL,
+
+tbsIdStatus SEQUENCE OF SingleIdStatus,
+
+signatureAlgorithm AlgorithmIdentifier OPTIONAL,
+
+signature BIT STRING OPTIONAL,
+
+certs [0] EXPLICIT SEQUENCE OF Certificate OPTIONAL
+
+}
+
+- version MUST be v1(1) for this version of the basic response syntax.
+- producedAt is the time at which the OISP responder signed this response.
+- hashAlgorithm defines a hash algorithm to generate idHash in tbsIdStatus if such field exists. The field is optional and default value is OBJECT IDENTIFIER for SHA256 without parameters.
+- tbsIdStatus indicates the responses for each of the identity in a request.
+- signatureAlgorithm is OPTIONAL and includes the algorithm that was used to sign the response.
+- signature is computed upon the ASN.1 DER result from field producedAt to tbsIdStatus with the specified signature algorithm. This field is OPTIONAL and may not be set if the OISP client has other methods to guarantee the authenticity of the response. For example, the response is transmitted through a TLS secure channel between the client and responder.
+- certs is OPTIONAL and indicates the certificate that helps the OISP client verify the responders signature. The structure of Certificate is defined in [IETF RFC 5280].
+
+SingleIdStatus ::= SEQUENCE {
+
+idHash OCTET STRING OPTIONAL,
+
+identityID IBIdentityInfo OPTIONAL,
+
+identityStatus IdentityStatus,
+
+}
+
+- idHash is OPTIONAL and includes the hash of the request identity. If identityID is too long, idHash can be used to represent the queried identity.identityID is OPTIONAL and contains the target identity's IBIdentityInfo field in the request.
+- identityStatus indicates the status of the identity in the prior request.
+
+IdentityStatus ::= CHOICE {
+
+good [0] IMPLICIT NULL,
+
+revoked [1] IMPLICIT RevokedInfo,
+
+unknown [2] IMPLICIT UnknownInfo,
+
+updated [3] IMPLICIT IBIdentityInfo,
+
+revokedAndDeleted [4] IMPLICIT RevokedInfo
+
+}
+
+UnknownInfo ::= NULL
+
+- The "good" state indicates a positive response to the status inquiry.
+- The "revoked" state indicates that the identity has been revoked, either temporarily or permanently and value is the revocation information.
+- The "unknown" state indicates that the responder does not know about the certificate being requested.
+- The "updated" state indicates that the identity has been updated and the value is a newly assigned identity for the queried identity.
+- The "revokedAndDeleted" state indicates the identity has been revoked and the private key has been destroyed from the remote device.
+
+RevokedInfo ::= SEQUENCE {
+
+ revocationTime GeneralizedTime,
+
+ revocationReason [0] EXPLICIT IRLReason OPTIONAL
+
+}
+
+IRLReason ::= ENUMERATED {
+
+ unspecified (0),
+
+ keyCompromise (1),
+
+ pkgCompromise (2),
+
+ affiliationChanged (3),
+
+ superseded (4),
+
+ cessationOfOperation (5),
+
+ identityHold (6),
+
+ -- value 7 is not used
+
+ removeFromIRL (8),
+
+ privilegeWithdrawn (9)
+
+}
+
+#### - **Identity revocation list**
+
+Apart from using OSIP to respond the identity status queries, an entity such as IdP or SM-DP may publish a complete list of the revoked identities in a regular period, an IRL. To speed up the identity status checking process, a status checking entity with large storage may query the IRL and store it locally. The checking entity can determine whether an identity is acceptable for certain operations, such as network access authorization based on the IRL. If such identity is not in the IRL, then it is assumed that the identity is valid. To improve system efficiency, the IdP/SM-DP/MNO may just publish newly revoked identities since a specific time. It is called a delta IRL. A delta IRL contains the information of identities revoked since a complete IRL publication. The use of delta IRLs can significantly reduce the communication overhead and the processing time of IRLs. An IRL is similar to a certificate revocation list (CRL) [IETF RFC 5280].
+
+The IRL is defined as
+
+IdentityRevocationList ::= SEQUENCE {
+
+ tbsIdentityList TBSIdentityRevocationList,
+
+signatureAlgorithm AlgorithmIdentifier OPTIONAL,
+ signatureValue BIT STRING OPTIONAL
+
+}
+
+- tbsIdentityList is the list of revoked identities with extra information, such as the revocation time.
+- signatureAlgorithm defines the algorithm the issuer of IRL used to sign the list. This field is optional and is not present if signatureValue does not exist.
+- signatureValue defines the value of signature generated by the issuer on the tbsIdentityList. This field is optional and not present if the request client has other means of guaranteeing that the retrieved list is authentic.
+
+TBSIdentityRevocationList ::= SEQUENCE {
+
+ version INTEGER { v1(1) },
+ issuer Name,
+ irlNumber INTEGER OPTIONAL,
+ deltaList BOOLEAN OPTIONAL,
+ thisUpdate Time,
+ nextUpdate Time OPTIONAL,
+ domainName IA5String OPTIONAL,
+ domainSerial INTEGER OPTIONAL,
+ revokedIdentities SEQUENCE OF SEQUENCE {
+ identity IBIdentityInfo,
+ revocationDate Time,
+ irlEntryExtensions Extensions OPTIONAL
+ } OPTIONAL,
+ irlExtensions [0] EXPLICIT Extensions OPTIONAL
+
+}
+
+Name ::= CHOICE {--imported from [IETF RFC 5280]
+
+ rdnSequence RDNSequence
+
+}
+
+RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
+
+RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValue
+
+AttributeTypeAndValue ::= SEQUENCE {
+
+ type AttributeType,
+ value AttributeValue
+
+}
+
+AttributeType ::= OBJECT IDENTIFIER
+
+AttributeValue ::= ANY -- DEFINED BY AttributeType
+
+Extensions ::= SEQUENCE SIZE (1..MAX) OF Extension
+
+Extension ::= SEQUENCE {--imported from [IETF RFC 5280]
+
+extnID OBJECT IDENTIFIER,
+
+critical BOOLEAN DEFAULT FALSE,
+
+extnValue OCTET STRING
+
+-- contains the DER encoding of an ASN.1 value
+
+-- corresponding to the extension type identified
+
+-- by extnID
+
+}
+
+- version indicates the version of IRL structure.
+- issuer is the name of the entity that issues the IRL.
+- irlNumber is the issuer number of current IRL. It starts from 0. For each complete IRL publication, the number increases by 1. It is optional.
+- deltaList indicates if the current IRL is a delta IRL. The list contains only the information of identities revoked since a complete IRL publication indexed by irlNumber.
+- thisUpdate specifies the time of generating this IRL.
+- nextUpdate defines the time to generate next IRL. It is optional.
+- domainName defines the IBC identity domain.
+- domainSerial defines the IBC identity domain number.
+- revokedIdentities is the revoked identity set.
+ - identity is the data of revoked identity.
+ - revocationDate is the time when the identity is revoked.
+ - irlEntryExtensions defines possible extensions of revokedIdentity. Currently, no extension is defined.
+- irlExtensions defines possible extensions for IRL. Currently, no extension is defined.
+
+# Annex D
+
+## Authentication
+
+(This annex forms an integral part of this Recommendation.)
+
+In this annex, four existing authentication protocols are extended to support IBC.
+
+### D.1 One-pass secret transport protocol
+
+This protocol corresponds to secret key transport mechanism 2 in [ISO/IEC 11770-3]. It transfers a secret key, generated and encrypted and signed by entity A, from entity A to entity B with explicit key authentication from entity A to entity B and implicit key authentication from entity B to entity A. The explicit key authentication from entity A to entity B is achieved by entity A signing the encrypted secret and a time-variant parameter (TVP). The implicit key authentication from entity B to entity A is achieved by encrypting the secret with Bs ID, which implies only B can recover the secret. See Figure D.1.
+
+To conduct the protocol, the following requirements shall be satisfied.
+
+- Entity A has a signature private key $A.ib.prk$ corresponding to its ID and related public parameters $A.ib.pubparam$ ;
+- Entity B has a decryption private key $B.ib.prk$ corresponding to its ID and related public parameters $B.ib.pubparam$ ;
+- Entity A has access to an authenticated copy of entity Bs public parameter for encryption $B.ib.pubparam$ and Bs ID;
+- Entity B has access to an authenticated copy of entity As public parameter for signature $A.ib.pubparam$ and As ID;
+- The optional TVP shall be either a timestamp or sequence number. If timestamps are used, then entity A and B need to maintain synchronous clocks or use a trusted third party time stamp;
+- A and B may share the same public parameters, i.e., $A.ib.pubparam = B.ib.pubparam$ .
+
+
+
+```
+sequenceDiagram
+ participant A as Entity A
+ participant B as Entity B
+ A->>B: KTA
+```
+
+X.1365(20)\_FD.1
+
+Sequence diagram showing a single message 'KTA' being sent from Entity A to Entity B.
+
+**Figure D.1 – One-pass secret transport protocol**
+
+- 1) Entity A generates random secret $K$ of the required length;
+- 2) Entity A generates $BE=IBEnc(B.ib.pubparam, ID\_B, [ID\_A]||K||Text1)$ . Text1 can be empty, and $ID\_A$ is optional if entity B has other means to get entity As ID;
+- 3) Entity A generates $S=IBSign(A.ib.pubparam, ID\_A, A.ib.prk, [ID\_B]||TVP||BE||Text2)$ . Text2 can be empty, and $ID\_B$ is optional if entity B knows the ID used $ID\_B$ for encryption;
+- 4) Entity A generates token $KTA=[ID\_B]||TVP||BE||Text2||S||Text3$ ;
+- 5) When the TVP is a timestamp, entity B checks whether the TVP is within the allowed time difference. Otherwise, entity B rejects the token;
+- 6) If entity B can get $ID\_A$ by other means and TVP is a sequence number, entity B first checks whether the sequence number is larger than the one maintained for entity B. Otherwise, entity B rejects the token;
+
+- 7) If entity B can get *ID\_A* by other means, entity B verifies the signature *S* in KTA by **IBVerify**(*A.ib.pubparam*, *ID\_A*, [*ID\_B*||*TVP*||*BE*||*Text2*, *S*). If the signature is invalid, entity B rejects the token;
+- 8) Entity B decrypts *BE* by [*ID\_A*||*K*||*Text1*=**IBDec**(*B.ib.pubparam*, *ID\_B*, *B.ib.prk*, *BE*);
+- 9) If entity B can only get *ID\_A* after step 8, entity B checks the freshness of *TVP*, if *TVP* is a sequence number. If *TVP* is not fresh, entity B rejects the token. Entity B further verifies the signature *S*. If the signature is invalid, entity B rejects the token;
+- 10) If all the checks and verifications are passed, entity A and entity B use *K* to protect the following messages. Both entities can use a key derivation function (KDF) [b-IEEE 1363] to generate keys for encryption and message authentication.
+
+NOTE 1 – The protocol can be converted to a unilateral entity authentication protocol by removing *BE* from the message signed by entity A and KTA. This modification becomes the one-pass entity authentication scheme defined in [b-ISO/IEC 9798-3].
+
+NOTE 2 – The protocol can be converted to a bilateral entity authentication protocol by requiring that entity B returns *K* to entity A. Entity B is authenticated by entity A by showing it can recover *K*, which requires it to own the private key *B.ib.prk*.
+
+NOTE 3 – The identity-based signcryption algorithms such as the BLMQ signcryption algorithm [b-Barreto], Chen-Malone-Lee signcryption algorithm [b-Chen] may be used to improve efficiency.
+
+### D.2 TLS-IBS
+
+In this clause, another authentication protocol named TLS-IBS is specified. It is assumed that both the server side and the IoT device side are provisioned with identity-based credentials, which include an identity, a private key for signature and KMS public parameters (e.g., KPAK as defined in [IETF RFC 6507] as a computing parameter). The KMS public parameter structure definitions for the supported algorithms can be found in Annex B.
+
+The TLS-IBS is developed based on [IETF RFC 7250]. Traditionally, TLS client and server exchange public keys endorsed by public key infrastructure (PKI) certificates. It is considered to be complicated and may cause security weaknesses with the use of PKI certificates. To simplify certificate exchange, using a raw public key in TLS has been specified in [IETF RFC 7250]. That is, instead of transmitting a full certificate in the TLS messages, only public keys are exchanged between client and server. However, an out-of-band mechanism for public key and identity binding is assumed. For IoT networks, TLS with a raw public key is particularly attractive, but binding identities with public keys might be challenging. The cost of maintaining a large table for identity and public key mapping at the server side incurs additional maintenance cost, e.g. devices have to pre-register with the server. To simplify the binding between the public key and the entity presenting the public key, a better way could be using IBC, such as the ECCSI public key specified in [IETF RFC 6507], for authentication. Different from ITU-T X.509 certificates and raw public keys, a public key in IBC takes the form of the entity's identity. This helps eliminate the necessity of binding between a public key and the entity presenting the public key.
+
+When IBS is used as a raw public key for TLS, signature and hash algorithms are negotiated during the handshake. The handshake between the TLS client and the server follows the procedures defined in [IETF RFC 7250] and TLS 1.3 [IETF RFC 8446], but with the support of the IBS algorithms as the signature schemes.
+
+In the following, the TLS-IBS protocol developed based on [IETF RFC 7250] and TLS 1.3 with ECCSI [IETF RFC 6507], IBS1 (Hess-IBS), IBS1 (Cha-Cheon-IBS) and SM9-IBS [ISO/IEC 14888-3] as the signature algorithms is specified as follows.
+
+- 1) the IoT device sends ClientHello including extension *key\_share*, *signature\_algorithms*, *server\_certificate\_type*, and *client\_certificate\_type* to the server, indicating that it supports raw public key and IBS algorithms;
+
+- 2) the server sends ServerHello including extension key\_share, server\_certificate\_type, client\_certificate\_type, Certificate, CertificateRequest, CertificateVerify and Finished to the IoT device, indicating raw public key is supported, and includes its identity (ServerID), KMS parameters (OID, KMS parameters), in the certificate part. Data structures for the KMS parameters are defined in clause D.2.3. A signature generated with the private key owned by the server is included in the CertificateVerify message;
+- 3) after verifying the identity and signature of the server, the IoT device sends its raw public key as Certificate, CertificateVerify, and Finished to the server. The IoT device includes its identity (ClientID) and KMS parameters (OID, KMS parameters) in the certificate area, which is the raw public key of the client. Data structures for the KMS parameters are defined in clause D.2.3. A signature generated with the private key of client is included;
+- 4) the remaining steps are the same as TLS 1.3 in [IETF RFC 8446].
+
+See Figure D.2.
+
+
+
+```
+
+sequenceDiagram
+ participant IoT as IoT device
+ participant Server
+ IoT->>Server: ClientHello
++ key_share
++ signature_algorithm = (list of IBS algorithms)
++ server_certificate_type = (RawPublicKey)
++ client_certificate_type = (RawPublicKey)
+ Server-->>IoT: ServerHello
++ key_share
++ {server_certificate_type = (RawPublicKey)}
++ {client_certificate_type = (RawPublicKey)}
+{Certificate = ((OID, KMS Parameters), ServerID)}
+{CertificateRequest = (list of IBS algorithms)}
+{CertificateVerify = (signature algorithm, signature value)}
+{Finished}
+ IoT->>Server: {Certificate = ((OID, KMS Parameters), ServerID)}
+{CertificateVerify = (signature algorithm, signature value)}
+{Finished}
+
+```
+
+X.1365(20)\_FD.2
+
+Sequence diagram showing the TLS-IBS handshake between an IoT device and a Server. The IoT device sends ClientHello with key\_share, signature\_algorithm, server\_certificate\_type, and client\_certificate\_type. The Server responds with ServerHello containing key\_share, server\_certificate\_type, client\_certificate\_type, Certificate, CertificateRequest, CertificateVerify, and Finished. The IoT device then sends its Certificate, CertificateVerify, and Finished to the Server.
+
+**Figure D.2 – TLS-IBS**
+
+#### D.2.1 ClientHello
+
+The ClientHello message format is the same as that specified in TLS 1.3 [IETF RFC 8446], but the values for signature algorithm need be extended for IBS.
+
+The ClientHello message tells the server the types of certificate or raw public key supported by the client, and also the certificate types that the client expects to receive from the server. The ClientHello message includes desired IBS algorithms based on the order of client preference. In TLS 1.3, a data structure named SignatureScheme is defined for signature algorithms. To support the IBS algorithm, it has to be extended as follows:
+
+```
+
+enum {
+ ...
+ /* IBS signature algorithm */
+ eccsi_sha256 (0x0704),
+ ibs1_sha256(0x0705)
+}
+
+```
+
+```
+
+ ibs2_sha256(0x0706)
+ sm9_ibs_sm3(0x0707)
+ /* Reserved Code Points */
+ private_use (0xFE00..0xFFFF),
+ (0xFFFF)
+ } SignatureScheme;
+
+```
+
+Details of the code points for the extended signature algorithms can be found in the TLS registry [b-IANA TLS REG].
+
+#### D.2.2 ServerHello
+
+The ServerHello message format is the same as that specified in TLS 1.3 [IETF RFC 8446]. The SignatureScheme is extended in the same way as in Client\_Hello.
+
+#### D.2.3 Server certificate
+
+For the server certificate, a certificate structure is defined as RawPublicKey in [b-IEF RFC 7250]. As in [IETF RFC 7250], a data structure subjectPublicKeyInfo is used to specify the raw public key and its cryptographic algorithm. Within the subjectPublicKeyInfo structure, two fields, algorithm and parameters, are defined. The algorithm specifies the cryptographic algorithm used with a raw public key, which is represented by OIDs; and the parameters field provides necessary parameters associated with the algorithm. The identity of the server should be in the subjectPublicKey part.
+
+NOTE – The identity should follow the format defined in Appendix I.
+
+```
+
+subjectPublicKeyInfo ::= SEQUENCE {
+ algorithm AlgorithmIdentifier,
+ subjectPublicKey BIT STRING
+}
+AlgorithmIdentifier ::= SEQUENCE {
+ algorithm OBJECT IDENTIFIER,
+ parameters ANY DEFINED BY algorithm OPTIONAL
+}
+
+```
+
+When using an IBS algorithm, an identity is used as a raw public key, which can be converted to an OCTET string. Therefore, the certificate and subjectPublicKey structure can be reused without changes.
+
+The algorithm field in AlgorithmIdentifier structure is the object ID of the IBS algorithm used. Besides that, it is necessary to tell the peer the set of public parameters used by the signer. The information can be carried in the payload of the parameters field in AlgorithmIdentifier. Corresponding to the algorithms above, the public parameter structures are ECCSIPublicParameters, BFPublicParameters, BFPublicParameters and SM9PublicParameters, respectively, as defined in Annex B.
+
+To support IBS algorithms over TLS protocol to generate message CertificateVerify, a data structure for signature value need to be defined.
+
+- A data structure for ECCSI is defined as follows (based on [IETF RFC 6507]):
+ ECCSI-Sig-Value ::= SEQUENCE {
+ r INTEGER,
+ s INTEGER,
+ pvt OCTET STRING
+
+}
+ where pvt (as PVT defined in [IETF RFC 6507]) is encoded as 0x04 || x-coordinate of [v]G || y-coordinate of [v]G.
+
+- A data structure for IBS1 is defined as follows:
+ IBS1-Sig-Value ::= SEQUENCE {
+ r INTEGER,
+ s ECPoint
+ }
+ ECPoint ::= OCTET STRING as defined in [IETF RFC 5480]
+- A data structure for IBS2 is defined as follows:
+ IBS2-Sig-Value ::= SEQUENCE {
+ r ECPoint,
+ s ECPoint
+ }
+- A data structure for SM9-IBS is defined as follows:
+ SM9-Sig-Value ::= SEQUENCE {
+ r INTEGER,
+ s ECPoint
+ }
+
+To use a signature algorithm with TLS, an OID for the signature algorithm needs to be provided. Table D.1 shows the basic information needed for the IBS signature algorithms to be used for TLS.
+
+**Table D.1 – Identity-based signature algorithms**
+
+| Key type | Document | OID |
+|---------------------------------------------------------------------------------------|----------------------------------------|-----------------------|
+| ISO/IEC 14888-3 ibs-1 | ISO/IEC 14888-3: IBS-1 mechanism | 1.0.14888.3.0.7 |
+| ISO/IEC 14888-3 ibs-2 | ISO/IEC 14888-3: IBS-2 mechanism | 1.0.14888.3.0.8 |
+| SM9-IBS | ISO/IEC 14888-3: Chinese IBS mechanism | 1.2.156.10197.1.302.1 |
+| Elliptic curve-based certificateless signatures for identity-based encryption (ECCSI) | Section 5.2 of [IETF RFC 6507] | 1.3.6.1.5.5.7.6.29 |
+
+#### D.2.4 Client certificate
+
+To support IBS, the client certificate is extended in the same way as the server certificate.
+
+### D.3 EAP-TLS-IBS
+
+In this clause, EAP-TLS authentication protocol is extended to support IBS. Both the network side and the UE side are provisioned with identity-based credentials, which include an identity, a private key for signature and KMS public parameters (e.g., KPAK as defined in [IETF RFC 6507]). See Figure D.3.
+
+The EAP-TLS is modified as follows.
+
+- 1) the same as EAP-TLS;
+- 2) after receiving the EAP-response with the UE identity, ID\_UE;
+- 3) AU sends ID\_UE to RSF for validation;
+- 4) RSF validates the ID\_UE based on the revocation list stored;
+- 5) RSF sends the validation result back to the AU;
+
+- 6) if ID\_UE is valid, then AU sends the EAP-TLS start message to UE;
+- 7-9) the same as those described in the aforementioned TLS-IBS;
+- 10) EAP-Success.
+
+
+
+```
+sequenceDiagram
+ participant IoT as IoT device
+ participant Auth as Authenticator
+ participant AS as Authentication server
+ participant RS as Revocation server
+
+ Auth->>IoT: 1. EAP-Request: Identity
+ IoT->>Auth: 2. EAP-Response(ID_Device)
+ Auth->>RS: 3. Request(ID_Device)
+ RS->>RS: 4. Validate ID_Device
+ RS->>AS: 5. Request(ID_Device, Result)
+ AS->>Auth: 6. EAP-Request/EAP-Type = EAP-TLS [TLS-START]
+ Auth->>IoT: 7. EAP-Response/EAP-Type = EAP-TLS, [TLS ClientHello + keyshare + signature_algorithm = (eccsi_sha256, ...) + server_certificate_type = (RawPublicKey, ...) + client_certificate_type = (RawPublicKey, ...)]
+ IoT->>Auth: 8. EAP-Request/EAP-Type = EAP-TLS [TLS ServerHello + keyshare + {server_certificate_type = (RawPublicKey)} + {client_certificate_type = (RawPublicKey)} {Certificate = ((OID, KMS Parameters), ServerID)} {CertificateRequest = (list of IBS algorithms)} {CertificateVerify = (signature algorithm, signature value)} {Finished}]
+ Auth->>AS: 9. EAP-Response/EAP-Type = EAP-TLS, [{Certificate = ((OID, KMS Parameters), ServerID)} {CertificateVerify = (signature algorithm, signature value)} {Finished}]
+ AS->>Auth: 10. EAP-Success
+```
+
+Sequence diagram for EAP-TLS-IBS protocol involving IoT device, Authenticator, Authentication server, and Revocation server.
+
+X.1365(20)\_FD.3
+
+**Figure D.3 – EAP-TLS-IBS**
+
+#### D.3.1 EAP-Request
+
+The EAP-Request message format is the same as that specified in [IETF RFC 5216].
+
+#### D.3.2 EAP-Response
+
+The EAP-Response message format is the same as that specified in [IETF RFC 5216].
+
+#### D.3.3 ClientHello
+
+The ClientHello message format is the same as that in clause D.2.1.
+
+#### D.3.4 ServerHello
+
+The ServerHello message format is the same as that in clause D.2.2.
+
+#### D.3.5 Server certificate
+
+The server certificate format is the same as that in clause D.2.3.
+
+#### D.3.7 Client certificate
+
+The server certificate format is the same as that in clause D.2.4.
+
+### D.4 EAP-PSK-ECCSI
+
+In this clause, EAP-PSK is extended to support one of the IBS algorithms, ECCSI, for authentication. Both UE and AU are provisioned with identity-based credentials, which include an identity, an SSK, a PVT, and a KPAK as defined in [IETF RFC 6507] as a computing parameter.
+
+With the provisioned credentials, the UE and AU can derive symmetric keys based on static Diffie-Hellman by exchanging the identity information and the PVT, and then use the SSK owned by each entity. For example, a UE can derive a key after it receives the identity of the AU and its PVT, denoted as ID\_AU and PVT\_AU respectively, as follows:
+
+$$K_{UE} = [SSK_{UE}](KPAK + [\text{hash}(G \parallel KPAK \parallel ID_{AU} \parallel PVT_{AU})]PVT_{AU})$$
+
+where G is a generation point on the elliptic curve used by the KMS to generate keys for UE and networks. It is provisioned to UE and AU by the KMS together with SSK, PVT and KPAK, etc. The use of the hash function can follow Annex A of [IETF RFC 6507].
+
+Similarly, AU can also derive K\_AU after it receives the identity and PVT from UE as follows:
+
+$$K_{AU} = [SSK_{AU}](KPAK + [\text{hash}(G \parallel KPAK \parallel ID_{UE} \parallel PVT_{UE})]PVT_{UE})$$
+
+It can be proved that K\_UE actually equals K\_AU.
+
+With the above properties, EAP-PSK can be used for mutual authentication as follows.
+
+- 1) the UE sends an attach request to the AU and indicates that EAP-PSK shall be used for mutual authentication;
+- 2) the AU verifies the authentication type and decides an authentication method;
+- 3) the AU sends the first message about the EAP-PSK to the UE with an identity field that contains the ID\_AU and PVT\_AU, and also a random number RAND\_S as required by EAP-PS;
+- 4) the UE derives a symmetric key as $K = [SSK_{UE}](KPAK + [\text{hash}(G \parallel KPAK \parallel ID_{AU} \parallel PVT_{AU})]PVT_{AU})$ . The UE generates a random number RAND\_P and further derives $K = KDF(K, RAND_P, RAND_S)$ . The UE derives an authentication key (AK) and key derivation key (KDK) based on [b-IETF RFC4764] for EAP-PSK;
+- 5) the UE sends the second message about EAP-PSK to the AU, which contains RAND\_S, RAND\_P, a MAC\_P ( $MAC_P = CMAC\text{-AES-128}(AK, ID_P \parallel ID_S \parallel RAND_S \parallel RAND_P)$ ) for authentication, and an identity field that consists of ID\_UE and PVT\_UE;
+- 6) the AU sends ID\_UE to the RSF for validation;
+- 7) the RSF validates the ID\_UE according to its revocation list;
+- 8) the RSF sends the validation results back to the AU;
+- 9) if the ID is valid, then the AU derives a symmetric key as $K = [SSK_{AU}](KPAK + [\text{hash}(G \parallel KPAK \parallel ID_{UE} \parallel PVT_{UE})]PVT_{UE})$ . The AU further derives $K = KDF(K, RAND_P, RAND_S)$ . The AU derives an AK and KDK based on [IETF RFC 4764] for EAP-PSK. The AU authenticates the UE based on the MAC\_P received from the message. The AU further derives a session key base on RAND\_P and the KDK;
+- 10) the AU sends the third message about the EAP-PSK to the UE with a MAC\_S ( $MAC_S = CMAC\text{-AES-128}(AK, ID_S \parallel RAND_P)$ ) for authentication and other fields required by the EAP-PSK;
+- 11) the UE authenticates the AU with MAC\_S received and derives a session key with RAND\_P and KDK derived previously;
+- 12) the UE sends the last message about the EAP-PSK to the AU to finish the EAP-PSK authentication procedure.
+
+See Figure D.4.
+
+
+
+```
+
+sequenceDiagram
+ participant UE
+ participant AU
+ participant RSF
+
+ UE->>AU: 1. Attach
+ AU->>AU: 2. AU decides the authentication method based on UE's identity
+ AU->>UE: 3. Flags||RAND_S||ID_S||(where ID_S = ID_AU||PVT_AU||)
+ UE->>AU: 4. Derive the symmetric key (K) based on its private key and ID_S, i.e., K = [SSK_UE](KPAK+[hash(G||KPAK||ID_AU||PVT_AU||PVT_AU)]). K' = KDF(K, RAND_P, RAND_S), Derive AK and KDK from K'.
+ UE->>AU: 5. Flags||RAND_S||RAND_P||MAC_P||ID_P|| (where ID_P = ID_UE||PVT, MAC_P = CMAC-AES-128(AK, ID_P||ID_S||RAND_S||RAND_P))
+ AU->>RSF: 6. Request(ID_UE)
+ RSF->>AU: 7. Validate ID_UE
+ RSF->>AU: 8. Response(ID_UE, Result)
+ AU->>UE: 9. Derive the symmetric key (K) based on its private key and ID_P, i.e., K = [SSK_AU](KPAK+[hash(G||KPAK||ID_UE||PVT_UE)]PVT_UE)). K' = KDF(K, RAND_P, RAND_S), Derive AK and KDK from K'. Derive session key using RAND_P & KDK.
+ AU->>UE: 10. Flags||RAND_S||MAC_S||PCHANNEL_S_0|| (where MAC_S = CMAC-AES-128(AK, ID_S||RAND_P))
+ UE->>AU: 11. Derive session key using RAND_P & KDK.
+ UE->>AU: 12. Flags||RAND_S||PCHANNEL_P_1
+
+```
+
+X.1365(20)\_FD.4
+
+Sequence diagram showing the EAP-PSK--ECCSI authentication procedure between UE, AU, and RSF.
+
+**Figure D.4 – EAP-PSK--ECCSI**
+
+#### D.4.1 Attach
+
+This message imitates the authentication procedure.
+
+#### D.4.2 EAP-PSK--ECCSI first message (message 3 in Figure D.4)
+
+The first EAP-PSK--ECCSI message is sent by the server to the peer. The format is as follows.
+
+The first EAP-PSK--ECCSI message consists of:
+
+A 1-byte Flags field
+
+A 16-byte random number: RAND\_S
+
+A variable length field that conveys the servers NAI: ID\_S. The length of this field is deduced from the EAP length field. The length of this NAI must not exceed 966 bytes. This restriction aims to avoid fragmentation issues.
+
+Figure D.5 shows an example format of the first message about the EAP-PSK.
+
+
+
+| | | | | |
+|--------------|---|------------|--------|---|
+| 0 | 1 | 2 | 3 | 4 |
+| Code = 1 | | Identifier | Length | |
+| Type EAP-PSK | | Flags | | |
+| RAND_S | | | | |
+| ID_S | | | | |
+
+X.1365(20)\_FD.5
+
+Diagram showing the format of EAP-PSK. It is a multi-octet structure with fields Code, Identifier, Length, Type EAP-PSK, Flags, RAND\_S, and ID\_S.
+
+**Figure D.5 – Format of EAP-PSK**
+
+To support IBC-based EAP-PSK authentication, the ID\_S for the protocol of EAP-PSK is used to carry the ID\_AU and PVT\_AU. ID\_S and PVT\_AU are carried in the tag, length and vector (TLV) data structure, wherein the first octet carries a tag indicator, the second a length field, indicating the length of the field followed. The vector field carries the value.
+
+Table D.2 defines the TLV for ID and PVT used with the EAP-PSK.
+
+**Table D.2 – Tag, length and vector definition for identity and public verification token**
+
+| | Tag | Length | Value |
+|----------|-----|-------------------------|-----------------------------|
+| Identity | 1 | Variable ( $\leq 255$ ) | Defined by service provider |
+| PVT | 2 | 65 | Number in hexadecimal |
+
+Figure D.6 shows the format of EAP-PSK--ECCSI message carrying the identity and PVT within the ID\_S field.
+
+
+
+| | | | | |
+|--------------|---|------------|--------|---|
+| 0 | 1 | 2 | 3 | 4 |
+| Code = 1 | | Identifier | Length | |
+| Type EAP-PSK | | Flags | RAND_S | |
+| | | | | |
+| | | Type | Length | |
+| | | ID_AU | | |
+| | | Type | Length | |
+| PVT_AU | | | | |
+| | | | | |
+
+X.1365(20)\_FD.6
+
+**Figure D.6 – Message format for the EAP-PSK--ECCSI**
+
+#### **D.4.3 EAP-PSK--ECCSI second message (message 5 in Figure D.4)**
+
+The second EAP-PSK-ECCSI message is sent by the peer to the server. The format consists of:
+
+- a 1-byte flags field;
+- the 16-byte random number sent by the server in the first EAP-PSK--ECCSI message (RAND\_S) that serves as a session ID;
+- a 16-byte random number: RAND\_P;
+- a 16-byte media access control (MAC): MAC\_P;
+- a variable length field that conveys the peers NAI: ID\_P. The length of this field is deduced from the EAP length field. The length of this NAI must not exceed 966 bytes.
+
+Similarly, the ID\_S field of EAP-PSK is used to carry the ID\_UE and PVT\_UE field. Figure D.7 shows the format of the second EAP-PSK message.
+
+
+
+| 0 | 1 | 2 | 3 | 4 |
+|--------------|------------|--------|--------|---|
+| Code = 1 | Identifier | Length | | |
+| Type EAP-PSK | Flags | | | |
+| | | RAND_S | | |
+| | | RAND_P | | |
+| | | MAC_P | | |
+| | | Type | Length | |
+| | | ID_UE | | |
+| | | Type | Length | |
+| | | PVT_UE | | |
+
+X.1365(20)\_FD.7
+
+Figure D.7: Message format for the second message about EAP-PSK--ECCSI. The diagram shows a sequence of fields in a message structure, indexed from 0 to 4. The fields are: Code = 1 (index 0), Identifier (index 1), Length (index 2), Type EAP-PSK (index 3), Flags (index 4), RAND\_S (index 2), RAND\_P (index 3), MAC\_P (index 4), Type (index 3), Length (index 4), ID\_UE (index 2), Type (index 3), Length (index 4), and PVT\_UE (index 4).
+
+**Figure D.7 – Message format for the second message about EAP-PSK--ECCSI**
+
+#### **D.4.4 EAP-PSK--ECCSI third message (message 10 in Figure D.4)**
+
+The third EAP-PSK--ECCSI message is sent by the server to the peer. The format is the same as that presented in [IETF RFC 4764].
+
+#### **D.4.5 EAP-PSK--ECCSI fourth message (message 12 in Figure D.4-1)**
+
+The fourth EAP-PSK-ECCSI message is sent by the peer to the server. The format is the same as that presented in [IETF RFC 4764].
+
+# Appendix I
+
+## Identity naming
+
+(This appendix does not form an integral part of this Recommendation.)
+
+The ID in an IoT application can be the ID of a terminal or the ID of an IoT platform. The ID is a name that serves the purpose of identification. An ID is a handy representation of the object and allows the object, for example, in a database or in communication protocols to be referenced or addressed. In order to fulfil this purpose, IDs must be unique, or the ID is unique in an independent system. For example, the postal code is unique in a country, the uniqueness of the ID is given inside a certain scope. In addition, an ID is not only for a single object, but also for a group of objects, which enables uniform management and operation for this group.
+
+OIDs [b-ITU-T X.660], [b-ITU-T X-Sup.31] are jointly developed by ISO/IEC and ITU-T, and have many characteristics. An OID has a hierarchical tree structure, which can flexibly extend its layers and the length of the IDs. An OID corresponds to a node in the OID tree, which is able to identify anything (physical or virtual, device or non-device), and is able to connect them with global information and communication infrastructures. The root of the tree contains the following three arcs: 0 (ITU-T), 1 (ISO) and 2 (joint-iso-itu-t). Each node in the tree is represented by a series of integers separated by periods, corresponding to the path from the root through the series of ancestor nodes, to the node. Each level of registration authority ID should be allocated by the upper level registration authority. For example, the OID denoting China National IC Card Registration Center, 1.2.156.20005 is allocated by 1.2.156 (ISO.member.china), the OID of China National OID Registration Center.
+
+A complete OID would be a combination of registration authority ID and entity ID, and these two constituent parts are separated by a period, as shown in Figure I-1. If the company has registered an OID by the upper level registration authority, only the entity ID needs to be designed.
+
+
+
+X.1365(20)\_F1.1
+
+Diagram showing the structure of a complete OID for objects. It consists of two parts, 'XX' and 'XX', separated by a period. A bracket under the first 'XX' points to 'Registration authority ID'. A bracket under the second 'XX' points to 'Entity ID'.
+
+**Figure I.1 – Structure of complete OID for objects**
+
+For example, the entity ID shall have the structure listed in Table I.1.
+
+**Table I.1 – Detailed information of the entity ID**
+
+| Byte | Constituent part | Interpretation |
+|-----------------|--------------------------|-----------------------------------------------------------------------------------------------------------------|
+| 1 | version and reserved | 4 bits for version of the entity ID, and 4 bits for reserved digits for the future |
+| 2 | business | business type |
+| 3~11 | expired time | invalid time of the identity, 5 bytes for issuing time in Unix time, and 4 bytes for validity period in seconds |
+| 12 | type | value 0 for meaningless number, 1 for MAC, and 2 for IMSI |
+| 13 | length (value l ) | the size of the value part (in bytes), 6 for MAC and 8 for IMSI |
+| 14~13+ l | value | individual identification number |
+
+The entity ID is 19 bytes long when using MAC as the individual identification number and 21 bytes long when using IMSI. An IMSI is usually presented as a 15-digit number or shorter, and the first digit is not zero except the test network [b-ITU-T E.212]. Padding zeroes before the IMSI to 16 digits and using 4 bits for one digit, 8 bytes is enough for an IMSI.
+
+The IoT platform maintains a list for addressing. When a terminal device registers for the first time, the platform will add a row, which contains both the ID and the IP address of the device. By searching the ID of a device in the list, the IP address corresponding to the device can be obtained. See Table I.2.
+
+**Table I.2 – An example for the list for addressing**
+
+| Identifier | IP address |
+|----------------------------------------------------|-------------|
+| 1.2.9c.4e25.10.1.5b3e408003c26700.1.6.38B1DBC3156F | 192.168.0.1 |
+
+# Appendix II
+
+## KMIP extensions to support IBC
+
+(This appendix does not form an integral part of this Recommendation.)
+
+The KMIP can be extended as follows to support required IBC operations with KMS, in particular the system initialization with KMIP and the private key generation with KMIP operations as defined in clauses C.1 and C.4 respectively.
+
+The request payload for create key pair is composed as in Table II.1
+
+**Table II.1 – Request Payload**
+
+| Object | Required | Description |
+|--------------------------------|----------|-----------------------------------------------------------------------------------------------------|
+| Private key template-attribute | Yes | Specifies the attributes when the IBSetup function generates ib.msk and ib.pubparam . |
+
+Private key template-attribute shall include the attributes listed in Table II.2.
+
+**Table II.2 – Private key template-attribute**
+
+| Object | Required | Encode | Description |
+|---------------------------------|----------|-----------------------------|------------------------------------------------------------------------------------------------------------------------------|
+| Cryptographic algorithm | Yes | Enumeration, see Table II.3 | Specifies the IBSetup function. |
+| Cryptographic length | No | Integer | Specifies the bit length of the characteristic of the prime field on which the elliptic curve is based. |
+| Cryptographic usage mask | Yes | Integer | Specifies the usage of the ib.msk which shall be Sign for key generation. IBExtract essentially is a signing process. |
+| Cryptographic Domain Parameters | Yes | Object | Specifies more parameters for choosing system parameters, such as the elliptic curve used. |
+| Cryptographic Parameters | Yes | Object | Specifies other functions, such as a hash function, which shall be used with the IBExtract functions. |
+
+Cryptographic algorithm shall be one of the values listed in Table II.3.
+
+**Table II.3 – Cryptographic algorithm (key generation)**
+
+| Name | Value |
+|---------------|----------|
+| IBC-KGA-BB1 | 00000030 |
+| IBC-KGA-BF | 00000031 |
+| IBC-KGA-ECCSI | 00000032 |
+| IBC-KGA-SK | 00000033 |
+| IBC-KGA-SM9 | 00000034 |
+
+Cryptographic length shall be a value equal or greater than 110.
+
+Cryptographic usage shall be set as 00000001 (Sign).
+
+Cryptographic domain parameters shall include the attributes listed in Table II.4.
+
+**Table II.4 – Cryptographic domain parameters**
+
+| Object | Required | Encode | Description |
+|-------------------|----------|-----------------------------|----------------------------------------------------------------------------------------|
+| QLength | No | Integer | Specifies the bit length of the order of the group from which ib.msk is chosen. |
+| Recommended curve | Yes | Enumeration, see Table II.5 | Specifies the curve used. |
+| Pairing type | No | Enumeration, see Table II.6 | If used, specifies the pairing in an identity-based algorithm. |
+| Domain name | No | TEXT STRING | Specifies a unique name for the generated system parametersib.pubparam . |
+| Domain serial | No | INTEGER | Specifies a version number for the generated system parametersib.pubparam . |
+
+Recommended curve shall be one of the values listed in Table II.5.
+
+**Table II.5 – Recommended curve**
+
+| Name | Value |
+|------------------------|----------|
+| IBC-CURVE-SS1 | 00000070 |
+| IBC-CURVE-SS2 | 00000071 |
+| IBC-CURVE-BN-254-1 | 00000072 |
+| IBC-CURVE-BN-256-1 | 00000073 |
+| IBC-CURVE-BN-256-2 | 00000074 |
+| IBC-CURVE-BN-382-1 | 00000077 |
+| IBC-CURVE-BLS-12-381-1 | 0000007A |
+| IBC-CURVE-BLS-12-442-1 | 0000007B |
+| IBC-CURVE-BLS-12-455-1 | 0000007C |
+| IBC-CURVE-BLS-12-461-1 | 0000007D |
+| IBC-CURVE-KSS-16-340-1 | 0000007E |
+| IBC-CURVE-KSS-18-348-1 | 0000007F |
+
+Pairing type shall be one of the values listed in Table II.6.
+
+**Table II.6 – Pairing type**
+
+| Name | Value |
+|---------------------|----------|
+| Weil-Pairing | 00000001 |
+| Tate-Pairing | 00000002 |
+| Optimal-Ate-Pairing | 00000003 |
+
+Cryptographic parameters shall include the attributes listed in Table II.7.
+
+**Table II.7 – Cryptographic parameters**
+
+| Object | Required | Encode | Description |
+|-------------------|----------|-----------------------------|-----------------------------------------------------------------------------------|
+| Hashing algorithm | Yes | Enumeration, see Table II.8 | Specifies the hash function which shall be used with the key generation function. |
+| Private key group | No | Enumeration, see Table II.9 | Specifies in which group the private key is generated if a pairing is used. |
+
+Hashing algorithm shall be one of the values listed in Table II.8.
+
+**Table II.8 – Cryptographic algorithm (hash)**
+
+| Name | Value |
+|----------|----------|
+| SHA224 | 00000040 |
+| SHA256 | 00000041 |
+| SHA384 | 00000042 |
+| SHA512 | 00000043 |
+| SHA3-224 | 00000044 |
+| SHA3-256 | 00000045 |
+| SHA3-384 | 00000046 |
+| SHA3-512 | 00000047 |
+| SM3 | 00000048 |
+
+Private key group shall be one of the values listed in Table II.9.
+
+**Table II.9 – Private key group**
+
+| Name | Value |
+|-------------------|----------|
+| IBC-PRK-GROUP1 | 00000001 |
+| IBC-PRK-GROUP2 | 00000002 |
+| IBC-PRK-TWOGROUPS | 00000003 |
+
+The create key pair response payload is composed as in Table II.10.
+
+**Table II.10 – Response payload**
+
+| Object | Required | Description |
+|-------------------------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Private key unique identifier | Yes | The unique identifier of the newly created private key object which can be used to access ib.msk . The identifier is encoded as a text string. |
+| Public key unique identifier | Yes | The unique identifier of the newly created public key object which can be used to access ib.pubparam . The identifier is encoded as a text string. |
+
+The request payload for get operation is composed as in Table II.11.
+
+**Table II.11 – Request payload**
+
+| Object | Required | Description |
+|------------------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------|
+| Public key unique identifier | Yes | The unique identifier of the public key object which can be used to access ib.pubparam . The identifier is encoded as a text string. |
+
+The get response payload is composed as in Table II.12.
+
+**Table II.12 – Response payload**
+
+| Object | Required | Description |
+|-------------------|----------|-----------------------------------------------------------------------------------------------|
+| Object type | Yes | Type of object |
+| Unique identifier | Yes | The unique identifier of the object |
+| Public key | Yes | A public key structure encapsulating the data of the IBC public parameters ib.pubparam |
+
+The unique ID shall be same as the public key unique ID sent in the get request payload.
+
+Object type shall be 00000003 (public key).
+
+The key block in the public key field is composed as in Table II.13.
+
+**Table II.13 – Key block in the public key field**
+
+| Object | Required | Encode | Description |
+|-------------------------|----------|------------------------------------------------------|---------------------------------------------------------------|
+| Key format type | Yes | Enumerate, see Table II.14. | Specifies the format of the key value. |
+| Key compression | No | Enumerate. | Specifies if the key value should be compressed. |
+| Key value | Yes | Transparent key structure for IBC public parameters. | A newly defined transparent key structure for IBC public key. |
+| Cryptographic algorithm | Yes | Enumerate, see Table II.15. | Same as create key pair request payload |
+
+Key format type shall be the value in Table II.14.
+
+**Table II.14 – Key format type**
+
+| Name | Value |
+|-----------------------------------|----------|
+| Transparent IBC public parameters | 00000016 |
+
+Key compression shall be either 00000001 (uncompressed) or 00000002 (compressed prime).
+
+Key value shall have attributes listed in Table II.15:
+
+**Table II.15 – Key value**
+
+| Object | Required | Encode | Description |
+|-----------|----------|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| P | No | Big Integer | For curves based on a prime field, P is the characteristic (p) of the prime field. |
+| Q | No | Big Integer | Q is the order of the point subgroup (G1) in which the cryptographic operations are computed. |
+| J | No | Big Integer | J is the cofactor such that $J*Q = X-1$ , where X is the order of point group of the specified curve. |
+| P1 STRING | Yes | BYTE STRING | For pairing-based algorithms, P1 is the generator of group G1 of pairing. For the non-pairing-based algorithm, P1 is a generator of the working point subgroup. |
+| P2 STRING | No | BYTE STRING | For pairing-based algorithms, P2 is the generator of group G2 of pairing. |
+
+**Table II.15 – Key value**
+
+| Object | Required | Encode | Description |
+|-----------------------------|----------|----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| sP1 STRING | No | BYTE STRING | sP1 is the scalar result of $[ib.msk]P1$ or the scalar result of an integer component of $ib.msk$ with P1 |
+| sP2 STRING | No | BYTE STRING | For pairing-based algorithms, sP2 is the scalar result of $[ib.msk]P2$ or the scalar result of an integer component of $ib.msk$ with P2 |
+| sP3 STRING | No | BYTE STRING | From some pairing-based algorithm (particularly algorithms using the BB1 key generation function), sP3 is the scalar result of another integer component of $ib.msk$ with P1. |
+| Public Pairing STRING | No | BYTE STRING | For some pairing-based algorithms, public pairing is the result of $\text{pairing}(P1, [s]P2)$ or $\text{pairing}([s]P1, P2)$ or $\text{pairing}(P1, P2)$ , where $s$ is $ib.msk$ , for algorithms like SM9, SK-KEM or SK-KEM or $([s1]P1, [s2]P2)$ for BB1-KEM, where $s1, s2$ are integer components of $ib.msk$ . |
+
+The new tag definitions are listed in Table II.16.
+
+**Table II.16 – Tag definitions**
+
+| Object | Tag Value |
+|--------------------------|-----------|
+| Pairing type | 420100 |
+| Private key group | 420101 |
+| Domain name | 420102 |
+| Domain serial | 420103 |
+| P1 STRING | 420104 |
+| sP1 STRING | 420105 |
+| P2 STRING | 420106 |
+| sP2 STRING | 420107 |
+| sP3 STRING | 420108 |
+| Public pairing STRING | 420109 |
+
+The request payload for sign is composed as in Table II.17.
+
+**Table II.17 – Request payload for sign**
+
+| Object | Required | Description |
+|--------------------------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Unique identifier | No | The unique identifier of the managed cryptographic object that is the $ib.msk$ key to use for the IBExtract operation. If omitted, then the ID placeholder value shall be used by the server as the unique identifier. |
+| Cryptographic parameters | No | Cryptographic parameters may specify the group of which the private key shall be generated. |
+| Data | Yes | Data specifies the identity value from which the private key shall be extracted. |
+
+Cryptographic parameters shall include the attributes listed in Table II.18.
+
+**Table II.18 – Cryptographic parameters**
+
+| Object | Required | Encode | Description |
+|-------------------|-----------------|------------------------------|-------------------------------------------------------------------------------------------|
+| Private key group | No | Enumeration, see Table II.9. | Specify the group ( G1 or G2 ) of which the private key shall be generated. |
+
+# Bibliography
+
+- [b-ITU-T E.101] Recommendation ITU-T E.101 (2009), *Definitions of terms used for identifiers (names, numbers, addresses and other identifiers) for public telecommunication services and networks in the E-series Recommendations*.
+- [b-ITU-T E.212] Recommendation ITU-T E.212 (2016), *The international identification plan for public networks and subscriptions*.
+- [b-ITU-T X.509] Recommendation ITU-T X.509 (2019), *Information technology – Open Systems Interconnection – The Directory: Public-key and attribute certificate frameworks*.
+- [b-ITU-T X.660] Recommendation ITU-T X.660 (2011), *Information technology – Procedures for the operation of object identifier registration authorities: General procedures and top arcs of the international object identifier tree*.
+- [b-ITU-T X.1361] Recommendation ITU-T X.1361 (2018), *Security framework for the Internet of things based on the gateway model*.
+- [b-ITU-T X-Sup.31] ITU-T X-series Recommendations – Supplement 31 (2017), *ITU-T X.660 – Supplement on guidelines for using object identifiers for the Internet of things*.
+- [b-ITU-T Y.2720] Recommendation ITU-T Y.2720 (2009), *NGN identity management framework*.
+- [b-ITU-T Y.4000] Recommendation ITU-T Y.4000/Y.2060 (2012), *Overview of the Internet of things*.
+- [b-ITU-T Y.4100] Recommendation ITU-T Y.4100/Y.2066 (2014), *Common requirements of the Internet of things*.
+- [b-ISO/IEC 9798-3] ISO/IEC 9798-3:2019. *IT Security techniques – Entity authentication – Part 3: Mechanisms using digital signature techniques*.
+- [b-ETSI TR 118 508] ETSI TR 118 508 V1.0.0 (2014), *Analysis of Security Solutions for the oneM2M System*.
+<[https://www.etsi.org/deliver/etsi\\_tr/118500\\_118599/118508/01.00.00\\_60/tr\\_118508v010000p.pdf](https://www.etsi.org/deliver/etsi_tr/118500_118599/118508/01.00.00_60/tr_118508v010000p.pdf)>
+- [b-ETSI TS 133.501] ETSI TS 133 501 V15.2.0 (2018), *5G; Security architecture and procedures for 5G system (3GPP TS 33.501 version 15.1.0 Release 15)*.
+<[https://www.etsi.org/deliver/etsi\\_ts/133500\\_133599/133501/15.01.00\\_60/ts\\_133501v150100p.pdf](https://www.etsi.org/deliver/etsi_ts/133500_133599/133501/15.01.00_60/ts_133501v150100p.pdf)>
+- [b-GM/T 0044.2] GM/T 0044.2-2016, *Identity-based cryptographic algorithms SM9 – Part 2: Digital signature algorithm*.
+- [b-GSMA SGP.02] GSMA Official Document SGP.02 Version 3.1 (2016), *Remote Provisioning Architecture for Embedded UICC – Technical Specification*.
+- [b-IANA TLS REG] Internet Assigned Numbers Authority (IANA), *Transport Layer Security (TLS) Parameters*. Website available, last viewed 2019-07-12.
+<>
+- [b-IEEE 1363] IEEE 1363-2000, *IEEE Standard Specifications for Public-Key Cryptography*.
+- [b-IEEE P1363.3] IEEE P1363.3/D9 (May 2013), *IEEE Standard for Identity-Based Cryptographic Techniques using Pairings*.
+
+- [b-IETF RFC 3748] IETF RFC 3748 (2004). *Extensible Authentication Protocol (EAP)*.
+- [b-OASIS KMIP] OASIS (2016), *Key Management Interoperability Protocol Specification Version 1.3*.
+<>
+- [b-Barreto] Barreto, P. S. L. M., Libert, B., McCullagh, N., Quisquater, J.-J. (2005). Efficient and provably-secure identity-based signatures and signcryption from bilinear maps. In: Roy B. (ed.). *Advances in Cryptology – ASIACRYPT 2005*, pp. 515-532. *Lecture Notes in Computer Science*, vol. 3788. Berlin: Springer
+- [b-Chen] Chen, L., Malone-Lee, J. (2005). Improved identity-based signcryption. In: Vaudenay S. (ed). *Public Key Cryptography – PKC 2005*, pp. 362-379. *Lecture Notes in Computer Science*, vol. 3386. Berlin: Springer.
+- [b-Ducas] Ducas, L., Lyubashevsky, V., Prest, T. (2014). Efficient identity-based encryption over NTRU lattices. In: Sarkar P., Iwata T. (eds). *Advances in Cryptology – ASIACRYPT 2014*, pp. 22-41. *Lecture Notes in Computer Science*, vol. 8874. Berlin: Springer.
+- [b-Freeman] Freeman, D., Scott, M., Teske, E. (2010). A taxonomy of pairing-friendly elliptic curves. *J. Cryptol.* **23**, pp. 224–280.
+- [b-Galbraith] Galbraith, S.D., Paterson, K.G., Smart, N.P. (2008). Pairings for cryptographers. *Discrete Appl. Math.*, **156**, pp. 3113-3121.
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1366-202009-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b251589cf40ace6dacc78699abda475ccc29cb4a
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5a5181407216d035f79590e56aec9a16d90fff38afd14731b2addf225d041a7
+size 4098
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg b/marked/X/T-REC-X.1366-202009-I_PDF-E/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7f9f4c0d98b228e9e70c8afe7a80da8cbae37d8b
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:676d9e0bacff8515c31a647803e0def087a2359b8eb7d9db5d93a0a8bde83b67
+size 18378
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg b/marked/X/T-REC-X.1366-202009-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b4c5451972021a755d69054989b31c286ec5effe
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:37e70d913702714a95a03caab46078819cd76604d2e23f6223a139c52506369b
+size 65254
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg b/marked/X/T-REC-X.1366-202009-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..84387e61318fd8546d6376da51e4e68315252e77
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/76b0cd79baaedd942af4dc42f2e764b8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:36adbdbd699ab0157fe8f6b773bbef0225d502de6f1dd0b7677e05bcc55c7314
+size 93761
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/7a0db9703b68b3d06cdaeefc084c0006_img.jpg b/marked/X/T-REC-X.1366-202009-I_PDF-E/7a0db9703b68b3d06cdaeefc084c0006_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..964dcc4d6214ff9dbcbf19600f7885f58d893b1f
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/7a0db9703b68b3d06cdaeefc084c0006_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2b71ba9c51f4c6a85d72c88e575e91133590c92a2a2309d16aff3b7bdf5f9bfb
+size 51439
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/X/T-REC-X.1366-202009-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e3a29f56dbc697cbb216d011289ee138da83aa55
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d4929339ace7722493c7f1032d2bb6e32810bae7ddf341a2c13ef8d93ffd0cad
+size 20639
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg b/marked/X/T-REC-X.1366-202009-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c3d726bf301d45dae0c4a9e0a06ae44d9d293170
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5e1e71ea527adbdaf2b7102f05595b850f1b4083536b6a58a989d13df4ea2221
+size 108371
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/e1a0d046fbe7f28f5e93a47091851747_img.jpg b/marked/X/T-REC-X.1366-202009-I_PDF-E/e1a0d046fbe7f28f5e93a47091851747_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..44d3cb2f3278b900ce00f9a2f3ea67c1b7555f5b
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/e1a0d046fbe7f28f5e93a47091851747_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:05dd1498712eb35a4b482a548adcc53cf9fcb1af3be77e62490428b6e3e55613
+size 50877
diff --git a/marked/X/T-REC-X.1366-202009-I_PDF-E/raw.md b/marked/X/T-REC-X.1366-202009-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..7b3021e6c49fe855383d8053187ebe77e3eff479
--- /dev/null
+++ b/marked/X/T-REC-X.1366-202009-I_PDF-E/raw.md
@@ -0,0 +1,686 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1366
+
+(09/2020)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services (2) – Internet of things
+(IoT) security
+
+# --- **Aggregate message authentication schemes for Internet of things environment**
+
+Recommendation ITU-T X.1366
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| 5G SECURITY | X.1800–X.1819 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+## Recommendation ITU-T X.1366
+
+# Aggregate message authentication schemes for Internet of things environment
+
+## Summary
+
+The number of Internet of things (IoT) devices is increasing, and in the near future there will be an enormous number of devices connected to the IoT network including 5G. Recommendation ITU-T X.1366 specifies two message authentication schemes. One is an aggregate message authentication (AMA) scheme for IoT as a basic mechanism. The other is an interactive aggregate message authentication (IAMA) scheme with interactive protocol in a lightweight and secure manner. Both aggregate message authentication schemes can be applied for ensuring "entity (identity) authentication" as well as for ensuring "message authentication". These schemes may not be applicable in all use cases for utilizing IoT devices, but they are quite effective and suitable for use cases in the following conditions where:
+
+- Message authentication is required from tens to tens of thousands of IoT devices.
+- Data or message being handled for an authentication process that occurs frequently and intermittently.
+
+For example, "surveillance applications for use of image data" and "remote telemetry" such as monitoring of plant or factory operations and health monitoring are the typical candidates of use cases for these schemes.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|------------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1366 | 2020-09-03 | 17 | 11.1002/1000/14262 |
+
+## Keywords
+
+Aggregate message authentication, AMA, IoT.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2020
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|---|------------------------------------------------------------------------------|------|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 | Abbreviations and acronyms ..... | 1 |
+| 5 | Conventions ..... | 2 |
+| 6 | Overview and basic concept ..... | 2 |
+| | 6.1 Overview ..... | 2 |
+| | 6.2 Basic concept of aggregate message authentication system..... | 3 |
+| 7 | Aggregate message authentication ..... | 4 |
+| | 7.1 General ..... | 4 |
+| | 7.2 Specific notation..... | 4 |
+| | 7.3 Algorithm specification..... | 4 |
+| 8 | Interactive aggregate message authentication ..... | 5 |
+| | 8.1 General ..... | 5 |
+| | 8.2 Specific notation..... | 6 |
+| | 8.3 Specification of interactive protocol ..... | 6 |
+| | Annex A – Guidance and limitations..... | 8 |
+| | A.1 Guidance on use of aggregate message authentication (AMA) ..... | 8 |
+| | A.2 Limitations of the use of AMA ..... | 8 |
+| | Annex B – Combination with existing one-to-one authentication protocols..... | 9 |
+| | Appendix I – Use cases on the use of AMA ..... | 10 |
+| | I.1 Introduction ..... | 10 |
+| | I.2 Use case-1: Theme parks and leisure centres ..... | 10 |
+| | I.3 Use case-2: Surveillance sensors..... | 11 |
+| | Appendix II – Related activities on AMA schemes..... | 14 |
+| | Appendix III – Adaptive group testing protocol..... | 15 |
+| | Bibliography..... | 16 |
+
+
+
+# Recommendation ITU-T X.1366
+
+## Aggregate message authentication schemes for Internet of things environment
+
+# 1 Scope
+
+This Recommendation specifies two message authentication schemes. One is an aggregate message authentication (AMA) scheme for IoT as a basic mechanism. The other is an interactive aggregate message authentication (IAMA) scheme with interactive protocol in a lightweight and secure manner. Both aggregate message authentication schemes can be applied for ensuring "entity (identity) authentication" as well as for ensuring "message authentication".
+
+How to implement these schemes in a specific IoT environment, as well as aggregate signature technologies are outside the scope of this Recommendation.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+None.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following term defined elsewhere:
+
+**3.1.1 message authentication code (MAC)** [b-ITU-T X.813]: A cryptographic check value that is used to provide data origin authentication and data integrity.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 message authentication:** A property that guarantees that a message has not been modified while in transit to ensure data integrity, and allows the receiving party to verify the source of the message.
+
+**3.2.2 aggregate message authentication (AMA):** A property that allows multiple message authentication codes, generated by multiple senders, to be aggregated into a shorter authentication code that can still be verified by a recipient who has the secret keys of the senders.
+
+**3.2.3 authentication tags:** A piece of data to be used for message authentication.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|---------------------------------------|
+| AGT | Adaptive Group Testing protocol |
+| AMA | Aggregate Message Authentication |
+| AMAC | Aggregate Message Authentication Code |
+
+| | |
+|------|----------------------------------------------|
+| IAMA | Interactive Aggregate Message Authentication |
+| IoT | Internet of Things |
+| MAC | Message Authentication Code |
+| XOR | Exclusive OR operation |
+
+# 5 Conventions
+
+None.
+
+# 6 Overview and basic concept
+
+## 6.1 Overview
+
+The number of Internet of things (IoT) devices is continually increasing, and in the near future there will be an enormous number of devices connected to the IoT network including 5G. This Recommendation provides a lightweight and secure authentication system that can be applied in such a situation.
+
+Message authentication code (MAC) is one of the most fundamental cryptographic primitives, and the MAC can be used as a lightweight cryptographic primitive for message authentication. However, as shown in Figure 1, in current IoT systems, for messages sent from IoT devices, authentication tags (see clause 3.2.3) are individually generated at the IoT device side, and each message with a generated tag is basically verified by a verification process on the receiver side. The major problem recognized in this current IoT scenario is that the load of existing authentication and verification processes is increasing in proportion to the increase in the number of IoT devices.
+
+Aggregate message authentication code (AMAC) is an existing technology that allows for the compression of multiple MAC tags on multiple messages generated by different devices into a single aggregate tag without compromising security (see Appendix II). The advantage of AMAC lies in the fact that the size of an aggregate tag is much smaller than the combined total sizes of MAC tags, and hence it will be useful in applications in mobile networks or IoT networks where many devices sending messages are connected. Specifically, AMAC can be used in applications to make networks using MACs more efficient. However, this method cannot identify invalid messages among the multiple messages once these messages are regarded as invalid using an aggregate-tag in AMAC in general. In this Recommendation, the existing AMAC scheme is extended so that it allows to compress multiple MAC tags with detection capability to specify invalid messages.
+
+
+
+```
+
+graph LR
+ subgraph IoT_Devices [IoT devices]
+ D1[IoT device 1] -- Message --> T1(Tagging)
+ D2[IoT device 2] -- Message --> T2(Tagging)
+ Dn[IoT device n] -- Message --> Tn(Tagging)
+ end
+
+ subgraph Receiver [Receiver]
+ V1(Verification) --> O1[OK/NG]
+ V2(Verification) --> O2[OK/NG]
+ Vn(Verification) --> On[OK/NG]
+ end
+
+ T1 -- "Message and tag" --> V1
+ T2 -- "Message and tag" --> V2
+ Tn -- "Message and tag" --> Vn
+
+```
+
+X.1366(20)\_F01
+
+Diagram of a one-to-one authentication system (conventional system). It shows three IoT devices (IoT device 1, IoT device 2, and IoT device n) on the left. Each device has a 'Message' input and a 'Tagging' process (represented by a blue oval). The output of each 'Tagging' process is 'Message and tag', which is sent to a 'Receiver' on the right. The 'Receiver' has three 'Verification' processes (represented by blue ovals). Each 'Verification' process receives a 'Message and tag' and outputs 'OK/NG'. The diagram illustrates a one-to-one relationship between each IoT device and its corresponding verification process on the receiver side.
+
+**Figure 1 – One-to-one authentication system (conventional system)**
+
+## 6.2 Basic concept of aggregate message authentication system
+
+### 6.2.1 General
+
+Figure 2 shows the basic scheme of aggregate message authentication (AMA) proposed in this Recommendation. An aggregation node is installed into an IoT network system for aggregating MAC tags/authentication tags without changing the input-formats or structures of the existing MACs in the network. The aggregation node compresses multiple MAC tags attached in multiple messages generated by different devices into a single aggregate tag without compromising security, and the aggregate tag is transmitted through a main channel to a receiver to conduct verification processes for the tag. The receiver checks the validity of multiple messages by using the aggregate tag and can identify invalid messages or data from the aggregate tag. This technique is effective in reducing the volume of data transmitted when the size of the aggregate tag is much smaller than the total size of the multiple MAC tags.
+
+This Recommendation describes an AMA scheme for IoT as a basic mechanism and an interactive AMA (IAMA) scheme to explain how the aggregation and verification processes are performed. In the AMA scheme, only the main channel from the aggregation node to the receiver is used to transmit the aggregate tag. The aggregation and verification algorithms of the AMA scheme is specified in clause 7. In the IAMA scheme, a feedback channel that is an authenticated channel with low bandwidth from the receiver to the aggregation node is also used in addition to the main channel. By transmitting a verification result from the receiver to the aggregation node through the feedback channel, the aggregation node can compress the MAC tags more effectively than the AMA in clause 7. An interactive protocol between the aggregation node and receiver is executed for verification as specified in clause 8.
+
+
+
+```
+graph LR
+ subgraph Devices
+ D1[IoT device 1] -- Message --> T1(Tagging)
+ D2[IoT device 2] -- Message --> T2(Tagging)
+ Dn[IoT device n] -- Message --> Tn(Tagging)
+ end
+ T1 -- "Message and tag" --> A[Aggregation]
+ T2 -- "Message and tag" --> A
+ Tn -- "Message and tag" --> A
+ A -- "Messages and aggregated tag" -->|Main channel| V[Verification]
+ V -- "List of invalid data" --> Out[ ]
+ V -. "Feedback channel" .-> A
+```
+
+Figure 2: Basic concept of aggregate message authentication system. The diagram illustrates the flow of data in an IoT network for aggregate message authentication. On the left, three IoT devices (IoT device 1, IoT device 2, and IoT device n) each send a 'Message' to a 'Tagging' process. The output of each 'Tagging' process is 'Message and tag'. These are sent to a central 'Aggregation' process. The 'Aggregation' process outputs 'Messages and aggregated tag' through a 'Main channel' to a 'Receiver'. The 'Receiver' has a 'Verification' process that outputs a 'List of invalid data'. A 'Feedback channel' (dashed line) connects the 'Receiver' back to the 'Aggregation' process. The diagram is labeled X.1366(20)\_F02 in the bottom right corner.
+
+**Figure 2 – Basic concept of aggregate message authentication system**
+
+NOTE – In a situation where multiple devices send privacy data by using Encrypt-then-MAC schemes, the aggregation technique in this Recommendation can be applied to compress multiple MAC-tags.
+
+In this Recommendation, there are four processes that are used to perform AMA and IAMA schemes: key generation, tagging, aggregation and verification as follows:
+
+- 1) Key generation takes as input a security parameter and an *ID*, and produces a secret key for the *ID*.
+- 2) Tagging takes a message, an *ID*, and a secret key corresponding to the *ID* as input, and outputs a tag.
+- 3) Aggregation takes multiple tuples of IDs, messages, and tags from multiple devices as input, and produces a tuple of aggregate tags as output.
+
+- 4) Verification takes all secret keys, multiple pairs of IDs and messages from multiple devices, and a tuple of aggregate tags as input. It specifies invalid messages, and outputs a list of IDs of devices whose messages are invalid.
+
+# 7 Aggregate message authentication
+
+## 7.1 General
+
+The AMAC scheme outlined in this Recommendation provides the functionalities of both aggregating multiple MAC-tags into a shorter tag and identifying invalid messages from it. This clause explains how the four algorithms: key generation, tagging, aggregation and verification are constructed to generate an AMAC.
+
+## 7.2 Specific notation
+
+In this Recommendation, the following specific notations are used:
+
+- $n$ : Number of devices.
+- $d$ : Number of invalid messages from devices.
+- $id$ : ID of a device. Let $ID = \{id_1, id_2, \dots, id_n\}$ be the set of all IDs.
+- $m$ : Message.
+- $k_{id}$ : Secret key of a device $id$ . For simplicity, $k_i$ denotes the secret key corresponding to $id_i$ instead of $k_{id_i}$ .
+- $F()$ : MAC function which takes a secret key and a message as input and outputs a MAC tag.
+- $G = (g_{i,j})$ : $d$ -disjunct matrix with $u$ rows and $n$ columns. The matrix $G$ has entries in $\{0,1\}$ , and columns are indexed by IDs, $id_1, id_2, \dots, id_n$ . $G$ is said to be $d$ -disjunct, if the Boolean sums of any $d$ columns of $G$ does not contain any other column, where $x = (x_1, x_2, \dots, x_u)$ contains $y = (y_1, y_2, \dots, y_u)$ if $x_i \geq y_i$ for every $1 \leq i \leq u$ .
+- $I(G, i)$ : The set of $j$ ( $1 \leq j \leq n$ ) such that $g_{i,j} = 1$ for every $i = 1, 2, \dots, u$ .
+- $\oplus$ : Bitwise XOR (exclusive OR) operation.
+- $H()$ : Hash function.
+
+## 7.3 Algorithm specification
+
+To cover wider applications, two kinds of aggregate MACs with detecting functionality are provided. One is XOR-based (clause 7.3.1) and the other is based on a hash function (clause 7.3.2).
+
+### 7.3.1 XOR-based construction
+
+#### 7.3.1.1 Key generation
+
+For each $id$ , this process generates a random key. It is denoted by $k_{id}$ .
+
+#### 7.3.1.2 Tagging
+
+Tagging takes a message, an $ID$ , and a secret key corresponding to the $ID$ , denoted by $id, m, k_{id}$ , respectively, as input, and outputs a MAC tag $t$ which is computed by $F(k_{id}, m)$ .
+
+#### 7.3.1.3 Aggregation
+
+Aggregation takes IDs, messages, and their MAC tags from $n$ devices as input which is denoted by $(id_1, m_1, t_1), \dots, (id_n, m_n, t_n)$ . For each $i$ ( $1 \leq i \leq u$ ), take bitwise XOR of MAC tags whose
+
+corresponding IDs are included in $I(G, i)$ and define it as $T_i$ , namely $T_i = \bigoplus_{j \in I(G, i)} t_j$ . Then, output $(T_1, T_2, \dots, T_u)$ as an aggregate tag.
+
+#### 7.3.1.4 Verification
+
+Verification takes all the secret keys denoted by $(k_1, \dots, k_n)$ , multiple pairs of IDs and messages from $n$ devices denoted by $(id_1, m_1), \dots, (id_n, m_n)$ , and an aggregate tag denoted by $(T_1, T_2, \dots, T_u)$ as input. Then, it outputs a list $J$ after the following procedure.
+
+Step 1: $J \leftarrow \{id_1, id_2, \dots, id_n\}$
+
+Step 2: For $i = 1, 2, \dots, u$ , do the following:
+
+If $T_i = \bigoplus_{j \in I(G, i)} t_j$ , then $J \leftarrow J \setminus \{id_j\}$ for all $j \in I(G, i)$ .
+
+### 7.3.2 Hash-based construction
+
+#### 7.3.2.1 Key generation
+
+For each $id$ , this process generates a random key. It is denoted by $k_{id}$ .
+
+#### 7.3.2.2 Tagging
+
+Tagging takes a message, an $ID$ , and a secret key corresponding to the $ID$ , denoted by $id, m, k_{id}$ , respectively, as input, and outputs a MAC tag $t$ which is computed by $F(k_{id}, m)$ .
+
+#### 7.3.2.3 Aggregation
+
+Aggregation takes IDs, messages, and their MAC tags from $n$ devices as input which is denoted by $(id_1, m_1, t_1), \dots, (id_n, m_n, t_n)$ . For each $i$ ( $1 \leq i \leq u$ ), compute a hash value of MAC tags whose corresponding IDs are included in $I(G, i)$ and define it as $T_i$ , namely $T_i = H(t_{j_1}, t_{j_2}, \dots)$ where $I(G, i) = \{j_1, j_2, \dots\}$ with $1 \leq j_1 < j_2 < \dots$ .
+
+Then, output $(T_1, T_2, \dots, T_u)$ as an aggregate tag.
+
+#### 7.3.2.4 Verification
+
+Verification takes all the secret keys denoted by $(k_1, \dots, k_n)$ , multiple pairs of IDs and messages from $n$ devices denoted by $(id_1, m_1), \dots, (id_n, m_n)$ , and an aggregate tag denoted by $(T_1, T_2, \dots, T_u)$ as input. Then, it outputs a list $J$ after the following procedure.
+
+Step 1: $J \leftarrow \{id_1, id_2, \dots, id_n\}$
+
+Step 2: For $i = 1, 2, \dots, u$ , do the following:
+
+If $T_i = H(t_{j_1}, t_{j_2}, \dots)$ where $I(G, i) = \{j_1, j_2, \dots\}$ with $1 \leq j_1 < j_2 < \dots$ ,
+then $J \leftarrow J \setminus \{id_j\}$ for all $j \in I(G, i)$ .
+
+# 8 Interactive aggregate message authentication
+
+## 8.1 General
+
+The IAMA scheme proposed in this Recommendation provides the functionality so that IAMA can identify invalid messages with a smaller amount of tag size than those of the AMA scheme in clause 7. An IAMA scheme consists of two algorithms, key generation and tagging, and an interactive protocol between aggregation and verification. This clause explains how those algorithms and the protocol are constructed.
+
+## 8.2 Specific notation
+
+In this Recommendation, the following specific notations are used:
+
+- $n$ : Number of devices.
+- $d$ : Number of invalid messages from devices.
+- $id$ : ID of a device. Let $ID = \{id_1, id_2, \dots, id_n\}$ be the set of all IDs.
+- $m$ : Message.
+- $k_{id}$ : Secret key of a device $id$ . For simplicity, $k_i$ denotes the secret key corresponding to $id_i$ instead of $k_{id_i}$ .
+- $F()$ : MAC function which takes a secret key and a message as input and outputs a MAC tag.
+- AGT: Adaptive group testing protocol.
+- $\oplus$ : Bitwise XOR (exclusive OR) operation.
+- $H()$ : Hash function.
+
+## 8.3 Specification of interactive protocol
+
+An IAMA can be constructed from a MAC function $F()$ and an AGT, see Appendix III for adaptive group testing. Such constructions are presented here by using two kinds of operations, XOR or a hash function as presented in the constructions of AMA.
+
+### 8.3.1 XOR-based construction
+
+#### 8.3.1.1 Key generation
+
+For each $id$ , this process generates a random key. It is denoted by $k_{id}$ .
+
+#### 8.3.1.2 Tagging
+
+Tagging takes a message, an $ID$ , and a secret key corresponding to the $ID$ , denoted by $id, m, k_{id}$ , respectively, as input, and outputs a MAC tag $t$ which is computed by $F(k_{id}, m)$ .
+
+#### 8.3.1.3 Aggregation and verification
+
+Aggregation and verification are constructed based on an AGT protocol as shown in Figure 3. Aggregation takes the whole set of IDs $ID = \{id_1, id_2, \dots, id_n\}$ , messages, and their MAC tags from $n$ devices as input which is denoted by $(m_1, t_1), \dots, (m_n, t_n)$ , where $(m_i, t_i)$ ( $1 \leq i \leq n$ ) is a message-tag pair corresponding to $id_i$ . Verification takes the whole set of IDs $ID$ and all secret keys $k_i$ ( $1 \leq i \leq n$ ) corresponding to $id_i$ . First, aggregation selects a subset $S \subseteq ID$ , generates an aggregated tag $T_S$ by compressing MAC tags of $S$ : $T_S$ can be generated by taking XOR of MAC tags, $T_S = \bigoplus_{j \in S} t_j$ . Then, Aggregation sends $T_S$ with messages $(m_1, \dots, m_n)$ to verification. Next, verification sets $J = ID$ , and checks validity of $T_S$ by using secret keys of $S$ : $T_S$ is regarded as valid if $T_S = \bigoplus_{j \in S} t_j$ , where $t_j = F(k_j, m_j)$ ; otherwise, $T_S$ is regarded as invalid. If $T_S$ is valid, set $J \leftarrow J \setminus S$ . Verification sends the checking result of $T_S$ (i.e., one-bit information) to aggregation. Then, aggregation selects another subset $S' \subseteq ID$ , generates an aggregated tag $T_{S'}$ by compressing MAC tags of $S'$ , and sends $T_{S'}$ to verification. Verification checks validity of $T_{S'}$ by using secret keys of $S'$ ; If $T_{S'}$ is valid, $J \leftarrow J \setminus S'$ . Verification sends the checking result of $T_{S'}$ to aggregation. After repeating the above procedures between aggregation and verification, verification finally outputs a list $J$ which consists of IDs of devices whose messages are invalid.
+
+
+
+Figure 3: Interactive protocol between aggregation and verification. The diagram shows two main blocks: 'Aggregation' and 'Verification'. An arrow labeled 'Input: IDs, messages, MAC tags' points into the 'Aggregation' block. Three arrows (one top, one middle, one bottom) connect 'Aggregation' and 'Verification', with a vertical ellipsis between the middle and bottom arrows. An arrow labeled 'Input: IDs, secret keys' points into the 'Verification' block. An arrow labeled 'Output: List of invalid devices' points out from the 'Verification' block. Below the diagram is the text 'X.1366(20)\_F03'.
+
+**Figure 3 – Interactive protocol between aggregation and verification**
+
+### 8.3.2 Hash-based construction
+
+#### 8.3.2.1 Key generation
+
+For each $id$ , this process generates a random key. It is denoted by $k_{id}$ .
+
+#### 8.3.2.2 Tagging
+
+Tagging takes a message, an ID, and a secret key corresponding to the ID, denoted by $id, m, k_{id}$ , respectively, as input, and outputs a MAC tag $t$ which is computed by $F(k_{id}, m)$ .
+
+#### 8.3.2.3 Aggregation and verification
+
+Aggregation and verification are constructed based on an AGT protocol as shown in Figure 3. Aggregation takes the whole set of IDs $ID = \{id_1, id_2, \dots, id_n\}$ , messages, and their MAC tags from $n$ devices as input which is denoted by $(m_1, t_1), \dots, (m_n, t_n)$ , where $(m_i, t_i)$ ( $1 \leq i \leq n$ ) is a message-tag pair corresponding to $id_i$ . Verification takes the whole set of IDs $ID$ and all secret keys $k_i$ ( $1 \leq i \leq n$ ) corresponding to $id_i$ . First, aggregation selects a subset $S \subseteq ID$ , generates an aggregated tag $T_S$ by computing a hash value $T_S = H(t_{j_1}, t_{j_2}, \dots)$ where $S = \{id_{j_1}, id_{j_2}, \dots\}$ with $1 \leq j_1 < j_2 < \dots$ . Then, aggregation sends $T_S$ with messages $(m_1, \dots, m_n)$ to verification. Next, verification sets $J = ID$ , and checks validity of $T_S$ by using secret keys of $S$ : $T_S$ is regarded as valid if $T_S = H(t_{j_1}, t_{j_2}, \dots)$ , where $t_j = F(k_j, m_j)$ ; otherwise, $T_S$ is regarded as invalid. If $T_S$ is valid, set $J \leftarrow J \setminus S$ . Verification sends the checking result of $T_S$ (i.e., one-bit information) to aggregation. Then, aggregation selects another subset $S' \subseteq ID$ , generates an aggregated tag $T_{S'}$ by compressing MAC tags of $S'$ , and sends $T_{S'}$ to verification. Verification checks validity of $T_{S'}$ by using secret keys of $S'$ ; If $T_{S'}$ is valid, $J \leftarrow J \setminus S'$ . Verification sends the checking result of $T_{S'}$ to aggregation. After repeating the above procedures between aggregation and verification, verification finally outputs a list $J$ which consists of IDs of devices whose messages are invalid.
+
+# Annex A
+
+## Guidance and limitations
+
+(This annex forms an integral part of this Recommendation.)
+
+## A.1 Guidance on use of aggregate message authentication (AMA)
+
+This Recommendation discusses the applicability of embedding an aggregate node into existing message authentication code (MAC) protocols without changing the input-formats or network connections of underlying MACs. In addition, aggregation is a keyless procedure, and does not need maintenance of any secret key in the aggregation node. Furthermore, the aggregation is executed only by computing bitwise XOR operations or hash functions, and hence, the AMA schemes in this Recommendation are suitable to use for authentication in a lightweight manner.
+
+In the aggregation processing described in clause 7, a $d$ -disjunct matrix needs to be generated and stored. Several methods such as those described in [b-TM05] to generate $d$ -disjunct matrices are known, and it is also possible to use a compressed form of a $d$ -disjunct matrix as described in [b-MK19]. This Recommendation proposes utilizing those techniques even in AMA schemes. For a $d$ -disjunct matrix with $u$ rows and $n$ columns, the AMA scheme is more effective than the traditional one-to-one authentication if $u < n$ ; and more effective if $d \ll \sqrt{n}$ .
+
+NOTE – Security levels of AMA (or IAMA) schemes constructed by bitwise XOR or hash functions are described here according to schemes described in [b-HS18] and [b-SS19]. There are three kinds of security notions, unforgeability, identifiability-completeness, and identifiability-(weak)-soundness: Unforgeability guarantees that no message can be forged; Identifiability-completeness guarantees that any valid message is judged as valid by the scheme; Identifiability-soundness guarantees that any invalid message is judged as invalid by the scheme, while identifiability-weak-soundness is the same as identifiability-soundness except that an adversary is supposed to obtain no valid MAC-tags and to corrupt no devices before attacking. The weak-soundness is still useful in applications, since it covers message tampering.
+
+Security levels of AMA (or IAMA) schemes in this Recommendation are described as follows. XOR-based construction meets unforgeability, identifiability-completeness, and identifiability-weak-soundness if the underlying MAC meets unforgeability. Hash-based construction meets unforgeability, identifiability-completeness, and identifiability-soundness, if the underlying MAC meets unforgeability and the hash function is regarded as a random function.
+
+## A.2 Limitations of the use of AMA
+
+This Recommendation assumes that the number of invalid messages is at most $d$ in AMA schemes, and this parameter is set as a system parameter. This means that there is a need to estimate the number $d$ beforehand.
+
+What happens if the number of invalid messages exceeds the assumed value $d$ ? In this case, verification finally outputs a list $J$ that contains more than $d$ IDs of devices; the IDs of devices that had sent invalid messages are included in the list $J$ ; but, some IDs of devices that had not sent invalid messages may also be included in the list $J$ . In this case, it is recommended to set up a larger value $d$ for the AMA scheme again.
+
+# Annex B
+
+## Combination with existing one-to-one authentication protocols
+
+(This annex forms an integral part of this Recommendation.)
+
+AMA (or IAMA) schemes in this Recommendation can be utilized in combination with the traditional one-to-one authentication. The traditional one-to-one authentication is understood as the AMA scheme where the underlying disjunct matrix is the identity matrix. For $n = n_1 + n_2$ devices, if it is preferable to aggregate only $n_1$ MAC-tags among $n$ MAC-tags, do the following: apply an AMA (or IAMA) scheme for the $n_1$ devices, and apply the one-to-one authentication for the other $n_2$ devices, as shown in Figure B.1.
+
+
+
+The diagram illustrates a system architecture for combining AMA (or IAMA) schemes with one-to-one authentication protocols. It shows two groups of IoT devices, $n_1$ and $n_2$ , sending data to a central Aggregation block, which then transmits data through a Main channel to a Receiver for Verification.
+
+**Devices and Data Flow:**
+
+- $n_1$ devices:** Each IoT device sends Data to a Tagging block, which outputs Authenticated data to the Aggregation block.
+- $n_2$ devices:** Each IoT device sends Data to a Tagging block, which outputs Authenticated data to the Aggregation block.
+
+**Aggregation and Main Channel:**
+
+- The Aggregation block receives Authenticated data from both groups of devices.
+- The Aggregation block sends data to the Main channel.
+
+**Receiver and Verification:**
+
+- The Main channel sends data to the Receiver's Verification block.
+- The Verification block outputs a List of invalid data.
+
+**Feedback Channel:**
+
+- A Feedback channel (dashed line) connects the Receiver's Verification block back to the Aggregation block.
+
+**Legend:**
+
+- X.1366(20)\_FB.1
+
+Figure B.1: Combination with one-to-one authentication protocols. The diagram illustrates a system architecture where n1 devices use Tagging for authentication, while n2 devices use one-to-one authentication. Data from both groups is sent to an Aggregation block, then through a Main channel to a Receiver's Verification block. A Feedback channel connects the Receiver back to the Aggregation block. The Receiver outputs a List of invalid data.
+
+Figure B.1 – Combination with one-to-one authentication protocols
+
+# Appendix I
+
+## Use cases on the use of AMA
+
+(This appendix does not form an integral part of this Recommendation.)
+
+## I.1 Introduction
+
+The aggregate message authentication scheme can be applied for ensuring entity (identity) authentication as well as for ensuring message authentication. Furthermore, the scheme may not be applicable in all use cases for utilizing Internet of things (IoT) devices. Specifically, this scheme is quite effective and suitable for use cases in the following conditions:
+
+- Message authentication is required from tens to tens of thousands of IoT devices.
+- The data/message being handled for the authentication process occurs frequently and intermittently.
+
+The following are examples of applications that it can be specifically assumed would utilize the aggregate authentication technology:
+
+- a) Applications for concisely and frequently sending data/messages such as semi-movie (still image) data
+ - Surveillance applications using image data
+- b) Applications for remote telemetry:
+ - Applications for monitoring of factory operations
+ - Audience dynamics surveying applications
+ - Health monitoring applications such as Citizen Marathon for example
+ - Applications for management of facilities such as streetlights installed in urban areas
+ - Applications for traffic monitoring
+ - Applications for river level monitoring
+
+By applying this aggregate authentication technology in the above IoT applications, the efficiency of message transmission and authentication processing in the entire IoT system can be dramatically improved.
+
+The following use cases are examples for utilizing this aggregate authentication scheme specified in this Recommendation.
+
+## I.2 Use case-1: Theme parks and leisure centres
+
+In the case of parks and leisure centres, etc., it can be assumed that there are between 1 000 to 10 000 visitors at the same time. That is, thousands of visitors who have appropriate privileges for use of attractions in the park/centre that may need to be verified at the same time. In this case, an aggregated authentication scheme may be perfectly suitable to perform efficient authorization management. As shown in Figure I.1, aggregate servers can be in each attraction facility to collect and aggregate authentication tags for requesting verification from the back-end authentication server.
+
+More specifically, visitors purchase in advance an admission ticket in which information on events, attractions admission, and web services to be provided are embedded in chips. This technology is widely used in marathons. Wristbands with embedded chips can be also considered as an alternative to admission tickets.
+
+At the event venue main gate or at individual gates for each attraction, the contents of the entrance ticket are read, aggregated using aggregate authentication technology, and sent to the aggregate authentication server.
+
+The aggregate authentication server centre analyses the service contents and requirements provided to visitors, informs various attraction venues and web service providers, and uses it for analysis and prediction of congestion. After verification, visitors can utilize various registered web services using their own smartphones or glass-type wearable devices for example.
+
+
+
+Admission control and/or priority control of event venues such as theme parks and leisure centre can be implemented using aggregate authentication technology.
+
+TICKET
+
+Thousands to tens of thousands of visitors
+
+Theme park/leisure centre
+
+Various attractions
+
+Aggregate Authentication
+
+X.1366(20)\_Fl.1
+
+Diagram of the Aggregate authentication scheme in theme parks and leisure centres. The diagram shows a group of visitors (represented by stick figures) holding tickets, interacting with various attractions (Ferris wheel, carousel, castle, roller coaster, and a building). A central database icon is connected to the visitors and attractions. A red arrow labeled 'Aggregate Authentication' points from the attractions towards the database. A text box explains that admission control can be implemented using this technology. The entire scene is enclosed in a dashed oval labeled 'Theme park/leisure centre'.
+
+**Figure I.1 – Aggregate authentication scheme in theme parks and leisure centres**
+
+### **I.3 Use case-2: Surveillance sensors**
+
+### **I.3.1 General**
+
+In order to be alerted to and intervene at an early stage in natural disasters and accidents/incidents, monitoring of activities using surveillance sensors such as cameras for IoT devices can be a use case of the aggregate authentication schemes provided by this Recommendation. In this case, quasi-video or still images captured by a number of surveillance cameras are sent to a surveillance centre in almost real time (or periodically) but it is important to ensure the reliability and integrity of the data being sent.
+
+However, when the number of surveillance sensors becomes very high, it is no longer efficient to verify an authentication code with the image data from each camera by checking the authentication code of each camera one by one. In such an environment, the aggregate authentication scheme is effective. Authentication codes with data can be aggregated in the aggregate servers before being sent to the surveillance centre, so that the entire IoT system can provide efficient authentication and communications. The number of aggregation servers is dependent on the number of surveillance sensors. Figure I.2 shows surveillance sensors in an aggregate authentication scheme.
+
+
+
+Diagram illustrating a surveillance sensor system with aggregate authentication. At the bottom, various disaster and accident icons (fire, flood, thief, earthquake, volcano) are shown. Above them, surveillance cameras are depicted. A central blue oval contains the text 'For observing disasters and accidents that occur in various places'. Two red arrows labeled 'Data with aggregate Auth.' point from the cameras to a server rack at the top. A red arrow labeled 'Alerts' points from the server rack to a police officer icon on the right. A grey box on the left contains the text: 'Eliminates unauthorized use of cameras in transmission of video and audio from multiple cameras continuously and efficiently to the centre for crime prevention and disaster prevention'.
+
+X.1366(20)\_F1.2
+
+**Figure I.2 – Surveillance sensors in an aggregate authentication scheme**
+
+### I.3.2 Specific use cases
+
+##### 1) Monitoring of living environments such as communities and housing
+
+Living environment information from various sensors such as surveillance cameras attached to apartment block buildings, smart communities, private homes, etc., is aggregated at a gateway (IoT hub) and transmitted to a centre server using aggregation authentication technology.
+
+The centre will analyse the information received, and use it to help monitoring the living environment, predicting abnormalities and failures, responding promptly, and preventing crime and disasters.
+
+More specifically, data captured in various environmental sensors, home appliance sensors, surveillance cameras, door/window opening/closing status sensors, gas/water/electricity infrastructure operation status sensors, elevator monitoring sensors, etc., are sent to external centres. Aggregation authentication schemes using both terminal authentication and data authentication are effective as an authentication means for collecting diverse and large amounts of data and transmitting the data efficiently.
+
+##### 2) Maintenance and monitoring of social infrastructure, disaster response
+
+The maintenance and management of social infrastructure such as bridges, tunnels, and roads using IoT is being introduced in various fields, and it is widely expected that IoT services will play an extremely important role in achieving safe and secure society in the near future. For example, in the cases of aging bridges and elevated roads, relevant data such as strains, vibrations, displacement, inclination, etc., and video information is captured in detail by various sensors. The volume of data which should be sent to the centre is becoming extremely large.
+
+Currently the aggregate authentication method is proving very effective as one of the measures used to improve the efficiency of wireless Internet circuit use and to avoid congestion. In addition to the maintenance and management of these social infrastructures, it is also possible to apply the aggregate
+
+authentication method to the gateway of the IoT system for use of systems for the constant monitoring of water levels and flow changes in rivers and lakes in agricultural environments.
+
+##### 3) Disaster prevention systems using surveillance cameras
+
+Surveillance cameras are installed and operated for various purposes including crime prevention and disaster prevention at various places all over the world. Generally, in a network that handles image and audio information, it is necessary to continuously transmit a large amount of data to the centre side, and it is effective to apply an aggregation authentication technique for efficient transmission. That is, it is possible to improve communication efficiency between the IoT device and the IoT gateway and between the IoT gateway and the centre by applying the aggregate authentication method.
+
+##### 4) Logistics monitoring, improving the efficiency of transportation systems
+
+In logistics and transportation business systems, IoT systems are increasingly utilized for improving the efficiency and high functionality of the business. For example, a solution that precisely manages status information of goods and packages from shipping to delivery is being put to practical use in various fields. In such a system, more stable and efficient logistics management can be achieved by applying aggregate authentication technology to the system that sends various sensor information on all packages to the center. It is also conceivable to provide an IoT gateway for vehicles such as cars equipped with an enormous number of sensors and apply aggregate authentication technology at the vehicle gateway for transportation systems.
+
+# **Appendix II**
+
+## **Related activities on AMA schemes**
+
+(This appendix does not form an integral part of this Recommendation.)
+
+An AMA scheme, that differs from the scheme described in clause 7, was first proposed by Katz and Lindell in [b-KL08] and allows aggregation of multiple MAC-tags of multiple messages into a shorter tag. Specifically, Katz and Lindell [b-KL08] formalized the model and security of AMA and provided the simple construction of AMA by taking bitwise XOR of all MAC tags. It is possible to verify the validity of multiple messages with only a shorter single tag, however, it is generally impossible to identify invalid messages in their AMA scheme once multiple messages are judged invalid with respect to the single tag. The AMA schemes in this Recommendation achieve both the functionalities of aggregating multiple MAC-tags into a shorter tag and identifying invalid messages from it. The AMA code provided in clause 7 of this Recommendation is based [b-HS18], while the interactive authentication protocol for use of AMA provided in clause 8 is based on [b-SS19].
+
+# Appendix III
+
+## Adaptive group testing protocol
+
+(This appendix does not form an integral part of this Recommendation.)
+
+Group testing, as discussed in [b-DH00], is a method for specifying special items called defectives among a large number of whole items using a small number of tests rather than carrying out individual testing for each item.
+
+In the following example of group testing protocol shown in Figure III.1, it is supposed that there are total of $n$ items of which there are $d$ defectives.
+
+In adaptive group testing, tests can be carried out several times such that a subset of items to be tested can be selected after observing the results of the previous test. A competitive group testing is an adaptive group testing which does not need to know the number $d$ of defectives beforehand.
+
+
+
+The diagram illustrates the adaptive group testing protocol as an interactive process between two blocks, X and Y. Block X receives an input labeled "Input: All item-data". Block Y receives an input labeled "Input: All verification-data". Between blocks X and Y, there are three horizontal arrows: the top one points from X to Y, the middle one points from Y to X, and the bottom one points from X to Y. A vertical ellipsis (three dots) is positioned between the middle and bottom arrows. Block Y produces an output labeled "Output: List of defectives". The identifier "X.1366(20)\_FIII.1" is located at the bottom right of the diagram.
+
+Diagram of the Adaptive group testing protocol showing an interactive process between blocks X and Y.
+
+**Figure III.1 – Adaptive group testing protocol**
+
+Formally, adaptive group testing is an interactive protocol between $X$ and $Y$ as shown in Figure III.1.
+
+$X$ takes the whole set of IDs $ID = \{id_1, id_2, \dots, id_n\}$ and all item-data $data_i$ ( $1 \leq i \leq n$ ) corresponding to $id_i$ . $Y$ takes the whole set of IDs $ID$ and all verification-data $ans_i$ ( $1 \leq i \leq n$ ) corresponding to $id_i$ . First, $X$ selects a subset $S \subseteq ID$ , generates $test_S$ by compressing item-data of $S$ , and sends $test_S$ to $Y$ . Next, $Y$ sets $J = ID$ , and checks validity of $test_S$ by using verification-data of $S$ . If $test_S$ is valid, set $J \leftarrow J \setminus S$ . $Y$ sends the checking result of $test_S$ (i.e., one-bit information) to $X$ . Then, $X$ selects another subset of ID, and repeat the procedures between $X$ and $Y$ . After repeating the above procedures between $X$ and $Y$ , $Y$ finally outputs a list $J$ which consists of IDs of defectives.
+
+For instance, adaptive group testing protocols include the binary search, the rake-and-winnow algorithm [b-EGH07], Li's multi-stage algorithm [b-Li62], and the digging algorithm described in clause 4.6 of [b-DH00].
+
+# Bibliography
+
+- [b-ITU-T X.813] Recommendation ITU-T X.813 (1996), *Information technology – Open Systems Interconnection – Security frameworks for open systems: Non-repudiation framework*.
+- [b-DH00] D. Z. Du and F. K. Hwang, *Combinatorial Group Testing and Its Applications*, Series on Applied Mathematics, vol. 12, 2nd edn. World Scientific, Singapore, 2000.
+- [b-EGH07] D. Eppstein, M. T. Goodrich, and D. S. Hirschberg, *Improved Combinatorial Group Testing Algorithms for Real-world Problem Sizes*, SIAM J. Comput. 36(5), pp. 1360-1375, 2007.
+- [b-HS18] S. Hirose and J. Shikata, *Non-adaptive Group-Testing Aggregate MAC Schemes*, The 14th International Conference on Information Security Practice and Experience (ISPEC 2018), LNCS 11125, pp. 357-372, Springer, 2018.
+- [b-KL08] J. Katz and A.Y. Lindell, *Aggregate message authentication codes*, CT-RSA 2008, LNCS 4964, pp. 155-169. Springer, 2008.
+- [b-Li62] C. H. Li, *A Sequential Method for Screening Experimental Variables*, J. Am. Stat. Assoc. 57 (298), pp. 455-477, 1962.
+- [b-MK19] K. Minematsu and N. Kamiya, *Symmetric-key Corruption Detection: When XOR-MACs meet combinatorial group testing*, ESORICS 2019, Part I, LNCS 11735, pp. 595-615, Springer, 2019.
+- [b-MOV96] A. J. Menezes, P. C. van Oorschot, and S. A. Vanstone, *Handbook of Applied Cryptography*, CRC Press, October 1996, Fifth Printing (August 2001).
+- [b-SS19] S. Sato and J. Shikata, *Interactive Aggregate Message Authentication Scheme with Detecting Functionality*, The 33rd International Conference on Advanced Information Networking and Applications (AINA-2019), pp. 1316-1328, Springer, 2019.
+- [b-TM05] N. Thierry-Mieg, *A New Pooling Strategy for High-throughput Screening: the Shifted Transversal Design*, BMC Bioinformatics, vol. 7, no. 28, 2005.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.137-199708-I_PDF-E/raw.md b/marked/X/T-REC-X.137-199708-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..650538af41349a44395865e880cc8f3a55371e3d
--- /dev/null
+++ b/marked/X/T-REC-X.137-199708-I_PDF-E/raw.md
@@ -0,0 +1,713 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.137
+
+(08/97)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATION
+
+Public data networks – Network aspects
+
+---
+
+**Availability performance values for public data
+networks when providing international
+packet-switched services**
+
+ITU-T Recommendation X.137
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATION
+
+| | |
+|-----------------------------------------------|-------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEM INTERCONNECTION | X.200–X.299 |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# **ITU-T RECOMMENDATION X.137**
+
+# **AVAILABILITY PERFORMANCE VALUES FOR PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL PACKET-SWITCHED SERVICES**
+
+## **Summary**
+
+This Recommendation provides availability parameters and associated worst-case objectives within the X.130-Series Recommendations on PSPDN performance.
+
+###### **Source**
+
+ITU-T Recommendation X.137 was revised by ITU-T Study Group 7 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 9th of August 1997.
+
+## FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, the ITU had/had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 1997
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+## CONTENTS
+
+| | Page |
+|------------------------------------------------------------------------------------------------|-------------|
+| 1 Introduction and scope ..... | 1 |
+| 2 References ..... | 3 |
+| 3 Abbreviations ..... | 4 |
+| 4 Availability function ..... | 4 |
+| 5 Availability parameters ..... | 5 |
+| 5.1 service availability definition..... | 5 |
+| 5.2 Definition of mean time between service outages ..... | 6 |
+| 5.3 Values ..... | 6 |
+| 5.4 Related parameters..... | 7 |
+| Annex A – Sampling estimation of availability parameters ..... | 8 |
+| A.1 Test of availability ..... | 8 |
+| A.2 Procedures for estimating service availability ..... | 10 |
+| A.3 Procedures for estimating mean time between service outages ..... | 10 |
+| A.4 SPRT methodology..... | 11 |
+| Annex B – Representative end-to-end availability performance..... | 14 |
+| B.1 Definition of the example end-to-end connections ..... | 14 |
+| B.2 End-to-end availability performance for the Type 1 and Type 2 configuration examples ..... | 15 |
+
+
+
+## AVAILABILITY PERFORMANCE VALUES FOR PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL PACKET-SWITCHED SERVICES
+
+(revised in 1997)
+
+# 1 Introduction and scope
+
+**1.1** This Recommendation is the fourth in a series of four Recommendations (X.134 to X.137) that define performance parameters and values for international packet-switched data communication services. Figure 1 illustrates the scope of these four Recommendations and the relationships among them.
+
+
+
+Rec. X.134
+
+Network section
+
+DSE DSE
+(Packet network)
+
+Physical interface
+
+Physical interface
+
+Physical interface
+
+Physical interface
+
+Packet-layer reference events
+
+DTE or DSE
+
+Circuit section
+(Rec. X.25 or Rec. X.75)
+
+DTE or DSE
+
+| Criterion | Speed | Accuracy | Dependability |
+|---------------------------|------------|------------|---------------|
+| Function | | | |
+| Access | Rec. X.135 | Rec. X.136 | |
+| User information transfer | | | |
+| Disengagement | | | |
+
+Primary parameter values
+
+Rec. X.137
+
+Service available
+
+Service unavailable
+
+T0715690-93/d01
+
+Figure 1/X.137 – Packet-switched service performance description framework. The diagram illustrates the relationship between network sections, performance criteria, and service availability. At the top, a box labeled 'Rec. X.134' shows a 'Network section' (Packet network) and a 'Circuit section' (Rec. X.25 or Rec. X.75), both connected to 'Physical interface' blocks. Below this, a table maps 'Criterion' (Speed, Accuracy, Dependability) against 'Function' (Access, User information transfer, Disengagement). 'Rec. X.135' is associated with 'Speed' and 'Access', while 'Rec. X.136' is associated with 'Accuracy' and 'Access'. 'Primary parameter values' are derived from these functions. Finally, 'Rec. X.137' is shown as a central box determining 'Service available' or 'Service unavailable' based on these values.
+
+Figure 1/X.137 – Packet-switched service performance description framework
+
+**1.2** Recommendation X.134 divides a virtual connection into basic sections whose boundaries are associated with X.25 and X.75 interfaces; defines particular collections of basic sections, called virtual connection portions, for which performance values will be specified; and defines a set of Packet-layer reference Events (PEs) which provides a basis for performance parameter definition. The basic sections consist of network sections and circuit sections. They are delimited, in each case, by physical Data Terminal Equipment (DTE) or Data Switching Equipment (DSE) interfaces. Two types of virtual connection portions are identified: national portions and international portions. Each PE is defined to occur when a packet crossing a section boundary changes the state of the packet layer interface.
+
+**1.3** For comparability and completeness, packet-switched network performance is considered in the context of the $3 \times 3$ performance matrix defined in Recommendation X.140. Three protocol-independent data communication functions are identified in the matrix: access, user information transfer, and disengagement. These general functions correspond to call set-up, data (and interrupt) transfer, and call clearing in packet-switched virtual call services conforming to Recommendations X.25 and X.75. Each function is considered with respect to three general performance concerns (or “performance criteria”): speed, accuracy, and dependability. These express, respectively, the delay or rate, degree of correctness, and degree of certainty with which the function is performed.
+
+**1.4** Recommendation X.135 defines protocol-specific speed of service parameters and values associated with each of the three data communication functions. Recommendation X.136 defines protocol-specific accuracy and dependability parameters and values associated with each function. X.135 and X.136 parameters are called “primary parameters” to emphasize their direct derivation from packet layer reference events.
+
+**1.5** An associated two-state model provides a basis for describing overall service availability. A specified availability function compares the values for a subset of the primary parameters with corresponding outage thresholds to classify the service as “available” (no service outage) or “unavailable” (service outage) during scheduled service time. This Recommendation specifies the availability function and defines the availability parameters and values that characterize the resulting binary random process.
+
+**1.6** Two availability parameters are defined in this Recommendation: service availability and mean time between service outages. Each parameter can be applied to any basic section or portion of a virtual connection. This generality makes the parameters useful in performance allocation and concatenation.
+
+**1.7** This Recommendation specifies availability values for national and international portions of two types (see Table 1). Performance values for data terminal equipment are not specified, but the parameters defined in this Recommendation may be employed in such specification to assist users in establishing quantitative relationships between network performance and quality of service (see Recommendation X.140).
+
+**Table 1/X.137 – Virtual connection portion types for which performance values are specifieda) **
+
+| Portion type | Typical characteristics |
+|-------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
+| National A | Terrestrial connection via an access network section. |
+| National B | Connection via an access network section with one satellite circuit; or via an access network section and one or more transit network sections. |
+| International A | Connection via a direct terrestrial internetwork section. |
+| International B | Connection via two satellite circuits and one transit network section; or via one satellite circuit and two or more transit network sections. |
+| a) The values specified for Type B portions also apply to virtual connection portions not explicitly identified as Type A or Type B. | |
+
+**1.8** Worst-case values for each of the two availability parameters are specified below for each virtual connection portion type identified in Table 1. The term “worst case” means that these values should be met during any hour of the day in the worst-performing virtual connection portion used in providing international packet-switched service. The performance of a virtual connection portion may be better than the worst-case values specified in this Recommendation. Design objectives that take into account more demanding user applications and network performance, and connectivity enhancements are for further study.
+
+Numerical methods for combining individual portion performance values to estimate end-to-end performance are also provided in this Recommendation. DTE to DTE values for two particular hypothetical reference connections are derived using these methods in Annex B.
+
+# 2 References
+
+The following ITU-T Recommendations, and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published.
+
+- ITU-T Recommendation X.1 (1996), *International user classes of service in, and categories of access to, public data networks and Integrated Services Digital Networks (ISDNs)*.
+- ITU-T Recommendation X.2 (1996), *International data transmission services and optional user facilities in public data networks and ISDNs*.
+- ITU-T Recommendation X.25 (1996), *Interface between Data Terminal Equipment (DTE) And Data Circuit-Terminating Equipment (DCE) for terminals operating in the packet mode and connected to public data networks by dedicated circuit*.
+- ITU-T Recommendation X.75 (1996), *Packet-switched signalling system between public networks providing data transmission services*.
+- ITU-T Recommendation X.96 (1993), *Call progress signals in public data networks*.
+- ITU-T Recommendation X.110 (1996), *International routing principles and routing plan for public data networks*.
+- ITU-T Recommendation X.134 (1997), *Portion boundaries and packet-layer reference events: Basis for defining packet-switched performance parameters*.
+- ITU-T Recommendation X.135 (1997), *Speed of service (delay and throughput) performance values for public data networks when providing international packet-switched services*.
+- ITU-T Recommendation X.136 (1997), *Accuracy and dependability performance values for public data networks when providing international packet-switched services*.
+- ITU-T Recommendation X.138 (1997), *Measurement of performance values for public data networks when providing international packet-switched services*.
+- ITU-T Recommendation X.139 (1997), *Echo, drop, generator and test DTEs for measurement of performance values in public data networks when providing international packet-switched services*.
+- CCITT Recommendation X.140 (1992), *General quality of service parameters for communication via public data networks*.
+- ITU-T Recommendation X.213 (1995), *Information technology – Opens Systems Interconnection – Network service definition*.
+- CCITT Recommendation X.323 (1988), *General arrangements for interworking Between Packet-Switched Public Data Networks (PSPDNs)*.
+
+# 3 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|-------------------------------------------|
+| cep | Call set-up Error Probability |
+| cfp | Call set-up Failure Probability |
+| DCE | Data Circuit-terminating Equipment |
+| DSE | Data Switching Equipment |
+| DTE | Data Terminal Equipment |
+| MTBSO | Mean Time between Service Outages |
+| MTTSR | Mean Time to Service Restoral |
+| OSI | Open Systems Interconnection |
+| pdp | Premature Disconnect Probability |
+| pdsp | Premature Disconnect Stimulus Probability |
+| PE | Packet-layer reference Event |
+| rer | Residual Error Ratio |
+| rp | Reset Probability |
+| rsp | Reset Stimulus Probability |
+| SPRT | Sequential Probability Ratio Test |
+| tc | Throughput Capacity |
+
+# 4 Availability function
+
+Eight performance parameters from Recommendations X.135 and X.136 are used in computing the availability of a virtual connection: throughput capacity (see Recommendation X.135), call set-up failure probability (see Recommendation X.136), call set-up error probability (see Recommendation X.136), residual error ratio (see Recommendation X.136), reset probability (see Recommendation X.136), reset stimulus probability (see Recommendation X.136), premature disconnect probability (see Recommendation X.136), and premature disconnect stimulus probability (see Recommendation X.136). Five particular linear combinations of these parameters are called the availability decision parameters. Each decision parameter is associated with an outage threshold. These decision parameters and their outage thresholds are listed in Table 2.
+
+**Table 2/X.137 – Outage criteria for the availability decision parameters**
+
+| Availability decision parameters | Outage criteria |
+|------------------------------------------------------------------------------------------------------------------------------|----------------------------------|
+| Call set-up Failure Probability (cfp) Call set-up Error Probability (cep) | $(cfp + cep) > 0.9$ |
+| Throughput Capacity (tc) | $tc < 80 \text{ bit/s}$ |
+| Residual Error Ratio (rer) | $rer > 10^{-3}$ |
+| Reset Probability (rp) Reset Stimulus Probability (rsp 1 , rsp 2 ) | $(rsp_1 + rp + rsp_2) > 0.015$ |
+| Premature Disconnect Probability (pdp) Premature Disconnect Stimulus Probability (pdsp 1 , pdsp 2 ) | $(pdsp_1 + pdp + pdsp_2) > 0.01$ |
+| NOTE – These outage criteria are provisional. | |
+
+Performance is considered independently with respect to each availability decision parameter. If the value of the parameter is equal to or better than the defined outage threshold, performance relative to that parameter is defined to be acceptable. If the value of the parameter is worse than the threshold, performance relative to that parameter is defined to be unacceptable.
+
+The packet-layer reference events that are used in defining the decision parameters do not occur if a data link layer at a section boundary is unavailable. During a continuous time interval the data link layer of a circuit section is defined to be available for packet layer service if, and only if:
+
+- 1) the link is in the information transfer phase for at least 99% of the time interval; and
+- 2) all continuous periods when the link is not in the information transfer phase are less than 1 second in length; and
+- 3) all continuous busy (flow-controlled) conditions are less than 10 seconds in length.
+
+Otherwise the data link layer is considered unavailable for providing packet-layer service.
+
+The data link layer of a circuit section can be unavailable for the following reasons:
+
+- 1) a non-functional physical circuit; or
+- 2) a data link layer controller either unable or unwilling to establish the information transfer phase; or
+- 3) a data link layer controller either unable or unwilling to clear a busy condition.
+
+A virtual connection section is defined to be available (or to be in the available state) if:
+
+- 1) the performance is acceptable relative to all decision parameters; and
+- 2) both data link layers at the boundaries of the section are available.
+
+The virtual connection section is defined to be unavailable (or in the unavailable state) if:
+
+- 1) the performance of one or more of the five decision parameters is unacceptable; or
+- 2) one or both of the data link layers at the boundaries of the section are unavailable due to causes inside the section. (Data link layer unavailability due to causes outside the section are excluded, i.e. failures of data link controllers or physical circuits outside the section in question.)
+
+The intervals during which a virtual connection section is unavailable are identified by superimposing the unacceptable performance periods for all decision parameters as illustrated in Figure 2.
+
+In order to exclude transient impairments from being considered as periods of unavailability, a single test of the availability state must exceed 5 minutes. In order to reduce the probability of state transitions during a test of the current availability state, that test should be less than 20 minutes. A minimal availability test meeting these restrictions is defined in Annex B.
+
+# 5 Availability parameters
+
+This clause specifies worst-case values for two availability parameters: service availability and mean time between service outages.
+
+## 5.1 service availability definition
+
+Service availability applies to both virtual call and permanent virtual circuit services. The service availability for a virtual connection portion is the long-term percentage of scheduled service time in which that section is available.
+
+**scheduled service time for a virtual connection section** is the time during which the network provider has agreed to make that section available for service. The normal objective would be 24 hours per day, 7 days per week1 . A procedure for estimating the availability of a section is described in Annex A.
+
+---
+
+1 Other scheduled service times may be specified in some networks.
+
+
+
+Figure 2/X.137 – Determination of availability states. This diagram illustrates the determination of availability states for a virtual connection section. It shows three horizontal timelines: 'Availability decision parameters', 'Link availability', and 'Virtual connection section availability'. The 'Availability decision parameters' timeline has five segments labeled (1), (2), (0), (0), and (5). The 'Link availability' timeline shows a single continuous bar. The 'Virtual connection section availability' timeline shows two bars with gaps labeled 'Unavailable intervals'. A bracket labeled 'Unacceptable performance periods' spans the (0) and (0) segments of the 'Availability decision parameters' timeline. A reference code 'T0715700-93/d02' is at the bottom right.
+
+**Figure 2/X.137 – Determination of availability states**
+
+## 5.2 Definition of mean time between service outages
+
+Mean Time between Service Outages (MTBSO) applies to both virtual call and permanent virtual circuit services. The mean time between service outages for a virtual connection section is the average duration of any continuous interval during which the virtual connection section is available. Consecutive intervals of scheduled service time are concatenated. Annex A describes a procedure for estimating the mean time between the service outages of a section.
+
+Mean time between service outages as defined in this Recommendation is closely related to mean time between failures.
+
+## 5.3 Values
+
+The contribution from each network portion to overall service availability and mean time between service outages under the conditions described in this Recommendation shall not be worse than the values specified in Table 3. The mean time between service outage values for national portions exclude up to 5% of virtual connections to account for geographical and climatic extremes.
+
+**Table 3/X.137 – Worst-case availability and mean time between service outage values for virtual connection portions**
+
+| Statistic | Virtual connection portion type | | | |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|-----|---------------|-----|
+| | National | | International | |
+| | A | B | A | B |
+| Service availability (percent) | 99.5 | 99 | 99.5 | 99 |
+| Mean time between service outages (hours) | 1200 | 800 | 1600 | 800 |
+| Mean time to service restoral MTTSR a) (hours) | (6) | (8) | (8) | (8) |
+| a) The parenthetical values given in Table 3 represent the mean time to service restoral that would result if the service availability and the mean time between service outage values are achieved as stated in the table. Any improvements in MTBSO should be used to improve service availability and should not be used to degrade MTTSR.
NOTE – All specified values are provisional.
| | | | |
+
+## 5.4 Related parameters
+
+Four other parameters are commonly used in describing availability performance. These are generally defined as follows:
+
+- **mean time to service restoral (MTTSR)** is the average duration of unavailable service time intervals.
+- **failure rate ( $\lambda$ )** is the average number of transitions from the available state to the unavailable state per unit available time.
+- **restoral rate ( $\mu$ )** is the average number of transitions from the unavailable state to the available state per unit unavailable time.
+- **unavailability (U)** is the long-term ratio of unavailable service time to scheduled service time, expressed as a percentage.
+
+Under the exponential distribution assumption of failure and restoration, the mathematical values for any of these parameters may be estimated from the values for service availability (A) and mean time between service outages as summarized in Figure 3.
+
+
+
+```
+
+graph LR
+ A([AVAILABLE
+no service
+outage]) -- λ --> U([UNAVAILABLE
+service
+outage])
+ U -- μ --> A
+
+```
+
+T0715710-93/d03
+
+State diagram showing two states: AVAILABLE (no service outage) and UNAVAILABLE (service outage). A transition from AVAILABLE to UNAVAILABLE is labeled with failure rate λ. A transition from UNAVAILABLE to AVAILABLE is labeled with restoral rate μ.
+
+**a) State diagram**
+
+$$\begin{aligned}
+ MTBSO &= \frac{1}{\lambda} \\
+ MTTSR &= \frac{1}{\mu} \\
+ A &= 100 \left( \frac{MTBSO}{MTBSO + MTTSR} \right) = 100 \left( \frac{\mu}{\lambda + \mu} \right) \\
+ U &= 100 - A = 100 \left( \frac{MTTSR}{MTBSO + MTTSR} \right) = 100 \left( \frac{\lambda}{\lambda + \mu} \right)
+ \end{aligned}$$
+
+**b) Parameter relationships**
+
+**Figure 3/X.137 – Basic availability model and parameters**
+
+## Annex A
+
+## Sampling estimation of availability parameters
+
+### A.1 Test of availability
+
+The definition of availability requires that observed performance for all five decision parameters be compared with outage thresholds. A single success of the following test is defined to be sufficient for declaring the virtual connection section available. A single failure of a section to meet any of the six individual decision criteria is defined to be sufficient for declaring the virtual section unavailability of the section.
+
+The minimal availability test can be initiated in either direction across the section by equipment and components outside of the section. The test is divided into two phases: access and user information transfer. The access phase is used in conjunction with switched virtual calls only.
+
+In those situations where greater flexibility in managing the Type I and Type II errors is required, an alternative non-minimal test (the SPRT methodology described in A.4) should be used.
+
+#### A.1.1 A minimal test of availability
+
+- Phase I: Attempt 4 consecutive call set-ups across A.
+- Phase II: (If the test did not fail in Phase I) To ensure that the availability test does not fail as a result of insufficient data input, attempt to maintain a virtual connection across A for 5 minutes. Attempt to maintain an average throughput significantly greater than 80 bit/s (e.g. at least 150 bit/s) during that interval.
+
+There are six criteria for deciding if the test has failed or succeeded:
+
+- 1) The test fails in Phase I if all four call set-up attempts result in either call set-up error or call set-up failure (switched virtual calls only).
+
+A statistical analysis in this Phase I test is presented in A.1.2. As an alternative, the SPRT methodology presented in A.4 may be used in place of the above Phase I test. The SPRT methodology provides more flexibility in controlling Type I and Type II errors.
+
+- 2) The test fails in Phase II if the total reset events plus reset stimuli is five or greater.
+- 3) The test fails in Phase II if the throughput is less than 80 bit/s;
+- 4) The test fails in Phase II if the residual error ratio is greater than $10^{-3}$ .
+- 5) The test fails in Phase II if the call and subsequent reestablishments of that call are cleared two or more times due to premature disconnects and/or premature disconnect stimuli (switched virtual calls only).
+- 6) The test fails in Phase I or Phase II if a data link layer at a section boundary is unavailable during a 5-minute interval due to causes inside of A.
+
+If the test passes all six decision criteria, the test is successful and the virtual connection section A is considered to be available during the test. If any of the decision criteria are failed, the virtual connection section A is considered to have been unavailable for the duration of the test.
+
+Because many performance parameters must be supported simultaneously in order for A to be considered available, during normal operation (without a testing procedure like the one described above), it is not possible to prove the section is available (e.g. it may not be possible to observe both access and user information transfer simultaneously). Therefore during normal operation, if the section is correctly performing the currently requested function, the section is assumed to be available.
+
+Service availability and mean time between service outage values can be estimated on the basis of this minimal test (availability performance samples). Such estimation is more practical than measurement based on continuous service observation.
+
+#### A.1.2 The statistical basis for the Phase I test with $N = 4$
+
+By definition, the service is unavailable if the probability of call set-up error plus the probability of call set-up failure is greater than 0.9:
+
+$$cfp + cep > 0.9 \quad (A-1)$$
+
+Therefore we take the following as the null hypotheses, $H_0$ , and the alternative hypothesis, $H_a$ :
+
+$$H_0 : cep + cfp < z \quad (A-2)$$
+
+$$H_a : cep + cfp > 0.9$$
+
+Using the X.137 minimal availability test, the probability of Type I and Type II errors are given below:
+
+- $\Pr(\text{Type I error}) < z^4 \approx 0.24$ (for $z = 0.7$ );
+- $\Pr(\text{Type II error}) < 1 - (0.9)^4 \approx 0.35$ .
+
+Table A.1 presents the probabilities of various events given the actual level of call set-up failure and error probability.
+
+Table A.1 shows the extent to which this test protects against calling an available state unavailable. Also with more than 65% probability, the test will correctly identify the unavailable state.
+
+The SPRT methodology of A.4 below should be used as an alternative, non-minimal test for those situations where greater flexibility in managing the Type I and Type II errors is required.
+
+**Table A.1/X.137 – Error performance of the minimal test**
+
+| Actual $cep + cfp$ | Probability of correctly identifying the available state | Probability of correctly identifying the unavailable state | Probability of identifying the available state as unavailable Pr (Type I error) | Probability of identifying the unavailable estate as available Pr (Type II error) |
+|-----------------------|----------------------------------------------------------------|------------------------------------------------------------------|------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|
+| 0.1 | 0.9999 | NA | 0.0001 | NA |
+| 0.2 | 0.998 | NA | 0.002 | NA |
+| 0.3 | 0.992 | NA | 0.008 | NA |
+| 0.4 | 0.974 | NA | 0.026 | NA |
+| 0.5 | 0.937 | NA | 0.063 | NA |
+| 0.6 | 0.87 | NA | 0.13 | NA |
+| 0.7 | 0.76 | NA | 0.24 | NA |
+| 0.8 | 0.59 | NA | 0.41 | NA |
+| > 0.9 | NA | > 0.65 | NA | < 0.35 |
+| 0.95 | NA | 0.81 | NA | 0.19 |
+| 0.99 | NA | 0.96 | NA | 0.04 |
+| 0.999 | NA | 0.996 | NA | 0.004 |
+| NA Not applicable | | | | |
+
+### A.2 Procedures for estimating service availability
+
+A sufficient estimate of the service availability percentage can be computed as follows. Based on an *a priori* estimate of the service availability, choose a sample size “s”, not less than 300. Choose “s” testing times during scheduled service time and distribute them across a long measurement period (e.g. 6 months). Because of the expected duration of service outages, choose no two testing times closer together than 7 hours (this serves to keep the observations uncorrelated). The testing times should be uniformly distributed across the scheduled service time. At each predetermined testing time, perform the availability test described above. If the test fails, the section is declared unavailable for that sample. Otherwise, the section is declared available. The estimate of the service availability percentage is the number of times the section was declared available multiplied by 100 and divided by the total number of samples.
+
+### A.3 Procedures for estimating mean time between service outages
+
+A sufficient estimate of the mean time between service outage parameter can be computed by conducting consecutive availability performance samples and by counting the observed changes from the available state to the unavailable state.
+
+Prior to performing any tests, choose *k* disjoint intervals of time each not less than 30 minutes nor more than 3 hours. The total amount of time in the *k* intervals should exceed 3 times the *a priori* estimate of mean time between service outages. For the duration of each pre-defined interval conduct consecutive availability performance samples. The amount of time observed in the available state will be added to a cumulative counter called “A”. The number of observed transitions from the available state to the unavailable state will be accumulated in a counter called “F”.2
+
+For each pre-defined interval:
+
+- If all of the consecutive availability samples succeed, then add the total length of the interval to A. Do not change the cumulative value of F.
+- If the first availability sample succeeds and any subsequent sample in the interval fails, increase F by one. Add to A the total length of all availability samples prior to the first failure. Following the first failed availability sample, the remaining time in the interval may be discarded without testing its availability.
+- If the first availability sample fails, assume that the state transition occurred before the interval began. Add nothing to the count of observed availability time, A. Add nothing to the cumulative count of observed state changes, F. The remaining time in the interval may be discarded without testing its availability.
+
+After the results of every pre-defined interval have been accumulated, the ratio, A/F, is an estimate of the mean time between service outages. A statistically more precise estimate can be obtained by increasing the number of observed intervals, *k*.
+
+The estimate of mean time between service outages assumes that, if an outage begins during an availability performance sample, either this sample or the following sample will decide that the section is unavailable. This is a reasonable assumption since service outages, in contrast to transient failures, will last more than 5 minutes.
+
+Discarding the remainder of the interval following a failed availability sample is both practical and statistically justifiable. The virtual connection section must return to the available state before any more available time can be accumulated and before any more transitions to the unavailable state can be observed. First, the expected time to restore service may be large with respect to the remaining time in the interval. It can be inappropriate and counterproductive to continue testing a failed or congested network section. Second, if transitions to the unavailable state are statistically independent, then discarding the remainder of the interval, which may include time in the available state and a proportional number of transitions back into the unavailable state, will not bias the result.3 The only consequence of
+
+---
+
+2 Each counter is initially set to zero.
+
+3 If outages tend to be clustered, discontinuing a test following a transition to the unavailable state will tend to overestimate the mean time between service outages. If outages tend to be negatively clustered, discontinuing a test following a transition to the unavailable state will tend to underestimate the mean time between service outages.
+
+discontinuing the test is the loss of testing time. To minimize that loss, the test intervals should be short with respect to the sum of the expected time to restore service and the expected time between service outages. Thus, each test should be no longer than 3 hours.
+
+There are two sources of bias in the estimation procedure described above. First, if an outage begins during the last availability sample of the interval, that transition may or may not cause the sample to fail. If it does not fail, the state transition is missed and the mean time between service outages is overestimated. Second, a state transition to the unavailable state during the first availability sample of the interval may or may not cause that sample to fail. According to the estimation procedure, if the sample does fail, the interval will be discarded, the state transition is missed, and the mean time between service outages is overestimated. These edge effects can be minimized by increasing the length of each interval, consequently increasing the number of availability samples, and thus decreasing the effect of the first and last sample outcomes as a proportion of the total sampled outcomes. A minimum recommended interval length is 30 minutes and size 5 minute availability samples.
+
+Alternatively, both biases can be corrected by replacing the first instruction above with:
+
+- If all of the consecutive availability samples succeed, then add the total length of the interval to A. Take one additional availability sample immediately following the interval. If that sample fails, increase F by one. If that sample succeeds, do not change F. The length of the additional sample has no effect on A.
+
+This modification identifies any state transitions that occurred during the last sample of the interval and eliminates the first source of bias. It also counts certain transitions that occurred outside of the interval. These transitions are counted with the same probability as the probability that the second source of bias inappropriately discards transitions. Thus, this modified procedure corrects both sources of bias. Using this modification, the mean time between service outages can be more accurately estimated.
+
+### A.4 SPRT methodology
+
+#### A.4.1 SPRT test procedure
+
+For Phase I, perform a SPRT4 of the following pair of hypotheses, utilizing an appropriate value of $z$ ( $z < 0.9$ ). This test will use successive call set-up attempts across the section under test, A. If the SPRT decides that $H_0$ is true, then proceed to Phase II of the Minimal Test, otherwise if the SPRT decides that $H_a$ is true, then terminate the test and conclude that the service is unavailable due to the sum of call failure probability and call error probability exceeding the service outage threshold of 0.9.
+
+- $H_0$ : $cep + cfp < z$ (service outage criterion is not met);
+- $H_a$ : $cep + cfp > 0.9$ (service outage criterion is met).
+
+#### A.4.2 SPRT methodology
+
+The hypotheses used are based on the provisional criteria specified in this Recommendation according to which the sum of the call failure probability and call error probability exceeding 0.9 (i.e. $cfp + cep > 0.9$ ) determines a service outage. Implicit in this criteria is the assertion that one can in fact distinguish between $cfp + cep > 0.9$ and $cfp + cep < 0.9$ . However, the best that one can really do is to distinguish between $cfp + cep > 0.9$ and $cfp + cep > z$ ( $0 < z < 0.9$ ).
+
+The Sequential Probability Ratio Test (SPRT) methodology controls both the Type I and Type II errors simultaneously, and, for deciding between two alternatives, is the most powerful statistical tool available5 . For simplicity this annex uses the same probability of a wrong decision for both Type I and Type II errors6 . The assumption of a binomial distribution for the success or failure of an individual call set-up attempt is made in this subclause.
+
+---
+
+4 The SPRT methodology is given in A.4.2.
+
+5 See George G. Roussas, *A First Course in Mathematical Statistics*, by Addison-Wesley.
+
+6 In the formulas below, $error = \Pr(\text{Type I error}) = \Pr(\text{Type II error})$ . Values of error from 0.01 to 0.10 are commonly used.
+
+The material below discusses the hypotheses to be tested, the decision rule, the upper and lower decision points, the expected number of call set-up attempts, and the least number of successful or failed attempts to end the SPRT.
+
+#### A.4.3 Hypotheses
+
+The SPRT uses the following pair of hypotheses, where $H_0$ corresponds to the outage threshold not being exceeded, and $H_a$ corresponds to the outage threshold being exceeded.
+
+- $H_0$ : $\text{cep} + \text{cfp} < z$ (service outage criterion is not met);
+- $H_a$ : $\text{cep} + \text{cfp} > 0.9$ (service outage criterion is met).
+
+#### A.4.4 Decision rule and upper and lower decision points
+
+The SPRT reaches a decision based on observed performance being greater or less than a particular value. These values depend on the number of observations taken ( $n$ ) and are denoted by $UD(n)$ and $LD(n)$ respectively. Formulas for $LD(n)$ and $UD(n)$ are given below after the decision rule.
+
+##### A.4.4.1 Decision rule
+
+If, upon making $n$ attempts, the number of failed attempts is greater than $UD(n)$ , then the criterion for service outage is met.
+
+$$\left\{ \sum_{j=1}^n x_j \geq UD(n) \right\} \quad (\text{A-3})$$
+
+If, upon making $n$ attempts, the number of failed attempts is less than $LD(n)$ , then the criterion for service outage is not met.
+
+$$\left\{ \sum_{j=1}^n x_j \leq LD(n) \right\} \quad (\text{A-4})$$
+
+Keep attempting calls until a decision is reached.
+
+Formulas for $UD(n)$ and $LD(n)$ :
+
+$$UD(n) = \frac{\left( \log \left( \frac{(1 - \text{error})}{(\text{error})} \right) - n * \log \left( \frac{(1 - 0.9)}{(1 - z)} \right) \right)}{\log \left( \frac{0.9 * (1 - z)}{z * (1 - 0.9)} \right)} \quad (\text{A-5})$$
+
+$$LD(n) = \frac{\left( \log \left( \frac{(\text{error})}{(1 - \text{error})} \right) - n * \log \left( \frac{(1 - 0.9)}{(1 - z)} \right) \right)}{\log \left( \frac{0.9 * (1 - z)}{z * (1 - 0.9)} \right)} \quad (\text{A-6})$$
+
+#### A.4.5 Expected number of call set-up attempts
+
+The expected number of call set-up attempts until the SPRT reaches a decision, is useful in determining the length and cost of the test. Under $H_0$ and $H_a$ respectively, the expected number of call set-up attempts are $E_0(N)$ and $E_a(N)$ . Asymptotic approximations for them are as follows, and are based on the use of a binomial probability for the sum of call set-up error and call set-up failure. Calculations resulting in entries in Table A.3 greater than 100 were made up using these approximations. The rest of Table A.3 was constructed using iterative matrix techniques yielding more precise values.
+
+$$E_0(N) \approx \frac{\left( (1 - 2 * error) * \log \left( \frac{(error)}{(1 - error)} \right) \right)}{z * \log \left( \frac{0.9 * (1 - z)}{z * (1 - 0.9)} \right) + \log \left( \frac{(1 - 0.9)}{(1 - z)} \right)} \quad (A-7)$$
+
+$$E_a(N) \approx \frac{\left( (1 - 2 * error) * \log \left( \frac{(1 - error)}{(error)} \right) \right)}{0.9 * \log \left( \frac{0.9 * (1 - z)}{z * (1 - 0.9)} \right) + \log \left( \frac{(1 - 0.9)}{(1 - z)} \right)} \quad (A-8)$$
+
+#### A.4.6 Least number of failures or successes to end a SPRT
+
+The quantities L and U represent the least number of call set-up attempts required by the SPRT to decide if $H_0$ or $H_a$ respectively are true. If all L call set-up attempts are successful, then the outage criterion is not met, while if all U of the call set-up attempts fail, then the outage criterion is met. The SPRT test will often continue after the values of U or L are reached, but they are the least values at which a decision in favour of $H_a$ or $H_0$ respectively could be taken. Tabulated values of U, L, $E_0(N)$ are provided in Tables A.2 and A.3.
+
+**Table A.2/X.137 – U/L – Minimum number of call set-up attempts**
+
+| Percent error | | | |
+|---------------|------|------|-------|
+| z | 10% | 5% | 1% |
+| 0.85 | 39/6 | 52/8 | 81/12 |
+| 0.80 | 19/4 | 25/5 | 40/7 |
+| 0.75 | 13/3 | 17/4 | 26/6 |
+| 0.70 | 9/2 | 12/3 | 19/5 |
+| 0.65 | 7/2 | 10/3 | 15/4 |
+| 0.60 | 6/2 | 8/3 | 12/4 |
+| 0.55 | 5/2 | 6/2 | 10/4 |
+| 0.50 | 4/2 | 6/2 | 8/3 |
+| 0.45 | 4/2 | 5/2 | 7/3 |
+| 0.40 | 3/2 | 4/2 | 6/3 |
+| 0.35 | 3/2 | 4/2 | 5/3 |
+| 0.30 | 2/2 | 3/2 | 5/3 |
+| 0.25 | 2/2 | 3/2 | 4/3 |
+| 0.20 | 2/2 | 2/2 | 4/3 |
+| 0.15 | 2/2 | 2/2 | 3/3 |
+| 0.10 | 1/1 | 2/2 | 3/3 |
+
+NOTE 1 – U is the least number of successive call set-up errors or failures needed to terminate the SPRT (deciding in favour of $H_a$ ).
+
+NOTE 2 – L is the least number of successive call set-up successes needed to terminate the SPRT (deciding in favour of $H_0$ ).
+
+NOTE 3 – *z* is the cutoff value in the null hypothesis ( $H_0$ ).
+
+NOTE 4 – The column headings represent the specified error rates. Due to approximations used in the SPRT, the error rates are bounded above by $error/(1 - error)$ . The differences are small over the range of error rates being considered.
+
+**Table A.3/X.137 – $E_a(N) / E_0(N)$ – Expected number of call set-up attempts**
+
+| Percent error | | | |
+|---------------|-------------|-------------|-------------|
+| $z$ | 10% | 5% | 1% |
+| 0.85 | 161.3/143.7 | 243.2/216.6 | 413.3/368.1 |
+| 0.80 | 51.5/45.3 | 74.5/65.1 | 122.7/101.4 |
+| 0.75 | 27.4/22.3 | 39.3/32.5 | 63.9/52.2 |
+| 0.70 | 17.1/14.4 | 24.5/20.1 | 40.1/32.3 |
+| 0.65 | 12.1/10.2 | 17.3/13.9 | 27.9/22.2 |
+| 0.60 | 9.2/7.4 | 13.3/10.8 | 21.0/16.3 |
+| 0.55 | 7.4/6.1 | 10.0/7.7 | 16.5/13.0 |
+| 0.50 | 5.8/4.9 | 8.6/6.5 | 13.0/10.1 |
+| 0.45 | 5.4/4.3 | 7.0/5.4 | 10.9/8.4 |
+| 0.40 | 4.0/3.7 | 5.6/4.8 | 8.8/7.2 |
+| 0.35 | 3.9/3.4 | 5.5/4.3 | 7.0/5.7 |
+| 0.30 | 2.6/2.8 | 4.1/3.7 | 6.5/5.2 |
+| 0.25 | 2.6/2.6 | 3.7/3.3 | 5.4/4.6 |
+| 0.20 | 2.4/2.5 | 2.7/2.8 | 5.0/4.1 |
+| 0.15 | 2.4/2.3 | 2.5/2.7 | 3.7/3.7 |
+| 0.10 | 1.0/1.0 | 2.4/2.4 | 3.7/3.7 |
+
+NOTE 1 – $E_a(N)$ is the expected number of trials needed to terminate the SPRT when the “network” is unavailable.
+
+NOTE 2 – $E_0(N)$ is the expected number of trials needed to terminate the SPRT when the “network” is available.
+
+NOTE 3 – $z$ is the cutoff value in the null hypothesis ( $H_0$ ).
+
+NOTE 4 – The column headings represent the specified error rates. Due to approximations used in the SPRT, the error rates are bounded above by $error/(1 - error)$ . The differences are small over the range of error rates being considered.
+
+# Annex B
+
+## Representative end-to-end availability performance
+
+This annex provides two examples to illustrate how end-to-end (DTE-to-DTE) availability performance can be estimated from the individual virtual connection portion performance values specified in this Recommendation. Two example concatenations of Type A and Type B virtual connection portions are defined. The end-to-end service availability and mean time between service outages are calculated for each example. Although alternative network models and statistical assumptions are possible, the methods presented in this annex provide one practical way of estimating the end-to-end performance from the performance of the individual network portions.
+
+### B.1 Definition of the example end-to-end connections
+
+For ease of reference the two example end-to-end (i.e. DTE-to-DTE) connections presented in this annex will be referred to as “Type 1” and “Type 2” configurations. These hypothetical, but representative, configurations use the portion boundaries and packet-layer reference events described in Recommendation X.134. Table 1 defines the virtual connection portion types.
+
+The Type 1 configuration is defined to be:
+
+
+
+The diagram illustrates two network configurations. The top configuration, labeled 'Type 1', shows a horizontal line representing a network path. It is divided into three segments by vertical lines. The segments are labeled 'National A', 'International A', and 'National A' from left to right. Above the leftmost vertical line is the label 'DTE', and above the rightmost vertical line is the label 'DTE'. The bottom configuration, labeled 'Type 2', follows the same structure but with the middle segment labeled 'International B' and the rightmost segment labeled 'National B'.
+
+Diagram of Type 1 and Type 2 configurations. Type 1 shows a path from DTE to DTE through National A, International A, and National A. Type 2 shows a path from DTE to DTE through National A, International B, and National B.
+
+### B.2 End-to-end availability performance for the Type 1 and Type 2 configuration examples
+
+End-to-end availability performance values have been calculated for the example Type 1 and Type 2 connection configurations and are reported below in Tables B.1 and B.2. These calculations have been made by applying the methods described below to the individual network portions that, for convenience in defining these examples, are characterized by the worst-case accuracy and dependability performance values specified in this Recommendation.
+
+Assuming that the service availability performance values associated with the individual network portions are statistically independent, then the end-to-end performance values can be calculated by multiplying the percent of time each of the network portions is available.
+
+*Example:* To compute the end-to-end service availability for the Type 1 configuration, refer to Table 3 to obtain the individual portion availabilities (National A: percent = 99.5; International A: percent = 99.5). The end-to-end availability in percent is then:
+
+$$99.5 \cdot 99.5 \cdot 99.5 = 98.5$$
+
+The end-to-end performance for the mean time between service outages can be estimated by assuming that the times between service outages in each individual network portion are independent and exponentially distributed. It follows from these assumptions that the end-to-end mean time between service outages performance objective, $T$ , can be calculated using the following formula:
+
+$$T = [T_1^{-1} + T_2^{-1} + \cdots + T_i^{-1} + \cdots + T_N^{-1}]^{-1} \quad (\text{B-1})$$
+
+where $T$ will be in hours if the mean time between service outages for each of the $N$ network portions, $T_i$ ( $i = 1, 2, \dots, N$ ), is expressed in hours.
+
+*Example:* For the Type 1 configuration, the National A portion mean time between service outages is 1200 hours and the International A portion is 1600 hours (refer to Table 3). The end-to-end performance objective is then:
+
+$$[1200^{-1} + 1600^{-1} + 1200^{-1}]^{-1} = 436 \text{ hours} \quad (\text{B-2})$$
+
+**Table B.1/X.137 – End-to-end availability and mean time between service outage performance for the Type 1 configuration example**
+
+| Type 1 configuration | |
+|-------------------------------------------|------------------|
+| Statistic | End-to-end value |
+| Service availability (percent) | 98.5 |
+| Mean time between service outages (hours) | 436 |
+
+**Table B.2/X.137 – End-to-end availability and mean time between service outage performance for the Type 2 configuration example**
+
+| Type 2 configuration | |
+|-------------------------------------------|------------------|
+| Statistic | End-to-end value |
+| Service availability (percent) | 97.5 |
+| Mean time between service outages (hours) | 300 |
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communication |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0486ef0afd0344fdfec047e33139fab854d7ca42
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/4cc7cdce3d498d8b0ba033a9be24ade5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8ab05f2faafd1c93f175819b58ac2488f1f0c04a1c8f078102f099e8dd7ebad6
+size 38343
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/5445597cceefaca1ac89e710fe339325_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/5445597cceefaca1ac89e710fe339325_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..dae59d48d89add05d338bd33f3f6aa9e12c87f78
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/5445597cceefaca1ac89e710fe339325_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1cb1bab878372143cc9c4949db8abf1a2bc0d4c4239a4adc3ec318ade0845530
+size 37475
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..192c0cf711336692e162986a1afe209625e55c62
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7ffb70bc2ff086dc332de99d078bff33eac8734a0f665e1fd98dba949554ebc2
+size 39971
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/704082cc3e11776bda29595c76411362_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/704082cc3e11776bda29595c76411362_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3cf9aedb2237b52ed464399cf0c92fb9d9f17ccd
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/704082cc3e11776bda29595c76411362_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:62b8528a1929912e82fc10dfe4f68ad70f7ddf60216fff4f3bd433050e2d6583
+size 42898
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/70de8885bd7de15723aaad5eb5c5febf_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/70de8885bd7de15723aaad5eb5c5febf_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..43247d503984dc611b177b80048e7c133b9e8b26
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/70de8885bd7de15723aaad5eb5c5febf_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:517c59aa2f6ce65c1c41c78160f421c1e1898091b361776d20795fb28b922888
+size 16907
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2223b666e2d5a883ed5414bcbff42e68bc960fff
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9004153e3bdd450c41e19e9eab6f451315deff39cbc1baa28963bd6b3d584111
+size 25110
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/9ae17964ddd9b814c7d905b1af2fddf2_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/9ae17964ddd9b814c7d905b1af2fddf2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..758d1f92eaccea67ab38603db77a7c3fb60bee81
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/9ae17964ddd9b814c7d905b1af2fddf2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1512499a0bd675577076653d1e9f4cad6276a184bba45017cff21e3b20ec6836
+size 22936
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/a3dc41dc3df86ea68d266af2bf95cf5b_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/a3dc41dc3df86ea68d266af2bf95cf5b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..072f073b6d42cbfa77c827c76c611f286177034a
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/a3dc41dc3df86ea68d266af2bf95cf5b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ee72ddf991b7b1d543b2694b1687804845ecb97da77cc35e98e4c7dbf5ac163d
+size 4142
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..698adbb111a0d570b25afe165d133d70b85e3499
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:be024678fd67e987c180b440153d162895f82537247a26c920d638422423a9aa
+size 50894
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/e180f2b5fcbe8001554a7c0677cd3f82_img.jpg b/marked/X/T-REC-X.1374-202010-I_PDF-E/e180f2b5fcbe8001554a7c0677cd3f82_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3fb178b349c9d580cc1ff55df87011ff712b1c45
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/e180f2b5fcbe8001554a7c0677cd3f82_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ab505584bb35a3df0e501f54d07bae3070cae5dfc5fef395a8584ab628e8980b
+size 39214
diff --git a/marked/X/T-REC-X.1374-202010-I_PDF-E/raw.md b/marked/X/T-REC-X.1374-202010-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..f432c38742b8a387f401d224a27ce38aafcf5e71
--- /dev/null
+++ b/marked/X/T-REC-X.1374-202010-I_PDF-E/raw.md
@@ -0,0 +1,795 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1374
+
+(10/2020)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services (2) – Intelligent
+transportation system (ITS) security
+
+# --- **Security requirements for external interfaces and devices with vehicle access capability**
+
+Recommendation ITU-T X.1374
+
+## ITU-T X-SERIES RECOMMENDATIONS
+
+## DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|---------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| 5G SECURITY | X.1800–X.1819 |
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# Recommendation ITU-T X.1374
+
+# Security requirements for external interfaces and devices with vehicle access capability
+
+## Summary
+
+Recommendation ITU-T X.1374 analyses security threats to connected vehicles in two parts: threats against interfaces which are used to communicate between a vehicle and its external devices, and threats against external devices which communicate with the vehicle. Recommendation ITU-T X.1374 specifies security requirements for such external interfaces and external devices with vehicle access capability in telecommunication network environments to address identified threats depending on types of access interfaces. Interfaces and external devices with vehicle access capability include the remote keyless entry (RKE) system with smart key, diagnostic tools and wireless dongles using on-board diagnostic II (OBD-II) port, telematics control units with wireless communication devices and so on.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1374 | 2020-10-29 | 17 | 11.1002/1000/14446 |
+
+## Keywords
+
+Electric vehicle charging system security, external interfaces, ITS security, on-board diagnostics-II, vehicle-accessible device.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2021
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|----|--------------------------------------------------------------------------------------------|------|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 2 |
+| 5 | Conventions ..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 6 | External interfaces and devices with vehicle access capability to a vehicle ..... | 4 |
+| 7 | Security threats on external interfaces and devices ..... | 5 |
+| | 7.1 General ..... | 5 |
+| | 7.2 Threats to confidentiality..... | 6 |
+| 8 | General security requirements for external interfaces and external devices ..... | 7 |
+| | 8.1 Hardware-assisted security ..... | 7 |
+| | 8.2 Secure communication ..... | 8 |
+| | 8.3 Secure functions ..... | 8 |
+| | 8.4 Protection against hardware tampering ..... | 10 |
+| 9 | Security requirements for external devices with wireless communication capability.. | 10 |
+| | 9.1 Bluetooth interface ..... | 10 |
+| | 9.2 Cellular interface ..... | 11 |
+| | 9.3 Wi-Fi interface..... | 11 |
+| 10 | Security requirements for external devices of remote key-less entry..... | 12 |
+| | 10.1 Reverse engineering prevention ..... | 12 |
+| | 10.2 Secure communication ..... | 12 |
+| | 10.3 Secure key registration procedure ..... | 13 |
+| 11 | Security requirements for external devices of charging systems in an EV ..... | 13 |
+| 12 | Use cases of security measures for external devices and interfaces in a vehicle ..... | 13 |
+| | 12.1 Use case 1: Smart key and external interface..... | 13 |
+| | 12.2 Use case 2: Charging device and external interface..... | 14 |
+| | 12.3 Use case 3: Wireless communication device and external interface..... | 15 |
+| | 12.4 Use case 4: External devices connected to OBD-II port and external interface ..... | 16 |
+| | Appendix I – Information on Bluetooth specification ..... | 17 |
+| | Appendix II – Information on cellular communication specification..... | 18 |
+| | Bibliography..... | 19 |
+
+
+
+# Recommendation ITU-T X.1374
+
+## Security requirements for external interfaces and devices with vehicle access capability
+
+## 1 Scope
+
+This Recommendation analyses security threats to connected vehicles in two parts: threats against interfaces which are used to communicate between a vehicle and its external devices, and threats against external devices which communicate with the vehicle. This Recommendation specifies security requirements for such external interfaces and external devices with vehicle access capability in telecommunication network environments to address identified threats depending on the types of access interfaces.
+
+Interfaces and external devices with vehicle access capability include the remote keyless entry (RKE) system with smart key, diagnostic tools and wireless dongles using on-board diagnostic II (OBD-II) port, telematics control units with wireless communication devices and so on.
+
+## 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+[ITU-T X.1371] Recommendation ITU-T X.1371 (2020), *Security threats to connected vehicles*.
+
+## 3 Definitions
+
+### 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 authentication** [b-ITU-T X.1252]: A process used to achieve sufficient confidence in the binding between the entity and the presented identity.
+
+**3.1.2 availability** [b-ITU-T X.800]: The property of being accessible and useable upon demand by an authorized entity.
+
+**3.1.3 confidentiality** [b-ITU-T X.800]: The property that information is not made available or disclosed to unauthorized individuals, entities, or processes.
+
+**3.1.4 data integrity** [b-ITU-T X.800]: The property that data has not been altered or destroyed in an unauthorized manner.
+
+**3.1.5 plug and charge (PnC)** [b-ISO 15118-1]: Identification mode where the customer just has to plug their vehicle into electric vehicle supply equipment and all aspects of charging are automatically taken care of with no further intervention from the driver.
+
+**3.1.6 threat** [b-ISO/IEC 27000]: A potential cause of an unwanted incident, which may result in harm to a system or organization.
+
+**3.1.7 electric vehicle (EV)** [b-ISO 15118-1]: All road vehicles, including plug-in hybrid electric vehicles (PHEVs) that derive all or part of their energy from on-board rechargeable energy storage systems (RESS).
+
+**3.1.8 electric vehicle supply equipment (EVSE)** [b-ISO 15118-1]: Conductors, including the phase(s), neutral and protective earth conductors, the electric vehicle (EV) couplers, attached plugs, and all other accessories, devices, power outlets or apparatuses installed specifically for the purpose of delivering energy from the premises wiring to the EV and allowing communication between them as necessary.
+
+**3.1.9 electric vehicle communication controller (EVCC)** [b-ISO 15118-1]: Embedded system, within the vehicle, that implements the communication between the vehicle and the supply equipment communication controller (SECC) in order to support specific functions.
+
+**3.1.10 supply equipment communication controller (SECC)** [b-ISO 15118-1]: Conductors, including the phase(s), neutral and protective earth conductors, the electric vehicle (EV) couplers, attached plugs, and all other accessories, devices, power outlets or apparatuses installed specifically for the purpose of delivering energy from the premises wiring to the EV and allowing communication between them as necessary.
+
+### **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following terms:
+
+**3.2.1 external device:** An independent device located outside the vehicle and is connected to the vehicle via the external interface (see clause 3.2.2).
+
+**3.2.2 external interface:** A communication interface to provide connectivities between diverse external devices (see clause 3.2.1) and the internal systems of a vehicle.
+
+## **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|--------|---------------------------------------------|
+| AES | Advanced Encryption Algorithm |
+| ASM | Application Software Module |
+| ASW | Application Software |
+| BR/EDR | Basic Rate / Enhanced Data Rate |
+| BSW | Basic Software |
+| CAN | Controller Area Network |
+| CIA | Confidentiality, Integrity and Availability |
+| CMAC | Cipher-based Message Authentication Code |
+| CPU | Central Processing Unit |
+| DoS | Denial of Service |
+| DTC | Diagnostic Trouble Code |
+| ECU | Electronic Control Unit |
+| EV | Electric Vehicle |
+| EVCC | Electric Vehicle Communication Controller |
+| EVSE | Electric Vehicle Supply Equipment |
+| JTAG | UMTS Joint Test Action Group |
+
+| | |
+|--------|---------------------------------------------|
+| HSM | Hardware Security Module |
+| LE | Low Energy |
+| LF | Low Frequency |
+| LTE | Long-Term Evolution |
+| MAC | Message Authentication Code |
+| ODB-II | On-Board Diagnostic-II |
+| OEM | Original Equipment Manufacturer |
+| PHEV | Plug-in Hybrid Electric Vehicle |
+| PII | Personally Identifiable Information |
+| PKE | Passive Keyless Entry |
+| PKI | Public Key Infrastructure |
+| PLC | Power Line Communication |
+| PnC | Plug and Charge |
+| RESS | Rechargeable Energy Storage System |
+| RF | Radio Frequency |
+| RKE | Remote Keyless Entry |
+| RNG | Random Number Generator |
+| SECC | Supply Equipment Communication Controller |
+| SHA | Secure Hash Algorithm |
+| SSID | Service Set Identifier |
+| TKIP | Temporal Key Integrity Protocol |
+| TLS | Transport Layer Security |
+| TCU | Telematics Control Unit |
+| UART | Universal Asynchronous Receiver/Transmitter |
+| UMTS | Universal Mobile Telecommunication System |
+| WEP | Wired Equivalent Privacy |
+| WPA | Wi-Fi Protected Access |
+| WPS | Wi-Fi Protected Setup |
+
+## 5 Conventions
+
+This Recommendation uses the following conventions:
+
+The keywords "**should**" and '**required**' indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keyword '**can**' indicate an optional requirement which is permissible, without implying any sense of being recommended.
+
+The keywords "**should not**" indicates a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation is to be claimed.
+
+## **6 External interfaces and devices with vehicle access capability to a vehicle**
+
+Benefiting from information and communication technologies, recent vehicles have various external interfaces to provide connectivities between diverse external devices and internal systems of the vehicle for the purpose of diagnosing the vehicle status, remote communication service, remote entry service, electric charging, over-the-air updates and so on. The external interface refers to the communication interface to provide connectivities between diverse external devices and the internal systems of a vehicle. The external device is an independent device located outside the vehicle and is connected to the vehicle via the external interface. Figure 1 shows an overview of various external devices, external interfaces and internal systems of a vehicle.
+
+The external interfaces used to communicate between the external devices and internal system of vehicle are as follows:
+
+- OBD-II port: Represents a port in the vehicle used for the vehicle's self-diagnostic and reporting capability
+- Telematics control unit (TCU): Represents the integrated use of communications and information technology to transmit, store and receive information from telecommunications devices to remote objects over a network
+- External interface of remote keyless entry (RKE) and passive keyless entry (PKE): Represents an automotive security system that remotely controls the opening and closing of the door in a vehicle without using a conventional mechanical key. A standard RKE device requires the driver to hold the device and push a button to lock or unlock the vehicle. A PKE however is an automotive security system that operates automatically without the driver's additional action. For example, when the driver is in proximity to the vehicle, the PKE unlocks the door. When the user walks away or touches the door of the vehicle on exit, and the PKE locks the door. The PKE device can operate while stored in the user's pocket or bag.
+- Charging interface on a vehicle: Represents an automotive charging system for an electric vehicle (EV) that has physical and data link layers on high-level communication, based on wired and wireless communication technology.
+
+Through the above external interfaces, the following external devices have access to a vehicle:
+
+- Scanning tool: an electronic tool used to interface with, diagnose and reprogram vehicle control modules.
+- Wireless dongle: a small piece of hardware that connects to another device to provide additional functionality using wireless communication.
+- Wireless communication-enabled device: any type of device supporting various wireless communication technologies such as smartphones, tablets, laptops, etc.
+- Smart key: a vehicle key used for unlocking the door and starting the engine based on the RKE system.
+- EV supply equipment (EVSE): an installed equipment specifically for the purpose of delivering energy from the premises wiring to the EV and allowing communication between them as necessary.
+
+
+
+X.1374(20)\_F01
+
+Figure 1: Overview of vehicle external interfaces and external devices. The diagram shows a vehicle with internal components: ECU (represented by a stack of rectangles), Vehicle gateway, TCU, OBD-II, and Charging interface on a vehicle. External devices (dashed boxes) include: Scanning tool, Wireless dongle, Wireless communication enabled device, Smart key, and EV supply equipment. Connections: Scanning tool and Wireless dongle connect to OBD-II. Wireless communication enabled device connects to TCU. Smart key connects to External interface of RKE. EV supply equipment connects to Charging interface on a vehicle. OBD-II, TCU, Vehicle gateway, and Charging interface on a vehicle all connect to the Vehicle gateway, which in turn connects to the ECU. The External interface of RKE also connects to the Vehicle gateway.
+
+**Figure 1 – Overview of vehicle external interfaces and external devices**
+
+The relations between external devices and interfaces, and corresponding use cases are listed in Table 1.
+
+**Table 1 – List of external devices and interfaces**
+
+| External devices | External interfaces | Connection type | Use case |
+|---------------------------------------|---------------------------------|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Scanning tool | OBD-II | Wired | Scanning tool can diagnose internal systems of a vehicle through OBD-II |
+| Wireless dongle | OBD-II | Wireless | A wireless dongle, such as Bluetooth dongle, Wi-Fi dongle and Long-Term Evolution (LTE) dongle, enables OBD-II port to have a wireless communication capability to be connected with wireless communication enabled devices |
+| Wireless communication-enabled device | TCU | Wireless | Wireless communication enabled devices, such as a tablet, mobile phone or laptop, can access to the internal systems of a vehicle through TCU |
+| Smart key | External interface of RKE/PKE | Wireless | Smart key transmits a message to an external interface of RKE/PKE to open or close the door |
+| EV supply equipment | Charging interface on a vehicle | Wired and Wireless | For EV charging, essential data such as billing information and vehicle identification information is transmitted between EV supply equipment and charging system in a vehicle |
+
+# 7 Security threats on external interfaces and devices
+
+## 7.1 General
+
+General security threats related to external interfaces are specified in [ITU-T X.1371] especially in clauses 7.1.2 (*Threats to vehicles regarding their communication channels*) and 7.1.5 (*Threats to vehicles regarding their external connectivity and connections*).
+
+In addition, the following threats which are caused by external interfaces and devices with weak security are specified for extended confidentiality, integrity and availability (CIA). Extended CIA in this Recommendation means CIA with non-repudiation and authenticity added.
+
+## **7.2 Threats to confidentiality**
+
+- Eavesdropping
+
+Sensitive information such as the location of a vehicle, payment information, personally identifiable information (PII) can be used in the service application between external devices and a vehicle. An attacker can acquire confidential information by eavesdropping on the communication between the external device and the vehicle. In particular, in the case of software updates thorough an OBD-II port or telematics control unit, the software and/or firmware can be sniffed by an attacker. Then, the attacker analyses the software and modifies it to make his own malicious software.
+
+## **7.3 Threats to integrity**
+
+- Code injection to a vehicle
+
+An attacker who wants to compromise a target electronic control unit (ECU) in a vehicle injects tampered software binary into the communication stream. After the attacker compromises the target ECU, a malicious command can be sent to the target ECU.
+
+- Message manipulation
+
+Manipulation of a message may be the easiest way to hack a target vehicle. For example, attackers get some data or code and modify just one bit or byte. It causes an unintended action or results on the target vehicle. In the case of a charging system in an EV, payment information can be manipulated.
+
+- Replay attack
+
+An attacker can replay controller area network (CAN) data packets acquired through sniffing. In particular, the replay attack is fatal in an RKE system. If an attacker can obtain a remote key packet, he can open and start the target vehicle by just replaying it.
+
+- Maintenance record manipulation
+
+The diagnostic devices are used to maintain a vehicle. The diagnostic device first diagnoses the vehicle and then transmits diagnostic data or maintenance data to a central server which is operated by the vehicle original equipment manufacturer (OEM), or a third party. If the external devices are compromised, information of the vehicle such as maintenance history, accident record, mileage of the vehicle, etc. can be manipulated.
+
+## **7.4 Threats to availability**
+
+- Denial of service (DoS)
+
+As for other industries, there are many types of DoS attacks on the vehicle. The simplest method of DoS attack is by injecting a large amount of data packets into the CAN of a vehicle. Another example of a DoS attack is called a 'CAN bus off attack' using CAN protocol characteristics. It causes a target ECU to turn to a bus-off state and eventually it performs its original functionality.
+
+### **7.5 Threats to non-repudiation**
+
+- Exposure of credential or a private key of an external device
+
+Most of the connected-car services adopt a security access mechanism between the vehicle and external devices based on public key infrastructure (PKI). If an attacker hacks external devices and acquires certificates and private keys of external devices, the security access mechanism in the vehicle is no longer valid.
+
+## **7.6 Threats to authenticity**
+
+- Impersonation attack
+
+If an external device is compromised, it can pretend to be an authorized external device to a vehicle. The compromised device can then receive and send a message which is only allowed for the authorized external devices.
+
+For example, an external device that is originally used for simple diagnostics such as a read and delete diagnostic trouble code (DTC) can actuate some of the safety-related functions such as controlling a steering wheel or shutting off the fuel valve.
+
+- Session hijacking
+
+There is diverse and important information in communication between external devices and a vehicle (e.g., charging information, location information, vehicle identity information, and actuation command data). An attacker can bypass authentication through session hijacking and acquire confidential information.
+
+## **7.7 Threats to accountability**
+
+- Modification or deletion of log information
+
+Log information such as authentication attempts and configuration changes is stored in the diagnostic device. This information can be used to analyse a security incident. An attacker can modify or delete log information to hide his malicious behaviour.
+
+## **7.8 Threats to authorization**
+
+- Unauthorized access to personal-sensitive information in a vehicle
+
+Recently vehicles tend to provide a lot of convenience services such as location sharing, remote actuation, in-vehicle payment and healthcare services. These trends make a vehicle or a vehicle OEM save personal-sensitive information in the vehicle. These personally identifiable information (PII) data can be accessed or used through external devices which are authorized by the vehicle OEM or service provider. If there is no appropriate authorization mechanism, personal-sensitive information can be misused or exposed.
+
+# **8 General security requirements for external interfaces and external devices**
+
+## **8.1 Hardware-assisted security**
+
+External devices and external interfaces should be equipped with hardware-assisted security. Hardware-assisted security is the root of trust in various security features. This hardware is a dedicated module specifically designed for cryptographic processing with/without a hardware accelerating feature and storing and managing cryptographic keys inside a hardened, tamper-resistant device. The hardware security module (HSM) could be one example of this hardware. Hardware-assisted security should include the following components:
+
+- Secure central processing unit (CPU)
+- Secure storage
+- Crypto hardware acceleration
+
+#### **8.1.1 Secure CPU**
+
+Secure CPU is a dedicated CPU for hardware-assisted security that controls secure storage and cryptographic operation. Secure CPU does not load application core and performs operations independently. In addition, the secure CPU can control registers and interrupts for sending and receiving data with application core.
+
+#### 8.1.2 Secure storage
+
+Secure storage is a storage space for securely storing keys, message authentication codes (MAC) and certificates or user-defined important information. Secure storage is located inside hardware-assisted security and is used exclusively by a secure CPU. Therefore application core cannot access secure storage.
+
+#### 8.1.3 Crypto hardware acceleration
+
+Cryptographic operation is a costly operation for computing resources. Therefore, there is a limit to performing the computing with only software in a limited embedded environment such as a vehicle. To improve this, crypto hardware acceleration should be used to overcome this limitation. Hardware-assisted security provides a random number generator (RNG), hash, symmetric/asymmetric algorithms, and interfaces to support them. The hardware acceleration can be used to improve the cryptographic operation speed.
+
+### 8.2 Secure communication
+
+External devices and external interfaces with wireless communication capabilities are required to be ported or updated based on latest version of standards and to be certified by a certificate authority. For example as of September 2020 for a Bluetooth communication featured device, it should be equipped with Bluetooth version 5 and certified by Bluetooth SIG (Special Interest Group).
+
+In the case of wireless communication between the external interface and external devices, confidentiality and integrity are required because wireless communication is highly vulnerable to eavesdropping and malicious modification.
+
+### 8.3 Secure functions
+
+Security access, secure flash, secure boot and secure debug are four essential functions required for external devices and external interfaces.
+
+#### 8.3.1 Security access
+
+Security access can guarantee the authentication of the external device to access to internal sub-systems of a vehicle. For example, any diagnostic tool should be authenticated based on a certificate issued by vehicle OEM or supplier in order to access the internal ECUs. In this case the encryption algorithms developed by Ron Rivest, Adi Shamir and Leonard Adleman – RSA2048 and SHA-2 can be used for this security feature. Only critical functions which can damage the internal systems and result in threats to vehicle's safety such as re-programming, actuation, etc., should be considered in this security access. Figure 2 shows the security access function for OBD-II.
+
+
+
+```
+graph TD
+ OEM[OEM/supplier certification server] -- Issuing certificate --> Devices[External devices (Diagnostic tools) Certificate]
+ Devices -- Authentication --> OBDII[OBD-II]
+ OBDII --- TCU[TCU]
+ OBDII --- Gateway[/Vehicle gateway/]
+ OBDII --- Charging[Charging interface on a vehicle]
+ OBDII --- RKE[External interface of RKE]
+ TCU --- ECU[ECU]
+ Gateway --- ECU
+ Charging --- ECU
+ RKE --- ECU
+```
+
+X.1374(20)\_F02
+
+Figure 2: Security access for OBD-II. The diagram illustrates the security access process for OBD-II. An OEM/supplier certification server issues a certificate to external devices (diagnostic tools). These devices then perform authentication with the OBD-II port. The OBD-II port is connected to various vehicle components including the TCU, Vehicle gateway, Charging interface on a vehicle, and External interface of RKE, which in turn connect to the ECU.
+
+**Figure 2 – Security access for OBD-II**
+
+#### 8.3.2 Secure flash
+
+Secure flashing can guarantee the integrity of reprogramming software and result in blocking malicious reprogramming. Downloaded software should be verified using a digital signature before flashing hardware in the external device. An asymmetric key algorithm should be used for verification of a digital signature of software. Figure 3 shows the secure flash function.
+
+
+
+The diagram illustrates the secure flash process. A box labeled 'Flash tools' sends data to a box containing 'Software' and 'Digital signature'. This data is then processed by a large box labeled 'External device'. Inside this box, the data flows through 'Verification of digital signature' and then to 'Software flashing'. The identifier 'X.1374(20)\_F03' is located at the bottom right of the diagram.
+
+Figure 3: Secure flash process diagram
+
+**Figure 3 – Secure flash**
+
+#### 8.3.3 Secure boot
+
+Secure booting can guarantee the integrity of software in the external devices. While it loads software on memory in the booting sequence, a lower entity should certify the integrity of the upper entity's software sequentially. The root of trust verifies the integrity of basic software (BSW) first, and then the BSW verifies the integrity of application software (ASW) [b-AUTOSAR-055]. Figure 4 shows the secure boot function.
+
+
+
+The diagram shows the secure boot process as a 'Trusted chain' within a 'Booting sequence' indicated by a dashed arrow. The process starts with an 'HSM' (Hardware Security Module) box, which performs a 'Check S/W integrity by itself'. It then checks the 'S/W integrity of BSW' (Basic Software) and passes control to a 'BSW' box. The 'BSW' box then checks the 'S/W integrity of ASW' (Application Software) and passes control to an 'ASW' box. The identifier 'X.1374(20)\_F04' is located at the bottom right of the diagram.
+
+Figure 4: Secure boot process diagram
+
+**Figure 4 – Secure boot**
+
+#### 8.3.4 Secure debug
+
+Secure debug can guarantee control using a debugger such as a universal asynchronous receiver/transmitter (UART)/JTAG (UMTS Joint Test Action Group) to debug dedicated hardware for security. A host of that hardware should provide control of permission for debugging the core part in itself. Figure 5 shows the secure debug function.
+
+
+
+The diagram illustrates the secure debug process. A box labeled 'Debugger' sends an 'Authentication' signal to a large box labeled 'External device'. Inside the 'External device' box, the signal is processed by 'Dedicated H/W for security' and 'H/W S/W' components. The identifier 'X.1374(20)\_F05' is located at the bottom right of the diagram.
+
+Figure 5: Secure debug process diagram
+
+**Figure 5 – Secure debug**
+
+### **8.4 Protection against hardware tampering**
+
+To carry out reverse engineering, in most cases, opening or modifying a device is needed. To protect from reverse engineering, devices should be designed so that attackers must spend a lot of resources to open or modify devices. Additional protection systems, such as tamper-resistance or tamper-response can be applied.
+
+- Tamper-resistance
+
+An external device should be designed so that it is difficult to open. (e.g., one-way screws, epoxy encapsulation, sealed housings)
+
+- Tamper-response
+
+An external device should actively respond to casing access to prevent internal contents from being read. (e.g., Zeroize critical memory, shutdown/disable/destroy the device, enable logging features)
+
+## **9 Security requirements for external devices with wireless communication capability**
+
+Security patches and secure reprogramming should be implemented.
+
+Security patches for reported vulnerabilities in all software used (including OS) should be installed before testing for mass-production.
+
+For a Linux OS or Android OS based device, it should check new OS updates and security updates regularly to protect against known vulnerabilities.
+
+To protect against malicious software, the requirements listed below for a secure reprogramming function should be implemented:
+
+- All versions of the software should be managed.
+- Software version downgrades should not be allowed.
+- Software reprogramming should be allowed with authorized persons or tools.
+- Integrity of software should be guaranteed.
+- The entire process of software reprogramming should be configured as a single transaction.
+
+There are three kinds of wireless communication methods (Bluetooth, cellular and Wi-Fi) for an external device to access a telematics control unit (TCU).
+
+### **9.1 Bluetooth interface**
+
+External devices using a Bluetooth interface should include the requirements presented in clauses 9.1.1 to 9.1.3.
+
+#### **9.1.1 Bluetooth basic rate / enhanced data rate (BR/EDR)**
+
+For Bluetooth basic rate / enhanced data rate (BR/EDR), the newest version should be implemented. If not, proper Bluetooth secure connection mode should be considered. For example, in the case of Bluetooth v2.1, devices should operate in a security mode higher than or equal to security mode 3. Security mode 3 is the link level-enforced security mode, in which a Bluetooth device initiates security procedures before the physical link is fully established. Bluetooth devices operating in security mode 3 mandate authentication and encryption for all connections to and from the devices.
+
+When security mode 4 is used, level 3 or higher level of security for Bluetooth services should be used.
+
+#### **9.1.2 Bluetooth low energy (LE)**
+
+For Bluetooth LE, secure key exchange, data confidentiality and integrity should be guaranteed. For example, security mode 1 with level 3 should be used.
+
+LE security mode 1 has multiple levels associated with encryption. Level 3 requires authenticated pairing with encryption. Because security mode 1 level 3 requires authenticated pairing and encryption, it is considered the most secure mode and level.
+
+#### **9.1.3 Unused service and profile**
+
+Bluetooth is widely used for various services such as audio streaming, video streaming, remote control, and so on. If a device has unused services and profiles, they can cause unexpected results and an attacker can use those vulnerabilities. Therefore, unused services and profiles should be removed or disabled.
+
+### **9.2 Cellular interface**
+
+External devices using a cellular interface should include the requirements presented in clauses 9.2.1 and 9.2.2.
+
+#### **9.2.1 Secure communication**
+
+External devices using a cellular interface should guarantee a secure authentication procedure, data confidentiality and integrity.
+
+Requirements shown below concern usages of an LTE cellular and 3G interface as examples.
+
+For a LTE cellular interface, the following security algorithms should be supported:
+
+- 128-evolved packet system encryption algorithm 2 (EEA2) or 128-evolved packet system encryption algorithm 3 (EEA3) for data confidentiality
+- Evolved packet system integrity algorithm 2 (EIA2) or evolved packet system integrity algorithm 3 (EIA3) for data integrity
+
+For a 3G cellular interface, the following security algorithms should be supported:
+
+Universal mobile telecommunication system (UMTS) encryption algorithm 1 (UEA1) + UMTS integrity algorithm 2 (UIA2) or UMTS encryption algorithm 2 (UEA2) + UMTS integrity algorithm 2 (UIA2) or data confidentiality and integrity.
+
+#### **9.2.2 Application layer security**
+
+Additional transport or application layer security should be applied to a cellular interface. All connections between external devices and vehicles should be used for additional security to guarantee authenticity, confidentiality, and integrity of any data transmitted through the cellular interface.
+
+### **9.3 Wi-Fi interface**
+
+External devices using a Wi-Fi interface should include the requirements presented in clauses 9.3.1 to 9.3.3.
+
+#### **9.3.1 Security protocol**
+
+An external device using a Wi-Fi interface should use the latest security protocol with a secure password. Some of the security protocols have known security vulnerabilities. Also if there is an unnecessary management protocol in an external device, it may cause other vulnerabilities. However, not all security protocols are secure. Therefore, wireless communication devices should use the latest security protocols instead of legacy protocols that are no longer secure. Examples of insecure protocols and unnecessary management protocols are wired equivalent privacy (WEP), Wi-Fi protected access (WPA), Wi-Fi protected setup (WPS) and temporal key integrity protocol (TKIP).
+
+#### **9.3.2 SSID and password**
+
+For the Wi-Fi interface, a unique and non-obvious service set identifier (SSID) should be used. Rainbow tables with hash values for common SSIDs and passwords are readily available on the Internet. Using different SSIDs significantly increases the complexity of attack through the Wi-Fi interface.
+
+Passwords should not include information about the device. Also, there should be guidance indicating that the password needs to be changed periodically.
+
+#### **9.3.3 Connection range management**
+
+If Wi-Fi has an unnecessarily wide range, it allows an attacker to remain distant from the target vehicle. For this reason, the effective connection range (distance) of a Wi-Fi interface should be restricted by adjusting the minimum allowable connection speed. Connection speed needs to be set in accordance with the desired connection range
+
+# **10 Security requirements for external devices of remote key-less entry**
+
+Many recently mass-produced vehicles contain RKE systems. These consist of a smart key (key fob) for a driver and designated electronic control unit (ECU) for a vehicle. The smart key can be one of the attack points to the vehicle. Because most of vehicle OEM set low cost to smart keys, limited security technology can be applied.
+
+There are three different features that external devices in the RKE system should include:
+
+- Reverse engineering prevention.
+- Secure communication.
+- Secure key registration procedure.
+
+## **10.1 Reverse engineering prevention**
+
+Because of the low cost, hardware-assisted security can rarely be applied to the smart key. Instead a kind of mechanism for preventing reverse engineering should be required.
+
+#### **10.1.1 Key extraction prevention**
+
+Most RKE systems use mutual authentication using cryptographic keys. Those keys should be encrypted for storing. Also, a debug interface and a diagnosis interface (e.g., UMTS Joint Test Action Group – JTAG) should be removed.
+
+#### **10.1.2 One time programmable**
+
+A smart key should be designed as one time programmable in order to prevent modifying of the smart key function. If the smart key can be updated via wired or wireless, it should only be allowed with adequate authorization and integrity checks.
+
+## **10.2 Secure communication**
+
+Most of the RKE systems include simple communication procedures because of the low cost of the system and limitations of reaction time. To ensure secure communication, mutual authentication and replay attack prevention should be applied.
+
+#### **10.2.1 Mutual authentication and channel encryption**
+
+When an RKE system is in operation, both a smart key and a designated ECU on the vehicle require verification of the reliability of each other. For this, the smart key and the RKE system should include adequate mutual authentication protocols including challenge-response protocol. It
+
+generally employs a cryptographic nonce as the challenge to ensure that every challenge-response sequence is unique.
+
+#### **10.2.2 Replay attack prevention**
+
+Recently, there have been some cases of smart key hacking by replaying a smart key radio signal. To prevent these replay attacks, a cryptographic nonce should be implemented. A cryptographic nonce is an arbitrary number that can be used just once. Generally a nonce also includes a timestamp to ensure it is fresh and has not been reused. To generate the nonce, a true random generator or pseudo-random generator should be required.
+
+#### **10.2.3 Limitation of radio signal intensity**
+
+The power level of the radio signal directly relates to connection or system operating range. An attacker can get the radio signal without authorization by radio signal range expansion, known as 'Mafia attack'. An unnecessarily high power level would allow an attacker who is more distant from the target vehicle to view and possibly inject a malicious packet. For this reason, the power level of the radio signals should be limited to use.
+
+### **10.3 Secure key registration procedure**
+
+There are three different features that should be considered for a secure key registration procedure:
+
+- Authentication through a user, vehicle OEM, vehicle, ECU, smart-key.
+- Secure communication channel (confidentiality, integrity).
+- User (driver, owner) verification.
+
+# **11 Security requirements for external devices of charging systems in an EV**
+
+External devices connected through the charging system including wired and wireless port is required to use transport layer security (TLS) on all communications used in the charging system. This establishes an authenticated and encrypted (ensures integrity protection and confidentiality protection) channel between the EV and the external devices. TLS allows for unilateral or mutual authentication. Also, the communicated message is encrypted using a symmetric-key encryption algorithm allowing the message not to be eavesdropped and both EV and external devices to be certain that the opponent is indeed identical throughout the session of service in order to prevent session hijacking.
+
+Plug and charge (PnC) is a technology that can charge and pay for an electric vehicle without the driver's intervention. The only action required by the driver is to plug the charging cable into the EV. Once the charging cable is plugged in, the EV will automatically identify itself to the charging station and be authorized to receive energy for recharging its battery and payment will be made without additional payment methods such as credit card, and so on.
+
+The payment method for charging the EV should be safe against possible attacks that may occur in public networks such as sniffing, replay attack, etc. Security measures such as encryption, authentication, and digital signature can be used to protect payment methods from attacks.
+
+The payment information which is related to the location of the EV should not be revealed to unauthorized parties in order to protect the driver's location information.
+
+# **12 Use cases of security measures for external devices and interfaces in a vehicle**
+
+### **12.1 Use case 1: Smart key and external interface**
+
+A smart key can open or close the vehicle door through wireless communication with the RKE/PKE system. Smart key and RKE/PKE systems communicate by radio frequency (RF). The attacker
+
+captures the RF signal transmitted from the smart key using a device with full-duplex RF capabilities and retransmits it.
+
+The sequence number, timestamp and nonce can be used to ensure the freshness of communication data between the smart key and the RKE/PKE system. Figure 6 shows replay attack prevention to prevent a replay attack. The first way to prevent a replay attack is to add a nonce to the communication data. Nonce means a random value created by hardware-assisted security (e.g., a HSM). The second way is to add a timestamp to the communication data. The smart key adds a timestamp to the communication data using a predefined time zone and time precision. The RKE/PKE system determines whether the time stamp included in the message is within an acceptable time slot. An important point when using timestamp is time synchronization between the smart key and the RKE/PKE system. Additional mechanisms may be required for time synchronization. The third way is to add a sequence number to the communication data. The smart key and RKE/PKE system increase the sequence number by a predetermined size and add it to the communication data. If the sequence number is smaller than or equal to the previously received data, the RKE/PKE system determines as a replay attack.
+
+
+
+The diagram shows a Smart key (represented by a padlock icon) on the left. A signal line labeled '1' points from the Smart key to a box containing 'Communication data + Nonce or timestamp or sequence number'. This box is connected via a wireless signal (represented by a radio wave icon) to an 'RKE/PKE' box. The 'RKE/PKE' box is connected to a 'Vehicle gateway' box, which is in turn connected to an 'ECU' box. The entire system is enclosed in a car outline. The label 'X.1374(20)\_F06' is located at the bottom right of the diagram.
+
+Diagram illustrating replay attack prevention. A Smart key transmits 'Communication data + Nonce or timestamp or sequence number' to an RKE/PKE system. The RKE/PKE system is connected to a Vehicle gateway, which is connected to an ECU. The diagram is labeled X.1374(20)\_F06.
+
+**Figure 6 – Replay attack prevention**
+
+In order to prevent a replay attack from the perspective of defence in depth, not only the freshness of the communication data but also the confidentiality of the communication data is important.
+
+## 12.2 Use case 2: Charging device and external interface
+
+The charging device means a charging station that supplies power to an electric vehicle. The EV is connected to an EVSE for charging and the EVSE is connected to both the EV and the external Internet to exchange information. EV and EVSE have controllers for communication which are named EVCC and SECC. The connection between EVCC and SECC may use power line communication (PLC) or wireless communication. TLS should be applied for secure communication between EVCC and SECC. When TLS is applied, a secure channel is established between EVCC and SECC. This channel ensures the confidentiality and integrity of all messages between EVCC and SECC. The first step in creating a secure channel is EVCC and SECC exchanging cipher suites. Cipher suite includes key exchange algorithms, digital signature algorithm, symmetric key encryption algorithm, and message authentication code algorithm. Figure 7 shows the TLS handshaking process between EVCC and SECC.
+
+
+
+Figure 7: TLS handshaking process between EVCC and SECC. The diagram shows an EV (Electric Vehicle) on the left with an EVCC (Electric Vehicle Control Unit) inside. On the right is an EVSE (Electric Vehicle Supply Equipment) with a SECC (SECC) inside. The EVSE is connected to the Internet. Three numbered steps are shown: 1. Negotiate parameters/exchange random numbers, 2. Establish keys for the connection, and 3. Enable encryption/confirm keys. Arrows indicate the flow of these steps between the EVCC and the SECC. The Internet cloud is connected to the EVSE via a double-headed arrow. The reference X.1374(20)\_F07 is at the bottom right.
+
+**Figure 7 – TLS handshaking process between EVCC and SECC**
+
+### 12.3 Use case 3: Wireless communication device and external interface
+
+The wireless communication device is connected to the vehicle's TCU interface through communication protocols such as Wi-Fi, cellular, and Bluetooth. This connection allows vehicle owners to use text messages, telephones and additional infotainment features in the vehicle. In general, the security protocol supported by the communication protocol can be used to connect the wireless communication device to the TCU. Wireless communication devices should use the latest security protocols instead of legacy protocols that are no longer secure.
+
+Wireless communication devices should periodically check for software updates. Software updates can mitigate security vulnerabilities discovered during the operation.
+
+In the case of Wi-Fi, ensuring the Wi-Fi access password's complexity is as important as using a secure protocol. The password of the Wi-Fi connection must be combined with two or more characters of different types to respond to an attacker's brute force attack. It should not contain consecutive characters, and there should be no dependency on the device. Figure 8 shows Wi-Fi security.
+
+
+
+Figure 8: Wi-Fi security. The diagram shows a 'Wireless communication device' (a smartphone) on the left with a 'Wi-Fi' icon. It is connected via a wireless signal to a 'TCU' (Telematics Control Unit) inside a vehicle. The vehicle also contains a 'Vehicle gateway' and an 'ECU' (Engine Control Unit). Two numbered steps are shown: 1. Using the latest security protocols, and 2. Setting of secure Wi-Fi access password. Arrows indicate the flow of these steps from the wireless device to the TCU. The reference X.1374(20)\_F08 is at the bottom right.
+
+**Figure 8 – Wi-Fi security**
+
+## 12.4 Use case 4: External devices connected to OBD-II port and external interface
+
+As modern vehicles have become increasingly electronic, software is becoming a key element of vehicles. Problems occurring in vehicles can be checked through software, even problems caused by the software itself. It is not necessary to physically investigate the vehicle when it comes to knowing the situation inside the vehicle or fixing problems caused by software. The OBD-II port connects a diagnostic device or dongle to diagnose vehicles and modify the software.
+
+A diagnostic device can check the status of the ECU or update it. In it is not mandatory to apply security measures when a diagnostic device communicates with a vehicle. However, most vehicle manufacturers recommend to use it with the security access as shown in Figure 9.
+
+
+
+The diagram shows a Diagnostic device on the left and a Vehicle on the right. The Vehicle contains an OBD-II port, a Vehicle gateway, and an ECU. The communication sequence is as follows:
+
+- 1 Request of seed (from Diagnostic device to Vehicle)
+- 2 Seed (Challenge) (from Vehicle to Diagnostic device)
+- 3 Key (Response) (from Diagnostic device to Vehicle)
+
+X.1374(20)\_F09
+
+Diagram illustrating the security access process between a Diagnostic device and a Vehicle. The Diagnostic device sends a 'Request of seed' (1) to the Vehicle. The Vehicle responds with a 'Seed (Challenge)' (2). The Diagnostic device then sends a 'Key (Response)' (3) back to the Vehicle. The Vehicle contains an OBD-II port, a Vehicle gateway, and an ECU.
+
+**Figure 9 – Security access**
+
+The security access performs authentication based on a challenge-response method. When a diagnostic device is plugged into the vehicle, it sends a request seed message, which will be used to generate a response. When the request is received, the vehicle generates a random number as a seed and a challenge, and sends it as a reply to the diagnostic device. If the diagnostic device receives the seed, both of the diagnostic device and the vehicle have the same seed at the same time. The diagnostic device calculates the key as a response using the pre-defined calculation methods which the vehicle also has, and then sends it to the vehicle. The key can be verified by the vehicle with the same seed and key calculation methods [b-ITU-T X.1124].
+
+In the case of firmware updates or other behaviours which can have significant impact, authentication through certificates which are issued by the vehicle manufacturers themselves may also be enforced in addition to security access.
+
+When it comes to dongles, they are mainly used to know the status inside the vehicle. They can be provided by insurance companies or purchased from the automotive aftermarket. Dongles communicate with the dedicated smartphone application to communicate the situation inside the vehicle. However, several studies have reported cases of attacks through the dongle. Therefore, it is necessary to block the control commands received through the dongle from an unauthorized devices.
+
+## Appendix I
+
+### Information on Bluetooth specification
+
+(This appendix does not form an integral part of this Recommendation.)
+
+Bluetooth is a short-range wireless communication industry standard for digital communication devices. The standard is being developed by the Bluetooth SIG (Bluetooth Special Interest Group). Bluetooth is divided into Classic (BR/EDR) and Bluetooth with low energy (LE), and has different security functions. Bluetooth 4.0 BR/EDR uses E0 algorithm for data encryption, and Bluetooth 4.0 LE uses AES-CCM. The E0 algorithm is a stream cipher used in the Bluetooth protocol. It generates a series of pseudo-random numbers and uses the XOR operator to generate the ciphertext. Bluetooth 4.0 BR/EDR is no longer secure due to algorithmic issues. Therefore Bluetooth 4.1 BR/EDR uses AES-CCM for data encryption. Table I.1 shows the differences in security protocols by the Bluetooth version. See the Bluetooth technical documentation for details.
+
+**Table I.1 – Comparison of Bluetooth security protocols**
+
+| | Basic rate/Enhanced data rate (BR/EDR) | Bluetooth with low energy (LE) |
+|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| 4.0 (2009) | Secure simple pairing (SSP) Pairing: HMAC-SHA-256, P-192 ECDH, four association models (JW/NC/PK/OOB) Authentication: E1 Encryption: E0 Message integrity: none (just CRC) | LE legacy pairing Pairing: Broken homebrew key exchange, AES, three association models (JW/PK/OOB) Encryption: AES-CCM Message integrity: AES-CCM |
+| 4.1 (2013) | Secure connections Pairing: HMAC-SHA-256, P-256 ECDH Authentication: HMAC-SHA256 Encryption: AES-CCM Message Integrity: AES-CCM | LE privacy 1.1 (reconnection address obsolete) |
+| 4.2 (2015) | no change | LE secure connections Pairing: P-256 ECDH, AES-CMAC, four association models (JW/NC/PK/OOB) Authentication: AES-CCM Encryption: AES-CCM Message integrity: AES-CCM LE privacy 1.2 (RPA resolution now already in controller) |
+| 5 (2016) | no change | LE channel selection algorithm #2 |
+| 5.1 (2019) | no change | Indoor location stuff |
+
+## Appendix II
+
+### Information on cellular communication specification
+
+(This appendix does not form an integral part of this Recommendation.)
+
+This appendix provides an overview of the security features used in 3rd generation mobile cellular communication and 4th generation mobile cellular communication. Universal mobile telecommunications system (UMTS), a 3rd generation mobile cellular communication system, is a system for GSM standards-based networks and was developed by the 3rd Generation Partnership Project (3GPP). Long-term evolution (LTE), a fourth-generation mobile cellular communication system based on GSM/EDGE and UMTS/HSPA technology, was developed by 3GPP.
+
+Table II.1 shows the security function groups of UMTS and LTE. See the UMTS or LTE technical documentation for details.
+
+**Table II.1 – Five security function groups of UMTS and LTE**
+
+| Function groups | Short description |
+|--------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Network access security | ensures that mobile users have secure access to network services and mobile network is secured against attacks via the (radio) access link. |
+| Network domain security | ensures that mobile backhaul nodes to securely exchange signalling data and user data at the mobile backhaul networks and protects against attacks on wireline link. |
+| User domain security | secures access to mobile stations. |
+| Application domain security | allows applications on user and network side to securely exchange data. |
+| Visibility and configurability of security | allows user to get information about enabled security features and provision of services. Present-day LTE network operators use a wide range of security mechanisms in each domain. |
+
+## Bibliography
+
+- [b-ITU-T X.800] Recommendation ITU-T X.800 (1991), *Security architecture for Open Systems Interconnection for CCITT applications*.
+- [b-ITU-T X.1124] Recommendation ITU-T X.1124 (2007), *Security architecture for Open Systems Interconnection for CCITT applications*.
+- [b-ITU-T X.1252] Recommendation ITU-T X.1252 (2010), *Baseline identity management terms and definitions*.
+- [b-ISO/IEC 18014-2] ISO/IEC 18014-2:2009, *Information technology – Security techniques – Time-stamping services – Part 2: Mechanisms producing independent tokens*.
+- [b-ISO 15118-1] ISO 15118-1:2019, *Road vehicles – Vehicle to grid communication interface – Part 1: General information and use-case definition*.
+- [b-ISO/IEC 27000] ISO/IEC 27000:2016, *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+- [b-AUTOSAR-055] AUTOSAR Glossary FO Release 1.1.0 (2017).
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..94d45ee0d7450a0c276bffad33306ce1ec96de62
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c981deef08fa0ff69264e0a06c61f5dd291a362fb37303b3216e33a0ba5040e9
+size 5841
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9313e7fbdc4d18d682f1f8c5ad8262341ec6f565
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9c6a376adfe5f628ddbc660a55603cf426b16729574763e1f75532bab7cc828c
+size 19500
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9986505389a5399ac6fcc7fb4c07479cdd22a587
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/27b06ec9f42b5d727a2630f61a5f1861_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3ec12a8bc14747145a9719a4dc2ef924def8231dad7b18a616e86abc9b3a0d6f
+size 9381
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/2e399449b7f62d40167a65ca88888917_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/2e399449b7f62d40167a65ca88888917_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..af96cbc87cc90e0bd6d2fa2a900031abfd146ba2
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/2e399449b7f62d40167a65ca88888917_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff41da7f1d9d91187441f024af24342072d91ca73013b8c9677562a3edd0381a
+size 5403
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c01501a41d2bb9eb228d6bbf772b37d00e5f9005
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:37072c76309af0f03fe6cb7315b51e1d9ff8fb21dac14f98aecddbbb54519915
+size 23998
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/4e4be0bd8b235167902f2c03e41da651_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/4e4be0bd8b235167902f2c03e41da651_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..39253e8fbb1a81bb9b0babbc825275b9bfb9fcb6
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/4e4be0bd8b235167902f2c03e41da651_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c80d410e40d3836a52c39b9288fd7338c3c4581f8985839d068a718f6c58a753
+size 9877
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/a26e142d3df5bef41a84a9dd099d7825_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/a26e142d3df5bef41a84a9dd099d7825_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..52e29f4670b92a59eac3f3c4759799229f6421f0
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/a26e142d3df5bef41a84a9dd099d7825_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8ce2bd8cb9e55651b183447255664173a371bf587ffefb365fbc03fec3f2e208
+size 28906
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/bdfe4e1058d1a0e14bb838771b57254c_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/bdfe4e1058d1a0e14bb838771b57254c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fa5c0a918b8a0bf6dc5b715c96c4cce5312d4919
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/bdfe4e1058d1a0e14bb838771b57254c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2a5edb6d8b639022155de369e102894d3bd988fc28f625c85ec4cac9b20be8f4
+size 5397
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..857411679ff133f08ddeadfc7cd98235ad5936ba
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/bffdddb47fced140f8d17fdc2a29f592_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1a7b89aef196d9035109eeeb5384d734ab3e122ad6d5326c177bed33ed78226
+size 33761
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/c0e88e4bd3a209b66ee7cb67e1cec2be_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/c0e88e4bd3a209b66ee7cb67e1cec2be_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..86e42b75c133aea7dd4dbb8e4093b4663345168c
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/c0e88e4bd3a209b66ee7cb67e1cec2be_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3115671b94db67bdf5d0b12ee1edf19cc62420ee66cc2fb2d2e10bb3fb607f0c
+size 39903
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..311fd6862940e7645a7da56d2be424acf9c2a9dd
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b5266a851afc3a0a12674fcbc865c49ea3f2196283d832d3862ad84394e2c9c
+size 23835
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..caf9b3b3b732b5134c55daaac286b529b100cf27
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b039ae76ff5c303369be66b1c9cc9a4d86a040235933962d7b59325f35d10938
+size 4619
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg b/marked/X/T-REC-X.1376-202101-I_PDF-E/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5107fe8276d73fa7aa69865cf49074a07cb4e903
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/daa4a6fa7e2ba1954258f86b4928eb32_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e20421d19185ae8c781ee3c641377368968a423841938bc609f685cc16e1537b
+size 62656
diff --git a/marked/X/T-REC-X.1376-202101-I_PDF-E/raw.md b/marked/X/T-REC-X.1376-202101-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..af7cbadd9029a65482d4bd9c963851314e6e46a5
--- /dev/null
+++ b/marked/X/T-REC-X.1376-202101-I_PDF-E/raw.md
@@ -0,0 +1,824 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1376
+
+(01/2021)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services (2) – Intelligent
+transportation system (ITS) security
+
+# --- **Security-related misbehaviour detection mechanism using big data for connected vehicles**
+
+Recommendation ITU-T X.1376
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|---------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| 5G SECURITY | X.1800–X.1819 |
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# Recommendation ITU-T X.1376
+
+# Security-related misbehaviour detection mechanism using big data for connected vehicles
+
+## Summary
+
+Recommendation ITU-T X.1376 describes a security-related misbehaviour detection mechanism for connected vehicles to help stakeholders to utilize automotive data to improve vehicle security.
+
+As connectivity of vehicles increases, the number of vulnerabilities is rising due to the development of complex technology. These vulnerabilities bring more threats to connected vehicles. Analysis of a large amount of automotive data is very useful for assessing security of connected vehicles.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1376 | 2021-01-07 | 17 | 11.1002/1000/14448 |
+
+## Keywords
+
+Connected vehicles, misbehaviour detection.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2021
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 1 |
+| 5 Conventions ..... | 2 |
+| 6 Model of misbehaviour detection mechanism..... | 2 |
+| 7 Data capture ..... | 3 |
+| 8 Detection..... | 4 |
+| 8.1 Data selection ..... | 4 |
+| 8.2 Detection engine..... | 5 |
+| 8.3 Optimization ..... | 8 |
+| Appendix I – Use cases of different detection methods..... | 9 |
+| I.1 Status chain case..... | 9 |
+| I.2 Control flow case..... | 10 |
+| I.3 Time series case..... | 10 |
+| I.4 Associative intelligence detection case ..... | 11 |
+| Bibliography..... | 13 |
+
+
+
+## Recommendation ITU-T X.1376
+
+# Security-related misbehaviour detection mechanism using big data for connected vehicles
+
+# 1 Scope
+
+This Recommendation describes a security-related misbehaviour detection mechanism for connected vehicles. The mechanism includes the following steps.
+
+- a) Data capture. Specification of the types of data and information that can be captured from different sources, including automotive, infrastructure, original equipment manufacturers (OEMs) and suppliers, for misbehaviour detection. Data capture methods and procedures lie outside the scope of this Recommendation.
+- b) Detection. Analysis of the data captured to detect misbehaviour.
+
+This Recommendation applies to connected vehicles to detect misbehaviour by designers and security solution providers. Notification utilization methods lie outside the scope of this Recommendation.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+None.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+None.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following term:
+
+**3.2.1 misbehaviour:** Act of providing false or misleading data, operating in such a fashion as to impede other service recipients or to operate outside of their authorized scope. Misbehaviour may arise from internal, or external components to the vehicular system.
+
+NOTE 1 – Based on [b-ISO/TR 17427-4].
+
+NOTE 2 – Misbehaviour includes suspicious behaviour as in wrong message types or frequencies, invalid logins and unauthorized access, or incorrect signed or encrypted messages, either purposeful or unintended.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|-----------------------------------|
+| ADAS | Advanced Driver Assistance System |
+| ABS | Anti-skid Braking System |
+| AEB | Autonomous Emergency Braking |
+
+| | |
+|-------|------------------------------------|
+| API | Application Programming Interface |
+| CAN | Controller Area Network |
+| GNSS | Global Navigation Satellite System |
+| ITS | Intelligent Transportation System |
+| IP | Internet Protocol |
+| LiDAR | Light Detection and Ranging |
+| MCU | Microcontroller Unit |
+| OEM | Original Equipment Manufacturer |
+| TCU | Telematics Control Unit |
+| URL | Uniform Resource Locator |
+
+# 5 Conventions
+
+None.
+
+# 6 Model of misbehaviour detection mechanism
+
+Figure 1 provides the model of misbehaviour detection mechanism for connected vehicles. The mechanism includes two steps, data capture and detection, which are implemented by two systems.
+
+
+
+```
+
+graph LR
+ subgraph Misbehaviour_detection [Misbehaviour detection]
+ subgraph Data_capture [Data capture]
+ DC[Data capturing] --> DF[Data filtering]
+ DF --> DCL[Data cleaning]
+ end
+ Data((Data))
+ subgraph Detection
+ DS[Data selection] --> DE[Detection engine]
+ DE --> Opt[Optimization]
+ end
+ DC --> Data
+ Data --> DS
+ Opt --> DC
+ end
+ DE --> Notification[Notification]
+
+```
+
+X.1376(21)\_F01
+
+Figure 1: Model of misbehaviour detection mechanism. The diagram shows a flow from Data capture to Detection. Data capture includes Data capturing, Data filtering, and Data cleaning. Data is then sent to Detection, which includes Data selection, Detection engine, and Optimization. The Detection engine outputs a Notification. A feedback loop goes from Optimization back to Data capturing.
+
+**Figure 1 – Model of misbehaviour detection mechanism**
+
+Since data capture methods and procedures lie outside the scope of this Recommendation, the data capture system (e.g., data filtering and data cleaning) in Figure 1 is just an informative example of a practical implementation of misbehaviour detection.
+
+Data from the capture system are sent to the detection system, and the data capture processed according to the types described in clause 7.
+
+The data capture system includes the following modules:
+
+- data collection: collection of data for detection from different sources, e.g., service provider, body system and sensors;
+- data filtering: filter captured data based on data classification;
+- data cleaning: perform deduplication and noise-reduction operations for captured data.
+
+The detection system includes the following modules:
+
+- a) data selection: select data sets based on different misbehaviour detection methods, then send them to the detection engine;
+- b) detection engine: detect misbehaviour based on detection methods, then send decision results to optimization and notification, as appropriate;
+- c) optimization: use the detection results from the detection engine to improve data selection, detection engine and data capturing.
+
+Notification is a module that sends the outputs from the detection engine to stakeholders. It does not lie within the scope of this Recommendation.
+
+# 7 Data capture
+
+Data capture usually includes data capturing, data cleaning and data filtering. Since data capture methods and procedures lie outside the scope of this Recommendation, only data types used in the detection procedure are specified. Any personal sensitive data should be protected with proper technologies such as anonymization, which lies outside the scope of this Recommendation.
+
+Based on data and information captured from different sources, this clause specifies the types used in the misbehaviour detection mechanism, namely status data, control data and intelligence data, as shown in Table 1.
+
+**Table 1 – Data types**
+
+| Type | Subtype | Data sources | Data examples |
+|---------------------------|-----------------------------|-------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|
+| Status data a | Application or service data | Content provider or service provider | Infotainment data |
+| | | Map service data | Navigation, positioning |
+| | | Mobile application data | Application-related data |
+| | Vehicle status | Safety system | Anti-skid braking system (ABS), airbag, autonomous emergency braking (AEB), advanced driver assistance systems (ADASs) |
+| | | Body system | Door, window, wiper |
+| | | Chassis system | Torque, corner |
+| | | Power system | Speed, rotational speed, throttle valve, stalls |
+| | Environmental sensors | Radar | Millimetre wave radar |
+| | | Light detection and ranging (LiDAR) | Point cloud |
+| | | Ultrasonic sensors | Distance |
+| | | Camera | Surrounding image |
+| | | Intelligent transportation system (ITS) sensors | Roadside facilities sign |
+| Control data b | Local control | In-vehicle controller | Open door, close door |
+| | Remote control | Automation, telematics | Remote diagnosis |
+
+**Table 1 – Data types**
+
+| Type | Subtype | Data sources | Data examples |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------|--------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
+| Intelligence data c | Internal intelligence data | Security research, testing results | Vulnerabilities, bugs, internal cybersecurity events |
+| | External sharing intelligence data | Customer, supplier, community, conference or literature, web | Internet protocol (IP) address, hash values, uniform resource locator (URL), domain name, common vulnerabilities and exposures (CVE), etc. |
+| a Data and information related to the status of vehicles, applications, services, sensors and other facilities in an ITS.b Data and information used to control vehicles, applications, services, sensors and other facilities in an ITS.c Data and information related to cybersecurity obtained from outside an ITS. It is assumed that the sources of the data have the right level of integrity. | | | |
+
+# 8 Detection
+
+The detection module mainly consists of data selection, detection engine and optimization. As shown in Figure 2, based on data and information from different sources, the detection engine uses big data analysis to identify misbehaviour. Optimization uses misbehaviours to optimize data selection and the detection engine makes misbehaviour detection more accurate and efficient.
+
+
+
+```
+
+graph LR
+ Input[ ] --> DS[Data selection]
+ Input --> DE[Detection engine]
+ Input --> Opt[Optimization]
+ DS --> DE
+ subgraph DE [Detection engine]
+ DM[Detection methodes]
+ subgraph DM [Detection methodes]
+ SCD[Status chain detection]
+ CFD[Control flow detection]
+ TSD[Time series detection]
+ AID[Associative intelligence detection]
+ end
+ subgraph Decision
+ Scoring
+ Human analysis
+ end
+ end
+ DM --> Decision
+ Decision --> Opt
+ Opt --> DS
+ Opt --> DE
+
+```
+
+X.1376(21)\_F02
+
+Figure 2 – Procedure of detection. A flowchart showing the detection process. It starts with 'Data selection' on the left, which feeds into the 'Detection engine'. The 'Detection engine' is a large box containing two sub-sections: 'Detection methodes' (with 'Status chain detection', 'Control flow detection', 'Time series detection', and 'Associative intelligence detection') and 'Decision' (with 'Scoring' and 'Human analysis'). Arrows show the flow from 'Data selection' to 'Detection methodes', then to 'Decision', and finally to 'Optimization' on the right. There is also a feedback loop from 'Optimization' back to 'Data selection' and 'Detection engine'. A label 'X.1376(21)\_F02' is at the bottom right.
+
+**Figure 2 – Procedure of detection**
+
+## 8.1 Data selection
+
+Based on the various data requirements of detection methods, the data selection module classifies data into different data sets according to the requirements of detection engines, as shown in Figure 3. The input into the data selection module is data from the capture system.
+
+
+
+```
+
+graph LR
+ Data((Data)) -- "Data requirements of methods" --> DS1((Data set 1))
+ Data -- "Data requirements of methods" --> DS2((Data set 2))
+ Data -- "Data requirements of methods" --> Dots((.....))
+ Data -- "Data requirements of methods" --> DSN((Data set N))
+ DS1 --> DM[Detection methods]
+ DS2 --> DM
+ Dots --> DM
+ DSN --> DM
+
+```
+
+X.1376(21)\_F03
+
+Figure 3 – Procedure of data selection. A flowchart showing 'Data' (dashed circle) leading to 'Data requirements of methods' (text), which then branches into four parallel paths for 'Data set 1', 'Data set 2', '.....', and 'Data set N' (all in solid circles). These paths converge and lead to 'Detection methods' (dashed rectangle).
+
+**Figure 3 – Procedure of data selection**
+
+## 8.2 Detection engine
+
+The detection engine consists of two submodules: detection methods; and decision. When the data sets come into the detection methods submodule, methods will transform them into behaviour traits. Then the decision submodule makes a decision based on the behaviour traits. Decision results have three different types: blocked; suspicious; and allowed. A blocked result means it is anomalous; a suspicious result means that it cannot be determined whether the data are denied or secure; and an allowed result means the data are secure.
+
+### 8.2.1 Detection methods
+
+The detection methods submodule is a set of different detection methods. Based on the data types classified in clause 7, four methods have been designed to detect misbehaviour using these data.
+
+#### 8.2.1.1 Status chain detection
+
+The status chain contains a series of correlated status data. In the status chain, change in one datum causes other data to change at the same time.
+
+Some characteristics of a status chain follow:
+
+- a) node: a service or an application in an ITS that is relevant to an action;
+- b) flow: the direction and path of changing data made by an action.
+
+Status data are generated in an ITS and a context can be created with these data. Data value also follows a certain trend and fluctuates within a certain range.
+
+In essence, the status chain can be divided into two models: line and branch. The two models are as follows:
+
+- 1) line: each node has only one node that receives its signal;
+- 2) branch: one node generates two or more status data at the same time, then sends them to different nodes.
+
+In the line model of a status chain, the nodes only have a one-way connection. See Figure 4.
+
+
+
+```
+
+graph LR
+ S1 --> S2
+ S2 --> S3
+
+```
+
+Figure 4: Line model of status chain. A linear sequence of three status nodes: S1, S2, and S3, connected by arrows from left to right. The diagram is labeled X.1376(21)\_F04 at the bottom right.
+
+**Figure 4 – Line model of status chain**
+S: status
+
+In the branch model of a status chain, the nodes can be forked into two or more relevant line models. See Figure 5.
+
+
+
+```
+
+graph LR
+ S1 --> S2
+ S2 --> S3
+ S2 --> S5
+ S3 --> S4
+ S5 --> S6
+
+```
+
+Figure 5: Branch model of status chain. A linear sequence of S1 and S2, followed by a fork into two parallel branches: S3 to S4 and S5 to S6. The diagram is labeled X.1376(21)\_F05 at the bottom right.
+
+**Figure 5 – Branch model of status chain**
+
+Thus, the traits of each node include:
+
+- i) the context in the status chain;
+- ii) the value and trend of each node.
+
+The traits from the nodes in the status chain are obtained, and then sent to the scoring function.
+
+##### 8.2.1.2 Control flow detection
+
+The control flow contains a series of correlated control data. In the control flow, one control command can be made up of multiple sub-control-commands and will affect multiple systems.
+
+Some characteristics of control flow to describe control command execution follow:
+
+- a) node: a service or an application in the ITS that is relevant to an action;
+- b) flow: the direction and path of changing data made by an action.
+
+When a control action proceeds, control-related data will pass through control-related nodes and form a control flow.
+
+Every control node works stably and regularly in an ITS. When many nodes work together, the control flow is also stable in behaviour, due to the prescribed period, the determined types and number of messages.
+
+In essence, control flow can be divided into two models: line and branch. The two models are as follows:
+
+- 1) line: each node has only one node that receives its signal;
+- 2) branch: one node generates two or more control data at the same time, then sends them to different nodes.
+
+In the line model control flow, the nodes only have one-way connection. See Figure 6.
+
+
+
+```
+
+graph LR
+ C1 --> C2
+ C2 --> C3
+
+```
+
+Figure 6: Line model of control flow. A linear sequence of three control nodes: C1, C2, and C3, connected by arrows from left to right. The diagram is labeled X.1376(21)\_F06 at the bottom right.
+
+**Figure 6 – Line model of control flow**
+C: control
+
+In the branch model control flow, the nodes can be forked into two or more relevant line models. See Figure 7.
+
+
+
+```
+
+graph LR
+ C1 --> C2
+ C2 --> C3
+ C2 --> C5
+ C3 --> C4
+ C5 --> C6
+
+```
+
+X.1376(21)\_F07
+
+Figure 7: Branch model of control flow. A flowchart showing a sequence of nodes. Node C1 points to C2. From C2, the flow branches into two paths: one leading to C3 and then C4, and another leading to C5 and then C6.
+
+**Figure 7 – Branch model of control flow**
+
+#### 8.2.1.3 Time series detection
+
+A time series is used to describe data that change according to type. As long as the data are in accordance with the types, then time series detection can be used.
+
+The changing trend of time series data has four types:
+
+- a) tendency: the data change with time or independent variables, showing a relatively slow and long-term trend of the same nature of continuous rise, fall or staying the same, but the change range may not be equal;
+- b) periodicity: a factor gradually shows repeated characteristics over time, including peaks and troughs;
+- c) randomness: the data are randomly changing, but the overall situation is statistical;
+- d) superposition: the actual change is a superposition or combination of several changes.
+
+Some characteristics of time series behaviours follow:
+
+- 1) node: a service or an application in the ITS that is relevant to time series data;
+- 2) flow: indicates time chronologically.
+
+Many data belong to time series data, e.g., controller area network (CAN) messages. The data model can be established with one or more types of data to find the misbehaviour. See Figure 8.
+
+
+
+```
+
+graph LR
+ T1[T(1)] --> T2[T(2)]
+ T2 -.-> Tn[T(n)]
+
+```
+
+X.1376(21)\_F08
+
+Figure 8: Line model of time series. A sequence of nodes T(1), T(2), ..., T(n) connected by arrows, indicating a chronological flow over time.
+
+**Figure 8 – Line model of time series**
+
+T: time
+
+#### 8.2.1.4 Associative intelligence detection
+
+For the associative intelligence detection method, misbehaviour can be detected directly or indirectly. Associative intelligence data can therefore be divided into two categories: direct and indirect.
+
+Direct associative intelligence: misbehaviour can be detected directly based on this intelligence, e.g., external vulnerabilities report, internal cybersecurity research and common vulnerabilities disclosure.
+
+Indirect associative intelligence: misbehaviour cannot be detected directly based on this intelligence, since such intelligence is used to describe normal events, e.g., bug fixing, new feature release, software update and chip replacement. Combining indirect associative intelligence with other data captured, misbehaviour can be detected.
+
+### 8.2.2 Decision
+
+This clause introduces the decision submodule procedure shown in Figure 9.
+
+
+
+```
+
+graph LR
+ BT((Behaviour traits)) --> S{Scoring}
+ S <--> HA[Human analysis]
+ S --> AD((Allowed data))
+ S --> BD((Blocked data))
+ AD --> O[Optimization]
+ BD --> N[Notification]
+ HA --> O
+ style BT stroke-dasharray: 5 5
+ style S fill:none,stroke:none
+ style O fill:none,stroke-dasharray: 5 5
+ style N fill:none,stroke-dasharray: 5 5
+
+```
+
+X.1376(21)\_F09
+
+Figure 9 – Procedure in decision submodule. This flowchart shows the decision process. 'Behaviour traits' (dashed circle) feed into 'Scoring' (diamond). 'Scoring' has a bidirectional arrow to 'Human analysis' (rectangle). 'Scoring' outputs to 'Allowed data' (circle) and 'Blocked data' (circle). 'Allowed data' feeds into 'Optimization' (dashed rectangle). 'Blocked data' feeds into 'Notification' (dashed rectangle). 'Human analysis' also feeds into 'Optimization'. The identifier 'X.1376(21)\_F09' is at the bottom right.
+
+**Figure 9 – Procedure in decision submodule**
+
+The decision submodule is used to determine the results from detection methods. It includes two functions: scoring and human analysis. The scoring function determines the data type by behaviour traits, then scores it. If misbehaviour such as a hijacking or tampering attack happens, it deviates from the stability baseline. If the score cannot meet the allowed or blocked threshold, it will be classed as suspicious. Human analysts will then intervene and help to make a decision until the score meets the allowed or blocked threshold.
+
+## 8.3 Optimization
+
+Optimization is a feedback module, which receives data from the detection engine and uses them to optimize it. See Figure 10.
+
+
+
+```
+
+graph LR
+ SD((Suspicious data)) --> HA[Human analysis]
+ ABD((Allowed and blocked data)) --> HA
+ HA --> ODE[Optimization for detection engine]
+ HA --> OSD[Optimization for data selection]
+ HA --> ODC[Optimization for data capturing]
+ ODE --> DE[Detection engine]
+ OSD --> DS[Data selection]
+ ODC --> DC[Data capturing]
+ style SD stroke-dasharray: 5 5
+ style ABD stroke-dasharray: 5 5
+ style DE fill:none,stroke-dasharray: 5 5
+ style DS fill:none,stroke-dasharray: 5 5
+ style DC fill:none,stroke-dasharray: 5 5
+
+```
+
+X.1376(21)\_F10
+
+Figure 10 – Procedure in optimization. This flowchart shows the optimization process. 'Suspicious data' (dashed circle) and 'Allowed and blocked data' (dashed circle) feed into 'Human analysis' (rectangle). 'Human analysis' outputs to three optimization modules: 'Optimization for detection engine', 'Optimization for data selection', and 'Optimization for data capturing' (all rectangles). These modules feed into 'Detection engine' (dashed rectangle), 'Data selection' (dashed rectangle), and 'Data capturing' (dashed rectangle) respectively. The identifier 'X.1376(21)\_F10' is at the bottom right.
+
+**Figure 10 – Procedure in optimization**
+
+### 8.3.1 Optimization for detection engine
+
+The trait is the key value in every transmitted datum in the flow. At the beginning of misbehaviour detection, stability baselines are generated by normal traits from the normal environment. The scoring function is initialized.
+
+The detection engine is optimized by its outputs. Detection methods are added, modified or deleted in order to improve detection efficiency; the scoring function is also optimized by the addition of new knowledge derived from human analysis.
+
+### 8.3.2 Optimization for data selection
+
+The data sets are added, modified or deleted in order to improve detection accuracy.
+
+### 8.3.3 Optimization for data capturing
+
+The data captured are added, modified or deleted in order to improve detection accuracy.
+
+# Appendix I
+
+## Use cases of different detection methods
+
+(This appendix does not form an integral part of this Recommendation.)
+
+This appendix provides use cases of how to detect misbehaviour according to different detection methods in clause 8.2.1.
+
+## I.1 Status chain case
+
+This is a status chain detection case for clause 8.2.1.1.
+
+A vehicle has a communication module to get access to the Internet called a telematics control unit (TCU). A TCU does not run all the time, so it switches into low power mode after the engine of vehicle is stopped to save power. Before the low power mode, it sends the status of vehicle to the vehicle gateway (backend service), which synchronizes this status to the TCU status cache. The command service then gets this status from the TCU status cache. When a user sends a command to their vehicle, the command service reacts according to the TCU status. If the TCU is in the low power mode, the command service sends a request to the wakeup service, which then wakes up the TCU. Figure I.1 shows normal behaviour. Table I.1 shows the status data involved in this normal behaviour.
+
+
+
+The diagram illustrates the normal behaviour of the status chain. It shows the following components and their interactions:
+
+- TCU** (Telematics Control Unit)
+- Vehicle gateway**
+- TCU status cache**
+- Command service**
+- Wakeup service**
+- User**
+
+**Data Flow:**
+
+- Status Data (Solid Lines):**
+ - TCU sends **Vehicle status** to Vehicle gateway.
+ - Vehicle gateway sends **TCU status** to TCU status cache.
+ - TCU status cache sends **TCU status** to Command service.
+- Control Data (Dashed Lines):**
+ - User sends **User command** to Command service.
+ - Command service sends **User command** to Wakeup service.
+ - Wakeup service sends **Wakeup request** to TCU.
+ - Wakeup service sends **Wake up** to TCU.
+
+**Legend:**
+
+- Control data
+- Status data
+
+**Reference:** X.1376(21)\_Fl.1
+
+Figure I.1: Normal behaviour of status chain diagram
+
+**Figure I.1 – Normal behaviour of status chain**
+
+When attackers want to figure out this procedure, they will try to modify the TCU status to see the different behaviours that the command service exhibits. There will then be a difference between the TCU status cache and the vehicle gateway.
+
+In this case, status chain detection can detect misbehaviour by comparing the vehicle status in the vehicle gateway and the TCU status in the TCU status cache. If their statuses are different, this is a misbehaviour. The TCU cannot be in low power mode when the vehicle is running.
+
+**Table I.1 – Vehicle driving status data**
+
+| Node | Data |
+|------------------|----------------|
+| Vehicle gateway | Vehicle status |
+| TCU status cache | TCU status |
+| Command service | TCU status |
+
+## I.2 Control flow case
+
+This is a control flow detection case for clause 8.2.1.2.
+
+When a user wants to control the vehicle remotely, it is necessary to use the application installed on the user's smartphone to trigger the function. The application will generate an operation log. Then the application will send a request to the back-end application programming interface (API) service, which will record this request in the access log. The API service will then pre-treat the request and forward it to the vehicle endpoint, e.g., the TCU. The TCU will invoke a microcontroller unit (MCU) with the transceiver and send a command to the relevant executor. Finally, the actuator will execute the control command from the user side. See Figure I.3. Table I.2 shows the control data involved in this normal behaviour.
+
+
+
+```
+graph LR; A[Mobile application] -- "Send command" --> B[API service]; B -- "Send command" --> C[TCU]; C -- "Send message" --> D[MCU]; D -- "Send message" --> E[Executor];
+```
+
+X.1376(21)\_Fl.2
+
+Flowchart showing the normal behaviour of control flow: Mobile application sends command to API service, which sends command to TCU. TCU sends message to MCU, which sends message to Executor.
+
+Figure I.2 – Normal behaviour of control flow
+
+In this case, the TCU sends messages to the MCU only when the API service asks. If the MCU is invoked from an abnormal path, there will be no operation log in the mobile application and API service. Then misbehaviour is detected.
+
+Table I.2 – Telematics control data
+
+| Node | Data |
+|--------------------|---------------|
+| Mobile application | Operation log |
+| API service | Access log |
+| TCU | Received data |
+| MCU | Invoking log |
+| Executor | Executor log |
+
+## I.3 Time series case
+
+This is a time series detection case for clause 8.2.1.3.
+
+In this case, the TCU sends the position of the vehicle to the backend service periodically. See Figure I.3.
+
+| Latitude (°) | Interval (s) |
+|--------------|---------------|
+| 39.9544 | 10.4015592431 |
+| 39.9566 | 10.2439587253 |
+| 39.9594 | 10.5735141799 |
+| 39.9502 | 10.3234362303 |
+| 39.9528 | 10.0973092011 |
+| 39.9538 | 10.5066656864 |
+| 39.9558 | 10.4945798327 |
+| 39.9556 | 10.1209659368 |
+| 39.9506 | 10.2163646279 |
+| 39.9551 | 10.1042228459 |
+
+**Figure I.3 – Normal time series of position**
+
+If a global navigation satellite system (GNSS) sensor is in a spoofing situation, the position information and interval will have an obvious difference to previous data. See Figure I.4.
+
+| Latitude (°) | Interval (s) |
+|--------------|---------------|
+| 39.9503 | 10.4741553595 |
+| 39.9595 | 10.2682504585 |
+| 39.9597 | 10.2750387130 |
+| 39.9568 | 10.4752930715 |
+| 39.9520 | 10.6371744699 |
+| 45.1525 | 5.4110037357 |
+| 39.9597 | 5.5768263688 |
+| 39.9508 | 10.4367481108 |
+| 39.9550 | 10.0731090275 |
+| 39.9529 | 10.5550728359 |
+| 39.9518 | 10.5853553005 |
+| 39.9554 | 10.1983262711 |
+
+**Figure I.4 – Misbehaviour time series of position**
+
+Table I.3 shows the common time series data in the vehicle.
+
+**Table I.3 – Automated sensor time series data**
+
+| Node | Data |
+|-----------------|--------------------|
+| Backend Service | Latitude, interval |
+
+## **I.4 Associative intelligence detection case**
+
+There are two associative intelligence detection cases for clause 8.2.1.4, so two use cases are provided, one for each.
+
+### I.4.1 Direct associative intelligence detection case
+
+Detecting misbehaviour based on direct associative intelligence is the easier way in a connected vehicle. All forms of direct associative intelligence point to misbehaviour directly, e.g., IP address, domain name, URL, internal cybersecurity research and external vulnerabilities report. Any of these data include an absolute trait to detect misbehaviour.
+
+Table I.4 shows the common direct associative intelligences in the ITS.
+
+**Table I.4 – Direct associative intelligence detection data**
+
+| Node | Data |
+|--------------------------------|--------------------------------------------------------------------|
+| In-vehicle infotainment system | IP address URL Domain name |
+| Intelligence database | External vulnerabilities report Internal cybersecurity research |
+
+### I.4.2 Indirect associative intelligence detection case
+
+Indirect associative intelligence cannot be used to detect misbehaviour independently, but it can be combined with other intelligence sources. In some circumstances, a single vulnerability cannot be exploited, but an attacker can utilize several vulnerabilities to build an exploitation chain to achieve exploitation. For example, not every vendor fixes vulnerabilities so that they cannot be exploited. When the detection engine receives a new technical report about chaining, [b-CVE-2017-11906] and [b-CVE-2017-11907] can reach arbitrary code execution; the version of the browser in the in-vehicle infotainment system is captured for use together with intelligent data to detect misbehaviour.
+
+Table I.5 shows the common indirect associative intelligences in the ITS.
+
+**Table I.5 – Indirect associative intelligence detection data**
+
+| Node | Data |
+|-----------------------|-------------------------------------------------------------|
+| Intelligence database | In-vehicle infotainment system External technical report |
+
+## Bibliography
+
+- [b-ISO/TR 17427-4] ISO/TR 17427-4:2015, *Intelligent transport systems – Cooperative ITS – Part 4: Minimum system requirements and behaviour for core systems*.
+- [b-CVE-2017-11906] Common Vulnerabilities and Exposures, CVE-2017-11906 (2017). *Internet Explorer information disclosure vulnerability*. Bedford, MA: Mitre Corporation. Available [viewed 2021-02-21] at:
+- [b-CVE-2017-11907] Common Vulnerabilities and Exposures, CVE-2017-11907 (2017). *Scripting engine memory corruption vulnerability*. Bedford, MA: Mitre Corporation. Available [viewed 2021-02-21] at:
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/08dce7ad4c512fdf0c0cde60415fade6_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/08dce7ad4c512fdf0c0cde60415fade6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8f0494be3a846859fed156e10a7e4ed6813ef26d
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/08dce7ad4c512fdf0c0cde60415fade6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1696ed0ff40e1bd4ea971ff2164f6a3300a0ca2692f797606fb8c736f5b6b5c0
+size 135861
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/11edb7fcedf09ac6a817f8d7b8c61eec_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/11edb7fcedf09ac6a817f8d7b8c61eec_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..33b72ce98a8e2a213e386f9fd76c0195f9fc04ab
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/11edb7fcedf09ac6a817f8d7b8c61eec_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9096988491999e81a3a651af9b8f23720e46353fe69586c2f9099b3840f3da2a
+size 94991
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3a58f68885c03bc2fb95bb409d68f7f55947475f
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:97adcbdebb3326a1af9817c0266d6c1cef088a8f97dc377b1e5fd01e721d14f7
+size 8269
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/7133ccf78043568ca62ecbcd43628a4a_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/7133ccf78043568ca62ecbcd43628a4a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..60beeb190cade883e079583bc2d4c4630959e912
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/7133ccf78043568ca62ecbcd43628a4a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f046c694fa1077e384f141a3f42c9612d12da43c1d19b12e48d1119ae8308253
+size 49832
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/73b5cce955ba9415a98791db7b0080ad_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/73b5cce955ba9415a98791db7b0080ad_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5c9bb855c4f34b55b5c4739e23eb25fea98f2b08
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/73b5cce955ba9415a98791db7b0080ad_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c7fcbcc96815f33806393fbaa3006998b21369b493dc2f093b57b51f95870bd1
+size 66617
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/81a4cbf0b3c4cbc065efdf8f800dadde_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/81a4cbf0b3c4cbc065efdf8f800dadde_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a39f98560c5ba0ad1950ca7f11f2aae28d9f470a
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/81a4cbf0b3c4cbc065efdf8f800dadde_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bbaf97e3a738f5b0fbd2ddeb5817efc0a989b9ab2167466158cf1e9f55e57521
+size 85103
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/8592a32c2fdf17c1e562f0ba6b7e8e1a_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/8592a32c2fdf17c1e562f0ba6b7e8e1a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b19172b508eabc2e8a5e7e6033640c9a1dc8e169
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/8592a32c2fdf17c1e562f0ba6b7e8e1a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:69453dcf79d59463bc86d1e6379201f7e29a67632f7332c1ab644ab0b1f7bcf7
+size 55004
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c53bf1a5dc342ca8516a456e25b007a2dd14ddd8
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/8c348bf9c2c81b018017ae1d19506a9a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:50944a8ddabd958cdd3b92cce1db21046fbeb25446690adc2ee4a364823d3ceb
+size 26651
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8f3bcb4527c4c865b434c9127fdd45d532ca9432
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0c952dfd5433b85d476d1126f8eab8410308fc3b9811563549fdc4c588d8fa0f
+size 85936
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..cad49e3945e50f72d2b9fd2e9d9d47bc5c6227d9
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/9c6461e1e94afae4dec455e69a2ce152_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c0bdf71c46bd80a17dbc1e3cacc85c0186405a81be64b8905a6a29843e86e45c
+size 85636
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..31aa08985eb24c15b40410cd95f1f5bc1f6c82ee
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/aaf3e6e44cdeabd6d1df869c5f392ea1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:71fef231934fb512224915757bd2a929451cd8e674a6415d63c0aa5ca521fcd2
+size 51098
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b3532907339d06f5c13c55b83cd953d2833b6f9b
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:954b8d6a99d6cfd1c0e084414b9b8ca6820836bbb7953b67813a5eb85032f042
+size 50766
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..982e463056ac4b10622b96b61f085cac904e7f47
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:31296e0ec743094fe84bbc92072713a31d4967d321b54d2e085837deab1672e9
+size 29413
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/c494cd874a082a97b50b3c4d3938f467_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/c494cd874a082a97b50b3c4d3938f467_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..35182b8d01bf6326515572903a7d633f3ed875e8
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/c494cd874a082a97b50b3c4d3938f467_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0d141ed0260caa79e3b6f95661626030dfaf237a34914fd7ad4b4982f50470a8
+size 159026
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/c914f51f4427bc672dd0526cfc90ebe9_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/c914f51f4427bc672dd0526cfc90ebe9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5b9808121093e1313b22cf2d8ca61e317e56d652
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/c914f51f4427bc672dd0526cfc90ebe9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:be5d8897a89a4870ca9ec2be0c9244ac0e7b0387e61346413ef6de02d3bc431a
+size 99092
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7bd15b16be3a512d261f1f0538bbb7e1bc66f6de
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8f50f8a8449515acd9b9de9a7938dbe8f748ba6b8d0b8edb5d9a72c6f04ab696
+size 74849
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b3bbf741471462255dee5ad6ebfd95db2185692a
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b0ca5b603df677cc2c8b334bc3691a744e7e7478dd3537307d368d1664bffe4
+size 105045
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/e451401f8fa77b466f401d5fce15b26c_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/e451401f8fa77b466f401d5fce15b26c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ba15f33605c1cc9639d78e7152e686310b56d3f4
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/e451401f8fa77b466f401d5fce15b26c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:de55ac925f71c950308a8d77fb34ddb8c44cffe7e3b629f98517ff40584c8e92
+size 59222
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8f7e9535178229f5ddd2258d389e6281b14ba2c5
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9594379e461282244dfaf2b8ad62e8454386becf9eb41b7809b4809607ab59ad
+size 119430
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a7730210f92eb81acc78b154f84c404ddd6e8d79
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:070e995ec595f94ac4bcdae8f08b426519f261c3f35f12618a3badafa0a64f75
+size 30278
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/f9c64800d9bace9b4315646d1057be3c_img.jpg b/marked/X/T-REC-X.138-199708-I_PDF-E/f9c64800d9bace9b4315646d1057be3c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..aa59e20b90729d498b1e3890c789fb8caeacbc21
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/f9c64800d9bace9b4315646d1057be3c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2de128a978955cc550da83e9a9ae70950dc8da3ebcbc19d4eb0920848ede2f87
+size 30412
diff --git a/marked/X/T-REC-X.138-199708-I_PDF-E/raw.md b/marked/X/T-REC-X.138-199708-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..fbb234e96d54859a002f54dfd0bf6961c5086e4a
--- /dev/null
+++ b/marked/X/T-REC-X.138-199708-I_PDF-E/raw.md
@@ -0,0 +1,1614 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.138
+
+(08/97)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATION
+
+Public data networks – Network aspects
+
+---
+
+**Measurement of performance values for public
+data networks when providing international
+packet-switched services**
+
+ITU-T Recommendation X.138
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATION
+
+| | |
+|-----------------------------------------------|-------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEM INTERCONNECTION | X.200–X.299 |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# **ITU-T RECOMMENDATION X.138**
+
+# **MEASUREMENT OF PERFORMANCE VALUES FOR PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL PACKET-SWITCHED SERVICES**
+
+## **Summary**
+
+This Recommendation provides measurement methods for the performance parameters specified in the X.130-Series Recommendations on PSPDN.
+
+###### **Source**
+
+ITU-T Recommendation X.138 was revised by ITU-T Study Group 7 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 9th of August 1997.
+
+## FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, the ITU had/had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 1997
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+## CONTENTS
+
+| | Page |
+|-------------------------------------------------------------------------------------------------------------|-------------|
+| 1 Introduction and scope ..... | 1 |
+| 1.1 General..... | 1 |
+| 1.2 Parameters to be measured ..... | 1 |
+| 1.3 Accuracy requirements of measurements ..... | 2 |
+| 2 References ..... | 2 |
+| 3 Abbreviations ..... | 3 |
+| 4 Measurement architectures..... | 4 |
+| 4.1 General considerations and measurement methodologies ..... | 4 |
+| 4.2 Performance parameters and measurement architectures ..... | 5 |
+| 4.3 Loopbacks..... | 6 |
+| 4.4 Summary of measurement architectures..... | 7 |
+| 5 Measurement method using controlled and monitored source and controlled and monitored sink (C,M/C,M)..... | 9 |
+| 5.1 General assumptions and constraints ..... | 9 |
+| 5.2 Test devices ..... | 9 |
+| 5.3 Trial sequences ..... | 9 |
+| 5.4 Trial failures and recovery..... | 10 |
+| 5.5 Matching packet level reference events..... | 10 |
+| 5.6 Testing during service outages ..... | 10 |
+| 5.7 Access trial..... | 10 |
+| 5.8 Data transfer trial ..... | 12 |
+| 5.9 Disengagement trial ..... | 19 |
+| 5.10 Estimating availability parameters..... | 23 |
+| 6 Method for synchronizing equipment ..... | 28 |
+| 6.1 Equipment synchronization ..... | 28 |
+| Annex A – Calculation of packet-switched network performance statistics ..... | 30 |
+| A.1 Statistics..... | 31 |
+| A.2 Statistical formulas ..... | 34 |
+| A.3 Throughput measurement correction factor..... | 35 |
+| Annex B – Factors which may affect measured performance ..... | 35 |
+| B.1 Signalling rates ..... | 35 |
+| B.2 Data Link Layer window size ..... | 36 |
+| B.3 Packet Layer window size ..... | 36 |
+| B.4 Packet length..... | 36 |
+| B.5 Other virtual connections..... | 36 |
+| B.6 Time of day..... | 36 |
+| B.7 Throughput class..... | 36 |
+| B.8 D-bit usage..... | 36 |
+| B.9 Inter-packet gaps..... | 36 |
+| B.10 Reporting multiple tests made between different locations ..... | 36 |
+| Annex C – Examples of measurement uses..... | 37 |
+| C.1 Examples..... | 37 |
+| C.2 Pairwise and multiple comparisons ..... | 37 |
+
+
+
+# **MEASUREMENT OF PERFORMANCE VALUES FOR PUBLIC DATA NETWORKS WHEN PROVIDING INTERNATIONAL PACKET-SWITCHED SERVICES**
+
+*(revised in 1997)*
+
+# **1 Introduction and scope**
+
+This Recommendation describes architectures for measuring performance values for packet-switched public data networks. Clause 5 defines a measurement method using controlled and monitored sources and sinks. Clause 6 describes a means of synchronizing measurement equipment. Annex A provides detailed information on the calculation of packet-switched network performance statistics. Annex B provides information on factors which can affect their observation and Annex C provides examples of the use of measurements.
+
+Note that other measurement devices and procedures that adhere to the definitions of Recommendations X.134, X.135, X.136 and X.137 are also acceptable for estimating the performance of packet-switched public data networks.
+
+## **1.1 General**
+
+The network performance may need to be measured for reasons including the following:
+
+- to assist network planning;
+- network performance parameters may be included in contractual arrangements;
+- Quality of Service parameters may need to be measured for other Recommendations;
+- network operators may require general service descriptions.
+
+## **1.2 Parameters to be measured**
+
+The speed of service (delay and throughput) performance values for packet-switched public data networks defined in Recommendation X.135 are as follows:
+
+- Call set-up delay (see clause 4/X.135).
+- Data packet transfer delay (see clause 5/X.135).
+- Throughput (see clause 6/X.135).
+- Clear indication delay (see clause 7/X.135).
+- Clear confirmation delay (see clause 7/X.135).
+
+NOTE – Recommendation X.135 does not specify values for this parameter.
+
+The Quality of Service parameters defined in Recommendations X.136 and X.137 are as follows:
+
+- Call set-up error probability (see clause 4/X.136).
+- Call set-up failure probability (see clause 4/X.136).
+- Residual error ratio (see clause 5/X.136).
+- Reset stimulus probability (see clause 5/X.136).
+- Reset probability (see clause 5/X.136).
+- Premature disconnect stimulus probability (see clause 5/X.136).
+- Premature disconnect probability (see clause 5/X.136).
+- Call clear failure probability (see clause 6/X.136).
+- Availability (see Recommendation X.137).
+
+It should be noted that the expected values for many of the various Quality of Service parameters defined in Recommendations X.136 make their estimation within reasonable bounds likely to take an excessive number of samples (during which time the structure or performance of the network may have changed). Thus, it may not be practical to estimate these parameters between a single pair of interfaces. However, it may be possible to estimate the values with more certainty averaged over a whole network.
+
+## 1.3 Accuracy requirements of measurements
+
+### 1.3.1 Measurement objectives
+
+There is always a cost versus sample size trade off which must be resolved when attempting to estimate a given parameter, and as the cost of taking an observation can have a considerable effect on the final estimate achieved, this Recommendation does not recommend a minimum number of observations. Additionally, in certain situations, estimating the parameter with great precision may not be as critical as in others.
+
+Estimates of means, variances, percentile, modes, maxima and minima are all examples of parameter estimation. In reporting any such estimated parameters, it is always recommended that a measure of the precision of the estimate be included. The variance of the estimate, or a confidence interval about the estimate, are two common methods of expressing the estimate's precision.
+
+### 1.3.2 Reference events
+
+The time of occurrence of various reference events is the basis for the definitions of the speed of service parameters listed above. In this Recommendation and in Recommendation X.139, times are specified with respect to exit and entry events relative to the test equipment. Thus, the time of occurrence of an entry event into such a DTE is the time at which the last bit of the closing flag of the layer two frame carrying the packet enters the DTE from a circuit section and the time of occurrence of an exit event from such a DTE is the time at which the first bit of the address field of the layer two frame carrying the packet enters the circuit section from the DTE.
+
+Comprehensive lists of X.25 and X.75 packet layer reference events are given in Tables 1/X.134 and 2/X.134, and the definition of a packet-layer reference event is given in clause 3/X.134.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published.
+
+- ITU-T Recommendation X.1 (1996), *International user classes of service in, and categories of access to, public data networks and Integrated Services Digital Networks (ISDNs)*.
+- ITU-T Recommendation X.2 (1996), *International data transmission services and optional user facilities in public data networks and ISDNs*.
+- ITU-T Recommendation X.25 (1996), *Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and connected to public data networks by dedicated circuit*.
+- ITU-T Recommendation X.75 (1996), *Packet-switched signalling system between public networks providing data transmission services*.
+- ITU-T Recommendation X.96 (1993), *Call progress signals in public data networks*.
+- ITU-T Recommendation X.110 (1996), *International routing principles and routing plan for public data networks*.
+- ITU-T Recommendation X.134 (1997), *Portion boundaries and packet-layer reference events: Basis for defining packet-switched performance parameters*.
+- ITU-T Recommendation X.135 (1997), *Speed of service (delay and throughput) performance values for public data networks when providing international packet-switched services*.
+
+- ITU-T Recommendation X.136 (1997), *Accuracy and dependability performance values for public data networks when providing international packet-switched services.*
+- ITU-T Recommendation X.137 (1997), *Availability performance values for public data networks when providing international packet-switched services.*
+- ITU-T Recommendation X.139 (1997), *Echo, drop, generator and test DTEs for measurement of performance values in public data networks when providing international packet-switched services.*
+- CCITT Recommendation X.140 (1992), *General quality of service parameters for communication via public data networks.*
+- ITU-T Recommendation X.213 (1995), *Information technology – Open Systems Interconnection – Network service definition.*
+- CCITT Recommendation X.323 (1988), *General arrangements for interworking between Packet-Switched Public Data Networks (PSPDNs).*
+
+# 3 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|-------------------------------------------|
+| ccfp | Call Clear Failure Probability |
+| cep | Call set-up Error Probability |
+| cfp | Call set-up Failure Probability |
+| cid | Clear Indication Delay |
+| csd | Call Set-up Delay |
+| DCE | Data Circuit-terminating Equipment |
+| dlb | Data Loopback |
+| dpd | Data Packet transfer Delay |
+| DTE | Data Terminal Equipment |
+| MTBSO | Mean Time between Service Outage |
+| OSI | Open Systems Interconnection |
+| pdsp | Premature Disconnect Stimulus Probability |
+| PE | Protocol Event |
+| PSPDN | Packet-Switched Public Data Network |
+| PSTN | Public Switched Telephone Network |
+| PVC | Permanent Virtual Circuit |
+| rer | Residual Error Ratio |
+| rlb | Rooting Loopback |
+| rp | Reset Probability |
+| RR | Receiver Ready |
+| rsp | Reset Stimulus Probability |
+| sa | Service Availability |
+| SABM | Set Asynchronous Balanced Mode |
+| SABME | Set Asynchronous Balanced Mode Extended |
+| STE | Signalling Terminal Equipment |
+| SVC | Switched Virtual Call |
+| tc | Throughput Capacity |
+
+# 4 Measurement architectures
+
+This clause provides an overview of the various architectures which may be used to measure the Quality of Service parameters for packet-switched public data networks as specified in Recommendations X.135, X.136 and X.137, together with general considerations for measuring the performance parameters.
+
+## 4.1 General considerations and measurement methodologies
+
+A general measurement methodology involves setting up a call to a data sink and generating a known and sufficient quantity of packet traffic. The protocol and user information signals transferred across the user/network (DTE/DCE) interfaces are observed in real time and a chronological event history is compiled. This history can then be analysed to provide a measurement of the performance parameters.
+
+Thus, measurements of packet-switched networks require a source, a sink, and one or more monitors. A source transmits call set-up requests, data packets, or call clearing requests through the portions under test. A sink receives and acknowledges call processing or data from the portions under test. The function of the monitor is to record (or record and timestamp) the relevant reference events. The monitor function(s) should be placed as near as possible to the boundaries of the portions under test. Differences in location between the monitor functions and the appropriate boundaries must be compensated for in the calculation of the performance of the portions.
+
+Sources and sinks can be either controlled or non-controlled. Controlled sources and sinks are under the control of the test programme and must respond quickly to events exiting the portions under test. Examples of controlled sources or sinks are stand-alone test equipment, special software within network equipment (for example within packet switches), and special programs within customer applications. Non-controlled sources or sinks are sources or sinks not under the direct control of a test programme. Non-controlled sources and sinks may not always respond quickly to network events. The most important examples of non-controlled sources and sinks are live customer applications, generating and receiving traffic according to their own needs.
+
+A monitor function can be provided by stand-alone test equipment "T" connected at the appropriate X.25 or X.75 interface. Alternatively, a monitor function can reside in the test device that provides the source or sink function. Network equipment (such as packet switches) and customer equipment (for example, DTEs) can also be programmed to record reference events and serve the monitor function.
+
+Various combinations of monitors and controlled and non-controlled sources and sinks can be used to measure packet network performance. Figure 1 illustrates some of these possibilities. The architectures are identified by specifying whether the source and sink are controlled (C) or non-controlled (N), and whether the two portion boundaries are monitored (M) or unmonitored (U). The notation (C,M/N,U) indicates a controlled source, a non-controlled sink, monitored at the source boundary, and no monitoring at the sink boundary. When both the source and the sink are controlled and there are time synchronized monitor functions at both boundaries (C,M/C,M), all the parameters defined in Recommendations X.135, X.136 and X.137 can be measured without further assumptions. Other test architectures are more limited because they cannot be used to measure all of the parameters.
+
+Some applications of the (C,M/C,U) architecture using drop, generator and test DTEs are described in Recommendation X.139.
+
+A means of synchronizing monitoring equipment for use in conjunction with a (C,M/C,M) architecture, to measure throughput and delay, is described in clause 4.
+
+Subclause 2.2 lists the primary performance parameters (as specified in Recommendations X.135, X.136 and X.137) and identifies the test architectures that can be used to measure them. In some cases the test architectures can be used to measure parameters only if certain additional assumptions are made and such assumptions are described.
+
+
+
+Source DTE
+
+X.25
+
+PSPDN(s) to be measured
+
+X.25
+
+Sink DTE
+
+Monitor
+
+Generic test architecture
+
+Controlled source DTE combined with monitor
+
+X.25
+
+PSPDN(s) to be measured
+
+X.25
+
+Controlled sink DTE combined monitor
+
+C,M,/C,M architecture
+
+Controlled source DTE
+
+X.25
+
+PSPDN(s) to be measured
+
+X.25
+
+Controlled sink DTE
+
+Monitor
+
+C,U/C,M architecture
+
+Customer application (Non-controlled source DTE)
+
+X.25
+
+PSPDN(s) to be measured
+
+X.25
+
+Customer application (Non-controlled sink DTE)
+
+Monitor
+
+Monitor
+
+N,M/N,M architecture
+
+T0710490-91/d01
+
+PSPDN Packet-switched public data network
+
+Four diagrams illustrating different test architectures for measuring PSPDN(s) to be measured. Each diagram shows a Source DTE connected to a Sink DTE via an X.25 interface, with a Monitor connected to the X.25 interface. The architectures are: 1. Generic test architecture: Source DTE, X.25, PSPDN(s) to be measured, X.25, Sink DTE, with Monitors at both X.25 interfaces. 2. Controlled source DTE combined with monitor: Source DTE, X.25, PSPDN(s) to be measured, X.25, Sink DTE, with a Monitor at the source X.25 interface. 3. C,U/C,M architecture: Source DTE, X.25, PSPDN(s) to be measured, X.25, Sink DTE, with a Monitor at the sink X.25 interface. 4. N,M/N,M architecture: Source DTE, X.25, PSPDN(s) to be measured, X.25, Sink DTE, with Monitors at both X.25 interfaces. The diagrams are labeled: Generic test architecture, C,M,/C,M architecture, C,U/C,M architecture, and N,M/N,M architecture. A reference number T0710490-91/d01 is also present.
+
+Figure 1/X.138 – Example test architectures
+
+## 4.2 Performance parameters and measurement architectures
+
+### 4.2.1 Call set-up delay
+
+Call set-up delay can best be measured with monitors at both portion boundaries. If the sink is known to accept set-up requests with constant or insignificant delay and if the probability of call set-up error events is insignificant, call set-up delay can be measured without a sink-side monitor by subtracting the known sink delay from the one-sided measurement.
+
+### **4.2.2 Data packet transfer delay and clear indication delay**
+
+Both data packet transfer delay and clear indication delay require a sink-side monitor time synchronized with either a source-side monitor or with the source itself.
+
+### **4.2.3 Clear confirmation delay**
+
+Clear confirmation delay only requires a monitored source (or sink). As it is a local parameter, clear confirmation delay is not discussed further in this Recommendation.
+
+### **4.2.4 Throughput capacity**
+
+Throughput capacity measurements require controlled sources and sinks rapidly transmitting and acknowledging data packets. In effect, the throughput capacity of the source and sink must be greater than or equal to the throughput capacity of the portions under test.
+
+As noted in 4.2/X.135, steady state throughput is the same when measured at every pair of portion boundaries of a virtual connection. Thus, assuming no user data bits are lost, added, or inverted in transfer, a steady state throughput measurement can be made at any single portion boundary within a virtual connection.
+
+### **4.2.5 Call set-up error probability**
+
+Call set-up error probability can only be measured if there is monitoring at both portion boundaries.
+
+### **4.2.6 Call set-up failure probability**
+
+Call set-up failure probability can best be measured with monitors at both boundaries. The sink device must be fast enough that it does not significantly contribute to the probability of timing out. If the sink can be relied upon to accept every call set-up attempt, call set-up failure probability can be measured without a monitor at the sink-side.
+
+### **4.2.7 Residual error ratio**
+
+Residual error ratio requires monitoring at both boundaries or a controlled source transmitting a known sequence of user data. Both these architectures allow the transmitted and received user data to be compared.
+
+### **4.2.8 Reset and premature disconnect performance**
+
+Reset stimulus probability and premature disconnect stimulus probability can be measured by a single monitor at a single boundary. Reset probability and premature disconnect probability require monitors at both boundaries. These allow for distinguishing the resets and clears that exit the portions under test from the resets and clears stimulated at the distant boundary.
+
+### **4.2.9 Call clearing failure probability**
+
+Call clearing failure probability can best be measured with monitors at both boundaries. If the transmission of the clear request by a controlled test device is reasonably well synchronized with the sink-side monitor, the monitor can anticipate clearing and observe call clearing failures.
+
+## **4.3 Loopbacks**
+
+Loopbacks provide an alternative measurement architecture allowing a single test device to serve as both a source and a sink. Figure 2 illustrates the two possibilities for using loopbacks in packet-switched network performance measurements.
+
+Routing loopbacks are established by the packet network(s) by routing virtual circuits through one or more switching functions (or through multiple networks) back to the originating interface. The result is a virtual circuit that originates on one logical channel and terminates on a different logical channel on the same test device. A monitor at the portion boundary can then be used to measure all of the primary performance parameters. If the routing loopback is significantly different from an ordinary virtual connection through the portions (for example, in the number of switches or distance traversed), the performance calculations must compensate for those differences.
+
+
+
+Controlled source DTE and sink DTE
+
+X.25
+
+PSPDN(s) to be measured
+
+Call routed back to the source DTE
+
+Monitor
+
+Routing loopback architecture
+
+Controlled source and sink DTE
+
+X.25
+
+PSPDN(s) to be measured
+
+X.25
+
+Data loopback (or echo) DTE
+
+Monitor
+
+T0710500-91/d02
+
+Data loopback architecture
+
+Figure 2/X.138 – Loopback architectures. The diagram shows two architectures: Routing loopback and Data loopback. In the Routing loopback architecture, a 'Controlled source DTE and sink DTE' (represented by a triangle) connects via an 'X.25' line to a 'PSPDN(s) to be measured' (represented by an oval). A 'Monitor' (represented by a square) is connected to the X.25 line. A note indicates 'Call routed back to the source DTE'. In the Data loopback architecture, the 'Controlled source and sink DTE' connects via an 'X.25' line to the 'PSPDN(s) to be measured'. The 'PSPDN(s) to be measured' then connects via another 'X.25' line to a 'Data loopback (or echo) DTE' (represented by a triangle). A 'Monitor' is also connected to the first X.25 line. The reference 'T0710500-91/d02' is noted at the bottom right of the diagram.
+
+**Figure 2/X.138 – Loopback architectures**
+
+Data loopback can be used to measure data packet delay, throughput capacity and residual error ratio. A data loopback can be provided by special software within network equipment, by stand-alone test equipment, or by special test programmes within customer applications. A data loopback device terminates the virtual connection, removes the data from the incoming data packets and returns that data through the same virtual connection in new outgoing data packets. The data loopback should rapidly acknowledge data packets and return the user data without significant delay or error. If the portions under test have symmetric delays and residual error ratios, data packet delay and residual error ratio are half of what is calculated by comparing outgoing and incoming data packets at a source-side monitor. The throughput capacity measurements made at a monitored boundary yield the smaller value of the throughput capacity for the two directions.
+
+An application of these techniques, using echo and test DTEs is described in Recommendation X.139.
+
+## 4.4 Summary of measurement architectures
+
+The possible combinations of controlled and non-controlled sources and sinks and monitored and unmonitored boundaries yield twelve different architectures. Routing loopbacks and data loopbacks create two more possible architectures. In Table 1 these 14 architectures are listed with an indication of their ability to measure each primary parameter.
+
+**Table 1/X.138 – Summary of measurement architectures**
+
+| Measurement | Primary parameters | | | | | | | | | | | |
+|--------------|--------------------|-----|----|-----|-----|-----|-----|-----|----|------|-----|------|
+| Architecture | csd | dpd | tc | cid | cep | cfp | rer | rsp | rp | pdsp | pdp | ccfp |
+| CM/CM | Y | Y,1 | Y | Y,1 | Y | Y | Y | Y | Y | Y | Y | Y |
+| NM/CM | Y | Y,1 | N | Y,1 | Y | Y | Y | Y | Y | Y | Y | Y |
+| CM/NM | Y,2 | Y,1 | N | Y,1 | Y | Y,2 | Y | Y | Y | Y | Y | Y |
+| NM/NM | Y,2 | Y,1 | N | Y,1 | Y | Y,2 | Y | Y | Y | Y | Y | Y |
+
+**Table 1/X.138 – Summary of measurement architectures (concluded)**
+
+| Measurement | Primary parameters | | | | | | | | | | | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|------|----|------|------|------|------|-----|-----|------|-----|------|
+| Architecture | csd | dpd | tc | cid | cep | cfp | rer | rsp | rp | pdsp | pdp | ccfp |
+| CU/CM | N | Y,3 | Y | Y,3 | N,4 | N,4 | Y,5 | Y,6 | N,7 | Y,6 | N,7 | Y,3 |
+| CU/NM | N | Y,3 | N | Y,3 | N,4 | N,4 | Y,5 | Y,6 | N,7 | Y,6 | N,7 | Y,3 |
+| CM/CU | Y,8 | N | Y | N | N | Y,9 | N | Y,6 | N,7 | Y,6 | N,7 | N |
+| NM/CU | Y,8 | N | N | N | N | Y,9 | N | Y,6 | N,7 | Y,6 | N,7 | N |
+| NM/NU | N,10 | N | N | N | N | Y,9 | N | Y,6 | N,7 | Y,6 | N,7 | N |
+| CM/NU | N,10 | N | N | N | N | Y,9 | N | Y,6 | N,7 | Y,6 | N,7 | N |
+| NU/NM | N | N | N | N | N | N | N | Y,6 | N,7 | Y,6 | N,7 | N |
+| NU/CM | N | N | N | N | N | N | N | Y,6 | N,7 | Y,6 | N,7 | N |
+| rlb | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y | Y |
+| dlb | N,13 | Y,11 | Y | N,13 | N,13 | N,13 | Y,12 | Y,6 | N,7 | Y,6 | N,7 | N,13 |
+| csd Call Set-up Delay dpd Data Packet transfer Delay tc Throughput Capacity cid Clear Indication Delay cep Call set-up Error Probability cfp Call set-up Failure Probability rer Residual Error Ratio rsp Reset Stimulus Probability rp Reset Probability pdsp Premature Disconnect Stimulus Probability pdp Premature Disconnect Probability ccfp Call Clear Failure Probability rlb Routing Loopback dlb Data Loopback 1 Assumes the two monitors are synchronized 2 Assumes the non-controlled sink is reasonably fast in responding 3 Assumes the source's creation of packets is synchronized with the sink-side monitor 4 Cannot observe event "d" (see Figure 2/X.136) 5 Assumes the user data created by the source is known in advance 6 At the monitored boundary only 7 Cannot distinguish between events originating within the portions and events caused by stimuli at the distant boundary 8 Assumes there are no call set-up error events and the sink accepts the call with known or insignificant delay 9 Assumes no unsuccessful call set-ups due to the sink devices 10 Cannot exclude delays due to the sink devices 11 Assumes dpd is equal in both directions 12 Assumes rer is equal in both directions 13 The data loopback function only operates in the user data transfer phase | | | | | | | | | | | | |
+
+# 5 Measurement method using controlled and monitored source and controlled and monitored sink (C,M/C,M)
+
+Three types of test procedures (access, data transfer, and disengagement) are used to obtain values for the primary parameters described in this Recommendation. Values for call set-up delay, call set-up error probability and call set-up failure probability are obtained using access trials. Values for data packet transfer delay, throughput capacity, residual error ratio, reset stimulus probability, reset probability, premature disconnect stimulus probability and premature disconnect probability are obtained using data transfer trials. Clear indication delay and call clear failure probability values are obtained using disengagement trials. The availability parameters, service availability and mean time between service outages, are measured using a combination of the three types of performance trials.
+
+Each performance trial consists of two procedures:
+
+- *Data extraction:* Packet-layer reference events associated with the trial are created (or observed), time stamped and recorded at the appropriate section boundaries.
+- *Data reduction:* The recorded reference event histories are processed, consistent with the performance parameter definitions, to determine the trial's outcome.
+
+## 5.1 General assumptions and constraints
+
+The following text describes specific performance trials and data extraction and reduction procedures. Other equivalent (or superior) procedures can be designed and used. General assumptions and constraints which underlie these test procedures are specified throughout the text.
+
+## 5.2 Test devices
+
+These procedures use the (C,M/C,M) test mode (described in clause 4). The procedures assume that the test devices conform fully to the protocols employed at the monitored interfaces, that is, in addition to generating the packet-level reference events appropriate for the particular trial, the test devices should respond correctly to the events generated by the section under test. The test devices should correctly record and accurately time stamp every reference event on the relevant logical channels. All such reference events should be recorded and time stamped regardless of whether the event was expected. The complete record of reference events will be used in the determination of the trial's outcome.
+
+## 5.3 Trial sequences
+
+Each of the data extraction procedures defines an elementary sequence of steps in which a single access trial, one or more data transfer trials, or a single disengagement trial is conducted. To satisfy any common measurement objective, multiple trials must be completed. The trials described here may be conducted in any arbitrary sequence linked together using the trial linkages described below. These linkages facilitate repeated trials for a single parameter and economical testing of several parameters.
+
+The following two procedures show how to achieve the initial states of the access, data transfer and disengagement trials. There are many possible final states of the $B_i$ and $B_j$ boundaries at the end of these trials. A generic approach is taken which ensures the attainment of the desired initial states regardless of the current state of the $B_i$ and $B_j$ boundaries. The procedures are written with reference to achieving a state at a particular boundary.
+
+### 5.3.1 Procedure for establishing state p1
+
+The following steps will create state p1 at a boundary:
+
+- 1) issue an SABM/SABME if the data link layer is not available and up (r1);
+- 2) at an X.25/X.75 boundary, issue a DTE/STE clear request on the chosen logical channel;
+- 3) wait for confirmation of clearing.
+
+### 5.3.2 Establishing p4/d1 at a boundary
+
+The following steps will create the state p4/d1 at a boundary:
+
+- 1) get to state p1 [see 1) above];
+- 2) at the $B_i$ boundary, issue a call request with the chosen logical channel, called and calling addresses;
+- 3) at remote boundary $B_j$ , wait for an incoming call or call request packet [see 2)] and issue the corresponding call accepted or call connected packet;
+- 4) wait for the corresponding call connected packet at the $B_i$ boundary.
+
+NOTE 1 – A channel allowed for incoming calls must be cleared at the called DTE.
+
+NOTE 2 – The virtual connection may be established on a logical channel other than the one originally chosen at the called DTE.
+
+## 5.4 Trial failures and recovery
+
+None of the data extraction or data reduction procedures include detailed recovery algorithms for recovering from failed trials (for example, failed call set-up attempts, resets, restarts or residual error). The trial linkages assume nothing about the states of the interfaces following a trial, so recovery routines are not absolutely necessary. However, all of the procedures (data extraction and data reduction) could be made more robust by implementing failure recovery mechanisms.
+
+## 5.5 Matching packet level reference events
+
+The data reduction procedures all require matching of corresponding packet level reference events at the two test boundaries. In general, any reasonable method for matching Protocol Events (PEs) is sufficient. If the clocks in the test devices are synchronized, timing information can be used in the method. If the section under test preserves data packet sequence numbers, that information can be used in the method that matches data packets. Data packet matching may also be done by comparing user data fields. If the data extraction procedures also include failure recovery mechanisms, the data reduction procedures must be more sophisticated in their ability to match packets (recognizing and compensating for lost, extra or errored data packets).
+
+## 5.6 Testing during service outages
+
+By definition, the performance of the primary parameters is not to be evaluated during service outages. In each of the data reduction procedures a decision is made as to whether the service was available during the test. If it was available, the trial results are included in the cumulative statistics used in evaluating the primary parameters. If the service was unavailable, the trial results may be used only in measuring availability performance.
+
+Determining the availability state in the data reduction phase is a difficult problem. A single trial failure is insufficient to declare unavailability, so in the absence of other evidence, the service is assumed to be available. However, if this trial was contained in a five minute interval where one or more primary parameters performed worse than their decision criteria (see Table 2/X.137), the service should be declared unavailable. Thus, the availability decision performed in each individual data reduction procedure should take into consideration all trial results within plus or minus five minutes. Decisions about service availability can be delayed until all of the individual trials have been analysed. If this approach is used, the primary performance parameter cumulative counters should be corrected retroactively wherever outages are discovered.
+
+## 5.7 Access trial
+
+Values for call set-up delay, call set-up error probability and call set-up failure probability can be obtained using the following procedures.
+
+### 5.7.1 Access trial data extraction
+
+Figure 3 shows the access trial data extraction procedure. Boundaries $B_i$ and $B_j$ are at X.25 or X.75 interfaces bounding the set of virtual connection sections under test.
+
+
+
+```
+
+sequenceDiagram
+ participant PA as Process A
+ participant PB as Process B
+ PA->>PB: Section under test
+ PA->>PA: Start trial and timer
+Begin recording
+reference events
+ PB->>PB: Start trial and timer
+Begin recording
+reference events
+ PA->>B_i: Transmit call
+request or incoming
+call packet
+ B_i-->>PB: Call request/
+Incoming call
+ PB->>PB: Receive call
+request or incoming
+call packet
+ PB->>B_j: Transmit call
+accepted or call
+connected packet
+ B_j-->>PA: Call accepted/
+Call connected
+ PA->>PB: Timeout
+ PA->>PA: End trial
+ PB->>PB: Optional
+timeout
+ PB->>PA: Optional
+ PB->>PB: End trial
+
+```
+
+Legend:
+ —————> Control flow
+ - - - - -> Data flow
+
+Sequence diagram showing the access trial data extraction procedure between Process A and Process B. Process A starts a trial and timer, then transmits a call request packet. Process B receives it, then transmits a call accepted packet. Process A receives it and ends the trial. Process B also ends the trial. Vertical lines B\_i and B\_j mark the transmission and reception of the call request packet. A 'Section under test' arrow connects the start of both processes. A 'Timeout' arrow points from Process A to its 'End trial' box. An 'Optional timeout' arrow points from Process B to its 'End trial' box. An 'Optional' arrow connects the 'End trial' boxes of both processes. A legend at the bottom indicates solid lines for control flow and dashed lines for data flow.
+
+T0710510-91/d03
+
+**Figure 3/X.138 – Access trial data extraction procedure**
+
+Logical channels of boundaries $B_i$ and $B_j$ must initially be in state p1. Process A will transmit a call request (or incoming call) packet and wait for the corresponding call accepted (or call connected) packet. Process A should wait no less than the 200 second call set-up failure threshold.
+
+Timing of Process A and Process B must be sufficiently well synchronized so that Process B will be ready to receive the corresponding call request (or incoming call) packet. (In the case of a data loopback test arrangement, no synchronization is required). Process B will receive that packet and respond with the appropriate call accepted (or call connected) packet. The time required for this response will be subtracted from call set-up delay calculations; however, this response interval should be as small as possible to avoid substantially increasing the probability of exceeding the 200 second call set-up failure threshold.
+
+### 5.7.2 Access trial data reduction
+
+Figure 4 shows the access trial data reduction procedure. Each access trial is classified as illustrated in Figure 5. Figure 6 illustrates the steps needed to calculate call set-up delay for successful call set-up attempts. If the service was available during this trial, cumulative call set-up statistics may be updated. Cumulative counters can be kept for total call set-up errors, total call set-up failures and total call set-up delay (during successful attempts). Estimates of call set-up error probability, call set-up failure probability and mean call set-up delay can then be created by dividing these cumulative counters by a cumulative count of call set-up attempts.
+
+Figure 5 shows the use of the record of packet-level reference events (identified as events "A", "B", "C" and "D") to determine if the call set-up attempt was successful or unsuccessful. Event "D" is said to have occurred only if the call accepted (or call connected) packet was received at $B_i$ within the 200 second call set-up failure threshold. Otherwise it is assumed not to have occurred. If this process classifies any access trials as "Unsuccessful trial – cause outside portion boundaries", this is indicative of defective test devices which must be corrected.
+
+Calculating call set-up delay (see Figure 6) first requires matching packets recorded at boundary $B_i$ with packets recorded at boundary $B_j$ (see 3.3). The exact timer values used in calculating call set-up delay depend on the location of the boundaries $B_i$ and $B_j$ , and the direction the packets are moving across those boundaries.
+
+## 5.8 Data transfer trial
+
+Values for data packet transfer delay, throughput capacity, residual error ratio, reset stimulus probability, reset probability, premature disconnect stimulus probability and premature disconnect probability can be obtained using the following procedures.
+
+### 5.8.1 Data transfer trial data extraction
+
+Figure 7 shows the data transfer trial data extraction procedure. In this case, a data loopback architecture is used. Boundaries $B_i$ and $B_j$ are at X.25 or X.75 interfaces bounding the set of virtual connection sections under test.
+
+
+
+```
+
+graph TD
+ A[Classify access trial outcomes
+(Figure 5)] --> B[For a successful call set-up perform
+preliminary call set-up delay calculation
+(Figure 6)]
+ B --> C{Was the service available?}
+ C -- No --> D[Done]
+ C -- Yes --> E[Update appropriate statistics for call set-up
+failure probability, call set-up error
+probability and call set-up delay]
+ E --> F[Done]
+
+```
+
+The flowchart illustrates the data transfer trial data extraction procedure. It begins with a process box labeled "Classify access trial outcomes (Figure 5)". An arrow points down to another process box labeled "For a successful call set-up perform preliminary call set-up delay calculation (Figure 6)". From there, an arrow points down to a decision diamond labeled "Was the service available?". To the left of the diamond is the text "(Note)". The "No" path from the diamond leads to a process box labeled "Done". The "Yes" path leads down to a process box labeled "Update appropriate statistics for call set-up failure probability, call set-up error probability and call set-up delay". An arrow from this box points down to a final process box labeled "Done".
+
+T0710520-91/d04
+
+Flowchart of the data transfer trial data extraction procedure.
+
+NOTE – If the appropriate statistical considerations have been addressed, this decision may be used in estimating availability.
+
+**Figure 4/X.138 – Access trial data reduction procedure**
+
+
+
+```
+
+graph TD
+ Start([A occurs]) --> D{Did D occur?}
+ D -- Yes --> C{Did C occur?}
+ D -- No --> B{Did B occur?}
+ C -- Yes --> S[Successful call set-up]
+ C -- No --> E[Call set-up error]
+ B -- No --> F[Call set-up failure]
+ B -- Yes --> C2{Did C occur?}
+ C2 -- Yes --> F
+ C2 -- No --> U[Unsuccessful trial cause outside test portion]
+
+```
+
+**Successful call set-up**
+ $(A < B < C < D)$
+
+**Call set-up error**
+ $(A < D)$
+
+**Call set-up failure**
+ $(A < B < C)$ or $(A)$
+
+**Unsuccessful trial (cause outside test portion)**
+ $(A < B)$
+
+A, B Call request/Incoming call PE's
+ C, D Call accepted/Call connected PE's
+
+The notation $(A < B)$ means that event A occurred before event B.
+
+T0710530-91/d05
+
+A timing diagram illustrating event sequence between two boundaries:
+
+ - Two vertical lines represent boundaries $B_i$ (left) and $B_j$ (right).
+
+ - Event A occurs at $B_i$ , followed by event B at $B_j$ , indicated by a rightward arrow.
+
+ - Event C occurs at $B_j$ , followed by event D at $B_i$ , indicated by a leftward arrow.
+
+Flowchart for classifying an access trial outcome based on event timing.
+
+**Figure 5/X.138 – Classifying an access trial outcome**
+
+
+
+(Note)
+
+```
+
+graph TD
+ A["Relate call set-up packets at Bi
+with call set-up packets at Bj"] --> B["Compute call set-up delay
+(using the appropriate bit times at both boundaries)"]
+ B --> C[Done]
+
+```
+
+T0710540-91/d06
+
+Flowchart for call set-up delay calculation showing three steps: relating packets at boundaries Bi and Bj, computing delay using bit times, and completion.
+
+NOTE – Any reasonable method may be utilized.
+
+**Figure 6/X.138 – Call set-up delay calculation**
+
+
+
+Process A
+
+---
+
+Start trial and timer
+Initialize X, Y, N
+
+---
+
+Send request
+for data packet
+
+---
+
+Wait X; Y = Y + 1
+Y > N?
+
+Process B
+
+---
+
+Start trial and
+optional timer
+Begin recording
+reference events
+
+—————> Control flow
+ - - - - -> Data flow
+
+X Interpacket delay
+Y Number of packets sent
+N Number of trial packets to send
+
+T0710550-91/d07
+
+Detailed diagram of data transfer trial data extraction procedure between Process A and Process B across a section under test with boundaries Bi and Bj. It shows control flow for initialization, request sending, packet transmission, and trial ending, alongside data flow for packets. Control flow arrow Data flow arrow
+
+**Figure 7/X.138 – Data transfert trial data extraction procedure**
+
+Logical channels at boundaries $B_i$ and $B_j$ must be in state p4/d1. Process A will transmit N-data packets. If throughput capacity is being tested, Process A should not delay the transmission of successive data packets except in response to window closings (in the figure: $X = 0$ ).
+
+Process B should be ready to receive and record the reception of the corresponding data packets. (Warning: if packet segmentation or recombination occurs in the sections under test, the expected number of data packets at $B_j$ may be different from the data packets transmitted by Process A.) If throughput capacity is being tested, Process B should not delay acknowledging frames and packets received. Clocks in Process A and Process B must be sufficiently well synchronized (unless a data loopback is utilised) so that the difference between the two clocks is an insignificant fraction of the likely data packet transfer delay value. Synchronization accuracy of one or two milliseconds is usually sufficient.
+
+Using a combination of timers and control mechanisms, the total time allowed for Process B to receive the last data packet from Process A should be at least the 200 second residual error ratio threshold.
+
+If the trial is being used to evaluate reset probability, reset stimulus probability, premature disconnect probability and premature disconnect stimulus probability, both Process A and Process B should respond to resets, reset stimuli, premature disconnects and premature disconnect stimuli as specified in Recommendations X.25 and X.75. Process A should re-establish the virtual connection if it is prematurely disconnected. After a reset or connection re-establishment, Process A should resume transmission of data packets.
+
+User data bits lost or errored in conjunction with resets or clears are not counted as residual errors. User data bits retransmitted by Process A in order to recover from a reset or clear are not counted as residual errors.
+
+### 5.8.2 Data transfer trial data reduction
+
+Figure 8 shows the data transfer trial data reduction procedure. Using the complete record of protocol events, resets and premature disconnects are counted as illustrated in Figure 9. The procedure of Figure 10 is used to estimate the residual error ratio for trials in which no resets or premature disconnects occur. Figure 11 illustrates the steps needed to calculate data packet transfer delay and throughput capacity for trials in which the residual error ratio estimate is zero. The preliminary information derived in these three steps is used together with other trial results to determine if the service was available during this trial. If the service was available, cumulative data transfer statistics may be updated.
+
+Cumulative counters can be kept for total reset events, total reset stimuli, total premature disconnect events, and total premature disconnect stimuli. Estimates of reset probability, reset stimulus probability, premature disconnect probability and premature disconnect stimulus probability can then be created by dividing those counters by a cumulative count of the time during which data transfer was tested. Long-term cumulative counters can also be kept for the number of user data bits transmitted, the number of user data bits received, the number of user data bits lost, the number of errored user data bits received, the number of extra user data bits received, the number of user data bits successfully transmitted and received. Residual error ratio can then be estimated using the equations in Figure 10. For successful data transfer attempts, total data packet transfer delay and total data packets transferred can be accumulated. The ratio of these two numbers is an estimate of mean data packet transfer delay. For successful throughput capacity trials, total bits transferred and total time in those trials (as defined in Recommendation X.135) can be accumulated. Dividing these numbers yields an estimate of the throughput capacity.
+
+Figure 9 uses the record of packet-level reference events to evaluate the resets and premature disconnects that occurred during the trial. The equations presented depend on the fact that a reset (or premature disconnect) event between $B_i$ and $B_j$ will cause two reset (or clear) packets to exit the section(s) under test while a reset (or premature disconnect) stimulus will cause one reset (or clear) packet to enter the sections and one to exit.
+
+
+
+```
+
+graph TD
+ A[Perform preliminary calculations for reset probability, reset stimulus probability, premature disconnect probability and premature disconnect stimulus probability (Figure 9)] --> B{For this trial are any non-zero?}
+ B -- No --> C[Perform preliminary residual error rate calculation (Figure 10)]
+ B -- Yes (Note 1) --> D{Is rer > 0 for this trial?}
+ C --> D
+ D -- No --> E[Perform preliminary data packet transfer delay calculations (Figure 11)]
+ D -- Yes (Note 2) --> F[If N is large enough, and X = 0 perform preliminary calculations of throughput capacity]
+ E --> F
+ F --> G{Was service available?}
+ D --> G
+ B --> G
+ G -- Yes --> H[Update appropriate statistics for reset probability, reset stimulus probability, premature disconnect probability, premature disconnect stimulus probability, residual error ratio, data packet transfer delay and throughput capacity]
+ G -- No (Note 3) --> I[Done]
+ H --> I
+
+```
+
+T0710560-91/d08
+
+Flowchart of the Data transfer trial data reduction procedure. The process starts with preliminary calculations for reset and disconnect probabilities (Figure 9). A decision is made if any are non-zero. If yes, it proceeds to a service availability check. If no, it calculates the residual error rate (Figure 10) and checks if it is greater than zero. If yes, it proceeds to the service availability check. If no, it calculates data packet transfer delay (Figure 11) and, if N is large enough and X=0, calculates throughput capacity. Both paths lead to a service availability check. If service is available, statistics are updated. If not, the process is done. A reference T0710560-91/d08 is noted.
+
+NOTE 1 – More sophisticated procedures may recover from resets and premature disconnects, and permit residual error ratio, data packet transfer delay and throughput capacity calculations.
+
+NOTE 2 – More sophisticated procedures may recover from residual errors and permit data packet transfer delay throughput capacity calculations.
+
+NOTE 3 – This decision may be used in estimating service availability if the appropriate statistical considerations have been met.
+
+**Figure 8/X.138 – Data transfer trial data reduction procedure**
+
+
+
+```
+
+graph TD
+ subgraph Left_Column [Reset Calculations]
+ L1[Denote by "r" the count of reset indication or request packets (or restart indication or request packets for PVC's) exiting the connection section between Bi and Bj] --> L2[Denote by "si" and "sj" the counts of resets stimulated at Bi and Bj]
+ L2 -- "(Note)" --> L3[Approximate the total reset event count during the trial by:
+R = [ r - (Si + Sj) ] / 2]
+ L3 --> L4[Done]
+ end
+
+ subgraph Right_Column [Premature Disconnect Calculations]
+ R1[Denote by "c" the count of clear indication or request packets (or restart indication or request packets for SVC's) exiting the connection section between Bi and Bj] --> R2[Denote by "di" and "dj" the counts of premature disconnects stimulated at Bi and Bj]
+ R2 -- "(Note)" --> R3[Approximate the total premature disconnect event count during the trial by:
+P = [ c - (di + dj) ] / 2]
+ R3 --> R4[Done]
+ end
+
+ L4 --- R4
+
+```
+
+PVC Permanent virtual circuit
+SVC Switched virtual call
+
+T0710570-91/d09
+
+Flowchart showing calculations for reset and premature disconnect probabilities. The left side calculates reset probability R, and the right side calculates premature disconnect probability P. Both follow a similar three-step process: defining counts, denoting stimulated counts, and then approximating the total event count with a formula.
+
+NOTE – These assume that the sections outside the test section do not initiate resets, restarts or clears on their own, but do respond correctly to reset and premature disconnect stimuli.
+
+**Figure 9/X.138 – Reset probability, reset stimulus probability, premature disconnect probability and premature disconnect stimulus probability calculations (approximate method)**
+
+Figure 10 shows an acceptable approximation for calculating residual error ratio. The approximation is based on the assumption that in a single trial only one type of residual error can occur: that is, lost bits and errored bits do not occur in the same trial, errored bits and extra bits do not occur in the same trial, and lost bits and extra bits do not occur in the same trial. For purposes of estimating residual error ratio, this approximation is assumed to be sufficiently accurate. Other, more sophisticated methods of comparing transmitted bits with received bits may yield a more accurate estimate of residual error ratio. User information received at $B_j$ more than 200 seconds after it was transmitted at $B_i$ is defined to be lost information (see 3.3.3/X.136).
+
+
+
+```
+
+graph TD
+ Start["Send data packets containing NT user
+data bits. Receive data packets
+containing NR user data bits."] --> Decision{"Is
+NT = NR?"}
+ Decision -- "NT > NR" --> Box1["Set NL = NT - NR
+Set NS = NR
+Set NE = 0 and NX = 0"]
+ Decision -- "Yes" --> Box2["Compute NS and NE
+(Note)
+Set NL = 0 and NX = 0"]
+ Decision -- "NT < NR" --> Box3["Set NX = NR - NT
+Set NS = NT
+Set NE = 0 and NL = 0"]
+ Box1 --> Compute["Compute residual error rate
+for this sample.
+(Note)"]
+ Box2 --> Compute
+ Box3 --> Compute
+ Compute --> Done[Done]
+
+```
+
+T0710580-91/d10
+
+Flowchart for residual error ratio calculation (approximate method).
+
+NOTE – Residual error ratio = $\frac{(N_L + N_X + N_E)}{(N_L + N_X + N_E + N_S)}$ , where
+
+$$N_E = \sum_{i=1}^{i=N_T} b_i^T \oplus b_j^R \text{ (where } \oplus \text{ is addition modulo 2), and}$$
+
+$$N_S = N_T - N_E$$
+
+**Figure 10/X.138 – Residual error ratio calculation (approximate method)**
+
+Calculating data packet transfer delay and throughput capacity (see Figure 11) first requires matching packets recorded at boundary $B_i$ with packets recorded at boundary $B_j$ . The exact timer values used in calculating data packet transfer delay and throughput capacity depend on the location of the boundaries $B_i$ and $B_j$ , and the direction the packets are moving across these boundaries.
+
+
+
+```
+
+graph TD
+ subgraph Left_Path [Data packet transfer delay calculation]
+ L1[Relate data packets at $B_i$ with data packets at $B_j$ ] -- "(Note)" --> L2[Compute one or more measurements of data packet transfer delay (using the appropriate bit times at both boundaries)]
+ L2 --> L3[Done]
+ end
+ subgraph Right_Path [Throughput capacity calculation]
+ R1[Relate data packets at $B_i$ with data packets at $B_j$ ] -- "(Note)" --> R2[Compute the throughput measurements for this trial]
+ R2 --> R3[Done]
+ end
+
+```
+
+T0710590-91/d11
+
+Flowchart showing two parallel processes for data packet transfer delay and throughput capacity calculation. Both processes start with relating data packets at boundaries B\_i and B\_j, followed by a note, then a computation step, and finally 'Done'.
+
+NOTE – Any reasonable method may be utilized.
+
+**Figure 11/X.138 – Data packet transfer delay and throughput capacity calculation**
+
+## 5.9 Disengagement trial
+
+Clear indication delay and call clear failure probability values can be obtained using the following procedures.
+
+### 5.9.1 Disengagement trial data extraction
+
+Figure 12 shows the disengagement trial data extraction procedure. Boundaries $B_i$ and $B_j$ are at X.25 or X.75 interfaces bounding the set of virtual connection sections under test.
+
+Logical channels at $B_i$ and $B_j$ must initially be in state $p4/d1$ . Process A will transmit a clear request (or clear indication) packet. Process B should be ready to receive and record the reception of the corresponding clear request (or clear indication) packet. Clocks in Process A and Process B must be sufficiently well synchronized so that their difference is an insignificant fraction of the likely clear indication delay value. Synchronization accuracy of one or two milliseconds is usually sufficient.
+
+The total time allowed for Process B to receive the call-clearing packet from Process A should be at least as great as the 180 second call clear failure threshold.
+
+### 5.9.2 Disengagement trial data reduction
+
+Figure 13 shows the disengagement trial data reduction procedure. Each disengagement trial is classified as shown in Figure 14. Figure 15 shows the steps needed to calculate clear indication delay for successful call clearings. The preliminary information derived in these two steps is used together with other trial results to determine if the service was available. If the service was available during this trial, cumulative call-clearing statistics may be updated. Cumulative counters can be kept for total call-clearing failures and total clear indication delay (during successful attempts). Estimates of call clear failure probability and clear indication delay can then be created by dividing these cumulative counters by a cumulative count of call clearing attempts.
+
+Figure 14 uses the record of packet level reference events (identified as events "A" and "B" in this figure) to determine if the call clearing was successful or unsuccessful. Event "B" is said to have occurred only if the clear indication (or clear request) packet was received at $B_j$ within the 180 second call clear failure threshold. Otherwise it is assumed not to have occurred and the clear attempt is classified as a failure.
+
+
+
+The diagram illustrates the disengagement trial data extraction procedure between two processes, Process A and Process B.
+
+**Process A:**
+
+- Start trial and timer
+Begin recording reference events
+- Transmit clear request or Clear indication packet
+- End trial
+
+**Process B:**
+
+- Start trial and timer
+Begin recording reference events
+- Receive clear request or Clear indication packet
+- Optional timeout
+- End trial
+
+**Section under test:**
+
+- Clear request/
+Clear indication
+- Time points $B_i$ and $B_j$ are marked on the timeline.
+
+**Flow Types:**
+
+- Control flow:** Represented by solid lines with arrowheads.
+- Data flow:** Represented by dashed lines with arrowheads.
+
+**Sequence of Events:**
+
+- Process A and Process B start the trial and begin recording reference events.
+- Process A transmits a clear request or clear indication packet to Process B.
+- Process B receives the clear request or clear indication packet.
+- An optional timeout period follows the receipt of the packet in Process B.
+- Both processes end the trial.
+- An optional data flow exists between the end trial states of Process A and Process B.
+
+T0710600-91/d12
+
+Flowchart of the Disengagement trial data extraction procedure showing Process A and Process B with control and data flows.
+
+Figure 12/X.138 – Disengagement trial data extraction procedure
+
+
+
+```
+
+graph TD
+ A[Classify disengagement trial outcomes
+(Figure 14)] --> B[For a successful call clearing perform
+preliminary call set-up delay calculation
+(Figure 15)]
+ B --> C{Was the service available?}
+ C -- Yes --> D[Update appropriate statistics for call
+clear failure probability and clear
+indication delay]
+ C -- No --> D
+ D --> E[Done]
+
+```
+
+The flowchart illustrates the disengagement trial data reduction procedure. It begins with a rectangular box labeled "Classify disengagement trial outcomes (Figure 14)". An arrow points down to another rectangular box labeled "For a successful call clearing perform preliminary call set-up delay calculation (Figure 15)". From there, an arrow points down to a diamond-shaped decision box labeled "Was the service available?". To the left of this diamond is the text "(Note)". The diamond has two exit paths: a "Yes" path leading down to a rectangular box labeled "Update appropriate statistics for call clear failure probability and clear indication delay", and a "No" path leading right and then down to the same rectangular box. Finally, an arrow points down from the rectangular box to a rectangular box labeled "Done".
+
+T0710610-91/d13
+
+Flowchart of Disengagement trial data reduction procedure
+
+NOTE – If the appropriate statistical considerations have been addressed, this decision may be used in estimating availability.
+
+**Figure 13/X.138 – Disengagement trial data reduction procedure**
+
+
+
+```
+
+graph TD
+ Start[A occurs] --> Decision{Did B occur?}
+ Decision -- Yes --> Success[Successful call clearing]
+ Decision -- No --> Failure[Call clear failure]
+ Success --- Cond1["(A < B)"]
+ Failure --- Cond2["(A)"]
+
+```
+
+$A$ $B$
+
+ $B_i$ $B_j$
+
+T0710620-91/d14
+
+Flowchart and timing diagram for classifying a disengagement trial outcome. The flowchart starts with 'A occurs' leading to a decision 'Did B occur?'. 'Yes' leads to 'Successful call clearing' (A < B). 'No' leads to 'Call clear failure' (A). The timing diagram shows two vertical lines for boundaries B\_i and B\_j. An arrow labeled 'A' goes from B\_i to B\_j. An arrow labeled 'B' goes from B\_j to B\_i, crossing the arrow for A. Timing diagram showing boundaries B\_i and B\_j with crossing arrows A and B.
+
+A Clear indication/Clear request PE
+B Clear indication/Clear request PE
+The notation $(A < B)$ means that event A occurred before event B.
+
+**Figure 14/X.138 – Classifying a disengagement trial outcome**
+
+Calculating clear indication delay (see Figure 15) first requires matching packets recorded at boundary $B_i$ with packets recorded at boundary $B_j$ . The exact timer values used in calculating clear indication delay depend on the location of the boundaries $B_i$ and $B_j$ and the direction the packets are moving across those boundaries.
+
+
+
+```
+
+graph TD
+ Step1["(Note) Relate call clearing packets at B_i with
+call clearing packets at B_j"] --> Step2["Compute clear indication delay (using
+the appropriate bit times at both boundaries)"]
+ Step2 --> Step3[Done]
+
+```
+
+T0710630-91/d15
+
+Flowchart for clear indication delay calculation. It shows three steps: 1. Relate call clearing packets at B\_i with call clearing packets at B\_j (Note). 2. Compute clear indication delay (using the appropriate bit times at both boundaries). 3. Done.
+
+NOTE – Any reasonable method may be utilized.
+
+**Figure 15/X.138 – Clear indication delay calculation**
+
+## 5.10 Estimating availability parameters
+
+The availability parameters, service availability and mean time between service outages, can be measured for a given virtual connection section by an appropriate sequence of availability trials. An example of such a sequence of availability trials is called the Minimal Availability Test, and is described in A.1.1/X.137. The Minimal Availability Test defines failure/success criteria, which enable the section's availability to be determined. The failure/success criteria can be expressed parametrically by a series of values ( $N_1$ , $N_2$ , $N_3$ , $N_4$ , and $N_5$ ).
+
+Outage criteria are specified for a number of availability decision parameters (see also Table 2/X.137). The mappings between the parametric values ( $N_1$ , $N_2$ , $N_3$ , $N_4$ , and $N_5$ ) and these outage criteria are shown in Table 2. (The statistical basis for these values are given in A.1.2/X.137.)
+
+The Parametric Values are used by the Minimal Availability Test to estimate service availability in the manner outlined in 5.10.1 and 5.10.2. (See also Annex A/X.137.)
+
+**Table 2/X.138 – Mapping between theoretical outage criteria and the success/failure criteria for the minimal test of availability**
+
+| Availability decision parameters | Outage criteria | Minimal test of availability success/failure criteria |
+|------------------------------------------------------------------------------------------------------------------------------|----------------------------------|-------------------------------------------------------|
+| Call set-up Failure Probability (cfp) Call set-up Error Probability (cep) | $(cfp + cep) > 0.9$ | $N_1 = 4$ |
+| Throughput Capacity (tc) | $tc < 80 \text{ bit/s}$ | $N_2 = 80$ |
+| Residual Error Rate (rer) | $rer > 10^{-3}$ | $N_3 = 10^{-3}$ |
+| Reset Probability (rp) Reset Stimulus Probability (rsp 1 , rsp 2 ) | $(rsp_1 + rp + rsp_2) > 0.015$ | $N_4 = 5$ |
+| Premature Disconnect Probability (pdp) Premature Disconnect Stimulus Probability (pdsp 1 , pdsp 2 ) | $(pdsp_1 + pdp + pdsp_2) > 0.01$ | $N_5 = 1$ |
+
+### 5.10.1 Minimal availability trial data extraction
+
+The following test and its decision criteria are defined to be the minimum criteria necessary to sample the availability state of a section.
+
+Figure 16 shows a procedure for conducting a minimal availability trial across a section. The trial is divided into two phases: access (Phase I) and user information transfer (Phase II). The trial requires controlled sources and sinks and monitors at each section boundary.
+
+In Phase I, no more than $N_1$ successive call set-up attempts (access trials) are performed. Phase I is terminated when any of the following occur: a call set-up attempt succeeds; $N_1$ successive call set-up attempts are unsuccessful; or the duration of Phase I exceeds 5 minutes. Each call set-up attempt may be performed according to the procedure described in 5.7.1 and shown in Figure 3. Phase I is performed only in the case of a switched virtual call.
+
+Phase II of a minimal availability trial attempts to maintain a virtual connection across the tested section for 5 minutes and maintain an average throughput that exceeds $N_2$ bit/s during that interval. Packet transmission may be performed according to the procedure described in 5.8.1 and shown in Figure 7. The values of $N$ and $X$ should be such that the procedure attempts to achieve throughput considerably greater than $N_2$ bit/s. In the case of a switched virtual call, Phase II is performed only if a call set-up attempt in Phase I is successful. In the case of a permanent virtual circuit, only Phase II is performed.
+
+
+
+```
+
+graph TD
+ Start[Start monitoring of link level availability at both boundaries] --> Perform[Perform access trial
+(Figure 3)]
+ Perform --> Classify{Classify access trial outcomes}
+ Classify -- "Other outcome
+(Figure 5)" --> Total{Total access trials < N1?}
+ Total -- No --> Terminate[Terminate link level monitoring]
+ Total -- Yes --> Timer{5 minute timer exceeded?}
+ Timer -- Yes --> Perform
+ Timer -- No --> Terminate
+ Classify -- "Successful call set-up" --> PerformData[Perform data transfer trial
+(e.g. as in Figure 7, with X = 0,
+timeout = 5 minutes and large N)]
+ PerformData --> Terminate
+ Terminate --> End[End trial]
+
+```
+
+T0710640-91/d16
+
+Flowchart of Minimal availability trial data extraction procedure. The process starts with 'Start monitoring of link level availability at both boundaries'. It enters Phase I, where it performs an access trial (Figure 3) and classifies outcomes (Figure 5). A decision diamond asks 'Total access trials < N1?'. If 'Yes', it asks '5 minute timer exceeded?'. If 'Yes' to the timer, it loops back to 'Perform access trial'. If 'No' to the timer, it proceeds to Phase II. If 'No' to the first decision, it also proceeds to Phase II. Phase II involves a 'Successful call set-up' and a 'Perform data transfer trial (e.g. as in Figure 7, with X = 0, timeout = 5 minutes and large N)'. Both paths lead to 'Terminate link level monitoring' and finally 'End trial'. Reference: T0710640-91/d16.
+
+**Figure 16/X.138 – Minimal availability trial data extraction procedure**
+
+### 5.10.2 Minimal availability trial data reduction
+
+Figure 17 shows a procedure for reducing performance data recorded in a minimal availability trial. The procedure implements the availability decision criteria defined in Recommendation X.137.
+
+Criteria defined in Recommendation X.137 are used to determine availability of the data link layers. Three cases are distinguished: the data link layer at both section boundaries is available; the data link layer at either section boundary is unavailable due to causes inside the section; and the data link layer at one or both boundaries is unavailable due to causes outside the section and the data link layer at neither boundary is unavailable due to causes inside the section. In the first case, availability of the section is determined by results of Phases I and II of the trial. In the second case, the section is declared unavailable. In the third case, the trial is excluded.
+
+
+
+Link layer unavailable at either boundary due to external causes and neither link layer is unavailable due to internal section causes
+
+Link layer unavailable at either boundary due to internal section causes
+
+Both link layers available during the trial
+
+Any trial unsuccessful due solely to internal section causes
+
+Any unsuccessful trials due to external section causes
+
+Classify outcome of access trial
+
+Phase I
+
+(Figure 5)
+
+Phase II
+
+Perform reset probability, reset stimulus probability, premature disconnect probability and premature disconnect stimulus probability calculations (Figure 9)
+
+$rp + rsp_i + rsp_j > N_4$ or $pdp + pdsp_i + pdsp_j > N_5$ ?
+
+Yes
+
+No
+
+Perform residual error ratio calculation (Figure 10)
+
+$rer > N_3$ ?
+
+Yes
+
+No
+
+Perform throughput capacity calculation (Figure 11)
+
+$tc > N_2$ ?
+
+Yes
+
+No
+
+Excluded trial
+
+Section available
+
+Section unavailable
+
+T0710650-91/d17
+
+```
+
+graph TD
+ subgraph Phase_I [Phase I]
+ A{Evaluate link layer availability}
+ B{Classify outcome of access trial}
+ A --> B
+ end
+
+ A -- "Both link layers available during the trial" --> C[Perform reset probability, reset stimulus probability, premature disconnect probability and premature disconnect stimulus probability calculations Figure 9]
+ B -- "Any trial unsuccessful due solely to internal section causes" --> D[Section unavailable]
+ B -- "Any unsuccessful trials due to external section causes" --> E[Excluded trial]
+
+ subgraph Phase_II [Phase II]
+ C --> F{rp + rsp_i + rsp_j > N_4 or pdp + pdsp_i + pdsp_j > N_5?}
+ F -- Yes --> D
+ F -- No --> G[Perform residual error ratio calculation Figure 10]
+ G --> H{rer > N_3?}
+ H -- Yes --> D
+ H -- No --> I[Perform throughput capacity calculation Figure 11]
+ I --> J{tc > N_2?}
+ J -- Yes --> D
+ J -- No --> E
+ end
+
+```
+
+Flowchart of Minimal availability trial data reduction procedure. Phase I: Evaluate link layer availability. If both link layers are available during the trial, proceed to Phase II. If not, classify the outcome of the access trial. If any trial is unsuccessful due solely to internal section causes, the section is unavailable. If any unsuccessful trials are due to external section causes, the trial is excluded. Phase II: Perform probability calculations (Figure 9). If rp + rsp\_i + rsp\_j > N\_4 or pdp + pdsp\_i + pdsp\_j > N\_5, the section is unavailable. Otherwise, perform residual error ratio calculation (Figure 10). If rer > N\_3, the section is unavailable. Otherwise, perform throughput capacity calculation (Figure 11). If tc > N\_2, the section is unavailable. Otherwise, the trial is excluded.
+
+Figure 17/X.138 – Minimal availability trial data reduction procedure
+
+Processing of Phase I results is shown in the upper part of Figure 17. The outcome of each attempt is determined according to the procedure described in 5.7.2. If all attempts result in either call set-up error or call set-up failure, the virtual circuit section is considered to be unavailable for the duration of the trial. If any call set-up attempt is unsuccessful due to causes outside the portion boundaries (for example, because of test equipment malfunctions), the trial is excluded and is not used to determine availability parameters.
+
+If any access trial is successful and no access trial is unsuccessful due to causes outside the section, availability of the section is determined by the results in Phase II.
+
+Processing of Phase II results is illustrated in the lower part of Figure 17. The reduction procedure implements the following decision criteria based on Table 2:
+
+- if the observed number of reset events plus the number of reset stimuli during Phase II is greater than $N_4$ , the section is unavailable;
+- if the observed number of call clearing events due to premature disconnects or premature disconnect stimuli is greater than $N_5$ (in the case of a switched virtual call), the section is unavailable;
+- if the measured residual error ratio during Phase II is greater than $N_3$ , the section is unavailable;
+- if the observed throughput during Phase II is less than $N_2$ bit/s, the section is unavailable.
+
+If the section is not unavailable according to any of the preceding four criteria, the section is considered to be available during the trial.
+
+### 5.10.3 Estimating service availability
+
+A sufficient estimate of service availability for a virtual circuit section can be computed by performing a sequence of minimal availability trials as described in this section.
+
+A sequence of not less than 300 availability trials is conducted across the section over a long measurement period (for example, six months). Because of the expected durations of service outages, successive trials should be separated by at least seven hours (this serves to keep availability trials uncorrelated). The trials should be uniformly distributed across the scheduled service time. A trial whose outcome is excluded may be replaced by a trial conducted immediately following the excluded trial. The estimate of service availability is 100 times the number of trials in which the section is declared available divided by the number of trials whose outcomes are not excluded.
+
+### 5.10.4 Estimating mean time between service outages
+
+A sufficient estimate of the mean time between service outages for a virtual connection section can be computed by performing a sequence of availability trials. [The assumption of a memory-less (exponential) time to service outage underlies these methods.]
+
+Select $k$ disjoint time intervals each not less than 30 minutes nor more than three hours. The total amount of time in the $k$ intervals should exceed three times the *a priori* estimate of mean time between service outages. Consecutive availability trials are conducted across the section for the duration of each interval. An additional "post interval" availability trial is conducted immediately following the last trial in an interval. An estimate of the mean time between service outages is obtained from the measured time (A) in the available state and the observed number (F) of transitions from the available state to the unavailable state.
+
+Figure 18 shows a procedure for reducing the collected performance data and estimating the mean time between service outages. The procedure implements the following specifications:
+
+- If the outcome of any trial in an interval is excluded, discard all trials in the interval.
+- If the section is unavailable during the first trial in an interval, assume that the transition to the unavailable state occurred before the interval began and discard all trials in the interval.
+- If the section is available during the first trial in an interval and is unavailable during the subsequent trial in any interval, increment the observed number (F) of transitions to the unavailable state by one. Augment the cumulative duration (A) of available states by the duration of all trials in the interval that precede the first unavailability outcome. Discard all trials in the interval that follow the first unavailability outcome.
+- If the section is available during all trials in an interval, augment the cumulative duration (A) of available states by the duration of these trials. If the section is unavailable during the post-interval trial, increment the number (F) of transitions to the unavailable state.
+
+
+
+```
+
+graph TD
+ Start([Start]) --> Select[Select next interval]
+ Select --> Classify[Classify outcome of next availability trial in the interval]
+ Classify --> Excluded{Excluded trial?}
+ Excluded -- Yes --> Select
+ Excluded -- No --> Section1{Section available?}
+ Section1 -- Yes --> Augment1[Augment duration of available state in the interval]
+ Augment1 --> Last{Last availability trial in interval?}
+ Last -- No --> Classify
+ Last -- Yes --> ClassifyPost[Classify outcome of post-interval availability trial]
+ ClassifyPost --> Section2{Section available?}
+ Section2 -- Yes --> AugmentTotal[Augment total duration of available state in all intervals (A)]
+ Section2 -- No --> Increment[Increment number of transitions to unavailable state (F)]
+ Section1 -- No --> First{First availability trial in interval?}
+ First -- Yes --> Select
+ First -- No --> Increment
+ Increment --> AugmentTotal
+ AugmentTotal --> KIntervals{k intervals included in results?}
+ KIntervals -- No --> Select
+ KIntervals -- Yes --> Estimate[Estimate mean time between service outages
+MTBSO = A/F if F > 0 or
+A if F = 0]
+ Estimate --> Done([Done])
+
+```
+
+MTBSO Mean time between service outage
+
+T0710660-91/d18
+
+Flowchart of the data reduction procedure for estimating mean time between service outage (MTBSO).
+
+**Figure 18/X.138 – Data reduction procedure for estimating mean time between service outage**
+
+After the results of all $k$ intervals have been processed, the mean time between service outages is estimated by the ratio $A/F$ if $F > 0$ and by $A$ if $F = 0$ .
+
+The estimate of mean time between service outages assumes that, if an outage begins during an availability trial, either that trial or the following trial will determine that the section is unavailable. This is a reasonable assumption since service outages, in contrast to transient failures, will probably last more than five minutes.
+
+Discarding the remainder of the interval following an unavailability outcome is both practical and statistically justifiable. The virtual connection section must return to the available state before any more available time can be accumulated and before any more transitions to the unavailable state can be observed. First, the expected time to restore service may be large with respect to the remaining time in the interval. It can be inappropriate and counterproductive to continue testing a failed or congested network section. Second, if transitions to the unavailable state are statistically independent, then discarding the remainder of the interval, which may include time in the available state, will not bias the result. (If outages tend to be clustered, discarding trials following a transition to the unavailable state will tend to overestimate the mean time between service outages. If outages tend to be negatively clustered, discarding trials following a transition to the unavailable state will tend to underestimate the mean time between service outages). Intervals should be short with respect to the sum of the expected time to restore service and the expected time between service outages. Thus, each interval should be no longer than three hours. A minimum recommended interval length is 30 minutes, using five-minute availability trials.
+
+An outage that begins during the first availability trial of an interval may or may not result in an unavailable outcome. According to the estimation procedure, if an unavailable outcome occurs, the interval is discarded, the state transition is missed, and the mean time between service outages is overestimated. The post-interval trial identifies any state transition that occurs during the last trial of the interval. It also counts certain transitions that occurred outside the interval. These transitions are counted with the same probability as the probability that transitions during the first trial in an interval are missed. Thus, the two sources of bias tend to cancel out.
+
+# **6 Method for synchronizing equipment**
+
+## **6.1 Equipment synchronization**
+
+An optional means by which time synchronization might be obtained between separate items of equipment is as follows.
+
+### **6.1.1 General requirements**
+
+A Public Switched Telephone Network (PSTN) connection is used for communication between DTEs when synchronization is to be obtained, as shown in Figure 19.
+
+It would be useful if the synchronization path could also be used to convey the results of the measurements made. This is for further study.
+
+DTEs should be synchronized immediately prior to each measurement, and the measurement period should not extend for a period which may result in drift of a magnitude which would give too great an inaccuracy.
+
+### **6.1.2 PSTN communication line**
+
+The DTE should be equipped with an asynchronous port in addition to the port used to connect to the packet switched network(s) to be measured. That port is connected to the PSTN using a V.22 modem with automatic answering using V.25.
+
+The connection through the PSTN must be circuit switched (and is assumed to have constant round trip delay). This connection is only required during the time synchronization is being established.
+
+
+
+Figure 19/X.138 – Synchronization configuration diagram. The diagram shows two DTEs (Data Terminal Equipment) connected to two different networks. The top network is a PSPDN(s) to be measured, connected via X.25 interfaces. The bottom network is a PSTN (Public Switched Telephone Network), connected via V.22 modems. Both DTEs have an asynchronous connection to their respective modems. The reference T0710670-91/d19 is noted on the right side.
+
+**Figure 19/X.138 – Synchronization configuration**
+
+### 6.1.3 DTE local clock
+
+The DTE must have a local clock of sufficient stability to retain the required accuracy of synchronization over the measurement period. An accuracy of at least 1 part in $10^5$ (including allowance for initial frequency setting, drift and synchronization imprecision) should be used.
+
+NOTE – Further consideration of the viability of this accuracy is necessary.
+
+Clocks of this accuracy may result in a drift of $2 \times 10^5 \times \text{Time}$ , that is, in a time of ten minutes the drift may add up to about 12 msec.
+
+### 6.1.4 Remote command capability
+
+The DTE should be able to accept an IA5 command from the remote DTE through a separate asynchronous port from the packet measurement port. It should also be able to transmit IA5 commands to the remote DTE through this asynchronous port.
+
+### 6.1.5 Clock reset
+
+Whenever the DTE receives the command `TIMER_SET`, the internal clock of the DTE is reset to time 0. The response of this action must be within 0 to 5 msec after receiving all the command.
+
+### 6.1.6 Timestamp
+
+The granularity of the timestamp should be less than or equal to 1 msec.
+
+### 6.1.7 Synchronization procedure
+
+DTE A sends a `TIMER_SET` message terminated by a carriage return to DTE B through the asynchronous path. Let $t_0$ be the time when the carriage return has been issued.
+
+When DTE B has received the carriage return, it sets its clock to zero and issues a `TIMER_ACK` response terminated by a carriage return to DTE A. These two actions should be performed within a 5 msec delay following the `TIMER_SET` message reception.
+
+When DTE A has received the carriage return at time $t_1$ , it sets its clock to $\frac{(t_1 + t_m - t_0)}{2}$ where $t_m$ is the time for the asynchronous transmission of the `TIMER_ACK` message, that is, 83.3 msec at 1200 bit/sec.
+
+This is illustrated in Figure 20.
+
+
+
+```
+
+sequenceDiagram
+ participant DTE A
+ participant Modem A
+ participant PSTN
+ participant Modem B
+ participant DTE B
+
+ Note over DTE A, Modem A: Asynchronous
+ Note over DTE B, Modem B: Asynchronous
+
+ DTE A->>Modem A:
+ Modem A->>PSTN:
+ PSTN->>Modem B:
+ Modem B->>DTE B: TIMER_SET
+ Note right of DTE B: t0 (at DTE A)
+ Note right of DTE B: Last bit
+ Note right of DTE B: 0-5 msec
+ Note right of DTE B: 1
+ Note right of DTE B: First bit
+ DTE B->>Modem B:
+ Modem B->>PSTN:
+ PSTN->>Modem A:
+ Modem A->>DTE A: TIMER_ACK
+ Note left of DTE A: tm
+ Note left of DTE A: t1
+ Note left of DTE A: 3
+
+```
+
+The diagram illustrates the synchronization procedure between DTE A and DTE B via a PSTN. Both DTEs are connected to V.22 modems. The PSTN is represented by an oval in the center. The procedure involves the following steps:
+
+- 1 Clock (at DTE B) is set to 0
+- 2 TIMER\_ACK is sent
+- 3 Clock (at DTE A) is set to $\frac{t_1 + t_m - t_0}{2}$
+
+Time markers on the timeline include $t_0$ , $t_m$ , and $t_1$ . The diagram also shows the 'Last bit' and 'First bit' of a packet, with a 0-5 msec interval between them. The reference T0710680-91/d20 is noted at the bottom right.
+
+Diagram of the synchronization procedure between DTE A and DTE B via a PSTN. The diagram shows the exchange of TIMER\_SET and TIMER\_ACK messages, with time markers t0, tm, and t1. It includes a list of three steps: 1. Clock at DTE B is set to 0, 2. TIMER\_ACK is sent, and 3. Clock at DTE A is set to (t1 + tm - t0) / 2. A reference T0710680-91/d20 is also present.
+
+**Figure 20/X.138 – Synchronization procedure**
+
+# Annex A
+
+## Calculation of packet-switched network performance statistics
+
+This Annex provides detailed information on the calculation of packet performance statistics and the measurement conditions (factors) which can affect their observation. Detailed formulas are given in A.1. Subclause A.2 gives some basic statistical definitions. Subclause A.3 gives a correction factor to the throughput measurement formula.
+
+## A.1 Statistics
+
+Table A.1 a), b) and c), provides a reference for the calculation of relevant statistics for the performance parameters of Recommendations X.135, X.136 and X.137. For each parameter an equation is given for calculating a single observation $x$ . Most of these equations use the variable names defined in those Recommendations.
+
+**Table A.1 a/X.138 – Calculation of statistics for performance parameters: Speed of service – Delay**
+
+| Parameter | One observation | Sample mean | Estimate of variance |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|------------------------------------------|------------------------------------------------|
+| Call set-up delay | $d_1 - d_2 = x$ (Note 1) | $\frac{1}{N} \sum_{i=1}^N x_i = \bar{x}$ | $\frac{1}{N-1} \sum_{i=1}^N (x_i - \bar{x})^2$ |
+| Data packet transfer delay | $t_1 - t_2 = x$ (Note 2) | $\frac{1}{N} \sum_{i=1}^N x_i = \bar{x}$ | $\frac{1}{N-1} \sum_{i=1}^N (x_i - \bar{x})^2$ |
+| Clear indication delay | $t_1 - t_2 = x$ (Note 3) | $\frac{1}{N} \sum_{i=1}^N x_i = \bar{x}$ | $\frac{1}{N-1} \sum_{i=1}^N (x_i - \bar{x})^2$ |
+| NOTE 1 – d_1, d_2 are defined in 2.2/X.135.
NOTE 2 – t_1, t_2 are defined in 3.1/X.135.
NOTE 3 – t_1, t_2 are defined in 5.1/X.135.
| | | |
+
+**Table A.1 b/X.138 – Calculation of statistics for performance parameters: Speed of service – Throughput capacity**
+
+| Parameter | One observation | Weights | Sample mean tc estimate (Note 1) |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|--------------------------------------|-------------------------------------|
+| Throughput capacity | $T(\gamma) = \frac{B}{t} = x$ (Note 2) | $\frac{t_i}{\sum_{i=1}^M t_i} = w_i$ | $\sum_{i=1}^M w_i x_i = \bar{x}$ |
+| NOTE 1 – The sample variance of the throughput capacity is
$\frac{1}{N-1} \sum_{i=1}^N (x_i - \bar{x})^2$ although this is only valid if the time durations, t_i (i = 1 to N ) are all equal. The interpretation of the throughput capacity sample variance is clear in this case, but not for the case of a weighted sample. This calculation would apply when the alternative measurement technique (see 4.2/X.135) is used.
NOTE 2 – T(\gamma) = is the steady state throughput measured with optimal factor levels, \gamma .
| | | |
+
+**Table A.1 c/X.138 – Calculation of statistics for performance parameters: Speed of service – Accuracy, dependability and availability**
+
+| Parameter | One observation | Weights | Sample mean |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|----------------------------------------------------|------------------------------------------|
+| Call set-up error probability | $0,1 = x$ (Note 1) | – | $\frac{1}{N} \sum_{i=1}^N x_i = \bar{x}$ |
+| Call set-up failure probability | $0,1 = x$ (Note 2) | – | $\frac{1}{N} \sum_{i=1}^N x_i = \bar{x}$ |
+| Residual error ratio | $\frac{N_E + N_L + N_X}{N_T} = X$ (Note 3) | $\frac{N_{Ti}}{M \sum_{i=1}^M N_{Ti}} = w_i$ | $\sum_{i=1}^M w_i x_i = \bar{x}$ |
+| Reset stimulus probability (for a single boundary) | $\frac{S}{N_{vc-s}} = x$ (Note 4) | $\frac{N_{vc-si}}{M \sum_{i=1}^M N_{vc-si}} = w_i$ | $\sum_{i=1}^M w_i x_i = \bar{x}$ |
+| Reset probability | $\frac{R}{N_{vc-s}} = x$ (Note 5) | $\frac{N_{vc-si}}{M \sum_{i=1}^M N_{vc-si}} = w_i$ | $\sum_{i=1}^M w_i x_i = \bar{x}$ |
+| Premature disconnect stimulus probability (for a single boundary) | $\frac{d}{N_{vc-s}} = x$ (Note 6) | $\frac{N_{vc-si}}{M \sum_{i=1}^M N_{vc-si}} = w_i$ | $\sum_{i=1}^M w_i x_i = \bar{x}$ |
+| Premature disconnect probability | $\frac{p}{N_{vc-s}} = x$ (Note 7) | $\frac{N_{vc-si}}{M \sum_{i=1}^M N_{vc-si}} = w_i$ | $\sum_{i=1}^M w_i x_i = \bar{x}$ |
+| Call clear failure probability | $0,1 = x$ (Note 8) | – | $\frac{1}{N} \sum_{i=1}^N x_i = \bar{x}$ |
+| Service availability | $0,100 = x$ (Note 9) | – | $\frac{1}{N} \sum_{i=1}^N x_i = \bar{x}$ |
+| Mean time between service outage | $\frac{A}{F} = x$ (Note 10) | $\frac{F_i}{M \sum_{i=1}^M F_i} = w_i$ | $\sum_{i=1}^M w_i x_i = \bar{x}$ |
+| NOTE 1 – x = 1 if a call set-up error occurs in the call set-up (see 2.1.1/X.136).
NOTE 2 – x = 1 if a call set-up failure occurs in the call set-up (see 2.1.2/X.136).
NOTE 3 – Outcome totals as specified in Figure 3/X.136.
NOTE 4 – s is the number of reset stimuli observed at the boundary (see 3.2.1/X.136). N_{vc-s} is the number of virtual circuit seconds observed.
NOTE 5 – R is the number of reset events observed (see 3.2.2/X.136). N_{vc-s} is the number of virtual circuit seconds observed.
NOTE 6 – d is the number of premature disconnect stimuli observed at the boundary (see 3.3.1/X.136). N_{vc-s} is the number of virtual circuit seconds observed.
NOTE 7 – s is the number of premature disconnect events observed (see 3.3.2/X.136). N_{vc-s} is the number of virtual circuit seconds observed.
NOTE 8 – x = 1 if a call failure occurs in the call clearing (see 4.1/X.136).
NOTE 9 – x = 100 if the observation determines the service is available (see 3.1/X.137).
NOTE 10 – A is the cumulative duration of available states.
F is the number of transitions to unavailable state observed or 1 (see A.3/X.137).
| | | |
+
+For each parameter, an equation is given for converting multiple observations, $x_i$ , into a sample mean $\bar{x}$ . In those cases where single observations do not depend on either the length of the observations or the number of bits transmitted, the sample mean is the arithmetic mean. In the other cases (throughput capacity, residual error ratio, reset stimulus probability, premature disconnect stimulus probability, premature disconnect probability, mean time between service outage) the sample means are calculated with each observation weighted appropriately either by the length of the observation or the number of bits transmitted.
+
+For three of the parameters (call set-up delay, data packet delay and clear indication delay) a formula is given for estimating the variance in the distribution of the parameter. Four other parameters (call set-up error probability, call set-up failure probability, call clear failure probability, service availability) are assumed to be binomially distributed and as such the variance and the sample variance contain no additional information about service performance. For the remaining six parameters whose individual observations depend on the length of observation or on the number of bits transmitted during the observation (throughput capacity, residual error ratio, reset stimulus probability, premature disconnect stimulus probability, premature disconnect probability, mean time between service outage), no formula is given for computing a sample variance. In order to evaluate the variability in these parameters, a single fixed observation size must be chosen for each parameter.
+
+The first step in developing a set of throughput capacity observations is to choose an optimal (or nearly optimal) set of user controllable factor levels $\gamma$ . Packet layer window size, data packet length, throughput class, D-bit usage, and inter-packet gaps must all be chosen to maximize the possible throughput. Subclause A.2 gives guidance on how these factors may be adjusted to improve throughput. Each observation of throughput capacity is based on the optimal set of factor level $\gamma$ . The mean of these observations, weighted by the duration of each observation, yields a single estimate of throughput capacity.
+
+To properly interpret measured performance values, the relevant measurement conditions must be known. Table A.2 identifies general factors that may influence the values for each of the performance parameters defined. Measurements provided in accordance with this Recommendation should contain or reference a specification of the relevant factor levels existing during the measurement. The effects of the specified factors on throughput are described in the following text. Guidelines for multiple test reporting and a throughput measurement correction factor are also given.
+
+**Table A.2/X.138 – Factors that may influence
+the performance parameter values**
+
+| Factors | csd | dpd | tc | cid | cep | cfp | rer | rsp | rp | pdsp | pdp | ccfp | sa | mtbso |
+|-----------------------------|-----|-----|----|-----|-----|-----|-----|-----|----|------|-----|------|----|-------|
+| Signalling rate | x | x | x | x | | | | | | | | | | |
+| Data link layer packet size | x | x | x | x | | | | | | | | | | |
+| Packet layer window size | | x | x | | | | | | | | | | | |
+| Packet length | | x | x | | | | x | | | | | | | |
+| Other virtual connections | x | x | x | x | x | | x | | x | | x | | x | x |
+| Time of day | x | x | x | x | x | | x | | x | | x | | x | x |
+| Throughput class | | x | x | | | | | | | | | | | |
+| D-bit usage | | | x | | | | | | | | | | | |
+
+**Table A.2/X.138 – Factors that may influence
+the performance parameter values** *(concluded)*
+
+| Factors | csd | dpd | tc | cid | cep | cfp | rer | rsp | rp | pdsp | pdp | ccfp | sa | mtbso |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----|-----|----|-----|-----|-----|-----|-----|----|------|-----|------|----|-------|
+| Inter-packet gaps | | x | x | | | | | | | | | | | |
+| csd Call Set-up Delay dpd Data Packet transfer Delay tc Throughput Capacity cid Clear Indication Delay cep Call set-up Error Probability cfp Call set-up Failure Probability rer Residual Error Ratio rsp Reset Stimulus Probability rp Reset Probability pdsp Premature Disconnect Stimulus Probability pdp Premature Disconnect Probability ccfp Call Clear Failure Probability sa Service Availability mtbso Mean Time between Service Outage | | | | | | | | | | | | | | |
+
+**A.2 Statistical formulas**
+
+Various statistical formulas are given below to eliminate the confusion that often results from comparison of formulas for sample (estimated) parameters and distributional (population) parameters.
+
+**A.2.1 Sample mean**
+
+As the arithmetical average of a set of observations, the observed mean is used as an estimate of the true mean of the underlying distribution. Under rather general conditions the mean:
+
+$$\bar{x} = \frac{\sum_{k=1}^{n} x_k}{n}$$
+
+is the Maximum Likelihood Estimator of the true distributional mean.
+
+**A.2.2 Sample variance**
+
+The estimated variance, \$s(X)\$ or \$s\$, of a sequence of observations, is defined to be:
+
+$$s = \frac{\sum_{k=1}^{n} (x_k - \bar{x})^2}{n - 1}$$
+
+and is used to obtain estimates of the precision of the estimated mean \$\bar{x}\$.
+
+The use of the factor $(\frac{1}{n} - 1)$ assures that the estimator will be unbiased in the sense that \$E[s(X)] = V\$, where \$V\$ is the true variance of the underlying distribution.
+
+34 **Recommendation X.138 (08/97)**
+
+### A.2.3 *x*th percentile
+
+The *x*th percentile ( $0 < x < 100$ ) of a cumulative continuous distribution $F$ is any number $Y$ satisfying the equation $F(Y) = \frac{x}{100}$ . If $F$ is also strictly increasing, $Y$ is unique. For discrete distributions, most percentiles are not unique. In this case, any $Y$ for which $F(Y)$ is minimal, subject to the condition that $F(Y) \geq \frac{x}{100}$ , is an *x*th percentile.
+
+For example, the 95th percentile of a set of measurements would be any number $Y$ for which:
+
+- 1) at least 95% of the measurements fall below $Y$ ;
+- 2) the number of such measurements below $Y$ is minimal.
+
+### A.2.4 Minimum
+
+The minimum of a set of measurements is the least value attained by any measurement in the set.
+
+### A.2.5 Maximum
+
+The maximum of a set of measurements is the greatest value attained by any measurement in the set.
+
+## A.3 Throughput measurement correction factor
+
+In the case where throughput is measured by observation of exit events, a correction factor can be applied to the throughput measurement formula which will account for any difference in the size of $A_0$ and $A_k$ or $A_0$ and $A_m$ (as defined in 4.1/X.135).
+
+The correction factor in the case where exit events are observed at $B_i$ is as follows:
+
+| Condition | Correction |
+|-------------------|--------------------------------------------------------------------------------------------------------------------------|
+| $f(A_0) = f(A_k)$ | No correction |
+| $f(A_0) > f(A_k)$ | Subtract the insertion time at boundary $B_i$ of the excess user data bits $[f(A_0) - f(A_k)]$ in $A_0$ from $t_2 - t_1$ |
+| $f(A_0) < f(A_k)$ | Add the insertion time at boundary $B_i$ of the deficient user data bits $[f(A_0) - f(A_k)]$ in $A_0$ to $t_2 - t_1$ |
+
+The analogous table for the case where exit events are observed at $B_j$ is as follows:
+
+| Condition | Correction |
+|-------------------|--------------------------------------------------------------------------------------------------------------------------|
+| $f(A_0) = f(A_k)$ | No correction |
+| $f(A_0) > f(A_k)$ | Subtract the insertion time at boundary $B_j$ of the excess user data bits $[f(A_0) - f(A_k)]$ in $A_0$ from $t_2 - t_1$ |
+| $f(A_0) < f(A_k)$ | Add the insertion time at boundary $B_j$ of the deficient user data bits $[f(A_0) - f(A_k)]$ in $A_0$ to $t_2 - t_1$ |
+
+The error introduced by not applying the correction factor will normally be very small.
+
+# Annex B
+
+## Factors which may affect measured performance
+
+## B.1 Signalling rates
+
+The signalling rate on a circuit section (usually measured in bits per second) provides an upper bound on the throughput capacity for that section. In general, faster signalling rates yield higher throughput. Call set-up delay, data packet transfer delay and clear indication delay are also affected by the signalling rate. Again, a higher signalling rate on a circuit section generally results in lower delay values.
+
+## **B.2 Data Link Layer window size**
+
+As the Data Link Layer underlies all of the logical channels above it, it affects call set-up delay and clear indication delay as well as data packet transfer delay and throughput. Usually, larger Data Link Layer window sizes decrease delay and increase throughput.
+
+## **B.3 Packet Layer window size**
+
+Larger Network Layer window sizes may increase throughput and decrease delay.
+
+## **B.4 Packet length**
+
+The length of the data packets can affect data packet transfer delay, throughput, and possibly the residual error ratio. Data packets with longer lengths have greater delay associated with them, but greater throughput due to increased efficiency. Longer data packets have a theoretically larger probability of having errors in the user data field that could escape detection by the sixteen bit cyclic redundancy check of the Data Link Layer and thus, a corresponding increase in the probability of residual errors.
+
+## **B.5 Other virtual connections**
+
+The existence of active virtual connections other than the one under test on the same data link may increase the load on that link. Hence a large number of performance parameters (call set-up delay, data packet transfer delay, throughput, call set-up failure probability, reset probability, premature disconnect probability, clear indication delay, service availability, and mean time between service outages) may be affected due to the underlying Data Link Layer contention.
+
+## **B.6 Time of day**
+
+Because time of day generally influences network loading, this factor affects performance in a manner similar to the existence of other virtual connections.
+
+## **B.7 Throughput class**
+
+This factor may affect the data packet transfer delay and throughput on some networks. It should be set to the maximum allowable when measuring throughput capacity.
+
+## **B.8 D-bit usage**
+
+As the D-bit being set to 1 in a data packet requires the receiving DTE to generate a Receiver Ready (RR) packet specifically acknowledging the receipt of that data packet, its use can increase the load on the virtual connect and thus decrease throughput.
+
+## **B.9 Inter-packet gaps**
+
+The rules governing the time intervals between successive data packets in data packet transfer delay tests (other than those required by the network for flow control purposes) should be specified. Increasing inter-packet gaps tends to decrease delay and throughput.
+
+## **B.10 Reporting multiple tests made between different locations**
+
+Full characterization of network performance can require multiple test measurements that are made between different node locations such as cities. In general, the locations where tests are conducted should be reported. If the measured data are significantly affected by the geographic test arrangements, then geography should be considered as a factor and incorporated into the appropriate statistical procedures used to estimate the performance parameters.
+
+# Annex C
+
+## Examples of measurement uses
+
+The accuracy required for the measurements will depend upon the use being made of the results. Three common objectives of performance measurement are given below.
+
+## C.1 Examples
+
+### C.1.1 Acceptance testing
+
+Acceptance of a service may depend on demonstrating a given level of performance. This level of performance can be demonstrated by obtaining measurements of the specified performance parameters and performing an hypothesis test to determine whether the performance levels are acceptable.
+
+Typically these are one sided hypothesis tests. A test for data packet transfer delay is given below. The null hypothesis $H_0$ is that the delay is acceptable, as it will be in most cases, while the alternative hypothesis $H_a$ is that the delay is too great and is therefore unacceptable.
+
+- $H_0$ : data packet transfer delay mean is $\leq x$ ms;
+- $H_a$ : data packet transfer delay mean is $> x$ ms.
+
+$H_0$ and $H_a$ will be reversed in cases where a higher parameter value is better (for example, service availability).
+
+### C.1.2 Maintenance
+
+Given that service has been accepted at a particular level of performance, service providers may want to establish maintenance limits. These are thresholds of performance at which the provider takes action to restore performance that has degraded to less than acceptable levels. In the following test of hypotheses the $x$ refers to the value given in the acceptance test above, and rejecting the null hypothesis (no maintenance needed) would be grounds for performing maintenance.
+
+- $H_0$ : data packet transfer delay mean is $\leq x$ ms;
+- $H_a$ : data packet transfer delay mean is $> x$ ms.
+
+### C.1.3 Conformance of data to a particular distribution
+
+In certain instances it is important to determine whether or not a set of measurements conforms reasonably well to a particular distribution. This type of test is important in determining whether an assumption about the distribution of a certain type of measurement is correct. In the test given below, the null hypothesis is that the distribution is uniform on the closed interval from 0 to 10.
+
+- $H_0$ : the distribution of data packet transfer delay is uniform (0,10);
+- $H_a$ : data packet transfer delay is not uniform (0,10).
+
+## C.2 Pairwise and multiple comparisons
+
+Pairwise and multiple comparisons are useful in assessing the effect of a factor or combination of factors on observed performance. A series of pairwise comparisons of means is not equivalent to a simultaneous comparison of all means. Thus the conclusions that mean $A$ is not significantly different from mean $B$ , and mean $C$ is not significantly different from mean $B$ , does not necessarily lead to the conclusion that means $A$ and $C$ are not significantly different from one another, and certainly not at the same level of significance.
+
+
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communication |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/053f1077d592e6622cd21dc4bb4cb366_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/053f1077d592e6622cd21dc4bb4cb366_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..71d8a37276cf694c0ad12e508071aed31eb04df6
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/053f1077d592e6622cd21dc4bb4cb366_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7199c95ef33bcbbee608bebdf68c3bab9a58c6c976f6563f59750e2ded77e22d
+size 46877
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/1b5a812c8aa20fd5cba28e97001d32de_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/1b5a812c8aa20fd5cba28e97001d32de_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6503f157ff9a96522c0246e035a4da74fb4aa8f3
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/1b5a812c8aa20fd5cba28e97001d32de_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:50c66ce7f5223d023dcab30cfd88460ef8f74a67513d95cc234811912dc2597b
+size 55371
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d4d8969f805414689ab79cfd08c333d454d482b3
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:636c3839edff955a5b6208530b05fa1c983ab153d90f00216517a7a99478b988
+size 7074
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/410562339ce067fdc6fa41940c118658_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/410562339ce067fdc6fa41940c118658_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c7284fc1a51addcad2b83136cdd4d6c332a99170
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/410562339ce067fdc6fa41940c118658_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:836ca08db8e60940fc063f07c129eac0f72b6aa00122da67af48d0060342de12
+size 33623
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..35fbb8b78cb2b2bc53022391f8bf7c7f3660926b
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:104e2ddb0d7579cee3ffada3e843fe05f6107f48fcb9fc53ad47c6e80af91aad
+size 64754
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..de7ccb804c184518979febd85b88f0ec543f3638
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/724c7777b608e53be38b12b6fb3c43bc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:00d4a0e62b1f6ceb81365cb1ee9c486a4643d576679e489cb1423d98b5217f7b
+size 67290
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/7e670a2b556b53ea9002dfff3a420e08_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/7e670a2b556b53ea9002dfff3a420e08_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c2efef64192b355dfc4f3c3f79588c4fc22f3f92
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/7e670a2b556b53ea9002dfff3a420e08_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:934b0513d134a9e86241dd393ffef711dfa3645cc5c7d1c8363b715677ca6f3c
+size 61398
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/853f59c89931a666c07903b31d098277_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/853f59c89931a666c07903b31d098277_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b39b0fb27d1c0a96f5c662db003bfc32cdc27ddf
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/853f59c89931a666c07903b31d098277_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:084c8b5ed57b5f1f3a1b68eef0677f4eeacbb24bc5f0d02d0fa74b3b926e1149
+size 29407
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6f3a6c332056fe6c30809410ee0a1358a3290c6d
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9d6c1a7093fa44c318c8e76527e3554fbe369bda03c1d86c851418e269b318c8
+size 47866
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/ae53f90bb87d6d09e2d6b5278d7c338f_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/ae53f90bb87d6d09e2d6b5278d7c338f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7cfb5c1d07e67ecd4b0c42ef0387e897b6b82ba5
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/ae53f90bb87d6d09e2d6b5278d7c338f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f67d4c755aef5a2a33a2c9b802a18fe8690f6854b298290fc90726286426d0c2
+size 37743
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..64d90c4c87ed9280b24247e7b6910f8354b8d7bd
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:848350b8f4e21fee0401587990533ea9522895a363fcd21e3706ef339ad56c99
+size 41487
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..02be2dba336ed5d536e59c1247d93487f501bae4
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/b6671cfafda3820aafe9a24fa7a4d8c7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:60af2e087b0ab2a4812cfd1acce49f94ec93e8ddae00fd224681db75ab87a1b7
+size 72583
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bc1decdf31ffa739ef3122675e4ba06446052550
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:598284d1e10016250160572440f3f2bd106ce276809ebc3e915c8b4804d1d908
+size 22338
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fa45dd4af13820ba5ef4d9589a2b4606af2ec868
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/cbdfdade780e677eb1c1aef3081ce9ef_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:478de821315d8a11da040ea798177e2c928901ea45e01473f8ac6adf4c548ebe
+size 57257
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/d734a6ea1b381280f043fcf70391b6db_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/d734a6ea1b381280f043fcf70391b6db_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d628a752fdf69a01eaa3499eb3c3a7921d19fbe5
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/d734a6ea1b381280f043fcf70391b6db_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d8e3f5c746a4e63139cd810bbd9ac7c4084443bb60d41ff9eeebcfbe2e623d9
+size 79353
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg b/marked/X/T-REC-X.1385-202504-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..94e04dcdc597b72657881be0f4a94ba87ed52af7
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:aa6b7af0232bbedcd5ea0cbd33b5ab160bb322d8cba645626719ffa2bd04d8a4
+size 70064
diff --git a/marked/X/T-REC-X.1385-202504-I_PDF-E/raw.md b/marked/X/T-REC-X.1385-202504-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..8464ffddd1425285fbffeb8cc920306d0fac0a46
--- /dev/null
+++ b/marked/X/T-REC-X.1385-202504-I_PDF-E/raw.md
@@ -0,0 +1,850 @@
+
+
+# Recommendation
+
+## **ITU-T X.1385 (04/2025)**
+
+SERIES X: Data networks, open system communications and security
+
+Secure applications and services (II) – Intelligent transportation system (ITS) security
+
+---
+
+## **Security requirements and guidelines for telecommunications in an urban air mobility (UAM) environment**
+
+## ITU-T X-SERIES RECOMMENDATIONS
+
+## Data networks, open system communications and security
+
+| | |
+|---------------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1-X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200-X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300-X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400-X.499 |
+| DIRECTORY | X.500-X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600-X.699 |
+| OSI MANAGEMENT | X.700-X.799 |
+| SECURITY | X.800-X.849 |
+| OSI APPLICATIONS | X.850-X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900-X.999 |
+| INFORMATION AND NETWORK SECURITY | X.1000-X.1099 |
+| SECURE APPLICATIONS AND SERVICES (I) | X.1100-X.1199 |
+| CYBERSPACE SECURITY | X.1200-X.1299 |
+| SECURE APPLICATIONS AND SERVICES (II) | X.1300-X.1499 |
+| Emergency communications | X.1300-X.1309 |
+| Ubiquitous sensor network security | X.1310-X.1319 |
+| Smart grid security | X.1330-X.1339 |
+| Certified mail | X.1340-X.1349 |
+| Internet of things (IoT) security | X.1350-X.1369 |
+| Intelligent transportation system (ITS) security | X.1370-X.1399 |
+| Distributed ledger technology (DLT) security | X.1400-X.1429 |
+| Application Security (2) | X.1450-X.1459 |
+| Web security (2) | X.1470-X.1489 |
+| CYBERSECURITY INFORMATION EXCHANGE | X.1500-X.1599 |
+| CLOUD COMPUTING SECURITY | X.1600-X.1699 |
+| QUANTUM COMMUNICATION | X.1700-X.1729 |
+| DATA SECURITY | X.1750-X.1799 |
+| INTERNATIONAL MOBILE TELECOMMUNICATIONS (IMT) SECURITY | X.1800-X.1839 |
+| METaverse AND DIGITAL TWIN SECURITY | X.2000-X.2199 |
+| SOFTWARE SUPPLY CHAIN SECURITY | X.2150-X.2199 |
+| ARTIFICIAL INTELLIGENCE (AI) / MACHINE LEARNING (ML) SECURITY | X.2200-X.2249 |
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# Recommendation ITU-T X.1385
+
+## Security requirements and guidelines for telecommunications in an urban air mobility (UAM) environment
+
+## Summary
+
+Recommendation ITU-T X.1385 provides security threats, security requirements, and implementation guidelines for telecommunications in an urban air mobility (UAM) environment. UAM or advanced air mobility (AAM) is an air transportation system for on-demand passenger transport or cargo-carrying services, typically flown within or to/from urban areas. This new type of transportation system is expected to resolve various problems including the utmost traffic jams, environmental pollution and a dense population in a big city. To provide air mobility service with safe and exact aviation in an urban area, various communication systems should be used. Thus, those communication systems make it highly probable that some communication channels can be targets of an attacker to access connected aerial vehicle's internal systems and might cause heavy casualties.
+
+This Recommendation may be utilized by UAM/AAM manufacturers and related industries for commercial implementation as telecommunication security requirements and guidelines only after approval by national and/or international aviation authorities.
+
+## History\*
+
+| Edition | Recommendation | Approval | Study Group | Unique ID |
+|---------|----------------|------------|-------------|--------------------|
+| 1.0 | ITU-T X.1385 | 2025-04-17 | 17 | 11.1002/1000/16163 |
+
+## Keywords
+
+Advanced air mobility, air traffic control, connected aerial vehicle, electric vertical take-off, global navigation satellite system, mobile network, satellite communication, security requirement, security threat, urban air mobility.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, and information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2025
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|---|-------------------------------------------------------------------------------------------------------------|------|
+| 1 | Scope..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere ..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 5 | Conventions ..... | 3 |
+| 6 | Overview of telecommunications for urban air mobility ..... | 3 |
+| | 6.1 Connectivity in an urban air mobility (UAM)/advanced air mobility (AAM) environment..... | 3 |
+| | 6.2 Communication interfaces..... | 4 |
+| 7 | Security threats ..... | 5 |
+| | 7.1 Threats factors ..... | 5 |
+| | 7.2 Identified threats..... | 6 |
+| 8 | Security requirements ..... | 10 |
+| | 8.1 Confidentiality ..... | 10 |
+| | 8.2 Integrity ..... | 10 |
+| | 8.3 Authenticity ..... | 10 |
+| | 8.4 Availability ..... | 10 |
+| | 8.5 Accountability ..... | 10 |
+| | 8.6 Authorization..... | 11 |
+| | 8.7 Non-repudiation..... | 11 |
+| 9 | Implementation guidelines for improving the security of telecommunication in a UAM environment..... | 12 |
+| | 9.1 Verification of the source and the received data between vehicle and external entities..... | 12 |
+| | 9.2 Establishment of secure communication channel between the remote pilot station and the cabin crew ..... | 13 |
+| | 9.3 Consistency verification of regular status data..... | 13 |
+| | 9.4 Verification of vehicle-to-vehicle (V2V) messages and misbehaviour report..... | 13 |
+| | Appendix I – Overview of connected aerial vehicles for a UAM/AAM ..... | 15 |
+| | I.1 Overview of connectivity and system structure ..... | 15 |
+| | I.2 Use cases from a service perspective ..... | 17 |
+| | I.3 Use cases from an operational perspective..... | 19 |
+| | Bibliography..... | 22 |
+
+
+
+# Recommendation ITU-T X.1385
+
+## Security requirements and guidelines for telecommunications in an urban air mobility (UAM) environment
+
+# 1 Scope
+
+This Recommendation provides security requirements and guidelines for telecommunications in an urban air mobility (UAM) environment. This Recommendation includes an overview of connectivity utilized for urban air mobility and analysis of intentional security threats, security requirements, and implementation guidelines.
+
+This Recommendation may be utilized by UAM/AAM manufacturers and related industries for commercial implementation as telecommunication security requirements and guidelines only after approval by national and/or international aviation authorities.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+None.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 accountability** [b-ITU-T X.800]: The property that ensures that the actions of an entity may be traced uniquely to the entity.
+
+**3.1.2 authentication** [b-ITU-T X.1252]: Formalized process of verification that, if successful, results in an authenticated identity for an entity.
+
+**3.1.3 authenticity** [b-ITU-T X.641]: Protection for mutual authentication and data origin authentication.
+
+**3.1.4 authorization** [b-ITU-T X.800]: The granting of rights, which includes the granting of access based on access rights.
+
+**3.1.5 availability** [b-ITU-T X.800]: The property of being accessible and usable upon demand by an authorized entity.
+
+**3.1.6 confidentiality** [b-ITU-T X.800]: The property that information is not made available or disclosed to unauthorized individuals, entities, or processes.
+
+**3.1.7 cryptomaterial** [b-ISO 21177]: Cryptomaterial refers to either a secret key for a symmetric algorithm, or a private key for an asymmetric algorithm and the associated public key or certificate.
+
+**3.1.8 integrity** [b-ISO/IEC 27000]: Property of accuracy and completeness.
+
+**3.1.9 jamming** [b-ISO 24246]: Deliberate interference, caused by emissions intended to render unintelligible or falsify the whole or part of a wanted signal.
+
+**3.1.10 non-repudiation** [b-ITU-T X.800]: The recipient/sender of data is provided with proof of the origin/delivery of data. This will protect against any attempt by the sender/recipient to falsely deny sending/receiving the data or its contents.
+
+**3.1.11 threat** [b-ISO/IEC 27000]: A potential cause of an unwanted incident, which can result in harm to a system or organization.
+
+## **3.2 Terms defined in this Recommendation**
+
+None.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|--------|--------------------------------------------|
+| AAM | Advanced Air Mobility |
+| ADS-B | Automatic Dependent Surveillance-Broadcast |
+| ATC | Air Traffic Control |
+| BRLOS | Beyond Radio Line-of-Sight |
+| BVLOS | Beyond VLOS |
+| C2 | Command and Control |
+| CAN | Controller Area Network |
+| CTOL | Conventional Take-Off and Landing |
+| EEPROM | Electrically Erasable Programmable Rom |
+| EVLOS | Extended VLOS |
+| eVTOL | Electric Vertical Take-Off and Landing |
+| FCS | Flight Control System |
+| GNSS | Global Navigation Satellite System |
+| IDS | Intrusion Detection System |
+| IFR | Instrument Flight Rule |
+| LAN | Local Area Network |
+| MAC | Message Authentication Code |
+| MCU | Microcontroller Unit |
+| RLOS | Radio Line-of-Sight |
+| RPA | Remotely Piloted Aircraft |
+| RPAS | Remotely Piloted Aircraft Systems |
+| RPS | Remote Pilot Station |
+| STOL | Short Take-Off and Landing |
+| UAM | Urban Air Mobility |
+| UAS | Unmanned Aircraft System |
+| UTM | UAM Traffic Management |
+| V2V | Vehicle-to-Vehicle |
+| V2X | Vehicle-to-Everything |
+
+| | |
+|------|-------------------------------|
+| VFR | Visual Flight Rules |
+| VHF | Very High Frequency |
+| VLOS | Visual Line-of-Sight |
+| VTOL | Vertical Take-Off and Landing |
+
+# 5 Conventions
+
+This Recommendation uses the following conventions:
+
+The keywords "**is required to**" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "**is recommended**" indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "**can optionally**" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider.
+
+In the body of this Recommendation, the verbal form "can" sometimes appears, in which case it is to be interpreted as "**is able to**".
+
+# 6 Overview of telecommunications for urban air mobility
+
+## 6.1 Connectivity in an urban air mobility (UAM)/advanced air mobility (AAM) environment
+
+Aerial vehicles in a UAM/AAM environment communicate with vertiport, remote pilot station (RPS), UAM traffic management (UTM), air traffic control (ATC), update server, satellite and other airplanes as depicted in Figure 1.
+
+Command and control (C2) is used between an aerial vehicle and a remote pilot station (RPS) to manage the flight. [b-C2] (refer to Appendix I).
+
+
+
+Figure 1 – Connectivity in a UAM/AAM environment. This diagram illustrates the central role of an 'Aerial vehicle for UAM/AAM' in a networked environment. The vehicle is connected to several entities: an 'Update server' (via a 'Mobile/Terrestrial network'), a 'Satellite', an 'RPS' (Remote Pilot Station), an 'ATC/Vertiport/UTM' (Air Traffic Control/Vertiport/Unmanned Traffic Management), 'Other vehicles' (represented by a commercial jet and a helicopter), and a 'Maintenance engineer'. Bidirectional arrows indicate the flow of information and control between the central vehicle and all these components.
+
+**Figure 1 – Connectivity in a UAM/AAM environment**
+
+## 6.2 Communication interfaces
+
+The datalink system is a key component for providing communication capability in the vehicle. It consists of internal and external communication sub-systems, as shown in Figure 2.
+
+For internal communications, controller area network (CAN) [b-ISO 11898], [b-ITU-T X.1375] and local area network (LAN) using Ethernet protocol can be used. For stable and reliable communication, CAN network is used to transfer flight control data and vehicle status with the flight control system (FCS). On the other hand, Ethernet is used for communications with the infotainment system to transfer high bandwidth data.
+
+For external communications, it consists of a gateway and various modems such as a cellular modem, command and control (C2) modem and satellite communication modem, global navigation satellite system (GNSS) data receiver, a maintenance port for diagnosing internal systems of the vehicle, and an aviation communication modem for pilots.
+
+
+
+Figure 2 – An example of a datalink system for internal/external communications. This block diagram shows the architecture of a datalink system. On the left, under 'External communication', is the 'Datalink system' which includes a stack of components: Cellular modem, C2 modem, SatCom modem, GNSS data receiver, Maintenance port, and Aviation communication modem. These connect to a central 'Gateway'. On the right, under 'Internal communication', the 'Gateway' connects to two internal networks: 'CAN' (Controller Area Network) and 'LAN' (Local Area Network). The 'CAN' network is connected to the 'FCS' (Flight Control System) and other internal systems. The 'LAN' network is connected to the 'Infotainment system' and other internal systems. Ellipses (...) indicate additional internal systems.
+
+**Figure 2 – An example of a datalink system for internal/external communications**
+
+# 7 Security threats
+
+## 7.1 Threats factors
+
+In this clause, the data flow between the vehicle and its external entities and security assets are defined to analyse intentional security threats of the vehicle.
+
+### 7.1.1 Data flow
+
+Based on the connectivity and communication interfaces, the data flow is depicted in Figure 3.
+
+
+
+Figure 3 – Data flow diagram. This diagram illustrates the data flow between a central 'Vehicle' and various external entities. The 'Vehicle' is represented by a box containing 'Datalink system' and 'Passenger'. 'Multimedia data' flows from the 'Passenger' to the 'Datalink system'. External entities include: 'Update server' (receives 'Update package' and 'Update report' from the vehicle; sends 'Vehicle control command' to the vehicle); 'Satellite' (receives 'GNSS data' from the vehicle; sends 'Vehicle control (C2 data)/ status command' to the vehicle); 'RPS' (receives 'Vehicle status information' from the vehicle; sends 'Vehicle control command' to the vehicle); 'ATC/ Vertiport/ UTM' (receives 'Flight information' from the vehicle; sends 'Vehicle identification information' to the vehicle); 'Other vehicle' (receives 'V2V data ADS-B' and 'Flight information' from the vehicle); and 'Maintenance engineer' (receives 'Request and response for diagnostics' from the vehicle).
+
+X.1385(25)
+
+Figure 3 – Data flow diagram
+
+### 7.1.2 Security assets
+
+A security asset means any data object, function, or resource that should be protected. The security assets are defined in Table 1.
+
+Table 1 – Security assets
+
+| Security assets | | Description |
+|--------------------|-------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Software | | Software running on the systems such as datalink, infotainment and FCS including firmware, parameter data items, configuration data, and IDS/firewall rules for detecting and preventing malicious messages |
+| Cryptomaterial | | Cryptomaterial refers to either a secret key for a symmetric algorithm, or a private key for an asymmetric algorithm and the associated public key or certificate |
+| Communication data | Communications with UTM/RPS/vertiport/ATC | Communications with UTM, RPS, vertiport, and ATC in order to control the vehicle and share flight and traffic information |
+| | Communications for passengers | Communication data with the Wi-Fi antenna inside the vehicle for the passenger's Internet connection |
+| | Communications for diagnostics | Diagnostic communication between the vehicle and diagnostic tools in order to inquire about the status of the vehicle and control the vehicle by force |
+
+**Table 1 – Security assets**
+
+| Security assets | Description |
+|-----------------|----------------------------------------------------------------------------------------------|
+| Update package | Data package that holds update instructions, e.g., binaries, scripts, and configuration data |
+| Log record data | Record of events having significance for the management of the information system |
+
+## 7.2 Identified threats
+
+This clause identifies security threats that can optionally compromise each of the security assets defined in clause 7.1.2.
+
+### 7.2.1 Threats to confidentiality
+
+##### 7.2.1.1 Unauthorized exposure of communication data
+
+An attacker is able to eavesdrop on communication messages between the vehicle and external entities and expose vehicle control commands, status information, update packages, and so on. Figure 4 shows that an attacker is able to obtain the communication data in an unauthorized manner or use it for a further attack.
+
+
+
+```
+
+graph LR
+ Vehicle[Vehicle] --- Junction(( ))
+ Junction --> UpdateServer[Update server]
+ Junction --> Satellite[Satellite]
+ Junction --> ATC[ATC/Vertiport/UTM]
+ Junction --> Maintenance[Maintenance engineer]
+ Junction --> OtherVehicles[Other vehicles]
+ Junction --> RPS[RPS]
+ Attacker[Attacker] -.-> Junction
+
+```
+
+X.1385(25)
+
+Diagram illustrating a threat to the confidentiality of communication data. A Vehicle is shown on the left, connected by a line to a central point. From this point, arrows branch out to six external entities: Update server, Satellite, ATC/Vertiport/UTM, Maintenance engineer, Other vehicles, and RPS. An attacker icon (a person in a hat) with a red warning triangle above it is positioned above the central connection line, indicating eavesdropping on the communication between the vehicle and these entities.
+
+**Figure 4 – Threat to the confidentiality of communication data**
+
+##### 7.2.1.2 Unauthorized exposure of update package
+
+As shown in Figure 5, an attacker is able to obtain update packages by:
+
+- Accessing the electrically erasable programmable ROM (EEPROM) of each system in the vehicle;
+- Eavesdropping on the communication data between the vehicle and the update server.
+
+To make maintenance like the update of firmware in the aviation system is permitted only on the ground and strictly forbidden during the flight. While the vehicle is being updated by the update server, an attacker is able to analyse update packages to identify control flow, version information and so on, and use them for further attacks. In addition, an attacker is able to send the update package of lower versions and attack using known vulnerabilities.
+
+
+
+Figure 5: Threat to the confidentiality of update packages. The diagram shows a 'Vehicle' box containing a 'Datalink system' box. A dashed line connects the 'Datalink system' box to a detailed view of the 'Datalink system' components: 'RAM', 'EEPROM', and 'CPU or MCU'. A red starburst icon is next to 'RAM' and 'EEPROM'. A red arrow points from the 'Datalink system' box to a hacker icon. Another red arrow points from the hacker icon to a warning triangle icon. A line connects the 'Datalink system' box to an 'Update server' box. The text 'X.1385(25)' is at the bottom right.
+
+**Figure 5 – Threat to the confidentiality of update packages**
+
+##### 7.2.1.3 Unauthorized exposure of cryptomaterial
+
+As illustrated in Figure 6, an attacker is able to sniff cryptomaterial by:
+
+- physically opening the casing of the storage;
+- reading the cryptomaterial from the memory of each component where the cryptomaterial is used;
+- modifying the firmware and altering the control flow to expose the cryptomaterial.
+
+
+
+Figure 6: Threats to the confidentiality of cryptomaterial. The diagram shows a box labeled 'Systems in the vehicle' containing an 'MCU' box and 'Power' and 'Flash' boxes. The 'MCU' box contains 'Peripheral functions', 'CPU', and 'RAM' boxes. Red arrows show an attacker (hacker icon) performing three actions: 'Alter control flow' (arrow to CPU), 'Read memory' (arrow to RAM), and 'Physical attack' (arrow to Flash). The text 'X.1385(25)' is at the bottom right.
+
+**Figure 6 – Threats to the confidentiality of cryptomaterial**
+
+#### 7.2.2 Threats to integrity
+
+##### 7.2.2.1 Software manipulation
+
+An attacker is able to modify the software such as firmware, scripts, calibration data, log record data, and so on.
+
+##### 7.2.2.2 IDS/firewall rules manipulation
+
+An attacker is able to manipulate the rules of the firewall and the intrusion detection system (IDS) to make them ignore anomaly messages.
+
+##### 7.2.2.3 Communication data manipulation
+
+An attacker is able to change communication messages between the vehicle and external entities, as depicted in Figure 7. For example, an attacker is able to create fake vehicles around the target vehicle by tampering with automatic dependent surveillance-broadcast (ADS-B) communication data. In another example, GNSS or similar satellite-based positioning information, being violated intentionally by threat actor(s) through spoofing/local replacement of the authorized positioning signal is able to lead to incorrect positioning information being sent to and consumed by one or more vehicles, which is able to in turn cause physical crashing and/or collision of the vehicles among themselves or other (flying or not) objects.
+
+
+
+The diagram illustrates threats to integrity. On the left, a box labeled 'Vehicle' contains three main sections: 'Other systems' with a 'Memory' box, 'Storage system' with a 'Log data record' box, and 'Datalink' with 'Firewall', 'IDS', and 'Memory' boxes. An attacker icon (a person with a mask) is shown with four red arrows pointing to these components, labeled 'Manipulate software', 'Manipulate log', 'Manipulate the rule of FW/IDS', and 'Manipulate communication data (e.g., ADS-B)'. A red triangle with an exclamation mark is positioned between the vehicle and a list of external entities on the right: 'Update server', 'Satellite', 'ATC/ Vertiport/UTM', 'Maintenance engineer', 'Other vehicles', and 'RPS'. A red arrow points from the attacker to this triangle, indicating the manipulation of communication data.
+
+X.1385(25)
+
+Figure 7: Threats to integrity. A diagram showing an attacker manipulating various components of a vehicle and its communication with external entities.
+
+Figure 7 – Threats to integrity
+
+#### 7.2.3 Threats to authenticity – Impersonation
+
+An attacker is able to impersonate other entities such as RPS/vertiport/ATC and maintenance engineers to control the vehicle. In addition, an attacker is able to impersonate an update server to distribute malicious or lower versions of update packages, as shown in Figure 8.
+
+
+
+The diagram illustrates threats to authenticity. A central 'Vehicle' box is surrounded by several external entities: 'Update server', 'Satellite', 'RPS', 'ATC/ Vertiport/UTM', 'Other vehicle', and 'Maintenance engineer'. An attacker icon (a person with a mask) is shown with red arrows pointing to the vehicle from each of these entities, indicating impersonation. The interactions are as follows: 'Update server' sends 'Update package' and receives 'Update report'; 'Satellite' sends 'GNSS data' and receives 'Vehicle control (C2 data)/ status command'; 'RPS' sends 'Vehicle control command' and receives 'Vehicle status information'; 'ATC/ Vertiport/UTM' sends 'Flight information' and receives 'Vehicle identification information'; 'Other vehicle' sends 'V2V data ADS-B' and receives 'Flight information'; 'Maintenance engineer' sends 'Request and response for diagnostics'. The attacker is also shown with a red arrow pointing to the vehicle, indicating direct impersonation.
+
+X.1385(25)
+
+Figure 8: Threats to authenticity. A diagram showing an attacker impersonating various entities to interact with a vehicle.
+
+Figure 8 – Threats to authenticity
+
+#### 7.2.4 Threats to availability – Denial-of-service (DoS) to communication interfaces
+
+The attacker is able to perform jamming attacks on the vehicle or send a large amount of radio signals to the vehicle so that it is unable to process them normally. Consequently, the vehicle is not able to receive control commands from the RPS or transmit the vehicle's current state to the RPS, as illustrated in Figure 9. In addition, an attacker can cause unintended malfunctions of the datalink system so that it is not able to communicate with other entities. And also exploit TCP/IP packets to generate DoS attacks in communication channels.
+
+
+
+X.1385(25)
+
+Figure 9: Threats to availability. A block diagram showing a central 'Vehicle' box containing 'Datalink system', 'Passenger', and 'Multimedia data'. The 'Datalink system' is marked with a red 'X' and a red circle with a diagonal slash, indicating a denial-of-service attack. The vehicle is connected to an 'Update server' (via 'Update package' and 'Update report'), a 'Satellite' (via 'GNSS data' and 'Vehicle control (C2 data)/status command'), an 'RPS' (via 'Vehicle control command' and 'Vehicle status information'), an 'ATC/Vertiport/UTM' (via 'Flight information' and 'Vehicle identification information'), and 'Other vehicle' (via 'V2V data ADS-B' and 'Flight information'). A 'Maintenance engineer' is connected via 'Request and response for diagnostics'. A red arrow from an attacker icon points to the 'Datalink system'.
+
+Figure 9 – Threats to availability
+
+#### 7.2.5 Threats to accountability – Log record data manipulation
+
+An attacker is able to delete or modify log record data and especially audit logs of security events from the intrusion detection system (IDS) and firewall as depicted in Figure 7.
+
+#### 7.2.6 Threats to authorization – Unauthorized access
+
+An attacker is able to gain access to the data bus inside the vehicle after gaining privileges higher than their own through privilege escalation, as shown in Figure 10.
+
+
+
+X.1385(25)
+
+Figure 10: Threats to authorization. A block diagram showing an attacker icon pointing to a 'Datalink system' box. The 'Datalink system' is connected to a 'Data bus' box. The 'Data bus' is connected to four other boxes: 'Flight control systems', 'Avionics systems', 'Safety systems', and 'Storage systems'.
+
+Figure 10 – Threats to authorization
+
+### 7.2.7 Threats to non-repudiation – Denial of sending and receiving messages
+
+An attacker is able to deny the fact of sending/receiving commands and data to/from UTM/RPS/vertiport/ATC/other vehicles.
+
+# **8 Security requirements**
+
+This clause describes security requirements to address the identified threats to telecommunications in the urban air mobility (UAM) environment.
+
+## **8.1 Confidentiality**
+
+- [SR-01] The confidentiality of communication data with the external entities (UTM/vertiport/ATC/remote pilot station (RPS)/other vehicles) is required to be protected against unauthorized exposure.
+- [SR-02] The vehicle is recommended to apply communication data encryption measures provided by the communication protocol of each system.
+- [SR-03] The configuration data used in communication protocols can optionally no longer be secure over time. Therefore, it is recommended to be checked periodically.
+- [SR-04] The confidentiality of the update package is required to be protected from unauthorized disclosure during the update procedure.
+- [SR-05] The confidentiality of the update package is recommended to be protected using a symmetric key or an asymmetric key-based encryption mechanism.
+- [SR-06] The confidentiality of cryptomaterial is required to be protected against unauthorized exposure.
+
+## **8.2 Integrity**
+
+- [SR-07] The integrity of software is required to be protected against manipulation.
+- [SR-08] The software manipulation is recommended to be detected at the software start-up phase.
+- [SR-09] The software manipulation is recommended to be detected during software runtime.
+- [SR-10] The integrity of IDS/firewall rules is required to be protected against manipulation.
+- [SR-11] The integrity guarantee mechanism is recommended to be applied to part or all of the IDS/firewall rules.
+- [SR-12] The integrity of any communications with the external entities (UTM/vertiport/ATC/remote pilot station (RPS)/other vehicles) is required to be protected against manipulation.
+- [SR-13] In order to ensure the integrity of communication data, an algorithm, certified by aviation regulations is required to be used.
+- [SR-14] GNSS identification is recommended to be used. In cases where it is not available, other satellite constellations' signals can optionally be repurposed, using these for positioning, to balance the risk of GNSS spoofing.
+
+## **8.3 Authenticity**
+
+- [SR-15] All communications with the external entities (UTM/vertiport/ATC/remote pilot station (RPS)/other vehicles) are required to be received from a trusted source.
+
+## **8.4 Availability**
+
+- [SR-16] The availability of any communications with the external entities (UTM/vertiport/ATC/remote pilot station (RPS)/other vehicles) is required to be protected against denial-of-service.
+- [SR-17] When designing a system, functional redundancy is recommended to be considered.
+
+## **8.5 Accountability**
+
+- [SR-18] For audits, the accountability of log record data is required to be guaranteed.
+
+[SR-19] Log record data in the vehicle is required to be protected against manipulation.
+
+## 8.6 Authorization
+
+[SR-20] Appropriate authorization is required to prevent actions that grant different privileges than their own.
+
+## 8.7 Non-repudiation
+
+[SR-21] To prevent message sending/receiving repudiation, a digital signature for messages is able to be used.
+
+Table 2 shows the mapping relation between security requirements and security threats.
+
+**Table 2 – Mapping of security requirements and threats**
+
+| Security objectives | Security requirements | | Related threats |
+|---------------------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|
+| Confidentiality | [SR-01] | The confidentiality of communication data with the external entities (UTM/vertiport/ATC/remote pilot station (RPS)/other vehicles) is required to be protected against unauthorized exposure. | Unauthorized exposure of communication data |
+| | [SR-02] | The vehicle is recommended to apply communication data encryption measures provided by the communication protocol of each system. | |
+| | [SR-03] | The configuration data used in the communication protocols can optionally no longer be secure over time. Therefore, it is recommended to be checked periodically. | |
+| | [SR-04] | The confidentiality of the update package is required to be protected from unauthorized disclosure during the update procedure. | Unauthorized exposure of the update package |
+| | [SR-05] | The confidentiality of the update package is recommended to be protected using a symmetric key or an asymmetric key-based encryption mechanism. | |
+| | [SR-06] | The confidentiality of cryptomaterial is required to be protected against unauthorized exposure. | Unauthorized exposure of crypto material |
+| Integrity | [SR-07] | The integrity of software is required to be protected against manipulation. | Software manipulation |
+| | [SR-08] | The software manipulation is recommended to be detected at the software start-up phase. | |
+| | [SR-09] | The software manipulation is recommended to be detected during software runtime. | |
+| | [SR-10] | The integrity of IDS/firewall rules is required to be protected against manipulation. | IDS/firewall rules manipulation |
+| | [SR-11] | The integrity guarantee mechanism is recommended to be applied to part or all of the IDS/firewall rules. | |
+| | [SR-12] | The integrity of any communications with the external entities (UTM/vertiport/ATC/remote pilot station/other vehicles) is required to be protected against manipulation. | Communication data manipulation |
+
+**Table 2 – Mapping of security requirements and threats**
+
+| Security objectives | Security requirements | | Related threats |
+|---------------------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------|
+| | [SR-13] | In order to ensure the integrity of communication data, an algorithm certified by aviation regulations is required to be used. | |
+| | [SR-14] | GNSS identification is recommended to be used. In cases where it is not available, other satellite constellations' signals can optionally be repurposed, using these for positioning, to balance the risk of GNSS spoofing. | |
+| Authenticity | [SR-15] | All communications with the external entities (UTM/vertiport/ATC/remote pilot station (RPS)/other vehicles) are required to be received from a trusted source. | Impersonation |
+| Availability | [SR-16] | The availability of any communications with the external entities (UTM/vertiport/ATC/remote pilot station (RPS)/other vehicles) is required to be protected against denial-of-service. | Denial-of-service to communication interfaces |
+| | [SR-17] | When designing a system, functional redundancy is recommended to be considered. | |
+| Accountability | [SR-18] | For audit, the accountability of log record data is required to be guaranteed. | Log record data manipulation |
+| | [SR-19] | Log record data in the vehicle is required to be protected against manipulation. | |
+| Authorization | [SR-20] | Appropriate authorization is required to prevent actions that grant different privileges than their own. | Unauthorized access |
+| Non-repudiation | [SR-21] | To prevent message sending/receiving repudiation, a digital signature for messages is required to be used. | Denial of sending and receiving messages |
+
+# 9 Implementation guidelines for improving the security of telecommunication in a UAM environment
+
+## 9.1 Verification of the source and the received data between vehicle and external entities
+
+When an aerial vehicle receives an update package or various information from external entities such as UAM traffic management (UTM), vertiport, ATC, a remote pilot station (RPS), or other vehicles, it is recommended to check whether the source and the received data are trusted or not. To do this, the communication party is recommended to be authenticated through cryptographic methods such as a digital signature using asymmetric cryptographic algorithms. In addition, the attack on the periodically transmitted communication data is able to be easily detected just by checking consistency compared with the previous data or by comparing its hash value with a hash value of the same data from other vehicles driving nearby. Every communication data is recommended to verify the consistency. The security requirements [SR-12] and [SR-13] are closely related to these items.
+
+## **9.2 Establishment of secure communication channel between the remote pilot station and the cabin crew**
+
+Communication between the remote pilot station and the cabin crew is recommended to be secured. An attacker is able to impersonate an authorized remote pilot station and then transmit malicious information to the cabin crew. This could be a serious threat to the safety of vehicles and passengers. Therefore, all communications between the remote pilot station and the cabin crew are recommended to be verified as a trusted source, (see [SR-12]).
+
+For example, the remote pilot station and the cabin crew are able to be authenticated by ATC using token-based authentication. When the authentication is successfully completed, the session key for en/decryption and the message authentication code (MAC) generation/verification key to be used for data transmission are exchanged through a method such as hybrid encryption. Thereafter, all communication data makes a transmission frame of encrypted data through the exchanged session key and MAC generated from the freshness value and the encrypted data, to provide confidentiality, integrity of data and authentication of messages and data sources.
+
+## **9.3 Consistency verification of regular status data**
+
+Air traffic control (ATC) constantly checks flight information such as the location and condition of vehicles. Each vehicle is recommended to periodically transmit its information to ATC to meet this requirement. In this case, incoming messages are recommended to be verified because an attacker is able to transmit false information to ATC to cause confusion or to prevent the vehicle from noticing the problem as described in [SR-15].
+
+A simple method to check whether the transmitted data is false or not, is to verify the location and time information as follows. After ATC receives data from vehicles, previously received data from the same vehicle in the database is utilized to calculate the differences (delta) with the currently received data. If the delta value bounces abnormally, it is highly probable for the current data to be false information, because that data is recommended to be changed slowly. Therefore, this delta value is able to be an indicator that the vehicle is moving at a normal speed and path.
+
+If the verification fails, this clearly indicates that the attack is underway. In this case, the vehicle is recommended to activate the emergence process, and ATC is recommended to communicate with the pilot (including the remote pilot station) or cabin crew through a separate channel to recover safe states.
+
+## **9.4 Verification of vehicle-to-vehicle (V2V) messages and misbehaviour report**
+
+As UAM/AAM technology and service evolve, corridors will become increasingly complex. Some corridors will overlap or intersect, and there can optionally be a possibility of collision between vehicles. In addition, since an aerial vehicle will fly only a few hundred metres off the ground, it is necessary to communicate with terrestrial vehicles. Thus, a vehicle-to-vehicle (V2V) system is recommended to avoid severe accidents such as crashes, as described in [b-RFC 9365]. It has already begun to standardize the vehicle-to-everything (V2X) system in the UAM/AAM environment [b-RTCA V2V]. Vehicles are recommended to communicate with each other to avoid severe accidents such as crashes.
+
+An attacker is able to impersonate normal vehicles and send malicious data to other vehicles to make them misunderstand the flight environment. If an attacker transmits data as if a fast-approaching vehicle is far away from an intersection of corridors, serious collisions are able to occur in instrument flight rule (IFR) situations.
+
+Therefore, according to [SR-15], vehicles are recommended to check all data from other vehicles and report it when the receiving data is suspicious (which is a misbehaviour report), as shown in Figure 11.
+
+
+
+```
+
+graph TD
+ subgraph Sending_UAMs [Sending UAMs]
+ SDT[Status data transmission]
+ end
+
+ subgraph Receiving_UAM [Receiving UAM]
+ RSD[Receive status data]
+ FIC{Flight information check}
+ CCPD{Consistency check with previous data}
+ DDP[Data processing]
+ MR[Misbehaviour report]
+ RR[Receive the request]
+ URS[Update rule set]
+ end
+
+ subgraph ATC [ATC]
+ RMR[Receive misbehaviour report]
+ FR{False report?}
+ L[Logging]
+ D[Drop]
+ B[Block the vehicle that send the data]
+ RSUR[Rule set update request]
+ end
+
+ SDT --> RSD
+ RSD --> FIC
+ FIC -- YES --> CCPD
+ FIC -- NO --> MR
+ CCPD -- YES --> DDP
+ CCPD -- NO --> MR
+ DDP --> RR
+ MR --> RMR
+ RMR --> FR
+ FR -- YES --> L
+ FR -- NO --> RSUR
+ L --> D
+ D --> B
+ RSUR --> RR
+ RR --> URS
+
+```
+
+The flowchart is divided into three vertical sections by dashed lines: **Sending UAMs**, **Receiving UAM**, and **ATC**.
+
+- Sending UAMs:** Starts with a box "Status data transmission". An arrow points to "Receive status data" in the Receiving UAM section.
+- Receiving UAM:**
+ - "Receive status data" leads to a decision diamond "Flight information check".
+ - If "Flight information check" is **NO**, it leads to "Misbehaviour report".
+ - If "Flight information check" is **YES**, it leads to another decision diamond "Consistency check with previous data".
+ - If "Consistency check with previous data" is **NO**, it leads to "Misbehaviour report".
+ - If "Consistency check with previous data" is **YES**, it leads to "Data processing".
+ - "Data processing" leads to "Receive the request".
+ - "Misbehaviour report" also leads to "Receive the request".
+ - "Receive the request" leads to "Update rule set".
+- ATC:**
+ - "Misbehaviour report" from the Receiving UAM section leads to "Receive misbehaviour report".
+ - "Receive misbehaviour report" leads to a decision diamond "False report?".
+ - If "False report?" is **YES**, it leads to "Logging".
+ - If "False report?" is **NO**, it leads to "Rule set update request".
+ - "Logging" leads to "Drop".
+ - "Drop" leads to "Block the vehicle that send the data".
+ - "Rule set update request" also leads to "Receive the request" in the Receiving UAM section.
+
+Flowchart illustrating the verification process of V2V communication and report, divided into three sections: Sending UAMs, Receiving UAM, and ATC.
+
+X.1385(25)
+
+**Figure 11 – Verification process of V2V communication and report**
+
+When ATC receives the misbehaviour report from vehicles, the report should be verified as to whether it is false or not as a global misbehaviour detection described in [b-Kaiser].
+
+# Appendix I
+
+## Overview of connected aerial vehicles for a UAM/AAM
+
+(This appendix does not form an integral part of this Recommendation.)
+
+### I.1 Overview of connectivity and system structure
+
+According to the length of runways required for taking-off and landing, aerial vehicles can be categorized as conventional take-off and landing (CTOL), short take-off and landing (STOL) and vertical take-off and landing (VTOL) vehicles. CTOL is a conventional type of aerial vehicle that needs a long runway to take off and land, while STOL and VTOL need respectively a shorter runway or none.
+
+The electric vertical take-off and landing (eVTOL) vehicle is a new type of aerial vehicle used for urban air mobility (UAM) or advanced air mobility (AAM) services in urban areas which are characterized by severe road traffic congestion, noise-sensitive environments, and crowded and cramped spaces with high-rise buildings and residential houses. The eVTOL can be described as a vehicle positioned in between drones and conventional airplanes that features vertical take-off and landing capability, electrification of lift and rotating rotor power, and auto/semi-auto/remote controls. Passenger transportation including air taxis, emergency purposing (e.g., rescue, police and first-aid), and leisure activities as well as freight delivery services, would be envisioned applications for UAM/AAM services. An unmanned and/or remotely controlled aerial vehicle intended for specific purposes such as delivering freight, filming scenes, atmospheric research or surveillance can be categorized as an unmanned aircraft system (UAS) vehicle.
+
+To provide safe and exact aviation as well as broadband services in a cabin, eVTOL uses various communication link types as follows (refer to Figure I.1 and Table I.1):
+
+- **Air traffic control (ATC) service:** This type of network is used for preventing collisions between aircraft and in the manoeuvring area between aircraft and obstructions and expediting and maintaining an orderly flow of air traffic. [b-ATS]
+- **ADS-B:** This type of communication is used for air traffic control for broadcasting position information to other aircraft and air traffic control (ATC) using very high frequency (VHF) bandwidth. [b-ADS-B]
+- **V2V:** This type of communication is used for aircraft-to-aircraft communication to share information and prevent collisions between aircraft. [b-V2V]
+- **GNSS:** Refers collectively to the worldwide positioning, navigation, and timing determination capability available from one or more satellite constellations. A GNSS constellation may be augmented by ground stations and/or geostationary satellites to improve integrity and position accuracy. [b-GNSS]
+- **Satellite communication:** This system is used for providing broadband services in the cabin of aircraft by using a satellite communication channel (e.g., satellite-based Internet service). [b-ITU-R S.1782-1]
+- **Cellular connectivity:** This type of communication is used for providing broadband services in the cabin of aircraft and command and control (C2) communication by using mobile network channels. [b-ETSI TS 122 125]
+- **Wi-Fi:** This type of communication is used for providing broadband services in a cabin through satellite communication or a mobile network.
+- **C2 (Command and control):** This type of communication is used as a data link between the remotely piloted aircraft (RPA) and the remote pilot station to manage the flight. [b-C2]
+
+
+
+X.1385(25)
+
+Diagram illustrating communication link types for UAM/AAM service. The diagram shows various entities connected by eight link types: 1. Aerial vehicle for UAM/AAM to Vertiport/GCS/UTM; 2. Mobile/Terrestrial network to Aerial vehicle for UAM/AAM; 3. ATC (Air traffic control) to Aerial vehicle for UAM/AAM; 4. Aerial vehicle for UAM/AAM to Airplane; 5. Aerial vehicle for UAM/AAM to Helicopter; 6. Satellite to Aerial vehicle for UAM/AAM; 7. Vertiport/GCS/UTM to OTA server; 8. Maintenance engineer to Vertiport/GCS/UTM. The diagram also shows a Mobile/Terrestrial network connected to the OTA server and the ATC.
+
+**Figure I.1 – Communication link types for UAM/AAM service**
+
+**Table I.1 – Communication link types and use cases**
+
+| Link type | Use case | Communication technology |
+|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|
+| 1 | Control station/vertiport/UAM traffic management (UTM) to vehicle – Command and control signal – Flight information, etc. | – C2 – Cellular connectivity |
+| 2 | Mobile/Terrestrial network to vehicle/Update server – Command and control signal – Broadband data (e.g., Multimedia data) – Update data | – Cellular connectivity |
+| 3 | ATC to vehicle – Flight information | – Air traffic communication |
+| 4 | Vehicle to conventional aircraft – Flight information | – ADS-B |
+| 5 | Vehicle to vehicle – Flight information | – V2V – ADS-B |
+| 6 | Satellite to vehicle – Time and positional data – Command and control signal – Broadband data | – GNSS – C2 – Satellite communication |
+| 7 | Update server to vertiport/GCS/UTM – Update data | – Optical communication |
+| 8 | Maintenance engineer to vehicles – Maintenance data | – Cellular connectivity |
+
+The in-flight network and system structure of a vehicle is depicted in Figure I.2 showing various types of antennas for communication with outer entities on the surface of the vehicle, and an in-flight system structure connected with a data bus:
+
+- **Datalink systems:** These systems are used for providing communication capability inside and outside of the vehicle.
+- **Infotainment Systems:** This system is used for providing entertainment services in the cabin of a vehicle.
+- **Flight Control Systems (FCS):** This system is a collection of mechanical and electronic equipment that allows an aircraft to be flown with exceptional precision and reliability [b-ITU-T F.749.10].
+
+
+
+Figure I.2 – Overall network and system structure of the vehicle. The diagram shows a central aircraft fuselage with internal systems: Flight control systems, Datalink systems, and Infotainment systems. External components include a Satellite connected via a GNSS/satellite antenna; a Vertiport/GCS connected via a Cellular/air traffic comm. antenna; a Terrestrial network/Mobile network connected via a Cellular comm. antenna; a Maintenance computer connected via a Terrestrial antenna and a Maintenance panel; an ATC (Air Traffic Control) tower connected via an Air traffic comm. antenna; and another aircraft connected via an ADS-B/V2V antenna. A Wi-Fi antenna is also shown on the fuselage. The diagram is labeled X.1385(25) in the bottom right corner.
+
+**Figure I.2 – Overall network and system structure of the vehicle**
+
+### I.2 Use cases from a service perspective
+
+In this clause, the following UAM/AAM use cases [b-EASA use cases] are explained:
+
+- Shuttle service using a fixed corridor
+- Freight transportation
+- Air ambulance.
+
+#### I.2.1 Shuttle service using a fixed corridor
+
+Due to issues regarding safety and interference with other air services, service with take-off and landing at fixed locations along fixed routes will be provided in phase 1 (refer to Table I.2). In other words, a shuttle service is provided so that passengers can quickly move from an outlying area requiring connection with other transportation systems such as an airport to the city.
+
+In this use case, the aircraft travels in a fixed corridor, as illustrated in Figure I.3. The impact on existing air traffic management and operation can be minimized by using a fixed corridor. The fixed corridor may be connected in a straight line to the destination or maybe bent depending on the
+
+restrictions under the aviation laws, tall buildings, and relationships with other air services. Each corridor is defined without interfering with other corridors initially. However, as experiences and skills are met, each corridor can overlap to form a network. In this case, the sharing of operation safety and traffic flow management information should be needed more imperatively.
+
+eVTOL vehicles take off and land at the designated location such as a vertiport. Take-off and landing at any location may pose a safety hazard, so special facilities with safety and communication infrastructure must be used. Charging vehicles, maintenance (after its landing on the vertiport), passenger boarding and disembarking, and passenger-related convenience functions can be provided through these facilities.
+
+For take-off and landing in the city, the vehicle is limited to vertical take-off and landing aircraft. This restriction allows for flexible selection of vertiport locations, operation without significant changes to existing urban environments and related regulations, and compatibility with other low-altitude air services.
+
+
+
+Diagram illustrating the UAM/AAM corridor structure. It shows a city layout with three vertiports (airports) and four designated flight corridors (A, B, C, D) represented by colored paths. Corridor A is light blue, Corridor B is dark blue, Corridor C is yellow, and Corridor D is green. The diagram shows how these corridors can overlap to form a network. Small eVTOL aircraft are shown flying along the corridors. A legend on the right identifies the corridors by color. The diagram is labeled 'X.1385(25)' in the bottom right corner.
+
+**Figure I.3 – Example of the UAM/AAM corridor**
+
+#### 1.2.2 Freight transportation
+
+Another promising use case for UAM/AAM is freight transportation. Its advantages are shown in two areas. From an environmental aspect, since eVTOL uses electric powered propulsion systems, carbon footprint and the noise pollution can be reduced when compared to conventional transportation using combustion engine systems. From a performance aspect, the UAM/AAM service enables quick and remote deliveries in congested and hard-to-reach locations. For air cargo service, eVTOL can deliver relatively heavy payloads of more than hundreds of kilograms from the main hub to a local hub. This offers a better solution than road transportation in areas with vast land areas, lack of road infrastructure, and security issues related to ground transportation.
+
+#### 1.2.3 Air ambulance
+
+An air ambulance is utilized to transport injured or sick patients efficiently and quickly over long distances. Usually, a helicopter has been used for this use case but eVTOL could be utilised to replace helicopters in the near future. eVTOL as an air ambulance can be used to transport patients from the accident site to hospitals or to transport urgent patients between hospitals or to deliver human organs to the hospital for cases of emergency surgery. Generally, medical staffs, patients and medical equipment would be carried and communication with the existing transportation system (including V2X) should be considered since the flight route would be a non-fixed free route.
+
+### I.3 Use cases from an operational perspective
+
+In this clause, the following use cases from an operational perspective are described:
+
+- Onboard pilot
+- Remotely piloted aircraft systems (RPAS)
+- Autonomous operation.
+
+#### I.3.1 Onboard pilot
+
+UAM/AAM is expected to develop in three phases as outlined in Table I.2.
+
+**Table I.2 – UAM/AAM development phase [b-UAM roadmap]**
+
+| Phase | Pilot | Autonomy | Corridor |
+|---------|--------------|----------|--------------------------|
+| Phase 1 | On board | Limited | Fixed corridor |
+| Phase 2 | Remote pilot | Partial | Fixed corridor network |
+| Phase 3 | No pilot | Full | Dynamic corridor network |
+
+According to the UAM/AAM development phase outlined in Table I.2, a pilot who has obtained appropriate qualifications boards the vehicle and complies with the overall rules and regulations, as well as taking responsibility for the safety of the vehicle and passengers in the early stage. The pilot operates a vehicle while receiving various information essential for safe flight from the ATC in addition to visual flight rules (VFR). In other words, when the weather conditions are not clear enough to allow VFR flight, it is necessary to receive various information from ATC and convert the flight mode to instrument flight rule (IFR) flight. In addition, ATC should monitor in real time whether the vehicle deviates from the predetermined route to prevent intrusion into the no-fly zones, and in the case of a problem, immediately informs the pilot to determine whether a safe flight is possible.
+
+In the process of receiving flight information or transmitting a vehicle's information to the ATC in order to monitor the route, trust in the source of information between the vehicle and the ATC and the authenticity of the communication message itself is essential.
+
+#### I.3.2 Remotely piloted aircraft systems (RPAS)
+
+As outlined in Table I.2, the pilot operates the vehicle remotely through wireless communication in phase 2. That is, a remote pilot station (RPS) controls a remotely piloted aircraft (RPA) through a command and control (C2) link. Currently RPAS-related regulations stipulate for vehicles with non-people on board, but as UAM/AAM develops, RPAS is expected to be applied to shuttle services. Strictly trained and licensed pilots operate the certified vehicle, and cabin crew members can board the vehicle to ensure safety and manage passengers.
+
+RPAS must consider both radio line-of-sight (RLOS) and beyond radio line-of-sight (BRLOS) situations as shown in Figure I.4.
+
+
+
+Figure I.4 – RPAS on RLOS and BRLOS situation. The diagram consists of two parts, (a) and (b). Part (a) shows 'RPAS on RLOS' (Remote Line of Sight). A 'Remotely piloted aircraft' is at the top. Below it, a 'Remote pilot station' (represented by a person icon) and an 'ATC' (Air Traffic Control, represented by a tower icon) are connected to the aircraft via 'C2 link' (Control to Pilot) and 'VHF voice and data' links respectively. Part (b) shows 'RPAS on BRLOS' (Beyond Remote Line of Sight). A satellite icon is at the top left. The 'Remotely piloted aircraft' is at the top right. The 'Remote pilot station' and 'ATC' are at the bottom. The satellite is connected to the aircraft via a 'C2 link'. The 'Remote pilot station' is connected to the aircraft via a 'C2 link'. The 'ATC' is connected to the aircraft via 'VHF voice and data'.
+
+**Figure I.4 – RPAS on RLOS and BRLOS situation**
+
+In the RLOS situation, RPAS communicates with the vehicle directly and the state of the vehicle can be checked with the naked eye. As compared with RLOS, in the BRLOS situation, communication is relayed, and since it cannot be confirmed with the pilot's sight, and communication delay may occur, the attack surface may increase.
+
+The operation of RPAS considers the following three situations:
+
+##### **Visual line-of-sight (VLOS)**
+
+This is the case when the remote pilot maintains visual contact with the RPA without external assistance. In this case, the pilot can directly monitor the entire flight and maintain a fixed distance from other objects. According to [b-ICAO], the following restrictions apply in a VLOS situation:
+
+- Maximum distance between the pilot and the vehicle: 500 m
+- Maximum altitude of the vehicle: 500 feet (150 m) above the ground.
+
+##### **Extended VLOS (EVLOS)**
+
+This is the case when remote pilots rely on remote observers to keep the vehicle in sight at all times. In this case, the pilot can also directly monitor the entire flight and maintain a fixed distance from other objects as in the case of VLOS.
+
+##### **Beyond VLOS (BVLOS)**
+
+This is the case when the pilot does not maintain VLOS with RPA. In order for the vehicle to travel long distances, BVLOS operation is essential. Currently, BVLOS is not permitted in most countries due to concerns about uncontrolled flights that endanger lives and critical infrastructure.
+
+One of the most important threats in RPAS is the disconnection of the C2 link. If the C2 link is disconnected, the remote pilot can no longer control the vehicle, and accidents such as collisions or falls may occur. Therefore, it is necessary to have partial autonomous flying functions and a cabin crew member to board the vehicle in preparation for the disconnection of the C2 link.
+
+#### **I.3.3 Autonomous operation**
+
+When UAM/AAM services attain autonomous operation in phase 3, in addition to the business advantages of carrying more passengers and cargo, operational safety can be improved in the same way as autonomous road vehicles can reduce traffic accidents caused by human error. Since the difficulties in autonomy are relatively low compared to a self-driving car, the rapid development of autonomous technology may be possible. Autonomous operation communicates with ATC and other vehicles more frequently than in phases 1 and 2 to download flight data and recognize the situation
+
+circumstances. This means that it can be exposed to vulnerabilities such as virus infection or unauthorized access due to the increase in the attack surface. If the attacker manipulates the data as if there were other aircraft around the target vehicle, the pilot could visually check it in the VFR flight, but this cannot be done in IFR-based autonomous operation. Therefore, in the case of autonomous operation, higher cybersecurity criteria should be applied than in other cases.
+
+# Bibliography
+
+- [[b-ITU-T F.749.10](#)] Recommendation ITU-T F.749.10 (2019), *Requirements for communication services of civilian unmanned aerial vehicles*.
+- [[b-ITU-T X.641](#)] Recommendation ITU-T X.641 (1997), *Information technology – Quality of service: framework*.
+- [[b-ITU-T X.800](#)] Recommendation ITU-T X.800 (1991), *Security architecture for Open Systems Interconnection for CCITT applications*.
+- [[b-ITU-T X.1252](#)] Recommendation ITU-T X.1252 (2021), *Baseline identity management terms and definitions*.
+- [[b-ITU-T X.1375](#)] Recommendation ITU-T X.1375 (2020), *Guidelines for an intrusion detection system for in-vehicle networks*.
+- [b-ITU-R S.1782-1] Recommendation ITU-R S.1782-1 (2019), *Guidelines on global broadband Internet access by fixed-satellite service systems*.
+- [b-ETSI TS 122 125] ETSI TS 122 125 V17.6.0 (2022), *5G; Unmanned Aerial System (UAS) support in 3GPP. (3GPP TS 22.125 version 17.6.0 Release 17)*.
+<[https://www.etsi.org/deliver/etsi\\_ts/122100\\_122199/122125/17.06.00\\_60/ts\\_122125v170600p.pdf](https://www.etsi.org/deliver/etsi_ts/122100_122199/122125/17.06.00_60/ts_122125v170600p.pdf)>
+- [b-ISO 11898] ISO 11898-1:2024, *Road vehicles – Controller area network (CAN) Part 1: Data link layer and physical coding sublayer*.
+<>
+- [b-ISO 21177] ISO 21177:2024, *Intelligent transport systems – ITS station security services for secure session establishment and authentication between trusted devices*.
+<>
+- [b-ISO 24246] ISO 24246:2022, *Space systems – Requirements for global navigation satellite system (GNSS) positioning augmentation centers*.
+<>
+- [b-ISO/IEC 27000] ISO/IEC 27000:2018, *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+<>
+- [b-RFC 9365] IETF RFC 9365 (2023), *IPv6 Wireless Access in Vehicular Environments (IPWAVE): Problem Statement and Use cases*.
+< >
+- [b-ATS] ICAO (2001), *Annex 11 to the Convention on International Civil Aviation. Air Traffic Services*.
+<>
+- [b-ADS-B] RTCA SC-186, *Automatic Dependent Surveillance-Broadcast (ADS-B)*.
+< >
+- [b-C2] RTCA DO-362A, *Command and Control (C2) Data Link Minimum Operational Performance Standards (MOPS) (Terrestrial)*.
+<[https://global.ihs.com/doc\\_detail.cfm?document\\_name=RTCA%20DO%2D362&item\\_s\\_key=00694348](https://global.ihs.com/doc_detail.cfm?document_name=RTCA%20DO%2D362&item_s_key=00694348)>
+- [b-EASA use cases] EASA, *What are the benefits for the EU?* European Union Aviation Safety Agency. <>
+
+- [b-GNSS] Glossary, (2025), *Federal Aviation Administration (FAA)*.
+<[https://www.faa.gov/air\\_traffic/publications/atpubs/pcg\\_html/glossary-g.html](https://www.faa.gov/air_traffic/publications/atpubs/pcg_html/glossary-g.html)>
+- [b-ICAO] International Civil Aviation Organization (2015), *Manual on Remotely Piloted Aircraft Systems (RPAS)*.
+<>
+- [b-Kaiser] Kaiser, A. (2021), *White Paper on Misbehaviour Detection and Reporting to Misbehaviour Authority*. Car 2 Car Communication Consortium.
+<>
+- [b-RTCA V2V] RTCA (2022), *Status of Advanced Air Mobility Vehicle-to-Vehicle Recommendations to RTCA*.
+<>
+- [b-UAM roadmap] K-UAM (2022), *Korean Urban Air Transport Operation Concept 1.0*.
+<>
+- [b-V2V] Vehicle-to-Vehicle (V2V) Communications Use Case. *NASA Advanced Air Mobility*. NARI Nasa Aeronautics Research Institute.
+< >
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1405-202106-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1405-202106-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..94d45ee0d7450a0c276bffad33306ce1ec96de62
--- /dev/null
+++ b/marked/X/T-REC-X.1405-202106-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c981deef08fa0ff69264e0a06c61f5dd291a362fb37303b3216e33a0ba5040e9
+size 5841
diff --git a/marked/X/T-REC-X.1405-202106-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg b/marked/X/T-REC-X.1405-202106-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b16748604293b7f97cec98971df516651f29ad6c
--- /dev/null
+++ b/marked/X/T-REC-X.1405-202106-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d9a7d2ec08a050c467c11ce59e441bce6c398f2984d8e699249ed67d1aaf97a1
+size 66146
diff --git a/marked/X/T-REC-X.1405-202106-I_PDF-E/562f471e8153729557e6a4ee6343c32c_img.jpg b/marked/X/T-REC-X.1405-202106-I_PDF-E/562f471e8153729557e6a4ee6343c32c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f06f489699870a250e2becb39bc24ba6550a7daa
--- /dev/null
+++ b/marked/X/T-REC-X.1405-202106-I_PDF-E/562f471e8153729557e6a4ee6343c32c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bcfe1e3f92781900f4530e1fcc099db24dd428a74a1930e288a7a03d3501e39a
+size 19643
diff --git a/marked/X/T-REC-X.1405-202106-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg b/marked/X/T-REC-X.1405-202106-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..16d522f29d7279a2aba1d44ad7c2f4dfbedea575
--- /dev/null
+++ b/marked/X/T-REC-X.1405-202106-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:af750b6857fa8077906a2ae2aac03a0f37df3d49ff3c08996fe763c618cbe660
+size 15705
diff --git a/marked/X/T-REC-X.1405-202106-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg b/marked/X/T-REC-X.1405-202106-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fd2c0a07717cd720eba54f3da7aefd37a715edae
--- /dev/null
+++ b/marked/X/T-REC-X.1405-202106-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:67f6a02bd2db65f8dee0e08ca9d7b90b27c1e1782f4914853954158ce9da7984
+size 60132
diff --git a/marked/X/T-REC-X.1405-202106-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg b/marked/X/T-REC-X.1405-202106-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9346873b9ce793caca894fe61e7b127bdecc3de0
--- /dev/null
+++ b/marked/X/T-REC-X.1405-202106-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:af11f18dcbae4d18d1f7f88ad7cf0b70e7ff8a83a86c7b6a562f38019b16049c
+size 66544
diff --git a/marked/X/T-REC-X.1405-202106-I_PDF-E/raw.md b/marked/X/T-REC-X.1405-202106-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..fe3ff6a72a27f3cf344a096e8110ad2d75b3d220
--- /dev/null
+++ b/marked/X/T-REC-X.1405-202106-I_PDF-E/raw.md
@@ -0,0 +1,615 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1405
+
+(06/2021)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services (2) – Distributed ledger
+technology security
+
+# --- **Security threats and requirements of digital payment services based on distributed ledger technology**
+
+Recommendation ITU-T X.1405
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| IMT-T SECURITY | X.1800–X.1819 |
+
+# Recommendation ITU-T X.1405
+
+# Security threats and requirements of digital payment services based on distributed ledger technology
+
+## Summary
+
+Recommendation ITU-T X.1405 focuses on payment services use cases. Based on the analysis of use cases, the service model is described and security threats and challenges are also analysed.
+
+As various digital financial services based on digital ledger technology are developed and operated in the real world including transaction accounts, payments services, saving accounts, investment services and insurance services. Hence, this Recommendation also provides a list of security requirements that are specified against threats and challenges.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1405 | 2021-06-29 | 17 | 11.1002/1000/14722 |
+
+## Keywords
+
+Challenges, digital financial services, distributed ledger technology, digital payment services, security requirements, threats.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2021
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|---|--------------------------------------------------------------------------------------|------|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 5 | Conventions ..... | 2 |
+| 6 | A basic model of digital payment services using DLT..... | 2 |
+| | 6.1 General ..... | 2 |
+| | 6.2 Use case of digital payment service based on permissionless DLT ..... | 3 |
+| | 6.3 Use case of digital payment service based on permissioned DLT ..... | 3 |
+| | 6.4 A simplified model of digital payment systems based on DLT ..... | 4 |
+| 7 | Security threats and challenges..... | 4 |
+| | 7.1 General threats and challenges for DLT..... | 4 |
+| | 7.2 General threats and challenges for traditional financial systems ..... | 5 |
+| | 7.3 Threats and challenges specific for DLT-based digital payment systems ..... | 6 |
+| | 7.4 Threat analysis for digital payment services using DLT ..... | 6 |
+| 8 | Security requirements for digital payment systems based on DLT ..... | 8 |
+| | 8.1 Security requirements ..... | 8 |
+| | 8.2 Security requirements on user devices ..... | 8 |
+| | 8.3 Security requirements on nodes..... | 9 |
+| | 8.4 Security requirements on distributed ledger system management ..... | 9 |
+| | 8.5 Security requirements on sensitive data ..... | 9 |
+| | 8.6 Security requirements on smart contracts..... | 9 |
+| | 8.7 Security requirements on key management..... | 9 |
+| | 8.8 Governing rules for security ..... | 9 |
+| 9 | Mapping between security threats and requirements for digital payment services ..... | 10 |
+| | Bibliography..... | 11 |
+
+
+
+# Recommendation ITU-T X.1405
+
+## Security threats and requirements of digital payment services based on distributed ledger technology
+
+# 1 Scope
+
+This Recommendation identifies security threats and specifies security requirements for digital payment services based on distributed ledger technology (DLT). Security threats and challenges are analysed based on use cases and security requirements are specified against the identified threats and challenges.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.1401] Recommendation ITU-T X.1401 (2019), *Security threats for distributed ledger technology*.
+- [ITU-T X.1402] Recommendation ITU-T X.1402 (2020), *Security framework for distributed ledger technology*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 distributed ledger** [b-ITU-T X.1400]: A type of ledger, that is shared, replicated, and synchronized in a distributed and decentralized manner.
+
+**3.1.2 node** [b-ITU-T X.1400]: Device or process that participates in a distributed ledger network.
+
+**3.1.3 threat** [b-ISO/IEC 27000]: Potential cause of an unwanted incident, which may result in harm to a system or organization.
+
+**3.1.4 digital financial services (DFS)** [b-ITU-T DSTR-DFSECO]: Digital financial services include methods to electronically store and transfer funds; to make and receive payments; to borrow, save, insure and invest; and to manage a person's or enterprise's finances.
+
+**3.1.5 payment services** [b-ITU-T DSTR-DFSECO]: The ability to transfer money into or out of an account: this may be done through a variety of different payments systems and providers. Remittances, transfers, merchant payments, bill payments, etc. are all examples of payments. Payments may be domestic or cross-border.
+
+**3.1.6 remittance** [b-ITU-T DSTR-DFSECO]: A digital funds transfer which is the exchange of funds from one user to another through a DFS provider using electronic means, including a mobile handset, to either initiate and/or complete the transaction. A remittance could be domestic or international. International remittance transactions are normally cross-currency as well, the transaction requires someone – either the sending or receiving party, or the providers who are serving them, to affect the currency exchange.
+
+**3.1.7 permissionless** [b-ISO 22739]: Not requiring authorization to perform any particular activity.
+
+**3.1.8 permissioned** [b-ISO 22739]: Requiring authorization to perform any particular activity or activities.
+
+**3.1.9 token** [b-ISO 22739]: Digital asset that represents a collection of entitlements.
+
+**3.1.10 smart contract** [b-ITU-T X.1400]: Computer program recorded on the distributed ledger system which encodes the rules for specific types of distributed ledger system transactions in a way that can be validated, and invoked by specific applications and also automatically executed after all the preconfigured set of conditions are met.
+
+**3.1.11 DApp** [b-ISO 22739]: Application that runs on a decentralized system.
+
+**3.1.12 sensitive data** [b-ISO 5127]: Data with potentially harmful effects in the event of disclosure or misuse.
+
+**3.1.13 DLT user** [b-ISO 22739]: Entity that uses services provided by a distributed ledger technology (DLT) system.
+
+**3.1.14 DLT system** [b-ISO 22739]: System that implements a distributed ledger.
+
+## **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following terms:
+
+**3.2.1 sub-distributed ledger**: Logically separated subset of a distributed ledger to enhance confidentiality.
+
+**3.2.2 participant**: Entity who participates in the DLT system's decision making. For example, miners, validators, node owners, orderers, voters, etc.
+
+**3.2.3 orderer**: Service that orders transactions into a block for validation and commits, or node that provides the service. Some DLT systems have this service and some do not.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+DFS Digital Financial Services
+
+DLT Distributed Ledger Technology
+
+DoS Denial of Service
+
+KYC Know Your Customer
+
+# **5 Conventions**
+
+None.
+
+# **6 A basic model of digital payment services using DLT**
+
+## **6.1 General**
+
+Digital payment services are used to transfer money from one account to another. Varieties of payment services exist but the difference between merchants and their systems are not given in the scope of this Recommendation. In the digital financial services (DFS) ecosystem, the challenges that telecommunications service providers have to cover; range from agent devices (including mobile devices and computing devices) to payment service provider networks.
+
+Impact of threats on distributed ledger technology (DLT) based payment systems vary according to its implementation primarily on the basis of permissionless and permissioned DLT services.
+
+Therefore, two different service use cases are further explained to analyse the effects of general threats on DFS and DLT.
+
+## 6.2 Use case of digital payment service based on permissionless DLT
+
+
+
+The diagram illustrates a permissionless digital payment service. On the left, a sender (represented by a person icon) interacts with a mobile phone and a digital wallet (represented by a wallet icon). The sender's transaction is sent to a distributed ledger network (represented by a cluster of nodes). The network then sends the transaction to a receiver (represented by a person icon) who is using a tablet and a digital wallet. The receiver's wallet is shown with a balance of X.1405(21)-F01.
+
+Figure 1 – Permissionless use case diagram showing a sender interacting with a digital wallet and a distributed ledger network to send a payment to a receiver.
+
+**Figure 1 – Permissionless use case**
+
+Generally, a sender should know the receiver's account to pay. In permissionless DLT systems, DLT users do not need any permission for sending any transaction nor registration to use the services. The receiver's account is typically a hash of the receiver's public key. Also, the sender should have a token which is used in the DLT system to save or transfer value. These tokens are stored in a digital wallet which are either software or hardware.
+
+To send a specific amount of value, a sender accesses their digital wallet in their own terminal device or in the custody of a custodian. The payment transaction is signed with the sender's private key and then sent to the DLT system network.
+
+The payment should be accepted when the nodes in the distributed ledger network record the transaction in the ledger enough to be believed that further modifications will not take place.
+
+## 6.3 Use case of digital payment service based on permissioned DLT
+
+
+
+The diagram illustrates a permissioned digital payment service. On the left, a sender (represented by a person icon) interacts with a mobile phone and a central ledger (represented by a building icon). The sender's transaction is sent to the central ledger, which then sends it to a receiver (represented by a person icon) who is using a tablet and a digital wallet. The receiver's wallet is shown with a balance of X.1405(21)-F02. The central ledger is connected to multiple sub-ledgers (represented by building icons) which manage users.
+
+Figure 2 – Permissioned use case diagram showing a sender interacting with a central ledger and multiple sub-ledgers to send a payment to a receiver.
+
+**Figure 2 – Permissioned use case**
+
+Users should register themselves to the DLT system to use its services. The system verifies the user's identity and opens the user's account. The sender accesses their terminal to execute payment to the receiver's account. If there exists a sub-distributed ledger (sub-DLT) which manages users, and the receiver is registered with a different sub-distributed ledger from the sender's, then the sender's sub-DLT sends the transaction of the sender to the receiver's sub-DLT for recording. According to the DLT implementation, a third sub-DLT might be required to connect sender's and receiver's sub-DLTs.
+
+If those sub-DLTs use different tokens, the sender's token should be converted to the receiver's, or another third one that can be commonly converted for both the sender's and receiver's payment transfer.
+
+## 6.4 A simplified model of digital payment systems based on DLT
+
+
+
+The diagram illustrates a simplified model of digital payment systems based on DLT. It is organized into three main layers and a set of cross-layer functions. The **User layer** includes 'User payment applications' and 'User devices'. The **Off-ledger layer** includes 'Off-ledger supporting applications' and 'Legacy systems'. The **Distributed ledger layer** includes 'Platforms' and 'Nodes'. To the right, **Cross-layers functions** include 'Governance', 'Smart contracts', 'System management', and 'Key management'. A reference 'X.1405(21)-F03' is located at the bottom right of the diagram.
+
+Figure 3: A simplified model of digital payment systems based on DLT. The diagram shows three main layers: User layer, Off-ledger layer, and Distributed ledger layer. The User layer contains 'User payment applications' and 'User devices'. The Off-ledger layer contains 'Off-ledger supporting applications' and 'Legacy systems'. The Distributed ledger layer contains 'Platforms' and 'Nodes'. To the right, 'Cross-layers functions' include 'Governance', 'Smart contracts', 'System management', and 'Key management'. A reference 'X.1405(21)-F03' is at the bottom right.
+
+**Figure 3 – A simplified model of digital payment systems based on DLT**
+
+From both previous use cases, a simplified model of digital payment systems is derived as seen in Figure 3. The user layer includes user devices and digital payment applications using DLT and may interact with off-ledger supporting applications such as legacy ICT systems performing payment functions. Off-ledger supporting applications should address contractual or regulatory requirements that cannot be achieved in the DLT layer, for example, a know your customer (KYC) requirement or an anomaly detection. Distributed ledger layer (DLT layer) includes nodes and platforms running on them. This platform also includes many components such as interfaces, consensus mechanism, event management, etc. Cross-layer function includes many functions that cover governance, system management, smart contract management, key management, etc. Those functions can be performed across all three layers. In permissionless DLT systems, most functions tend to be merged and performed in the platform, but in permissioned DLT systems, these functions tend to be distributed into several components in the DLT systems.
+
+# 7 Security threats and challenges
+
+## 7.1 General threats and challenges for DLT
+
+### 7.1.1 Introduction
+
+General threats for DLT and their details are provided in [ITU-T X.1401]. The general security capabilities of DLT responding to these threats are addressed in [ITU-T X.1402].
+
+In [ITU-T X.1401], threats for DLT are categorized into protocol (see clause 6.1 in [ITU-T X.1401]), network (refer clause 6.2 in [ITU-T X.1401]) and data (see clause 6.3 in [ITU-T X.1401]) layers. In this Recommendation, the threats are listed below with references to the corresponding clause numbers of [ITU-T X.1401].
+
+### 7.1.2 Consensus mechanism threats
+
+These threats are described in clause 6.1.1 in [ITU-T X.1401].
+
+### 7.1.3 Smart contract threats
+
+These threats are described in clause 6.1.2 in [ITU-T X.1401].
+
+### 7.1.4 Virtual machine threats
+
+These threats are described in clause 6.1.3 in [ITU-T X.1401].
+
+### **7.1.5 Cryptographic hash algorithm threats**
+
+These threats are described in clause 6.1.4 in [ITU-T X.1401].
+
+### **7.1.6 Asymmetric cryptographic algorithm threats**
+
+These threats are described in clause 6.1.5 in [ITU-T X.1401].
+
+### **7.1.7 Threats from practical quantum computers**
+
+These threats are described in clause 6.1.6 in [ITU-T X.1401].
+
+#### **7.1.8 Node routing table threats (NRTT)**
+
+These threats are described in clause 6.2.1 in [ITU-T X.1401].
+
+#### **7.1.9 Network DDoS threats**
+
+These threats are described in clause 6.2.2 in [ITU-T X.1401].
+
+#### **7.1.10 Node identity threats**
+
+These threats are described in clause 6.2.3 in [ITU-T X.1401].
+
+### **7.1.11 Network routing threats**
+
+These threats are described in clause 6.2.4 in [ITU-T X.1401].
+
+### **7.1.12 Account data and transaction data threats**
+
+These threats are described in clause 6.3.1 in [ITU-T X.1401].
+
+### **7.1.13 Private key leakage threats**
+
+These threats are described in clause 6.3.2 in [ITU-T X.1401].
+
+### **7.1.14 Private key loss threats**
+
+These threats are described in clause 6.3.3 in [ITU-T X.1401].
+
+### **7.1.15 Transaction threats**
+
+These threats are described in clause 6.3.4 in [ITU-T X.1401].
+
+## **7.2 General threats and challenges for traditional financial systems**
+
+### **7.2.1 Account set-up threats**
+
+Traditional financial systems possess the threat of physical theft of identity credentials or counterfeiting of identity documents. DLT-based identity management makes counterfeiting identity documents easier.
+
+### **7.2.2 Transaction threats**
+
+Traditionally, financial systems possess the threat of physical theft of payment credentials and counterfeit signatures. Further, remote commerce may also enable payment mechanisms with fewer protections; credentials used online or in stores may be breached and thefts of personal identification numbers (PINs), etc. are much easier.
+
+### **7.2.3 Scheme threats (scam)**
+
+Traditional cash collection systems, SMS and e-mail spam can affect more targets; a further collection of funds via electronic transfers makes large-scale scams easier.
+
+### **7.2.4 Systematic threats**
+
+Traditionally, back-office branch account manipulations, etc. The complexity of large-scale MIS systems may make regulatory control difficult and may give rise to systematic frauds.
+
+In DLT, the implementation protocols continue to evolve for scalability and performance. Those protocol changes might bring forks. Also, some new techniques such as sharding or segregated witness may be insecure.
+
+### **7.2.5 Money laundering / terrorist financing threats**
+
+Traditionally, cash and bank account transfers. Pervasive DFS could enable large scale small-value transfers, which are harder for regulators to detect as till now only few mechanisms and regulations exist to control digital currencies and for overseeing their use.
+
+## **7.3 Threats and challenges specific for DLT-based digital payment systems**
+
+### **7.3.1 Insecure custodial and safekeeping services threats**
+
+Poor security of custodians and inappropriate customer wallets usage. In some cases, the trust of custodians is not guaranteed.
+
+### **7.3.2 Interoperability challenges**
+
+Most DLT systems are developed with their own proprietary standards and technologies, and therefore cannot interoperate with other DLT systems. This lack of interoperability and supporting standardizations introduces elements of inconsistency and challenges in the use of DLT systems and may create a barrier for entry of new DLT systems.
+
+## **7.4 Threat analysis for digital payment services using DLT**
+
+### **7.4.1 Analysis of traditional financial threats on digital payment services based on DLT**
+
+Traditional financial services include payment services, and the threats on them are applied to the payment services, too. However, even the same might affect differently and in different scenarios depending on the structure of the target system. In order to derive specific security requirements, it should be understood which parts of the system are affected by which threats and how. Some of the threats explained in the previous clauses can be realized in several scenarios, each of which can be broken down into smaller activities. For example, clause 7.2.1 account set-up threats can be realized when attackers steal a user's device and get the private key by exploiting the vulnerability of the device. If the user uses a paper wallet and someone copies the paper, the key is compromised without theft. In some permissionless DLT systems, a DLT account is derived from the private key. Some permissioned DLT systems may require other kinds of online or offline documents but it depends on the specific system's membership policy. That sort of key theft is also a component of clause 7.2.2 transaction threats. On the other hand, transactions in DLT systems may bring other kinds of threats that are not of main concern in the exposure of sensitive data.
+
+Scheme threats in clause 7.2.3 are not technical threats. The vulnerable component is an uninformed human. To address this kind of threat, off-ledger or non-technical processes are required. Money laundering and terrorist financing are also a human threat, not uninformed, but highly-crafty humans who make well use of a DLT system that works perfectly for its original purpose. What makes the transactions and payment different from others is not in the DLT system.
+
+Systematic threats are rather special. Those threats consist of fraudulent humans and flawed systems. In many cases, there are insiders present, which is contrary to scam or money laundering cases. Flawed systems cover plenty of components and related threats. The most famous threats to DLT payment is double spending. Network partitioning increases the likelihood of successful double spending attacks by delaying the consensus reached for the entire network. Those many DLT systems vulnerabilities and attacks are addressed in [ITU-T X.1401] and [ITU-T X.1402]. However, the
+
+insiders familiar with the system will be able to plant well-developed smart contracts like a Trojan in a traditional ICT system.
+
+### 7.4.2 Threats and challenges on permissionless DLT systems
+
+As the threats/attacks affect one or more parts of the DLT systems, different DLT systems may have different vulnerabilities according to their implementation. Figure 4 shows how permissionless DLT systems might be vulnerable to some common attacks. In general, a permissionless DLT system does not check or limit the participant's qualifications. It allows all the participants to validate transactions and leaves everything to the user's discretion.
+
+
+
+Figure 4 illustrates the threats and challenges on permissionless DLT systems. The diagram shows a flow from a user (person with a phone) to a device (laptop) and then to a DLT network (represented by a mesh of nodes). The network then connects to another user (person with a tablet). Various threats are mapped to components: Device theft and Device exploitation lead to Key theft/loss and Coin theft. Key theft/loss leads to Account setup. Coin theft leads to Privacy disclosure. Account setup, Privacy disclosure, and Scam are all categorized as 'More vulnerable' (red). Money laundering/Terrorist financing is categorized as 'Less vulnerable' (green). Smart contract vulnerability exploitation and Partitioning/DoS/consensus attacks are categorized as 'Vulnerable' (yellow).
+
+Figure 4: Threats and challenges on permissionless DLT systems. The diagram illustrates the flow of data and the vulnerability of various components. A user (person with a phone) interacts with a device (laptop) which connects to a DLT network (represented by a mesh of nodes). The network then connects to a user (person with a tablet). Various threats are mapped to components: Device theft and Device exploitation lead to Key theft/loss and Coin theft. Key theft/loss leads to Account setup. Coin theft leads to Privacy disclosure. Account setup, Privacy disclosure, and Scam are all categorized as 'More vulnerable' (red). Money laundering/Terrorist financing is categorized as 'Less vulnerable' (green). Smart contract vulnerability exploitation and Partitioning/DoS/consensus attacks are categorized as 'Vulnerable' (yellow).
+
+Figure 4 – Threats and challenges on permissionless DLT systems
+
+### 7.4.3 Threats and challenges on permissioned DLT systems
+
+On the other hand, in permissioned DLT systems, participants are limited and supervised by the rule outside of the DLT system. Permissioned DLT systems usually connect traditional ICT systems that comply with the off-ledger rules, contrary to the permissionless systems that operate according to the rules coded on the ledger. Figure 5 indicates that the permissioned DLT systems have some means to address the same threats compared to the permissionless DLT systems.
+
+
+
+Figure 5 illustrates the threats and challenges on permissioned DLT systems. The diagram shows a flow from a user (person with a phone) to a device (laptop) and then to a DLT network (represented by a mesh of nodes). The network then connects to another user (person with a tablet). Various threats are mapped to components: Device theft and Device exploitation lead to Key theft/loss and Coin theft. Key theft/loss leads to Account setup. Coin theft leads to Privacy disclosure. Account setup, Privacy disclosure, and Scam are all categorized as 'Less vulnerable' (green). Money laundering/Terrorist financing is categorized as 'Vulnerable' (yellow). Smart contract vulnerability exploitation and Partitioning/DoS/consensus attacks are categorized as 'Vulnerable' (yellow).
+
+Figure 5: Threats and challenges on permissioned DLT systems. The diagram illustrates the flow of data and the vulnerability of various components. A user (person with a phone) interacts with a device (laptop) which connects to a DLT network (represented by a mesh of nodes). The network then connects to another user (person with a tablet). Various threats are mapped to components: Device theft and Device exploitation lead to Key theft/loss and Coin theft. Key theft/loss leads to Account setup. Coin theft leads to Privacy disclosure. Account setup, Privacy disclosure, and Scam are all categorized as 'Less vulnerable' (green). Money laundering/Terrorist financing is categorized as 'Vulnerable' (yellow). Smart contract vulnerability exploitation and Partitioning/DoS/consensus attacks are categorized as 'Vulnerable' (yellow).
+
+Figure 5 – Threats and challenges on permissioned DLT systems
+
+Table 1 shows how the threats and challenges work with use cases described in clause 6.
+
+**Table 1 – Possibility of response to threats to digital payment services according to use cases**
+
+| Threats | Permissionless | Permissioned |
+|-------------------------------------------|---------------------------------------------------------------|---------------------------------------------------------------------------------------|
+| Key theft/loss | Depending on the key management | Depending on the key management |
+| Account set-up | No registration | Depending on the security of the user registration process and key management |
+| Sensitive data disclosure | Public access to transaction data | Depending on the operation policy of sub-DLT systems |
+| Smart contract vulnerability exploitation | Depending on the vulnerability of the smart contract code | Depending on the vulnerability of the smart contract code and management process |
+| Partitioning attack | Depending on the peer management implementation | Depending on the node management implementation |
+| Denial of service (DoS) attack | Depending on the transaction (block) validation policy | Depending on the node management policy and the transaction (block) validation policy |
+| Consensus attacks | Depending on the consensus algorithm (ex. Nakamoto consensus) | Depending on the consensus algorithm (ex. PBFT consensus) |
+| Money laundering / terrorist financing | No restriction | Depending on the anti-ML/ATF policy and implementation |
+| Scam | No restriction | Legal intervention |
+
+# **8 Security requirements for digital payment systems based on DLT**
+
+## **8.1 Security requirements**
+
+This section specifies security requirements against the security threats and challenges of digital payment systems based on DLT. General security threats and challenges of DLT are addressed in [ITU-T X.1402].
+
+## **8.2 Security requirements on user devices**
+
+**8.2.1** Device shall have the capability of protecting the stored data on theft/loss, for example, using remote inactivation.
+
+**8.2.2** Important data, for example, private key, etc. in devices shall be backed up appropriately.
+
+**8.2.3** User shall be properly authenticated while accessing the device.
+
+**8.2.4** During the usage of the app, both integrity checks for the device and app shall be performed.
+
+**8.2.5** Generation and management of keys shall be done in a secure manner. For example, keys shall be stored in an encryption and not in plain text, and key recovery mechanisms for legitimate users shall be provided.
+
+## **8.3 Security requirements on nodes**
+
+**8.3.1** Nodes shall verify peers in communication.
+
+**8.3.2** Servers run nodes shall be sanitized and hardened.
+
+**8.3.3** Node security shall be regularly checked.
+
+## **8.4 Security requirements on distributed ledger system management**
+
+**8.4.1** Secure cryptographic algorithms and keys shall be used.
+
+**8.4.2** If necessary, the user's real name shall be verified on the creation of an account.
+
+**8.4.3** Transactions shall be monitored to detect attacks and anomalies, where applicable, including fraud, scam, money laundering, terrorist financing, etc.
+
+**8.4.4** Incident response procedures shall be in place for fault, hacking, denial of service (DoS) attack, where applicable, illegality, etc.
+
+## **8.5 Security requirements on sensitive data**
+
+**8.5.1** Data confidentiality shall be provided for sensitive data, for example, by encryption or subchannel, etc.
+
+**8.5.2** If necessary, privacy-enhanced techniques such as zero-knowledge proof protocols or user-controlled credentials shall be used in the identification and authentication process.
+
+**8.5.3** Sensitive data that might need to be deleted in the future shall not be recorded on a distributed ledger in principle.
+
+**8.5.4** If necessary, additional protection shall be in place such as a multi-signature or an off-ledger storage.
+
+## **8.6 Security requirements on smart contracts**
+
+**8.6.1** Smart contract code shall be validated before registration.
+
+**8.6.2** The registration of a smart contract shall be authorized.
+
+**8.6.3** The vulnerabilities and risks related to smart contracts shall be consistently managed.
+
+**8.6.4** Code review testing shall be done for smart contracts.
+
+**8.6.5** Regular functions shall be standardized into libraries.
+
+## **8.7 Security requirements on key management**
+
+**8.7.1** Keys shall be managed according to a pre-defined security policy. That is, keys shall be created, stored, transported, updated, archived, recovered and destroyed including backup copies securely in time.
+
+**8.7.2** Different keys shall be used for different purposes, e.g., encryption, integrity, authentication, key transport, random bit generation and generation of digital signatures.
+
+## **8.8 Governing rules for security**
+
+**8.8.1** Governing rules shall be established and be stated clearly on-chain or off-chain to inform users of their roles and responsibilities.
+
+**8.8.2** Users shall be informed of their responsibility to use the services securely.
+
+**8.8.3** Participants shall implement security measures to protect digital payment including cryptocurrencies and to oversee its use according to the governing rules.
+
+**8.8.4** Governing rules shall allow users and participants to monitor the DLT system's governance as appropriate. For example, changing the governing rules or the incompliance of the DLT system to the rules shall be communicated for their own interest.
+
+# 9 Mapping between security threats and requirements for digital payment services
+
+Table 2 provides a mapping between the security threats and challenges for digital payment systems based on distributed ledger technologies in clause 7.2 and the security requirements in clause 8.
+
+**Table 2 – Mapping the security threats for digital payment systems and the security requirements**
+
+| Requirements | | Threats | | | | | | |
+|--------------|-------|---------|-------|-------|-------|-------|-------|-------|
+| | | 7.2.1 | 7.2.2 | 7.2.3 | 7.2.4 | 7.2.5 | 7.3.1 | 7.3.2 |
+| 8.2 | 8.2.1 | ✓ | ✓ | | | | | |
+| | 8.2.2 | ✓ | ✓ | | | | | |
+| | 8.2.3 | ✓ | ✓ | | | | | |
+| | 8.2.4 | ✓ | ✓ | | | | | ✓ |
+| | 8.2.5 | ✓ | ✓ | | | | | |
+| 8.3 | 8.3.1 | | | | ✓ | | ✓ | |
+| | 8.3.2 | | | | ✓ | | ✓ | |
+| | 8.3.3 | | | | ✓ | | ✓ | ✓ |
+| 8.4 | 8.4.1 | ✓ | ✓ | | | | ✓ | ✓ |
+| | 8.4.2 | ✓ | | | | ✓ | | |
+| | 8.4.3 | | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| | 8.4.4 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| 8.5 | 8.5.1 | ✓ | ✓ | | | | ✓ | ✓ |
+| | 8.5.2 | ✓ | | | | | ✓ | |
+| | 8.5.3 | ✓ | ✓ | | | | ✓ | ✓ |
+| | 8.5.4 | ✓ | ✓ | | ✓ | | ✓ | |
+| 8.6 | 8.6.1 | | ✓ | | ✓ | | | ✓ |
+| | 8.6.2 | | ✓ | | ✓ | | | |
+| | 8.6.3 | | ✓ | | ✓ | | | ✓ |
+| | 8.6.4 | | ✓ | | ✓ | | | |
+| | 8.6.5 | | ✓ | | | | | ✓ |
+| 8.7 | 8.7.1 | ✓ | ✓ | ✓ | ✓ | | ✓ | ✓ |
+| | 8.7.2 | ✓ | ✓ | | | | ✓ | ✓ |
+| 8.8 | 8.8.1 | | ✓ | | ✓ | | ✓ | ✓ |
+| | 8.8.2 | ✓ | ✓ | ✓ | | | ✓ | |
+| | 8.8.3 | | ✓ | | ✓ | ✓ | ✓ | ✓ |
+| | 8.8.4 | | ✓ | | ✓ | ✓ | ✓ | ✓ |
+
+## Bibliography
+
+- [b-ITU-T X.1400] Recommendation ITU-T X.1400 (2020), *Terms and definitions for distributed ledger technology*.
+- [b-ITU-T FG-DFS\_Financial-Inclusion] Technical Report ITU-T FG-DFS Focus Group Digital Financial Services (2017), *Distributed Ledger Technologies and Financial inclusion*.
+[https://www.itu.int/en/ITU-T/focusgroups/dfs/Documents/201703/ITU\\_FGDFS\\_Report-on-DLT-and-Financial-Inclusion.pdf](https://www.itu.int/en/ITU-T/focusgroups/dfs/Documents/201703/ITU_FGDFS_Report-on-DLT-and-Financial-Inclusion.pdf)
+- [b-ITU-T DSTR-DFSECO] Technical Report ITU-T DSTR-DFSECO (2019), *Digital financial services – The digital financial services ecosystem*.
+
+- [b-ITU-T FG-DFS\_SecurityReport] Technical Report ITU-T FG-DFS Focus Group Digital Financial Services (2017), *Security Aspect of Digital Financial Services(DFS)*.
+[https://www.itu.int/en/ITU-T/studygroups/2017-2020/09/Documents/ITU\\_FGDFS\\_SecurityReport.pdf](https://www.itu.int/en/ITU-T/studygroups/2017-2020/09/Documents/ITU_FGDFS_SecurityReport.pdf)
+- [b-ITU FIGI] ITU FIGI Report of security workstream (2020), *Security aspects of distributed ledger technologies*.
+
+- [b-ISO 5127] ISO 5127:2017, *Information and documentation – Foundation and vocabulary*.
+
+- [b-ISO 22739] ISO 22739:2020, *Blockchain and distributed ledger technologies – Vocabulary*.
+
+- [b-ISO/IEC 27000] ISO/IEC 27000:2018, *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+
+- [b-ENISA] ENISA (2017), *Distributed ledger technology & cybersecurity – Improving information security in the financial sector*.
+
+- [b-SWIFT] SWIFT (2016), *Position paper – SWIFT on distributed ledger technologies*.
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1407-202201-I_PDF-E/raw.md b/marked/X/T-REC-X.1407-202201-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..86b8598749dfc30cfc2c8817bff20ef820cc62bf
--- /dev/null
+++ b/marked/X/T-REC-X.1407-202201-I_PDF-E/raw.md
@@ -0,0 +1,684 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1407
+
+(01/2022)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services (2) – Distributed ledger
+technology (DLT) security
+
+# --- **Security requirements for digital integrity proofing service based on distributed ledger technology**
+
+Recommendation ITU-T X.1407
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security (1) | X.1140–X.1149 |
+| Application Security (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1350–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1399 |
+| Distributed ledger technology (DLT) security | X.1400–X.1429 |
+| Application Security (2) | X.1450–X.1459 |
+| Web security (2) | X.1470–X.1489 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| Cyber Defence | X.1590–X.1599 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| Data protection | X.1770–X.1789 |
+| IMT-2020 SECURITY | X.1800–X.1819 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+## Recommendation ITU-T X.1407
+
+# Security requirements for digital integrity proofing service based on distributed ledger technology
+
+## Summary
+
+Recommendation X.1407 specifies the security threats and requirements in digital integrity proofing based on distributed ledger technology (DLT).
+
+The original proof protected is stored in the off-chain. The hashed data values are stored in the on-chain. Recommendation ITU-T X.1407 analyses the security threats to the digital integrity proofing services based on DLT, namely, proof registration and proof provenance. This Recommendation also describes the security requirements that could address security threats.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1407 | 2022-01-07 | 17 | 11.1002/1000/14800 |
+
+## Keywords
+
+Digital integrity proofing, distributed ledger technologies, security threats and requirements.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2022
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|------------------------------------------------------------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 Abbreviations..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 Overview ..... | 2 |
+| 7 Stakeholders and processes for DLT-based digital integrity proofing ..... | 3 |
+| 7.1 Stakeholders ..... | 3 |
+| 7.2 Processes of DLT-based digital integrity proofing ..... | 3 |
+| 8 Security threats for DLT-based digital integrity proofing..... | 4 |
+| 8.1 Security threats w.r.t user ..... | 4 |
+| 8.2 Security threats w.r.t proof registration..... | 4 |
+| 8.3 Security threats w.r.t proof provenance..... | 5 |
+| 9 Security requirements for DLT-based digital integrity proofing..... | 6 |
+| 9.1 Security requirements for a user..... | 6 |
+| 9.2 Security requirements for proof registration ..... | 7 |
+| 9.3 Security requirements for proof provenance ..... | 8 |
+| Appendix I – Use case of e-invoice based on distributed ledger technology ..... | 9 |
+| Appendix II – Use case for verification of academic certificates based on distributed ledger technology ..... | 12 |
+| Bibliography..... | 14 |
+
+
+
+# Recommendation ITU-T X.1407
+
+# Security requirements for digital integrity proofing service based on distributed ledger technology
+
+# 1 Scope
+
+This Recommendation specifies the security threats and requirements for digital proofing of the integrity of an entity based on distributed ledger technology (DLT). The DLT-based digital integrity proofing platform provides services for distributing, querying, and tracking digital proof of the integrity of an entity using distributed ledger technologies.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.1401] Recommendation ITU-T X.1401 (2019), *Security threats to distributed ledger technology*.
+- [ITU-T X.1402] Recommendation ITU-T X.1402 (2020), *Security framework for distributed ledger technology*.
+- [ITU-T X.1404] Recommendation ITU-T X.1404 (2020), *Security assurance for distributed ledger technology*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined in section 1.4 of [b-ISO 23257], and elsewhere:
+
+- 3.1.1 distributed ledger** [b-ITU-T X.1400]: A type of ledger that is shared, replicated, and synchronized in a distributed and decentralized manner.
+- 3.1.2 distributed ledger technologies (DLTs)** [b-ISO 22739]: Technology that enables the operation and use of distributed ledgers.
+- 3.1.3 distributed ledger technology platform** [b-ISO 22739]: Set of processing, storage and communication entities which together provide the capabilities of the DLT system on each DLT node.
+- 3.1.4 integrity** [b-ISO 13491-2]: Property that data has not been altered or destroyed in an unauthorized manner.
+- 3.1.5 ledger** [b-ITU-T X.1400]: Information store that keeps final and definitive (immutable) records of transactions.
+- 3.1.6 smart contract** [b-ISO 22739]: Computer program stored in a DLT system wherein the outcome of any execution of the program is recorded on the distributed ledger.
+
+**3.1.7 threat** [b-ISO/IEC 27000]: Potential cause of an unwanted incident which can result in harm to a system or organization.
+
+## 3.2 Terms defined in this Recommendation
+
+None.
+
+# 4 Abbreviations
+
+This Recommendation uses the following abbreviations and acronyms:
+
+DDoS Distributed Denial of Service
+
+DLT Distributed Ledger Technology
+
+PoS Proof of Stake
+
+PoW Proof of Work
+
+PBFT Practical Byzantine Fault Tolerance
+
+# 5 Conventions
+
+This Recommendation applies the following verbal forms for the expression of provisions:
+
+- a) "Shall" indicates a requirement,
+- b) "Should" indicates a recommendation,
+- c) "May" indicates permission,
+- d) "Can" indicates a possibility and a capability.
+
+# 6 Overview
+
+The process of proving the integrity of certain data is a challenge in case the data is scattered across different systems. Also, the process of checking the integrity may require searching in many databases, systems, or manually in hard copies. This situation suffers from the absence of the complete history of the transaction; as a result, this could lead to delays, additional efforts and costs, and incorrect decision making. DLT is a tamper-proof, decentralized ledger that establishes a level of trust necessary for the exchange of value without the use of intermediaries. It relies on decentralized databases that provide integrity, collaborative, transparent, verifiable, and auditable records for all transactions. Thus, the traceable, tamper-proof features of DLT enables a solution for digital integrity proofing where the original data cannot be fraudulently created or compromised without a way to detect the changes.
+
+
+
+```
+graph LR
+ User((User)) <--> BSP[Business service platform]
+ BSP <--> DLT_Platform
+ subgraph DLT_Platform [DLT-based digital integrity proofing platform]
+ DIR[Digital integrity proof registration]
+ DIP[Digital integrity proof provenance]
+ SDK[DLT-based proof SDK]
+ end
+ DLT_Platform <--> LS[Litigation service]
+ subgraph LS [Litigation service]
+ PC[Proof check]
+ end
+ DLT_Platform <--> TSS[Third-party support service
+CA, time service, etc.]
+```
+
+Diagram illustrating the architecture of digital integrity proofing based on DLT. A user interacts with a Business service platform, which connects to a DLT-based digital integrity proofing platform. This platform includes Digital integrity proof registration, Digital integrity proof provenance, and a DLT-based proof SDK. The platform interacts with a Litigation service (dashed box) for Proof check and a Third-party support service (CA, time service, etc.).
+
+X.1407(22)
+
+**Figure 1 – Illustration of digital integrity proofing based on DLT**
+
+The basic scenarios on DLT-based digital integrity proof platforms involve proof registration and proof provenance. The user on the business service platform initiates a digital proof service call and registers the proof onto the DLT and stores the hash of the extracted digital signature through the IP proof registration contract. The process of checking the integrity of the proof depends on checking the hash value of the proof and comparing the hash with the hashes stored on the DLT. Moreover, to guarantee the legal use of a digital proof and protect the rights of the user, a digital proof querying and checking service is provided for forensics on online litigation.
+
+Although the traceable, tamper-proof features of DLT enable better control and exploit the integrity of the records, there are security threats present in adopting DLT. Some threats are directed at users, some at digital proof, and others at proof registration and provenance processes. Therefore, it is necessary and useful to summarize security threats in different categories based on analyses of the activities involved in DLT-based digital integrity proof. Based on the analysis of these threats, a set of security requirements is identified.
+
+# **7 Stakeholders and processes for DLT-based digital integrity proofing**
+
+## **7.1 Stakeholders**
+
+### **7.1.1 Internal stakeholders**
+
+Internal stakeholders should include:
+
+- a) User
+- b) Business service platform
+- c) DLT-based digital integrity proofing platform.
+
+### **7.1.2 External stakeholders**
+
+External stakeholders include:
+
+- a) Third-party support services, including organizations that provide CA certificate issuance, time service and other services;
+- b) Regulatory agencies, including national judicial agencies, and other litigation-related organizations.
+
+## **7.2 Processes of DLT-based digital integrity proofing**
+
+### **7.2.1 Digital integrity proof registration**
+
+The key processes of digital integrity proof registration on the DLT include:
+
+- a) The user interacts with the business service platform and may generate the needs to protect the authenticity of the business-related information, the business platform sends the extracted features of the original information to the DLT-based digital integrity proofing platform;
+- b) The DLT-based digital integrity proofing platform generates electronic evidence with the extracted features, time stamp, and other necessary information;
+- c) The DLT-based digital integrity proofing platform generates a unique hash value for the electronic evidence through cryptographic hash functions (such as SHA256);
+- d) The business service platform generates a digital signature for the hash value with the owner's private key;
+- e) The business service platform submits the proof record to the smart contract address on the distributed ledgers;
+- f) The DLT-based digital integrity proofing platform checks whether the digital signature and information are complete and executes the smart contract and generates a record in the ledger;
+
+- g) The proof registration is packaged into a new block and the new block is broadcast to the network.
+
+### **7.2.2 Digital integrity proof provenance**
+
+The key process of digital integrity proof provenance include:
+
+- a) The user queries the digital integrity proof on the distributed ledgers;
+- b) In case of online litigation, the litigation platform conducts forensics for the digital proof based on the records on the distributed ledgers.
+
+# **8 Security threats for DLT-based digital integrity proofing**
+
+This clause analyses security threats to the stakeholders, i.e., user, DLT-based digital integrity proof platform, and the processes involved in DLT-based digital integrity proofing, namely, digital integrity proof registration, and digital integrity proof provenance. Threats to protocol, network and data components in DLT-based applications are described in detail in [ITU-T X.1401].
+
+## **8.1 Security threats w.r.t user**
+
+### **8.1.1 User identity fraud**
+
+Registered users make illegal requests using false identities to obtain permissions that do not match their identity.
+
+### **8.1.2 Private key leakage**
+
+The threats of private key leakage in a registry mainly include software client attacks and physical attacks (e.g., exposure of printed keys to others). The leakage of a private key enables other users to enter the DLT-based proof platform, compromising its security. The private key leak threat is described in detail in clause 6.3.2 of [ITU-T X.1401].
+
+### **8.1.3 Private key loss**
+
+The threats of private key loss mainly include malware attacks, physical attacks (e.g., loss of private keys printed on paper), etc. These behaviours may lead to the disclosure of user privacy which allows malicious users to enter the DLT-based proof platform and destroy its security. The private key loss threat is described in detail in clause 6.3.3 of [ITU-T X.1401].
+
+### **8.1.4 Privacy disclosure**
+
+The proof information of the owner may involve sensitive personal information such as name and ID information, and there may exist a problem of user privacy leakage during the proof registration process. The privacy disclosure threat is described in detail in clause 6.3.1 of [ITU-T X.1401].
+
+## **8.2 Security threats w.r.t proof registration**
+
+### **8.2.1 Proof fraud**
+
+According to the feature extraction algorithm of digital proof, attackers could construct different feature values of similar content to the original document. In this way, attackers could write illegal content in distributed ledgers.
+
+### **8.2.2 Proof tampering**
+
+The malicious user may tamper with the proof of the original document or destroy the integrity and availability of the proof, thereby resulting in writing the tampered proof into the distributed ledgers. Asymmetric encryption algorithm attacks can result in insecure transmission and storage. The asymmetric encryption algorithm attack is described in detail in clause 6.1.5 of [ITU-T X.1401].
+
+#### **8.2.3 Timestamp dependence attack**
+
+Attacks may manipulate the timestamp service of the DLT-based proof platform, resulting in the platform being unable to keep the sequence of proof registration events accurately, thus lacking the capability to provide an effective forensics basis for the provenance of proof.
+
+#### **8.2.4 51% attack**
+
+When attackers master more than 51% of the computing power, they can construct a new chain. The new chain can invalidate the main chain proof. Furthermore, a 51% attack may result in the successful registration of the infringer. The 51% attack is described in detail in clause 6.1.1 of [ITU-T X.1401].
+
+#### **8.2.5 Briber attack**
+
+When attackers with sufficient resources bribe nodes with voting rights, they can damage the rights and interests of a proof distributed ledger network. In this way, attackers write illegal proof information in the proof distributed ledger network. A bribing attack is described in detail in clause 6.1.1 of [ITU-T X.1401].
+
+#### **8.2.6 Block-withholding attack**
+
+On a DLT-based proof platform based on the proof of work (PoW) consensus algorithm, an attacker can keep a block they mined and mines the next block in secret if the attacker has enough power. By releasing more than one block when other miners generate a block, the attacker can make other miners waste their power. The target of the attack is a platform operator that accepts zero validation. It can invalidate the main chain proof. It may also result in the successful registration of the infringer. The block-withholding attack is described in detail in clause 6.1.1 of [ITU-T X.1401].
+
+#### **8.2.7 Chain-hopping attack**
+
+An attacker can switch between various blockchains by taking advantage of the difficult adjustment algorithms of the chain. It can lead to an unfair reward toward the attackers with a loss to the other users. It may also cause a considerable increase in the effective computing power in the mining pool. It may also result in the successful registration of the infringer. The chain-hopping attack is described in detail in clause 6.1.1 of [ITU-T X.1401].
+
+#### **8.2.8 Distributed denial of service attack**
+
+On a DLT-based proof platform, an attacker can disable the network through distributed denial of service (DDoS) attacks, with sybil attack and eclipse attack being the common methods. This may result in the successful registration of malicious proof. The sybil attack is described in detail in clause 6.2.3 and the eclipse in clause 6.2.1 of [ITU-T X.1401].
+
+#### **8.2.9 BGP hijacking attack**
+
+An attacker can take advantage of the hijacked border gateway protocol and the network nodes of the distributed ledgers gets divided into two or more parts. As a result, the DLT is split into two or more parallel chains. At this time, the proof registration and the malicious proof registration can be done on parallel branches. After the attack stops, the proof distributed ledger is reunified with the longest main chain, other branches are discarded, and all proof records on these chains become invalid which can result in the successful registration of malicious proof.
+
+## **8.3 Security threats w.r.t proof provenance**
+
+### **8.3.1 Malicious information writing attack**
+
+All transaction data in the DLT are non-removable. Once the information is written into the DLT it cannot be deleted. Attackers may write malicious information in the distributed ledgers by launching smart contract attacks, e.g., mishandled exceptions attacks, as described in detail in clause 6.1.2 of
+
+[ITU-T X.1401]. The platform generates new blocks which lead to spam block attacks, thereby affecting the performance of a DLT-based proof platform.
+
+### **8.3.2 Proof information disclosure**
+
+In proof provenance, an algorithm should be used to encrypt and store proof information. It is important to ensure the security of the encryption algorithm. Asymmetric encryption algorithm attacks can result in an insecure state of the DLT-based proof platform. The asymmetric encryption algorithm attack is described in detail in clause 6.1.5 of [ITU-T X.1401].
+
+# **9 Security requirements for DLT-based digital integrity proofing**
+
+This clause describes security requirements for DLT-based digital integrity proofing based on the analysis of security threats outlined in clause 7. In addition, this clause describes the security requirements for the stakeholders, i.e., user, digital integrity proofing platform, and processes involved in DLT-based digital integrity proofing services, namely, digital proof registration, and digital proof provenance. The requirements for the security of data, network, consensus and application are described in detail in clauses 8.1 to 8.4 of [ITU-T X.1402].
+
+## **9.1 Security requirements for a user**
+
+### **9.1.1 Protection of user identity**
+
+The following security requirements related to the avoidance of identity fraud are defined for DLT-based digital integrity proofing platform.
+
+- a) The DLT-based digital integrity proofing platform should specify the operating authority of different users. The platform should allow the user to use the private key to sign the information and send it to the DLT. The DLT should recover the public key based on the signature, identify the users based on the public key, and authenticate user operations;
+- b) When a user registers into the platform, the platform shall first audit the user's identity information and may then allocate a label to each user;
+- c) The DLT-based digital integrity proofing platform should write all the operations of each user into the distributed ledgers;
+- d) The DLT-based digital integrity proofing platform should require the provision of an identity authentication function for each proof registration, including access control, password, digital signature and biometric recognition, etc.
+
+### **9.1.2 Private key protection**
+
+The following security requirements related to private key protection are defined for DLT-based proof platform.
+
+- a) The DLT-based digital integrity proofing platform should prevent private key leakage – a DLT-based proof platform operator should prevent malicious code from intruding into its client;
+- b) The DLT-based digital integrity proofing platform should prevent private key loss – users of a DLT-based proof platform should keep the private key in a safe place and avoid leaving the private keys on easily accessible non-physical and physical media (e.g., printing paper) without any protection mechanisms – potential countermeasures include personal identification number codes, passwords, fingerprints and other biometric information, etc.
+
+#### **9.1.3 Privacy protection**
+
+The DLT-based digital integrity proofing platform should adopt relevant security protection measures in the information processing links of collection, storage, use, sharing, transfer, public disclosure,
+
+etc., to prevent illegal collection, abuse, and leakage of owner information, and to maximize the protection of the legitimate rights and interests of the owner.
+
+## **9.2 Security requirements for proof registration**
+
+### **9.2.1 Avoidance of proof fraud**
+
+The following security requirements related to avoidance of digital proof fraud are defined for a DLT-based proof platform.
+
+- a) The DLT-based proof platform should provide consensus algorithms with a level of security assurance (LoSA) and a consensus mechanism strength (CMS) [ITU-T X.1404], e.g., practical byzantine fault tolerance (PBFT), to avoid digital proof forgery;
+- b) The DLT-based proof platform should monitor the effective computing power of the network, to detect abnormal changes and to prevent chain-hopping attacks;
+- c) The DLT-based proof platform should enhance the difficulty of eigenvalue construction algorithms while ensuring that the operating efficiency of the system is within a reasonable range.
+
+### **9.2.2 Avoidance of proof tampering**
+
+The following security requirements related to the avoidance of digital proof tampering are defined for a DLT-based proof platform.
+
+- a) The DLT-based proof platform should use encrypted hardware;
+- b) The DLT-based proof platform should use encryption algorithms to ensure the secure transmission of proof information. The related third-party services should use encryption algorithms to ensure the secure storage of proof information. The platform and related third-party services should choose appropriate encryption algorithms, which should have a compromise between security and computing cost, and key length – it might choose to increase the length of keys to offset the risks caused by the increasing computing power.
+
+### **9.2.3 Protection of proof registration**
+
+The following security requirements related to registration security control are defined for a DLT-based proof platform.
+
+- a) The DLT-based digital integrity proofing platform shall synchronise to a trusted third-party time service;
+- b) The DLT-based digital integrity proofing platform should provide warnings of security attack, vulnerability, malicious code, threat analysis and data leakage, as well as other threat intelligence information, and identify the problems existing in the platform through vulnerability scanning and automated security testing;
+- c) The DLT-based digital integrity proofing platform should provide identity authentication and access control to mitigate security attack risks, e.g., malicious tampering and remote attack;
+- d) For mobile applications, the DLT-based digital integrity proofing platform should provide security protection methods, e.g., reinforcement and source confusion to prevent reverse analysis, decompilation and embedding of malicious code;
+- e) The platform can use the monitoring point technology to write to the client through hard coding so that the client will accept all of the effective transactions before the monitoring point, thereby preventing 51% attack – the monitoring point should: introduce an improved proof of stake (PoS) consensus mechanism with margin and penalty measures; set a time stamp for the transaction; set third-party reliable node authentication to authenticate identity; and not accept zero confirmation;
+
+- f) The platform can deploy port filtering for abnormal traffic cleaning, cloud security defence, and high defence for domain name system (DNS) resolution in the system to provide secure implementation, and should regulate data block size to avoid spam attacks;
+- g) The DLT-based digital integrity proofing platform should provide evidence collection and tracing of security incidents, analyse the reasons and provide methods to contain attacks.
+
+## **9.3 Security requirements for proof provenance**
+
+### **9.3.1 Prevention against malicious information writing**
+
+To ensure the security of proof provenance the DLT-based digital integrity proofing platform should:
+
+- a) regulate the size of the data block to prevent nodes from generating spam blocks;
+- b) ensure that unauthorized and anonymous entities cannot search or access account data and transaction data in distributed ledger system nodes;
+- c) use libraries that guarantee calculation safety, such as SafeMath;
+- d) perform code reviewing to avoid integer flow and mishandled exceptions to prevent attacks in smart contracts;
+- e) use unpredictable random generators to prevent malicious users to control the outcomes of the smart contracts;
+- f) The design of access control during program development should be as strict as possible to prevent the ownership of smart contract functions from being tampered with by attackers to obtain the highest operating authority.
+
+### **9.3.2 Protection of proof information**
+
+To ensure the security of proof information the DLT-based digital integrity proofing platform should:
+
+- a) use encrypted hardware to store the proof information of off-chain;
+- b) choose appropriate encryption algorithms which should have a compromise between security and computing cost, and key length – it might choose to increase the length of the keys to offset the risks caused by increasing the computing power;
+- c) use an effective access control mechanism to ensure controllable access to proof information.
+
+# Appendix I
+
+## Use case of e-invoice based on distributed ledger technology
+
+(This appendix does not form an integral part of this Recommendation.)
+
+Under the consensus mechanism only invoices written by tax authorities can be verified and approved, and invoices written by any other nodes cannot be confirmed, thus ensuring the authenticity of invoices. With smart contracts, transactions and invoicing occur simultaneously, and consumer payments and invoicing takes place seamlessly. An overview is given in Figure I.1. For details, please refer to [b-IEEE 2142.1-2021] Recommended practice for e-invoice business using blockchain technology.
+
+
+
+The diagram illustrates the use case overview of DLT-based electronic invoice, divided into two main sections: the initial transaction flow and the digital integrity proofing platform based on DLT.
+
+**Initial Transaction Flow:**
+
+- Medical institutions register accounts on the blockchain.
+- Prescription issued by medical institutions.
+- User completes payment of medical expenses.
+- Detailed list of medical expenses received by users.
+- User application for invoice.
+
+**Digital integrity proofing platform based on DLT:**
+
+This section details the process of generating and transferring the electronic invoice:
+
+- 1. Electronic invoice written into blockchain:** The user successfully obtains a DLT-based electronic invoice.
+- 2. Multiple signature address of electronic invoice transfer to mobile terminal:** Users can scan the code at mobile terminal to collect and view block chain electronic bills.
+- 3. Multiple signature address of electronic invoice transfer to receiving enterprise:** Push the reimbursement message, and the user can complete the circulation and reimbursement on the chain with the blockchain financial electronic invoice.
+
+The diagram also shows a sequence of blocks representing the blockchain ledger, including a Header/body block and multiple Block info. invoice data blocks.
+
+X.1407(22)
+
+Figure I.1 – Use case overview of DLT-based electronic invoice. The diagram illustrates a two-part process. The top part shows a linear flow: Medical institutions register accounts on the blockchain, a prescription is issued, a user completes payment, a detailed list of medical expenses is received, and a user application for an invoice is submitted. The bottom part, titled 'Digital integrity proofing platform based on DLT', shows the invoice lifecycle: 1. Electronic invoice written into blockchain, 2. Multiple signature address of electronic invoice transfer to mobile terminal, and 3. Multiple signature address of electronic invoice transfer to receiving enterprise. A sequence of blocks (Header/body, Block info. invoice data) represents the blockchain ledger. Arrows indicate the flow of data and the transfer of invoice addresses between the user, the mobile terminal, and the receiving enterprise.
+
+**Figure I.1 – Use case overview of DLT-based electronic invoice**
+
+The use case of electronic invoices based on distributed ledger technology by medical institutions is described as follows:
+
+- Medical institutions register an account on the blockchain, connect to the DLT-based invoicing system and set the invoicing conditions on the chain
+- The medical institution issues a prescription
+- The user completes the payment of medical expenses with a prescription
+- The user receives a detailed list of medical expenses after the payment is completed
+- The user applies for invoicing
+- The user successfully obtains a blockchain electronic invoice
+- Users can scan the code on the mobile terminal to receive and view the blockchain electronic invoice
+- The mobile terminal can push reimbursement messages, and users can use the blockchain electronic invoice to complete the circulation and reimbursement on the chain.
+
+The invoicing process based on the payment may include the following phases:
+
+- Phase A: transaction
+
+- Phase B: invoice issuance
+- Phase C: reimbursement
+- Phase D: tax clearance
+
+
+
+The diagram illustrates the use case flow chart of a DLT-based electronic invoice system, divided into four phases: Phase A (Transaction), Phase B (Invoice issuance), Phase C (Reimbursement), and Phase D (TAX clearance). The participants involved are the Customer (Buyer), Payment platform, Seller, Wallet, Enterprise (Buyer), TAX Admin@Seller, and TAX Admin@Buyer.
+
+**Phase A: Transaction**
+
+- A1. Place order (Customer to Seller)
+- A2. Generate order (Seller to Payment platform)
+- A3. Payment request (Payment platform to Customer)
+- A4. Payment authorized (Customer to Payment platform)
+- A5. payment (Payment platform to Seller)
+- A6. Transaction generated (Seller to Wallet)
+- B1. Invoice requested (Customer to Wallet)
+- B4. Invoice transfer (Wallet to Seller)
+
+**Phase B: Invoice issuance**
+
+- B2. Digital signed request (Seller to TAX Admin@Seller)
+- B3. Invoice issued (TAX Admin@Seller to Seller)
+- B6. Invoice stored in the wallet (Seller to Wallet)
+
+**Phase C: Reimbursement**
+
+- C1. Reimbursement request (Wallet to Enterprise)
+- C2. Invoice verification request (Enterprise to TAX Admin@Buyer)
+- C3. Verification (TAX Admin@Buyer to TAX Admin@Seller)
+- C4. Verification signed by SirNet (TAX Admin@Buyer to Enterprise)
+- C5. Invoice reimbursed (Enterprise to Wallet)
+
+**Phase D: TAX clearance**
+
+- D1. TAX clearance (Enterprise to TAX Admin@Buyer)
+
+Additional flows include: TAX deductible (Seller to Enterprise), B5. User authorize to store the invoice to the wallet (Customer to Wallet), and A4. Payment authorized (Customer to Payment platform).
+
+X.1407(22)
+
+Figure I.2 – Use case flow chart of DLT-based electronic invoice. The diagram illustrates the process flow across four phases: Phase A (Transaction), Phase B (Invoice issuance), Phase C (Reimbursement), and Phase D (TAX clearance). Key participants include Customer (Buyer), Payment platform, Seller, Wallet, Enterprise (Buyer), TAX Admin@Seller, and TAX Admin@Buyer. The flow involves steps such as generating orders, payment requests, invoice issuance, digital signing, reimbursement requests, and final tax clearance.
+
+**Figure I.2 – Use case flow chart of DLT-based electronic invoice**
+
+In the transaction phase, when the customer (i.e., buyer) places an order, the service provider (i.e., seller) generates the order over the payment platform, the payment platform then confirms the order after the customer authorization is received, and the receipt is generated when the payment is processed. The receipt could be in the form of a payment block over a payment chain or a record in a centralized database.
+
+In the invoice issuance phase, the invoice is issued by the origin TAX admin of the merchant based on the customer's request from the customer's wallet for instance, and the payment receipt is used as the unspent transaction output (UTXO) for the invoice issuance. The participating nodes include the core consensus nodes anchored on the core layer of the ledger as well as the simplified payment verification (SPV) nodes, such as the merchant node, personal wallet node, etc.
+
+In the reimbursement phase, the customer associating enterprise (CAE) as an SPV node verifies the invoice when the customer initiates the reimbursement process, and the invoice in the personal wallet is repaid as a UTXO.
+
+In the TAX clearance process, the destination TAX admin nodes and the CAE SPV node join the process, the invoice is used as UTXO to repay the VAT.
+
+There are several advantages to the electronic invoice system using DLT as follows:
+
+1. Ensure that the invoice is authentic and the whole process of invoice collection, invoice issuing, circulation, entry, reimbursement is traceable.
+2. The invoice data is tamper-proof and the tax bureau, the billing party, the circulation party, and the reimbursement party participate jointly in the bookkeeping process.
+3. DLT-based e-invoice does not need tax-disk and special equipment. For traditional invoices, it requires multiple tax-disks for each store in the case of chain stores; The DLT-based e-invoice is automatically reimbursed by the ERP and the number of stores does not bring additional cost.
+
+4. For traditional invoices, if the number of invoices approved by the tax authorities cannot meet the business needs due to a temporary increase in business volume, the taxpayer may apply for additional invoices to the tax authorities. However, DLT-based invoices are supplied on demand and do not need additional application processes.
+5. It takes time and effort to collect and purchase traditional invoice papers from the tax bureau; while DLT-based e-invoices are paper free.
+
+# Appendix II
+
+## Use case for verification of academic certificates based on distributed ledger technology
+
+(This appendix does not form an integral part of this Recommendation.)
+
+Verification of certificates is a time-consuming process as it may require days or weeks. Employers are concerned about the authentication of qualifications and spend considerable time communicating with universities to verify the integrity of certificates and to ensure applicants hold an impeccable qualification. Blockchain will provide transparency and simplify sharing the authenticated certificates with a variety of employers or any other parties.
+
+Employers can prove the integrity of the academic certificate by using DLT. DLT provides a recognized secure source to store students' qualifications, accessible by a variety of institutions and universities. It provides a persistent public record, safeguarded against changes to the institution or loss of its private records.
+
+This pattern consists of the following components:
+
+### *Users*
+
+- Issuer (University)
+- Recipient (Students)
+- Verifier (Employers)
+
+### *Systems*
+
+- The nodes of universities.
+- Blockchain platform
+
+### *Data*
+
+- The certificates hashes
+- Electronic certificate file
+
+The process of checking the integrity of the certificate depends on checking the hash value of the certificate and comparing the hash with the hashes stored in the blockchain as displayed in Figure II.1. The steps include:
+
+- University issues a new electronic certificate for a student and uploads the file into DLT.
+- DLT hashes and stores the file of the certificate.
+- To show proof of integrity, the student or employer uploads the document of the certificate into the DLT platform.
+- DLT generates the hash for the document and then compares the generated hash value with the hashes stored on the blockchain.
+- If the generated hash match one of the hashes stored in the blockchain then the certificate is authentic.
+
+
+
+The diagram illustrates the DLT-based verification process for an academic certificate. It begins with an **Employer** who possesses an **E-certificate**. The process involves the following steps:
+
+- Upload the certificate to BC:** The Employer uploads the E-certificate to the Blockchain (BC).
+- Hash generation:** A **Crypto algorithm SHA256** is used to generate a **Hash of certificate A. generated**.
+- Comparison:** The generated hash is compared with the hashes stored in the BC (Cert. A Hash, Cert. A Hash, Cert. C Hash) managed in **Cert. Mgmt.**.
+- Verification Result:**
+ - If the hashes match (**Yes**), the **Certificate is genuine**.
+ - If the hashes do not match (**No**), the **Certificate is not genuine**.
+- DLT Interface:** The DLT system provides a **View academic certification** interface:
+
+| View academic certification |
+|------------------------------------|
+| Transaction ID: |
+| Content: |
+| Block time: |
+| Block hash: |
+
+The diagram also shows a sequence of blocks in the BC (N+2, N+1, N) and a flow from the DLT to the verification interface. Reference code X.1407(22) is noted.
+
+Flowchart illustrating the DLT-based verification of an academic certificate. The process involves an Employer uploading an E-certificate to a DLT system. A SHA256 crypto algorithm generates a hash, which is compared against hashes stored in a blockchain (blocks N, N+1, N+2). A decision diamond determines if the certificate is genuine based on the hash match. A 'View academic certification' table displays transaction details.
+
+X.1407(22)
+
+**Figure II.1 – Use case overview of DLT-based verification of academic certificate**
+
+Benefits of using DLT to authenticate the academic certificates:
+
+- DLT solves the current difficulties in the validation and authentication process.
+- DLT can group all the universities in one single platform.
+- DLT technology encourages employers to work with universities systematically.
+- DLT helps save and share authentic and integral information as one source of truth.
+- DLT saves time, cost, and effort.
+
+## Bibliography
+
+- [b-ITU-T X.1400] Recommendation ITU-T X.1400 (2020), *Terms and definitions for distributed ledger technology*.
+- [b-ISO 13491-2] ISO 13491-2:2017(en), *Financial services – Secure cryptographic devices (retail) – Part 2: Security compliance checklists for devices used in financial transactions*.
+<>
+- [b-ISO 23257] ISO 23257:2022, *Blockchain and distributed ledger technologies – Reference architecture*. [b-ISO/IEC 27000] ISO/IEC 27000:2018(en), *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+<>
+- [b-ISO 22739] ISO 22739: 2020, *Blockchain and distributed ledger technologies – Vocabulary*.
+<>
+- [b-IEEE 2142.1-2021] IEEE 2142.1-2021, *IEEE Recommended practice for e-invoice business using blockchain technology*.
+< >
+- [b-ISO 56000] ISO 56000:2020, *Innovation management – Fundamentals and vocabulary*.
+<>
+- [b-ISO 5807] ISO 5807:1985, *Information processing – Documentation symbols and conventions for data, program and system flowcharts, program network charts and system resources charts*.
+<>
+- [b-Kaur] Kaur, S., Chaturvedi, S., Sharma, A. Kar, J. (2021), *A Research Survey on Applications of Consensus Protocols in Blockchain, Security and Communication Networks*, Vol. 2021, Article ID 6693731, January, pp. 1-22.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b251589cf40ace6dacc78699abda475ccc29cb4a
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5a5181407216d035f79590e56aec9a16d90fff38afd14731b2addf225d041a7
+size 4098
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..34524a9d29eb7e5d233741a50eb780a76ea2c700
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5add92fce814651da186a42275e75a64a2110a3d1da8fd258a640eba554e92e6
+size 35105
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0a60ae1110ca7a4b02c1c3741543508b9575ebb6
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bf225cc963c16f46df0590e30c31015cecd525cc6668b097532c05aecf5fced1
+size 24582
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3f38624e097d00d08bdf93ff3b23f5b486064e9f
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/3ad00ce93ad9dea9ee0f47535e5355e6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0d132539a2bb294eea490084b5a854d47c40c8611352ca9e1bb12b37a504b490
+size 34634
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/86b4670fc1a5a694821ee92b99c1209a_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/86b4670fc1a5a694821ee92b99c1209a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1e9862bc269b0741f99697072387cc2fee249682
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/86b4670fc1a5a694821ee92b99c1209a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b1551415da99408a6d04490d3c3601af50c7d96b5867a03e7a6f908dc2e24a92
+size 47281
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/9b6b5924b48bf2fd5f347f88f06f45b3_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/9b6b5924b48bf2fd5f347f88f06f45b3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e5fc4d6cdfe47733d6cdd70a177867efb388f9c1
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/9b6b5924b48bf2fd5f347f88f06f45b3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:48f5489723ee433abcde78677fa1844245ab63c195cd48c009482a5005918508
+size 24877
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/b28af4985cdef1e519e3aaf26561dcb3_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/b28af4985cdef1e519e3aaf26561dcb3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ea5364bb317adcc964a64bddeaa89ce9e63538c4
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/b28af4985cdef1e519e3aaf26561dcb3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:40ee529d590868317dba7ff0c881e6cf45e110605043c1862b6f6c510e524020
+size 36712
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d6efd17911cf055ce156ef4c5eb6d36982f262a7
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b0409d91ed9cdabde67a16c6edd5c4179e5e0302738325b3a3dddea2f98e1876
+size 90584
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/ec98c4d2d93f28dfc8eb9d5e5730f62d_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/ec98c4d2d93f28dfc8eb9d5e5730f62d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a252ca7b3882571ad7040b1bab557539fd63358e
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/ec98c4d2d93f28dfc8eb9d5e5730f62d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:24bd62627995593215e7a3135a1729df94c457d5ab23bd46579b1d8bb3210497
+size 31000
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0985615d974671197f4ae429eebbb46ad8a9a386
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e378820c4ac0f27b78f970025c3a9c827f387835c2f18caee390531856b4d805
+size 23658
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/fc69ceb1dee1da7e33bd6c38fc4ceab9_img.jpg b/marked/X/T-REC-X.1452-202010-I_PDF-E/fc69ceb1dee1da7e33bd6c38fc4ceab9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e1da4eba62a2cee5394a810737f3250468cc35a0
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/fc69ceb1dee1da7e33bd6c38fc4ceab9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7a3e895a2ab49a478cd68d9ed88dfea7f38d8dc238fec69b639c0e3ea7f34de4
+size 24533
diff --git a/marked/X/T-REC-X.1452-202010-I_PDF-E/raw.md b/marked/X/T-REC-X.1452-202010-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..f419c13eb22a05e43cd77f5fa8695ad50d8f11ef
--- /dev/null
+++ b/marked/X/T-REC-X.1452-202010-I_PDF-E/raw.md
@@ -0,0 +1,1029 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1452
+
+(10/2020)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Secure applications and services (2) – Security protocols
+(2)
+
+# --- **Guidelines for security services provided by operators**
+
+Recommendation ITU-T X.1452
+
+# ITU-T X-SERIES RECOMMENDATIONS **DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY**
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| 5G SECURITY | X.1800–X.1819 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.1452
+
+# Guidelines for security services provided by operators
+
+## Summary
+
+Recommendation ITU-T X.1452 classifies potential use cases of security services provided by operators and analyse specific requirements for security services, thus providing guidelines for operators to safeguard and improve their security services.
+
+Due to the growing number of innovations in services in network and telecommunication domains, operators face a pressing need to explore new services based on their network and services capabilities. In this transformation, operators have not only accumulated new assets and experiences with technologies and services for network and telecommunication, but also the capability of offering security services based on the full extent of their network and infrastructure deployments and operations. The specific nature of this class of services makes them exhibit a number of differences with more traditional telecommunication services (e.g., phone call, short message or mobile network access). In this context, the portfolio of security services that are currently in production and explored by operators need specific integration with the resources and assets of the telecommunication network and infrastructure; the risk level of this portfolio is actually higher should the security service itself be compromised as it is precisely supposed to turn the operator offering it into a security provider for end market customers. A compromise of the service will result in loss of trust by customers and will affect the whole range of services offered by the operator and will significantly increase the overall churn level, and customer dissatisfaction and disloyalty. Therefore, security assurance, defined as the degree of confidence reached in the security service, needs to be studied thoroughly. In order to offer a technical reference for operators and to guarantee security, security service guidelines provided by the operator need to be analysed and established.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1452 | 2020-10-29 | 17 | 11.1002/1000/14451 |
+
+## Keywords
+
+Guidelines, operator, security services.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2021
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|---------------------------------------------------------------------|------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 Overview of security services provided by operators..... | 2 |
+| 7 Typical use cases ..... | 3 |
+| 7.1 Secure connecting service ..... | 3 |
+| 7.2 Abnormal flow cleaning service..... | 5 |
+| 7.3 Security monitoring service..... | 7 |
+| 7.4 Anti-malicious mobile application service..... | 9 |
+| 8 Reference model of security service..... | 12 |
+| 9 Requirements for stakeholders ..... | 13 |
+| 9.1 The operator..... | 13 |
+| 9.2 The equipment provider ..... | 14 |
+| 9.3 The third part security service provider..... | 14 |
+| 10 Security mechanisms ..... | 14 |
+| 10.1 Authentication ..... | 15 |
+| 10.2 Access control ..... | 15 |
+| 10.3 Security audit trails..... | 15 |
+| 10.4 Authorization..... | 15 |
+| 10.5 Availability ..... | 16 |
+| 10.6 Blacklist mechanism..... | 16 |
+| 10.7 Communication security..... | 16 |
+| 10.8 Data confidentiality ..... | 16 |
+| 10.9 Data integrity ..... | 16 |
+| 10.10 Non-repudiation..... | 16 |
+| 10.11 Privacy protection..... | 16 |
+| 10.12 Relationship of security mechanisms to the stakeholders ..... | 17 |
+| 11 Reference procedures..... | 17 |
+| Bibliography..... | 19 |
+
+
+
+# Recommendation ITU-T X.1452
+
+# Guidelines for security services provided by operators
+
+# 1 Scope
+
+This Recommendation classifies potential use cases of security services provided by operators, analyses their specific requirements and specifies guidelines for operators to safeguard and improve their security services.
+
+# 2 References
+
+None.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+None.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 collaboration agreement:** A contract between two or more business organizations that results from the first step of the onboarding process and that specifies all onboarding parameters between the business organizations.
+
+**3.2.2 non-technical onboarding process:** The non-technical steps, for legal, compliancy, risk, financial and sales support, for the integration of security services from a third party security service provider and relevant parties into the operator, specifying all parameters, including roles and responsibilities.
+
+**3.2.3 onboarding process:** The steps taken to establish a collaboration agreement followed by the necessary technical and non-technical onboarding process steps, which integrate (e.g., merge the security services into one) a given security service from one business organization into another.
+
+**3.2.4 secure portable wireless access point (SPWAP):** A portable device with a connecting function that transports traffic and data from a terminal to the Internet or intranet, together with security analysis and security filtering functions, such as analysing and filtering malicious uniform resource locators (URLs) or phishing websites. It is preconfigured with a subscriber identification module (SIM) card. It is similar to a mobile wireless local area network (WLAN) hotspot device.
+
+**3.2.5 security mechanism:** A technical method to ensure security compliance of the security service being onboarded for both the third-party service provider and the relevant parties, as well as the operator.
+
+**3.2.6 security service:** A service offering value to end customers based on security functionalities.
+
+**3.2.7 security service customer:** A human being, organization, or system that uses a security service provided by operators.
+
+**3.2.8 security service provider:** A business organization offering a portfolio of services based on security functionalities to end customers.
+
+**3.2.9 technical onboarding process:** The technical steps for the pre-deployment, pre-configuration and security mechanisms of the security services to be integrated from a third-party security service provider and relevant parties into the operator.
+
+**3.2.10 third party security service provider:** A given security service provider offering a security service to be onboarded by an operator.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-------|-----------------------------------------|
+| APN | Access Point Name |
+| CPSC | Cloud Platform of Security Capabilities |
+| CT | Communication Technology |
+| IP | Internet Protocol |
+| IT | Information Technology |
+| SIM | Subscriber Identification Module |
+| SPWAP | Secure Portable Wireless Access Point |
+| UE | User Equipment |
+| URL | Uniform Resource Locator |
+| USIM | Universal Subscriber Identity Module |
+| VPDN | Virtual Private Dial-up Network |
+| VPN | Virtual Private Network |
+| WLAN | Wireless Local Area Network |
+
+# **5 Conventions**
+
+In this Recommendation:
+
+The phrase "is required" indicates a requirement that must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The phrase "is recommended" indicates a requirement that is recommended, but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+In this Recommendation, the keywords "shall" and "should" may sometimes appear, in which case they are to be interpreted as “is required to” and “is recommended” respectively.
+
+# **6 Overview of security services provided by operators**
+
+Due to the growing number of innovations in services in network and telecommunication domains, operators face a pressing need to explore new services based on their network and service capabilities.
+
+In this transformation, operators have not only accumulated new assets and experiences with technologies and services for networks and telecommunications, but also the capability of offering security services based on the full extent of their network and infrastructure deployments and operations.
+
+The specific nature of this class of services makes them exhibit a number of differences with the more traditional telecommunication services (e.g., phone calls, short messages or mobile network access). In this context, see the following.
+
+- The portfolio of security services that are currently in production and explored by operators need specific integration with the resources and assets of telecommunication networks and infrastructure.
+
+- The risk level on this portfolio is higher, should the security service itself be compromised. The security service is to be offered by an operator as a security provider to their end user. A compromise of such service will result in a loss of trust by end users. This loss of trust will span the whole range of services offered by the operator and will significantly damage end-user satisfaction and loyalty, thus increase the overall churn level.
+
+# 7 Typical use cases
+
+## 7.1 Secure connecting service
+
+### 7.1.1 Customer
+
+The customer of a secure connecting service provided by operators is an enterprise customer. This service aims to protect the enterprise customer by guaranteeing the security of the mobile office through secure access to the Internet and intranet of the enterprise.
+
+### 7.1.2 Technical onboarding
+
+#### 1) Pre-deployment
+
+The onboarding of a secure connecting service includes two main parts: a SPWAP and a cloud platform of security capabilities (CPSC). The secure connecting service can provide functions such as internet access, malicious website filtering, link selection and remote device monitoring.
+
+Figure 7-1 illustrates onboarding of secure connecting services.
+
+
+
+```
+
+graph LR
+ Terminal[Terminal] -- WLAN --> SPWAP[Secure portable wireless access point]
+ SPWAP -- Mobile network --> Internet((Internet))
+ Internet --> VPN[Web application VPN server X.1452(20)_F7-1]
+ SPWAP --> CPSC[Cloud platform of security capabilities]
+ Internet --> CPSC
+
+```
+
+Figure 7-1: Technical onboarding of secure connecting service. The diagram shows a 'Terminal' (laptop and smartphone) connected via 'WLAN' to a 'Secure portable wireless access point' (SPWAP). The SPWAP is connected via 'Mobile network' to the 'Internet'. The 'Internet' is connected to a 'Web application VPN server' (labeled X.1452(20)\_F7-1). Additionally, the SPWAP and the 'Internet' are both connected to a 'Cloud platform of security capabilities' (represented by a shield icon with a cloud).
+
+**Figure 7-1 – Technical onboarding of secure connecting service**
+
+In Figure 7-1, the SPWAP is a portable device with security analysis and security filtering functions, which has been preconfigured with a SIM or universal subscriber identity module (USIM) card. It can be similar to a mobile WLAN hotspot device. The terminal can access the SPWAP by WLAN. The SPWAP is used as a network access point for connecting to the Internet or intranet of the enterprise through a mobile network. To connect to the Internet, the SPWAP will take advantage of various URL feature libraries on the CPSC to check the customer's accessing website or URL by access control, and then block the malicious URL or phishing website. To connect to the intranet of the enterprise, the SPWAP will make use of various link selection modes to access the intranet securely, such as access point name (APN), virtual private network (VPN) and virtual private dial-up network (VPDN).
+
+The CPSC provides the security capabilities on the cloud and the ability to configure devices connected to it, such as recognizing malicious websites and managing resources. The SPWAP can query the CPSC, which shall respond. The CPSC can help the SPWAP to hold up malicious URLs or
+
+phishing websites, as well as querying them in real time. The CPSC provides enterprise customers with a customer interface combining website blacklist configuration and customer information maintenance, etc. functions.
+
+#### 2) Collaboration among the operator and the relevant parties
+
+In the secure connecting service, the entities include the terminal, the SPWAP, the CPSC and the web application VPN server. Accordingly, the mapping between the entities and the relevant parties is illustrated in Figure 7-1. In Table 1, the symbol "✓" indicates that the entity is related to a particular relevant party.
+
+**Table 1 – The mapping between the entities and the relevant parties**
+
+| Entity | Relevant party | | |
+|----------------------------|----------------|----------|---------------------------------------|
+| | Customer | Operator | Third party security service provider |
+| Terminal | ✓ | | |
+| SPWAP | | ✓ | |
+| CPSC | | ✓ | |
+| Web application VPN server | | | ✓ |
+
+The collaboration agreement should be pre-established between the operator and the web application VPN server. The collaboration agreement should include, but is not limited to:
+
+1. clarification of the roles of each entity during service provision;
+2. clarification of the responsibilities of each entity during service provision;
+3. implementation support, to clarify the necessary support (e.g., functionality feature, supporting system and security solution) of each entity during service provision.
+
+#### 3) Security mechanisms
+
+The security mechanisms (details can be seen in clause 10) in secure connecting service should include, but are not limited to:
+
+1. authentication;
+2. access control;
+3. blacklist mechanism;
+4. audit.
+
+### 7.1.3 Process
+
+There are five steps in the process of a secure connecting service, as illustrated in Figure 7-2.
+
+
+
+```
+
+graph LR
+ 1[1 Service ordering] --> 2[2 Service deployment]
+ 2 --> 3[3 Security policy configuration]
+ 3 --> 4[4 Service performance and status enquiry]
+ 4 --> 5[5 Service unsubscription]
+
+```
+
+X.1452(20)\_F7-2
+
+Flowchart illustrating the five steps of a secure connecting service process: 1. Service ordering, 2. Service deployment, 3. Security policy configuration, 4. Service performance and status enquiry, 5. Service unsubscription.
+
+**Figure 7-2 – Process of a secure connecting service**
+
+According to Figure 7-2, the process of a secure connecting service is as follows.
+
+#### Step 1: Service ordering
+
+1. The customer orders a secure connecting service.
+
+#### Step 2: Service deployment
+
+1. The account manager opens an account for the customer ordering a secure connecting service.
+2. The account manager inserts the SIM or USIM card in the SPWAP.
+3. The account manager delivers the SPWAP to the customer.
+4. The customer activates the SPWAP.
+5. The customer connects their end points to the SPWAP by WLAN hotspot.
+
+#### Step 3: Security policy configuration
+
+1. The manager of the SPWAP logs into the CPSC and configures the security policy.
+
+#### Step 4: Service performance and status enquiry
+
+1. The customer uses the service normally.
+2. The customer can enquire about service status through the CPSC.
+
+#### Step 5: Service unsubscription
+
+1. If the customer no longer requires the secure connecting service, the customer can unsubscribe from it.
+
+## 7.2 Abnormal flow cleaning service
+
+### 7.2.1 Customer
+
+The customer of an abnormal flow cleaning service provided by an operator is an enterprise customer. This service aims to protect the enterprise customer business from distributed denial-of-service attacks.
+
+### 7.2.2 Technical onboarding
+
+#### 1) Pre-deployment
+
+The onboarding of abnormal flow cleaning services includes three main components for: abnormal flow detection; abnormal flow cleaning; and service management. The abnormal flow cleaning service can provide functions such as abnormal flow detection, abnormal flow cleaning, flow logs analysis and report of attack event analysis.
+
+Figure 7-3 illustrates the onboarding of an abnormal flow cleaning service.
+
+
+
+The diagram illustrates the technical onboarding of an abnormal flow cleaning service. It shows an Enterprise customer (orange box) connected to an Operator (blue box) via a Data path (blue bar). The Operator contains three components: Service management (top), Abnormal flow detection (bottom left), and Abnormal flow cleaning (bottom right). The Data path connects the Enterprise customer to the Internet/clouds (green box).
+
+X.1452(20)\_F7-3
+
+Figure 7-3: Technical onboarding of abnormal flow cleaning service. The diagram shows an Enterprise customer (orange box) connected to an Operator (blue box) via a Data path (blue bar). The Operator contains three components: Service management (top), Abnormal flow detection (bottom left), and Abnormal flow cleaning (bottom right). The Data path connects the Enterprise customer to the Internet/clouds (green box).
+
+**Figure 7-3 – Technical onboarding of abnormal flow cleaning service**
+
+The abnormal flow detection component is used for real-time attack identification and abnormal flow analysis. The abnormal flow cleaning component for the customer reports logs to the service management component. The service management component manages the abnormal flow cleaning service-related configuration, logs the analysis of flow and reports the attack event analysis.
+
+#### 2) Collaboration among the operator and the relevant parties
+
+In the abnormal flow cleaning service, the relevant parties include the customer, the operator and the information technology (IT) device provider.
+
+The collaboration agreement should be pre-established between the operator and the IT device provider. The collaboration agreement should include, but is not limited to:
+
+1. clarification of the roles of each entity during service provision;
+2. clarification of the responsibilities of each entity during service provision;
+3. implementation support, to clarify the necessary support (e.g., functionality feature, supporting system and security solution) of each entity during the service provision.
+
+#### 3) Security mechanisms
+
+The security mechanisms (details can be seen in clause 10) in secure connecting service should include, but are not limited to:
+
+1. authentication;
+2. access control;
+3. audit.
+
+### 7.2.3 Process
+
+There are five steps in the process of an abnormal flow cleaning service, as illustrated in Figure 7-4.
+
+
+
+```
+graph LR; 1[1 Service ordering] --> 2[2 Service deployment]; 2 --> 3[3 Security policy configuration]; 3 --> 4[4 Service performance]; 4 --> 5[5 Service unsubscription];
+```
+
+X.1452(20)\_F7-4
+
+Flowchart illustrating the five steps of the abnormal flow cleaning service process: 1. Service ordering, 2. Service deployment, 3. Security policy configuration, 4. Service performance, and 5. Service unsubscription.
+
+**Figure 7-4 – Process of abnormal flow cleaning service**
+
+According to Figure 7-4, the process of an abnormal flow cleaning service is as follows:
+
+#### Step 1: Service ordering
+
+1. The customer orders an abnormal flow cleaning service.
+
+#### Step 2: Service deployment
+
+1. The service management component assigns an account for the customer ordering an abnormal flow cleaning service.
+2. The abnormal flow detecting component copies the customer's flow by mirror or beam split.
+
+#### Step 3: Security policy configuration
+
+1. The service management component configures the security policy baseline according to the flow distribution, learning through the abnormal flow detecting component.
+
+#### Step 4: Service performance
+
+1. The customer uses an abnormal flow cleaning service.
+2. The customer can check the log analysis of the flow and the report of attack event analysis.
+
+#### Step 5: Service unsubscription
+
+1. If the customer no longer requires the abnormal flow cleaning service, the customer can unsubscribe from it.
+
+## 7.3 Security monitoring service
+
+### 7.3.1 Customer
+
+The customer of a security monitoring service provided by operators is an enterprise customer. This service aims to reduce the security operation risk of the enterprise customer by continuously monitoring security vulnerabilities.
+
+### 7.3.2 Technical onboarding
+
+#### 1) Pre-deployment
+
+The onboarding of a security monitoring service includes three main scanning components for: port; system vulnerability; and web vulnerability. The security monitoring service can provide functions such as monitoring the operational status and vulnerabilities of the customer's assets and services from the network level and the equipment level, including port scanning, system vulnerability scanning and web vulnerability scanning.
+
+Figure 7-5 illustrates the onboarding of a security monitoring service.
+
+
+
+The diagram illustrates the technical onboarding of a security monitoring service. It shows a central cloud labeled "Telecom operators" connected to three scanning components: "Port scanning", "System vulnerability scanning", and "Web vulnerability scanning". These components are connected to two databases: "System vulnerability database" and "Web vulnerability database". The "Telecom operators" cloud is also connected to the "Customer" at the bottom. The diagram is labeled "X.1452(20)\_F7-5".
+
+Diagram illustrating the technical onboarding of a security monitoring service. The diagram shows a central cloud labeled 'Telecom operators' connected to three scanning components: 'Port scanning', 'System vulnerability scanning', and 'Web vulnerability scanning'. These components are connected to two databases: 'System vulnerability database' and 'Web vulnerability database'. The 'Telecom operators' cloud is also connected to the 'Customer' at the bottom. The diagram is labeled 'X.1452(20)\_F7-5'.
+
+**Figure 7-5 – Technical onboarding of security monitoring service**
+
+In Figure 7-5, the operator side has scanning components for: the port; system vulnerability; and web vulnerability. These can be implemented by software or hardware devices. The device number and performance to be deployed can be dynamically adjusted, based on parameters such as the number of customers, number of monitored assets and the complexity of the monitored systems.
+
+Each component is described in detail as follows.
+
+- Port scanning component: The main function of the port scanning component is to detect the ports of the monitored assets from the network level and identify the running service information of the open port as much as possible. Port scanning usually needs pre-configuration for common scan policies. The configuration includes the destination Internet protocol (IP) address range, port range, scan options, scan concurrent connections and scan interval. The specific values can be adjusted and configured according to task requirements.
+- System vulnerability scanning component: The main function of the system vulnerability scanning component is to scan and analyse the installation and configuration of the operating system, database and application software of the monitored assets from the device level to
+
+discover potential security vulnerabilities. Meanwhile, system vulnerabilities are graded based on the significance of the equipment and the severity of vulnerabilities, etc. The system vulnerability scanning component usually needs to integrate a common system vulnerability database in advance and provide an update and upgrade mechanism for it. Moreover, the system vulnerability scanning component needs to be preconfigured for common scan policies. The configuration content includes the scan target IP address range, port range, scan options, scan vulnerability library selection, scan concurrent connection number and scan task execution time. The specific values can be adjusted and configured according to task requirements.
+
+- Web vulnerability scanning component: The main function of the web vulnerability scanning component is to detect ports and services that are open to monitored assets from the network level. Alongside this function, web vulnerabilities are detected and graded by using the integrated web vulnerability database for attack attempts on the corresponding ports and services without affecting the normal operation of the business. The web vulnerability scanning component usually needs to integrate a common web vulnerability database in advance and provide an update and upgrade mechanism for it. The web vulnerability scanning component also needs to be preconfigured for common scan policies. The configuration content includes web service IP address information, scan options, scan vulnerability library selection, scan concurrent connection number, scan attempts and scan task execution time. The value can be adjusted and configured according to task requirements.
+
+For the enterprise customer side, there is no need to deploy any service device. The enterprise customer only needs to provide the address information of the assets and services to be monitored, including the IP address segment and port range.
+
+#### 2) Collaboration among the operator and the relevant parties
+
+In the security monitoring service, the entities include the port scanning component, the system vulnerability scanning component, the web vulnerability scanning component, the system vulnerability database and the web vulnerability database. Accordingly, the mapping between the entities and the relevant parties is illustrated in Figure 7-5. In Table 2, the symbol "✓" indicates that the entity is related to a particular relevant party.
+
+**Table 2 – The mapping between the entities and the relevant parties**
+
+| Entity | Relevant party | |
+|-----------------------------------------|----------------|---------------------------------------|
+| | Operator | Third party security service provider |
+| Port scanning component | ✓ | |
+| System vulnerability scanning component | ✓ | |
+| Web vulnerability scanning component | ✓ | |
+| System vulnerability database | | ✓ |
+| Web vulnerability database | | ✓ |
+
+The collaboration agreement should be pre-established between the operator and the third party service provider. The collaboration agreement should include, but is not limited to:
+
+1. clarification of the roles of each entity during service provision;
+2. clarification of the responsibilities of each entity during service provision;
+3. implementation support, to clarify the necessary support (e.g., functionality feature, supporting system and security solution) of each entity during service provision.
+
+#### 3) Security mechanisms
+
+The security mechanisms (details can be seen in clause 10) in the security monitoring service should include, but are not limited to:
+
+1. authentication;
+2. access control;
+3. audit.
+
+### 7.3.3 Process
+
+There are five steps in the process of the security monitoring service, as illustrated in Figure 7-6.
+
+
+
+```
+graph LR; 1[1 Service ordering] --> 2[2 Service deployment and configuration]; 2 --> 3[3 Security performance]; 3 --> 4[4 Service report delivery]; 4 --> 5[5 Service unsubscription];
+```
+
+X.1452(20)\_F7-6
+
+Flowchart of the security monitoring service process showing five steps: 1. Service ordering, 2. Service deployment and configuration, 3. Security performance, 4. Service report delivery, and 5. Service unsubscription.
+
+**Figure 7-6 – Process of security monitoring service**
+
+According to Figure 7-6, the process of a security monitoring service is as follows:
+
+#### **Step 1: Service ordering**
+
+1. The customer orders a security monitoring service.
+
+#### **Step 2: Service deployment and configuration**
+
+1. The customer provides information of the assets and services to be monitored, such as IP address and assets.
+
+The service provider configures the service policy and delivers the policy to the scanning devices.
+
+#### **Step 3: Service performance**
+
+1. The service provider takes customized security scanning of customer's assets according to the service policy.
+2. The service provider analyses the security scanning results and forms the security monitoring report.
+
+#### **Step 4: Service report delivery**
+
+1. The service provider delivers the monitoring report to the customer.
+
+#### **Step 5: Service unsubscription**
+
+1. If the customer no longer requires the security monitoring service, the customer can unsubscribe from it.
+
+## **7.4 Anti-malicious mobile application service**
+
+### **7.4.1 Customer**
+
+The customer of the anti-malicious mobile application service provided by operators is the individual customer. This service aims to protect the individual customer's mobile application from malicious attack through malicious code.
+
+### **7.4.2 Technical onboarding**
+
+- 1) Pre-deployment
+
+The onboarding of an anti-malicious mobile application service includes four main parts: the user equipment (UE); mobile application platform or store; malicious code scanning component; and the security centre.
+
+The mobile application platform or store offers mobile applications to the individual customer. The malicious code scanning component is used for real-time malicious code detection, and reports such code of the mobile application to the security centre. The malicious code scanning component usually needs to integrate a common malicious code database in advance and provide an update and upgrade mechanism for it. The security centre informs the UE of the malicious mobile application; the UE can then block the installation of the malicious application.
+
+Figure 7-7 illustrates the onboarding of an anti-malicious mobile application service.
+
+
+
+Figure 7-7: Technical onboarding of anti-malicious mobile application service. The diagram shows a central cloud labeled 'Telecom operators'. Above the cloud is a 'Malicious code scanning component' (server icon) which is connected to a 'Malicious code database' (server icon) above it and a 'Security centre' (server icon) to its right. To the left of the cloud is a 'Mobile application platform/store' (server icon). Below the cloud is a 'UE' (mobile phone icon). Bidirectional arrows connect the 'Mobile application platform/store' to the 'Telecom operators' cloud, the 'Telecom operators' cloud to the 'UE', the 'Telecom operators' cloud to the 'Malicious code scanning component', and the 'Malicious code scanning component' to the 'Security centre'. There is also a bidirectional arrow between the 'Malicious code scanning component' and the 'Malicious code database'.
+
+**Figure 7-7 – Technical onboarding of anti-malicious mobile application service**
+
+#### 2) Collaboration among the operator and the relevant parties
+
+In the anti-malicious mobile application service, the entities include the UE, mobile application platform or store, malicious code scanning component, the security centre and the malicious code database. Accordingly, the mapping between the entities and the relevant parties is illustrated in Figure 7-7. In Table 3, the symbol "✓" indicates that the entity is related to a particular relevant party.
+
+**Table 3 – The mapping between the entities and the relevant parties**
+
+| Entity | Relevant party | | |
+|-----------------------------------|----------------|----------|------------------------------|
+| | UE provider | Operator | Third party service provider |
+| UE | ✓ | | |
+| Malicious code scanning component | | ✓ | |
+| Security centre | | ✓ | |
+| Mobile application platform/store | | | ✓ |
+| Malicious code database | | | ✓ |
+
+A collaboration agreement should be pre-established between the operator and the UE provider, and also between the operator and the third service party provider. The collaboration agreement should include, but is not limited to:
+
+1. clarification of the roles of each entity during service provision;
+ 2. clarification of the responsibilities of each entity during service provision;
+ 3. implementation support, to clarify the necessary support (e.g., functionality feature, supporting system and security solution) of each entity during service provision.
+- 3) Security mechanisms
+
+The security mechanisms (details can be seen in clause 10) in the anti-malicious mobile application service should include, but are not limited to:
+
+1. authentication;
+2. access control;
+3. audit.
+
+### 7.4.3 Process
+
+There are five steps in the process of the anti-malicious mobile application service, as illustrated in Figure 7-8.
+
+
+
+```
+graph LR; 1[1 Service ordering] --> 2[2 Service deployment and configuration]; 2 --> 3[3 Security performance]; 3 --> 4[4 Service report delivery]; 4 --> 5[5 Service unsubscription];
+```
+
+X.1452(20)\_F7-8
+
+Flowchart illustrating the five steps of the anti-malicious mobile application service process: 1. Service ordering, 2. Service deployment and configuration, 3. Security performance, 4. Service report delivery, and 5. Service unsubscription.
+
+**Figure 7-8 – Process of anti-malicious mobile application service**
+
+According to Figure 7-8, the process of anti-malicious mobile application service is as follows:
+
+#### Step 1: Service ordering
+
+1. The customer orders anti-malicious mobile application service.
+
+#### Step 2: Service deployment and configuration
+
+1. The malicious code scanning component configures the service policy (e.g., the algorithm of malicious code scan, the format of the malicious code detection report) and delivers the policy to the security centre.
+
+#### Step 3: Service performance
+
+1. The malicious code scanning component undertakes malicious code scanning of the customer's mobile application according to the service policy.
+2. The malicious code scanning component analyses the scanning results and delivers the scanning report to the security centre.
+
+#### Step 4: Service report delivery
+
+1. The security centre informs the UE of the malicious mobile application; the UE can then block the installation of the malicious application.
+
+#### Step 5: Service unsubscription
+
+1. If the customer no longer requires the anti-malicious mobile application service, the customer can unsubscribe from it.
+
+# 8 Reference model of security service
+
+A reference model of a security service offered by an operator is shown in Figure 8-1.
+
+
+
+Figure 8-1: Reference model of security service. The diagram illustrates the architecture of a security service. At the top, a green box labeled 'Customers' contains 'Enterprise customer' and 'Individual customer'. An orange arrow labeled 'Offering security service' points from the 'Operator' box to the 'Customers'. The 'Operator' box (blue) contains five stacked components: 'Customer service centre', 'Security management centre', 'Business support system', 'Operation support system', and 'Functionalities for offering security services'. To the left, an orange box labeled 'Security mechanisms' has an orange arrow labeled 'Security protection' pointing to the 'Operator' box. Below the 'Operator' box is a blue box labeled 'Equipment provider' containing 'User device', 'IT device', 'CT device', and '...'. An orange arrow labeled 'Equipment supporting' points from the 'Equipment provider' box to the 'Operator' box. To the right of the 'Operator' box is a blue box labeled 'The third part security service provider' containing 'Customer service centre', 'Security management centre', 'Business support system', 'Operation support system', and '...'. A double-headed orange arrow labeled 'Business cooperation' connects the 'Operator' box and the 'The third part security service provider' box. The text 'X.1452(20)\_F8-1' is located at the bottom right of the diagram area.
+
+**Figure 8-1 – Reference model of security service**
+
+In this model, three modules are involved:
+
+- the customer;
+- the stakeholders in service provision; and
+- the security mechanism.
+
+The potential customer type may include the individual customer and the enterprise customer.
+
+Stakeholders in service provision include the operator, the equipment provider and the third party security service provider. The equipment provider may act as a UE provider, IT device provider, communication technology (CT) device provider and the operator. The third part security service provider is optional according to the security service requirements.
+
+- 1) The operator is the core part of the service components; it contains the following sub-components:
+ 1. functionalities for offering security services;
+ 2. operation support system;
+ 3. business support system;
+ 4. security management centre;
+ 5. customer service centre.
+- 2) The equipment provider offers necessary devices to support the security services, it contains following sub-components:
+ 1. the user device, such as mobile phone, SIM or USIM card;
+ 2. IT device;
+
+3. telecommunication device;
+4. others.
+- 3) The third party security service provider cooperates with the operator to support the security services; it contains following sub-components:
+ 1. operation support system;
+ 2. business support system;
+ 3. security management centre;
+ 4. customer service centre;
+ 5. others.
+
+The security mechanisms contain the technical schemes to mitigate potential threats to the security service offered by the operator.
+
+# **9 Requirements for stakeholders**
+
+## **9.1 The operator**
+
+### **9.1.1 Functionalities to offer security services**
+
+#### **(1) Governance, risk and compliance functionalities**
+
+It is required that the operator has the functionalities of whole lifetime security governance, risk management and security compliance management for its security services.
+
+#### **(2) Analysis and testing functionalities**
+
+It is required that the operator has the functionalities to:
+
+- analyse the user, requirements, deployment scheme, process, etc. for a given security service; and
+- test the functionality and procedures of the usage of a given security service.
+
+#### **(3) Data functionalities**
+
+It is required that the operator has the functionalities of data collection, analysis, storage, etc. to support secure service functionality.
+
+#### **(4) Network functionalities**
+
+It is required that the operator has network functionalities to support the secure service functionality that include, but are not limited to:
+
+- abnormal flow analysis, cleaning;
+- network access.
+
+#### **(5) End-point or mobile functionalities**
+
+It is required that the operator has end-point or mobile functionalities to support the secure service functionality including, but not limited to:
+
+- port scanning;
+- system vulnerability scanning.
+
+#### **(6) Identity functionalities**
+
+It is required that the operator has identity functionalities to support the secure service functionality that include, but are not limited to:
+
+- identity authentication;
+
+- identity management.
+
+### **9.1.2 Operation support system**
+
+The operation support system offers the necessary functions for the telecommunication services of operator, and needs to offer the interface and function to support the security services.
+
+### **9.1.3 Business support system**
+
+The operator may deploy the business support system alone or jointly with the operation support system. The business support system needs to offer the interface and function to support security services.
+
+### **9.1.4 Security management centre**
+
+The security management centre offers security management functions of the operator's business, and manages the security mechanisms of the security service.
+
+### **9.1.5 Customer service centre**
+
+The customer service centre supports the customer's requirements. The security service provided by the operator can be newly deployed or shared with the customer service centre.
+
+## **9.2 The equipment provider**
+
+### **9.2.1 User equipment**
+
+UE offers the mobile phone, and a SIM or USIM card.
+
+### **9.2.2 Information technology device**
+
+The IT device offers a server, display device, chip, software system, etc. to support the security service.
+
+### **9.2.3 Telecommunication device**
+
+The telecommunication device offers telecommunication-related devices such as a base station or core network device.
+
+## **9.3 The third part security service provider**
+
+### **9.3.1 Operation support system**
+
+The operation support system offers functions necessary for the security services of the third party security service provider, and needs to offer the interface and function to support the security services.
+
+### **9.3.2 Business support system**
+
+The business support system of the third part security service provider needs to offer an interface and function to support the security services.
+
+### **9.3.3 Security management centre**
+
+The security management centre of the third part security service provider manages the security mechanisms of the security service.
+
+### **9.3.4 Customer service centre**
+
+The customer service centre supports customer requirements.
+
+# **10 Security mechanisms**
+
+The security mechanisms provide security protection for services offered by operators. The security mechanisms can be provided as the basic building blocks for stakeholder selection.
+
+## **10.1 Authentication**
+
+Authentication provides assurance of the claimed identity of an entity. Some security technologies that may be applied include:
+
+- the use of authentication information, such as passwords supplied by a sending user and checked by the receiving user;
+- cryptographic technologies; and
+- the use of characteristics or possessions of the user and single sign on.
+
+For more details of the authentication framework, see [b-ITU-T X.811].
+
+## **10.2 Access control**
+
+Access control provides access rights of the entity to prevent the unauthorized use of a resource. If the entity attempts to use an unauthorized resource or an authorized resource with an improper type of access, the access control function will then reject the attempt and may additionally report the incident for the purposes of generating an alarm or recording it as part of a security audit trail.
+
+For more details of the access control framework, see [b-ITU-T X.812].
+
+## **10.3 Security audit trails**
+
+Security audit trails provide a security mechanism to permit detection and investigation of breaches of security by permitting a subsequent security audit.
+
+A security audit is an independent review and examination of system records and activities in order to test for adequacy of system controls, to ensure compliance with established policy and operational procedures, to aid in damage assessment, and to recommend any indicated changes in controls, policy and procedures.
+
+For more details of the security audit trails framework, see [b-ITU-T X.816].
+
+## **10.4 Authorization**
+
+The authorization function may use the authenticated identity of or information about users (such as membership within a known set of users) or user capabilities, in order to determine and enforce their access rights. If a user attempts to use an unauthorized resource or an authorized resource with an improper type of access, the access control function will then reject the attempt and may additionally report the incident for the purposes of generating an alarm or recording it as part of a security audit trail.
+
+The access control function may be based on the use of the following items:
+
+- a) access control information bases, where the access rights of peer entities are maintained in a database;
+- b) authentication information, such as passwords, the possession and subsequent presentation of which is evidence of the accessing user's authorization;
+- c) capabilities, the possession and subsequent presentation of which is evidence of the right to access the user or resource defined by the capability;
+- d) security labels, which, when associated with a user, may be used to grant or deny access, usually according to a security policy;
+- e) time of attempted access;
+- f) route of attempted access;
+- g) duration of access; and
+- h) physical location of attempted access.
+
+For more details of the authorization mechanism, see [b-ITU-T X.800].
+
+## **10.5 Availability**
+
+Ensure that the ability to manage the network device or communications link of security service by authorized personnel or devices cannot be denied.
+
+Techniques used to access control may contribute to providing availability.
+
+For more details of availability framework, see [b-ITU-T X.800].
+
+## **10.6 Blacklist mechanism**
+
+Provides an identification of a list of persons or sources in services, where the identifications of the list are denied access to particular resources.
+
+## **10.7 Communication security**
+
+Protect the communication link and the communication data of the security service from unauthorized access or viewing.
+
+Techniques used to address encryption may contribute to providing communication confidentiality.
+
+## **10.8 Data confidentiality**
+
+Protect the network device or communications link configuration information from unauthorized access or viewing.
+
+Protect the administrative authentication information (e.g., administrator identifications and passwords) from unauthorized access or viewing.
+
+Techniques used to address access control may contribute to providing data confidentiality.
+
+For more details of the confidentiality framework, see [b-ITU-T X.814].
+
+## **10.9 Data integrity**
+
+Protect the configuration information of network devices and communications links against unauthorized modification, deletion, creation and replication.
+
+The same type of consideration is applied to administrative authentication information (e.g., administrator identifications and passwords).
+
+Techniques used to address access control may contribute to providing data confidentiality.
+
+For more details of the integrity framework, see [b-ITU-T X.815].
+
+## **10.10 Non-repudiation**
+
+Provide a record identifying the activity of the subscription, the usage of the security service and the action that was performed. This record can be used as proof of the originator of the administrative or management activity.
+
+The non-repudiation may use the digital signature method or the certification method.
+
+For more details of the non-reputation framework, see [b-ITU-T X.813].
+
+## **10.11 Privacy protection**
+
+Ensure that information that can be used to identify the user is not available to unauthorized personnel or devices.
+
+Techniques used to address encryption, access control and user consent may contribute to providing privacy protection.
+
+## 10.12 Relationship of security mechanisms to the stakeholders
+
+The relationship of security mechanisms and stakeholders of security service are shown in Table 4.
+
+In Table 4, the letter "Y" (Yes) indicates that the security mechanism is related to a particular stakeholder.
+
+**Table 4 – Relationship of security mechanisms to entities**
+
+| Security mechanisms | Stakeholder | | |
+|------------------------|-------------|--------------------|------------------------------|
+| | Operator | Equipment provider | Third party service provider |
+| Authentication | Y | | Y |
+| Access control | Y | | Y |
+| Security audit trails | Y | | Y |
+| Authorization | Y | Y | Y |
+| Availability | Y | Y | Y |
+| Blacklist mechanism | Y | | Y |
+| Communication security | Y | | Y |
+| Data confidentiality | Y | Y | Y |
+| Data integrity | Y | Y | Y |
+| Non-repudiation | Y | | Y |
+| Privacy protection | Y | Y | Y |
+
+# 11 Reference procedures
+
+For operators to offer security services, an adaptive mechanism is introduced to accommodate the constantly emerging new technologies and collaboration among relevant entities. It consists of seven procedures as shown in Figure 11-1.
+
+
+
+```
+
+graph TD
+ Customer[Customer]
+ Operator[The operator]
+ Equip[The equipment provider]
+ Third[The third party security service provider]
+
+ Customer -- 1 --> Operator
+ Operator -- 8 --> Customer
+ Operator -- 5 --> Operator
+ Operator -- 3 --> Equip
+ Equip -- 3 --> Operator
+ Operator -- 4 --> Third
+ Third -- 4 --> Operator
+
+ Operator -- 2 --> FOS[Functionalities of offering security service]
+ FOS --> Operator
+ Operator -- 6 --> RS1[Related systems]
+ RS1 --> Operator
+ Operator -- 7 --> SM[Security mechanisms]
+ SM --> Operator
+ Equip -- 3 --> RD[Related devices]
+ RD --> Equip
+ Third -- 4 --> RS2[Related systems]
+ RS2 --> Third
+
+```
+
+X.1452(20)\_F11-1
+
+Figure 11-1: Reference procedures of security services provided by operators. The diagram shows interactions between Customer, The operator, The equipment provider, and The third party security service provider, along with their respective functional components.
+
+**Figure 11-1 – Reference procedures of security services provided by operators**
+
+## Procedure 1: Identify customer
+
+The operator identifies the customer's requirement, and classifies the potential customer type, which may include the individual customer and the enterprise customer of security functionality usage.
+
+## **Procedure 2: Identify secure functionality**
+
+The operator identifies its functionalities, such as data functionality, network functionality and end-point functionality, that can act as the basic functionalities for the security service.
+
+## **Procedure 3: Onboarding with the equipment provider**
+
+The operator identifies and implements the pre-deployment or pre-configuration necessary for certain security services with the equipment provider, the collaboration agreement between operator and the equipment provider and the necessary security mechanisms for a certain security service.
+
+## **Procedure 4: Onboarding with the third part security service provider**
+
+The operator identifies and implements the pre-deployment or pre-configuration necessary for certain security services with the third part security service provider, the collaboration agreement between operator and the third part security service provider and the necessary security mechanisms for a certain security service.
+
+## **Procedure 5: Service functions design and development**
+
+Design the functions of the security services according to the security functionality.
+
+Based on the functions of the security services, develop or prepare (collaborate with the equipment provider) the specific security device or the component for the security service, and identify the security mechanisms to support the service.
+
+Design the security service processes including service ordering, service deployment and configuration, service performance, service report delivery and service unsubscription.
+
+## **Procedure 6: Connect with related supporting system**
+
+Design and test the interface between the security service and operator's related support system, e.g., operation support system, business support system, customer service centre, and connect the security service with the related support system.
+
+## **Procedure 7: Security mechanisms deployment**
+
+The security mechanisms could be the basic building blocks for stakeholder selection, based on the functions of the security services; relevant stakeholders deploy security mechanisms. The relationship of the security mechanisms can be seen in Table 4, since the security service provided by the operators may have been customized and may have continuously evolved, the security mechanisms need case-by-case analysis and selection.
+
+## **Procedure 8: Deliver the security service to the customer.**
+
+The operator delivers and offers the security service to the customer.
+
+# Bibliography
+
+- [b-ITU-T X.800] Recommendation ITU-T X.800 (1991), *Security architecture for Open Systems Interconnection for CCITT applications.*
+- [b-ITU-T X.811] Recommendation ITU-T X.811 (1995), *Information technology – Open Systems Interconnection – Security frameworks for open systems: Authentication framework.*
+- [b-ITU-T X.812] Recommendation ITU-T X.812 (1995), *Information technology – Open Systems Interconnection – Security frameworks for open systems: Access control framework.*
+- [b-ITU-T X.813] Recommendation ITU-T X.813 (1996), *Information technology – Open Systems Interconnection – Security frameworks for open systems: Non-repudiation framework.*
+- [b-ITU-T X.814] Recommendation ITU-T X.814 (1995), *Information technology – Open Systems Interconnection – Security frameworks for open systems: Confidentiality framework.*
+- [b-ITU-T X.815] Recommendation ITU-T X.815 (1995), *Information technology – Open Systems Interconnection – Security frameworks for open systems: Integrity framework.*
+- [b-ITU-T X.816] Recommendation ITU-T X.816 (1995), *Information technology – Open Systems Interconnection – Security frameworks for open systems: Security audit and alarms framework.*
+
+
+
+
+
+# SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.146-200010-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.146-200010-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ab2cbdd4af6bc1ea9ffa8cca87f9d455eb147008
--- /dev/null
+++ b/marked/X/T-REC-X.146-200010-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:94ee226724314e8b36ac3c73e99f9ed2a4fbb4786e0c7f3f43c1debd5966aa00
+size 8239
diff --git a/marked/X/T-REC-X.146-200010-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg b/marked/X/T-REC-X.146-200010-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2b71c8a2e5800ceca2add737400ee401b52186a1
--- /dev/null
+++ b/marked/X/T-REC-X.146-200010-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d1d0cd9a6722a1e34f8ca7539366a7c18d703e0c586911560cb3a8506d26d242
+size 92533
diff --git a/marked/X/T-REC-X.146-200010-I_PDF-E/f4d72193f77f6646a2a1f4baaa927154_img.jpg b/marked/X/T-REC-X.146-200010-I_PDF-E/f4d72193f77f6646a2a1f4baaa927154_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f79ea0522e132f499c7267b07d3df0eefd1c7498
--- /dev/null
+++ b/marked/X/T-REC-X.146-200010-I_PDF-E/f4d72193f77f6646a2a1f4baaa927154_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:01787d7e4b7351b116690dd6cdfc99d34d53f3f25f70fe4c1d5c9d280b0c5b35
+size 41808
diff --git a/marked/X/T-REC-X.146-200010-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg b/marked/X/T-REC-X.146-200010-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a322b2aa22455bd1384116fc6c492eef16492c87
--- /dev/null
+++ b/marked/X/T-REC-X.146-200010-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0e2a9d9ba91ae7ae989c217cd348b111b5509607c1a3d45f3602193e57de251f
+size 127003
diff --git a/marked/X/T-REC-X.146-200010-I_PDF-E/raw.md b/marked/X/T-REC-X.146-200010-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..f32b9c707168df9e02809ed836e9d88159230c8f
--- /dev/null
+++ b/marked/X/T-REC-X.146-200010-I_PDF-E/raw.md
@@ -0,0 +1,555 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.146
+
+(10/2000)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS
+
+Public data networks – Network aspects
+
+# --- **Performance objectives and quality of service classes applicable to frame relay**
+
+ITU-T Recommendation X.146
+
+(Formerly CCITT Recommendation)
+
+---
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS
+
+| | |
+|-----------------------------------------------|-------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# **Performance objectives and quality of service classes applicable to frame relay**
+
+## **Summary**
+
+This Recommendation defines the reference model, national/international apportion model, frame relay service classes and their associated delay and loss objectives, applicable to networks providing frame relay PVC or SVC service and supporting frame relay service classes.
+
+###### **Source**
+
+ITU-T Recommendation X.146 was revised by ITU-T Study Group 7 (1997-2000) and approved by the World Telecommunication Standardization Assembly (Montreal, September 27 – October 6 2000).
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2001
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from ITU.
+
+## CONTENTS
+
+| | | Page |
+|-----|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|
+| 1 | Scope..... | 1 |
+| 2 | References..... | 3 |
+| 3 | Abbreviations..... | 3 |
+| 4 | Reference model ..... | 4 |
+| 5 | Network performance objectives and frame relay quality of service classes..... | 5 |
+| 5.1 | Nature of the network performance objectives ..... | 6 |
+| 5.2 | Statistical estimation of network performance ..... | 6 |
+| 5.3 | Unspecified performance ..... | 7 |
+| 5.4 | Standardized Frame Size for FTD performance measurement..... | 7 |
+| 5.5 | Frame relay service classes ..... | 7 |
+| 6 | Service class allocation methods ..... | 8 |
+| 6.1 | Route length calculation ..... | 8 |
+| 6.2 | Access circuit section allocations ..... | 8 |
+| 6.3 | Frame delay allocations to national and international portions ..... | 9 |
+| 6.4 | Frame loss allocations to national and international portions..... | 10 |
+| | Appendix I – Illustration of the weighted distribution concept for X.146 with possible application to frame relay SVC connections and measurement methods to estimate the 95th percentile of FTD ..... | 10 |
+| I.1 | Weighted distributions and SVC performance estimation..... | 10 |
+| I.2 | Methods to estimate the 95th percentile of FTD ..... | 12 |
+| | Appendix II – Effect of transmission delay and frame size on FTD..... | 13 |
+
+# ITU-T Recommendation X.146
+
+# Performance objectives and quality of service classes applicable to frame relay
+
+# 1 Scope
+
+The purpose of this Recommendation is to define frame relay service classes with their associated delay and loss parameters, together with allocations to national and international portions applicable to international frame relay services in accordance with ITU-T Recommendations identified herein. This Recommendation defines frame relay service classes that may be used to describe the information transfer phase of data networks when providing international frame relay service (either permanent virtual connection service or switched virtual connection service). Two frame relay performance parameters of ITU-T X.144 – frame transfer delay and committed frame loss ratio – are used to characterize the various frame relay service classes. This Recommendation applies only to those networks supporting the service class options of X.36 and X.76. Signalling and service class interworking issues are covered in ITU-T X.36 and X.76.
+
+The $3 \times 3$ performance matrix defined in ITU-T X.134 (see Figure 1) is used as a guide to identify the applicability of this Recommendation. As mentioned above, this Recommendation applies to the information transfer phase of a frame relay virtual connection.
+
+The parameters defined in this Recommendation may be allocated to specify the performance of end-to-end frame relay connections or connection portions as specified in ITU-T X.144.
+
+The frame relay service classes defined in this Recommendation describe specific design objectives for the information transfer phase of the national and international portions of an international virtual connection. In the context of this Recommendation, the term "service class" is equivalent to the terms "quality of service class" or "QoS class" as used in ITU-T I.356.
+
+NOTE 1 – The service classes defined in this Recommendation may be augmented or modified based upon further study of the requirements of frame relay to be supported on networks.
+
+NOTE 2 – The defined service classes are intended to characterize frame relay connections in the available state.
+
+This Recommendation is organized as follows:
+
+- clause 2 presents references;
+- clause 3 presents abbreviations;
+- clause 4 reviews the performance model of ITU-T X.144 and its national and international portions that provide the basis for the allocations given in clause 5;
+- clause 5 defines frame relay service classes applicable to the user information transfer phase of a frame relay virtual connection, based primarily on the two performance parameters of frame transfer delay (FTD) and committed frame loss ratio (FLRc );
+- clause 6 defines allocations of the service classes defined in clause 5 to the national and international portions described in clause 4.
+
+
+
+The diagram illustrates the scope of ITU-T X.146, showing the relationship between network and circuit sections, frame transfer reference events, and the criteria for service availability.
+
+**Network section:** A DSE (Frame relay network) is connected to two Physical interfaces. The Physical interfaces are connected to DTE or DSE.
+
+**Circuit section:** A DTE or DSE is connected to two Physical interfaces. The Physical interfaces are connected to DTE or DSE.
+
+**Frame transfer reference events:** A box labeled X.144 is shown below the network and circuit sections, with arrows indicating its relationship to the Physical interfaces.
+
+| Function \ Criterion | Speed | Accuracy | Dependability |
+|--------------------------------|-----------------|----------|---------------|
+| Access (call set-up) | X.145 | | |
+| User information transfer | X.144 and X.146 | | |
+| Disengagement (call tear-down) | X.145 | | |
+
+**Availability:** A box labeled X.144 and X.145 is shown below the table, with arrows indicating its relationship to the Service available (no outage) and Service available (outage) states.
+
+T0732420-99
+
+Diagram illustrating the scope of ITU-T X.146, showing network and circuit sections, frame transfer reference events, and a table of criteria for service availability.
+
+**Figure 1/X.146 – Scope of this Recommendation**
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of currently valid ITU-T Recommendations is regularly published.
+
+- ITU-T G.114 (2000), *One-way transmission time*.
+- ITU-T X.36 (2000), *Interface Between Data Terminal Equipment (DTE) and Data Circuit-Terminating Equipment (DCE) for public data networks providing frame relay data transmission service by dedicated circuit*.
+- ITU-T X.76 (2000), *Network-to-network interface between public networks providing PVC and/or SVC frame relay data transmission service*.
+- ITU-T X.140 (1992), *General quality of service parameters for communication via public data networks*.
+- ITU-T X.144 (2000), *User information transfer performance parameters for data networks providing international frame relay PVC service*.
+- ITU-T X.145 (1996), *Performance for data networks providing international frame relay SVC service*.
+
+# 3 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-----------------|-------------------------------------------------|
+| AR | Access line Rate for the access circuit section |
+| CPE | Customer Premises Equipment |
+| DCE | Data Circuit-terminating Equipment |
+| $D_{\text{km}}$ | Air route distance |
+| DSE | Data Switching Equipment |
+| DTE | Data Terminal Equipment |
+| FDJ | Frame Delay Jitter |
+| $\text{FLR}_c$ | Committed frame loss ratio |
+| FTD | Frame Transfer Delay |
+| $\text{FTD}_a$ | Access circuit section frame transfer delay |
+| $\text{FTD}_I$ | International portion frame transfer delay |
+| $\text{FTD}_N$ | National portion frame transfer delay |
+| $\text{FTD}_O$ | Edge-to-edge frame transfer delay objective |
+| NNI | Network-to-Network Interface |
+| PVC | Permanent Virtual Connection |
+| QoS | Quality of Service |
+| $R_a$ | Access circuit section route length |
+
+| | |
+|----------|-------------------------------------------|
+| $R_I$ | Route length of the international portion |
+| $R_{km}$ | Route length |
+| SVC | Switched Virtual Connection |
+| UNI | User-to-Network Interface |
+
+# 4 Reference model
+
+The performance model for this Recommendation is that of ITU-T X.144 (as presented in clause 4/X.144). For completeness, this performance model is illustrated by Figure 2. The national and international portions of this frame relay performance model are those used in clause 6.
+
+
+
+Figure 2/X.146 illustrates the reference model for the apportionment of national and international portions of a multiple-network international virtual connection. The diagram shows a sequence of network sections between two DTE (Data Terminal Equipment) blocks. The sections are: Access circuit section, Access network section, Inter-network circuit section, Transit network section, Inter-network circuit section, Transit network section, Inter-network circuit section, Transit network section, Inter-network circuit section, Access network section, and Access circuit section. The diagram is divided into three main portions: National portion (left), International portion (middle), and National portion (right). The International portion consists of the central Inter-network circuit section, Transit network section, and Inter-network circuit section. The National portions consist of the Access circuit section, Access network section, and the final Inter-network circuit section, Transit network section, and Inter-network circuit section. The diagram also shows the International virtual connection (end-to-end) and International virtual connection (edge-to-edge). The legend indicates that a double vertical line represents a Portion boundary and a single vertical line represents a Section boundary.
+
+Figure 2/X.146 – Reference model for the apportionment of national and international portions of a multiple-network international virtual connection. The diagram shows a sequence of network sections between two DTE (Data Terminal Equipment) blocks. The sections are: Access circuit section, Access network section, Inter-network circuit section, Transit network section, Inter-network circuit section, Transit network section, Inter-network circuit section, Transit network section, Inter-network circuit section, Access network section, and Access circuit section. The diagram is divided into three main portions: National portion (left), International portion (middle), and National portion (right). The International portion consists of the central Inter-network circuit section, Transit network section, and Inter-network circuit section. The National portions consist of the Access circuit section, Access network section, and the final Inter-network circuit section, Transit network section, and Inter-network circuit section. The diagram also shows the International virtual connection (end-to-end) and International virtual connection (edge-to-edge).
+
+**Figure 2/X.146 – Reference model for the apportionment of national and international portions of a multiple-network international virtual connection**
+
+Note that an end-to-end international virtual connection consists of two national portions and one international portion. In certain cases, the international portion could consist solely of an internetwork circuit section. In this Recommendation, the term edge-to-edge denotes the performance of the end-to-end connection excluding the two access circuit sections. This model applies to the information transfer phase of a frame relay connection, and is applicable to either a switched virtual connection (SVC) or a permanent virtual connection (PVC).
+
+The Data Terminal Equipment (DTE) is not part of the end-to-end international virtual connection; hence, its contribution to the user experience is not considered in this Recommendation. Private frame relay networks are considered as DTE, and thus neither is their performance contribution considered in this Recommendation. The subject of quantifying the degree to which a private frame relay network contributes to the overall user experience is a subject for further study.
+
+# 5 Network performance objectives and frame relay quality of service classes
+
+This clause discusses the general nature of per-connection frame relay network performance objectives and the specific quality of service (QoS) classes of Table 1 through which they are supported. Issues of estimating these network objectives are also discussed, as is the weighting referred to in Table 1.
+
+With respect to the frame relay QoS classes in Table 1, the user has the option of requesting a different QoS class for each new SVC or PVC. While three of the four QoS classes in Table 1 have numeric objectives for both FLRc and FTD, there is one class (class 0) for which no objectives are specified. Class 0 is therefore sometimes referred to as the unspecified class.
+
+**Table 1/X.146 – Frame relay service classes**
+
+| Class | Network support | FLR c | FTD (ms) | FDJ (ms) |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------|----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
+| 0 | Mandatory, default class | No upper bound specified on FLR c . But FLR c will have a practical upper bound and will not be arbitrarily bad. | No upper bound specified on FTD. But delay will have a practical upper bound and will not be arbitrarily large. | Not Applicable |
+| 1 | Mandatory | Value $< 1 \times 10^{-3}$ , and 95th percentile of weighted 15-minute values $< 3 \times 10^{-3}$ . | 95th percentile $< 400$ ms. | 95th percentile $< 52$ ms (see Notes 9, 11 and 12) |
+| 2 | Optional | Value $< 3 \times 10^{-5}$ , and 95th percentile of weighted 15 minute values $< 1 \times 10^{-4}$ . | 95th percentile $< 400$ ms. | 95th percentile $< 17$ ms (see Notes 10, 11 and 13) |
+| 3 | Optional | Value $< 3 \times 10^{-5}$ , and 95th percentile of weighted 15-minute values $< 1 \times 10^{-4}$ . | 95th percentile $< 150$ ms (see Note 6). | 95th percentile $< 17$ ms (see Notes 10, 11 and 13) |
+| NOTE 1 – All values are provisional and they need not be met by networks until they are revised (up or down) based on real operational experience.
NOTE 2 – The FTD objectives apply edge-to-edge.
NOTE 3 – Basic frame relay service guarantees apply to all service level classes (i.e. minimum service availability requirements).
NOTE 4 – For FTD performance, all service classes apply to frames of size 256 (i.e. to frames with user information fields of 256 octets). If frames of size 128 are used to estimate compliance with these objectives, then the following tighter 95th percentile objectives for FTD should be used; 380 ms for classes 1 and 2, and 130 ms for class 3.
NOTE 5 – Classes 2 and 3 may be characterized by service availability levels higher than those of basic frame relay service.
NOTE 6 – In the case of service class 3, if the international portion route length exceeds 9300 km, an allowance of 6.25 ms per 1000 km of route length is allocated to the international portion.
NOTE 7 – For frame relay PVC connections, a one-month interval should be used to evaluate the FLRc objective.
| | | | |
+
+**Table 1/X.146 – Frame relay service classes (*concluded*)**
+
+NOTE 8 – Methods for estimating network performance for frame relay SVCs is for further study. See Appendix I.
+
+NOTE 9 – The FDJ allocated for the national portion of class 1 service is 30 ms.
+The FDJ allocated for the international portion of class 1 service is 30 ms.
+
+NOTE 10 – The FDJ allocated for the national portion of a class 2 and class 3 service is 10 ms.
+The FDJ allocated for the international portion of a class 2 and class 3 service is 10 ms.
+
+NOTE 11 – The allocated FDJs sum to more than the end-to-end FDJ because FDJ accumulates similarly to the standard deviation of roughly independent random variables. When independently random variables are summed, the resulting standard deviation is roughly the square root of the sum of the squares.
+
+NOTE 12 – Certain applications, e.g., voice, need a FDJ requirement and therefore such a requirement is included in Class 1. However, it is recognized that there are other applications that could use class 1, e.g. file transfer, that do not need a FDJ requirement.
+
+NOTE 13 – Since the inclusion of a satellite does not impact on the end-to-end jitter, class 2 and class 3 FDJ requirements are the same.
+
+## **5.1 Nature of the network performance objectives**
+
+FLRc objectives are expressed as upper bounds on the mean and 95th percentile of weighted 15-minute averages. These FLRc objectives apply to all offered frame relay frames within the CIR (regardless of size). FTD objectives are expressed as an upper bound on the 95th percentile of FTD. These objectives do not include the performance of DTEs or private networks. The performance of private networks and DTEs is a subject for further study.
+
+## **5.2 Statistical estimation of network performance**
+
+Estimation of performance to assess compliance with the FLRc and FTD 95th percentile objectives can be accomplished through either continuous monitoring or via statistical estimation. Any statistically valid method for verifying that these network objectives have been met is acceptable. Such a method could be sampling a fifteen-minute interval every three hours and producing weighted estimates – as long as this method produces unbiased estimates of either FLRc or FTD.
+
+Among others, the following points should be covered:
+
+- aggregation period, the period of time over which the objective value is finally computed (default is one month);
+
+and, if continuous monitoring is not used, use a sampling policy that:
+
+- Determines the frequency of the measurement interval;
+- Determines the duration of the measurement interval (time or number of frames);
+- For each measurement interval, compute the relevant statistics (e.g. average or ratio, 95th percentile);
+- Compute corresponding weighted statistics based on number of frames (offered for FLRc and delivered for FTD) if needed.
+
+For example, to estimate $FLR_c$ , a 15-minute interval (interval A with an $FLR_c$ of 1%) in which 400 frames were offered to the network should receive four times the weight of a 15-minute interval (interval B with an $FLR_c$ of 2%) in which 100 frames were offered. This would produce a weighted average $FLR_c$ of $\{(400/500) \times 1\% \} + \{(100/500) \times 2\% \} = 1.2\%$ .
+
+When estimating the 95th percentile of the 15-minute values of $FLR_c$ , the 15-minute values should be weighted by the number of offered frames. For estimating the 95th percentile of FTD, all observations of FTD should be considered.
+
+When performing any statistical estimation, a sufficiently large sample (to ensure statistical validity) must be present. In the case of SVC-connections, sometimes either the number of frames or duration of time may be less than sufficient to compute valid statistics to determine network compliance with the stated frame relay QoS classes. Should this occur, collections of like SVCs may be aggregated to obtain a sufficiently large sample to allow the statistically valid determination of the extent to which a network is meeting its QoS obligations. Examples of collections of like SVC connections include those between the same pair of end users, or those between the same called and calling party numbers. When such aggregation of SVCs occurs, isolated instances of failure to meet QoS objectives on individual SVCs that have an insufficient number of frames cannot by themselves be taken as proof that the network has failed in its obligations – only an analysis of the entire aggregate collection of data can make that determination.
+
+Although the precision of any statistical estimate should be reported with the estimate itself, the specification of the precision of statistical estimates of $FLR_c$ or FTD is for further study.
+
+## **5.3 Unspecified performance**
+
+Despite not having any numeric network objectives set in class 0, there is no implication that the performance of a connection supporting QoS class 0 will be arbitrarily poor, some operational bounds on performance will exist even in this case. Indeed, some network operators may unilaterally elect to support a minimal level of $FLR_c$ or FTD even for connections supported by class 0.
+
+## **5.4 Standardized Frame Size for FTD performance measurement**
+
+Clocking delay of both access circuit sections and inter-network circuit sections can be a significant component of the end-to-end frame transfer delay, in particular if large frames or low-speed circuit sections are in place.
+
+A standardized frame size (length of information field in frame relay frame) of 256 octets is to be used for making FTD performance measurements. This ensures that the clocking delay component is not significant and that the clocking delay contribution is not variable between different performance measurement implementations.
+
+NOTE – It is recognized that FTD performance measurements might be made using a frame size of 128 octets, in which case the objective values are modified accordingly (see Note 4 of Table 1).
+
+## **5.5 Frame relay service classes**
+
+Table 1 specifies four frame relay service classes. For each QoS class these three items are specified. First, the level of network support, either mandatory or optional, is specified. Next, the committed frame loss ratio, $FLR_c$ , if applicable, and its mean value and 95%-tiles. Finally, the requirements on the frame transfer delay and frame delay jitter, FTD and FDJ (both in milliseconds), is given for each QoS class. These frame relay QoS classes apply to both frame relay PVC and frame relay SVC. User signalling of frame relay service class at a UNI is contained in ITU-T X.36. Signalling of frame relay service class at the NNI is contained in ITU-T X.76.
+
+The notations of mandatory, default class, and optional in the network support column have the following interpretations. Any network supporting these frame relay service classes must support both class 0 and class 1. Class 0 corresponds to current frame relay implementations and is thus denoted as the default class. Use of the default service class is defined in ITU-T X.36 and X.76. Lastly, networks supporting these frame relay service classes may, at their discretion, elect to support the optional classes 2 or 3. Users selecting class 2 or class 3 may be subject to additional restrictions of the service provider not explicitly mentioned in this Recommendation.
+
+# **6 Service class allocation methods**
+
+This clause defines methods for allocating the performance specified in the QoS classes of clause 5 to the national and international portions of clause 4. As the objectives in the QoS classes in clause 5 exclude the performance of the access circuit section, this aspect is discussed first in 6.2 after the introduction of route length in 6.1. Subsequently, 6.3 and 6.4 discuss the means by which the QoS class objectives of clause 5 for FTD and $FLR_c$ , respectively, are to be allocated to national and international portions. Clause 6.3 also contains the end-to-end formula for FTD.
+
+When allocating frame transfer delay on an edge-to-edge basis, a percentage allocation (modified when a satellite is present) is utilized. The effects of both "complexity" and "distance" when allocating FTD are for further study. The term "complexity" denotes network effects that increase delay as more switching and queuing stages are encountered. By "distance" is meant those networks effects not directly related to additional switching or queuing. These are typically less controllable, and route length estimates and allocations are used for these effects.
+
+It should be noted that as the levels of the various $FLR_c$ objectives in the frame relay QoS classes are in the range of $10^{-5}$ to $3 \cdot 10^{-3}$ , the major effect on $FLR_c$ is due to buffer management (i.e. complexity). Thus, route length is not used as a factor in the allocation of $FLR_c$ .
+
+It is not anticipated that there will be more than one geostationary (or high orbit) satellite in a particular frame relay virtual connection. The presence of a geostationary or high orbit satellite is anticipated to reduce the number of switching nodes encountered by a virtual connection. However, the presence of more than one geostationary (or high orbit) satellite will cause the end-to-end objective for FTD to be exceeded, for all defined service classes except for the default class 0.
+
+Performance allocations for multiple geostationary or high orbit satellites are for further study. Refinements to these allocations that reflect variations in connection segment length and/or complexity among national portions are for further study. Also for further study are performance allocations for portions containing low or medium orbit satellites.
+
+## **6.1 Route length calculation**
+
+Route length ( $R_{km}$ ) is used in place of "distance" in allocating some of the FTD performance objectives. If $D_{km}$ is the air-route distance between the portion boundaries, then the route length is calculated as follows (this is the same calculation as found in ITU-T G.826):
+
+- if $D_{km} < 1000$ km, then $R_{km} = 1.5 \times D_{km}$ ;
+- if $1000 \text{ km} \leq D_{km} \leq 1200$ km, then $R_{km} = 1500$ km;
+- if $D_{km} > 1200$ km, then $R_{km} = 1.25 \times D_{km}$ .
+
+This rule does not apply if there is a satellite in the portion.
+
+## **6.2 Access circuit section allocations**
+
+An access circuit section is part of a national portion.
+
+As noted above, the major contribution to FLRc performance is complexity. The apportionment of the national portion FLRc allocation to the access circuit section is a national matter. Hence, this Recommendation makes no allocation to the access circuit section for FLRc .
+
+For FTD, the contribution of the access circuit section could be significant, depending on both its length and its nominal access line rate. The following formula quantifies the access circuit section's contribution to FTD.
+
+The following notation is used:
+
+- AR stands for the access line rate of the access circuit section in bits per second;
+- FTDa is the respective contribution of an access circuit section to the end-to-end frame transfer delay in milliseconds;
+- Ra stands for the calculated route length of the access circuit section in kilometres.
+
+The multiplier of 0.005 ms/km comes from Table A.1/G.114, and allows for delay in repeaters and regenerators. Additionally, a frame size of 256 octets, with 5 octets of overhead (a two-octet address field, a 16-bit cyclic redundancy check, and one flag) and 40 insertion bits for transparency is assumed.
+
+The FTD associated with an access circuit section is:
+
+$$\text{FTD}_{a \text{ ms}} = \frac{(256 \times 8 + 5 \times 8 + 40) \text{ bits}}{(AR/1000) \text{ bit} \cdot \text{s}^{-1}} + R_a \text{ km} \times 0.005 \text{ ms} \cdot \text{km}^{-1}$$
+
+## 6.3 Frame delay allocations to national and international portions
+
+For the allocation of FTD to national and international portions, the following formulas are used when no satellite is present. For the national portion, the route length, Rkm , excludes the length of the access circuit section.
+
+The following notation is used:
+
+- FTDN is the FTD of the national portion:
+The FTDN is applicable to international virtual connections only. FTD for national virtual connections is outside the scope of this Recommendation.
+- FTDI is the FTD of the international portion;
+- FTDO is the FTD edge-to-edge objective from Table 1;
+- FTDa is the FTD of the access circuit section associated with the national portion;
+- RI is the calculated route length of the international portion.
+
+The formula for end-to-end FTD (in milliseconds) of the national portion is:
+
+$$\text{FTD}_N = \text{FTD}_a + 0.345 \times \text{FTD}_O$$
+
+The formula for FTD (in milliseconds) of the international portion is:
+
+$$\text{FTD}_I = 0.31 \times \text{FTD}_O, \text{ when } R_I \text{ is less than } 9300 \text{ km}$$
+
+$$\text{FTD}_I = 0.00625 \times R_I, \text{ when } R_I \text{ is at least } 9300 \text{ km}$$
+
+NOTE – 0.345 and 0.31 are the allocation factors defined in 6.4.
+
+If a satellite is present in any portion, that portion is allocated a fixed FTD of 320 milliseconds. The value of 320 milliseconds takes into account factors such as low earth station viewing angles, and forward error correction encoding. Most portions that contain a satellite are not expected to exceed
+
+290 milliseconds of delay. In the case of a satellite in one of the three portions, the remaining two portions are allocated 40 ms of delay each for their FTD objective.
+
+## **6.4 Frame loss allocations to national and international portions**
+
+This clause provides allocations of the $FLR_c$ objectives. As noted above, this allocation does not use the route length of a portion due to the levels of the $FLR_c$ objectives. Since national portions often have somewhat more complexity than international portions, this allocation slightly favours national portions. The allocation is as follows:
+
+- For a national portion, take 34.5% of the objective in Table 1.
+- For an international portion, take 31% of the objective in Table 1.
+
+These rules apply regardless of the presence or absence of a satellite in the portion.
+
+The allocation is applicable to international virtual connections only. $FLR_c$ for national virtual connections is outside the scope of this Recommendation.
+
+# **APPENDIX I**
+
+## **Illustration of the weighted distribution concept for X.146 with possible application to frame relay SVC connections and measurement methods to estimate the 95th percentile of FTD**
+
+### **I.1 Weighted distributions and SVC performance estimation**
+
+Various questions arise when examining the possible means by which the design objectives in Table 1 could be applied to frame relay SVC connections:
+
+- 1) Do the objectives of Table 1 really apply to all frame relay SVC connections regardless of the number of offered frames or time duration?
+- 2) Will the objectives apply only to SVC connections with some minimal duration or number of offered frames?
+- 3) How can frame relay SVC connections with different numbers of offered frames and durations be used in estimating the network design objectives?
+- 4) Will the same methodology that is used for frame relay SVC connections also be applicable to PVC connections?
+- 5) How can both PVC and SVC connections be used to estimate the $FLR_c$ and FTD objectives in Table 1?
+
+In order to answer the above questions with respect to $FLR_c$ , this appendix presents a methodology for describing a weighted distribution of $FLR_c$ applicable to both PVCs and SVCs. Both long- and short-time duration Frame Relay connections are amenable to this methodology.
+
+Key to this methodology is the notion of a basic time duration, $\tau$ . The basic time durations can correspond to individual short calls (e.g. SVCs) or to portions of longer calls (e.g. portions of PVCs). Based on the observations of $FLR_c$ over both time intervals of a basic time duration, and intervals of time less than the basic time duration, a weighted distribution of $FLR_c$ is defined. The definition of the weighted distribution given here does not require that the same number of frames be sent in each time interval. Various statistics of the distribution (e.g. mean, variance, quantile) are easily obtained.
+
+Let there be $M$ time intervals, and let the duration of the $j$ th interval be $T_j$ . $T_j$ is defined as follows:
+
+- 1) If the duration of a connection is less than or equal to $\tau$ , set $T_j$ equal to $\tau$ .
+- 2) If the duration of a connection is greater than $\tau$ , break the connection into a number of intervals of length $\tau$ and a final interval whose duration is less than or equal to $\tau$ .
+
+As an example, setting $\tau$ equal to 15 minutes means that connections longer than 15 minutes will be divided into 15-minute intervals, and connections shorter than 15 minutes will not be divided.
+
+Next, define the following quantities:
+
+$N_j$ = number of frames sent during interval $j$ ;
+
+$n_j$ = number of frames lost during interval $j$ ;
+
+$p_j = n_j/N_j$ = FLR for interval $j$ ;
+
+$N = \sum_{j=1}^M N_j$ = total number of frames sent during all $M$ time intervals;
+
+$w_j = MN_j/N$ = weight for interval $j$ .
+
+The weights $w_j$ are defined to handle the case where a different number of frames is sent during each interval $j$ . Note that the weights are normalized to $M$ , i.e.:
+
+$$\sum_{j=1}^M w_j = M$$
+
+In addition, in the case where all the $N_j$ are equal, i.e. the same number of frames is sent in each interval, the $w_j$ are all equal to 1 (and they sum to $M$ ).
+
+Using the above, a distribution for FLR (the $p_j$ ) can be defined as follows. Note that FLR is a number between 0 and 1, and divide the interval $[0,1]$ into $K$ bins for FLR. The boundaries for these bins are defined by quantities $P_k$ .
+
+$$P_0 \leq P_1 \leq P_2 \leq \dots \leq P_K$$
+
+The $j$ th bin is given by the interval $[P_{j-1}, P_j]$ . Note that number of bins and the $P_j$ are chosen to correspond to the granularity for which FLR estimates are desired.
+
+The total weight for all the intervals whose FLR falls in bin $k$ is given by:
+
+$$w_k = \sum_{j: P_{k-1} \leq p_j \leq P_k} w_j$$
+
+i.e. for bin $k$ , the weights for all the intervals whose FLR falls within the bin (i.e. is between $P_{k-1}$ and $P_k$ ) are summed. Using these weights, a histogram (FLR distribution) may be plotted with FLR bin on the horizontal axis and total weight for the bin ( $w_k$ ) on the vertical axis. Figure I.1 illustrates such a distribution.
+
+Once the distribution of FLR is defined, statistics may be defined in the usual way. For example, the mean $\mu$ and variance $\sigma^2$ are given by:
+
+$$\mu = \frac{1}{M} \sum_{j=1}^M w_j p_j \quad \text{and} \quad \sigma^2 = \left[ \frac{1}{M} \sum_{j=1}^M w_j p_j^2 \right] - \mu^2$$
+
+An estimate of the $\alpha$ -quantile may be obtained as the value $p$ such that the cumulative distribution between 0 and $p$ (i.e. the area under the histogram between 0 and $p$ ) is equal to $\alpha M$ (note that the factor of $M$ is present because the weights are normalized to $M$ rather than 1). Note that, in practice, the $\alpha$ quantile would be determined to the granularity of one bin $[P_{k-1}, P_k]$ , with the area up to $P_{k-1}$ being less than or equal to $\alpha M$ and the area up to $P_k$ being greater than or equal to $\alpha M$ .
+
+Finally, note that when the mean and variance above are obtained from measurement data, they are point estimates of the true mean and variance; the question of statistical confidence (and associated confidence intervals) is not addressed here. In addition, the $\alpha$ -quantile is an interval estimate, though the degree of statistical confidence is not addressed.
+
+
+
+$w_k = \sum w_j$
+ $j: P_{k-1} \leq P_j \leq P_k$
+
+...
+
+...
+
+T0732430-99
+
+Figure I.1/X.146: A graph showing the cumulative distribution function (CDF) of Frame Loss Ratio (p). The x-axis is labeled 'Frame Loss Ratio (p)' and has tick marks at P0, P1, P2, P3, ..., Pk-1, Pk, ..., Pk-1, Pk. The y-axis is labeled 'Weight (w)' and has a tick mark at wk. A smooth curve represents the CDF, and a step function represents the histogram. The area under the histogram up to Pk-1 is less than or equal to alpha\*M, and the area up to Pk is greater than or equal to alpha\*M. The formula wk = sum wj for j: Pk-1 <= Pj <= Pk is shown.
+
+**Figure I.1/X.146**
+
+### I.2 Methods to estimate the 95th percentile of FTD
+
+One method to estimate the 95th percentile value is to sample the FTD with a sufficiently large number of measures, and compute the 95th percentile from all the measures of FTD in the sample. This estimate of the 95th percentile would then be compared to the objective in Table 1 for the 95th percentile of FTD.
+
+Another way is to verify that no more than 5% of the measures are above the target threshold. When this method is used, the actual ratio above the predetermined threshold (be it 1% or 4%) and its evolution provide useful information on how good or bad the service is and will be.
+
+From a pure performance perspective, the two methods are equivalent, but from an implementation point of view, one requires that all the measures be captured, while the other requires that only in the order of 5% of the measurements be captured.
+
+# APPENDIX II
+
+## Effect of transmission delay and frame size on FTD
+
+This appendix presents information to illustrate the effects which the choice of frame size and transmission trunk speed have on FTD performance. These effects occur in both the access circuit section, and also in the inter-node trunk transmission link.
+
+Clocking delays of inter-node trunk transmission link clearly contribute towards the end-to-end frame transfer delay. Although it is a small component for frame sizes below 512 octets, this component can become more significant for larger frame sizes and low speed transmission links. This can be seen by observing the clocking delay components calculated for various transmission speeds, as shown in Table II.1 below.
+
+**Table II.1/X.146 – Clocking delay for various transmission rates and frame sizes**
+
+| Transmission speeds | Frame size (FR information field) | | | | | |
+|-----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------|-----------|-----------|-----------|------------|------------|
+| | 64 bytes | 128 bytes | 256 bytes | 512 bytes | 1024 bytes | 2048 bytes |
+| 64 kbit/s | 8 ms | 16 ms | 32 ms | 64 ms | 128 ms | 256 ms |
+| 128 kbit/s | 4 ms | 8 ms | 16 ms | 32 ms | 64 ms | 128 ms |
+| 256 kbit/s | 2 ms | 4 ms | 8 ms | 16 ms | 32 ms | 64 ms |
+| 512 kbit/s | 1 ms | 2 ms | 4 ms | 8 ms | 16 ms | 32 ms |
+| 1 024 kbit/s | 0.5 ms | 1 ms | 2 ms | 4 ms | 8 ms | 16 ms |
+| 1 544 kbit/s | 0.35 ms | 0.68 ms | 1.35 ms | 2.67 ms | 5.3 ms | 10.6 ms |
+| 2 048 kbit/s | 0.25 ms | 0.5 ms | 1 ms | 2 ms | 4 ms | 8 ms |
+| 34 368 kbit/s | 16 µs | 31 µs | 61 µs | 120 µs | 240 µs | 480 µs |
+| 44 736 kbit/s | 12 µs | 24 µs | 46 µs | 92 µs | 184 µs | 367 µs |
+| 155 520 kbit/s | 3.5 µs | 7 µs | 13 µs | 27 µs | 53 µs | 106 µs |
+| NOTE – The frame size refers to the size of the FR information field. Also a 2-byte FR header size plus a 2-byte FCS are assumed. | | | | | | |
+
+Consider a national network which has a geographic span of 4000 km, consisting of 8 switching stages and inter-trunk transmission speeds of 2 Mbit/s. Each switch contributes 1 ms of queuing delay.
+
+- For a 512-octet test frame, each trunk will contribute a clocking delay of 2 ms (see Table II.1). The total FTD is calculated as $8 \times 1 \text{ ms} + 4000 \text{ km} \times 0.005 + 8 \times 2 \text{ ms} = 44 \text{ ms}$ . This network meets the national portion FTD objective allocation of 51.75 ms for class 3 FR services.
+- For a 256-octet test frame, each trunk will contribute a clocking delay of 1 ms (see Table II.1). The total FTD is calculated as $8 \times 1 \text{ ms} + 4000 \text{ km} \times 0.005 + 8 \times 1 \text{ ms} = 36 \text{ ms}$ . This network meets the national portion FTD objective allocation of 51.75 ms for class 3 FR services.
+
+Now consider a national network which has a geographic span of 4000 km, consisting of 8 switching stages but whose inter-trunk transmission speed is 1.544 Mbit/s. Each switch contributes 1 ms of queuing delay.
+
+- For a 512-octet test frame, each trunk will contribute a clocking delay of 2.67 ms (see Table II.1). The total FTD is calculated as $8 \times 1 \text{ ms} + 4000 \text{ km} \times 0.005 + 8 \times 2.67 \text{ ms} = 50.36 \text{ ms}$ . This network meets the national portion FTD objective allocation of 51.75 ms for class 3 FR services.
+- For a 256-octet test frame, each trunk will contribute a clocking delay of 1.35 ms (see Table II.1). The total FTD is calculated as $8 \times 1 \text{ ms} + 4000 \text{ km} \times 0.005 + 8 \times 1.35 \text{ ms} = 38.8 \text{ ms}$ . This network meets the national portion FTD objective allocation of 51.75 ms for class 3 FR services.
+
+Thus, it can be seen that only in the case where the number of switching stages exceeds eight (8), and the inter-node trunk transmission speed is 1.544 Mbit/s, will the national portion FTD objective be exceeded when the test frame size is 512 octets.
+
+# SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure and Internet protocol aspects |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/007b053fe94a8348f75128a584503fd0_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/007b053fe94a8348f75128a584503fd0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c95d96395e5fb2a708cff6f10915511fa31af587
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/007b053fe94a8348f75128a584503fd0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a8c95eaab2f80028a67c5f977ecd44a0853e08a6d1bcd616d1853e76d7b38d23
+size 90153
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/07b17a620c75522d53916a11e12d1bff_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/07b17a620c75522d53916a11e12d1bff_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..565d2315da3819c27bac03f0b1da7dd8268386e9
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/07b17a620c75522d53916a11e12d1bff_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ec5b7731179b34f44c39a402e35816ce59878c23879c0d1ea00aa2be59c40ef3
+size 50955
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e4643b8e895116ee86e6e0623108f89da910164e
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f6a763af46bba8aaeb76701c137af2d1bdec60c145e3cd2cfe52bdcfb01acdb8
+size 3635
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/2734e7f9be3e1dc046f14be2e6c9a085_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/2734e7f9be3e1dc046f14be2e6c9a085_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1af03091c3e37cd652cee7440b89d5236f13b062
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/2734e7f9be3e1dc046f14be2e6c9a085_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b2bab6eb8317a564ac0a63d3b1964f96a768e11341fbbf74505e678c659a4531
+size 16614
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/3da1a07cb87051bf616c9876db958cf0_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/3da1a07cb87051bf616c9876db958cf0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f2d86a00b8887ce0530025c076417095eb5fb522
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/3da1a07cb87051bf616c9876db958cf0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e59ffb50639e5fe2838ff42cb3241c7149f8df8bf6fa531e2d5e13346d11236f
+size 24880
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/40f30e4d577a17052f8b1e6dc802a0d8_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/40f30e4d577a17052f8b1e6dc802a0d8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c64e1d55a5803379e987516a9ab866dacd12ea18
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/40f30e4d577a17052f8b1e6dc802a0d8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cda410e011e473ec53ab2358d2f981478f03571032542fb8e547393f03fdf124
+size 28484
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/4636adff5682a064f0ae5f13a1d464a6_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/4636adff5682a064f0ae5f13a1d464a6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6a5e2f2f10cbbd7cb56c772ff23afd3dc8fffaf0
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/4636adff5682a064f0ae5f13a1d464a6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a82c196aa77b424f9f311b6425649485880f252e001a17c6f192632c43eea5f3
+size 59371
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/5414f65867392f05ba0063b208eeb5e1_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/5414f65867392f05ba0063b208eeb5e1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..897daca90bdc2bb195911412c4bffa76868e5928
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/5414f65867392f05ba0063b208eeb5e1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1ede79da0a7349d9e39288851d413588a6d425c16c1da7ad2c83ae223c7fdea3
+size 34846
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/79e1709a7317ead45379cbb8ff3ba802_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/79e1709a7317ead45379cbb8ff3ba802_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e358b9e45f7669cbff33d1f2add8b0360edb11d6
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/79e1709a7317ead45379cbb8ff3ba802_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e8429f9032d1738da059224bf1e04a2f6eee4137682bcc625649e98412f2b8cc
+size 26489
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/7b8b192e2853ef28d28eff0241ebe86b_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/7b8b192e2853ef28d28eff0241ebe86b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d74d630bf74874b4d0348264cf2e7a65e846f769
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/7b8b192e2853ef28d28eff0241ebe86b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:768219918296d8919ea84a14dfc37ebbe70193bb01acc0a5d8218ddcc00021c6
+size 28420
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/7e1c9b51e067a48cd0fcc9748d8bd8d8_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/7e1c9b51e067a48cd0fcc9748d8bd8d8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2d99ab56fbf5cd4f15babdcc4dc47d1a33de795b
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/7e1c9b51e067a48cd0fcc9748d8bd8d8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5ddb19cc4afd2950b83b88abd83d8b97db884b24ca85c6072156475e59c2a03
+size 26322
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..42b5ea3b076b5b2c9f18060f404f91c6aed71fd6
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/7f17c430b9598e4d748a8041457810b3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d27a7bd3a58e165c0e43aafd80c3c6e45d0155887e55b16e3d8dbb70681945c8
+size 22363
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/8307f6b04df072c9332f9987e034272c_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/8307f6b04df072c9332f9987e034272c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d1d85f969757920b4aa87f1f474510790d864f50
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/8307f6b04df072c9332f9987e034272c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cd2b9b0c0abf1391632f08ede43735c930abafa22dc97f3ce8895c0b2f966041
+size 38833
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/9b9d2abd741ed4bafe7f78f89961c663_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/9b9d2abd741ed4bafe7f78f89961c663_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6284589f6b5892dc62a57a8892c85bd3c0f30548
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/9b9d2abd741ed4bafe7f78f89961c663_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9defc14c3e154e6042449a3fc1390fe2f9efb0ce9b097808a423952be044d06a
+size 7270
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/bb3354f497635d15bef873577125c48d_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/bb3354f497635d15bef873577125c48d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e2a6345ffaafdb79f0610c1eb1ea4fcb5cb9a7ce
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/bb3354f497635d15bef873577125c48d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cb4ab49fcae778587a3ea182d12f10d77d56fd0a77959e50a10e5866ac7119a8
+size 23690
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/c0e369274e53b2e5364666be6f786c7a_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/c0e369274e53b2e5364666be6f786c7a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3b47fefecc504bf9344ba24fe53edfb7e2d213dd
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/c0e369274e53b2e5364666be6f786c7a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:86aa100f196c5848723d1d975449dda0703f2748ba8b3a9ea07170e2bf984bf4
+size 10259
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/c494cd874a082a97b50b3c4d3938f467_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/c494cd874a082a97b50b3c4d3938f467_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4652ff5213581e4621b5220d86b24657f8e80b6c
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/c494cd874a082a97b50b3c4d3938f467_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cc6fae380c27aeb74e3e1e1e34aec7564828af59ee4ad6d8d20cfe860f4eb885
+size 30149
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3e5f40e418cf89fe86b8ac26148e1ec94e5b45c7
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/c67d21fb3d9042e88cdc669f071b4e7c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4a95dc104d3eecbe0c89498e2351c60616c4b04cc6662fe5642470df8c566d4f
+size 36829
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/c914f51f4427bc672dd0526cfc90ebe9_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/c914f51f4427bc672dd0526cfc90ebe9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..465a3c391466ac29fe73da863e9c1b49deb1f5bc
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/c914f51f4427bc672dd0526cfc90ebe9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:24887a262ca7fc7647b0446bb5d84324ccace6d72f1a4282e4f6d4443783bc37
+size 29368
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/cb4cfa42ce34febde7bdb882f3fc3094_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/cb4cfa42ce34febde7bdb882f3fc3094_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ea248137891fd6b290c596eaa431ec0065355f00
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/cb4cfa42ce34febde7bdb882f3fc3094_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b7eac44f3a7b3647631157343c5fb2bd4522e0485b31137e66305ae0740cbf0f
+size 65107
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/d17aa1fcc3b86503ad1dd0717a6c34c2_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/d17aa1fcc3b86503ad1dd0717a6c34c2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b7e149be8997a6052246765ee01ba0705f6e5cfb
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/d17aa1fcc3b86503ad1dd0717a6c34c2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e26d5a7ab3e43e41474bb504089957f46156cd2ef7d922d7255cd64b0a2a79f3
+size 37474
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/dcb5711d118ae6753b0e12f86eda37db_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/dcb5711d118ae6753b0e12f86eda37db_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..89232effa3ded28667febf4e9624a1838e4467ca
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/dcb5711d118ae6753b0e12f86eda37db_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:322e3bfd1393264853d30c474173b4dcf2baf8a5d8511836788a2133d9a0bd57
+size 55885
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b89a323c0e29ba523580467dde029b1fea23d3c2
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d788dcaccb3885bd462a8b838ef2d0dc1148184b850b428137c8743a59dd4d0d
+size 8730
diff --git a/marked/X/T-REC-X.1542-201609-I_PDF-E/fc0735d325f0ebd9214171975c68a888_img.jpg b/marked/X/T-REC-X.1542-201609-I_PDF-E/fc0735d325f0ebd9214171975c68a888_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..06beb2b9ee31150906aace8662bded1bd94e043d
--- /dev/null
+++ b/marked/X/T-REC-X.1542-201609-I_PDF-E/fc0735d325f0ebd9214171975c68a888_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57ab3549def6633a748d11fc7dbbbd42753d7f6123d64cb22ef68b7220e2a3f9
+size 22519
diff --git a/marked/X/T-REC-X.1546-201401-I_PDF-E/3121ebddccf183ca63bb9781be440a7e_img.jpg b/marked/X/T-REC-X.1546-201401-I_PDF-E/3121ebddccf183ca63bb9781be440a7e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..516118e06722ef1ca03ef6fb9baea0f8308e62a4
--- /dev/null
+++ b/marked/X/T-REC-X.1546-201401-I_PDF-E/3121ebddccf183ca63bb9781be440a7e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bd783c8d9b5d27cb56aa64274005358fdbeed2d9d5648da45cb5e5c98e02d4d0
+size 54721
diff --git a/marked/X/T-REC-X.1546-201401-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg b/marked/X/T-REC-X.1546-201401-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ddc2d86595291397b6e9e8f6cbafc0364c5f7181
--- /dev/null
+++ b/marked/X/T-REC-X.1546-201401-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bdd2ea26596b0a128c2e6f6216e4312884aa3acf2448cd3553f4604f94c06ead
+size 6552
diff --git a/marked/X/T-REC-X.1546-201401-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg b/marked/X/T-REC-X.1546-201401-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..33c673081949e18cb8d2dff19b24b8f23cf930b1
--- /dev/null
+++ b/marked/X/T-REC-X.1546-201401-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:690106edc8f7daed4903aa51132379cc76fa0f46ca6a618ebf393841892341fc
+size 86444
diff --git a/marked/X/T-REC-X.1546-201401-I_PDF-E/raw.md b/marked/X/T-REC-X.1546-201401-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..0b3bcb9e24a154e0609afa46156eb22e0c842168
--- /dev/null
+++ b/marked/X/T-REC-X.1546-201401-I_PDF-E/raw.md
@@ -0,0 +1,574 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1546
+
+(01/2014)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Cybersecurity information exchange –
+Event/incident/heuristics exchange
+
+# --- Malware attribute enumeration and characterization
+
+Recommendation ITU-T X.1546
+
+
+
+The logo of the International Telecommunication Union (ITU) is located in the bottom right corner. It features a blue globe with a red lightning bolt striking it, and the text "ITU" in blue, with "International Telecommunication Union" in smaller blue text below it.
+
+ITU logo
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1339 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.1546
+
+# Malware attribute enumeration and characterization
+
+## Summary
+
+The malware attribute enumeration and characterization (MAEC) language includes enumerations of malware attributes and behaviour that provide a common vocabulary. These enumerations are at different levels of abstraction: low-level observables, mid-level behaviours and high-level taxonomies. Recommendation ITU-T X.1546, which is the initial version of MAEC, focuses on the creation of the enumeration of low-level malware attributes, and leverages the few instances of similar work already done in this area. Thus it will initially be capable of characterizing the most common malware types, including Trojans, worms and rootkits, but it will ultimately be applicable to more esoteric malware types.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1546 | 2014-01-24 | 17 | 11.1002/1000/12038 |
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2014
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|-----------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 3 |
+| 6 High-level requirements ..... | 3 |
+| 7 Correctness ..... | 4 |
+| 8 Documentation..... | 4 |
+| 9 Validity ..... | 4 |
+| 10 Specific capability requirements..... | 5 |
+| 11 Review authority requirements..... | 7 |
+| 12 Revocation ..... | 8 |
+| Bibliography..... | 9 |
+
+# Introduction
+
+Recommendation ITU-T X.1546 on the use of malware attribute enumeration and characteristics (MAEC) is an international, information security, community standard to promote open and publicly available security content about malware and malware behaviours. This Recommendation also aims to standardize the transfer of this information across the entire spectrum of security tools and services that can be used to monitor and manage defences against malware. MAEC is a language used to encode malware relevant details.
+
+The MAEC language aims to: 1) improve human-to-human, human-to-tool, tool-to-tool, and tool-to-human communication about malware, 2) reduce potential duplication of malware analysis efforts by researchers, and 3) allow for the faster development of countermeasures by enabling the ability to leverage responses to previously observed malware instances. Threat analysis, intrusion detection, and incident management are processes that deal with all manners of cyberthreats. MAEC, through its uniform encoding of malware attributes, provides a standardized format for the incorporation of actionable information regarding malware in these processes.
+
+Malicious software – also called "malware" – has existed in one form or another since the advent of the first PC virus in 1971. It is presently responsible for a host of malicious activities, ranging from the vast majority of spam email distribution through botnets, to the theft of sensitive information via targeted social engineering attacks. Effectively an autonomous agent operating on behalf of the attacker, malware has the ability to perform any action that is capable of being expressed in code, and as such it represents a prodigious threat to cybersecurity.
+
+The protection of computer systems from malware is therefore currently one of the most important information security concerns for organizations and individuals because even a single instance of uncaught malware can result in damaged systems and compromised data. Being disconnected from a computer network does not completely mitigate this risk of infection, as exemplified by malware that makes use of USB as its insertion vector. As such, the main focus of the majority of anti-malware efforts to date has been on preventing damaging effects through early detection.
+
+There are currently several common methods used for malware detection, based mainly on physical signatures and heuristics. These methods are effective in terms of their narrow scope, although they have their own individual drawbacks, such as the fact that signatures are unsuitable for dealing with zero-day, targeted, polymorphic and other forms of emerging malware. Similarly, heuristic detection may be able to generically detect certain types of malware while missing those that it does not have patterns for, such as kernel-level rootkits. Therefore, it would be safe to say that these methods, while still useful, cannot be exclusively relied upon to deal with the current influx of malware.
+
+Malware attribute enumeration and characterization (MAEC, pronounced "mike") aims to eliminate the ambiguity and inaccuracy that currently exists in malware descriptions and to reduce reliance on signatures. In this way, MAEC seeks to improve human-to-human, human-to-tool, tool-to-tool, and tool-to-human communication about malware; reduce potential duplication of malware analysis efforts by researchers; and allow for the faster development of countermeasures by enabling the ability to leverage responses to previously observed malware instances. As will be illustrated, the MAEC language enables correlation, integration and automation for sharing structured information about malware based upon attributes such as behaviours, artefacts and attack patterns.
+
+As shown in Figure 1, MAEC is composed of a data model that spans several interconnected schemas, thus representing the grammar that defines the language. These schemas permit different forms of MAEC output to be generated, which can be considered as specific uses of the aforementioned grammar.
+
+
+
+The diagram illustrates the high-level MAEC overview. It consists of several interconnected components:
+
+- Schema (Grammar):** A table with two columns and three rows, representing different types of malware-related information.
+
+
+| Schema | |
+|--------------|---------------------------|
+| ActionType | MalwareSubjectType |
+| BehaviorType | MetaAnalysisType |
+| ObjectType | GroupingRelationshipsType |
+
+ Below the table is the label **(Grammar)**.
+- Enumerations (Vocabulary):** A table with two columns and three rows, representing different types of malware-related information.
+
+
+| Enumerations | |
+|-----------------------|------------------------|
+| High-level mechanisms | Malware subjects |
+| Mid-level behaviours | Meta-analysis |
+| Low-level actions | Grouping relationships |
+
+ Below the table is the label **(Vocabulary)**.
+- Container (Output formats):** A large blue box containing nested structures.
+ - Package:** A blue box containing nested structures.
+ - Bundle:** A white box containing nested structures.
+ - element 1:** A white box containing nested structures.
+ - element 2:** A white box containing nested structures.
+
+Arrows indicate relationships: A line connects the Schema table to the Container box. A line connects the Enumerations table to the Container box. A line connects the Enumerations table to the Schema table. A line connects the Enumerations table to the Package box.
+
+Figure 1 – High-level MAEC overview diagram showing the relationship between Schema, Enumerations, Container, Package, and Bundle.
+
+X.1546(14)\_F01
+
+**Figure 1 – High-level MAEC overview**
+
+The MAEC container, MAEC package and MAEC bundle schemas are targeted at different use cases and thus capture different types of malware-related information.
+
+The MAEC language is related to both the cyber-observable expression (CybOX) language and to the IEEE ICSG's malware metadata exchange format (MMDEF).
+
+CybOX is a standardized language for the specification, capture, characterization and communication of events or stateful properties that are observable in the operational domain. Cyber-observables apply to numerous domains: threat assessment and characterization (detailed attack patterns), malware characterization, operational event management, logging, cyber situational awareness, incident response, digital forensics, and cyberthreat information sharing, among others.
+
+Almost every field in CybOX is optional, so one can use whatever is appropriate and ignore the rest. CybOX can be used to specify and characterize a wide range of cyber objects and can be used to define relational and logical compositions of multiple objects, actions, events, and/or observables.
+
+Malware characterization with MAEC relies on the common mechanism (structure and content) that CybOX provides for addressing cyber-observables across and among MAEC's full range of use cases. Whereas MAEC provides analysis context, indicators, behaviours, and mechanisms, CybOX provides general actions and objects used in the operational cyber domain. A cyber-observable is a *measurable event* or *stateful property* in the cyber domain. Examples of measurable events include registry key creation, file deletion, and the reception of an HTTP GET request; examples of stateful properties include the MD5 hash of a file, the value of a registry key, and the existence of a mutex.
+
+MAEC imports and extends the CybOX object and action. An extremely simplified overview of the CybOX schema is shown in Figure 2; the CybOX components that MAEC uses are shown in green.
+
+
+
+```
+
+graph LR
+ Observable[Observable] --> Event[Event]
+ Observable --> Object[Object]
+ Event --> Action[Action]
+ Action --> Type[Type]
+ Action --> Name[Name]
+ Action --> AssociatedObject[Associated object]
+ Object -.-> AssociatedObject
+ Object --> Properties[Properties]
+ AssociatedObject --> AssociationType[Association type]
+ Properties --> File[File]
+ Properties --> Process[Process]
+ Properties --> Memory[Memory]
+ Properties --> GUI[GUI]
+ Properties --> Address[Address]
+ Properties --> Library[Library]
+ Properties --> System[System]
+ System --- Dots[...]
+ Dots --- X1546[X.1546(14)_F02]
+
+```
+
+Figure 2 – Cyber-observable expression (CybOX) schema: simple overview. The diagram shows a hierarchical structure starting with 'Observable' (blue box) which branches into 'Event' (blue box) and 'Object' (green box). 'Event' connects to 'Action' (green box), which then connects to 'Type' (green box), 'Name' (green box), and 'Associated object' (green box). 'Object' connects to 'Associated object' (green box) via a dashed line and to 'Properties' (green box) via a solid line. 'Associated object' connects to 'Association type' (green box). 'Properties' (green box) connects to a list of predefined object types (light blue boxes): 'File', 'Process', 'Memory', 'GUI', 'Address', 'Library', and 'System'. Below 'System' are three dots and the text 'X.1546(14)\_F02'.
+
+**Figure 2 – Cyber-observable expression (CybOX) schema: simple overview**
+
+The CybOX properties construct is an abstract placeholder for various predefined Object type schemas (e.g., file, process, memory) that can be instantiated in its place. Properties' schemas, shown in light blue, are maintained independently of the core CybOX schema.
+
+MMDEF is being developed by the Institute of Electrical and Electronics Engineers' (IEEE) Industry Connections Security Group (ICSG). The development of the original schema was led primarily by a group of antivirus (AV) product vendors for the purpose of having some way to augment shared malware samples with additional metadata. As such, it permits the characterization of some static features like hashes and file names, along with some very basic behavioural features.
+
+The information security community contributes to the development of MAEC by participating in the creation of the MAEC language on the MAEC developer's discussion lists and collaboration portal and by integrating the MAEC language into their tools and repository capabilities. The MAEC community includes representatives from a broad spectrum of industry, academia and government organizations from around the world that oversees and collaborates on the MAEC language and the MAEC utilities and tools through the MAEC publicly available repository. This means that MAEC reflects the insights and combined expertise of the broadest possible collection of malware analysis and prevention professionals worldwide.
+
+This Recommendation has been developed on a collaborative basis with The MITRE Corporation bearing in mind the importance of maintaining, to the extent possible, technical compatibility between this Recommendation and the "Requirements and Recommendation for MAEC Compatibility", version 1.1, 7 July 2013
+
+[[https://maec.mitre.org/compatible/Requirements\\_for\\_MAEC\\_Compatibility\\_V1.1.pdf](https://maec.mitre.org/compatible/Requirements_for_MAEC_Compatibility_V1.1.pdf)].
+
+# Recommendation ITU-T X.1546
+
+## Malware attribute enumeration and characterization
+
+# 1 Scope
+
+This Recommendation provides a structured means to promote open and publicly available security content about malware and malware behaviours, and to standardize the transfer of this information across the entire spectrum of security tools and services that can be used to monitor and manage defences against malware.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+[ISO/IEC 19757-3] ISO/IEC 19757-3:2006, *Information technology – Document Schema Definition Languages (DSDL) – Part 3: Rule-based validation – Schematron*.
+
+[W3C XML Schema] W3C XML Schema Part 2 (2004), *W3C XML Schema Part 2: Datatypes*, Second Edition. < >
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 owner** [b-ITU-T X.1520]: The custodian (real person or company) having responsibility for the capability.
+
+**3.1.2 user** [b-ITU-T X.1520]: A consumer or potential consumer of the capability.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 capability**: A specific function or functions of a product, service or repository.
+
+**3.2.2 capability test results**: Data representing the outcome of correctness testing.
+
+**3.2.3 content**: Any form of a malware attribute enumeration and characteristics (MAEC) entity, including MAEC output format documents, as well as embedded elements/types.
+
+**3.2.4 correctness testing**: The process of determining whether a tool has correctly implemented MAEC.
+
+**3.2.5 MAEC bundle**: A standard form of MAEC output to capture all of the analysis-derived characteristics for a single malware instance, including any observed MAEC behaviours or actions, and any related MAEC objects.
+
+**3.2.6 MAEC container:** A standard form of MAEC output to capture one or more MAEC packages.
+
+**3.2.7 MAEC output format:** Any of the three standard forms of MAEC output, including the MAEC container, package or bundle.
+
+**3.2.8 MAEC package:** A standard form of MAEC output to characterize all known data for one or more malware subjects, including their analysis-derived characteristics (via MAEC bundles) and any associated analysis or other metadata.
+
+**3.2.9 malware instance:** A specific copy of malware.
+
+**3.2.10 malware element:** A behaviour, attribute, exploit, payload etc., that is related to a specific malware instance, family or class of malware instances.
+
+**3.2.11 malware pattern:** An abstraction of some attributes common to a set of malware instances (families or classes). A single malware pattern may potentially have many varying malware instances associable with it.
+
+**3.2.12 malware subject:** A MAEC entity that captures all the details pertaining to a single malware instance, including any corresponding analysis metadata, analysis content and relationship information.
+
+**3.2.13 product:** Any anti-malware tool, service or repository that has one or more capabilities.
+
+**3.2.14 repository:** An implicit or explicit collection of malware elements or malware patterns that supports a content creation tool or service, e.g., a database of behavioural patterns, the set of malware instances analysed by a sandbox tool, or the aggregate output of a static or dynamic binary analysis tool. A repository can also be a collection of MAEC output format documents.
+
+**3.2.15 review:** The process of determining whether a capability is MAEC-compatible.
+
+**3.2.16 review authority:** An entity that performs correctness testing and is authorized to formally acknowledge that a capability is MAEC-compatible.
+
+**3.2.17 review sample:** A copy of a capability's output provided to a review authority for use in determining whether the capability is MAEC-compatible.
+
+**3.2.18 review version:** The dated version of MAEC that is being used for determining MAEC compatibility of a capability.
+
+**3.2.19 service:** A malware analysis, detection or remediation activity that implements one or more capabilities.
+
+**3.2.20 tool:** A software application or device that implements one or more functionalities. A tool analyses, detects or remediates malware through various methods, e.g., a static analysis tool, dynamic analysis tool, signature based scanner, heuristic based scanner, etc. A tool can also perform content authoring.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-------|----------------------------------------------------|
+| AV | Antivirus |
+| Cybox | Cyber-Observable expression |
+| ID | Identifier |
+| MAEC | Malware Attribute Enumeration and Characterization |
+| MMDEF | Malware Metadata Exchange Format |
+
+| | |
+|-----|---------------------------------|
+| SIM | Security Information Management |
+| XML | extensible Markup Language |
+
+# **5 Conventions**
+
+MAEC is used as a noun in this Recommendation.
+
+# **6 High-level requirements**
+
+The following items define the concepts, roles and responsibilities related to five different capabilities, each targeting a different use of the MAEC language, that comprise the proper use of the MAEC language. These capabilities enable members of the MAEC community to easily understand how a given product is using the MAEC language and how it might suit their needs.
+
+The following requirements apply to all capabilities that implement support for MAEC, regardless of the specific functionality that is implemented (functionality-specific requirements are given below in clause 10, "Specific compatibility requirements"). If a capability is shown to satisfy all applicable requirements, then the capability owner shall receive formal acknowledgement of MAEC compatibility from the review authority.
+
+## **Prerequisites**
+
+**6.1** The capability owner shall be a valid legal entity, i.e., an organization or a specific individual, with a valid phone number, e-mail address and street mail address.
+
+**6.2** The capability owner shall agree to adhere to all of the mandatory MAEC compatibility requirements, including the mandatory requirements applicable to a specific functionality.
+
+**6.3** The capability owner shall provide the review authority with a technical point of contact that is qualified to answer questions regarding any MAEC-related functionality of the capability and to coordinate the preparation of the capability for correctness testing.
+
+**6.4** The capability owner shall provide the review authority with a completed "MAEC Compatibility Questionnaire Form." This form will be provided to the capability owner after the "MAEC Compatibility Declaration Form" has been processed by the review authority.
+
+**6.5** The capability owner shall work with the review authority to make the product, service or repository available for correctness testing.
+
+**6.6** The capability owner shall provide the review authority with free access to items needed to perform correctness testing, including the test results and/or the review samples, in order to determine compliance with all associated compatibility requirements.
+
+**6.7** As part of receiving formal acknowledgement of MAEC-compatibility, the capability owner shall agree to support the review authority in follow-up testing activities, where appropriate types of files will be exchanged with other organizations attempting to prove the correctness of their capability. This will be managed by the review authority and kept to reasonable levels of effort for all involved.
+
+**6.8** The capability shall be available to the public or a set of consumers.
+
+**6.9** The capability shall clearly state the review version(s) of MAEC and the associated schema(s) with which it is compatible.
+
+## **Miscellaneous**
+
+These requirements deal with miscellaneous aspects of MAEC compatibility.
+
+**6.10** If the capability does not satisfy all of the applicable requirements above (6.1 to 6.9), then the capability owner shall not advertise the capability as MAEC-compatible.
+
+**6.11** If the capability does not satisfy the requirements specific to its functionality (defined in clauses 10.1 to 10.27), then the capability owner shall not advertise the capability as MAEC-compatible.
+
+**6.12** The capability owner shall have formal approval from the review authority before advertising the capability as MAEC-compatible.
+
+# **7 Correctness**
+
+These requirements deal with errors in correctness related to MAEC compatibility, including but not limited to errors relating to schema validation and invalid uses of particular MAEC structures and elements.
+
+**7.1** The capability owner shall have in place a means for the user to submit correctness errors found in the use of MAEC and in any MAEC content being produced by the capability.
+
+**7.2** The capability owner shall have a plan in place to address any correctness errors reported to it.
+
+**7.3** The capability owner shall address any correctness errors reported to it within a reasonable time frame after the error was initially reported.
+
+# **8 Documentation**
+
+The following requirements apply to documentation that is provided with a MAEC-compatible capability.
+
+**8.1** The capability shall include in its documentation a brief description of MAEC and MAEC compatibility, which can include verbatim portions of documents from the MAEC website.
+
+**8.2** The capability shall clearly state in its documentation its coverage of MAEC and its associated schemas, including those imported from the community efforts of cyber-observable expression (CyBOX) and malware metadata exchange format (MMDEF), either through the elements or individual CyBOX objects that it does not support, or through the elements and CyBOX objects that it does support. For example, if a capability is applying for formal acknowledgement of MAEC-compatibility as a dynamic analysis content creation tool or service and it does not support the CyBOX file object and/or the actions associated with the CyBOX file object, then the capability documentation shall explicitly state this incompatibility.
+
+**8.3** The capability shall clearly state in its documentation the procedure that a user should follow to submit correctness errors found in any MAEC content being produced by the product.
+
+**8.4** If the documentation included with the capability includes an index, then it shall include references to MAEC-related documentation under the term "MAEC."
+
+# **9 Validity**
+
+The following requirements stem from the requirement that MAEC-compatible capabilities are required to work with valid documents. Such requirements help ensure that information is being formatted correctly and that the structure of the document follows the MAEC language.
+
+**9.1** The capability shall validate all MAEC content (both produced and consumed) using W3C XML schema validation (see [W3C XML Schema]) against the version of the MAEC language with which it is stated to comply.
+
+**9.2** The capability shall report any W3C XML schema validation errors to the user.
+
+**9.3** The capability shall validate all MAEC content (both created and consumed) using Schematron validation (see [ISO/IEC 19757-3]) against the version of the MAEC language with which it is stated to comply.
+
+**9.4** The capability shall report any Schematron validation errors to the user.
+
+# **10 Specific capability requirements**
+
+The following requirements only apply to capabilities for which capability owners are seeking MAEC compatibility with respect to the related functionality. A MAEC-compatible capability shall provide at least one specific functionality: content creation, content storage or content consumption.
+
+| | |
+|----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Content creation | A tool or service that creates or aids in the process of creating new MAEC files, including those that consolidate existing MAEC output format documents into a single file.
The following subtypes of the content creation functionality are defined:
• Static analysis content creation: A tool or service that performs some static analysis of one or more input malware instances and outputs the results in a MAEC output format document. • Dynamic analysis content creation: A tool or service that performs some dynamic analysis (i.e., instrumented execution) of an input malware instance and outputs the results in a MAEC output format document. • Authoring content creation: A tool or service that supports the manual creation and editing of MAEC output format documents. |
+| Content storage | A repository of MAEC content made available to the community (free or paying).
|
+| Content consumption | A tool or service that accepts MAEC output format documents as input and either displays their content to the user or uses them to perform some action (remediation, security information management (SIM), etc.).
|
+
+## **General content creation**
+
+These requirements apply to all tools and services that intend to provide MAEC content output.
+
+**10.1** A tool or service that provides MAEC content shall generate at least one type of MAEC output format (MAEC bundle, package or container).
+
+**10.2** Each tool or service that intends to provide output for a single malware instance and does not intend to capture information on its own attributes should generate a single MAEC bundle for the malware instance.
+
+**10.3** A tool or service that intends to provide output for a single malware instance and/or intends to capture information on its own attributes should generate one or more MAEC packages with one or more embedded MAEC malware subjects for each malware instance that it analyses. If it does not generate MAEC packages, then it shall generate MAEC containers that contain embedded MAEC packages.
+
+**10.4** A tool or service that intends to provide output for more than one set or group of malware instances should generate one or more MAEC containers with one or more embedded MAEC packages for each set or group of malware instances that it analyses.
+
+**10.5** A tool or service that intends to capture information on its own attributes shall document, at a minimum, its name, version and vendor using the appropriate entities in the MAEC malware subject and consequently shall generate MAEC packages or containers of embedded MAEC packages.
+
+**10.6** A tool or service that generates MAEC packages should be capable of generating stand-alone MAEC bundles.
+
+**10.7** A tool or service that generates MAEC containers should be capable of generating stand-alone MAEC packages.
+
+**10.8** A tool or service should use its own unique constant namespace portion of the identifier (ID) across all MAEC content that it generates.
+
+## **Static analysis content creation**
+
+These requirements apply to all static analysis tools and services that intend to create MAEC content.
+
+**10.9** When generating a MAEC output format file, a static analysis tool or service should report its findings using the most appropriate MAEC entities (including but not limited to MAEC actions, objects, behaviours, and/or AV classifications), as well as the most appropriate MAEC output format.
+
+## **Dynamic analysis content creation**
+
+These requirements apply to all dynamic analysis tools and services that intend to create MAEC content.
+
+**10.10** When generating a MAEC output format file, a dynamic analysis tool or service should report its findings using the most appropriate MAEC entities (including but not limited to MAEC actions and behaviours), as well as the most appropriate MAEC output format.
+
+## **Authoring content creation**
+
+These requirements apply to all tools and services that intend to create MAEC content or help facilitate the creation or modification of MAEC content.
+
+**10.11** An authoring tool or service should encourage the reuse of existing malware subjects, behaviours, actions, objects and candidate indicators.
+
+**10.12** An authoring tool or service should allow the user to invoke validation on a document that is written for the MAEC language and report all W3C XML schema and Schematron errors to the user.
+
+**10.13** An authoring tool or service shall allow the user to import and edit existing MAEC content (this includes all MAEC output formats).
+
+**10.14** An authoring tool or service shall allow the user to export the content created as valid MAEC output format documents.
+
+**10.15** An authoring tool or service should report duplicate content to the user.
+
+**10.16** An authoring tool or service shall provide value and capability above and beyond the capability of an extensible markup language (XML) editor, as determined by the review authority.
+
+## **Content storage**
+
+These requirements apply to all repositories that intend to provide a collection of MAEC content.
+
+**10.17** Each MAEC container, package, malware subject, analysis, bundle, action, object, behaviour, candidate indicator, behaviour collection, action collection, object collection and candidate indicator collection shall contain a unique ID with respect to all other MAEC containers, packages, malware subjects, analysis, bundles, actions, objects, behaviours, and candidate indicators, behaviour collections, action collections, object collections and candidate indicator collections in the repository.
+
+**10.18** Each MAEC action and object should contain an ID with respect to all other MAEC actions and objects where such an ID is unique with respect to all other MAEC actions and objects in the repository.
+
+**10.19** The namespace portion of ID shall be constant across all MAEC content and should be unique to the repository.
+
+**10.20** Each MAEC container, package, malware subject, analysis, bundle, action, object, behaviour, and candidate indicators, behaviour collection, action collection, object collection and candidate indicator collection shall have the same ID across its existence. An existing item should not be rewritten for some other purpose as users may be referencing the item in their own content.
+
+**10.21** The repository owner shall document the process by which a user can retrieve content updates.
+
+## **Content consumption**
+
+These requirements apply to all tools and services that intend to consume MAEC content. Note the distinction between "consume" (process information in an intelligent way) and "parse" (extract particular content from a larger document).
+
+**10.22** A tool or service that consumes MAEC content shall consume at least one type of MAEC output format (bundle, package or container).
+
+**10.23** A tool or service that consumes MAEC content shall support the parsing of each type of MAEC output format to extract any embedded types that it consumes, regardless of the types' location in the output format document. For example, a tool or service that consumes only bundles must be able to also parse packages and containers to extract bundle content.
+
+**10.24** If a tool or service requires only technical analysis information associated with malware instance, it should consume MAEC bundles.
+
+**10.25** If a tool or service requires technical analysis information associated with a malware instance, as well as analysis metadata and relationship information, it should consume MAEC packages.
+
+**10.26** If a tool or service requires analysis information associated with multiple sets or groups of malware instances, it should consume MAEC containers.
+
+**10.27** If the tool or service does not consume MAEC output format files at runtime, the capability owner shall document the process by which a user can submit MAEC output format files to the capability owner for interpretation by the tool or service. Documentation shall state how quickly files submitted to the capability owner are made available to the tool or service.
+
+# **11 Review authority requirements**
+
+The following are requirements pertaining to MAEC compatibility that a review authority shall adhere to.
+
+**11.1** A review authority shall clearly identify the review version of the capability and the version of the MAEC compatibility requirements document, along with the version of the MAEC language that was used to determine formal adherence to the MAEC compatibility requirements for each capability.
+
+**11.2** The review authority shall specify the functionality type(s) of the capability (content creation, content storage or content consumption).
+
+**11.3** A review authority shall define and publish sample test materials.
+
+**11.4** The review authority shall publicize information on how to participate in correctness testing so that organizations can prepare as much in advance as possible.
+
+**11.5** The review authority shall provide a point of contact for arranging correctness testing for capabilities declaring support for MAEC that have completed the "MAEC Compatibility Questionnaire Form."
+
+**11.6** The review authority may retest a capability that has been formally acknowledged for its MAEC-compatibility, at its own discretion.
+
+# **12 Revocation**
+
+If a review authority has approved a capability as MAEC-compatible, but at a later time the review authority has evidence that the requirements are no longer being met, then the review authority may revoke its approval and the capability will no longer be formally acknowledged as MAEC-compatible. The following are the requirements that the review authority shall follow in order to revoke the acknowledgement.
+
+**12.1** The review authority shall provide the capability owner with a warning of revocation at least two (2) months before revocation is scheduled to occur.
+
+**12.2** The review authority may delay the date of revocation.
+
+**12.3** If the review authority has found that the actions or claims of the capability owner are intentionally misleading, then the review authority may omit the warning period. The review authority may interpret the phrase "intentionally misleading" as it wishes.
+
+**12.4** If the review authority determines that the actions of the capability owner with respect to the compatibility requirements are intentionally misleading, then revocation shall last a minimum of one year.
+
+**12.5** The review authority shall identify the specific requirements that are not being met.
+
+**12.6** If the capability owner believes that the requirements are being met, then the capability owner shall respond to the warning of revocation by providing specific details that indicate why the capability meets the requirements under question.
+
+**12.7** If during the warning period the capability owner modifies the capability so that it complies with the requirements in question, during the warning period, then the review authority should terminate the revocation action for the capability.
+
+**12.8** The review authority shall publicize that the formal acknowledgement of the correct compatibility of MAEC has been revoked for the capability.
+
+**12.9** The review authority may publicize the reason for revocation.
+
+# **Bibliography**
+
+- [b-ITU-T X.1520] Recommendation ITU-T X.1520 (2011), *Common vulnerabilities and exposures*.
+
+
+
+
+
+# SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|---------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Terminals and subjective and objective assessment methods |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1602-201603-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1602-201603-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b251589cf40ace6dacc78699abda475ccc29cb4a
--- /dev/null
+++ b/marked/X/T-REC-X.1602-201603-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f5a5181407216d035f79590e56aec9a16d90fff38afd14731b2addf225d041a7
+size 4098
diff --git a/marked/X/T-REC-X.1602-201603-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/X/T-REC-X.1602-201603-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..732ee9ea56e24eb0f881feb137fecd16876ed42e
--- /dev/null
+++ b/marked/X/T-REC-X.1602-201603-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ef12b1e3857beabfdd7b4d98a5084147d42a0844d52994353239919c6f8b2e26
+size 26309
diff --git a/marked/X/T-REC-X.1602-201603-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg b/marked/X/T-REC-X.1602-201603-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6fa64b5f1192002395ed35924516667391d63349
--- /dev/null
+++ b/marked/X/T-REC-X.1602-201603-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7d649d9c4e794b5427d35153cc6f076d1209f80ac863b87eb8ea574cf822e793
+size 52059
diff --git a/marked/X/T-REC-X.1602-201603-I_PDF-E/acfc53eca625d62b38aa2563efa95c3e_img.jpg b/marked/X/T-REC-X.1602-201603-I_PDF-E/acfc53eca625d62b38aa2563efa95c3e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ad21d9ea5a57ba1a222a78218e625c654b9c4400
--- /dev/null
+++ b/marked/X/T-REC-X.1602-201603-I_PDF-E/acfc53eca625d62b38aa2563efa95c3e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bbf1dad589572a15484dd065bdec42a8a434c65e3872c7405ee21a78b83f2da2
+size 28201
diff --git a/marked/X/T-REC-X.1602-201603-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/X/T-REC-X.1602-201603-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c00c9486e6a8765c2076d81a344fb09b83869252
--- /dev/null
+++ b/marked/X/T-REC-X.1602-201603-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6dc480106ca2160c6631cf3a921f3ae8ca179a816cff7be22ea71d998ddc7593
+size 88592
diff --git a/marked/X/T-REC-X.1602-201603-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg b/marked/X/T-REC-X.1602-201603-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d090326e36b04de4fd1e6439bd46e0dfb96f2c52
--- /dev/null
+++ b/marked/X/T-REC-X.1602-201603-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3ed4ef83c680f63f29b4a495cccc18a7b7664a88c1190b5a751472302acf9d18
+size 59279
diff --git a/marked/X/T-REC-X.1602-201603-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg b/marked/X/T-REC-X.1602-201603-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..55dd1ede5a22c2b9dc0d54d1e2a32e98ad26c920
--- /dev/null
+++ b/marked/X/T-REC-X.1602-201603-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dfaf1dc63ceb360768489f10de4708d1b252e26daa5c2548fbc8add0ba25abaa
+size 32487
diff --git a/marked/X/T-REC-X.1603-201803-I_PDF-E/raw.md b/marked/X/T-REC-X.1603-201803-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..923bd71da8b44bc3c6a74ada0b6ef73c2313100f
--- /dev/null
+++ b/marked/X/T-REC-X.1603-201803-I_PDF-E/raw.md
@@ -0,0 +1,692 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1603
+
+(03/2018)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Cloud computing security – Cloud computing security
+design
+
+# --- **Data security requirements for the monitoring service of cloud computing**
+
+Recommendation ITU-T X.1603
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.1603
+
+# Data security requirements for the monitoring service of cloud computing
+
+## Summary
+
+Recommendation ITU-T X.1603 analyses data security requirements for the monitoring service of cloud computing which includes monitoring data scope requirements, monitoring data lifecycle, security requirements of monitoring data acquisition and security requirements of monitoring data storage. Monitoring data scope requirements include the necessary monitoring scope that cloud service providers (CSPs) should provide to maintain cloud security and the biggest monitoring scope of CSPs. Monitoring data lifecycle includes data creation, data store, data use, data migrate, data present, data destroy and data backup. Monitoring acquisition determines security requirements of the acquisition techniques of monitoring service. Monitoring data storage determines security requirements for CSPs to store the monitoring data.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1603 | 2018-03-29 | 17 | 11.1002/1000/13406 |
+
+## Keywords
+
+Cloud, data security, monitoring.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2018
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|----|---------------------------------------------------------------------------------|------|
+| 1 | Scope..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 3 |
+| 4 | Abbreviations and acronyms ..... | 3 |
+| 5 | Conventions ..... | 4 |
+| 6 | Overview..... | 4 |
+| 7 | Scope of monitoring data for cloud computing..... | 5 |
+| 8 | Monitoring data lifecycle in cloud computing..... | 5 |
+| | 8.1 Monitoring data collection ..... | 6 |
+| | 8.2 Monitoring data storage..... | 6 |
+| | 8.3 Monitoring data use..... | 6 |
+| | 8.4 Monitoring data migration..... | 6 |
+| | 8.5 Monitoring data analysis ..... | 6 |
+| | 8.6 Monitoring data presentation..... | 6 |
+| | 8.7 Monitoring data destruction ..... | 6 |
+| | 8.8 Monitoring data backup..... | 6 |
+| 9 | Security threats and challenges for monitoring data of cloud computing ..... | 6 |
+| | 9.1 Security threats and challenges in monitoring data collection stage..... | 7 |
+| | 9.2 Security threats and challenges in monitoring data storage stage ..... | 7 |
+| | 9.3 Security threats and challenges in monitoring data use stage ..... | 7 |
+| | 9.4 Security threats and challenges in monitoring data migration stage ..... | 8 |
+| | 9.5 Security threats and challenges in monitoring data analysis stage..... | 8 |
+| | 9.6 Security threats and challenges in monitoring data presentation stage ..... | 8 |
+| | 9.7 Security threats and challenges in monitoring data destruction stage..... | 8 |
+| | 9.8 Security threats and challenges in monitoring data backup stage ..... | 8 |
+| 10 | Security requirements for monitoring data of cloud computing..... | 8 |
+| | 10.1 Security requirements for monitoring data collection ..... | 8 |
+| | 10.2 Security requirements for monitoring data storage ..... | 9 |
+| | 10.3 Security requirements for monitoring data use ..... | 9 |
+| | 10.4 Security requirements for monitoring data migration ..... | 10 |
+| | 10.5 Security requirements for monitoring data analysis ..... | 10 |
+| | 10.6 Security requirements for monitoring data presentation ..... | 11 |
+| | 10.7 Security requirements for monitoring data destruction..... | 11 |
+| | 10.8 Security requirements for monitoring data backup ..... | 12 |
+| | Bibliography..... | 13 |
+
+
+
+# Recommendation ITU-T X.1603
+
+# Data security requirements for the monitoring service of cloud computing
+
+# 1 Scope
+
+This Recommendation describes data security requirements for the monitoring service of cloud computing. The Recommendation analyses data security threats and challenges associated with the monitoring service in a cloud computing environment, and describes data security requirements of the monitoring service including data scope, data lifecycle, data acquisition and data storage. This Recommendation can be used by cloud service providers (CSPs) who provide monitoring services to cloud service customers (CSCs).
+
+# 2 References
+
+None.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 authentication** [b-NIST-SP-800-53]: Verification of the identity of a user, process, or device, often as a prerequisite to allowing access to resources in an information system.
+
+**3.1.2 capability** [b-ISO/IEC 19440]: Quality of being able to perform a given activity.
+
+**3.1.3 cloud computing** [b-ITU-T Y.3500]: Paradigm for enabling network access to a scalable and elastic pool of shareable physical or virtual resources with self-service provisioning and administration on demand.
+
+NOTE – Examples of resources include servers, operating systems, networks, software, applications, and storage equipment.
+
+**3.1.4 cloud service** [b-ITU-T Y.3500]: One or more capabilities offered via cloud computing (see clause 3.1.3) invoked using a defined interface.
+
+**3.1.5 cloud service customer** [b-ITU-T Y.3500]: Party (see clause 3.1.15) which is in a business relationship for the purpose of using cloud services (see clause 3.1.4).
+
+NOTE – A business relationship does not necessarily imply financial agreements.
+
+**3.1.6 cloud service partner** [b-ITU-T Y.3500]: Party (see clause 3.1.15) which is engaged in support of, or auxiliary to, activities of either the cloud service provider (see clause 3.1.7) or the cloud service customer (see clause 3.1.5), or both.
+
+**3.1.7 cloud service provider** [b-ITU-T Y.3500]: Party (see clause 3.1.15) which makes cloud services (see clause 3.1.4) available.
+
+**3.1.8 cloud service user** [b-ITU-T Y.3500]: Natural person, or entity acting on their behalf, associated with a cloud service customer (see clause 3.1.5) that uses cloud services (see clause 3.1.4).
+
+NOTE – Examples of such entities include devices and applications.
+
+**3.1.9 Communications as a Service (CaaS)** [b-ITU-T Y.3500]: Cloud service category in which the capability provided to the cloud service customer (see clause 3.1.5) is real time interaction and collaboration.
+
+NOTE – CaaS can provide both application capabilities type and platform capabilities type.
+
+**3.1.10 community cloud** [b-ITU-T Y.3500]: Cloud deployment model where cloud services (see clause 3.1.4) exclusively support and are shared by a specific collection of cloud service customers (see clause 3.1.5) who have shared requirements and a relationship with one another, and where resources are controlled by at least one member of this collection.
+
+**3.1.11 hypervisor** [b-NIST-SP-800-125]: The virtualization component that manages the guest OSs on a host and controls the flow of instructions between the guest OSs and the physical hardware.
+
+**3.1.12 Infrastructure as a Service (IaaS)** [b-ITU-T Y.3500]: Cloud service category in which the cloud capabilities type provided to the cloud service customer (see clause 3.1.5) is an infrastructure capabilities type.
+
+NOTE – The cloud service customer (see clause 3.1.5) does not manage or control the underlying physical and virtual resources, but does have control over operating systems, storage, and deployed applications that use the physical and virtual resources. The cloud service customer (see clause 3.1.5) may also have limited ability to control certain networking components (e.g., host firewalls).
+
+**3.1.13 multi-tenancy** [b-ITU-T Y.3500]: Allocation of physical or virtual resources such that multiple tenants (see clause 3.1.24) and their computations and data are isolated from and inaccessible to one another.
+
+**3.1.14 Network as a Service (NaaS)** [b-ITU-T Y.3500]: Cloud service category in which the capability provided to the cloud service customer (see clause 3.1.5) is transport connectivity and related network capabilities.
+
+NOTE – NaaS can provide any of the three cloud capabilities types.
+
+**3.1.15 party** [b-ISO/IEC 27729]: Natural person or legal person, whether or not incorporated, or a group of either.
+
+**3.1.16 personally identifiable information** [b-ISO/IEC 29100]: Any information that (a) can be used to identify the PII principal to whom such information relates, or (b) is or might be directly or indirectly linked to a PII principal.
+
+**3.1.17 Platform as a Service (PaaS)** [b-ITU-T Y.3500]: Cloud service category in which the cloud capabilities type provided to the cloud service customer (see clause 3.1.5) is a platform capabilities type.
+
+**3.1.18 private cloud** [b-ITU-T Y.3500]: Cloud deployment model where cloud services (see clause 3.1.4) are used exclusively by a single cloud service customer (see clause 3.1.5) and resources are controlled by that cloud service customer (see clause 3.1.5).
+
+**3.1.19 public cloud** [b-ITU-T Y.3500]: Cloud deployment model where cloud services (see clause 3.1.4) are potentially available to any cloud service customer (see clause 3.1.5) and resources are controlled by the cloud service provider (see clause 3.1.7).
+
+**3.1.20 security domain** [b-ITU-T X.810]: A set of elements, a security policy, a security authority and a set of security-relevant activities in which the set of elements are subject to the security policy for the specified activities, and the security policy is administered by the security authority for the security domain.
+
+**3.1.21 security incident** [b-ITU-T E.409]: A security incident is any adverse event whereby some aspect of security could be threatened.
+
+**3.1.22 service level agreement (SLA)** [b-ISO/IEC 20000-1]: A documented agreement between the service provider and customer that identifies services and service targets.
+
+NOTE 1 – A service level agreement can also be established between the service provider and a supplier, an internal group or a customer acting as a supplier.
+
+NOTE 2 – A service level agreement can be included in a contract or another type of documented agreement.
+
+**3.1.23 Software as a Service (SaaS)** [b-ITU-T Y.3500]: Cloud service category in which the cloud capabilities type provided to the cloud service customer (see clause 3.1.5) is an application capabilities type.
+
+**3.1.24 tenant** [b-ITU-T Y.3500]: One or more cloud service users (see clause 3.1.8) sharing access to a set of physical and virtual resources.
+
+**3.1.25 threat** [b-ISO/IEC 27000]: A potential cause of an unwanted incident, which may result in harm to a system or organization.
+
+**3.1.26 vulnerability** [b-NIST-SP-800-30]: A weakness in an information system, system security procedures, internal controls, or implementation that could be exploited by a threat source.
+
+## **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following terms:
+
+**3.2.1 monitoring data:** Monitoring data is the output of the cloud monitor service, which helps cloud service provider (CSP) and cloud service customers (CSC) manage cloud platforms and cloud resources.
+
+**3.2.2 monitor service:** The monitor service activity monitors the delivered service quality with respect to service levels as defined in the service level agreement (SLA) between cloud service customer and cloud service provider.
+
+**3.2.3 necessary monitoring data:** Necessary monitoring data is used to maintain service level agreements (SLA). Necessary monitoring data could help cloud service provider (CSP) to keep cloud computing platforms security and stable. Necessary monitoring data could include, but is not limited to, management system monitoring data, physical resources monitoring data, network monitoring data and etc. Necessary monitoring data is mainly used by CSPs but could also be shared with cloud service customers (CSCs).
+
+**3.2.4 optional monitoring data:** Optional monitoring data is provided on the demand of cloud service customers (CSCs) and to provide cloud monitor service. Optional monitoring data could include, but is not limited to, virtual machine monitoring data, data storage service monitoring data, CSCs' application on cloud monitoring data and etc.
+
+**3.2.5 virtual machine (VM):** An efficient, isolated, logical duplicate of a real machine.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|-----------------------------------|
+| API | Application Programming Interface |
+| BCP | Business Continuity Plan |
+| CaaS | Communications as a Service |
+| CPU | Central Processing Unit |
+| CSC | Cloud Service Customer |
+| CSN | Cloud Service Partner |
+| CSP | Cloud Service Provider |
+| CSU | Cloud Service User |
+| DDOS | Distributed Denial of Service |
+| DNS | Domain Name System |
+| DOS | Denial of Service |
+
+| | |
+|------|------------------------------------------|
+| IaaS | Infrastructure as a Service |
+| IAM | Identity and Access Management |
+| ICT | Information and Communication Technology |
+| IP | Internet Protocol |
+| IT | Information Technology |
+| NaaS | Network as a Service |
+| OS | Operating System |
+| PaaS | Platform as a Service |
+| PII | Personally Identifiable Information |
+| PKI | Public Key Infrastructure |
+| SaaS | Software as a Service |
+| SIM | Subscriber Identity Module |
+| SLA | Service Level Agreement |
+| VM | Virtual Machine |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The keywords "**is required to**" indicate a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation is to be claimed.
+
+The keywords "**is recommended**" indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "**is prohibited from**" indicate a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation is to be claimed.
+
+The keywords "**can optionally**" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option, and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+# 6 Overview
+
+This Recommendation analyses data security requirements for the monitoring service of cloud computing including monitoring data scope, monitoring data lifecycle, security threats and challenges, and monitoring data security requirements of cloud computing.
+
+Monitoring data scope describes two types of cloud monitoring data: necessary and optional, and also explains the use cases.
+
+Monitoring data lifecycle, and the security threats and challenges, describe the content and security threats and challenges of cloud monitoring data collection, storage, use, migration, analysis, presentation, destruction and backup.
+
+Monitoring data security requirements describes the detailed requirements for each lifecycle stage of cloud monitoring data.
+
+# 7 Scope of monitoring data for cloud computing
+
+In a cloud computing environment, there are two types of monitoring data: necessary monitoring data and optional monitoring data.
+
+Necessary monitoring data is that which is used to maintain service level agreements (SLAs). Necessary monitoring data can help the CSP run the cloud computing platform securely and stably. Necessary monitoring data may include, but is not limited to, management system monitoring data, physical resources monitoring data and network monitoring data. Necessary monitoring data is mainly used by CSPs but could also be shared with CSCs.
+
+Optional monitoring data is that which is provided at the request of the CSC to provide the monitoring service by the CSP. Optional monitoring data may include, but is not be limited to, virtual machine monitoring data, data storage service monitoring data and the CSCs' data associated with the monitoring of their own application on cloud.
+
+
+
+The diagram consists of two overlapping circles. The left circle is labeled 'Necessary monitoring data (mainly used by CSPs)' and contains six boxes: 'Management system', 'Physical resources', 'Network', 'VMM', 'Security', and '....'. The right circle is labeled 'Optional monitoring data (mainly used by CSCs)' and contains six boxes: 'Virtual machine', 'Object storage', 'Virtual network', 'Database', 'Application', and '....'. The intersection of the two circles is shaded, indicating shared data.
+
+X.1603(18)\_F7-1
+
+Venn diagram showing the overlap between necessary and optional monitoring data.
+
+**Figure 7-1 – Use cases of two types of monitoring data**
+
+Necessary monitoring data is mainly used by CSPs, but could also be used by CSCs. For example, monitoring data of cloud physical resources is mainly used by CSPs to maintain the stability of the cloud platform, but could also be used by CSCs if the cloud-related physical resources were provided to the customers as a service.
+
+Optional monitoring data is provided as the request of CSCs and also mainly used by CSCs. CSPs could also use optional monitoring data to maintain SLAs. For example, CSCs could require the CSCs' data associated with the monitoring of their own applications in the cloud. This data is provided by CSP, and used to better manage their applications in the cloud. For example, a CSP could use database as a service (DBaaS) monitoring data to maintain the security and stability of database resources and service in cloud.
+
+The relationship of these two types of monitoring data is illustrated in Figure 7-1.
+
+# 8 Monitoring data lifecycle in cloud computing
+
+This clause describes the lifecycle of monitoring data in cloud computing and clarifies the main differences between it and lifecycle of other data in cloud computing.
+
+## **8.1 Monitoring data collection**
+
+Monitoring data collection results from the acquisition of monitoring data and the transmission of that data to a storage server. Most monitoring data is created by the use of the cloud service by the CSC. Necessary monitoring data can also be created by other cloud service monitoring activities.
+
+## **8.2 Monitoring data storage**
+
+After creating a monitoring data collection, cloud monitoring data can be stored in the CSC cloud resources locally, or in monitoring data storage servers of the CSP.
+
+## **8.3 Monitoring data use**
+
+Monitoring data can be used to maintain the performance and security of the cloud platform and the cloud service by the CSP; it can also be used to maintain cloud resources performance and security by CSCs.
+
+## **8.4 Monitoring data migration**
+
+When cloud resources are migrated, monitoring data can migrate along with the cloud resources.
+
+## **8.5 Monitoring data analysis**
+
+Monitoring data can be analyzed by the CSP and CSC to understand the status of the cloud platform resources in order to better manage and secure them.
+
+## **8.6 Monitoring data presentation**
+
+It is recommended that monitoring data be presentable in meaningful ways in order to be useful for better management of SLAs and cloud security. Since the volume of cloud monitoring data can be very large, is recommended that these data be summarized in a manageable and understandable way.
+
+### **8.7 Monitoring data destruction**
+
+To maintain monitoring data security, the CSP is required to destroy monitoring data as CSCs demand.
+
+CSPs can optionally destroy monitoring data after an appropriate period of time after monitoring data creation.
+
+## **8.8 Monitoring data backup**
+
+It is required to create monitoring data backups and to restore data from backups.
+
+# **9 Security threats and challenges for monitoring data of cloud computing**
+
+The security threats and challenges for cloud computing, clauses 7 and 8 respectively in [b-ITU-T X.1601], have provided the security threats and challenges for the CSC and CSP in cloud computing; cloud monitoring data also faces similar security threats and challenges that are defined in [b-ITU-T X.1601]. Some of these security threats and challenges for cloud monitoring data include but are not limited to those shown below:
+
+- a) data loss and leakage;
+- b) insecure service access;
+- c) unauthorized administration access;
+- d) insider threats;
+- e) loss of trust;
+- f) loss of governance;
+
+- g) loss of confidentiality;
+- h) service unavailability;
+- i) misappropriation of intellectual property;
+- j) shared environment;
+- k) jurisdictional conflict;
+- l) bad migration and integration.
+
+For each monitoring data lifecycle stage, cloud monitoring data face some particular security threats and challenges.
+
+## **9.1 Security threats and challenges in monitoring data collection stage**
+
+- a) data collection without authorization: A CSP or attackers may collect the CSC's monitoring data without permission or authorization.
+- b) acquisition interface vulnerability: Attackers may use a monitoring data acquisition interface vulnerability.
+- c) spoofing: Attackers could masquerade as the management system, or data storage server, of cloud monitoring service, and cause the loss of monitoring data.
+- d) tampering and intercepting: Attackers could use man-in-the-middle or other network attacks to tamper with, or intercept monitoring data.
+- e) insecure service access: In the monitoring data collection stage, insecure access to the data collection interfaces could cause monitoring data loss.
+- f) unauthorized administration access: Unauthorized administration access to the CSP's monitoring data collection system, or the CSC's system could result in monitoring data loss. For example, attackers may use a system vulnerability to gain unauthorized administration access to the CSC's system and modify the monitoring collection destination IP address to that of the attackers.
+
+## **9.2 Security threats and challenges in monitoring data storage stage**
+
+- a) data loss and leakage: As the cloud service environment is typically a multi-tenant one, loss or leakage of data is a serious threat to both the CSC and CSP. A lack of appropriate management of cryptographic information, such as encryption keys, authentication codes and access privilege, could lead to significant damages, such as data loss and unexpected leakage to the outside. For example, insufficient authentication, authorization, and audit controls; inconsistent use of encryption and/or authentication keys; operational failures; disposal problems; jurisdiction and political issues; data centre reliability; and disaster recovery, can be recognized as major threats.
+- b) service unavailability: A monitoring data storage server can be attacked by a denial of service (DoS) or distributed denial of service (DDoS) attack; in addition, the monitoring data storage hardware could fail and cause data loss or destruction.
+
+## **9.3 Security threats and challenges in monitoring data use stage**
+
+- a) data misuse: CSC monitoring data could be misused by the CSP. Monitoring data could be used by a CSP to maintain SLA and the operation of cloud computing platform and resources; however, CSC monitoring data could also be used for other purposes by the CSP without CSC permission.
+- b) insider threats: An employee of a CSP or CSC could misuse the CSC's monitoring data for other than intended purposes.
+- c) system vulnerability: Monitoring data could be lost during data usage due to system vulnerabilities.
+
+- d) eavesdropping: Monitoring data could be subject to eavesdropping by attackers.
+
+## **9.4 Security threats and challenges in monitoring data migration stage**
+
+- a) data misuse: Monitoring data could migrate between different physical locations. It is very important not to allow data to be misused as a result of monitoring data being transmitted to different locations.
+- b) spoofing: Attackers could masquerade as the management system or data storage server of a cloud monitoring service, and cause the loss or misuse of monitoring data.
+- c) tampering and intercepting: Attackers could use man-in-the-middle or other network attacks to tamper and intercept monitoring data.
+
+## **9.5 Security threats and challenges in monitoring data analysis stage**
+
+- a) data misuse: CSC monitoring data could be misused by the CSP during data analysis.
+- b) system vulnerability: Monitoring data could be lost due to a data analysis system vulnerability.
+- c) DoS attack: A monitoring data analysis server could be attacked by DoS or DDoS attack.
+
+### **9.6 Security threats and challenges in monitoring data presentation stage**
+
+- a) data misuse: CSC monitoring data could be misused (or be presented without CSC permission) by the CSP during data presentation.
+- b) system vulnerability: Reporting and analysis data could be lost due to a data presentation system vulnerability.
+- c) misrepresentation: CSC monitoring data could be misrepresented during a data presentation.
+
+## **9.7 Security threats and challenges in monitoring data destruction stage**
+
+- a) spoofing: Attackers could masquerade as the management system of the cloud monitoring service and cause the loss of other monitoring data.
+- b) operating system vulnerability: Monitoring data could be lost during data usage due to a system vulnerability.
+
+## **9.8 Security threats and challenges in monitoring data backup stage**
+
+- a) operating system vulnerability: Monitoring data could be lost during the data backup and result in the inability to restore data due to a system vulnerability.
+
+# **10 Security requirements for monitoring data of cloud computing**
+
+This clause identifies the data security requirements for the monitoring service of cloud computing.
+
+## **10.1 Security requirements for monitoring data collection**
+
+The data security requirements for the monitoring data collection include the following:
+
+- a) optional monitoring data is required to be created only by CSC request;
+- b) it is recommended to provide notification to the CSC when necessary monitoring data is created;
+- c) it is recommended to notify the CSC of the scope of monitoring data;
+- d) it is required to maintain integrity and accuracy of monitoring data;
+- e) it is recommended to use standard data acquisition techniques;
+- f) it is recommended to provide access control methods to the interfaces of monitoring data acquisition such as white list, black list, etc.;
+
+- g) it is recommended to provide cryptographic methods to ensure the security of the monitoring data acquisition interface;
+- h) it is recommended to use standard network protocols between the cloud resources and monitoring data storage servers.
+
+Table 10-1 provides a summary mapping of monitoring data collection security threats to security requirements.
+
+**Table 10-1 – Monitoring data collection: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|---------------------------------------|------------------------|
+| Data collection without authorization | a), b), c) |
+| Acquisition interface vulnerabilities | d), e), f), g) |
+| Spoofing | d), e), f), g), h) |
+| Tampering and interception | h) |
+| Insecure service access | b), d), e), f), g), h) |
+| Unauthorized administrative access | d), e), f), g), h) |
+
+## 10.2 Security requirements for monitoring data storage
+
+The data security requirements for the monitoring data storage include the following:
+
+- a) it is recommended that the CSP provide the appropriate access control methods to the monitoring data storage servers;
+- b) it is recommended that the CSP identify the maximum period of time for monitoring data retention;
+- c) it is recommended that the CSP provide appropriate encryption methods for monitoring data.
+
+Table 10-2 provides a summary mapping of monitoring data storage security threats to security requirements.
+
+**Table 10-2 – Monitoring data storage: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|------------------------|-----------------------|
+| Data loss and leakage | a), b), c) |
+| Service unavailability | a), c) |
+
+## 10.3 Security requirements for monitoring data use
+
+The data security requirements for the monitoring data use include the following:
+
+- a) it is required that the CSP clearly identify how the monitoring data is going to be used to the CSC;
+- b) it is recommended that the CSP provide a formal monitoring data use declaration to the CSC, such as that illustrated in Figure 10-1.
+
+
+
+```
+
+graph LR
+ A([Monitoring data category]) -- from --> B([Source scope])
+ B -- "is used by" --> C([Use scope])
+ C -- to --> D([Purpose])
+ D -- the --> E([Result scope])
+
+```
+
+X.1603(18)\_F10-1
+
+Figure 10-1: Recommended monitoring data use declaration diagram. It shows a flow from 'Monitoring data category' to 'Source scope' (connected by 'from'), then 'Source scope' to 'Use scope' (connected by 'is used by'), then 'Use scope' to 'Purpose' (connected by 'to'), and finally 'Purpose' to 'Result scope' (connected by 'the').
+
+**Figure 10-1 – Recommended monitoring data use declaration**
+
+- c) it is required that the CSP provide notification and obtain CSC permission prior to the use of monitoring data for other than intended purpose;
+- d) it is required that the CSP support logging and auditing of monitoring data usage.
+
+Table 10-3 provides a summary mapping of monitoring data use security threats to security requirements.
+
+**Table 10-3 – Monitoring data use: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|------------------------|-----------------------|
+| Data misuse | a), b), c), d) |
+| Insider threats | a), b), c), d) |
+| System vulnerabilities | d) |
+| Eavesdropping | d) |
+
+## 10.4 Security requirements for monitoring data migration
+
+The data security requirements for the monitoring data migration include the following:
+
+- a) it is recommended that the CSP provide notification to the CSC of monitoring data migration;
+- b) it is required that the CSP ensure secure transmission during monitoring data migration;
+- c) it is required that the CSP support logging and auditing of monitoring data migration operations.
+
+Table 10-4 provides a summary mapping of monitoring data migration security threats to security requirements.
+
+**Table 10-4 – Monitoring data migration: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|----------------------------|-----------------------|
+| Data misuse | a), c) |
+| Spoofing | b), c) |
+| Tampering and intercepting | b), c) |
+
+## 10.5 Security requirements for monitoring data analysis
+
+The data security requirements for the monitoring data analysis include the following:
+
+- a) it is required that the CSP provide notification regarding the purpose of monitoring data analysis to the CSC;
+- b) it is required that the CSP implement defenses against the vulnerabilities of monitoring data analysis system, for example the CSP should prevent data loss and leakage in the monitoring data analysis system;
+
+Table 10-5 provides a summary mapping of monitoring data analysis security threats to security requirements.
+
+**Table 10-5 – Monitoring data analysis: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|----------------------|-----------------------|
+| Data misuse | a) |
+| System vulnerability | b) |
+
+**Table 10-5 – Monitoring data analysis: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|------------------|-----------------------|
+| DoS attack | b) |
+
+## **10.6 Security requirements for monitoring data presentation**
+
+The data security requirements for the monitoring data presentation include the following:
+
+- a) it is required that the CSP maintain the integrity and accuracy of presented monitoring data;
+- b) it is required that the CSP implement authentication methods to protect access the monitoring data presentation;
+- c) it is required that the CSP support defenses against the vulnerabilities of the monitoring data presentation system, for example the CSP could use penetration testing methods to prevent vulnerabilities of the monitoring data presentation system.
+
+Table 10-6 provides a summary mapping of monitoring data presentation security threats to security requirements.
+
+**Table 10-6 – Monitoring data presentation: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|----------------------|-----------------------|
+| Data misuse | a), b) |
+| System vulnerability | b), c) |
+| Misrepresentation | a), b), c) |
+
+## **10.7 Security requirements for monitoring data destruction**
+
+The data security requirements for the monitoring data destruction include the following:
+
+- a) it is required that the CSP provide appropriate destruction methods for monitoring data;
+- b) it is required that the CSP prevent the unintended destruction of monitoring data;
+- c) it is required that the CSP prevent the incomplete destruction of monitoring data;
+- d) it is required that the CSP erase any CSC specific keys for encrypted data;
+- e) it is required that the CSP destroy copies of monitoring data;
+- f) it is required that the CSP provide notification of monitoring data destruction to the CSC.
+
+Table 10-7 provides a summary mapping of monitoring data destruction security threats to security requirements.
+
+**Table 10-7 – Monitoring data destruction: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|--------------------------------|------------------------|
+| Spoofting | a), b), c), d), e), f) |
+| Operating system vulnerability | b), c), d), e), f) |
+
+## 10.8 Security requirements for monitoring data backup
+
+The data security requirements for the monitoring data backup include the following:
+
+- a) it is required that the CSP provide backup methods to prevent monitoring data loss;
+- b) it is required that the CSP maintain the integrity and accuracy of restored monitoring data;
+- c) it is required that the CSP support logging and auditing of monitoring data restoration.
+
+Table 10-8 provides a summary mapping of monitoring data backup security threats to security requirements.
+
+**Table 10-8 – Monitoring data backup: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|--------------------------------|-----------------------|
+| Operating system vulnerability | a), b), c) |
+
+# Bibliography
+
+- [b-ITU-T E.409] Recommendation ITU-T E.409 (2004), *Incident organization and security incident handling: Guidelines for telecommunication organizations*.
+- [b-ITU-T X.810] Recommendation ITU-T X.810 (1995), *Information technology – Open System Interconnection – Security frameworks for open system: Overview*.
+- [b-ITU-T X.1601] Recommendation ITU-T X.1601 (2015), *Security framework for cloud computing*.
+- [b-ITU-T Y.3500] Recommendation ITU-T Y.3500 (2014), *Information technology – Cloud computing – Overview and vocabulary*.
+- [b-ITU-T Y.3502] Recommendation ITU-T Y.3502 (2014), *Information technology – Cloud computing – Reference architecture*.
+- [b-ISO/IEC 19440] ISO/IEC 19440 (2007), *Enterprise integration – Constructs for enterprise modelling*.
+- [b-ISO/IEC 19944] ISO/IEC 19944 (2016), *Information technology – Cloud services and devices: data flow, data categories and data use*.
+- [b-ISO/IEC 20000-1] ISO/IEC 20000-1 (2011), *Information technology – Service management – Part 1: Service management system requirements*.
+- [b-ISO/IEC 27000] ISO/IEC 27000 (2016), *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+- [b-ISO/IEC 27729] ISO/IEC 27729 (2012), *Information and documentation – International standard name identifier (ISNI)*.
+- [b-ISO/IEC 29100] ISO/IEC 29100 (2011), *Information technology – Security techniques – Privacy framework*.
+- [b-NIST-SP-800-30] NIST Special Publication 800-30 (2012), *Guide for Conducting Risk Assessments*.
+- [b-NIST-SP-800-53] NIST Special Publication 800-53 Rev. 3 (2013), *Recommended Security Controls for Federal Information Systems and Organizations*.
+- [b-NIST-SP-800-125] NIST Special Publication 800-125 (2011), *Guide to Security for Full Virtualization Technologies*.
+- [b-NIST-SP-800-145] NIST Special Publication 800-145 (2011), *The NIST Definition of Cloud Computing*.
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1604-202003-I_PDF-E/raw.md b/marked/X/T-REC-X.1604-202003-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..8e082cd51a24fe62d70e7581948ab98d1dcb0228
--- /dev/null
+++ b/marked/X/T-REC-X.1604-202003-I_PDF-E/raw.md
@@ -0,0 +1,436 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1604
+
+(03/2020)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Cloud computing security – Cloud computing security
+design
+
+# --- **Security requirements of Network as a Service (NaaS) in cloud computing**
+
+Recommendation ITU-T X.1604
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | X.1700–X.1729 |
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# Recommendation ITU-T X.1604
+
+# Security requirements of Network as a Service (NaaS) in cloud computing
+
+## Summary
+
+Recommendation ITU-T X.1604 analyses security threats and challenges on Network as a Service (NaaS) in cloud computing and specifies security requirements of NaaS in NaaS application, NaaS platform and NaaS connectivity aspects based on corresponding cloud capability types.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|------------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1604 | 2020-03-26 | 17 | 11.1002/1000/14093 |
+
+## Keywords
+
+Cloud, Network as a Service, security requirements.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2020
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|------------------------------------------------------------------------------------|-------------|
+| 1 Scope..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 Overview..... | 3 |
+| 7 Security threats and challenges of Network as a Service in cloud computing ..... | 4 |
+| 7.1 Security threats and challenges of NaaS application..... | 4 |
+| 7.2 Security threats and challenges of NaaS platform..... | 4 |
+| 7.3 Security threats and challenges of NaaS connectivity..... | 5 |
+| 8 Security requirements for NaaS application ..... | 5 |
+| 8.1 Security requirements for NaaS application..... | 5 |
+| 8.2 Security requirements for NaaS platform..... | 6 |
+| 8.3 Security requirements for NaaS connectivity..... | 7 |
+| Bibliography..... | 8 |
+
+
+
+# Recommendation ITU-T X.1604
+
+## Security requirements of Network as a Service (NaaS) in cloud computing
+
+# 1 Scope
+
+This Recommendation analyses security threats and challenges on Network as a Service (NaaS) in cloud computing, and specifies security requirements of NaaS in NaaS application, NaaS platform and NaaS connectivity aspects based on corresponding cloud capability types.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.1601] Recommendation ITU-T X.1601 (2015), *Security framework for cloud computing*.
+- [ITU-T Y.3500] Recommendation ITU-T Y.3500 (2014) | ISO/IEC 17788:2014, *Information technology – Cloud computing – Overview and Vocabulary*.
+- [ITU-T Y.3512] Recommendation ITU-T Y.3512 (2014), *Cloud computing – Functional requirements of Network as a Service*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+- 3.1.1 access control** [b-ITU-T X.800]: The prevention of unauthorized use of a resource, including the prevention of use of a resource in an unauthorized manner.
+- 3.1.2 authentication** [b-ISO/IEC 18014-2]: Provision of assurance in the identity of an entity.
+- 3.1.3 authorization** [b-ITU-T X.1251]: The authorization service is designed to make decisions regarding the user's access rights and enforce authorization decisions according to the user's privileges. Authorization is an optional service; it is only provided when access to resources needs to be controlled based on the user's rights.
+- 3.1.4 confidentiality** [b-ITU-T X.800]: The property that information is not made available or disclosed to unauthorized individuals, entities, or processes.
+- 3.1.5 data integrity** [b-ITU-T X.800]: The property that data has not been altered or destroyed in an unauthorized manner.
+- 3.1.6 firewall** [b-ISO/IEC 27033-1]: Type of security barrier placed between network environments – consisting of a dedicated device or a composite of several components and techniques – through which all traffic from one network environment traverses to another, and vice versa, and only authorized traffic, as defined by the local security policy, is allowed to pass.
+- 3.1.7 intrusion detection system** [b-ISO/IEC 27039]: Information systems used to identify that an intrusion has been attempted, is occurring, or has occurred.
+
+**3.1.8 key** [b-ITU-T X.800]: A sequence of symbols that controls the operations of encipherment and decipherment.
+
+**3.1.9 key management** [b-ITU-T X.800]: The generation, storage, distribution, deletion, archiving and application of keys in accordance with a security policy.
+
+**3.1.10 public-key certificate (PKC)** [b-ITU-T X.509]: The public key of an entity, together with some other information, rendered unforgeable by digital signature with the private key of the certification authority (CA) that issued it.
+
+**3.1.11 threat** [b-ISO/IEC 27000]: Potential cause of an unwanted incident, which may result in harm to a system or organization.
+
+## **3.2 Terms defined in this Recommendation**
+
+None.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|------------------------------------|
+| BoD | Bandwidth on Demand |
+| CSC | Cloud Service Customer |
+| CSP | Cloud Service Provider |
+| DDoS | Distributed Denial of Service |
+| DoS | Denial of Service |
+| NaaS | Network as a Service |
+| SNMP | Simple Network Management Protocol |
+| vCDN | virtual Content Delivery Network |
+| vEPC | virtualized Evolved Packet Core |
+| vFW | virtual Firewall |
+| VPN | Virtual Private Network |
+
+# **5 Conventions**
+
+In this Recommendation:
+
+The keywords "**is required to**" indicate a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation is to be claimed.
+
+The keywords "**is recommended**" indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "**is prohibited from**" indicate a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation is to be claimed.
+
+The keywords "**can optionally**" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option, and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+# 6 Overview
+
+According to [ITU-T Y.3500], a cloud service category is a group of cloud services that proposes a common set of quantities. Network as a Service (NaaS) is one of the cloud service categories in which the capability provided to the cloud service customer (CSC) is transport connectivity and any related network capabilities.
+
+As defined in [ITU-T Y.3512], NaaS services can provide any of the following three cloud capabilities: NaaS application service, NaaS platform service and NaaS connectivity service.
+
+- **NaaS application service** provides a CSC cloud network application such as virtual router, virtual content delivery network (vCDN), virtualized evolved packet core (vEPC) and virtual firewall (vFW).
+- **NaaS platform service** provides a CSC network platform that offers a programmable environment for network functionalities.
+- **NaaS connectivity service** provides CSC provisioning and uses networking connectivity resources such as flexible and extended virtual private network (VPN), bandwidth on demand (BoD), etc.
+
+The high-level concept of NaaS can be described as shown in Figure 1.
+
+
+
+Figure 1: High-level concept of NaaS. The diagram shows a four-layer architecture. From top to bottom: 1. User layer (orange box). 2. Access layer (orange box). 3. Service layer (orange box containing a pink box labeled 'NaaS Application/platform/connectivity'). 4. Resource layer (orange box containing a grey box labeled 'Physical/virtual resources (Processing, storage and networking)'). Three pink double-headed arrows connect the Service layer box to the Resource layer box, indicating bidirectional interaction.
+
+X.1604(20)\_F01
+
+**Figure 1 – High-level concept of NaaS**
+
+By using these three kinds of networking services, NaaS can provide network functions in cloud computing including: coordination of compute and storage virtualization with network capabilities, harmonized control of heterogeneous network technologies and on-demand reconfiguration.
+
+On the other hand, NaaS also faces several security challenges:
+
+- **Security threats and challenges on NaaS application:** A NaaS application service is to provide virtual network applications to CSC by CSP, such as virtual firewall (vFW), virtual router, virtual delivery network (vCDN), etc. A NaaS application service faces security challenges on application security vulnerabilities, security risks of network virtualization, shared use of physical network devices, etc.
+- **Security threats and challenges on NaaS platform:** A NaaS platform service is to provide software environments and a platform to manage, deploy and run network applications to CSC by the CSP. Security challenges on NaaS platform includes, but are not limited to, DoS attacks on network platforms, security vulnerabilities of operating systems, broken access control, etc.
+- **Security threats and challenges on NaaS connectivity:** A NaaS connectivity service is to provide network connection to CSC by the CSP, such as virtual private network (VPN),
+
+bandwidth on demand (BoD), etc. A security problem of the connectivity service causes risks not only to the NaaS services, but also to other cloud resources and to data of the CSC. Security challenges on NaaS connectivity service includes, but are not limited to, eavesdropping, man in the middle attack, etc.
+
+This Recommendation analyses security requirements for NaaS in cloud computing, including NaaS application, NaaS platform and NaaS connectivity.
+
+# **7 Security threats and challenges of Network as a Service in cloud computing**
+
+Clauses 7 and 8 in [ITU-T X.1601] document security threats and challenges for CSC and CSP in cloud computing respectively. NaaS in cloud also faces similar security threats and challenges to those defined in [ITU-T X.1601] as shown below:
+
+- a) system vulnerabilities;
+- b) data loss and leakage;
+- c) insecure service access;
+- d) unauthorized administration access;
+- e) insider threats;
+- f) loss of trust;
+- g) loss of governance;
+- h) loss of confidentiality;
+- i) service unavailability; and
+- j) shared environment.
+
+For each cloud capability, NaaS in cloud computing faces particular security threats and challenges.
+
+## **7.1 Security threats and challenges of NaaS application**
+
+- a) Network and system vulnerabilities: Potential security vulnerabilities of NaaS application could be exploited by attackers. Technical defects of NaaS application virtualization could cause several security risks; in addition, immature operation and maintenance technology could result in risks being more serious.
+- b) Shared use of physical network devices: As physical network devices are shared, data on one shared device could be lost, leaked or misused.
+- c) Insecure access: Insecure access to NaaS application could cause application data to be lost, leaked or misused.
+- d) Unauthorized administration access: Unauthorized administration access to the NaaS application could result in data loss.
+- e) Application unavailability: A NaaS application can be attacked by a denial of service (DoS) or distributed denial of service (DDoS) attack; in addition, the attack could cause hardware equipment to be damaged and cause data loss or destruction.
+
+## **7.2 Security threats and challenges of NaaS platform**
+
+- a) DoS attacks on network platform: When one or more platforms have been subjected to denial of service (DoS) attacks, the platform and other virtualized platforms cannot respond because of CPU and memory transition consumption.
+- b) Security vulnerabilities of operating system: Data on NaaS platforms could be lost; in addition, security vulnerabilities of operating systems could cause viruses to spread and other serious security risks.
+- c) Broken access control: Broken access control could cause data to be lost, leaked or misused.
+
+- d) Network platform unavailability: Unavailability of a NaaS platform could result in unavailability of NaaS services, so related NaaS applications and NaaS connectivity may not work as well.
+- e) Unauthorized administration access: Unauthorized administration access to the NaaS platform could result in data to be lost, leaked or misused. For example, attackers may use a system vulnerability to gain unauthorized administration access to the NaaS platform and modify the data collection destination IP address to that of the attacker's.
+- f) Insider employee threats: If a NaaS service's customer is a company or organization, not a person, the organization's employees share the "administration" passwords, and so does the NaaS service provider. Careless or inadequately trained users (or family members in a consumer setting), or malicious action by disgruntled employees will always pose a significant threat.
+
+## **7.3 Security threats and challenges of NaaS connectivity**
+
+- a) Eavesdropping: Connection data and transmission data could be subject to eavesdropping by attackers.
+- b) Network connection attack: Network attacks may occur during network connection, such as man in the middle attacks, DoS attacks, etc.
+- c) Data loss and leakage: When using NaaS services, NaaS customers usually use the network provided by NaaS providers to transport data. This data may involve personal privacy, trade secrets and political issues. So data leakage is a serious threat to NaaS users.
+- d) Spoofing: Attackers could masquerade as the management system, or data storage server of a NaaS of cloud computing, and this can cause the loss of connection or transmission data.
+- e) Tampering and intercepting: Damaged network equipment, hacker intrusion and bankruptcy of a NaaS service provider are likely to cause data loss that cannot be recovered. In addition, hackers can also tamper with data if they successfully enter the network.
+- f) Insecure network access: Insecure network access could cause connection or transmission data to be lost, leaked or misused.
+- g) Insecure identity authentication: Insecure identity authentication could result in connection or transmission data to be lost, leaked or misused.
+- h) Network unavailability: The NaaS connectivity network could be attacked by a DoS or DDoS attack; in addition, DoS or DDoS attacks could cause servers of NaaS in cloud computing to crash.
+- i) Acquisition interface vulnerability: Attackers may use a monitoring data acquisition to exploit interface vulnerabilities.
+- j) Unauthorized administration access: Unauthorized administration access to a NaaS connectivity system could result in transmission data loss.
+
+# **8 Security requirements for NaaS application**
+
+This clause identifies the security requirements for NaaS of cloud computing.
+
+## **8.1 Security requirements for NaaS application**
+
+The security requirements for NaaS application include the following:
+
+- a) It is required to maintain integrity and accuracy of NaaS application data.
+- b) It is recommended to provide access control methods to NaaS application data such as white lists, black lists, etc.;
+
+- c) It is recommended that the CSP provides the appropriate access control methods to the CSC, such as white/black list, account and password, etc., to prevent unauthorized users from accessing systems or data. The common access control solutions for cloud computing are in [ITU-T X.1601].
+- d) It is required that the CSP supports the logging and auditing of NaaS application usage.
+- e) it is required that the CSP supports defences against the vulnerabilities of the NaaS application system; for example, the CSP could use penetration testing methods to prevent vulnerabilities of the NaaS application system.
+- f) It is required that the CSP provides backup methods to prevent NaaS application data loss, such as back up using physical disks, distributed data storage methods, etc. Common back up methods are described in [ITU-T X.1601].
+
+Table 8-1 provides a summary mapping of NaaS application security threats to security requirements.
+
+**Table 8-1 – NaaS application: Security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|------------------------------------------|-----------------------|
+| Application security vulnerabilities | b), d), e), f) |
+| Security risks of network virtualization | a), b), c), d), f) |
+| Shared use of physical network devices | a), b), c), d), f) |
+| Insecure access | b), c), d), e), f) |
+| Unauthorized administration access | b), c), d), f) |
+| Application unavailability | d), e), f) |
+
+## 8.2 Security requirements for NaaS platform
+
+The security requirements for a NaaS platform include the following:
+
+- a) It is required to maintain integrity and accuracy of NaaS platform data.
+- b) It is recommended to provide access control methods to NaaS platform data such as white lists, black lists, etc.
+- c) It is recommended that the CSP provides the appropriate access control methods to the CSC, such as white/black list, account and password, etc., to prevent unauthorized users from accessing systems or data. The common access control solutions for cloud computing are described in [ITU-T X.1601].
+- d) It is required that the CSP supports the logging and auditing of NaaS platform usage.
+- e) It is required that the CSP implements defences against the vulnerabilities of the NaaS platform system; for example, the CSP should prevent data loss and leakage on the NaaS platform.
+- f) It is required that the CSP provides backup methods to prevent NaaS platform data loss, such as back up using physical disks, distributed data storage methods, etc. Common back up methods are described in [ITU-T X.1601].
+
+Table 8-2 provides a summary mapping of NaaS platform security threats to security requirements.
+
+**Table 8-2 – NaaS platform: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|----------------------------------------------|------------------------|
+| DoS attacks on network platform | a), b), c), d), e), f) |
+| Security vulnerabilities of operating system | a), b), d), e), f) |
+| Broken access control | a), b), c), d), e), f) |
+| Network platform unavailability | a), d), e), f) |
+| Unauthorized administration access | b), c), d), f) |
+| Insider employees threats | b), d), f) |
+
+## 8.3 Security requirements for NaaS connectivity
+
+The security requirements for NaaS connectivity include the following:
+
+- a) It is required to maintain integrity and accuracy of NaaS connectivity data.
+- b) It is recommended to provide access control methods to the interfaces of NaaS connectivity such as white lists, black lists, etc.
+- c) It is recommended to provide cryptographic methods to ensure the security of the connection and transmission data.
+- d) It is recommended to use standard network protocols between the cloud resources and NaaS connectivity servers, such as Simple Network Management Protocol (SNMP) or other standard network protocols.
+- e) It is recommended that the CSP provides the appropriate access control methods to the CSC, such as white/black list, account and password, etc, to prevent unauthorized users from accessing systems or data. The common access control solutions for cloud computing are in [b-ITU-T X.1601].
+- f) It is required that the CSP supports the logging and auditing of NaaS connectivity usage.
+- g) It is required that the CSP implements authentication methods to protect access to the NaaS connectivity data, such as two-factor authentication or other methods. Common authentication methods for cloud computing are described in [ITU-T X.1601].
+- h) It is required that the CSP supports defences against the vulnerabilities of the NaaS connectivity system. For example, the CSP could use penetration testing methods to prevent vulnerabilities of the NaaS connectivity system.
+
+Table 8-3 provides a summary mapping of NaaS platform security threats to security requirements.
+
+**Table 8-3 – NaaS connectivity: security threats mapping to security requirements**
+
+| Security threats | Security requirements |
+|-------------------------------------|-------------------------------|
+| Eavesdropping | b), c), d), e), f), g) h) |
+| Network connection attack | d), f), h) |
+| Data loss and leakage | a), b), c), d), e), f), g) h) |
+| Spoofing | a), b), d), e), f), g) h) |
+| Tampering and intercepting | a), b), c), d), e), f), g) h) |
+| Insecure network access | b), c), d), e), f), g) h) |
+| Insecure identity authentication | b), c), e), f), g) h) |
+| Network unavailability | d), f), h) |
+| Acquisition interface vulnerability | a), b), c), d), f), h) |
+| Unauthorized administration access | c), f), g) |
+
+# Bibliography
+
+- [b-ITU-T E.409] Recommendation ITU-T E.409 (2004), *Incident organization and security incident handling: Guidelines for telecommunication organizations*.
+- [b-ITU-T X.509] Recommendation ITU-T X.509 (2019) | ISO/IEC 9594-8:2020, *Information technology – Open Systems Interconnection – The Directory: Public-key and attribute certificate frameworks*.
+- [b-ITU-T X.800] Recommendation ITU-T X.800 (1991) | ISO/IEC 7498-2:1989, *Security architecture for Open Systems Interconnection for CCITT applications*.
+- [b-ITU-T X.810] Recommendation ITU-T X.810 | ISO/IEC 10181-1 :1995, *Information technology – Open System Interconnection – Security frameworks for open systems: Overview*.
+- [b-ITU-T X.1251] Recommendation ITU-T X.1251 (2019), *Use cases for structured threat information expression*.
+- [b-ITU-T Y.3502] Recommendation ITU-T Y.3502 | ISO/IEC 17789:2014, *Information technology – Cloud computing – Reference architecture*.
+- [b-ISO/IEC 18014-2] ISO/IEC 18014-2:2009, *Information technology – Security techniques – Time-stamping services – Part 2: Mechanisms producing independent tokens*.
+- [b-ISO/IEC 19440] ISO/IEC 19440:2007, *Enterprise integration – Constructs for enterprise modelling*.
+- [b-ISO/IEC 19944] ISO/IEC 19944:2017, *Information technology – Cloud services and devices: data flow, data categories and data use*.
+- [b-ISO/IEC 20000-1] ISO/IEC 20000-1:2011, *Information technology – Service management – Part 1: Service management system requirements*.
+- [b-ISO/IEC 27000] ISO/IEC 27000:2018, *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+- [b-ISO/IEC 27033-1] ISO/IEC 27033-1:2015, *Information technology – Security techniques – Network security – Part 1: Overview and concepts*.
+- [b-ISO/IEC 27039] ISO/IEC 27039:2015, *Information technology – Security techniques – Selection, deployment and operations of intrusion detection and prevention systems (IDPS)*.
+- [b-ISO/IEC 27729] ISO/IEC 27729:2012, *Information and documentation – International standard name identifier (ISNI)*.
+- [b-ISO/IEC 29100] ISO/IEC 29100:2011, *Information technology – Security techniques – Privacy framework*.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1605-202003-I_PDF-E/raw.md b/marked/X/T-REC-X.1605-202003-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..e437fce5a5623a54701246d7186000f276dfb988
--- /dev/null
+++ b/marked/X/T-REC-X.1605-202003-I_PDF-E/raw.md
@@ -0,0 +1,586 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1605
+
+(03/2020)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Cloud computing security – Cloud computing security
+design
+
+# --- **Security requirements of public Infrastructure as a Service (IaaS) in cloud computing**
+
+Recommendation ITU-T X.1605
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | X.1700–X.1729 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.1605
+
+# Security requirements of public Infrastructure as a Service (IaaS) in cloud computing
+
+## Summary
+
+Infrastructure as a Service (IaaS) platforms and virtualized services face different, and perhaps more, challenges and threats than traditional information technology infrastructure and application. IaaS platforms that share computing, storage and networking services need protections specific to threats in an IaaS environment. Recommendation ITU-T X.1605 documents security requirements of public IaaS in order to help IaaS providers to improve security of the IaaS platform throughout the planning, building and operating stages.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1605 | 2020-03-26 | 17 | 11.1002/1000/14094 |
+
+## Keywords
+
+Cloud computing, IaaS, security requirement, virtual resources.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2020
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|-----------------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 3 |
+| 6 Overview ..... | 3 |
+| 7 Security challenges for the IaaS environment ..... | 5 |
+| 8 Security requirements of the IaaS access layer..... | 6 |
+| 8.1 Security requirements for web access ..... | 6 |
+| 8.2 Security requirements for API access..... | 6 |
+| 9 Security requirements of the IaaS service layer ..... | 6 |
+| 9.1 Security requirements for computing service..... | 7 |
+| 9.2 Security requirements for storage service ..... | 7 |
+| 9.3 Security requirements for networking service..... | 7 |
+| 10 Security requirements of the IaaS resource layer ..... | 8 |
+| 10.1 Security requirements for resource abstraction and control ..... | 8 |
+| 10.2 Security requirement for physical resource ..... | 9 |
+| 11 Security management requirements..... | 10 |
+| 11.1 IdM and access control..... | 10 |
+| 11.2 Security audit..... | 11 |
+| 11.3 Vulnerability management ..... | 12 |
+| 11.4 Emergency response ..... | 12 |
+| 11.5 Disaster recovery ..... | 12 |
+| 11.6 Backup..... | 13 |
+| Bibliography..... | 14 |
+
+
+
+# Recommendation ITU-T X.1605
+
+# Security requirements of public Infrastructure as a Service (IaaS) in cloud computing
+
+# 1 Scope
+
+This Recommendation analyses security challenges faced by Infrastructure as a Service (IaaS) providers in IaaS environments, and specifies security requirements of public IaaS in cloud computing. This Recommendation is applicable for public IaaS providers.
+
+This is a high-level description of the security requirements of IaaS implementation. Detailed implementation guidance is out of scope for this document.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- | | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| [ITU-T X.1642] | Recommendation ITU-T X.1642 (2016), Guidelines for the operational security of cloud computing . |
+| [ITU-T Y.3502] | Recommendation ITU-T Y.3502 (2014) ISO/IEC 17789:2014, Information technology – Cloud computing – Reference architecture . |
+| [ITU-T Y.3513] | Recommendation ITU-T Y.3513 (2014), Cloud computing – Functional requirements of Infrastructure as a Service . |
+| [ISO/IEC 27002] | ISO/IEC 27002:2013, Information technology – Security techniques – Code of practice for information security controls . |
+| [ISO/IEC 27031] | ISO/IEC 27031:2011, Information technology – Security techniques – Guidelines for information and communication technology readiness for business continuity . |
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 cloud computing** [b-ITU-T Y.3500]: Paradigm for enabling network access to a scalable and elastic pool of shareable physical or virtual resources with self-service provisioning and administration on-demand.
+
+**3.1.2 cloud service** [b-ITU-T Y.3500]: One or more capabilities offered via cloud computing invoked using a defined interface.
+
+**3.1.3 cloud service customer (CSC)** [b-ITU-T Y.3500]: Party which is in a business relationship for the purpose of using cloud services.
+
+**3.1.4 cloud service partner** [b-ITU-T Y.3500]: Party which is engaged in support of, or auxiliary to, activities of either the cloud service provider or the cloud service customer, or both.
+
+**3.1.5 cloud service provider (CSP)** [b-ITU-T Y.3500]: Party which makes cloud services available.
+
+**3.1.6 Infrastructure as a Service (IaaS)** [b-ITU-T Y.3500]: Cloud service category in which the cloud capabilities type provided to the cloud service customer is an infrastructure capabilities type.
+
+**3.1.7 security challenge** [b-ITU-T X.1601]: A security "difficulty" other than a direct security threat arising from the nature and operating environment of cloud services, including "indirect" threats.
+
+**3.1.8 vulnerability** [b-NIST-SP-800-30]: Weakness in an information system, system security procedures, internal controls, or implementation that could be exploited by a threat source.
+
+## **3.2 Terms defined in this Recommendation**
+
+None.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|------------------------------------------|
+| ACL | Access Control List |
+| API | Application Programming Interface |
+| BIA | Business Impact Analysis |
+| CPU | Central Processing Unit |
+| CSC | Cloud Service Customer |
+| CSP | Cloud Service Provider |
+| DDoS | Distributed Denial of Service |
+| DRO | Disaster Recovery Object |
+| DSP | Digital Service Provider |
+| IAM | Identity and Access Management |
+| IaaS | Infrastructure as a Service |
+| ICT | Information and Communication Technology |
+| IdM | Identity Management |
+| I/O | Input/Output |
+| NIC | Network Interface Card |
+| OS | Operating System |
+| OTT | Over The Top |
+| PaaS | Platform as a Service |
+| RPO | Recovery Point Objectives |
+| RTO | Recovery Time Objectives |
+| SaaS | Software as a Service |
+| SLA | Service Level Agreement |
+| SQL | Structured Query Language |
+| VDC | Virtual Data Centre |
+
+| | |
+|-------|---------------------------------------|
+| VLAN | Virtual Local Area Network |
+| VM | Virtual Machine |
+| VXLAN | Virtual Extensible Local Area Network |
+| XSS | Cross Site Script |
+
+# 5 Conventions
+
+The keywords "is required to" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this Recommendation is to be claimed.
+
+The keywords "is recommended" indicate a requirement which is recommended but which is not absolutely required. Thus this requirement need not be present to claim conformance.
+
+The keywords "can optionally" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+In this Recommendation and its appendices, the words shall, shall not, should, and may sometimes appear, in which case they are to be interpreted, respectively, as is required to, is prohibited from, is recommended, and can optionally. The appearance of such phrases or keywords in an appendix or in material explicitly marked as informative are to be interpreted as having no normative intent.
+
+# 6 Overview
+
+Infrastructure as a Service (IaaS) is a category of cloud services, in which the cloud capabilities type provided to the cloud service customer (CSC) is an infrastructure capabilities type [b-ITU-T Y.3500]. IaaS allows CSCs to use cloud infrastructure resources (computing, storage or networking) which can be rapidly provisioned and released with minimal management efforts. Public IaaS services enable CSCs to launch their business quickly and easily without establishing new information and communication technology (ICT) infrastructure, and CSCs can use these resources to develop, host and run services and applications on-demand in a flexible manner elastically as needed.
+
+Based on the layering framework developed together with ISO/IEC as defined in [ITU-T Y.3502] and the high-level concept of IaaS defined in [ITU-T Y.3513], high level concept of IaaS security requirements is illustrated in Figure 6-1.
+
+
+
+```
+
+graph TD
+ subgraph Layers
+ UL[User layer security]
+ AL[Access layer security]
+ subgraph IaaS_Service_Layer [IaaS service layer security]
+ CSN[Computing/storage/network]
+ end
+ subgraph Resource_Layer [Resource layer security]
+ RAC[Resources abstraction and control/physical resource]
+ end
+ end
+
+ subgraph Security_Management [Security management (Cross-layer security)]
+ IdM[IdM and access control]
+ SA[Security audit]
+ VM[Vulnerability management]
+ ER[Emergency response]
+ DR[Disaster recovery]
+ B[Backup]
+ end
+
+```
+
+X.1605(20)\_F6-1
+
+Figure 6-1: High-level concept of IaaS security requirements. The diagram shows four layers on the left and a cross-layer security management block on the right. The layers are: User layer security, Access layer security, IaaS service layer security (containing Computing/storage/network), and Resource layer security (containing Resources abstraction and control/physical resource). The cross-layer security management block contains: IdM and access control, Security audit, Vulnerability management, Emergency response, Disaster recovery, and Backup.
+
+**Figure 6-1 – High-level concept of IaaS security requirements**
+
+The user layer is the user interface through which a CSC interacts with the cloud service provider (CSP). The functional components of the user layer include user function, business function and administrator function, which interact with cloud services provided by CSP, perform CSC related administrative activities and monitor cloud services. According to the responsibilities between CSP and CSC, CSCs should take charge of security mechanisms of the user layer because they usually use their own tools or systems to access the IaaS service. If otherwise, the tools or systems of the user layer are provided by CSP, CSP should provide the tools or systems that meet the best practice of industry for security. Security requirements of the user layer are out of the scope of this Recommendation.
+
+The access layer provides a common interface for both manual and automated access to the capabilities available in the service layer. The functional components of access layer include access control and connection management. The access layer is responsible for presenting IaaS service capabilities over one or more access mechanisms such as web and application programming interfaces (APIs). The security requirements of access layer are defined in clause 8.
+
+The service layer contains the implementation of the IaaS services provided by CSP. It contains and controls the software components that implement the IaaS services, and arranges to offer the services to CSC via the access layer. The security requirements of the service layer are defined in clause 9.
+
+The resource layer components include resource abstraction and control, and physical resources as defined in [ITU-T Y.3502]. The virtualized resources are generated and controlled through software abstraction. The security requirements of the resource layer are defined in clause 10.
+
+Security management provides fundamental cross-layer security management capabilities, which are implemented throughout the user layer, access layer, service layer and resource layer as described above. The security management requirements of identity management and access control, security audit, vulnerability management, emergency response, disaster recovery and backup are defined in clause 11.
+
+# 7 Security challenges for the IaaS environment
+
+Due to the vast advantages of IaaS, IaaS has become one of the most important services of CSPs especially for traditional telecom operators, over the tops (OTTs) and digital service providers (DSPs), and has gained a rapid expansion. Along with the fast IaaS development, security issues remain a major and important concern that cannot be ignored. IaaS platforms and services are facing more challenges and threats than traditional information technology infrastructure and application, especially due to wide implementation of virtualization technologies, shared resources for multi-tenants, among others.
+
+Since a public IaaS could have many co-existing CSCs from many different organizations, both security and privacy protection are the most important factors when CSCs evaluate the choice of public IaaS services.
+
+In brief, the security challenges that a public IaaS faces may come from the following aspects:
+
+- 1) Virtualization: As an important technical feature of cloud computing, virtualization technology enables different virtual machines (VMs) to run on one same hypervisor, but it also makes files contained in VMs vulnerable to be illegally modified. Furthermore, once the vulnerabilities of the hypervisor are exploited, all the VMs running on it would face the same security risks. These risks be caused by:
+ - Inappropriate configuration and network isolation of physical hosts. Attackers could directly make use of the vulnerabilities of the hypervisor.
+ - Vulnerabilities of interfaces between the VMs and the hypervisor. Attackers could exploit the vulnerabilities to control the hypervisor; this is called VM escape.
+- 2) Open APIs: As a premise of managing VMs automatically, open APIs could enlarge the attacking surface by abusing or exploiting vulnerabilities such as lack of authentication, authorization or integrity check, which would destroy many applications.
+- 3) Network and Internet connectivity: Network threats such as distributed denial of service (DDoS) attack, man-in-the-middle attack, IP spoofing attack, etc., could be launched not only from the traditional network, but might also emerge from VMs in the same host machine, which is much more difficult to defend within the vague boundary environment of a virtualized network.
+- 4) High degree of resource sharing: This technical feature might provide a more specific target. If the physical host machine or the physical network were destroyed, all of their VMs would be impacted. The disposal of retired or replaced storage devices relates to the confidentiality of all CSCs' data. It would also bring more isolation difficulty between different CSCs. If the isolation of different VMs is not configured properly, the possibility of data leakage or even network attacks between different VMs may increase significantly. Any accidents that occur would result in significant security risk and consequences.
+- 5) Scalability of virtual resources: The elastic expansion of virtual resources and the dynamic adjustment of a virtual network's security perimeter introduce the fast growth of east-west network flow and new complex security demands. It requires that security facilities should be agile and be able to work collaboratively, but most security equipment and systems function individually, which is a lack of a mechanism for effective cooperation.
+- 6) Configuration management: Cloud computing environment contains various types and huge amount of assets, and different service types, which introduce a high demand of configuration including access control, isolation and data backup, etc. Improper configuration may expose new attack surface, or even leak sensitive information directly.
+- 7) Logging issues: Various log data of operating systems, applications and security equipment can help operators avoid disasters in advance, and even detect the root cause of security incidents. In the cloud computing environment, log acquisition, protection and time
+
+synchronization become more complex. For example, the omission of log protection would bring the risk of tampering, while the lack of time synchronization would make it difficult to correlate heterogeneous logs.
+
+# **8 Security requirements of the IaaS access layer**
+
+The access layer of IaaS is responsible for presenting IaaS service capabilities for CSCs to access and manage over one or more access mechanisms. The access mechanisms include, but are not limited to, the following:
+
+- Web access
+- API access.
+
+Another responsibility of the access layer is to implement appropriate connection management mechanisms to provide enforcement of QoS policies, load balance and secure transmission regarding the traffic and connections from and/or to the user layer functional components.
+
+## **8.1 Security requirements for web access**
+
+- 1) IaaS CSP is required to apply authentication and authorization measures for CSC to access the IaaS service with web access, such as authenticating the request through the CSC's credentials and validating the authorization of the CSC.
+- 2) IaaS CSP is required to apply an access control mechanism for CSC to use related service capabilities.
+- 3) It is recommended that IaaS CSP provides a secure communication tunnel for CSC via web access.
+- 4) It is recommended that IaaS CSP provides web access protection for CSC, such as validity checking for input and output, checking for request integrity, defence capacities against web intrusion behaviours, such as structured query language (SQL) injection, cross site script (XSS), remote command execution, etc.
+- 5) IaaS CSP is required to support untampered logging, analysis and security auditing capabilities for web access behaviours.
+
+## **8.2 Security requirements for API access**
+
+- 1) IaaS CSP is required to support authentication and the authentication of user credentials for CSC when calling the service API, such as signing on to the API to ensure that only legitimate callers are used.
+- 2) IaaS CSP is required to provide an access control mechanism for CSC when calling the service API.
+- 3) It is recommended that IaaS CSP provides a secure communication tunnel for CSC via API access.
+- 4) It is recommended that IaaS CSP provides API interface protection for CSC, such as checking for request integrity, defence capacities against attack behaviours such as replay attack, code injection, etc.
+- 5) IaaS CSP is required to support logging, analysis and security auditing capabilities for API calling behaviour.
+
+## **9 Security requirements of the IaaS service layer**
+
+The service layer of IaaS contains the implementation of the services provided by CSP. The service layer contains and controls the software components that implement the IaaS services (such as
+
+computing service, networking service, storage service, etc.), and arranges to offer these IaaS services to CSCs via the access layer.
+
+### **9.1 Security requirements for computing service**
+
+- 1) IaaS CSP is required to provide isolation mechanisms for virtual resources including the isolation of the central processing unit (CPU), internal network, memory and storage, etc., and only permit communications that meet the security policy among different virtual resource units, such as VMs.
+- 2) IaaS CSP is required to support the setting of resource upper limit for a single virtual resource unit in a physical host, which would avoid degradation of performance caused by a specific virtual resource unit's excessive occupation.
+- 3) It is recommended that IaaS CSP supports the automatic migration of the virtual resource unit if the hosted server fails, which would prevent the interruption of services running in the virtual resource.
+- 4) IaaS CSP is required to support integrity check of the virtual resource unit's images to prevent malicious tampering, and ensure that a logical volume can be mounted only by one virtual resource unit simultaneously.
+- 5) IaaS CSP is required to support the migration of security policy, which would be simultaneously synchronised with the virtual resources unit accordingly.
+- 6) IaaS CSP is required to provide the CSC administrator with the capability of customizing the security policy among virtual resource units.
+- 7) IaaS CSP is required to provide the CSC with the capability of complete deletion of their own data. Once a virtual resource unit is removed by the CSC, the image files, snapshots and backups should also be simultaneously erased.
+
+### **9.2 Security requirements for storage service**
+
+- 1) It is recommended that IaaS CSP supports a data redundancy mechanism. CSCs' data should be guaranteed no less than two backups in different physical locations and the mechanism should be transparent to CSCs.
+- 2) It is recommended that IaaS CSP supports concurrent input/output (I/O) control and safe parallel access for multiple VMs using the same storage system.
+- 3) IaaS CSP is required to guarantee the access control of stored data that could be executed both on the logical and physical storage entities, which should not be bypassed by any change in the physical location of storage.
+- 4) IaaS CSP is required to guarantee CSCs' that data can be completely erased, including:
+ - Complete data erasure should be performed before the storage resource is reassigned to a new CSC.
+ - Once a CSC's files/object are deleted, the corresponding storage area in the physical volume should be rightly overwritten or labelled as write only, avoiding unauthorized recovery.
+ - Once a CSC's data is migrated, the CSC's metadata is required to be completely erased immediately.
+
+### **9.3 Security requirements for networking service**
+
+- 1) It is recommended that IaaS CSP provides the CSC with the capability to monitor the north-south, east-west network traffic of their own virtual resources.
+- 2) It is recommended that IaaS CSP provides the CSC with the capability to implement the network interface bandwidth-control of virtual resources.
+
+- 3) IaaS CSP is required to provide isolation measures between the CSCs' virtualized network and IaaS platform and management network, such as forbidding CSC accessing the host machine or management node.
+- 4) IaaS CSP is required to implement network access control list (ACL) mechanism to achieve security isolation and access control within the virtualized networks.
+- 5) It is recommended that IaaS CSP supports defending against network attacks such as virtual local area network (VLAN) or virtual extensible local area (VXLAN) hopping.
+
+## **10 Security requirements of the IaaS resource layer**
+
+According to the functional components of IaaS resource layer, security requirements of IaaS resource layer include:
+
+- security requirements for resource abstraction and control; and
+- security requirements for physical resources.
+
+### **10.1 Security requirements for resource abstraction and control**
+
+The resource abstraction and control functional component enables CSPs to offer qualities such as rapid elasticity, resource pooling and on-demand self-service. It includes the virtual resource pool (such as, virtual computing resource, virtual network resource, etc.), and virtual resource management platform. The security requirements for resource abstraction and control will be illustrated from the perspective of virtual resource provision and management.
+
+#### **10.1.1 Security requirements for virtual resource pool**
+
+##### **10.1.1.1 Security requirements for virtual computing resource**
+
+- 1) The virtual computing resource units (such as virtual machine, container, etc.) are required to be isolated logically with each other.
+- 2) It is required that the virtual computing resource unit cannot be influenced by other units or host machines when encountering abnormal accidents or failure.
+- 3) It is required that the virtual computing resource unit cannot be used beyond its quota.
+- 4) "Copy", "paste" and other commands are recommended to be forbidden between different virtual computing resource units, or the host machines.
+- 5) It is recommended that IaaS CSP supports the real-time monitoring of virtual resources through in-band or out-of-band mode, and send alarms once abnormalities are detected. For each virtual resource unit, the monitored objects should include the running status, resource consumption and migration status, etc.
+
+##### **10.1.1.2 Security requirements for virtual network resource**
+
+- 1) CSC's virtual network is required to be isolated logically from each other by implementing the measures of VLAN, VXLAN, ACLs, etc.
+- 2) A monitoring capability of network traffic is required to be provided between different virtual resource units.
+- 3) A bit rate control capability is required to be provided over virtual ports.
+- 4) It is recommended that network attack behaviours (such as IP spoofing, worms, etc.), originated inside the virtual resources can be detected and prevented.
+- 5) The promiscuous mode of the virtual network interface card (NIC) ports is required to be forbidden to prevent sniffing of network traffic.
+
+##### **10.1.1.3 Security requirements for virtual storage resource**
+
+- 1) The virtual storage resource pool is required to be isolated between different CSCs.
+
+- 2) The security measures over stored data is required to be executed both on logical and physical storage entities.
+- 3) The direct access to physical storage resources is required to be forbidden.
+- 4) The capability of concurrent I/O control and safe parallel access is required to support for multiple virtual resource units that using the same storage entities.
+- 5) It is recommended that the virtual storage resources can support elastic expansion without interrupting the normal storage services.
+
+#### **10.1.2 Security requirements for virtual resource management platform**
+
+- 1) The access control measures are required to be implemented appropriately to prevent illegal access to the virtual resource management platform.
+- 2) It is recommended that only the necessary components and applications are installed and irrelevant service ports are closed, to follow the principle of risk minimization.
+- 3) It is required that the attacking behaviours upon the virtual resource management platform can be detected and alarmed timely, and the logs should be recorded including the source IP address, attacking type, time stamp, etc.
+- 4) The real-time monitoring capability over the virtual resources is required to be provided, including running status, resource occupation, migration, etc.
+- 5) It is recommended that the unnecessary and idle virtual resources can be disabled.
+- 6) The management commands over virtual resource management platform are required to be transmitted in a secure tunnel.
+- 7) It is recommended that the privileged commands can be restrained when they are remotely executed.
+- 8) It is required that the illegal virtual resource units can be isolated and disposed of appropriately to minimize the subsequent influence upon the entire virtual resources.
+- 9) The detection and disposing capability of malicious code is required to be provided.
+- 10) It is recommended that the security policy can be migrated following the simultaneous migration of the virtual resource units.
+- 11) Security patches or security reinforcement configuration are required to be implemented timely once the security vulnerability of virtual resource management components (such as hypervisor, container engine, management components, etc.) are detected, and that they be kept up-to-date.
+- 12) Fault management is required to be provided to maintain upper service continuity, that is, the virtual resource units on a failure host machine can be migrated to another host machine in a timely manner.
+- 13) All operations and events over the virtual resource management platform are required to be logged for later trace and audit.
+
+### **10.2 Security requirement for physical resource**
+
+Physical resources include hardware resources, such as computers, network equipment, storage components and other physical computing infrastructure elements, needed by CSP to run and manage the IaaS services offered to CSCs.
+
+#### **10.2.1 Security requirements for the physical environment**
+
+The security requirements for the physical environment for IaaS are contained in [ISO/IEC 27002].
+
+##### 10.2.1.1 Security requirements for physical resources
+
+Physical resources include hardware resources, such as physical networking infrastructure, storage devices, host machines, management terminals and other physical infrastructure elements.
+
+- 1) The fault detection and positioning capability over physical resources (such as networking equipment, host machines, storage devices, etc.) are required to be provided to maintain the availability and reliability of the underlying physical infrastructure.
+- 2) It is recommended that alternation of physical resources can be detected and marked in a timely manner.
+- 3) It is recommended that the data recovery capability can be provided when some physical components fail.
+- 4) The IaaS platform's defence capability against DDoS is required to be provided.
+- 5) The infrastructure network is required to be divided into different network security domains, logically isolated from each other.
+- 6) Detection mechanisms of network traffic monitoring and intrusion behaviour are required to be implemented, with protection devices deployed at the network boundary including identity and access management (IAM), IPS, firewall, etc.
+- 7) It is recommended that the outgoing network attack behaviours that initiated from the IaaS resource can be detected and prevented.
+- 8) A detection and disposing capability of malicious code is required to be provided, especially for management terminals, host machines and other application servers.
+- 9) It is required that security policy baseline should be implemented and only the terminals and servers which have satisfied the security policies can access the IaaS platform.
+- 10) All operations and events over the physical resources are required to be logged for later trace and audit.
+
+# 11 Security management requirements
+
+Security management is responsible for applying security related controls to mitigate the security threats in cloud computing environments. The functional components of security management encompass all the security facilities required to support cloud services.
+
+The functional components of security management include:
+
+- identity management and access control;
+- security audit;
+- vulnerability management;
+- emergency response;
+- disaster recovery; and
+- backup.
+
+## 11.1 IdM and access control
+
+The IaaS platform should provide unified identity management (IdM) and access control functions for CSCs and IaaS platform administrators.
+
+- 1) The identity of CSC in the life cycle is required to be unique in each IaaS service and associated with security audit. The identity of CSC is required to be managed, maintained and protected from unauthorized access, modification, or deletion.
+- 2) The IaaS platform is required to provide password policy management for CSCs, which includes, but is not limited to:
+
+- It is required to use password complexity policy;
+ - It is required to use password re-setting period mechanism;
+ - It is required to use random generation of CSCs' initial key, and the initial key must be modified on first login.
+- 3) It is recommended that IaaS platform supports abnormal detection for CSC's identity and that the alarms can be notified to the related CSCs.
+ - 4) IaaS platform is required to support multi-factor authentication for CSCs, and the authentication techniques including but not limited to passwords, digital certificates, IC cards, or biometric validation.
+ - 5) It is required to support fine granularity authorization strategy according to CSC and group definition of the resources to access. It is required that IaaS platform protects the confidentiality and integrity of CSCs' authentication credentials.
+ - 6) The detailed logs of CSC authentication, authorization and other operations related with IdM are required to be stored for later audit.
+ - 7) It is recommended that IaaS platform supports docking with CSCs' IdM system.
+ - 8) The role and related privileges of IaaS platform administrator are required to be granted to different accounts.
+ - 9) IaaS platform is required to use multi-factor authentication for administrators.
+ - 10) IaaS platform is required to use the principle of minimizing authority for administrators.
+ - 11) Sensitive data such as authentication data, authorization data, etc., are required to be encrypted in the procedure of storage and transfer.
+
+### **11.2 Security audit**
+
+- 1) The IaaS platform is required to use various records for security audit. the records include, but not limited to:
+ - logging, identity authentication and authorization information of CSCs and IaaS platform administrators;
+ - operating and maintaining records over IaaS infrastructure by IaaS platform administrators;
+ - operating logs over CSC's resources by IaaS platform administrators;
+ - operating logs over CSC's own resources by CSC;
+ - operation and maintenance logs during running process of IaaS platform.
+- 2) The IaaS platform is required to implement security mechanisms to protect the various records against tampering.
+- 3) All the network clocks are required to be kept in synchronization within the whole IaaS platform to record access and operation systematically.
+- 4) The security audit records shall include the subjects, objects, time, types, and results of the security event.
+- 5) The inter-CSC audit records are required to be isolated from each other.
+- 6) It is required that CSC can collect and view the audit records related to their own resources.
+- 7) The audit records are required to be securely protected, such as forbidding unauthorized access to audit records, prevention from unexpected deletion, modification, overriding and loss.
+- 8) The retention period of audit records is required to meet the legal compliance and the specific retention requirements of CSCs.
+
+- 9) It is recommended that IaaS platform supports CSC to use third-party auditing systems or interface to achieve auditing goals within the CSC's responsibilities.
+
+## **11.3 Vulnerability management**
+
+The vulnerabilities of IaaS platform can exist in processes, management, configuration, hardware, software, etc.
+
+- 1) It is required to record the information of all assets and the versions of the IaaS platform, and update the information regularly.
+- 2) It is required to establish the vulnerability assessment mechanism, in which the objects, frequency and evaluation strategy of vulnerability assessment should be clarified.
+- 3) It is required to carry out vulnerability assessment of all assets of IaaS platform regularly, generate vulnerability assessment reports and make recommendations for vulnerability repair.
+- 4) It is required to manage patch and repair process:
+ - It is required to track the security threats and security patches issued by various vendors, determine which patches should be installed in the IaaS platform.
+ - It is required to test the security patches before installation to ensure that the patches are compatible with the existing system and application.
+ - It is required to create the patch update plan for all components of IaaS platform, carry out the patch installation according to the plan, and create records during the installation.
+- 5) It is required to formulate the security configuration baseline of the IaaS platform and configure the components of the IaaS platform according to the baseline.
+- 6) It is required to carry out security baseline inspection of all assets of IaaS platform regularly, form a baseline inspection report and make recommendations for rectification.
+- 7) It is required to audit the configuration strategy changes of the IaaS platform to verify the correctness, consistency, completeness and effectiveness of each configuration item, and ensure that the configuration changes do not bring new security defects.
+
+### **11.4 Emergency response**
+
+Emergency response considerations for IaaS are in accordance with clause 8.9 of [ITU-T X.1642].
+
+## **11.5 Disaster recovery**
+
+Disaster recovery considerations for IaaS should conform to the existing common regulations of IT technology, such as the standard [ISO/IEC 27031]. However, as a fast growing technology, the disaster recovery of IaaS should also consider:
+
+- 1) Define disaster recovery objects for each CSC. It is required to initiate a business impact analysis (BIA) to determine the disaster recovery objects of different businesses, which is based on recognition of key components and main security risks on the IaaS platform. The disaster recovery objects can be defined by priorities, RPO/RTO, etc. Different DROs determine the corresponding SLA and the service architecture, including high availability technology cross the remote virtual data centres (VDC), cross-region data backup, etc.
+- 2) Regularly backup systems and data. It is required to support the capability of cross-regional data storage and disaster tolerance. Further, the types of system-level backup and data-level backup should be provided to the tenants of the IaaS platform as well as the corresponding disaster recovery capability, which can help CSPs and CSCs implement failover. For CSCs, they can even backup data to a different CSP regularly, to avoid the risk of a long time termination of a single CSP.
+
+- 3) Validate the disaster recovery plan regularly. Although the systems and data of CSCs may maintain relatively constant, new security risks might also be introduced by infrastructure updates launched by CSPs. So, disaster recovery drills should be regularly conducted and key information should be recorded including the availability, integrity and the validity of disaster recovery plans, the problems and the corresponding solutions in the process, etc.
+- 4) Regularly assess the risk. To support CSCs' business continuity, CSPs should assess the security risks that may impact on CSCs' business continuity plan, which includes failure of IaaS service, disruption of the network between the CSP and CSC, termination of cloud services, etc., and the results should be informed to the CSCs diligently. Further, the emergency response, disaster recovery plans and activities to support CSCs' business continuity should be notified in advance, and even be adjusted according to the CSCs' requirements.
+
+## **11.6 Backup**
+
+Backup considerations for IaaS are in accordance with clause 8.10 of [ITU-T X.1642].
+
+## Bibliography
+
+- [b-ITU-T X.1601] Recommendation ITU-T X.1601(2015), *Security framework for cloud computing*.
+- [b-ITU-T Y.3500] Recommendation ITU-T Y.3500 (2014) | ISO/IEC 17788:2014, *Information technology – Cloud computing – Overview and vocabulary*.
+- [b-NIST 500-291] NIST SP 500-291, 2011, *NIST Cloud Computing Standards Roadmap*.
+- [b-NIST-SP-800-30] NIST Special Publication 800-30, 2012, *Guide for Conducting Risk Assessments*.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1606-202009-I_PDF-E/raw.md b/marked/X/T-REC-X.1606-202009-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..c3d2d046e2f233e63c5a2c0448c34b98f9c604ab
--- /dev/null
+++ b/marked/X/T-REC-X.1606-202009-I_PDF-E/raw.md
@@ -0,0 +1,573 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.1606
+
+(09/2020)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Cloud computing security – Cloud computing security
+design
+
+# --- **Security requirements for communications as a service application environments**
+
+Recommendation ITU-T X.1606
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security | X.1140–X.1149 |
+| Security protocols (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1360–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1389 |
+| Distributed ledger technology security | X.1400–X.1429 |
+| Distributed ledger technology security | X.1430–X.1449 |
+| Security protocols (2) | X.1450–X.1459 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| 5G SECURITY | X.1800–X.1819 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.1606
+
+# Security requirements for communications as a service application environments
+
+## Summary
+
+Recommendation ITU-T X.1606 identifies security threats and recommends security requirements for communications as a service (CaaS) application environments. The Recommendation describes scenarios and features of CaaS containing multi-communication capabilities. Then it identifies specific threats arising from unique CaaS features and recommends appropriate CaaS security requirements.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1606 | 2020-09-03 | 17 | 11.1002/1000/14265 |
+
+## Keywords
+
+CaaS, cloud computing, risk, security requirement.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2020
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|---|------------------------------------------------------------------------------------------------------------------|------|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 5 | Conventions ..... | 3 |
+| 6 | Overview of CaaS..... | 3 |
+| 7 | Security threats to CaaS..... | 4 |
+| | 7.1 Identity threats ..... | 4 |
+| | 7.2 Account lifecycle management threats..... | 5 |
+| | 7.3 Orchestration threat ..... | 5 |
+| | 7.4 Terminals context threat..... | 6 |
+| | 7.5 Spam threat and malware distribution..... | 6 |
+| | 7.6 Add-on threat..... | 6 |
+| | 7.7 Software development kit threat..... | 7 |
+| | 7.8 Threats from telecommunication networks vulnerabilities ..... | 7 |
+| 8 | Security requirements for CaaS ..... | 7 |
+| | 8.1 Identity and access management ..... | 7 |
+| | 8.2 Terminal security ..... | 8 |
+| | 8.3 Service security ..... | 9 |
+| | 8.4 Security coordination..... | 9 |
+| | Appendix I – A quick guide to the security threats and challenges listed in Recommendation ITU-T X.1601 ..... | 10 |
+| | Appendix II – A mapping of security threats and security requirements ..... | 12 |
+| | Bibliography..... | 13 |
+
+
+
+# Recommendation ITU-T X.1606
+
+# Security requirements for communications as a service application environments
+
+# 1 Scope
+
+This Recommendation focuses on security requirements of communications as a service (CaaS) application environments, which differ from those for software as a service (SaaS) in [ITU-T X.1602]. CaaS of telecommunication organizations merges the communication capabilities of telecommunications and the Internet. The convergence leads to some unique CaaS features that are subject to specific risks. These risks are identified in this Recommendation and appropriate security requirements are recommended.
+
+These requirement measures take into account national legal and regulatory obligations in individual member states in which CaaS operates. The text is based on the methodology specified in clause 10 of [ITU-T X.1601].
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.1601] Recommendation ITU-T X.1601 (2015), *Security framework for cloud computing*.
+- [ITU-T X.1602] Recommendation ITU-T X.1602 (2016), *Security requirements for software as a service application environments*.
+- [ITU-T Y.3501] Recommendation ITU-T Y.3501 (2016), *Cloud computing – Framework and high-level requirements*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 authentication** [ITU-T X.1601]: Verification of the identity of a user, process, or device, often as a prerequisite to allowing access to resources in an information system.
+
+**3.1.2 capability** [b-ISO 15531-1]: Quality of being able to perform a given activity.
+
+**3.1.3 cloud computing** [b-ITU-T Y.3500]: Paradigm for enabling network access to a scalable and elastic pool of shareable physical or virtual resources with self-service provisioning and administration on demand.
+
+NOTE – Examples of resources include servers, operating systems, networks, software, applications, and storage equipment.
+
+**3.1.4 cloud service** [b-ITU-T Y.3500]: One or more capabilities offered via cloud computing invoked using a defined interface.
+
+**3.1.5 cloud service customer** [b-ITU-T Y.3500]: Party which is in a business relationship for the purpose of using cloud services.
+
+NOTE – A business relationship does not necessarily imply financial agreements.
+
+**3.1.6 cloud service partner** [b-ITU-T Y.3500]: Party which is engaged in support of, or auxiliary to, activities of either the cloud service provider or the cloud service customer, or both.
+
+**3.1.7 cloud service provider** [b-ITU-T Y.3500]: Party which makes cloud services available.
+
+**3.1.8 cloud service user** [b-ITU-T Y.3500]: Natural person, or entity acting on their behalf, associated with a cloud service customer that uses cloud services.
+
+NOTE – Examples of such entities include devices and applications.
+
+**3.1.9 communications as a service (CaaS)** [b-ITU-T Y.3500]: Cloud service category in which the capability provided to the cloud service customer is real time interaction and collaboration.
+
+NOTE – CaaS can provide both application capabilities type and platform capabilities type.
+
+**3.1.10 multi-tenancy** [b-ITU-T Y.3500]: Allocation of physical or virtual resources such that multiple tenants and their computations and data are isolated from and inaccessible to one another.
+
+**3.1.11 orchestration** [b-ITU-T Y.3100]: In the context of IMT-2020, the processes aiming at the automated arrangement, coordination, instantiation and use of network functions and resources for both physical and virtual infrastructures by optimization criteria.
+
+**3.1.12 software as a service (SaaS)** [b-ITU-T Y.3500]: Cloud service category in which the cloud capabilities type provided to the cloud service customer is an application capabilities type.
+
+## **3.2 Terms defined in this Recommendation**
+
+None.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|--------------------------------|
+| CaaS | Communications as a Service |
+| CSC | Cloud Service Customer |
+| CSN | Cloud Service partner |
+| CSP | Cloud Service Provider |
+| CSU | Cloud Service User |
+| DDoS | Distributed Denial of Service |
+| GSM | Global System for Mobile |
+| IAM | Identity and Access Management |
+| IaaS | Infrastructure as a Service |
+| ID | Identifier |
+| MMS | Multimedia Messaging Service |
+| NaaS | Network as a Service |
+| OS | Operating System |
+| PaaS | Platform as a Service |
+| PC | Personal Computer |
+| QR | Quick Response |
+
+| | |
+|--------|----------------------------------------|
+| SaaS | Software as a Service |
+| SDK | Software Development Kit |
+| SIM | Subscriber Identity Module |
+| SMS | Short Message Service |
+| URL | Uniform Resource Locator |
+| (U)SIM | (Universal) Subscriber Identity Module |
+| VoLTE | Voice over Long-Term Evolution |
+| VPN | Virtual Private Network |
+
+# 5 Conventions
+
+In this Recommendation, there is no difference between server and virtual server.
+
+# 6 Overview of CaaS
+
+Definition of CaaS is found in clause 3.1.9. The general requirements of CaaS were recommended to be communication capabilities openness, communication software support and unified communication (see clause 11 of [ITU-T Y.3501]).
+
+According to industrial practice, these capabilities are usually implemented or supported by CaaS:
+
+- combination of telecommunication services and internet services;
+- real-time communication;
+- multi-device synchronization;
+- communication resources isolation;
+- user presence update;
+- group chat or meeting;
+- embedded by other SaaSs;
+- user opt in or out;
+- service process customization;
+- data or file sharing;
+- identity and access management (IAM).
+
+Figure 6-1 depicts a general CaaS service model. There are four layers in Figure 6-1 labelled: user; access; service; and resource.
+
+- The user layer contains cloud service user (CSU) terminals that can run some CaaS clients and can access the Internet and even telecommunication networks.
+- The access layer provides various types of tunnels, usually to allow terminal access to their targeted CaaS service.
+- The service layer, which is also the CaaS layer, is owned by a cloud service provider (CSP), which relies on the necessary inside and outside resources to complete the service operation. The service layer customizes service processes and allocates resources for cloud service customers (CSCs), maintains a (virtually) dynamic service network for a CSC with its CSUs, and isolates computing resources and communication networks for any CSC.
+- The resource layer provides the fundamental infrastructure resources related to data processing and communication, part of which could be infrastructure as a service (IaaS), platform as a service (PaaS) and network as a service (NaaS).
+
+
+
+The diagram illustrates a four-layer CaaS service model:
+
+- User layer: CSU terminals**: Contains four blue rounded rectangles labeled "Smart mobile phone", "Laptop", "Personal computer (PC)", and "Tablet PC".
+- Access layer**: Contains three blue cloud shapes labeled "Telecommunication networks", "Mobile/Wireless/ Fixed access networks", and "Internet". Arrows show bidirectional connections between "Telecommunication networks" and "Mobile/Wireless/ Fixed access networks", and between "Mobile/Wireless/ Fixed access networks" and "Internet". A long arrow also points from "Internet" back to "Telecommunication networks".
+- Service layer: CaaS**: Contains three orange rounded rectangles labeled "Service orchestration/ customization", "(CSC) tenant brokers", and "Service controllers". Arrows show bidirectional connections between "Service orchestration/ customization" and "(CSC) tenant brokers", and between "(CSC) tenant brokers" and "Service controllers". A long arrow also points from "Service controllers" back to "Service orchestration/ customization".
+- Resource layer**: Contains three orange rounded rectangles labeled "Telecommunication services", "Data centre services", and "Internet services". Arrows show bidirectional connections between "Telecommunication services" and "Data centre services", and between "Data centre services" and "Internet services". A long arrow also points from "Internet services" back to "Telecommunication services".
+
+Figure 1 – A general CaaS service model diagram showing four layers: User layer, Access layer, Service layer, and Resource layer.
+
+X.1606(20)\_F01
+
+**Figure 1 – A general CaaS service model**
+
+In the remainder of this Recommendation:
+
+- Clause 7 analyses security threats to CaaS that target one or more of the four layers.
+- Clause 8 recommends security requirements for CaaS that address threats to three layers:
+ - CSU terminal layer;
+ - CaaS layer;
+ - service resource layer.
+
+The access layer is not covered here because its security capabilities are not controlled by CaaS, although the security level of the access layer can be evaluated or monitored by CaaS and CSU.
+
+# **7 Security threats to CaaS**
+
+The security threats and challenges to cloud computing identified in [ITU-T X.1601] (also listed in Appendix I) can apply to various CaaS scenarios. Moreover, some specific threats to CaaS are identified in clauses 7.1 to 7.8.
+
+## **7.1 Identity threats**
+
+The core of CaaS is unified communication capabilities, which differ slightly from another SaaS. CaaS integrates and enhances communication capabilities among terminals by leveraging cloud computing. A CaaS supports most mainstream types of terminal or operating system (OS), such as smartphones or personal computers (PCs).
+
+Therefore, under the multi-point to multi-point communication model, CaaS may encounter some special threats if identity abuse occurs.
+
+### **7.1.1 Identity credential theft**
+
+For the convenience of CSUs, many CaaS adopt an authentication solution, which supports mobile number (i.e., mobile identifier (ID)) authentication or username and password authentication or both. In this case, the default username in the solution can be configured just like the mobile ID. Furthermore, some CaaS support one CSU with one ID accessing the service with multi-terminals concurrently or support synchronizing the communication history among multi-terminals.
+
+The security of mobile number authentication relies heavily on confidence in the authentication, the encryption of the mobile network carrier and the (universal) subscriber identity module (U)SIM card holding the credential(s). There are some vulnerabilities (proved in the field) in mobile networks, especially for the Global System for Mobile Communications Alliance (GSMA) network, which would weaken the trust and might lead identity credential theft (temporarily). For example, some types of subscriber identity module (SIM) cards can be duplicated physically; some dynamic authentication codes transferred by short message service (SMS) in global system for mobile (GSM) communication networks can be intercepted. Intercepted temporary encryption keys can also be abused to hijack the ID temporarily and silently.
+
+Moreover, username and password authentication can give the abuser a chance to make use of this authentication type with other qualified terminals to monitor a CSU (simultaneously). For example, if an abuser can handle a CSU mobile terminal with a (U)SIM card or soft SIM credential, the abuser can obtain the username in the cache and use the reset mechanism to set a new password and keep it cached in the terminal. Then it is possible that the CSU does not realize the password has been reset and ongoing communication content and even its history could both be silently monitored by the abuser.
+
+### **7.1.2 Identity counterfeit**
+
+Once an identity credential of a CSU has been stolen or obtained by an abuser, the identity can be abused to access the service belonging to a CSC that the CSU is associated with. Meanwhile, the abuser can also obtain a social entity endowed with the CSU identity credential or even counterfeit some other social entity or create a new one, which can be shown firstly by the presence function.
+
+Presence is one common CaaS feature, which usually implements the self-portrait of a CSU with a small-sized picture and limited text. Through presence, the CSUs associated with the same CSC can obtain a quick acknowledgement from one CSU. However, the presence of an abused identity can be falsified and be abused for fraudulent activities. For example, an abuser can seize confidential company finance data from an accountant by falsifying a presence as a board member.
+
+Real-time video chat can be a standard CaaS configuration. The scene shown by the abused identity through the video stream can also be falsified to enhance the authenticity of the social entity and the fraudulent activity.
+
+## **7.2 Account lifecycle management threats**
+
+A CSU, CSC or CSP might all have the right to require the deletion of an account on which they have authority. In the overall account lifecycle, when an account is to be retired, it should be agreed in advance what the CSP is supposed to do regarding the communication of content and account information through its CaaS entire service, whether the CSC can keep these data in its logical space or whether the CSU can keep these data in its terminal.
+
+The disposal or the theft of a terminal could also mean that any cached account information should be erased, and any related data deleted.
+
+## **7.3 Orchestration threat**
+
+With the orchestration (see [b-ITU-T Y.3100]) function, a CSC can customize its service processes and service capabilities by itself or through its CSP. For example, a CSC can adjust the process and
+
+the privilege of managing the membership in a chat group and also down- or up-grade the limitation on the scale where a CSU can search a contact.
+
+In terms of customer requirements, a CSP can allow more than two CSCs to share their contacts and even to communicate directly with each other, as well as being able to merge more than one CSC into a bigger one.
+
+Furthermore, to implement a new service feature, a CSP can up- or down-grade the security preconditions on a network to which a CSU has access.
+
+Any orchestration without full consideration of security can affect the isolation of information and services negatively. For example, if the CaaS of a CSC is orchestrated to integrate voice and message services of a GSM network, then it is almost impossible to implement the isolation feature from end to end, because GSM network entities adopted early-age technologies and cannot support any kind of isolation feature. If an unsecure network type is permitted by orchestration to support a more flexible service feature, it can increase the risk level of a CaaS more than just some CSC. For example, if the virtual private network (VPN) access requirement as an isolation method is reconfigured from the mandatory to the optional so as to ensure video chat quality in a CaaS, then the risk of eavesdropping would increase.
+
+## **7.4 Terminals context threat**
+
+The security context of the terminals in a CaaS can be uncertain, especially as the terminals are smartphones or portable devices. If these terminals are personal property, the context could be more complex. These terminals could be used by relatives or visitors of a CSU. The screen of a terminal could be projected to or shared with another screen so that an unknown screen recording is possible. The vulnerabilities of a terminal could be exposed more directly to an attacker in an unsecured network. The communication content through a CaaS could be unencrypted and stored in a terminal. All these cases could lead to data leakage.
+
+If an attacker can control a terminal (remotely or locally), it can abuse the terminal to exploit the vulnerabilities of a CaaS and even its CSU. If many terminals are controlled simultaneously as part of a botnet, the attacker could trigger a distributed denial of service (DDoS) attack also.
+
+## **7.5 Spam threat and malware distribution**
+
+A CSU can be harassed or even phished by a spam attack from other CSUs through a CaaS. Indeed, in most cases, it is hard for a CSU to identify rationally whether to trust the information of a short uniform resource locator (URL) or a quick response (QR) code, which can lead a CSU to access a phishing website or download malware.
+
+## **7.6 Add-on threat**
+
+It is natural for a CaaS to provide some add-ons based on its basic service, such as file sharing, in-built web browser, content management system and even e-business. In most cases, these add-ons are rather lightweight.
+
+The vulnerabilities of these add-ons can open significant threats to the CaaS itself. For example, a click on an unsecure short URL can invoke the web browser extensions, which lack the capability to counter a dangerous web address, so that the probability that the security of the CSU and even the CaaS can be damaged significantly increases.
+
+Some add-ons can guide a CSU to leave its current CaaS and switch to another rogue service. If the CSU is unaware of the switch, it is unable to adjust its trust appropriately and timely, causing a large spectrum of damage (more vulnerabilities exploited, extortion, ransomware, etc.).
+
+## **7.7 Software development kit threat**
+
+A CaaS can provide a software development kit (SDK) to encourage integration by other applications or SaaS. Integration means basically trust to some extent between the CaaS and its SDK user. Therefore, vulnerabilities of the SDK user can increase the threat to the CaaS of attack or abuse.
+
+As a terminal might have several identity credentials for different CSCs, a CaaS SDK user can abuse these credentials without permission to access other CSCs illegally.
+
+## **7.8 Threats from telecommunication networks vulnerabilities**
+
+In addition to Internet access, if a CaaS incorporates other capabilities of the telecommunication network carrier, such as SMS, voice over long-term evolution (VoLTE), circuit-call, multimedia messaging service (MMS) and location, the security of the telecommunication network can have a direct effect on the CaaS.
+
+Any successful abuse of telecommunication network vulnerabilities can lead to data leakage from the CaaS. Similarly, any successful attack on the telecommunication network, especially on the nodes connected with CaaS servers might expand the exposure surface of the CaaS.
+
+Moreover, as modern commercially available terminals can switch access networks and VPNs actively among different providers according to predefined policies with little consideration for the trust and the authenticity of the access network, the CSU can be unaware of the use of an insecure network environment, which can lead to leakage of confidential information.
+
+# **8 Security requirements for CaaS**
+
+The security requirements for SaaS identified in [ITU-T X.1602] apply to CaaS scenarios. Moreover, this clause establishes some further security requirements to address threats identified in clause 7.
+
+## **8.1 Identity and access management**
+
+### **8.1.1 Identity management**
+
+CaaS should set an upper limit of concurrent terminals sharing the same identity credential. CaaS can verify one terminal with the necessary hardware and service identification as the primary controller, which can authorize access by other terminals on demand.
+
+CaaS can monitor concurrent terminals with the same identity credential and keep all terminals (or at least the primary controller) informed about the latest status of other concurrent terminals. A CSU can use the primary controller or pass more secure authentication (such as bypass authentication) to force a specified terminal to log out, forbid any future access by it and even delete the residual information in it.
+
+CaaS can consider guiding a CSU to the use of different credentials (and at least different passwords) for different CSCs, which can decrease the risk of using one stolen credential to access many CSCs.
+
+### **8.1.2 Access control**
+
+If the concurrency of terminals with one identity credential is a common capability of CaaS, it would be meaningful to allow CaaS to acquire and update the geographic location of terminals so that CaaS can discover any terminal access anomaly. As one terminal can access many networks at the same time, CaaS can consider the possibility to use multi-dimensional information to cross-check the authenticity of the location.
+
+If network security cannot be guaranteed, a VPN can be a good choice to enhance infrastructure security. A CaaS should consider requiring a CSU or CSC to use a mandatory VPN service and forbidding a CSU or CSC to adopt any other VPN service as a hop or a relay to access the mandatory
+
+VPN service. An optional or untrusted VPN could obscure the location of a terminal and can also increase the risk of middle-man attack.
+
+Furthermore, if the risk of an intercepted GSM SMS cannot be accepted by the CSC, CaaS should consider monitoring the type of network accessed by any CSU and then refusing the use of an SMS as an authentication method if the CSU is under a GSM network. Alternatively, CaaS can just exclude the GSM SMS resource for the CSC.
+
+### **8.1.3 Identity verification**
+
+As a CSU can use obscure, inaccurate or even falsified information to make a self-portrait, CaaS should alert all CSUs about whether a social identity in their contacts is verified by some trusted third party. The third party can be a CSC, a CaaS or any other independent authority. The verification can be mandatory or optional, while if it is optional, it can be necessary to alert the CSU that the CSP or the CSC cannot be responsible for the authenticity of the social identities in the CSC.
+
+As the social or business identity of a CSC used to become a customer of a CaaS could be utterly different from the one used in public, it is suggested that CaaS should consider comparing the claimed identity of a CSC in public with the available information to prevent potential public or business fraud. For example, a malicious CSC could pretend to be a charity organization and forge some donation items to abuse the CSU.
+
+#### **8.1.4 Account management**
+
+As a CSU can have at least one account under a CSC and a CSC can also have at least one account under a CaaS, CaaS should provide full data access privilege of an account to the CSU or the CSC according to ownership of the data. Furthermore, as one account needs to be cancelled or deleted, CaaS should provide a reliable capability to destroy the account data physically on the terminal side, the service side and the network side in accordance with the terms of the legal authorization by the owner of the data.
+
+## **8.2 Terminal security**
+
+### **8.2.1 Internal security**
+
+CaaS should provide technical measures, such as a security tool or security module embedded in the CSU terminals, to carry on a cyclic or on-demand security check. The security check could evaluate whether the context of a CSU terminal fulfils mandatory security requirements before accessing a CaaS. If a CSU terminal fails to pass the security check, the CaaS could consider refusing to provide services (partly). Meanwhile, the CaaS should guide the CSU to resolve the discovered security risks or could fix the vulnerabilities directly with the authorization of the CSU.
+
+### **8.2.2 External security**
+
+The software used in CSU terminals should be provided by CaaS. CaaS should also provide secure a software distribution platform or sources, which should be official or authorized. CaaS should also declare the verification mechanism so that CSU terminals can use it to verify authenticity and integrity before update. The OS or the software itself in CSU terminals should have a roll-back capability if an update fails.
+
+In most cases, the security update of terminal software is optional. However, if some vulnerability could cause great damage to CaaS, a CSC or even another CSU, and a security update of the terminal software would fix the vulnerability, then CaaS can consider refusing service access temporarily by a CSU terminal before a successful update according to the user agreement.
+
+In most cases, the terminal software distribution of CaaS is public. Nonetheless, in some cases, a CSC might require customized terminal software and demand a limited range of software distribution, for example, only to CSC staff. The distribution should then be private. A bidirectional authentication would be necessary between a CSU and CaaS before a software download or update.
+
+### **8.3 Service security**
+
+### **8.3.1 Orchestration security**
+
+Before an orchestration change is deployed or configured, it is necessary to evaluate whether the change can affect the security boundary, decrease the security level or confuse the trust relationship. If some negative effects are possible, then the security requirements or agreements of a CaaS should be re-negotiated and re-agreed by the CSP, CSC and even CSU.
+
+### **8.3.2 Countering spam**
+
+CaaS should consider supporting a spam-countering function as an optional capability to a CSC. A CSP could also consider permitting CSC to integrate a third-party spam-countering function into its own CaaS. Different service and user agreements among CSPs, CSCs and CSUs could have different constraints on whether to and how to use a spam-countering function.
+
+For example, if all CSUs are employees of a CSC and the corresponding CaaS is exclusively used for the benefit of a CSC, then it is possible that the agreement between the CSP and CSC is enough to utilize a spam-countering function.
+
+Otherwise, if some CSUs are customers of a CSC, then it should be necessary for these CSUs to authorize the CSC (together with the CSP) to assist them to counter spam.
+
+Generally speaking, a spam-countering function should be on the terminal side, cloud side or the combination of both. For alternative technologies used in the function, see [b-ITU-T X.1244] and [b-ITU-T X.1246].
+
+## **8.4 Security coordination**
+
+### **8.4.1 Add-on and SDK security**
+
+CaaS should only allow add-ons that have passed through the security check available on its service. The terminal software should help CaaS to monitor and analyse any add-on anomaly. A white list would help CaaS to limit the capability of an add-on to access an external link or domain name.
+
+If an add-on needs to access customer data to provide the service, a clear authorization by CSU is a precondition. A clear record of access to customer data by an add-on would be meaningful for later audit.
+
+An SDK for CaaS should be able to monitor and analyse application anomalies or SaaS that integrates the SDK. The SDK should encrypt and isolate identity credentials to avoid any potential abuse. For example, application A and application B both integrate the same SDK and exist in the same terminal, but neither of them can access the other's identity credentials.
+
+### **8.4.2 Infrastructure security**
+
+CaaS should be aware of the threats from the infrastructure, for example, as it integrates the service capabilities of telecommunication networks, such as SMS and voice call. CaaS should consider setting a gateway between itself and the telecommunication networks to monitor, counter or filter possible spam and identity fraud spread from telecommunication services. It would be meaningful if CaaS could alert CSUs of the types of communication channels or services in use.
+
+# Appendix I
+
+## **A quick guide to the security threats and challenges listed in Recommendation ITU-T X.1601**
+
+(This appendix does not form an integral part of this Recommendation.)
+
+As mentioned in clause 7, the security threats and challenges for cloud computing identified in [ITU-T X.1601] can apply to various CaaS scenarios. This appendix lists all security threats and challenges in [ITU-T X.1601] for quick check. If more details are needed, please see [ITU-T X.1601].
+
+- Security threats for cloud computing
+ - a) Security threats for CSCs
+ - 1) Data loss and leakage
+ - 2) Insecure service access
+ - 3) Insider threats
+ - b) Security threats for CSPs
+ - 1) Unauthorized administration access
+ - 2) Insider threats
+- Security challenges for cloud computing
+ - a) Security challenges for CSCs
+ - 1) Ambiguity in responsibility
+ - 2) Loss of trust
+ - 3) Loss of governance
+ - 4) Loss of confidentiality
+ - 5) Service unavailability
+ - 6) CSP lock-in
+ - 7) Misappropriation of intellectual property
+ - 8) Loss of software integrity
+ - b) Security challenges for CSPs
+ - 1) Ambiguity in responsibility
+ - 2) Shared environment
+ - 3) Inconsistency and conflict of protection mechanisms
+ - 4) Jurisdictional conflict
+ - 5) Evolutionary risks
+ - 6) Bad migration and integration
+ - 7) Business discontinuity
+ - 8) Cloud service partner (CSN) lock-in
+ - 9) Supply chain vulnerability
+ - 10) Software dependencies
+
+- c) Security challenges for CSNs
+ - 1) Ambiguity in responsibility
+ - 2) Misappropriation of intellectual property
+ - 3) Loss of software integrity
+
+# Appendix II
+
+## A mapping of security threats and security requirements
+
+(This appendix does not form an integral part of this Recommendation.)
+
+This appendix relates the threats in clause 7 with the requirements in clause 8 (see Table I.1).
+
+**Table I.1 – Mapping of security threats and security challenges in this Recommendation**
+
+| Threats in clause 7 | Corresponding requirements in clause 8 |
+|-------------------------------------------------------------|----------------------------------------------------------------------------------|
+| 7.1. Identity threats | 8.1. Identity and access management |
+| 7.1.1. Identity credential theft | 8.1.1. Identity management 8.1.2. Access control 8.1.4. Account management |
+| 7.1.2. Identity counterfeit | 8.1.3. Identity verification 8.1.4. Account management |
+| 7.2. Account lifecycle management threats | 8.1.4. Account management |
+| 7.3. Orchestration threat | 8.3.1. Orchestration security |
+| 7.4. Terminals context threat | 8.2. Terminal security |
+| 7.5. Spam threat and malware distribution | 8.2. Terminal security 8.3.2. Countering spam |
+| 7.6. Add-on threat | 8.4.1. Add-on and SDK security |
+| 7.7. Software development kit threat | 8.4.1. Add-on and SDK security |
+| 7.8. Threats from telecommunication network vulnerabilities | 8.4.2. Infrastructure security |
+
+# Bibliography
+
+- [b-ITU-T X.1244] Recommendation ITU-T X.1244 (2008), *Overall aspects of countering spam in IP-based multimedia applications*.
+- [b-ITU-T X.1246] Recommendation ITU-T X.1246 (2015), *Technologies involved in countering voice spam in telecommunication organizations*.
+- [b-ITU-T Y.3100] Recommendation ITU-T Y.3100 (2017), *Terms and definitions for IMT-2020 network*.
+- [b-ITU-T Y.3500] Recommendation ITU-T Y.3500 (2014) | ISO/IEC 17788:2014, *Information technology – Cloud computing – Overview and vocabulary*.
+- [b-ISO 15531-1] ISO 15531-1:2004, *Industrial automation systems and integration – Industrial manufacturing management data – Part 1: General overview*.
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1650-202505-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg b/marked/X/T-REC-X.1650-202505-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d4d8969f805414689ab79cfd08c333d454d482b3
--- /dev/null
+++ b/marked/X/T-REC-X.1650-202505-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:636c3839edff955a5b6208530b05fa1c983ab153d90f00216517a7a99478b988
+size 7074
diff --git a/marked/X/T-REC-X.1650-202505-I_PDF-E/acfc53eca625d62b38aa2563efa95c3e_img.jpg b/marked/X/T-REC-X.1650-202505-I_PDF-E/acfc53eca625d62b38aa2563efa95c3e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6211cff02a2f4281e24119df4206786aaad4b79b
--- /dev/null
+++ b/marked/X/T-REC-X.1650-202505-I_PDF-E/acfc53eca625d62b38aa2563efa95c3e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0675db0f3462af9d3d2eb48849b18d0a52b2d2768fb7f4e4f75f08731709a5bc
+size 96987
diff --git a/marked/X/T-REC-X.1712-202110-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.1712-202110-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f8b3fa916496efdd6983a126e9291dc60382ea97
--- /dev/null
+++ b/marked/X/T-REC-X.1712-202110-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:dec4cb6f2dcf8d2d1338311a2205418ab0a8a849a20807164af1822a31ce7cc9
+size 5818
diff --git a/marked/X/T-REC-X.1712-202110-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/X/T-REC-X.1712-202110-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..07ab7307f93573e8af08953400cdaa1a7c977d19
--- /dev/null
+++ b/marked/X/T-REC-X.1712-202110-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ed4078197adfc1b6b0b22f460546907076b714d9a9efc1f77f96242315ce09b2
+size 170188
diff --git a/marked/X/T-REC-X.1712-202110-I_PDF-E/raw.md b/marked/X/T-REC-X.1712-202110-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..50ef8081e658a2ecd2dabfae24fa552d7b80c2f4
--- /dev/null
+++ b/marked/X/T-REC-X.1712-202110-I_PDF-E/raw.md
@@ -0,0 +1,570 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1712
+
+(10/2021)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Quantum communication – Security design for QKDN
+
+# --- **Security requirements and measures for quantum key distribution networks – key management**
+
+Recommendation ITU-T X.1712
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security (1) | X.1140–X.1149 |
+| Application Security (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1350–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1399 |
+| Distributed ledger technology (DLT) security | X.1400–X.1429 |
+| Application Security (2) | X.1450–X.1459 |
+| Web security (2) | X.1470–X.1489 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| Cyber Defence | X.1590–X.1599 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| Data protection | X.1770–X.1789 |
+| IMT-2020 SECURITY | X.1800–X.1819 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+## Recommendation ITU-T X.1712
+
+# Security requirements and measures for quantum key distribution networks – key management
+
+## Summary
+
+Recommendation ITU-T X.1712 specifies security threats and security requirements for key management in quantum key distribution networks (QKDNs), and security measures of key management to meet the security requirements.
+
+This Recommendation also provides support for the design, implementation, and operation of key management in QKDNs with approved security.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1712 | 2021-10-29 | 17 | 11.1002/1000/14805 |
+
+## Keywords
+
+Key management, key relay, key supply, QKD (quantum key distribution), QKD network.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2021
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|---|------------------------------------------------------------------------------------------|------|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 3 |
+| 4 | Abbreviations and acronyms ..... | 3 |
+| 5 | Conventions ..... | 3 |
+| 6 | Introduction ..... | 4 |
+| 7 | Information assets to be protected in key management in the QKDN ..... | 4 |
+| | 7.1 Key data..... | 4 |
+| | 7.2 Metadata ..... | 4 |
+| | 7.3 Control and management information..... | 5 |
+| 8 | Security threats of key management in QKDN ..... | 5 |
+| | 8.1 Threats to KMA links (T_K2-1) and key supply links (T-K1, T_K3, T_A1) ..... | 7 |
+| | 8.2 Threats to KSA links (T_K2-2)..... | 7 |
+| | 8.3 Threats to control and management links (T_C, T_M, T_C&M) ..... | 8 |
+| | 8.4 Threats to KMA and KSA (T_KMA, T_KSA)..... | 8 |
+| 9 | Security requirements and measures for information assets of key management in QKDN..... | 8 |
+| | 9.1 Security requirements and measures on the key data..... | 8 |
+| | 9.2 Security requirements and measures on the metadata..... | 11 |
+| | 9.3 Security requirements and measures on the control and management information ..... | 13 |
+| | 9.4 Loss and corruption, and DoS ..... | 14 |
+| | Bibliography..... | 15 |
+
+
+
+## Recommendation ITU-T X.1712
+
+# Security requirements and measures for quantum key distribution networks - key management
+
+# 1 Scope
+
+This Recommendation specifies the following items:
+
+- security threats to key management in the quantum key distribution network (QKDN);
+- security requirements for key management in the QKDN;
+- security measures of key management to meet the security requirements.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.1710] Recommendation ITU-T X.1710 (2020), *Security framework for quantum key distribution networks*.
+- [ITU-T X.1714] Recommendation ITU-T X.1714 (2020), *Key combination and confidential key supply for quantum key distribution networks*.
+- [ITU-T Y.3800] Recommendation ITU-T Y.3800 (2019), *Overview on networks supporting quantum key distribution*.
+- [ITU-T Y.3801] Recommendation ITU-T Y.3801 (2020), *Functional requirements for quantum key distribution networks*.
+- [ITU-T Y.3802] Recommendation ITU-T Y.3802 (2020), *Quantum key distribution networks – Functional architecture*.
+- [ITU-T Y.3803] Recommendation ITU-T Y.3803 (2020), *Quantum key distribution networks – Key management*.
+
+# 3 Definitions
+
+### 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 information theoretically secure (IT-secure)** [ITU-T Y.3800]: Secure against any deciphering attack with unbounded computational resources.
+
+**3.1.2 key life cycle** [ITU-T Y.3800]: A sequence of steps that a key undergoes from its reception by a key manager (KM) through its use in a cryptographic application and until deletion or preservation depending on the key management policy.
+
+**3.1.3 key management** [ITU-T Y.3800]: All activities performed on keys during their life cycle starting from their reception from the quantum layer, the storage, formatting, relay, synchronization, authentication, to supply to cryptographic application and delete or preserve depending on the key management policy.
+
+**3.1.4 key management agent (KMA)** [ITU-T Y.3802]: A functional element to manage keys generated by a quantum key distribution (QKD) module/QKD modules in a QKD node (trusted node).
+
+NOTE – KMA acquires keys from one or multiple QKD module/QKD modules, synchronizes, resizes, formats, and stores them. It also relays keys through key management agent (KMA) links.
+
+**3.1.5 key management agent-key (KMA-key)** [ITU-T Y.3803]: Key data stored and processed in a key management agent (KMA), and securely shared between a KMA and a matching KMA.
+
+**3.1.6 key management agent link (KMA link)** [ITU-T Y.3802]: A communication link connecting KMAs to perform IT-secure key relay and communications for key management.
+
+**3.1.7 key manager (KM)** [ITU-T Y.3800]: A functional module located in a quantum key distribution (QKD) node to perform key management in the key management layer.
+
+**3.1.8 key manager link (KM link)** [ITU-T Y.3800]: A communication link connecting key managers (KMs) to perform key management.
+
+**3.1.9 key relay** [ITU-T Y.3800]: A method to share keys between arbitrary quantum key distribution (QKD) nodes via intermediate QKD node(s).
+
+**3.1.10 key supply agent (KSA)** [ITU-T Y.3802]: A functional element to supply keys to a cryptographic application, being located between a key management agent (KMA) and the cryptographic application.
+
+NOTE – Application interfaces for cryptographic applications are installed into the key supply agent (KSA). The KSA synchronizes keys and verifies their integrity via a KSA link before supplying them to the cryptographic application.
+
+**3.1.11 key supply agent-key (KSA-key)** [ITU-T Y.3803]: Key data stored and processed in a key supply agent (KSA), and securely shared between a KSA and a matching KSA.
+
+**3.1.12 key supply agent link (KSA link)** [ITU-T Y.3802]: A communication link connecting KSAs to perform key synchronization and integrity verification.
+
+**3.1.13 message authentication code** [b-ETSI GS QKD 008]: Cryptographic checksum on data that uses a symmetric key to detect both accidental and intentional modifications of data.
+
+**3.1.14 quantum key distribution (QKD)** [b-ETSI GR QKD 007]: QKD is a procedure or method for generating and distributing symmetrical cryptographic keys with information theoretical security based on quantum information theory.
+
+**3.1.15 quantum key distribution module (QKD module)** [ITU-T Y.3800]: A set of hardware and software components that implements cryptographic functions and quantum optical processes, including quantum key distribution (QKD) protocols, synchronization, distillation for key generation, and is contained within a defined cryptographic boundary.
+
+NOTE – A QKD module is connected to a QKD link, acting as an endpoint module in which a key is generated. These are two types of QKD modules, namely, the transmitters (QKD-Tx) and the receivers (QKD-Rx).
+
+**3.1.16 quantum key distribution-key (QKD-key)** [ITU-T Y.3802]: A pair of symmetric random bit strings generated by a pair of quantum key distribution (QKD) modules, particularly referring to random bit strings before being resized and formatted in a KM.
+
+**3.1.17 quantum key distribution link (QKD link)** [ITU-T Y.3800]: A communication link between two quantum key distribution (QKD) modules to operate the QKD.
+
+NOTE – A QKD link consists of a quantum channel for the transmission of quantum signals, and a classical channel used to exchange information for synchronization and key distillation.
+
+**3.1.18 quantum key distribution network (QKDN)** [ITU-T Y.3800]: A network comprised of two or more quantum key distribution (QKD) nodes connected through QKD links.
+
+NOTE – A QKDN allows sharing keys between the QKD nodes by a key relay when they are not directly connected by a QKD link.
+
+**3.1.19 quantum key distribution network controller (QKDN controller)** [ITU-T Y.3800]: A functional module, which is located in a quantum key distribution (QKD) control layer to control a QKD network.
+
+**3.1.20 quantum key distribution network manager (QKDN manager)** [ITU-T Y.3800]: A functional module, which is located in a quantum key distribution (QKD) network management layer to monitor and manage a QKD network.
+
+**3.1.21 quantum key distribution node (QKDN node)** [ITU-T Y.3800]: A node that contains one or more quantum key distribution (QKD) modules protected against intrusion and attacks by unauthorized parties.
+
+NOTE – A QKD node can contain a key manager (KM).
+
+**3.1.22 quantum key distribution protocol (QKD protocol)** [ITU-T X.1710]: List of steps for establishing symmetric cryptographic keys with information-theoretical security based on quantum information theory.
+
+**3.1.23 security demarcation boundary** [ITU-T Y.3800]: A boundary to demarcate QKDN's responsibility on the keys to be supplied from the user network's responsibility for the use of the keys.
+
+**3.1.24 user network** [ITU-T Y.3800]: A network in which cryptographic applications consume keys supplied by a quantum key distribution (QKD) network.
+
+### **3.2 Terms defined in this Recommendation**
+
+None.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-----------|----------------------------------|
+| AES | Advanced Encryption Standard |
+| DoS | Denial of Service |
+| ID | Identifier |
+| IT-secure | Information-Theoretically secure |
+| KM | Key Manager |
+| KMA | Key Management Agent |
+| KSA | Key Supply Agent |
+| MAC | Message Authentication Code |
+| OTP | One-Time Pad |
+| QKD | Quantum Key Distribution |
+| QKDN | Quantum Key Distribution Network |
+
+# **5 Conventions**
+
+In this Recommendation:
+
+The keywords "is required to" indicate a requirement that must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "is recommended" indicate a requirement that is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+# 6 Introduction
+
+A QKD network (QKDN) enables the supply of secure keys to cryptographic applications for protecting the long-term confidentiality of data. Basic functions and layered structures of the QKDN are defined in [ITU-T Y.3800]. Functional requirements and architectures are specified in [ITU-T Y.3801] and [ITU-T Y.3802], respectively. A security framework for the QKDN is specified in [ITU-T X.1710], by addressing the security threats against the QKDN, and deriving the general security requirements and the security measures for the QKDN.
+
+This Recommendation addresses security issues of key management of the QKDN and specifies security requirements for key management as defined in clause 3.1.3, based on the key management framework described in [ITU-T Y.3803]. In terms of the layered model specified in [ITU-T Y.3800], the key management layer is the unique layer that will be considered in this Recommendation. In addition, the interfaces between the key management layer and other layers listed below are within the scope of this Recommendation:
+
+- a quantum layer;
+- a QKDN control layer;
+- a QKDN management layer;
+- a service layer.
+
+## 7 Information assets to be protected in key management in the QKDN
+
+Information assets to be protected in key management in the QKDN are as follows.
+
+### 7.1 Key data
+
+Key data comprise random bit strings. The individual key data can be used as a symmetric cryptographic key.
+
+There are several kinds of key data in the process of key management which are as follows:
+
+- QKD-key: key data generated by a QKD module, and acquired by a KMA;
+- KMA-key: key data resized by the KMA by combining or splitting QKD-keys into a prescribed size;
+- KSA-key: key data transferred from the KMA to a KSA according to a requested key length, which is supplied to the cryptographic application.
+
+### 7.2 Metadata
+
+Metadata are attribute information on key data and key management. Such information may include but is not limited to:
+
+- key identifier (ID) (QKD-key ID, KMA-key ID, source KMA-key ID, KSA-key ID);
+- generation time stamp;
+- QKD module ID;
+- matching QKD module ID;
+
+NOTE 1 – For a QKD module *X*, the other QKD module *Y* to which QKD module *X* is directly connected via a QKD link is called the matching QKD module.
+
+- key length;
+- hash value;
+- key type (encryption key/decryption key);
+- KMA ID;
+- source KMA ID;
+
+- matching KMA ID;
+
+NOTE 2 – For a KMA *X*, the other KMA *Y* to which KMA *X* is directly connected via a KMA link is called the matching KMA.
+
+- destination KMA ID;
+- key relay time stamp;
+- key relay encryption method including relevant parameters;
+- KMA-key metadata;
+- supply time stamp;
+- application name;
+- application source ID;
+- application destination ID; and so on.
+
+The items above are not always mandatory but optional.
+
+### 7.3 Control and management information
+
+Control and management information relevant to key management is as follows:
+
+- key management information, which is communicated via the KMA and KSA links in the key management layer;
+- QKDN control information, which is communicated via control links between the key management layer and the QKDN control layer;
+- QKDN management information, which is exchanged among the key management layer, the QKDN control layer, and the QKDN management layer;
+- QKD module status information, which is communicated via links between the key management layer and the quantum layer.
+
+# 8 Security threats of key management in QKDN
+
+The key management framework and functional elements used in this Recommendation have been described in [ITU-T Y.3803]. This clause focuses on intrinsic security threats to key management for the QKDN.
+
+In addition to a QKD link, a KMA link and a KSA link which are defined in [ITU-T Y.3800] and [ITU-T Y.3802], this Recommendation refers to the following links in this clause.
+
+- Key supply link: A communication link connecting a QKD module and a KMA, a KMA and a KSA, or a KSA and a cryptographic application to supply QKD-keys, KMA-keys and KSA-keys, respectively. It also transmits metadata and the relevant parameters.
+- Control and management link: A communication link to convey control and management information. These links connect a QKDN controller and its entities, a QKDN manager and its entities, or a QKD module and a KM.
+
+Attack surfaces against key management in the QKDN are summarized in Figure 1 by red circles. The links that convey the key data include:
+
+- 1) KMA links and key supply links, which include links between a QKD module and a KMA, links between a KMA and a KSA, and links between a KSA and a cryptographic application.
+
+While the links that do not convey the key data include:
+
+- 2) KSA links,
+- 3) Control and management links connected to KMs.
+
+NOTE 1 – Once key data has been supplied from KSAs to the cryptographic applications, the applications are responsible for the key data and its use.
+
+NOTE 2 – The following items are outside the scope of this Recommendation:
+
+- (i) Attacks on functional entities outside the key management layer (e.g., the QKD modules, the QKDN controller, and the QKDN manager).
+- (ii) Attacks on links that are not directly connected to the KMs (e.g., the QKD link comprising the quantum and classical channels).
+- (iii) Insider attacks against the KM.
+
+NOTE 3 – Insider attacks are attacks originating from an action within an organization that is legitimately involved in the QKDN, e.g., malicious attacks by a trusted operator of a QKDN, their business associates, or an outsider that has access to a controlled location within a QKDN by deception, etc.
+
+- (iv) Side-channel attacks, trapdoors, human errors, and natural disasters against the KM.
+
+NOTE 4 – Assuming that the functions of the KM are digital, the side-channel attacks in (iv) are against the digital (not quantum) functions. Potential attacks include, for example, power analysis, timing analysis, fault induction and TEMPEST.
+
+On each attack surface, the following security threats could arise:
+
+- spoofing (masquerade);
+- eavesdropping;
+- deletion or corruption
+- destruction of system resources, and
+- denial of service (DoS).
+
+NOTE 5 – The meanings of the terms of the security threats are specified in [ITU-T X.1710].
+
+Even under the restrictions in (iii) and (iv), the KMAs and the KSAs may also suffer from the security threats listed in Figure 1 because malicious attacks such as a man-in-the-middle-attack could be launched against the links, causing effects on those functional elements in the KMs.
+
+As shown in Figure 1, the KMAs and the KSAs, both of which deal with keys, should be located inside the trusted nodes for proper key management. Key supply links are also located inside the trusted nodes in most cases.
+
+NOTE 6 – In most cases, cryptographic applications, the QKDN controller and the QKDN manager are located inside the trusted nodes. On the other hand, in some cases, while a cryptographic application receives keys in the trusted node, it consumes the keys outside the trusted node. Typical examples include cryptographic applications in mobile terminals such as smartphones and drones. This being the case, the key supply link between the KSA and the cryptographic applications may or may not be located inside the trusted node.
+
+
+
+Figure 1: Attack surfaces of key management in the QKDN. The diagram illustrates a multi-layered architecture. The top layer is the 'Service layer' containing 'Application' blocks. Below it is the 'QKDN control layer' with a 'QKDN controller'. The middle section is the 'Key management layer' containing 'KM1', 'KM2', and 'KM3' blocks, each with 'KSA' and 'KMA' components. The bottom layer is the 'Quantum layer' with 'QKD module' blocks. Links are color-coded: green for key supply and KMA links, orange for KSA links, and black for control and management links. Red circles indicate attack surfaces: T\_A1, T\_C, T\_K3, T\_K2-2, T\_K2-1, T\_K1, T\_C&M, and T\_M. A 'Key relay' is shown between KM2 and KM3. A 'Security demarcation' line separates the Service layer from the QKDN control layer. A 'Network manager' is connected to the Applications. A 'QKDN manager' is connected to the QKDN controller and the QKD modules. The diagram is labeled 'X.1712(21)' at the bottom right.
+
+**Figure 1 – Attack surfaces of key management in the QKDN (red circle)**
+
+NOTE 7 – Key supply links and KMA links are shown in green, KSA links are shown in orange, control and management links are shown in black in Figure 1.
+
+### 8.1 Threats to KMA links (T\_K2-1) and key supply links (T-K1, T\_K3, T\_A1)
+
+The links that are shown in green in Figure 1 convey key data, metadata and control and management information. The potential threats involving the links include:
+
+- Eavesdropping: intercepting and deciphering key data, metadata, and control and management information;
+- Deletion or corruption: deletion or modifying key data, metadata, and control and management information;
+- DoS: communication interruption or flooding data traffic.
+
+### 8.2 Threats to KSA links (T\_K2-2)
+
+The links that are shown in orange in Figure 1 are the KSA links through which the metadata, control and management information are exchanged.
+
+- Eavesdropping: intercepting and deciphering metadata, control and management information on the KSA link;
+- Deletion or corruption: deletion or modifying metadata, control and management information on the KSA link;
+
+- DoS: communication interruption or flooding data traffic.
+
+### **8.3 Threats to control and management links (T\_C, T\_M, T\_C&M)**
+
+The control and management links are shown in black in Figure 1. The links convey the metadata, control and management information.
+
+- Eavesdropping: intercepting and deciphering the metadata, control and management information;
+- Deletion or corruption: deletion or modifying the metadata, control and management information;
+- DoS: communication interruption or flooding data traffic.
+
+### **8.4 Threats to KMA and KSA (T\_KMA, T\_KSA)**
+
+Security threats at the KMA and KSA through the KMA links, KSA links and key supply links include:
+
+- Spoofing: an attacker masquerades as a KMA and a KSA to breach information security – an attacker maliciously fabricates an information asset and claims that such an asset was received from another functional element or cryptographic application, or sent to another functional element or cryptographic application;
+- Eavesdropping: intercepting and deciphering the key data and the metadata;
+- Deletion or corruption: deletion or modifying key data and metadata;
+- Destruction of system resources: physical attacks against equipment.
+
+# **9 Security requirements and measures for information assets of key management in QKDN**
+
+To protect the information assets against the security threats addressed in the previous clause, security requirements and measures are derived for each asset.
+
+Security measures for key management to meet the security requirements are studied in line with the procedures of the key management specified in [ITU-T Y.3803]. The procedures include key acquisition from QKD modules, key synchronization, storage, key relay in KMAs, and key supply from KSAs to cryptographic applications.
+
+NOTE 1 – Security requirements and measures described in Tables 1, 2 and 3 address the KMA and KSA, but some of them are not performed solely by the KMA and the KSA. They should be performed in collaboration with the corresponding entities.
+
+NOTE 2 – Security measures listed in Tables 1, 2, and 3 are necessary but not sufficient to fulfil the corresponding security requirements. Some security measures contribute to multiple security requirements.
+
+NOTE 3 – Details of authentications and authorizations of entities and messages in a QKDN are outside the scope of this Recommendation.
+
+### **9.1 Security requirements and measures on the key data**
+
+The requirements and measures for security protection of the key data are summarized in Table 1.
+
+**Table 1 – Security requirements and measures on the key data**
+
+| | Description | Security requirements | Security measures |
+|---------------------|------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| (i) confidentiality | Any information on the key data is protected from being leaked to unauthorized elements and parties. | SReq.1 The KMAs are required to ensure confidentiality of key data in a KMA link.
SReq.2 The KMAs are recommended to use IT-secure confidentiality measures for a key relay in KMA links.
SReq.3 The KMAs are required to ensure confidentiality of the key data in the key supply links between the KMA and a QKD module(s) in collaboration with the QKD module(s).
SReq.4 The KMAs and KSAs are required to ensure confidentiality of the key data in the key supply links between the KMA and the KSA.
SReq.5 The KSAs are required to ensure confidentiality of the key data in the key supply links between the KSA and a cryptographic application in collaboration with the cryptographic application.
SReq.6 The KMA and the KSA are required to ensure confidentiality of key data when processed by or stored in the KMA and the KSA.
| – Towards SReq.1, the KMAs have capabilities to perform key relay with encryption/decryption to protect the required confidentiality. – Towards SReq.2, KMAs encrypt the key data by IT-secure encryption/decryption such as a one-time pad (OTP) when it is relayed to other KMAs. – Towards SReq.3, SReq.4 and SReq.5, the confidentiality of key data is protected by appropriate means, which include physical protection of the key supply links and/or cryptographic methods by the KMA and the KSA. – Towards SReq.6, the KMA and the KSA are protected by appropriate means, which include tamper protection measures and/or the use of cryptographic measures. NOTE 1 – Tamper protection measures may be implemented together with security measures provided by a trusted node.
|
+
+**Table 1 – Security requirements and measures on the key data**
+
+| | Description | Security requirements | Security measures |
+|-----------------------------------------|--------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| (ii) integrity | The key data remains unaltered. | SReq.7 The KMA is required to ensure the integrity of the key data that it manages.
SReq.8 The KSA is required to ensure the integrity of the key data that it manages.
| – Towards SReq.7, the following items (i), (ii) and (iii) are performed. (i) The KMA verifies the integrity of QKD-keys received from QKD modules. (ii) When the KMA creates a KMA-key from the received QKD-key, the KMA checks the integrity of the processing of the KMA-key. (iii) The KMA verifies the integrity of the KMA-keys received from other KMAs. – Towards SReq.8, the following item (i) and (ii) are performed. (i) The KSA verifies the integrity of KMA-keys received from KMA. (ii) When the KSA creates a KSA-key from the received KMA-key, the KSA checks the integrity of the processing of the KSA-key. – Towards SReq.7 and SReq.8, the KMA and the KSA are protected by appropriate means, which could include tamper protection measures and/or the use of cryptographic measures. NOTE 2 – Tamper protection measures may be implemented together with security measures provided by a trusted node.
|
+| (iii) authentication and access control | The key data comes from authorized entities and access to the key data is restricted to authorized entities. | SReq.9 The KMA and KSA are required to ensure that the key data received from other entities is not trusted unless the identity of the sending entity has been authenticated and is authorized to supply the key data.
SReq.10 The KMA and KSA are required to ensure that they do not allow another entity access to the unencrypted key data without ensuring that the other entity is authorized to receive it.
| – Towards SReq.9 and SReq.10, the KMA and the KSA could, for example, perform mutual authentication with other entities with which they communicate or utilize other approaches. – Towards SReq.9 and SReq.10, the KMA and KSA have the capability to handle attributes and to implement access control security policies. |
+| (iv) availability | The key data is available whenever required. | SReq.11 The KMA is required to have the capability to store key data.
SReq.12 The KMA is recommended to supply the key data when it is requested from the KSA even if the two QKD nodes do not have direct QKD links between them.
| – Towards SReq.11, the KMA has a certain amount of storage space for key storage. – Towards SReq.12, if the QKD nodes do not have direct QKD links between them, the KMA at the QKD node performs a key relay between the two endpoint KMAs to share the necessary amount of KMA-keys under the control of the QKDN controller for routing, rerouting and other possible actions. |
+
+**Table 1 – Security requirements and measures on the key data**
+
+| | Description | Security requirements | Security measures |
+|--------------------|----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| (v) accountability | The key life cycle is traceable. | SReq.13 The KMA and the KSA are required to have the capabilities to trace the key as requested.
SReq.14 The KMA is recommended to inform a QKDN controller and/or a QKDN manager of the encryption method of the key relay and the relevant parameters.
| – Towards SReq.13, the KMA and the KSA create and store metadata such as key ID, etc. for key life cycle management. – Towards SReq.14, the KMA has capabilities to create the metadata and the relevant parameters and send them to a QKDN controller and/or a QKDN manager. NOTE 3 – Alternatively, in the case of KMA with a fixed encryption method for a key relay, the QKDN controller and QKDN manager can be initialized with the KMA encryption method, and the relevant parameters added to their configurations.
NOTE 4 – Actual actions for information to a QKDN controller and/or a QKDN manager depend on the implementation.
NOTE 5 – For confidentiality, the key relay function is capable of employing IT-secure encryption. For example, when the required amount of key for an IT-secure key relay is not available, some backup key relay schemes with a symmetric key cipher such as an advanced encryption standard (AES), using at least 256-bit symmetric keys, need to be launched as described in [ITU-T X.1714].
NOTE 6 – The authentication can be performed by IT-secure authentication or authentication with public key certificates, etc.
NOTE 7 – Wegman-Carter authentication [b-Wegman-Carter] is an example of an IT-secure message authentication code based on an almost strongly universal2 family of hash functions.
|
+
+### 9.2 Security requirements and measures on the metadata
+
+The requirements and measures on security protection of the metadata are summarized in Table 2.
+
+**Table 2 – Security requirements and measures on the metadata**
+
+| | Description | Security requirements | Security measures |
+|---------------------|------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| (i) confidentiality | Any information on the metadata is protected from being leaked to unauthorized elements and parties. | SReq.15 The KMA is recommended to ensure confidentiality of the metadata in KMA links and key supply links in collaboration with the QKD module(s) when they are transmitted through them.
SReq.16 The KSA is recommended to ensure confidentiality of the metadata in KSA links and key supply links in collaboration with the cryptographic application when they are transmitted through them.
SReq.17 The KMA and the KSA are recommended to ensure confidentiality of metadata when processed by or stored in the KMA and KSA.
| – Towards SReq.15 and 16, the confidentiality of metadata is protected by appropriate means, which include physical protection of the key supply links and/or cryptographic methods by the KMA and the KSA.
– Towards SReq.17, the KMA and the KSA are protected by appropriate means, which include tamper protection measures and/or the use of cryptographic measures.
NOTE 1 – Tamper protection measures may be implemented together with security measures provided by a trusted node.
|
+| (ii) integrity | The metadata remains unaltered. | SReq.18 The KMA is required to ensure the integrity of the metadata that it manages.
SReq.19 The KSA is required to ensure the integrity of the metadata that it manages.
| – Towards SReq.18, the following items (i), (ii) and (iii) are performed.
(i) The KMA verifies the integrity of metadata received from QKD modules.
(ii) When the KMA creates a KMA-key from the received QKD-key, the KMA checks the integrity of the processing of the metadata of the KMA-key.
NOTE 2 – Checking of the integrity of the processing of the metadata of the KMA-key may involve the KMA and the matching KMA.
(iii) The KMA verifies the integrity of metadata received from other KMAs.
– Towards SReq.19, the following items (i) and (ii) are performed.
(i) The KSA verifies the integrity of metadata received from KMA.
(ii) When the KSA creates a KSA-key from the received KMA-key, the KSA checks the integrity of the processing of the metadata of the KSA-key.
NOTE 3 – Checking of the integrity of the processing of the metadata of the KSA-key may involve the KSA and the matching KSA.
– Towards SReq.18 and SReq.19, the KMA and the KSA are protected by appropriate means, which could include tamper protection measures and/or the use of cryptographic measures.
NOTE 4 – Tamper protection measures may be implemented together with security measures provided by a trusted node.
|
+
+**Table 2 – Security requirements and measures on the metadata**
+
+| | Description | Security requirements | Security measures |
+|-----------------------------------------|--------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| (iii) authentication and access control | The metadata comes from authorized entities and access to the metadata is restricted to authorized entities. | SReq.20 The KMA and KSA are required to ensure that the metadata received from other entities is not trusted unless the identity of the sending entity has been authenticated and, it is then authorized to supply the metadata.
SReq.21 The KMA and KSA are required to ensure that they do not allow another entity to have access to the unencrypted metadata without ensuring that the other entity is authorized to receive it.
| – Towards SReq.20 and SReq.21, the KMA and the KSA could, for example, perform mutual authentication with other entities with which they communicate, or utilize other approaches. – Towards SReq.20 and SReq.21, the KMA and KSA have the capability to handle attributes and to implement access control security policies. |
+| (iv) availability | N/A | N/A | N/A |
+| (v) accountability | N/A | N/A | N/A |
+
+### 9.3 Security requirements and measures on the control and management information
+
+The requirements and measures on security protection of the control and management information are summarized in Table 3.
+
+NOTE – When the KMs are the subject of a security requirement, one or more of its embedded functions are in charge of this requirement. The possible embedded functions in the KMs include KMA, KSA or KM control and management as specified in [ITU-T Y.3802].
+
+**Table 3 – Security requirements and measures on the control and management information**
+
+| | Description | Security requirements | Security measures |
+|---------------------|--------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| (i) confidentiality | Any information on the control and management information is protected from being leaked to unauthorized elements and parties. | SReq.22 The KMs are recommended to ensure confidentiality of the control and management information in the control and management links when they are transmitted through them. | – Towards SReq.22, the KMs protect the control and management information in the control and management links by appropriate cryptographic methods. |
+
+**Table 3 – Security requirements and measures on the control and management information**
+
+| | Description | Security requirements | Security measures |
+|-----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| (ii) integrity | The control and management information remains unaltered. | SReq.23 The KMs are required to ensure the integrity of the control and management information that they manage. | – Towards SReq.23, the KMs secure the integrity of the control and management information when communicated. |
+| (iii) authentication and access control | The control and management information comes from authorized entities and access to the control and management information is restricted to authorized entities. | SReq.24 The KMs are required to ensure that the control and management information received from other entities is not trusted unless the identity of the sending entity has been authenticated, and it is then authorized to supply the control and management information. SReq.25 The KMs are required to ensure that they do not allow another entity access to the unencrypted control and management information without ensuring that the other entity is authorized to receive it. | – Towards SReq.24 and SReq.25, the KMs could, for example, perform mutual authentication with other entities with which they communicate, or utilize other approaches. – Towards SReq.24 and SReq.25, the KMs have the capability to handle attributes and to implement access control security policies. |
+| (iv) availability | N/A | N/A | N/A |
+| (v) accountability | N/A | N/A | N/A |
+
+### 9.4 Loss and corruption, and DoS
+
+Loss of information can be made up for by detection of data loss and resending them. In addition, DoS can be protected by controlled access in conjunction with appropriate packet filtering by firewalls and intrusion prevention systems (IPS), etc.
+
+## Bibliography
+
+- [b-ETSI GS QKD 005] ETSI Group Specification QKD 005 V1.1.1 (2010), *Quantum Key Distribution (QKD); Security Proofs*.
+[https://www.etsi.org/deliver/etsi\\_gs/QKD/001\\_099/005/01.01.01\\_60/gs\\_QKD005v010101p.pdf](https://www.etsi.org/deliver/etsi_gs/QKD/001_099/005/01.01.01_60/gs_QKD005v010101p.pdf)
+- [b-ETSI GR QKD 007] ETSI Group Report QKD 007 V1.1.1 (2018), *Quantum Key Distribution (QKD); Vocabulary*.
+[https://www.etsi.org/deliver/etsi\\_gr/QKD/001\\_099/007/01.01.01\\_60/gr\\_qkd007v010101p.pdf](https://www.etsi.org/deliver/etsi_gr/QKD/001_099/007/01.01.01_60/gr_qkd007v010101p.pdf)
+- [b-ETSI GS QKD 008] ETSI Group Specification QKD 008 V1.1.1 (2010), *Quantum Key Distribution; QKD module security specification*.
+[https://www.etsi.org/deliver/etsi\\_gs/qkd/001\\_099/008/01.01.01\\_60/gs\\_qkd008v010101p.pdf](https://www.etsi.org/deliver/etsi_gs/qkd/001_099/008/01.01.01_60/gs_qkd008v010101p.pdf)
+- [b-Wegman-Carter] Wegman, M., N and Carter, J., L. (1981). *New hash functions and their use in authentication and set equality*. Journal of Computer and System Sciences, Volume 22, Issue 3, 1981, Pages 265-279, ISSN 0022-0000.
+
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1713-202404-I_PDF-E/raw.md b/marked/X/T-REC-X.1713-202404-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..56513d8db0ad9be082912b2471604c43f1de10b9
--- /dev/null
+++ b/marked/X/T-REC-X.1713-202404-I_PDF-E/raw.md
@@ -0,0 +1,500 @@
+
+
+# Recommendation**ITU-T X.1713 (04/2024)**
+
+SERIES X: Data networks, open system communications
+and security
+
+Quantum communication – Quantum Key Distribution
+Network (QKDN)
+
+---
+
+## **Security requirements for the protection of quantum key distribution nodes**
+
+## ITU-T X-SERIES RECOMMENDATIONS
+
+## **Data networks, open system communications and security**
+
+| | |
+|---------------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1-X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200-X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300-X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400-X.499 |
+| DIRECTORY | X.500-X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600-X.699 |
+| OSI MANAGEMENT | X.700-X.799 |
+| SECURITY | X.800-X.849 |
+| OSI APPLICATIONS | X.850-X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900-X.999 |
+| INFORMATION AND NETWORK SECURITY | X.1000-X.1099 |
+| SECURE APPLICATIONS AND SERVICES (I) | X.1100-X.1199 |
+| CYBERSPACE SECURITY | X.1200-X.1299 |
+| SECURE APPLICATIONS AND SERVICES (II) | X.1300-X.1499 |
+| CYBERSECURITY INFORMATION EXCHANGE | X.1500-X.1599 |
+| CLOUD COMPUTING SECURITY | X.1600-X.1699 |
+| QUANTUM COMMUNICATION | X.1700-X.1729 |
+| Terminologies | X.1700-X.1701 |
+| Quantum random number generator | X.1702-X.1704 |
+| Quantum Key Distribution Network (QKDN) | X.1705-X.1749 |
+| DATA SECURITY | X.1750-X.1799 |
+| INTERNATIONAL MOBILE TELECOMMUNICATIONS (IMT) SECURITY | X.1800-X.1839 |
+| METAVEVERSE AND DIGITAL TWIN SECURITY | X.2000-X.2199 |
+| SOFTWARE SUPPLY CHAIN SECURITY | X.2150-X.2199 |
+| ARTIFICIAL INTELLIGENCE (AI) / MACHINE LEARNING (ML) SECURITY | X.2200-X.2249 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.1713
+
+# Security requirements for the protection of quantum key distribution nodes
+
+## Summary
+
+Quantum key distribution (QKD) enables two remote parties to share a common random binary key that is unknown to a potential eavesdropper. QKD networks based on trusted nodes (QKD nodes) have been widely adopted to enlarge the key distribution distance and enrich QKD-based applications. The trustworthiness of a QKD node is fundamental to ensure the overall security in a QKD network.
+
+Recommendation ITU-T X.1713 provides guidance for the secure implementation and operation of QKD nodes in QKD networks. The Recommendation identifies security threats, provides security requirements for QKD nodes and provides specific techniques to meet the requirements.
+
+## History \*
+
+| Edition | Recommendation | Approval | Study Group | Unique ID |
+|---------|----------------|------------|-------------|--------------------|
+| 1.0 | ITU-T X.1713 | 2024-04-29 | 17 | 11.1002/1000/15885 |
+
+## Keywords
+
+Quantum key distribution, quantum key distribution network, trusted node.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+### NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2024
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|----------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|------|
+| 1 | Scope..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 5 | Conventions ..... | 3 |
+| 6 | Introduction..... | 3 |
+| 7 | Assets to be protected in a QKD node in a QKDN ..... | 4 |
+| 8 | Security threats to a QKD node in a QKDN..... | 5 |
+| | 8.1 Possible attacks..... | 5 |
+| | 8.2 Risk and threat analysis ..... | 6 |
+| 9 | Security requirements for QKD nodes in a QKD network..... | 7 |
+| Appendix I A configuration example of security measures for QKD nodes..... | | 9 |
+| | I.1 Configuration example of security measures for unauthorized physical access and unauthorized access through dynamic entities ..... | 9 |
+| | I.2 Configuration example of security measures for QKD links ..... | 9 |
+| | I.3 Configuration example of security measure for unauthorized network access..... | 10 |
+| | I.4 Configuration example of security measures for attacks through installation, maintenance and migration..... | 11 |
+| | I.5 Configuration example of security measures for classical side-channel attacks ..... | 12 |
+| Appendix II Further considerations on security measures for QKD nodes..... | | 13 |
+| Bibliography..... | | 14 |
+
+
+
+# Recommendation ITU-T X.1713
+
+## Security requirements for the protection of quantum key distribution nodes
+
+# 1 Scope
+
+This Recommendation is part of a series of ITU-T Recommendations on security requirements for quantum key distribution networks (QKDNs). This Recommendation describes the security requirements for quantum key distribution (QKD) nodes from the following perspectives:
+
+- Security threats to QKD nodes in a QKD network;
+- Security requirements for QKD nodes in a QKD network; and
+- Typical configuration of security measures for a QKD node.
+
+NOTE – A QKD node is considered to be a trusted node, and the scope of trusted nodes is aligned to [ITU-T X.1710].
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.1710] Recommendation ITU-T X.1710 (2020), *Security framework for quantum key distribution networks*.
+- [ITU-T Y.3800] Recommendation ITU-T Y.3800 (2019), *Overview on networks supporting quantum key distribution*.
+- [ITU-T Y.3802] Recommendation ITU-T Y.3802 (2020), *Quantum key distribution networks – Functional architecture*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 key manager (KM)** [ITU-T Y.3800]: A functional module located in a quantum key distribution (QKD) node to perform key management in the key management layer.
+
+**3.1.2 key management agent (KMA)** [ITU-T Y.3802]: A functional element to manage keys generated by one or multiple quantum key distribution (QKD) modules in a QKD node (trusted node).
+
+NOTE – Application interfaces for cryptographic applications are installed into the key supply agent (KSA). The KSA synchronizes keys, and verifies their integrity via a KSA link before supplying them to the cryptographic application.
+
+**3.1.3 key supply agent (KSA)** [ITU-T Y.3802]: A functional element to supply keys to a cryptographic application, being located between a key management agent (KMA) and the cryptographic application.
+
+NOTE – Application interfaces for cryptographic applications are installed into the key supply agent (KSA). The KSA synchronizes keys, and verifies their integrity via a KSA link before supplying them to the cryptographic application.
+
+**3.1.4 quantum key distribution (QKD)** [b-ETSI GR QKD 007]: Procedure or method for generating and distributing symmetrical cryptographic keys with information theoretical security based on quantum information theory.
+
+**3.1.5 quantum key distribution link** [ITU-T Y.3800]: A communication link between two quantum key distribution (QKD) modules to operate the QKD.
+
+NOTE – A QKD link consists of a quantum channel for the transmission of quantum signals, and a classical channel used to exchange information for synchronization and key distillation.
+
+**3.1.6 quantum key distribution module** [ITU-T Y.3800]: A set of hardware and software components that implements cryptographic functions and quantum optical processes, including quantum key distribution (QKD) protocols, synchronization, distillation for key generation, and is contained within a defined cryptographic boundary.
+
+NOTE – A QKD module is connected to a QKD link, acting as an endpoint module in which a key is generated. These are two types of QKD modules, namely, the transmitters (QKD-Tx) and the receivers (QKD-Rx).
+
+**3.1.7 quantum key distribution network (QKDN)** [ITU-T Y.3800]: A network comprised of two or more quantum key distribution (QKD) nodes connected through QKD links.
+
+NOTE – A QKDN allows sharing keys between the QKD nodes by key relay when they are not directly connected by a QKD link.
+
+**3.1.8 quantum key distribution node** [ITU-T Y.3800]: A node that contains one or more quantum key distribution (QKD) modules protected against intrusion and attacks by unauthorized parties.
+
+NOTE – A QKD node can contain a key manager (KM).
+
+## **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following term:
+
+**3.2.1 trusted node (TN)**: A node that is protected against intrusion and attacks by unauthorized parties, and acts as a boundary protecting all embedded elements against attackers outside the node.
+
+NOTE 1 – A trusted node can contain one or more quantum key distribution (QKD) modules, key managers (KMs), quantum key distribution network (QKDN) managers, QKDN controllers, applications and other possible entities.
+
+NOTE 2 – In [ITU-T X.1710], the description of trusted node (TN) is given as: "To ensure information security of a QKD node, especially to protect the security of keys, the QKD node must be protected against intrusion and attacks by unauthorized parties. A QKD node with such a protection is called a trusted node. A trusted node acts as a boundary protecting all embedded elements against attackers outside the node."
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|-------------------------------------------|
+| DLP | Data Loss Prevention |
+| DoS | Denial of Service |
+| EM | Electro-Magnetic |
+| HSM | Hardware Security Module |
+| IDPS | Intrusion Detection and Prevention System |
+| IPS | Intrusion Prevention System |
+| ITS | Information Theoretic Security |
+| KM | Key Manager |
+| KMA | Key Management Agent |
+
+| | |
+|-------|--------------------------------------|
+| KSA | Key Supply Agent |
+| L3SW | Layer 3 Switch |
+| QKD | Quantum Key Distribution |
+| QKDN | Quantum Key Distribution Network |
+| SSL | Secure Socket Layer |
+| SSH | Secure Shell |
+| TN | Trusted Node |
+| VESDA | Very Early Smoke Detection Apparatus |
+| ZTNA | Zero Trust Network Access |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The keywords "is required to" indicate a requirement which must be strictly followed and from which no deviation is permitted if conformance to this document is to be claimed.
+
+The keywords "is recommended" indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "can optionally" indicate an optional requirement which is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option, and the feature can be optionally enabled by the network operator/service provider. Rather, it means the vendor may optionally provide the feature and still claim conformance with the specification.
+
+# 6 Introduction
+
+Quantum key distribution (QKD) enables two remote parties to share symmetric random bit strings to be used as a secure key that is unknown to potential eavesdroppers. In principle, any eavesdropping attempts will unavoidably introduce quantum disturbances and will be detected by QKD users. The information theoretic security (ITS) of QKD protocol and its security proof is derived from the theory of quantum physics and quantum information. QKD point-to-point link distance is fundamentally limited by the quantum channel loss [b-Pirandola]. In practice, QKD networks (QKDNs) based on trusted nodes (TNs) have been widely adopted to extend the key establishment distance and enrich QKD-key based applications. As described in [ITU-T X.1710], a trusted node in QKDN is a QKD node that is protected against intrusion and attacks by unauthorized parties. Conceptually, a QKD node is also considered as a trusted node.
+
+This Recommendation aligns the concept of the QKD node to [ITU-T X.1710], and addresses security issues of QKD nodes in the QKDN, including assets in a QKD node that need to be protected, security threats and risk analysis in QKD nodes, security requirements in a QKD node that address the threats, and security measures in QKD nodes established to meet the security requirements.
+
+
+
+The diagram illustrates the internal structure of a QKD node (Trusted node) and its connections to external components. A solid-lined box represents the QKD node, which contains a QKD module, a Key Manager (KM), and optionally a QKDN controller and QKDN manager. A dashed-lined box represents an optional cryptographic application within the node. External cryptographic applications connect to the node via KM-APP and KM-M links. Security threats (T\_A1, T\_M1, T\_C1, T\_K2, T\_Qq, T\_Qc, T\_Node) are marked at various interface points. The diagram is labeled X.1713(24) at the bottom right.
+
+Figure 1: A typical structure of a QKD node and security threats. The diagram shows a QKD node (Trusted node) containing a QKD module, a Key Manager (KM), and optionally a QKDN controller and QKDN manager. External cryptographic applications connect via KM-APP and KM-M links. Security threats (T\_A1, T\_M1, T\_C1, T\_K2, T\_Qq, T\_Qc, T\_Node) are marked at various interface points. The diagram is labeled X.1713(24) at the bottom right.
+
+**Figure 1 – A typical structure of a QKD node and security threats**
+
+In Figure 1 a solid-lined box indicates functional entities contained in the QKD node. A dashed-lined box indicates functional entities optionally contained in the QKD node. Red marks indicate the threats outside the QKD node that arise from the interface points.
+
+As shown in Figure 1, QKD module(s), key manager(s) and internal links are all located in a QKD node. A QKDN controller and a QKDN manager are functional entities that can optionally be included as well. Cryptographic applications can have a point of presence inside a QKD node. It depends on the specific usage of the cryptographic application, arrangement of user devices, security responsibility of different parts of a system or other user cases. Entities in a QKD node, or in other words, the scope of a QKD node, varies depending on the situation and the cryptographic applications. For example, an entity directly supplying key supply agent-keys (KSA-keys) via a key manager (KM) for mobile devices should be regarded as a part of a QKD node.
+
+The security threats (T\_Node, T\_K2, T\_C1, T\_M1, T\_A1, T\_Q1) identified in [ITU-T X.1710] that are addressed by a QKD node include:
+
+- T\_Node: Security threat at the QKD node.
+- T\_K2: Security threat at the KM links.
+- T\_C1: Security threat at the control link.
+- T\_M1: Security threat at the management link.
+- T\_A1: Security threat at the KM-APP link.
+- T\_Q1: Security threat at the QKD link.
+
+In this Recommendation, security threats at the QKD link T\_Q1 are divided into security threats at the quantum channel T\_Qq and security threats at the classical channel T\_Qc.
+
+# 7 Assets to be protected in a QKD node in a QKDN
+
+In the QKD node, the assets to be protected include: information assets and QKDN physical entity assets.
+
+The information assets to be protected in a QKD node include:
+
+- a) key data – random bit strings that are used as a cryptographic key:
+ - QKD-key: key data generated by a pair of QKD modules, and acquired by a key management agent (KMA);
+ - KMA-key: key data resized by a KMA by joining or splitting QKD-keys into a predefined size;
+ - KSA-key: key data transferred from a KMA to a KSA according to the requested key length, which is supplied to the cryptographic application;
+- b) metadata – attribute information on key data and key management. Such information is attached to key data as headers and/or footers;
+- c) information from QKD module and KMs to QKDN controller and QKDN manager (if installed):
+ - QKDN controller information that is communicated via the control links between the KM/QKD modules and the QKDN controller;
+ - QKDN management information that is communicated via the management links between the KM/QKD modules and the QKDN controller.
+
+QKDN physical entities are assets to be protected in a QKD node. These are devices that implement functionalities belonging to the functional entities described in [ITU-T Y.3802]. Examples of such functional entities include:
+
+- QKD module
+- KM
+- QKDN controller (if installed)
+- QKDN manager (if installed)
+
+Parts of cryptographic applications can also be assets to be protected in a QKD node.
+
+Links between QKDN physical entities where included are also to be protected in a QKD node. This can form part of the protection of the information assets and QKDN physical entity assets.
+
+Entities in the QKD node can change over time, depending on the implementation. For example, some mobile applications such as smartphones, drones and other mobile terminals can connect to a KSA to receive keys within the QKD node, but can consume the keys mostly outside the QKD node. Meanwhile, a QKD node can optionally contain a QKDN controller and/or a QKDN manager.
+
+# **8 Security threats to a QKD node in a QKDN**
+
+A conceptual structure of a QKDN is specified in [ITU-T Y.3800], and its security framework is described in [ITU-T X.1710]. As specified in these Recommendations, a QKD node can contain QKD modules, KMs, QKDN controllers, QKDN managers, cryptographic applications, interfaces (QKD-KM, KM-APP, KM-C, KM-M, QKD-C, QKD-M) and other possible entities as needed. Several links are connected to the QKD node, including the QKD links, the KM links, the control links, the management links (and the KM-App interfaces if the cryptographic applications are outside the QKD nodes). In [ITU-T X.1710], the security framework of QKDN describes how a QKD node is protected against intrusion and attacks, and that such a protected QKD node is called a trusted node. Clause 8.1 analyses threats to a QKD node, some of which are also considered in [ITU-T X.1710].
+
+## **8.1 Possible attacks**
+
+Figure 1 illustrates a typical structure of a QKD node and its possible attack interface points. Major threats to the QKD node via these points are categorized into the following six types of attack:
+
+- a) Unauthorized physical access (T\_Node)
+ Attackers can physically intrude into the QKD node using different approaches, such as the vulnerabilities of access control mechanisms or misconfigurations (e.g., weak passwords) or by posing as authorized agents. Attackers can then directly access QKD modules, KMs, interfaces (QKD-KM, KM-APP, KM-C, KM-M, QKD-C, QKD-M), QKDN controller, QKDN manager and other entities inside the QKD node to steal information assets or for other purposes such as causing loss or corruption of information, forgery, spoofing, repudiation or denial of service (DoS). Attackers can also interrupt, influence and even take control of the operations of QKDN physical entities and their interfaces.
+- b) Attacks against the QKD link (T\_Qq, T\_Qc)
+ Through the QKD link, in particular the quantum channel (T\_Qq), attackers can attempt to send light into QKD modules to affect the behaviour of internal components or to detect light leakage. This can potentially enable the attackers to achieve knowledge of key information without being detected if a QKD module is not properly implemented [b-ITU-T FG-QIT4N D2.3]. As the quantum channel is an open channel for the QKD transmitter and receiver to exchange quantum signals, even if the internal components of a QKD module can be protected by its own security enclosure, attackers can still attempt to send light or receive optical signals through the quantum channel (T\_Qq). Attackers can also attempt to modify the post processing information through the classical channel (T\_Qc) in the QKD link, which can also lead to leakage of key information if a vulnerability exists in a QKD module.
+- c) Unauthorized network access (T\_Qc, T\_K2, T\_C1, T\_M1, T\_A1)
+ Attackers can try to access the functional elements inside the QKD node through the external links and/or interfaces (T\_Qc, T\_K2, T\_C1, T\_M1, T\_A1). The threats caused by this type of attack include unauthorized access to the information assets, cryptographic vulnerability exploitation, functions abuse, failure explosion, audit circumvention and malicious update.
+- d) Unauthorized access through dynamical entities (T\_Node)
+ Some of the entities can enter and exit a QKD node. For example, cryptographic applications can include mobile terminals such as smart phones and drones that can receive keys inside the QKD node and consume them mostly outside the QKD node. In such a system, attackers can send unauthorized mobile terminals into the QKD node to access entities in the QKD node with the objective of performing attacks.
+- e) Attacks through installation, maintenance and migration (T\_Node)
+ Attackers can attack the entities in the QKD node when these are installed, or under maintenance or migration, e.g., installing backdoors and/or unauthorized entities (QKD modules, KMs, and QKDN controllers or managers). In addition, some QKD modules can have a maintenance port to check the proper operation of the devices. Such ports can potentially open loopholes for attacks, e.g., if not properly disabled.
+- f) Classical side-channel attacks (T\_Node)
+ There are several physical security attacks to cryptographic modules, known as (classical) side-channel attacks, such as power analysis, timing analysis, fault induction. These attacks typically involve detecting some outputs from the modules (e.g., power consumption, radiative electromagnetic (EM) signals, etc.) or applying external forces (EM waves, control of temperature, voltage, etc.). Both invasive and non-invasive attacks can be threats for a QKD node. These attacks are discussed for example in [b-NIST FIPS 140-2], [b-ISO/IEC TS 30104] and [b-ISO/IEC 17825].
+
+## 8.2 Risk and threat analysis
+
+This clause describes security risks and threats caused by the attacks described in clause 8.1 and their relevance.
+
+- a) Cryptographic vulnerability exploitation threats
+QKDN physical entities employ different cryptographic mechanisms such as key agreement, secure system authentication, etc. Through attacks a), b), c), d), e), f) as presented in clause 8.1, attackers can attempt to compromise the cryptographic mechanisms by exploiting the algorithmic vulnerabilities and the design and implementation vulnerabilities in cryptographic functions, including the functions for message encryption, and authentication and identification of users, etc. This can result in the compromise of QKDN physical entities in a QKD node, direct loss of information in the links, etc.
+- b) Functions abuse threats
+Through attacks a), b), c), d), e) presented in clause 8.1, attackers can abuse functions that are not intended for use once physical entities have been delivered, or otherwise in an unintended life-cycle phase (e.g., the test or debugging functions reserved for development and maintenance phases), in order to compromise the QKDN physical entities in a QKD node.
+- c) Failure exploitation threats
+Through attacks a), b), c), d), e), f) presented in clause 8.1, attackers can take advantage of the failures induced during system initialization, and operation, and compromise the QKDN physical entities in a QKD node.
+- d) Audit circumvention threats
+Through attacks a), c), d), e), f) presented in clause 8.1, attackers can attempt to access, change, or modify the security functionality of the physical entities without being detected. This can result in the attackers finding an avenue (e.g., misconfiguration, flaw in the product) to compromise a QKDN physical entity in a QKD node, without QKDN administrators knowing about it.
+- e) Malicious update threats
+Through attacks a), c), d), e) presented in clause 8.1, attackers can attempt to provide a compromised update to the software or firmware, which undermines the security functionality of the QKDN physical entities in a QKD node. Unvalidated updates or updates validated using insecure or weak cryptography can leave software or firmware vulnerable to malicious alteration.
+
+# 9 Security requirements for QKD nodes in a QKD network
+
+The trustworthiness aspect and the security aspect of the QKD node is a fundamental element to ensure the overall security in QKDN. It has been shown that a partially corrupted QKD node can lead to failures of the security of keys relayed using a corrupted QKD node where no honest path exists, and potentially in other insecure circumstances dependent upon the QKDN implementation [b-Salvail]. At a basic level, the security of a QKDN can be analysed under the assumption that QKD nodes have been configured to be secure and that they keep QKDN physical entities out of reach of attackers aside from links between QKD nodes. In practice such assumptions give rise to several security requirements.
+
+The following security requirements have been devised to help protect the information assets and the QKDN physical entity assets inside a QKD node against the security threats addressed in clause 8. The security requirements addressed in this clause are given on a high-level basis. Some considerations of security measures for QKD nodes are discussed in Appendix I and Appendix II.
+
+SReq.1: The QKD node is required to provide boundary protection against physical intrusion by adversary entities into areas containing its QKDN physical entities and links between them.
+
+NOTE 1 – For example, by using door access control, intrusion detection and/or alarms for the QKD node.
+
+SReq.2: The QKD node is recommended to provide protection of its QKDN physical entities and the links between them by appropriate means.
+
+NOTE 2 – For example, additional physical protection (e.g., secure cages) and tamper protection measures can be considered.
+
+SReq.3: The QKD node is required to protect against alteration, interruption and corruption of its QKDN physical entities and the links between them by adversary entities.
+
+SReq.4: The QKD node is recommended to be equipped with real-time sensors to monitor environmental parameters such as voltage, temperature and humidity, and to report significant anomalies detected.
+
+SReq.5: The QKD node is recommended to have the capability to trace physical access, for example, through a video monitoring system.
+
+SReq.6: The QKD node is recommended to adopt physical protection measures to protect against accidental physical damage to its QKDN physical entities and the links between them.
+
+NOTE 3 – For example, fire extinguishing system, and/or design measures to limit the risk of water damage.
+
+SReq.7: The QKD node can optionally assist QKD modules to reduce possible light injections from an attacker to the QKD modules via the quantum channel, and unwanted light leakage of QKD modules to the quantum channel.
+
+NOTE 4 – Active or passive components can be added on the quantum channel in the QKD link against T\_Qq, such as a light monitor, isolator, circulator, filter or power limiter. Such measures can interfere with the correct operation of QKD modules, unless carefully customised for the QKD modules in use. QKD modules can include appropriate protection against T\_Qq.
+
+SReq.8: The QKD node can optionally implement protection against threats T\_Qc, T\_A1, T\_K2, T\_M1 and T\_C1 to the integrity of information in the relevant links.
+
+NOTE 5 – Measures introduced against T\_Qc can interfere with the correct operation of QKD modules, unless carefully customised for the QKD modules in use. QKD modules can include appropriate integrity protection against T\_Qc.
+
+## Appendix I
+
+## A configuration example of security measures for QKD nodes
+
+(This appendix does not form an integral part of this Recommendation.)
+
+### I.1 Configuration example of security measures for unauthorized physical access and unauthorized access through dynamic entities
+
+Security measures in QKD nodes include preventing unauthorized physical access and unauthorized access through dynamic entities, and protection of the functional entities contained in QKD nodes.
+
+QKD nodes are protected by the following measures:
+
+- **Access control (physical access control):** Physical access is managed by multi-factor authentication using an integrated circuit card, biometric authentication or pass-code / password authentication using a numeric keypad. When entering or leaving a room, identification for physical access by personnel such as security guards, anti-pass packs, interlock control, or the like are used to prevent unauthorized physical access.
+- **Surveillance camera:** If it is difficult for personnel such as security guards to be permanently at the entrance to the QKD node facilities, unauthorized physical access can be prevented by remote monitoring using surveillance cameras. In addition, surveillance images are stored for a certain period of time and can be used for forensic investigations, etc.
+
+To increase the availability of the QKD node, the defects of environmental factors due to disasters such as fires can be detected and suppressed by the following measures:
+
+- **Fire detection system:** By detecting a fire at an early stage and implementing an initial response, the expansion of the impact on the entire QKD node can be suppressed. Small amounts of smoke in the initial state of a fire before it spreads can be detected by incorporating the ultra-sensitive very early smoke detection apparatus (VESDA) smoke detection system in the air circulation system of the server room. Furthermore, by sensing the circulating air flow, a certain amount of smoke in the server room or the like can be detected.
+- **Fire extinguishing system:** Gas fire extinguishing systems cause less damage to equipment and are suitable for installation in the QKD node.
+
+A typical implementation of security measures in QKD nodes is shown in Appendix II.
+
+### I.2 Configuration example of security measures for QKD links
+
+Security measures can be considered for the QKD link interface. For the quantum channel against TQq , active or passive components can be added to reduce light injection to or light leakage from the quantum channel. These include but are not limited to light monitors, isolators, circulators, filters and power limiters. For the classical channel against TQc , additional checks to verify the data integrity using different techniques, e.g., Wegman-Carter message authentication code, can be considered. Counter measures against DoS attacks for post processing communication on the classical channel can also be considered.
+
+NOTE – Adding additional components on the quantum channel interface can increase the quantum signal loss, which further degrades the performance, i.e., QKD key rate of QKD modules. Such measures can also interfere with other aspects of the correct operation of QKD modules, unless carefully customised for the QKD modules in use. QKD modules can include appropriate protection.
+
+### I.3 Configuration example of security measure for unauthorized network access
+
+Security measures in QKD nodes ensure that information flows only between the authorized end points, which means that it is protected against unauthorized access and disclosure by outsiders [b-ITU-T X.1039].
+
+QKD nodes are protected by the following measures:
+
+- **Firewall:** The firewall is a typical implementation of the security gateway that controls the incoming and outgoing network traffic based on an applied rule set. A firewall establishes a barrier between a trusted, secure internal network and another external network (e.g., the Internet) that is assumed not to be secure and trusted.
+- **Intrusion detection system:** An intrusion detection system (IDS) is a device or software application that monitors network or system activities for malicious activities or policy violations and produces reports to a management station.
+- **Intrusion prevention system:** Intrusion prevention systems (IPSs), also known as intrusion detection and prevention systems (IDPSs), are network security appliances that monitor network and/or system activities for malicious activity. The main functions of intrusion prevention systems are to identify malicious activity, log information about this activity, attempt to block/stop it, and report it. Intrusion prevention systems are considered extensions of intrusion detection systems.
+
+A security gateway, which can include the measures mentioned above, is implemented when different network segments are connected:
+
+- **Security gateway:** A security gateway is placed at the boundary between two network segments, for example, between the organization's internal network and a public network, to filter the traffic flowing across the boundary in accordance with the documented security gateway service access policy for that boundary.
+
+NOTE 1 – Appendix I in [b-ITU-T X.1039] also specifically describes physical and environment security, which is applicable to QKDN nodes.
+
+Figure I.1 depicts the typical implementation of security measures in QKD nodes.
+
+
+
+Figure I.1 – A security configuration example of QKD nodes. The diagram shows three QKD nodes. The top node is a dashed box containing a QKDN controller, QKDN manager, Network switch, and Security measure. The bottom-left node is a solid box containing a Security measure, Network switch, KM, and QKD module. The bottom-right node is a solid box containing a Security measure, Network switch (Router/L3SW etc.), QKD module, KM, QKDN controller, QKDN manager, and Cryptographic application. Green lines represent KM-related links, blue lines represent QKD links, and black lines represent control/management links. A legend at the bottom identifies these link types. The reference X.1713(24) is noted in the bottom right corner.
+
+**Figure I.1 – A security configuration example of QKD nodes**
+
+NOTE 2 – Solid-lined boxes are components contained in the QKD node. Dashed-lined boxes are components optionally contained in the QKD node.
+
+NOTE 3 – Network switches (router or layer 3 switch (L3SW), etc.) relay communications between components in the QKD node and components of other QKD nodes.
+
+Communications via QKD nodes are characterized by the type of their transmission layer: QKDN control layer, key management layer, quantum layer and QKDN management layer, and security measures are selected according to their characteristics.
+
+Except for the quantum layer, a firewall is one of major practical methods for the internal protection of QKD nodes. Firewalls relay all communications between QKD nodes, and the QKD node and cryptographic applications, and perform boundary monitoring and protection in QKD nodes. The router or L3SW separates links, which are QKD module-KM links, KM-application links, QKD module-QKDN manager links, KM-QKDN manager links, QKD module-QKDN controller links and KM-QKDN controller links, either in a physical or logical manner, and manages them.
+
+### **I.4 Configuration example of security measures for attacks through installation, maintenance and migration**
+
+The QKD node prevents attacks during deployment, maintenance and migration by:
+
+- **Storage encryption:** Stored information in the QKD node such as the key are encrypted by using, for example, a hardware security module (HSM). The encryption method to be used can be determined taking into account the identification of the required level of protection based on the risk assessment and taking into account the type, strength and quality of the required encryption algorithm.
+- **Checking the validity of the update file:** A signature such as a hash value is added to the update file, and the validity is verified when the operator performs maintenance.
+
+- **Operator authentication:** When an operator performs maintenance or accesses the system, password authentication or authentication using such as a secure shell (SSH) secret key set for each operator is examined, and only operations authorized for each operator can be performed. Authorized operations for each operator are reviewed periodically to identify and remove or disable user IDs that are not needed.
+- **Save operation log:** The QKD node records information such as the user ID of the operator, the authentication / security-related operation to be performed, and the time of execution as a log, and stores it. To synchronize the time of the log, the clocks of all information processing systems in the organization or security area are synchronized with a single reference time source. Protection should be provided against unauthorized editing or deletion of log files to protect log functions and log information from tampering and unauthorized access. Back up files are stored in a secure storage regularly.
+
+### **I.5 Configuration example of security measures for classical side-channel attacks**
+
+It is useful to shield the entire installation site, to prevent electromagnetic waves from leaking from the equipment, also to prevent electromagnetic wave radiation attacks from outside the site.
+
+It is necessary to determine the required amount of attenuation of electromagnetic waves based on the configuration of the station house and the system configuration, and to design it according to the environment in which electromagnetic wave shielding is introduced.
+
+NOTE – [b-IEC 61000-4-20] discusses EM interference /EM compatibility testing.
+
+Some other side channel attacks such as power analysis attacks, timing analysis attacks, energy attacks, and their defence are discussed in [b-ISO/IEC TS 30104] and [b-ISO/IEC 17825].
+
+## Appendix II
+
+## Further considerations on security measures for QKD nodes
+
+(This appendix does not form an integral part of this Recommendation.)
+
+The following further security measures for QKD nodes can be considered:
+
+- 1) **Attack surface reduction:** The attack surface of a software environment is where an unauthorized user can try to inject data to or extract data from an environment. The following methods help reduce the attack surface:
+ - detecting and preventing attacks that occur on a host on which it is installed (e.g., Host intrusion prevention systems (IPS));
+ - uninstalling non-essential software or applications from hosts;
+ - checking and assessing vulnerabilities in the network (e.g., running vulnerability or compliance scans);
+ - avoiding human error (e.g., cyber awareness training for employees).
+- 2) **Anti-malware software:** Running anti-malware software to scan hosts and remove viruses and malware.
+- 3) **Service assignment** [b-ITU-T X.1060]: The organization operating a QKDN should clarify specifically which team should implement the QKDN service. The kind of service assignment can be insourcing, outsourcing or a combination of both.
+- 4) **Layer 7 inspection/secure socket layer (SSL) decryption:** Layer 7 inspection/SSL decryption is the process of checking for cyber threats of encrypted traffic as part of a full SSL inspection procedure. It can be considered for protection against threats, e.g., T\_M1, T\_C1, T\_K2 and T\_Qc on links accessing the QKD nodes.
+
+NOTE – Such techniques can compromise security measures incorporated within QKDN physical entities. It is important to consider the full security implications of such methods, including the security of any additional equipment involved. For example, decrypting management communications on hardware shared with other applications at the same site as the QKD node can be inconsistent with a network adopting a policy to implement QKDN functionality on dedicated hardware.
+- 5) **Data loss prevention:** Data loss prevention (DLP) is a security tool or system to ensure that sensitive data is not lost, misused or accessed by unauthorized users. Advanced security measures employ machine learning and temporal reasoning algorithms to detect abnormal access to data. DLP can be applied to the specific QKD (e.g., data protection in the key management layer).
+- 6) **Zero trust network access** [b-NIST SP800-207]: The zero-trust security model is an approach to the design and implementation of systems based on the concept "never trust, always verify". Zero trust network access (ZTNA) is a security architecture where only traffic from authenticated users, devices and applications is granted access to other users, devices and applications within an organization, and this framework can be deployed to the QKDN.
+- 7) **Cyber defence services** [b-ITU-T X.1060]: Cyber defence services consist of strategic management; real-time analysis; deep analysis; incident response; checking and evaluation; collection, analysis and evaluation of threat intelligence; development and maintenance of cyber defence platforms; support of internal fraud response; and active relationship with external parties. Incident response takes specific actions based on the results of real-time analysis and threat information to deter and eliminate threats. It aims to minimize the impact on the system and the business, including coordination and reporting with stakeholders.
+
+## Bibliography
+
+- [b-ITU-T X.1039] Recommendation ITU-T X.1039 (2016), *Technical security measures for implementation of ITU-T X.805 security dimensions*.
+- [b-ITU-T X.1060] Recommendation ITU-T X.1060 (2021), *Framework for the creation and operation of a cyber defence centre*.
+- [b-ITU-T FG-QIT4N D2.3] Technical Report ITU-T FG-QIT4N D2.3-part 1 (2021), *Quantum key distribution network protocols Quantum layer*.
+- [b-ETSI GR QKD 007] ETSI GR QKD 007 (2018), *Quantum Key Distribution (QKD); Vocabulary*.
+- [b-IEC 61000-4-20] IEC 61000-4-20:2022, *Electromagnetic compatibility (EMC) – Part 4-20: Testing and measurement techniques – Emission and immunity testing in transverse electromagnetic (TEM) waveguides*.
+- [b-ISO/IEC 17825] ISO/IEC 17825:2024, *Information technology – Security techniques – Testing methods for the mitigation of non-invasive attack classes against cryptographic modules*.
+- [b-ISO/IEC TS 30104] ISO/IEC TS 30104:2015, *Information Technology – Security Techniques – Physical Security Attacks, Mitigation Techniques and Security Requirements*.
+- [b-NIST FIPS 140-2] NIST FIPS 140-2 (2001), *Security Requirements for Cryptographic Modules*.
+- [b-NIST SP800-207] NIST Special Publication 800-207 (2020), *Zero Trust Architecture*.
+- [b-Pirandola] Pirandola, S., Laurenza, R., Ottaviani, C. et al. (2017), Fundamental limits of repeaterless quantum communications, *Nat. Commun.* 8, 15043.
+- [b-Salvail] Salvail, Louis et al. (2010), *Security of Trusted Repeater Quantum Key Distribution Networks*. *Journal of Computer Security* 18, 61-87.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1770-202110-I_PDF-E/raw.md b/marked/X/T-REC-X.1770-202110-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..b759547f10d4cbae3ed5ae4fad9983669801bfa7
--- /dev/null
+++ b/marked/X/T-REC-X.1770-202110-I_PDF-E/raw.md
@@ -0,0 +1,565 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1770
+
+(10/2021)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+Data security – Data protection
+
+# --- **Technical guidelines for secure multi-party computation**
+
+Recommendation ITU-T X.1770
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security (1) | X.1140–X.1149 |
+| Application Security (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1350–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1399 |
+| Distributed ledger technology (DLT) security | X.1400–X.1429 |
+| Application Security (2) | X.1450–X.1459 |
+| Web security (2) | X.1470–X.1489 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| Cyber Defence | X.1590–X.1599 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| Data protection | X.1770–X.1789 |
+| IMT-2020 SECURITY | X.1800–X.1819 |
+
+## Recommendation ITU-T X.1770
+
+# Technical guidelines for secure multi-party computation
+
+## Summary
+
+Recommendation ITU-T X.1770 establishes technical guidelines for multi-party computation (MPC) and provides a technical standard basis for information and communication technology (ICT) stakeholders to use MPC to protect data in data collaboration and big data analysis scenarios. It also describes applications for which MPC can be used and how it can serve as a reference for ICT stakeholders to develop MPC applications.
+
+Data has become one of the most important assets in ICT. Secure MPC can build trust and security in data collaboration and big data analysis-related areas by balancing usage and protection of data.
+
+Recommendation ITU-T X.1770 includes:
+
+- a technical framework for MPC, in which its elements and the workflow between them is determined;
+- security levels of MPC protocols, used in the analysis and determination of the security model and threshold;
+- applications of MPC, illustrated by use cases, including an application scenario description and processes, with appropriate security requirement recommendations.
+
+Based on the framework and security levels established in Recommendation ITU-T X.1770, standards for MPC applications in different fields can be determined.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1770 | 2021-10-29 | 17 | 11.1002/1000/14807 |
+
+## Keywords
+
+MPC, secure multi-party computation, technical guidelines.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2021
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|-----------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 1 |
+| 5 Conventions ..... | 2 |
+| 6 Overview ..... | 2 |
+| 6.1 Introduction of MPC..... | 2 |
+| 6.2 Principles of MPC ..... | 3 |
+| 6.3 Types of MPC party ..... | 3 |
+| 7 Technical framework of MPC ..... | 3 |
+| 7.1 Roles in an MPC system..... | 3 |
+| 7.2 Technical framework of an MPC system ..... | 4 |
+| 7.3 Process flows of an MPC task ..... | 6 |
+| 7.4 Recommended protections for an MPC system ..... | 6 |
+| 8 Security levels of an MPC protocol..... | 7 |
+| 8.1 Security model..... | 7 |
+| 8.2 Security threshold..... | 7 |
+| 9 Applications of MPC ..... | 8 |
+| 9.1 Joint modelling ..... | 8 |
+| 9.2 Data matching..... | 8 |
+| Bibliography..... | 10 |
+
+# **Introduction**
+
+This Recommendation specifies a technical framework and application scenarios of multi-party computation (MPC) to provide guidelines for its use by information and communication technology (ICT) stakeholders for protection of data security.
+
+With the rapid development of mobile Internet, the Internet of things, cloud computing and other information technologies, the amount of data is exploding. Data is a valuable asset and must be protected for various reasons, ranging from legal to national security to industrial competitiveness. A dichotomy exists in that some applications benefit from the sharing of data, while at the same time data should not be shared due to the protection constraints previously mentioned. For example, cybersecurity threat analytics is one example of a type of data that can only be fully utilized through collaborative analysis and integration. However, data collaboration increases the risk of information leakage.
+
+MPC solves the problem of running collaborative processes while protecting data without revealing it. However, most organizations have no idea of how MPC works. So, it is necessary to develop recommendations that systematically determine the MPC framework, and recommend good MPC practices.
+
+## Recommendation ITU-T X.1770
+
+# Technical guidelines for secure multi-party computation
+
+# 1 Scope
+
+This Recommendation specifies a technical framework for multi-party computation (MPC), which determines its elements and their roles. Based on the technical framework, typical applications of MPC are presented. Security models and thresholds are analysed to help ICT stakeholders to use different levels of MPC in different scenarios and conditions.
+
+The algorithms and performance details of MPC lie outside the scope of this Recommendation.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+None.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+None.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 multi-party computation (MPC); secure MPC:** A subfield of cryptography with the goal of creating methods for parties to jointly compute a function over their inputs while keeping those inputs private.
+
+NOTE – Based on [b-ITU-T F.748.13].
+
+**3.2.2 OpenAPI:** An initiative or format for creating and designing a standard and a language-agnostic machine-readable interface that can define, consume, visualize and produce web services.
+
+NOTE – [b-OpenAPI] defines OpenAPI as an open-source format that simplifies developing applications by allowing the creation of machine-readable API descriptions.
+
+**3.2.3 party:** A computer program involving secure multi-party computation.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-----|-------------------------|
+| GC | Garbled Circuit |
+| HE | Homomorphic Encryption |
+| MPC | Multi-Party Computation |
+
+OpenAPI Open Application Programming Interface
+
+OT Oblivious Transfer
+
+SS Secret Sharing
+
+# **5 Conventions**
+
+The word "shall" indicates mandatory requirements strictly to be followed in order to conform to this Recommendation and from which no deviation is permitted ("shall" equals is "required to").
+
+The word "should" indicates that among several possibilities one is recommended as particularly suitable, without mentioning or excluding others; or that a certain course of action is preferred but not necessarily required ("should" equals is "recommended that").
+
+The word "may" is used to indicate a course of action permissible within the limits of the standard ("may" equals is "permitted to").
+
+The word "can" is used for statements of possibility and capability, whether material, physical or causal ("can" is equal to "able to").
+
+# **6 Overview**
+
+## **6.1 Introduction of MPC**
+
+MPC is a technology that allows a set of parties jointly to compute their data without any information leakage beyond the computation result. It enables big data analysis with less information leakage and more trust and security, and can be used for data protection in many kinds of data collaboration scenarios. An example is the "millionaires' problem", in which two millionaires, Alice and Bob, who are interested in knowing which of them is richer without revealing their actual wealth neither to each other nor to a third party. They make use of MPC to compare the wealth values in encrypted form, when the final output shows who is richer. It is a kind of technology that could build confidence and security in data collaboration and big data analysis. It solves the data protection problem, if implemented properly with proper security controls and proper trust models.
+
+Figure 1 is a schematic diagram of MPC. The ellipses in the centre contain the MPC protocol, which is a virtual party collaboratively run by all the parties. Take a secret auction scenario for example, where bidders do not want others to know their bid price. All bidders input their price to run the MPC protocol together, and receive the name of winner without revealing anybody's price after the computation is finished. The information exchanged during the MPC protocol is encrypted, the participants do not need to tell a third party their price, and no one can get the prices of others. Compared to traditional solutions, MPC is decentralized, and no single trusted third party is required. In this way, trust and security are established between peer-to-peer parties, because no one has privilege.
+
+
+
+Figure 1 – Schematic diagram of MPC. The diagram shows two groups of parties, P1, P2, ..., Pn, interacting with an MPC protocol. In the first group, parties P1 and P2 provide inputs x1 and x2, and party Pn provides input xn. The MPC protocol outputs (y1, y2, ..., yn) = f(x1, x2, ..., xn). In the second group, parties P1 and P2 receive outputs y1 and y2, and party Pn receives output yn. The MPC protocol outputs (y1, y2, ..., yn) = f(x1, x2, ..., xn). A thought bubble from party Pn states: 'No party learns any information about other parties' inputs'. The reference X.1770(21) is noted at the bottom right.
+
+**Figure 1 – Schematic diagram of MPC**
+
+## 6.2 Principles of MPC
+
+The principles of MPC should include the following aspects:
+
+- 1) privacy: an MPC party shall only obtain the output results of the computation that party participated in, and the information derived from its input and output;
+- 2) independence: the input of each party shall be independent of the input of any other party;
+- 3) fairness: any party receives output if and only if other parties receive output.
+
+## 6.3 Types of MPC party
+
+The types of MPC party are as follows:
+
+- 1) honest party: a party that follows the exact prespecified protocol, and at the same time keeps his own input(s), the intermediate result(s) and the final output(s) confidential;
+- 2) semi-honest party: a party that follows the exact prespecified protocol, at the same time, that party tries to learn others' input(s), intermediate result(s) and the final output(s);
+- 3) malicious party: a party that executes all steps according to their wishes, not only trying to learn others' inputs, intermediate results and the final outputs, but also intending to modify input(s), outputs or intermediate results owned or received by others.
+
+Semi-honest parties and malicious parties are also referred to as dishonest parties.
+
+# 7 Technical framework of MPC
+
+## 7.1 Roles in an MPC system
+
+Multiple roles are involved in an MPC application. Figure 2 shows the roles and their relationships in an MPC system. An MPC party can play multiple roles in an application, e.g., the data provider, computing node and result demander.
+
+
+
+```
+
+graph TD
+ Coordinator[Coordinator] -- Configurations --> DP_Box
+ Coordinator -- Configurations --> CN_Box
+ Coordinator -- Configurations --> RD_Box
+ subgraph DP_Box [Data providers]
+ DP1[Data provider]
+ DPs[...]
+ DP2[Data provider]
+ end
+ subgraph CN_Box [Computing nodes]
+ CN1[Computing node]
+ CNs[...]
+ CN2[Computing node]
+ end
+ subgraph RD_Box [Result demanders]
+ RD1[Result demander]
+ RDs[...]
+ RD2[Result demander]
+ end
+ DP_Box -- "Encryptions or secret shares of input data" --> CN_Box
+ CN_Box -- "Encryptions or secret shares of output results" --> RD_Box
+
+```
+
+X.1770(21)
+
+Diagram illustrating the roles and relationships in an MPC system. A Coordinator at the top sends 'Configurations' to three main components: Data providers, Computing nodes, and Result demanders. Data providers send 'Encryptions or secret shares of input data' to Computing nodes. Computing nodes send 'Encryptions or secret shares of output results' to Result demanders. Each component group contains multiple instances, indicated by ellipses.
+
+**Figure 2 – Roles and their relationships in an MPC system**
+
+- 1) Data provider: a data provider provides its own data as input for an MPC system. There could be more than one data provider in an MPC application. There are two common practices in providing input data as follows.
+ - a) In a secret-sharing-based MPC system, a data provider generates shares of its input data with a secret sharing (SS) scheme, sends shares to the computing nodes and delegates the subsequent computation to the computing nodes. The MPC party acts as both a data provider and a computing node.
+ - b) In a homomorphic-encryption-based MPC system, a data provider encrypts its input data with a homomorphic encryption (HE) scheme, sends the encryption to one or more computing nodes.
+- 2) Computing node: while receiving secret shares or encryptions, a computing node performs computations with other computing nodes, coordinated by the coordinator. The computations and communications are predefined in the MPC system. In a secret-sharing-based MPC system, there should be at least two computing nodes controlled by different MPC parties. In an HE-based MPC system, there should be two or more computing nodes, and they may be controlled by one or more MPC parties or even third parties.
+- 3) Result demander: a result demander receives its result from the outputs of computing nodes. There could be one or more result demanders in an MPC system, and their results may be different.
+- 4) Coordinator: the coordinator is responsible for managing and coordinating multiple parties to complete the MPC computation. The configuration information usually includes the IP address, port and other information of multiple parties. A coordinator is not necessary in an MPC system. There is usually only one coordinator in an MPC application.
+
+## 7.2 Technical framework of an MPC system
+
+Figure 3 shows a technical framework of an MPC system. Not all participants should deploy all functions in the technical framework. For example, if a participant only acts as a coordinator, it can only deploy a coordination function; if a participant acts as data provider, computing node and result demander, it should provide storage, MPC protocol, MPC function and application functions.
+
+
+
+| | | | |
+|-----------------------|---------------------|----------------------|--------------------------|
+| Application | Joint modelling | Data matching | ..... |
+| Coordination function | Resource management | Task management | User management |
+| MPC function | Addition | Compare | Multiplication |
+| MPC protocol | GC | SS | HE |
+| | | | OT |
+| Storage | Files | Relational databases | Non-relational databases |
+
+X.1770(21)
+
+**Figure 3 – Technical framework of an MPC system**
+
+### 7.2.1 Application
+
+MPC can be used in financial, health, advertising and other industries on joint modelling, data matching, etc.
+
+- 1) User interaction interfaces should be provided, such as web pages, command lines or OpenAPI.
+- 2) Decrypt functions that change the encrypted results into plain text should be provided.
+
+### 7.2.2 Coordination function
+
+The coordination function is responsible for scheduling and managing various resources to complete MPC tasks.
+
+- 1) Resource management should be able to identify and present the computing node information and data resource related information. Computing node information includes IP address, port, and running status. Data resource related information includes size and type.
+- 2) Task management should include creation, assignment and status monitoring of tasks.
+- 3) User management should include user authentication and authority management.
+
+### 7.2.3 MPC function
+
+The MPC function provides basic operations based on encrypted data.
+
+- 1) Common numerical computation should be provided, such as addition, multiplication and comparison.
+- 2) Basic data types, including integers, decimals, common characters and strings, should be supported;
+- 3) Basic data units, such as scalars, vectors, matrices and multidimensional arrays, should be supported.
+
+### 7.2.4 MPC protocol
+
+The MPC protocol is the key underlying component for an MPC system.
+
+- 1) An MPC system should include at least one kind of MPC protocol. The protocols may belong to one or a combination of the following subtypes (non-exhaustive list) based on: SS; garbled circuit (GC); HE; etc.
+
+- 2) Computation nodes use the MPC protocol to exchange information and jointly complete computation tasks.
+- 3) The MPC protocols used in an MPC system should at least satisfy a security level of A1C1 as described in clause 8.
+
+### 7.2.5 Storage
+
+Storage provides the original input data in MPC system.
+
+- 1) Storage should include files, relational databases and non-relational databases.
+- 2) Database should include MySQL, Oracle, Hive and HBase.
+- 3) File types should include txt, csv, and xml.
+
+## 7.3 Process flows of an MPC task
+
+Figure 4 shows the process flows of an MPC task. The detailed flows are described as follows:
+
+- 1) the coordinator generates the configuration information (including specific MPC protocols and IP address) according to the task and sends it to the data providers and computing nodes;
+- 2) the data providers process the input data according to the specified MPC protocols and send it to the designated computing nodes through the secure transmission channel;
+- 3) computing nodes collaboratively carry out the computation on input data according to the MPC functions and specified MPC protocols;
+- 4) computing nodes send the computation result to each result demander at the same time.
+
+
+
+```
+
+sequenceDiagram
+ participant DP as Data providers
+ participant C as Coordinator
+ participant CN as Computing nodes
+ participant RD as Result demanders
+
+ C->>DP: 1A. Delivers configuration information
+ C->>CN: 1B. Delivers configuration information
+ DP->>CN: 2. Submit the input data
+ Note over CN: 3. Exchange information and jointly complete the task
+ CN->>RD: 4. Deliver computation result
+
+```
+
+The diagram illustrates the process flows of an MPC task. It involves four main components: Data providers, Coordinator, Computing nodes, and Result demanders. The flow is as follows: 1. The Coordinator sends configuration information (1A) to Data providers and (1B) to Computing nodes. 2. Data providers submit input data to Computing nodes. 3. Computing nodes exchange information and jointly complete the task. 4. Computing nodes deliver the computation result to Result demanders.
+
+Sequence diagram showing the process flows of an MPC task between four entities: Data providers, Coordinator, Computing nodes, and Result demanders.
+
+X.1770(21)
+
+**Figure 4 – Process flows of an MPC task**
+
+## 7.4 Recommended protections for an MPC system
+
+### 7.4.1 Authentication
+
+The authentication for an MPC system includes, but is not limited to:
+
+- 1) identity authentication for parties who can access the MPC system;
+- 2) multi-factor authentication mechanisms, e.g., password verification, mailbox verification, SMS verification and digital certification;
+- 3) mutual authentication between different components of an MPC system, such as computing nodes controlled by different parties.
+
+### 7.4.2 Access control
+
+The access control for an MPC system includes, but is not limited to:
+
+- 1) fine-grained system access control for different user roles;
+- 2) re-authentication or re-activation of a session when it is idle for a period;
+
+- 3) the encrypted data provided by data provider only be sent to the designated.
+
+### **7.4.3 Data security**
+
+The data security requirements for an MPC system include, but are not limited to:
+
+- 1) supporting secure transmission protocols or channels to ensure the security and reliability of the data transmission links;
+- 2) supporting multiple data destruction or clean-up methods.
+
+# **8 Security levels of an MPC protocol**
+
+Security model and threshold are the two most important factors when the security level of an MPC protocol should be considered.
+
+## **8.1 Security model**
+
+### **8.1.1 A1: Semi-honest model**
+
+If the MPC protocol can achieve input privacy, output correctness and output delivery against semi-honest parties, it satisfies the semi-honest security model.
+
+Input privacy means that none of the participating parties can learn any information beyond the computation result.
+
+Output correctness means that the results output in the MPC manner are lossless compared to the results output in a common manner.
+
+Output delivery means honest parties always obtain their output result whatever the dishonest parties do. In another words, dishonest parties cannot prevent honest parties from receiving their output result.
+
+### **8.1.2 A2: Covert model**
+
+If the MPC protocol can achieve input privacy and output correctness (if output is delivered) against covert parties, it satisfies the covert security model. A covert party will behave maliciously just like a malicious party, but if the probability that the malicious behaviours get caught by the honest parties exceeds a certain threshold, then the covert party will follow the protocol for fear of being caught.
+
+### **8.1.3 A3: Malicious model**
+
+If the MPC protocol can achieve input privacy and output correctness (if output is delivered) against malicious parties, it satisfies the malicious security model.
+
+## **8.2 Security threshold**
+
+### **8.2.1 C1: Honest majority**
+
+Honest majority means less than half of MPC parties may be corrupted. If the MPC protocol can achieve input privacy and output correctness in an honest majority system, it is secure under the honest majority security threshold. An MPC system shall satisfy the C1 threshold at least.
+
+### **8.2.2 C2: Dishonest majority**
+
+Dishonest majority means half or more of MPC parties may be corrupted. If the MPC protocol can achieve input privacy and output correctness in a dishonest majority system, it is secure under the dishonest majority security threshold. If an MPC system satisfies the C2 threshold, it means the system has stronger ability to prevent the security risks caused by corrupted MPC parties.
+
+# 9 Applications of MPC
+
+## 9.1 Joint modelling
+
+Loan is a business in the financial field. Data from multiple banks or data from related financial organizations are used to evaluate the credit of the loan applicant to improve the accuracy of the evaluation results. An MPC-based machine-learning system can achieve credit joint risk control. And make loan decisions according to the result of risk control.
+
+Figure 5 shows an MPC-based machine-learning system that can be used in credit joint risk control. The system is composed of a model-controlling platform and multiple banks as data providers. The model-controlling platform mainly includes a control module to trigger and coordinate different parties participating in machine-learning tasks. The model-controlling platform may belong to bank A, bank B or the third party. In the last case, the third party cannot get any input data, but only configuration information. Each data provider deploys a learning module locally and transmits data to a local learning module. Learning modules among different data providers exchange parameters or random numbers by using MPC protocols to achieve data sharing in order to maintain data privacy.
+
+The MPC protocols used in a financial application should at least satisfy a security level of A1C2 as described in clause 8.
+
+
+
+The diagram illustrates an MPC-based machine-learning system architecture. At the top center is the **Model controlling platform**, which contains a **Model platform** module. Two arrows labeled "Trigger and coordination" point from this platform to two separate bank components, **Bank A** and **Bank B**.
+**Bank A** (labeled "Model 1") includes a **Raw data** cylinder, a **Learning module** box, and a small document icon.
+**Bank B** (labeled "Model 2") includes a **Raw data** cylinder, a **Learning module** box, and a small document icon.
+A large blue double-headed arrow connects the **Learning module** of Bank A and the **Learning module** of Bank B, with the text "Exchange parameters or random numbers" written across it.
+The identifier "X.1770(21)" is located at the bottom right of the diagram.
+
+Diagram of an MPC-based machine-learning system showing a central Model controlling platform connected to Bank A and Bank B. Bank A contains Model 1, Raw data, and a Learning module. Bank B contains Model 2, Raw data, and a Learning module. The platform triggers and coordinates both banks, and the learning modules exchange parameters or random numbers.
+
+**Figure 5 – MPC-based machine-learning system**
+
+## 9.2 Data matching
+
+Figure 6 shows an application of MPC used in data matching. Suppose A is a book vendor, B is a movie vendor, A and B each have some registered user accounts (e.g., registered with e-mail). Now A wants to figure out the number of mutual users they both have, so that A and B can do some sales promotion together. B is willing to help, but does not want to reveal anything (such as who the mutual users are) beyond the number of mutual users for user privacy, neither does A.
+
+
+
+**1.** A masks his user accounts $a$ with some cryptographic function $F$ (e.g., ecliptic curve multiplication).
+
+**3.1.** B masks their user accounts $b$ with some cryptographic function $G$ and shuffles the result $G(b)$ .
+**3.2.** B masks the masked accounts $F(a)$ received in step 2, and shuffles the result $G(F(a))$ .
+
+**2.** A sends his masked accounts $F(a)$ to B
+
+**4.** B sends the shuffled results $G(b)$ and $G(F(a))$ to A
+
+**5.1.** A masks the masked accounts $G(b)$ received in step 4, and shuffles the result $F(G(b))$ .
+**5.2.** A finds the number of intersections of $F(G(b))$ and $G(F(a))$ .
+
+X.1770(21)
+
+Diagram of MPC used in data matching between Book vendor A and Movie vendor B. Vendor A has a database 'a' and an MPC node. Vendor B has a database 'b' and an MPC node. Step 1: A masks 'a' with function F. Step 2: A sends F(a) to B. Step 3.1: B masks 'b' with function G. Step 3.2: B masks F(a) with function G and shuffles the result. Step 4: B sends G(b) and G(F(a)) to A. Step 5.1: A masks G(b) with function F and shuffles the result. Step 5.2: A finds the number of intersections of F(G(b)) and G(F(a)).
+
+**Figure 6 – MPC used in data matching**
+
+In this application, an MPC computing node is deployed in A and B exchange user accounts by using MPC protocols to share data in order to keep data privacy. A and B agree on some cryptographic mask functions such as multiplication on some elliptic curve, and each deploys a machine in their own domain to act as the computing node. A first masks A's user accounts and sends them to B, which then masks B's accounts and A's masked accounts. Note that in order to make the results unlinkable, B shuffles the results randomly before sending them back to A. As long as the two mask functions $F$ and $G$ are swappable, A could find the number of mutual users by computing the intersection of $F(G(b))$ and $G(F(a))$ . Since the order of the lists has been randomly shuffled by B, A cannot know who the mutual users are.
+
+The MPC protocols used in a user account-matching application should at least satisfy a security level of A1C1 as described in clause 8.
+
+# Bibliography
+
+- [b-ITU-T F.748.13] Recommendation ITU-T F.748.13 (2021), *Technical framework for the shared machine learning system*.
+- [b-OpenAPI] APITransform (2020). *What is OpenAPI specification?* Available [viewed 2021-11-16] at:
+- [b-ISO/IEC 4922-1] ISO/IEC 4922-1, *Information Security – Secure multiparty computation – Part 1: General*.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1812-202205-I_PDF-E/raw.md b/marked/X/T-REC-X.1812-202205-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..554277609b7c458e7beeded2a3d74f34ed78237d
--- /dev/null
+++ b/marked/X/T-REC-X.1812-202205-I_PDF-E/raw.md
@@ -0,0 +1,965 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.1812
+
+(05/2022)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+IMT-2020 Security
+
+# --- **Security framework based on trust relationships for the IMT-2020 ecosystem**
+
+Recommendation ITU-T X.1812
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|--------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | |
+| General security aspects | X.1000–X.1029 |
+| Network security | X.1030–X.1049 |
+| Security management | X.1050–X.1069 |
+| Telebiometrics | X.1080–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | |
+| Multicast security | X.1100–X.1109 |
+| Home network security | X.1110–X.1119 |
+| Mobile security | X.1120–X.1139 |
+| Web security (1) | X.1140–X.1149 |
+| Application Security (1) | X.1150–X.1159 |
+| Peer-to-peer security | X.1160–X.1169 |
+| Networked ID security | X.1170–X.1179 |
+| IPTV security | X.1180–X.1199 |
+| CYBERSPACE SECURITY | |
+| Cybersecurity | X.1200–X.1229 |
+| Countering spam | X.1230–X.1249 |
+| Identity management | X.1250–X.1279 |
+| SECURE APPLICATIONS AND SERVICES (2) | |
+| Emergency communications | X.1300–X.1309 |
+| Ubiquitous sensor network security | X.1310–X.1319 |
+| Smart grid security | X.1330–X.1339 |
+| Certified mail | X.1340–X.1349 |
+| Internet of things (IoT) security | X.1350–X.1369 |
+| Intelligent transportation system (ITS) security | X.1370–X.1399 |
+| Distributed ledger technology (DLT) security | X.1400–X.1429 |
+| Application Security (2) | X.1450–X.1459 |
+| Web security (2) | X.1470–X.1489 |
+| CYBERSECURITY INFORMATION EXCHANGE | |
+| Overview of cybersecurity | X.1500–X.1519 |
+| Vulnerability/state exchange | X.1520–X.1539 |
+| Event/incident/heuristics exchange | X.1540–X.1549 |
+| Exchange of policies | X.1550–X.1559 |
+| Heuristics and information request | X.1560–X.1569 |
+| Identification and discovery | X.1570–X.1579 |
+| Assured exchange | X.1580–X.1589 |
+| Cyber Defence | X.1590–X.1599 |
+| CLOUD COMPUTING SECURITY | |
+| Overview of cloud computing security | X.1600–X.1601 |
+| Cloud computing security design | X.1602–X.1639 |
+| Cloud computing security best practices and guidelines | X.1640–X.1659 |
+| Cloud computing security implementation | X.1660–X.1679 |
+| Other cloud computing security | X.1680–X.1699 |
+| QUANTUM COMMUNICATION | |
+| Terminologies | X.1700–X.1701 |
+| Quantum random number generator | X.1702–X.1709 |
+| Framework of QKDN security | X.1710–X.1711 |
+| Security design for QKDN | X.1712–X.1719 |
+| Security techniques for QKDN | X.1720–X.1729 |
+| DATA SECURITY | |
+| Big Data Security | X.1750–X.1759 |
+| Data protection | X.1770–X.1789 |
+| IMT-2020 SECURITY | X.1800–X.1819 |
+
+## Recommendation ITU-T X.1812
+
+# Security framework based on trust relationships for the IMT-2020 ecosystem
+
+## Summary
+
+Recommendation ITU-T X.1812 identifies stakeholders in an International Mobile Telecommunications-2020 (IMT-2020; also known as fifth generation) ecosystem, analyses trust relationships amongst them, identifies threats and clarifies security responsibilities for each stakeholder, specifies security boundaries between stakeholders, and establishes a security framework based on these trust relationships.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.1812 | 2022-05-20 | 17 | 11.1002/1000/14808 |
+
+## Keywords
+
+Ecosystem, framework, IMT-2020, trust.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2022
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | | Page |
+|----|--------------------------------------------------------------------------------------|------|
+| 1 | Scope ..... | 1 |
+| 2 | References..... | 1 |
+| 3 | Definitions ..... | 1 |
+| | 3.1 Terms defined elsewhere..... | 1 |
+| | 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 | Abbreviations and acronyms ..... | 2 |
+| 5 | Conventions ..... | 3 |
+| 6 | Overview ..... | 3 |
+| 7 | Security framework supported by the trusted model..... | 5 |
+| 8 | Stakeholder role in scenarios for the IMT-2020 ecosystem ..... | 6 |
+| | 8.1 General ..... | 6 |
+| | 8.2 Scenario 1: Virtualization network deployment in a network operator domain ..... | 6 |
+| | 8.3 Scenario 2: Interconnection and roaming..... | 8 |
+| | 8.4 Scenario 3: Car rental with remote operation..... | 9 |
+| | 8.5 Scenario 4: Network capability exposure for industry ..... | 10 |
+| | 8.6 Scenario 5: Supply chains ..... | 12 |
+| | 8.7 Stakeholders in the IMT-2020 ecosystem ..... | 13 |
+| 9 | Trust level, trust criteria, and trust model..... | 14 |
+| | 9.1 General ..... | 14 |
+| | 9.2 Trust levels ..... | 15 |
+| | 9.3 Trust criteria ..... | 17 |
+| | 9.4 Trust model based on trust relationship mapping..... | 18 |
+| 10 | Security requirements supported by trust model based on trust relationships..... | 19 |
+| | 10.1 General ..... | 19 |
+| | 10.2 Security requirements from trust level ..... | 19 |
+| | 10.3 Interpreting trust to detailed assurance requirements ..... | 22 |
+| | Bibliography..... | 24 |
+
+# Introduction
+
+The set of stakeholders in an International Mobile Telecommunications-2020 (IMT-2020; also known as fifth generation (5G)) system is larger and more varied than in previous communication systems. In the second, third and fourth generation (2G, 3G and 4G), the main stakeholders can be summarized as service providers, network operators, equipment vendors and subscribers. However, in an IMT-2020 ecosystem, vertical players are also involved, such as industrial and commercial enterprises. Also, service providers can be sub-divided into cloud platform operators, data analyst companies, application providers, etc. Furthermore, at the terminal end, subscribers are not only end users as was the case previously. Subscribers can include a range of different types of stakeholder, especially for commercial terminals, e.g., in the shared vehicle communication use case. These changes create complex relationships among various stakeholders and raise a series of new security issues for IMT-2020 ecosystems.
+
+The IMT-2020 network also introduces new features. For example, the introduction of network virtualization in IMT-2020 breaks the fixed connections between network entities and enables software-defined networks. Another example is provided by service-based architecture. With such architecture, more cloud-related features could be built into an IMT-2020 network. Also, slicing can enable more effective co-operation between an IMT-2020 network and services.
+
+As time goes on, increasing numbers of information technology (IT) techniques will be applied to IMT-2020 systems, not only to their services, but also their network. The IMT-2020 network is entirely based on the Internet protocol. Its architecture specification is based on services rather than reference points, as was the case for previous network architectures. Signals are increasingly transferred from the Internet rather than dedicated networks. The transport protocol in IMT-2020 networks is changed from diameter [b-IETF RFC 6733], which is less popular than the hypertext transfer protocol that is widely used globally. All these changes will bring benefits for the IMT-2020 network and service deployment and operation.
+
+However, the use of popular protocols and an open connection environment could also bring benefits to attackers. An attacker will not need to spend that much time studying complex telecommunication protocols, and it will potentially be simpler to find an intrusion point in a network. As a result, in IMT-2020 networks it is not reasonable to assume that internal communication is trustworthy anymore. Thus, the changes from 4G to IMT-2020 break the trust relationship between network operators.
+
+Additionally, the IMT-2020 network is designed to be more flexible in order to meet the varied service requirements. In particular, slicing has been introduced into IMT-2020 networks. IMT-2020 networks can also expose some capabilities to services. Such capability exposure will enable an IMT-2020 service to control some network functions. These new features will make the security boundary between the IMT-2020 network and services more ambiguous.
+
+This Recommendation identifies stakeholders in an IMT-2020 ecosystem, analyses trust relationships among them, identifies threats and clarifies security responsibilities for each stakeholder, specifies security boundaries between stakeholders and establishes a security framework based on these trust relationships.
+
+# Recommendation ITU-T X.1812
+
+# Security framework based on trust relationships for the IMT-2020 ecosystem
+
+# 1 Scope
+
+This Recommendation specifies a security framework based on trust relationships for an International Mobile Telecommunications-2020 (IMT-2020) ecosystem. This Recommendation describes a general approach to the:
+
+- identification of scenarios for providing IMT-2020 services;
+- identification of stakeholders in an IMT-2020 ecosystem;
+- analysis of trust relationships among stakeholders;
+- identification of threats applying to each stakeholder;
+- clarification of security responsibilities for each stakeholder;
+- specification of security boundaries between stakeholders;
+- specification of security requirements based on trust model; and
+- establishment of a security framework based on the trust relationships between stakeholders.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+None.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 business unit** [b-ISO/TS 21089]: Discrete and accountable function or sub-function within an organization
+
+NOTE – A business unit can include a department, service or specialty within a healthcare provider organization.
+
+**3.1.2 deployment** [b-ISO/IEC/IEEE 24765]: Phase of a project in which a system is put into operation and cutover issues are resolved.
+
+**3.1.3 developer** [b-NIST SP 800-53]: An entity that includes: (i) developers or manufacturers of information systems, system components, or information system services; (ii) systems integrators; (iii) vendors; and (iv) product resellers.
+
+**3.1.4 domain** [b-ISO/IEC 14888-1]: Set of entities operating under a single security policy.
+
+EXAMPLE – Public key certificates created by a single authority or by a set of authorities using the same security policy.
+
+**3.1.5 information system** [b-ISO/IEC 27000]: Set of applications, services, information technology assets, or other information-handling components.
+
+**3.1.6 lifecycle** [b-ISO/IEC/IEEE 15288]: Evolution of a system, product, service, project or other human-made entity, from conception through retirement.
+
+**3.1.7 network function** [b-ITU-T Y.3100]: In the context of IMT-2020, a processing function in a network.
+
+NOTE 1 – Network functions include but are not limited to network node functionalities, e.g., session management, mobility management and transport functions, whose functional behaviour and interfaces are defined.
+
+NOTE 2 – Network functions can be implemented on a dedicated hardware or as virtualized software functions.
+
+NOTE 3 – Network functions are not regarded as resources, but rather any network functions can be instantiated using the resources.
+
+**3.1.8 stakeholder** [b-ISO/PAS 19450]: Individual, organization, or group of people that has an interest in, or might be affected by the system being contemplated, developed, or deployed.
+
+**3.1.9 supplier** [b-ISO 10393]: Organization or person that provides a product or service.
+
+**3.1.10 system development** [b-ISO/IEC 2382]: Process that usually includes requirements analysis, system design, implementation, documentation and quality assurance.
+
+**3.1.11 trust** [b-ISO/IEC 25010]: Degree to which a user or other stakeholder has confidence that a product or system will behave as intended.
+
+**3.1.12 trust level** [b-ISO 28598-1]: Customer's estimate of the weight of prior, supplementary and indirect evidence of the supplier's capability to fulfil the specified quality requirements.
+
+## **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following terms:
+
+**3.2.1 external service provider**: A set of entities that includes: a) entities within the organization but outside the security authorization boundaries established for organizational information systems; b) entities outside the organization either in the public sector (e.g., federal agencies) or private sector (e.g., commercial service providers); or c) some combination of the public and private sector options.
+
+NOTE – Adapted from [b-NIST SP 800-53].
+
+**3.2.2 supply chain**: A network of organizations that are involved, through upstream and downstream linkages, in the processes and activities that produce value in the form of products and services in the hands of the ultimate consumer.
+
+**3.2.3 system development lifecycle**: A structured approach to planning, creating, testing, deploying and maintaining an information system.
+
+**3.2.4 trust model**: Model that consists of components that describe the trust relationships and chains between stakeholders.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-----|-----------------------|
+| 2G | second Generation |
+| 3G | third Generation |
+| 4G | fourth Generation |
+| 5G | fifth Generation |
+| 5GC | fifth Generation Core |
+| BS | Base Station |
+
+| | |
+|----------|----------------------------------------------|
+| CAB | Conformity Assessment Body |
+| E2E | End to End |
+| HO | Home Operator |
+| ICP | Internet Content Provider |
+| ICT | Information and Communication Technology |
+| IMT-2020 | International Mobile Telecommunications-2020 |
+| IoT | Internet of Things |
+| IoV | Internet of Vehicles |
+| IPX | Internetwork Packet exchange |
+| ISP | Internet Service Provider |
+| IT | Information Technology |
+| NE | Network Element |
+| NESAS | Network Equipment Security Assurance Scheme |
+| NF | Network Function |
+| NFV | Network Function Virtualization |
+| NPN | Non-Public Network |
+| PII | Personally Identifiable Information |
+| PLMN | Public Land Mobile Network |
+| SCAS | Security Assurance Specification |
+| SDL | Security Development Lifecycle |
+| UICC | Universal Integrated Circuit Card |
+| VNF | Virtualized Network Function |
+| VO | Visited Operator |
+
+# 5 Conventions
+
+In this Recommendation:
+
+The phrase "**is recommended**" indicates a requirement that is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformity.
+
+The phrase "**can optionally**" indicates an optional requirement that is permissible, without implying any sense of being recommended. This term is not intended to imply that the vendor's implementation must provide the option, and the feature can be optionally enabled by the network operator or service provider. Rather, it means the vendor may optionally provide the feature and still claim conformity with this Recommendation.
+
+# 6 Overview
+
+Before the 5G era, telecommunication systems were mainly used for providing telephony, Internet access and related services. As a result of the capability and rate constraints of these systems, the use cases were simple in general. In particular, only a small number of roles was involved in a communication system. For the call service, the players involved are the caller, the callee and the mobile network. For the data service, the players are the terminal, the mobile network and service or application providers. In addition, in order to support the building of networks and application
+
+systems, vendors are involved. Terminal manufacturers and universal integrated circuit card (UICC) providers are relevant at the terminal. These are the main roles involved in 2G, 3G and 4G telecommunication systems.
+
+However, in the IMT-2020 ecosystem, things are different. The ecosystem does not only contain all stakeholders in telecommunication system in terminal, network and service, but also other stakeholders. At the terminal, subscribers are not only end users, as was the case before, because the mobile device could be one of many different types of equipment that may be shared between multiple parties, not just a telephone. In the network, IMT-2020 introduces a range of new features. For example, network virtualization in IMT-2020 breaks the fixed connection between network entities and enables software-defined networks that break the security border of network deployment. More and more information technology (IT) techniques are applied in IMT-2020 networks that can also be exploited by attackers. The network exposure service opens interfaces in the control plane rather than the user plane for an attacker. For services, vertical players are involved, such as industrial and commercial enterprises. This divides service providers into cloud platform operators, data analyst companies, application providers, etc., as shown in Figure 1.
+
+
+
+The diagram illustrates the evolution of the telecommunication ecosystem from 2G/3G/4G to IMT-2020. It is divided into two main sections: 2/3/4G and IMT-2020, connected by a downward arrow indicating the transition.
+
+**2/3/4G Ecosystem:**
+
+- Equipment vendor:** A single entity at the top.
+- Subscriber:** A single entity on the left.
+- Network operator:** A single entity in the center.
+- Service provider:** A single entity on the right.
+- Telecom regulation:** A single entity on the far right.
+
+**IMT-2020 Ecosystem:**
+
+- Equipment vendor:** Expanded to include:
+ - Hardware provider, virtualization layer provider or VNF provider
+ - Components supplier, integrator
+- Subscriber:** Expanded to include:
+ - Commercial terminal, e.g., shared vehicle
+ - Affiliated device, e.g., smart watches, smart bracelet
+- Network operator:** Expanded to include:
+ - Visited network operator, home network operator
+ - IPX operator
+- Service provider:** Expanded to include:
+ - Cloud platform operator
+ - Data analyst company
+ - Application provider
+ - ... ..
+- Vertical player:** A new entity, including:
+ - (Industrial, commercial enterprise)
+- Telecom regulation:** Remains a single entity on the far right.
+- Vertical regulation:** A new entity on the right.
+- ...**: A new entity on the far right.
+
+Diagram illustrating the evolution of the telecommunication ecosystem from 2G/3G/4G to IMT-2020.
+
+X.1812(22)
+
+**Figure 1 – Ecosystem evolution from 2G, 3G, 4G to IMT-2020**
+
+In this case, the trust relationship of the IMT-2020 system is different. Users or subscribers and network or service systems are much closer than before. The complex and long-tailed supply chain pushes operators to consider more about the evaluation of suppliers. The tight bond between service and network makes vertical industries rely heavily on the network and requires more strict trust and security. Provision of a new trust model for the IMT-2020 ecosystem needs consideration, to formulate a clear security requirement and security boundary between stakeholders. In this way, communication efficiency can be improved as much as possible with assurance of data security.
+
+Five properties, namely resilience, communication security, identity management, personally identifiable information (PII) protection and security assurance, impact the trustworthiness of an IMT-2020 system.
+
+- **Resilience:** Resilience is the capability of an organization to resist being affected by disruptions. A variety of complementary and partially overlapping features in IMT-2020 can help achieve resilience of an IMT-2020 system to cyberattacks and non-malicious incidents.
+- **Communication security:** Communication security is applied to data communication in IMT-2020. Secure communication for devices and for its own infrastructure is vital in an IMT-2020 system.
+- **Identity management:** An identity management system consists of processes and policies involved in managing the lifecycle, value, type and optional metadata of attributes making up identities of entities in an IMT-2020 system. Provision of secure identity management for identification and authentication of subscribers, roaming or not, and ensuring that only genuine subscribers can access network services is recommended. Such systems are built on strong cryptographic primitives and security characteristics.
+- **PII protection:** Data privacy is defined in [b-ISO/TS 21719-2] as the rights and obligations of individuals and organizations with respect to the collection, use, retention, disclosure and disposal of personal information. PII protection involves protecting PII that can be used by unauthorized parties to identify subscribers.
+- **Security assurance:** Security assurance provides grounds for justified confidence that a claim about meeting security objectives has been or will be achieved. Security assurance is a means to ensure that network equipment meets security requirements and is achieved through the adoption of secure development and product lifecycle processes.
+
+# 7 Security framework supported by the trusted model
+
+This Recommendation analyses and determines the roles of stakeholders in the IMT-2020 ecosystem and the trust relationship between roles by analysing several typical scenarios. It then tries to determine the level of trust with the key factors to be considered. On this basis, it gives recommendations on how to determine security requirements based on the trust level, and to form a security framework based on trust relationship, as shown in Figure 2.
+
+
+
+```
+graph LR; Scenarios[Scenarios] --> Stakeholder[Stakeholder's role]; Definition[Definition to level of trust] --> TrustModel[Trust model]; Criteria[Trust criteria] --> TrustModel; Stakeholder -- Build --> TrustModel; TrustModel -- Derive --> SecurityReq[Security Req.];
+```
+
+The diagram is a flowchart showing the process of building a security framework. It starts with 'Scenarios' leading to 'Stakeholder's role'. 'Definition to level of trust' and 'Trust criteria' both lead to 'Trust model'. 'Stakeholder's role' leads to 'Trust model' via a 'Build' process. Finally, 'Trust model' leads to 'Security Req.' via a 'Derive' process. The reference 'X.1812(22)' is located at the bottom right of the diagram.
+
+Flowchart illustrating the way forward to build a security framework based on trust relationships for the IMT-2020 ecosystem.
+
+**Figure 2 – Way forward to build security framework based on trust relationships for IMT-2020 ecosystem**
+
+Based on the role and relationship, trust model and security requirements of all stakeholders, a security framework supported by the trust model established in this Recommendation is illustrated in Figure 3. All components in the framework are described in: clause 8 for the stakeholders' role; clause 9 for the trust model; and clause 10 for security requirements.
+
+
+
+X.1812(22)
+
+Figure 3: Security framework supported by the trusted model based on trust relationship between stakeholders. The diagram is divided into three main sections: Stakeholders' role, Trust model, and Security requirement. Stakeholders' role shows a flow from Trusted user (End user, vertical industry user) to Trusted service (ISP, ICP) to Trusted network (PLMN, NPN) to Trusted product (UICC, terminals, BS, 5GC, IPX). Trust model shows a hierarchy from High to Medium to Low, with factors like Asset value, Impact scale, Impact of severity, and Likelihood. Security requirement is divided into Organization Req. (Governance, compliance), Procedure Req. (SDL, Dev. and Ops.), and Technology Req. (Security solutions), with various sub-factors like Reputation, Contract execution, Consistency of value, Compensation capability, Independence, SDL requirement, Security operation, Security procedure, Privacy, Resiliency, Safety, Reliability, and Availability.
+
+**Figure 3 – Security framework supported by the trusted model based on trust relationship between stakeholders**
+
+5GC: fifth generation core; BS: base station; ICP: Internet content provider; ISP: Internet service provider; NPN: non-public network; SDL: security development lifecycle
+
+# 8 Stakeholder role in scenarios for the IMT-2020 ecosystem
+
+## 8.1 General
+
+The current telecommunication system can be subdivided into three sub-systems: terminal; network; and service. It is necessary to consider the possible relationships both between each sub-system and within a sub-system. As the terminal-network relationship has already been studied by other standard organizations such as the 3rd Generation Partnership Project (3GPP), it is not further addressed in this clause.
+
+Collectively, the set of five scenarios addressed in this clause covers all possible intersystem relationships except for the terminal-network relationship.
+
+## 8.2 Scenario 1: Virtualization network deployment in a network operator domain
+
+### 8.2.1 General
+
+This scenario focuses primarily on the inner-network relationship.
+
+In current telecommunication networks, network elements (NEs) that are deployed in a network are usually implemented as dedicated physical devices. Each NE is implemented as one or more physical entity servers, based on its capability. Cables, fibres, switches and routers are used to connect such network devices through physical interfaces. In this scenario, the main stakeholders are: users or subscribers; mobile terminal manufacturers; UICC providers; network device vendors; and operators. This is shown in Figure 4.
+
+
+
+X.1812(22)
+
+Figure 4: Main stakeholders in a network operator domain. The diagram shows three main entities: Subscriber, Network operator, and Service provider. The Subscriber is represented by a UICC card terminal (UICC card and smartphone). The Network operator is represented by a cloud containing network equipment (routers, switches, and servers). The Service provider is represented by a server. Bidirectional arrows connect the Subscriber to the Network operator and the Network operator to the Service provider. Below these entities are their respective vendors: UICC provider and Terminal manufacturer for the Subscriber; Vendor, Vendor, and Vendor for the Network operator; and Vendor for the Service provider.
+
+**Figure 4 – Main stakeholders in a network operator domain**
+
+In IMT-2020, software-defined networking/network function virtualization) technology has been significantly developed, and has gradually begun to be deployed in the network. Telecommunication networks are also developing with increasing use of IT. When the IMT-2020 network architecture was designed, a novel service-based architecture was introduced to make better use of IT for deployment and maintenance. The NE is replaced by the network function (NF), which is more flexible to operate and maintain. The NF can be implemented as a virtualized network function (VNF), and even in the form of software applications running on a virtual machine. This suggests that network virtualization will be widely used in the deployment of IMT-2020 networks. In this way, implementation has changed from the original hardware- and software-integrated devices to a three-layer combination of hardware, virtual layer and VNF. As a result, the main stakeholders involved in this scenario are: users or subscribers; mobile terminal manufacturers; UICC providers; NEs vendor (hardware providers, virtualization layer providers, VNF providers); and network operators. This is summarized in Figure 5.
+
+
+
+X.1812(22)
+
+Figure 5: Main stakeholders in virtualization network deployment of a network operator domain. The diagram shows three main entities: Subscriber, Network operator, and Service provider. The Subscriber is represented by a UICC card terminal (UICC card and smartphone). The Network operator is represented by a stack of three layers: Software (Network function) at the top, Virtualization layer in the middle, and Hardware at the bottom. The Service provider is represented by a server. Bidirectional arrows connect the Subscriber to the Network operator and the Network operator to the Service provider. Below these entities are their respective vendors: UICC provider and Terminal manufacturer for the Subscriber; Vendor, Vendor, and Vendor for the Network operator; and Vendor for the Service provider.
+
+**Figure 5 – Main stakeholders in virtualization network deployment of a network operator domain**
+
+### 8.2.2 Roles of stakeholders in this scenario
+
+These stakeholders take the following roles in this scenario.
+
+- Users or subscribers: These are the ultimate users, i.e., customers, of the telecommunication services. The subscriber equipment consists of the mobile terminal provided by a manufacturer and a UICC provided by a card vendor.
+- Mobile terminal manufacturer: This entity provides terminals that can be used by users or subscribers communicating with a network.
+- UICC provider: This entity provides UICCs that can be used to represent subscriber identities.
+- NE vendor: This entity offers devices or components in devices that can be composed to create the telecommunication system or service platform/system.
+
+NOTE – If providing components, it can be further categorized into one of hardware provider, virtualization layer provider or VNF provider.
+
+- Network operator: This entity owns or controls all the elements necessary to sell and deliver telecommunication services to subscribers and service providers.
+
+## 8.3 Scenario 2: Interconnection and roaming
+
+### 8.3.1 General
+
+This scenario focuses primarily on the inner-network relationship.
+
+The mobile telecommunications network can provide services for worldwide users based on interconnection and coordination between global operators. Such interconnection and coordination between operators involve coordination and cooperation in the service and transport layers.
+
+Until now, the design principle for interconnection between public land mobile network (PLMN) operators assumed that operators (at the service level) could completely trust each other, and the transmission of signalling and user data could also be trusted. In order to ensure forwarding of signalling messages to a specific operator correctly, the internetwork packet exchange (IPX) provider was introduced. However, with network growth and the use of the Internet, IPX connections have become increasingly complex, and can also be attacked via the Internet. As a result, operators can only guarantee security for IPX connections directly connected to them, and not for links between operators and all other links of operators. This is shown in Figure 6.
+
+
+
+The diagram illustrates the main stakeholders in interconnection and roaming scenario. It shows a sequence of entities: Subscriber (UICC card terminal), Visited operator (Operator network), IPX provider (VO connected), IPX provider (HO connected), and Home operator (Operator network). The Subscriber is connected to the Visited operator. The Visited operator is connected to the IPX provider (VO connected). The IPX provider (VO connected) is connected to the IPX provider (HO connected). The IPX provider (HO connected) is connected to the Home operator. A dashed blue arrow points from the IPX provider (HO connected) back to the IPX provider (VO connected).
+
+Diagram illustrating the main stakeholders in interconnection and roaming scenario. The diagram shows a sequence of entities: Subscriber (UICC card terminal), Visited operator (Operator network), IPX provider (VO connected), IPX provider (HO connected), and Home operator (Operator network). The Subscriber is connected to the Visited operator. The Visited operator is connected to the IPX provider (VO connected). The IPX provider (VO connected) is connected to the IPX provider (HO connected). The IPX provider (HO connected) is connected to the Home operator. A dashed blue arrow points from the IPX provider (HO connected) back to the IPX provider (VO connected).
+
+X.1812(22)
+
+**Figure 6 – Main stakeholders in interconnection and roaming scenario**
+
+HO: home operator; VO: visited operator
+
+Also, many vulnerabilities in operators have been found and exploited, allowing attackers to launch attacks on other operators by using compromised devices as a springboard. As a result, messages in the services layer are also no longer trusted by operators [b-3GPP TS 33.501].
+
+In such a scenario, the main players involved are users or subscribers, visited operators, home operators and IPX operators (including IPX-connecting visited operator and IPX-connecting home operator).
+
+### **8.3.2 Roles of stakeholders in this scenario**
+
+These stakeholders take the following roles in this scenario.
+
+- User or subscriber: This is the ultimate user, i.e., customer, of telecommunication services.
+- Visited operators: Such operators provide access services to the subscriber when the subscriber is outside the coverage of its home network operator.
+- Home operator: This operator owns subscriber subscriptions and provides services to them.
+- IPX operator (IPX-connecting visited operators, or IPX-connecting home operator): This entity provides an internetworking packet exchange service between operators.
+
+## **8.4 Scenario 3: Car rental with remote operation**
+
+### **8.4.1 General**
+
+This scenario focuses primarily on inner-terminal relationship and terminal-service relationship.
+
+There are more and more vehicles that communicate with the remote platform by using a built-in or post-installed communication module. Such vehicles can upload specific status to or get instructions from a remote platform. In this situation, the vehicle is constructed of two parts: one related to telecommunication, which is provided by the terminal manufacturer; and the other is the vehicle itself, which is made in vehicle factory.
+
+The traditional mobile communication network mainly provides voice, short message or data network access services to subscribers. The subscriber is the end user of the terminal. For car rental services, the drivers who use vehicles containing communication terminals are not subscribers. In another aspect, car renters usually need to use an application on their mobile terminal to interact with the platform through a communication network, in order to get vehicle information remotely or operating a rented vehicle remotely, such as locating the vehicle, unlocking or closing the door without keys, or starting or shutting down the air conditioning.
+
+Therefore, in such a case, as shown in Figure 7, the main stakeholders involved are car renters, the vehicle (which is a mobile terminal), mobile terminal manufacturers, UICC providers, automobile manufacturers, NE vendors, network operators and application providers.
+
+
+
+Diagram illustrating the main stakeholders in a car rental with remote operation scenario. The diagram is organized into three horizontal layers. The top layer shows stakeholders: 'End user' (blue box), 'Car owner' (grey box), 'Network operator' (blue box with a stack effect), and 'Service provider' (grey box). Arrows point from 'End user' and 'Car owner' to 'Network operator', and from 'Network operator' to 'Service provider'. The middle layer shows the communication flow: 'Terminal UICC card' (with a phone icon) and 'Vehicle terminal UICC card' (with a car icon) are connected to a central 'Network' (cloud icon), which is then connected to a 'Server' (server rack icon). Double-headed arrows indicate bidirectional communication between the terminals and the network, and between the network and the server. The bottom layer shows the vendors: 'UICC provider' (under the terminal), 'Terminal manufacturer' (under the terminal), 'Vehicle manufacturer' (under the vehicle), and two 'Vendor' boxes (under the network and server).
+
+X.1812(22)
+
+**Figure 7 – Main stakeholders in car rental with remote operation scenario**
+
+### 8.4.2 Roles of stakeholders in this scenario
+
+These stakeholders take the following roles in this scenario.
+
+- Car renter: A specific user rents a car from a car hire firm. This person is also a subscriber to a mobile network with a mobile terminal.
+- Vehicle: Vehicle belongs to a car hire firm with an embedded specific mobile terminal that can be seen as a network subscriber.
+- Mobile terminal manufacturer: The entity provides terminals that can be used by subscribers communicating with the network.
+- UICC provider: The entity provides UICCs that can be used to represent subscriber identities.
+- Automobile manufacturer: The entity produces vehicles that may or may not contain a mobile terminal.
+- NE vendor: The entity offers devices or components of devices that can be composed for telecommunication system or service platform or system.
+- Network operator: The entity owns or controls all the elements necessary to sell and deliver telecommunication services to subscribers and service providers.
+- Application provider: The entity provides applications for car rental service for users.
+
+## 8.5 Scenario 4: Network capability exposure for industry
+
+### 8.5.1 General
+
+This scenario is mainly focused on the network-service relationship and inner-service relationship.
+
+IMT-2020 owns new features such as enhanced mobile broadband, massive Internet of things (IoT) connection and ultra-reliable low-latency communication. With these features, an IMT-2020 network can provide better network connection support for vertical areas such as industry.
+
+Compared to personal communication, vertical industry communication needs are different, such as service diversity, functional differentiation and technology heterogeneity. Vertical communication in the application layer usually has strict security requirements, such as communication isolation from other industry users, more management ability or collaboration with network operators with specific features such as capability exposure.
+
+Compared with traditional services, vertical industry services may cooperate with network operators, so application providers are introduced, and providers related to the application server or cloud platform are also involved.
+
+On the terminal side, like scenario 3, the terminal device may also contain two parts, one related to communication, provided by the terminal manufacturer, the other is related to dedicated vertical applications, provided by other industrial terminal manufacturers.
+
+In such a case, as shown in Figure 8, the main stakeholders involved are: vertical industry users; communication terminal manufacturers; UICC providers; industrial terminal manufacturers; NE vendors; application server providers or cloud platform service providers; application providers; and network operators.
+
+
+
+Figure 8: Main stakeholders in network capability exposure scenario. The diagram illustrates the interactions between various stakeholders in a network capability exposure scenario. At the top, three blue boxes represent 'Subscriber', 'Network operator', and 'Vertical user'. Below them, an 'Industrial terminal' (represented by a factory icon) is connected to a 'Terminal UICC card' (represented by a SIM card icon). The 'Industrial terminal' is connected to a 'Network' (represented by a brick wall icon) via a double-headed arrow. The 'Network' is divided into two slices: 'Slice 1' (top, grey) and 'Slice 2' (bottom, yellow). 'Slice 1' contains several document icons. The 'Network' is connected to a 'Server' (represented by a cloud icon with gears) via a double-headed arrow. Below the 'Network' and 'Server' are three boxes: 'UICC provider', 'Terminal manufacturer', and 'Industrial device vendor' (grouped together). Below the 'Server' is a box labeled 'Vendor'. The diagram is labeled 'X.1812(22)' in the bottom right corner.
+
+**Figure 8 – Main stakeholders in network capability exposure scenario**
+
+### 8.5.2 Roles of stakeholders in this scenario
+
+The main stakeholders take the following roles in this scenario.
+
+- Vertical industry user: Vertical industry user controls an industrial terminal remotely through the telecommunication network, by using dedicated applications running on application servers or public or private cloud platforms.
+- Communication terminal manufacturer: The entity provides terminals that can be used by subscribers communicating with the network.
+- UICC provider: The entity provides UICCs that can be used to represent subscriber identities.
+- Industrial terminal manufacturer: The entity delivers an industrial machine, network or system for a factory or enterprises.
+- NE vendor: The entity offers devices or components of devices that can be composed for telecommunication system or a service platform or /system.
+- Application server provider or cloud platform service provider: The entity owns the infrastructure and platform that offer storage and computing resource services for upper layer applications.
+
+- Application provider: The factory or enterprises gather information or provide control signalling to industrial terminals.
+- Network operator: The entity owns or controls all elements necessary to sell and deliver telecommunication services to subscribers and service providers.
+
+## **8.6 Scenario 5: Supply chains**
+
+### **8.6.1 General**
+
+The IMT-2020 ecosystem refers to a community comprising many organizations contributing vast amounts of technologies and expertise to make IMT-2020 services and applications work.
+
+A supply chain is a system of organizations, people, activities, information and resources involved in moving a product or service from supplier to customer. Supply chain risk management is the coordinated efforts of an organization to identify, monitor, detect and mitigate threats to supply chain continuity and profitability. There are four security pillars for supply chain risk management for IMT-2020 ecosystem as follows.
+
+- Security aspect: This deals with the confidentiality, integrity and availability of information that: a) describes the supply chain (e.g., information about the transversal paths of IMT-2020 products and services, both logical and physical); or b) traverses the supply chain (e.g., intellectual property contained in IMT-2020 products and services), as well as information about the stakeholders participating in the supply chain (anyone who touches an IMT-2020 product or service throughout its lifecycle);
+- Integrity aspect: This ensures that IMT-2020 products or services in the supply chain are genuine and unaltered, and that the products and services will perform according to acquirer specifications and without additional unwanted functionality.
+- Resilience aspect: This ensures that the supply chain provides the required products and services in the case of stress and failure;
+- Quality aspect: This reduces vulnerabilities that may limit the intended function of a component, lead to component failure or provide opportunities for exploitation.
+
+This scenario is mainly focused on supply chains and relationships. Figure 9 illustrates the main players in supply chain scenarios.
+
+
+
+Diagram illustrating the main stakeholders in supply chain scenarios. The diagram shows a hierarchy of stakeholders. At the top is a box labeled 'DEPARTMENT/AGENCY' containing 'ICT supply chain infrastructure: Internal development, systems, services, components, processes'. An orange box labeled 'Laws, regulations, policies, and other requirements' has a dashed arrow pointing to the 'DEPARTMENT/AGENCY' box. Below the 'DEPARTMENT/AGENCY' box are two boxes: 'External service provider' and 'System integrator'. Below these are four boxes: 'Supplier', 'Supplier', 'System integrator', and 'Supplier'. At the bottom are four boxes: 'Supplier', 'External service provider', 'Supplier', and 'Supplier'. Arrows indicate the flow of information and control from the bottom up to the 'DEPARTMENT/AGENCY' box. A vertical arrow on the left side points downwards, labeled 'Reduced visibility, understanding and control'. The text 'X.1812(22)' is in the bottom right corner.
+
+ICT: information and communications technology
+
+**Figure 9 – Main stakeholders in supply chain scenarios**
+
+### 8.6.2 Roles of stakeholders in this scenario
+
+There are several stakeholders for a supply chain: developer or manufacturer; system integrator; vendor; product resellers; supplier; and external service provider.
+
+The developer or manufacturer refers to: i) developers or manufacturers of information systems, system components or information system services; ii) systems integrators; iii) vendors; or iv) product resellers.
+
+A system integrator is a person or company that deals with bringing together component sub-systems into a whole and ensuring that those sub-systems function together, a practice known as system integration.
+
+A vendor is anyone who provides goods or services to a company or individuals. A vendor often manufactures items and then sells them to a customer. An enterprise is a separate legal entity from the contracting company that provides services such as consulting or software development.
+
+A product reseller is a company or individual that purchases goods or services with the intention of selling them rather than consuming or using them.
+
+A supplier is an entity that supplies goods and services to another.
+
+The external service provider refers to: i) entities within the organization but outside of the security authorization boundaries established for organizational information systems; ii) entities outside of the organization either in the public sector (e.g., federal agencies) or private sector (e.g., commercial service providers); or iii) some combination of the public and private sector options.
+
+## 8.7 Stakeholders in the IMT-2020 ecosystem
+
+Based on the use cases described in clauses 8.2 to 8.6, the IMT-2020 ecosystem can be categorized into four kinds of stakeholders in Figure 10: manufacturer; network operator; service provider; and end user.
+
+
+
+Figure 10 – Stakeholders in the IMT-2020 ecosystem. The diagram illustrates the relationships between various stakeholders in the IMT-2020 ecosystem, organized into four main functional areas: End user, Service provider, Network operator, and Manufacturer. The End user area includes Non-human user (represented by a car and factory) and Human user (represented by a person icon). The Service provider area includes Vertical application and Application cloud/server. The Network operator area includes Network (with two slices), IPX, and Network. The Manufacturer area includes Mobile terminal, UICC card, Software, Hardware, Application software, and Application platform. Arrows indicate the flow of data and services between these components. For example, End users interact with the Network, which connects to the Service provider's applications and cloud services. The Manufacturer provides the physical components (Mobile terminal, UICC card, Software, Hardware) that enable the Network and Service provider to function. The Application software and Application platform are also shown as part of the Manufacturer's offerings, interacting with the Service provider's cloud services.
+
+**Figure 10 – Stakeholders in the IMT-2020 ecosystem**
+
+One stakeholder may have a direct relationship with another and indirect relationships with others through a stakeholder, e.g., behaving like part of a supply chain.
+
+For the IMT-2020 ecosystem, the manufacturer can be seen as a group of developers or manufacturers, system integrators and vendors. Network operators can be seen as product resellers and network service suppliers. Service providers can be seen as external.
+
+Component manufacturers provide technological building blocks for wireless device manufacturers and network equipment manufacturers. Such component manufacturers can also provide such building blocks directly to network operators. Wireless device manufacturers provide equipment for end users or as components of industrial machines, while network equipment manufacturers produce equipment to support network infrastructure (includes wireless and wireline). Network operators combine these devices, network components, network equipment and networks from other operators through IPX into a worldwide operational network to serve end users. End users make voice calls, send text messages and run applications over the network. Network operators also provide communication and related services for external service providers, through its network capability exposure service or other specific services.
+
+# 9 Trust level, trust criteria, and trust model
+
+## 9.1 General
+
+As defined in clause 3.1.11, trust is the degree to which a user or other stakeholder has confidence that a product or system will behave as intended. Trust also plays an important role in the IMT-2020 ecosystem. This Recommendation specifies an IMT-2020 ecosystem trust model to enable stakeholders to make reasoned decisions about trust and security.
+
+This IMT-2020 ecosystem trust model is divided into three levels.
+
+- The first level trust is to cover trust requirements from governments and regulatory bodies. Key factors governing trust include international standard adoption, and public and transparent certification.
+
+- The second level trust is to address trust requirements from industry organizations. Key factors for such bodies include the definition of the stakeholders, the end-to-end (E2E) solution owner, the final market user, the business model, the trust levels and the trust relationships.
+- The third level trust is to secure trust by providing technical solutions based on key factors from the first and second levels.
+
+This Recommendation focuses on the second and third levels, i.e., industry organizations and technical solutions.
+
+The IMT-2020 network operator needs to rely on devices or equipment provided by manufacturers to establish its network system. Thus, it needs to trust manufacturers to provide devices that can meet the requirements of the network operator.
+
+The service provider relies on the network to transmit information, so it needs to trust the network operator to ensure the data is transferred correctly in a timely manner. The service provider also needs to rely on the devices provided by manufacturers to establish its services, and thus it also needs to trust manufacturers to provide devices that can meet the requirements of the service provider.
+
+End users need to rely on network transmission and service applications, so they need to trust that the network access provided by the network operator is legal and effective. Their trust requirements for the service provider are similar.
+
+## 9.2 Trust levels
+
+It is inherently difficult to quantify trust in a meaningful way. In the trust model established in this Recommendation, a qualitative notion of trust level is introduced to enable reasoning about the implications of different degrees of trust.
+
+IMT-2020-enabled services operate in a range of contexts and thus have differing trust requirements. For example, different verticals carry different services and operate in different scenarios, and thus have different trust positioning. Furthermore, some industries are classified as being part of the national critical infrastructure, such as the smart grid, whereas others only operate in less critical everyday scenarios, such as car rental.
+
+If a particular vertical is deemed to be part of the critical infrastructure, then obviously this industry will need a higher level of confidence that the IMT-2020 system will behave as intended. In other words, a higher level of trust needs to be set for this industry, as any damage will affect national stability. On the other hand, a lower level of trust would be needed for those industries where the effects of a failure have a relatively minor impact.
+
+For example, narrow-band IoT services such as the Internet of vehicles (IoV), industrial Internet, smart grid and watering of flowers each have different trust levels, as damage to these industries have differing impacts on society or users.
+
+The trust level for a specific use case mainly depends on the level of impact that damage to the particular vertical has on society and the nation. This is probably best determined by the vertical organization, as it will have representatives from multiple fields and the professional expertise to perform the necessary analysis; it is also part of their due diligence to specify the trust level. So, for higher trust level use-cases, the responsibility borne by the involved stakeholders is to be higher; in other words, a higher trust level also needs to be set for these stakeholders.
+
+For the purposes of the trust model established here, it is assumed that the trust level for the various parties can be set to one of three qualitative levels: high, medium or low. This assumption is made for two main reasons:
+
+- first, assigning quantitative values to trust levels is likely to be highly problematic, as there is no obvious metric for trust (unlike, for example, risk analysis, where the metric can be
+
+based on a combination of probability of occurrence and an assessment of annualized impact cost);
+
+- second, this three-level scale is sufficiently rich to cover many existing use cases, and is also adopted elsewhere e.g., network equipment security assurance scheme (NESAS) [b-GSMA FS.13], [b-GSMA FS.14], [b-GSMA FS.15], [b-GSMA FS.16] for measuring trust requirements.
+
+The problem remains of determining the meaning of these three trust levels, so that the model established in this Recommendation can be used consistently. Trust criteria, designed to enable a determination of the trust levels, are given in clause 9.3.
+
+Given the diversity of assets and the wide range of deployment scenarios in specific verticals, in practice the general trust level needs to be further refined depending on the context. For example, the level of trust required for autonomous driving obviously varies depending on the specific IoV, campus or macro network.
+
+The following example further illustrates the need for a complex, context-specific, trust level definition. Suppose an operator chooses network equipment manufacturers according to the specified trust level. If only one level is specified, all network equipment manufacturers need to be chosen according to a single trust level. However, the core network is more sensitive, valuable and influential than, for example, the antennas, so in a typical scenario the trust level for the core network manufacturer will need to be higher than for the antenna manufacturer.
+
+As a further refinement, the trust level is specified separately for the business unit and the business scenario. For a vertical industry, this means separate specifications of the trust level for the whole vertical industry, and the particular vertical industry scenario. Possible combinations of trust levels for the two cases are shown in Table 1.
+
+**Table 1 – Trust level of business unit and business scenarios and relationship**
+
+| Trust level of business unit | Trust level of business scenarios |
+|------------------------------|-----------------------------------|
+| High | High |
+| | Medium |
+| | Low |
+| Medium | Medium |
+| | Low |
+| Low | Low |
+
+In order to make level specification more practical and more universal, it is recommended that the component trust level be defined in a flexible way. For example, the component trust level could be defined depending on the asset value or the deployment area.
+
+To consider a specific example, the trust level for the whole smart grid is high, but, within the grid, the cables and electric poles are not as valuable as the sensors and signal transmission infrastructure of the IMT-2020 network. Even for the sensors and signal transmission infrastructure, a smart grid network deployed in a small city is not as sensitive as a grid network deployed in a metropolis.
+
+Possible trust levels for relationships between a vertical industry and a stakeholder are described in Table 2.
+
+**Table 2 – Possible trust levels between a vertical industry and a stakeholder**
+
+| Trust level of system | Trust level of component | Trust level of stakeholder |
+|-----------------------|--------------------------|----------------------------|
+| High | High | High |
+| | Medium | Medium |
+| | Low | Low |
+| Medium | Medium | Medium |
+| | Low | Low |
+| Low | Low | Low |
+
+## 9.3 Trust criteria
+
+Evaluating the trust level as high, medium or low requires evaluation of the trust relationships between stakeholders. The trust relationship between any two stakeholders is affected by many factors, and the trust degree between different stakeholders in one category and different stakeholders in another category will also differ. The criteria for evaluation therefore need to be specified individually.
+
+Because the trust level is chosen to minimize harm from potential threats and the risks they cause, criteria can involve asset value, impact scale, impact severity and risk occurrence likelihood, based on risk management standards such as [b-NIST SP800-30], [b-ISO 31000] and [b-ISO/IEC 27005].
+
+- **Assets:** The importance of this factor is clear. The more important an asset is, the greater the need to keep the asset under the full control of the stakeholder, and the higher the necessary trust level.
+- **Impact scale:** For a large-scale stakeholder, the larger the scope, the greater will be the impact of any failure. Therefore, a high trust level is required if the scope of influence is large. For example, an operator will need a lower level of trust in a vendor that sells small cells covering tiny areas than in a vendor that sells core NEs covering a vast area.
+- **Impact severity:** For a stakeholder acting as part of a key infrastructure, the consequences of damage are more serious, and hence greater effort is required to prevent such damage. This leads to a greater need for careful evaluations when interacting with other parties. Thus, the more serious the impact of a failure in a relationship, the higher the necessary trust level.
+- **Risk occurrence likelihood:** If the occurrence likelihood is higher, the risk is more likely to occur.
+
+The IMT-2020 ecosystem is very complex. For the various classes of stakeholders, e.g., end users, equipment manufacturers, network operators and service providers, each category contains a variety of specific instances. As confidence is a subjective concept, trust is difficult to measure and standardize, and the level of trust between two instances is also distinct. However, it is necessary to define a set of general trust levels that covers most situations, in order to provide guidance for each entity in an IMT-2020 ecosystem, namely: low, medium and high.
+
+Table 3 provides an example of how an overall trust level can be determined based on the various trust criteria.
+
+**Table 3 – Trust level criteria**
+
+| Overall trust level | Trust level criteria | | | |
+|---------------------|----------------------|--------------|-----------------|----------------------------|
+| | Asset value | Impact scale | Impact severity | Risk occurrence likelihood |
+| High | High | High | High | High |
+| Medium | Medium | Medium | Medium | Medium |
+| Low | Low | Low | Low | Low |
+
+When using the mapping in Table 3 it is important that the trust criteria risk level take into account risk mitigations either already in place or that will be implemented. For example, where the existing Internet is used for high-value, high-value e-commerce, the asset value, impact scale and impact severity can all be assessed as very high; moreover, superficially it would seem that the likelihood of attack will also be very high, given that the Internet communications protocols do not incorporate robust security features. Using Table 3, this would suggest that the trust level in the Internet needs to be high in order to meet the needs of e-commerce. However, despite the fact that the real-world trust level in the Internet is actually low, given that the Internet does not offer guarantees about the confidentiality, integrity or availability of communication channels, e-commerce is very widely and successfully used for huge volumes of transactions.
+
+In fact, the reason this scenario works is that risks to confidentiality and integrity of data transfers are addressed by the routine use of transport layer security [b-IETF RFC 5246] to protect communications between the communication endpoints, which could be considered as part of the security requirements specified in clause 10.2.
+
+In conclusion, the calculation of the required trust level is required to take account of the actual level of threat after application-specific risk mitigations have been applied. If not, unrealistic demands may be made on the level of trust required in providers of equipment and services, leading to significantly increased costs.
+
+## 9.4 Trust model based on trust relationship mapping
+
+In order to establish IMT-2020 security boundary and security measures in an interoperable standardized way, it is necessary to develop and utilize the trust model appropriately. In order to make the trust model effective, the trust relationships require analysis.
+
+Given the factors identified in clause 9.2, the overall trust relationship between two parties is also unidirectional rather than bidirectional. An example of the analysis of trust relationships between various classes of stakeholder is shown in Table 4.
+
+**Table 4 – Trust relationships between stakeholders**
+
+| Subject | Object | | | |
+|------------------|-----------------|-----------------|------------------|------------------|
+| | End user | Manufacturer | Network operator | Service provider |
+| End user | | Medium/low | High/medium/low | High/medium/low |
+| Manufacturer | – | | High | High |
+| Network operator | Low | High/medium/low | | High/medium/low |
+| Service provider | High/medium/low | High/medium/low | High/medium/low | |
+
+The trust relationships among the various partners in an IMT-2020 ecosystem are typically very complex. Therefore, it is necessary to establish a trust model that can reflect this complexity. That is, the overall trust relationship can be refined to give sub-system-level trust values. An example of an analysis of trust relationships at a sub-system level is given in Table 5.
+
+**Table 5 – Sub-system-level trust relationship inside manufacturer**
+
+| Subject | Object | | | |
+|-------------------|---------------|-------------|-----------------|-------------------|
+| | Chipset/modem | Module | Device provider | Software provider |
+| Chipset/modem | | – | – | – |
+| Module | High/medium | | – | – |
+| Device provider | High/medium | High/medium | | – |
+| Software provider | High/medium | High/medium | High/medium | |
+
+Using the model in Table 6, a car rental scenario is provided as an E2E example.
+
+**Table 6 – Trust model based on trust relationships in a car rental scenario**
+
+| Subject | | Object | | | | | | |
+|------------------|-------------------|----------------------------|------------|-----------------|----------------------------------------|-------------------|------------------|------------------|
+| | | Service provider (vehicle) | Renter | Manufacturer | | | Network operator | Service provider |
+| | | | | Terminal /UICC | Automobile (exclude terminal and UICC) | Network equipment | | |
+| Vehicle | | High/medium | Medium/low | Medium | High/medium | – | High/medium/low | High |
+| Renter | | | | Medium/low | Medium/low | – | High/medium/low | High/medium/low |
+| Manufacturer | Terminal /UICC | – | – | | – | – | High | High |
+| | Automobile | – | – | – | | – | – | High |
+| | Network equipment | – | – | – | – | | High | – |
+| Network operator | | Low | Low | High/medium/low | – | High/medium/low | | High/medium/low |
+| Service provider | | High | Medium/low | High/medium/low | High/medium | – | High/medium/low | |
+
+# 10 Security requirements supported by trust model based on trust relationships
+
+## 10.1 General
+
+In a specific scenario, a system is established by a range of stakeholders, which provide different services and functions to ensure the system behaves and works as intended, bringing benefits to the stakeholders. These stakeholders together form the ecosystem.
+
+During operation of the ecosystem, potential threats and dangers may arise to block business operation. To prevent the threats from causing harm, all stakeholders need to help guarantee that the ecosystem run continuously by being legally compliant and by providing secure products, services and solutions employing a secure development procedure.
+
+The trust model established in clause 9 can be used to help determine trust-based security requirements for stakeholders.
+
+## 10.2 Security requirements from trust level
+
+### 10.2.1 Overview
+
+The trust level in a stakeholder can be used to evaluate whether the stakeholder is able to provide an appropriate damage defence capability. Security requirements can be developed to mitigate such damage. As a result, security requirements can be based on organization capabilities including the professional level of the personnel, the use of secure development processes such as the security development lifecycle or security operation procedure capabilities and trustworthy solution related technology capabilities. For further details see standards and practices, such as [b-NIST FICIC], [b-BSIMM]. See Table 7.
+
+**Table 7 – Trust level and security requirement categories**
+
+| Trust level | Security requirement categories | | |
+|-------------|------------------------------------------|-----------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
+| Subject | Object | | |
+| | Organization capability (good credit) | System development and product lifecycle security or security operation capability (good procedure) | Trustworthiness solution related technology capability (good solution) |
+| High | ✓ | ✓ | ✓ |
+| Medium | ✓ | ✓ | – |
+| Low | ✓ | – | – |
+
+### 10.2.2 Organization requirements
+
+#### 10.2.2.1 Introduction
+
+The trust-related security capabilities of an organization can be broken down into: its reputation; its ability to execute contracts; the consistency of values; the possible compensation for breaches of contract; and its independence.
+
+#### 10.2.2.2 Reputation
+
+Reputation reflects the degree of historical adherence to specified goals for a product or system. Reputation is a measurement that could be derived from direct or indirect knowledge of earlier interactions of stakeholders and is used to assess the level of trust in a stakeholder. As a representation of confidence, trust usually relies on historical information to infer the probability of future trustworthiness. Therefore, when a specific stakeholder has previously performed well in accordance with an agreement, its reputation in the industry will also be increased, and thus it can gain greater confidence from the other party. The data for the reputation management can be obtained from various reliable and widely accepted resources based on evidence, such as certificates or official annual and financial reports. However, a specific stakeholder may have different reputations in different fields. For example, the relationship between a device manufacturer and a network operator or service provider is that of vendor-customer, while that between different manufacturers may be competitive. Therefore, a device manufacturer can have a good reputation with a network operator or service provider, but a bad one with a competitor. As a result, when reviewing externally provided reputation information, network operators or service providers cannot take reputation information obtained from a competing manufacturer as a primary source.
+
+#### 10.2.2.3 Contract execution
+
+In the case of cooperative execution that is continuous or multiple intermittent, the quality of the contract execution will have an impact on the confidence of both parties. It will also have an impact on the trust relationship between the parties. When the contract is executed well, mutual confidence will rise and the trust relationship will be tight. On the contrary, when the execution of the contract is not good, mutual confidence will decline, in addition to the trust relationship. For continuous multiple cooperation, for example, when visiting a service provider multiple times, the historical experience of users will directly impact their trust in the service system. In this case, the user's historical experience information is recommended for categorization as an issue concerned with the user's contract execution rather than reputation.
+
+#### 10.2.2.4 Consistency of valuee
+
+When stakeholders share the same values, the relationship between them is closer and their expectations for the long-term future are more consistent. As a result, higher mutual confidence is achieved, and a better trust relationship will exist between them.
+
+#### 10.2.2.5 Compensation
+
+Compensation capability relates to the expectation of compensation if a commitment is not upheld. An expectation of compensation can be regarded as another guarantee that the stakeholder seeks to perform the contract even in abnormal circumstances. In general, the more generous the compensation, the smaller loss on the peer is implied. Such a capability will increase confidence and trust in the other party. For example, regional cyber laws can dictate the level and severity of punishment or compensation for the various stakeholders to promote trustworthiness.
+
+#### 10.2.2.6 Independence
+
+The independence of the stakeholder reflects its autonomy in executing the contract. Independence includes the ability of a parent company to control a subsidiary, and also includes the influence of authorities on the business entity. The more stakeholders it involves, the more influence it will receive from them and its trust relationship will be more affected.
+
+#### 10.2.2.7 Summary
+
+An example of ways in which trust levels can relate to the capabilities of an organization is shown in Table 8. In practice, the precise choices for which aspects will be required for the medium and low trust levels vary depending on the application domain. For example, an appropriate supplier reputation may, in some cases, still be required to achieve a low trust level, whereas in other cases this aspect may not be significant even when a medium trust level is needed.
+
+**Table 8 – Trust levels and security requirements related to organization capabilities**
+
+| Trust level | Security requirements in organization capability aspect | | | | |
+|-------------|---------------------------------------------------------|--------------------|----------------------|-------------------------|--------------|
+| | Reputation | Contract execution | Consistency of value | Compensation capability | Independence |
+| High | ✓ | ✓ | ✓ | ✓ | ✓ |
+| Medium | ( ✓ ) | ✓ | – | ✓ | ( ✓ ) |
+| Low | – | ✓ | – | ( ✓ ) | – |
+
+### 10.2.3 Procedure requirements
+
+#### 10.2.3.1 Introduction
+
+The security operation capability can be met by employing the following capabilities: Development and product lifecycle security; and security operation capability.
+
+#### 10.2.3.2 Development and product lifecycle security
+
+Within the NESAS, the development and product lifecycle cover all aspects potentially impacting a network product's lifetime, including it being planned, designed, implemented, delivered, updated, and eventually ramped down. Currently, for the IMT-2020 network, NESAS, jointly developed by the Global System for Mobile Communications Association (GSMA) and the 3GPP, has determined a development and product lifecycle security towards IMT-2020 network equipment covering the stages through which network products pass throughout their development (including planning, design, implementation, testing, release, production and delivery) and product lifecycle (covering the stages through which developed network products proceed to end of life, including maintenance and
+
+update releases). It is recommended to take reference for vendor development and product lifecycle evaluation.
+
+#### 10.2.3.3 Security operation capability
+
+Security operation capability means that the product or network needs to be well managed when commercially used, including security deployment, hardening and restricted access control.
+
+#### 10.2.3.4 Summary
+
+So, with respect to the security operation capability, the security requirements listed in Table 9 are recommended.
+
+**Table 9 – Trust level and security requirements for security operation capability**
+
+| Trust level | Security requirements for security operation capability | |
+|-------------|---------------------------------------------------------|--------------------|
+| | System development and product lifecycle security | Security operation |
+| High | ✓ | ✓ |
+| Medium | ( ✓ ) | ✓ |
+| Low | = | ✓ |
+
+### 10.2.4 Technology requirements
+
+The trustworthiness capability can be met by meeting appropriate levels in the following respects: security procedures; privacy; resiliency; safety; reliability; and availability. These are the key attributes that the product and security solutions provided by the stakeholder are recommended to have from a trustworthiness point of view, as described in a range of documents such as [b-BSI 10754-1] and [b-NIST SP800-160v1].
+
+An example of ways in which trust levels can be related to the trustworthiness of an organization is shown in Table 10. As previously, in practice, the precise choices for which aspects are required for the medium and low trust levels will vary depending on the application domain. For example, an appropriate level of data privacy protection may, in some cases, still be required to achieve a low trust level, whereas in other cases this aspect may not be significant even when a medium trust level is needed.
+
+**Table 10 – Trust level and security requirements for trustworthiness capability**
+
+| Trust level | Security requirements for trustworthiness capability | | | | | |
+|-------------|------------------------------------------------------|---------|------------|--------|-------------|--------------|
+| | Security procedure | Privacy | Resiliency | Safety | Reliability | Availability |
+| High | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+| Medium | ✓ | ( ✓ ) | ( ✓ ) | ( ✓ ) | ( ✓ ) | ✓ |
+| Low | ✓ | – | – | ( ✓ ) | ( ✓ ) | – |
+
+In real-world implementations, the precise requirements depend on service scenarios, and flexibility needs to be permitted. As previously noted, if the trust level is low, although the security requirements may be relatively low, there may be a need for a specific stronger requirement, such as privacy.
+
+## 10.3 Interpreting trust to detailed assurance requirements
+
+Once the required trust level has been determined for a particular use case, it is necessary to interpret this trust level to make implementation and operational decisions.
+
+This can be achieved by mapping the required trust level to specific requirements listed in clause 10.2, and such requirements can be fulfilled through product and system assurance. There exists a range of
+
+long-established and standardized techniques for assuring the trustworthiness of products and systems through tests and evaluations, e.g., as carried out by specialist third parties. These can be used as the basis of a mapping from the required trust level, resulting from an analysis of the type described in clause 9.4, to the precise assurance requirements on equipment and service acquisition and use.
+
+The example in Table 11 is intended to enable trust requirement levels to be mapped to trust-based business and operational decisions based on product and system evaluations.
+
+**Table 11 – Example mapping of required trust level to assurance requirements**
+
+| Required trust level | Type of assurance entity | Security assurance scheme examples |
+|----------------------|--------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| High | Assessment by a recognized public body | Common criteria [b-ISO/IEC 15408 (all parts)] National regulatory body [b-ISO/IEC 27001] NESAS Security assurance specification (SCAS) [b-3GPP TS33.511] [b-3GPP TS33.512] [b-3GPP TS33.513] [b-3GPP TS33.514] [b-3GPP TS33.515] [b-3GPP TS33.516] [b-3GPP TS33.517] [b-3GPP TS33.518] [b-3GPP TS33.519] |
+| Medium | Evaluation by an accredited conformity assessment body (CAB) | Common criteria [b-ISA/IEC 62443 (all parts)] [b-ISO/IEC 27001] NESAS/SCAS |
+| Low | Evaluation by a CAB or self-assessment | Common criteria NESAS/SCAS |
+
+Even within a particular assurance scheme, different degrees or types of assurance guarantees may be appropriate for different trust levels.
+
+- Some techniques, notably as specified in [b-ISO/IEC 15408 (all parts)], allow multiple levels of assurance to be specified, so that different trust levels can optionally require different levels of [b-ISO/IEC 15408 (all parts)] evaluation. However, other schemes, such as [b-ISO/IEC 27001], allow only a single level of evaluation.
+- The degree of assurance obtainable from an evaluation can optionally vary depending on the body performing it (as indicated by the middle column in Table 11). For example, self-evaluation against the requirements of [b-ISO/IEC 27001] might be appropriate for the low trust level.
+
+Moreover, the weight given to an evaluation can be reinforced by other factors, for example:
+
+- whether the equipment or service is critical for mission delivery or is just one of multiple ways in which a particular function can be provided (e.g., through redundancy);
+- whether there are multiple assurance evaluations relating to different aspects of a particular product, system or service.
+
+# Bibliography
+
+- [b-ITU-T Y.3100] Recommendation ITU-T Y.3100 (2017), *Terms and definitions for IMT-2020 network*.
+- [b-ISO 10393] ISO 10393:2013, *Consumer product recall – Guidelines for suppliers*.
+- [b-ISO 28598-1] ISO 28598-1:2017, *Acceptance sampling procedures based on the allocation of priorities principle (APP) – Part 1: Guidelines for the APP approach*.
+- [b-ISO 31000] ISO 31000:2018, *Risk management – Guidelines*. Available [viewed 2022-07-18] at: .
+- [b-ISO/IEC 2382] ISO/IEC 2382:2015, *Information technology – Vocabulary*.
+- [b-ISO/IEC 14888-1] ISO/IEC 14888-1:2008, *Information technology – Security techniques – Digital signatures with appendix – Part 1: General*.
+- [b-ISO/IEC/IEEE 15288] ISO/IEC/IEEE 15288:2015, *Systems and software engineering – System life cycle processes*.
+- [b-ISO/IEC 15408(all parts)] ISO/IEC 15408, *Information technology – Security techniques – Evaluation criteria for IT security*
+- [b-ISO/IEC/IEEE 24765] ISO/IEC/IEEE 24765:2017, *Systems and software engineering – Vocabulary*.
+- [b-ISO/IEC 25010] ISO/IEC 25010:2011, *Systems and software engineering – Systems and software Quality Requirements and Evaluation (SQuaRE) – System and software quality models*.
+- [b-ISO/IEC 27000] ISO/IEC 27000:2018, *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+- [b-ISO/IEC 27001] ISO/IEC 27001:2013, *Information technology – Security techniques – Information security management systems – Requirements*.
+- [b-ISO/IEC 27005] ISO/IEC 27005:2018, *Information technology – Security techniques – Information security risk management*.
+- [b-ISO/PAS 19450] Publicly Available Specification ISO/PAS 19450:2015, *Automation systems and integration – Object-process methodology*.
+- [b-ISO/TS 21089] Technical Specification ISO/TS 21089:2018, *Health informatics – Trusted end-to-end information flows*.
+- [b-ISO/TS 21719-2] Technical Specification ISO/TS 21719-2:2018, *Electronic fee collection – Personalization of on-board equipment (OBE) Part 2: Using dedicated short-range communication*.
+- [b-ISO/TS 22318] Technical Specification ISO/TS 22318:2021, *Security and resilience – Business continuity management systems – Guidelines for supply chain continuity management*.
+- [b-ISA/IEC 62443] ISA/IEC 62443 (all parts) [series of automation and control systems cybersecurity standards].
+
+- [b-GSMA FS.13] GSM Association (2022). *Network equipment security assurance scheme – Overview*, Official Document FS.13, version 2.1. London: GSM Association. 29 pp. Available [viewed 2022-07-17] at:
+- [b-GSMA FS.14] GSM Association (2022). *Network equipment security assurance scheme – Security test laboratory accreditation*, Official Document FS.14, version 2.1. London: GSM Association. 15 pp. Available [viewed 2022-07-17] at: .
+- [b-GSMA FS.15] GSM Association (2022). *Network equipment security assurance scheme – Development and lifecycle assessment methodology*, Official Document FS.15, version 2.1. London: GSM Association. 33 pp. Available [viewed 2022-07-17] at: .
+- [b-GSMA FS.16] GSM Association (2022). *Network equipment security assurance scheme – Development and lifecycle security requirements*, Official Document FS.16, version 2.1. London: GSM Association. 22 pp. Available [viewed 2022-07-17] at: .
+- [b-IETF RFC 5246] IETF RFC 5246 (2008), *The transport layer security (TLS) protocol – Version 1.2*.
+- [b-IETF RFC 6733] IETF RFC 6733 (2012), *Diameter base protocol*.
+- [b-3GPP TS 33.501] Technical Specification 3GPP TS 33.501 V17.6.0 (2022), *Security architecture and procedures for 5G system*.
+- [b-3GPP TS 33.511] Technical Specification 3GPP TS 33.511 V17.1.0 (2022), *Security assurance specification (SCAS) for the next generation node B (gNodeB) network product class*.
+- [b-3GPP TS 33.512] Technical Specification 3GPP TS 33.512 V17.3.0 (2022), *5G security assurance specification (SCAS); Access and mobility management function (AMF)*.
+- [b-3GPP TS 33.513] Technical Specification 3GPP TS 33.513 V17.0.0 (2022), *5G security assurance specification (SCAS); User plane function (UPF)*.
+- [b-3GPP TS 33.514] Technical Specification 3GPP TS 33.514 V17.0.0 (2022), *5G security assurance specification (SCAS) for the unified data management (UDM) network product class*.
+- [b-3GPP TS 33.515] Technical Specification 3GPP TS33.515 V17.0.0 (2022), *5G security assurance specification (SCAS) for the session management function (SMF) network product class*.
+- [b-3GPP TS 33.516] Technical Specification 3PGP TS33.516 V17.0.0 (2022), *5G security assurance specification (SCAS) for the authentication server function (AUSF) network product class*.
+- [b-3GPP TS 33.517] Technical Specification 3GPP TS33.517 V17.0.0 (2022), *5G security assurance specification (SCAS) for the security edge protection proxy (SEPP) network product class*.
+
+- [b-3GPP TS 33.518] Technical Specification 3GPP TS33.518 V17.0.0 (2022), *5G security assurance specification (SCAS) for the network repository function (NRF) network product class*.
+- [b-3GPP TS 33.519] Technical Specification 3GPP TS33.519 V17.0.0 (2022), *5G security assurance specification (SCAS) for the network exposure function (NEF) network product class*.
+- [b-BSI 10754-1] BS 10754-1:2018, *Information technology. Systems trustworthiness – Governance and management specification*.
+- [b-BSIMM] British Standards Institution (2021). *Building security in maturity model*, BSIMM 12. London: British Standards Institution.
+- [b-NIST FICIC] NIST (2018). *Framework for improving critical infrastructure cybersecurity*, Version 1.1. Gaithersburg, MD: National Institute of Standards and Technology. 48 pp. Available [viewed 2022-07-18] at:
+- [b-NIST SP800-30] Joint Task Force Transformation Initiative (2012). *Guide for conducting risk assessments*, NIST Special Publication, NIST SP800-30 Rev.1. Gaithersburg, MD: National Institute of Standards and Technology. 95 pp. Available [viewed 2022-07-18] at: .
+- [b-NIST SP 800-53] NIST SP 800-53 Rev 5 2020, *Security and privacy controls for information systems and organizations*.
+- [b-NIST SP800-160v1] Ross, R., McEvelley, M., Carrier Oren, J. (2018). *Systems security engineering: Considerations for a multidisciplinary approach in the engineering of trustworthy secure systems – Volume 1*, NIST Special Publication, NIST SP800-160v1. Gaithersburg, MD: National Institute of Standards and Technology. 243 pp. Available [viewed 2022-07-18] at: .
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.1820-202409-I_PDF-E/07b17a620c75522d53916a11e12d1bff_img.jpg b/marked/X/T-REC-X.1820-202409-I_PDF-E/07b17a620c75522d53916a11e12d1bff_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7a23ffad088aa183f89f7a13e1c512732b408855
--- /dev/null
+++ b/marked/X/T-REC-X.1820-202409-I_PDF-E/07b17a620c75522d53916a11e12d1bff_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0f740fecbc93814a1d0f88d3a643e35eaf496f8e6692e087e9b1dbda1fa56fa6
+size 48082
diff --git a/marked/X/T-REC-X.1820-202409-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg b/marked/X/T-REC-X.1820-202409-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d4d8969f805414689ab79cfd08c333d454d482b3
--- /dev/null
+++ b/marked/X/T-REC-X.1820-202409-I_PDF-E/2d4807f80a3f0106f1722d5722cfac87_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:636c3839edff955a5b6208530b05fa1c983ab153d90f00216517a7a99478b988
+size 7074
diff --git a/marked/X/T-REC-X.1820-202409-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg b/marked/X/T-REC-X.1820-202409-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1036158a351518af9d31e4a400535750151d32be
--- /dev/null
+++ b/marked/X/T-REC-X.1820-202409-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8f6bf8179b66073bffca69b6120ff3980eb75451bccd14ff26e165d8997d6d24
+size 68080
diff --git a/marked/X/T-REC-X.1820-202409-I_PDF-E/raw.md b/marked/X/T-REC-X.1820-202409-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..901ceaaaba1b974c98909acb09ec57f915922c1a
--- /dev/null
+++ b/marked/X/T-REC-X.1820-202409-I_PDF-E/raw.md
@@ -0,0 +1,392 @@
+
+
+Recommendation
+
+# **ITU-T X.1820 (09/2024)**
+
+SERIES X: Data networks, open system communications
+and security
+
+International Mobile Telecommunications (IMT) security –
+IMT-2020 security
+
+---
+
+**Security requirements for operation of
+IMT-2020/5G core network to support vertical
+services**
+
+## ITU-T X-SERIES RECOMMENDATIONS
+
+## **Data networks, open system communications and security**
+
+| | |
+|---------------------------------------------------------------|----------------------|
+| PUBLIC DATA NETWORKS | X.1-X.199 |
+| OPEN SYSTEMS INTERCONNECTION | X.200-X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300-X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400-X.499 |
+| DIRECTORY | X.500-X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600-X.699 |
+| OSI MANAGEMENT | X.700-X.799 |
+| SECURITY | X.800-X.849 |
+| OSI APPLICATIONS | X.850-X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900-X.999 |
+| INFORMATION AND NETWORK SECURITY | X.1000-X.1099 |
+| SECURE APPLICATIONS AND SERVICES (I) | X.1100-X.1199 |
+| CYBERSPACE SECURITY | X.1200-X.1299 |
+| SECURE APPLICATIONS AND SERVICES (II) | X.1300-X.1499 |
+| CYBERSECURITY INFORMATION EXCHANGE | X.1500-X.1599 |
+| CLOUD COMPUTING SECURITY | X.1600-X.1699 |
+| QUANTUM COMMUNICATION | X.1700-X.1729 |
+| DATA SECURITY | X.1750-X.1799 |
+| INTERNATIONAL MOBILE TELECOMMUNICATIONS (IMT) SECURITY | X.1800-X.1839 |
+| IMT-2020 security | X.1810-X.1839 |
+| METAVEVERSE AND DIGITAL TWIN SECURITY | X.2000-X.2199 |
+| SOFTWARE SUPPLY CHAIN SECURITY | X.2150-X.2199 |
+| ARTIFICIAL INTELLIGENCE (AI) / MACHINE LEARNING (ML) SECURITY | X.2200-X.2249 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+## Recommendation ITU-T X.1820
+
+# Security requirements for operation of IMT-2020/5G core network to support vertical services
+
+## Summary
+
+With the development of the IMT-2020/5G system, vertical services have become key scenarios for IMT-2020/5G. In vertical services for smart factories and smart cities that use an IMT-2020/5G network, many user devices use vertical services with massive machine-type communications and ultra-reliable low-latency communications (URLLC).
+
+To support vertical use cases which require ultra-reliability and low latency, some IMT-2020/5G core network functions might be deployed at local sites that are closer to vertical users, while other IMT-2020/5G core network functions are still deployed at a central site. Compared with the IMT-2020/5G core network deployed as a whole, the IMT-2020/5G core network operating in such deployment may face specific security threats.
+
+To ensure the security of the operation of the IMT-2020/5G core network to support vertical services, specific security threats need to be analysed and relevant security requirements need to be specified.
+
+Recommendation ITU-T X.1820 analyses data security threats, network security threats and physical security threats specific to the operation of the IMT-2020/5G core network, which is deployed at both a central site and local sites to support vertical services. It also specifies the relevant security requirements to mitigate the security threats.
+
+## History \*
+
+| Edition | Recommendation | Approval | Study Group | Unique ID |
+|---------|----------------|------------|-------------|--------------------|
+| 1.0 | ITU-T X.1820 | 2024-09-06 | 17 | 11.1002/1000/15893 |
+
+## Keywords
+
+IMT-2020/5G core network, security requirement, vertical service.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, and information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2024
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|-------------------------------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 1 |
+| 4 Abbreviations and acronyms ..... | 1 |
+| 5 Conventions ..... | 2 |
+| 6 Framework of IMT-2020/5G core network deployed to support vertical services ..... | 2 |
+| 7 Security threats ..... | 3 |
+| 7.1 Data security threats ..... | 3 |
+| 7.2 Network security threats..... | 3 |
+| 7.3 Physical security threats ..... | 3 |
+| 8 Security requirements ..... | 4 |
+| 8.1 Overview of security requirements analysis..... | 4 |
+| 8.2 Data security requirements ..... | 4 |
+| 8.3 Network security requirements..... | 5 |
+| 8.4 Physical security requirements ..... | 6 |
+| Bibliography..... | 7 |
+
+
+
+## Recommendation ITU-T X.1820
+
+## Security requirements for operation of IMT-2020/5G core network to support vertical services
+
+# 1 Scope
+
+This Recommendation specifies security requirements for the operation of the IMT-2020/5G core network deployed at both a central site and local sites to support vertical services. It analyses the data security threats due to operation and subscription data being transferred between central site and local sites, network security threats due to local sites connecting with a central site, and physical security threats due to local sites being closer to vertical users. It also specifies the relevant security requirements to mitigate the security threats.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+[3GPP TS 23.501] 3rd Generation Partnership Project 3GPP TS 23.501 (2022), *System architecture for the 5G System (5GS); Stage 2 (Release 18)*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 mutual authentication** [b-ITU-T X.1254]: Authentication of identities of entities which provides both entities with assurance of each other's identity.
+
+**3.1.2 threat** [b-ISO/IEC 27000]: Potential cause of an unwanted incident, which can result in harm to a system or organization.
+
+**3.1.3 vertical service** [b-ITU-T X.1813]: From a business perspective, a vertical service is a service focused on a specific industry or group of customers with specialized needs (e.g., automotive services, entertainment services, e-health services, industry 4.0).
+
+**3.1.4 network function** [b-ITU-T Y.3100]: In the context of IMT-2020, a processing function in a network.
+
+## 3.2 Terms defined in this Recommendation
+
+This Recommendation defines the following terms:
+
+**3.2.1 central site**: A data centre that is deployed and managed by a mobile operator.
+
+**3.2.2 local site**: A data centre that is deployed at an enterprise site.
+
+# 4 Abbreviations and acronyms
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|-------|----------------------------------------------|
+| AMF | Access and Mobility Management Function |
+| DDoS | Distributed Denial of Service |
+| NEF | Network Exposure Function |
+| NF | Network Function |
+| SMF | Session Management Function |
+| UDM | Unified Data Management |
+| UPF | User Plane Function |
+| URLLC | Ultra-reliable and low-latency communication |
+
+# 5 Conventions
+
+This Recommendation uses the following conventions:
+
+The keywords "is required to" indicate a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation is to be claimed.
+
+The keywords "is recommended" indicate a requirement which is recommended but which is not absolutely required. Thus, this requirement need not be present to claim conformance.
+
+The keywords "is prohibited from" indicate a requirement which must be strictly followed and from which no deviation is permitted, if conformance to this Recommendation is to be claimed.
+
+# 6 Framework of IMT-2020/5G core network deployed to support vertical services
+
+
+
+X.1820(24)
+
+Figure 6-1: Framework of IMT-2020/5G core network deployed to support vertical services. The diagram shows a central site connected to multiple local sites. The central site contains a top row of PCF, NEF, ..., UDM, and NRF, and a bottom row of AMF, ..., SMF, and NSSF. The local sites (Local site 1, Local site 2, ..., Local site N) each contain a top row of UPF and AMF, and a bottom row of SMF and UDM. The central site is connected to the local sites via lines representing network connections.
+
+**Figure 6-1 – Framework of IMT-2020/5G core network deployed to support vertical services**
+
+NOTE – Figure 6-1 uses the following abbreviations from [3GPP TS 23.501]:
+
+PCF – policy control function;
+
+NEF – network exposure function;
+
+UDM – unified data management;
+
+NRF – network repository function;
+
+AMF – access and mobility management function;
+
+SMF – session management function;
+
+NSSF – network slice selection function;
+
+UPF – user plane function;
+
+UDM – unified data management.
+
+To support vertical services, some IMT-2020/5G core network functions, such as user plane function (UPF), access and mobility management function (AMF), session management function (SMF), network exposure function (NEF), unified data management (UDM) may be deployed at local sites that are closer to vertical users, while other IMT-2020/5G core network functions are still deployed at a central site.
+
+Figure 6-1 is the framework of IMT-2020/5G core network deployed to support vertical services. In this framework, local sites are connected with central sites and data transfer takes place between central NFs and local NFs. Subscription data such as authentication subscription data, access and mobility subscription data, SMF selection subscription data might be transferred between the central UDM and local UDM. Operation data such as policy and charging control rules, packet flow description and packet detection rules might be transferred between central NFs and local NFs. Also, subscription data and operation data might be stored in local sites.
+
+# **7 Security threats**
+
+## **7.1 Data security threats**
+
+As data is transferred between central site and local sites, there are some security threats:
+
+- 1) Data might be eavesdropped, modified or tampered with by attackers during transfer.
+- 2) Without proper dispatch control, data related to one vertical user might be transferred to a local site that serves another vertical user.
+- 3) A compromised local NF might access not only central NFs but also local NFs, and post fake or malicious data or delete or tamper with the data in central NFs.
+- 4) Data stored in local NFs might be accessed or tampered with by attackers.
+
+## **7.2 Network security threats**
+
+Since local sites are connected with a central site, local NFs can access central NFs, and NFs at one local site might access NFs at another local site through a central site network.
+
+Security threats from local NFs to central NFs include:
+
+- 1) Compromised local NFs might scan to find out central NFs' vulnerabilities and launch further attacks.
+- 2) Compromised local NFs might launch distributed denial of service (DDoS) attacks to the central site.
+- 3) If there is no mutual authentication between local NFs and central NFs, fake local NFs can access central NFs and interfere with their operation.
+
+Security threats from different local sites' NFs include:
+
+- 1) Compromised NFs at one local site might scan to find vulnerabilities in other local sites' NFs' and launch further attacks.
+- 2) Compromised NFs at one local site might launch DDoS attacks to other local sites.
+
+## **7.3 Physical security threats**
+
+Since local NFs are closer to vertical users, they are more likely to be physically attacked.
+
+- 1) Malicious patches/programs might be installed in local NFs.
+- 2) Attackers might control local NFs through local maintenance interfaces.
+- 3) Attackers might reset local NFs' passwords by making them enter recovery mode.
+- 4) Attackers might turn off or physically damage local NFs.
+
+# 8 Security requirements
+
+## 8.1 Overview of security requirements analysis
+
+
+
+| | |
+|---------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Data security requirements | Authentication subscription data encryption Authentication subscription data encryption key management Authentication subscription data change control
Subscription data dispatch control
Subscription and operation data transfer security Subscription and operation data access control
|
+| Network security requirements | Network access control Network protection NF mutual authentication |
+| Physical security requirements | Physical security mechanism |
+
+X.1820(24)
+
+Figure 8-1: Overview of security requirements for the operation of IMT-2020/5G core network. The diagram shows three categories of requirements: Data security requirements, Network security requirements, and Physical security requirements, each with a list of specific measures.
+
+**Figure 8-1 – Overview of security requirements for the operation of IMT-2020/5G core network deployed at both central site and local sites to support vertical services**
+
+The overview of security requirements for the operation of IMT-2020/5G core network deployed at both central site and local sites to support vertical services is shown as Figure 8-1.
+
+Authentication subscription data is needed for the generation of authentication vectors in the UDM, which may consist of long-term key $K$ , sequence number $SQN$ , authentication method used, etc. Since authentication subscription data is essential, it requires protection which includes encryption, associated encryption key management and change control. Part of subscription data is specific to the user, therefore it requires dispatch control. Both subscription data and operation data need access control and protection during transfer.
+
+To secure connections between a central site and local sites, network access control, a network protection mechanism and NF mutual authentication are required to be deployed.
+
+To protect local NFs that are close to vertical users from being stolen, turned off or physically damaged, a physical security mechanism is required to be deployed.
+
+## 8.2 Data security requirements
+
+The security requirements for authentication subscription data include the following:
+
+- 1) It is required that authentication subscription data be encrypted when it is exported from central UDM.
+- 2) It is required that different encryption keys be used to encrypt different local sites' authentication subscription data.
+- 3) It is required that cryptographic keys for encryption be securely protected.
+- 4) It is required that only authorized NFs be able to change authentication subscription data stored in local UDM.
+- 5) It is required that local NFs be unable to change authentication subscription data stored in central UDM.
+
+The security requirements for all the subscription data include:
+
+- 1) It is required that subscription data only be transferred from a central site to local sites. Local sites are prohibited from transferring subscription data to a central site.
+- 2) It is required that the subscription data of one local site be unable to be transferred to other local sites.
+
+The security requirements for both subscription data and operation data include the following:
+
+- 1) It is required that subscription and operation data be integrity protected during transfer.
+- 2) It is required that access control be applied to subscription and operation data stored in local sites.
+
+## **8.3 Network security requirements**
+
+### **8.3.1 Network access control**
+
+The security requirements for network access control between local NFs to central NFs include:
+
+- 1) It is required that only specific IP addresses of local sites are permitted to access central site.
+- 2) It is required that local NFs are only permitted to access related central NFs. For example, local UPF can access central SMF, but local UPF is prohibited from accessing central AMF.
+- 3) It is recommended that local NFs are only permitted to require central NFs' related services. For example, local AMF can require central UDM's Nudm\_UECM\_Registration service, but local AMF is unable to require central UDM's Nudm\_EventExposure\_Subscribe service.
+
+Bullets 1 and 2 are vital for effective network access control and are required to be implemented. Bullet 3 proposes finer granularity access control and is recommended to be considered and implemented if resources permit.
+
+The security requirement for network access control between different local sites is that local sites serving different vertical users are unable to access each other.
+
+### **8.3.2 Network protection**
+
+The security requirements for network protection include the following:
+
+- 1) It is recommended that abnormal packets from local sites to central site have the ability to be detected and abandoned.
+- 2) It is recommended that intrusion detection/prevention mechanisms be used between local sites and central site.
+- 3) It is recommended that security measures be used to deal with overload situations which may occur as a result of a denial-of-service attack or during periods of increased traffic. In particular, partial or complete impairment of system availability is recommended to be avoided. This can be done through proper rate limits between local sites and central site, so that compromised local NFs are unable to launch DDoS attacks against central NFs.
+- 4) It is recommended that a logging mechanism be used to log security events together with a unique system reference (e.g., host name, IP or MAC address) and the exact time of the incident.
+
+All security requirements for network protection are recommended to be considered and implemented if resources permit.
+
+### **8.3.3 NF mutual authentication**
+
+The security requirements for NF mutual authentication include the following:
+
+- 1) It is required that mutual authentication be performed between local NFs and central NFs.
+- 2) It is required that NFs' credentials be securely protected.
+
+- 3) It is required that strong password policy along with protection against brute force and dictionary attacks be implemented.
+- 4) It is recommended that the authorization for accounts and applications be reduced to the minimum required for the tasks they have to perform. Authorization to a system is recommended to be restricted to a level and access controlled to a specific user.
+
+Bullets 1, 2 and 3 are vital for preventing fake NF access and are required to be implemented. Bullet 4 proposes minimum authorization and is recommended to be considered and implemented if resources permit.
+
+## **8.4 Physical security requirements**
+
+Physical security requirements include the following:
+
+- 1) It is required that physical access to local NFs be restricted.
+- 2) It is required that physical accessible interfaces that are not in use be disabled permanently.
+- 3) It is prohibited from resetting local NFs' system passwords by entering recovery mode.
+- 4) It is required that local NFs do not boot up from external storage.
+- 5) It is recommended that the physical location of local NFs not be easily accessible.
+
+Bullets 1, 2, 3 and 4 are vital for physical security requirements and are required to be implemented. Bullet 5 proposes a general physical security requirement and is recommended to be considered and implemented if resources permit.
+
+## Bibliography
+
+- [b-ITU-T X.1254] Recommendation ITU-T X.1254 (2020), *Entity authentication assurance framework*.
+- [b-ITU-T X.1813] Recommendation ITU-T X.1813 (2022), *Security requirements for the operation of vertical services supporting ultra-reliable and low latency communication (URLLC) in the IMT-2020 private networks*.
+- [b-ITU-T Y.3100] Recommendation ITU-T Y.3100 (2017), *Terms and definitions for IMT-2020 network*.
+- [b-ISO/IEC 27000] ISO/IEC 27000:2018, *Information technology – Security techniques – Information security management systems – Overview and vocabulary*.
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.2-200003-I_PDF-E/raw.md b/marked/X/T-REC-X.2-200003-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..6adcc092c75aea327d1800397a0602df8b200a26
--- /dev/null
+++ b/marked/X/T-REC-X.2-200003-I_PDF-E/raw.md
@@ -0,0 +1,878 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt symbol below it.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.2
+
+(03/2000)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS
+
+Public data networks – Services and facilities
+
+---
+
+**International data transmission services and
+optional user facilities in public data networks
+and ISDNs**
+
+ITU-T Recommendation X.2
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS **DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS**
+
+| | |
+|-----------------------------------------------|-----------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+## **ITU-T RECOMMENDATION X.2**
+
+## **INTERNATIONAL DATA TRANSMISSION SERVICES AND OPTIONAL USER FACILITIES IN PUBLIC DATA NETWORKS AND ISDNs**
+
+### **Summary**
+
+This Recommendation describes international data transmission services (leased circuit, circuit switched, packet switched, and frame relay) and optional user facilities in public data networks and ISDNs. This revision includes optional user facilities for priority and service classes aspects of frame relay data transmission service. The revision also takes into account the addressing aspects connected with the using of E.164 Escape Code "0".
+
+###### **Source**
+
+ITU-T Recommendation X.2 was revised by ITU-T Study Group 7 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on 31 March 2000.
+
+## FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+### NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+### INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2000
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+### CONTENTS
+
+| | | Page |
+|------|--------------------------------------------------------------------------------------------------------------------------------|-------------|
+| 1 | Introduction..... | 2 |
+| 2 | Circuit switched data transmission service..... | 2 |
+| 3 | Packet switched data transmission services..... | 2 |
+| 3.1 | Direct access to a packet switched data transmission service..... | 2 |
+| 3.2 | Port access to a packet switched data transmission service (user classes of service 20-26 and 29).. | 6 |
+| 3.3 | Port access to a packet switched data transmission service (user classes of service 8-12, 26 and 30)..... | 8 |
+| 3.4 | Additional capabilities provided by multicast service..... | 9 |
+| 4 | Frame relay data transmission service ..... | 12 |
+| 4.1 | Direct access to a frame relay data transmission service..... | 12 |
+| 4.2 | Port access to a frame relay data transmission service..... | 12 |
+| 5 | Leased circuit data transmission service ..... | 12 |
+| | Appendix I – Coding of optional user facilities ..... | 14 |
+| | Appendix II – Relationship of ISDN (I.250-Series Recommendations) Supplementary Services and X.2 Optional User Facilities..... | 17 |
+| II.1 | Introduction..... | 17 |
+| II.2 | Independent operation..... | 17 |
+| II.3 | Minimum relationship..... | 18 |
+| II.4 | Maximum relationship ..... | 18 |
+| II.5 | Summary..... | 20 |
+
+
+
+### Recommendation X.2
+
+## INTERNATIONAL DATA TRANSMISSION SERVICES AND OPTIONAL USER FACILITIES IN PUBLIC DATA NETWORKS AND ISDNs
+
+(Geneva, 1972; amended at Geneva, 1976 and 1980; Malaga-Torremolinos, 1984; Melbourne, 1988 and Helsinki, 1993; revised in Geneva, 1996 and 2000)
+
+The ITU-T,
+
+*considering*
+
+- a) the international user classes of service and categories of access defined in Recommendation X.1;
+- b) the need to standardize data transmission services, optional user facilities and *DTE services*, in public data networks and ISDNs, which should be made available on an international basis;
+- c) the need to standardize additional optional user facilities and *DTE services* which may be provided by Administrations and which may be available on an international basis;
+- d) that the optional user facilities indicated in this Recommendation are defined in other Recommendations, for example Recommendation X.301 for network implementations, where appropriate, and Recommendations X.21, X.25, etc. for network procedures;
+
+NOTE – Alignment and interworking between the facilities in this Recommendation and supplementary services in the I.250-Series Recommendations are described in Appendix II.
+
+- e) the need to standardize the identification methods applicable to these *DTE services*, which identification methods should be made available on an international basis, and which identification methods may be provided by Administrations and may be available on an international basis;
+- f) the impact which these optional user facilities and *DTE services* could have on tariff structures,
+
+*unanimously declares*
+
+- 1) that the optional user facilities should be standardized for each of the user classes of service indicated in Recommendation X.1 for each of the following:
+ - i) circuit switched data transmission services;
+ - ii) packet switched data transmission services;
+ - iii) leased circuit data transmission services;
+ - iv) frame relay data transmission services;
+- 2) that the optional user facilities to be made available on an international basis are indicated in the following clauses. Some of the optional user facilities are available on a per-call basis and others may be assigned for an agreed contractual period. In all cases, the user has the option of requesting a given optional user facility;
+- 3) that the DTE services and the relative identification methods used when the packet switched data transmission service is obtained via a Public Switched Telephone Network (PSTN), a Circuit Switched Public Data Network (CSPDN), an Integrated Services Digital Network (ISDN) and a PDN providing frame relay data transmission service should also be standardized and are indicated in the following clauses.
+
+### 1 Introduction
+
+**1.1 Optional user facility:** Is a facility which complements the basic data transmission service defined in Recommendation X.1 and based on the basic user facility(ies). Consequently, it cannot be offered to a user as stand-alone service. It must be offered together or in association with a basic user facility. An optional user facility may be applicable to a number of data transmission services.
+
+This Recommendation indicates the degree of support required for the capabilities associated with the data transmission services. In general, this degree of support can be expressed as one of the following:
+
+E: An Essential user or DTE service or facility to be made available internationally.
+
+A: An Additional user or DTE service or facility which may be available in certain data networks and may also be available internationally.
+
+FS: This item is for Further Study as to whether it will be supported at all in conjunction with one of the data transmission services.
+
+—: This item is not applicable.
+
+In certain cases, the degree of support depends on the support of other services or facilities, or other aspects. This is indicated by adopting the following additional notation:
+
+Cn: Refers to a "conditional statement of support" given below the table in which Cn appears.
+
+M: Support for the user or DTE service or facility is Mandatory by an Administration but it may not be available internationally.
+
+Definitions of particular optional user facilities are contained in Recommendation X.7.
+
+### 2 Circuit switched data transmission service
+
+Table 1 indicates the optional user facilities which should be made available on an international basis in the circuit switched data transmission service provided by a CSPDN and those facilities which may be available in certain data networks and may also be available internationally.
+
+### 3 Packet switched data transmission services
+
+#### 3.1 Direct access to a packet switched data transmission service
+
+Tables 2 and 3 indicate the services and the optional user facilities, respectively, which should be made available on an international basis in the packet switched data transmission service, and those which may be available on certain data networks and may also be available internationally in case of a direct access to a packet switched data transmission service.
+
+These services and optional user facilities are described in Recommendation X.25.
+
+A DTE may make use of one or more of these services and facilities.
+
+Some of optional user facilities in multicast service have another role (see Table 8).
+
+It should be noted that Recommendation X.25 has inherent features (e.g. the conveying of an address extension), which can be used end-to-end by users for providing an OSI network service (see Recommendations X.213 and X.223). Such features are described in Recommendation X.25 and are so-called "ITU-T defined DTE facilities" (see Annex G/X.25).
+
+NOTE – The study of "connectionless services" is for further study.
+
+**Table 1/X.2 – Optional user facilities in circuit switched data transmission service provided by a CSPDN**
+
+| Optional user facility | | All user classes of service |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|-----------------------------|
+| 1 | Optional user facilities assigned for an agreed contractual period | |
+| 1.1 | Direct call | A |
+| 1.2 | Closed user group | E |
+| 1.3 | Closed user group with outgoing access | A |
+| 1.4 | Closed user group with incoming access | A |
+| 1.5 | Incoming calls barred within a closed user group | A |
+| 1.6 | Outgoing calls barred within a closed user group | A |
+| 1.7 | Calling line identification | A |
+| 1.8 | Incoming calls barred | A |
+| 1.9 | Outgoing calls barred | A |
+| 1.10 | Bilateral closed user group | A |
+| 1.11 | Bilateral closed user group with outgoing access | A |
+| 1.12 | Reverse charging acceptance | A |
+| 1.13 | Connect when free | A |
+| 1.14 | Waiting allowed | A |
+| 1.15 | Call redirection | A |
+| 1.16 | On-line facility registration | A |
+| 1.17 | DTE inactive registration/cancellation | A |
+| 1.18 | Date and time indication | A |
+| 1.19 | Hunt group | A |
+| 1.20 | Manual answer | A |
+| 2 | Optional user facilities requested by the DTE on a per-call basis | |
+| 2.1 | Direct call | A |
+| 2.2 | Abbreviated address calling | A |
+| 2.3 | Multi-address calling (Note) | A |
+| 2.4 | Reverse charging | A |
+| 2.5 | ROA selection | A |
+| 2.6 | Charging information | A |
+| 2.7 | Called line identification | A |
+| 2.8 | Closed user group selection | E |
+| 2.9 | Bilateral closed user group selection | A |
+| ROA Recognized Operating Agency (previously "recognized private operating agency") | | |
+| NOTE – This optional user facility also provides the user with the capability to request the establishment of a point-to-multipoint configuration amongst the following: centralized multipoint, decentralized multipoint, broadcasting multipoint. | | |
+
+**Table 2/X.2 – Services in packet switched data transmission service
+(direct access) provided by a PSPDN**
+
+| Type of Service | User classes of service | | |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|----------------------------|----|
+| | 8-11, 26 (synchronous mode), 30-61 | 20-26 (start-stop mode) | 29 |
+| Virtual call service | E | E | E |
+| Permanent virtual circuit service | E (Note) | FS | FS |
+| NOTE – This service continues to be allocated an "E" classification. However, while some Administrations continue to believe that the offering of this service is an essential feature of the international service, other Administrations have expressed the view that they will not offer the service internationally. The international application depends on bilateral agreement. This service may not be available for the maritime mobile services. | | | |
+
+**Table 3/X.2 – Facilities of packet switched data transmission service
+(direct access) provided by a PSPDN**
+
+| Optional user facility | User classes of service | | | |
+|------------------------------------------------------------------------------------|------------------------------------------|------------|----------------------------------------|-----|
+| | 8-11, 26 (synchronous mode), 30-61 | | 20-26 (start-stop mode) (Note 1) | |
+| | VC | PVC | VC | PVC |
+| 1 Optional user facilities assigned for an agreed contractual period | | | | |
+| 1.1 Extended frame sequence numbering (modulo 128) | C1 | C1 | – | – |
+| 1.2 Super-extended frame sequence numbering (modulo 32768) | C1 | C1 | – | – |
+| 1.3 Multilink procedure | A | A | – | – |
+| 1.4 Extended packet sequence numbering (modulo 128) | A (Note 2) | A (Note 2) | – | – |
+| 1.5 Super extended packet sequence numbering (modulo 32768) | A (Note 2) | A (Note 2) | – | – |
+| 1.6 D-bit modification | A | A | FS | – |
+| 1.7 Packet retransmission | A | A | – | – |
+| 1.8 Incoming calls barred | E | – | A | – |
+| 1.9 Outgoing calls barred | E | – | A | – |
+| 1.10 One-way logical channel outgoing | E | – | – | – |
+| 1.11 One-way logical channel incoming | A | – | – | – |
+| 1.12 Non-standard default packet sizes (16, 32, 64, 256, 512, 1024, 2048, 4096) | C1 | C1 | FS | FS |
+| 1.13 Non-standard default window sizes | A (Note 2) | A (Note 2) | – | – |
+| 1.14 Default throughput classes assignment | A | A | FS | FS |
+| 1.15 Flow control parameter negotiation | E | – | FS | – |
+| 1.16 Basic throughput class negotiation | E | – | FS | – |
+| 1.17 Extended throughput class negotiation | A | – | FS | – |
+| 1.18 Closed user group | E | – | E | – |
+| 1.19 Closed user group with outgoing access | A | – | A | – |
+| 1.20 Closed user group with incoming access | A | – | A | – |
+
+**Table 3/X.2 (continued)**
+
+| Optional user facility | | User classes of service | | | |
+|------------------------|-------------------------------------------------------------------|------------------------------------------|-----|----------------------------------------|-----|
+| | | 8-11, 26 (synchronous mode), 30-61 | | 20-26 (start-stop mode) (Note 1) | |
+| | | VC | PVC | VC | PVC |
+| 1.21 | Incoming calls barred within a closed user group | A | — | A | — |
+| 1.22 | Outgoing calls barred within a closed user group | A | — | A | — |
+| 1.23 | Bilateral closed user group | A | — | A | — |
+| 1.24 | Bilateral closed user group with outgoing access | A | — | A | — |
+| 1.25 | Fast select acceptance | E | — | A | — |
+| 1.26 | Reverse charging acceptance | A | — | A | — |
+| 1.27 | Local charging prevention | A | — | FS | — |
+| 1.28 | NUI subscription | A | — | A | — |
+| 1.29 | NUI override | A | — | — | — |
+| 1.30 | Charging information | A | — | A | — |
+| 1.31 | ROA subscription | A | — | A | — |
+| 1.32 | Hunt group | A | — | A | — |
+| 1.33 | Call redirection | A | — | FS | — |
+| 1.34 | Call deflection subscription | A | — | — | — |
+| 1.35 | TOA/NPI address subscription | A (Note 3) | — | A (Note 3) | — |
+| 1.36 | Direct call | FS | — | A | — |
+| 1.37 | Inter-network call redirection/deflection prevention subscription | A | — | — | — |
+| 1.38 | Global alternative address registration | A | — | — | — |
+| 1.39 | Interface specific alternative address registration | C2 | — | — | — |
+| 1.40 | Alternative address usage subscription | A | — | — | — |
+| 2 | Optional user facilities on a per-call basis | | | | |
+| 2.1 | Flow control parameter negotiation | E | — | — | — |
+| 2.2 | Basic throughput class negotiation | E | — | — | — |
+| 2.3 | Extended throughput class negotiation | C3 | — | — | — |
+| 2.4 | Closed user group selection | E | — | E | — |
+| 2.5 | Closed user group with outgoing access selection | C4 | — | C3 | — |
+| 2.6 | Bilateral closed user group selection | C5 | — | FS | — |
+| 2.7 | Reverse charging | A | — | A | — |
+| 2.8 | Fast select | E | — | A | — |
+| 2.9 | NUI selection | C6 | — | C5 | — |
+| 2.10 | Charging information | A | — | A | — |
+| 2.11 | ROA selection | A | — | A | — |
+| 2.12 | Call deflection selection | C7 | — | — | — |
+| 2.13 | Call redirection or call deflection notification | C8 | — | FS | — |
+| 2.14 | Called line address modified notification | E | — | FS | — |
+
+**Table 3/X.2 (end)**
+
+| Optional user facility | | User classes of service | | | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|------------------------------------------|-----|----------------------------------------|-----|
+| | | 8-11, 26 (synchronous mode), 30-61 | | 20-26 (start-stop mode) (Note 1) | |
+| | | VC | PVC | VC | PVC |
+| 2.15 | Transit delay selection and indication | E | – | – | – |
+| 2.16 | Abbreviated address calling | – | – | A | – |
+| 2.17 | Internetwork call redirection/deflection status selection | A | – | FS | – |
+| 2.18 | Alternative address selection | C9 | – | – | – |
+| VC Applicable when the virtual call service is being used
PVC Applicable when the permanent virtual circuit service is being used
C1 The relationship among several parameters to be used for efficient line utilization is expressed as:
$R * D/8 \leq k * N1 \quad (1)$ where: R is transmission rate (bit/s);
D is total round trip delay (seconds);
k is Layer 2 window size; and
N1 is frame size (octets).
If a combination of variables k and N1 do not satisfy equation (1), then k, N1, or both should be increased. If [the values of k and/or N1 which satisfy the equation (1) are such that Extended Frame Sequence Numbering and/or Non-standard Default Packet Size (which, in turn, influences N1) are required], then one or both of these facilities are M; otherwise they are A
C2 If (Alternative address usage subscription is offered), then M; otherwise prohibited
C3 If (Extended throughput class negotiation for a contractual period is offered), then M; otherwise prohibited
C4 If [(Closed user group with outgoing access or Closed user group with incoming access is offered) and the (network offers the capability of choosing whether to have a preferential CUG)], then M; otherwise prohibited
C5 If (Bilateral closed user group or Bilateral closed user group with outgoing access offered), then M; otherwise prohibited
C6 If (NUI subscription or NUI override is offered), then M; otherwise prohibited
C7 If (Call deflection subscription is offered), then M; otherwise prohibited
C8 If (Call redirection or Call deflection subscription/selection is offered), then M; otherwise A
C9 If (Alternative address usage subscription is offered), then M; otherwise prohibited
NOTE 1 – The use of a PAD function is assumed for virtual call service (see Recommendation X.3). Its applicability for permanent virtual circuit service is for further study.
NOTE 2 – The relationship among parameters in Layer 3 for a single virtual circuit is similar to that given in equation (1) under condition C1. When a packet window size larger than 2 is needed to fully utilize a virtual circuit, then the non-standard default window size facility is required. If this window size is also larger than 7, then the extended packet sequence numbering facility is also required. The precise relationships for single and multiple logical channel cases are for further study.
NOTE 3 – E.164 Escape Code "0" will be officially discontinued at 2359 hours UTC, 31 December 2000. However, informal use of Escape Code "0" may continue for some period of time. ITU-T will give official notification regarding the planned implementation of any E.164 Country Codes starting with digit "0" (if necessary), which would conflict with use of Escape code "0". After that time the optional user facility TOA/NPI address subscription becomes E.
| | | | | |
+
+#### 3.2 Port access to a packet switched data transmission service (user classes of service 20-26 and 29)
+
+NOTE – A definition of "port access" is given in Recommendation X.1.
+
+Tables 4 and 5 indicate the services and the optional user facilities, respectively, which should be made available on an international basis in the packet switched data transmission service, and those which may be available on certain data networks and may also be available internationally in case of a port access to a packet switched data transmission service.
+
+These services and optional user facilities are described in Recommendation X.25.
+
+A DTE may make use of one or more of these services and facilities.
+
+**Table 4/X.2 – Services in packet switched data transmission service
+(port access) provided by a PSPDN**
+
+| Type of service | User classes of service | |
+|-----------------------------------|----------------------------|----|
+| | 20-26 (start-stop mode) | 29 |
+| Virtual call service | E | E |
+| Permanent virtual circuit service | FS | FS |
+
+**Table 5/X.2 – Facilities of packet switched data transmission service
+(port access) provided by a PSPDN**
+
+| Optional user facility | User classes of service (Note 1) | | | |
+|----------------------------------------------------------------------------------|----------------------------------|-----|----|-----|
+| | 20-26 (start-stop mode) | | 29 | |
+| | VC | PVC | VC | PVC |
+| 1 Optional user facilities assigned for an agreed contractual period | | | | |
+| 1.1 On-line facility registration | FS | – | – | – |
+| 1.2 D-bit modification | FS | – | FS | – |
+| 1.3 Incoming calls barred | A | – | A | – |
+| 1.4 Outgoing calls barred | A | – | A | – |
+| 1.5 Nonstandard default packet sizes (16, 32, 64, 256, 512, 1024, 2048, 4096) | FS | FS | A | FS |
+| 1.6 Default throughput classes assignment | FS | FS | FS | – |
+| 1.7 Flow control parameter negotiation | FS | – | FS | – |
+| 1.8 Basic throughput class negotiation | FS | – | FS | – |
+| 1.9 Extended throughput class negotiation | FS | – | FS | – |
+| 1.10 Closed user group | A | – | A | – |
+| 1.11 Closed user group with outgoing access | A | – | A | – |
+| 1.12 Closed user group with incoming access | A | – | A | – |
+| 1.13 Incoming calls barred within a closed user group | A | – | A | – |
+| 1.14 Outgoing calls barred within a closed user group | A | – | A | – |
+| 1.15 Bilateral closed user group | A | – | A | – |
+| 1.16 Bilateral closed user group with outgoing access | A | – | A | – |
+| 1.17 Fast select acceptance | A | – | – | – |
+| 1.18 Reverse charging acceptance | A | – | A | – |
+| 1.19 Local charging prevention | FS | – | FS | – |
+| 1.20 NUI subscription | A | – | A | – |
+| 1.21 Charging information | A | – | A | – |
+| 1.22 ROA subscription | A | – | A | – |
+| 1.23 Hunt group | A | – | A | – |
+
+**Table 5/X.2 (end)**
+
+| Optional user facility | | User classes of service (Note 1) | | | | | | | | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------|-----|------------|-----|--|--|--|--|--|
+| | | 20-26 (start-stop mode) | | 29 | | | | | | |
+| | | VC | PVC | VC | PVC | | | | | |
+| 1.24 | Call redirection | FS | – | FS | – | | | | | |
+| 1.25 | TOA/NPI address subscription | A (Note 2) | – | A (Note 2) | – | | | | | |
+| 1.26 | Direct call | A | – | A | – | | | | | |
+| 1.27 | Internetwork call redirection/deflection prevention subscription | FS | – | FS | – | | | | | |
+| 2 | Optional user facilities on a per-call basis | | | | | | | | | |
+| 2.1 | Closed user group selection | C1 | – | C1 | – | | | | | |
+| 2.2 | Closed user group with outgoing access selection | C2 | – | C2 | – | | | | | |
+| 2.3 | Bilateral closed user group selection | FS | – | FS | – | | | | | |
+| 2.4 | Reverse charging | A | – | A | – | | | | | |
+| 2.5 | Fast select | A | – | – | – | | | | | |
+| 2.6 | NUI selection | C3 | – | C3 | – | | | | | |
+| 2.7 | Charging information | A | – | – | – | | | | | |
+| 2.8 | ROA selection | A | – | A | – | | | | | |
+| 2.9 | Call redirection or call deflection notification | FS | – | – | – | | | | | |
+| 2.10 | Called line address modified notification | A | – | – | – | | | | | |
+| 2.11 | Transit delay selection and indication | – | – | FS | – | | | | | |
+| 2.12 | Abbreviated address calling | A | – | A | – | | | | | |
+| VC | Applicable when the virtual call service is being used | | | | | | | | | |
+| PVC | Applicable when the permanent virtual circuit service is being used | | | | | | | | | |
+| C1 | If (Closed user group is offered), then M; otherwise prohibited | | | | | | | | | |
+| C2 | If [(Closed user group with outgoing access or Closed user group with incoming access is offered) and (the network offers the capability of choosing whether to have a preferential CUG)] then M; otherwise prohibited | | | | | | | | | |
+| C3 | If (NUI subscription or NUI override is offered), then M; otherwise prohibited | | | | | | | | | |
+| NOTE 1 – The use of a PAD function is assumed for virtual call service (see Recommendations X.3, X.5 and X.8). Its applicability for permanent virtual circuit service is for further study. | | | | | | | | | | |
+| NOTE 2 – See Note 3 to Table 3. | | | | | | | | | | |
+
+#### 3.3 Port access to a packet switched data transmission service (user classes of service 8-12, 26 and 30)
+
+##### 3.3.1 DTE services and identification methods
+
+Table 6 indicates the *DTE services* and the relative *identification methods* which should be made available on an international basis with classes 8-12, 26 and 30 of the packet switched data transmission service when the service is accessed via an intermediate switched network, and those which may be available in certain data networks and may also be available internationally in case of a port access to a packet switched data transmission service.
+
+Permanent virtual circuits are not provided in the scope of 3.3.
+
+The detailed definitions of the DTE services and the identification methods are contained in Recommendation X.32.
+
+**Table 6/X.2 – DTE services and identification methods**
+
+| DTE services | | User classes of service 8-12, 26 (synchronous mode) and 30 | DTE identification | | | | DCE identification | | | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|------------------------------------------------------------|--------------------|-----|------------|-----|--------------------|-----|-----|---|
+| | | | NO | PSN | XID | NUI | NO | PSN | XID | |
+| 1 | Non-identified (dial-in-by-the-DTE) | A/E (Note 1) | X (Note 1) | | | | X | | X | |
+| 2 | Non-identified (dial-out-by-the-PSPDN) | A | X | | | | X | X | X | |
+| 3 | Identified | Dial-in-by-the-DTE | A/E (Note 1) | | X (Note 1) | X | X | X | | X |
+| | | Dial-out-by-the-PSPDN | | | X | | | X | | |
+| 4 | Customized (Note 2) | Dial-in-by-the-DTE | A | | X | X | | X | | X |
+| | | Dial-out-by-the-PSPDN | | | X | X | | X | X | X |
+| NO No identification
PSN Identification provided by Public Switched Network
XID Identification provided by means of the data link layer XID procedure
NUI Identification provided by means of the NUI selection facility
PSPDN Packet Switched Public Data Network
X DTE or DCE identification method which can be provided by the network when it provides the corresponding DTE service
NOTE 1 – An Administration providing a port access to a packet switched data transmission service for classes of service 8-12, 26 and 30 should provide at least the non-identified DTE service (dial-in-by-the-DTE) with no DTE identification method or the identified DTE service (dial-in-by-the-DTE) with the provided-by-PSN DTE identification method.
NOTE 2 – The customized DTE service is one DTE service for which dial-out-by-the-PSPDN may be provided or not. However, the possible identification methods are different for dial-in-by-the-DTE and dial-out-by-the-PSPDN.
| | | | | | | | | | |
+
+##### 3.3.2 Facilities
+
+For the *non-identified (dial-in-by-the-DTE)*, the *non-identified (dial-out-by-the-PSPDN)*, and the *identified DTE services*, the optional user facilities provided at the DTE/DCE interface are default values specified in Recommendation X.32.
+
+For the *customized DTE service*, the optional user facilities which should be made available internationally, and those which may be available on certain data networks and may also be available internationally are indicated in Table 7.
+
+#### 3.4 Additional capabilities provided by multicast service
+
+Additional capabilities provided by multicast services are defined in Recommendation X.6, X.48 and X.49. Optional user facilities are mainly the same as in Table 3. Some facilities may have another role (see Table 8).
+
+**Table 7/X.2 – Facilities of packets switched data transmission service for customized DTE service**
+
+| Optional user facility | | User classes of service 8-12, 26 (synchronous mode) and 30 |
+|------------------------|----------------------------------------------------------------------------|---------------------------------------------------------------|
+| 1 | Optional user facilities assigned for an agreed contractual period | |
+| 1.1 | Extended frame sequence numbering (modulo 128) | C1 |
+| 1.2 | Multilink procedure | FS |
+| 1.3 | Extended packet sequence numbering (modulo 128) | A (Note 1) |
+| 1.4 | D-bit modification | A |
+| 1.5 | Packet retransmission | A |
+| 1.6 | Incoming calls barred | E |
+| 1.7 | Outgoing calls barred | E |
+| 1.8 | One-way logical channel outgoing | E |
+| 1.9 | One-way logical channel incoming | A |
+| 1.10 | Non-standard default packet sizes (16, 32, 64, 256, 512, 1024, 2048, 4096) | C1 |
+| 1.11 | Non-standard default window sizes | A (Note 1) |
+| 1.12 | Default throughput classes assignment | A |
+| 1.13 | Flow control parameter negotiation | E |
+| 1.14 | Basic throughput class negotiation | E |
+| 1.15 | Extended throughput class negotiation | A |
+| 1.16 | Closed user group | E |
+| 1.17 | Closed user group with outgoing access | A |
+| 1.18 | Closed user group with incoming access | A |
+| 1.19 | Incoming calls barred within a closed user group | A |
+| 1.20 | Outgoing calls barred within a closed user group | A |
+| 1.21 | Bilateral closed user group | A |
+| 1.22 | Bilateral closed user group with outgoing access | A |
+| 1.23 | Fast select acceptance | E |
+| 1.24 | Reverse charging acceptance | A |
+| 1.25 | Local charging prevention | A |
+| 1.26 | NUI subscription | A |
+| 1.27 | NUI override | A |
+| 1.28 | Charging information | A |
+| 1.29 | ROA subscription | A |
+| 1.30 | Hunt group | A |
+| 1.31 | Call redirection | A |
+| 1.32 | Call deflection subscription | A |
+| 1.33 | TOA/NPI address subscription | A (Note 2) |
+| 1.34 | Direct call | FS |
+| 1.35 | Internetwork call redirection/deflection prevention subscription | A |
+| 1.36 | Global alternative address registration | A |
+| 1.37 | Interface specific alternative address registration | C2 |
+| 1.38 | Alternative address usage subscription | A |
+
+Table 7/X.2 (*end*)
+
+| Optional user facility | | User classes of service 8-12, 26 (synchronous mode) and 30 |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|
+| 2 | Optional user facilities on a per-call basis | |
+| 2.1 | Flow control parameter negotiation | E |
+| 2.2 | Basic throughput class negotiation | E |
+| 2.3 | Extended throughput class negotiation | C3 |
+| 2.4 | Closed user group selection | E |
+| 2.5 | Closed user group with outgoing access selection | C4 |
+| 2.6 | Bilateral closed user group selection | C5 |
+| 2.7 | Reverse charging | A |
+| 2.8 | Fast select | E |
+| 2.9 | NUI selection | C6 |
+| 2.10 | Charging information | A |
+| 2.11 | ROA selection | A |
+| 2.12 | Call deflection selection | C7 |
+| 2.13 | Call redirection or call deflection notification | C8 |
+| 2.14 | Called line address modified notification | E |
+| 2.15 | Transit delay selection and indication | E |
+| 2.16 | Internetwork call redirection/deflection status selection | A |
+| 2.17 | Alternative address selection | C9 |
+| 3 | X.32 optional user facilities | |
+| 3.1 | Secure dial-back | A |
+| C1 | The relationship among several parameters to be used for efficient line utilization is expressed as:
$R * D/8 \leq k * N1 \quad (1)$ where: R is transmission rate (bit/s); D is total round trip delay (seconds); k is Layer 2 window size; and N1 is frame size (octets).
If a combination of variables k and N1 do not satisfy equation (1), then k, N1, or both should be increased. If [the values of k and/or N1 which satisfy the equation (1) are such that Extended Frame Sequence Numbering and/or Non-standard Default Packet Size (which, in turn, influences N1) are required], then one or both of these facilities are M; otherwise they are A
| |
+| C2 | If (Alternative address usage subscription is offered), then M; otherwise prohibited | |
+| C3 | If (Extended throughput class negotiation for a contractual period is offered), then M; otherwise prohibited | |
+| C4 | If [(Closed user group with outgoing access or Closed user group with incoming access is offered) and (the network offers the capability of choosing whether to have a preferential CUG)] then M; otherwise prohibited | |
+| C5 | If (Bilateral closed user group or Bilateral closed user group with outgoing access is offered), then M; otherwise prohibited | |
+| C6 | If (NUI subscription or NUI override is offered), then M; otherwise prohibited | |
+| C7 | If (Call deflection subscription is offered), then M; otherwise prohibited | |
+| C8 | If (Call redirection or Call deflection is offered), then M; otherwise A | |
+| C9 | If (Alternative address usage subscription is offered), then M; otherwise prohibited | |
+| NOTE 1 – The relationship among parameters in Layer 3 for a single virtual circuit is similar to that given in equation (1) under condition C1. When a packet window size larger than 2 is needed to fully utilize a virtual circuit, then the non-standard default window size facility is required. If this window size is also larger than 7, then the extended packet sequence numbering facility is also required. The precise relationships for single and multiple logical channel cases are for further study.
NOTE 2 – See Note 3 to Table 3.
| | |
+
+**Table 8/X.2 – X.25 optional user facilities which have a different role in multicast service**
+
+| Facility | Role in multicast service |
+|-------------------------------------------------|-----------------------------------------------------------|
+| D-bit modification | Not allowed |
+| Non-standard default packet sizes | Must be the same for all participants in a multicast call |
+| Default throughput class negotiation | For further study |
+| Flow control parameter negotiation | For further study |
+| Throughput class negotiation | For further study |
+| Closed User Group (CUG) related facilities | For further study |
+| Bilateral CUG facilities | For further study |
+| Fast select | For further study |
+| Reverse charging | For further study |
+| Local charging prevention | For further study |
+| Network User Identification (NUI) facilities | For further study |
+| Charging information | For further study |
+| ROA related facilities | For further study |
+| Call redirection and Call deflection facilities | Not allowed |
+| Called line address modification notification | Does not apply |
+| Transit delay selection and indication | For further study |
+
+### **4 Frame relay data transmission service**
+
+#### **4.1 Direct access to a frame relay data transmission service**
+
+Tables 9 and 10 indicate the services and the optional user facilities, respectively, which should be made available on an international basis in the frame relay data transmission service, and those which may be available on certain data networks and may also be available internationally in case of a direct access to a frame relay data transmission service.
+
+**Table 9/X.2 – Services in frame relay data transmission service (direct access)**
+
+| Type of service | User classes of service 30-33, 35, 37, 45, 53, 59, 60 | User classes of service 34, 36, 38-44, 46-52, 54-58, 61 |
+|-----------------------------------------|------------------------------------------------------------------|--------------------------------------------------------------------|
+| Switched Virtual Circuit (SVC) service | A | A |
+| Permanent Virtual Circuit (PVC) service | E | A |
+
+#### **4.2 Port access to a frame relay data transmission service**
+
+For further study.
+
+### **5 Leased circuit data transmission service**
+
+Table 11 indicates the optional user facilities which should be made available on an international basis with the leased circuit data transmission services and those which may be available in certain data networks and may also be available internationally.
+
+**Table 10/X.2 – Facilities of frame relay data transmission service (direct access)**
+
+| Optional user facility | | User classes of service 30-61 | |
+|-------------------------------------------------------------------|-------------------------------------------------------------------|-------------------------------|-----|
+| | | SVC | PVC |
+| 1 | Optional user facilities assigned for a contractual period | | |
+| 1.1 | Committed burst size | E | E |
+| 1.2 | Excess burst size | E | E |
+| 1.3 | Committed information rate | E | E |
+| 1.4 | Extended address field | A | A |
+| 1.5 | Incoming calls barred | FS | – |
+| 1.6 | Outgoing calls barred | FS | – |
+| 1.7 | Closed user group | | |
+| 1.7.1 | Simple closed user group subscription | E | – |
+| 1.7.2 | Simple closed user group with outgoing access | A | – |
+| 1.7.3 | Simple closed user group with incoming access | A | – |
+| 1.7.4 | Closed user group selection subscription | E | – |
+| 1.7.5 | Closed user group selection with outgoing access subscription | A | – |
+| 1.7.6 | Closed user group selection with incoming access subscription | A | – |
+| 1.8 | Reverse charging prevention | A | – |
+| 1.9 | Charging information | FS | – |
+| 1.10 | Call redirection | FS | – |
+| 1.11 | Direct call | FS | – |
+| 1.12 | Internetwork call redirection/deflection prevention | FS | – |
+| 1.13 | Frame relay service class | A | A |
+| 1.14 | Frame transfer priority | A | A |
+| 1.15 | Frame discard priority | A | A |
+| 2 | Optional user facilities on per-call basis | | |
+| 2.1 | Maximum frame relay information field negotiation | E | – |
+| 2.2 | Committed burst size negotiation | E | – |
+| 2.3 | Excess burst size negotiation | E | – |
+| 2.4 | Committed information rate negotiation | E | – |
+| 2.5 | Closed user group selection | E | – |
+| 2.6 | Closed user group with outgoing access selection | A | – |
+| 2.7 | Reverse charging | A | – |
+| 2.8 | Charging information | FS | – |
+| 2.9 | Call redirection or call deflection notification | FS | – |
+| 2.10 | Transit network selection | A | – |
+| 2.11 | Frame relay service selection | A | – |
+| 2.12 | Frame transfer priority selection | A | – |
+| 2.13 | Frame discard priority selection | A | – |
+| 2.14 | Transmit window size selection | A | – |
+| 2.15 | Retransmission timer selection | A | – |
+| 2.16 | Extended mode (modulo 128) selection | A | – |
+| SVC Applicable when the switched virtual circuits are being used | | | |
+| PVC Applicable when the permanent virtual circuits are being used | | | |
+
+**Table 11/X.2 – Facilities of leased circuit data transmission service**
+
+| Optional user facility | | User classes of service |
+|------------------------|--------------------------|---------------------------------------|
+| | | 1-7, 14-19, 31-33, 35, 37, 45, 53, 59 |
+| 1 | Centralized multipoint | A |
+| 2 | Decentralized multipoint | A |
+| 3 | Broadcasting multipoint | A |
+
+### Appendix I
+
+#### Coding of optional user facilities
+
+Recommendation X.25 uses facility codes in the facility field of call set-up and clearing packets, and registration codes in the registration field of registration packets. Recommendation X.32 uses X.32 identification protocol elements in the user data field of the XID frames. Recommendation X.75 uses utility codes in the utility field of call set-up and clearing packets.
+
+The principles for the encoding of these codes (i.e. class A, B, C or D, depending on the length of the parameter following the code) are described in Recommendations X.25 and X.75.
+
+As far as possible, the same code is used in several contexts only when it has an equivalent semantic. However, due to historical reasons, this is not always the case.
+
+Table I.1 gives the list of the various codes used in these Recommendations.
+
+**Table I.1/X.2 – Coding of the facility, registration, protocol element and utility codes**
+
+| Code bits 8 7 6 5 4 3 2 1 | X.25 fac | X.25 dte | X.25 reg | X.32 | X.75 | |
+|------------------------------|-------------|-------------|-------------|------|------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Class A | | | | | | |
+| 0 0 0 0 0 0 0 0 | X | X | X | X | X | Marker |
+| 0 0 0 0 0 0 0 1 | X | | | | X | Fast select and/or reverse charging and/or internetwork call redirection/deflection status selection Fast select and/or reverse charging indication |
+| 0 0 0 0 0 0 1 0 | X | | X | | X | Basic throughput class negotiation Default throughput classes assignment (basic format) Basic throughput class indication |
+| 0 0 0 0 0 0 1 1 | X | | | | X | Closed user group selection (basic format) Traffic class indication |
+| 0 0 0 0 0 1 0 0 | X | | | | | Charging information (requesting service) |
+| 0 0 0 0 0 1 0 1 | | | X | | | Facilities that may be negotiated only when all logical channels used for virtual calls are in state p1 |
+| 0 0 0 0 0 1 1 0 | | | X | | | Non-negotiable facilities values |
+| 0 0 0 0 0 1 1 1 | | | | X | X | Diagnostic element Tariffs |
+
+**Table I.1/X.2 (continued)**
+
+| Code bits 8 7 6 5 4 3 2 1 | X.25 fac | X.25 dte | X.25 reg | X.32 | X.75 | |
+|------------------------------------------|-------------|-------------|-------------|------|------|------------------------------------------------------------------------------------------------------------------------------------------|
+| 0 0 0 0 1 0 0 0 | X | | | | X | Called line address modified notification |
+| 0 0 0 0 1 0 0 1 | X | | | | | Closed user group with outgoing access selection (basic format) |
+| 0 0 0 0 1 0 1 0 | | X | | | | Quality of Service negotiation: minimum throughput class (basic format) |
+| 0 0 0 0 1 0 1 1 | | X | | | | Expedited data negotiation |
+| 0 0 0 0 1 1 0 0 to 0 0 1 1 1 1 1 1 | | | | | | Unused |
+| Class B | | | | | | |
+| 0 1 0 0 0 0 0 0 | | | | | | Unused |
+| 0 1 0 0 0 0 0 1 | X | | | | X | Bilateral closed user group selection Transit network identification |
+| 0 1 0 0 0 0 1 0 | X | | X | | X | Flow control parameter negotiation (packet size) Non-standard default packet sizes Packet size indication |
+| 0 1 0 0 0 0 1 1 | X | | X | | X | Flow control parameter negotiation (window size) Non-standard default window sizes Window size indication |
+| 0 1 0 0 0 1 0 0 | X | | | | X | ROA selection (basic format) ROA selection |
+| 0 1 0 0 0 1 0 1 | | | X | | | Facilities that may be negotiated at any time |
+| 0 1 0 0 0 1 1 0 | | | X | | | Availability of facilities |
+| 0 1 0 0 0 1 1 1 | X | | | | | Closed user group selection (extended format) |
+| 0 1 0 0 1 0 0 0 | X | | | | | Closed user group with outgoing access selection (extended format) |
+| 0 1 0 0 1 0 0 1 | X | | | | X | Transit delay selection and indication Transit delay indication |
+| 0 1 0 0 1 0 1 0 | | | | | X | Clearing network identification code |
+| 0 1 0 0 1 0 1 1 | | | | | X | Transit delay selection |
+| 0 1 0 0 1 1 0 0 | X | | X | | X | Extended throughput class negotiation Default throughput classes assignment (extended format) Extended throughput class indication |
+| 0 1 0 0 1 1 0 1 | | X | | | | Quality of Service negotiation: minimum throughput class (extended format) |
+| 0 1 0 0 1 1 1 0 to 0 1 0 1 1 1 1 1 | | | | | | Unused |
+| 0 1 1 0 0 0 0 0 | | | | | | Reference number (Note) |
+| 0 1 1 0 0 0 0 1 to 0 1 1 1 1 1 1 1 | | | | | | Unused |
+
+**Table I.1/X.2 (continued)**
+
+| Code bits 8 7 6 5 4 3 2 1 | X.25 fac | X.25 dte | X.25 reg | X.32 | X.75 | |
+|------------------------------------------|-------------|-------------|-------------|------|------|----------------------------------------------------------------------------------|
+| Class C | | | | | | |
+| 1 0 0 0 0 0 0 0 | | | | | | Unused |
+| 1 0 0 0 0 0 0 1 | | | | | X | Call identifier |
+| 1 0 0 0 0 0 1 0 to 1 0 1 1 1 1 1 1 | | | | | | Unused |
+| Class D | | | | | | |
+| 1 1 0 0 0 0 0 0 | | | | | | Unused |
+| 1 1 0 0 0 0 0 1 | X | | | | | Charging information (call duration) |
+| 1 1 0 0 0 0 1 0 | X | | | | | Charging information (segment count) |
+| 1 1 0 0 0 0 1 1 | X | | | | X | Call redirection or call deflection notification Closed user group indication |
+| 1 1 0 0 0 1 0 0 | X | | | | | ROA selection (extended format) |
+| 1 1 0 0 0 1 0 1 | X | | | | | Charging information (monetary unit) |
+| 1 1 0 0 0 1 1 0 | X | | | | X | NUI selection NUI |
+| 1 1 0 0 0 1 1 1 | | | | | X | Closed user group with outgoing access indication |
+| 1 1 0 0 1 0 0 0 | | | X | | | Logical channel types ranges |
+| 1 1 0 0 1 0 0 1 | | X | | | | Called address extension |
+| 1 1 0 0 1 0 1 0 | | X | | | | Quality of Service negotiation: end-to-end transit delay |
+| 1 1 0 0 1 0 1 1 | | X | | | | Calling address extension |
+| 1 1 0 0 1 1 0 0 | | | | X | | Identity element |
+| 1 1 0 0 1 1 0 1 | | | | X | | Signature element |
+| 1 1 0 0 1 1 1 0 | | | | X | | Random number element |
+| 1 1 0 0 1 1 1 1 | | | | X | | Signed response element |
+| 1 1 0 1 0 0 0 0 | | | | | | Unused |
+| 1 1 0 1 0 0 0 1 | X | | | | X | Call deflection selection Call redirection or call deflection selection |
+| 1 1 0 1 0 0 1 0 | | X | | | | Quality of Service negotiation: priority |
+| 1 1 0 1 0 0 1 1 | | X | | | | Quality of Service negotiation: protection |
+| 1 1 0 1 0 1 0 0 | | | | | X | Call redirection or call deflection notification |
+| 1 1 0 1 0 1 0 1 | X | | | | X | Super-extended window size (modulo 32768) |
+| 1 1 0 1 0 1 1 0 to 1 1 1 1 1 1 1 0 | | | | | | Unused |
+| 1 1 1 1 1 1 1 1 | X | X | X | X | X | Reserved for extension |
+
+**Table I.1/X.2 (end)**
+
+| | |
+|-------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
+| X.25 fac | Code used in the facility field of X.25 call set-up and/or clearing packets for X.25 facilities |
+| X.25 dte | Code used in the facility field of X.25 call set-up and/or clearing packets for defined DTE facilities |
+| X.25 reg | Code used in the registration field of registration packets |
+| X.32 | Code defined in Recommendation X.32 and used in the user data field of the XID frames |
+| X.75 | Code defined in Recommendation X.75 and used in the utility field of the call set-up and/or clearing packets |
+| NOTE – This value is reserved for ISO/IEC 8208. | |
+
+### **Appendix II**
+
+#### **Relationship of ISDN (I.250-Series Recommendations) Supplementary Services and X.2 Optional User Facilities**
+
+#### **II.1 Introduction**
+
+A study of the relationship between ISDN Supplementary Services and X.2 Optional User Facilities has been performed. This appendix reflects the preliminary results of the study.
+
+In Recommendation X.31, two methods for accessing packet switched data transmission services via ISDN are defined: Case A and Case B. In both cases, two connection types are available: on-demand and semi-permanent connection. For all the cases three kinds of relationship between ISDN Supplementary Services and X.2 Optional User Facilities are identified:
+
+- 1) they operate independently;
+- 2) there is a minimum relationship between them;
+- 3) there is a maximum relationship which implies that alignment between ISDN Supplementary Services and X.2 Optional User Facilities is desirable.
+
+The situations will be described in the following three subclauses. In II.4, a methodology for the alignment of ISDN Supplementary Services and X.2 Optional User Facilities is given. This appendix concludes with a table which gives a summary of the situation.
+
+#### **II.2 Independent operation**
+
+This situation refers to the on-demand X.31 Case A. From the point of view of an X.25 DTE connected to an ISDN, two sets of additional capabilities need to be considered. The availability of two sets of additional capabilities is similar to existing capabilities in public data networks where a circuit switched network, instead of an ISDN, can be used to access a PSPDN. This creates what might be viewed as "two-stage" enhancement to the basic X.25 virtual circuit service. This means that ISDN Supplementary Services as well as X.2 Optional User Facilities can operate independently, but may have impact on each other (e.g. Closed User Group in ISDN for CMBS and X.2 Closed User Group).
+
+The ISDN Supplementary Services which require no signalling can also be used independently for on-demand Cases A and B, because no signalling is needed to activate these kinds of ISDN Supplementary Services.
+
+#### **II.3 Minimum relationship**
+
+This situation refers to the on-demand Case B and semi-permanent Cases A and B, whereby the set of ISDN Supplementary Services that need signalling does not apply. The reason is that there is no mechanism for signalling an ISDN Supplementary Service in all three cases. On the other hand, the X.2 Optional User Facilities are applicable to the above three cases.
+
+#### **II.4 Maximum relationship**
+
+This situation refers to the on-demand Case B, whereby alignment between ISDN Supplementary Services and X.2 Optional User Facilities is desirable.
+
+From the point of view of an integrated ISDN voice/data terminal, it would be desirable that the "Supplementary Services" available on an end-to-end basis for voice and data be the same, to the extent that it makes sense. For example, Closed User Group should operate the same way for voice and data; on the other hand, there is no need to introduce an ISDN Supplementary Service for non-standard Default Packet Size for circuit-switched voice since this makes no sense. In a similar fashion, one may not need to introduce an X.2 Optional User Facility equivalent to Calling Line Identification Presentation since this is the normal mode of operation for packet mode calls.
+
+The above implies that one should try to make X.2 Optional User Facilities for X.31 packet mode data calls and ISDN Supplementary Services for non-data calls operate identically, where both already exist and it makes sense to do so. Where a capability was lacking in either ISDN Supplementary Services or X.2 Optional User Facilities, it may be necessary to add a new capability to the appropriate Recommendations.
+
+A methodology to achieve the alignment is given as follows:
+
+- 1) For each X.2 Optional User Facility, identify if a similar ISDN Supplementary Service exists.
+ - In case of no similarity, a new ISDN Supplementary Service is defined if the service is feasible.
+ - In case of similarity, identify if the services provided are equivalent.
+ - If they are equivalent, no changes are made to the X.2 Optional User Facility or the ISDN Supplementary Service.
+ - In case they are not equivalent, the alignment procedure outlined below is followed.
+- 2) For each ISDN Supplementary Service not covered by step 1), repeat the above procedure in step 1) for similarity with an X.2 Optional User Facility.
+- 3) Alignment Procedure:
+ - a) Identify the common part in the definition of an ISDN Supplementary Service and an X.2 Optional User Facility.
+ - b) If an ISDN Supplementary Service has more options compared to an X.2 Optional User Facility, an attempt is made to include these options into the X.2 Optional User Facility. These options are then added to the common part of the definition. The options which cannot be adapted will apply only to circuit mode calls.
+ - c) If an X.2 Optional User Facility has more options compared to an ISDN Supplementary Service, an attempt is made to include these options into the ISDN Supplementary Service. These options are then added to the common part of the definition. The options which cannot be adapted will apply only to packet mode calls.
+
+The above method is illustrated in the following diagram:
+
+
+
+The diagram shows a vertical stack of five components on the left, representing the ISDN supplementary services and X.2 optional user facilities. From top to bottom, these are: 'Circuit mode specific part', 'Adapted common part from X.2 optional user facilities', 'Initial common part', 'Adapted common part from ISDN supplementary services', and 'Packet mode specific part'. To the right of this stack are two boxes: 'Circuit mode calls' at the top and 'Packet mode calls' at the bottom. Arrows indicate the flow of information: an arrow from the 'Circuit mode specific part' points to 'Circuit mode calls'; an arrow from the 'Packet mode specific part' points to 'Packet mode calls'; and a large bracket on the right side of the stack groups the three middle components ('Adapted common part from X.2 optional user facilities', 'Initial common part', and 'Adapted common part from ISDN supplementary services') and points to both 'Circuit mode calls' and 'Packet mode calls'. The reference 'T0716360-93/d01' is located at the bottom right of the diagram.
+
+Diagram illustrating the mapping of ISDN supplementary services and X.2 optional user facilities to circuit and packet mode calls.
+
+A first attempt to apply this algorithm for alignment is given in Table II.1.
+
+**Table II.1/X.2 – Comparison of ISDN supplementary services and X.2 optional user facility**
+
+| ISDN supplementary services for non-data calls | Similar X.2 optional user facilities on data calls | Comments |
+|--------------------------------------------------------------------------------------------|------------------------------------------------------------|------------------------------------------------------------------------------------------|
+| Advice of Charge – at the end of the call – during the call – at call set-up time | Charging Information – at the end of the call – – | |
+| Conference Call | Multicast Service | |
+| Completion of Calls to Busy Subscriber | – | |
+| Credit Call Calling | – | |
+| Call Forwarding busy Call Forwarding Unconditional Call Forwarding No Reply | Call Redirection (Busy) Call Redirection (Systematic) | The definition of both services (Call Forwarding and Call Redirection) are not identical |
+| Calling Line Identification Presentation | – | Default in Rec. X.25 |
+| Calling Line Identification Restriction | – | May be useful in Rec. X.25 |
+| Connected Line Identification Presentation | – | Default in Rec. X.25 |
+| Connected Line Identification Restriction | – | May be useful in Rec. X.25 |
+| Call Deflection | Call Deflection | |
+| Call Waiting | – | |
+
+**Table II.1/X.2 (end)**
+
+| ISDN supplementary services for non-data calls | Similar X.2 optional user facilities on data calls | Comments |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|
+| Direct-Dialling-In | – | Default in Rec. X.25 |
+| Line Hunting | Hunt Group | |
+| Multiple Subscriber Number | – | A part of basic service in many networks |
+| Three-Party Service | Multicast Service | |
+| User-to-User Signalling • Service 1: during set-up and clearing phases within call control messages • Service 2: during set-up phase of call, independently of call control messages • Service 3: during the active phase of a call | Fast Select • during set-up and clearing phases of virtual calls • fast Select with restricted response • by using Q-bit in data packet | |
+| Reverse Charging | Reverse Charging | |
+| – | Incoming Calls Barred | May be useful for non-data calls |
+| – | Outgoing Calls Barred | May be useful for non-data calls |
+| Sub-addressing | Address Extension Facility | |
+| – | Local Charging Prevention | May be useful for non-data calls |
+| – | Recognized Operating Agencies (ROA) related facilities | May be useful for non-data calls |
+| – | Called Line Address Modified Notification | May be useful for non-data calls |
+| – | Transit delay selection and indication | May be useful for non-data calls |
+| – | Alternative addressing | May be useful for non-data calls |
+| – | Internetwork call redirection Prevention Control | May be useful for non-data calls |
+
+#### II.5 Summary
+
+Table II.2 summarizes all the situations.
+
+Table II.2/X.2 – Overview of the relationship of ISDN Supplementary Services and X.2 Optional User Facilities
+
+| Configuration | ISDN bearer service | ISDN Connection type | Applicability of: | | | Relationship of: ISDN SS and X.2 | | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------|-----------------------------------------------------------------------------------------------------------------------------|-----------------------------|-------------------------------|-------------------------------|-------------------------------------|-----------------------|-----------------------|
+| | | | ISDN SS | | X.2 OUF | | | |
+| | | | With signalling | Without signalling | Independent | Minimum | Maximum | |
+| 1) Two ISDN non-data terminals | CMBS | On-demand B-channel Semi-permanent B-channel | Yes No | Yes No | No No | – – | – – | – – |
+| 2) Two ISDN data terminals | CMBS | On-demand B-channel Semi-permanent B-channel | Yes No | Yes No | No No | – – | – – | – – |
+| 3) X.25 DTE accessing PSPDN through ISDN (Rec. X.31 Case A) | CMBS | On-demand B-channel Semi-permanent B-channel | Yes No | Yes No | Yes Yes | X – | – X | – – |
+| 4) X.25 DTE accessing ISDN packet switched data transmission service (Rec. X.31 Case B) | PMBS | On-demand B-channel Semi-permanent B-channel (On-demand) D-channel | No No No | Yes No Yes | Yes Yes Yes | X (Note) – X (Note) | X X X | – – – |
+| 5) Integrated ISDN voice/data terminal accessing circuit/packet mode (Rec. X.31 Case B) service | Voice: CMBS Data: PMBS | On-demand B-channel Semi-permanent B-channel On-demand B-channel Semi-permanent B-channel (On-demand) D-channel | Yes No No No No | Yes No Yes No Yes | No No Yes Yes Yes | – – X (Note) – X (Note) | – – – – – | – – X X X |
+| – Not applicable X Applicable SS Supplementary Service NOTE – The independent case is valid for the case when ISDN Supplementary Services for addressing purposes are used. | | | | | | | | |
+| | | | OUF | Optional User Facility | | | | |
+| | | | CMBS | Circuit Mode Bearer Services | | | | |
+| | | | PMBS | Packet Mode Bearer Services | | | | |
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/01e00200a536673d6cd0e6d8705047a0_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/01e00200a536673d6cd0e6d8705047a0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..29234a5edb9d817f30cfcb63a23b3be38e6c49ea
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/01e00200a536673d6cd0e6d8705047a0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2278a215bfc6d018ef567f9c26869450062080c6c4bfebdaa8c5a6f10bb5b224
+size 18720
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/042733dc5e8e7f5f30b60adba3266cde_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/042733dc5e8e7f5f30b60adba3266cde_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d590adf106943e7d7bc7bc88c25a3e5cced413a0
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/042733dc5e8e7f5f30b60adba3266cde_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:41b97f7bb8e4a6dcd09a1ef60dda026a2195e1255aae5db71f1db93545b75b14
+size 16181
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/0908107b858fa3783d10d93b3a3444b2_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/0908107b858fa3783d10d93b3a3444b2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0cc3966e567b563967ba9855447ded96a07ad8b4
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/0908107b858fa3783d10d93b3a3444b2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bca0463ef3421075558606d859a87fc0bf08507141485e454e671c2d5541b6e6
+size 30574
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/0997dbaa9dfecedd60029d70b53327b8_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/0997dbaa9dfecedd60029d70b53327b8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..52293f75b7e11c9e63492d0214dfa647479339f7
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/0997dbaa9dfecedd60029d70b53327b8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4d080b0fd9ab31908a58c366407008e356b29b198a03a2f65f171d53f4895390
+size 60146
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/0f1767577a073167eb9628d72034e083_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/0f1767577a073167eb9628d72034e083_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7ba4d1863d8cfdc5005a14a6353b8afbd52c334a
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/0f1767577a073167eb9628d72034e083_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a8e1bf398c2e7e1bdd7ab152619ed3f9beed0162740bea178bb998c20bc710d
+size 24789
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/284768c5ee1a05aa1b9ce396f606a040_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/284768c5ee1a05aa1b9ce396f606a040_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7e2169751f38e15b36971905a4c34a78a5f3a617
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/284768c5ee1a05aa1b9ce396f606a040_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ffadb55eadbc6f5b7a9e343e75244a20285f0de4b2873b910f238d3949f0c9fd
+size 79697
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..61fe6d0660298d41e62184134fb15090e1d58020
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:79357f6f7c2931f3ee9b7cab9e7f4e2ec1b328ada9a573653ab9db7eb16681ed
+size 8370
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/318886a86a1dcc59e1fc83db6f157c60_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/318886a86a1dcc59e1fc83db6f157c60_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ba69b427d9a9da497d1076dda3bebcc264653df9
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/318886a86a1dcc59e1fc83db6f157c60_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:abae6402a71b51cd8e242c225f21a710574e6c2193ac3f5b0bee2e8fda2a4467
+size 53228
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/5414f65867392f05ba0063b208eeb5e1_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/5414f65867392f05ba0063b208eeb5e1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0abac666186816d080f416967b7a6d0efeca084c
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/5414f65867392f05ba0063b208eeb5e1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:63bcc099e9b1ba608a24347ecdefd8fb6ad6f3ffd127c98eca45d6a8fb94a519
+size 72518
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/5b4e774d63e0e0ed73801a9247755e5f_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/5b4e774d63e0e0ed73801a9247755e5f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1d2e49ef96f8335f9227c0522b12258d85d2052e
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/5b4e774d63e0e0ed73801a9247755e5f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fbc39b7d76f3378b6ed09d1dc0345bad7e6b5f6d4f9b79e5c6ecc67911643796
+size 50134
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/83852ec55d4802521a727926336bedab_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/83852ec55d4802521a727926336bedab_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..33b029ae002a0ae7442ca05967de484c59e53b10
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/83852ec55d4802521a727926336bedab_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fafe9a4848ae3508464d6d1f8bbc6ef64688f70084c5b4d43501fbfeb64b49d9
+size 31859
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/94fd137860c16c8dfd75512f10161fe8_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/94fd137860c16c8dfd75512f10161fe8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3c020797b556c22db3984b4bd2fac88ec407eb39
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/94fd137860c16c8dfd75512f10161fe8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0e7dba0d85e8d9af0929a0f7e5cdf2c63ca7b2b06046843814ba95329abffc65
+size 51779
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/b05bae46f7079e5c9b1da38adb2319e8_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/b05bae46f7079e5c9b1da38adb2319e8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a5665338d9c153d750db4f22e5a65eaf8f6c2a47
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/b05bae46f7079e5c9b1da38adb2319e8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:396cced57f776de86b0b219a952cafe57293ef0f6f40d5ac5b7daa1e78f302fa
+size 33534
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..02947e77279f1ffba9da33989ca5bc4927ba4063
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b2ac1f68a0a29edfd3f1190e128aa5de33b95179a93ac1032394d964ced6ec74
+size 62769
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/b898dcb574f08ea237dd3326abecd185_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/b898dcb574f08ea237dd3326abecd185_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..00cc69d649213f870c85b61e7fb6a6c22f3b48f8
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/b898dcb574f08ea237dd3326abecd185_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4aa168f07c6264b20b451683a35e892cbd690b07b0666d49bf7e8e911dcc1133
+size 59053
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/b9ecbc3baefab13719e000faa6e0c7eb_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/b9ecbc3baefab13719e000faa6e0c7eb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..46d20d6c089ba152ebbafc5b7313b3ddd010140a
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/b9ecbc3baefab13719e000faa6e0c7eb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c4bdda58a1bf5d29ca900ef46bbec07de0287aa2f9714db2c11d76219f869e62
+size 23685
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/c9d8a18a6137ad054b841d7a614afb48_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/c9d8a18a6137ad054b841d7a614afb48_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c89a38ffc3b280fee29a4c5cfc9d11272b3bd991
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/c9d8a18a6137ad054b841d7a614afb48_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:be7cb001fa6f061f2752affa28c86726104a025c873c55c586f07773ad5c2922
+size 25830
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d6ad8b0057b4882f6a006dd05705b6045c4fb50d
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/fbfa653853daf5541118a9ddecb92284_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a35cda102d6418fef714a6ced1dc7e8c79eeb72349f4d96dd039bf97cdc2dbf6
+size 17262
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg b/marked/X/T-REC-X.200-199407-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1fb7d17d5de185776894709a19e634d210c6f67b
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f17d264d85a5d8ededc394b82dd49d0c30b7e37d75318227ea5f92097eae3dba
+size 44781
diff --git a/marked/X/T-REC-X.200-199407-I_PDF-E/raw.md b/marked/X/T-REC-X.200-199407-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..4668a15b8dddc80b0c876616afbaff043e813c3b
--- /dev/null
+++ b/marked/X/T-REC-X.200-199407-I_PDF-E/raw.md
@@ -0,0 +1,2551 @@
+
+
+
+
+ITU logo: a globe with the letters ITU and a lightning bolt symbol.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.200
+
+(07/94)
+
+**DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS**
+
+**OPEN SYSTEMS INTERCONNECTION – MODEL
+AND NOTATION**
+
+---
+
+**INFORMATION TECHNOLOGY –
+OPEN SYSTEMS INTERCONNECTION –
+BASIC REFERENCE MODEL:
+THE BASIC MODEL**
+
+**ITU-T Recommendation X.200**
+
+(Previously “CCITT Recommendation”)
+
+---
+
+# Foreword
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. Some 179 member countries, 84 telecom operating entities, 145 scientific and industrial organizations and 38 international organizations participate in ITU-T which is the body which sets world telecommunications standards (Recommendations).
+
+The approval of Recommendations by the Members of ITU-T is covered by the procedure laid down in WTSC Resolution No. 1 (Helsinki, 1993). In addition, the World Telecommunication Standardization Conference (WTSC), which meets every four years, approves Recommendations submitted to it and establishes the study programme for the following period.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC. The text of ITU-T Recommendation X.200 was approved on 1st of July 1994. The identical text is also published as ISO/IEC International Standard 7498-1.
+
+# --- NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+© ITU 1994
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+# CONTENTS
+
+| | Page |
+|------------------------------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 Definitions ..... | 2 |
+| 3 Notation ..... | 2 |
+| 4 Introduction to Open Systems Interconnection (OSI) ..... | 2 |
+| 4.1 Definitions ..... | 2 |
+| 4.2 Open System Interconnection Environment ..... | 3 |
+| 4.3 Modelling the OSI Environment ..... | 4 |
+| 5 Concepts of a layered architecture ..... | 5 |
+| 5.1 Introduction ..... | 5 |
+| 5.2 Principles of layering ..... | 6 |
+| 5.3 Communication between peer-entities ..... | 9 |
+| 5.4 Identifiers ..... | 13 |
+| 5.5 Properties of service-access-points ..... | 14 |
+| 5.6 Data-units ..... | 15 |
+| 5.7 The nature of the (N)-service ..... | 16 |
+| 5.8 Elements of layer operation ..... | 16 |
+| 5.9 Routing ..... | 27 |
+| 5.10 Quality Of Service (QOS) ..... | 27 |
+| 6 Introduction to the specific OSI layers ..... | 28 |
+| 6.1 Specific layers ..... | 28 |
+| 6.2 The principles used to determine the seven layers in the Reference Model ..... | 29 |
+| 6.3 Layer descriptions ..... | 30 |
+| 6.4 Combinations of connection-mode and connectionless-mode ..... | 30 |
+| 6.5 Configurations of OSI Open Systems ..... | 31 |
+| 7 Detailed description of the resulting OSI architecture ..... | 32 |
+| 7.1 Application Layer ..... | 32 |
+| 7.2 Presentation Layer ..... | 33 |
+| 7.3 Session Layer ..... | 34 |
+| 7.4 Transport Layer ..... | 37 |
+| 7.5 Network Layer ..... | 41 |
+| 7.6 Data Link Layer ..... | 46 |
+| 7.7 Physical Layer ..... | 49 |
+| 8 Management aspects of OSI ..... | 52 |
+| 8.1 Definitions ..... | 52 |
+| 8.2 Introduction ..... | 53 |
+| 8.3 Categories of management activities ..... | 53 |
+| 8.4 Principles for positioning management functions ..... | 54 |
+| 9 Compliance and Consistency with this reference model ..... | 54 |
+| 9.1 Definitions ..... | 54 |
+| 9.2 Application of consistency and compliance requirements ..... | 55 |
+| Annex A – Brief explanation of how the layers were chosen ..... | 56 |
+| Annex B – Alphabetical index to definitions ..... | 57 |
+
+# **Summary**
+
+This reference model provides a common basis for the coordination of standards development for the purpose of systems interconnection, while allowing existing standards to be placed into perspective within the overall reference model. It also identifies areas for developing and improving standards and provides a common reference for maintaining consistency among all related standards. The text was developed jointly with ISO/IEC and the main intent of this revision is to introduce the joint text, which incorporates inclusion of the concept of connectionless transmission, in addition to a number of technical and editorial refinements.
+
+## INTERNATIONAL STANDARD
+
+## CCITT RECOMMENDATION
+
+# INFORMATION TECHNOLOGY – OPEN SYSTEMS INTERCONNECTION – BASIC REFERENCE MODEL: THE BASIC MODEL
+
+# 1 Scope
+
+**1.1** The purpose of this Reference Model of Open Systems Interconnection is to provide a common basis for the coordination of standards development for the purpose of systems interconnection, while allowing existing standards to be placed into perspective within the overall Reference Model.
+
+**1.2** The term Open Systems Interconnection (OSI) qualifies standards for the exchange of information among systems that are “open” to one another for this purpose by virtue of their mutual use of the applicable standards.
+
+**1.3** The fact that a system is open does not imply any particular systems implementation, technology or means of interconnection, but refers to the mutual recognition and support of the applicable standards.
+
+**1.4** It is also the purpose of this Reference Model to identify areas for developing or improving standards, and to provide a common reference for maintaining consistency of all related standards. It is not the intent of this Reference Model either to serve as an implementation specification, or to be a basis for appraising the conformance of actual implementations, or to provide a sufficient level of detail to define precisely the services and protocols of the interconnection architecture. Rather, this Reference Model provides a conceptual and functional framework which allows international teams of experts to work productively and independently on the development of standards for each layer of the Reference Model for OSI.
+
+**1.5** The Reference Model has sufficient flexibility to accommodate advances in technology and expansion in user demands. This flexibility is also intended to allow the phased transition from existing implementations to OSI standards.
+
+**1.6** While the scope of the general architectural principles required for OSI is very broad, this Reference Model is primarily concerned with systems comprising terminals, computers, and associated devices and the means for transferring information between such systems. Other aspects of OSI requiring attention are described briefly (see 4.2).
+
+**1.7** The description of the Basic Reference Model of OSI is developed in stages:
+
+**1.8** Clause 4 establishes the reasons for Open Systems Interconnection, defines what is being connected, the scope of the interconnection, and describes the modelling principles used in OSI.
+
+**1.9** Clause 5 describes the general nature of the architecture of the Reference Model; namely that it is layered, what layering means, and the principles used to describe layers.
+
+**1.10** Clause 6 names, and introduces the specific layers of the architecture.
+
+**1.11** Clause 7 provides the description of the specific layers.
+
+**1.12** Clause 8 provides the description of Management Aspects of OSI.
+
+**1.13** Clause 9 specifies compliance and consistency with the OSI Reference Model.
+
+**1.14** An indication of how the layers were chosen is given in Annex A to this Basic Reference Model.
+
+**1.15** Additional aspects of this Reference Model beyond the basic aspects are described in several parts. The first part describes the Basic Reference Model. The second part describes the architecture for OSI Security. The third part describes OSI Naming and Addressing. The fourth describes OSI System Management.
+
+**1.16** The Basic Reference Model serves as a framework for the definition of services and protocols which fit within the boundaries established by the Reference Model.
+
+**1.17** In those few cases where a feature is explicitly marked (optional) in the Basic Reference Model it should remain optional in the corresponding service or protocol (even if at a given instant the two cases of the option are not yet documented).
+
+**1.18** This Reference Model does not specify services and protocols for OSI. It is neither an implementation specification for systems, nor a basis for appraising the conformance of implementations.
+
+**1.19** For standards which meet the OSI requirements, a small number of practical subsets are defined from optional functions, to facilitate implementation and compatibility.
+
+# 2 Definitions
+
+Definitions of terms are included at the beginning of individual clauses and sub-clauses. An index of these terms is provided in Annex B for easy reference.
+
+# 3 Notation
+
+**3.1** Layers are introduced in clause 5. An (N)-, (N+1)- and (N-1)- notation is used to identify and relate adjacent layers:
+
+(N)-layer: any specific layer;
+
+(N+1)-layer: the next higher layer;
+
+(N-1)-layer: the next lower layer.
+
+This notation is also used for other concepts in the model which are related to these layers, for example (N)-protocol, (N+1)-service.
+
+**3.2** Clause 6 introduces names for individual layers. When referring to these layers by name, the (N)-, (N+1)- and (N-1)- prefixes are replaced by the names of the layers, for example transport-protocol, session-entity, and network-service.
+
+# 4 Introduction to Open Systems Interconnection (OSI)
+
+NOTE – The general principles described in clauses 4 and 5 hold for all layers of the Reference Model, unless layer specific statements to the contrary are made in clauses 6 and 7.
+
+## 4.1 Definitions
+
+**4.1.1 real system:** A set of one or more computers, the associated software, peripherals, terminals, human operators, physical processes, information transfer means, etc., that forms an autonomous whole capable of performing information processing and/or information transfer.
+
+**4.1.2 real open system:** A real system which complies with the requirements of OSI standards in its communication with other real systems.
+
+**4.1.3 open system:** The representation within the Reference Model of those aspects of a real open system that are pertinent to OSI.
+
+**4.1.4 application process:** An element within a real open system which performs the information processing for a particular application.
+
+**4.1.5 Open System Interconnection Environment (OSIE):** An abstract representation of the set of concepts, elements, functions, services, protocols, etc., as defined by the OSI Reference Model and the derived specific standards which, when applied, enable communications among open systems.
+
+**4.1.6 Local System Environment (LSE):** An abstract representation of that part of the real system that is not pertinent to OSI.
+
+NOTE – The LSE may include functions necessary for non-OSI communication.
+
+**4.1.7 application-process-invocation:** A specific utilization of part or all of the capabilities of a given application process in support of a specific occasion of information processing.
+
+**4.1.8 application-process-type:** A description of a class of application processes in terms of a set of information processing capabilities.
+
+## 4.2 Open System Interconnection Environment
+
+**4.2.1** In the concept of OSI, a real system is a set of one or more computers, associated software, peripherals, terminals, human operators, physical processes, information transfer means, etc., that forms an autonomous whole capable of performing information processing and/or information transfer.
+
+**4.2.2** An application process is an element within a real open system which performs the information processing for a particular application.
+
+**4.2.3** Application processes can represent manual processes, computerized processes or physical processes.
+
+**4.2.4** Some examples of application processes that are applicable to this open system definition are the following:
+
+- a) a person operating a banking terminal is a manual application-process;
+- b) a FORTRAN program executing in a computer center and accessing a remote database is a computerized application-process; the remote database management systems server is also an application-process; and
+- c) a process control program executing in a dedicated computer attached to some industrial equipment and linked into a plant control system is a physical application-process.
+
+**4.2.5** An application process represents a set of resources, including processing resources, within a real open system that may be used to perform a particular information processing activity. An application process may organize its interactions with other application processes in whatever way is necessary to achieve a particular information processing goal: no constraints are imposed by this Reference Model either on the form of these interactions or on the possible relationships that may exist between them.
+
+**4.2.6** The activity of a given application process is represented by one or more application process invocations. Cooperation between application processes takes place via relationships established among application process invocations. At a particular time, an application process may be represented by none, one or more application process invocations. An application process invocation is responsible for coordinating its interactions with other application process invocations. Such coordination is outside the scope of this Reference Model.
+
+**4.2.7** OSI is concerned with the exchange of information between open systems (and not the internal functioning of each individual real open system).
+
+**4.2.8** As shown in Figure 1, the physical media for Open Systems Interconnection provides the means for the transfer of information between open systems.
+
+
+
+The diagram illustrates four open systems, labeled 'Open system A', 'Open system B', 'Open system S', and 'Open system C', arranged in a rectangular layout. Each system is represented by an oval. They are interconnected by a network of curved lines that form a closed loop: A connects to B, B connects to C, C connects to S, and S connects back to A. The central region of this loop is labeled 'Physical media', indicating that this media facilitates the information exchange between the systems. The reference 'TISO2830-94/d01' is noted at the bottom right of the diagram.
+
+Diagram showing four open systems (A, B, S, C) connected by physical media. Open system A and B are at the top, S and C at the bottom. Curved lines connect A to B, A to C, B to S, and S to C, forming a loop. The central area is labeled 'Physical media'.
+
+**Figure 1 – Open systems connected by physical media**
+
+**4.2.9** OSI is concerned only with the interconnection of systems. All other aspects of systems which are not related to interconnection are outside the scope of OSI.
+
+**4.2.10** OSI is concerned not only with the transfer of information between systems, i.e. transmission, but also with their capability to interwork to achieve a common (distributed) task. In other words, OSI is concerned with the interconnection aspects of cooperation1) between systems, which is implied by the expression “systems interconnection.”
+
+**4.2.11** The objective of OSI is to define a set of standards to enable real open systems to cooperate. A system which complies with the requirements of applicable OSI standards in its cooperation with other systems is termed a real open system.
+
+**4.2.12** The design intent of the OSI standards is to specify a set of standards that make it possible for autonomous systems to communicate. Any equipment which communicates in conformance with all applicable OSI protocol standards is a real world equivalent of the model concept “open system”. Equipment that is in the “terminal” category, that is, one that requires human intervention for the dominant parts of information processing, may satisfy the conditions of the previous sentences when the appropriate OSI standards are employed in communication with other open systems.
+
+## **4.3 Modelling the OSI Environment**
+
+**4.3.1** The development of OSI standards, i.e. standards for the interconnection of real open systems, is assisted by the use of abstract models. To specify the external behavior of interconnected real open systems, each real open system is replaced by a functionally equivalent abstract model of a real open system called an open system. Only the interconnection aspects of these open systems would strictly need to be described. However to accomplish this, it is necessary to describe both the internal and external behavior of these open systems. Only the external behavior of open systems is retained for the definition of standards for real open systems. The description of the internal behavior of open systems is provided in the Basic Reference Model only to support the definition of the interconnection aspects. Any real system which behaves externally as an open system can be considered to be a real open system.
+
+**4.3.2** This abstract modelling is used in two steps.
+
+**4.3.3** First, basic elements of open systems and some key decisions concerning their organization and functioning, are developed. This constitutes the Basic Reference Model of Open Systems Interconnection described in this Recommendation | Part of this International Standard.
+
+**4.3.4** Then, the detailed and precise description of the functioning of the open system is developed in the framework formed by the Basic Reference Model. This constitutes the services and protocols for OSI which are the subject of other Recommendations and/or International Standards.
+
+**4.3.5** It should be emphasized that the Basic Reference Model does not, by itself, specify the detailed and precise functioning of the open system and, therefore, it does not specify the external behavior of real open systems and does not imply the structure of the implementation of a real open system.
+
+**4.3.6** The reader not familiar with the technique of abstract modelling is cautioned that those concepts introduced in the description of open systems constitute an abstraction despite a similar appearance to concepts commonly found in real systems. Therefore, real open systems need not be implemented as described by the Model.
+
+---
+
+1) Cooperation among open systems involves a broad range of activities of which the following have been identified:
+
+- a) interprocess communication, which concerns the exchange of information and the synchronization of activity between OSI application processes;
+- b) data representation, which concerns all aspects of the creation and maintenance of data descriptions and data transformations for reformatting data exchanged between open systems;
+- c) data storage, which concerns storage media, and file and database systems for managing and providing access to data stored on the media;
+- d) process and resource management, which concerns the means by which OSI application processes are declared, initiated and controlled, and the means by which they acquire OSI resources;
+- e) integrity and security, which concern information processing constraints that have to be preserved or assured during the operation of the open systems; and
+- f) program support, which concerns the definition, compilation, linking, testing, storage, transfer, and access to the programs executed by OSI application-processes.
+
+Some of these activities may imply exchange of information between the interconnected open systems and their interconnection aspects may, therefore, be of concern to OSI.
+
+This Basic Reference Model covers the elements of OSI aspects of these activities which are essential for early development of OSI standards.
+
+**4.3.7** Throughout the remainder of this Basic Reference Model, only the aspects of real systems and application-processes which lie within the OSI Environment (OSIE) are considered. Their interconnection is illustrated throughout this Reference Model as depicted in Figure 2.
+
+**4.3.8** The extent of the application of the OSIE concept through the use of OSI standards may result in subsets of the OSIE which corresponds to partially disjoint sets of real open systems, which are not physically capable of OSI communication between them.
+
+
+
+Figure 2 – Basic elements of OSI. The diagram illustrates the relationship between application-processes and real open systems. At the top, a label reads 'Aspects of application-processes of concern to OSI, i.e. applications-entities (see 7.1)'. Below this, four vertical rectangles represent 'Open system A', 'Open system B', 'Open system C', and 'Open system S'. Inside each rectangle, circles represent 'Aspects of real open systems of concern to OSI'. Lines connect the top-level application-processes to the circles within the open systems. At the bottom, a horizontal bar represents the 'Physical media for OSI'. Curved arrows labeled 'Associations' connect the circles of different open systems to the physical media. The reference 'TISO2840-94/d02' is noted in the bottom right corner.
+
+**Figure 2 – Basic elements of OSI**
+
+# **5 Concepts of a layered architecture**
+
+## **5.1 Introduction**
+
+**5.1.1** Clause 5 sets forth the architectural concepts that are applied in the development of the Reference Model of Open Systems Interconnection. Firstly, the concept of a layered architecture (with layers, entities, service-access-points, protocols, connections, etc.) is described. Secondly, identifiers are introduced for entities, service-access-points, and connections. Thirdly, service-access-points and data-units are described. Fourthly, elements of layer operation are described including connections, transmission of data, and error functions. Then, routing aspects are introduced and finally, management aspects are discussed.
+
+**5.1.2** The concepts described in clause 5 are those required to describe the Reference Model of Open Systems Interconnection. However, not all of the concepts described are employed in each layer of the Reference Model.
+
+**5.1.3** Four elements are basic to the Reference Model (see Figure 2):
+
+- a) open systems;
+- b) the application-entities which exist within the OSI Environment (see 7.1);
+- c) the associations (see 5.3) which join the application-entities and permit them to exchange information; and
+- d) the physical media for OSI.
+
+NOTE – Security aspects which are also general architectural elements of protocols are discussed in CCITT Rec. X.800 | ISO 7498-2.
+
+## **5.2 Principles of layering**
+
+### **5.2.1 Definitions**
+
+**5.2.1.1 (N)-subsystem:** An element in a hierarchical division of an open system which interacts directly only with elements in the next higher division or the next lower division of that open system.
+
+**5.2.1.2 (N)-layer:** A subdivision of the OSI architecture, constituted by subsystems of the same rank (N).
+
+**5.2.1.3 peer-(N)-entities:** Entities within the same (N)-layer.
+
+**5.2.1.4 sublayer:** A subdivision of a layer.
+
+**5.2.1.5 (N)-service:** A capability of the (N)-layer and the layers beneath it, which is provided to (N+1)-entities at the boundary between the (N)-layer and the (N+1)-layer.
+
+**5.2.1.6 (N)-facility:** A part of an (N)-service.
+
+**5.2.1.7 (N)-function:** A part of the activity of (N)-entities.
+
+**5.2.1.8 (N)-service-access-point, (N)-SAP:** The point at which (N)-services are provided by an (N)-entity to an (N+1)-entity.
+
+**5.2.1.9 (N)-protocol:** A set of rules and formats (semantic and syntactic) which determines the communication behavior of (N)-entities in the performance of (N)-functions.
+
+**5.2.1.10 (N)-entity-type:** A description of a class of (N)-entities in terms of a set of capabilities defined for the (N)-layer.
+
+**5.2.1.11 (N)-entity:** An active element within an (N)-subsystem embodying a set of capabilities defined for the (N)-layer that corresponds to a specific (N)-entity-type (without any extra capabilities being used).
+
+**5.2.1.12 (N)-entity-invocation:** A specific utilization of part or all of the capabilities of a given (N)-entity (without any extra capabilities being used).
+
+### **5.2.2 Description**
+
+**5.2.2.1** The basic structuring technique in the Reference Model of Open Systems Interconnection is layering. According to this technique, each open system is viewed as logically composed of an ordered set of (N)-subsystems, represented for convenience in the vertical sequence shown in Figure 3. Adjacent (N)-subsystems communicate through their common boundary. (N)-subsystems of the same rank (N) collectively form the (N)-layer of the Reference Model of Open Systems Interconnection. There is one and only one (N)-subsystem in an open system for layer N. An (N)-subsystem consists of one or several (N)-entities. Entities exist in each (N)-layer. Entities in the same (N)-layer are termed peer-(N)-entities. Note that the highest layer does not have an (N+1)-layer above it and the lowest layer does not have an (N-1)-layer below it.
+
+**5.2.2.2** Not all peer-(N)-entities need or even can communicate. There may be conditions which prevent this communication (for example: they are not in interconnected open systems, or they do not support the same protocol subsets). Communication among peer-(N)-entities which reside in the same (N)-subsystem is provided by the LSE and therefore is out of the scope of OSI.
+
+
+
+The diagram illustrates the layering in cooperating open systems. It shows four open systems (A, B, C, and S) interacting through seven layers (Highest, (N+1), (N), (N-1), and Lowest) over physical media for OSI. The layers are represented by a grid of cells, where shaded cells indicate active connections between systems and layers. The physical media for OSI is shown as a single block at the bottom.
+
+| | Open system A | Open system B | Open system C | Open system S |
+|---------------|---------------|---------------|---------------|---------------|
+| Highest layer | Shaded | Shaded | Shaded | Shaded |
+| (N + 1)-layer | Shaded | Shaded | Shaded | Shaded |
+| (N)-layer | Shaded | Shaded | Shaded | Shaded |
+| (N - 1)-layer | Shaded | Shaded | Shaded | Shaded |
+| Lowest layer | Shaded | Shaded | Shaded | Shaded |
+
+Physical media for OSI
+
+TISO2850-94/d03
+
+Figure 3: Layering in cooperating open systems. A diagram showing four open systems (A, B, C, S) interacting through seven layers (Highest, (N+1), (N), (N-1), and Lowest) over physical media for OSI.
+
+**Figure 3 – Layering in cooperating open systems**
+
+###### NOTES
+
+1 The distinction between the type of some object and an instance of that object is a distinction of significance for OSI. A type is a description of a class of objects. An instance of this type is any object that conforms to this description. The instances of the same type constitute a class. A type, and any instances of this type can be referred to by an individual name. Each nameable instance and the type to which this instance belongs carry distinguishable names.
+
+For example, given that a programmer has written a computer program, that programmer has generated a type of something where instances of that type are created every time that particular program is invoked into execution by a computer. Thus, a FORTRAN compiler is a type and each occasion where a copy of that program is invoked in a data processing machine one displays an instance of that program.
+
+The general concept of instantiation applies within OSI: Consider now an (N)-entity in the OSI context. It too, has two aspects, a type and a collection of invocations. The type of an (N)-entity is defined by description of the specific set of (N)-layer functions it is able to perform. An invocation of that type of (N)-entity is a specific invocation of whatever it is within the relevant open system that provides the (N)-layer functions called for by its type for a particular occasion of communication. It follows from these observations that (N)-entities refer only to the properties of an association between peer (N)-entities, while an (N)-entity-invocation refers to the specific, dynamic occasions of actual information exchange.
+
+It is important to note that actual communication occurs only between (N)-entity-invocations at all layers. In the connection-mode (see 5.3.3), it is only at connection establishment time (or its logical equivalent during a recovery process) that (N)-entities are explicitly relevant. An actual connection is always made with a specific (N)-entity-invocation, although the request for connection is often made to an arbitrary (N)-entity (of a specific type). If an (N)-entity-invocation is aware of the name of its peer-(N)-entity-invocation, it is able to request another connection to that (N)-entity-invocation.
+
+2 It may be necessary to further divide a layer into small substructures called sublayers and to extend the technique of layering to cover other dimensions of OSI. A sublayer is defined as a grouping of functions in a layer which may be bypassed. The bypassing of all the sublayers of a layer is not allowed. A sublayer uses the entities and communication services of the layer. The detailed definition or additional characteristics of a sublayer are for further study.
+
+**5.2.2.3** Except for the highest layer, each (N)-layer provides (N+1)-entities in the (N+1)-layer with an (N)-service at (N)-SAP(s). The properties of (N)-SAPs are described in 5.5. The highest layer is assumed to represent all possible uses of the (N)-service which are provided by the lower layers.
+
+NOTE – Not all open systems provide the initial source or final destination of data. Such open systems need not contain the higher layers of the architecture (see Figure 12).
+
+**5.2.2.4** Each service provided by an (N)-layer may be tailored by the selection of one or more (N)-facilities which determine the attributes of that service. When a single (N)-entity cannot by itself fully support a service requested by an (N+1)-entity it calls upon the co-operation of other (N)-entities to help complete the service request. In order to co-operate, (N)-entities in any layer, other than those in the lowest layer, communicate by means of the set of services provided by the (N-1)-layer (see Figure 4). The entities in the lowest layer are assumed to communicate directly via the physical media which connect them.
+
+
+
+Figure 4: (N+1)-entities in the (N+1)-layer communicate through the (N)-layer. The diagram shows a horizontal bar representing the (N+1)-layer, divided into several segments. The first segment is labeled '(N+1)-layer' and the last segment is labeled '(N+1)-entities'. Below this bar is another horizontal bar labeled '(N)-layer'. A curved arrow points from the first segment of the (N+1)-layer down to the (N)-layer, and another curved arrow points from the (N)-layer up to the last segment of the (N+1)-layer, indicating communication through the (N)-layer.
+
+TISO2860-94/d04
+
+**Figure 4 – (N + 1)-entities in the (N + 1)-layer communicate through the (N)-layer**
+
+**5.2.2.5** The services of an (N)-layer are provided to the (N+1)-layer using the (N)-functions performed within the (N)-layer and as necessary the services available from the (N-1)-layer.
+
+NOTE – This does not preclude the case where no protocol action is required in the (N)-layer to support a given (N)-facility because it is already available at the (N-1)-service boundary. However, null functionality of the complete (N)-protocol is not allowed.
+
+**5.2.2.6** An (N)-entity may provide services to one or more (N+1)-entities and use the services of one or more (N-1)-entities. An (N)-service-access-point is the point at which a pair of entities in adjacent layers use or provide services (see Figure 7).
+
+**5.2.2.7** Cooperation between (N)-entities is governed by one or more (N)-protocols. The entities and protocols within a layer are illustrated in Figure 5.
+
+
+
+Figure 5: (N)-protocols between (N)-entities. The diagram shows a horizontal bar representing the (N)-layer, divided into several segments. The first segment is labeled '(N)-layer'. Above the bar, a label '(N)-entities' has lines pointing to the second, third, and fourth segments. Below the bar, a label '(N)-protocol' has lines pointing to the same three segments. Double-headed arrows are shown between the second and third segments, and between the third and fourth segments, indicating communication between (N)-entities through (N)-protocols.
+
+TIS O2870-94/d05
+
+**Figure 5 – (N)-protocols between (N)-entities**
+
+## 5.3 Communication between peer-entities
+
+### 5.3.1 Definitions
+
+**5.3.1.1 (N)-association:** A cooperative relationship among (N)-entity-invocations.
+
+**5.3.1.2 (N)-connection:** An association requested by an (N+1)-entity for the transfer of data between two or more (N+1)-entities. The association is established by the (N)-layer and provides explicit identification of a set of (N)-data-transmissions and agreement concerning the (N)-data-transmission services to be provided for the set.
+
+**5.3.1.3 (N)-connection-endpoint:** A terminator at one end of an (N)-connection within an (N)-service-access-point.
+
+**5.3.1.4 multi-endpoint-connection:** A connection with more than two connection-endpoints.
+
+**5.3.1.5 correspondent (N)-entities:** (N)-entities with an (N-1)-connection between them.
+
+**5.3.1.6 (N)-relay:** An (N)-function by means of which an (N)-entity forwards data received from one peer-(N)-entity to another peer-(N)-entity.
+
+**5.3.1.7 (N)-data-source:** An (N)-entity that sends (N-1)-service-data-units (see 5.6.1.7) on an (N-1)-connection.2)
+
+**5.3.1.8 (N)-data-sink:** An (N)-entity that receives (N-1)-service-data-units on an (N-1)-connection2)
+
+**5.3.1.9 (N)-data-transmission:** An (N)-facility which conveys (N)-service-data-units from one (N+1)-entity to one or more (N+1)-entities.
+
+**5.3.1.10 (N)-duplex-transmission:** (N)-data-transmission in both directions at the same time.2)
+
+**5.3.1.11 (N)-half-duplex-transmission:** (N)-data-transmission in either direction, one direction at a time; the choice of direction is controlled by an (N+1)-entity.2)
+
+**5.3.1.12 (N)-simplex-transmission:** (N)-data-transmission in one pre-assigned direction.2)
+
+**5.3.1.13 (N)-data-communication:** An (N)-function which transfers (N)-protocol-data-units (see 5.6.1.3) according to an (N)-protocol, over one or more (N-1)-connections.2)
+
+**5.3.1.14 (N)-two-way-simultaneous-communication:** (N)-data-communication in both directions at the same time.
+
+**5.3.1.15 (N)-two-way-alternate-communication:** (N)-data-communication in both directions, one direction at a time.
+
+**5.3.1.16 (N)-one-way-communication:** (N)-data-communication in one pre-assigned direction.
+
+**5.3.1.17 (N)-connection-mode transmission:** (N)-data-transmission in the context of an (N)-connection.
+
+**5.3.1.18 (N)-connectionless-mode transmission:** (N)-data-transmission not in the context of an (N)-connection and not required to maintain any logical relationship between (N)-service-data-units.
+
+### 5.3.2 Description
+
+**5.3.2.1** For information to be exchanged between two or more (N+1)-entities, an association is established between them in the (N)-layer using an (N)-protocol.
+
+NOTE – Classes of protocols may be defined within the (N)-protocols.
+
+**5.3.2.2** The rules and formats of an (N)-protocol are instantiated in an (N)-subsystem by an (N)-entity. An (N)-entity may support one or more (N)-protocols. (N)-entities may support (N)-protocols which are connection-mode or connectionless-mode or both. (N)-entities when supporting connection-mode maintain the binding of (N)-connections to the appropriate (N+1)-entities at the appropriate (N)-SAPs. (N)-entities when supporting connectionless-mode maintain a binding with the appropriate (N)-SAPs for delivering the connectionless data to the (N+1)-entities.
+
+**5.3.2.3** (N+1)-entities can communicate only by using the services of the (N)-layer. There are instances where services provided by the (N)-layer do not permit direct access between all of the (N+1)-entities which have to communicate. If this is the case communication can still occur if some other (N+1)-entities can act as relays between them (see Figure 6).
+
+2) These definitions are not for use in this Basic Reference Model, but are for use in other OSI standards.
+
+
+
+Relay entity
+
+(N + 1)-layer
+
+(N)-layer
+
+(N + 1)-entities
+
+TISO2880-94/d06
+
+Diagram illustrating communication through a relay. It shows two layers: (N+1)-layer and (N)-layer. The (N+1)-layer contains a sequence of entities, with a 'Relay entity' highlighted in the center. The (N)-layer is shown below, with wavy lines indicating communication paths between the relay entity and the (N)-layer. The diagram is labeled 'TISO2880-94/d06' at the bottom right.
+
+**Figure 6 – Communication through a relay**
+
+**5.3.2.4** The fact that communication is relayed by a chain of (N+1)-entities is known neither by the (N)-layer nor by the (N+2)-layer.
+
+### **5.3.3 Modes of communication**
+
+#### **5.3.3.1 Introduction**
+
+**5.3.3.1.1** An (N)-layer may offer a connection-mode service, a connectionless-mode service, or both, to the (N+1)-layer, using the service or services provided by the (N–1)-layer. Any instance of transmission between the (N+1)-entities must utilize the same mode of (N)-service.
+
+**5.3.3.1.2** Both the (N)-connection-mode service and the (N)-connectionless-mode service are characterised by the facilities which they offer to, and the quality of service seen by, the (N+1)-entities. For both the (N)-connection-mode service and the (N)-connectionless-mode service, functions may be provided by the (N)-layer to enhance the facilities offered to, and the quality of service seen by the (N+1)-entities over those which are offered to the (N)-layer by the (N–1)-layer and, if necessary, to convert between one mode of service and another.
+
+**5.3.3.1.3** Since connection-mode transmission and connectionless-mode transmission are complementary concepts, they are best understood in juxtaposition, particularly since connectionless-mode transmission is defined most easily in relationship to the concept of a connection.
+
+**5.3.3.1.4** In order for (N+1)-entities to be able to communicate using an (N)-connection-mode service or an (N)-connectionless-mode service it is essential that a pre-arranged association exists between them, constituted by the pre-knowledge which it is essential that each (N+1)-entity has of the others in order at least to initiate the use of the service. This association is established in ways which are not detailed in this Basic Reference Model and comprises four elements:
+
+- a) knowledge of the addresses of the peer-(N)-entities involved;
+- b) knowledge of a protocol agreed by the peer-(N)-entities for use at least to initiate communication;
+- c) knowledge of the availability for communication of the peer-(N)-entities;
+- d) knowledge of the quality of service available from the (N)-service.
+
+NOTE – The pre-knowledge constituting a pre-arranged association can be acquired in many ways; some examples are listed below:
+
+- a) from information acquired manually when contracts are exchanged with a service provider;
+- b) from information which a network administration may provide in a directory or enquiry database;
+- c) from information that may be learned from previous instances of communication;
+- d) from information that may be provided dynamically through the operation of management protocols.
+
+The total pre-knowledge constituting a pre-arranged association is likely to be acquired in a combination of the above ways.
+
+#### 5.3.3.2 Connection mode
+
+**5.3.3.2.1** A connection is an association established for the transfer of data between two or more peer-(N)-entities. This association binds the peer-(N)-entities together with the (N-1)-entities in the next lower layer. The ability to establish and release a connection and to transfer data over it is provided to the (N)-entities in a given (N)-layer by the next lower layer as a connection-mode service. The use of a connection-mode service by peer-(N)-entities proceeds through three distinct phases:
+
+- a) connection establishment;
+- b) data transfer; and
+- c) connection release.
+
+**5.3.3.2.2** In addition to the clearly distinguishable lifetime exhibited by these phases, a connection has the following fundamental characteristics:
+
+- a) it involves establishing and maintaining a two or more party agreement concerning the transmission of data among the peer-(N)-entities concerned, and using the provider of the (N-1)-service;
+- b) it allows the negotiation between all the parties concerned of the parameters and options that will govern the transmission of data;
+- c) it provides connection identification by means of which the overheads involved in address resolution and transmission can be avoided on data transfers;
+- d) it provides a context within which successive units of data transmitted between the peer-entities are logically related, and makes it possible to maintain sequence and provide flow control for those transmissions.
+
+**5.3.3.2.3** The characteristics of connection-mode transmission are particularly attractive in applications which call for relatively long-lived, stream-oriented interactions between entities in stable configurations. Examples are provided by direct terminal use of a remote computer, file transfer, and long-term attachment of remote job entry stations. In these cases, the entities involved initially discuss their requirements and agree to the terms of their interaction, reserving whatever resources they may need, transfer a series of related units of data to accomplish their mutual objective, and explicitly end their interaction, releasing the previously reserved resources. The properties of connection-mode transmission are also relevant in a wide range of other applications.
+
+**5.3.3.2.4** Connection-mode transmission is accomplished through the use of (N)-connections. (N)-connections are provided by the (N)-layer between two or more (N)-service-access-points. The terminator of an (N)-connection at an (N)-service-access-point is called an (N)-connection-endpoint. An (N)-connection is provided by the (N)-layer between two or more (N)-service-access-points at the request of a calling (N+1)-entity in support of the (N+1)-entities attached to the (N)-service-access-points involved in the (N)-connection. An (N)-connection with more than two endpoints is termed a multi-endpoint-connection. (N)-entities with a connection between them are termed correspondent (N)-entities.
+
+NOTE – Data transfer using an (N)-connection-mode service involves the establishment of an (N)-connection prior to the data transfer. This dynamically sets up an association between the (N+1)-entities and the (N)-connection-mode service in addition to the association identified in 5.3.2. This association involves elements which are not part of the pre-arranged association described in 5.3.3.1.4, in particular:
+
+- a) knowledge of the willingness of the peer-(N)-entity or entities to undertake a specific communication, and of the willingness of the underlying service to support it and;
+- b) the ability for the peer-(N)-entities to negotiate and renegotiate the characteristics of the communication.
+
+#### 5.3.3.3 Connectionless mode
+
+**5.3.3.3.1** Connectionless-mode transmission is the transmission of a single unit of data from a source service-access-point to one or more destination service-access-points without establishing a connection. A connectionless-mode service allows an entity to initiate such a transmission by the performance of a single service access.
+
+**5.3.3.3.2** In contrast to a connection, an instance of the use of a connectionless-mode service does not have a clearly distinguishable lifetime. In addition, it has the following fundamental characteristics:
+
+- a) it requires only a pre-arranged association between the peer-(N)-entities involved which determines the characteristics of the data to be transmitted, and no dynamic agreement is involved in an instance of the use of the service;
+- b) all the information required to deliver a unit of data – destination address, quality of service selection, options, etc. – is presented to the layer providing the connectionless-mode service, together with the unit of data to be transmitted, in a single service access. The layer providing the connectionless-mode service is not required to relate this access to any other access.
+
+**5.3.3.3.3** As a result of these fundamental characteristics it may also be true that:
+
+- a) each unit of data transmitted is routed independently by the layer providing the connectionless-mode service; and
+- b) copies of a unit of data can be transmitted to a number of destination addresses.
+
+**5.3.3.3.4** These characteristics of connectionless-mode transmission do not preclude making available to the service user information on the nature and quality of service which may apply for a single invocation of the service or which may be observed over successive invocations of the service between pairs of (N)-service-access-points or among a set of (N)-service-access-points.
+
+**5.3.3.3.5** For each layer, the subclauses of clause 7 identify those items which have relevance to the connectionless-mode service provided by that layer.
+
+**5.3.3.3.6** The basic (N)-connectionless-mode service is a service which meets the following conditions:
+
+- a) it is not required to exhibit any minimum values of the quality of service measures, in particular the sequence of (N)-service-data-units need not be maintained and;
+- b) it is not required to exhibit peer flow control.
+
+**5.3.3.3.7** Any (N)-connectionless-mode service definition should allow the basic service.
+
+**5.3.3.3.8** Since the basic service is not required to maintain the sequence of (N)-service-data-units, there is no requirement for any (N)-layer to provide sequencing functions. However, in real implementations the characteristics of the underlying medium or of real subnetworks may offer a high probability of in-sequence delivery and this may be reflected in the characteristics of the connectionless-mode services offered by higher layers.
+
+**5.3.3.3.9** An (N+1)-entity provides no information to the provider of an (N)-connectionless-mode service about the logical relationships between (N)-service-data-units, apart from the source and destination (N)-service-access-point-addresses.
+
+**5.3.3.3.10** From the point of view of the (N+1)-entity this means that it is not able to require the (N)-service to apply a particular function to a sequence of (N)-service-data-units sent by it. However, from the point of view of the (N)-layer, this does not imply any constraint on the functions which support the service.
+
+**5.3.3.3.11** (N+1)-entities can communicate using an (N)-connectionless-mode service provided that there is a pre-arranged association between them providing knowledge about each other which allows them to do so. This knowledge should allow the locations of the (N+1)-entities to be determined, it should determine the correct interpretation of (N)-service-data-units by a receiving (N+1)-entity, and it may define the rates of transfer, rates of response, and the protocol in use between the entities. The knowledge may result from prior agreement between the (N+1)-entities concerning the parameters, formats, and options to be used.
+
+**5.3.3.3.12** (N+1)-entities may require prior knowledge of the facilities offered by the service and the quality of service which they can expect to receive from it in order to choose an (N+1)-protocol to be used for communication over an (N)-connectionless-mode service.
+
+### **5.3.4 The relationship between services provided at adjacent layer boundaries**
+
+**5.3.4.1** There are no architectural constraints on any vertical combination of an (N)-layer providing one type of (N)-service (connection-mode or connectionless-mode) using the other type of (N-1)-service. In principle the services at the two layer boundaries can be:
+
+- a) both connection-mode services;
+- b) both connectionless-mode services;
+- c) the (N)-service a connection-mode service and the (N-1)-service a connectionless-mode service;
+- d) the (N)-service a connectionless-mode service and the (N-1)-service a connection-mode service.
+
+**5.3.4.2** In order to allow combinations c) and d) two architectural elements are required:
+
+- a) a function to provide an (N)-connection-mode service using an (N-1)-connectionless-mode service; and
+- b) a function to provide an (N)-connectionless-mode service using an (N-1)-connection-mode service.
+
+These are known as mode conversion functions.
+
+NOTE – Of these functions, function a) requires significant protocol-control-information. For example, there is a need to identify the connection which is constructed, control its state and provide sequencing of service-data-units. Function b) requires little or no additional protocol-control-information, rather, it places constraints on the way in which the connection-mode service is used.
+
+### 5.3.5 Application of mode conversion functions
+
+**5.3.5.1** Mode conversion functions may be invoked in OSI end systems, or in OSI relay systems (see 6.5). When invoked in OSI relay systems, the mode conversion functions may either:
+
+- a) join an (N)-protocol using the (N-1)-connectionless service and an (N)-protocol using the (N-1)-connection-mode service in support of an (N)-connection-mode service; or
+- b) join an (N)-protocol using the (N-1)-connectionless-mode service and an (N)-protocol using the (N-1)-connection-mode service in support of an (N)-connectionless mode service.
+
+**5.3.5.2** The use of mode conversions between (N-1)-services within a layer is not explicitly constrained by the Reference Model but, where several (N-1)-services are connected in tandem, the use of mode conversions would be ordered to minimize the number of mode conversions necessary to arrive at a given composite (N)-service.
+
+**5.3.5.3** Where an (N-1)-connectionless-mode service is enhanced to provide a (N)-connection-mode service, a number of (N)-connections may be supported by (N-1)-connectionless-mode transmission between the same (N-1)-service-access-points.
+
+**5.3.5.4** Where an (N-1)-connection-mode service is used to provide an (N)-connectionless-mode service, (N)-connectionless-mode transmission between a number of different (N)-service-access-points may be supported by the same (N-1)-connection.
+
+## 5.4 Identifiers
+
+### 5.4.1 Definitions
+
+**5.4.1.1 (N)-address:** A name unambiguous within the OSIE which is used to identify a set of (N)-service-access-points which are all located at a boundary between an (N)-subsystem and an (N+1)-subsystem in the same open system.
+
+NOTE – A name is unambiguous within a given scope when it identifies one and only one object within that scope. Unambiguity of a name does not preclude the existence of synonyms.
+
+**5.4.1.2 (N)-service-access-point-address; (N)-SAP-address:** An (N)-address that is used to identify a single (N)-SAP.
+
+**5.4.1.3 (N)-address-mapping:** An (N)-function which provides the mapping between the (N)-addresses and the (N-1)-addresses associated with an (N)-entity.
+
+**5.4.1.4 routing:** A function within a layer which translates the title of an entity or the service-access-point-address to which the entity is attached into a path by which the entity can be reached.
+
+**5.4.1.5 (N)-connection-endpoint-identifier:** An identifier of an (N)-connection-endpoint which can be used to identify the corresponding (N)-connection at an (N)-service-access-point.
+
+**5.4.1.6 (N)-connection-endpoint-suffix:** A part of an (N)-connection-endpoint-identifier which is unique within the scope of an (N)-service-access-point.
+
+**5.4.1.7 multi-connection-endpoint-identifier:** An identifier which specifies the connection-endpoint of a multi-endpoint-connection which should accept the data that is being transferred.
+
+**5.4.1.8 (N)-service-connection-identifier:** An identifier which uniquely specifies an (N)-connection within the environment of the correspondent (N+1)-entities.
+
+**5.4.1.9 (N)-protocol-connection-identifier:** An identifier which uniquely specifies an individual (N)-connection within the environment of the multiplexed (N-1)-connection.
+
+**5.4.1.10 (N)-entity-title:** A name that is used to identify unambiguously an (N)-entity.
+
+### 5.4.2 Description
+
+**5.4.2.1** An (N)-service-access-point-address identifies a particular (N)-service-access-point to which an (N+1)-entity is attached (see Figure 7). When the (N+1)-entity is detached from the (N)-service-access-point, the (N)-SAP-address no longer provides access to the (N+1)-entity. If the (N)-service-access-point is reattached to a different (N+1)-entity, then the (N)-SAP-address identifies the new (N+1)-entity and not the old one.
+
+**5.4.2.2** The use of an (N)-SAP-address to identify an (N+1)-entity is the most efficient mechanism if the permanence of attachment between the (N+1)-entity and the (N)-service-access-point can be assured.
+
+
+
+Diagram illustrating the relationship between entities, service-access-points, and identifiers. A central horizontal line represents the network layer. Above the line, a cloud labeled '(N+1)-entity' is connected to three ovals on the line. The left oval is labeled '(N)-service-access-point'. The middle oval is labeled '(N)-connection-endpoint-identifier' and contains three dots. The right oval is labeled '(N)-address' and contains three dots. Below the line, two clouds labeled '(N)-entity' are connected to the ovals. The middle and right ovals are grouped by a light gray oval background. The text 'TISO2890-94/d07' is in the bottom right corner.
+
+**Figure 7 – Entities, service-access-points and identifiers**
+
+**5.4.2.3** Interpretation of the correspondence between the (N)-addresses served by an (N)-entity and the (N-1)-addresses used for accessing (N-1)-services is performed by an (N)-address-mapping function.
+
+**5.4.2.4** The structure of an (N)-address is known by the (N)-entity which is attached to the identified (N)-service-access-point. However, the (N+1)-entity does not know this structure.
+
+**5.4.2.5** If an (N+1)-entity has two or more (N)-service-access-points with either the same (N)-entity or different (N)-entities, the (N)-entities have no knowledge of this fact. Each (N)-service-access-point is considered to identify a different (N+1)-entity from the perspective of the (N)-entities.
+
+**5.4.2.6** A routing function translates the (N)-address of an (N+1)-entity into a path or route by which the (N+1)-entity may be reached.
+
+**5.4.2.7** An (N+1)-entity may establish an (N)-connection with another (N+1)-entity by using an (N)-service. When an (N+1)-entity establishes an (N)-connection with another (N+1)-entity, each (N+1)-entity is given an (N)-connection-endpoint-identifier by its supporting (N)-entity. The (N+1)-entity can then distinguish the new connection from all other (N)-connections accessible at the (N)-service-access-point it is using. This (N)-connection-endpoint-identifier is unique within the scope of the (N+1)-entity which will use the (N)-connection.
+
+**5.4.2.8** The (N)-connection-endpoint-identifier consists of two parts:
+
+- a) the (N)-SAP-address of the (N)-service-access-point which will be used in conjunction with the (N)-connection; and
+- b) an (N)-connection-endpoint-suffix which is unique within the scope of the (N)-service-access-point.
+
+**5.4.2.9** A multi-endpoint-connection requires multi-connection-endpoint-identifiers. Each such identifier is used to specify which connection-endpoint should accept the data which is being transferred. A multi-connection-endpoint-identifier is unique within the scope of the connection within which it is used.
+
+**5.4.2.10** The (N)-layer may provide to the (N+1)-entities an (N)-service-connection-identifier which uniquely specifies the (N)-connection within the environment of the correspondent (N+1)-entities.
+
+## 5.5 Properties of service-access-points
+
+**5.5.1** An (N+1)-entity requests (N)-service via an (N)-service-access-point which permits the (N+1)-entity to interact with an (N)-entity.
+
+- 5.5.2** Both the (N)- and (N+1)-entities attached to an (N)-service-access-point are in the same system.
+- 5.5.3** An (N+1)-entity may concurrently be attached to one or more (N)-service-access-points attached to the same or different (N)-entities.
+- 5.5.4** An (N)-entity may concurrently be attached to one or more (N+1)-entities through (N)-service-access-points.
+- 5.5.5** An (N)-service-access-point is attached to only one (N)-entity and to only one (N+1)-entity at a time.
+- 5.5.6** An (N)-service-access-point may be detached from an (N+1)-entity and reattached to the same or another (N+1)-entity.
+- 5.5.7** An (N)-service-access-point may be detached from an (N)-entity and reattached to the same or another (N)-entity.
+- 5.5.8** An (N)-service-access-point is located by means of its (N)-SAP-address. An (N)-SAP-address is used by an (N+1)-entity to request an instance of communication.
+- 5.5.9** An (N)-service-access-point may support:
+- a) (N)-connection-mode service only;
+ - b) (N)-connectionless-mode service only;
+ - c) (N)-connection-mode services and (N)-connectionless-mode services concurrently.
+- 5.5.10** A single (N+1)-entity may concurrently be using several (N)-connections and an (N)-connectionless-mode service through one or more (N)-service-access-points to which it is attached.
+- 5.5.11** (N+1)-entities distinguish between instances of the (N)-connectionless-mode services and the (N)-connection-mode services offered concurrently through the same (N)-service-access-point by the uniqueness of the interactions prescribed for these services.
+
+## 5.6 Data-units
+
+### 5.6.1 Definitions
+
+**5.6.1.1 (N)-protocol-control information:** Information exchanged between (N)-entities to co-ordinate their joint operation.
+
+**5.6.1.2 (N)-user-data:** The data transferred between (N)-entities on behalf of the (N+1)-entities for whom the (N)-entities are providing services.
+
+**5.6.1.3 (N)-protocol-data-unit:** A unit of data specified in an (N)-protocol and consisting of (N)-protocol-control-information and possibly (N)-user-data.
+
+**5.6.1.4 (N)-service-data-unit:** An amount of information whose identity is preserved when transferred between peer-(N+1)-entities and which is not interpreted by the supporting (N)-entities.
+
+**5.6.1.5 expedited (N)-service-data-unit. (N)-expedited-data-unit:** A small (N)-service-data-unit whose transfer is expedited. The (N)-layer ensures that an expedited-data-unit will not be delivered after any subsequent service-data-unit or expedited unit sent on that connection.
+
+### 5.6.2 Description
+
+**5.6.2.1** Information is transferred in various types of data-units between peer-(N)-entities. The data-units are defined in 5.6 and the relationships among them are illustrated in Figures 8 and 9.
+
+| | Control | Data | Combined |
+|-----------------------|----------------------------------|---------------|------------------------|
+| (N)-(N)-peer-entities | (N)-protocol-control-information | (N)-user-data | (N)-protocol-data-unit |
+
+**Figure 8 – Relationships among data-units**
+
+
+
+TISO2900-94/d08
+
+PCI Protocol-control-information
+PDU Protocol-data-unit
+SDU Service-data-unit
+
+Diagram illustrating the mapping between data-units in adjacent layers. It shows two layers: (N)-layer and (N-1)-layer. In the (N)-layer, there is a box labeled (N)-PDU. An arrow points from (N)-PDU down to a box labeled (N-1)-SDU in the (N-1)-layer. In the (N)-layer, there is also a box labeled (N)-PCI. An arrow points from (N)-PCI down to a box labeled (N-1)-PCI in the (N-1)-layer. An arrow points from (N-1)-PCI down to a box labeled (N-1)-PDU in the (N-1)-layer. The (N-1)-PDU box is shown as a dashed rectangle, indicating it is a service data unit. The diagram is labeled TISO2900-94/d08.
+
+###### NOTES
+
+- 1 This figure assumes that neither segmenting nor blocking of (N)-service-data-units is performed (see 5.8.1.9 and 5.8.1.11).
+- 2 This figure does not imply any positional relationship between protocol-control-information and user-data in protocol-data-unit.
+- 3 An (N)-protocol-data-unit may be mapped one-to-one into an (N-1)-service-data-unit, but other relationships are possible.
+
+**Figure 9 – An illustration of mapping between data-units in adjacent layers**
+
+**5.6.2.2** Except for the relationships defined in Figures 8 and 9, there is no overall architectural limit to the size of data-units. There may be other size limitations at specific layers.
+
+**5.6.2.3** Data may be held within a connection until a complete service-data-unit is put into the connection.
+
+## 5.7 The nature of the (N)-service
+
+**5.7.1** An (N)-service does not necessarily place bounds on the size of (N)-SDUs. The specification of the (N)-protocol, however, may place specific bounds on the size of (N)-PDUs. Blocking, segmenting, and concatenation are used to reconcile differences in the sizes of SDUs and corresponding PDUs.
+
+## 5.8 Elements of layer operation
+
+### 5.8.1 Definitions
+
+**5.8.1.1 (N)-protocol-identifier:** An identifier used between correspondent (N)-entities to select a specific (N)-protocol.
+
+**5.8.1.2 centralized multi-endpoint-connection:** A multi-endpoint-connection where data sent by the entity associated with the central connection-endpoint is received by all other entities, while data sent by one of the other entities is only received by the central entity.
+
+**5.8.1.3 decentralized multi-endpoint-connection:** A multi-endpoint-connection where data sent by an entity associated with a connection-endpoint is received by all other entities.
+
+**5.8.1.4 multiplexing:** A function performed by an (N)-entity in which one (N-1)-connection is used to support more than one (N)-connection.
+
+NOTE – The term multiplexing is also used in a more restricted sense to refer to the function performed by the sending (N)-entity while the term demultiplexing is used to refer to the function performed by the receiving (N)-entity.
+
+**5.8.1.5 demultiplexing:** A function performed by an (N)-entity which identifies (N)-protocol-data-units for more than one (N)-connection within an (N-1)-connection. It is the reverse function of the multiplexing function performed by the (N)-entity sending the (N-1)-service-data-units.
+
+**5.8.1.6 splitting:** A function within the (N)-layer by which more than one (N-1)-connection is used to support one (N)-connection.
+
+NOTE – The term splitting is also used in a more restrictive sense to refer to the function performed by the sending (N)-entity while the term recombining is used to refer to the function performed by the receiving (N)-entity.
+
+**5.8.1.7 recombining:** The function performed by an (N)-entity which identifies (N)-protocol-data-units for a single (N)-connection in (N-1)-service-data-units received on more than one (N-1)-connection. It is the reverse function of the splitting function performed by the (N)-entity sending the (N-1)-service-data-units.
+
+**5.8.1.8 flow control:** A function which controls the flow of data within a layer or between adjacent layers.
+
+**5.8.1.9 segmenting:** A function performed by an (N)-entity to map one (N)-service-data-unit into multiple (N)-protocol-data-units.
+
+**5.8.1.10 reassembling:** A function performed by an (N)-entity to map multiple (N)-protocol-data-units into one (N)-service-data-unit. It is the reverse function of segmenting.
+
+**5.8.1.11 blocking:** A function performed by an (N)-entity to map multiple (N)-service-data-units into one (N)-protocol-data-unit.
+
+**5.8.1.12 deblocking:** A function performed by an (N)-entity to identify multiple (N)-service-data-units which are contained in one (N)-protocol-data-unit. It is the reverse function of blocking.
+
+**5.8.1.13 concatenation:** A function performed by an (N)-entity to map multiple (N)-protocol-data-units into one (N-1)-service-data-unit.
+
+NOTE – Blocking and concatenation though similar (they both permit grouping of data-units) may serve different purposes. For instance, concatenation permits the (N)-layer to group one or several acknowledgement (N)-PDUs with one (or several) (N)-PDUs containing user-data. This would not be possible with the blocking function only. Note also that the two functions may be combined so that the (N)-layer performs blocking and concatenation.
+
+**5.8.1.14 separation:** A function performed by an (N)-entity to identify multiple (N)-protocol-data-units which are contained in one (N-1)-service-data-unit. It is the reverse function of concatenation.
+
+**5.8.1.15 sequencing:** A function performed by the (N)-layer to preserve the order of (N)-service-data-units that were submitted to the (N)-layer.
+
+**5.8.1.16 acknowledgement:** A function of the (N)-layer which allows a receiving (N)-entity to inform a sending (N)-entity of the receipt of an (N)-protocol-data-unit.
+
+**5.8.1.17 reset:** A function which sets the corresponding (N)-entities to a predefined state with a possible loss or duplication of data.
+
+**5.8.1.18 (N)-protocol-version-identifier:** An identifier conveyed between correspondent (N)-entities which allows the selection of the version of an (N)-protocol.
+
+NOTE – The definition of a new (N)-protocol-version-identifier presupposes a minimal common knowledge of the (N)-protocol identified by the preceding (N)-protocol-version-identifier. When such a minimal common knowledge cannot be achieved, the (N)-protocols are considered to be independent and different.
+
+### **5.8.2 Protocol selection and identification**
+
+**5.8.2.1** Protocol identification is the process of determining the type of protocol being used.
+
+**5.8.2.2** One or more (N)-protocols may be defined for the (N)-layer. An (N)-entity may employ one or more (N)-protocols.
+
+**5.8.2.3** Meaningful communication between (N)-entities requires the agreed selection of one (N)-protocol.
+
+**5.8.2.4** (N)-protocol-identifiers name the specific protocols defined. An (N+1)-protocol-identifier cannot be part of (N)-PCI. Thus, an (N)-service uses (N)-addresses to identify an (N+1)-protocol, as described in Rec. X.650 | ISO 7498-3.
+
+**5.8.2.5** Since not all protocols (either OSI or non-OSI) can be assumed to carry an (N)-protocol-identifier, an (N)-protocol-identifier cannot be used to distinguish OSI and non-OSI protocols. The proper mechanism to use in these situations is an (N)-address.
+
+### **5.8.3 Protocol version selection and identification**
+
+#### **5.8.3.1 Protocol version identification**
+
+**5.8.3.1.1** Protocol version identification is a mechanism to identify the level of a particular protocol being used. The identification of the protocol version presupposes that the protocol itself has been identified either implicitly or by use of approved mechanisms.
+
+**5.8.3.1.2** It may be convenient, in many cases, to recognize a sub-version id to be carried in (N)-PCI along with the (N)-protocol-version-id. This allows keeping track of minor evolutions of a given protocol version (e.g. in order to determine the degree of integration of defect reports, etc.). The decision of whether or not to introduce such a sub-version id is of the responsibility of specific (N)-layer standards. However, only the (N)-protocol-version-id, regardless of any additional subversion id, is taken into account in order to determine whether or not communication is possible between peer-(N)-entities.
+
+#### **5.8.3.2 The need for a new protocol version**
+
+**5.8.3.2.1** The need for a new protocol version arises from changes made in the protocol. These changes can be:
+
+- 1) addition of new functions (i.e. not defined in the existing protocol specifications);
+- 2) deletion of existing functions (i.e. which were defined in the existing protocol specifications);
+- 3) modification of existing functions; or
+- 4) substitution of an alternate way to provide existing functions.
+
+**5.8.3.2.2** Changes made in a protocol will not always imply the need for a new protocol version (or for a new protocol). A new protocol version (or new protocol) becomes necessary when these changes lead to a significant functional modification which cannot be compatibly negotiated using the existing protocol specifications so that a real open system utilizing the newly specified protocol functions would not be able to communicate with a real open system utilizing the old specifications.
+
+**5.8.3.2.3** In such cases, if the two sets of protocol functions share at least a common understanding of the protocol version identification mechanisms (e.g. conveying, encoding, negotiating protocol version identifiers), they are considered to be two different versions of the same protocol, otherwise they are considered to be two different protocols.
+
+##### **NOTES**
+
+1 It is important to note that significant functional modifications are not always coupled to changes to protocol elements exchanged between pair entities (e.g. modification of the behavior of an (N)-entity due to the introduction of transparent services).
+
+2 It should be noted that new protocol versions are not directly related to the administrative process of revising existing standards. Such a process may or may not lead to a new protocol version depending on the degree of modification which has taken place.
+
+#### **5.8.3.3 Negotiation mechanisms**
+
+**5.8.3.3.1** The negotiation of protocol version can only occur in connection-mode communication. An (N)-protocol-version-id field should be present in PDUs relevant to connection establishment. A mechanism for handling protocol version identification is to determine, by means of the (N)-protocol-version-id, which version should be invoked on a specific connection between the calling and called (N)-entities.
+
+**5.8.3.3.2** A calling (N)-entity sends information of all supported versions to a called (N)-entity. The called (N)-entity examines whether or not there are any supported versions common to the calling and called (N)-entities. If there is more than one common version, the latest common version is selected. If there is no common version, the connection establishment request is refused.
+
+**5.8.3.3.3** The sub-version id, when present, is not used in the negotiation mechanisms.
+
+**5.8.3.3.4** In connectionless-mode protocols, no negotiation mechanism is provided. Identification of the protocol version is either implicit (e.g. a priori knowledge) or explicitly conveyed in the PDUs.
+
+### **5.8.4 Properties of connectionless-mode transmission**
+
+**5.8.4.1** All the information required by an (N)-connectionless-mode service to deliver an (N)-service-data-unit (destination address, quality of service required, options, etc.) is presented to it with the (N)-service-data-unit in a single logical service access by the sending (N+1)-entity.
+
+**5.8.4.2** All information related to an (N)-service-data-unit, together with the (N)-service-data-unit itself, is received from the (N)-service in a single logical service access by the receiving (N+1)-entity.
+
+**5.8.4.3** To provide the (N)-connectionless-mode service, the (N)-layer performs functions as described in 5.3.3.3. These functions are supported by (N)-protocols.
+
+**5.8.4.4** If an (N)-service-data-unit cannot be accepted by an (N+1)-entity at the time of its arrival at an (N)-service-access-point, the (N+1)-entity may apply service boundary flow control (see 5.8.8.4). This may result in the discarding of the (N)-service-data-unit by the (N)-service provider or, where flow control is provided, in the exercise of service boundary flow control at the sending (N)-service-access-point by the (N)-service provider.
+
+**5.8.4.5** An (N)-connectionless-mode service may allow the transmission of copies of an (N)-service-data-unit to a number of destination (N)-service-access-points. (N)-service-data-units transmitted from a number of source (N)-service-access-points can be received at one destination (N)-service-access point. The (N)-layer does not assume any logical relationship between these (N)-service-data-units.
+
+**5.8.4.6** No (N)-protocol-control-information is exchanged between (N)-entities concerning the mutual willingness of the (N+1)-entities to exchange data using an (N)-connectionless-mode service.
+
+###### NOTES
+
+1 The specific interface mechanism employed by a particular implementation of a connectionless-mode service may involve more than one interface exchange to accomplish the single logical service access necessary to initiate a connectionless-mode transmission. However, this is a local implementation detail.
+
+2 The transmission of each (N)-service-data-unit by an (N)-connectionless-mode service should be entirely self-contained. All the addressing and other information required by the (N)-layer to deliver the (N)-service-data-unit to its destination should be included in the service access for each transmission.
+
+3 It is a basic characteristic of connectionless-mode service that no negotiation of the parameters for a transmission takes place at the time the service is accessed and no dynamic association is set up between the parties involved. However, considerable freedom of choice can be preserved by allowing most parameter values and options (such as transfer rate, acceptable error rate, etc.) to be specified at the time the service is accessed. In a given implementation, if the local (N)-subsystem determines immediately (from information available to it locally) that the requested transmission cannot be performed under the conditions specified, it may abort the transmission, returning an implementation specific error message. If the same determination is made later, after the service access has been completed, the transmission is abandoned, since the (N)-layer is assumed not to have the information necessary to take any other action.
+
+### 5.8.5 Properties of connection-mode transmission
+
+**5.8.5.1** An (N)-connection is an association established for communication between two or more (N+1)-entities, identified by their (N)-addresses. An (N)-connection is offered as a service by the (N)-layer, so that information may be exchanged between the (N+1)-entities.
+
+**5.8.5.2** An (N+1)-entity may have, simultaneously, one or more (N)-connections with other (N+1)-entities, with any given (N+1)-entity, and with itself.
+
+**5.8.5.3** An (N)-connection is established by referencing, either explicitly or implicitly, an (N)-address for the source (N+1)-entity and an (N)-address for each of one or more destination (N+1)-entities.
+
+NOTE – The specific interface mechanism employed by a particular implementation of a connection-mode service may involve more than one interface exchange to accomplish the single logical service access necessary to initiate a connection-mode transmission. However, this is a local implementation detail.
+
+**5.8.5.4** The source (N)-address and one or more of the destination (N)-addresses may be the same. One or more of the destination (N)-addresses may be the same while the source (N)-address is different. All may be different.
+
+**5.8.5.5** One (N)-connection-endpoint is constructed for each (N)-SAP-address referenced explicitly or implicitly when an (N)-connection is established.
+
+**5.8.5.6** An (N+1)-entity accesses an (N)-connection via an (N)-service-access-point.
+
+**5.8.5.7** An (N)-connection has two or more (N)-connection-endpoints.
+
+**5.8.5.8** An (N)-connection-endpoint is not shared by (N+1)-entities or (N)-connections.
+
+**5.8.5.9** An (N)-connection-endpoint relates three elements:
+
+- a) an (N+1)-entity;
+- b) an (N)-entity; and
+- c) an (N)-connection.
+
+**5.8.5.10** The (N)-entity and the (N+1)-entity related by an (N)-connection-endpoint are those implied by the (N)-SAP-address referenced when the (N)-connection is established.
+
+**5.8.5.11** An (N)-connection-endpoint has an identifier, called an (N)-connection-endpoint-identifier, which is unique within the scope of the (N+1)-entity which is bound to the (N)-connection-endpoint.
+
+**5.8.5.12** An (N)-connection-endpoint-identifier is not the same as an (N)-SAP-address.
+
+**5.8.5.13** An (N+1)-entity references an (N)-connection, using its (N)-connection-endpoint-identifier.
+
+**5.8.5.14** Multi-endpoint-connections are connections which have three or more connection-endpoints. Two types of multi-endpoint-connection are defined:3)
+
+- a) centralized; and
+- b) decentralized.
+
+**5.8.5.15** A centralized multi-endpoint-connection has a central connection-endpoint. Data sent by the entity associated with the central connection-endpoint is received by the entities associated with all other connection-endpoints. The data sent by an entity associated with any other connection-endpoint is received by the entity associated with the central connection-endpoint.
+
+**5.8.5.16** On a decentralized multi-endpoint-connection, data sent by an (N)-entity associated with any connection-endpoint is received by the (N)-entities associated with all of the other connection-endpoints.
+
+### **5.8.6 Connection establishment and release**
+
+#### **5.8.6.1 Introduction**
+
+**5.8.6.1.1** All (N)-connections require establishment and release procedures. These procedures
+
+- may be designed to send (N)-PCI on the same (N)-connection as (N)-user-data (sometimes called in-band);
+- may be designed to send (N)-PCI on a different (N)-connection than (N)-user-data (sometimes called out-of-band); or
+- may be a priori procedures.
+
+A priori procedures are not the concern of OSI. These procedures may or may not be standardized. In all of these cases, the basic properties of the procedures are the same. Equivalent information is exchanged to initialize and synchronize the state of the correspondent (N)-entities. OSI is only concerned with in-band and out-of-band establishment and release procedures which are standardized.
+
+**Table 1 – Functions used in Modes of Communication**
+
+| Reference (Subclause) | Function | Connection | Connectionless |
+|-----------------------|-----------------------|------------|----------------|
+| 5.8.6 | Conn Estab. & Rel | x | |
+| 5.8.6.4 | Suspend | x | |
+| 5.8.6.5 | Resume | x | |
+| 5.8.7 | Muxing & Splitting | x | x |
+| 5.8.8.1 | Normal Data Transfert | x | x |
+| 5.8.8.2 | during Establishment | x | |
+| 5.8.8.3 | Flow Control | x | x |
+| 5.8.8.4 | Expedited | x | |
+| 5.8.8.5 | Segmenting | x | x |
+| | Blocking | x | |
+| | Concatenation | x | x |
+| 5.8.8.6 | Sequencing | x | x |
+| 5.8.9.1 | Acknowledgement | x | x |
+| 5.8.9.2 | Error Detect & Notif | x | x |
+| 5.8.9.3 | Reset | x | |
+| 5.9 | Routing | x | x |
+| 5.10 | Quality of Service | xx | x |
+
+3) Other type of multi-endpoint-connections are for further study.
+
+**5.8.6.1.2** OSI protocols, operating independently of a given set of instances of communication, may be employed to control the resources that are required to support those instances of communications. These protocols, which are often called “out-of-band”, can be used, for example, in support of the establishment of (N)-connections. Information needed for the establishment of an (N)-connection may be conveyed, not only through the direct (normally called “in-band”) (N)-protocol, but also as part of a different (N)-layer protocol, common to many instances of communications.
+
+**5.8.6.1.3** Non-standard procedures can be allowed in a compatible manner without affecting the operation of the (N)-protocol or (N+1)-protocol. These non-standard procedures should not affect addressing, quality of service, service primitives, OSI management, etc.
+
+**5.8.6.1.4** Some (N)-protocols may provide for the combining of connection establishment and connection release protocol exchanges.
+
+#### **5.8.6.2 Connection establishment**
+
+**5.8.6.2.1** The establishment of an (N)-connection by peer-(N)-entities of an (N)-layer requires the following:
+
+- a) the availability of an (N–1)-service between the supporting (N)-entities; and
+- b) both (N)-entities be in a state in which they can execute the connection establishment protocol exchange.
+
+**5.8.6.2.2** If it is not already available, an (N–1)-service has to be established by peer-(N–1)-entities of the (N–1)-layer. This requires, for the (N–1)-layer, the same conditions as described above for the (N)-layer.
+
+**5.8.6.2.3** The same consideration applies downwards until either an available lower layer service or the physical medium for OSI is encountered.
+
+**5.8.6.2.4** Depending upon the characteristics of the (N–1)-service and of the establishment protocol exchange, the establishment of an (N)-connection may or may not be done in conjunction with the establishment of the (N–1)-connection.
+
+**5.8.6.2.5** The characteristics of the (N)-service with regard to the establishment of the (N)-connection vary depending upon whether or not (N)-user-data can be transferred by the connection establishment protocol exchange for each direction of the (N)-connection.
+
+**5.8.6.2.6** Where (N)-user-data is transferred by the (N)-connection establishment protocol exchange, the (N+1)-protocol may take advantage of this to allow an (N+1)-connection to be established in conjunction with the establishment of the (N)-connection. This is termed “embedding of connection establishment”. If embedding at all layers were to be permitted, then the length of the user-data parameter in a connection establishment PDU may have to be indefinite.
+
+**5.8.6.2.7** At certain layers the complexity involved in providing arbitrarily long user data fields in connection establishment primitives at every layer may outweigh any savings that could be accomplished by embedding.
+
+**5.8.6.2.8** Embedding between adjacent layers where there are multiplexing, re-use, or quality of service enhancement functions causes complexity and redundancy of mechanism. Such additional complexity and redundancy do not necessarily cancel out all of the potential advantages of embedding. It is the responsibility of a layer to decide when protocol elements should be passed in the connection request or in the first data request, provided that adequate protocols are defined which allow such a selection.
+
+**5.8.6.2.9** If embedding is used, failure of a connection establishment will result in failure of the embedded connection establishments.
+
+#### **5.8.6.3 Connection Release**
+
+**5.8.6.3.1** The release of an (N)-connection is normally initiated by one of the (N+1)-entities associated in it.
+
+**5.8.6.3.2** The release of an (N)-connection may also be initiated by one of the (N)-entities supporting it as a result of an exception condition occurring in the (N)-layer or the layers below.
+
+**5.8.6.3.3** Depending upon the conditions, release of an (N)-connection may result in the discarding of (N)-user-data.
+
+**5.8.6.3.4** The orderly release of an (N)-connection requires either the availability of an (N–1)-connection, or a common reference to time (for example, time of failure of the (N–1)-connection and common time-out). In addition, it requires that both (N)-entities are in a state in which they can execute the connection release protocol exchange. It is important to note, however, that the release of an (N–1)-connection does not necessarily cause the release of the (N)-connection(s) which were using it; the (N–1)-connection can be re-established, or another (N–1)-connection substituted.
+
+NOTE – The common reference to time refers to the expiration of time with respect to, or relative to an instance of service.
+
+**5.8.6.3.5** The characteristics of the (N)-service with regard to the release of an (N)-connection can be of two kinds:
+
+- a) (N)-connections are either released immediately when the release protocol is initiated [(N)-user-data not yet delivered may be discarded]; or
+- b) release is delayed until all (N)-user-data sent previous to the initiation of the release protocol exchange has been delivered (i.e. delivery confirmation has been received).
+
+**5.8.6.3.6** (N)-user-data may be transferred by the connection release protocol exchange.
+
+#### **5.8.6.4 The Suspend function**
+
+Suspend is an OSI function provided by the (N)-layer in which a (N-1)-connection can be terminated while the (N)-connection is preserved. A Suspend function in an (N)-layer may be invoked at the explicit request of an upper layer when an upper layer entity has knowledge of future activity that indicate that releasing the (N-1)-connection would be advantageous, or it may be invoked spontaneously within the operation of the (N)-layer based on the occurrence of some condition (e.g. some period of time with no data transferred) that makes it advantageous to release the (N-1)-connection.
+
+#### **5.8.6.5 The Resume function**
+
+Normal operation will be resumed as soon as one party or the other is required to communicate across the suspended (N-1)-connection. To resume such a connection, the (N)-layer will have to re-establish the (N-1)-connection.
+
+### **5.8.7 Multiplexing and splitting**
+
+**5.8.7.1** Within the (N)-layer, (N)-connections are mapped onto (N-1)-connections. The mapping may be one of three kinds:
+
+- a) one-to-one;
+- b) many (N)-connections to one (N-1)-connection (multiplexing); and
+- c) one (N)-connection to many (N-1)-connections (splitting).
+
+**5.8.7.2** Multiplexing may be needed in order to:
+
+- a) make more efficient or more economic use of the (N-1)-service; and
+- b) provide several (N)-connections in an environment where only a single (N-1)-connection exists.
+
+**5.8.7.3** Splitting may be needed in order to:
+
+- a) improve reliability where more than one (N-1)-connection is available;
+- b) provide the required grade of performance, through the utilization of multiple (N-1)-connections; and
+- c) obtain cost benefits by the utilization of multiple low cost (N-1)-connections each with less than the required grade of performance.
+
+**5.8.7.4** Multiplexing and splitting each involve a number of associated functions which may not be needed for one-to-one connection mapping.
+
+**5.8.7.5** The functions associated with multiplexing are:
+
+- a) identification of the (N)-connection for each (N)-protocol-data-unit transferred over the (N-1)-connection, in order to ensure that (N)-user-data from the various multiplexed (N)-connections are not mixed. This identification is distinct from that of the (N)-connection-endpoint-identifiers and is called an (N)-protocol-connection-identifier;
+- b) flow control on each (N)-connection in order to share the capacity of the (N-1)-connection (see 5.8.8.3); and
+- c) scheduling the next (N)-connection to be serviced over the (N-1)-connection when more than one (N)-connection is prepared to send data.
+
+**5.8.7.6** The functions associated with splitting are:
+
+- a) scheduling the utilization of multiple (N-1)-connections used in splitting a single (N)-connection; and
+- b) resequencing of (N)-protocol-data-units associated with an (N)-connection since they may arrive out of sequence even when each (N-1)-connection guarantees sequence of delivery (see 5.8.8.6).
+
+### 5.8.8 Transfer of data
+
+#### 5.8.8.1 Normal data transfer
+
+**5.8.8.1.1** Control information and user data are transferred between (N)-entities in (N)-protocol-data-units. An (N)-protocol-data-unit is a unit of data specified in an (N)-protocol and contains (N)-protocol-control-information and possibly (N)-user-data.
+
+**5.8.8.1.2** (N)-protocol-control-information is transferred between (N)-entities using an (N-1)-service. (N)-protocol-control-information is any information that supports the joint operation of (N)-entities. (N)-user-data is passed transparently between (N)-entities using an (N-1)-service.
+
+**5.8.8.1.3** An (N)-protocol-data-unit has a finite size, which may be limited by the (N-1)-protocol-data-unit size and by the capabilities of the (N)-protocol. (N)-protocol-data-units are mapped into (N-1)-service-data-units. The interpretation of an (N)-protocol-data-unit is defined by the (N)-protocol in effect for the (N)-service.
+
+**5.8.8.1.4** An (N)-service-data-unit is transferred between an (N+1)-entity and an (N)-entity, through an (N)-service-access-point. Each (N)-service-data-unit is transferred as (N)-user-data in one or more (N)-protocol-data-units.
+
+**5.8.8.1.5** The exchange of data under the rules of an (N)-protocol can only occur if an instance of the (N-1)-service exists. If an instance of the (N-1)-service does not exist, it shall be established before an exchange of data can occur (see 5.8.6).
+
+**5.8.8.1.6** The quality of service agreed when the connection was established is related to the flow of service-data-units across service-access-points.
+
+**5.8.8.1.7** Even when blocking takes place it is always within the quality of service agreed when the connection was established. There is no case where data will be delayed indefinitely.
+
+#### 5.8.8.2 Data transfer during connection establishment and release
+
+**5.8.8.2.1** (N)-user-data may be transferred in the (N)-connection establishment protocol exchange and in the (N)-connection release protocol exchange.
+
+**5.8.8.2.2** The connection release protocol exchange may be combined with the connection establishment protocol exchange (see 5.8.6) to provide a means for the delivery of a single unit of (N)-user-data between correspondent (N+1)-entities with a confirmation of receipt.
+
+#### 5.8.8.3 Flow control
+
+**5.8.8.3.1** If flow control functions are provided in connectionless-mode, they can operate only on protocol-data-units and service-data-units.
+
+**5.8.8.3.2** Two types of flow control are identified:
+
+- a) peer flow control which regulates the rate at which (N)-protocol-data-units are sent between (N)-entities supporting either (N)-connectionless-mode or (N)-connection-mode transmission. Peer flow control requires protocol definitions and is based on protocol-data-unit size; and
+- b) service boundary flow control, which regulates the rate at which (N)-service-data-units are passed between an (N+1)-entity and an (N)-entity that supports either an (N)-connectionless-mode or (N)-connection-mode service. Service boundary flow control is based on (N)-service-data-unit size.
+
+**5.8.8.3.3** In connectionless-mode transmission, peer flow control may operate on (N)-PDUs within an (N)-SDU, but not across (N)-SDU boundaries.
+
+NOTE – It may happen however that peer flow control actually results in de facto action across (N)-SDU boundaries. Such is the case when a sublayer using a connectionless-mode protocol operates over a sublayer operating a connection-mode protocol. Successive (N)-SDUs may be carried in connectionless PDUs which are themselves carried in the PDUs of the connection-mode protocol. Any peer flow control operating on these PDUs thus results in an action across the (N)-SDU boundaries.
+
+**5.8.8.3.4** Multiplexing in a layer may require a peer flow control function for individual flows (see 5.8.7.5).
+
+**5.8.8.3.5** Peer flow control functions require flow control information to be included in the (N)-protocol-control-information of an (N)-protocol-data-unit.
+
+**5.8.8.3.6** If the size of service-data-units exceeds the maximum size of the (N)-user-data portion of an (N)-protocol-data-unit, then first segmentation shall be performed on the (N)-service-data-unit to make it fit within the (N)-protocol-data-units. Peer flow control can then be applied on the (N)-protocol-data-units.
+
+#### 5.8.8.4 Expedited transfer of data
+
+**5.8.8.4.1** An expedited-data-unit is a service-data-unit which is transferred and/or processed with priority over normal service-data-units. An expedited data transfer service may be used for signalling and interrupt purposes. Expedited data is only provided in connection-mode transmission.
+
+**5.8.8.4.2** Expedited data flow is independent of the states and operation of the normal data flow, although the data sent on the two flows may be logically related. Conceptually, a connection that supports expedited flow can be viewed as having two subchannels, one for normal data, the other for expedited data. Data sent on the expedited channel is assumed to be given priority over normal data.
+
+**5.8.8.4.3** The transfer guarantees that an expedited-data-unit will not be delivered after any subsequent normal service-data-unit or expedited-data-unit sent on the connection.
+
+**5.8.8.4.4** Because the expedited flow is assumed to be used to transfer small amounts of data infrequently, simplified flow control mechanisms may be used on this data flow.
+
+**5.8.8.4.5** An expedited (N)-service-data-unit is intended to be processed by the receiving (N+1)-entity with priority over normal (N)-service-data-units.
+
+**5.8.8.4.6** An expedited (N)-SDU is associated with a specific (N)-connection. Expedited data is defined relative to the normal data flow of the associated (N)-connection. It is not necessarily expedited with respect to other (N)-connections or the connections in higher or lower layers. Expedited data at the (N)-layer will not necessarily be expedited at a lower layer.
+
+**5.8.8.4.7** Expedited data is not destructive and should not be confused with reset. The receiving entity may decide on some response, such as to abort output, which is destructive, but that is a separate step. Further, expedited data is not provided as a method for providing two streams of traffic at different priority levels. Expedited data is intended for use in exceptional circumstances; not as part of routine transfer of data.
+
+**5.8.8.4.8** Expedited data transmission as defined here does not occur with connectionless-mode data transmission. Although a similar effect may be achieved by requesting different quality of service parameters, such as lower delay time or higher “priority”, it is impossible to guarantee delivery before “any subsequent normal SDU” by that means.
+
+**5.8.8.4.9** The constraints imposed by the above clauses are that the expedited-data-units:
+
+- 1) have a limited size; and
+- 2) are subject to separate flow control mechanisms in each (N)-layer.
+
+**5.8.8.4.10** In general, this latter constraint means that some small number of expedited data units (usually one) may be outstanding at a time.
+
+**5.8.8.4.11** The consequence of these constraints is that, one should use caution in allowing for mapping an (N)-layer expedited data service to an (N–1) layer expedited data service:
+
+- 1) The size limitation can require dependency between layers to match sizes or might require segmenting and blocking of expedited (N)-SDUs at the (N–1) layer.
+
+NOTE – If the sender provides for mapping of an expedited service through several layers, e.g. Application to Session Layers, and there are uniform size restrictions so that there is no segmenting, then the receiving station will operate properly supporting the expedited service on a layer-by-layer basis whether or not it can provide the same expedited service mapping when it is the sender. Therefore, the size limitations may not have to be formally called out in a standard.
+- 2) There are likely to be problems in managing the use of the (N–1)-expedited-service if that service is used by the (N)-layer in the operation of the (N)-protocol and in providing the (N)-expedited-service.
+- 3) Such a mapping should not be done if the (N)-layer performs multiplexing onto (N–1)-connections. Flow control on expedited at the (N–1) layer can interfere and inhibit expedited on the (N)-connections multiplexed on the (N–1)-connection.
+
+**5.8.8.4.12** In consequence it is preferred that the expedited (N)-SDU be handled entirely by (N)-functions and only rely on the basic (N–1)-data transfer facility, not on special services of the (N–1)-layer, such as (N–1) expedited-service. Where the (N)-protocol makes no use of the (N–1)-expedited-service, an exception may occur. In this case, the (N)-expedited-service-data-unit may then be passed directly through to the (N–1)-expedited-service.
+
+**5.8.8.4.13** Although it may be viable in certain very well constrained cases, as noted above, to map an expedited (N)-SDU to an expedited (N-1)-SDU, this mapping is to be avoided if possible. In some cases, layers may be required to provide more elaborate expedited service such as secure expedited or more flexible flow control, etc. In these cases, more complicated mechanisms will be required to provide the services, such as a separate (N-1)-connection. Such elaboration or mechanisms for efficiency lead to the recommendation to avoid the (N)-expedited to (N-1)-expedited mapping.
+
+**5.8.8.4.14** It should be noted that the expedited service does not guarantee that lower layer flow control mechanisms can be bypassed. The expedited message may be permanently blocked.
+
+#### **5.8.8.5 Segmenting, blocking, and concatenation**
+
+**5.8.8.5.1** Data-units in the various layers are not necessarily of compatible size. It may be necessary to perform segmenting, i.e. to map an (N)-service-data-unit into more than one (N)-protocol-data-unit. Similarly, separation may occur when (N)-protocol-data-units are mapped into a (N-1)-service-data-unit. Since it is necessary to preserve the identity of (N)-service-data-units on an (N)-connection, functions shall be available to identify the segments of an (N)-service-data-unit and to allow the correspondent (N)-entities to reassemble the (N)-service-data-unit.
+
+**5.8.8.5.2** Segmenting may require that information be included in an (N)-protocol-control-information of an (N)-protocol-data-unit. Within a layer, (N)-protocol-control-information is added to the (N)-service-data-unit to form an (N)-protocol-data-unit when no segmenting or blocking is performed [see Figure 10 a)]. If segmenting is performed, an (N)-service-data-unit is mapped into several (N)-protocol-data-units with added (N)-protocol-control-information [see Figure 10 b)].
+
+**5.8.8.5.3** Conversely, it may be necessary to perform blocking. Blocking is the mechanism where several (N)-service-data-units with added (N)-protocol-control-information form an (N)-protocol-data-unit [see Figure 10 c)].
+
+**5.8.8.5.4** The Reference Model also permits concatenation where several (N)-protocol-data-units are concatenated into a single (N-1)-service-data-unit [see Figure 10 d)].
+
+**5.8.8.5.5** Segmenting and concatenation functions may occur in connectionless-mode transmission. Blocking and deblocking functions are not allowed in connectionless-mode transmission.
+
+#### **5.8.8.6 Sequencing**
+
+**5.8.8.6.1** The (N-1)-services provided by the (N-1)-layer of the OSI architecture may not guarantee delivery of (N-1)-service-data-units in the same order as they were submitted by the (N)-layer. In such case, if the (N)-layer needs to preserve the order of (N-1)-service-data-units transferred through the (N-1)-layer sequencing mechanisms shall be present in the (N)-layer. Sequencing may require additional (N)-protocol-control-information.
+
+**5.8.8.6.2** In connectionless-mode transmission, sequencing occurs only indirectly when reassembly is applied to an (N)-SDU.
+
+### **5.8.9 Error functions**
+
+#### **5.8.9.1 Acknowledgement**
+
+**5.8.9.1.1** An acknowledgement function may be used by (N)-entities using an (N)-protocol to obtain a higher probability of detecting protocol-data-unit loss than is provided by the (N-1)-layer. Each (N)-protocol-data-unit transferred between correspondent (N)-entities is made uniquely identifiable, so that the receiver can inform the sender of the receipt of the (N)-protocol-data-unit. An acknowledgement function is also able to infer the non-receipt of (N)-protocol-data-units and the need to take appropriate remedial action.
+
+**5.8.9.1.2** An acknowledgement function may require that information be included in the (N)-protocol-control-information of (N)-protocol-data-units.
+
+**5.8.9.1.3** The scheme for uniquely identifying (N)-protocol-data-units may also be used to support other functions such as detection of duplicate data-units, segmenting and sequencing.
+
+**5.8.9.1.4** In connectionless-mode transmission, acknowledgement can only apply to (N)-PDUs, not on (N)-SDUs.
+
+NOTE – Other forms of acknowledgement such as confirmation of delivery and confirmation of performance of an action are for further study.
+
+
+
+The diagram illustrates four scenarios of data unit relationships within a layer:
+
+- a) Neither segmenting nor blocking:** A single (N)-PDU contains one (N)-PCI and one (N)-SDU.
+- b) Segmenting/Reassembling:** A single (N)-PDU contains one (N)-PCI and multiple (N)-SDUs. A separate (N)-PDU contains one (N)-SDU.
+- c) Blocking/Deblocking:** A single (N)-PDU contains multiple (N)-PCIs and (N)-SDUs.
+- d) Concatenation/Separation:** A single (N)-PDU contains multiple (N)-PCIs and (N)-SDUs. A separate (N)-PDU contains one (N)-SDU.
+
+ISO2910-94/d09
+
+Figure 10: Relationship between (N)-service-data-units, (N)-protocol-data-units and (N-1)-service-data-units within a layer. The diagram shows four scenarios: a) Neither segmenting nor blocking, b) Segmenting/Reassembling, c) Blocking/Deblocking, and d) Concatenation/Separation.
+
+SDU Service-data-unit
+ PCI Protocol-control-information
+ PDU Protocol-data-unit
+
+##### NOTES
+
+- 1 This figure does not imply any potential relationship between protocol-control-information and user-data in protocol-data-units.
+- 2 In the case of concatenation, (N)-protocol-data-unit does not necessarily include an (N)-service-data-unit.
+
+**Figure 10 – Relationship between (N)-service-data-units, (N)-protocol-data-units and (N – 1)-service-data-units within a layer**
+
+#### 5.8.9.2 Error detection and notification
+
+**5.8.9.2.1** Error detection and notification functions may be used by an (N)-protocol to provide a higher probability of both protocol-data-unit error detection and data corruption detection than is provided by the (N–1)-service.
+
+**5.8.9.2.2** Error detection and notification may require that additional information be included in the (N)-protocol-control-information of (N)-protocol-data-units.
+
+**5.8.9.2.3** In connectionless-mode, while the (N)-service provider may attempt to provide a notification upon detection of data corruption or protocol-data-unit loss, misdelivery etc., it cannot be relied upon to be capable of doing so for every instance of error detection.
+
+#### 5.8.9.3 Reset
+
+**5.8.9.3.1** Some services require a reset function to recover from a loss of synchronization between correspondent (N)-entities. A reset function sets the correspondent (N)-entities to a predefined state with a possible loss or duplication of data.
+
+NOTE – Additional functions may be required to determine at what point reliable data transfer was interrupted.
+
+**5.8.9.3.2** A quantity of (N)-user-data may be conveyed in association with the (N)-reset function.
+
+**5.8.9.3.3** The reset function may require that information be included in the (N)-protocol-control-information of the (N)-protocol-data-unit.
+
+**5.8.9.3.4** The reset function does not apply in connectionless-mode transmission.
+
+## **5.9 Routing**
+
+A routing function within the (N)-layer enables communication to be relayed by a chain of (N)-entities. The fact that communication is being routed by intermediate (N)-entities is known by neither the lower layers nor the higher layers. An (N)-entity which participates in a routing function may have a routing table.
+
+## **5.10 Quality Of Service (QOS)**
+
+### **5.10.1 Introduction**
+
+**5.10.1.1** Quality Of Service (QOS) is the collective name given to a set of parameters associated with (N)-data transmission among (N)-service-access-points.
+
+**5.10.1.2** There are two categories of quality of service parameters. The first category applies to both connection-mode and connectionless-mode. The second category applies only to the connection-mode service. The lists of parameters given are only examples. Individual parameters are defined for each layer.
+
+### **5.10.2 Connection/Connectionless parameters**
+
+**5.10.2.1** These parameters apply for the provision of either the (N)-connection-mode service or the (N)-connectionless-mode service.
+
+#### **5.10.2.2 Single transmission related parameters**
+
+**5.10.2.2.1** For the (N)-connection-mode service, the parameters are negotiated during establishment of the (N)-connection. For the connectionless-mode service, the parameters are defined entirely by the behavior of a single (N)-data-transmission and are the same as those defined for the (N)-connection-mode service. Possible parameters are:
+
+- a) expected transmission delay;
+- b) probability of corruption;
+- c) probability of loss or duplication;
+- d) probability of wrong delivery;
+- e) cost;
+- f) protection from unauthorized access; and
+- g) priority.
+
+#### **5.10.2.3 Multiple transmission related parameters**
+
+**5.10.2.3.1** The parameters apply for multiple (N)-data-transmissions between pairs of (N)-service-access-points. Possible parameters are:
+
+- a) expected throughput; and
+- b) probability of out of sequence delivery.
+
+### **5.10.3 Connection-mode parameters**
+
+**5.10.3.1** These parameters apply only to the (N)-connection-mode service and are negotiated by (N)-protocol during the establishment of the (N)-connection.
+
+#### **5.10.3.2 Possible parameters are:**
+
+- a) connection establishment delay;
+- b) connection establishment failure probability;
+- c) connection release delay;
+- d) connection release failure probability;
+- e) connection resilience.
+
+# 6 Introduction to the specific OSI layers
+
+## 6.1 Specific layers
+
+**6.1.1** The general structure of the OSI architecture described in clause 5 provides architectural concepts from which the Reference Model of Open Systems Interconnection has been derived, making specific choices for the layers and their contents.
+
+**6.1.2** The Reference Model contains seven layers:
+
+- a) the Application Layer (layer 7);
+- b) the Presentation Layer (layer 6);
+- c) the Session Layer (layer 5);
+- d) the Transport Layer (layer 4);
+- e) the Network Layer (layer 3);
+- f) the Data Link Layer (layer 2); and
+- g) the Physical Layer (layer 1).
+
+**6.1.3** These layers are illustrated in Figure 11.
+
+
+
+The diagram illustrates the Seven layer reference model and peer protocols. It shows two 'Open System' blocks, each containing seven layers: Application, Presentation, Session, Transport, Network, Data Link, and Physical. Arrows indicate peer-to-peer communication between corresponding layers of the two systems. A label 'Peer protocol' points to the top arrow. A label 'Physical media for OSI' points to a box at the bottom representing the physical layer. The text 'TISO2920-94/d10' is in the bottom right corner.
+
+Diagram of the Seven layer reference model and peer protocols. It shows two 'Open System' blocks, each containing seven layers: Application, Presentation, Session, Transport, Network, Data Link, and Physical. Arrows indicate peer-to-peer communication between corresponding layers of the two systems. A label 'Peer protocol' points to the top arrow. A label 'Physical media for OSI' points to a box at the bottom representing the physical layer. The text 'TISO2920-94/d10' is in the bottom right corner.
+
+**Figure 11 – Seven layer reference model and peer protocols**
+
+**6.1.4** The highest is the Application Layer and it consists of the application-entities that cooperate in the OSI Environment. The lower layers provide the services through which the application-entities cooperate.
+
+**6.1.5** Layers 1 to 6, together with the physical media for OSI provide a step-by-step enhancement of communication services. The boundary between two layers identifies a stage in this enhancement of services at which an OSI service standard is defined while the functioning of the layers is governed by OSI protocol standards.
+
+**6.1.6** Not all open systems provide the initial source or final destination of data. When the physical media for OSI do not link all open systems directly, some open systems act only as relay open systems, passing data to other open systems. The functions and protocols which support the forwarding of data are then provided in the lower layers. This is illustrated in Figure 12.
+
+
+
+The diagram illustrates the communication between three Open Systems (left, middle, and right) through Physical media for OSI. The layers shown are Application, Presentation, Session, Transport, Network, Data Link, and Physical. Arrows indicate data flow between the systems and the relay system. The Physical media for OSI is shown at the bottom, connecting the Physical layers of all three systems.
+
+Figure 12: Communication involving relay open systems. The diagram shows three Open Systems (left, middle, and right) connected via Physical media for OSI. The left and right systems are connected to the middle system, which acts as a relay. The layers shown are Application, Presentation, Session, Transport, Network, Data Link, and Physical. Arrows indicate data flow between the systems and the relay system. The Physical media for OSI is shown at the bottom, connecting the Physical layers of all three systems.
+
+**Figure 12 – Communication involving relay open systems**
+
+## 6.2 The principles used to determine the seven layers in the Reference Model
+
+**6.2.1** The following principles have been used to determine the seven layers in the Reference Model and are felt to be useful for guiding further decisions in the development of OSI standards:
+
+NOTE – It may be difficult to prove that any particular layering selected is the best possible solution. However, there are general principles which can be applied to the question of where a boundary should be placed and how many boundaries should be placed.
+
+- Do not create so many layers as to make the system engineering task of describing and integrating the layers more difficult than necessary.
+- Create a boundary at a point where the description of services can be small and the number of interactions across the boundary are minimized.
+- Create separate layers to handle functions that are manifestly different in the process performed or the technology involved.
+- Collect similar functions into the same layer.
+- Select boundaries at a point which past experience has demonstrated to be successful.
+- Create a layer of easily localized functions so that the layer could be totally redesigned and its protocols changed in a major way to take advantage of new advances in architectural, hardware or software technology without changing the services expected from and provided to the adjacent layers.
+- Create a boundary where it may be useful at some point in time to have the corresponding interface standardized.
+
+###### NOTES
+
+1 Advantages and drawbacks of standardizing internal interfaces within open systems are not considered in this Recommendation | International Standard. In particular, mention of, or reference to principle g), should not be taken to imply usefulness of standards for such internal interfaces.
+
+2 It is important to note that OSI *per se* does not require interfaces within open systems to be standardized. Moreover, whenever standards for such interfaces are defined, adherence to such internal interface standards can in no way be considered as a condition of openness.
+
+- h) Create a layer where there is a need for a different level of abstraction in the handling of data, for example morphology, syntax, semantics.
+- j) Allow changes of functions or protocols to be made within a layer without affecting other layers; and
+- k) create for each layer, boundaries with its upper and lower layer only.
+
+Similar principles have been applied to sublayering:
+
+- m) Create further subgrouping and organization of functions to form sublayers within a layer in cases where distinct communication services need it.
+- n) Create, where needed, two or more sublayers with a common, and therefore minimal functionality to allow interface operation with adjacent layers; and
+- p) allow by-passing of sublayers.
+
+## 6.3 Layer descriptions
+
+**6.3.1** For each of the seven layers identified above, clause 7 provides:
+
+- a) an outline of the purpose of the layer;
+- b) a description of the services offered by the layer to the layer above; and
+- c) a description of the functions provided in the layer and the use made of the services provided by the layer below.
+
+The descriptions, by themselves, do not provide a complete definition of the services and protocols for each layer. These are the subject of separate standards.
+
+**6.3.2** The facilities and functions listed in clause 7 for each layer represent the set of architectural possibilities. A service definition derived from these definitions for a particular layer may include some, or all of the facilities and it may be characterized by none, some or all of the QoS parameters defined for the layer in clause 7 and in 5.10. A protocol specification derived from these definitions for a particular layer may invoke some or all of the functions defined for the layer. Such a service or protocol is constrained to not utilize nor invoke facilities or functions that are not listed.
+
+## 6.4 Combinations of connection-mode and connectionless-mode
+
+**6.4.1** The provision of connectionless-mode and connection-mode services in specific layers of the Reference Model and the characteristics of these services, together with the provision of functions providing for conversion within a layer between one mode of service and another, should be such as to ensure that it is possible to determine whether or not interworking between open systems is possible. In order to maximize the possibility of interworking and to limit protocol complexity, there is a restriction on the number of layers within which conversion between one mode of service and the other may take place. This restriction applies to the layers as follows:
+
+- a) Special considerations apply to the Physical and Data Link Layers. Connection-mode and connectionless-mode services are not differentiated for the Physical Layer. The services of the Physical Layer are determined by the characteristics of the underlying medium and are too diverse to allow categorization into connection-mode and connectionless-mode operation. Functions in the Data Link Layer must convert between the services offered by the Physical Layer and the type of Data Link service needed.
+- b) Conversion may be provided in the Network Layer to support a network service of a given mode over a Data Link or subnetwork service of the other mode. This, in conjunction with relaying, provides an end-to-end network service of a given mode over concatenated subnetworks and/or Data Link services of either mode (see 5.3.4). Support of such conversions, where they are necessary to provide a given mode of network service, is a requirement of OSI standards.
+
+- c) Conversion may be provided in the Transport Layer on condition that this makes use of only limited additional protocol functions over those required to support a given mode of transport service over the same mode of network service. Since relaying is not permitted in the Transport Layer, such conversions can only be applied between end-systems. Support for such conversions is not a requirement of OSI standards.
+- d) Conversion in the Session and Presentation Layer is not permitted.
+- e) No conversion restrictions are imposed at the Application Layer.
+
+NOTE – It is not possible (since a transport protocol operates between end-systems) for a transport protocol to provide the transport service in an instance of communication between two end-systems utilizing (in that instance of communication) different modes of network service.
+
+**6.4.2** It follows from these restrictions that:
+
+- a) A real open system as defined in 4.1.2 shall support a given mode of transport service over a network service of the same mode (utilizing conversion within the Network Layer if necessary); such a system may, in addition, provide conversion in the Transport Layer.
+- b) A real system which only supports a given mode of transport service by providing conversion in the Transport Layer from a network service of the other mode is not fully open as defined in 4.1.2, since such a system would be incapable of communicating with a system which only supports the given mode of transport service over a network service of the same mode.
+
+NOTE – The restriction that a given mode of transport service has to be supported by the same mode of network service is applied so that systems may communicate without requiring prior agreement on the mode of network service to be used. Where prior agreement exists this restriction need not apply, although the requirements for systems to be fully open are as stated in item a) above.
+
+## **6.5 Configurations of OSI Open Systems**
+
+### **6.5.1 Definitions**
+
+**6.5.1.1 OSI End System:** An open system, which for a particular instance of communication, is the ultimate source or destination of data.
+
+**6.5.1.2 OSI-(N)-Relay System:** An open system which, for a particular instance of communication, makes use of OSI functions up to and including functions of the (N)-layer and where a relay function is executed within the (N)-layer.
+
+### **6.5.2 Properties**
+
+**6.5.2.1** The Reference Model is not restricted to configurations in which only two real open systems participate in an instance of communication nor to configurations in which all participating real open systems are connected to one another by the same physical medium. It also considers configurations in which communication between real open systems involves other real open systems providing relay functions (see 5.3).
+
+**6.5.2.2** In order to distinguish between the roles of real open systems involved in an instance of communication, a real open system in which there is an application-process acting either as final source or destination of data is termed an (OSI) end real open system for that instance of communication, and a real open system which is providing a relay function at layer N is termed an OSI (N)-relay system for that instance of communication.
+
+**6.5.2.3** From the point of view of a particular instance of communication a real open system may be acting in the role either of an OSI end system or an OSI (N)-relay system, but it does not necessarily act in the same way for all instances of communication in which it is involved. These different views of the same open system may appear successively, or even simultaneously when the open system is engaged in several communications with the same or different open systems.
+
+**6.5.2.4** In configurations involving OSI-(N)-relay systems, the Reference Model considers the case where several subnetworks (see 7.5.1) are used in tandem or in parallel (see 7.5.2.3). This involves routing and relaying functions to establish connections through such networks of OSI-(N)-relay systems. Such functions, which support the forwarding of data through OSI-(N)-relay systems, are provided in the lower three layers (see 6.1) or in the Application Layer.
+
+**6.5.2.5** In the context of distributed applications, relaying may be performed in application-entities.
+
+**6.5.2.6** Thus transport-entities are only involved in instances of communication where the open systems act as OSI end systems or as OSI-(N)-relay systems when the relaying function occurs in the Application Layer.
+
+# 7 Detailed description of the resulting OSI architecture
+
+## 7.1 Application Layer
+
+### 7.1.1 Definitions
+
+**7.1.1.1 application-entity:** An active element, within an application process, embodying a set of capabilities which is pertinent to OSI and which is defined for the Application Layer, that corresponds to a specific application-entity-type (without any extra capabilities being used).
+
+**7.1.1.2 abstract syntax:** The specification of Application-protocol-data-units by using notation rules which are independent of the encoding technique used to represent them.
+
+### 7.1.2 Purpose
+
+**7.1.2.1** As the highest layer in the Reference Model of Open Systems Interconnection, the Application Layer provides the sole means for the application process to access the OSIE. Hence the Application Layer has no boundary with a higher layer.
+
+**7.1.2.2** The aspects of an application process which need to be taken into account for the purpose of OSI are represented by one or more application-entities.
+
+**7.1.2.3** An application-entity represents one and only one application process in the OSIE. Different application processes may be represented by application-entities of the same application-entity-type. An application process may be represented by a set of application-entities: each application-entity in this set may be, but need not be, of different application-entity-type.
+
+### 7.1.3 Services provided by application-entities
+
+#### 7.1.3.1 General
+
+**7.1.3.1.1** Application-processes exchange information by means of application-entities which use application-protocols and presentation services.
+
+**7.1.3.1.2** As the only layer in the Reference Model that directly provides services to the application-processes, the Application Layer necessarily provides all OSI services directly usable by application-processes.
+
+**7.1.3.1.3** There exists no Application Layer service in the sense of (N)-layer service in that there is neither a general service provided to an upper layer nor a relation to a service-access-point.
+
+NOTE – The related concept of OSI-service, defined in ISO/IEC 10731, is applicable in the Application Layer.
+
+#### 7.1.3.2 Connection-mode facilities
+
+In addition to information transfer, such facilities may include, but are not limited to the following:
+
+- a) identification of the intended communication partners (for example by name, by address, by definite description, by generic description);
+- b) determination of the acceptable quality of service (for example response time, tolerable error rate, cost vis-a-vis the previous considerations);
+- c) synchronization of cooperating applications;
+- d) agreement on responsibility for error recovery;
+- e) agreement on security aspects (e.g. authentication, access control, data integrity);
+- f) selection of mode of dialogue; and
+- g) identification of abstract syntaxes.
+
+#### 7.1.3.3 Connectionless-mode facilities
+
+**7.1.3.3.1** Where appropriate for connectionless-mode operation, equivalent facilities to those provided for connection-mode operation are provided in the Application Layer to application-processes.
+
+**7.1.3.3.2** In addition to information transfer, such facilities constituting the service may include, but are not limited to, the following:
+
+- a) identification of intended communication partners;
+- b) establishment of authority to communicate;
+- c) authorization of intended communication partners;
+- d) determination of the acceptable quality of service; and
+- e) identification of abstract syntaxes.
+
+### **7.1.4 Functions within the Application Layer**
+
+**7.1.4.1** The Application Layer contains all those functions which imply communication in either mode between open systems that are not already performed by the lower layers. These include functions performed by programs as well as functions performed by human beings.
+
+**7.1.4.2** In particular, application-entities maintain, as part of the pre-knowledge necessary in order to communicate, (or have access to, via use of a directory facility) information on the use of connection-mode and/or connectionless-mode transmission by the peer entities with which they may need to communicate.
+
+#### **7.1.4.3 Groupings of functions in the Application Layer**
+
+An application-entity can be structured internally into Application Layer objects representing groups of functions. Use of one grouping of functions may depend on use of some other functions, and the active functions may vary during the lifetime of the application-association.
+
+## **7.2 Presentation Layer**
+
+### **7.2.1 Definitions**
+
+**7.2.1.1 concrete syntax:** Those aspects of the rules used in the formal specification of data which embody a specific representation of that data.
+
+**7.2.1.2 transfer syntax:** The abstract and concrete syntax used in the transfer of data between open systems.
+
+**7.2.1.3 presentation context:** An association of an abstract syntax with a transfer syntax.
+
+### **7.2.2 Purpose**
+
+**7.2.2.1** The Presentation Layer provides for the representation of information that application-entities either communicate or refer to in their communication.
+
+**7.2.2.2** The Presentation Layer provides for common representation of the data transferred between application-entities. This relieves application-entities of any concern with the problem of “common” representation of information, i.e. it provides them with syntax independence.
+
+**7.2.2.3** The Presentation Layer ensures that the information content of the Application Layer data is preserved during transfer. Cooperating application-entities are responsible for determining the set of abstract syntaxes they employ in their communication. The Presentation Layer is informed of the abstract syntaxes that are to be employed. Knowing the set of abstract syntaxes to be used by the application-entities, the Presentation Layer is responsible for selecting mutually acceptable transfer syntaxes.
+
+NOTE – Presentation-entities have no role in determining the set of abstract syntaxes to be used by the application-entities.
+
+### **7.2.3 Services provided to the Application Layer**
+
+**7.2.3.1** The Presentation Layer provides the following facilities:
+
+- a) identification of a set of transfer syntaxes;
+- b) selection of transfer syntax; and
+- c) access to session services.
+
+**7.2.3.2** Identification of a set of transfer syntaxes provides one or more means of representing an abstract syntax. Selection of transfer syntax provides the means of initially selecting a transfer syntax and subsequently modifying the selection.
+
+**7.2.3.3** Session services are provided to application-entities in the form of presentation services.
+
+**7.2.3.4** In connectionless-mode, segmentation and resassembly are not provided in the Presentation Layer. Thus, the size of presentation-service-data-units is limited by the size of presentation-protocol-data-units and presentation-protocol-control-information.
+
+### **7.2.4 Functions within the Presentation Layer**
+
+The Presentation Layer performs the following functions to help accomplish the presentation-services:
+
+- a) negotiation and re-negotiation of transfer syntax;
+- b) representation of the abstract syntax chosen by the application-entities in the transfer syntax negotiated or renegotiated, including format and special purpose transformations (for example, data compression);
+- c) restoration of previously negotiated syntaxes on the occurrence of certain events; and
+- d) use of session-services.
+
+#### **7.2.4.1 Representation of abstract syntax**
+
+**7.2.4.1.1** Application-entities agree on the abstract syntaxes that will be used for their communication. It is necessary that these abstract syntaxes are represented in appropriate transfer syntaxes for communication to take place.
+
+NOTE – Within a real open system, data defined in terms of an abstract syntax will be represented within the local system environment by a local concrete syntax. A transformation may be necessary between the local concrete syntax and the transfer syntax. Thus, in communication between real open systems there are three concrete syntax versions of the data: the concrete syntax used by the originating application-entity, the concrete syntax used by the receiving application-entity, and the concrete syntax used between the presentation-entities (the transfer syntax). It is clearly possible that any or all of these syntaxes be identical. The local concrete syntaxes are not visible within the OSIE.
+
+**7.2.4.1.2** The fact that there is or is no actual transformation of concrete syntax has no impact on the presentation-protocol.
+
+**7.2.4.1.3** There is not a single predetermined transfer syntax for all OSI. In connection-mode, the transfer syntax to be used on a presentation-connection is negotiated between the correspondent presentation-entities.
+
+**7.2.4.1.4** In connectionless-mode, the transfer syntax is selected, but cannot be negotiated.
+
+#### **7.2.4.2 Negotiation of transfer syntax**
+
+**7.2.4.2.1** Negotiation (or selection) of transfer syntax takes place between two presentation-entities when an application-entity provides the name of an abstract syntax for which a transfer syntax is required.
+
+**7.2.4.2.2** In general, there may be more than one combination of abstract syntax and transfer syntax. It may be possible to represent a specific abstract syntax by one or more transfer syntaxes; also it may be possible to use one transfer syntax to represent more than one abstract syntax. Each combination of abstract syntax and transfer syntax is called a presentation context. From the viewpoint of the application-entity, a presentation context represents a specific distinct use of an abstract syntax.
+
+#### **7.2.4.3 Addressing and Multiplexing**
+
+There is no multiplexing or splitting in the Presentation Layer.
+
+## **7.3 Session Layer**
+
+### **7.3.1 Definitions**
+
+**7.3.1.1 token management:** A facility of the session-service which allows correspondent presentation-entities to control explicitly whose right it is to exercise certain session-services.
+
+**7.3.1.2 duplex mode:** A mode of interaction where both presentation-entities may concurrently send and receive normal data.
+
+**7.3.1.3 half-duplex mode:** A mode of interaction where, at a given instance, only one of the two correspondent presentation-entities is allowed to send normal data.
+
+**7.3.1.4 session-connection synchronization:** A facility of the session-service which allows presentation-entities to define and to identify synchronization points and to reset a session-connection to a predefined state and to agree on a resynchronization point.
+
+### **7.3.2 Purpose**
+
+**7.3.2.1** The purpose of the Session Layer is to provide the means necessary for cooperating presentation-entities to organize and to synchronize their dialogue and to manage their data exchange. To do this, the Session Layer provides services to establish a session-connection between two presentation-entities, to support orderly data exchange interactions, and to release the connection in an orderly manner.
+
+**7.3.2.2** The only function of the Session Layer for connectionless-mode communication is to provide a mapping of transport-addresses to session-addresses.
+
+**7.3.2.3** A session-connection is created when requested by a presentation-entity at a session-service-access-point. The session-connection exists until it is released by either the presentation-entities or the session-entities.
+
+**7.3.2.4** The initiating presentation-entity designates the destination presentation-entity by a session address. In general, there is a many-to-one correspondence between the session-addresses and transport-addresses. This does not imply multiplexing of session-connections onto transport-connections, but does imply that at session-connection establishment time, more than one presentation-entity is a potential target of a session-connection establishment request arriving on a given transport-connection. However, when needed, there may be a one-to-one correspondence between the session-address and the transport-address.
+
+### **7.3.3 Services provided to the Presentation Layer**
+
+#### **7.3.3.1 General**
+
+**7.3.3.1.1** In connection-mode, the services provided by the Session Layer are described below:
+
+- a) session-connection establishment;
+- b) session-connection release;
+- c) normal data transfer;
+- d) expedited data transfer;
+- e) token management;
+- f) session-connection synchronization;
+- g) exception reporting;
+- h) activity management;
+- j) typed data transfer; and
+- k) resynchronization.
+
+**7.3.3.1.2** In connectionless-mode, the Session Layer provides the following services:
+
+- a) connectionless-mode transmission using the transport-connectionless-mode service; and
+- b) exception reporting.
+
+**7.3.3.1.3** In connectionless-mode, segmentation and resassembly are not provided in the Session Layer. Thus, the size of session-service-data-units is limited by the size of session-protocol-data-units and session-protocol-control-information.
+
+#### **7.3.3.2 Session-connection establishment**
+
+**7.3.3.2.1** The session-connection establishment service enables two presentation-entities to establish a session-connection between them. The presentation-entities are identified by session-addresses used to request the establishment of the session-connection.
+
+**7.3.3.2.2** The session-connection establishment service allows the presentation-entities to determine cooperatively the unique values of session-connection parameters at the time the session-connection is established.
+
+**7.3.3.2.3** The session-connection establishment service provides a session-connection identification parameter which allows the presentation-entities to identify the session-connection.
+
+#### **7.3.3.3 Session-connection release**
+
+**7.3.3.3.1** The session-connection release service allows presentation-entities to release a session-connection in an orderly way without loss of data. It also allows either presentation-entity to request at any time that a session-connection be aborted; in this case, data may be lost.
+
+**7.3.3.3.2** A session-connection may also be aborted by one of the session-entities supporting it.
+
+#### **7.3.3.4 Normal data transfer**
+
+The normal data transfer service allows a sending presentation-entity to transfer a session-service-data-unit to a receiving presentation-entity.
+
+#### **7.3.3.5 Expedited data transfer**
+
+The expedited data transfer service provides expedited handling of the transfer of expedited session-service-data-units. A specific size restriction is placed on expedited session-service-data-units.
+
+#### **7.3.3.6 Token management**
+
+The token management service allows the presentation-entities to control explicitly whose turn it is to exercise certain control functions.
+
+#### **7.3.3.7 Session-connection synchronization**
+
+**7.3.3.7.1** The session-connection synchronization service allows presentation-entities:
+
+- a) to define and identify synchronization points; and
+- b) to reset the session-connection to a defined state and agree on a resynchronization point with the potential of the loss of data.
+
+**7.3.3.7.2** Any semantics which session-service users may give to their synchronization points are transparent to the session-service provider.
+
+**7.3.3.7.3** The Session Layer is not responsible for any associated checkpointing or commitment action associated with synchronization.
+
+**7.3.3.7.4** Symmetric synchronization allows synchronization points to be set independently on the two directions of the flow.
+
+#### **7.3.3.8 Exception reporting**
+
+The exception reporting service permits the presentation-entities to be notified of exceptional situations.
+
+#### **7.3.3.9 Activity management**
+
+The activity concept allows session-service users to distinguish logical pieces of work called activities. Each activity consists of one or more dialog units. Only one activity is allowed on a session-connection at a time, but there may be several consecutive activities during a session-connection. An activity may also span more than one session-connection. Activities can also be interrupted and then resumed on the same or a subsequent session-connection.
+
+#### **7.3.3.10 Typed Data Transfer**
+
+The typed data transfer service allows a sending presentation-entity to transfer a session-service-data-unit to a receiving presentation-entity independent of the provisions of token management.
+
+#### **7.3.3.11 Resynchronization**
+
+Resynchronization may be initiated by either session-service user. It sets the session-connection to a defined state and therefore includes reassignment of tokens and setting the synchronization point serial number to a new value. Resynchronization may purge undelivered data.
+
+### **7.3.4 Functions within the Session Layer**
+
+**7.3.4.1** The functions within the Session Layer are those which shall be performed by session-entities in order to provide the session-services. When providing the connectionless-mode service, the Session Layer provides a one-to-one mapping of Session-connectionless-mode-transmissions onto transport-connectionless-mode-transmissions.
+
+**7.3.4.2** Most of the functions required are readily implied by the services provided. Additional description is given below for the following functions:
+
+- a) session-connection to transport-connection mapping; and
+- b) session-connection flow control.
+
+#### **7.3.4.3 Session-connection to transport-connection mapping**
+
+There is a one-to-one mapping between a session-connection and a transport-connection at any given instant. However, the lifetime of a transport-connection and that of a related session-connection can be distinguished so that a transport-connection supports several consecutive session-connections.
+
+#### **7.3.4.4 Session-connection flow control**
+
+There is no peer flow control in the Session Layer. To prevent the receiving presentation-entity from being overloaded with data, the receiving session-entity applies back pressure across the transport-connection using the transport flow control.
+
+## **7.4 Transport Layer**
+
+### **7.4.1 Definitions**
+
+No Transport Layer specific terms are identified.
+
+### **7.4.2 Purpose**
+
+**7.4.2.1** The transport-service provides transparent transfer of data between session-entities and relieves them from any concern with the detailed way in which reliable and cost effective transfer of data is achieved.
+
+**7.4.2.2** The Transport Layer optimizes the use of the available network-service to provide the performance required by each session-entity at minimum cost. This optimization is achieved within the constraints imposed by the overall demands of all concurrent session-entities and the overall quality and capacity of the network-service available to the Transport Layer.
+
+**7.4.2.3** All protocols defined in the Transport Layer have end-to-end significance, where the ends are defined as transport entities having transport associations. Therefore, the Transport Layer is OSI end open system oriented and transport-protocols operate only between OSI end open systems.
+
+**7.4.2.4** The Transport Layer is relieved of any concern with routing and relaying since the network-service provides data transfer from any transport-entity to any other, including the case of tandem subnetworks (see 7.5.1).
+
+**7.4.2.5** The transport functions invoked in the Transport Layer to provide a requested service quality depend on the quality of the network-service. The quality of the network-service depends on the way the network-service is achieved (see 7.5.3).
+
+### **7.4.3 Services provided to the Session Layer**
+
+#### **7.4.3.1 Introduction**
+
+**7.4.3.1.1** The Transport Layer uniquely identifies each session-entity by its transport-address. When providing the connectionless-mode service, the Transport Layer provides a connectionless-mode service which maps a request for transmission of a transport-service-data-unit onto a request to the connectionless-mode network-service. In connection-mode, the transport-service provides the means to establish, maintain, and release transport-connections. Transport-connections provide duplex transmission between a pair of session-entities (through transport-SAPs).
+
+**7.4.3.1.2** More than one transport-connection can be established between the same pair of transport-addresses. A session-entity uses transport-connection-endpoint-identifiers provided by the Transport Layer to distinguish between transport-connection-endpoints.
+
+**7.4.3.1.3** The operation of one transport-connection is independent of the operation of all others except for the limitations imposed by the finite resources available to the Transport Layer.
+
+**7.4.3.1.4** The quality of service provided on a transport-connection depends on the service class requested by the session-entities when establishing the transport-connection. The selected quality of service is maintained throughout the lifetime of the transport-connection. The session-entity is notified of any failure to maintain the selected quality of service on a given transport-connection.
+
+**7.4.3.1.5** In connection-mode, the following facilities provided by the Transport Layer are described below:
+
+- a) transport-connection establishment;
+- b) transport-connection release;
+- c) data transfer;
+- d) expedited data transfer; and
+- e) suspend facility.
+
+**7.4.3.1.6** In connectionless-mode, segmentation and resassembly are not provided in the Transport Layer. Thus, the size of transport-service-data-units is limited by the size of transport-protocol-data-units and transport-protocol-control-information.
+
+#### **7.4.3.2 Transport-connection establishment**
+
+**7.4.3.2.1** Transport-connections are established between session-entities identified by transport-addresses. The quality of service of the transport-connection is negotiated between the session-entities and the transport-service.
+
+**7.4.3.2.2** At the time of establishment of a transport-connection the class of transport-service to be provided can be selected from a defined set of available classes of service.
+
+**7.4.3.2.3** These service classes are characterized by combinations of selected values of parameters such as throughput, transit delay, and connection set-up delay and by guaranteed values of parameters such as residual error rate and service availability.
+
+**7.4.3.2.4** These classes of service represent globally predefined combinations of parameters controlling quality of service. These classes of service are intended to cover the transport-service requirements of the various types of traffic generated by the session-entities.
+
+#### **7.4.3.3 Transport-connection release**
+
+This facility provides the means by which either session-entity can release a transport-connection and have the correspondent session-entity informed of the release.
+
+#### **7.4.3.4 Data transfer**
+
+This facility provides data transfer in accordance with the agreed quality of service. When the quality of service cannot be maintained and all possible recovery attempts have failed, the transport-connection is terminated and the session-entities are notified.
+
+- a) The transport-service-data-unit transfer service provides the means by which transport-service-data-units of arbitrary length are delimited and transparently transferred in sequence from one sending transport-service-access-point to the receiving transport-service-access-point over a transport-connection. This service is subject to flow control.
+- b) The expedited transport-service-data-unit transfer service provides an additional means of information exchange on a transport-connection. The expedited transport-data-units are subject to their own set of transport-service and flow control characteristics. The maximum size of expedited transport-service-data-units is limited.
+
+#### **7.4.3.5 Expedited Data**
+
+An expedited service is provided by the Transport Layer. However, it should be used in accordance with the constraints described in 5.8.8.3.
+
+### **7.4.4 Functions within the Transport Layer**
+
+#### **7.4.4.1 General**
+
+**7.4.4.1.1** In connection-mode, the Transport Layer functions may include:
+
+- a) mapping transport-address onto a network-address;
+- b) multiplexing (end-to-end) transport-connections onto network-connections;
+- c) establishment and release of transport-connections;
+- d) end-to-end sequence control on individual connections;
+
+- e) end-to-end error detection and any necessary monitoring of the quality of service;
+- f) end-to-end error recovery;
+- g) end-to-end segmenting, blocking, and concatenation;
+- h) end-to-end flow control on individual connections;
+- j) supervisory functions;
+- k) expedited transport-service-data-unit transfer; and
+- l) suspend/resume.
+
+**7.4.4.1.2** In connectionless-mode, the Transport Layer provides the following functions to support connectionless-mode transmission:
+
+- a) mapping between transport-addresses and network-addresses;
+- b) mapping end-to-end transport-connectionless-mode transmissions on to network-connectionless-mode transmissions;
+
+NOTE – There may be specific situations where performing conversion from connection-mode to connectionless-mode operation in the Transport Layer can be justified and may thus be permitted provided that this requires only limited extensions to existing protocols. In such cases it is accepted that communication using such conversions can only take place between OSI end systems supporting them (see 6.4).
+
+- c) end-to-end error detection and monitoring of the quality of service;
+- d) transport-service-data-unit delimiting; and
+- e) supervisory functions.
+
+#### 7.4.4.2 Addressing
+
+**7.4.4.2.1** When a session-entity requests the Transport Layer to establish a transport-connection with another session-entity identified by its transport-address, the Transport Layer determines the network-address identifying the transport-entity which serves the correspondent session-entity.
+
+**7.4.4.2.2** Because transport-entities support services on an end-to-end basis no intermediate transport-entity is involved as a relay between the end transport-entities. Therefore the Transport Layer maps transport-addresses to the network-addresses which identify the end transport-entities (see Figure 13).
+
+
+
+```
+
+graph TD
+ S1[Session-entity] --- T1(( ))
+ T1 --- TE1[Transport-entity]
+ TE1 --- N1(( ))
+ S2[Session-entity] --- T2(( ))
+ T2 --- TE2[Transport-entity]
+ TE2 --- N2(( ))
+ N1 --- NL[Network-Layer]
+ N2 --- NL
+ NL --- T1
+ NL --- T2
+ T1 --- T2
+ T2 --- T1
+ T1 --- S1
+ S1 --- T1
+ T2 --- S2
+ S2 --- T2
+
+```
+
+The diagram illustrates the association of transport-addresses and network addresses. It shows two Session-entities at the top, each connected to a Transport-entity below it. The Transport-entities are connected to a Network-Layer at the bottom. Arrows indicate the flow of data and the mapping of addresses. The left Transport-entity is connected to the left Session-entity and the Network-Layer. The right Transport-entity is connected to the right Session-entity and the Network-Layer. The Network-Layer is connected to both Transport-entities. Labels include 'Session-entity', 'Transport-entity', 'End transport-address', 'End network-address', and 'Network-Layer'.
+
+Figure 13: Association of transport-addresses and network address. The diagram shows two Session-entities at the top, each connected to a Transport-entity below it. The Transport-entities are connected to a Network-Layer at the bottom. Arrows indicate the flow of data and the mapping of addresses. The left Transport-entity is connected to the left Session-entity and the Network-Layer. The right Transport-entity is connected to the right Session-entity and the Network-Layer. The Network-Layer is connected to both Transport-entities. Labels include 'Session-entity', 'Transport-entity', 'End transport-address', 'End network-address', and 'Network-Layer'.
+
+TISO2940-94
+
+**Figure 13 – Association of transport-addresses and network address**
+
+**7.4.4.2.3** One transport-entity may serve more than one session-entity. Several transport-addresses may be associated with one network-address within the scope of the same transport-entity. Corresponding mapping functions are performed within the transport-entities to provide these facilities (see Figure 14).
+
+
+
+The diagram illustrates the association of one network address with several transport addresses. It shows two session entities, Session-entity A and Session-entity B, at the top. They are connected to a Transport-entity in the middle. The Transport-entity is connected to a Network-entity at the bottom. Arrows indicate the flow of data between these entities. The label 'Transport-addresses' is placed above the Transport-entity, and 'Network-address' is placed to the right of the Network-entity. The diagram is labeled TISO2950-94/d13.
+
+Diagram illustrating the association of one network address with several transport addresses. It shows Session-entity A and Session-entity B at the top, connected to a Transport-entity in the middle. The Transport-entity is connected to a Network-entity at the bottom. Arrows indicate the flow of data between these entities. The label 'Transport-addresses' is placed above the Transport-entity, and 'Network-address' is placed to the right of the Network-entity. The diagram is labeled TISO2950-94/d13.
+
+Figure 14 – Association of one network address with several transport addresses
+
+#### 7.4.4.3 Connection multiplexing and splitting
+
+In order to optimize the use of network-connections, the mapping of transport-connections onto network-connections need not be on a one-to-one basis. Both splitting and multiplexing may be performed, namely for optimizing the cost of usage of the network-service.
+
+#### 7.4.4.4 Phases of operation
+
+In connection-mode operation, the phases of operation within the Transport Layer are:
+
+- a) establishment phase;
+- b) data transfer phase; and
+- c) release phase.
+
+The transfer from one phase of operation to another is specified in detail within the protocol for the Transport Layer.
+
+#### 7.4.4.5 Establishment phase
+
+During the establishment phase, the Transport Layer establishes a transport-connection between two session-entities. The functions of the Transport Layer during this phase match the requested class of service with the services provided by the Network Layer. The following functions can be performed during this phase:
+
+- a) obtain a network-connection which best matches requirements of the session-entity, taking into account cost and quality of service;
+- b) decide whether multiplexing or splitting is needed to optimize the use of network-connections;
+- c) establish the optimum transport-protocol-data-unit size;
+- d) select the functions that will be operational upon entering the data transfer phase;
+- e) map transport-addresses onto network-addresses;
+- f) provide identification of different transport-connections between the same pair of transport-service-access-points (connection identification function); and
+- g) transfer of data.
+
+#### 7.4.4.6 Data transfer phase
+
+The purpose of the data transfer phase is to transfer transport-service-data-units between the two session-entities connected by the transport-connection. This is achieved by the transportation of transport-protocol-data-units and by the following functions, each of which is used or not used according to the class of service selected in the establishment phase:
+
+- a) sequencing;
+- b) blocking;
+- c) concatenation;
+- d) segmenting;
+
+- e) multiplexing or splitting;
+- f) flow control;
+- g) error detection;
+- h) error recovery;
+- j) expedited data transfer;
+- k) transport-service-data-unit delimiting; and
+- m) transport-connection identification.
+
+#### 7.4.4.7 Release phase
+
+The purpose of the release phase is to release the transport-connection. It may include the following functions:
+
+- a) notification of reason for release;
+- b) identification of the transport-connection released; and
+- c) transfer of data.
+
+#### 7.4.4.8 Transport Layer management
+
+The Transport Layer protocols deal with some management activities of the layer (such as activation and error control). See clause 8 and ITU-T Rec. X.700 | ISO 7498-4 for the relationship with other management aspects.
+
+## 7.5 Network Layer
+
+### 7.5.1 Definitions
+
+**7.5.1.1 real subnetwork:** A collection of equipment and physical media which forms an autonomous whole and which can be used to interconnect real systems for the purpose of data transfer.
+
+**7.5.1.2 subnetwork:** An abstraction of a real subnetwork.
+
+###### NOTES
+
+1 A subnetwork is a representation within the OSI Reference Model of a real network such as a carrier network, a private network, or a local area network.
+
+2 A subnetwork may itself be an open system, although this is not necessarily always the case. See ISO 8648 – Internal Organization of the Network Layer.
+
+**7.5.1.3 subnetwork-connection:** A communication path through a subnetwork which is used by entities in the Network Layer in providing a network-connection.
+
+### 7.5.2 Purpose
+
+**7.5.2.1** The Network Layer provides the functional and procedural means for connectionless-mode or connection-mode transmission among transport-entities and, therefore, provides to the transport-entities independence of routing and relay considerations.
+
+**7.5.2.2** The Network Layer provides the means to establish, maintain, and terminate network-connections between open systems containing communicating application-entities and the functional and procedural means to exchange network-service-data-units between transport-entities over network-connections.
+
+**7.5.2.3** It provides to the transport-entities independence from routing and relay consideration associated with the establishment and operation of a given network-connection. This includes the case where several subnetworks are used in tandem (see 7.5.4.2) or in parallel. It makes invisible to transport-entities how underlying resources such as data-link-connections are used to provide network-connections.
+
+**7.5.2.4** Any relay functions and hop-by-hop service enhancement protocols used to support the network-service between the OSI end systems are operating below the Transport Layer, i.e. within the Network Layer or below.
+
+### 7.5.3 Service provided to the Transport Layer
+
+#### 7.5.3.1 Introduction
+
+**7.5.3.1.1** The basic service of the Network Layer is to provide the transparent transfer of data between transport-entities. This service allows the structure and detailed content of submitted data to be determined exclusively by layers above the Network Layer.
+
+**7.5.3.1.2** All facilities are provided to the Transport Layer at a known cost.
+
+**7.5.3.1.3** The Network Layer contains functions necessary to provide the Transport Layer with a firm Network/Transport Layer boundary which is independent of the underlying communications media in all things other than quality of service. Thus the Network Layer contains functions necessary to mask the differences in the characteristics of different transmission and subnetwork technologies into a consistent network service.
+
+**7.5.3.1.4** The service provided at each end of a network-connection is the same even when a network-connection spans several subnetworks, each offering dissimilar services (see 7.5.4.2).
+
+NOTE – It is important to distinguish the specialized use of the term “service” within the OSI Reference Model from its common use by suppliers of private networks and carriers.
+
+**7.5.3.1.5** The quality of service is negotiated between the transport-entities and the network-service at the time of establishment of a network-connection. While this quality of service may vary from one network-connection to another it will be agreed for a given network-connection and be the same at both network-connection-endpoints.
+
+**7.5.3.1.6** In connection-mode, the facilities provided by the Network Layer are described below:
+
+- a) network-addresses;
+- b) network-connections;
+- c) network-connection-endpoint-identifiers;
+- d) network-service-data-unit transfer;
+- e) quality of service parameters;
+- f) error notification;
+- g) expedited network-service-data-unit transfer ;
+- h) reset;
+- j) release; and
+- k) receipt of confirmation.
+
+**7.5.3.1.7** Some of these facilities are optional. This means that:
+
+- a) the user has to request the facilities; and
+- b) the network-service provider may honour the request or indicate that the service is not available.
+
+**7.5.3.1.8** In connectionless-mode, the facilities provided by the Network Layer, operating among network-service-access-points, are:
+
+- a) transmission of network-service-data-units of a defined maximum size;
+- b) quality of service parameters; and
+- c) local error notification.
+
+#### **7.5.3.2 Network-addresses**
+
+Transport-entities are known to the Network Layer by means of network-addresses. Network-addresses are provided by the Network Layer and can be used by transport-entities to identify uniquely other transport-entities, i.e. network-addresses are necessary for transport-entities to communicate using the network-service. The Network Layer uniquely identifies each of the end open systems (represented by transport-entities) by their network-addresses. This may be independent of the addressing needed by the underlying layers.
+
+#### **7.5.3.3 Network-connections**
+
+**7.5.3.3.1** A network-connection provides the means of transferring data between transport-entities identified by network-SAP-addresses. The Network Layer provides the means to establish, maintain and release network-connections.
+
+**7.5.3.3.2** A network-connection is point-to-point.
+
+**7.5.3.3.3** More than one network-connection may exist between the same pair of transport-entities (through the network-SAP-addresses).
+
+#### **7.5.3.4 Network-connection-endpoint-identifiers**
+
+The Network Layer provides to the transport-entity a network-connection-endpoint-identifier which uniquely identifies the network-connection-endpoint with the associated network-SAP-address.
+
+#### **7.5.3.5 Network-service-data-unit transfer**
+
+**7.5.3.5.1** On a network-connection, the Network Layer provides for the transmission of network-service-data-units. These units have a distinct beginning and end and the integrity of the unit's content is maintained by the Network Layer.
+
+**7.5.3.5.2** In connection-mode, no limit is imposed on the maximum size of network-service-data-units.
+
+**7.5.3.5.3** The network-service-data-units are transferred transparently between transport-entities.
+
+#### **7.5.3.6 Quality of service parameters**
+
+**7.5.3.6.1** The Network Layer establishes and maintains a selected quality of service for the duration of the network-connection.
+
+**7.5.3.6.2** The quality of service parameters include residual error rate, service availability, reliability, throughput, transit delay (including variations), and delay for network-connection establishment.
+
+#### **7.5.3.7 Error notification**
+
+**7.5.3.7.1** Unrecoverable errors detected by the Network Layer are reported to the transport-entities.
+
+**7.5.3.7.2** Error notification may or may not lead to the release of the network-connection, according to the specification of a particular network-service.
+
+#### **7.5.3.8 Expedited network-service-data-unit transfer**
+
+**7.5.3.8.1** The expedited network-service-data-unit transfer is optional and provides an additional means of information exchange on a network-connection. The transfer of a expedited network-service-data-units is subject to a different set of network-service characteristics and to separate flow control.
+
+**7.5.3.8.2** The maximum size of an expedited network-service-data-unit is limited.
+
+**7.5.3.8.3** This service is an optional service that may not always be available.
+
+#### **7.5.3.9 Reset**
+
+The reset facility is optional and when invoked causes the Network Layer to discard all network-service-data-units in transit on the network-connection and to notify the transport-entity at the other end of the network-connection that a reset has occurred.
+
+#### **7.5.3.10 Release**
+
+**7.5.3.10.1** A transport-entity may request release of a network-connection. The network-service does not guarantee delivery of data preceding the release request and still in transit. The network-connection is released regardless of the action taken by the correspondent transport-entity.
+
+**7.5.3.10.2** This facility is optional and may not always be available.
+
+#### **7.5.3.11 Receipt confirmation**
+
+**7.5.3.11.1** A transport-entity may confirm receipt of data over a network-connection. The use of the receipt confirmation service is agreed by the two users of the network-connection during connection establishment.
+
+**7.5.3.11.2** This service is optional and may not always be available.4)
+
+### **7.5.4 Functions within the Network Layer**
+
+#### **7.5.4.1 Introduction**
+
+**7.5.4.1.1** Network Layer functions provide for the wide variety of configurations supporting network-connections ranging from network-connections supported by point-to-point configurations to network-connections supported by complex combinations of subnetworks with different characteristics.
+
+NOTE – In order to cope with this wide variety of cases, network functions should be structured into sublayers. The subdivision of the Network Layer into sublayers need only be done when this is useful. In particular, sublayering need not be used when the access protocol to the subnetwork supports the complete functionality of the OSI network-service.
+
+---
+
+4) This service is included in the network-service only to support existing features of ITU-T Rec. X.25.
+
+**7.5.4.1.2** The following are functions performed by the Network Layer:
+
+- a) routing and relaying;
+- b) network-connections;
+- c) network-connection multiplexing;
+- d) segmenting and blocking;
+- e) error detection;
+- f) error recovery;
+- g) sequencing;
+- h) flow control;
+- j) expedited data transfer;
+- k) reset;
+- m) service selection;
+- n) mapping between network-addresses and data-link addresses;
+- o) mapping network-connectionless-mode transmissions to data-link-connectionless-mode transmissions;
+- p) converting from data-link-connection-mode service to network-connectionless-mode service;
+- q) enhancing a data-link-connectionless mode service to provide a network-connection-mode service; and
+- r) network layer management.
+
+#### **7.5.4.2 Routing and relaying**
+
+**7.5.4.2.1** Network-connections are provided by network-entities in OSI end systems and by intermediate open systems which provide relaying. These intermediate open systems may interconnect subnetwork-connections, data-link-connections, and data-circuits (see 7.7). Routing functions determine an appropriate route between network-addresses. In order to set up the resulting communication, it may be necessary for the Network Layer to use the services of the Data Link Layer to control the interconnection of data-circuits (see 7.6.4.10 and 7.7.3.1).
+
+**7.5.4.2.2** The control of interconnection of data-circuits (which are in the Physical Layer) from the Network Layer requires interaction between a network-entity and a physical-entity in the same open system. Since the Reference Model permits direct interaction only between adjacent layers, the network-entity cannot interact directly with the physical-entity. This interaction is thus described through the Data Link Layer which intervenes transparently to convey the interaction between the Network Layer and the Physical Layer.
+
+**7.5.4.2.3** This representation of the control of data-circuit interconnection is an abstract representation. It is a local matter in an open system. It does not model the functioning of real open systems and as such has no impact on the standardization of OSI protocols.
+
+NOTE – When Network Layer functions are performed by combinations of several individual subnetworks, the specification of routing and relaying functions could be facilitated by using sublayers, isolating individual subnetworks routing and relaying functions from internetwork routing and relaying functions. However, when subnetworks have access protocols supporting the complete functionality of the OSI network service, there need be no sublayering in the Network Layer.
+
+#### **7.5.4.3 Network-connections**
+
+**7.5.4.3.1** This function provides network-connections between transport-entities, making use of data-link-connections provided by the Data Link Layer.
+
+**7.5.4.3.2** A network-connection may also be provided as subnetwork-connections in tandem, i.e. using several individual subnetworks in series. The interconnected individual subnetworks may have the same or different service capabilities. Each end of a subnetwork-connection may operate with a different subnetwork protocol.
+
+**7.5.4.3.3** The interconnection of a pair of subnetworks of differing qualities may be achieved in two ways. To illustrate these, consider a pair of subnetworks, one of high quality and the other of low quality:
+
+- a) The two subnetworks are interconnected as they stand. The quality of the resulting network-connection is not higher than that of the lower quality subnetwork (see Figure 15).
+- b) The lower quality subnetwork is enhanced to equal the higher quality subnetwork and the subnetworks are then interconnected. The quality of the resulting network-connection is approximately that of the higher quality subnetwork (see Figure 16).
+
+The choice between these two alternatives depends on the degree of difference in quality, the cost of enhancement, and other economic factors.
+
+
+
+Figure 15: Interconnection of a low quality and a high quality subnetwork. The diagram shows a horizontal line representing a network connection. It is divided into two segments by a vertical line. The left segment is labeled 'Low quality subnetwork' and the right segment is labeled 'High quality subnetwork'. The entire connection is labeled 'Low quality network connection' on the right. The reference 'TISO2960-94/d14' is at the bottom right.
+
+**Figure 15 – Interconnection of a low quality and a high quality subnetwork**
+
+
+
+Figure 16: Interconnection of an enhanced low quality subnetwork and a high quality subnetwork. The diagram shows a horizontal line representing a network connection. It is divided into two segments by a vertical line. The left segment is labeled 'Low quality subnetwork' and the right segment is labeled 'High quality subnetwork'. The entire connection is labeled 'High quality network connection' on the right. Below the left segment, there are two horizontal arrows: the top one is labeled 'Low quality subnetwork' and the bottom one is labeled 'Enhanced subnetwork'. The reference 'TISO2970-94/d15' is at the bottom right.
+
+**Figure 16 – Interconnection of an enhanced low quality subnetwork and a high quality subnetwork**
+
+#### 7.5.4.4 Network-connection multiplexing
+
+**7.5.4.4.1** This function may be used to multiplex network-connections onto data-link-connections in order to optimize their use.
+
+**7.5.4.4.2** In the case of subnetwork-connections in tandem, multiplexing onto individual subnetwork-connections may also be performed in order to optimize their use.
+
+#### 7.5.4.5 Segmenting and blocking
+
+The Network Layer may segment and/or block network-service-data-units for the purpose of facilitating the transfer. However, the network-service-data-unit delimiters are preserved over the network-connection.
+
+#### 7.5.4.6 Error detection
+
+Error detection functions are used to check that the quality of service provided over a network-connection is maintained. Error detection in the Network Layer uses error notification from the Data Link Layer. Additional error detection capabilities may be necessary to provide the required quality of service.
+
+#### 7.5.4.7 Error recovery
+
+This function provides for the recovery from detected errors. This function may vary depending on the quality of the network service provided.
+
+#### **7.5.4.8 Sequencing**
+
+This function provides for the sequenced delivery of network-service-data-units over a given network-connection when requested by a transport-entity.
+
+#### **7.5.4.9 Flow control**
+
+If flow control is required, this function may need to be performed.
+
+#### **7.5.4.10 Expedited data transfer**
+
+This function provides for the expedited data transfer facility.
+
+#### **7.5.4.11 Reset**
+
+This function provides for the reset service.
+
+#### **7.5.4.12 Service selection**
+
+This function allows service selection to be carried out to ensure that the service provided at each end of a network-connection is the same when a network-connection spans several subnetworks of dissimilar quality.
+
+#### **7.5.4.13 Network Layer management**
+
+The Network Layer protocols deal with some management activities of the layer (such as activation and error control). See clause 8 and ITU-T Rec. X.700 | ISO 7498-4 for the relationship with other management aspects.
+
+## **7.6 Data Link Layer**
+
+### **7.6.1 Definitions**
+
+No Data Link Layer specific terms are identified.
+
+### **7.6.2 Purpose**
+
+**7.6.2.1** The Data Link Layer provides functional and procedural means for connectionless-mode among network-entities, and for connection-mode for the establishment, maintenance, and release data-link-connections among network-entities and for the transfer of data-link-service-data-units. A data-link-connection is built upon one or several physical-connections.
+
+**7.6.2.2** The Data Link Layer detects and possibly corrects errors which may occur in the Physical Layer.
+
+**7.6.2.3** In addition, the Data Link Layer enables the Network Layer to control the interconnection of data-circuits within the Physical Layer.
+
+### **7.6.3 Service provided to the Network Layer**
+
+**7.6.3.1** In connection-mode, the facilities provided by the Data Link Layer are:
+
+- a) data-link-addresses;
+- b) data-link-connection;
+- c) data-link-service-data-units;
+- d) data-link-connection-endpoint-identifiers;
+- e) error notification;
+- f) quality of service parameters; and
+- g) reset.
+
+**7.6.3.2** In connectionless-mode, the facilities provided by the Data Link Layer are:
+
+- a) data-link-addresses;
+- b) transmission of data-link-service-data-units of a defined maximum size; and
+- c) quality of service parameters.
+
+#### 7.6.3.3 Data-link-addresses
+
+Network-entities are known to the Data Link Layer by means of data-link-addresses. Data-link-addresses are provided by the Data Link Layer and can be used by network-entities to identify other network-entities which communicate using the data link service. A data-link-address is unique within the scope of the set of Open Systems attached to a common Data Link Layer. The notion of a data-link-address is distinct from that of a data-link-service-access-point-address (DLSAP address).
+
+#### 7.6.3.4 Data-link-connection
+
+A data-link-connection provides the means of transferring data between network-entities identified by data-link-addresses. A data-link-connection is established and released dynamically.
+
+#### 7.6.3.5 Data-link-service-data-units
+
+**7.6.3.5.1** The Data Link Layer allows exchange of data-link-service-data-units over a data-link-connection or exchange of data-link-service-data-units (that bear no relation to any other data-link-service-data-units) using the connectionless-mode data-link-service.
+
+**7.6.3.5.2** The size of the data-link-service-data-units may be limited by the relationship between the physical-connection error rate and the Data Link Layer error detection capability.
+
+#### 7.6.3.6 Data-link-connection-endpoint-identifiers
+
+If needed, the Data Link Layer provides data-link-connection-endpoint-identifiers that can be used by a network-entity to identify a correspondent network-entity.
+
+#### 7.6.3.7 Error notification
+
+Notification is provided to the network-entity when any unrecoverable error is detected by the Data Link Layer.
+
+#### 7.6.3.8 Quality of service parameters
+
+Quality of service parameters may be optionally selectable. The Data Link Layer establishes and maintains a selected quality of service for the duration of the data-link-connection. The quality of service parameters include mean time between detected but unrecoverable errors, residual error rate (where errors may arise from alteration, loss, duplication, misordering, misdelivery of data-link-service-data-units, and other causes), service availability, transit delay and throughput.
+
+#### 7.6.3.9 Reset
+
+The network-entity can force the data-link-entity-invocation into a known state by invoking the reset facility.
+
+### 7.6.4 Functions within the Data Link Layer
+
+In connection-mode and connectionless-mode, the functions performed by the Data Link Layer are:
+
+- a) data-link-service-data-unit mapping;
+- b) identification and parameter exchange;
+- c) control of data-circuit interconnection;
+- d) error detection;
+- e) routing and relaying; and
+- f) data Link Layer management.
+
+In connection-mode, the following functions are also performed by the Data Link Layer:
+
+- a) data-link-connection establishment and release;
+- b) connection-mode data-link data transmission;
+- c) data-link-connection splitting;
+- d) sequence control;
+- e) delimiting and synchronization;
+
+- f) flow control;
+- g) error recovery; and
+- h) reset.
+
+In connectionless-mode, the following function is also performed by the Data Link Layer:
+
+- a) connectionless-mode data-link data transmission.
+
+#### **7.6.4.1 Data-link-connection establishment and release**
+
+These functions establish and release data-link-connections on activated physical-connections. When a physical-connection has multiple endpoints (for example multipoint connection) a specific function is needed within the Data Link Layer to identify the data-link-connections using such a physical-connection.
+
+#### **7.6.4.2 Connectionless-mode data-link-data transmission**
+
+The connectionless-mode data-link-data transmission provides the means for the transmission of data-link-service-data-units between data-link-service-access-points without establishing a data-link-connection.
+
+#### **7.6.4.3 Data-link-service-data-unit mapping**
+
+This function maps data-link-service-data-units into data-link-protocol-data-units on a one-to-one basis.
+
+NOTE – More general mappings are for further study.
+
+#### **7.6.4.4 Data-link-connection splitting**
+
+This function performs splitting of one data-link-connection onto several physical-connections.
+
+#### **7.6.4.5 Delimiting and synchronization**
+
+These functions provide recognition of a sequence of physical-service-data-units (i.e. bits, see 7.7.3.2) transmitted over the physical-connection, as a data-link-protocol-data-unit.
+
+NOTE – These functions are sometimes referred to as framing.
+
+#### **7.6.4.6 Sequence control**
+
+This function maintains the sequential order of data-link-service-data-units across a data-link-connection.
+
+#### **7.6.4.7 Error detection**
+
+This function detects transmission, format and operational errors occurring either on the physical-connection, or as a result of a malfunction of the correspondent data-link-entity.
+
+#### **7.6.4.8 Error recovery**
+
+This function attempts to recover from detected transmission, format and operational errors and notifies the network-entities of errors which are unrecoverable.
+
+#### **7.6.4.9 Flow control**
+
+In connection-mode, each network-entity can dynamically control (up to the agreed maximum) the rate at which it receives data-link-service-data-units from a data-link-connection. This control may be reflected in the rate at which the Data Link Layer accepts data-link-service-data-units at the correspondent data-link-connection-endpoint. In connectionless-mode, there is service boundary flow control, but no peer flow control.
+
+#### **7.6.4.10 Identification and parameter exchange**
+
+This function performs data-link-entity identification and parameter exchange.
+
+#### **7.6.4.11 Reset**
+
+This function performs a data-link reset forcing the data-link-entity-invocation to a known state.
+
+#### **7.6.4.12 Control of data-circuit interconnection**
+
+This function conveys to network-entities the capability of controlling the interconnection of data-circuits within the Physical Layer.
+
+NOTE – This function is used in particular when a physical-connection is established/released across a circuit-switched subnetwork by relaying within an intermediate system between data-circuits. These data-circuits are elements of the end-to-end path. A network-entity in the intermediate system makes the appropriate routing decisions as a function of the path requirements derived from the network signalling protocols.
+
+#### 7.6.4.13 Routing and Relaying
+
+Some subnetworks, and particularly some configurations of local area networks, require that routing and relaying between individual local networks be performed in the data-link-layer.
+
+#### 7.6.4.14 Data Link Layer management
+
+The Data Link Layer protocols deal with some management activities of the layer (such as activation and error control). See clause 8 and ITU-T Rec. X.700 | ISO 7498-4 for the relationship with other management aspects.
+
+## 7.7 Physical Layer
+
+### 7.7.1 Definition
+
+**7.7.1.1 data-circuit:** A communication path in the physical media for OSI among two or more physical-entities, together with the facilities necessary in the Physical Layer for the transmission of bits on it.
+
+### 7.7.2 Purpose
+
+The Physical Layer provides the mechanical, electrical, functional and procedural means to activate, maintain, and de-activate physical-connections for bit transmission between data-link-entities. A physical-connection may involve intermediate open systems, each relaying bit transmission within the Physical Layer. Physical Layer entities are interconnected by means of a physical medium.
+
+### 7.7.3 Services provided to the Data Link Layer
+
+**7.7.3.1** The services provided by the Physical Layer are determined by the characteristics of the underlying medium and are too diverse to allow categorization into connection-mode and connectionless-mode.
+
+**7.7.3.2** The services or elements of services are provided by the Physical Layer:
+
+- a) physical-connections;
+- b) physical-service-data-units;
+- c) physical-connection-endpoints;
+- d) data-circuit identification;
+- e) sequencing;
+- f) fault condition notification; and
+- g) quality of service parameters.
+
+#### 7.7.3.3 Physical-connections
+
+**7.7.3.3.1** The Physical Layer provides for the transparent transmission of bit streams between data-link-entities across physical-connections.
+
+**7.7.3.3.2** A data-circuit is a communication path in the physical media for OSI among two or more physical-entities, together with the facilities necessary in the Physical Layer for the transmission of bits on it.
+
+**7.7.3.3.3** A physical-connection may be provided by the interconnection of data-circuits using relaying functions in the Physical Layer. The provision of a physical-connection by such an assembly of data-circuits is illustrated in Figure 17.
+
+**7.7.3.3.4** The control of the interconnection of data-circuits is offered as a service to data-link-entities.
+
+#### 7.7.3.4 Physical-service-data-units
+
+**7.7.3.4.1** A physical-service-data-unit consists of one bit or a string of bits.
+
+NOTE – Serial or parallel transmission can be accommodated by the design of the protocol within the Physical Layer.
+
+
+
+Diagram illustrating the interconnection of data circuits within the Physical Layer. The diagram shows three horizontal layers: Physical-service-access-point at the top, Physical Layer in the middle, and Physical Media at the bottom. Two vertical ovals represent physical connection endpoints. Inside each endpoint oval, a smaller oval represents a physical entity. Data circuits are shown as horizontal lines connecting these physical entities. One data circuit is labeled 'Data-circuit' and another 'Data circuit'. Arrows indicate the flow of data between the physical entities and the data circuits. The diagram is labeled 'TISO2980-94/d16' in the bottom right corner.
+
+Figure 17 – Interconnection of data circuits within the Physical Layer
+
+**7.7.3.4.2** A physical-connection may allow duplex or half-duplex transmission of bit streams.
+
+#### 7.7.3.5 Physical-connection-endpoints
+
+**7.7.3.5.1** The Physical Layer provides physical-connection-endpoint-identifiers which may be used by a data-link-entity to identify physical-connection-endpoints.
+
+**7.7.3.5.2** A physical-connection will have two (point-to-point) or more (multi-endpoint) physical-connection-endpoints (see Figure 18).
+
+#### 7.7.3.6 Data-circuit identification
+
+The Physical Layer provides identifiers which uniquely specify the data-circuits between two adjacent open systems.
+
+NOTE – This identifier is used by network-entities in adjacent open systems to refer to data-circuits in their dialogue.
+
+#### 7.7.3.7 Sequencing
+
+The Physical Layer delivers bits in the same order in which they were submitted.
+
+#### 7.7.3.8 Fault condition notification
+
+Data-link-entities are notified of fault conditions detected within the Physical Layer.
+
+#### 7.7.3.9 Quality of service parameters
+
+The quality of service of a physical-connection is derived from the data-circuits forming it. The quality of service can be characterized by:
+
+- a) error rate, where errors may arise from alteration, loss, creation, and other causes;
+- b) service availability;
+- c) transmission rate; and
+- d) transit delay.
+
+### 7.7.4 Functions within the Physical Layer
+
+**7.7.4.1** The functions of the Physical Layer are determined by the characteristics of the underlying medium and are too diverse to allow categorization into connection-mode and connectionless-mode.
+
+
+
+The diagram illustrates two scenarios of physical connections between Data Link Entities (DLEs) across the Data Link Layer.
+
+**a) Example of a two endpoint physical connection (connection exists between A and B)**: This diagram shows two DLEs, A and B, each represented by a box labeled 'Data-Link-Entity'. A horizontal line represents the 'Data Link Layer'. Below this layer, a 'Physical-connection' is shown as a line connecting the 'Physical-connection-endpoints' of A and B. Arrows point from the endpoints to the DLE boxes.
+
+**b) Example of a multi-endpoint-physical-connection (connection exists between A, B and C)**: This diagram shows one DLE, A, and two other entities, B and C. DLE A is on the left, while B and C are on the right, each in its own box. A horizontal line represents the 'Data Link Layer'. Below this layer, a 'Physical-connection' is shown as a line connecting the 'Physical-connection-endpoints' of A, B, and C. Arrows point from the endpoints to the DLE boxes.
+
+TISO2990-94/d17
+
+Figure 18: Examples of physical connections. (a) Example of a two endpoint physical connection. (b) Example of a multi-endpoint-physical-connection.
+
+**Figure 18 – Examples of physical connections**
+
+**7.7.4.2** The functions provided by the Physical Layer are:
+
+- a) physical-connection activation and deactivation;
+- b) physical-service-data-unit transmission;
+- c) multiplexing; and
+- d) Physical Layer management.
+
+**7.7.4.3 Physical-connection activation and deactivation**
+
+These functions provide for the activation and deactivation of physical-connections between two data-link-entities upon request from the Data Link Layer. These include a relay function which provides for interconnection of data-circuits.
+
+**7.7.4.4 Physical-service-data-unit transmission**
+
+The transmission of physical-service-data-units (i.e. bits) may be synchronous or asynchronous. Optionally, the function of physical-service-data-unit transmission provides recognition of the protocol-data-unit corresponding to a mutually agreed sequence of physical-service-data-units that are being transmitted.
+
+#### 7.7.4.5 Multiplexing
+
+This function provides for two or more physical-connections to be carried on a single data-circuit. This function provides the recognition of the framing required to enable identification of the PhPDUs conveyed by the individual physical-connections over the single data-circuit. The multiplexing function is optional.
+
+NOTE – A particular example of the use of multiplexing is offered when a transmission media is divided into data-circuits in support of the different data link protocols used in the signalling phase and in the data transfer phase when using circuit switched subnetworks. In such usage of multiplexing, flows of different nature are permanently assigned to different elements of the multiplex group.
+
+#### 7.7.4.6 Physical Layer management
+
+**7.7.4.6.1** The Physical Layer protocols deal with some management activities of the layer (such as activation and error control). See clause 8 and ITU-T Rec. X.700 | ISO 7498-4 for the relationship with other management aspects.
+
+NOTE – The above text deals with interconnection between open systems as illustrated in Figure 11. For open systems to communicate in the real environment, real physical connections should be made as, for example, in Figure 19 a). Their logical representation is as shown in Figure 19 b) and is called the physical media connection. The mechanical, electromagnetic and other media dependent characteristics of physical media connections are defined at the boundary between the Physical Layer and the physical media. Definitions of such characteristics are specified in other standards.
+
+
+
+**a) Real environment**
+
+**b) Logical environment**
+
+Figure 19 – Examples of interconnection. (a) Real environment: A diagram showing two 'Real Open System' boxes, A and B, connected via a 'Metallic cable' and an 'Optical fibre'. Between system A and the cable are blocks B and C, with 'Data modems' indicated below. Between the cable and system B are blocks E and F, with 'Transducers' indicated below. (b) Logical environment: A diagram showing the logical representation of the physical layer. It includes 'Physical Layer' boxes for each system, 'Physical-Layer-Entity' boxes, and 'Physical media connections' represented by curved lines. 'Physical Layer Protocols' are shown as double-headed arrows between the entities. A reference 'TISO3000-94/d18' is at the bottom right.
+
+NOTE – The area of physical media connections in OSI requires further study.
+
+**Figure 19 – Examples of interconnection**
+
+# 8 Management aspects of OSI
+
+## 8.1 Definitions
+
+**8.1.1 application management:** Functions in the Application Layer (see 6.1) related to the management of OSI application-processes.
+
+**8.1.2 application management application-entity:** An application-entity which executes application-management functions.
+
+**8.1.3 OSI resources:** Data processing and data communication resources which are of concern to OSI.
+
+**8.1.4 systems management:** Functions in the Application Layer related to the management of various OSI resources and their status across all layers of the OSI architecture.
+
+**8.1.5 systems management application-entity:** An application-entity for the purposes of systems-management communications.
+
+**8.1.6 layer management:** Functions related to the management of the (N)-layer partly performed in the (N)-layer itself according to the (N)-protocol of the layer (activities such as activation and error control) and partly performed as a subset of systems-management.
+
+## 8.2 Introduction
+
+**8.2.1** Within the OSI Reference Model, there is a need to recognize the special problems of initiating, terminating, and monitoring activities and assisting in their harmonious operations, as well as handling abnormal conditions. These have been collectively considered as the management aspects of the OSI architecture. These concepts are essential to the operation of the interconnected open systems.
+
+**8.2.2** The management activities which are of concern are those which imply actual exchanges of information between open systems. Only the protocols needed to conduct such exchanges are candidates for standardization within the OSIE.
+
+**8.2.3** This clause describes key concepts relevant to the management aspects, including the different categories of management activities and the positioning of such activities within the OSI Reference Model.
+
+**8.2.4** Systems and layer management provide the initialization action to establish support for connectionless-mode services between systems.
+
+**8.2.5** Management facilities may be provided to allow characteristics of the nature, quality and type of connectionless-mode service provided by a layer to be conveyed to the next higher layer prior to the invocation of that service. These facilities may provide this information either prior to any invocation of the service or at any time during a period when it is available.
+
+## 8.3 Categories of management activities
+
+### 8.3.1 Introduction
+
+**8.3.1.1** Only those management activities which imply actual exchanges of information between remote management entities are pertinent to the OSI architecture. Other management activities local to particular open systems are outside its scope.
+
+**8.3.1.2** Similarly, not all resources are pertinent to OSI. This International Standard considers only OSI resources, i.e. those data processing and data communication resources which are of concern to OSI.
+
+**8.3.1.3** The following categories of management activities are identified:
+
+- a) application management;
+- b) systems management; and
+- c) layer management.
+
+### 8.3.2 Application-management
+
+**8.3.2.1** Application-management relates to the management of OSI application-processes. The following list is typical of activities which fall into this category but it is not exhaustive:
+
+- a) initialization of parameters representing application-processes;
+- b) initiation, maintenance, and termination of application-processes;
+- c) allocation and de-allocation of OSI resources to application-processes;
+- d) detection and prevention of OSI resource interference and deadlock;
+- e) integrity and commitment control;
+- f) security control; and
+- g) checkpointing and recovery control.
+
+**8.3.2.2** The protocols for application-management reside within the Application Layer, and are handled by application-management-application-entities.
+
+### **8.3.3 Systems-management**
+
+**8.3.3.1** Systems-management relates to the management of OSI resources and their status across all layers of the OSI Reference Model. The following list is typical of activities which fall into this category but it is not exhaustive:
+
+- a) activation/deactivation management which includes:
+ - 1) activation, maintenance, and termination of OSI resources distributed in open systems, including physical media for OSI;
+ - 2) some program loading functions;
+ - 3) establishment/maintenance/ release of connections between management entities; and
+ - 4) open systems parameter initialization/modification;
+- b) monitoring which includes:
+ - 1) reporting status or status changes; and
+ - 2) reporting statistics; and
+- c) error control which includes:
+ - 1) error detection and some of the diagnostic functions; and
+ - 2) reconfiguration and restart.
+
+**8.3.3.2** The protocols for systems-management reside in the application-layer, and are handled by systems-management-application-entities.
+
+### **8.3.4 Layer-management**
+
+**8.3.4.1** There are two aspects of layer-management. One of these is concerned with layer activities such as activation and error control. This aspect is implemented by the layer protocol to which it applies.
+
+**8.3.4.2** The other aspect of layer-management is a subset of systems-management. The protocols for these activities reside within the Application Layer and are handled by systems-management-application-entities.
+
+## **8.4 Principles for positioning management functions**
+
+Several principles are important in positioning management functions in the Reference Model of Open Systems Interconnection. They include the following:5)
+
+- a) both centralization and decentralization of management functions are allowed. Thus, the OSI Reference Model does not dictate any particular fashion or degree of centralization of such functions. This principle calls for a structure in which each open system is allowed to include any (subset of) systems-management functions and each subsystem is allowed to include any (subset of) layer-management functions;
+- b) if it is necessary, connections between management entities are established when an open system which has been operating in isolation from other open systems, becomes part of the OSIE.
+
+# **9 Compliance and Consistency with this reference model**
+
+## **9.1 Definitions**
+
+**9.1.1 consistency:** A “referencing” ITU-T Recommendation | International Standard is said to be consistent with a “referenced” ITU-T Recommendation | International Standard if it does not alter their meanings.
+
+**9.1.2 compliance:** A “referencing” ITU-T Recommendation | International Standard is said to comply with the applicable requirements of a “referenced” ITU-T Recommendation | International Standard if the following are true:
+
+- a) the “referenced” ITU-T Recommendation | International Standard specifies requirements (using the verb “shall”) which are applicable to the type of ITU-T Recommendation | International Standard of which the “referencing” ITU-T Recommendation | International Standard is an instance;
+
+---
+
+5) Other principles are for further study.
+
+- b) the “referenced” ITU-T Recommendation | International Standard includes a compliance clause to clarify which requirements apply to the type of ITU-T Recommendation | International Standard of which the “referencing” ITU-T Recommendation | International Standard is an instance;
+- c) the “referencing” ITU-T Recommendation | International Standard contains a claim of compliance to the “referenced” ITU-T Recommendation | International Standard; or
+- d) it is possible by inspection of the “referencing” ITU-T Recommendation | International Standard to verify that the applicable requirements have been fulfilled.
+
+## 9.2 Application of consistency and compliance requirements
+
+**9.2.1** Other modelling ITU-T Recommendations | International Standards which extend or refine this Basic Reference Model shall be consistent with this part of it.
+
+**9.2.2** Compliance and consistency with this Basic Reference Model is also applicable to ITU-T Recommendations, International standards and technical reports which describe or specify OSI functions. These ITU-T Recommendations, International standards and reports can be architecture documents, models, frameworks, service definitions, or protocol specifications.
+
+### 9.2.3 Consistency
+
+**9.2.3.1** An architecture, a framework, a multilayer model, a single layer model, a service definition, or a protocol specification consistent with this Basic Reference Model and other modelling ITU-T Recommendations | International Standards which extend or refine this Basic Reference Model shall state:
+
+“This architecture, multilayer model, single layer model, service description, or protocol specification:
+
+- a) follows the architectural principles and prescriptions of the OSI Basic Reference Model (ITU-T Rec. X.200 | ISO/IEC 7498-1);
+- b) uses the concepts established by the OSI Basic Reference Model (ITU-T Rec. X.200 | ISO/IEC 7498-1) with identical definitions and terminology.”
+
+### 9.2.4 Compliance
+
+#### 9.2.4.1 Compliance of an architecture, framework, or multilayer model
+
+An architecture, a framework, or a multilayer model compliant with this Basic Reference Model and other modeling ITU-T Recommendations | International Standards associated with this Basic Reference Model which refine this Basic Reference Model shall state:
+
+“This architecture, framework, or multilayer model is compliant with the OSI Basic Reference Model (ITU-T Rec. X.200 | ISO/IEC 7498-1) in that it describes operations and mechanisms which are assignable to layers as specified in the OSI Basic Reference Model.”
+
+#### 9.2.4.2 Compliance of a single layer model
+
+A single layer model compliant with this OSI Basic Reference Model shall state:
+
+“This single layer standard is compliant with the OSI Basic Reference Model (ITU-T Rec. X.200 | ISO/IEC 7498-1) in that it describes operations and mechanisms which pertain to a particular layer as specified in the relevant subclause of clause 7 of the OSI Basic Reference Model.”
+
+#### 9.2.4.3 Compliance of a service definition
+
+A service definition compliant with OSI Basic Reference Model shall state:
+
+“This service definition is compliant with the OSI Basic Reference Model (ITU-T Rec. X.200 | ISO/IEC 7498-1) in that it describes facilities which pertain to a particular layer as specified in the relevant subclause of clause 7 of the OSI Basic Reference Model.”
+
+#### 9.2.4.4 Compliance of a protocol specification
+
+A protocol specification compliant with the OSI Basic Reference Model shall state:
+
+“This protocol specification is compliant with the OSI Basic Reference Model (ITU-T Rec. X.200 | ISO/IEC 7498-1) in that it describes functions which pertain to a particular layer as specified in the relevant subclause of clause 7 of the OSI Basic Reference Model.”
+
+# Annex A Brief explanation of how the layers were chosen
+
+(This annex does not form an integral part of this Recommendation | International Standard)
+
+**A.1** This annex provides elements giving additional information to this Recommendation | International Standard.
+
+**A.2** The following is a brief explanation of how the layers were chosen:
+
+**A.2.1** It is essential that the architecture permits usage of a realistic variety of physical media for interconnection with different control procedures (for example ITU-T Recs. V.24, V.25, etc.). Application of principles in 6.2 c), e) and h) leads to identification of a **Physical Layer** as the lowest layer in the architecture.
+
+**A.2.2** Some physical communication media (for example, telephone line) require specific techniques to be used in order to transmit data between systems despite a relatively high error rate (i.e. an error rate not acceptable for the great majority of applications). These specific techniques are used in data-link control procedures which have been studied and standardized for a number of years. It must also be recognized that new physical communication media (for example, fibre optics) will require different data-link control procedures. Application of principles in 6.2 c), e) and h) leads to identification of a **Data Link Layer** on top of the Physical Layer in the architecture.
+
+**A.2.3** In the open systems architecture, some open systems will act as the final destination of data, see clause 4. Some open systems may act only as intermediate nodes [(forwarding data to other systems) (see Figure 13)]. Application of principles in 6.2 c), e) and g) leads to identification of a **Network Layer** on top of the Data Link Layer. Network oriented protocols such as routing, for example, will be grouped in this layer. Thus, the Network Layer will provide a connection path (network-connection) between a pair transport-entities; including the case where intermediate nodes are involved, see Figure 12 (see also 7.5.4.2).
+
+**A.2.4** Control of data transportation from source end open system to destination end open system (which is not performed in intermediate nodes) is the last function to be performed in order to provide the totality of the transport-service. Thus, the upper layer in the transport-service part of the architecture is the **Transport Layer**, on top of the Network Layer. This Transport Layer relieves higher layer entities from any concern with the transportation of data between them.
+
+**A.2.5** There is a need to organize and synchronize dialogue, and to manage the exchange of data. Application of principles in 6.2 c) and d) leads to the identification of a **Session Layer** on top of the Transport Layer.
+
+**A.2.6** The remaining set of general interest functions are those related to representation and manipulation of structured data for the benefit of application programs. Application of principles in 6.2 c) and d) leads to identification of a **Presentation Layer** on top of the Session Layer.
+
+**A.2.7** Finally, there are applications consisting of application-processes which perform information processing. An aspect of these application-processes and the protocols by which they communicate comprise the **Application Layer** as the highest layer of the architecture.
+
+**A.3** The resulting architecture with seven layers, illustrated in Figure 11, obeys the principles in 6.2 a) and b).
+
+A more detailed definition of each of the seven layers identified above is given in clause 7 of this Recommendation | International Standard, starting from the top with the Application Layer described in 7.1 down to the Physical Layer described in 7.7.
+
+# Annex B Alphabetical index to definitions
+
+(This annex forms an integral part of this Recommendation | International Standard)
+
+| Term | Subclause | Page |
+|-------------------------------------------|-----------|------|
+| abstract syntax | 7.1.1.2 | 32 |
+| acknowledgement | 5.8.1.16 | 17 |
+| (N)-address | 5.4.1.1 | 13 |
+| (N)-address-mapping | 5.4.1.3 | 13 |
+| application-entity | 7.1.1.1 | 32 |
+| application-management | 8.1.1 | 52 |
+| application-management-application-entity | 8.1.2 | 52 |
+| application-process | 4.1.4 | 2 |
+| application-process-invocation | 4.1.7 | 2 |
+| application-process-type | 4.1.8 | 2 |
+| (N)-association | 5.3.1.1 | 9 |
+| blocking | 5.8.1.11 | 17 |
+| centralized multi-endpoint-connection | 5.8.1.2 | 16 |
+| compliance | 9.1.2 | 54 |
+| concatenation | 5.8.1.13 | 17 |
+| concrete syntax | 7.2.1.1 | 33 |
+| (N)-connection | 5.3.1.2 | 9 |
+| (N)-connection-endpoint | 5.3.1.3 | 9 |
+| (N)-connection-endpoint-identifier | 5.4.1.5 | 13 |
+| (N)-connection-endpoint-suffix | 5.4.1.6 | 13 |
+| (N)-connection-mode-transmission | 5.3.1.17 | 9 |
+| (N)-connectionless-mode-transmission | 5.3.1.18 | 9 |
+| consistency | 9.1.1 | 54 |
+| correspondent (N)-entities | 5.3.1.5 | 9 |
+| data-circuit | 7.7.1.1 | 49 |
+| (N)-data communication | 5.3.1.13 | 9 |
+| (N)-data sink | 5.3.1.8 | 9 |
+| (N)-data source | 5.3.1.7 | 9 |
+| (N)-data transmission | 5.3.1.9 | 9 |
+| deblocking | 5.8.1.12 | 17 |
+| decentralized multi-endpoint-connection | 5.8.1.3 | 16 |
+| demultiplexing | 5.8.1.5 | 17 |
+| duplex mode | 7.3.1.2 | 34 |
+| (N)-duplex transmission | 5.3.1.10 | 9 |
+
+| Term | Subclause | Page |
+|------------------------------------------------|------------------|-------------|
+| (N)-entity | 5.2.1.11 | 6 |
+| (N)-entity-invocation | 5.2.1.12 | 6 |
+| (N)-entity-type | 5.2.1.10 | 6 |
+| (N)-entity-title | 5.4.1.10 | 13 |
+| expedited (N)-service-data-unit | 5.6.1.6 | 15 |
+| (N)-expedited-data-unit | 5.6.1.6 | 15 |
+| (N)-facility | 5.2.1.6 | 6 |
+| flow control | 5.8.1.8 | 17 |
+| (N)-function | 5.2.1.7 | 6 |
+| half duplex mode | 7.3.1.3 | 34 |
+| (N)-half-duplex transmission | 5.3.1.11 | 9 |
+| (N)-layer | 5.2.1.2 | 6 |
+| layer-management | 8.1.6 | 53 |
+| local system environment (LSE) | 4.1.6 | 2 |
+| multi-connection-endpoint-identifier | 5.4.1.7 | 13 |
+| multi-endpoint-connection | 5.3.1.4 | 9 |
+| multiplexing | 5.8.1.4 | 16 |
+| (N)-one-way communication | 5.3.1.16 | 9 |
+| open system | 4.1.3 | 2 |
+| open system interconnection environment (OSIE) | 4.1.5 | 2 |
+| OSI end system | 6.5.1.1 | 31 |
+| OSI-(N)-relay system | 6.5.1.2 | 31 |
+| OSI resources | 8.1.3 | 53 |
+| peer-(N)-entities | 5.2.1.3 | 6 |
+| presentation context | 7.2.1.3 | 33 |
+| (N)-protocol | 5.2.1.9 | 6 |
+| (N)-protocol-connection-identifier | 5.4.1.9 | 13 |
+| (N)-protocol-control-information (PCI) | 5.6.1.1 | 15 |
+| (N)-protocol-data-unit (PDU) | 5.6.1.3 | 15 |
+| (N)-protocol-identifier | 5.8.1.1 | 16 |
+| (N)-protocol-version-identifier | 5.8.1.18 | 17 |
+| real system | 4.1.1 | 2 |
+| real open system | 4.1.2 | 2 |
+| real subnetwork | 7.5.1.1 | 41 |
+| reassembling | 5.8.1.10 | 17 |
+| recombining | 5.8.1.7 | 17 |
+| (N)-relay | 5.3.1.6 | 9 |
+| reset | 5.8.1.17 | 17 |
+
+| Term | Subclause | Page |
+|----------------------------------------|------------------|-------------|
+| routing | 5.4.1.4 | 13 |
+| segmenting | 5.8.1.9 | 17 |
+| separation | 5.8.1.14 | 17 |
+| sequencing | 5.8.1.15 | 17 |
+| (N)-service | 5.2.1.5 | 6 |
+| (N)-service-access-point (SAP) | 5.2.1.8 | 6 |
+| (N)-service-access-point-address | 5.4.1.2 | 13 |
+| (N)-service-connection-identifier | 5.4.1.8 | 13 |
+| (N)-service-data-unit (SDU) | 5.6.1.4 | 15 |
+| session-connection synchronization | 7.3.1.4 | 35 |
+| (N)-simplex transmission | 5.3.1.12 | 9 |
+| splitting | 5.8.1.6 | 17 |
+| sublayer | 5.2.1.4 | 6 |
+| subnetwork | 7.5.1.2 | 41 |
+| subnetwork-connection | 7.5.1.3 | 41 |
+| (N)-subsystem | 5.2.1.1 | 6 |
+| systems-management | 8.1.4 | 53 |
+| systems-management-application-entity | 8.1.5 | 53 |
+| token management | 7.3.1.1 | 34 |
+| transfer syntax | 7.2.1.2 | 33 |
+| (N)-two-way alternate communication | 5.3.1.15 | 9 |
+| (N)-two-way simultaneous communication | 5.3.1.14 | 9 |
+| N)-user-data | 5.6.1.2 | 15 |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/08a978a124d3ed6cf1a3d0cfd89418d0_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/08a978a124d3ed6cf1a3d0cfd89418d0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..27212d096b8e644d5af7e79a03dae38e8232e1e2
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/08a978a124d3ed6cf1a3d0cfd89418d0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7d3c70761846e2d068dff2617bc42c07633559688aa1489790a985f96e413b5f
+size 36711
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/0c08e48c08f96934cd6bc6911f3069dc_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/0c08e48c08f96934cd6bc6911f3069dc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..42d1102e990dcf78e94b7752140933911956d374
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/0c08e48c08f96934cd6bc6911f3069dc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7afc2e16f8ef45e70ebaa6b8831aeb0cdb7c135cc1a4952d5b0b7b3ad9e40ba0
+size 95094
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/0f26e70157bd4c45f825795cdcd20fbd_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/0f26e70157bd4c45f825795cdcd20fbd_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b55c67fa38b8b5bdcf303982596291e9a6a50e45
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/0f26e70157bd4c45f825795cdcd20fbd_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bf0b9af519f5d2d199ff3a63ade81321c9b9e149347c4ba82212a7f6e4bf9faf
+size 13655
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..51dc2d332bc89d8e7c8ac03c40d56070501d24fc
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2fdcc38dd669e46d7726bbb912a68d0f57236827a22d173fa5bf06de1b80868f
+size 26853
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/1e8c50ad4fca7f315a407347dd5091cc_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/1e8c50ad4fca7f315a407347dd5091cc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bc7656162a72fe2ad5ab1246017beb118716f133
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/1e8c50ad4fca7f315a407347dd5091cc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1562b11bcf106c14457f7c48850ba032127e458e60aaf5eea697038088ec56ac
+size 44835
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9df6c9b10606829b72e0da8b8d3198559ca9073b
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b25f55985b543088396a11a1acf7dd2696df6400ca0ff64ab67d0effe0ed7efd
+size 8306
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/3e2dcee303cecdd31b7f9ec0d8942fed_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/3e2dcee303cecdd31b7f9ec0d8942fed_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..186d3e60346789d05a771c5c924607d9791204b6
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/3e2dcee303cecdd31b7f9ec0d8942fed_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9a118b3abf737475bb6534c165341d2d45da486a58d81c40f29d535c629e408e
+size 23367
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..11b115f06114f33aa5eb0242c31ce420a214f20b
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:10219be796215e9db34debd2872c15ca2c4d69820a66c2da6fab8beedeb4b473
+size 22115
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/6be06b7dc72bb42afcb3465394667c3b_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/6be06b7dc72bb42afcb3465394667c3b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..967efb3a284660ee5bdafb3ec59bd2f7dc3c5977
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/6be06b7dc72bb42afcb3465394667c3b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2ddb82fb0e6a78d3318f385972924b7b290df8890cbc8a4f6e99fd30a569c45a
+size 18755
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f666d597e16d3bc6402596c572956d64d648b584
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:404ac99b94c3fe240f9d464a5d04e715e89eef13a19c0ca3e515fae3f95eb51c
+size 12906
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/78ff716475b2f65bf01c3a4d02d89fc4_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/78ff716475b2f65bf01c3a4d02d89fc4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b73eabbd780aaa0169c35524897baff333082cc9
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/78ff716475b2f65bf01c3a4d02d89fc4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2d9bbcbff0a8cfc84cb46166b0fbd900e13b525bcabb071c7c46c58d533f69ec
+size 13406
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/7f5df81190b8dc50dad2604562ae0715_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/7f5df81190b8dc50dad2604562ae0715_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..70b17c1a851a0428dff3b9c42b63d9efb6a57ec7
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/7f5df81190b8dc50dad2604562ae0715_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e62af4e4b47fcd92e934374a66be274c84d55eaad13c276a7bf2e3965691de48
+size 11715
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/8269648391c59363ea61243864a2adf7_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/8269648391c59363ea61243864a2adf7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a90adc7ccd2ab01c66a285b7be9bd2d89ec84397
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/8269648391c59363ea61243864a2adf7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:68c9ebc41267844df69a1818efc67b651d07cf525082c4cebcc1c0f3b33a21e2
+size 16747
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/836b0790cef5469a167fa8931df4e408_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/836b0790cef5469a167fa8931df4e408_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..23159215ad928600f4e5619cea3afdab255f1181
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/836b0790cef5469a167fa8931df4e408_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2009929c6a313fa13a1a522fdf6fd9319334bb6300148afd31ade4b691bd4b7f
+size 17523
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/85c4282df510941b5d97b3cf36b11e2a_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/85c4282df510941b5d97b3cf36b11e2a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..924cea1752c91209d77cf334db540e466cb993cc
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/85c4282df510941b5d97b3cf36b11e2a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:02a963fee9e3e2e0f5647b14f42cd1c523cb6b21a0ef74314d0a288b9cdd18f4
+size 45377
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/901800172164e0494762ffa57a09993f_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/901800172164e0494762ffa57a09993f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7d1ca65e8229549b674b575f0f7e4e90d2d846a2
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/901800172164e0494762ffa57a09993f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f587a33698f7dd8fe1b92d5544811a591c00c634114906565f5f8ce45f8af3c5
+size 11156
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/997233d405f0d4b89ddeb7683e047f66_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/997233d405f0d4b89ddeb7683e047f66_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..02257466da4195f8fe513916ac285454114c1781
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/997233d405f0d4b89ddeb7683e047f66_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:98d90b2f9a08600446efc34eb1c79b81e46ff05d61e9fbd2114af3c33a438f22
+size 20862
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/9a14684f8ae1345c6efea6f5994c730c_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/9a14684f8ae1345c6efea6f5994c730c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..75e44a5007b6cc3279799116793e804cec630bba
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/9a14684f8ae1345c6efea6f5994c730c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:287147731310cd32cd5ae8a481de4feb489587e7f1d8ed9b4bdb8f079a01db7e
+size 18319
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/a74294f34a0c736b7ee0f5f0cdca7e28_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/a74294f34a0c736b7ee0f5f0cdca7e28_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d199dbc5a40668acde7cf8f47536902490e67398
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/a74294f34a0c736b7ee0f5f0cdca7e28_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:02f31e4db7860fb41085ab831ae20b563e9a9605c6c158a3a61fb1ea5ad96cf4
+size 202648
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/adc59ed6840bcb2d392ea323abfccedc_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/adc59ed6840bcb2d392ea323abfccedc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..32f2ea43ae3143ada11579e77675d2e359f78be2
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/adc59ed6840bcb2d392ea323abfccedc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3e641edf4a1206a08a328c6ae3e74d7f484e0dfe2216e2307ed17ff78b77d3b8
+size 16034
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/b05bae46f7079e5c9b1da38adb2319e8_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/b05bae46f7079e5c9b1da38adb2319e8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7a0863fd6b333ac8c0997b43f48a54af5621c064
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/b05bae46f7079e5c9b1da38adb2319e8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3a913f91a47233ad2e0fa829a28e6fa387667f7f5d8d7cbedeb30ea779cb50fb
+size 18003
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/b2cc37ae1974ec7b87b91f54963b855d_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/b2cc37ae1974ec7b87b91f54963b855d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..72903b37f59eefafa0b8d921f70ba9530865005b
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/b2cc37ae1974ec7b87b91f54963b855d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7bfa969b17ecdfd2ade553e5a1ded9fdcbc6df936a4312d7b28ed6dbd3248d76
+size 15222
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/b6ad8b32179842fca5ad086cf22b03eb_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/b6ad8b32179842fca5ad086cf22b03eb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ff259c382fc378d915dd640d3008826ec8494231
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/b6ad8b32179842fca5ad086cf22b03eb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a6b51c4af3fe20eada1d867014bb52424376b722a3361a351a0dd39e4bde957d
+size 9374
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/bb4d2112ed07e2031c92fbff3494af9f_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/bb4d2112ed07e2031c92fbff3494af9f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8ecf10f03af68d28f43bce941e7f565b9e6820a6
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/bb4d2112ed07e2031c92fbff3494af9f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fcbf2136e46b018cfdcb5af384af7c24614213941cb930969eef9b1b6bb1a86e
+size 16582
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/bccc028d0e75bc30c41528056f581545_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/bccc028d0e75bc30c41528056f581545_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..25dee6357e76d6849a93a3443204d001f2c7ab68
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/bccc028d0e75bc30c41528056f581545_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:353ba94dd0ab53e055996dd9bff73d8568f6ae9911be6f6e3f2c26ecd8511709
+size 39818
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/cc98b584f9b31fe69948e3fa65a3ba69_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/cc98b584f9b31fe69948e3fa65a3ba69_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9b8f126d0c6f78edd6231bbb0c24e20383dcc894
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/cc98b584f9b31fe69948e3fa65a3ba69_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4bce837a351ddb65f172f004fad54ea02f1f24bea2e5f0c6da3b629ea5cff86a
+size 29263
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/db5deafdae53dbc7d5972957f708c691_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/db5deafdae53dbc7d5972957f708c691_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c84f7295ee958d6dfa9279223354d8df2b58c66e
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/db5deafdae53dbc7d5972957f708c691_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8b2dc57fac69362cdbd82ff9ef77bfb7135029b7a889f7d5e9579f1ebc76cc76
+size 61942
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/dec689324b075952626a86da862b9549_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/dec689324b075952626a86da862b9549_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0136cb9d4f3ed5ec914e9e952c31e2e86c3906b5
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/dec689324b075952626a86da862b9549_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0a7e327414d0985a3677b1013d56b157752bd3a54e03531332a7cc7f9b5b82fb
+size 12049
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/e42cc691d9c7c4d23e66b04472bb494e_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/e42cc691d9c7c4d23e66b04472bb494e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..626d09984b5838f9c040cc9c1b13240c7612b055
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/e42cc691d9c7c4d23e66b04472bb494e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:577bfae497047d30214287c87a0c45b3ad7178592d82e1da1e6c561572fd94d2
+size 27420
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/ed48e24e36ea0501953177401c900f86_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/ed48e24e36ea0501953177401c900f86_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..786695fa3a510f68d34c09babaa0c55375bfbd03
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/ed48e24e36ea0501953177401c900f86_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bc3aa2c913e9b626b9e8210b1ba5517cb3e3eb958f330a42dcbc057025370f57
+size 11760
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/f142b022cfc716cd967297f027efe647_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/f142b022cfc716cd967297f027efe647_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..688f6bab9e122f07a203268ecd706a7649f620de
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/f142b022cfc716cd967297f027efe647_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b49ebe243a475f42c28c7a28cc0388f75fa9181820db653e7342973286d3c62f
+size 29335
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/f1cbfa3fc27f58581615654fec4335d8_img.jpg b/marked/X/T-REC-X.213-200110-I_PDF-E/f1cbfa3fc27f58581615654fec4335d8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..58c13dfc452f24b71d86d12c80d19378bec5d9b3
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/f1cbfa3fc27f58581615654fec4335d8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0959182480cc48e9ea81d10480c3424504e2041b1f75207ef5331b71896b5f91
+size 11537
diff --git a/marked/X/T-REC-X.213-200110-I_PDF-E/raw.md b/marked/X/T-REC-X.213-200110-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..12031f22ce2d228a7f20554e67ab06e358da49c4
--- /dev/null
+++ b/marked/X/T-REC-X.213-200110-I_PDF-E/raw.md
@@ -0,0 +1,2464 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, crossed by a lightning bolt.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.213
+
+(10/2001)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS
+
+Open Systems Interconnection – Service definitions
+
+---
+
+**Information technology – Open Systems
+Interconnection – Network service definition**
+
+ITU-T Recommendation X.213
+
+(Formerly CCITT Recommendation)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS
+
+| | |
+|-----------------------------------------------|--------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+###### **Information technology – Open Systems Interconnection – Network service definition**
+
+# **Summary**
+
+This Recommendation | International Standard defines the set of capabilities, in terms of abstract service definition, provided by the Network Layer to the Transport Layer. For designers of Transport Layer protocols, it provides a definition of the Network service to allow design and implementation independent of details of the Network Layer protocol. For designers of Network Layer protocols, it defines the set of capabilities to be made available through the action of the protocol.
+
+###### **Source**
+
+ITU-T Recommendation X.213 was prepared by ITU-T Study Group 7 (2001-2004) and approved on 29 October 2001. An identical text is also published as ISO/IEC 8348.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2002
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from ITU.
+
+# CONTENTS
+
+| | Page |
+|----------------------------------------------------------------------------------------------|-------------|
+| SECTION 1 – GENERAL ..... | 1 |
+| 1 Scope ..... | 1 |
+| 2 Normative references ..... | 1 |
+| 2.1 Identical Recommendations International Standards ..... | 1 |
+| 2.2 Additional references ..... | 2 |
+| 3 Definitions ..... | 2 |
+| 3.1 Basic reference model definitions ..... | 2 |
+| 3.2 Service conventions definitions ..... | 3 |
+| 3.3 Network Service definitions ..... | 3 |
+| 3.4 Network addressing definitions ..... | 3 |
+| 3.5 Network layer architecture definitions ..... | 4 |
+| 4 Abbreviations ..... | 4 |
+| 5 Conventions ..... | 5 |
+| 5.1 General conventions ..... | 5 |
+| 5.2 Parameters ..... | 5 |
+| 5.3 NC end-point identification convention ..... | 5 |
+| 6 Overview and general characteristics ..... | 5 |
+| 7 Types and classes of Network Service ..... | 6 |
+| SECTION 2 – DEFINITION OF THE CONNECTION-MODE SERVICE ..... | 6 |
+| 8 Features of the connection-mode Network Service ..... | 6 |
+| 9 Model of the connection-mode Network Service ..... | 7 |
+| 9.1 Model of the connection-mode Network Layer Service ..... | 7 |
+| 9.2 Model of a Network Connection ..... | 7 |
+| 10 Quality of the connection-mode Network Service ..... | 11 |
+| 10.1 Determination of QOS ..... | 11 |
+| 10.2 Definition of QOS-parameters ..... | 12 |
+| 11 Sequence of primitives ..... | 15 |
+| 11.1 Relation of primitives at the two NC end-points ..... | 15 |
+| 11.2 Sequence of primitives at one NC end-point ..... | 15 |
+| 12 Connection establishment phase ..... | 18 |
+| 12.1 Function ..... | 18 |
+| 12.2 Types of primitives and parameters ..... | 18 |
+| 12.3 Sequence of primitives ..... | 26 |
+| 13 Connection release phase ..... | 26 |
+| 13.1 Function ..... | 26 |
+| 13.2 Types of primitive and parameters ..... | 27 |
+| 13.3 Sequence of primitives when releasing an established NC ..... | 28 |
+| 13.4 Sequence of primitives in an NS user rejection of an NC establishment attempt ..... | 29 |
+| 13.5 Sequence of primitives in an NS provider rejection of an NC establishment attempt ..... | 29 |
+| 14 Data transfer phase ..... | 30 |
+| 14.1 Data transfer ..... | 30 |
+| 14.2 Receipt confirmation service ..... | 31 |
+| 14.3 Expedited data transfer service ..... | 32 |
+| 14.4 Reset service ..... | 33 |
+| SECTION 3 – DEFINITION OF THE CONNECTIONLESS-MODE SERVICE ..... | 36 |
+| 15 Features of the connectionless-mode Network Service ..... | 36 |
+| 16 Model of the connectionless-mode Network Service ..... | 36 |
+| 16.1 Model of the connectionless-mode Network Layer Service ..... | 36 |
+| 16.2 Model of a network connectionless-mode transmission ..... | 36 |
+
+| | Page |
+|---------|--------------------------------------------------------------------------------------------------------|
+| 17 | Quality of the connectionless-mode Network Service..... 38 |
+| 17.1 | Determination of QOS..... 38 |
+| 17.2 | Definition of network connectionless-mode QOS-parameters ..... 38 |
+| 17.3 | Route selection considerations ..... 39 |
+| 18 | Sequence of primitives ..... 40 |
+| 19 | Data transfer ..... 40 |
+| 19.1 | Function ..... 40 |
+| 19.2 | Types of primitives and parameters..... 41 |
+| 19.3 | Sequence of primitives ..... 41 |
+| Annex A | – Network Layer Addressing..... 43 |
+| A.1 | General ..... 43 |
+| A.2 | Scope ..... 43 |
+| A.3 | Concepts and terminology ..... 43 |
+| A.4 | Principles for creating the OSI Network addressing scheme..... 46 |
+| A.5 | Network address definition..... 47 |
+| A.6 | Character based DSP allocation ..... 54 |
+| A.7 | Reference publication formats..... 55 |
+| A.8 | Network entity titles ..... 55 |
+| Annex B | – Rationales for the material in Annex A ..... 56 |
+| B.1 | IDI formats (see A.5.2.1.2)..... 56 |
+| B.2 | Reservation of AFI values 00-F and FF (see Table A.1)..... 57 |
+| B.3 | Derivation of the preferred encodings (see A.5.3)..... 57 |
+| Annex C | – Facilities for conveying service characteristics in the connectionless-mode Network Service ..... 58 |
+| C.1 | Introduction ..... 58 |
+| C.2 | Function..... 58 |
+| C.3 | Types of primitives and parameters..... 58 |
+| C.4 | Service characteristics ..... 59 |
+| C.5 | Types of primitives and parameters..... 59 |
+
+# Introduction
+
+This Recommendation | International Standard is one of a set of Recommendations and International Standards produced to facilitate the interconnection of computer systems. It is related to other Recommendations and International Standards in the set as defined by the Reference Model of Open Systems Interconnection (OSI). The OSI Reference Model (ITU-T Rec. X.200 | ISO/IEC 7498-1) subdivides the area of standardization for interconnection into a series of layers of specification, each of a manageable size.
+
+This Recommendation | International Standard defines the Service provided by the Network Layer to the Transport Layer at the boundary between the Network and Transport Layers of the Reference Model. It provides for the designers of Transport protocols a definition of the Network Service existing to support the Transport protocol and for the designers of Network protocols a definition of the services to be made available through the action of the Network protocol over the underlying service. This relationship is illustrated in Figure 0.
+
+
+
+The diagram shows a vertical stack of two layers: 'Transport layer' on top and 'Network layer' on bottom. To the left of the 'Transport layer' is the text 'Transport protocol' with a horizontal line connecting it to the layer. To the left of the 'Network layer' is the text 'Network protocol' with a horizontal line connecting it to the layer. To the right of the 'Transport layer', a horizontal line labeled 'Uses service' extends to the right, then turns downward and then left to point at the text 'Network service'. To the right of the 'Network layer', a horizontal line labeled 'Provides service' extends to the right, then turns upward and then left to point at the text 'Network service'. The text 'TISO0290-92' is located at the bottom right of the diagram.
+
+Diagram illustrating the relationship of the Network Service to OSI Network and Transport protocols.
+
+**Figure 0 – Relationship of the Network Service to OSI Network and Transport protocols**
+
+The use of the word "Network" to name the "Network" Layer of the OSI Reference Model should be distinguished from the use of the word "network" to denote a communications network as conventionally understood. To facilitate this distinction, the term "subnetwork" is used for a collection of physical equipment, commonly called a "network" (see Rec. X.200 | ISO/IEC 7498-1). Subnetworks may be either public networks or privately supplied networks. In the case of public networks, their properties may be determined by separate Recommendations such as CCITT Rec. X.21 for a circuit-switched network or ITU-T Rec. X.25 for a packet-switched network.
+
+Throughout the set of OSI Recommendations and International Standards the term "Service" refers to the abstract capability provided by one layer of the OSI Reference Model to the layer above it. Thus, the Network Service defined in this Recommendation | International Standard is a conceptual architectural Service, independent of administrative divisions.
+
+NOTE – It is important to distinguish the specialized use of the term "Service" within the set of OSI Recommendations and International Standards from its use elsewhere to describe the provision of a service by an organization (such as the provision of a service, as defined in other Recommendations, by an Administration).
+
+Any particular subnetwork may or may not support the OSI Network Service. The OSI Network Service may be provided by a combination of one or more subnetworks and optional additional functions between or outside these subnetworks.
+
+
+
+## **INTERNATIONAL STANDARD ITU-T RECOMMENDATION**
+
+## **Information technology – Open Systems Interconnection – Network service definition**
+
+# **SECTION 1 – GENERAL**
+
+## **1 Scope**
+
+This Recommendation | International Standard defines the OSI Network Service in terms of:
+
+- a) the primitive actions and events of the Service;
+- b) the parameters associated with each primitive action and event, and the form which they take;
+- c) the interrelationship between, and the valid sequences of, these actions and events.
+
+The principal objectives of this Recommendation | International Standard are:
+
+- 1) To specify the characteristics of a conceptual Network Service and thus, supplement the Reference Model in guiding the development of Network Layer protocols.
+- 2) To encourage convergence of the capabilities offered by providers of subnetworks.
+- 3) To provide a basis for the individual enhancement of existing heterogeneous subnetworks to a common subnetwork-independent Network Service to enable them to be concatenated for the purpose of providing global communication. (Such concatenation may involve optional additional functions which are not defined in this Recommendation | International Standard.) A definition of the quality of service is an important element of this Recommendation | International Standard.
+- 4) To provide a basis for the development and implementation of subnetwork-independent Transport Layer protocols decoupled from the variability of underlying public and private subnetworks and their specific interface requirements.
+
+This Recommendation | International Standard does not specify individual implementations or products nor does it constrain the implementation of entities and interfaces within a system.
+
+There is no conformance of equipment to this Recommendation | International Standard. Instead, conformance is achieved through implementation of conforming OSI Network protocols which fulfil the Network Service defined in this Recommendation | International Standard.
+
+## **2 Normative references**
+
+The following Recommendations and International Standards contain provisions which, through reference in this text, constitute provisions of this Recommendation | International Standard. At the time of publication, the editions indicated were valid. All Recommendations and Standards are subject to revision, and parties to agreements based on this Recommendation | International Standard are encouraged to investigate the possibility of applying the most recent edition of the Recommendations and Standards listed below. Members of the IEC and ISO maintain registers of currently valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently valid ITU-T Recommendations.
+
+### **2.1 Identical Recommendations | International Standards**
+
+- ITU-T Recommendation X.200 (1994) | ISO/IEC 7498-1:1994, *Information technology – Open Systems Interconnection – Basic Reference Model: The Basic Model*.
+- ITU-T Recommendation X.210 (1993) | ISO/IEC 10731:1994, *Information technology – Open Systems Interconnection – Basic Reference Model: Conventions for the definition of OSI services*.
+- ITU-T Recommendation X.224 (1995) | ISO/IEC 8073:1997, *Information technology – Open Systems Interconnection – Protocol for providing the connection-mode transport service*.
+
+### 2.2 Additional references
+
+- CCITT Recommendation E.163 (1988), *Numbering plan for the international telephone service*.
+- ITU-T Recommendation E.164 (1997), *The international public telecommunication numbering plan*.
+- ITU-T Recommendation E.191 (2000), *B-ISDN addressing*.
+- ITU-T Recommendation E.191.1 (2001), *Criteria and procedures for the allocation of ITU-T International Network Designator Addresses*.
+- ITU-T Recommendation F.69 (1994), *The international telex service – Service and operational provisions of telex destination codes and telex network identification codes*.
+- CCITT Recommendation T.50 (1992), *International Reference Alphabet (IRA) (Formerly International Alphabet No. 5 or IA5) – Information technology – 7-bit coded character set for information interchange*.
+- ITU-T Recommendation X.121 (2000), *International numbering plan for public data networks*.
+- ITU-T Recommendation X.300 (1996), *General principles for interworking between public networks and between public networks and other networks for the provision of data transmission services*.
+- ISO/IEC 646:1991, *Information technology – ISO 7-bit coded character set for information interchange*.
+- ISO 2375:1985, *Data processing – Procedure for registration of escape sequences*.
+- ISO 3166-1:1997, *Codes for the representation of names of countries and their subdivisions – Part 1: Country codes*.
+- ISO/IEC 6523-1:1998, *Information technology – Structure for the identification of organizations and organization parts – Part 1: Identification of organization identification schemes*.
+- ISO 8648:1988, *Information processing systems – Open Systems Interconnection – Internal organization of the Network Layer*.
+- Internet Standard 2, Assigned Numbers.
+- IETF RFC 1888 (1996), **OSI NSAPs and IPv6**.
+
+## 3 Definitions
+
+For the purposes of this Recommendation | International Standard, the following definitions apply.
+
+### 3.1 Basic reference model definitions
+
+This Recommendation | International Standard is based on the concepts developed in the Basic Reference Model for Open Systems Interconnection and makes use of the following terms defined in ITU-T Rec. X.200 | ISO/IEC 7498-1:
+
+- a) expedited Network Service data unit;
+- b) Network-address;
+- c) Network Connection;
+- d) Network-entity;
+- e) Network-protocol control information;
+- f) Network-protocol data unit;
+- g) Network Layer;
+- h) Network-relay;
+- i) Network-routing;
+- j) Network Service;
+- k) Network Service access point;
+- l) Network Service access point address;
+- m) Network Service data unit;
+- n) OSI environment;
+- o) subnetwork;
+- p) title.
+
+### 3.2 Service conventions definitions
+
+This Recommendation | International Standard also makes use of the following terms defined in ITU-T Rec. X.210 | ISO/IEC 10731, as they apply to the Network Layer:
+
+- a) confirm;
+- b) indication;
+- c) Network Service user;
+- d) Network Service provider;
+- e) primitive;
+- f) request;
+- g) response.
+
+### 3.3 Network Service definitions
+
+For the purposes of this Recommendation | International Standard, the following definitions also apply:
+
+**3.3.1 calling NS user:** An NS user that initiates an NC establishment request.
+
+**3.3.2 called NS user:** An NS user with whom a calling NS user wishes to establish an NC.
+
+NOTE – Calling NS users and called NS users are defined with respect to a single NC. An NS user can be both a calling and a called NS user simultaneously.
+
+**3.3.3 generic address:** An address which identifies a set of NSAPs rather than a single specific NSAP.
+
+**3.3.4 network connection:** An association established by a Network Layer between two NS users for the transfer of data, which provides explicit identification of a set of Network data transmissions and agreement concerning the services to be provided by the set.
+
+NOTE – This definition clarifies that given in ITU-T Rec. X.200 | ISO/IEC 7498-1.
+
+**3.3.5 network connection-mode data transmission:** The transfer of an NSDU from a source NSAP to a destination NSAP within the context of an NC that has previously been established.
+
+**3.3.6 network connectionless-mode data transmission:** The transmission of an NSDU from a source NSAP to a destination NSAP or group of destination NSAPs outside the context of an NC and without any requirement to maintain any logical relationship among multiple invocations.
+
+**3.3.7 network connectionless-mode multicast transmission:** The transmission of an NSDU from a source NSAP to a set of destination NSAPs.
+
+### 3.4 Network addressing definitions
+
+Annex A, describing network addressing, makes use of the following terms as defined below:
+
+**3.4.1 DTE address:** Information used to identify a point of attachment to a public data network.
+
+**3.4.2 subnetwork point of attachment:** A point at which a real end system, interworking unit, or real subnetwork is attached to a real subnetwork, and a conceptual point at which a subnetwork service is offered within an end or intermediate system.
+
+**3.4.3 subnetwork point of attachment address:** Information used in the context of a particular real subnetwork to identify a subnetwork point of attachment; or information used in the context of a particular subnetwork to identify the conceptual point within an end or intermediate system at which the subnetwork service is offered. This term is used interchangeably with the (equivalent) shortened form *subnetwork address*.
+
+**3.4.4 network protocol address information:** Information encoded in a Network protocol data unit to carry the semantics of a Network service access point address. (This is known as an "address signal" or as the "coding of an address signal" in the public network environment.)
+
+**3.4.5 naming domain:** A context within which a name allocated by a naming authority is unambiguous. Where the name is an address, the context within which the name is allocated is called an *addressing domain*.
+
+**3.4.6 global network addressing domain:** An addressing domain consisting of all of the Network service access point addresses in the OSI environment.
+
+**3.4.7 network addressing domain:** A subset of the global network addressing domain consisting of all of the Network service access point addresses allocated by one or more addressing authorities.
+
+**3.4.8 naming authority:** That which allocated names from a specified naming domain, and which ensures that names so allocated are unambiguous. Where the naming authority allocates addresses, it is called an *addressing authority*.
+
+**3.4.9 network addressing authority:** An addressing authority that assigns and administers Network service access point addresses within one or more network addressing domains.
+
+**3.4.10 abstract syntax:** A notation which enables data types to be defined, and values of those types specified, without determining the way in which they will be represented (encoded) for transfer by protocols.
+
+**3.4.11 group Network address:** An address that identifies a set of zero or more Network service access points; these may belong to multiple Network entities, in different end systems.
+
+**3.4.12 individual Network address:** An address that identifies a single NSAP.
+
+NOTE – Where the distinction between a group Network address and an individual Network address is not important, the term **NSAP address** is used.
+
+### 3.5 Network layer architecture definitions
+
+This Recommendation | International Standard makes use of the following terms defined in ITU-T Rec. X.300 and ISO 8648.
+
+- a) subnetwork;
+- b) real subnetwork;
+- c) subnetwork service;
+- d) real end system;
+- e) interworking unit;
+- f) intermediate system;
+- g) relay entity.
+
+## 4 Abbreviations
+
+For the purposes of this Recommendation | International Standard, the following abbreviations apply:
+
+| | |
+|-------|-----------------------------------------|
+| AFI | Authority and Format Identifier |
+| CC | Country Code |
+| COR | Confirmation of Receipt |
+| DCC | Data Country Code |
+| DSP | Domain Specific Part |
+| ENSDU | Expedited Network Service data unit |
+| ICD | International Code Designator |
+| IDI | Initial Domain Identifier |
+| IDP | Initial Domain Part |
+| ISDN | Integrated Services Digital Network |
+| N | Network |
+| NC | Network Connection |
+| NL | Network Layer |
+| NPAI | Network Protocol Addressing Information |
+| NPDU | Network Protocol Data Unit |
+
+| | |
+|------|-----------------------------------|
+| NS | Network Service |
+| NSAP | Network Service access point |
+| NSDU | Network Service data unit |
+| OSI | Open Systems Interconnection |
+| PSTN | Public Switched Telephone Network |
+| PTT | Postal, Telephone and Telegraph |
+| QOS | Quality of Service |
+| RPF | Reference Publication Format |
+| SNPA | Subnetwork Point of Attachment |
+
+## 5 Conventions
+
+### 5.1 General conventions
+
+This Service Definition uses the descriptive conventions given by ITU-T Rec. X.210 | ISO/IEC 10731.
+
+The layer service model, service primitives, and time-sequence diagrams taken from those conventions are entirely abstract descriptions; they do not represent a specification for implementation.
+
+### 5.2 Parameters
+
+Service primitives, used to represent service-user/service-provider interactions (see ITU-T Rec. X.210 | ISO/IEC 10731), convey parameters which indicate information available in the user/provider interaction.
+
+The parameters which apply to each group of Network Service primitives are set out in tables in clauses 12 to 14 and 19. Each "X" in the tables indicates that the primitive labelling the column in which it falls may carry the parameter labelling the row in which it falls.
+
+Some entries are further qualified by items in brackets. These may be:
+
+- a) an indication that the parameter is conditional in some way:
+ - (C) indicates that the parameter is not present on the primitive for every NC; the parameter definition describes the conditions under which the parameter is present or absent;
+- b) a parameter specific constraint:
+ - (=) indicates that the value supplied in an indication or confirm primitive is always identical to that supplied in the corresponding request or response primitive occurring at the peer NSAP;
+- c) an indication that some note applies to the entry:
+ - (Note x) indicates that the referenced note contains additional information pertaining to the parameter and its use.
+
+In any particular interface, not all parameters need be explicitly stated. Some may be implicitly associated with the NSAP at which the primitive is issued.
+
+### 5.3 NC end-point identification convention
+
+If an NS user needs to distinguish among several NCs at the same NSAP, then a local NC end-point identification mechanism must be provided. All primitives issued at such an NSAP would be required to use this mechanism to identify NCs. Such an implicit identification is not described as a parameter of the service primitives in this Service Definition.
+
+NOTE – The implicit NC end-point identification must not be confused with the address parameters of the N-CONNECT primitives (see 12.2).
+
+## 6 Overview and general characteristics
+
+The Network Service provides for the transparent transfer of data (i.e. NS-user-data) between NS users. It makes invisible to these NS users the way in which supporting communications resources are utilized to achieve this transfer.
+
+In particular, the Network Service provides for the following:
+
+- a) *Independence of underlying transmission media* – The Network Service relieves NS users from all concerns regarding how various subnetworks are used to provide the Network Service. The Network Service hides from the NS user differences in the transfer of data over heterogeneous subnetworks, other than quality of service.
+- b) *End-to-end transfer* – The Network Service provides for transfer of NS-user-data between NS users in end systems. All routing and relaying functions are performed by the NS provider including the case where several similar or dissimilar transmission resources are used in tandem or in parallel.
+- c) *Transparency of transferred information* – The Network Service provides for the transparent transfer of octet-aligned NS-user-data and/or control information. It does not restrict the content, format or coding of the information, nor does it ever need to interpret its structure or meaning.
+- d) *Quality of service selection* – The Network Service makes available to NS users a means to request and to agree to the quality of service for the transfer of NS-user-data. Quality of service is specified by means of QOS-parameters representing characteristics such as throughput, transit delay, accuracy and reliability.
+- e) *NS-user-addressing* – The Network Service utilizes a system of addressing (NSAP addressing and group Network addressing) which allows NS users to refer unambiguously to one another.
+
+## 7 Types and classes of Network Service
+
+There are two types of Network Service:
+
+- a) a connection-mode service (defined in Section 2); and
+- b) a connectionless-mode service (defined in Section 3).
+
+For a given instance of communication, the mode of service provided to all NS users is the same (i.e. connection-mode or connectionless-mode). Choice of provision of the connectionless-mode Network Service or the connection-mode Network Service is made in accordance with ITU-T Rec. X.200 | ISO/IEC 7498-1.
+
+When referring to this Service Definition, an NS user or NS provider shall state which type(s) of service it expects to use or provide.
+
+There are no distinct classes of Network Service defined.
+
+However, for the connection-mode service, two Network Layer Services, Receipt Confirmation and Expedited Data Transfer, are NS provider-options.
+
+A service which is an NS provider-option is one which an NS provider can choose either to provide or not to provide for a particular NC. In circumstances where the NS provider chooses not to provide a provider-option service, it will not be available in the Network Service. If the provider-option Receipt Confirmation or Expedited Data Transfer is provided, it shall be as defined in 14.1 to 14.3.
+
+# SECTION 2 – DEFINITION OF THE CONNECTION-MODE SERVICE
+
+## 8 Features of the connection-mode Network Service
+
+The connection-mode Network Service offers the following features to an NS user:
+
+- a) The means to establish an NC with another NS user for the purpose of transferring NS-user-data in the form of NSDUs. More than one NC may exist between the same pair of NS users.
+- b) The establishment of an agreement between the two NS users and the NS provider for a certain QOS associated with each NC.
+- c) The means of transferring NSDUs in sequence on an NC. The transfer of NSDUs, which consist of an integer number of octets, is transparent, in that the boundaries of NSDUs and the contents of NSDUs are preserved unchanged by the Network Service, and there are no constraints on the NSDU content imposed by the Network Service.
+
+- d) The means by which the receiving NS user may flow control the rate at which the sending NS user may send NSDUs.
+- e) In some circumstances, the means of transferring separate expedited NSDUs in sequence (see clause 7). Expedited NSDUs are limited in length and their transmission is subject to a different flow control from normal data across the NSAP.
+- f) The means by which the NC can be returned to a defined state and the activities of the two NS users synchronized by use of a reset service.
+- g) In some circumstances, the means for the NS user to confirm the receipt of an NSDU (see clause 7).
+- h) The unconditional, and therefore possibly destructive, release of an NC by either of the NS users or by the NS provider.
+
+## 9 Model of the connection-mode Network Service
+
+### 9.1 Model of the connection-mode Network Layer Service
+
+This Service Definition uses the abstract model for a layer service defined in clause 4 of ITU-T Rec. X.210 | ISO/IEC 10731. The model defines the interactions between the NS users and the NS provider which take place at the two NSAPs. Information is passed between the NS user and the NS provider by service primitives, which may convey parameters.
+
+### 9.2 Model of a Network Connection
+
+Between the two end-points of an NC, there exists a flow control function which relates the behaviour of the NS user at one end receiving NS-user-data to the ability of the NS user at the other end to send NS-user-data. As a means of specifying this flow control feature and its relationship with other capabilities provided by the Network Service, the queue model of an NC, described in the following subclauses, is used.
+
+This queue model of an NC is discussed only to aid in the understanding of the end-to-end service features perceived by users of the Network Service. It is not intended to serve as a substitute for a precise, formal description of the Network Service, nor as a complete specification of all allowable sequences of NS primitives (allowable primitive sequences are specified in clause 11 – also, see Note below.) In addition, this model does not attempt to describe all the functions or operations of Network Layer entities (including relay entities) which are used to provide the Network Service. No attempt to specify or constrain Network Service implementations is implied.
+
+In interpreting this Service Definition, statements in clauses 12 to 14 concerning the properties of individual primitives have precedence over the general statements in this clause.
+
+NOTE – In addition to the interaction between service primitives described by this model, there may be constraints applied locally on the ability to invoke primitives, as well as service procedures defining particular sequencing constraints on some primitives.
+
+#### 9.2.1 Queue model concepts
+
+The queue model represents the operation of an NC in the abstract by a pair of queues linking the two NSAPs. There is one queue for each direction of information flow (see Figure 1).
+
+Each queue represents a flow control function in one direction of transfer. The ability of an NS user to add objects to a queue will be determined by the behaviour of the NS user removing objects from that queue and the state of the queue. Objects are entered or removed from the queue, either as the result of interactions at the two NSAPs, or as the result of NS provider initiatives.
+
+The pair of queues is considered to be available for each potential NC.
+
+The objects which may be placed in a queue as a result of interactions at an NSAP (see clauses 12 to 14) are:
+
+- a) connect objects (associated with N-CONNECT primitives and all of their parameters);
+- b) octets of normal NS-user-data (associated with an N-DATA primitive);
+- c) indications of end-of-NSDU (associated with completion of an N-DATA primitive);
+- d) expedited NSDUs (associated with N-EXPEDITED-DATA primitives and all their parameters);
+
+- e) data acknowledgment objects (associated with N-DATA-ACKNOWLEDGE primitives);
+- f) reset objects (associated with N-RESET primitives and their parameters);
+- g) disconnect objects (associated with N-DISCONNECT primitives and all their parameters).
+
+NOTE – The description of flow control (see 9.2.3) requires a less abstract description than that used for describing sequences of primitives in clauses 11 to 14. While primitives are defined to be indivisible, for purposes of this queue model, information associated with N-DATA primitives is conceptually subdivided into a sequence of octets of NS-user-data followed by an end-of-NSDU indication. This does not imply any particular subdivision in any real interface.
+
+
+
+Diagram of the Queue model of a Network Connection. It shows two NS users, NS user A and NS user B, each connected to an NSAP (Network Service Access Point). These NSAPs are connected to an NS provider. Two queues are shown: 'Queue from A to B' and 'Queue from B to A'. The queues are represented by lines connecting the NSAPs, with the NS provider label at the bottom. The diagram is labeled TISO0300-92 in the bottom right corner.
+
+**Figure 1 – Queue model of a Network Connection**
+
+The objects which may be placed in a queue as a result of NS provider initiatives (see clauses 12 to 14) are:
+
+- 1) reset objects (associated with N-RESET primitives and all their parameters);
+- 2) synchronization mark objects (see 9.2.4);
+- 3) disconnect objects (associated with N-DISCONNECT primitives and all their parameters).
+
+The queues are defined to have the following general properties:
+
+- i) a queue is empty until a connect object has been entered and can be returned to this state, with loss of its contents, by the NS provider (see 9.2.4 and 9.2.5);
+- ii) objects may be entered into a queue as a result of the actions of the source NS user, subject to control by the NS provider; objects may also be entered into a queue by the NS provider;
+- iii) objects are removed from the queue under the control of the receiving NS user;
+- iv) objects are normally removed under the control of the NS user in the same order that they were entered (however see 9.2.3);
+- v) a queue has a limited capacity, but this capacity is not necessarily either fixed or determinable.
+
+#### 9.2.2 NC establishment
+
+A pair of queues is associated with an NC between two NSAPs when the NS provider receives an N-CONNECT request primitive at one of the NSAPs and a connect object is entered into one of the queues. From the standpoint of one of the NS users of the NC, the queues remain associated with the NC until a disconnect object (associated with an N-DISCONNECT primitive) is either entered or removed from a queue at that NSAP.
+
+If NS user A denotes the NS user who initiates NC establishment (resulting in a connect object being entered into the queue from NS user A to NS user B), then no object other than a disconnect object may be entered into the queue from A to B until after the connect object associated with the N-CONNECT confirm has been removed. In the queue from NS user B to NS user A, objects can be entered only after a connect object associated with an N-CONNECT response from NS user B has been entered; it is possible for a disconnect object to be placed in the queue from B to A instead of a connect object to release the NC.
+
+The properties exhibited by the queues while the NC exists represent the agreements reached among the NS users and the NS provider during the NC establishment procedure concerning quality of service and the use of the receipt and expedited data transfer services.
+
+#### 9.2.3 Data transfer operations
+
+Flow control on the NC is represented in this queue model by the management of the queue capacity, allowing objects of certain types to be added to the queues. The conditions affecting entry of reset and disconnect objects are described in item b) below and in 9.2.4 and 9.2.5. The flow control relationship between the other types of objects is summarized by Table 1.
+
+**Table 1 – Flow control relationships between queue model objects**
+
+| The addition of object x may prevent further addition of object y | Octets of NS-user-data or end-of-NSDU | Expedited NSDU | Data acknowledgment |
+|--------------------------------------------------------------------------------------|--------------------------------------------------|-----------------------|----------------------------|
+| Octets of normal NS-user-data or end-of-NSDU | Yes | Yes | No |
+| Expedited NSDU | No | Yes | No |
+| Data acknowledgment | No | No | No |
+
+Once in the queue, the NS provider may manipulate pairs of adjacent objects, resulting in:
+
+- a) *Change of order* – The order of any pair of objects may be reversed, if and only if, the following object is of a type defined to be able to advance ahead of the preceding object. No object is defined to be able to advance ahead of another object of the same type.
+- b) *Deletion* – Any object may be deleted if, and only if, the following object is defined to be destructive with respect to the preceding object. If necessary, the last object in the queue will be deleted to allow a destructive object to be entered. Destructive objects may therefore always be added to the queue. Disconnect objects are defined to be destructive with respect to all other objects. Reset objects are defined to be destructive with respect to all other objects except connect and disconnect objects.
+
+The relationships between objects which may be manipulated as described in a) and b) above are summarized in Table 2.
+
+Whether the NS provider performs actions resulting in change of order and deletion or not will depend upon the behaviour of the NS users and the agreed QOS for the NC. In general, if an NS user does not cause objects to be removed from a queue, the NS provider shall, after some unspecified period of time, perform all permitted actions of types a) and b).
+
+#### 9.2.4 Reset operations
+
+The invocation of a reset procedure is represented in the two queues as follows:
+
+- a) Invocation of a reset procedure by the NS provider is represented by the introduction into each queue of a reset object followed by a synchronization mark object.
+- b) A reset procedure invoked by an NS user is represented by the addition of a reset object to one queue. In this case, the NS provider will insert a reset object followed by a synchronization mark object into the other queue.
+
+The completion of a reset procedure by the issuance of an N-RESET response by an NS user results in a reset object being placed in the queue from the responding NS user.
+
+A synchronization mark object cannot be removed from a queue by an NS user; a queue appears empty to an NS user when a synchronization mark object is the next object in it. Unless destroyed by a disconnect object, a synchronization mark object remains in the queue until the next object following it in the queue is a reset object. Both the synchronization mark object and the following reset object are then deleted by the NS provider.
+
+NOTE – Associated with the invocation of a reset procedure are restrictions on the issuance of certain other types of primitives. These restrictions will result in restrictions on the entry of certain object types into the queue until the reset procedure is complete.
+
+Table 2 – Ordering relationships between queue model objects
+
+| Following object x with respect to preceding object y | Connect | Octets of normal NS user-data | End-of-NSDU | Expedited NSDU | Data acknowledgment | Reset | Synchronization mark | Disconnect |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|----------------------------------|-------------|-------------------|------------------------|-------|-------------------------|------------|
+| Connect | N/A | – | N/A | – | – | – | N/A | DES |
+| Octets of normal NS user-data | N/A | – | – | AA | AA | DES | N/A | DES |
+| End-of-NSDU | N/A | – | N/A | AA | AA | DES | N/A | DES |
+| Expedited NSDU | N/A | – | – | – | AA | DES | N/A | DES |
+| Data acknowledgment | N/A | – | – | AA | – | DES | N/A | DES |
+| Reset | N/A | – | N/A | – | – | DES | – | DES |
+| Synchronization mark | N/A | – | – | – | – | DES | N/A | DES |
+| Disconnect | N/A | N/A | N/A | N/A | N/A | N/A | N/A | DES |
+| AA Indicates that object x is defined to be able in advance ahead of the preceding object y. DES Indicates that object x is defined to be destructive with respect to the preceding object y. – Indicates that object x is neither destructive with respect to object y nor able to advance ahead of object y. N/A Indicates that object x will not occur in a position succeeding object y in a valid state of a queue. | | | | | | | | |
+
+#### 9.2.5 NC release
+
+The insertion into a queue of a disconnect object, which may occur at any time, represents the initiation of an NC release procedure. The release procedure may be destructive with respect to other objects in the two queues and eventually results in the emptying of the queues and the disassociation of the queues with the NC.
+
+The insertion of a disconnect object may also represent the rejection of an NC establishment attempt or the failure to complete NC establishment. In such cases, if a connect object representing an N-CONNECT request primitive is deleted by a disconnect object, then the disconnect object is also deleted. The disconnect object is not deleted when it deletes any other object, including the case where it deletes a connect object representing an N-CONNECT response.
+
+## 10 Quality of the connection-mode Network Service
+
+The term Quality of Service (QOS) refers to certain characteristics of an NC as observed between the NC end-points. QOS describes aspects of an NC which are attributable solely to the NS provider; it can only be properly determined in the absence of NS user behaviour (which is beyond the control of the NS provider) which specifically constrains or impairs the performance of the Network Service.
+
+A value of QOS applies to an entire NC. When determined or measured at both ends of an NC, the QOS observed by the NS users at the two ends of the NC is the same. This is true even in the case of an NC spanning several subnetworks where each subnetwork offers different services.
+
+### 10.1 Determination of QOS
+
+QOS is described in terms of QOS-parameters. The definition of each of these QOS-parameters specifies the way in which the QOS-parameter's value is measured or determined, making reference where appropriate, to primitive events of the NS.
+
+NOTE 1 – It is important to distinguish the use of the term "QOS-parameters" from the more general term "parameters" as defined in 5.2 and used throughout this Service Definition. A "QOS-parameter" refers to a specific aspect or component of the QOS for an NC. As described below, a particular QOS-parameter may or may not be related to a parameter defined as part of a Network Service primitive.
+
+NOTE 2 – For purposes of accuracy and/or convenience, the definition and measurement formula for some QOS-parameters includes a component attributable to the NS user(s). In such cases, to evaluate the QOS attributable solely to the NS provider, this NS user-dependent component must be factored out.
+
+NOTE 3 – The definition of NS QOS-parameters in terms which provide a means for measurement should not be understood to imply that QOS monitoring or that verification of stated QOS value is, or must be, performed by the NS provider or by the NS users.
+
+It is in terms of the NS QOS-parameters that information about QOS is exchanged among the NS provider and NS users.
+
+Information about the QOS requirements of the NS users may be used by the NS provider for purposes such as protocol selection, route determination, and allocation of resources. Information about the QOS available from the NS provider may be used by NS users for purposes such as selecting QOS enhancement mechanisms and determining the QOS values provided to NS users at higher layers.
+
+The NS QOS-parameters can be divided into two categories as follows:
+
+- 1) those whose values are "conveyed" between peer NS users by means of the NS provider during the Establishment phase of an NC. As part of this conveyance, a three-party "negotiation" among the NS users and the NS provider for the purpose of agreeing upon a particular QOS-parameter value may take place; and
+- 2) those whose values are not "conveyed" or "negotiated" among the NS users and the NS provider; for these QOS-parameters, however, information about the values which is useful to the NS provider and each NS user may be made known by local means.
+
+The NS QOS-parameters are defined in 10.2.1 to 10.2.12 below.
+
+The set of NS QOS-parameters that belong to the first category, and the procedures and constraints that apply to conveying and negotiating those QOS-parameters, are specified in 12.2.7. Once the NC is established, and throughout the lifetime of the NC, the agreed values for these QOS-parameters are not "renegotiated" at any point, and there is no guarantee that the originally negotiated values will be maintained. The NS user should also be aware that, once an NC is established, changes in QOS on the NC are not explicitly signalled in the NS.
+
+For QOS-parameters in the second category, the values for a particular NC are not negotiated, nor are they directly conveyed from NS user to NS user. As a local matter, however, there may be means by which the values of one or more of these QOS-parameters are known and utilized by the NS provider and each NS user. Despite the local nature of particular NS user/NS provider interactions which may occur for the purposes of exchanging QOS-parameter information, the characteristics of an NC which the QOS-parameters describe are applicable and can be observed on a complete NC, end-to-end basis. Thus, in order to give a full characterization of the properties of NCs, the definitions of the entire set of QOS-parameters which apply to the NS, including those classified in category 2, are included in this Service Definition. Other aspects related to category 2 parameters, such as the circumstances of their availability and use, as well as other QOS issues, such as the relationship to OSI management, and multi-layer QOS relationships, are the subjects of other OSI QOS-related specifications.
+
+NOTE 4 – For non-negotiated QOS-parameters associated with the Data Transfer phase of an NC, when specified, a value of such a QOS-parameter applies to both directions of transfer on the NC.
+
+### 10.2 Definition of QOS-parameters
+
+QOS-parameters can be classified as:
+
+- a) QOS-parameters which express Network Service performance, as shown in Table 3.
+- b) QOS-parameters that express other Network Service characteristics, as shown in Table 4.
+
+NOTE – Some QOS-parameters are defined in terms of the issuance of Network Service primitives. Reference to a primitive in 10.2.1 through 10.2.12 refers to the complete execution of that service primitive at the appropriate NSAP.
+
+**Table 3 – Classification of performance QOS-parameters**
+
+| Phase | Performance criterion | |
+|------------------|------------------------|-----------------------------------------------------------------|
+| | Speed | Accuracy/reliability |
+| NC establishment | NC establishment delay | NC establishment failure probability (misconnection/NC refusal) |
+| Data transfer | Throughput | Residual error rate (corruption, duplication/loss) |
+| | | NC resilience |
+| | Transit delay | Transfer failure probability |
+| NC release | NC release delay | NC release failure probability |
+
+**Table 4 – QOS-parameters not associated with performance**
+
+| |
+|-------------------------|
+| NC protection |
+| NC priority |
+| Maximum acceptable cost |
+
+#### 10.2.1 NC establishment delay
+
+NC establishment delay is the maximum acceptable delay between an N-CONNECT request and the corresponding N-CONNECT confirm primitive.
+
+NOTE – This delay includes a component, attributable to the called NS user, which is the time between the N-CONNECT indication primitive and the N-CONNECT response primitive.
+
+#### 10.2.2 NC establishment failure probability
+
+NC establishment failure probability is the ratio of total NC establishment failures to total NC establishment attempts in a measurement sample.
+
+NC establishment failure is defined to occur when a requested NC is not established within the specified maximum acceptable time period as a result of NS provider behaviour such as misconnection, NC refusal, or excessive delay. NC establishment attempts which fail as a result of NS user behaviour such as error, NC refusal, or excessive delay are excluded in calculating NC establishment failure probability.
+
+#### 10.2.3 Throughput
+
+Throughput is defined, for each direction of transfer, in terms of a sequence of at least two successfully transferred NSDUs presented continuously to the NS provider at the maximum rate the NS provider can continuously sustain, and unconstrained by flow control applied by the receiving NS user.
+
+Given such a sequence of $n$ NSDUs, where $n$ is greater than or equal to 2, the throughput is defined to be the smaller of:
+
+- a) the number of NS-user-data octets contained in the last $n - 1$ NSDUs divided by the time between the first and last N-DATA requests in the sequence; and
+- b) the number of NS-user-data octets contained in the last $n - 1$ NSDUs divided by the time between the first and last N-DATA indications in the sequence.
+
+Successful transfer of the octets in a transmitted NSDU is defined to occur when the octets are delivered to the intended receiving NS user without error, in the proper sequence, and prior to release of the NC by the receiving NS user.
+
+Throughput is specified separately for each direction of transfer. Each throughput specification will specify both the desired "target" value and the minimum acceptable value (i.e. the "lowest quality acceptable") for the NC. (See also 12.2.7.)
+
+#### 10.2.4 Transit delay
+
+Transit delay is the elapsed time between an N-DATA request and the corresponding N-DATA indication. Elapsed time values are calculated only on NSDUs that are successfully transferred.
+
+Successful transfer of an NSDU is defined to occur when the NSDU is transferred from the sending NS user to the intended receiving NS user without error, in the proper sequence, and prior to release of the NC by the receiving NS user.
+
+Specification of transit delay will define a pair of values: the desired "target" value and the maximum acceptable (i.e. the "lowest quality acceptable") value. (See also 12.2.7.) The specified values will be averages and will be based on an NSDU size of 128 octets.
+
+The pair of transit delay values specified for an NC applies to both directions of transfer. That is, the transit delay in each direction is expected to be no worse than that specified.
+
+The transit delay for an individual NSDU may be increased if the receiving NS user exercises flow control. Such occurrences are excluded in calculating both average and maximum transit delay values.
+
+#### 10.2.5 Residual error rate
+
+Residual error rate is the ratio of total incorrect, lost, and duplicate NSDUs to total NSDUs transferred across the NS boundary during a measurement period. The relationship among these quantities is defined, for a particular NS user pair, as shown in Figure 2.
+
+#### 10.2.6 Transfer failure probability
+
+Transfer failure probability is the ratio of total transfer failures to total transfer samples observed during a performance measurement.
+
+A transfer sample is a discrete observation of NS provider performance in transferring NSDUs between a specified sending and receiving NS user. A transfer sample begins on input of a selected NSDU at the sending NS user boundary, and continues until the outcome of a given number of NSDU transfer requests has been determined. A transfer sample will normally correspond to the duration of an individual NC.
+
+A transfer failure is a transfer sample in which the observed performance is worse than a specified minimum acceptable level. Transfer failures are identified by comparing the measured values for the supported performance parameters with specified transfer failure thresholds. The three supported performance parameters are throughput, transit delay, and residual error rate.
+
+In systems where Network Service QOS is reliably monitored by the NS provider, transfer failure probability can be estimated by the probability of an NS provider invoked N-DISCONNECT during a transfer sample.
+
+![Diagram illustrating the components of residual error rate (RER). It shows a flow from 'NSDUs sent' to 'NSDUs received'. The flow is divided into four categories: 'Lost NSDUs [N(l)]', 'Successfully transferred NSDUs [N(s)]', 'Incorrect NSDUs [N(e)]', and 'Extra NSDUs [N(x)]'. A dashed box encloses 'Lost NSDUs [N(l)]', 'Successfully transferred NSDUs [N(s)]', and 'Incorrect NSDUs [N(e)]'. A solid box encloses 'Successfully transferred NSDUs [N(s)]', 'Incorrect NSDUs [N(e)]', and 'Extra NSDUs [N(x)]'. A horizontal arrow at the bottom indicates 'Total NSDUs transferred (N)' spanning from the start of the dashed box to the end of the solid box. The reference 'TISO0310-92' is at the bottom right.](08a978a124d3ed6cf1a3d0cfd89418d0_img.jpg)
+
+$$RER = \frac{N(e) + N(l) + N(x)}{N}$$
+
+Diagram illustrating the components of residual error rate (RER). It shows a flow from 'NSDUs sent' to 'NSDUs received'. The flow is divided into four categories: 'Lost NSDUs [N(l)]', 'Successfully transferred NSDUs [N(s)]', 'Incorrect NSDUs [N(e)]', and 'Extra NSDUs [N(x)]'. A dashed box encloses 'Lost NSDUs [N(l)]', 'Successfully transferred NSDUs [N(s)]', and 'Incorrect NSDUs [N(e)]'. A solid box encloses 'Successfully transferred NSDUs [N(s)]', 'Incorrect NSDUs [N(e)]', and 'Extra NSDUs [N(x)]'. A horizontal arrow at the bottom indicates 'Total NSDUs transferred (N)' spanning from the start of the dashed box to the end of the solid box. The reference 'TISO0310-92' is at the bottom right.
+
+Figure 2 – Components of residual error rate
+
+#### 10.2.7 NC resilience
+
+NC resilience parameters specify the probability of:
+
+- an NS provider invoked NC release (i.e. issuance of an N-DISCONNECT indication with no prior N-DISCONNECT request); and
+- an NS provider invoked reset (i.e. issuance of an N-RESET indication with no prior N-RESET request),
+
+during a specified time interval on an established NC.
+
+#### 10.2.8 NC release delay
+
+NC release delay is the maximum acceptable delay between an NS user invoked N-DISCONNECT request and the successful release of the NC at the peer NS user. NC release delay is normally specified independently for each NS user. NC release delay does not apply in cases where NC release is invoked by the NS provider.
+
+Issuance of an N-DISCONNECT request by either NS user starts the counting of NC release delay for the other NS user. Successful NC release is signalled to the NS user not initiating the N-DISCONNECT request by an N-DISCONNECT indication.
+
+#### 10.2.9 NC release failure probability
+
+NC release failure probability is the ratio of total NC release requests resulting in release failure to total NC release requests included in a measurement sample. NC release failure probability is normally specified independently for each NS user.
+
+A release failure is defined to occur, for a particular NS user, if that user does not receive an N-DISCONNECT indication within the specified maximum NC release delay of the NS user issuing the N-DISCONNECT request (given that the former NS user has not issued an N-DISCONNECT request).
+
+#### 10.2.10 NC protection
+
+NC protection is the degree to which the NS provider attempts to counter security threats to the Network Service using security services applied in the Network, Data Link and Physical Layers.
+
+The handling of NC protection QOS parameters is a local matter controlled according to the security policy in force.
+
+NOTE – For further information on the provision of security in the lower layers and the handling of protection QOS, see ITU-T Rec. X.802 | ISO/IEC TR 13594.
+
+#### 10.2.11 NC priority
+
+NC priority specifies independently the relative importance of an NC with respect to the following:
+
+- a) priority to gain an NC;
+- b) priority to keep an NC;
+- c) priority of data on the NC.
+
+NC priority QOS-parameters a) and b) together define the order in which NCs are to be broken to recover resources if necessary. The NS provider is required to accept new requests for NCs with a high priority type a) if it can, even if NCs with a lower priority type b) have to be released to do so.
+
+NC priority QOS-parameter c) defines the order in which NCs are to have their QOS degraded. The NCs with a high priority type c) are to have their requests serviced within the required QOS first and remaining resources are then used to attempt to satisfy requests on lower priority NCs.
+
+NOTE – The use or abuse of the NC priority QOS-parameters can be controlled by one or more of the following:
+
+- user discipline within a closed group of NS users;
+- differential tariffs;
+- management facilities within the Network Layer such that requests for NC priority are policed and regulated.
+
+#### 10.2.12 Maximum acceptable cost
+
+The maximum acceptable cost QOS-parameter specifies the maximum acceptable cost for an NC. The cost may be specified in absolute or relative costs units. The cost of an NC is composed of communications and end-system resource costs.
+
+NOTE – The possible actions of the NS provider in the event that the maximum acceptable cost for an NC is exceeded are not specified in this Service Definition.
+
+## 11 Sequence of primitives
+
+This clause defines the constraints on the sequences in which the primitives defined in clauses 12 to 14 may occur. The constraints determine the order in which primitives occur, but do not fully specify when they may occur. Other constraints, such as flow control of data, will affect the ability of an NS user or an NS provider to issue a primitive at any particular time.
+
+Table 5 is a summary of the NS primitives and their parameters.
+
+### 11.1 Relation of primitives at the two NC end-points
+
+A primitive issued at one NC end-point will, in general, have consequences at the other NC end-point. The relations of primitives of each type to primitives at the other NC end-point are defined in the appropriate clauses 12 to 14; all these relations are summarized in the diagrams in Figure 3.
+
+However, an N-DISCONNECT request or indication primitive may terminate any of the other sequences before completion. An N-RESET request or indication may terminate a data transfer, expedited data transfer, or receipt confirmation sequence before completion.
+
+### 11.2 Sequence of primitives at one NC end-point
+
+The possible overall sequences of primitives at an NC end-point are defined in the state transition diagram, Figure 4. In the diagram:
+
+- a) A primitive which is not shown as resulting in a transition (from one state to the same state, or from one state to a different state) is not permitted in that state (however, see 11.1 above concerning the effect of N-DISCONNECT and N-RESET primitives).
+- b) N-DISCONNECT stands for either the request or the indication form of the primitive in all cases.
+- c) The labelling of the states NS user invoked reset pending (state 5) and NS provider invoked reset pending (state 6) indicates the party which started the local interaction, and does not necessarily reflect the value of the originator parameter in the associated N-RESET primitive.
+
+- d) The Idle state (state 1) reflects the absence of an NC. It is the initial and final state of any sequence, and once it has been re-entered, the NC is released.
+- e) The use of a state transition diagram to describe the allowable sequences of service primitives does not impose any requirements or constraints on the internal organization of any implementations of the Network Service.
+
+**Table 5 – Summary of Network Service primitives and parameters**
+
+| Phase | Service | Primitive | Parameters |
+|-----------------------------------------------------------------------------------------|--------------------------------|-------------------------------|------------------------------------------------------------------------------------------------------------------------------|
+| NC establishment | NC establishment | N-CONNECT request | (Called address, calling address, receipt confirmation selection, expedited data selection, QOS-parameter set, NS-user-data) |
+| | | N-CONNECT indication | (Called address, calling address, receipt confirmation selection, expedited data selection, QOS-parameter set, NS-user-data) |
+| | | N-CONNECT response | (Responding address, receipt confirmation selection, expedited data selection, QOS-parameter set, NS-user-data) |
+| | | N-CONNECT confirm | (Responding address, receipt confirmation selection, expedited data selection, QOS-parameter set, NS-user-data) |
+| Data transfer | Data transfer | N-DATA request | (NS-user-data, confirmation request) |
+| | | N-DATA indication | (NS-user-data, confirmation request) |
+| | Receipt confirmation (Note) | N-DATA-ACKNOWLEDGE request | – |
+| | | N-DATA-ACKNOWLEDGE indication | – |
+| | Expedited data transfer (Note) | N-EXPEDITED-DATA request | (NS-user-data) |
+| | | N-EXPEDITED-DATA indication | (NS-user-data) |
+| | Reset | N-RESET request | (Reason) |
+| | | N-RESET indication | (Originator, reason) |
+| | | N-RESET response | – |
+| | | N-RESET confirm | – |
+| NC release | NC release | N-DISCONNECT request | (Reason, NS-user-data, responding address) |
+| | | N-DISCONNECT indication | (Originator, reason, NS-user-data, responding address) |
+| NOTE – An NS provider-option service: it need not be provided in every Network Service. | | | |
+
+
+
+Successful NC establishment
+
+NS user invoked NC release
+
+Simultaneous NS user invoked NC release
+
+NS provider invoked NC release
+
+Simultaneous NS user and NS provider invoked NC release
+
+NS user rejection of an NC establishment attempt
+
+NS provider rejection of an NC establishment attempt
+
+Normal data transfer
+
+Normal data transfer with acknowledgement
+
+Expedited data transfer
+
+NS user invoked reset
+
+Simultaneous NS user invoked reset
+
+NS provider invoked reset
+
+Simultaneous NS user and NS provider invoked reset
+
+TISO0320-92
+
+Figure 3: Summary of Network Service primitive time sequence diagrams. The figure contains 12 sub-diagrams showing various Network Service (NS) operations between an NS user and an NS provider. Each sub-diagram uses vertical lines to represent the lifelines of the NS user and NS provider, with arrows indicating the direction of the primitive call. The operations include: 1. Successful NC establishment: N-CONNECT request from user to provider, N-CONNECT indication from provider to user, N-CONNECT response from user to provider, N-CONNECT confirm from provider to user. 2. NS user invoked NC release: N-DISCONNECT request from user to provider, N-DISCONNECT indication from provider to user. 3. Simultaneous NS user invoked NC release: N-DISCONNECT request from user to provider, N-DISCONNECT request from provider to user. 4. NS provider invoked NC release: N-DISCONNECT indication from provider to user, N-DISCONNECT indication from user to provider. 5. Simultaneous NS user and NS provider invoked NC release: N-DISCONNECT request from user to provider, N-DISCONNECT indication from provider to user. 6. NS user rejection of an NC establishment attempt: N-CONNECT request from user to provider, N-CONNECT indication from provider to user, N-DISCONNECT request from user to provider, N-DISCONNECT indication from provider to user. 7. NS provider rejection of an NC establishment attempt: N-CONNECT request from user to provider, N-DISCONNECT indication from provider to user. 8. Normal data transfer: N-DATA request from user to provider, N-DATA indication from provider to user. 9. Normal data transfer with acknowledgement: N-DATA request w/confirmation request set from user to provider, N-DATA indication w/confirmation request set from provider to user, N-DATA-ACKNOWLEDGE request from user to provider, N-DATA-ACKNOWLEDGE indication from provider to user. 10. Expedited data transfer: N-EXPEDITED DATA request from user to provider, N-EXPEDITED DATA indication from provider to user. 11. NS user invoked reset: N-RESET request from user to provider, N-RESET indication from provider to user, N-RESET response from user to provider, N-RESET confirm from provider to user. 12. Simultaneous NS user invoked reset: N-RESET request from user to provider, N-RESET request from provider to user, N-RESET confirm from user to provider, N-RESET confirm from provider to user. 13. NS provider invoked reset: N-RESET indication from provider to user, N-RESET response from user to provider, N-RESET indication from provider to user, N-RESET response from user to provider. 14. Simultaneous NS user and NS provider invoked reset: N-RESET request from user to provider, N-RESET indication from provider to user, N-RESET response from user to provider, N-RESET confirm from provider to user.
+
+Figure 3 – Summary of Network Service primitive time sequence diagrams
+
+
+
+```
+
+stateDiagram-v2
+ state 1 as 1 Idle
+ state 2 as 2 Outgoing connection pending
+ state 3 as 3 Incoming connection pending
+ state 4 as 4 Data transfer ready
+ state 5 as 5 NS user invoked reset pending
+ state 6 as 6 NS provider invoked reset pending
+
+ 1 --> 2: N-CONNECT request
+ 2 --> 1: N-DISCONNECT
+ 1 --> 3: N-CONNECT indication
+ 3 --> 1: N-DISCONNECT
+ 2 --> 4: N-CONNECT confirm
+ 3 --> 4: N-CONNECT response
+ 4 --> 1: N-DISCONNECT
+ 4 --> 2: N-DISCONNECT
+ 4 --> 3: N-DISCONNECT
+ 4 --> 5: N-RESET request
+ 5 --> 4: N-RESET confirm
+ 4 --> 6: N-RESET indication
+ 6 --> 4: N-RESET response
+ 4 --> 4: N-DATA, N-EXPEDITED-DATA, or N-DATA-ACKNOWLEDGE request or indication
+
+```
+
+TISO0330-92
+
+State transition diagram for sequences of primitives at an NC end-point. The diagram shows six states: 1 (Idle), 2 (Outgoing connection pending), 3 (Incoming connection pending), 4 (Data transfer ready), 5 (NS user invoked reset pending), and 6 (NS provider invoked reset pending). Transitions are labeled with primitives: N-CONNECT request, N-CONNECT indication, N-CONNECT confirm, N-CONNECT response, N-DISCONNECT, N-RESET request, N-RESET confirm, N-RESET indication, and N-RESET response. A self-loop on state 4 is labeled with N-DATA, N-EXPEDITED-DATA, or N-DATA-ACKNOWLEDGE request or indication.
+
+Figure 4 – State transition diagram for sequences of primitives at an NC end-point
+
+## 12 Connection establishment phase
+
+### 12.1 Function
+
+The NC establishment service primitives can be used to establish an NC, provided the NS users exist and are known to the NS provider.
+
+Simultaneous N-CONNECT requests at the two NSAPs are handled independently by the NS provider; they may result in two, one or zero NCs.
+
+### 12.2 Types of primitives and parameters
+
+Table 6 indicates the types of primitives and the parameters needed for NC establishment.
+
+#### 12.2.1 Addresses
+
+The parameters which take addresses as values (see 12.2.2 to 12.2.4) all refer to NSAP addresses. The NSAP address parameters will accommodate variable length addresses up to a defined maximum. Network Layer Addressing is specified in Annex A.
+
+The values of these addresses as supplied by the NS user are not necessarily checked or authenticated by the NS provider. An NS user receiving these addresses in N-CONNECT indication or confirm primitives can only rely on their validity if the NS user has knowledge that the NS provider guarantees address correctness.
+
+Table 6 – NC establishment primitives and parameters
+
+| Primitive Parameter | N-CONNECT request | N-CONNECT indication | N-CONNECT response | N-CONNECT confirm |
+|----------------------------------------------------------------------------------------------------|--------------------------------------|------------------------------------------|--------------------------------------|------------------------------------------|
+| Called address | X | X(=) (Note) | | |
+| Calling address | X (Note) | X(=) | | |
+| Responding address | | | X (Note) | X(=) |
+| Receipt confirmation selection | X | X | X | X(=) |
+| Expedited data selection | X | X | X | X(=) |
+| QOS-parameter set | X | X | X | X(=) for ISO/IEC 8348 X(C=) for X.213 |
+| NS-user-data | X for ISO/IEC 8348 X(C) for X.213 | X(=) for ISO/IEC 8348 X(C=) for X.213 | X for ISO/IEC 8348 X(C) for X.213 | X(=) for ISO/IEC 8348 X(C=) for X.213 |
+| NOTE – This parameter may be implicitly associated with the NSAP at which the primitive is issued. | | | | |
+
+NOTE – Mechanisms operating within the NS provider, such as call redirection or resolution of generic addresses, may result in address parameters in corresponding primitives not being identical in the following cases:
+
+- the responding address parameter on the N-CONNECT response may not necessarily be the same as the called address parameter on the N-CONNECT indication;
+- the responding address parameter on the N-CONNECT confirm may not necessarily be the same as the called address parameter on the N-CONNECT request.
+
+#### 12.2.2 Called address parameter
+
+The called address parameter conveys an address identifying the NSAP to which the NC is to be established. Where explicitly supplied, the addresses in corresponding N-CONNECT request and indication primitives are identical.
+
+#### 12.2.3 Calling address parameter
+
+The calling address parameter conveys the address of the NSAP from which the NC has been requested. Where explicitly supplied, the addresses in corresponding N-CONNECT request and indication primitives are identical.
+
+#### 12.2.4 Responding address parameter
+
+The responding address parameter conveys the address of the NSAP to which the NC has been established. Where explicitly supplied, the addresses in corresponding N-CONNECT response and confirm primitives are identical. This parameter always conveys a specific NSAP address and not a generic NSAP address.
+
+#### 12.2.5 Receipt confirmation selection parameter
+
+The receipt confirmation selection parameter indicates the use/availability of the receipt confirmation service on the NC. If the receipt confirmation service is not provided in the Network Service, then it cannot be used on the NC (see clause 7). The value of this parameter is either "use of receipt confirmation" or "no use of receipt confirmation". The values on the various primitives are related such that:
+
+- on the N-CONNECT request, either of the defined values may occur;
+- on the N-CONNECT indication, the value is either equal to the value on the request primitive, or is "no use of receipt confirmation";
+
+- c) on the N-CONNECT response, the value is either equal to the value on the indication primitive or is "no use of receipt confirmation";
+- d) on the N-CONNECT confirm, the value is equal to the value on the response primitive.
+
+Since receipt confirmation need not be provided in the Network Service and since, when it is available, both NS users and the NS provider must agree to its use, there are four possible cases of negotiation of receipt confirmation on an NC:
+
+- i) the calling NS user does not request it – it is not used;
+- ii) the calling NS user requests it but the NS provider does not provide it – it is not used;
+- iii) the calling NS user requests it and the NS provider agrees to provide it, but the called NS user does not agree to its use – it is not used;
+- iv) the calling NS user requests it, the NS provider agrees to provide it, and the called NS user agrees to its use – it can be used.
+
+#### 12.2.6 Expedited data selection parameter
+
+The expedited data selection parameter indicates the use/availability of the expedited data transfer service on the NC. If the expedited data transfer service is not available from the NS provider (see clause 7), then it cannot be used on the NC. The value of this parameter is either "use of expedited data" or "no use of expedited data". The values on the various primitives are related such that:
+
+- a) on the N-CONNECT request, either of the defined values may occur;
+- b) on the N-CONNECT indication, the value is either equal to the value on the request primitive, or is "no use of expedited data";
+- c) on the N-CONNECT response, the value is either equal to the value on the indication primitive or is "no use of expedited data";
+- d) on the N-CONNECT confirm, the value is equal to the value on the response primitive.
+
+#### 12.2.7 QOS-parameter set
+
+For each QOS-parameter which is conveyed during NC establishment, a set of "subparameters" is defined from among the following possibilities:
+
+- i) a "target" value which is the QOS value desired by the calling NS user;
+- ii) the "lowest quality acceptable" value which is the lowest QOS value agreeable to the calling NS user;
+- iii) an "available" value which is the QOS value the NS provider is willing to provide; and
+- iv) a "selected" value which is the QOS value to which the called NS user agrees.
+
+The set of values which can be specified for each subparameter is defined in every Network Service. Each set of values includes the value "unspecified". It may also include a value defined to be a "default" value, which is mutually understood by the NS provider and the NS user between which it is conveyed.
+
+NOTE 1 – "Default" values are defined between a particular NS user and the NS provider. Different "defaults" may exist for different NS users and thus a value which is understood as a "default" at one end of an NC may not be the "default" value at the other end.
+
+In those cases where both the subparameters "target" and "lowest quality acceptable" are specified by the calling NS user, they are boundary parameters defining a range of QOS values to which the calling NS user will agree. Similarly, where both the subparameters "available" and "lowest quality acceptable" are specified by the NS provider, they are boundary parameters defining a range of QOS values which the NS provider is willing to provide. These ranges are defined to include the values of both of the boundary subparameters, plus any values allowed for these subparameters which lie between the boundary subparameters. In the case where the "target" (or the "available") subparameter has a specified value but the "lowest quality acceptable" value is "unspecified", the range is defined to consist of the "target" value plus all other values which are allowed for these subparameters and which are lower (in QOS terms) than the "target". If the value for both the "target" and "lowest quality acceptable" is "unspecified", then no range of values is defined.
+
+NOTE 2 – For other value assignments (e.g. "target" is "unspecified" but "lowest quality acceptable" has a specified value), the range is not defined since these assignments are not allowed in the negotiation procedures described in 12.2.7.1 and 12.2.7.3.
+
+##### 12.2.7.1 Throughput
+
+Table 7 indicates the presence of the QOS-subparameters for the throughput QOS-parameters in the N-CONNECT primitives.
+
+**Table 7 – Negotiated QOS-subparameters for throughput QOS-parameters**
+
+| Parameter \ Primitive | N-CONNECT request | N-CONNECT indication | N-CONNECT response | N-CONNECT confirm |
+|--------------------------------------------------------------|-------------------|----------------------|--------------------|-------------------|
+| Throughput 1 "target" (calling to called) | X | | | |
+| Throughput 1 "lowest quality acceptable" (calling to called) | X | X(=) | | |
+| Throughput 2 "target" (called to calling) | X | | | |
+| Throughput 2 "lowest quality acceptable" (called to calling) | X | X(=) | | |
+| Throughput 1 "available" (calling to called) | | X | | |
+| Throughput 2 "available" (called to calling) | | X | | |
+| Throughput 1 "selected" (calling to called) | | | X | X(=) |
+| Throughput 2 "selected" (called to calling) | | | X | X(=) |
+
+The negotiation and conveyance of each of the two throughput QOS-parameters are conducted as follows:
+
+- a) In the N-CONNECT request primitive, the calling NS user specifies values for the "target" and "lowest quality acceptable" (i.e. lowest throughput) subparameters. Permitted value assignments are:
+ - Case 1:* both the "target" and "lowest quality acceptable" are "unspecified";
+ - Case 2:* values other than "unspecified" are specified for both "target" and "lowest quality acceptable";
+ - Case 3:* a value other than "unspecified" is specified for the "target" and the "lowest quality acceptable" is "unspecified".
+
+NOTE – The case where "target" is "unspecified" and the "lowest quality acceptable" has a value other than "unspecified" is not permitted; logically, this case can be represented by the permitted assignment where an identical value is specified for both the "target" and "lowest quality acceptable" (case 2).
+- b) If the value assignment of the "target" and "lowest quality acceptable" subparameters are as defined in case 1, then the NS provider determines the highest QOS throughput value which is to be offered on the NC. This value (which may be the "default" value understood by the NS provider and the called NS user) is specified as the "available" subparameter in the N-CONNECT indication while the "lowest quality acceptable" subparameter value is "unspecified". If the requested QOS value assignments are as defined in case 2 or case 3, then, if the NS provider does not agree to provide a QOS in the requested range, the NC establishment attempt is rejected as described in 13.5. If the NS provider does agree to provide a QOS in the requested range, then in the N-CONNECT indication, the "available" subparameter specifies the highest QOS value within the range which the NS provider is willing to provide and the "lowest quality acceptable" subparameter value is identical to that of the "lowest quality acceptable" subparameter in the N-CONNECT request.
+- c) If the called NS user does not agree to a QOS in the range between the "available" and the "lowest quality acceptable" subparameters of the N-CONNECT indication, then the NS user rejects the NC establishment attempt as described in 13.4.
+- d) If the called NS user does agree to a QOS in the specified range, then the NS user specifies the agreed to value in the "selected" parameter of the N-CONNECT response.
+- e) In the N-CONNECT confirm, the "selected" subparameter has a value identical to that of "selected" in the N-CONNECT indication.
+
+A summary of the negotiation procedures for the throughput QOS-subparameters is contained in Table 8.
+
+Table 8 – Negotiation of throughput QOS-subparameters
+
+| | Calling NS user specifies in N-CONNECT request | | NS provider specifies in N-CONNECT indication | | Called NS user specifies in N-CONNECT response "Selected" | NS provider specifies in N-CONNECT confirm "Selected" | Notes |
+|--------|------------------------------------------------|-----------------------------|-----------------------------------------------|-----------------------------|------------------------------------------------------------------|--------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | "Target" | "Lowest quality acceptable" | "Available" | "Lowest quality acceptable" | | | |
+| Case 1 | "Unspecified" | "Unspecified" | Z | "Unspecified" | A | A | Z may be a "default" value $Z \geq A > 0$ |
+| Case 2 | X | Y | Z | Y | A | A | X and/or Y may be defined to be the "default" value at the calling NS user end, called NS user end, or both $X \geq Z \geq Y;$ $Z \geq A \geq Y$ |
+| Case 3 | X | "Unspecified" | Z | "Unspecified" | A | A | X may be a "default" value $X \geq Z > 0;$ $Z \geq A > 0$ |
+
+##### 12.2.7.2 Transit delay
+
+NOTE 1 – *This Note is only applicable to ITU-T Rec. X.213: The implementation of the transit delay negotiation requires urgent further study in order to have a harmonized realization in different types of subnetworks. Special attention is required as regards routing and charging consequences.*
+
+Table 9 indicates the presence of the QOS-subparameters for the transit delay QOS-parameter in the N-CONNECT primitives.
+
+**Table 9 – Negotiated QOS-subparameters for transit delay QOS-parameter**
+
+| Primitive Parameter | N-CONNECT request | N-CONNECT indication | N-CONNECT response | N-CONNECT confirm |
+|-------------------------------------------|----------------------|-------------------------|-----------------------|----------------------|
+| Transit delay "target" | X | | | |
+| Transit delay "lowest quality acceptable" | X | | | |
+| Transit delay "available" | | X | | |
+| Transit delay "selected" | | | | X |
+
+The negotiation and conveyance of the transit delay QOS-parameter are conducted as follows:
+
+- a) In the N-CONNECT request primitive, the calling NS user specifies values for the "target" and "lowest quality acceptable" (i.e. highest acceptable transit delay) subparameters. Permitted value assignments are:
+
+*Case 1:* both the "target" and "lowest quality acceptable" are "unspecified";
+
+*Case 2:* values other than "unspecified" are specified for both "target" and "lowest quality acceptable";
+
+*Case 3:* a value other than "unspecified" is specified for the "target" and the "lowest quality acceptable" is "unspecified".
+
+NOTE 2 – The case where "target" is "unspecified" and the "lowest quality acceptable" has a value other than "unspecified" is not permitted; logically this case can be represented by the permitted assignment where an identical value is specified for both the "target" and "lowest quality acceptable".
+
+- b) If the value assignments of the "target" and "lowest quality acceptable" subparameters are as defined in case 1, then the NS provider determines the transit delay value to be offered on the NC and specifies it as the "available" subparameter in the N-CONNECT indication.
+
+If the value assignments are as defined in case 2 or case 3, then if the NS provider does not agree to provide a QOS in the requested range, the NC establishment attempt is rejected as described in 13.5. If the NS provider does agree to provide a QOS in the requested range, the "available" subparameter in the N-CONNECT indication specifies the value of QOS which is offered.
+
+- c) If the called NS user does not agree to the QOS specified as "available", the NS user rejects the NC establishment attempt as described in 13.4.
+- d) If the called NS user does agree to the "available" QOS, then the NS user issues an N-CONNECT response (the N-CONNECT response does not convey any transit delay QOS-subparameters).
+- e) In the N-CONNECT confirm the "selected" subparameter value is identical to that specified as "available" in the N-CONNECT indication.
+
+A summary of the negotiation procedures for the transit delay QOS-subparameters is contained in Table 10.
+
+Table 10 – Negotiation of transit delay QOS-subparameters
+
+| | Calling NS user specifies in N-CONNECT request | | NS provider specifies in N-CONNECT indication | Called NS user specifies in N-CONNECT response | NS provider specifies in N-CONNECT confirm | Notes |
+|--------|---------------------------------------------------|--------------------------------|--------------------------------------------------|---------------------------------------------------|-----------------------------------------------|----------------------------------------------------------|
+| | "Target" | "Lowest quality acceptable" | | | | |
+| Case 1 | "Unspecified" | "Unspecified" | "Available" | | "Selected" | |
+| Case 2 | X | Y | Z | | Z | X and/or Y may be a "default" value $X \leq Z \leq Y$ |
+| Case 3 | X | "Unspecified" | Z | | Z | X may be a "default" value $X \leq Z < \infty$ |
+
+##### 12.2.7.3 NC Priority
+
+The values and meaning of NC Priority QOS-parameters are specified in 10.2.11. This subclause specifies the conveyance of these parameters and applies to each of the three independent aspects of NC Priority defined in 10.2.11.
+
+Table 11 indicates the presence of the QOS-subparameters for the NC Priority QOS-parameter in the N-CONNECT primitives.
+
+**Table 11 – Negotiated QOS-subparameters for NC Priority QOS-parameter**
+
+| Primitive Parameter | NC-CONNECT request | NC-CONNECT indication | NC-CONNECT response | NC-CONNECT confirm |
+|-----------------------------------------|-----------------------|--------------------------|------------------------|-----------------------|
+| NC Priority "Target" | X | | | |
+| NC Priority "Lowest Quality Acceptable" | X | X(=) | | |
+| NC Priority "Available" | | X | | |
+| NC Priority "Selected" | | | X | X(=) |
+
+The conveyance of NC Priority QOS-parameter is conducted as follows:
+
+- a) In the N-CONNECT request primitive, the calling NS user specifies values for the "Target" and "Lowest Quality Acceptable" subparameters; permitted value assignments are:
+
+*Case 1:* both the "Target" and "Lowest Quality Acceptable" are "unspecified";
+
+*Case 2:* values other than "unspecified" are specified for both "Target" and "Lowest Quality Acceptable";
+
+*Case 3:* a value other than "unspecified" is specified for the "Target" and the "Lowest Quality Acceptable" is "unspecified".
+
+NOTE 1 – The case where "Target" is "unspecified" and the "Lowest Quality Acceptable" has a value other than "unspecified" is not permitted; logically this case can be represented by the permitted assignment where an identical value is specified for both the "Target" and "Lowest Quality Acceptable" (case 2).
+
+- b) If the NS provider does not support a choice of NC Priority levels, then the value of the "Target" subparameter is conveyed by the NS provider and passed to the called NS user unchanged as the "Available" subparameter in the N-CONNECT indication.
+
+- c) If the NS provider does support a choice of NC Priority levels, then:
+
+- 1) *In case 1:*
+
+The NS provider determines the QOS value to be offered on the NC and specifies it in the "Available" subparameter in the N-CONNECT indication.
+
+- 2) *In cases 2 and 3:*
+
+If the NS provider does not agree to provide a QOS in the requested range, then the NC establishment attempt is rejected as described in 13.5. If the NS provider does agree to provide a QOS in the requested range, then in the N-CONNECT indication, the "Available" subparameter specifies the highest QOS value within the range which the NS provider is willing to provide.
+
+- d) The value of the "Lowest Quality Acceptable" subparameter in the N-CONNECT indication is identical to that in the N-CONNECT request.
+
+- e) If the value of the "Available" subparameter of the N-CONNECT indication is "unspecified", then:
+
+- 1) If the called NS user does not agree to accept establishment of a connection with this unspecified quality, the NS user rejects the NC establishment attempt as described in 13.4.
+
+- 2) If the called NS user does agree, then the NS user specifies the value "unspecified" in the "Selected" subparameter of the N-CONNECT response.
+
+NOTE 2 – When connection is established with the value "unspecified" selected, it follows that the QOS provided may be at any level at the discretion of the Network Service provider. Consequently, the called NS user would agree to such a connection only if any level of QOS, even the lowest, is acceptable.
+
+- f) If the value of the "Available" subparameter in the N-CONNECT indication is not "unspecified", then:
+ - 1) If the called NS user does not agree to a QOS in the range identified by the "Available" and "Lowest Quality Acceptable" subparameters of the N-CONNECT indication, then the NS user rejects the NC establishment attempt as described in 13.4.
+ - 2) If the called NS user does agree to a QOS in the identified range, then the NS user specifies the agreed value in the "Selected" subparameter of the N-CONNECT response.
+- g) In the N-CONNECT confirm, the "Selected" subparameter has a value identical to that of "Selected" in the N-CONNECT response.
+
+#### 12.2.8 NS-user-data parameter
+
+The NS-user-data parameter allows the transfer of NS-user-data between NS users, without modification by the NS provider. The NS user may send any integer number of octets of NS-user-data between zero and 128 octets inclusive.
+
+*NOTE – This Note is only applicable to ITU-T Rec. X.213:* The objective is to make this parameter a mandatory parameter to be supported by all subnetworks in the future. However, a number of existing subnetworks cannot support it now. During the interim period, while these subnetworks exist and are not modified to provide this parameter, it is considered as a provider-option. No negotiation mechanism is needed in the Network Service. Limiting, in some subnetworks, the length of NS-user-data to be provided to a value lower than 128 octets (e.g. 16 to 32 octets) for an interim period would imply fewer changes to existing interfaces and signaling systems and would simplify the introduction of such a service in existing subnetworks.
+
+### 12.3 Sequence of primitives
+
+The sequence of primitives in a successful NC establishment is defined by the time sequence diagram in Figure 5.
+
+The NC establishment procedure may fail either due to the inability of the NS provider to establish an NC or due to the unwillingness of the called NS user to accept an N-CONNECT indication (for these cases, see NC release service, in 13.4 and 13.5). In addition, the NC establishment attempt may be aborted by the NS provider or either of the NS users at any other time before the issuing of the N-CONNECT confirm.
+
+
+
+```
+
+sequenceDiagram
+ participant A
+ participant B
+ A->>B: N-CONNECT request
+ B->>A: N-CONNECT indication
+ A->>B: N-CONNECT response
+ B->>A: N-CONNECT confirm
+
+```
+
+TISO0340-92
+
+Sequence diagram showing the successful NC establishment process. It involves two vertical lifelines. The first lifeline sends an 'N-CONNECT request' to the second lifeline. The second lifeline then sends an 'N-CONNECT indication' to the first lifeline. The first lifeline responds with an 'N-CONNECT response', which is received by the second lifeline. Finally, the second lifeline sends an 'N-CONNECT confirm' back to the first lifeline. Dashed lines connect the messages to their respective lifelines. The diagram is labeled 'TISO0340-92' at the bottom.
+
+Figure 5 – Sequence of primitives in successful NC establishment
+
+## 13 Connection release phase
+
+### 13.1 Function
+
+The NC release service primitives are used to release an NC. The NC release may be performed:
+
+- a) by either or both of the NS users to release an established NC;
+- b) by the NS provider to release an established NC. All failures to maintain an NC are indicated in this way;
+- c) by the called NS user to reject an N-CONNECT indication;
+- d) by the NS provider to indicate its inability to establish a requested NC.
+
+NC release is permitted at any time regardless of the current phase of the NC. Once an NC release procedure has been invoked, the NC will be released; a request for NC release cannot be rejected. After NC release has been invoked at one NC end-point, the NS provider may discard any normal or expedited NS-user-data that has not yet been delivered at the other NC end-point and may cause any uncompleted sequence of primitives for NC establishment, receipt confirmation, or reset to remain uncompleted.
+
+### 13.2 Types of primitive and parameters
+
+Table 12 indicates the types of primitives and the parameters needed for NC Release.
+
+**Table 12 – NC release primitives and parameters**
+
+| Primitive Parameter | N-DISCONNECT request | N-DISCONNECT indication |
+|----------------------------------------------------------------------------------------------------|--------------------------------------|-------------------------|
+| Originator | | X |
+| Reason | X | X |
+| NS-user-data | X for ISO/IEC 8348 X(C) for X.213 | X(C=) |
+| Responding address | X(C) (Note) | X(C=) |
+| NOTE – This parameter may be implicitly associated with the NSAP at which the primitive is issued. | | |
+
+#### 13.2.1 Originator parameter
+
+The originator parameter indicates the source of the NC release. Its value indicates either the "NS user", "NS provider", or "undefined".
+
+NOTE – The value "undefined" is not permitted when an N-DISCONNECT indication is issued by an NS user or an NS provider in order to reject an NC establishment attempt (see 13.4 and 13.5).
+
+#### 13.2.2 Reason parameter
+
+The reason parameter gives information about the cause of the NC release. The value conveyed in this parameter will be as follows:
+
+- a) When the originator parameter indicates an NS provider invoked release, the value is one of:
+ - 1) disconnection-permanent condition;
+ - 2) disconnection-transient condition;
+ - 3) connection rejection-NSAP address unknown (permanent condition);
+ - 4) connection rejection-NSAP unreachable/transient condition;
+ - 5) connection rejection-NSAP unreachable/permanent condition;
+ - 6) connection rejection-QOS not available/permanent condition;
+ - 7) connection rejection-QOS not available/transient condition;
+ - 8) connection rejection-reason unspecified/permanent condition;
+ - 9) connection rejection-reason unspecified/transient condition.
+- b) When the originator parameter indicates an NS user invoked release, the value is one of:
+ - 1) disconnection-normal condition;
+ - 2) disconnection-abnormal condition;
+ - 3) connection rejection-permanent condition;
+ - 4) connection rejection-transient condition;
+ - 5) connection rejection-QOS not available/transient condition;
+ - 6) connection rejection-QOS not available/permanent condition;
+ - 7) connection rejection-incompatible information in NS-user-data.
+- c) When the originator parameter value is "undefined", then the value of the reason parameter shall also be "undefined".
+
+#### 13.2.3 NS-user-data parameter
+
+The NS-user-data parameter allows the transfer of NS-user data between NS users, without modification by the NS provider. An NS user invoking NC release may send any integer number of octets of NS-user-data between zero and 128 inclusive. In an N-DISCONNECT indication, this parameter can have a non-zero number of octets of NS-user-data only if the originator parameter has the value of "NS user".
+
+The NS-user-data sent is lost if NC release is simultaneously invoked by either the NS provider or the intended receiving NS user (see 13.3).
+
+*NOTE – This Note is only applicable to ITU-T Rec. X.213:* The objective is to make this parameter a mandatory parameter to be supported by all subnetworks in the future. However, a number of existing subnetworks cannot support it now. During the interim period, while these subnetworks exist and are not modified to provide this parameter, it is considered as a provider-option. No negotiation mechanism is needed in the Network Service.
+
+#### 13.2.4 Responding address parameter
+
+The responding address parameter is present in this primitive only in the case where the primitive is used to indicate rejection of an NC establishment attempt by an NS user (see 13.4). The parameter conveys the address of the NSAP from which the N-DISCONNECT request was issued and, where explicitly supplied, the addresses in the corresponding request and indication primitives are identical. Under certain circumstances (e.g. call redirection, generic addressing, etc.) this address may be different from the "called address" in the corresponding N-CONNECT request primitive.
+
+### 13.3 Sequence of primitives when releasing an established NC
+
+The sequence of primitives depends on the origin or origins of the NC release action. The sequence may be:
+
+- invoked by one NS user, with a request from that NS user leading to an indication to the other NS user;
+- invoked by both NS users, with a request from each of the NS users;
+- invoked by the NS provider, with an indication to each of the NS users;
+- invoked independently by one NS user and the NS provider, with a request from the originating NS user and an indication to the other NS user.
+
+The sequences of primitives in these four cases are expressed in the time sequence diagrams in Figures 6 to 9.
+
+
+
+Figure 6: Sequence of primitives in NS user invoked NC release. This is a time sequence diagram with two vertical lifelines. The left lifeline has an arrow pointing to it labeled 'N-DISCONNECT request'. A dashed horizontal line connects the two lifelines. The right lifeline has an arrow pointing to it labeled 'N-DISCONNECT indication'. Below the lifelines is the reference 'TISO0350-92'.
+
+**Figure 6 – Sequence of primitives in NS user invoked NC release**
+
+
+
+Figure 7: Sequence of primitives in simultaneous NS user invoked NC release. This is a time sequence diagram with two vertical lifelines. The left lifeline has an arrow pointing to it labeled 'N-DISCONNECT request'. A wavy horizontal line connects the two lifelines. The right lifeline has an arrow pointing to it labeled 'N-DISCONNECT request'. Below the lifelines is the reference 'TISO0360-92'.
+
+**Figure 7 – Sequence of primitives in simultaneous NS user invoked NC release**
+
+
+
+Figure 8: Sequence of primitives in NS provider invoked NC release. This is a time sequence diagram with two vertical lifelines. A wavy line connects the two lifelines. An arrow labeled 'N-DISCONNECT indication' points from the left lifeline to the wavy line. Another arrow labeled 'N-DISCONNECT indication' points from the wavy line to the right lifeline. The reference 'TISO0370-92' is at the bottom right.
+
+**Figure 8 – Sequence of primitives in NS provider invoked NC release**
+
+
+
+Figure 9: Sequence of primitives in simultaneous NS user and NS provider invoked NC release. This is a time sequence diagram with two vertical lifelines. A wavy line connects the two lifelines. An arrow labeled 'N-DISCONNECT request' points from the left lifeline to the wavy line. Another arrow labeled 'N-DISCONNECT indication' points from the wavy line to the right lifeline. The reference 'TISO0380-92' is at the bottom right.
+
+**Figure 9 – Sequence of primitives in simultaneous NS user and NS provider invoked NC release**
+
+### 13.4 Sequence of primitives in an NS user rejection of an NC establishment attempt
+
+An NS user may reject an NC establishment attempt by issuing an N-DISCONNECT request. The originator parameter in the N-DISCONNECT primitives will indicate NS user invoked NC release. The sequence of events is defined in the time sequence diagram in Figure 10.
+
+
+
+Figure 10: Sequence of primitives in NS user rejection of an NC establishment attempt. This is a time sequence diagram with two vertical lifelines. A dashed line connects the two lifelines. An arrow labeled 'N-CONNECT request' points from the left lifeline to the dashed line. Another arrow labeled 'N-CONNECT indication' points from the dashed line to the right lifeline. A third arrow labeled 'N-DISCONNECT request' points from the right lifeline to the dashed line. A fourth arrow labeled 'N-DISCONNECT indication' points from the dashed line to the left lifeline. The reference 'TISO0390-92' is at the bottom right.
+
+**Figure 10 – Sequence of primitives in NS user rejection of an NC establishment attempt**
+
+### 13.5 Sequence of primitives in an NS provider rejection of an NC establishment attempt
+
+If the NS provider is unable to establish an NC, it indicates this to the requester by issuing an N-DISCONNECT indication. The originator parameter in this primitive indicates an NS provider invoked NC release. The sequence of events is defined in the time sequence diagram in Figure 11.
+
+
+
+```
+
+sequenceDiagram
+ participant NSProvider
+ Note over NSProvider: N-CONNECT request
+ Note over NSProvider: N-DISCONNECT indication
+
+```
+
+TISO0400-92
+
+Sequence diagram showing the rejection of an NC establishment attempt. A vertical line represents the NS provider. An arrow labeled 'N-CONNECT request' points to the line. A second arrow labeled 'N-DISCONNECT indication' points to the line. The text 'TISO0400-92' is at the bottom right.
+
+**Figure 11 – Sequence of primitives in NS provider rejection of an NC establishment attempt**
+
+## 14 Data transfer phase
+
+### 14.1 Data transfer
+
+#### 14.1.1 Function
+
+The data transfer service primitives provide for an exchange of NS-user-data called Network Service data units (NSDUs), in either direction or in both directions simultaneously on an NC. The Network Service preserves both the sequence and the boundaries of the NSDUs.
+
+NOTE – Designers of higher layer protocols using the Network Service should realize that the requested QOS applies to complete NSDUs, and that divisions of available NS-user-data into small NSDUs may have cost implications because of the impact on cost optimization mechanisms operated by the NS provider.
+
+#### 14.1.2 Types of primitives and parameters
+
+Table 13 indicates the types of primitives and the parameters needed for data transfer.
+
+**Table 13 – Data transfer primitives and parameters**
+
+| Primitive Parameter | N-DATA request | N-DATA indication |
+|------------------------|----------------|-------------------|
+| NS-user-data | X | X(=) |
+| Confirmation request | X(C) | X(C=) |
+
+##### 14.1.2.1 NS-user-data parameter
+
+The NS-user-data parameter allows the transfer of an NSDU between NS users, without modification by the NS provider. The NS user may send any integer number of octets, one or greater, of NS-user-data that forms the NSDU.
+
+##### 14.1.2.2 Confirmation request parameter
+
+The receipt confirmation of an NSDU transferred by means of an N-DATA primitive can be requested by setting the confirmation request parameter on the N-DATA request. The Confirmation of Receipt (COR) is provided by the N-DATA-ACKNOWLEDGE primitives (see 14.2). The value of the confirmation request parameter may indicate either that a COR is requested or that it is not requested. The parameter may only be present if use of the receipt confirmation service was agreed by both NS users and the NS provider during the establishment of the NC.
+
+#### 14.1.3 Sequence of primitives
+
+The operation of the Network Service in transferring NSDUs can be modelled as a queue of unknown size within the NS provider (see clause 9). The ability of an NS user to issue an N-DATA request or of the NS provider to issue an N-DATA indication depends on the behaviour of the receiving NS user and the resulting state of the queue.
+
+The sequence of primitives in a successful data transfer is defined in the time sequence diagram in Figure 12.
+
+The sequence of primitives in Figure 12 may remain uncompleted if an N-RESET or an N-DISCONNECT primitive occurs.
+
+### 14.2 Receipt confirmation service
+
+#### 14.2.1 Function
+
+The receipt confirmation service is requested by the confirmation request parameter on the N-DATA primitives. For each and every NSDU transferred with the confirmation request parameter set, the receiving NS user should return a confirmation of receipt (COR) by issuing an N-DATA-ACKNOWLEDGE request. Such CORs should be issued in the same sequence as the corresponding N-DATA indications were received, and will be conveyed by the NS provider so as to preserve them distinct from any previous or subsequent CORs. The NS user may thus correlate them with the original N-DATA primitives (with "confirmation requests" set) by counting.
+
+
+
+Figure 12: Sequence of primitives in data transfer. This is a time sequence diagram showing two vertical lines representing the lifelines of two entities. A dashed arrow labeled 'N-DATA request' points from the left lifeline to the right lifeline. A solid arrow labeled 'N-DATA indication' points from the right lifeline back to the left lifeline. The text 'TISO0410-92' is centered below the lifelines.
+
+Figure 12 – Sequence of primitives in data transfer
+
+N-DATA-ACKNOWLEDGE requests will not be subject to the flow control affecting N-DATA requests at the same NC end-point; N-DATA-ACKNOWLEDGE indications will not be subject to the flow control affecting N-DATA indications at the same NC end-point.
+
+The use of the receipt confirmation service shall be agreed by the two NS users of the NC and the NS provider during NC establishment by use of the receipt confirmation selection parameter on the N-CONNECT primitives. The service need not be provided by all NS providers.
+
+#### 14.2.2 Types of primitives and parameters
+
+The receipt confirmation service involves two primitives:
+
+- N-DATA-ACKNOWLEDGE request;
+- N-DATA-ACKNOWLEDGE indication.
+
+These primitives do not convey any parameters.
+
+#### 14.2.3 Sequence of primitives
+
+The sequence of primitives in a successful data transfer with receipt confirmation is defined in the time sequence diagram in Figure 13.
+
+The sequence of primitives in Figure 13 may remain uncompleted if an N-RESET or an N-DISCONNECT primitive occurs.
+
+An NS user must not issue an N-DATA-ACKNOWLEDGE request if no N-DATA indication with "confirmation request" set has been received or if a COR has already been issued for all such N-DATA indications. Following a reset procedure, signalled by means of an N-RESET indication or N-RESET confirm, an NS user must not issue an N-DATA-ACKNOWLEDGE request in response to an N-DATA indication (with "confirmation request" set) which was received before the reset procedure was signalled.
+
+NOTE 1 – The withholding of COR by an NS user can have an effect on the throughput attainable on the NC.
+
+NOTE 2 – The use of receipt confirmation on an NC may have an effect on the flow control of normal data on the NC. For example, the issuing of a COR may result in the relaxation of flow control on NS-user-data flowing in the opposite direction from the COR.
+
+NOTE 3 – Receipt confirmation is included in the Network Service only to support existing features of ITU-T Rec. X.25.
+
+
+
+Sequence diagram showing the exchange of primitives for successful data transfer with receipt confirmation. The diagram involves two vertical lines representing the lifelines of two entities. The sequence of events is: 1. 'N-DATA request' is sent from the left entity to the right entity. 2. 'N-DATA indication with "confirmation request" set' is sent from the right entity to the left entity. 3. 'N-DATA-ACKNOWLEDGE request' is sent from the left entity to the right entity. 4. 'N-DATA-ACKNOWLEDGE indication' is sent from the right entity to the left entity. Dashed lines connect the request and indication messages between the two lifelines. The text 'TISO0420-92' is located at the bottom center of the diagram.
+
+**Figure 13 – Sequence of primitives in successful data transfer with receipt confirmation**
+
+### 14.3 Expedited data transfer service
+
+#### 14.3.1 Function
+
+The expedited data transfer service provides a further means of information exchange on an NC in both directions simultaneously. The transfer of expedited Network Service data units (ENSDUs) is subject to different QOS and separate flow control from that applying to NS-user-data of the data transfer service. It is not intended to provide a qualified data transfer facility.
+
+The NS preserves both the sequence and boundaries of the ENSDUs. The NS provider guarantees that an ENSDU will not be delivered after any subsequently issued NSDU or ENSDU on that NC.
+
+The relationship between normal and expedited NS-user-data is modelled by the operation of changing of order within queues as described in 9.2.3. In particular, expedited NS-user-data can still be delivered when the receiving NS user is not accepting normal NS-user-data. However, the amount of normal NS-user-data bypassed by such changing of order cannot be predicted or guaranteed. Expedited data transfer cannot be guaranteed to bypass blockages in normal data flow where these blockages are occurring in lower layers.
+
+The expedited data transfer service is a provider-option which may not be available in the Network Service. Its use must be agreed to by the two NS users of the NC and the NS provider during NC establishment by means of the expedited data selection parameter on the N-CONNECT primitives (see 12.2.6).
+
+#### 14.3.2 Types of primitives and parameters
+
+Table 14 indicates the types of primitives and the parameters needed for expedited data transfer.
+
+**Table 14 – Expedited data transfer primitives and parameters**
+
+| Primitive Parameter | N-EXPEDITED-DATA request | N-EXPEDITED-DATA indication |
+|------------------------|--------------------------|-----------------------------|
+| | | |
+| NS-user-data | X | X(=) |
+
+##### 14.3.2.1 NS-user-data parameter
+
+The NS-user-data parameter allows the transfer of expedited NS-user-data between NS users, without modification by the NS provider. The NS user may send any integer number of octets of expedited NS-user-data between 1 and 32 inclusive.
+
+#### 14.3.3 Sequence of primitives
+
+The sequence of primitives in a successful expedited data transfer is defined in the time sequence diagram in Figure 14.
+
+The sequence of primitives in Figure 14 may remain uncompleted if an N-RESET or an N-DISCONNECT primitive occurs.
+
+
+
+```
+
+sequenceDiagram
+ participant L1
+ participant L2
+ L1->>L2: N-EXPEDITED-DATA request
+ L2-->>L1: N-EXPEDITED-DATA indication
+
+```
+
+The diagram illustrates the sequence of primitives in expedited data transfer. It shows two vertical lifelines. A solid arrow labeled "N-EXPEDITED-DATA request" points from the left lifeline to the right lifeline. A dashed arrow labeled "N-EXPEDITED-DATA indication" points from the right lifeline back to the left lifeline. The text "TISO0430-92" is located below the lifelines.
+
+Sequence diagram showing the transfer of N-EXPEDITED-DATA request and N-EXPEDITED-DATA indication across two lifelines.
+
+Figure 14 – Sequence of primitives in expedited data transfer
+
+### 14.4 Reset service
+
+#### 14.4.1 Function
+
+The reset service may be used:
+
+- a) by the NS user to resynchronize the use of the NC; or
+- b) by the NS provider to report detected loss of NS-user-data unrecoverable within the NS provider. All loss of NS-user-data which does not involve loss of the NC is reported in this way.
+
+Invocation of the reset service will unblock the flow of NSDUs and ENSDUs in case of congestion of the NC; it will cause the NS provider to discard NSDUs, ENSDUs, or CORs associated with the NC, and to notify any NS user or users that did not invoke reset that a reset has occurred. The service will be completed in a finite time, irrespective of the acceptance of NSDUs, ENSDUs, and CORs by the NS users. Any NSDUs, ENSDUs, or CORs not delivered to the NS users before completion of the service will be discarded by the NS provider.
+
+#### 14.4.2 Types of primitives and parameters
+
+Table 15 indicates the types of primitives and the parameters needed for the reset service.
+
+Table 15 – Reset primitives and parameters
+
+| Primitive Parameter | N-RESET request | N-RESET indication | N-RESET response | N-RESET confirm |
+|------------------------|--------------------|-----------------------|---------------------|--------------------|
+| Originator | | X | | |
+| Reason | X | X | | |
+
+##### 14.4.2.1 Originator parameter
+
+The originator parameter indicates the source of the reset. Its value indicates either the "NS user", "NS provider", or "undefined".
+
+##### 14.4.2.2 Reason parameter
+
+The reason parameter gives information indicating the cause of the reset. The value conveyed in this parameter will be as follows:
+
+- a) When the originator parameter indicates an NS provider invoked reset, the value is one of:
+ - i) "congestion";
+ - ii) "reason unspecified".
+- b) When the originator parameter indicates an NS user invoked reset, the value is "user resynchronization".
+- c) When the originator parameter has the value "undefined", then the value of the reason parameter is also "undefined".
+
+#### 14.4.3 Sequence of primitives
+
+The interactions between each NS user and the NS provider will be an exchange of these primitives, namely either:
+
+- a) an N-RESET request from the NS user, followed by an N-RESET confirm from the NS provider; or
+- b) an N-RESET indication from the NS provider, followed by an N-RESET response from the NS user.
+
+The N-RESET request acts as a synchronization mark in the stream of NSDUs, ENSDUs, and CORs transmitted by the issuing NS user. The N-RESET indication likewise acts as a synchronization mark in the stream of NSDUs, ENSDUs, and CORs received by the receiving NS user. Similarly, the N-RESET response acts as a synchronizing mark in the stream of NSDUs, ENSDUs, and CORs transmitted by the responding NS user, while the N-RESET confirm acts as a synchronization mark in the stream of NSDUs, ENSDUs, and CORs received by the NS user which originally invoked the Reset.
+
+The resynchronizing properties of the reset service are that:
+
+- 1) No NSDU, ENSDU, or COR transmitted by the NS user *before* the synchronization mark in that transmitted stream will be delivered to the other NS user *after* the synchronization mark in that received stream.
+
+The NS provider will discard all NSDUs, ENSDUs, and CORs submitted before the issuing of the N-RESET request which have not been delivered to the receiving NS user when the NS provider issues the N-RESET indication.
+
+Also, the NS provider will discard all NSDUs, ENSDUs, and CORs submitted before the issuing of the N-RESET response which have not been delivered to the initiator of the N-RESET when the NS provider issues the N-RESET confirm.
+
+- 2) No NSDU, ENSDU, or COR transmitted by an NS user *after* the synchronization mark in that transmitted stream will be delivered to the other NS user *before* the synchronization mark in that received stream.
+
+The N-RESET confirm may be issued to the initiator of the reset before the N-RESET indication is issued to the other NS user. The complete sequence of primitive depends upon the origin of the reset action and the occurrence or otherwise of resets with conflicting origins. Thus the reset service may be:
+
+- i) invoked by one NS user, leading to interaction a) with that NS user and interaction b) with the peer NS user;
+- ii) invoked by both NS users, leading to interaction a) with both NS users;
+- iii) invoked by the NS provider, leading to interaction b) with both NS users;
+- iv) invoked by one NS user and the NS provider, leading to interaction a) with the originating NS user and b) with the peer NS user.
+
+The sequence of primitives in these four cases is defined in the time sequence diagrams in Figures 15 to 18.
+
+Further, there may be circumstances of reset "collision" which result in the number of reset procedures observed at one NC end-point being different from the number of reset procedures observed at the other NC end-point. Such circumstances result in two additional cases which may occur, where the reset service may be:
+
+- v) invoked by one NS user while a previous reset procedure is still uncompleted at the other NS user, leading to additional interaction a) with the NS user invoking the subsequent reset, only;
+- vi) invoked by the NS provider at one NC end-point, while a previous reset procedure is still uncompleted at the other, leading to additional interaction b) with the NS user at the first NC end-point, only.
+
+There are many possible sequences of reset primitives for the two NC end-points which may occur for cases v) and vi). These are not illustrated here by time sequence diagrams, but may be derived using the constraints on the allowed sequence of primitives for each NC end-point, and the reset sequences illustrated in Figures 15 to 18. The synchronizing properties associated with the issuance of the N-RESET primitives are the same for all of the six cases outlined.
+
+NOTE – Situations in which the number of reset procedures at the two ends of a NC which are not the same are not described by the operation of the queue model in 9.2.
+
+Any sequence of reset primitives may remain uncompleted if an N-DISCONNECT primitive occurs. Once a reset procedure has been invoked at an NC end-point (by means of an N-RESET request or N-RESET indication primitive), no further N-DATA, N-EXPEDITED-DATA, or N-DATA-ACKNOWLEDGE primitive can be issued by either the NS user or the NS provider until the reset procedure has completed (by means of an N-RESET confirm or N-RESET response).
+
+
+
+Sequence diagram illustrating the sequence of primitives in NS user invoked reset (TISO0440-92). The diagram shows two vertical lines representing the boundaries of the NS user. The sequence of events is as follows:
+
+
+- An **N-RESET request** is sent from the left boundary to the right boundary.
+- An **N-RESET indication** is received at the right boundary.
+- An **N-RESET response** is sent from the right boundary to the left boundary.
+- An **N-RESET confirm** is received at the left boundary.
+
+ A dashed horizontal line connects the two boundaries at the level of the N-RESET request and N-RESET indication.
+
+Sequence diagram for NS user invoked reset (TISO0440-92)
+
+**Figure 15 – Sequence of primitives in NS user invoked reset**
+
+
+
+Sequence diagram illustrating the sequence of primitives in simultaneous NS user invoked reset (TISO0450-92). The diagram shows two vertical lines representing the boundaries of the NS user. The sequence of events is as follows:
+
+
+- An **N-RESET request** is sent from the left boundary to the right boundary.
+- An **N-RESET confirm** is received at the left boundary.
+- An **N-RESET request** is sent from the right boundary to the left boundary.
+- An **N-RESET confirm** is received at the right boundary.
+
+ The diagram shows two separate waveforms, one for each direction of communication.
+
+Sequence diagram for simultaneous NS user invoked reset (TISO0450-92)
+
+**Figure 16 – Sequence of primitives in simultaneous NS user invoked reset**
+
+
+
+Sequence diagram illustrating the sequence of primitives in NS provider invoked reset (TISO0460-92). The diagram shows two vertical lines representing the boundaries of the NS provider. The sequence of events is as follows:
+
+
+- An **N-RESET indication** is received at the left boundary.
+- An **N-RESET response** is sent from the left boundary to the right boundary.
+- An **N-RESET indication** is received at the right boundary.
+- An **N-RESET response** is sent from the right boundary to the left boundary.
+
+ The diagram shows two separate waveforms, one for each direction of communication.
+
+Sequence diagram for NS provider invoked reset (TISO0460-92)
+
+**Figure 17 – Sequence of primitives in NS provider invoked reset**
+
+
+
+Sequence diagram showing the interaction between an NS user and an NS provider for a simultaneous reset. The diagram features two vertical lifelines. The top lifeline represents the NS user, and the bottom lifeline represents the NS provider. The sequence of events is as follows: 1. An arrow labeled 'N-RESET request' points from the NS user to the NS provider. 2. A wavy arrow labeled 'N-RESET indication' points from the NS provider back to the NS user. 3. A second wavy arrow labeled 'N-RESET response' points from the NS provider back to the NS user. 4. An arrow labeled 'N-RESET confirm' points from the NS user back to the NS provider. The text 'TISO0470-92' is located at the bottom right of the diagram area.
+
+**Figure 18 – Sequence of primitives in simultaneous NS user and NS provider invoked reset**
+
+# SECTION 3 – DEFINITION OF THE CONNECTIONLESS-MODE SERVICE
+
+## 15 Features of the connectionless-mode Network Service
+
+The NS provides the following features to the NS user:
+
+- a) The means by which network service data units are delimited and transparently transmitted from a source NSAP to a destination NSAP or group of destination NSAPs in a single network-connectionless-mode service access, without first establishing or later releasing a network-connection. The maximum size of a connectionless-mode NSDU is 64 512 octets.
+- b) Associated with each instance of network-connectionless-mode transmission, certain measures of quality which are agreed between the NS provider and the sending NS user when a network-connectionless-mode transmission is initiated.
+
+## 16 Model of the connectionless-mode Network Service
+
+### 16.1 Model of the connectionless-mode Network Layer Service
+
+This Service Definition uses the abstract model for a layer service defined in clause 4 of ITU-T Rec. X.210 | ISO/IEC 10731. The model defines the interactions between the NS users and the NS provider which take place at the different NSAPs. Information is passed between the NS user and the NS provider by service primitives, which may convey parameters.
+
+### 16.2 Model of a network connectionless-mode transmission
+
+A defining characteristic of network-connectionless-mode transmission is the independent nature of each invocation of the connectionless-mode network service.
+
+In practice, however, it is often possible to relate to NS users certain characteristics of the service for an association existing between a given pair of NSAPs or a sending NSAP and a group of receiving NSAPs. Such characteristics, when present, enhance the basic connectionless-mode Network Service, and can be used by NS users to effectively correlate the choice of transport protocol with the Network Service provided.
+
+NOTE 1 – Such information is typically made available to the NS user through some control or management facility (or set of facilities). Annex C provides a description of the facilities considered to be necessary for the coordination of transport protocol selection with use of the connectionless-mode Network Service.
+
+As a descriptive aid, the connectionless-mode Network Service, as provided between any two NSAPs or a sending NSAP and a group of receiving NSAPs, can be modelled in the abstract as an *a priori* association between the NSAPs involved.
+
+NOTE 2 – This model is intended solely to describe the appearance of the connectionless-mode Network Service to the NS users. It is not intended to be a model of the internal operation of the NS provider in providing the connectionless-mode Network Service.
+
+Only one type of object, the Unit-data object, can be exchanged between the NS users. In Figure 19a, User X represents the NS user that passes objects to the NS provider. User Y represents the NS user that accepts objects from the NS provider. In Figure 19b, User X represents the NS user that passes objects to the NS provider. Users Y, Z and others represent the NS users that accept multicast objects from the NS provider.
+
+In general, the NS provider may perform any or all of the following actions:
+
+- a) discard objects;
+- b) duplicate objects; and
+- c) change the order of the objects.
+
+
+
+Figure 19a: Model of a network-connectionless-mode-transmission. The diagram shows two boxes at the top: 'Network Service User X' on the left and 'Network Service User Y' on the right. Below them is a large rectangle representing the 'Service provider'. Two arrows point from the users down to the service provider: one from User X labeled 'NSAP A' and one from User Y labeled 'NSAP B'. Inside the service provider rectangle, there is a trapezoidal shape representing an 'Association between A and B'. The text 'Service provider' is centered at the bottom of the rectangle. The reference 'TISO0480-92' is at the bottom right.
+
+**Figure 19a – Model of a network-connectionless-mode-transmission**
+
+
+
+Figure 19b: Model of a multicast network-connectionless-mode transmission. The diagram shows a row of boxes at the top: 'Network Service User X', 'Network Service User Y', 'Network Service User Z', followed by an ellipsis '...', and then 'Network Service User...'. Below these is a horizontal line representing the 'Service provider'. Arrows point from each user box down to the horizontal line, labeled 'NSAP A', 'NSAP B', 'NSAP C', and then an ellipsis '...', and finally another ellipsis '...' at the end. On the horizontal line, there are several pairs of parentheses '()' indicating connection points. Below the horizontal line, there is a trapezoidal shape representing an 'Association between A and a group composed of B, C, ...'. The text 'Service provider' is centered at the bottom. The reference 'TISO7010-96' is at the bottom right.
+
+**Figure 19b – Model of a multicast network-connectionless-mode transmission**
+
+However, with respect to a given association between a pair of NSAPs or a sending NSAP and a group of receiving NSAPs, the following additional characteristics might be observed by the NS user through the operation of some control or management facility that allows the NS provider to support service characteristics beyond those attributed to the basic connectionless-mode Network Service:
+
+- 1) objects will be discarded only after a stated time;
+- 2) objects must be discarded no later than a stated time;
+- 3) objects will be discarded only if more than a certain number of objects are in the queue;
+
+- 4) objects will not be discarded;
+- 5) the order of the objects in the queue will not be changed;
+- 6) objects will not be duplicated.
+
+Where such information is made known to the NS user prior to the invocation of the connectionless-mode Network Service, the NS user may make use of such knowledge to select a transport protocol.
+
+The existence and the properties of the association, and the operations which are performed by the NS provider for a particular association, do not depend on the behaviour of the NS users. Awareness of the characteristics of the association is part of the NS users' *a priori* knowledge of the OSI environment.
+
+## 17 Quality of the connectionless-mode Network Service
+
+The term "Quality of Service" (QOS) also refers to certain characteristics of a network-connectionless-mode transmission as observed between a pair of NSAPs or a sending NSAP and a group of receiving NSAPs. QOS describes aspects of a network-connectionless-mode transmission which are attributable solely to the NS provider; it can only be properly determined in the absence of NS user behaviour (which is beyond the control of the NS provider) which specifically constrains or impedes the performance of the Network Service.
+
+Whether the view of the QOS during each instance of the use of the network-connectionless-mode transmission is the same to each NS user associated with the service depends on the nature of their association and the type of information concerning the nature of the service made available to the NS user(s) by the NS provider prior to the invocation of the service.
+
+### 17.1 Determination of QOS
+
+A basic characteristic of a connectionless-mode service is that no peer-to-peer negotiation of the Quality of Service for a transmission takes place at the time the service is accessed. No dynamic association is set up between the parties involved as during a connection establishment; thus, characteristics of the service to be provided during the transfer are not negotiated on a peer-to-peer basis. An *a priori* agreement is assumed to exist between the NS users and the NS provider concerning those parameters, formats, and options that affect the transfer of data. (Such an *a priori* agreement might be established by local exchange of relevant information across the Network Layer boundary.) Thus, the process is one of local negotiation.
+
+Associated with each network-connectionless-mode transmission, certain measures of Quality of Service are agreed between the NS provider and the sending NS user when the primitive action is initiated. The requested measures (or parameter values and options) are based on *a priori* knowledge by the NS user of the specific characteristics of the facilities which can be expected to be made available to it by the NS provider.
+
+Knowledge of the characteristics of the connectionless-mode Network Service is made available to a sending NS user through a control or management facility prior to invocation of the connectionless-mode Network Service. The NS user not only has knowledge of the parties with which it may communicate, but also has explicit knowledge of the characteristics of the service with which it can expect to be provided upon (each) invocation of the service.
+
+The NS provider may also provide information on the current Quality of Service, independent of access to the service by an NS user. This seemingly dynamic aspect of Quality of Service determination is not a negotiation but, again, a means by which the NS user is provided with knowledge of the characteristics of the service currently available outside of any instance of the invocation of the service itself.
+
+The NS QOS-parameters associated with each network-connectionless-mode-transmission are defined in 17.2.
+
+### 17.2 Definition of network connectionless-mode QOS-parameters
+
+The QOS-parameters identified for the network-connectionless-mode transmission are defined below.
+
+NOTE – Additional parameters that describe service characteristics beyond those defined in this subclause for the connectionless-mode Network Service are described in Annex C.
+
+#### 17.2.1 Transit delay
+
+Transit delay is the elapsed time between an N-UNIT-DATA request and the corresponding N-UNIT-DATA indication. Elapsed time values are calculated only on NSDUs that are successfully transferred. Successful transmission of an NSDU is defined to occur when an NSDU transmitted from a sending NS user is delivered to the intended receiving NS user or all receiving NS users in the case of multicast transmission.
+
+Transit delay is specified independently for each network-connectionless-mode transmission. Transit delay defines the value expected for the completion of the transmission of a particular NSDU. Its specification is based on an average NSDU size. It is determined by the NS provider and made known to the NS user prior to invocation of the service.
+
+Transit delay for an individual NSDU may be greatly increased if local interface flow control is exercised at either the transmitting or receiving service provider to service user interface. Occurrences of local interface flow control initiated by the service user are excluded in calculating transit delay values.
+
+#### 17.2.2 Protection
+
+Protection QOS is the degree to which the NS provider attempts to counter security threats to the Network Service using security services applied in the Network, Data Link and Physical Layers.
+
+The handling of Protection QOS parameters is a local matter controlled according to the security policy in force.
+
+NOTE – For further information on the provision of security in the lower layers and the handling of protection QOS, see ITU-T Rec. X.802 | ISO/IEC TR 13594.
+
+#### 17.2.3 Cost determinants
+
+A class of parameter values and options exist which provide a NS user with:
+
+- a) the ability to indicate to the NS provider that it should choose, for example, the least expensive means available to it, even in situations where this may not be the most expedient means; or
+- b) the ability to specify maximum acceptable cost.
+
+The cost may be specified in absolute or relative cost units. The cost of a network-connectionless-mode transmission is composed of communications and end-system resource costs.
+
+#### 17.2.4 Residual Error Probability
+
+Residual Error Probability describes the likelihood that a particular NSDU will be lost, duplicated, or delivered incorrectly. The probability is estimated as the ratio of lost, duplicated, or incorrectly delivered NSDUs to total NSDUs transmitted by an NS provider during a measurement period.
+
+An incorrectly delivered NSDU is one in which the user data are delivered in a corrupted condition, or the user data are delivered to an incorrect NSAP.
+
+Lost data includes all NSDUs which are discarded by the NS provider due to congestion, transmission error, or some other error. NSDUs which are lost due to error by the NS user are not included.
+
+#### 17.2.5 Priority
+
+This parameter allows the NS user to specify the relative priority of an NSDU in relation to any other NSDUs acted upon by the NS provider. An NSDU of higher priority is serviced by the NS provider before one of lower priority. The priority information is conveyed to the receiving NS user.
+
+This parameter specifies the relative importance of network-connectionless-mode transmission with respect to:
+
+- a) the order in which NSDUs are to have their Quality of Service degraded, if necessary; and
+- b) the order in which NSDUs are to be discarded to recover resources, if necessary.
+
+This parameter has meaning only in the context of some management entity or structure able to judge relative importance. The number of priority levels is limited to 15.
+
+### 17.3 Route selection considerations
+
+The NS provider may use QOS information supplied by the NS user, in conjunction with management information, to derive details of the route that must be taken by the NSDU with which the information is associated.
+
+The use of such information by the NS provider may result in the network-entity in the originating system being able to enumerate a complete list of the intermediate systems to be included in the path. This is referred to as "complete source routing". Complete source routing requires that each intermediate system in the list (and only those intermediate systems in the list) must be visited; if this constraint cannot be satisfied, the NSDU shall be discarded.
+
+Alternatively the network-entity in the originating system may be able to identify a list of some (but not all) of the intermediate systems to be included in the path. This is referred to as "partial source routing". With partial source routing, each intermediate system in the list must be visited in the order specified while en route to the destination.
+
+However, with this form of source routing the NSDU may take any path necessary to arrive at the next intermediate system in the list. The NSDU shall not be discarded (for source routing related causes) unless one of the intermediate systems in the list cannot be reached by any available path.
+
+Alternatively, no source routing may take place at all. This is the case when the required QOS can be achieved without any need for the originating network-entity to specify particular intermediate systems which must be included in the path.
+
+## 18 Sequence of primitives
+
+The possible overall allowed sequences of primitives at an NSAP are defined in the state transition diagram in Figure 20. In Figure 20, the IDLE state represents the initial and final state of the primitive sequence.
+
+The use of a state transition diagram to describe the allowable sequence of service primitives does not impose any requirements or constraints on the internal organization of any implementation of the Network Service.
+
+
+
+```
+
+graph TD
+ IDLE((IDLE))
+ IDLE -- "N-UNIT-DATA request" --> IDLE
+ IDLE -- "N-UNIT-DATA indication" --> IDLE
+
+```
+
+State transition diagram for sequences of connectionless-mode primitives at one NSAP. It shows a central oval labeled 'IDLE'. A curved arrow labeled 'N-UNIT-DATA request' points from the 'IDLE' state to itself. Another curved arrow labeled 'N-UNIT-DATA indication' points from the 'IDLE' state to itself. The text 'TISO0490-92' is located to the right of the diagram.
+
+**Figure 20 – State transition diagram for sequences of connectionless-mode primitives at one NSAP**
+
+## 19 Data transfer
+
+### 19.1 Function
+
+Network-connectionless-mode transmission service primitives can be used to transmit an independent, self-contained NSDU from one network service access point to another network service access point or a group of network service access points in a single service access. The NSDU is independent in the sense that the NS provider is not required to maintain any relationship between this and any other NSDU transmitted through the invocation of the connectionless-mode Network Service or the connection-mode Network Service. It is self-contained in that all of the information required to deliver the NSDU is presented to the NS provider, together with the user data to be transmitted, in a single service access; thus no initial establishment or subsequent release of a network-connection is required.
+
+The NS provider transfers individual NSDUs within the range of its specified QOS. Although the Network Service maintains the integrity of individual NSDUs, it does not necessarily deliver them to the receiving NS user in the order in which they are presented by the sending NS user.
+
+The NS provider need not maintain any state information relative to any aspect of the flow of information between any specific pair of NSAPs or a specific sending NSAP and a specific group of receiving NSAPs. Flow control exerted by the NS provider upon the sending NS user can be described only in terms of interface flow control.
+
+### 19.2 Types of primitives and parameters
+
+Table 16 identifies the types of primitives and the parameters needed for the connectionless-mode Network Service.
+
+**Table 16 – Connectionless-mode service primitives and parameters**
+
+| Primitive Parameter | N-UNIT-DATA request | N-UNIT-DATA indication |
+|------------------------|------------------------|---------------------------|
+| Source address | X | X(=) |
+| Destination address | X | X(=) |
+| Quality of Service | X | X |
+| NS-user-data | X | X(=) |
+
+#### 19.2.1 Addresses
+
+The addresses referred to in Table 16 are network service access point addresses. Both the connection-mode and connectionless-mode Network Services use the same NSAP addresses, as described in Annex A. For multicast transmission, the destination address must be a group Network address.
+
+#### 19.2.2 Quality of Service
+
+The value of the Quality of Service parameter is a list of subparameters. For each parameter, the values of the parameter in the two primitives are related so that:
+
+- a) in the request primitive, any defined value is allowed; however,
+- b) in the indication primitive, the Quality of Service indicated may be different from the QOS specified for the corresponding request primitive.
+
+#### 19.2.3 NS-user-data
+
+This parameter allows the transmission of octets of NS user-supplied data between NS users, without modification by the NS provider. The NS user may transmit any integral number of octets greater than zero up to 64 512 octets.
+
+### 19.3 Sequence of primitives
+
+The sequence of primitives in a non-multicast network-connectionless-mode transmission is defined in the Network Service primitive time sequence diagram (see Figure 21a). The sequence of primitives in multicast network-connectionless-mode transmission is defined in the Network Service multicast primitive time sequence diagram (see Figure 21b). The N-UNIT-DATA indications for the multicast transmission case arrive in an arbitrary order that is not simultaneous and in addition there is no deterministic ordering of N-UNIT-DATA indications arriving at any particular receiving NSAP resulting from separate N-UNIT-DATA requests.
+
+
+
+Figure 21a: Sequence of primitives in a network-connectionless-mode transmission. The diagram shows two vertical lines representing the lifelines of two entities. A dashed arrow labeled 'N-UNIT-DATA request' points from the left lifeline to the right lifeline. A solid arrow labeled 'N-UNIT-DATA indication' points from the right lifeline back to the left lifeline. The text 'TISO0500-92' is located at the bottom center of the diagram.
+
+**Figure 21a – Sequence of primitives in a network-connectionless-mode transmission**
+
+
+
+The diagram illustrates a sequence of primitives in a multicast network-connectionless-mode transmission. It features four vertical lifelines. The first lifeline receives an 'N-UNIT-DATA request' primitive. A horizontal dashed line with a light gray shaded area below it spans across all four lifelines, representing a continuous data stream. From the second, third, and fourth lifelines, 'N-UNIT-DATA indication' primitives are shown as arrows pointing downwards. A small bracket on the dashed line between the third and fourth lifelines indicates a continuation of the sequence.
+
+TISO7020-96
+
+Sequence diagram showing N-UNIT-DATA request and multiple N-UNIT-DATA indication primitives across four lifelines.
+
+Figure 21b – Sequence of primitives in a multicast network-connectionless-mode transmission
+
+# Annex A
+
+## Network Layer Addressing
+
+(This annex forms an integral part of this Recommendation | International Standard)
+
+### A.1 General
+
+This annex defines the abstract syntax and semantics of the Network address (Network service access point address). The Network address is the address that appears in the primitives of the connection-mode Network service as the *calling address*, *called address* and *responding address* parameters, and in the primitives of the connectionless-mode Network service as the *source address* and *destination address* parameters.
+
+In addition, this annex defines the abstract syntax and semantics of the group Network address. The group Network address is used to support multicast services and is the address that may appear in the primitives of the connection-mode Network service as the called address parameter, and in the primitives of the connectionless-mode network service as the destination address parameter.
+
+### A.2 Scope
+
+The scope of this annex is the definition of the abstract syntax and semantics of the Network address. This annex does not specify the way in which the semantics of the Network address are encoded in Network layer protocols.
+
+### A.3 Concepts and terminology
+
+#### A.3.1 Network addresses
+
+This annex defines the Network Service Access Point (NSAP) address. Since the term "network address" is commonly used in different contexts to refer to different things, a more specific description of this concept is introduced below.
+
+##### A.3.1.1 Subnetwork address
+
+In one context, the term "network address" may be used to refer to the point at which a *real end system*, *real subnetwork*, or *interworking unit* is attached to a real subnetwork, or to the point at which the subnetwork service is offered within an end or intermediate system. In the case of attachment to a public data network, this point is called a DTE/DCE interface, and the term "DTE address" is used in reference to it.
+
+The specific term *subnetwork address* (or *subnetwork point of attachment address*) is used in this case, as illustrated in Figure A.1.
+
+
+
+Figure A.1 – Subnetwork address. The diagram illustrates the concept of a subnetwork address in two parts. The left part shows a 'Real end system, real subnetwork, or interworking unit' connected to a 'Real subnetwork'. An arrow points to the connection point, labeled 'Subnetwork point of attachment identified by subnetwork address'. The right part shows two system models: 'End system' and 'Intermediate system'. Each model consists of three stacked rectangular blocks. The middle block of each system contains a small triangle symbol. An arrow points from the text 'Subnetwork point of attachment identified by SNPA address' to these triangle symbols. The number '3' is placed to the left of the middle block in both systems. The label 'TISO0510-92' is at the bottom right.
+
+Figure A.1 – Subnetwork address
+
+The subnetwork address is the information that a real subnetwork needs to identify a particular real end system, another real subnetwork, a particular group of real end systems on this real subnetwork, or an interworking unit, which is attached to that real subnetwork.
+
+In the public network environment, the subnetwork address is what the public network operates on.
+
+NOTE – The point identified by a subnetwork address is a point of interconnection between a real end system or interworking unit and a real subnetwork (in particular, in a public data network environment, a DTE/DCE interface), and is not a Network service access point.
+
+##### A.3.1.2 NSAP address
+
+In another context, the term "network address" is used to refer to the *Network service access point* (NSAP) at which the OSI Network Service is made available to a Network service user by the Network service provider.
+
+The specific term *NSAP address* is used in this case, as illustrated in Figure A.2
+
+
+
+Diagram illustrating the NSAP address. A horizontal line represents the boundary between Layer 4 (top) and Layer 3 (bottom). A vertical line passes through this boundary, with 'Network service user' above and 'Network service provider' below. A circle is centered on the boundary line. An arrow points from the text 'NSAP identified by NSAP address' to this circle. The text 'TISO0520-92' is in the bottom right corner.
+
+Figure A.2 – NSAP address
+
+The NSAP address is the information that the OSI Network service provider needs to identify a particular Network service access point. The values of the *called address*, *calling address*, and *responding address* parameters of the N-CONNECT primitive, the *responding address* parameter of the N-DISCONNECT primitive, and the *source address* and *destination address* parameters of the N-UNIT-DATA primitive, are NSAP addresses.
+
+It should be noted that since the Network service primitives are conceptual, no particular encoding of the NSAP address is specified by the Network Service Definition.
+
+In both ITU-T and ISO/IEC usage, the terms "Network Address" (with both the N and the A printed in capital letters) and "global network address" are synonymous with the term "NSAP address". Use of the term "NSAP address" is preferred when it is essential to avoid confusion, particularly in spoken references in which "capitalization" is not possible.
+
+The values of the called address of the N-CONNECT primitive and the destination address parameter of the N-UNIT-DATA primitive are permitted to be group Network addresses. Calling address and responding address parameters of N-CONNECT primitives and source address parameters of N-UNIT-DATA primitives are never permitted to be group Network addresses.
+
+#### A.3.1.3 Network protocol address information
+
+In a third context, the term "network address" is used to refer to an address that is carried as *Network protocol control information* in a Network Protocol Data Unit (NPDU).
+
+The specific term *Network protocol address information* (NPAI) is used in this case.
+
+In the public network environment, NPAI is also known as an "address signal" or as the "coding of an address signal".
+
+There is a relationship between the NSAP address that appears in Network service primitives and the NPAI that appears in a Network layer protocol, in that the semantics of the NSAP address are preserved by the NPAI. The precise encoding of NPAI is defined by Network layer protocol standards, which also specify the relationship between the NSAP address and the NPAI encoding employed by the protocol.
+
+#### A.3.2 Domains
+
+##### A.3.2.1 Global network addressing domain
+
+The *global network addressing domain* is an addressing domain consisting of all of the NSAP addresses in the OSI environment.
+
+##### A.3.2.2 Network addressing domain
+
+A *network addressing domain* is a subset of the global network addressing domain consisting of all of the NSAP addresses that are assigned by one or more addressing authorities. Every NSAP address is part of a network addressing domain that is administered directly by one and only addressing authority. If that network addressing domain is part of a (hierarchically) higher addressing domain (which must wholly contain it), the authority for the (hierarchically) lower domain is authorized by the authority for the higher domain to assign NSAP addresses from the lower domain. All network addressing domains are in this way ultimately part of the global network addressing domain, for which the addressing authority is this annex.
+
+The relationship of the concepts of A.3.2.1 and A.3.2.2 is illustrated by Figure A.3:
+
+
+
+TISO0530-92
+
+Diagram illustrating the relationship between the Global network addressing domain and Network addressing domains. A large circle represents the 'Global network addressing domain'. Inside this circle, several smaller, non-overlapping regions represent 'Network addressing domains'. Arrows point from the labels to their respective parts: one arrow points to the outer boundary of the large circle, and multiple arrows point to the boundaries of the smaller internal regions.
+
+**Figure A.3 – Network addressing domains**
+
+#### A.3.3 Authorities
+
+The uniqueness of identifiers within a network addressing domain is ensured by an *authority* associated with that domain. The term "authority" does not necessarily refer to an organization or Administration; it is intended to refer to whatever it is (in an abstract sense) that ensures the uniqueness of identifiers in the associated domain.
+
+A network addressing domain is characterized by the addressing authority that administers the domain and by the rules that are established by that authority for specifying identifiers and identifying subdomains. The authority responsible for each domain determines how identifiers will be assigned and interpreted within that domain, and how any further subdomains will be created.
+
+The operation of an authority is independent of that of other authorities at the same level of the hierarchy, subject only to any common rules imposed by the parent authority.
+
+#### A.3.4 Network address allocation
+
+An addressing authority shall either allocate complete NSAP addresses, or authorize one or more other authorities to allocate addresses. Each address allocated by an addressing authority shall include a domain identifier which identifies the allocating authority. An address shall not be allocated to identify a domain or NSAP if the address had previously been allocated in some other domain or NSAP, unless the authority can ensure that all use of the previous allocation has ceased.
+
+The authority shall ensure that allocations are made in such a way that efficient use is made of the address space.
+
+### A.4 Principles for creating the OSI Network addressing scheme
+
+#### A.4.1 Hierarchical structure
+
+NSAP addresses are based on the concept of hierarchical addressing domains, as explained in A.3. Each domain may be further partitioned into subdomains. Accordingly, NSAP addresses have a hierarchical structure.
+
+The conceptual structure of NSAP addresses follows the principle that, at any level of the hierarchy, an initial part of the address unambiguously identifies a subdomain, and the rest is allocated by the authority associated with the subdomain to unambiguously identify either a lower level subdomain or an NSAP within the subdomain. The part of the address that identifies the subdomain depends on the level at which the address is viewed.
+
+NOTE – This conceptual structure should not be considered as implying any detailed administration of NSAP addresses.
+
+Graphical representation of the hierarchical structure of NSAP addresses may be made according to an inverted tree diagram, as in Figure A.4 a), or a domain diagram, as in Figure A.4 b):
+
+
+
+W Subdomains of the global network addressing domain
+
+a Subdomains of W and Y
+
+q Subdomains of b
+
+a) Inverted tree diagram
+
+b) Domain diagram
+
+TISO0540-92
+
+Figure A.4: Hierarchical structure of NSAP address. (a) Inverted tree diagram: A root node (black dot) branches into four nodes: W, X, Y, and Z. Node W has three children: a, b, and c. Node X has three children (represented by dots). Node Y has two children: a and b. Node a under Y has three children: q, r, and s. Node Z has no children. (b) Domain diagram: A circular diagram divided into sectors. The top sector is labeled Z. The left sector is labeled Y. The right sector is labeled X. The bottom sector is labeled W. The W sector is further divided into sub-sectors labeled a, b, and c. The Y sector is divided into sub-sectors labeled a, b, and c. The X sector is divided into sub-sectors labeled a, b, and c. The Z sector is divided into sub-sectors labeled a, b, and c. Arrows indicate the hierarchy from the root to the sub-sectors.
+
+Figure A.4 – Hierarchical structure of NSAP address
+
+#### A.4.2 Global identification of any NSAP
+
+In the context of Open Systems Interconnection, it is possible to identify any NSAP within the global network addressing domain (see A.3.2.1). Consequently:
+
+- an NSAP address can be defined to unambiguously identify any NSAP;
+- at any NSAP, it is possible to identify any other NSAP, within any OSI end system;
+- the Network layer protocols established between correspondent Network entities convey the complete semantics of an NSAP address;
+- an NSAP address always identifies the same NSAP, regardless of which Network service user enunciates the address; and
+- a Network service user, when given an NSAP address by the Network service provider in an Indication service primitive, may subsequently use that NSAP address in another instance of communication with the corresponding NSAP.
+
+NOTE – The global identification of NSAPs does not imply the universal availability of directory functions required to enable communication among all NSAPs to which NSAP addresses have been assigned, nor does it prevent the imposition of external restrictions on communication based on the technical feasibility of interconnection, security, charging, etc.
+
+#### A.4.3 Route independence
+
+Network service users cannot derive routing information from an NSAP address. They cannot influence the Network service provider's choice of route by means of the source and destination NSAP addresses. Similarly, they cannot determine the route that was used by the Network service provider by examining the source and destination NSAP addresses. This is not intended to exclude the possibility that an OSI end system may need to influence the route selected for a particular instance of communication with another OSI end system. (In particular, it may need to influence the selection of intermediate systems to be used, and the paths to be taken between them.) The means whereby such an influence may be exerted is, however, *not* the NSAP address. Elements of Network layer protocol may be required to control routing within intermediate systems; such elements of protocol are distinct from the Network Protocol Address Information (NPAI).
+
+Notwithstanding the restrictions imposed on the use that a Network service *user* may make of an NSAP address, it is recognized that NSAP addresses should be constructed in such a way that routing through interconnected subnetworks is facilitated. That is, the Network service *provider*, and relay-entities in particular, may take advantage of the address structure to achieve economical processing of routing aspects.
+
+### A.5 Network address definition
+
+The intent of this annex is best served by maintaining clear distinctions among three concepts: the *abstract semantics* of the NSAP address; the *abstract syntax* employed in this annex as a means of defining the abstract semantics of the NSAP address, and employed by network addressing authorities as a means of allocating and assigning NSAP addresses; and the *encoding* of the NSAP address semantics as NPAI in Network layer protocols. These distinctions are illustrated in Figure A.5.
+
+This annex does not specify the way in which the semantics of the NSAP address are encoded in Network layer protocols, although a preferred encoding is defined in A.5.3. Network layer protocol specifications define the way in which the NSAP address is encoded as NPAI (see A.3.1.3).
+
+
+
+```
+
+graph LR
+ A[NSAP address semantics] --> B[Allocation by an authority]
+ A --> C[Representation in humanly-readable directories]
+ A --> D[Conveyance by protocols]
+ B --> E[Abstract syntax]
+ C --> F[External reference syntax]
+ D --> G[Encoding]
+ G --- H[TISO0550-92]
+
+```
+
+Figure A.5: Relationship of NSAP address semantics and syntax. The diagram shows a flow from 'NSAP address semantics' to three intermediate steps: 'Allocation by an authority', 'Representation in humanly-readable directories', and 'Conveyance by protocols'. These steps then lead to 'Abstract syntax', 'External reference syntax', and 'Encoding' respectively. A reference 'TISO0550-92' is noted below the 'Encoding' step.
+
+Figure A.5 – Relationship of NSAP address semantics and syntax
+
+#### A.5.1 Network address semantics
+
+The NSAP address consists of two basic semantic parts. The first part is the *initial domain part* (IDP). The second part is the *domain specific part* (DSP). This is illustrated by Figure A.6.
+
+Following the conceptual structure of NSAP addresses described in A.4.1, the IDP is a network addressing domain identifier: it specifies a subdomain of the global network addressing domain (see Figure A.4), and identifies the network addressing authority responsible for assigning NSAP addresses in the specified subdomain. The DSP is the corresponding subdomain address. A further substructure of the DSP may or may not be defined by the authority identified by the IDP.
+
+##### A.5.1.1 The IDP
+
+The initial domain part of the NSAP address itself consists of two parts. The first part is the *authority and format identifier* (AFI). The second part is the *initial domain identifier* (IDI). This is illustrated by Figure A.6:
+
+
+
+The diagram illustrates the structure of an NSAP address. At the top, a horizontal double-headed arrow is labeled "NSAP address". Below this, a large rectangle is divided into two parts: "IDP" (Initial Domain Pointer) on the left and "DSP" (Domain Specific Part) on the right. Below the "IDP" part, there is another rectangle divided into "AFI" (Authority and Format Identifier) on the left and "IDI" (Initial Domain Identifier) on the right. Dashed lines show the mapping: the "IDP" field maps to the "AFI" field, and the "DSP" field maps to the "IDI" field. The text "TISO0560-92" is located at the bottom right of the diagram.
+
+Diagram of NSAP address structure showing the mapping between IDP, DSP, AFI, and IDI fields.
+
+Figure A.6 – NSAP address structure
+
+###### A.5.1.1.1 The AFI
+
+The authority and format identifier specifies:
+
+- a) the format of the IDI (see A.5.2.1.2);
+- b) the network addressing authority responsible for allocating values of the IDI (see A.5.2.1.2);
+- c) whether or not leading zero digits in the IDI are significant (see A.5.3); and
+- d) the abstract syntax of the DSP (see A.5.2.2 and A.5.2.3).
+
+##### A.5.1.1.2 The IDI
+
+The initial domain identifier specifies:
+
+- a) the network addressing domain from which values of the DSP are allocated; and
+- b) the network addressing authority responsible for allocating values of the DSP from that domain.
+
+##### A.5.1.2 The DSP
+
+The semantics of the DSP are determined by the network addressing authority identified by the IDI (see A.5.1.1.2).
+
+#### A.5.2 Network address abstract syntax
+
+The Network address is defined in this annex in terms of an abstract syntax in which the semantics of the Network address can be expressed. The use of this abstract syntax as a descriptive device enables this annex to convey, in written form, a complete definition of the Network address without restricting it to the specific encoding of the NPAI. It also enables this annex to identify a preferred encoding of the Network address, to which reference may be made by Network layer protocol specification standards so as to unambiguously define the way in which the Network address is encoded as NPAI.
+
+##### A.5.2.1 Abstract syntax and allocation of the IDP
+
+This subclause defines the abstract syntax of the AFI, the currently allocated values of the AFI, and the IDI formats corresponding to the allocated AFI values. Among the currently allocated values of the AFI are values reserved for assignment to new IDI formats which may be identified by ITU-T or ISO/IEC. Assignment of these AFI values to new IDI formats by either ITU-T or ISO/IEC must be accompanied by appropriate modification of this annex. Allocation of new AFI values shall be by joint agreement between ITU-T and ISO/IEC, and will require an appropriate modification of this annex.
+
+The abstract syntax of the AFI is two hexadecimal digits. The abstract syntax for the IDI is decimal digits. The allocation of the AFI ensures that the first hexadecimal digit of the IDP can never be zero (see A.5.1.1). This provides an escape mechanism for use by protocols that expect to hold uncompleted NSAP addresses in a field that normally carries a complete NSAP address. Similarly, if the first two digits of the IDP are hexadecimal FF, this indicates the presence of an uncompleted group Network address. When the NSAP address is represented as binary octets, the representation of the IDP is as defined in A.5.3. The length of the IDP depends on the IDI format specified by the value of the AFI. The IDP length associated with each IDI format is given in A.5.2.1.2.
+
+##### A.5.2.1.1 Abstract syntax and allocation of the AFI
+
+The AFI has an abstract syntax of two hexadecimal digits with a value in the range of 00 to FF. The values of the AFI are allocated or reserved as shown in Tables A.1 to A.3.
+
+**Table A.1 – Individual AFI allocations**
+
+| | |
+|----------------------------|------------------------------------------------------------------------|
+| 00-0F, FF | Reserved – Will not be allocated |
+| 10-19, 20-29, 30-33 | Reserved for future allocation by joint agreement of ITU-T and ISO/IEC |
+| 34-39, 40-49, 50-59, 76-77 | Allocated and assigned to the IDI formats defined in A.5.2.1.2 |
+| 60-69 | Allocated for assignment to new IDI formats by ISO/IEC |
+| 70-75, 78-79 | Allocated for assignment to new IDI formats by ITU-T |
+| 80-89, 90-99 | Reserved for future allocation by joint agreement of ITU-T and ISO/IEC |
+
+##### A.5.2.1.2 Format and allocation of the IDI
+
+A specific combination of IDI format and DSP abstract syntax is associated with each allocated AFI value, as summarized for use in individual addresses in Table A.4 (the corresponding AFI values for use in group addresses is found via Table A.2). Two AFI values are associated with each combination that involves a variable-length IDI format. In each case, both of the AFI values identify the same combination of IDI format and DSP abstract syntax. The numerically lower AFI value is used when the first significant digit in the IDI is non-zero. The numerically greater AFI value is used when the first significant digit in the IDI is zero.
+
+In the following subclauses, references are made to the number used in particular subnetwork numbering plans, and to the entity identified by such a number. These references refer to the entity located at the subnetwork point of attachment specified by the number, and not to some other entity (for example, a PTT Administration) whose identity might be inferred from inspection of some part of the number. The authority in such cases is therefore the authority associated with the entity at the SNPA, and is identified by the *full* number.
+
+The allocation of group addresses is restricted to be only from the AFI values allocated for the assignment of group addresses in Table A.2. An addressing authority in allocating either Network addresses or authorizing one or more authorities to allocate addresses, allocates both individual and the corresponding group addresses. Addresses assigned with an AFI value allocated for group addresses are only to be used for group addresses.
+
+NOTE 1 – The use of a particular IDI format as the basis for allocating an NSAP address does not constrain routing to that NSAP to go through any particular system or subnetwork. For example, the use of the E.163 IDI format as the basis for allocating an NSAP address does not mean that access to the NSAP with that address necessarily involves the user of the public telephone network (see A.4.3).
+
+NOTE 2 – The IDI formats that are based on ITU-T numbering plans may be affected by any changes to those plans. It should be understood that in identifying and describing these formats, this annex observes the current status of ITU-T work on numbering plans, and does not establish any preference or position concerning the way in which ITU-T may choose to modify the plans, or their relationships with one another, in the future. Changes to this annex may be necessary to take any such further work by ITU-T into account. For example, the ITU-T numbering plans in some cases may provide escape mechanisms (such as a zero, 8, or 9 prefix) from one numbering plan to another. This results in the possibility of a choice that must be made concerning which IDI format should be used for the allocation of NSAP addresses, and may also lead to suggestions that it is not necessary to include all of the IDI formats that are based on ITU-T Recommendations in this annex. Such choices, however, are made within the context and responsibility of ITU-T, and no preference for one choice or another is made or implied by this annex.
+
+###### A.5.2.1.2.1 X.121 IDI format
+
+The IDI consists of an international public data network number of up to 14 digits allocated according to ITU-T Rec. X.121, commencing with the Data Network Identification Code. The full X.121 number identifies an authority responsible for allocating and assigning values of the DSP.
+
+IDP length: up to 16 digits.
+
+###### A.5.2.1.2.2 ISO DCC IDI format
+
+The IDI consists of a fixed length 3-digit numeric code allocated according to ISO 3166-1. For countries with an ISO member body, the code is assigned to the ISO member body in the country identified by the code. For countries with no ISO member body, the code is assigned to an appropriately sponsored organization in the country identified by the code.
+
+The DSP is allocated and assigned by the ISO member body or sponsored organization to which the ISO DCC value has been assigned, or by an organization designated by the holder of the ISO DCC value to carry out this responsibility.
+
+IDP length: 5 digits.
+
+Table A.2 – Relationship of AFI Individual and Group Values
+
+| Individual | Group | Individual | Group | Individual | Group |
+|------------|-------|------------|-------|------------|-------|
+| 10 | A0 | 40 | BE | 70 | DC |
+| 11 | A1 | 41 | BF | 71 | DD |
+| 12 | A2 | 42 | C0 | 72 | DE |
+| 13 | A3 | 43 | C1 | 73 | DF |
+| 14 | A4 | 44 | C2 | 74 | E0 |
+| 15 | A5 | 45 | C3 | 75 | E1 |
+| 16 | A6 | 46 | C4 | 76 | E2 |
+| 17 | A7 | 47 | C5 | 77 | E3 |
+| 18 | A8 | 48 | C6 | 78 | E4 |
+| 19 | A9 | 49 | C7 | 79 | E5 |
+| 20 | AA | 50 | C8 | 80 | E6 |
+| 21 | AB | 51 | C9 | 81 | E7 |
+| 22 | AC | 52 | CA | 82 | E8 |
+| 23 | AD | 53 | CB | 83 | E9 |
+| 24 | AE | 54 | CC | 84 | EA |
+| 25 | AF | 55 | CD | 85 | EB |
+| 26 | B0 | 56 | CE | 86 | EC |
+| 27 | B1 | 57 | CF | 87 | ED |
+| 28 | B2 | 58 | D0 | 88 | EE |
+| 29 | B3 | 59 | D1 | 89 | EF |
+| 30 | B4 | 60 | D2 | 90 | F0 |
+| 31 | B5 | 61 | D3 | 91 | F1 |
+| 32 | B6 | 62 | D4 | 92 | F2 |
+| 33 | B7 | 63 | D5 | 93 | F3 |
+| 34 | B8 | 64 | D6 | 94 | F4 |
+| 35 | B9 | 65 | D7 | 95 | F5 |
+| 36 | BA | 66 | D8 | 96 | F6 |
+| 37 | BB | 67 | D9 | 97 | F7 |
+| 38 | BC | 68 | DA | 98 | F8 |
+| 39 | BD | 69 | DB | 99 | F9 |
+
+**Table A.3 – AFI values reserved for future allocation**
+
+| |
+|-------|
+| 1A-1F |
+| 2A-2F |
+| 3A-3F |
+| 4A-4F |
+| 5A-5F |
+| 6A-6F |
+| 7A-7F |
+| 8A-8F |
+| 9A-9F |
+| FA-FE |
+
+**Table A.4 – AFI values for individual Network addresses**
+
+| IDI format \ DSP syntax | Decimal | Binary | ISO/IEC 646 character | National character |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|---------------|------------------------------|---------------------------|
+| X.121 | 36, 52 | 37, 53 | //////////////////// | //////////////////// |
+| ISO DCC | 38 | 39 | //////////////////// | //////////////////// |
+| F.69 | 40, 54 | 41, 55 | //////////////////// | //////////////////// |
+| E.163 | 42, 56 | 43, 57 | //////////////////// | //////////////////// |
+| E.164 | 44, 58 | 45, 59 | //////////////////// | //////////////////// |
+| ISO 6523-ICD | 46 | 47 | //////////////////// | //////////////////// |
+| IANA ICP | 34 | 35 | //////////////////// | //////////////////// |
+| ITU-T IND | 76 | 77 | //////////////////// | //////////////////// |
+| Local | 48 | 49 | 50 | 51 |
+| NOTE – The Local IDI format is provided to accommodate the coexistence of OSI and non-OSI network addressing schemes, particularly in the context of a transition from non-OSI to OSI protocols. To provide the greatest flexibility in these environments, character and national character DSP syntaxes are defined for the Local IDI format. | | | | |
+
+###### **A.5.2.1.2.3 F.69 IDI format**
+
+The IDI consists of a telex number of up to 8 digits, allocated according to ITU-T Rec. F.69, commencing with a 2- or 3-digit destination code. The full telex number identifies an authority responsible for allocating and assigning values of the DSP.
+
+IDP length: up to 10 digits.
+
+###### **A.5.2.1.2.4 E.163 IDI format**
+
+The IDI consists of what was previously known as a "Public Switched Telephone Network" (PSTN) number of up to 12 digits allocated according to CCITT Rec. E.163, commencing with the PSTN country code. The full PSTN number identifies an authority responsible for allocating and assigning values of the DSP. Although CCITT Rec. E.163 has been superseded by ITU-T Rec. E.164, the format is retained to ensure backward compatibility with existing implementations.
+
+IDP length: up to 14 digits.
+
+###### A.5.2.1.2.5 E.164 IDI format
+
+The IDI consists of an international public telecommunication numbering plan number of up to 15 digits allocated according to ITU-T Rec. E.164, commencing with the E.164 international number country code. The full E.164 number identifies an authority responsible for allocating and assigning values of the DSP.
+
+IDP length: up to 17 digits.
+
+###### A.5.2.1.2.6 ISO 6523-ICD IDI format
+
+The IDI consists of a fixed length 4-digit numeric code known as the International Code Designator (ICD) and allocated according to ISO/IEC 6523-1. The ICD identifies a particular organization coding scheme as defined by ISO/IEC 6523-1. For a given value of an ICD, it is the responsibility of the issuing organization, as approved by the ISO/IEC 6523-1 registration authority according to ISO/IEC 6523-1, to ensure that the values allocated as DSPs are unique within all the code values identified by the ICD irrespective of the purpose for which those values are intended.
+
+IDP length: 6 digits.
+
+NOTE – The use of an ICD in this context is in addition to, and does not affect the uses identified in ISO/IEC 6523-1. Of the things specified by ISO/IEC 6523-1, *only* the ICD is relevant to this annex.
+
+###### A.5.2.1.2.7 IANA ICP IDI format
+
+The IDI consists of a fixed length 4-digit numeric code identifying an Internet Code Point (ICP). The ICP is allocated by the Internet Assigned Number Authority (IANA) according to the principles defined in Internet Standard 2 – Assigned Numbers. The IANA ICP identifies a particular Internet Protocol (IP) addressing format (for example an IP Version 4 or an IP Version 6 address) which is carried in the DSP.
+
+NOTE 1 – Up-to-date information on the allocated ICP values can be found at: .
+
+The allocated ICP values are:
+
+ICP = 0000 IP Version 6 Address
+
+NOTE 2 – IETF RFC 1888 provides guidance on how to embed an IPv6 address within the DSP of an NSAP address. The IPv6 address is carried in the first 16 octets of the DSP. Octet 17 of the DSP is set to zero, but has no significance for IPv6.
+
+At the time of publication of this annex, IANA had not allocated an ICP value for IP Version 4. In the absence of this allocation, the following value is proposed:
+
+ICP = 0001 IP Version 4 Address
+
+NOTE 3 – An IPv4 address could be carried in the first 4 octets of the DSP. The remaining octets can be set to zero or a value as determined by the application or service required.
+
+IDP length: 6 digits.
+
+###### A.5.2.1.2.8 ITU-T IND IDI format
+
+The IDI consists of a fixed length 6-digit numeric code identifying an International Network Designator (IND) allocated according to administrative procedures defined in ITU-T Rec. E.191.1. The IND code identifies an authority responsible for allocating and assigning values of the DSP.
+
+IDP length: 8 digits.
+
+###### A.5.2.1.2.9 Local IDI format
+
+The IDI is null.
+
+IDP length: 2 digits.
+
+#### A.5.2.2 Abstract syntax and allocation of the DSP
+
+Values of the DSP are allocated by the network addressing authority identified by the IDI in the syntax identified by the AFI (see A.5.1.1.2 and A.5.2.1.2). The allocating authority specifies the format and semantics of the DSP. If the authority identified by the IDI authorizes one or more authorities to allocate semantic parts of the DSP, then all of those authorities must allocate using the same abstract syntax used by the parent authority.
+
+A network addressing authority may choose to allocate NSAP addresses with the DSP in a decimal or binary abstract syntax for all IDI formats. When the IDI format is "Local", an authority may, in addition, choose to allocate NSAP addresses with the DSP in a character (ISO/IEC 646) or National Character abstract syntax (see A.6 and Table A.4). A network addressing authority may allocate NSAP addresses with no DSP (that is, addresses consisting of an IDP only) if and only if the value of the AFI specifies a *decimal* DSP syntax; a non-null DSP must be present for all other AFI values.
+
+#### A.5.2.3 Abstract syntax of the DSP
+
+The DSP may be allocated by the responsible authority in one of the following four syntaxes, depending on the value of the AFI:
+
+- a) *Binary* – The DSP consists of one or more binary octets, up to the maximum specified in Table A.5.
+- b) *Decimal* – The DSP, if present, consists of one or more decimal digits, up to the maximum specified in Table A.5.
+- c) *Character* – The DSP consists of one or more of those ISO/IEC 646 graphic characters with no national variant, plus the space character, up to the maximum specified in Table A.5.
+- d) *National character* – The DSP consists of one or more characters from a national character set determined by the allocating authority, up to the maximum specified in Table A.5.
+
+Table A.5 gives the maximum length of the DSP in its abstract syntax for each of the IDI formats defined in A.5.2.1.2. The corresponding total NSAP address lengths are given in A.5.4.
+
+**Table A.5 – Maximum DSP length**
+
+| DSP syntax
IDI format
| Decimal digits | Binary octets | ISO/IEC 646 characters | National characters |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|----------------------|-----------------------------------|----------------------------------|
+| X.121 | 24 | 12 | //////////////////////////////// | //////////////////////////////// |
+| ISO DCC | 35 | 17 | //////////////////////////////// | //////////////////////////////// |
+| F.69 | 30 | 15 | //////////////////////////////// | //////////////////////////////// |
+| E.163 | 26 | 13 | //////////////////////////////// | //////////////////////////////// |
+| E.164 | 23 | 11 | //////////////////////////////// | //////////////////////////////// |
+| ISO 6523-ICD | 34 | 17 | //////////////////////////////// | //////////////////////////////// |
+| IANA ICP | 34 | 17 | //////////////////////////////// | //////////////////////////////// |
+| ITU-T IND | 32 | 16 | //////////////////////////////// | //////////////////////////////// |
+| Local | 38 | 19 | 19 | 9 |
+| NOTE 1 – The values for the "Local" IDI format assume a National character representation of one character as two binary octets (see A.5.3). | | | | |
+| NOTE 2 – These maximum values are dictated by the requirement that the maximum length of an NSAP address in preferred encoding defined in A.5.3 be less than or equal to 20 binary octets. | | | | |
+
+#### A.5.3 Network address encodings
+
+As described in A.5.1, the semantics of the NSAP address are represented by three fields in the following order:
+
+- a) the AFI, with an abstract syntax of two hexadecimal digits;
+- b) the IDI, with an abstract syntax of a variable number of decimal digits; and
+- c) the DSP, with an abstract syntax of a variable number of one and only one of the following types; binary octets, decimal digits, characters, or national characters.
+
+This annex does not specify the way in which the semantics of an NSAP address are encoded in Network layer protocols. These encodings are specified in Network layer protocol specifications.
+
+Nevertheless, this annex identifies a "preferred" encoding of the Network address as a string of binary octets. Reference to this "preferred" binary encoding may be made by Network layer protocol standards. It is possible that the encoding used to convey the Network address semantics as Network Protocol Address Information (NPAI) in a Network layer protocol may be chosen to be identical to this preferred encoding. However, it is not required that this be the case.
+
+The entire NSAP address, taken as a whole, may be represented explicitly as a string of binary octets as defined below. Network layer protocol standards that specify the encoding of the Network address semantics by making reference to this annex must specify the way in which this binary encoding is used to convey the Network address semantics as NPAI (see A.3.1.3).
+
+The preferred binary encoding defined in this subclause requires that the IDI be padded with non-significant leading pad digits whenever:
+
+- a) the AFI specifies a variable-length IDI format; and
+- b) the value of the IDI is a string of decimal digits that is shorter than the maximum length of the IDI for that format (see A.5.2.1.2).
+
+This ensures that the end of the IDI (and thus of the IDP) can be determined; the preferred binary encoding does not reserve an explicit syntactic marker for this purpose. It is necessary, in these cases, to distinguish between significant and non-significant leading zero digits in the IDI, in order to ensure that non-significant pad digits are not confused with significant IDI digits. This distinction is provided, for each of the variable-length IDI formats, by the allocation of two AFI values for each combination of IDI format and the DSP abstract syntax (see A.5.2.1.1). In step b) below, the term "leading digits" therefore refers to leading zero (0) digits if the AFI value specifies that leading zero digits in the IDI are not significant; it refers to leading one (1) digits if the AFI value specifies that leading zero digits in the IDI are significant.
+
+NOTE – The encoding defined in this subclause requires that the IDI be padded to its maximum length, as described above, even when the value of the AFI specifies a decimal DSP syntax and the DSP is null.
+
+The preferred binary encoding is generated by:
+
+- a) using two semi-octets to represent the two digits of the AFI, yielding a value for each semi-octet in the range 0000-1111;
+- b) padding the IDI with leading digits if necessary to obtain the maximum IDI length (specified for each IDI format in A.5.2.1.2), then using a semi-octet to represent the value of each decimal digit (including leading pad digits, if present), yielding a value in the range 0000-1001; and, if the DSP syntax is not decimal digits, using the semi-octet value 1111 as a pad after the final semi-octet of IDI (if necessary) to obtain an integral number of octets;
+- c) representing a decimal syntax DSP by using a semi-octet to represent the value of each decimal digit, yielding a value in the range 0000-1001 for each digit, and using the semi-octet value 1111 as a pad after the final semi-octet of the DSP (if necessary) to obtain an integral number of octets;
+- d) representing a binary syntax DSP directly as binary octets;
+- e) when the IDI format is "Local", representing an ISO/IEC 646 character syntax DSP by converting each character to a number in the range 32-127 using the ISO/IEC 646 encoding, with zero parity and the parity bit in the most significant position, reducing the value by 32, giving a number in the range 0-95, encoding this result as a pair of decimal digits, and using a semi-octet to represent the value of each decimal digit, yielding a value in the range 0000-1001 for each digit; and
+- f) when the IDI format is "Local", representing a National Character syntax DSP by converting each national character to either one or two octets according to the rules specified by the authority responsible for allocating NSAP addresses including National Character DSP syntaxes.
+
+#### **A.5.4 Maximum Network address length**
+
+The maximum length of an NSAP address in the preferred binary encoding (see A.5.3) is 20 octets. A Network layer protocol which is capable of conveying a string of variable length with a maximum length of 20 binary octets is therefore capable of encoding the full semantic content of any Network address.
+
+## **A.6 Character based DSP allocation**
+
+A network addressing authority may choose to allocate NSAP addresses with the DSP in a National Character syntax. In such cases, the allocating authority must define and publish the mapping of the National Character syntax to a binary octet representation. The mapping must result in the representation of each national character as either one or two binary octets. The resulting DSP is considered to be based on a binary abstract syntax for the purposes of selecting AFI values from Table A.2 and performing the preferred binary encoding defined in A.5.3.
+
+NOTE 1 – It is recommended that this mapping be done by reference to the *ISO Register of Character Sets*, which is maintained by ECMA acting as a registration authority according to ISO 2375.
+
+NOTE 2 – The ability to base DSP allocation on national character sets allows DSP allocation based on international character set standards such as ISO/IEC 646, and also allows DSP allocation based on specific nationally recognized character sets. This may simplify address assignment in some cases, and may facilitate representation of NSAP addresses in humanly-readable form. Nevertheless, NSAP addresses should not be confused with Application layer entity titles. NSAP addresses are not intended to provide the same degree of human-readable, user-friendly naming and addressing capabilities as may be expected in Application layer entity titles.
+
+## A.7 Reference publication formats
+
+The Reference Publication Format (RPF) is defined to facilitate unambiguous representation of NSAP addresses in both written and oral communication. It consists of two hexadecimal digits which represent the AFI, followed by a string of decimal digits which is a direct representation of the IDI, followed by the symbol "+", followed by a string of hexadecimal digits in which a pair of hexadecimal digits is used to represent the numeric value of each binary octet in the preferred binary encoding of the DSP (see A.5.3). In the case in which the DSP part of the NSAP address is zero length, the RPF consists only of the string of two hexadecimal digits representing the AFI, followed by a string of decimal digits representing the IDI, the symbol "+" is not present.
+
+As an example, the written inscription of the RPF for an NSAP address with an AFI value of 39, an IDI value of 840, and a binary-syntax DSP value of 01001100 11100101 would be 39840+4CE5.
+
+## A.8 Network entity titles
+
+In order to perform routing functions and to distribute Network layer management information concerning routing among Network entities, it is necessary to be able to unambiguously identify Network entities in end systems and intermediate systems. ITU-T Rec. X.200 | ISO/IEC 7498-1 provides a definition of the concept of an (N)-entity title, which may be used to permanently and unambiguously identify a Network entity in an end system or intermediate system.
+
+Any authority responsible for allocating addresses to NSAPs may choose also to allocate Network entity titles, following the same procedures and rules that it observes in the allocation of NSAP addresses. NSAP addresses and Network entity titles are syntactically indistinguishable; any value that the authority is permitted to allocate as an NSAP address may be allocated as a Network entity title.
+
+A Network Entities Group Title identifies a group of Network entities. Membership of a given such group may change over time. Group Network addresses are used to identify either such a title or a group of NSAPs.
+
+# Annex B
+
+## Rationales for the material in Annex A
+
+(This annex does not form an integral part of this Recommendation | International Standard)
+
+## B.1 IDI formats (see A.5.2.1.2)
+
+The rationale for the use of the specific IDI formats identified in A.5.2.1.2 is to allow the allocation and assignment of NSAP addresses to be based on existing, well-established network numbering plans and organization-identification standards.
+
+The ITU-T numbering plans are included so as to allow for the designation of the organization to which a number is assigned as an authority for the assignment of NSAP addresses. If the organization identified by a particular number from one of these plans chooses not to define any further subaddressing beyond that number, then the number itself constitutes an NSAP address when it is used in the OSI environment. This flexibility allows numbers allocated from the four ITU-T numbering plans identified in A.5.2.1.2 to be used directly as NSAP addresses, with the addition of nothing more than the initial AFI digits that identify the plan.
+
+The ISO DCC format is included so as to allow for the designation of the organization that represents a country in ISO (or an appropriately sponsored organization) as an authority for the assignment of geographically-based NSAP addresses. The way in which addresses are allocated and assigned in the ISO DCC format is determined by the designated organization, which might, for example, be the national standards body that represents a country in ISO.
+
+The ISO 6523-ICD format is included so as to allow for the designation of an organization that may or may not be tied to a particular country as an authority for the assignment of NSAP addresses according to the hierarchy appropriate for the organization (which may not be based on geographical or national boundaries). The way in which addresses are allocated and assigned in the ISO 6523-ICD format is determined by the designated organization, which might, for example, be the United Nations World Health Organization. The ISO 6523-ICD format permits an organization already possessed of an ICD, for the purposes specified in ISO/IEC 6523-1, to use that ICD for the *additional* purpose of allocating Network addresses. This additional purpose is unrelated to the role of the ICD as the identifier of an Organization Code (OC) assignment scheme, which is the purpose for which ICDs are assigned. This does not change the criteria established in ISO/IEC 6523-1 for granting a request for an ICD allocation. Furthermore *only* the ICD is used in Network addresses that follow the ISO 6523-ICD IDI format. No part of any Network address corresponds to the OC defined in ISO/IEC 6523-1, and the OC is therefore not relevant to or affected by this.
+
+The IANA ICP format is included so as to allow for Internet Assigned Number Authority (IANA) to be an authority for the assignment of NSAP addresses and Group Network Addresses (GNAs) according to the hierarchy appropriate for the Internet (which is not always based on considerations of geographical or national boundaries). The IANA ICP identifies a particular Internet Protocol (IP) addressing format. The IANA ICP format effectively enables an IP address to be carried in the DSP of an NSAP address. The format is intended to support the assignment of NSAP addresses and GNAs for use within Internet standards.
+
+The ITU-T IND format is included so as to allow for the designation of an organization responsible for operating one or more networks as an authority for the assignment of NSAP addresses according to the hierarchy appropriate for the organization (which may or may not be based on geographical or national boundaries). The way in which addresses are allocated and assigned in the ITU-T IND format is determined by the designated organization, which might, for example, be an ATM service provider or other organization. ITU-T Rec. E.191 provides guidance on the use of the ITU-IND format for ATM End System Addressing (AESA). ITU-T Rec. E.191 proposes that ATM service providers use the ITU-IND AESA as the preferred method of addressing.
+
+The local format is included so as to allow for the coexistence of proprietary or other non-standard network addressing schemes with the standard OSI network addressing scheme. Use of the Local format for these non-standard addresses ensures that they cannot be confused with standard OSI network addresses. This capability will be useful in the evolution of existing networks to OSI, and for the accommodation of non-OSI addressing schemes that may be used in proprietary network architectures or for testing and other interim purposes. It should be emphasized that the Local format is not intended to give non-OSI schemes a permanent place in OSI, but rather to permit the OSI network addressing scheme to be used wherever possible without risk or conflict with other schemes (which can be encapsulated safely under the Local format).
+
+### B.2 Reservation of AFI values 00-F and FF (see Table A.1)
+
+The reservation of AFI values beginning with the digit 0 and the AFI value of FF is intended to allow for their use in handling special cases, such as:
+
+- a) as an escape to some other addressing scheme;
+- b) as a technique for the optimization of NSAP address encoding in Network layer protocols, when different parts of NSAP address semantics are encoded in different fields of the protocol header;
+- c) as a way to indicate, in a protocol header, that a field that ordinarily contains a full NSAP address in fact contains something less than a full address (for example, a shorthand form that omits specification of the higher-order addressing domain(s), which might be used for communication within a particular subdomain environment).
+
+There may be other cases in which the use of an initial zero digit or the value FF is found to be useful. Annex A merely reserves these AFI values, and does not specify how they might be used; all such uses are outside the scope of Annex A.
+
+### B.3 Derivation of the preferred encodings (see A.5.3)
+
+In describing the preferred binary encoding of the NSAP address, subclause A.5.3 introduces two types of padding: padding with non-significant leading zero or one digits at the beginning of an IDI, and padding with a semi-octet with the value 1111 at the end of the binary encoding of an IDI with an odd number of decimal digits.
+
+The first type of padding is necessary because in some formats the IDI consists of a variable number of digits. Since there is no explicit syntactic marker between the IDI and the DSP, the only way to find the boundary between them is to know how long the IDI is. The AFI, which identifies the IDI format, specifies only the *maximum* length of the IDI in that format. Rather than introduce either a specific syntactic marker or a new field containing the length of the IDI (either of which would complicate the encoding and parsing of NSAP addresses), Annex A specifies that for encoding purposes the IDI must first be padded out to its maximum length. Note that this does *not* apply to the DSP; only to the IDI.
+
+The second type of padding is necessary to ensure that a binary encoding of the IDI consists of an integral number of binary octets.
+
+# Annex C
+
+## Facilities for conveying service characteristics in the connectionless-mode Network Service
+
+(This annex does not form an integral part of this Recommendation | International Standard)
+
+## C.1 Introduction
+
+In order to effectively coordinate the choice of transport protocol with the provision of the connectionless-mode Network Service, some mechanism must be made available to the Transport Layer for relating certain characteristics of the service which are:
+
+- a) necessary for the correct operation of the transport protocol (for example, NSDU lifetime);
+- b) not clearly a part of the QOS which could be specified in a single invocation of the service (for example, sequence preservation); or
+- c) appropriately some aspect of Network Layer management (for example, congestion control).
+
+Thus, a control flow independent of the data flow modelled in clause 16 can be modelled to describe the facility (or set of facilities) required to correlate transport protocol selection with the service made available between a pair of NSAPs. This control flow can be illustrated from the perspective of the (local) NS user as shown in Figure C.1.
+
+A set of primitives describing the means by which control information is conveyed from the NS provider to the NS user has been provided in the following subclauses. These primitives are defined in accordance with ITU-T Rec. X.210 | ISO/IEC 10731.
+
+
+
+```
+
+graph TD
+ NSUser[NS user] <--> NSProvider[NS provider]
+ subgraph DataFlow [Data flow]
+ direction LR
+ DFLabel[Data flow
+(Accessed via
+N-UNIT-DATA
+primitives)]
+ end
+ subgraph ControlFlow [Control flow]
+ direction LR
+ CFLabel[Control flow
+(Used for information
+not necessarily related to
+individual data transmissions
+accessed via the primitives
+described in clause 19)]
+ end
+ DFLabel --- NSUser
+ CFLabel --- NSProvider
+
+```
+
+TISO0570-92
+
+Diagram illustrating the control flow from the perspective of the NS user. It shows two boxes: 'NS user' at the top and 'NS provider' at the bottom. Two vertical double-headed arrows connect them. To the left of the arrows, a horizontal arrow points right towards the double-headed arrows, labeled 'Data flow' and '(Accessed via N-UNIT-DATA primitives)'. To the right of the arrows, a horizontal arrow points left towards the double-headed arrows, labeled 'Control flow' and '(Used for information not necessarily related to individual data transmissions accessed via the primitives described in clause 19)'. The text 'TISO0570-92' is at the bottom right.
+
+Figure C.1 – Control flow from the perspective of the NS user
+
+## C.2 Function
+
+This annex describes primitives which convey information from the NS provider to the NS user concerning those characteristics of the service available for a given pair of NSAPs which are beyond the scope of those characteristics which can be expressed in a single invocation of the connectionless-mode Network Service.
+
+The primitives are modelled as requests initiated by the NS user and indications initiated by the NS provider. Indications may be initiated by the NS provider independently from requests by the NS user. The circumstances which cause the initiation of these primitives are not discussed here.
+
+NOTE – Primitives providing such information are required for effective application of the service. It is recognized that such primitives may equally be regarded as a layer management function.
+
+## C.3 Types of primitives and parameters
+
+Three primitives are defined:
+
+- a) the N-FACILITY request;
+- b) the N-FACILITY indication; and
+- c) the N-REPORT indication.
+
+The N-FACILITY request is issued by the NS user to request information about the characteristics of the service which may be expected to be available for an N-UNIT-DATA request(s) to a given destination NSAP.
+
+The N-FACILITY indication conveys characteristics of the service to the NS user which may be expected to be available for N-UNIT-DATA request(s), given a particular destination NSAP. This primitive is issued by the NS provider in response to an NS user initiated N-FACILITY request, or it may be issued by the NS provider independent of any request by the NS user.
+
+NOTE 1 – Such information may be available, for example, from routing tables maintained by the NS provider, or from information supplied as an aspect of layer management, or by some other means.
+
+The N-REPORT indication conveys information about a failure to provide the requested quality of service or service characteristic to the NS user relating to a failure to satisfy the constraints imposed upon the N-UNIT-DATA request, given a particular destination NSAP.
+
+NOTE 2 – This primitive will be issued by the NS provider in response to information pertaining to the failure of a particular N-UNIT-DATA request to be fulfilled. This information is typically obtained through the operation of the supporting Network Layer protocol. In addition, if the local subsystem determines immediately that the requested transmission cannot be fulfilled under the conditions imposed, it may abort the transmission and issue the primitive. The specific circumstances under which this primitive is generated are not discussed herein.
+
+## C.4 Service characteristics
+
+### C.4.1 Congestion control
+
+The specification of the congestion control parameter is concerned with whether an NS user is willing to accept indications from the NS provider that transmission is refused. The specification of this parameter means that the NS user prefers refusal of transmission to the initiation of discard operations.
+
+### C.4.2 Sequence preservation probability
+
+Sequence preservation probability is the ratio of sequence-preserved transmissions to total transmissions observed during a performance measurement.
+
+A sequence-preserved transmission is one in which the following rule is observed: for a given pair of NSAPs, an N-UNIT-DATA indication will not occur at a destination NSAP after any other N-UNIT-DATA indications resulting from any subsequent N-UNIT-DATA requests issued from the source NSAP to the destination NSAP.
+
+For a series of transmissions for which all other QOS parameters are the same, the specification of a sequence preservation probability of one (1) means that the NS provider shall ensure that change of order operations (see clause 16) are not initiated.
+
+NOTE 1 – According to the definition provided in ISO/IEC 7498-1, it is not a requirement that sequence preservation be provided by a connectionless-mode Network Service. While it is true that in some circumstances, NSDUs will be delivered in order at the destination NSAP if sequence is maintained by the underlying service, the fact that a series of data units handled one after the other by an NS user to the NS provider are delivered to the destination in the same order is not a basic characteristic of a connectionless-mode Network Service, as no relationship between the NSDUs, expressed or implied, is created by the connectionless-mode Network Service.
+
+NOTE 2 – The maintenance of sequence from one invocation of the connectionless-mode Network Service to another, between the same pair of NS users may also be viewed as being part of the connection-mode Network Service; for example, when the network-connection is established at system initialization and exists permanently without an explicit connection establishment phase.
+
+### C.4.3 Maximum NSDU lifetime
+
+Maximum NSDU lifetime is the maximum elapsed time between an N-UNIT-DATA request and any corresponding N-UNIT-DATA indication. Maximum NSDU lifetime is made available to the NS user in order that timer values associated with transport protocol operation might be correctly assigned.
+
+NOTE – A connectionless-mode Network Service provider will, in general, continue to try to deliver an NSDU until the value of this parameter is reached. Typically, resources (such as buffers) are employed to achieve this. Where the NS user employs retransmission mechanisms, the maximum NSDU should not be set to a value much greater than the retransmission timer. Otherwise, the NS provider may fail to meet the other QOS requirements due to the need to retain resources for several NSDUs containing equivalent data.
+
+### C.5 Types of primitives and parameters
+
+Table C.1 illustrates the types of primitives and the parameters needed for the provision of the management facilities previously described.
+
+Table C.1 – Facility and Report parameters and primitives
+
+| Primitive
Parameter
| N-FACILITY | | N-REPORT |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------|------------|------------|
+| | Request | Indication | Indication |
+| Destination address | X | X | X |
+| Service characteristic/ QOS parameter | X (Note ) | X | X |
+| Reason for report | | | X |
+| NOTE – The parameter(s) may be implicitly associated with the primitive. There might be specific parameters for each individual service characteristic or quality of service parameter, or implicit requests for a group, or all of the parameters according to local implementation conventions. | | | |
+
+### C.5.1 Destination address
+
+The address referred to in Table C.1 is an NSAP address. Both the connection-mode and connectionless-mode Network Service use the same NSAP addresses, as described in Annex A.
+
+### C.5.2 Service characteristic/QOS parameter
+
+The value of the service characteristic/QOS parameter is a list of subparameters. For each sub-parameter, any value permitted according to the particular subparameter may be indicated. QOS parameters are described in clause 17; service characteristics are described in C.4.
+
+### C.5.3 Reason for report
+
+The value of the reason for report parameter indicates the reason that the N-REPORT indication was initiated by the NS provider. Reason codes might include:
+
+- a) no reason specified;
+- b) transit delay exceeded;
+- c) NS provider congestion;
+- d) other requested QOS/service characteristic unavailable;
+- e) NSDU lifetime exceeded; and
+- f) suitable route unavailable.
+
+In the case where reason d) is indicated, the NS provider may return an indication of which Quality of Service parameter is not available.
+
+
+
+# SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure and Internet protocol aspects |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/2834bdd6eb8540277e609decbb924003_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/2834bdd6eb8540277e609decbb924003_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d10a6824ec0ca44da61c28dd220488af78795f3c
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/2834bdd6eb8540277e609decbb924003_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b2d2b2ab300432fb4289b640b9a76446c8dbf5aaba3fdda3be1505ec7a9269dd
+size 16033
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2da5eed29c3555cd1112aa3e8052b379bc5607de
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5ea8cbfe9027ff1527f3a936add437b63fd94e8a499e5c74e0f608786b32f2a4
+size 7270
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/5fbb4f0de01736f1293333e599410c99_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/5fbb4f0de01736f1293333e599410c99_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e2acba9290067d812e73b159e5e341bdc3676ed4
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/5fbb4f0de01736f1293333e599410c99_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:23e481b843e22ec8f11219e646547e3ec9bcb1eafde62cae2b7c8832cfc81b9a
+size 14913
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/7b8b192e2853ef28d28eff0241ebe86b_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/7b8b192e2853ef28d28eff0241ebe86b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..95f10f55810640517aea2f5d05e5b7e93a84234d
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/7b8b192e2853ef28d28eff0241ebe86b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bcf2c7feb987ff186d54b4b13383b46b4bc72676b37bfd0fe4c40c4c3b79c10b
+size 15683
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..197bd6d875a0c94ff3cdd1282cd720d337bcafef
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:490149e71392f3187bbe7076cf4c18371b0be537bd1eda2c2aa72f1c4e5f2d7c
+size 11728
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/a51105b2031bad93b818b82f071c6add_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/a51105b2031bad93b818b82f071c6add_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d309c6b08d06baffeea11ff5a1297f45808cf2b0
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/a51105b2031bad93b818b82f071c6add_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1f85536459429f9fdf65c4161c5457ae1a88494b8dff34bcd6a3c1a915538e33
+size 15662
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/d0abac95583b52a3b35f74a215567334_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/d0abac95583b52a3b35f74a215567334_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..feae8142a55f7aee07af811662e5b9eb1eae48a1
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/d0abac95583b52a3b35f74a215567334_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5d07059e0d6452bdd47e5e0e30019579c0049d3e31e6d8c29bc6ff161d9a5fa0
+size 22165
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/df476ed6ad0bb890c67aa63e7647d071_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/df476ed6ad0bb890c67aa63e7647d071_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..50c50adba47c2309dd2810f2f8d250a28915b677
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/df476ed6ad0bb890c67aa63e7647d071_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:23961a1506216b33665b9c6bee7b5e763a3d2dacdc18f513f195dc8a4b127fc6
+size 88438
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg b/marked/X/T-REC-X.219-198811-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..62d193b5879b049110c02d65587d0c4a596d749a
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2cc3f5e03aa25c64363bd2e6b1de2c0a80c47eac61c5bf29970031d04b1260ba
+size 42710
diff --git a/marked/X/T-REC-X.219-198811-I_PDF-E/raw.md b/marked/X/T-REC-X.219-198811-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..d3b5955381030e7a726fc2bf2817006c57bc3962
--- /dev/null
+++ b/marked/X/T-REC-X.219-198811-I_PDF-E/raw.md
@@ -0,0 +1,1959 @@
+
+
+
+
+ITU logo: a globe with the letters ITU and a lightning bolt symbol.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**X.219**
+
+# **OPEN SYSTEMS INTERCONNECTION SERVICE DEFINITIONS** ---
+
+# **REMOTE OPERATIONS: MODEL, NOTATION AND SERVICE DEFINITION**
+
+## **ITU-T Recommendation X.219**
+
+(Extract from the *Blue Book*)
+
+---
+
+## NOTES
+
+1 ITU-T Recommendation X.219 was published in Fascicle VIII.4 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below).
+
+2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+### Recommendation X.219
+
+# REMOTE OPERATIONS: MODEL, NOTATION AND SERVICE DEFINITION1
+
+(Melbourne, 1988)
+
+The CCITT,
+
+*considering*
+
+(a) that Recommendation X.200 defines the Reference Model of Open Systems Interconnection (OSI) for CCITT applications;
+
+(b) that Recommendation X.210 defines the service conventions for describing the services of the OSI reference model,
+
+(c) that Recommendation X.216 defines the Presentation Layer service;
+
+(d) that Recommendation X.217 defines the Association Control Service;
+
+(e) that Recommendation X.218 defines the Reliable Transfer service;
+
+(f) that Recommendation X.229 defines the Remote Operations protocol;
+
+(g) that there is a need for common Remote Operations support for various applications;
+
+*unanimously declares*
+
+that this Recommendation defines the Remote Operation service and notation of Open Systems Interconnection for CCITT Applications as given in the Scope and Field of Application.
+
+# CONTENTS
+
+| | |
+|----|-------------------------------------------------------------|
+| 0 | Introduction |
+| 1 | Scope and Field of Application |
+| 2 | References |
+| 3 | Definitions |
+| 4 | Abbreviations |
+| 5 | Conventions |
+| 6 | Remote Operations Model |
+| 7 | Overview of Notation and Service |
+| 8 | Relationship with other Application Service Elements |
+| 9 | Remote Operations Notation |
+| 10 | Service Definition |
+
+---
+
+1 Recommendation X.219 and ISO 9072-1 [Information Processing Systems - Text Communications - Remote Operations, Part 1: Model, Notation and Service Definition] were developed in close collaboration and are technically aligned
+
+11 *Mapping of Notation to Service*
+
+12 *Sequencing Information*
+
+*Annex A* - Notation Supporting the Specification of application-service-elements and Application Contexts
+
+*Annex B* - Guidelines for application Protocol Designers on the Use of ROSE
+
+# **0 Introduction**
+
+This Recommendation defines a notation and the services provided by an application-service-element - the Remote Operations Service Element (ROSE) - to support interactive applications in a distributed open systems environment. This Recommendation is one of a set of Recommendations defining sets of application-service-elements commonly used by a number of applications.
+
+Interactions between entities of a distributed application are modeled as Remote Operations, and defined using a Remote Operations Notation. A Remote Operation is requested by one entity; the other entity attempts to perform the Remote Operation and then reports the outcome of the attempt. Remote Operations are supported by the ROSE.
+
+This Recommendation is technically aligned with ISO 9072-1.
+
+# **1 Scope and Field of Application**
+
+This Recommendation defines a Remote Operation (RO-) Notation for defining the services provided to interactive applications. This Recommendation also defines the services provided by the Remote Operation Service Element (ROSE) services. The ROSE services are provided by the use of the ROSE protocol (Recommendation X.229) in conjunction with the Association Control Service Element (ACSE) services (Recommendation X.217) and the ACSE protocol (Recommendation X.227), optionally the Reliable Transfer Service Element (RTSE) services (Recommendation X.218) and the RTSE protocol (Recommendation X.228), and the presentation service (Recommendation X.216).
+
+No requirement is made for conformance to this Recommendation.
+
+# **2 References**
+
+- X.200 Reference Model of Open Systems Interconnection for CCITT Applications (see also ISO 7498).
+- X.208 Specification of abstract syntax notation (see also ISO 8824).
+- X.209 Specification of Basic Encoding Rules for the abstract syntax notation (see also ISO 8825).
+- X.210 Open Systems Interconnection Layer Service Definition Conventions (see also ISO/TR 8509).
+- X.216 Presentation Service Definition for Open Systems Interconnection for CCITT applications (see also ISO 8822).
+- X.217 Association Control Service Definition for CCITT Applications (see also ISO 8649).
+- X.218 Reliable Transfer: Model and Service Definition (see also ISO 9066-1).
+- X.227 Association Control Protocol Specification for CCITT Applications (see also ISO 8650).
+- X.228 Reliable Transfer: Protocol Specification (see also ISO 9066-2).
+- X.229 Remote Operations: Protocol Specification (see also ISO 9072-2).
+
+# **3 Definitions**
+
+## **3.1 *Reference Model Definitions***
+
+This Recommendation is based on the concepts developed in Recommendation X.200 and makes use of the following terms defined in it:
+
+- a) Application Layer;
+
+- b) application-process;
+- c) application-entity;
+- d) application-service-element;
+- e) application-protocol-data-unit;
+- f) application-protocol-control-information;
+- g) Presentation Layer;
+- h) presentation-service;
+- i) presentation-connection,
+- j) session-service;
+- k) session-connection;
+- l) transfer syntax; and
+- m) user-element.
+
+## 3.2 *Service Conventions Definitions*
+
+This Recommendation makes use of the following terms defined in Recommendation X.210:
+
+- a) service-provider;
+- b) service-user;
+- c) confirmed service;
+- d) non-confirmed service;
+- e) provider-initiated service;
+- f) service-primitive; primitive;
+- g) request (primitive);
+- h) indication (primitive);
+- i) response (primitive); and
+- j) confirm (primitive).
+
+## 3.3 *Presentation Service Definitions*
+
+This Recommendation makes use of the following terms defined in Recommendation X.216.
+
+- a) abstract syntax;
+- b) abstract syntax name;
+- c) transfer syntax name;
+- d) presentation context.
+
+## 3.4 *Association Control Definitions*
+
+This Recommendation makes use of the following terms defined in Recommendation X.217:
+
+- a) application-association; association;
+- b) application context;
+- c) Association Control Service Element;
+
+## 3.5 *Reliable Transfer Definitions*
+
+This Recommendation makes use of the following terms defined in Recommendation X.218:
+
+- a) Reliable Transfer Service Element.
+
+## 3.6 ROSE *Definitions*
+
+For the purpose of this Recommendation the following definitions apply:
+
+### 3.6.1 **association-initiating-application-entity; association-initiator**
+
+The application-entity that initiates the application-association.
+
+### 3.6.2 **association-responding-application-entity; association-responder**
+
+The application-entity that responds to the initiation of an application-association by another AE.
+
+### 3.6.3 **invoking-application-entity; invoker**
+
+The application-entity that invokes the Remote Operation.
+
+### 3.6.4 **performing-application-entity ; performer**
+
+The application-entity that performs a Remote Operation invoked by the other application-entity.
+
+### 3.6.5 **requestor**
+
+The part of an application-entity that issues a request primitive for a particular ROSE service.
+
+### 3.6.6 **acceptor**
+
+The part of an application-entity that receives the indication primitive for a particular ROSE service.
+
+### 3.6.7 **linked-operations**
+
+A set of operations formed by one parent-operation and one or more child-operations.
+
+### 3.6.8 **parent-operation**
+
+An operation during the execution of which the performer may invoke linked child-operations to be performed by the invoker of the parent-operation.
+
+### 3.6.9 **child-operation**
+
+An operation which might be invoked by the performer of the linked parent-operation during the execution of the parent-operation, and which is performed by the invoker of the parent-operation.
+
+### 3.6.10 **Remote Operations**
+
+- 1) A concept and notation supporting the specification of interactive communication between application-entities. This includes the Remote Operation Service Element and the mapping of the notation onto the service primitives of used application-service-elements.
+- 2) The set of bind-operations, unbind-operations and operations.
+
+### 3.6.11 **RO-notation**
+
+The notation used for the specification of Remote Operations, defined in this Recommendation.
+
+### 3.6.12 **ACSE-user**
+
+The application-specific function that performs the mapping of the bind-operation and unbind-operation of the RO-notation onto ACSE.
+
+### 3.6.13 **Remote Operation Service Element**
+
+The application-service-element defined in this Recommendation.
+
+### 3.6.14 **ROSE-provider**
+
+The provider of the Remote Operations Service Element services.
+
+### 3.6.15 **ROSE-user**
+
+The application-specific function that performs the mapping of the operations and errors of the RO-notation onto ROSE.
+
+### 3.6.16 **RTSE-user**
+
+The application-specific function that performs the mapping of the bind-operation and unbind-operation of the RO-notation onto RTSE.
+
+### 3.6.17 **operation-interface**
+
+The interface within an application entity between the user element and the application service elements, defined as a set of application service element services (Remote Operations) available to the user element in RO-notation.
+
+# 4 **Abbreviations**
+
+| | |
+|-------------|-------------------------------------|
+| AE | application-entity |
+| ACSE | Association Control Service Element |
+| ASE | application-service-element |
+| APDU | application-protocol-data-unit |
+| OSI | Open Systems Interconnection |
+| RO (or ROS) | Remote Operations |
+| ROSE | Remote Operations Service Element |
+| RT (or RTS) | Reliable Transfer |
+| RTSE | Reliable Transfer Service Element |
+
+# 5 **Conventions**
+
+This Recommendation defines services for the ROSE following the descriptive conventions defined in Recommendation X.210. In § 10, the definition of each ROSE service includes a table that lists the parameters of its primitives. For a given primitive, the presence of each parameter is described by one of the following values:
+
+blank not applicable
+
+M mandatory
+
+U user option
+
+C conditional
+
+O presence is a ROSE service-provider option
+
+In addition, the notation ( = ) indicates that a parameter value is semantically equal to the value to its left in the table.
+
+# 6 **Remote Operations Model**
+
+In the OSI environment, communication between application processes is represented in terms of communication between a pair of application entities (AEs) using the presentation service. Communication between some application-entities are inherently interactive. Typically, one entity requests that a particular operation be performed; the other entity attempts to perform the operation and then report the outcome of the attempt. This Section
+
+introduces the concept of Remote Operations as a vehicle for supporting interactive applications.
+
+The generic structure of an operation is an elementary request/reply interaction. Operations are carried out within the context of an application-association.
+
+Figure 1/X.219 models this view.
+
+
+
+The diagram illustrates the Remote operations model. It features two rectangular boxes, each labeled 'AE' (Application Entity), positioned horizontally. These boxes are enclosed within a larger dashed-line rectangle labeled 'Application-association' at the top. A curved arrow labeled 'Request' originates from the left AE and points to the right AE. A second curved arrow labeled 'Reply' originates from the right AE and points back to the left AE. In the bottom right corner of the dashed rectangle, the text 'T0703520-88' is present.
+
+Diagram of the Remote operations model showing two Application Entities (AE) within an Application-association context. A Request arrow points from the left AE to the right AE, and a Reply arrow points from the right AE back to the left AE.
+
+FIGURE 1/X.219
+
+### **Remote operations model**
+
+Operations invoked by one AE (the invoker) are performed by the other AE (the performer). Operations may be classified according to whether the performer of an operation is expected to report its outcome:
+
+- in case of success or failure (a result reply is returned if the operation is successful, an error reply is returned if the operation is unsuccessful);
+- in case of failure only (no reply is returned if the operation is successful, an error reply is returned if the operation is unsuccessful);
+- in case of success only (a result reply is returned if the operation is successful, no reply is returned if the operation is unsuccessful);
+- or not at all (neither a result nor an error reply is returned, whether the operation was successful or not).
+
+Operations may also be classified according to two possible operation modes: synchronous, in which the invoker requires a reply from the performer before invoking another operation; an asynchronous, in which the invoker may continue to invoke further operations without awaiting a reply.
+
+The following Operation Classes are defined:
+
+- Operation Class 1: Synchronous, reporting success or failure (result or error).
+- Operation Class 2: Asynchronous, reporting success or failure (result or error).
+- Operation Class 3: Asynchronous, reporting failure (error) only, if any.
+- Operation Class 4: Asynchronous, reporting success (result) only.
+- Operation Class 5: Asynchronous, outcome not reported.
+
+The Operation Class of each operation has to be agreed between application entities (e.g. in an Application Protocol Recommendation).
+
+In some cases it is useful to group operations into a set of linked-operations which is formed by one parent-operation and one or more child-operations. The performer of the parent-operation may invoke none, one, or more child-operations during the execution of the parent-operation. The invoker of the parent-operation is the performer of the child-operations. A child-operation may be a parent-operation of another set of linked-operations in a recursive manner. Figure 2/X.219 models this concept.
+
+
+
+The diagram shows two Application Entities (AEs) within a dashed box labeled 'Application-association'. The left AE is labeled 'Performer of linked child-operations'. The right AE is labeled 'Performer of parent-operation'. An arrow labeled 'Invocation of parent-operation' points from the left AE to the right AE. Two arrows labeled 'Invocation of child-operation' point from the right AE to the left AE. Inside the right AE, there is a box labeled 'Execution of parent-operation' with a vertical ellipsis below it, indicating a sequence of operations.
+
+Diagram illustrating Linked-operations within an Application-association. Two AEs are shown. The left AE is labeled 'Performer of linked child-operations'. The right AE is labeled 'Performer of parent-operation'. Arrows show 'Invocation of parent-operation' from the left AE to the right AE, and 'Invocation of child-operation' from the right AE to the left AE. The right AE also shows 'Execution of parent-operation' and a vertical ellipsis indicating further operations.
+
+FIGURE 2/X.219
+Linked-operations
+
+An application-association defines the relationship between a pair of AEs, and is formed by the exchange of application-protocol-control-information through the use of presentation-services. The AE that initiates an application-association is called the association-initiating AE, or the association-initiator, while the AE that responds to the initiation of an application-association by another AE is called the association-responding AE, or the association-responder. Only the association-initiating AE may release an established application-association.
+
+Application-associations are classified by which application-entity is allowed to invoke operations:
+
+Association Class 1: Only the association-initiating application entity can invoke operations.
+
+Association Class 2: Only the association-responding application entity can invoke operations.
+
+Association Class 3: Both the association-initiating and the association-responding application entities can invoke operations.
+
+Linked-operations require Association Class 3.
+
+The Association Class has to be agreed between application-entities (e.g. in an Application Protocol Recommendation).
+
+The functionality of an AE is factored into one user-element and a set of application-service-elements (ASEs). Each ASE may itself be factored into a set of (more primitive) ASEs. The interaction between AEs is described in terms of their use of ASEs.
+
+The specific combination of a user-element and the set of ASEs which comprise an AE defines the application-context.
+
+Figure 3/X.219 illustrates an example of an application-context involving the Remote Operations Service Element (ROSE). Note that this figure is not meant to imply that the application is symmetric. Interactive applications are often inherently asymmetric, that is, either one or both AEs may be permitted to invoke operations, and the operations that either AE may invoke may be different. The rules governing which AE may invoke operations, and which operations an AE may invoke, is defined using the RO-notation in an Application Protocol Recommendation, and determines the application-context.
+
+The set of ASEs available to the user element of the AE at the operation-interface is defined using the Remote Operations (RO-) Notation. The RO-notation is based on the macro concept defined in Recommendation X.208. The complexity of a particular set of ASEs is dependent upon the needs of the application, and is not limited by the Remote Operations concept.
+
+An important characteristic of Remote Operations is that they provide applications with independence from OSI communication services. Since the notation is based on established object-oriented programming principles, automatic tools can be developed to bind Remote Operations into the execution environment of applications.
+
+The ASEs available to the user-element require communication over an application-association. The control of that application-association (establishment, release, abort) is performed either by the Association Control Service Element (ACSE) defined in Recommendation X.217, or the Reliable Transfer Service Element defined in Recommendation X.218 and the Association Control Service Element (ACSE). Communication over the application-association is performed by the Remote Operations Service Element (ROSE) defined in this Recommendation.
+
+An application-specific function performs the mapping of the operations available to the user-element onto either the ACSE services, or the RTSE services; and the ROSE services. The mapping is defined in this Recommendation. The function that performs the mapping of the operations onto the ACSE services, or the RTSE services, and the ROSE services is said to be the user of ACSE, RTSE and ROSE, or the ACSE-user, the RTSE-user, and the ROSE-user.
+
+If the RTSE is included in the application-context, the mapping function is an RTSE-user and a ROSE-user, the ROSE is an RTSE-user, the RTSE is an ACSE-user and a presentation service-user, and the ACSE is a presentation service-user.
+
+If the RTSE is excluded from the application-context, the mapping function is an ACSE-user and a ROSE-user, the ROSE is a presentation service-user, and the ACSE is a presentation service-user.
+
+### 7 Overview of Notation and Service
+
+#### 7.1 Notation Overview
+
+This Recommendation defines the RO-notation for the specification of an application-context and the related abstract syntax component of the presentation context.
+
+The functionality of an application-context is provided to the user-element by means of Remote Operations and errors which form the operation-interface.
+
+
+
+```
+
+ graph TD
+ subgraph Application_Layer
+ subgraph AE1 [Application-entity]
+ UE1[User-element]
+ subgraph AS1 [Application-service-element and mapping onto ROSE, and eventually onto ACSE or RTSE]
+ direction LR
+ ACSE1[ACSE]
+ RTSE1[RTSE optional]
+ ROSE1[ROSE]
+ end
+ UE1 --- AS1
+ end
+ subgraph AE2 [Application-entity]
+ UE2[User-element]
+ subgraph AS2 [Application-service-element and mapping onto ROSE, and eventually onto ACSE or RTSE]
+ direction LR
+ ACSE2[ACSE]
+ RTSE2[RTSE optional]
+ ROSE2[ROSE]
+ end
+ UE2 --- AS2
+ end
+ AE1 <--> |Application Protocol over application-association| AE2
+ end
+ subgraph Presentation_Layer
+ AE1 <--> |Presentation-connection| AE2
+ end
+
+```
+
+The figure shows two Application-entities within the Application Layer. Each entity contains a User-element and a box for 'Application-service-element and mapping onto ROSE, and eventually onto ACSE or RTSE'. Inside this box are sub-boxes for ACSE, RTSE (marked optional with a dashed border), and ROSE. An 'Application Protocol over application-association' connects the two entities. Below the Application Layer is the Presentation Layer, with a 'Presentation-connection' linking the two sides.
+
+Model of an application context involving remote operations
+
+FIGURE 3/X.219
+
+**Model of an application context involving remote operations**
+
+The following types of Remote Operations form an operation interface:
+
+- a bind-operation to establish an application-association
+- a set of operations and, for each operation, a list of error (negative reply) situations
+- an unbind-operation to release an application-association.
+
+8 Fascicle VIII.4 - Rec. X.219
+
+The abstract syntax notation of Recommendation X.208 is used for the definition of the following macros:
+
+- a) BIND;
+- b) UNBIND;
+- c) OPERATION; and
+- d) ERROR.
+
+These macros provide both a type notation and a value notation for Remote Operations and errors.
+
+The type notation of the BIND macro enables the specification for a bind-operation type and the types for user data values (if any) to be exchanged in the establishment phase of an application-association. The value notation of the BIND macro enables the specification of user data values (if any) to be exchanged in the establishment phase of an application-association.
+
+The type notation of the UNBIND macro enables the specification of an unbind-operation type and types for user data values (if any) to be exchanged in the release phase of an application association. The value notation of the UNBIND macro enables the specification of user data values (if any) to be exchanged in the release phase of an application-association.
+
+The type notation of the OPERATION macro enables the specification of an operation and user data types to be exchanged for a request and a positive reply. In addition, the type notation enables the specification of a list of valid negative reply situations. If the operation is a parent-operation, the type notation enables the specification of the list of linked child-operations. The value notation of the OPERATION macro enables the specification of the identifier of an operation.
+
+The type notation of the ERROR macro enables the specification of user data types to be exchanged in a negative reply situation. The value notation of the ERROR macro enables the specification of the identifier of an error.
+
+Additional macros supporting the notation for the specification of application-service-elements and application context are defined in Annex A.
+
+## 7.2 *Service Overview*
+
+This Recommendation defines the following ROSE services:
+
+- a) RO-INVOKE
+- b) RO-RESULT
+- c) RO-ERROR
+- d) RO-REJECT-U
+- e) RO-REJECT-P
+
+The RO-INVOKE service enables an invoking AE to request an operation to be performed by the performing AE.
+
+The RO-RESULT service enables the performing AE to return the positive reply of a successfully performed operation to the invoking AE.
+
+The RO-ERROR service enables the performing AE to return the negative reply of an unsuccessfully performed operation to the invoking AE.
+
+The RO-REJECT-U service enables one AE to reject the request or reply of the other AE if the ROSE-user has detected a problem.
+
+The RO-REJECT-P service enables the ROSE-user to be informed about a problem detected by the ROSE-provider.
+
+## 7.3 *Mapping of Notation onto Services*
+
+Note that the function that performs the mapping of the OPERATION macros and ERROR macros of the RO-notation onto ROSE services is said to be the ROSE-user. While the function that performs the mapping of the BIND and UNBIND macros of the RO-notation onto ACSE services or RTSE services respectively is said to be the
+
+ACSE-user or RTSE-user respectively.
+
+The specification of the mapping of the RO-notation onto the used services of ACSE, RTSE, and ROSE is given in § 11. Therefore Recommendations using the RO-notation for the protocol specification need not specify the mapping onto these used services.
+
+# **8 Relationship with other ASEs and Lower Layer Services**
+
+## **8.1 Other Application Service Elements**
+
+The ROSE is intended to be used with other ASEs in order to support specific interactive information processing tasks. Therefore it is expected that the ROSE will be included in a large number of application-context specifications.
+
+The collection of the ROSE and other ASEs included in an application context are required to use the facilities of the presentation-service in a co-ordinated manner among themselves.
+
+The ROSE requires an existing application-association controlled by ACSE.
+
+For some application context specifications a Reliable Transfer Service Element (RTSE) is included.
+
+A ROSE-user protocol specification uses the RO-notation. It defines one or more abstract syntaxes and provides unique abstract syntax names of type object identifier for each abstract syntax.
+
+If a named abstract syntax specifies operations and errors, the ROSE APDUs defined in Recommendation X.229 are included in that named abstract syntax. If multiple named abstract syntaxes are defined for operations and errors, the ROSE APDUs are included in each named abstract syntax.
+
+If a named abstract syntax specifies a bind-operation, the APDUs specified by the value notation of the BIND macro are included in that named abstract syntax. If the RTSE is included in the application context, the APDUs for the bind-operation share a single named abstract syntax with the RTSE APDUs defined in Recommendation X.228.
+
+If a named abstract syntax specifies an unbind-operation, the APDUs specified by the value notation of the UNBIND macro are included in that named abstract syntax.
+
+The APDUs resulting from the specification of a bind-operation, an unbind-operation, operations and errors and the RTSE APDUs may share a single named abstract syntax.
+
+## **8.2 Presentation-Service**
+
+If an application context including RTSE and ROSE is defined, ROSE services do not use the presentation-service.
+
+If an application context including ROSE but excluding RTSE is defined, the ROSE services require access to the P-DATA service and require the use of the duplex functional unit of the presentation-service. The ROSE services neither use, nor constrain the use of, any other presentation service.
+
+A named abstract syntax associated with a compatible transfer syntax (negotiated by the Presentation Layer) constitutes a presentation context.
+
+The object identifier value {joint-iso-ccitt ans1(1) basic-encoding(1)} specified in Recommendation X.209 may be used as a transfer syntax name. In this case the ROSE-user protocol specification need not name nor specify a transfer syntax.
+
+# **9 Remote Operations Notation**
+
+## **9.1 General**
+
+The notation used in this Recommendation is defined as follows:
+
+- the data syntax notation and macro notation are defined in Recommendation X.208;
+
+- the Remote Operation macros are defined in § 9.2 of this Recommendation.
+
+A bind-operation defines where an object binding (establishment of an application-association) begins. If such a binding is established, operations may be invoked. An unbind-operation defines where an object binding is released.
+
+An interactive protocol is specified using the Remote Operation and error data types. This section defines those types. It also explains the notational definitions of a particular Remote operation, and of the particular errors it can report. The notation is defined by means of the macro facility defined in Recommendation X.208. This macro definition allows a generalized specification of the mapping onto various execution environments.
+
+The macros enabling the specification of bind-operations, unbind-operations, operations and errors are listed in Figure 4/X.219.
+
+## 9.2 *Specification of Bind-operations*
+
+A single data value, the argument of the bind-operation, may accompany the request to establish the application-association. Some bind-operations report their outcome, whether success (i.e. the normal outcome) or failure (i.e. the exceptional outcome). Other bind-operations report their outcome only if they fail, and still others never at all. A single data value, the result of the bind-operation, may accompany the positive response. A single data value, the bind-error of the bind-operation, may accompany the negative response.
+
+The notation for a bind-operation type is the keyword BIND, optionally followed by the keyword ARGUMENT and the type of the bind-operation's argument, the reference name optionally assigned to it, and the nature of the operation's outcome reporting (if any). If the bind-operation reports success, the keyword RESULT and the type of its result and the reference name optionally assigned to it are specified. If the bind-operation reports failure, the keyword BIND-ERROR and the type of the error-information it reports and the reference name optionally assigned to it are specified.
+
+The value notation for a bind-operation is either an argument value, or a result value or an error value. The value notation for an argument value (if any) is the keyword ARGUMENT followed by a value of the argument type. The value notation for a result value (if any) is the keyword RESULT followed by a value of the result type. The value notation for an error value (if any) is the keyword ERROR followed by a value of the error type.
+
+```
+
+Remote-Operation-Notation {joint-iso-ccitt remote-operations(4) notation(0)}
+DEFINITIONS::=
+BEGIN
+EXPORTS BIND, UNBIND, OPERATION, ERROR;
+-- macro definition for bind-operations
+BIND MACRO::=
+BEGIN
+TYPE NOTATION ::= Argument Result Error
+VALUE NOTATION ::= Argument-value | Result-value | Error-value
+Argument ::= empty | "ARGUMENT" Name type (Argument-type)
+ -- Expects any ASN.1 type and assigns it to the variable Argument-type
+Result ::= empty | "RESULT" Name type (Result-type)
+ -- Expects any ASN.1 type and assigns it to the variable Result-type
+Error ::= empty | "BIND-ERROR" Name type (Error-type)
+ -- Expects any ASN.1 type and assigns it to the variable Error-type
+Name ::= empty | identifier
+Argument-value ::= empty | "ARGUMENT" value (Arg-value Argument-type)
+ -- Expects a value for the type in Argument-type, and assigns it to the
+ -- variable Arg-value
+ < VALUE [16] EXPLICIT Argument-type:: = Arg-value >
+ -- Returns the final value as explicitly tagged type
+Result-value ::= empty | "RESULT" value (Res-value Result-type)
+ -- Expects a value for the type in Result-type, and assigns it to the
+ -- variable Res-value
+
+ -- Returns the final value as explicitly tagged type
+Error-value ::= empty | "ERROR" value (Err-value Error-type)
+ -- Expects a value for the type in Error-type, and assigns it to the
+ -- variable Err-value
+
+ -- Returns the final value as explicitly tagged type
+END
+-- Remote Operations Notation continued
+
+```
+
+FIGURE 4/X.219 (Part 1 of 3)
+
+### **Formal Definition of Remote Operations Data Types**
+
+```
+
+-- Remote Operations Notation continued
+
+-- macro definition for unbind-operations
+
+UNBIND MACRO ::=
+
+BEGIN
+
+TYPE NOTATION ::= Argument Result Errors
+
+VALUE NOTATION ::= Argument-value | Result-value | Error-value
+
+Argument ::= empty | "ARGUMENT" Name type (Argument-type)
+ -- Expects any ASN.1 type and assigns it to the variable Argument-type
+
+Result ::= empty | "RESULT" Name type (Result-type)
+ -- Expects any ASN.1 type and assigns it to the Result-type
+
+Error ::= empty | "UNBIND-ERROR" Name type (Error-type)
+ -- Expects any ASN.1 type and assigns it to the Error-type
+
+Name ::= empty | identifier
+
+Argument-value ::= empty | "ARGUMENT" value (Arg-value Argument-type)
+ -- Expects a value for the type in Argument-type, and assigns it to the
+ -- variable Arg-value
+
+ -- Returns the final value as explicitly tagged type
+
+Result-value ::= empty | "RESULT" value (Res-value Result-type)
+ -- Expects a value for the type in Result-type and assigns it to the
+ -- variable Res-value
+
+ -- Returns the final value as explicitly tagged type
+
+Error-value ::= empty | "ERROR" value (Err-value Error-type)
+ -- Expects a value for the type in Error-type and assigns it to the
+ -- variable Err-value
+
+ -- Returns the final value as explicitly tagged type
+
+END
+
+-- Remote Operations Notation continued
+
+```
+
+FIGURE 4/X.219 (Part 2 of 3)
+**Formal Definition of Remote Operations Data Types**
+
+```
+
+-- Remote Operations Notation continued
+-- macro definition for operations
+
+OPERATION MACRO::=
+BEGIN
+
+TYPE NOTATION ::= ArgumentResultErrorsLinkedOperations
+VALUE NOTATION ::= value(VALUECHOICE{
+ localValue INTEGER,
+ globalValue OBJECT IDENTIFIER})
+
+Argument ::= "ARGUMENT" NamedType | empty
+Result ::= "RESULT" ResultType | empty
+ResultType ::= NamedType | empty
+Errors ::= "ERRORS" "{"ErrorNames"}" | empty
+LinkedOperations ::= "LINKED" "{"LinkedOperationsNames"}" | empty
+ErrorNames ::= ErrorList | empty
+ErrorList ::= Error | ErrorList "," Error
+Error ::= value (ERROR) - - shall reference an error value
+ | type - - shall reference an error type if no error value is specified
+
+LinkedOperation ::= OperationList | empty
+Names
+
+OperationList ::= Operation | OperationList "," Operation
+Operation ::= value (OPERATION) - - shall reference an operation value
+ | type - - shall reference an operation type if no operation value is specified
+NamedType ::= identifier type | type
+END
+
+-- macro definition for operations errors
+ERROR MACRO::=
+BEGIN
+
+TYPE NOTATION ::= Parameter
+VALUE NOTATION ::= value(VALUE CHOICE{
+ localValue INTEGER,
+ globalValue OBJECT IDENTIFIER})
+
+Parameter ::= "PARAMETER"NamedType | empty
+NamedType ::= identifier type | type
+END
+END - - end of Remote Operations Notation
+
+```
+
+FIGURE 4/X.219 (Part 3 of 3)
+
+### **Formal Definition of Remote Operations Data Types**
+
+## 9.3 *Specifications of Unbind-operations*
+
+A single data value, the argument of the unbind-operation, may accompany the request to release the application-association. Some unbind-operations report their outcome, whether success (i.e. the normal outcome) or failure (i.e. the exceptional outcome). Other unbind-operations report their outcome only if they fail, and still others never at all. A single data value, the result of the unbind-operation, or a single data value, the unbind-error of the unbind-operation, may accompany the response.
+
+The notation for an unbind-operation type is the keyword UNBIND, optionally followed by the keyword ARGUMENT and the type of the unbind-operation's argument, the reference name optionally assigned to it, and the nature of the unbind-operation's outcome reporting (if any). If the unbind-operation reports success, the keyword RESULT and the type of its result and the reference name optionally assigned to it are specified. If the Unbind-operation reports failure, the keyword UNBIND-ERROR and the type of the error-information it reports and the reference name optionally assigned to it are specified.
+
+The value notation for an unbind-operation is either an argument value, or a result value or an error value. The value notation for an argument value (if any) is the keyword ARGUMENT followed by a value of the argument type. The value notation for a result value (if any) is the keyword RESULT followed by a value of the result type. The value notation for an error value (if any) is the keyword ERROR followed by a value of the error type.
+
+## 9.4 *Specification of Operations*
+
+A data value of type operation represents the identifier for an operation that a ROSE-user in one open system may request to be performed by a peer ROSE-user in another open system. A single data value, the argument of the operation, may accompany the request. Some operations report their outcome, whether success (i.e. the normal outcome) or failure (i.e. the exceptional outcome). Other operations report their outcome only if they fail, and still others never at all. A single data value, the result of the operation, accompanies a report of success; a report of failure identifies the exceptional condition that was encountered.
+
+The notation for an operation type is the keyword OPERATION, optionally followed by the keyword ARGUMENT and the type of the operation's argument, the reference name optionally assigned to it, and the nature of the operation's outcome reporting (if any). If the operation reports success, the keyword RESULT and optionally the type of its result and the reference name optionally assigned to it are specified. If the operation reports failure, the keyword ERRORS and the reference names of the error values or error types it reports are specified. If the operation is the parent-operation of a set of linked-operations, the keyword LINKED-OPERATIONS and the reference names of the linked child-operation values or child-operation types are specified. The reference to error values or child-operation values is preferred, however, the references to types shall be used if the values are defined elsewhere (see § 9.6).
+
+The notation for an operation value is the operation's identifier. If a locally unique identifier (local value) is sufficient, the identifier is of type INTEGER. If a globally unique identifier (global value) is required to allow the unique identification of operations used in several abstract syntaxes, the identifier is of type OBJECT IDENTIFIER.
+
+Child-operations and errors referenced by a specific operation shall share a single named abstract syntax (see sub- § 8.1) with that operation, if the child-operations or errors are identified by local values. The use of global values is not restricted.
+
+## 9.5 *Specification of Errors*
+
+A data value of type error represents the identifier for an exception condition that a ROSE-user in one open system may report to a peer ROSE-user in another open system, where the exception condition is reporting an exceptional outcome of a previously requested operation. A single data value, the parameter of the error, may accompany the report.
+
+The notation for an error type is the keyword ERROR, optionally followed by the keyword PARAMETER and the type of the error's parameter and the reference name optionally assigned to it.
+
+The notation for an error value is the error's identifier. If a locally unique identifier (local value) is sufficient, the identifier is of type INTEGER. If a globally unique identifier (global value) is required to allow the unique identification of errors used in several abstract syntaxes, the identifier is of type OBJECT IDENTIFIER.
+
+Operation values and error values have to be unique within a named abstract syntax. If operations and errors are specified in several ASN.1 modules and are imported to a module specifying a specific named abstract syntax, one of the following rules apply:
+
+- 1) If local values are used and exported, it is in the responsibility of the designer of the importing module to ensure uniqueness.
+- 2) A module may specify and export operation types and error types. The operation values and error values are assigned in the module importing the types. A single value shall be assigned for each operation type or error type.
+- 3) If global values are assigned and exported, uniqueness is ensured.
+
+However different named abstract syntaxes might be used for conflicting local values.
+
+# 10 Service Definition
+
+The ROSE services are listed in Table 1/X.219.
+
+TABLE 1/X.219
+
+**ROSE Services**
+
+| Service | Type |
+|-------------|--------------------|
+| RO-INVOKE | Non-confirmed |
+| RO-RESULT | Non-confirmed |
+| RO-ERROR | Non-confirmed |
+| RO-REJECT-U | Non-confirmed |
+| RO-REJECT-P | Provider-initiated |
+
+Identification of the named abstract syntax in use is assumed for all ROSE services, however this is a local matter and outside the scope of this Recommendation.
+
+## 10.1 *RO-INVOKE Service*
+
+The RO-INVOKE service is used by one ROSE-user (the invoker) to cause the invocation of an OPERATION to be performed by the other ROSE-user (the performer). This service is a non-confirmed service.
+
+The related service structure consists of two service-primitives, as illustrated in Figure 5/X.219.
+
+
+
+```
+
+sequenceDiagram
+ participant R1 as ROSE-user
+ participant RP as ROSE-provider
+ participant R2 as ROSE-user
+
+ R1->>RP: RO-INVOKE request
+ RP->>R2: RO-INVOKE indication
+ Note over R2: T0703550-88
+
+```
+
+Sequence diagram showing the RO-INVOKE service primitives between three entities: ROSE-user, ROSE-provider, and ROSE-user. The first ROSE-user sends an 'RO-INVOKE request' to the ROSE-provider. The ROSE-provider then sends an 'RO-INVOKE indication' to the second ROSE-user. A dashed line connects the request and indication, and a reference 'T0703550-88' is noted below the second ROSE-user.
+
+FIGURE 5/X.219
+
+**RO-INVOKE Service-primitives**
+
+### 10.1.1 *RO-INVOKE Parameters*
+
+Table 2/X.219 lists the RO-INVOKE service parameters.
+
+TABLE 2/X.219
+**RO-INVOKE Parameters**
+
+| Parameter name | Request | Indication |
+|-----------------|---------|------------|
+| Operation-value | M | M (=) |
+| Operation-class | U | |
+| Argument | U | C (=) |
+| Invoke-ID | M | M (=) |
+| Linked-ID | U | C (=) |
+| Priority | U | |
+
+#### 10.1.1.1 *Operation-value*
+
+This parameter is the identifier of the operation to be invoked. The value has to be agreed between the ROSE-users. This parameter has to be supplied by the requestor of the service.
+
+#### 10.1.1.2 *Operation Class*
+
+This parameter defines whether a synchronous or an asynchronous reply is expected and the nature of the expected reply, i.e. result and/or error or non (see § 6). This parameter has to be supplied by the requestor of the service. This parameter is used solely to optimize the turn management (see § 8.1.1 of Recommendation X.229).
+
+#### 10.1.1.3 *Argument*
+
+This parameter is the argument of the invoked operation. The type has to be agreed between the ROSE-users. This parameter has to be supplied by the requestor of the service.
+
+#### 10.1.1.4 *Invoke-ID*
+
+This parameter identifies the request of a RO-INVOKE service and is used to correlate this request with the corresponding replies (RO-RESULT, RO-ERROR, RO-REJECT-U, and RO-REJECT-P services) or the invocation of linked child-operations (RO-INVOKE). This parameter has to be supplied by the requestor of the service.
+
+This parameter distinguishes several requests of the service the requestor may have in progress (asynchronous operations). The requestor may begin to reuse Invoke-ID values whenever it chooses, subject to the constraint that it may not reuse an Invoke-ID value that was previously assigned to a request of the service for which it expects, but has not yet received, a reply or the invocation of a linked child-operation.
+
+The ROSE-user to which an RO-INVOKE indication is issued, assumes that an Invoke-ID value violating the above rule is a duplicate; and therefore, it does not perform the invoked operation. Instead, it rejects the duplicate invocation.
+
+If Operation Classes 3, 4 or 5 are used, the requestor of this service may reuse an Invoke-ID value after a reasonably long period of time, or if the reply is carried by other means (e.g. result of a have-you-finished operation).
+
+In some application contexts peer ROSE-users may communicate Invoke-ID values. To support this the type of the Invoke-ID parameter is exported by the module defining the abstract syntax of Remote Operations in § 9 of Recommendation X.229.
+
+#### 10.1.1.5 *Linked-ID*
+
+If this parameter is present, the invoked operation is a child-operation and the parameter identifies the invocation of the linked parent-operation. This parameter has to be supplied by the requestor of the service. The value is that of the Invoke-ID parameter of the RO-INVOKE indication primitive of the parent-operation.
+
+#### 10.1.1.6 *Priority*
+
+This parameter defines the priority assigned to the transfer of the corresponding APDU with respect to the other APDUs to be exchanged between the AEs. The lower the value, the higher the priority. If several APDUs with the same priority are awaiting transfer, they are transferred "first in, first out".
+
+*Note 1* - The Priority parameter has an effect in the case of a two-way alternate association in that it prioritizes the sending of APDUs, and may be used to determine when to request the Turn to send APDUs. The Priority parameter may also have a local effect in the case of a two-way simultaneous association.
+
+*Note 2* - The Priority of a reply (RO-RESULT, RO-ERROR, and RO-REJECT-U) should normally be higher (lower in value) than the priority of the corresponding invocation.
+
+## 10.2 *RO-RESULT service*
+
+The RO-RESULT service is used by a ROSE-user to reply to a previous RO-INVOKE indication in the case of a successfully performed operation. This service is a non-confirmed service.
+
+The related service structure consists of two service-primitives, as illustrated in Figure 6/X.219.
+
+
+
+```
+
+sequenceDiagram
+ participant User1 as ROSE-user
+ participant Provider as ROSE-provider
+ participant User2 as ROSE-user
+ User1->>Provider: RO-RESULT request
+ Provider->>User2: RO-RESULT indication
+
+```
+
+T0703560-88
+
+Sequence diagram showing the RO-RESULT service structure. A ROSE-user sends an RO-RESULT request to a ROSE-provider, which then sends an RO-RESULT indication to another ROSE-user. The diagram includes vertical lines for each entity and arrows for the message flow. A reference T0703560-88 is noted at the bottom.
+
+FIGURE 6/X.219
+**RO-RESULT Service-primitives**
+
+### 10.2.1 *RO-RESULT Parameters*
+
+Table 3/X.219 lists the RO-RESULT service parameters.
+
+TABLE 3/X.219
+**RO-RESULT Parameters**
+
+| Parameter name | Request | Indication |
+|-------------------|---------|------------|
+| Operation - value | U | C (=) |
+| Result | U | C (=) |
+| Invoke - ID | M | M (=) |
+| Priority | U | |
+
+#### 10.2.1.1 *Operation-value*
+
+This parameter is the identifier of an invoked and successfully performed operation. This parameter has to be supplied by the requestor of the service. The value is that of the corresponding RO-INVOKE indication primitive. This parameter shall be present only if the Result parameter is present.
+
+#### 10.2.1.2 *Result*
+
+This parameter is the result of an invoked and successfully performed operation. The type has to be agreed between the ROSE users. This parameter has to be supplied by the requestor of the service.
+
+#### 10.2.1.3 *Invoke-ID*
+
+This parameter identifies the corresponding invocation (see § 10.1.1.4). This parameter has to be supplied by the requestor of the service. The value is that of the corresponding RO-INVOKE indication primitive.
+
+#### 10.2.1.4 *Priority*
+
+This parameter defines the priority assigned to the transfer of the corresponding APDU (see § 10.1.1.6).
+
+## 10.3 *RO-ERROR service*
+
+The RO-ERROR service is used by a ROSE-user to reply to a previous RO-INVOKE indication in the case of an unsuccessfully performed operation. This service is a non-confirmed service.
+
+The related service structure consists of two service-primitives as illustrated in Figure 7/X.219.
+
+
+
+```
+sequenceDiagram
+ participant ROSE-user1 as ROSE-user
+ participant ROSE-provider as ROSE-provider
+ participant ROSE-user2 as ROSE-user
+ ROSE-user1->>ROSE-provider: RO-ERROR request
+ ROSE-provider-->>ROSE-user2: RO-ERROR indication
+```
+
+T0703570-88
+
+Sequence diagram showing RO-ERROR request from ROSE-user to ROSE-provider and RO-ERROR indication from ROSE-provider to ROSE-user.
+
+FIGURE 7/X.219
+**RO-ERROR Service-primitives**
+
+### 10.3.1 *RO-ERROR Parameters*
+
+Table 4/X.219 lists the RO-ERROR service parameters.
+
+TABLE 4/X.219
+**RO-ERROR Parameters**
+
+| Parameter name | Request | Indication |
+|-----------------|---------|------------|
+| Error-value | M | M ( = ) |
+| Error-parameter | U | C ( = ) |
+| Invoke-ID | M | M ( = ) |
+| Priority | U | |
+
+#### 10.3.1.1 *Error-value*
+
+This parameter identifies the error that occurred during the execution of the operation. The value has to be agreed between the ROSE-users. This parameter has to be supplied by the requestor of the service.
+
+#### 10.3.1.2 *Error-parameter*
+
+This parameter provides additional information about the error. The type (if any) has to be agreed between the ROSE-users. This parameter has to be supplied by the requestor of the service.
+
+#### 10.3.1.3 *Invoke-ID*
+
+This parameter identifies the corresponding invocation (see § 10.1.1.4). This parameter has to be supplied by the requestor of the service. The value is that of the corresponding RO-INVOKE indication primitive.
+
+#### 10.3.1.4 *Priority*
+
+This parameter defines the priority assigned to the transfer of the corresponding APDU (see § 10.1.1.6).
+
+## 10.4 *RO-REJECT-U*
+
+The RO-REJECT-U service is used by a ROSE-user to reject a request (RO-INVOKE indication) of the other ROSE-user if it has detected a problem. The RO-REJECT-U service may also be used by a ROSE-user to reject a reply (RO-RESULT indication, RO-ERROR indication) from the other ROSE-user. However, to avoid violating the sequencing rules of other ASEs in some application contexts, a ROSE-user may choose not to use the RO-REJECT-U service to reject replies. This service is a non-confirmed service.
+
+The related service structure consists of two service-primitives, as illustrated in Figure 8/X.219.
+
+
+
+```
+sequenceDiagram
+ participant R1 as ROSE-user
+ participant RP as ROSE-provider
+ participant R2 as ROSE-user
+ R1->>RP: RO-REJECT-U request
+ RP-->>R2: RO-REJECT-U indication
+```
+
+The diagram illustrates the RO-REJECT-U service structure. It shows three vertical lifelines: ROSE-user on the left, ROSE-provider in the middle, and another ROSE-user on the right. A solid horizontal arrow labeled "RO-REJECT-U request" points from the left ROSE-user to the ROSE-provider. A dashed horizontal arrow labeled "RO-REJECT-U indication" points from the ROSE-provider to the right ROSE-user. Below the right arrow is the identifier T0703580-88.
+
+Sequence diagram showing RO-REJECT-U service primitives between ROSE-user, ROSE-provider, and ROSE-user.
+
+FIGURE 8/X.219
+
+### RO-REJECT-U Service-primitives
+
+### 10.4.1 *RO-REJECT-U Parameters*
+
+Table 5/X.219 lists the RO-REJECT-U service parameters.
+
+TABLE 5/X.219
+**RO-REJECT-U Parameters**
+
+| Parameter name | Request | Indication |
+|----------------|---------|------------|
+| Reject-reason | M | M ( = ) |
+| Invoke-ID | M | M ( = ) |
+| Priority | U | |
+
+#### 10.4.1.1 *Reject-reason*
+
+This parameter specifies the reason for rejection as follows:
+
+- a) *Invoke-problem*: user-reject of an RO-INVOKE indication primitive with values:
+- duplication-invocation
+signifies that the Invoke-ID parameter violates the assignment rules of § 10.1.1.4.
+ - unrecognized-operation:
+signifies that the operation is not one of those agreed between the ROSE-users
+ - mistyped-argument:
+signifies that the type of the operation argument supplied is not that agreed between the ROSE-users
+ - resource-limitation:
+the performing ROSE-user is not able to perform the invoked operation due to resource limitation
+ - initiator-releasing:
+the association-initiator is not willing to perform the invoked operation because it is about to attempt to release the application-association
+ - unrecognized-linked-ID
+signifies that there is no operation in progress with an Invoke-ID equal to the specified Linked-ID
+ - linked-response-unexpected
+signifies that the invoked operation referred to by the Linked-ID is not a parent-operation
+unexpected-child-operation
+signifies that the invoked child-operation is not one that the invoked parent-operation referred to by the Linked ID allows.
+- b) *Return-result-problem*: user-reject of an RO-RESULT indication primitive with values:
+- unrecognized-invocation:
+signifies that no operation with the specified Invoke-ID is in progress
+ - result-response-unexpected:
+signifies that the invoked operation does not report a result
+ - mistyped-result:
+signifies that the type of the Result parameter supplied is not that agreed between the ROSE-users.
+
+- c) *Return-error-problem*: user-reject of an RO-ERROR indication primitive with values:
+- unrecognized-invocation:
+signifies that no operation with the specified Invoke-ID is in progress
+ - error-response-unexpected:
+signifies that the invoked operation does not report failure
+ - unrecognized-error:
+signifies that the reported error is not one of those agreed between the ROSE-users
+ - unexpected-error:
+signifies that the reported error is not one that the invoked operation may report
+ - mistyped-parameter:
+signifies that the type of the error parameter supplied is not that agreed between the ROSE-user.
+
+This parameter has to be supplied by the requestor of the service.
+
+#### 10.4.1.2 *Invoke-ID*
+
+This parameter identifies the corresponding invocation (see § 10.1.1.4). This parameter has to be supplied by the requestor of the service. The value is that of the rejected RO-INVOKE indication, RO-RESULT indication, or RO-ERROR indication primitive.
+
+#### 10.4.1.3 *Priority*
+
+This parameter defines the priority assigned to the transfer of the corresponding APDU (see § 10.1.1.6).
+
+## 10.5 *RO-REJECT-P*
+
+The RO-REJECT-P service is used to advise a ROSE-user of a problem detected by the ROSE-provider. This service is a provider-initiated service
+
+The related service structure consists of a single service-primitive, as illustrated in Figure 9/X.219.
+
+
+
+```
+
+sequenceDiagram
+ participant R1 as ROSE-user
+ participant RP as ROSE-provider
+ participant R2 as ROSE-user
+ RP->>R1: RO-REJECT-P indication
+
+```
+
+T0703590-88
+
+Sequence diagram showing the RO-REJECT-P service primitive. It involves three lifelines: ROSE-user, ROSE-provider, and ROSE-user. An arrow labeled 'RO-REJECT-P indication' points from the ROSE-provider lifeline to the first ROSE-user lifeline. The diagram is identified by the number T0703590-88.
+
+FIGURE 9/X.219
+**RO-REJECT-P Service-primitive**
+
+### 10.5.1 RO-REJECT-P Parameters
+
+Table 6/X.219 lists the RO-REJECT-P service parameters.
+
+TABLE 6/X.219
+RO-REJECT-P Parameters
+
+| Parameter name | Indication |
+|---------------------|------------|
+| Invoke-ID | O |
+| Returned-parameters | O |
+| Reject-reason | O |
+
+#### 10.5.1.1 Invoke-ID
+
+This parameter identifies the corresponding invocation (see § 10.1.1.4). This parameter is supplied by the ROSE-provider. The value is that of the rejected RO-INVOKE request, RO-RESULT request, RO-ERROR request or RO-REJECT-U request primitives. This parameter may be omitted if an Invoke-ID is not available.
+
+#### 10.5.1.2 Returned-parameters
+
+This parameter contains the parameters of the RO-INVOKE request, RO-RESULT request, RO-ERROR request or RO-REJECT-U request primitives, if the corresponding APDU could not be transferred by the ROSE-provider. This parameter and the parameter Reject-reason are mutually exclusive.
+
+#### 10.5.1.3 Reject-reason
+
+This parameter specifies the reason for rejection as follows:
+
+- d) *General-problem*: provider-reject of an APDU with values:
+- unrecognized-APDU:
+signifies that the type of the APDU, as evidenced by its Type Identifier, is not one of the four defined by Recommendation X.229
+ - mistyped-APDU:
+signifies that the structure of the APDU does not conform to Recommendation X.229.
+ - badly-structured-APDU:
+signifies that the structure of the APDU does not conform to the standard notation and encoding, defined in Recommendation X.208 and X.209.
+
+This parameter is supplied by the ROSE-provider. This parameter and the parameter Returned-parameters are mutually exclusive.
+
+# 11 Mapping of Notation on Service
+
+## 11.1 Application Context and Operations
+
+This section describes how an application-context is specified by means of the notation provided by the macros defined in § 9.
+
+Such an application-context specification consists of:
+
+- a) a bind-operation specified by means of the BIND macro, and
+- b) an unbind-operation specified by means of the UNBIND macro, and
+
+- c) a set of operations specified by means of the OPERATION macro, and
+- d) a set of errors related to operations and specified by means of the ERROR macro.
+
+The Remote Operations (i.e. bind-operation, unbind-operation and operations) may be invoked by the user-element.
+
+An association-initiating user-element established an application-association by invoking a bind-operation. If the application-association is established, operations may be invoked by the user-element. When the association initiating user-element wishes to release the application-association, it invokes an unbind-operation.
+
+## 11.2 *Mapping of Remote Operations on ACSE Services, RTSE Services, and ROSE Services*
+
+The bind-operation and the unbind-operation are mapped either on ACSE services, or the RTSE services.
+
+The operations are mapped on the ROSE services.
+
+### 11.2.1 *Mapping on ACSE services*
+
+The bind-operation is mapped on the A-ASSOCIATE services and the unbind-operation mapped on the A-RELEASE service.
+
+#### 11.2.1.1 *Mapping of a Bind-operation*
+
+A bind-operation is mapped on the A-ASSOCIATE service.
+
+##### 11.2.1.1.1 *Invocation of a Bind-operation*
+
+The invocation of a bind-operation is mapped on the A-ASSOCIATE request and A-ASSOCIATE indication service primitives.
+
+The argument value of the bind-operation is mapped on the User Information parameter of the service primitives.
+
+##### 11.2.1.1.2 *Reply of a Bind-operation*
+
+The reply of a bind-operation is mapped on the A-ASSOCIATE response and A-ASSOCIATE confirm service primitives.
+
+If the bind-operation was successfully performed, the Result parameter of the service primitives is "accepted", and the result value of the bind-operation is mapped on the User Information parameter of the service primitives.
+
+If the bind-operation was not successfully performed, the Result parameter value of the service primitives is "rejected (permanent)", and the error value of the bind-operation is mapped on the User Information parameter of the service primitives.
+
+#### 11.2.1.2 *Mapping of a Unbind-operation*
+
+An unbind-operation is mapped on the A-RELEASE service.
+
+##### 11.2.1.2.1 *Invocation of an Unbind-operation*
+
+The invocation of an unbind-operation is mapped on the A-RELEASE request and the A-RELEASE indication service primitives.
+
+The argument value of the unbind-operation is mapped on the User Information parameter of the service primitives. The Reason parameter value of the service primitives is "normal".
+
+##### 11.2.1.2.2 *Reply of an Unbind-operation*
+
+The reply of an unbind-operation is mapped on the A-RELEASE response and A-RELEASE confirm service primitives.
+
+If the unbind-operation was successfully performed, the Reason parameter value of the service primitives is "normal", the result value of the unbind-operation is mapped on the User Information parameter of the service primitives,
+
+and the Result parameter of the service primitives is "affirmative".
+
+If the unbind-operation was not successfully performed, the Reason parameter value of the service primitives is "not finished", the error value of the unbind-operation is mapped on the User Information parameter of the service primitives, and the Result parameter of the service primitives is "affirmative".
+
+### 11.2.2 *Mapping on RTSE services*
+
+The bind-operation is mapped on the RT-OPEN service and the unbind-operation mapped on the RT-CLOSE service.
+
+#### 11.2.2.1 *Mapping of a Bind-operation*
+
+A bind-operation is mapped on the RT-OPEN service.
+
+##### 11.2.2.1.1 *Invocation of a Bind-operation*
+
+The invocation of a bind-operation is mapped on the RT-OPEN request and RT-OPEN indication service primitives.
+
+The argument value of the bind-operation is mapped on the User-data parameter of the service primitives. The Dialogue-mode parameter value is "two-way-alternate".
+
+##### 11.2.2.1.2 *Reply of a Bind-operation*
+
+The reply of a bind-operation is mapped on the RT-OPEN response and RT-OPEN confirm service primitives.
+
+If the bind-operation was successfully performed, the Result parameter of the service primitives is "accepted", and the result value of the bind-operation is mapped on the User-data parameter of the service primitives.
+
+If the bind-operation was not successfully performed, the Result parameter value of the service primitives is "rejected (permanent)", and the error value of the bind-operation is mapped on the User data parameter of the service primitives.
+
+#### 11.2.2.2 *Mapping of an Unbind-operation*
+
+An unbind-operation is mapped on the RT-CLOSE service.
+
+##### 11.2.2.2.1 *Invocation of an Unbind-operation*
+
+The invocation of an unbind-operation is mapped on the RT-CLOSE request and the RT-CLOSE indication service primitives.
+
+The argument value of the unbind-operation is mapped on the User-data parameter of the service primitives. The Reason parameter value of the service primitives is "normal".
+
+##### 11.2.2.2.2 *Reply of an Unbind-operation*
+
+The reply of an unbind-operation is mapped on the RT-CLOSE response and RT-CLOSE confirm service primitives.
+
+If the unbind-operation was successfully performed, the Reason parameter value of the service primitives is "normal", and the result value of the unbind-operation is mapped on the User-data parameter of the service primitives.
+
+If the unbind-operation was not successfully performed, the Reason parameter value of the service primitives is "not finished", and the error value of the unbind-operation is mapped on the User-data parameter of the service primitives.
+
+### 11.2.3 *Mapping on ROSE services*
+
+An operation is mapped on the ROSE services.
+
+#### 11.2.3.1 *Invocation of an Operation*
+
+The invocation of an operation is mapped on the RO-INVOKE service.
+
+The value assigned to the operation is mapped on the Operation-value parameter of that service. The value of the Named-Type in the ARGUMENT clause of the OPERATION macro is mapped on the Argument parameter of that service.
+
+#### 11.2.3.2 *Reply of an operation*
+
+If an operation was successfully performed, the reply is mapped on the RO-RESULT service.
+
+The value of the Named-Type in the RESULT clause of the OPERATION macro is mapped on the Result parameter of that service.
+
+If an operation was not successfully performed, the reply is mapped on the RO-ERROR service.
+
+In this case one of the errors in the Identifier List of Error Names in the ERROR clause of the OPERATION macro may be applied. The value assigned to the applied error is mapped on the Error parameter of that service. The value of the Named-Type in the PARAMETER clause of the ERROR macro of the applied error is mapped on the Error-parameter parameter of that service.
+
+# 12 Sequencing Information
+
+This section defines the interaction among the Remote Operations, and the interaction among the ACSE service and the ROSE services.
+
+## 12.1 *Sequencing Information for Remote Operations*
+
+### 12.1.1 *Bind-operation*
+
+#### 12.1.1.1 *Usage Restrictions*
+
+A bind-operation is not used on an established application-association. A successfully performed bind-operation establishes an application-association.
+
+#### 12.1.1.2 *Disrupted Remote Operation*
+
+The bind-operation does not disrupt any Remote Operation.
+
+#### 12.1.1.3 *Disrupting Remote Operations*
+
+There are no disrupting Remote Operations.
+
+#### 12.1.1.4 *Collisions*
+
+A bind-operation collision results when the user-elements in both AEs simultaneously invoke a bind-operation on each other. In this case two independent application-associations are established.
+
+### 12.1.2 *Unbind-operation*
+
+#### 12.1.2.1 *Usage Restrictions*
+
+An unbind-operation is only used on an established application-association. It is only used by the user-element which invoked the bind-operation. It is only used when no replies from Operation Class 1 or 2 operations are outstanding.
+
+The application-association ceases to be established no matter whether the unbind-operation is performed successfully or not.
+
+#### 12.1.2.2 *Disrupted Remote Operations*
+
+An unbind-operation does not disrupt Remote Operations in the case of Association Class 1 and Operation Class 1 or 2 operations.
+
+In all other cases an unbind-operation may disrupt operations. However, if in a specific application-context Operation Classes 3, 4 or 5 and/or Association Class 2 or 3 are used, it is assumed that either the disruption is acceptable or the application-context provides operations to avoid the disruption.
+
+#### 12.1.2.3 *Disrupting Remote Operations*
+
+There are no disrupting Remote Operations.
+
+#### 12.1.2.4 *Collisions*
+
+Because only the association-initiator may release the application-association, there is no collision.
+
+### 12.1.3 *Operations*
+
+#### 12.1.3.1 *Usage Restrictions*
+
+Operations are only used on an established application-association.
+
+#### 12.1.3.2 *Disrupted Remote Operations*
+
+Operations do not disrupt any Remote Operations.
+
+#### 12.1.3.3 *Disrupting Remote Operations*
+
+Operations may be disrupted by an unbind-operation (see § 12.1.2.2).
+
+#### 12.1.3.4 *Collisions*
+
+There are no collisions of operations.
+
+### 12.1.4 *Further Sequencing Information*
+
+Disrupting services are not visible at the operation-interface. However operations may be disrupted by services (see § 12.2).
+
+Bind-operations and unbind-operations are disrupted by the A-ABORT, A-P-ABORT, RT-U-ABORT and RT-P-ABORT services.
+
+Operations are disrupted by the A-ABORT, A-P-ABORT, RT-U-ABORT, RT-P-ABORT, RO-REJECT-U and RO-REJECT-P services.
+
+In addition an operation may be disrupted by the A-RELEASE service. But this reflects only the disruption of an operation by an unbind-operation. The disrupted operations are not considered in the disrupted services of § 12.2.
+
+Because all Remote Operations are mapped on services, and disrupting Remote Operations (unbind-operation) are represented by services, no disrupting Remote Operations are considered in the disrupting services clauses of § 12.2.
+
+## 12.2 *Sequencing Informations for Services*
+
+### 12.2.1 *ACSE Services*
+
+The sequencing information for ACSE services are described in Recommendation X.217. Additional information is provided in this clause.
+
+#### 12.2.1.1 *Disrupted ROSE Services*
+
+In addition to the disrupted services defined in Recommendation X.217 all ROSE services except the RO-REJECT-P service are disrupted by the A-ABORT and A-P-ABORT services and may be disrupted by the A-RELEASE service (see § 12.2.3.6).
+
+#### 12.2.1.2 *Disrupting ROSE Services*
+
+There are no disrupting ROSE services.
+
+### 12.2.2 *RTSE Services*
+
+The sequencing information for RTSE services are described in Recommendation X.218. Additional information is provided in this section.
+
+#### 12.2.2.1 *Disrupted ROSE Services*
+
+In addition to the disrupted services defined in Recommendation X.218 all ROSE services except the RO-REJECT-P service are disrupted by the RT-U-ABORT, RT-P-ABORT and the negative RT-TRANSFER confirm services.
+
+#### 12.2.2.2 *Disrupting ROSE Services*
+
+There are no disrupting ROSE services.
+
+### 12.2.3 *ROSE Services*
+
+This section describes the interaction among the ROSE services. Interactions with ACSE services are described in § 12.2.1, and interactions with RTSE services are described in § 12.2.2.
+
+#### 12.2.3.1 *RO-INVOKE Service*
+
+##### 12.2.3.1.1 *Type of Service*
+
+The RO-INVOKE service is a non-confirmed service.
+
+##### 12.2.3.1.2 *Usage Restriction*
+
+The RO-INVOKE service is only used on an established application-association.
+
+##### 12.2.3.1.3 *Disrupted Services*
+
+The RO-INVOKE service does not disrupt any services.
+
+##### 12.2.3.1.4 *Disrupting Services*
+
+The RO-INVOKE service is disrupted by the RO-REJECT-P service.
+
+##### 12.2.3.1.5 *Collision*
+
+There are no collisions of the RO-INVOKE service.
+
+#### 12.2.3.2 *RO-RESULT*
+
+##### 12.2.3.2.1 *Type of Service*
+
+The RO-RESULT service is a non-confirmed service.
+
+##### 12.2.3.2.2 *Usage Restriction*
+
+The RO-RESULT service is only used on an established application-association and in reply to an RO-INVOKE service.
+
+##### 12.2.3.2.3 *Disrupted Services*
+
+The RO-RESULT services does not disrupt any services.
+
+##### 12.2.3.2.4 *Disrupting Services*
+
+The RO-RESULT service is disrupted by the RO-REJECT-P service.
+
+##### 12.2.3.2.5 *Collisions*
+
+There are no collisions of the RO-RESULT service.
+
+#### 12.2.3.3 *RO-ERROR*
+
+##### 12.2.3.3.1 *Type of Service*
+
+The RO-ERROR service is a non-confirmed service.
+
+##### 12.2.3.3.2 *Usage Restriction*
+
+The RO-ERROR service is only used on an established application-association and in reply to an RO-INVOKE service.
+
+##### 12.2.3.3.3 *Disrupted services*
+
+The RO-ERROR service does not disrupt any service.
+
+##### 12.2.3.3.4 *Disrupting Services*
+
+The RO-ERROR service is disrupted by the RO-REJECT-P service.
+
+##### 12.2.3.3.5 *Collisions*
+
+There are no collisions of the RO-ERROR service.
+
+#### 12.2.3.4 *RO-REJECT-U*
+
+##### 12.2.3.4.1 *Type of Service*
+
+The RO-REJECT-U service is a non-confirmed service.
+
+##### 12.2.3.4.2 *Usage Restriction*
+
+The RO-REJECT-U service is only used on an established application-association and in reply to RO-INVOKE, RO-RESULT and RO-ERROR services.
+
+##### 12.2.3.4.3 *Disrupted Services*
+
+The RO-REJECT-U service does not disrupt any service.
+
+##### 12.2.3.4.4 *Disrupting Services*
+
+The RO-REJECT-U service is disrupted by the RO-REJECT-P service.
+
+##### 12.2.3.4.5 *Collisions*
+
+There are no collisions of the RO-REJECT-U service.
+
+#### 12.2.3.5 *RO-REJECT-P*
+
+##### 12.2.3.5.1 *Type of Service*
+
+The RO-REJECT-P service is a provider initiated service.
+
+##### 12.2.3.5.2 *Usage Restriction*
+
+Not applicable.
+
+##### 12.2.3.5.3 *Disrupted Services*
+
+The RO-REJECT-P service disrupts all other ROSE services.
+
+##### 12.2.3.5.4 *Disrupting Services*
+
+The RO-REJECT-P service is not disrupted by any other service.
+
+###### 12.2.3.5.5 *Collision*
+
+If the ACSE service or an RTSE service cause an abort or the release of an application-association, it is a local matter to inform the service-user about outstanding RO-REJECT-P services for Returned-parameters.
+
+#### 12.2.3.6 *Additional Sequencing Information*
+
+The usage restrictions for unbind-operations (§ 12.1.2.1) and the mapping of unbind-operations onto the A-RELEASE service prevents the disruption of ROSE services, if only Association Class 1 and Operation Classes 1 and 2 are used.
+
+If Association Classes 2 or 3, or Operation Class 3, 4 or 5 are used, the A-RELEASE service may disrupt ROSE services. In this case it is the responsibility of the application-context designer, either to accept this disruption or to provide means (e.g. operations) to prepare for the release of an application-association.
+
+# ANNEX A
+
+(to Recommendation X.219)
+
+## **Notation Supporting the Specification of Application-service-elements and Application Contexts**
+
+This Annex is an integral part of this Recommendation.
+
+This Annex provides a notation supporting the specification of application-service-elements and application contexts which are specified by means of the RO-notation. The RO-notation may be used to specify the bind-operation and the unbind-operation of an application context. Additionally the RQ-notation may be used to specify operation types and error types of several application-service-elements (ROSE-user ASEs). If the RQ-notation is combined with other notations, other specification tools defined elsewhere might be used.
+
+This Annex defines two macros supporting the specification of application-service-elements and application contexts. The formal definition of these macros is shown in Figure A-1/X.219.
+
+## A.1 *Application-service-elements*
+
+The notation supports the unique identification of an ASE.
+
+If an ASE is an ROSE-user, the notation additionally supports the specification of the characteristics of the ASE. The operation-interface and the protocol of an ROSE-user ASE are specified by a set of operation types and a set
+
+of error types.
+
+The protocol specified for a specific ASE may be inherently:
+
+- a) symmetric, or
+- b) asymmetric.
+
+In the symmetric case both ASE-users may invoke the same set of operation types.
+
+In the asymmetric case one ASE-user (called supplier in the context of this Annex) provides some information-processing functionality which is used by the peer ASE-user (called consumer in the context of this Annex). In this case a specific operation type may be:
+
+- 1) invoked by the consumer, and/or
+- 2) invoked by the supplier
+
+of the information-processing functionality.
+
+*Note* - A particular allocation of the terms "supplier" and "consumer" is often intuitive. One might naturally consider a file system, e.g., to be called a supplier and its user to be called a consumer. Strictly speaking, however, the assignment of the two terms is arbitrary.
+
+If an ASE uses the concept of linked-operations, a specific operation type may be invoked as a child-operation. The invoker of the child-operation is the performer of the linked parent-operation. Operation types solely invoked as child-operations shall not be included in the ASE specification, they are listed in the type specification of their parent-operations.
+
+The error types the operations may report are not included in the ASE specification, they are listed in the type specification of the operations.
+
+The set of the remaining operations (operations not solely invoked as child-operations), and who is allowed to invoke this operations may be reflected by a formal notation specifying the ROSE-user ASE.
+
+### A.1.1 *Specification of an Application-service-element*
+
+An ASE may be specified by a formal notation supported by the **APPLICATION-SERVICE-ELEMENT** macro (see Figure A-1/X.219).
+
+```
+
+Remote-Operations-Notation-extension {joint-iso-ccitt remote-operations(4) notation-extension(2)}
+
+DEFINITIONS::=
+
+BEGIN
+
+EXPORTS APPLICATION-SERVICE-ELEMENT, APPLICATION-CONTEXT, aCSE;
+
+IMPORTS OPERATION, BIND, UNBIND FROM Remote-Operation-Notation
+ {joint-iso-ccitt remote-operations(4) notation(0)};
+
+-- macro definition for ASEs
+
+APPLICATION-SERVICE-ELEMENT-MACRO::=
+
+BEGIN
+
+TYPE NOTATION ::= SymmetricAse | ConsumerInvokes SupplierInvokes | empty
+
+VALUE NOTATION ::= value (VALUE OBJECT IDENTIFIER)
+
+SymmetricAse ::= "OPERATIONS" "{"OperationList"}"
+
+ConsumerInvokes ::= "CONSUMER INVOKES" "{"OperationList"}" | empty
+
+SupplierInvokes ::= "SUPPLIER INVOKES" "{"OperationList"}" | empty
+
+OperationList ::= Operation | OperationList "," Operation
+
+Operation ::= value (OPERATION)
+
+END
+
+aCSE APPLICATION-SERVICE-ELEMENT:: = {joint-iso-ccitt remote-operations(4) aseID-ACSE(4)}
+
+-- Remote Operations Notation extension continued
+
+```
+
+FIGURE A-1/X.219 (Part 1 of 2)
+**Formal Definition of ASE and Application-context Data Types**
+
+The type notation of the **APPLICATION-SERVICE-ELEMENT** macro enables the specification of an ASE. The value notation of the **APPLICATION-SERVICE-ELEMENT** macro enables the specification of a unique identifier for the ASE.
+
+The notation for an ASE type is the keyword **APPLICATION-SERVICE-ELEMENT** optionally followed by the specification of operations.
+
+If the protocol specified for the ASE is symmetric, the keyword **OPERATIONS** and the reference names of the operations are specified.
+
+If the protocol specified for the ASE is asymmetric, the keywords **CONSUMER INVOKES** and the reference names of the operations the consumer may invoke, and/or the keywords **SUPPLIER INVOKES** and the reference names of the operations the supplier may invoke, are specified.
+
+## A.2 *Application Contexts*
+
+In the context of this Annex an application context explicitly identifies:
+
+- a) a bind-operation,
+- b) an unbind-operation, and
+- c) a set of application-service-elements.
+
+and requires one or more identified abstract-syntaxes.
+
+The set of application-service-elements contains:
+
+- 1) ASEs not using the RO-notation, i.e. the ACSE, optionally the RTSE, and optionally others; and
+- 2) optionally the ROSE and ROSE-user ASEs.
+
+If the application context contains ROSE-user ASEs with an asymmetrical protocol, the notation supports the specification whether the association-initiator or the association-responder is the consumer of such an ASE.
+
+The identification of the bind-operation, the unbind-operation, the application-service-elements, and the abstract-syntaxes may be reflected by a formal notation specifying the application context.
+
+### A.2.1 *Specification of an Application Context*
+
+An application context may be specified by a formal notation supported by the **APPLICATION-CONTEXT** macro (see Figure A-1/X.219).
+
+The type notation of the **APPLICATION-CONTEXT** macro enables the specification of the application context. The value notation of the **APPLICATION-CONTEXT** macro enables the specification of a unique identifier for the application context.
+
+The notation for an application context type is the keyword **APPLICATION-CONTEXT**, followed by the keywords **APPLICATION SERVICE ELEMENTS** and the reference names of ASEs not using the RO-notation, followed by the keyword **BIND** and the reference name of the bind-operation type, followed by the keyword **UNBIND** and the reference name of the unbind-operation type, optionally followed by the specification of ASEs using operations, followed by the keywords **ABSTRACT SYNTAXES** and the reference names of the abstract syntaxes.
+
+If the application context contains ROSE-user ASEs, the keywords **REMOTE OPERATIONS** and the reference name of the ROSE, followed by the specification of ASEs with a symmetrical protocol, and/or the specification of ASEs with an asymmetrical protocol is used. The specification of ASEs with a symmetrical protocol is the keywords **OPERATIONS OF** and the reference names of that ASEs. The specification of ASEs with an asymmetrical protocol is the keywords **INITIATOR CONSUMER OF** and the reference names of ASEs the consumer of which is the association-initiator, and/or the keywords **RESPONDER CONSUMER OF** and the reference names of ASEs the consumer of which is the association-responder.
+
+### A.2.2 *Mapping of Notation onto Service*
+
+The application context identifier and the list of abstract syntax names specified by means of the **APPLICATION-CONTEXT** macro are mapped either on the RT-OPEN services of RTSE, if RTSE is included in the application context; or else on the A-ASSOCIATE services of ACSE.
+
+The application context value is mapped onto the Application Context Name parameter of the RT-OPEN or A-ASSOCIATE services.
+
+The abstract syntax names are mapped onto the Presentation Context Definition List parameter and the Presentation Context Definition Result List of the RT-OPEN or A-ASSOCIATE services.
+
+```
+
+-- Remote Operations Notation extension continued
+
+-- macro definition for application contexts
+
+APPLICATION-CONTEXT MACRO::=
+
+BEGIN
+
+TYPE NOTATION ::= NonROelements Binding ROelements AbstractSyntaxes
+
+VALUE NOTATION ::= value (VALUE OBJECT IDENTIFIER)
+
+NonROelements ::= APPLICATION SERVICE ELEMENTS " {"AseList" } "
+
+Binding ::= "BIND" type - - shall reference a bind-operation type
+ ::= "UNBIND" type- - shall reference an unbind-operation type
+
+ROelements ::= "REMOTE OPERATIONS" " {"AseID" } " - - identifying ROSE
+ SymmetricAses AsymmetricAses | empty
+
+SymmetricAses ::= "OPERATIONS OF" " {"AseList" } " | empty
+
+AsymmetricAses ::= InitiatorConsumerOf ResponderConsumerOf
+
+InitiatorConsumerOf ::= INITIATOR CONSUMER OF " {"AseList" } " | empty
+
+ResponderConsumerOf ::= "RESPONDER CONSUMER OF" " {"AseList" } " | empty
+
+AbstractSyntaxes ::= ABSTRACT SYNTAXES " {"AbstractSyntaxList" } "
+
+AseList ::= AseID | AseList "," AseID
+
+AseID ::= value (APPLICATION-SERVICE-ELEMENT)
+
+AbstractSyntaxList ::= AbstractSyntax | AbstractSyntaxList "," AbstractSyntax
+
+AbstractSyntax ::= value (OBJECT IDENTIFIER) - - identifying abstract syntax
+
+END
+
+END - - end of Remote Operations Notation extension
+
+```
+
+FIGURE A-1/X.219 (Part 2 of 2)
+
+#### Formal Definition of ASE and Application-context Data Types
+
+# ANNEX B
+
+(to Recommendation X.219)
+
+## Guidelines for Application Protocol Designers on the Use of ROSE
+
+This Annex is not part of this Recommendation.
+
+This Annex provides examples and guidelines for application protocol designers on the user of ROSE.
+
+## B.1 *Examples for Operations and Errors*
+
+This section provides examples for the definition of operations and errors.
+
+### B.1.1 *Operation Classes*
+
+This clause provides examples for the definition of operations of Operation Class 1 to 5.
+
+The operation **operationExample12** of Operation Class 1 or 2 (see example below) reports success (result of type **ArgumentType12**) or failure (errors **errorExample1** or **errorExample2**). The argument of the operation **operationExample12** is of type **ArgumentType12**. The value of the operation **operationExample12** is 1.
+
+```
+operationExample12 OPERATION
+ ARGUMENT ArgumentType12
+ RESULT ResultType12
+ ERROR {errorExample1, errorExample2}
+ ::= 1
+```
+
+The operation **operationExample3** of Operation Class 3 (see example below) reports failure (error **errorExample1**) only, if any. The argument of the operation **operationExample3** is of type **ArgumentType3**. The value of the operation **operationExample3** is 2.
+
+```
+operationExample3 OPERATION
+ ARGUMENT ArgumentType3
+ ERROR {errorExample1}
+ ::= 2
+```
+
+The **operationExample4** operation of Operation Class 4 (see example below) reports success (result of type **ResultType4**) only. The argument of the operation **operationExample4** is of type **ArgumentType4**. The value of the operation **operationExample4** is 3.
+
+```
+operationExample4 OPERATION
+ ARGUMENT ArgumentType4
+ RESULT ResultType4
+ ::= 3
+```
+
+The operations **operationExample51** and **operationExample52** of Operation Class 5 (see example below) reports no outcome. The argument of the operation **operationExample51** is of type **ArgumentType4**, the operation **operationExample52** has no argument. The value of the operation **operationExample51** is 4, the value of the operation **operationExample52** is 5.
+
+```
+operationExample51 OPERATION
+ ARGUMENT ArgumentType4
+ ::= 4
+```
+
+```
+operationExample52 OPERATION
+ ::= 5
+```
+
+### B.1.2 *Linked-operations*
+
+The example below shows the definition of a set of linked-operations consisting of the parent-operation **parent-op12** and the child-operations **operationExample51** and **operationExample52**.
+
+```
+parent-op12 OPERATION
+ ARGUMENT ArgumentType12
+ RESULT ResultType12
+ ERROR {errorExample1, errorExample2}
+ LINKED {operationExample52}
+ ::= 6
+```
+
+### B. 1.3 *Errors*
+
+Errors (see **errorExample1** and **errorExample2** below) reports failure. The parameter of the error **errorExample1** is of type **ParameterType1**, the error **errorExample2** has no parameter. The value of the error **errorExample1** is **1**, the value of the error **errorExample2** is **2**.
+
+| | |
+|----------------------|------------------------------------------------------------------------|
+| errorExample1 | ERROR PARAMETER ParameterType1 ::= 1 |
+| errorExample2 | ERROR ::= 2 |
+
+## B.2 *Examples for Bind-operation and Unbind-operations*
+
+This clause provides examples for the definition of bind-operations and unbind-operations.
+
+### B.2.1 *Bind-operations*
+
+Bind-operation are used to establish an application-association.
+
+The request of the bind-operation **BindExample1** to establish an application-association is accompanied by the argument of type **BindArgumentType1**. The positive response to the application-association establishment is accompanied by the result of type **BindResultType1**. The negative response to the application-association establishment is accompanied by the bind-error of type **BindErrorType1**.
+
+| | | |
+|-------------------------|-------------------|--------------------------|
+| BindExample1 ::= | BIND | |
+| | ARGUMENT | BindArgumentType1 |
+| | RESULT | BindResultType1 |
+| | BIND-ERROR | BindErrorType1 |
+
+The request of the bind-operation **BindExample2** to establish an application-association is accompanied by the argument of type **BindArgumentType1**. The positive response to the application-association establishment is not accompanied by any user data. The negative response to the application-association establishment is accompanied by the bind-error of type **BindErrorType1**.
+
+| | | |
+|-------------------------|-------------------|--------------------------|
+| BindExample2 ::= | BIND | |
+| | ARGUMENT | BindArgumentType1 |
+| | BIND-ERROR | BindErrorType1 |
+
+Note that argument, result and bind-error of a bind-operation are optional. Neither the request of the bind-operation **BindExample3** to establish an application-association nor the response to the application-association establishment are accompanied by any user data.
+
+| | | |
+|-------------------------|-------------|--|
+| BindExample3 ::= | BIND | |
+|-------------------------|-------------|--|
+
+### B.2.2 *Unbind-operations*
+
+Unbind-operations are used to release an application-association.
+
+The request of the unbind-operation **UnbindExample1** to release an application-association is accompanied by the argument of type **UnbindArgumentType1**. The response to the application-association release is accompanied either by the result of type **UnbindResultType1** or by the unbind-error of type **UnbindErrorType1**.
+
+| | | |
+|---------------------------|---------------------|----------------------------|
+| UnbindExample1 ::= | UNBIND | |
+| | ARGUMENT | UnbindArgumentType1 |
+| | RESULT | UnbindResultType1 |
+| | UNBIND-ERROR | UnbindErrorType1 |
+
+The request of the unbind-operation **UnbindExample2** to release an application-association is accompanied by the argument of type **UnbindArgumentType 1**. The response to the application-association release is optionally accompanied by the unbind-error of type **UnbindErrorType1**.
+
+```
+
+UnbindExample2 ::=
+ UNBIND
+ ARGUMENT UnbindArgumentType1
+ UNBIND-ERROR UnbindErrorType1
+
+```
+
+Note that argument, result and unbind-error of an unbind-operation are optional. Neither the request of the bind-operation **UnbindExample3** to release an application-association nor the response to the application-association release are accompanied by any user data.
+
+```
+
+UnbindExample3 ::= UNBIND
+
+```
+
+## B.3 *Export and Import of Operations and Errors*
+
+This clause gives examples how to export and import operations and errors.
+
+The example below shows how to export operation and errors. The **operation10** and **error10** have local values. **OperationTypeA** and **ErrorTypeA** are types, and specific values have to be assigned in the importing modules. The **operation11** and **error11** have globally unique values.
+
+```
+
+ExportingModule {objectidentifier1} DEFINITIONS ::=
+BEGIN
+
+ EXPORTS operation10, OperationTypeA, operation11, error10, ErrorTypeA, error11;
+ IMPORTS OPERATION, ERROR, BIND, UNBIND
+ FROM Remote-Operation-Notation
+ {joint-iso-ccitt remote-operation(4) notation(0)};
+
+ operation10 OPERATION
+ ARGUMENT ArgumentType10
+ RESULT ResultType10
+ ERROR {error10}
+ :: = 10
+
+ OperationTypeA ::=
+ OPERATION
+ ARGUMENT ArgumentTypeA
+ RESULT ResultTypeA
+
+ operation 11 OPERATION
+ ARGUMENT ArgumentType11
+ RESULT ResultType11
+ ERROR {error11}
+ ::= {objectidentifier2component11}
+
+ error10 ERROR
+ PARAMETER ParameterType10
+ ::= 10
+
+ errorTypeA ::=
+ ERROR
+ PARAMETER ParameterTypeA
+
+ error11 ERROR
+ PARAMETER ParameterType11
+ ::={objectidentifier2component12}
+
+END
+
+```
+
+The example below shows how to import operations and errors. The **operation10** and **error10** have local values defined in the exporting module. The designer of the importing module is responsible for the uniqueness of these values within the abstract syntax. The operation **operation13** is of type **operationTypeA** and has the value **13** assigned. The error **error13** is of type **ErrorTypeA** and has the value **13** assigned. The **operation11** and **error11** have globally unique values defined in the exporting module.
+
+```
+
+ImportingModule {objectidentifier3} DEFINITIONS ::=
+BEGIN
+
+ IMPORTS operation10, OperationTypeA, operation11, error10, errorTypeA, error11
+ FROM ExportingModule {objectidentifier1};
+
+ operation13 OperationTypeA ::= 13
+ error13 ErrorTypeA ::= 13
+
+END
+
+```
+
+## B.4 *Definition of Application-service-elements*
+
+This clause gives examples how to define application-service-elements. The examples refer to the operations and errors defined in the examples of clause B.1.
+
+The application-service-element **element1** includes the operations **operationExample12** and **operationExample3** and the errors **errorExample1** and **errorExample2**. Note, the errors are included indirectly by the definition of the operations. The application-service-element **element1** is symmetric, i.e. both user-elements may invoke the operations **operationExample12** and **operationExample3**.
+
+```
+
+element1 APPLICATION-SERVICE-ELEMENT
+ OPERATIONS {operationExample12, operationExample3}
+ ::= {objectidentifierOfElement1}
+
+```
+
+The application-service-element **element2** includes the operations **operationExample3** and **operationExample4** and the error **errorExample1**. The application-service-element **element2** is asymmetric, i.e. only one user-element (that in the consumer role) may invoke the operations **operationExample3** and **operationExample4**.
+
+```
+
+element2 APPLICATION-SERVICE-ELEMENT
+ CONSUMER INVOKES {operationExample3, operationExample4}
+ ::= {objectidentifierOfElement2}
+
+```
+
+The application-service-element **element3** includes the operations **operationExample12** and **operationExample51** and the errors **errorExample1** and **errorExample2**. The application-service-element **element3** is asymmetric, i.e. only one user-element (that in the supplier role) may invoke the operations **operationExample12** and **operationExample51**.
+
+```
+
+element3 APPLICATION-SERVICE-ELEMENT
+ SUPPLIER INVOKES {operationExample12, operationExample51}
+ ::= {objectidentifierOfElement3}
+
+```
+
+The application-service-element **element4** includes the operations **parent-op12**, **operationExample51** and **operationExample52** and the errors **errorExample1** and **errorExample2**. Note, the child-operations **operationExample51** and **operationExample52** are included indirectly by the definition of the parent-operation **parent-op12**. The application-service-element **element4** is asymmetric, i.e. only one user-element (that in the consumer role) may invoke the operation **parent-op12** and only the other user-element (that in the supplier role) may invoke the child-operations **operationExample51** and **operationExample52** during the execution of the parent-operation **parentop12**.
+
+```
+
+element4 APPLICATION-SERVICE-ELEMENT
+ CONSUMER INVOKES {parent-op12}
+ ::= {objectidentifierOfElement4}
+
+```
+
+The application-service-element **element5** includes the same operations and the errors as the application-service-element **element4**. The only difference is, that the user-element in the supplier role may invoke the operation **operationExample52** either as a child-operation, or outside a set of linked-operations (as a non-childoperation).
+
+**element5 APPLICATION-SERVICE-ELEMENT**
+**CONSUMER INVOKES {parent-op12}**
+**SUPPLIER INVOKES {operationExample52}**
+**::= {objectidentifierOfElement5}**
+
+B.5 *Definition of Application Contexts*
+
+This clause gives examples how to define application contexts for several Association Classes. The examples refer to the application-service-element defined in the examples of clause B.4, and the bind-operations and unbind-operations defined in the examples of clause B.2.
+
+The application context **context1** includes the application-service-elements ACSE, RTSE, ROSE, and **element2**; the bind-operation **BindExample1** and the unbind-operation **UnbindExample3**. The association-initiator may invoke the operations **operationExample3** and **operationExample4**. The association-responder is not allowed to invoke any operation (Association Class 1).
+
+**context1 APPLICATION-CONTEXT**
+**APPLICATION SERVICE ELEMENTS {aCSE, rTSE}**
+**BIND BindExample1**
+**UNBIND UnbindExample3**
+**REMOTE OPERATIONS {rOSE}**
+**INITIATOR CONSUMER OF {element2}**
+**ABSTRACT SYNTAXES { { joint-iso-ccitt association-control(2)**
+**abstract-Syntax(1)**
+**apdus(0) version1(1)},**
+**objectidentifierOfAbstracSyntax1}**
+
+**::= {objectidentifierOfContext1}**
+
+The application context **context2** includes the application-service-elements ACSE, ROSE, **element2**, and **element3**; the bind-operation **BindExample1**; and the unbind-operation **UnbindExample3**. The association-responder may invoke the operations **operationExample3**, **operationExample4**, **operationExample12** and **operationExample51**. The association-initiator is not allowed to invoke any operation (Association Class 2).
+
+**context2 APPLICATION-CONTEXT**
+**APPLICATION SERVICE ELEMENTS {aCSE}**
+**BIND BindExample1**
+**UNBIND UnbindExample3**
+**REMOTE OPERATIONS {rOSE}**
+**INITIATOR CONSUMER OF {element3}**
+**RESPONDER CONSUMER OF {element2}**
+**ABSTRACT SYNTAXES { { joint-iso-ccitt association-control(2)**
+**abstract-Syntax(1)**
+**apdus(0) version1(1)},**
+**objectidentifierOf AbstracSyntax2}**
+
+**::= objectidentifierOfContext2}**
+
+The application context **context3** includes the application-service-elements ACSE, RTSE, ROSE, and **element2**; the bind-operation **BindExample1**; and the unbind-operation **UnbindExample3**. The association-responder may invoke the operations **operationExample3** and **operationExample4**. The association-initiator is not allowed to invoke any operation (Association Class 2).
+
+**context3 APPLICATION-CONTEXT**
+**APPLICATION SERVICE ELEMENTS {aCSE, rTSE}**
+**BIND BindExample1**
+**UNBIND UnbindExample3**
+**REMOTE OPERATIONS {rOSE}**
+**RESPONDER CONSUMER OF {element2}**
+**ABSTRACT SYNTAXES {objectidentifierOfAbstracSyntax3}**
+**::= {objectidentifierOfContext3}**
+
+Fascicle VIII.4 - Rec. X.219 39
+
+The application context **context4** includes the application-service-elements ACSE, ROSE, and **element2**; the bind-operation **BindExample3**; and the unbind-operation **UnbindExample3**. The application context **context3** is symmetric, i.e. both the association-initiator and the association-responder may invoke the operations **operationExample12** and **operationExample3** (Association Class 3).
+
+| | |
+|------------------------------------------|-------------------------------------------|
+| context4 APPLICATION-CONTEXT | |
+| APPLICATION SERVICE ELEMENTS | {aCSE} |
+| BIND | BindExample3 |
+| UNBIND | UnbindExample3 |
+| REMOTE OPERATIONS | {rOSE} |
+| OPERATIONS OF | {element1} |
+| ABSTRACT SYNTAXES | {objectidentifierOfAbstracSyntax4} |
+| :: = {objectidentifierOfContext4} | |
+
+The last two examples assume a single named abstract syntax.
+
+## B.6 *Releasing Application-associations in an Orderly Way*
+
+### B.6.1 *Introduction*
+
+This Recommendation defines five Operation Classes based upon the outcomes they report, and three Association Classes based upon whether the association-initiator, the association-responder, or both may invoke operations. This clause defines the rules that ensure orderly release of application-associations and the Operation Classes invoked over it.
+
+### B.6.2 *Objectives*
+
+The rules of this paragraph are intended to achieve one of the following two objectives, depending upon the situation:
+
+- a) *The Exactly-Once Objective:* Ideally an application entity should be able to count on the invocation of an operation causing that operation to be performed exactly once, that is, not several times and not none at all.
+- b) *The At-Most-Once Objective:* In come circumstances the Exactly-Once Objective cannot be achieved. A lesser but still useful objective is that invoking an operation will cause that operation to be performed at most once, that is, perhaps not at all but never twice.
+
+### B.6.3 *Definition of Rules*
+
+The following **general rules** apply in all circumstances:
+
+- G1 The performer shall report the result or error of each confirmed operation over the same application-association by means of which the operation was invoked.
+- G2 The initiator shall not release the application-association until all operations it invoked have been confirmed.
+
+The following **specific rules** apply in certain circumstances:
+
+- S1 Each time it exercises the RO-INVOKE service, the invoker shall supply a different Invoke-ID (unless reattempting an invocation) even across a succession of application-associations. This enables the performer to achieve the At-Most-Once Objective by suppressing duplicates.
+- S2 If the performer encounters a duplicate Invoke-ID in the RO-INVOKE service, it shall exercise the RO-REJECT-U service with duplicate-invocation as the Reject-reason. This helps to achieve the Exactly-Once Objective.
+- S3 The association-initiator shall reject any invocations it has not performed before releasing the application-association.
+- S4 The association-initiator shall respond to any invocations it has performed before releasing the application-association.
+
+### B.6.4 *Application of Rules*
+
+The general rules always apply. The specific rules govern application-associations of particular Association Classes, and operations (invoked by means of such associations) of particular Operation-Classes, as follows:
+
+- a) *Application-associations of Association Class 1:* For operations of Operation Classes 1 and 2, no specific rules apply. For operations of Operation Class 3, 4 and 5, specific rules S1 and S2 apply.
+- b) *Application-associations of Association Class 2 and 3:* For operations of Operation Classes 1 and 2, specific rules S3 and S4 apply. (Any invocation issued by the association-responder after the association-initiator has issued a release are lost. Response-rejects may be lost as well.) For operations of Operation Class 3, 4, and 5, specific rules S1, S2, S3 and S4 apply.
+
+For protocols containing only operations of Operation Classes 1 or 2, the only constraint upon the values of the Invoke-IDs the invoker supplies to the RO-INVOKE service is that they be distinct over the life of the application-association.
+
+Application-entities make Invoke-IDs unique to an invoker and across consecutive application-associations by exchanging presentation-addresses at application-association establishment time and, for each presentation-address, making Invoke-IDs integers that increase monotonically over some reasonable long period of time.
+
+To ensure that an operation of Operation Classes 3, 4, or 5 has been performed exactly once, an application-entity shall elicit the duplicate-invocation Reject-reason by invoking the operation twice (or more) with the same Invoke-ID. Otherwise, the At-Most-Once Objective is all that is assured, suggesting that, on average, the invoker does not care whether a non-confirmed operation is performed.
+
+### B.6.5 *Observations*
+
+Every operation of Operation Classes 1 or 2 is performed exactly once.
+
+The usefulness of non-confirmed operations or conditionally confirmed operations may depend on the specific application. Protocol designers should be advised to define only operations of Operation Classes 1 or 2 unless some very specialized requirements exists.
\ No newline at end of file
diff --git a/marked/X/T-REC-X.234-199407-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.234-199407-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a34da7d9efbdd7d852293445e38deb4065074027
--- /dev/null
+++ b/marked/X/T-REC-X.234-199407-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:038f53f616d222c8448aa9214e186460849d0166bfb0d657d5f34a29f23c3ce1
+size 8280
diff --git a/marked/X/T-REC-X.234-199407-I_PDF-E/49ee89a1d5852ab005dbbab6de09a8a6_img.jpg b/marked/X/T-REC-X.234-199407-I_PDF-E/49ee89a1d5852ab005dbbab6de09a8a6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6fe9cb7c790669111f2166bb45b9d7a8bdc09f7b
--- /dev/null
+++ b/marked/X/T-REC-X.234-199407-I_PDF-E/49ee89a1d5852ab005dbbab6de09a8a6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ad6823fb95f2ba522dd2b52353a213c8da56e5a0ca4d8d25258b4e95b8812d88
+size 21717
diff --git a/marked/X/T-REC-X.234-199407-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg b/marked/X/T-REC-X.234-199407-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..df88bba3c6d6b0e1589a6d9d0316784ac7917f63
--- /dev/null
+++ b/marked/X/T-REC-X.234-199407-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a3466cb4c12eb2b05b3b0861c5ce5dba73a32def6274f23a246ec784e07ada60
+size 26812
diff --git a/marked/X/T-REC-X.24-198811-I_PDF-E/2763901b7a1fd1b5d704cdc450d12ed0_img.jpg b/marked/X/T-REC-X.24-198811-I_PDF-E/2763901b7a1fd1b5d704cdc450d12ed0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b2481c93b47ebe5d4bb96bd087ac438b871932b3
--- /dev/null
+++ b/marked/X/T-REC-X.24-198811-I_PDF-E/2763901b7a1fd1b5d704cdc450d12ed0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1c1bd67f90bed4201aef1b52ff4c1c7f198c81fe5726c301bd9180e02e8ecd73
+size 17057
diff --git a/marked/X/T-REC-X.24-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.24-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..66412856f54ae0b24854202e8f031f6a04b88ee0
--- /dev/null
+++ b/marked/X/T-REC-X.24-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a7cafe25d563af62a326eb0e9930129524893e0fb16cb431aacd25f8ed54ed31
+size 7392
diff --git a/marked/X/T-REC-X.24-198811-I_PDF-E/raw.md b/marked/X/T-REC-X.24-198811-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..b0fc15e80abb3093b679bf69139e4bb832cd163a
--- /dev/null
+++ b/marked/X/T-REC-X.24-198811-I_PDF-E/raw.md
@@ -0,0 +1,238 @@
+
+
+
+
+ITU logo: a globe with the letters ITU and a lightning bolt symbol.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**X.24**
+
+# **PUBLIC DATA NETWORKS INTERFACES** ---
+
+## **LIST OF DEFINITIONS FOR INTERCHANGE CIRCUITS BETWEEN DATA TERMINAL EQUIPMENT (DTE) AND DATA CIRCUIT - TERMINATING EQUIPMENT (DCE) ON PUBLIC DATA NETWORKS**
+
+### **ITU-T Recommendation X.24**
+
+(Extract from the *Blue Book*)
+
+---
+
+### NOTES
+
+1 ITU-T Recommendation X.24 was published in Fascicle VIII.2 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below).
+
+2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+### **Recommendation X.24**
+
+## **LIST OF DEFINITIONS FOR INTERCHANGE CIRCUITS BETWEEN DATA TERMINAL EQUIPMENT (DTE) AND DATA CIRCUIT-TERMINATING EQUIPMENT (DCE) ON PUBLIC DATA NETWORKS**
+
+*(Geneva, 1976; amended at Geneva, 1980, Malaga-Torremolinos, 1984,
+and Melbourne, 1988)*
+
+The CCITT,
+
+*considering that*
+
+(a) the interface between DTE and DCE on public data networks requires, in addition to the electrical and functional characteristics of the interchange circuits, the definition of procedural characteristics for call control functions and selection of the facilities according to Recommendation X.2;
+
+(b) the functions of the circuits defined in Recommendation V.24 are based on the requirements of data transmission over the general telephone network and are not appropriate for use at DTE/DCE interfaces in public data networks;
+
+*unanimously declares*
+
+a Recommendation to include the list of definitions of interchange circuits for use in public data networks is required.
+
+### **1 Scope**
+
+1.1 This Recommendation applies to the functions of the interchange circuits provided at the interface between DTE and DCE of data networks for the transfer of binary data, call control signals and timing signals.
+
+For any type of practical equipment, a selection will be made from the range of interchange circuits defined in this Recommendation, as appropriate. The actual interchange circuits to be used in a particular DCE for a user class of service according to Recommendation X.1 and defined user facilities according to Recommendation X.2, are those indicated in the relevant Recommendation for the procedural characteristics of the interface, e.g., Recommendation X.20 or X.21.
+
+To enable a standard DTE to be developed, the use and termination by the DTE of certain circuits even when implemented in the DCE are not mandatory. This is covered by the individual interface Recommendations.
+
+The interchange circuits defined for the transfer of binary data are also used for the exchange of call control signals.
+
+The electrical characteristics of the interchange circuits are detailed in the appropriate Recommendation for electrical characteristics of interchange circuits. The application of those characteristics for a particular DCE is specified in the Recommendation for the procedural characteristics of the interface.
+
+1.2 The range of interchange circuits defined in this Recommendation is applicable to the range of services which could be offered on a public data network, e.g., circuit switching services (synchronous and start/stop), telex service, packet switching services, message registration and retransmission service and facsimile service.
+
+### **2 Line of demarcation**
+
+The interface between DTE and DCE is located at a connector which is the interchange point between these two classes of equipment shown in Figure 1/X.24.
+
+
+
+```
+
+ +-------+ Interchange circuits +-------+ Line
+ | DTE |--------------------------| DCE |--------
+ +-------+ | +-------+
+ | Interchange point
+ -------+-------
+ Line of demarcation
+
+```
+
+Diagram illustrating the general layout of interface equipment. A DTE (Data Terminal Equipment) box is connected to a DCE (Data Communications Equipment) box via a horizontal line representing interchange circuits. A vertical dashed line, labeled 'Line of demarcation', passes through the 'Interchange point' on the connection. A 'Line' extends from the DCE to the right. The reference 'CCITT-38470' is noted at the bottom right.
+
+FIGURE 1/X.24
+
+**General illustration of interface equipment layout**
+
+2.1 The connector will not necessarily be physically attached to the DCE and may be mounted in a fixed position near the DTE. The female part of the connector belongs to the DCE.
+
+2.2 An interconnecting cable will normally be provided together with the DTE. The cable length is limited by electrical parameters specified in the appropriate Recommendations for the electrical characteristics of the interchange circuits.
+
+### 3 Definition of interchange circuits
+
+A list of the data network series interchange circuits is presented in tabular form in Table 1/X.24.
+
+TABLE 1/X.24
+
+**Data network interchange circuits**
+
+| Interchange circuit designation | Interchange circuit name | Data | | Control | | Timing | |
+|---------------------------------|--------------------------------|----------|--------|----------|--------|----------|--------|
+| | | From DCE | To DCE | From DCE | To DCE | From DCE | To DCE |
+| G | Signal ground or common return | | | | | | |
+| Ga | DTE common return | | | | X | | |
+| Gb | DCE common return | | | X | | | |
+| T | Transmit | | X | | X | | |
+| R | Receive | X | | X | | | |
+| C | Control | | | | X | | |
+| I | Indication | | | X | | | |
+| S | Signal element timing | | | | | X | |
+| B | Byte timing | | | | | X | |
+| F | Frame start identification | | | | | X | |
+| X | DTE signal element timing | | | | | | X |
+
+### 3.1 *Circuit G - Signal ground or common return*
+
+This conductor establishes the signal common reference potential for unbalanced double-current interchange circuits with electrical characteristics according to Recommendation V.28. In the case of interchange circuits according to Recommendations V.10 and V.11, it interconnects the zero volt reference points of a generator and a receiver to reduce environmental signal interference, if required.
+
+Within the DCE, this conductor shall be brought to one point, protective ground or earth, by means of a metallic strap within the equipment. This metallic strap can be connected or removed at installation, as may be required, to minimize the introduction of noise into electronic circuitry or to meet applicable regulations.
+
+*Note* - Where a shielded interconnecting cable is used at the interface, the shield may be connected either to circuit G, or to protective ground in accordance with national regulations. Protective ground may be further connected to external grounds as required by applicable electrical safety regulations.
+
+For unbalanced interchange circuits with electrical characteristics in accordance with Recommendation V.10, two common-return conductors are required, one for each direction of signalling, each conductor being connected to ground only on the generator side of the interface. Where used, these shall be designated circuits Ga and Gb, and they are defined as follows:
+
+#### *Circuit Ga - DTE common return*
+
+This conductor is connected to the DTE circuit common and is used as the reference potential for the unbalanced X.26 type interchange circuit receivers within the DCE.
+
+#### *Circuit Gb - DCE common return*
+
+This conductor is connected to the DCE circuit common and is used as the reference potential for the unbalanced X.26 type interchange circuit receivers within the DTE.
+
+### 3.2 *Circuit T - Transmit*
+
+*Direction:* To DCE
+
+The binary signals originated by the DTE to be transmitted during the data transfer phase via the data circuit to one or more remote DTEs are transferred on this circuit to the DCE.
+
+This circuit also transfers the call control signals originated by the DTE, to be transmitted to the DCE in the call establishment and other call control phases as specified by the relevant Recommendations for the procedural characteristic of the interface.
+
+The DCE monitors this circuit for detection of electrical circuit fault conditions, according to the specifications of the electrical characteristics of the interface. A circuit fault is to be interpreted by the DCE as defined in the Recommendation for the procedural characteristics of the interface.
+
+### 3.3 *Circuit R - Receive*
+
+*Direction:* From DCE
+
+The binary signals sent by the DCE as received during the data transfer phase from a remote DTE, are transferred on this circuit to the DTE.
+
+This circuit also transfers the call control signals sent by the DCE as received during the call establishment and other call control phases as specified by the relevant Recommendations for the procedural characteristics of the interface.
+
+The DTE monitors this circuit for detection of electrical circuit fault conditions, according to the specifications of the electrical characteristics of the interface. A circuit fault is to be interpreted by the DTE as defined in the Recommendation for the procedural characteristics of the interface.
+
+### 3.4 *Circuit C - Control*
+
+*Direction:* To DCE
+
+Signals on this circuit control the DCE for a particular signalling process.
+
+Representation of a control signal requires additional coding of circuit T-*Transmit* as specified in the relevant Recommendation for the procedural characteristics of the interface. During the data phase, this circuit shall remain ON. During the call control phases, the condition of this circuit shall be as specified in the relevant Recommendation for the procedural characteristics of the interface.
+
+*Note* - After appropriate selection of special user facilities (not yet defined), it might be required to change the ON condition after entering the data phase in accordance with the regulations for the use of these facilities. This subject is for further study.
+
+The DCE monitors this circuit for detection of electrical circuit fault conditions, according to the specifications of the electrical characteristics of the interface. A circuit fault is to be interpreted by the DCE as defined in the Recommendation for the procedural characteristics of the interface.
+
+### 3.5 *Circuit I - Indication*
+
+*Direction:* From DCE
+
+Signals on this circuit indicate to the DTE the state of the call control process.
+
+Representation of a control signal requires additional coding of circuit R-*Receive*, as specified in the relevant Recommendation for the procedural characteristics of the interface. The ON condition of this circuit signifies that signals on circuit R contain information from the distant DTE. The OFF condition signifies a control signalling condition which is defined by the bit sequence on circuit R as specified by the procedural characteristics of the interface.
+
+The DTE monitors this circuit for detection of electrical circuit fault conditions, according to the specifications of the electrical characteristics of the interface. A circuit fault is to be interpreted by the DTE as defined in the Recommendation for the procedural characteristics of the interface.
+
+*Note* - For use with special user facilities (not yet defined) it might be required to use the OFF condition after entering the data transfer phase in accordance with the regulations for the use of these facilities. This subject is for further study.
+
+### 3.6 *Circuit S - Signal element timing*
+
+*Direction:* From DCE
+
+Signals on this circuit provide the DTE with signal element timing information. The condition of this circuit shall be ON and OFF for nominally equal periods of time. However, for burst isochronous operations, longer periods of OFF condition may be permitted equal to an integer odd number of the nominal period of the ON condition as specified by the relevant procedural characteristics of the interface.
+
+The DTE shall present a binary signal on circuit T-*Transmit* and a condition on circuit C-*Control*, in which the transitions nominally occur at the time of the transitions from OFF to ON condition of this circuit.
+
+The DCE presents a binary signal on circuit R-*Receive* and a condition on circuit I-*Indication* in which the transitions nominally occur at the time of the transitions from OFF to ON condition of this circuit.
+
+The transition from ON to OFF condition shall nominally indicate the centre of each signal element on circuit R.
+
+The DCE shall transfer signal element timing information on this circuit across the interface at all times that the timing source is capable of generating this information.
+
+### 3.7 *Circuit B - Byte timing* (see Note 2)
+
+*Direction:* From DCE
+
+Signals on this circuit provide the DTE with 8-bit byte timing information. The condition of this circuit shall be OFF for nominally the period of the ON condition of circuit S-*Signal element timing* which indicates the last bit of an 8-bit byte and shall be ON at all other times within the period of the 8-bit byte.
+
+During the call control phases, the call control characters and steady state conditions used for all information transfers between the DCE and the DTE, in either direction, shall be correctly aligned to the signals of circuit B.
+
+The DTE shall present the beginning of the first bit of each call control character on circuit T-*Transmit* nominally at the time of the OFF to ON transition of circuit S which follows the OFF to ON transition of circuit B.
+
+A change of condition of circuit C-*Control* may occur at any OFF to ON transition of circuit S, but it will be sampled in the DCE at the time of the OFF to ON transition of circuit B, i.e., for evaluation of the following call control character on circuit T.
+
+The centre of the last bit of each call control character will be presented by the DCE on circuit R-*Receive* nominally at the time of the OFF to ON transition of circuit B.
+
+A change of condition of circuit I-*Indication* will occur nominally at the OFF to ON transition of circuit S which follows the OFF to ON transition of circuit B.
+
+The DCE shall transfer byte timing information on this circuit across the interface at all times that the timing source is capable of generating this information.
+
+*Note 1* - During the data transfer phase, DTEs communicating by means of an 8-bit code may utilize the byte timing information for mutual character alignment.
+
+It is a prerequisite for the provision of this feature that character alignment is preserved after the call has entered the data transfer phase and that the alignment obtained at one interface is synchronized to the alignment at the other interface. (This is only possible on some connections.)
+
+Furthermore, where this feature is available, a change of condition on circuit C as defined above may result in an equivalent change in the relative alignment on circuit I at the distant interface.
+
+*Note 2* - In some Recommendations for the procedural characteristics of the interface (e.g., X.21), the use and termination of this circuit by the DTE is not mandatory even when implemented in the DCE.
+
+### 3.8 *Circuit F - Frame start identification*
+
+*Direction:* From DCE
+
+Signals on this circuit continuously provide the DTE with a multiplex frame start indication when connected to a multiplexed DTE/DCE interface.
+
+The condition on this circuit shall be OFF for the nominal period of one bit, indicating the last bit of the multiplex frame. At other times the circuit shall remain ON.
+
+The first data bit on subscriber channel 1 shall be transmitted or received beginning nominally at the OFF to ON transition of circuit F.
+
+### 3.9 *Circuit X - DTE transmit signal element timing* (see Note)
+
+*Direction:* To DCE
+
+Signals on this circuit provide signal element timing information for the transmit direction in cases where circuit S only provides signal element timing for the receive direction. The condition of this circuit shall be ON and OFF for nominally equal periods of time. However, for burst isochronous operations, longer periods of OFF condition may be permitted equal to an integer odd number of the nominal period of the ON condition as specified by the relevant procedural characteristics of the interface.
+
+The DTE shall present a binary signal on the circuit T-*Transmit* and a condition on circuit C-*Control*, in which the transitions nominally occur at the time of the transitions from OFF to ON condition of this circuit.
+
+The transition from ON to OFF condition shall nominally indicate the centre of each signal element on circuit T.
+
+*Note* - The use and termination of this circuit by the DCE is a national matter.
\ No newline at end of file
diff --git a/marked/X/T-REC-X.257-199504-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.257-199504-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..62c0507b425f9fb702d366bb93536219e3a19b7b
--- /dev/null
+++ b/marked/X/T-REC-X.257-199504-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4be76bdbd3ae9b602a092e8039bcf9398df0e7bfab1cd2a7a63bb06ba427b4a5
+size 8291
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5b5c16e054853b61d6059078e5a107c355e590a0
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/21ad58fee90f2be50708ff541d225507_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7c145e50a6633ce57e993e06666624f2a82c958c6aef9ccba8e70857a88e2928
+size 20096
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..99f7283bdb5f26275ad232c1753b3f1ed790fe2d
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c658328e03821bf4d10ed875941f8b0c2987a826db877759e1bce07c8696fd2b
+size 8271
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..83ac9f4a648d5dd8b8e7c3baeda981ba999ebb02
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f9253a8dcdcb92ab1d14100c8d4b5005bbe0a1d3fe2740446f999487872e14c3
+size 22291
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/90ee16ccc0ad16aeca48087797d7b07f_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/90ee16ccc0ad16aeca48087797d7b07f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ec4865b1c35d412975b22d611354fb63dbef9f71
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/90ee16ccc0ad16aeca48087797d7b07f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bbd4c21f1dcc1fc7313d8178c6bcbf7684442f4e32e89321913ab3ad0c78cc95
+size 10900
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/9ae17964ddd9b814c7d905b1af2fddf2_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/9ae17964ddd9b814c7d905b1af2fddf2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..403c62a00b034dc3ff560930968bbb919af0f649
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/9ae17964ddd9b814c7d905b1af2fddf2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0ff04e7634469ed001883eb1dde9f30c6a411efb57396f60a66ff9b4fea768bd
+size 46780
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/a734898ce18e972938949637c32a34f4_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/a734898ce18e972938949637c32a34f4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3130be29fc185b9c2dac8498b431b2b04a5bd367
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/a734898ce18e972938949637c32a34f4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:36707c375831435413435a21612cab30d3d6bc7fe495fb354734af1c37461e27
+size 36878
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/cab0834804fb031b43865554cc8d06ab_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/cab0834804fb031b43865554cc8d06ab_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e77aa7fcae734b707cb3b1825db53032328d8be0
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/cab0834804fb031b43865554cc8d06ab_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:11ad4221f52b71fce2455a55d3b20053b8f30b445d913ebfbaa1b6399667ff1e
+size 26752
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/cb4cfa42ce34febde7bdb882f3fc3094_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/cb4cfa42ce34febde7bdb882f3fc3094_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1acaccafd94d73cbd1bc0b3c1c643a7e29af18ed
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/cb4cfa42ce34febde7bdb882f3fc3094_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9a3b67722d615d98c0c530954d2199506dd5e9f5cbe00232c682d8ddb659e783
+size 21230
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg b/marked/X/T-REC-X.29-199712-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d8bd2800093e3947dfe323e13343c449de37ab05
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/dfe556fea00682b09a59427aaf72051c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0cf22984957008b9df6c84fc347f7e68418dae7c022b5073194e6f5016c693df
+size 38508
diff --git a/marked/X/T-REC-X.29-199712-I_PDF-E/raw.md b/marked/X/T-REC-X.29-199712-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..3d36dda831e71ac11368ada132f84119251e313f
--- /dev/null
+++ b/marked/X/T-REC-X.29-199712-I_PDF-E/raw.md
@@ -0,0 +1,823 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.29
+
+(12/97)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATION
+
+Public data networks – Interfaces
+
+---
+
+**Procedures for the exchange of control
+information and user data between a Packet
+Assembly/Disassembly (PAD) facility and a
+packet mode DTE or another PAD**
+
+ITU-T Recommendation X.29
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATION
+
+| | |
+|-----------------------------------------------|------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEM INTERCONNECTION | X.200–X.299 |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# **ITU-T RECOMMENDATION X.29**
+
+# **PROCEDURES FOR THE EXCHANGE OF CONTROL INFORMATION AND USER DATA BETWEEN A PACKET ASSEMBLY/DISASSEMBLY (PAD) FACILITY AND A PACKET MODE DTE OR ANOTHER PAD**
+
+## **Summary**
+
+This Recommendation provides procedures to facilitate international interworking between PADs or between a PAD and a packet mode DTE.
+
+###### **Source**
+
+ITU-T Recommendation X.29 was revised by ITU-T Study Group 7 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on the 12th of December 1997.
+
+## FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+### NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+### INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 1998
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+## CONTENTS
+
+| | | Page |
+|---------|-----------------------------------------------------------------------------------------------------------------------------------------------------|-------------|
+| 1 | Procedures for the exchange of PAD control information and user data..... | 2 |
+| 1.3 | Call user data ..... | 2 |
+| 1.4 | User sequences ..... | 2 |
+| 1.5 | PAD messages ..... | 3 |
+| 2 | User data transfer ..... | 3 |
+| 3 | Procedures for the use of PAD messages ..... | 3 |
+| 3.1 | Procedures for reading, setting, and reading and setting of PAD parameters ..... | 3 |
+| 3.2 | Procedures for inviting the PAD to clear ..... | 3 |
+| 3.3 | Interrupt and discard procedures ..... | 4 |
+| 3.4 | Procedure for resets ..... | 5 |
+| 3.5 | Error handling procedures by the PAD..... | 5 |
+| 3.6 | Procedures for inviting the PAD to reselect the called DTE ..... | 5 |
+| 3.7 | Procedures for support of MAP ..... | 6 |
+| 4 | Formats ..... | 7 |
+| 4.1 | Introduction ..... | 7 |
+| 4.2 | Call user data format (see Figure 1)..... | 7 |
+| 4.3 | User sequence format ..... | 7 |
+| 4.4 | Control message format..... | 8 |
+| Annex A | – Characteristics of virtual calls and Recommendation X.25 as related to the PAD representation of a start-stop mode DTE to a packet mode DTE ..... | 14 |
+| A.1 | General interface characteristics ..... | 14 |
+| A.2 | Interface procedures for virtual call control..... | 14 |
+| A.3 | Interface procedures for data transfer ..... | 14 |
+| A.4 | Virtual call characteristics ..... | 15 |
+
+
+
+# **PROCEDURES FOR THE EXCHANGE OF CONTROL INFORMATION AND USER DATA BETWEEN A PACKET ASSEMBLY/DISASSEMBLY (PAD) FACILITY AND A PACKET MODE DTE OR ANOTHER PAD**
+
+*(Provisional, Geneva, 1977; amended, Geneva, 1980,
+Malaga-Torremolinos, 1984, Melbourne, 1988, Helsinki, 1993;
+revised in 1997)*
+
+## **Preface**
+
+The establishment in various countries of public data networks providing packet-switched data transmission services creates a need to produce standards to facilitate international interworking.
+
+The ITU-T,
+
+*considering*
+
+- a) that Recommendations X.1 and X.2 define the user classes of service and facilities in a public data network, and Recommendation X.96 defines call progress signals;
+- b) that Recommendation X.3 defines the PAD in a public data network;
+- c) that Recommendation X.8 defines the Multi-Aspect PAD (MAP) framework and service definition;
+- d) that Recommendation X.28 defines the DTE/DCE interface for a start-stop mode DTE accessing the PAD in a public data network;
+- e) that Recommendation X.25 defines the interface between the DTE and the DCE for DTEs operating in the packet mode in public data networks;
+- f) the need to allow interworking between a packet mode DTE and a non-packet mode DTE in the packet-switched transmission service;
+- g) the urgent need to allow interworking between a start-stop mode DTE in a public switched telephone network, public switched data network or a leased line and a packet mode DTE using the virtual call facility of the packet-switched transmission service;
+- h) the need to allow interworking between PADs;
+- i) that the packet mode DTE shall not be obliged to use the control procedures for PAD functions, but that some packet mode DTEs may wish to control specific functions of the PAD,
+
+*unanimously recommends that*
+
+- 1** the Recommendation X.29 procedures shall apply to the Recommendation X.25 interface between the DCE and the packet mode DTE;
+- 2** the Recommendation X.29 procedures may be applied for interworking between PADs;
+- 3** the procedures be as specified in clause 1 *Procedures for the exchange of PAD control information and user data*;
+- 4** the manner in which user data is transferred be as specified in clause 2 *User data transfer*;
+
+**5** the procedures for the control of the PAD via *PAD* messages be as specified in clause 3 *Procedures for the use of PAD messages*;
+
+**6** the formats of the data fields which are transferable on a virtual call be as specified in clause 4 *Formats*.
+
+NOTE 1 – For ease of understanding, this Recommendation refers to specific packet types and procedures of Recommendation X.25. When PAD-to-PAD interworking is considered within a national network, these packet types or procedures may have a different form from those used in Recommendation X.25 but will have the same operational meaning.
+
+NOTE 2 – The following items are for further study:
+
+- the use of the permanent virtual circuit service;
+- interworking between DTEs having interfaces to different data transmission services;
+- operation of non-packet mode DTEs in other than start-stop mode.
+
+## **1 Procedures for the exchange of PAD control information and user data**
+
+**1.1** The exchange of control information and user data between a PAD and a packet mode DTE or between PADs is performed by using user data fields defined in Recommendation X.25.
+
+**1.2** Annex A describes some of the characteristics of virtual calls as defined in Recommendation X.25, as related to the PAD representation of a start-stop mode DTE to a packet mode DTE. The characteristics described in Annex A also apply for interworking between PADs.
+
+### **1.3 Call user data**
+
+The call user data field of *incoming call* or *call request* packets to or from the packet mode DTE or the PAD is comprised of two fields:
+
+- a) the protocol identifier field; and
+- b) the call data field.
+
+The protocol identifier field is used for protocol identification purposes and the call data field contains user data.
+
+An *incoming call* packet received by the PAD, containing no call user data field, will be accepted by the PAD.
+
+If a call data field is present, the PAD will send it, unchanged, to the start-stop mode DTE, using the call data block of the *incoming call PAD service* signal (see 3.5.22/X.28).
+
+### **1.4 User sequences**
+
+**1.4.1** User sequences are used to exchange user data between the PAD and the packet mode DTE or a PAD.
+
+**1.4.2** User sequences are conveyed in the user data fields of complete packet sequences with $Q = 0$ , and in both directions on a virtual call. (See Recommendation X.25.)
+
+**1.4.3** There will be only one user sequence in a complete packet sequence.
+
+**1.4.4** The PAD will transmit all *data* packets with the D bit set to 0.
+
+On reception of a *data* packet with the D bit set to 1, the PAD will transmit the corresponding acknowledgement as soon as possible.
+
+If the PAD does not support the D bit procedure, the PAD may reset the virtual call.
+
+As no error correction procedure is in place from the PAD to the start-stop mode DTE, no guarantee of delivery can be implied from the acknowledgement.
+
+### 1.5 *PAD* messages
+
+**1.5.1** *PAD* messages are used to exchange control information between the *PAD* and the packet mode DTE (or remote *PAD*). A *PAD* message consists of a control identifier field and a message code field possibly followed by a parameter field (see 4.4).
+
+**1.5.2** *PAD* messages are conveyed in the user data fields of complete packet sequences with $Q = 1$ and in both directions on a virtual call. (See Recommendation X.25.)
+
+**1.5.3** There will be only one *PAD* message in a complete packet sequence.
+
+**1.5.4** The *PAD* will take into consideration a *PAD* message only when it has been completely received.
+
+**1.5.5** In the case where a parameter reference (see clause 3) appears more than once in a *PAD* message, only the last appearance is taken into account.
+
+**1.5.6** The *PAD* will transmit all *data* packets with the D bit set to 0.
+
+On reception of a *data* packet with both the Q bit and the D bit set to 1, the *PAD* will transmit the corresponding acknowledgement as soon as possible.
+
+If the *PAD* does not support the D bit procedure, the *PAD* may reset the virtual call.
+
+## 2 User data transfer
+
+**2.1** *Data* packets will be forwarded by the *PAD* when a *set*, *read*, or *set and read PAD* message is received, or under any of the other data forwarding conditions provided by the *PAD* (see 4.4/X.28).
+
+**2.2** The occurrence of a data forwarding condition will not cause the *PAD* to transmit empty data packets.
+
+## 3 Procedures for the use of *PAD* messages
+
+### 3.1 Procedures for reading, setting, and reading and setting of *PAD* parameters
+
+**3.1.1** The current values of *PAD* parameters may be changed and read by transmitting to the *PAD* a *set*, *read*, or *set and read PAD* message.
+
+**3.1.2** When the *PAD* receives a *set*, *read* or *set and read PAD* message, any data previously received will be delivered to the start-stop mode DTE before taking action on the *PAD* message. The *PAD* will also consider the arrival of such a *PAD* message as a data forwarding condition.
+
+**3.1.3** The *PAD* will respond to a valid *read* or *set and read PAD* message by transmitting a *parameter indication PAD* message. This *PAD* message will have a parameter field containing a list of parameter references and current values (after any necessary modification) of the *PAD* parameters to which the received *PAD* message referred.
+
+**3.1.4** The *PAD* will not return a *parameter indication PAD* message in response to a valid *set PAD* message received.
+
+**3.1.5** Table 1 specifies the *PAD*'s response of the *PAD* to *set*, *set and read*, and *read PAD* messages.
+
+**3.1.6** If the function of a character is duplicated by the selection of parameter values by use of the *set* or *set and read PAD* message, the *PAD* will consider these parameter changes as valid, and will respond as described in this Recommendation. After these changes are invoked, the *PAD* will follow the procedure described in Recommendation 3.3.2/X.28.
+
+### 3.2 Procedures for inviting the *PAD* to clear
+
+**3.2.1** The invitation to clear *PAD* message is used to request that the *PAD* clears the virtual call, after transmission of all data previously transmitted to the start-stop mode DTE.
+
+NOTE – The *clear request* packet, which is transmitted by the *PAD* after delivery of the last character to the start-stop mode DTE, will have a clearing cause field set to *DTE clearing*.
+
+**Table 1/X.29 – *PAD* messages transmitted by the PAD in response to set, set and read, and read *PAD* messages**
+
+| PAD message received by the PAD | | Action upon PAD parameters | Corresponding parameter indication PAD message transmitted to the packet mode DTE |
+|-----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
+| Type | Parameter field | | |
+| Set | None | Reset all implemented Recommendation X.3 parameters to their initial values corresponding to the initial profile | None |
+| | List of selected parameters with the desired values | Set the selected parameters to the given values: a) if no error is encountered b) if the PAD fails to modify the values of some parameters | a) None b) List of these invalid parameters (Note) |
+| Set and read | None | Reset all implemented Recommendation X.3 parameters to their initial values corresponding to the initial profile | List all implemented Recommendation X.3 parameters, and their initial values |
+| | List of selected parameters with the desired values | Set the selected parameters to the given values | List of these parameters with their new current values (Note) |
+| Read | None | None | List all implemented Recommendation X.3 parameters with their current values |
+| | List of selected parameters | None | List of these parameters with their current values (Note) |
+| NOTE – If any of the parameters contain an error, then the error bit is set and the value field is coded as described in Table 3. | | | |
+
+### 3.3 Interrupt and discard procedures
+
+**3.3.1** If parameter 7 is set to 21, the PAD will transmit an *interrupt* packet with all bits of the interrupt user data field set to 0 followed by an *indication of break PAD* message to indicate that the PAD, at the request of the start-stop mode DTE, is discarding the user sequences received. The *PAD* message will contain an indication in its parameter field that parameter 8 has been set to 1 (*discard output*).
+
+**3.3.2** Before resuming data transmission to the PAD, the response to the indication of break *PAD* message shall be a *set* or *set and read PAD* message, indicating that parameter 8 should be set to 0 (*normal data delivery*).
+
+Prior to sending this *PAD* message, any in-progress complete packet sequence being transmitted to the PAD must be terminated (with a packet that will be discarded by the PAD) in accordance with Recommendation X.25 procedures.
+
+**3.3.3** If a PAD receives an *indication of break PAD* message which contains a parameter field as described in 3.3.1, it will respond by transmitting a *set PAD* message as described in 3.3.2 above and will transmit a *break* signal to the start-stop mode DTE. If a PAD receives an *indication of break PAD* message which does not contain a parameter field, it will not respond to the packet mode DTE or PAD but it will transmit a *break* signal to the start-stop mode DTE.
+
+**3.3.4** When the PAD transmits an *interrupt* packet after the receipt from the start-stop mode DTE of an *interrupt PAD command* signal or a *break* signal, when parameter 7 is set to 1, the interrupt user data field is coded in bits 8 to 1 as 00000001.
+
+**3.3.5** If the PAD receives an *interrupt* packet, it will confirm it in accordance with Recommendation X.25 procedures. The PAD will not transmit the contents of the interrupt user data field to the start-stop DTE. The PAD will ignore the values of the interrupt user data field. It is for further study whether the coding of this field given in 3.3.4 causes a different response.
+
+**3.3.6** If parameter 7 is set to 5, the PAD will transmit an *interrupt* packet with all bits of the *interrupt* packet's user data field set to 0, followed by an *indication of break PAD* message. The *PAD* message will not contain a parameter field as described in 4.4.7.
+
+**3.3.7** Some PADs may always send the break signal to the start-stop mode DTE upon receipt of an *interrupt* packet rather than upon receipt of an *indication of break PAD* message.
+
+**3.3.8** PADs that support multiple Aspects in accordance with Recommendation X.8, utilize the *indication of break PAD* message to signal a change in that PAD's Aspect as defined in 3.3.1. As it is left for further study within Recommendation X.28 as to how to request and/or indicate a remote change, it is left for further study here as to how to/if such signalling to the local start-stop mode DTE interface must be propagated.
+
+### **3.4 Procedure for resets**
+
+Virtual calls may be reset according to the procedures defined in Recommendation X.25. The effect of the resetting procedure on the value of PAD parameter 8 is to reset its value to 0 (*normal data delivery*). The current values of all other PAD parameters are not affected.
+
+### **3.5 Error handling procedures by the PAD**
+
+**3.5.1** If the PAD receives a *set*, *read* or *set and read PAD* message containing an invalid reference to a PAD parameter, the parameter field within the *parameter indication PAD* message transmitted by the PAD will contain an indication that this has occurred. The remaining valid references to PAD parameters are processed by the PAD.
+
+Possible reasons for an invalid access to a PAD parameter are:
+
+- a) the parameter reference has not been implemented in the PAD;
+- b) the parameter value has not been implemented in the PAD or cannot be altered from the current setting;
+- c) the parameter is a read-only one (*set* and *set and read PAD* messages only);
+- d) the parameter follows an invalid parameter separator (see 4.4.5.4).
+
+**3.5.2** The PAD will transmit an *error PAD* message containing the message code of an invalid *PAD* message received under the following conditions:
+
+- a) if the PAD receives an unrecognizable message code;
+- b) if the parameter field following a recognizable message code is incorrect or incompatible with the message code;
+- c) if the parameter field following a recognizable message code has an invalid format;
+- d) if the PAD receives an unsolicited *parameter indication PAD* message;
+- e) if the PAD receives a *PAD* message that is too long.
+
+**3.5.3** The PAD will transmit an error *PAD* message if a *PAD* message containing less than 8 bits is received.
+
+**3.5.4** If the PAD receives an *error PAD* message, it will not respond with a *PAD* message of any type. Subsequent action is for further study.
+
+### **3.6 Procedures for inviting the PAD to reselect the called DTE**
+
+The *reselection or reselection with TOA/NPI PAD* message (Type of address/Numbering Plan Indicator) is used by a packet mode DTE to request that the PAD clear the virtual call, after transmission to the start-stop mode DTE of all the previously transmitted data. Then, the PAD will establish a call to the reselected DTE.
+
+NOTE – The TOA/NPI address subscription facility is designated in Recommendation X.2 for further study.
+
+When the *reselection PAD message* is received, the PAD will transmit an *error PAD message* with an error type *unauthorized reselection PAD message* (00000110) under the following conditions:
+
+- a) the virtual call has been established by the packet-mode DTE;
+- b) the *called DTE reselection prevention facility* has been requested by the start-stop mode DTE;
+- c) the *reselection PAD message* has been already received more than N times (where N is for further study).
+
+The format of the *reselection PAD message* is given in 4.4.9. The format of the *reselection with TOA/NPI PAD message* is given in 4.4.10. These messages contain the information needed by the PAD to establish the new virtual call.
+
+Upon receipt of the *reselection* or *reselection with TOA/NPI PAD message*, the PAD will:
+
+- transmit to the start-stop mode DTE all previously received data;
+- clear the virtual call that is established;
+- after having made the appropriate state changes as described in 3.2.5/X.28, establish a virtual call to the reselected DTE. The *call request packet* sent by the PAD, will contain only the facilities subscribed by the start-stop mode DTE and/or assigned by default. Any other facilities contained in the *reselection PAD message* will be ignored. In particular:
+ - i) *Closed User Group Signals* – Independently by the CUG indicated in the *reselection PAD message*, the PAD will use the same CUG of the original call.
+ - ii) *Reverse Charging* – If the start-stop mode DTE was not charged for the original call, the reselected call will not be charged to the start-stop mode DTE, independently of the indication in the *reselection PAD message* (i.e., the PAD will use the *reverse charging* facility in the *call request packet*). If the start-stop mode DTE was charged for the original call, the reselected call will be charged to the reselected DTE if the *reselection PAD message* contains the *reverse charging* facility.
+ - iii) *Charging information*:
+ - facility assigned for an agreed contractual period: The information will be sent to the start-stop mode DTE at the clearing of each call (original and reselected), or at the clearing of the last reselected call. If the later procedure was selected, the PAD will send the total charging information, without sending the charge of the individual calls (original and reselected);
+ - facility on a per call basis: The PAD follows the procedure indicated above, starting from the first *charging information facility request* (by the start-stop mode DTE or packet mode DTE).
+ - iv) *ROA selection*: for further study
+
+NOTE 1 – The other facilities indicated in Table 4/X.28 with Note 2 are for further study.
+
+NOTE 2 – This procedure is an optional feature of the PAD. PADs which do not implement this feature will consider *reselection* and *reselection with TOA/NPI PAD messages* as invalid. PADs may implement this feature either by accepting 1) *reselection PAD messages* or 2) *reselection* and *reselection with TOA/NPI PAD messages*. The sending of *reselection* or *reselection with TOA/NPI PAD messages* by a PAD is for further study.
+
+### 3.7 Procedures for support of MAP
+
+If the PAD supports multiple Aspects (as defined in Recommendation X.8), the PAD will transmit an *interrupt* packet signalling a change in PAD Aspect, at the request of the start-stop mode DTE. The *interrupt* packet will be sent with all bits of the user data field set to 0 followed by an *indication of break PAD* signalling a change in PAD Aspect as noted below in 4.4.7.1. The reference field will be coded 00000001 (indicating a change in PAD Aspect) and the value field will be coded with the decimal value of the first character indicating the type of Aspect that has been invoked at the remote PAD. Table 11/X.28 provides the complete list of current PAD Aspects associated with MAPs supporting a PAD Aspect operating in accordance with Recommendation X.28 and this Recommendation.
+
+It is left for further study, in parallel with that undertaken within Recommendation X.28, as to how a local PAD operating in support of MAP may signal a remote MAP to effect a remote change in PAD Aspect.
+
+## 4 Formats
+
+### 4.1 Introduction
+
+Bits of octets are numbered 8 to 1 where bit 1 is the low-order bit and is transmitted first. Octets of the call user data, of user sequences, of *PAD* messages and of interrupt user data are consecutively numbered starting from 1 and are transmitted in this order.
+
+### 4.2 Call user data format (see Figure 1)
+
+
+
+| | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
+|---------|---|---|---|---|---|---|---|---|
+| Octet 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
+| Octet 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| Octet 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| Octet 4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| ... | | | | | | | | |
+| Octet N | | | | | | | | |
+
+T0716830-93/d01
+
+Diagram of the Call user data field format. It shows a table with 8 columns labeled 8, 7, 6, 5, 4, 3, 2, 1 from left to right. The first four rows are labeled Octet 1, 2, 3, 4 on the left. Octet 1 contains bits 0, 0, 0, 0, 0, 0, 0, 1. Octets 2, 3, and 4 contain all 0s. A bracket on the right groups these four octets as the 'Protocol identifier'. Below Octet 4, there is a vertical ellipsis and then Octet N. A bracket on the right groups these as 'Call data'. The reference T0716830-93/d01 is at the bottom right.
+
+NOTE – N may be a value between 4 and 16, or between 4 and 128 in conjunction with the fast select facility.
+
+**Figure 1/X.29 – Call user data field format**
+
+#### 4.2.1 Protocol identifier format
+
+The protocol identifier field standardized by ITU-T consists of four octets.
+
+The first octet is coded as follows:
+
+bits 8 and 7 = 00 for UIT-T use;
+
+= 01 for national use;
+
+= 10 reserved for international user bodies;
+
+= 11 for DTE-DTE use.
+
+When bits 8 and 7 are equal to 00, bits 6 to 1 are equal to 000001 for indicating *PAD* messages relating to the *packet assembly/disassembly* facility for the start-stop mode DTE. Other coding of bits 6 to 1 is reserved for future standardization by the ITU-T, subject to the rules of Recommendation X.244. All bits of octets 2, 3 and 4 are set to 0. These octets are reserved as a future mechanism for providing the called PAD or packet mode DTE with additional information pertinent to the calling party.
+
+#### 4.2.2 Call data format
+
+Octets of the call data field will contain the user characters received by the PAD from the start-stop mode DTE during the call establishment phase. The coding of these octets is similar to that of user sequences (see 4.3). The call data field is limited to 12 octets or to 124 octets in conjunction with the fast select facility (see Figure 1).
+
+### 4.3 User sequence format
+
+**4.3.1** The order of bit transmission from the PAD is the same as the order that bits are received from the start-stop mode DTE. The order of bit transmission to the start-stop mode DTE is the same as the order that bits are received.
+
+**4.3.2** No maximum is specified for the length of a user sequence.
+
+### 4.4 Control message format
+
+**4.4.1** Bits 8, 7, 6, 5 of octet 1 of a user data field of complete packet sequences with $Q = 1$ are defined as the *control identifier field*, used to identify the facility, such as PAD, to be controlled.
+
+The control identifier field is coded as follows:
+
+- bits 8, 7, 6 and 5 – 0000 to 0011: reserved for PAD control;
+- 0100 to 0111: reserved for services extensions;
+- 1000 to 1111: reserved for private extensions.
+
+The control identifier field coding for *PAD* messages to control a PAD for a start-stop mode DTE is 0000. Other codings of the control identifier field in the range 0000 to 0011 are reserved for future standardization.
+
+The control identifier field coding for Telematic service messages to control specific equipment is 0100. Other codings of the control identifier field in the range 0100 to 0111 are reserved for future standardization.
+
+NOTE 1 – When a PAD receives messages with a control identifier field not supported by that PAD, it will treat those messages as unrecognizable message codes.
+
+NOTE 2 – The possibility of extending the control identifier field is for further study.
+
+**4.4.2** When the control identifier field (see 4.4.1) is set to 0000, bits 4, 3, 2, 1 of octet 1 are defined as the message code field. The *message code* field is used to identify specific types of *PAD* messages, as given in Table 2.
+
+When the control identifier field (see 4.4.1) is set to 0100, bits 4, 3, 2 and 1 of octet 1 are defined as the Telematic service code field. The telematic service code field is used to identify a specific Telematic service; its value for Videotex is 0000. Other values are reserved for further standardization. The telematic service message format is given in 4.4.11.
+
+**Table 2/X.29 – Type and coding of octet 1 of *PAD* messages**
+
+| Type | Message code | | | | |
+|----------------------------------------------------------------------------------|--------------|---|---|---|---|
+| | Bits | 4 | 3 | 2 | 1 |
+| Set PAD message | | 0 | 0 | 1 | 0 |
+| Read PAD message | | 0 | 1 | 0 | 0 |
+| Set and read PAD message | | 0 | 1 | 1 | 0 |
+| Parameter indication PAD message | | 0 | 0 | 0 | 0 |
+| Invitation to clear PAD message | | 0 | 0 | 0 | 1 |
+| Indication of break PAD message | | 0 | 0 | 1 | 1 |
+| Reselection PAD message | | 0 | 1 | 1 | 1 |
+| Error PAD message | | 0 | 1 | 0 | 1 |
+| Reselection with TOA/NPI | | 1 | 0 | 0 | 0 |
+| NOTE – The possibility of extending the message code field is for further study. | | | | | |
+
+**4.4.3** All *PAD* messages consist of a control identifier field (bits 8, 7, 6, 5 of octet 1 equal to 0000) and a message code field (bits 4, 3, 2, 1 of octet 1).
+
+*Set*, *read*, *set and read* and *parameter indication* *PAD* messages consist of octet 1 which may be followed by one or more parameter fields. Each parameter field consists of a parameter reference octet and a parameter value octet.
+
+The parameter value octets of the *read* *PAD* message contain the value 0.
+
+The *error PAD* message consists of octet 1 and one or two octets giving the reason for the error.
+
+The *indication of break PAD* message consists of octet 1 which may be followed by a parameter field.
+
+The *invitation to clear PAD* message consists of octet 1 only.
+
+**4.4.4** The maximum length of *PAD* message is network dependent, but will be at least 128 octets.
+
+**4.4.5 Parameter field for set, read, set and read, and parameter indication *PAD* messages** (see Figure 2)
+
+A parameter field contained in one of these *PAD* messages consists of a reference field and a value field. A parameter field is two octets in length, except when the extension mechanism is used (see 4.4.5.1).
+
+
+
+The diagram illustrates the structure of a *PAD* message parameter field. It shows a sequence of octets starting with Octet 1, which contains a Message code in bits 4 to 1 and zeros in bits 8 to 5. Subsequent octets (2, 3, etc.) form the parameter field, which is divided into reference and value fields. The reference field is binary-coded in bits 7 to 1, and the value field is binary-coded in bits 8 to 1. The diagram also indicates that the parameter field is used for data packets with Q = 1.
+
+| Octet | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
+|---------|--------------------------|---|---|---|--------------|---|---|---|
+| Octet 1 | 0 | 0 | 0 | 0 | Message code | | | |
+| 2 | Parameter reference | | | | | | | |
+| 3 | Parameter value (Note 1) | | | | | | | |
+| ... | ... | | | | | | | |
+| ... | Parameter reference | | | | | | | |
+| ... | Parameter value (Note 1) | | | | | | | |
+
+Message code: 0010 – Set
+0100 – Read
+0110 – Set and read
+0000 – Parameter indication
+
+T0716840-93/d02
+
+Diagram of the PAD message format showing the structure of the parameter field.
+
+NOTE 1 – These octets contain all 0s in read *PAD* messages.
+
+NOTE 2 – Parameter field need not be present (see Table 1).
+
+**Figure 2/X.29 – Set, read, set and read, and parameter indication *PAD* message format**
+
+**4.4.5.1** A reference field consists of a parameter reference, identified as a decimal number in Recommendation X.3, and is binary coded in bits 7 to 1, where bit 1 is the low-order bit. Reference fields need not be ordered by increasing parameter reference numbers.
+
+The code 1111111 (decimal 127) in bits 7 to 1 of the reference field will be used for the extension of this field. Such coding will indicate that there is another octet following. The following octet is coded with the parameter reference of Recommendation X.3 minus 127.
+
+**4.4.5.2** In *PAD* messages received by the PAD, bit 8 of each octet will be ignored. In *parameter indication PAD* messages, bit 8 of each reference field set to 1 will indicate an invalid access to the referred parameter as described in 3.5.
+
+**4.4.5.3** A parameter value field consists of a value of the parameter reference, identified as a decimal number in Recommendation X.3, and is binary coded in bits 8 to 1, where bit 1 is the low-order bit. Value fields in *read PAD* messages are coded as all binary 0s. In *set* and *set and read PAD* messages, they will indicate the requested values of parameters. In *parameter indication PAD* messages, they will indicate the current values of *PAD* parameters, after modification if any. If bit 8 (error bit) is set to 1 in the preceding octet (i.e. the parameter reference field), the parameter value field will indicate the reason for the error, as given in Table 3.
+
+**Table 3/X.29 – Coding of parameter value field in case of error**
+
+| Error type | Parameter value field code | | | | | | | | |
+|-------------------------------------------------------------------------------|----------------------------|---|---|---|---|---|---|---|---------|
+| | Bits | | | | | | | | Decimal |
+| | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| No additional information | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| The parameter reference does not exist or has not been implemented in the PAD | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
+| The parameter value is invalid or has not been implemented in the PAD | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 |
+| The parameter value cannot be altered from the current setting | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 3 |
+| The parameter is read-only | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
+| The parameter follows an invalid parameter separator | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 5 |
+| NOTE – The value 0 is mandatory. Other values are optional. | | | | | | | | | |
+
+**4.4.5.4** Parameters not standardized by ITU-T may be supported. The parameter separator is used in *PAD* messages to indicate the separation between parameters specified in Recommendation X.3 and any others implemented nationally or locally.
+
+The parameter separator consists of a parameter field which contains a reference field set to 00000000 and a value field set to 00000000.
+
+When present, the parameter separator and the national or local parameter fields must be placed after any ITU-T standardized parameter fields in *PAD* messages.
+
+NOTE – It is recommended that only the parameters defined in Recommendation X.3 are used when communicating with a PAD in a different country or network.
+
+#### 4.4.6 Format of error *PAD* messages (see Figure 3)
+
+
+
+| | | | | | | | | | | |
+|---|-----------------------------|---|---|---|---|---|---|---|---------------------------------------|--|
+| | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | |
+| 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | Data field of data packets with Q = 1 | |
+| 2 | Error type (see Table 4) | | | | | | | | | |
+| 3 | Invalid message code (Note) | | | | | | | | | |
+
+T0716850-93/d03
+
+NOTE – Does not occur for error type 00000000.
+
+**Figure 3/X.29 – Error *PAD* message format**
+
+**4.4.6.1** Octet 2 of the *error PAD* message will be coded as shown in Table 4.
+
+**4.4.6.2** In cases b, c, d, e and f in Table 4, octet 3 of an *error PAD* message will contain the message code of the received *PAD* message.
+
+**Table 4/X.29 – Coding and meaning of octet 2 of error *PAD* messages**
+
+| Case | Meaning | Coding | | | | | | | | |
+|------|-------------------------------------------------------------------------------------------------------|--------|---|---|---|---|---|---|---|---|
+| | | Bits | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
+| a | Received PAD message contained less than eight bits | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| b | Unrecognized message code in received PAD message | | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
+| c | Parameter field format of received PAD message was incorrect or incompatible with message code | | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 |
+| d | Received PAD message did not contain an integral number of octets | | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 |
+| e | Received parameter indication PAD message was unsolicited | | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
+| f | Received PAD message was too long | | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 |
+| g | Unauthorized reselection PAD message | | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 |
+
+#### 4.4.7 Parameter field for indication of break *PAD* messages (see Figure 4)
+
+This *PAD* message may either not contain a parameter field, or contain a type field consisting of 2 octets (i.e. one reference field and one value field) coded as follows.
+
+**4.4.7.1** For *indication of Break PAD* message signalling, a change in PAD Aspect, the reference field will be coded 00000001 (indicating a change in PAD Aspect) and the value field will be coded with the decimal value of the first character indicating the type of Aspect that has been invoked locally. Table 11/X.28 provides the complete list of current PAD Aspects for MAPs supporting a PAD Aspect operating in accordance with Recommendation X.28 and this Recommendation.
+
+**4.4.7.2** For *Indication of Break PAD* messages signalling, a break based on the Recommendation X.3 parameter set values, the reference field will be coded 00001000 (indicating parameter 8) and the value field will be coded 00000001 (indicating decimal 1).
+
+
+
+| | | | | | | | | | | |
+|---------|----------------|---|---|---|---|---|---|---|--------------------------------------------------|--|
+| | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | |
+| Octet 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | } Data field of data packets with Q = 1 | |
+| Octet 2 | Type reference | | | | | | | | | |
+| Octet 3 | Type value | | | | | | | | | |
+
+T0716860-93/d04
+
+**Figure 4/X.29 – Indication of break *PAD* message format**
+
+#### 4.4.8 Parameter field for invitation to clear *PAD* message (see Figure 5)
+
+This *PAD* message will not contain a parameter field.
+
+
+
+| | | | | | | | | | |
+|---------|---|---|---|---|---|---|---|---|-----------------------------------------------|
+| | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Octet 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | } Data field of data packets With Q = 1 |
+| | | | | | | | | | |
+
+**Figure 5/X.29 – Invitation to clear *PAD* message format**
+
+#### 4.4.9 Reselection *PAD* message format
+
+The format of this message is given in Figure 6.
+
+
+
+| | | | | | | | |
+|---------------------------------|---|---|---|-------------------------------|---|---|---|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
+| 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |
+| 0 | 0 | 0 | 0 | Reselected DTE address length | | | |
+| Reselected DTE address (Note 1) | | | | | | | |
+| | | | | 0 | 0 | 0 | 0 |
+| Facility length | | | | | | | |
+| Facilities | | | | | | | |
+| Call User Data (Note 2) | | | | | | | |
+
+Data field of data packets with Q = 1
+
+T0716870-93/d05
+
+NOTE 1 – The figure is drawn assuming that the number of semi-octets in the DTE address is odd.
+
+NOTE 2 – A maximum of 12 octets may be present, or 124 octets when used in conjunction with the fast select facility.
+
+**Figure 6/X.29 – Reselection *PAD* message format**
+
+##### 4.4.9.1 Reselected DTE address length field
+
+Bits 4, 3, 2 and 1 of the reselected DTE address length field indicate the length of the reselected DTE address in semi-octets. The address length is binary coded and bit 1 is the low-order bit of the indicator.
+
+##### 4.4.9.2 Address field
+
+Octet 3 and the following octets consist of the reselected DTE address. Each digit of the address is coded in a semi-octet in binary coded decimal with bit 5 or 1 being the low-order bit of the digit.
+
+Starting from the high-order digit, the address is coded in octet 3 and consecutive octets with two digits per octet. In each octet, the higher-order digit is coded in bits 8, 7, 6 and 5.
+
+The address field shall be rounded up to an integral number of octets by inserting zeros in bits 4, 3, 2 and 1 of the last octet of the field when necessary.
+
+The reselected DTE address field should contain the international data number (DNIC + Network terminal number).
+
+##### 4.4.9.3 Facility length field
+
+The octet following the reselected DTE address field indicates the length of the facility field, in octets. The facility length indicator is binary coded and bit 1 is the low-order bit of the indicator.
+
+##### 4.4.9.4 Facility field
+
+The facility field is present only when optional user facilities are included by the DTE. This field indicates the facilities that must be included in the facility field of the *incoming call* packet received by the reselected DTE (see 3.6).
+
+The coding of the facility field is defined in clause 7/X.25.
+
+The facility field contains an integral number of octets, the maximum length of the complete *PAD* message is restricted, as described in 4.4.4.
+
+##### 4.4.9.5 Call user data field
+
+Following the facility field, the call user data field may be present and has a maximum length of 12 octets or 124 octets in conjunction with the fast select facility.
+
+Call user data when present in the call user data field of the *reselection PAD* message is included in the call user data field of the *incoming call* packet received by the reselected DTE.
+
+#### 4.4.10 Reselection with TOA/NPI PAD message format
+
+The format of this message is given in Figure 7.
+
+NOTE – The TOA/NPI address subscription facility is designated in Recommendation X.2 for further study.
+
+
+
+| | | | | | | | | | |
+|---|---------------------------------|---|---|---|---|---|---|---|------------------------------------------------|
+| | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | Data field of data packets with Q = 1 |
+| 2 | Reselected DTE address length | | | | | | | | |
+| 3 | Reselected DTE address (Note 1) | | | | | | | | |
+| | | | | | 0 | 0 | 0 | 0 | |
+| 4 | Facility length | | | | | | | | |
+| 5 | Facilities | | | | | | | | |
+| 6 | Call User Data (Note 2) | | | | | | | | |
+
+T0716880-93/d06
+
+NOTE 1 – The figure is drawn assuming that the number of semi-octets in the DTE address is odd.
+
+NOTE 2 – A maximum of 12 octets may be present, or 124 octets when used in conjunction with the fast select facility.
+
+**Figure 7/X.29 – Reselection with TOA/NPI PAD message format**
+
+##### 4.4.10.1 Reselected DTE address length field
+
+Octet 2 indicates the length of the reselected DTE address in semi-octets. The address length is binary coded and bit 1 is the low-order bit of the indicator. The maximum value of the reselected DTE address length field is 17.
+
+##### 4.4.10.2 Reselected DTE address field
+
+Octet 3 will consist of the TOA/NPI indication as described in Recommendation X.25. The following octets consist of the reselected DTE address. Each digit of the address is coded in a semi-octet in binary coded decimal with bit 5 or 1 being the low-order bit of the digit. Starting from the high-order digit, the address digits are coded in consecutive semi-octets. In each octet, the higher-order digit is coded in bits 8, 7, 6 and 5.
+
+##### 4.4.10.3 Facility length field
+
+The octet following the address field indicates the length of the facility field, in octets. The facility length indicator is binary coded and bit 1 is the low-order bit of the indicator.
+
+##### 4.4.10.4 Facility field
+
+See 4.4.9.4.
+
+##### 4.4.10.5 Call user data field
+
+See 4.4.9.5.
+
+#### 4.4.11 Telematic Service Message format
+
+The format of this message is shown in Figure 8.
+
+
+
+The diagram illustrates the structure of a Telematic service message. It is organized into octets, with the first octet (Octet 1) containing a 4-bit field for the Telematic service code (Note 1) and a 4-bit field for the Message (Note 2). The remaining octets (Octet 2 to Octet N) are used for the Message (Note 2). A bracket on the right indicates that the data field consists of data packets with Q = 1.
+
+| Octet | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+|-------|------------------|---|---|---|---------------------------------|---|---|---|--|
+| 1 | 0 | 1 | 0 | 0 | Telematic service code (Note 1) | | | | |
+| 2 | Message (Note 2) | | | | | | | | |
+| ... | | | | | | | | | |
+| N | | | | | | | | | |
+
+T0716890-93/d07
+
+Diagram of Telematic service message format showing octet structure and data field.
+
+NOTE 1 – Telematic Service Code: = 0000 – Videotex.
+
+NOTE 2 – The message field format is as defined in Recommendation T.101.
+
+**Figure 8/X.29 – Telematic service message format**
+
+## Annex A
+
+### Characteristics of virtual calls and Recommendation X.25 as related to the PAD representation of a start-stop mode DTE to a packet mode DTE
+
+### A.1 General interface characteristics
+
+**A.1.1** The mechanical, electrical, functional and procedural characteristics to activate, maintain and deactivate the physical access path between the DTE and the DCE will be in accordance with the physical level procedures of Recommendation X.25.
+
+**A.1.2** The link access procedure for data interchange across the link between the DTE and DCE will be in accordance with the link level procedures of Recommendation X.25.
+
+**A.1.3** The packet format and control procedures for the exchange of packets containing control information and user data between the DTE and the DCE will be in accordance with the packet level procedures of Recommendation X.25.
+
+### A.2 Interface procedures for virtual call control
+
+**A.2.1** Incoming calls are indicated to the packet mode DTE as specified in Recommendation X.25. Call requests are indicated by the packet mode DTE as specified in Recommendation X.25. Any use of optional user facilities are indicated in accordance with clauses 6/X.25 and 7/X.25.
+
+**A.2.2** The default throughput classes used by the PAD are determined by the data rates of the start-stop mode DTE (where exact correspondence is not obtained, the next higher throughput class is used).
+
+**A.2.3** The PAD and the packet mode DTE will use the clearing procedures specified in 4.1.7/X.25, 4.1.8/X.25 and 4.1.9/X.25.
+
+### A.3 Interface procedures for data transfer
+
+**A.3.1** Data transfer on a virtual call can only take place in the *data transfer* state and when flow control permits (see 4.4/X.25). The same is true for the transfer of *interrupt* packets (see 4.3/X.25).
+
+**A.3.2** *Interrupt* packets transmitted by the packet mode DTE will be confirmed by the PAD following the procedures in Recommendation X.25.
+
+**A.3.3** The reset procedure may be used by the packet mode DTE or the PAD to re-initialize the virtual call and will conform to the procedures described in 4.4.3/X.25.
+
+**A.3.4** A reset of the virtual call originated by the packet mode DTE or due to network congestion may be indicated by the PAD to the start-stop mode DTE.
+
+**A.3.5** A reset procedure initiated by the PAD may be due either to:
+
+- a) the receipt at the PAD of a request to reset from the non-packet mode DTE. The resetting cause contained in the *reset indication* packet will be *DTE reset*; or
+- b) a PAD or network failure.
+
+**A.3.6** For calls received by the PAD with bit 7 of octet 1 in the *incoming call* packet set to 0, the PAD will set bit 7 of octet 1 in the *call accepted* packet to 0 and will set the D bit in transmitted *data* packets to 0.
+
+Pending further study, and in the absence of bilateral agreement between Administrations (used in conjunction with the D bit modification facility), the following applies:
+
+If the *incoming call* packet received by the PAD has bit 7 of octet 1 set to 1, the PAD may set bit 7 of octet 1 of the *call accepted* packet to 1.
+
+Calls originated by the PAD will set bit 7 of octet 1 in *call request* packets to 0. The called DTE can indicate if it requires the support of the D bit procedure by setting bit 7 of octet 1 of *call accepted* packets to 1.
+
+PAD procedures associated with the Delivery Confirmation (D) bit in data packets (see 4.3.3/X.25) are described in 1.4.4 and 1.5.6.
+
+### **A.4 Virtual call characteristics**
+
+#### **A.4.1 Resetting**
+
+**A.4.1.1** There may be a loss of data characters in any case of reset, as stated in Recommendation X.25. Characters generated by either of the DTEs prior to the *reset* indication or confirmation will not be delivered to the other DTE after the *reset* indication or confirmation.
+
+#### **A.4.2 Interrupt transfer**
+
+**A.4.2.1** An *interrupt* packet is always delivered at or before the point in the data packet stream at which it was generated.
+
+#### **A.4.3 Call clearing**
+
+*Data* packets transmitted immediately before a *clear request* packet is sent, may be overtaken within the network by the *clear request* packet and subsequently be destroyed, as described in 4.5/X.25.
+
+
+
+## ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communication |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.292-200205-I_PDF-E/raw.md b/marked/X/T-REC-X.292-200205-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..0a894366798a859c6ec938715afd5cf9e680f1cc
--- /dev/null
+++ b/marked/X/T-REC-X.292-200205-I_PDF-E/raw.md
@@ -0,0 +1,12089 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, crossed by a lightning bolt.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.292
+
+(05/2002)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS
+
+Open Systems Interconnection – Conformance testing
+
+---
+
+**OSI conformance testing methodology and
+framework for protocol Recommendations for
+ITU-T applications – The Tree and Tabular
+Combined Notation (TTCN)**
+
+ITU-T Recommendation X.292
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS
+
+| | |
+|-----------------------------------------------|--------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# **OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – The Tree and Tabular Combined Notation (TTCN)**
+
+## **Summary**
+
+This Recommendation defines an informal test notation, called the Tree and Tabular Combined Notation (TTCN), for OSI conformance test suites, which is independent of test methods, layers and protocols, and which reflects the abstract testing methodology defined in ITU-T Recs X.290 and X.291. This edition incorporates corrections of defects received and is equivalent to ETSI TR 101 666, which is also known as TTCN2++.
+
+###### **Source**
+
+ITU-T Recommendation X.292 was prepared by ITU-T Study Group 17 (2001-2004) and approved under the WTSA Resolution 1 procedure on 14 May 2002.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2003
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## CONTENTS
+
+| | Page |
+|--------------------------------------------------------------------------------------------|-------------|
+| 1 Scope..... | 1 |
+| 2 Normative references ..... | 2 |
+| 2.1 Identical Recommendations International Standards ..... | 2 |
+| 2.2 Paired Recommendations International Standards equivalent in technical content ..... | 2 |
+| 2.3 Additional references ..... | 3 |
+| 3 Definitions..... | 3 |
+| 3.1 Basic terms from ITU-T Rec. X.290..... | 3 |
+| 3.2 Terms from ITU-T Rec. X.200 ..... | 5 |
+| 3.3 Terms from ITU-T Rec. X.210 ..... | 5 |
+| 3.4 Terms from ITU-T Rec. X.680 ..... | 5 |
+| 3.5 Terms from ITU-T Rec. X.690 ..... | 5 |
+| 3.6 TTCN specific terms..... | 5 |
+| 4 Abbreviations..... | 10 |
+| 4.1 Abbreviations defined in ITU-T Rec. X.290 ..... | 10 |
+| 4.2 Abbreviations defined in ITU-T Rec. X.291 ..... | 10 |
+| 4.3 Other abbreviations..... | 10 |
+| 5 The syntax forms of TTCN..... | 11 |
+| 6 Compliance ..... | 12 |
+| 7 Conventions ..... | 12 |
+| 7.1 Introduction..... | 12 |
+| 7.2 Syntactic metanotation..... | 12 |
+| 7.3 TTCN.GR table proformas ..... | 13 |
+| 7.3.1 Introduction ..... | 13 |
+| 7.3.2 Single TTCN object tables..... | 13 |
+| 7.3.3 Multiple TTCN object tables ..... | 14 |
+| 7.3.4 Alternative compact tables..... | 14 |
+| 7.3.5 Specification of proformas..... | 15 |
+| 7.4 Free Text and Bounded Free Text..... | 15 |
+| 8 Concurrency in TTCN ..... | 15 |
+| 8.1 Test components ..... | 15 |
+| 8.2 Test component configurations..... | 16 |
+| 9 TTCN test suite structure ..... | 17 |
+| 9.1 Introduction..... | 17 |
+| 9.2 Test Group References..... | 17 |
+| 9.3 Test Step Group References..... | 17 |
+| 9.4 Default Group References..... | 17 |
+| 9.5 Parts of a TTCN test suite ..... | 17 |
+| 10 Test Suite Overview ..... | 18 |
+| 10.1 Introduction..... | 18 |
+| 10.2 Test Suite Index ..... | 18 |
+| 10.3 Test Suite Structure..... | 19 |
+| 10.4 Test Case Index..... | 20 |
+| 10.5 Test Step Index ..... | 21 |
+| 10.6 Default Index ..... | 22 |
+| 10.7 Test Suite Exports..... | 23 |
+| 10.8 The Import Part..... | 24 |
+| 10.8.1 Introduction ..... | 24 |
+| 10.8.2 Imports ..... | 24 |
+
+| | Page |
+|-------------------------------------------------------------------|-------------|
+| 11 Declarations part ..... | 26 |
+| 11.1 Introduction..... | 26 |
+| 11.2 TTCN types ..... | 26 |
+| 11.2.1 Introduction ..... | 26 |
+| 11.2.2 Predefined TTCN types ..... | 26 |
+| 11.2.3 Test Suite Type Definitions ..... | 28 |
+| 11.3 TTCN operators and TTCN operations ..... | 32 |
+| 11.3.1 Introduction ..... | 32 |
+| 11.3.2 TTCN operators..... | 33 |
+| 11.3.3 Predefined operations ..... | 34 |
+| 11.3.4 Test suite operation definitions and descriptions ..... | 36 |
+| 11.4 Test suite parameter declarations..... | 41 |
+| 11.5 Test case selection expression definitions ..... | 42 |
+| 11.6 Test Suite Constant Declarations ..... | 42 |
+| 11.7 Test Suite Constant Declarations by Reference ..... | 43 |
+| 11.8 TTCN variables..... | 44 |
+| 11.8.1 Test Suite Variable Declarations ..... | 44 |
+| 11.8.2 Binding of Test Suite Variables..... | 45 |
+| 11.8.3 Test Case Variable Declarations..... | 45 |
+| 11.8.4 Binding of Test Case Variables ..... | 46 |
+| 11.9 PCO Type Declaration..... | 46 |
+| 11.10 PCO declarations ..... | 46 |
+| 11.11 CP declarations ..... | 48 |
+| 11.12 Timer declarations ..... | 49 |
+| 11.13 Test components and configuration declarations..... | 50 |
+| 11.13.1 Test components ..... | 50 |
+| 11.13.2 Test component configuration declarations ..... | 52 |
+| 11.14 ASP type definitions ..... | 54 |
+| 11.14.1 Introduction ..... | 54 |
+| 11.14.2 ASP type definitions using tables ..... | 54 |
+| 11.14.3 Use of structured types within ASP type definitions ..... | 55 |
+| 11.14.4 ASP type definitions using ASN.1..... | 56 |
+| 11.14.5 ASN.1 ASP type definitions by reference ..... | 56 |
+| 11.15 PDU type definitions ..... | 57 |
+| 11.15.1 Introduction ..... | 57 |
+| 11.15.2 PDU type definitions using tables..... | 57 |
+| 11.15.3 Use of Structured Types within PDU definitions ..... | 59 |
+| 11.15.4 PDU type definitions using ASN.1 ..... | 60 |
+| 11.15.5 ASN.1 PDU type definitions by reference..... | 61 |
+| 11.16 Test Suite Encoding Information ..... | 62 |
+| 11.16.1 Encoding Definitions ..... | 62 |
+| 11.16.2 Encoding variations ..... | 63 |
+| 11.16.3 Invalid field encoding definitions ..... | 65 |
+| 11.16.4 Application of encoding rules..... | 65 |
+| 11.17 CM type definitions ..... | 66 |
+| 11.17.1 Introduction ..... | 66 |
+| 11.17.2 CM type definitions using tables ..... | 67 |
+| 11.17.3 CM type definitions using ASN.1 ..... | 67 |
+| 11.18 String length specifications..... | 68 |
+| 11.19 ASP, PDU and CM definitions for SEND events ..... | 69 |
+| 11.20 ASP, PDU and CM definitions for RECEIVE events..... | 69 |
+| 11.21 Alias definitions..... | 70 |
+| 11.21.1 Introduction ..... | 70 |
+| 11.21.2 Expansion of aliases ..... | 70 |
+
+| | Page |
+|-----------------------------------------------------------------------|-------------|
+| 12 Constraints part ..... | 71 |
+| 12.1 Introduction ..... | 71 |
+| 12.2 General principles ..... | 71 |
+| 12.3 Parameterization of constraints ..... | 72 |
+| 12.4 Chaining of constraints ..... | 72 |
+| 12.5 Constraints for SEND events ..... | 72 |
+| 12.6 Constraints for RECEIVE events ..... | 72 |
+| 12.6.1 Matching values ..... | 72 |
+| 12.6.2 Matching mechanisms ..... | 73 |
+| 12.6.3 Specific value ..... | 74 |
+| 12.6.4 Instead of Value ..... | 74 |
+| 12.6.5 Inside Values ..... | 76 |
+| 12.6.6 Attributes of values ..... | 77 |
+| 13 Specification of constraints using tables ..... | 78 |
+| 13.1 Introduction ..... | 78 |
+| 13.2 Structured type constraint Declarations ..... | 78 |
+| 13.3 ASP constraint declarations ..... | 79 |
+| 13.4 PDU Constraint Declarations ..... | 80 |
+| 13.5 Parameterization of constraints ..... | 81 |
+| 13.6 Base constraints and modified constraints ..... | 82 |
+| 13.7 Formal parameter lists in modified constraints ..... | 82 |
+| 13.8 CM constraint declarations ..... | 82 |
+| 14 Specification of constraints using ASN.1 ..... | 83 |
+| 14.1 Introduction ..... | 83 |
+| 14.2 ASN.1 type constraint declarations ..... | 83 |
+| 14.3 ASN.1 ASP constraint declarations ..... | 84 |
+| 14.4 ASN.1 PDU constraint declarations ..... | 85 |
+| 14.5 Parameterized ASN.1 constraints ..... | 85 |
+| 14.6 Modified ASN.1 constraints ..... | 86 |
+| 14.7 Formal parameter lists in modified ASN.1 constraints ..... | 86 |
+| 14.8 ASP Parameter and PDU field names within ASN.1 constraints ..... | 86 |
+| 14.9 ASN.1 CM constraint declarations ..... | 87 |
+| 15 The dynamic part ..... | 87 |
+| 15.1 Introduction ..... | 87 |
+| 15.2 Test Case dynamic behaviour ..... | 87 |
+| 15.2.1 Specification of the Test Case Dynamic Behaviour table ..... | 87 |
+| 15.2.2 The Test Case Dynamic Behaviour proforma ..... | 88 |
+| 15.2.3 Structure of the Test Case behaviour ..... | 89 |
+| 15.2.4 Concurrent Test Case Behaviour description ..... | 89 |
+| 15.2.5 Line numbering and continuation ..... | 89 |
+| 15.3 Test Step dynamic behaviour ..... | 90 |
+| 15.3.1 Specification of the Test Step Dynamic Behaviour table ..... | 90 |
+| 15.3.2 The Test Step Dynamic Behaviour proforma ..... | 91 |
+| 15.4 Default dynamic behaviour ..... | 91 |
+| 15.4.1 Default behaviour ..... | 91 |
+| 15.4.2 Specification of the Default Dynamic Behaviour table ..... | 91 |
+| 15.4.3 The Default Dynamic Behaviour proforma ..... | 92 |
+| 15.5 The behaviour description ..... | 92 |
+| 15.6 The tree notation ..... | 92 |
+| 15.7 Tree names and parameter lists ..... | 93 |
+| 15.7.1 Introduction ..... | 93 |
+| 15.7.2 Trees with parameters ..... | 93 |
+| 15.8 TTCN statements ..... | 94 |
+
+| | Page |
+|----------------------------------------------------------------|-------------|
+| 15.9 TTCN test events ..... | 94 |
+| 15.9.1 Sending and receiving events ..... | 94 |
+| 15.9.2 Receiving events ..... | 94 |
+| 15.9.3 Sending events ..... | 95 |
+| 15.9.4 Lifetime of events ..... | 95 |
+| 15.9.5 Execution of the behaviour tree ..... | 95 |
+| 15.9.6 The IMPLICIT SEND event ..... | 97 |
+| 15.9.7 The OTHERWISE event ..... | 98 |
+| 15.9.8 OTHERWISE and concurrent TTCN ..... | 99 |
+| 15.9.9 The TIMEOUT event ..... | 99 |
+| 15.9.10 Concurrent TTCN events and constructs ..... | 100 |
+| 15.10 TTCN expressions ..... | 100 |
+| 15.10.1 Introduction ..... | 100 |
+| 15.10.2 References for ASN.1 defined data objects ..... | 101 |
+| 15.10.3 References for data objects defined using tables ..... | 103 |
+| 15.10.4 Assignments ..... | 103 |
+| 15.10.5 Qualifiers ..... | 104 |
+| 15.10.6 Event lines with assignments and qualifiers ..... | 104 |
+| 15.11 Pseudo-events ..... | 105 |
+| 15.12 Timer management ..... | 105 |
+| 15.12.1 Introduction ..... | 105 |
+| 15.12.2 The START operation ..... | 105 |
+| 15.12.3 The CANCEL operation ..... | 106 |
+| 15.12.4 The READTIMER operation ..... | 106 |
+| 15.13 The ATTACH construct ..... | 107 |
+| 15.13.1 Introduction ..... | 107 |
+| 15.13.2 Scope of tree attachment ..... | 107 |
+| 15.13.3 Tree attachment basics ..... | 107 |
+| 15.13.4 The meaning of tree attachment ..... | 108 |
+| 15.13.5 Passing parameterized constraints ..... | 109 |
+| 15.13.6 Recursive tree attachment ..... | 110 |
+| 15.13.7 Tree attachment and Defaults ..... | 110 |
+| 15.14 Labels and the GOTO construct ..... | 110 |
+| 15.15 The REPEAT construct ..... | 111 |
+| 15.16 The Constraints Reference ..... | 112 |
+| 15.16.1 Purpose of the Constraints Reference column ..... | 112 |
+| 15.16.2 Passing parameters in Constraint References ..... | 112 |
+| 15.16.3 Constraints and qualifiers and assignments ..... | 113 |
+| 15.17 Verdicts ..... | 113 |
+| 15.17.1 Introduction ..... | 113 |
+| 15.17.2 Preliminary results ..... | 113 |
+| 15.17.3 Final verdict ..... | 114 |
+| 15.17.4 Verdicts and OTHERWISE ..... | 114 |
+| 15.17.5 Verdict assignment in concurrent TTCN ..... | 115 |
+| 15.18 The meaning of Defaults ..... | 115 |
+| 15.18.1 Introduction ..... | 115 |
+| 15.18.2 Default References ..... | 116 |
+| 15.18.3 The RETURN statement ..... | 117 |
+| 15.18.4 The ACTIVATE statement ..... | 117 |
+| 15.18.5 Defaults and tree attachment ..... | 117 |
+| 15.18.6 Tree Attachment, Defaults, Activate and Return ..... | 118 |
+| 15.18.7 Defaults and CREATE ..... | 123 |
+| 15.18.8 Defaults and CMs ..... | 123 |
+| 16 Page continuation ..... | 125 |
+| 16.1 Page continuation of TTCN tables ..... | 125 |
+| 16.2 Page continuation of dynamic behaviour tables ..... | 125 |
+
+| | Page |
+|------------------------------------------------------------------------------------|-------------|
+| Annex A – Syntax and static semantics of TTCN ..... | 126 |
+| A.1 Introduction..... | 126 |
+| A.2 Conventions for the syntax description..... | 126 |
+| A.2.1 Syntactic metanotation..... | 126 |
+| A.2.2 TTCN.MP syntax definitions..... | 126 |
+| A.3 The TTCN.MP syntax productions in BNF ..... | 127 |
+| A.3.1 TTCN Specification..... | 127 |
+| A.3.2 TTCN Module ..... | 127 |
+| A.3.3 Test suite..... | 128 |
+| A.4 General static semantics requirements ..... | 151 |
+| A.4.1 Introduction ..... | 151 |
+| A.4.2 Uniqueness of identifiers ..... | 151 |
+| A.5 Differences between TTCN.GR and TTCN.MP..... | 155 |
+| A.5.1 Differences in syntax ..... | 155 |
+| A.5.2 Additional static semantics in the TTCN.MP ..... | 156 |
+| A.6 List of BNF production number..... | 156 |
+| Annex B – Operational semantics of TTCN ..... | 157 |
+| B.1 Introduction..... | 157 |
+| B.2 Precedence ..... | 157 |
+| B.3 Processing of test case errors ..... | 157 |
+| B.4 Converting a modularized test suite to an equivalent expanded test suite ..... | 157 |
+| B.5 TTCN operational semantics ..... | 158 |
+| B.5.1 Introduction ..... | 158 |
+| B.5.2 The pseudo-code notation..... | 158 |
+| B.5.3 Execution of a Test Suite..... | 159 |
+| B.5.4 Execution of a Test Case ..... | 160 |
+| B.5.5 Expanding a set of alternatives ..... | 161 |
+| B.5.6 Evaluation of an Event Line ..... | 163 |
+| B.5.7 Functions for TTCN events ..... | 164 |
+| B.5.8 Execution of the SEND event..... | 164 |
+| B.5.9 Execution of the RECEIVE event ..... | 165 |
+| B.5.10 Execution of the OTHERWISE event ..... | 166 |
+| B.5.11 Execution of the TIMEOUT event ..... | 167 |
+| B.5.12 Execution of the DONE event ..... | 168 |
+| B.5.13 Execution of the IMPLICIT SEND event..... | 169 |
+| B.5.14 Execution of a pseudo-event..... | 169 |
+| B.5.15 Execution of BOOLEAN expressions ..... | 170 |
+| B.5.16 Execution of assignments ..... | 170 |
+| B.5.17 Execution of TIMER operations..... | 170 |
+| B.5.18 Functions for TTCN constructs ..... | 171 |
+| B.5.19 Execution of the ACTIVATE construct..... | 172 |
+| B.5.20 Execution of the CREATE construct..... | 172 |
+| B.5.21 Execution of the GOTO construct ..... | 173 |
+| B.5.22 Execution of the RETURN construct ..... | 173 |
+| B.5.23 The verdict..... | 173 |
+| B.5.24 The Conformance Log..... | 174 |
+| B.5.25 Tree handling functions and procedures..... | 174 |
+| B.5.26 Miscellaneous functions used by the pseudo-code ..... | 176 |
+| Annex C – TTCN modules..... | 178 |
+| C.1 Introduction..... | 178 |
+| C.2 TTCN Module Overview Part ..... | 178 |
+| C.2.1 Introduction ..... | 178 |
+| C.2.2 TTCN Module Exports ..... | 178 |
+| C.2.3 TTCN Module Structure..... | 180 |
+| C.2.4 Test Case Index..... | 180 |
+| C.2.5 Test Step Index ..... | 180 |
+| C.2.6 Default Index ..... | 180 |
+
+| | Page |
+|--------------------------------------------------------------------------------|-------------|
+| C.3 Import Part ..... | 180 |
+| C.3.1 Introduction ..... | 180 |
+| C.3.2 External ..... | 180 |
+| C.3.3 Import ..... | 181 |
+| Annex D – Test Suite Index ..... | 182 |
+| Annex E – Compact proformas ..... | 183 |
+| E.1 Introduction ..... | 183 |
+| E.2 Compact proformas for constraints ..... | 183 |
+| E.2.1 Requirements ..... | 183 |
+| E.2.2 Compact proformas for ASP constraints ..... | 183 |
+| E.2.3 Compact proformas for PDU constraints ..... | 184 |
+| E.2.4 Compact proformas for Structured Type constraints ..... | 186 |
+| E.2.5 Compact proformas for ASN.1 constraints ..... | 188 |
+| E.3 Compact proforma for Test Cases ..... | 189 |
+| E.3.1 Requirements ..... | 189 |
+| E.3.2 Compact proforma for Test Case dynamic behaviours ..... | 189 |
+| Annex F – Examples ..... | 191 |
+| F.1 Examples of tabular constraints ..... | 191 |
+| F.1.1 ASP and PDU definitions ..... | 191 |
+| F.1.2 ASP/PDU constraints ..... | 192 |
+| F.2 Examples of ASN.1 constraints ..... | 195 |
+| F.2.1 ASP and PDU definitions ..... | 195 |
+| F.2.2 ASN.1 ASP/PDU constraints ..... | 197 |
+| F.2.3 Further examples of ASN.1 constraints ..... | 200 |
+| F.3 Base and modified constraints ..... | 202 |
+| F.4 Type definition using macros ..... | 204 |
+| F.5 Use of REPEAT ..... | 205 |
+| F.6 Test suite operations ..... | 206 |
+| F.7 Example of a Test Suite Overview ..... | 206 |
+| F.8 Example of a Test Case in TTCN.MP Form ..... | 208 |
+| F.9 Use of component reference for field value assignment in constraints ..... | 210 |
+| F.10 Multi-party testing ..... | 212 |
+| F.11 Multiplexing/Demultiplexing ..... | 213 |
+| F.12 Splitting and recombining ..... | 214 |
+| F.13 Multi-protocol test cases ..... | 214 |
+| F.14 Example of modular TTCN ..... | 215 |
+| Annex G – Style guide ..... | 216 |
+| G.1 Introduction ..... | 216 |
+| G.2 Test case structure ..... | 216 |
+| G.3 Use of TTCN with different abstract test methods ..... | 217 |
+| G.3.1 Introduction ..... | 217 |
+| G.3.2 TTCN and the LS test method ..... | 217 |
+| G.3.3 TTCN and the DS test method ..... | 217 |
+| G.3.4 TTCN and the CS test method ..... | 217 |
+| G.3.5 TTCN and the RS test method ..... | 217 |
+| G.4 Use of defaults ..... | 218 |
+| G.5 Limiting the execution time of a Test Case ..... | 218 |
+| G.6 Structured types ..... | 218 |
+| G.7 Abbreviations ..... | 218 |
+| G.8 Test descriptions ..... | 219 |
+| G.9 Assignments on SEND events ..... | 219 |
+| G.10 Multi-service PCOs ..... | 219 |
+| Annex H – Index ..... | 220 |
+| H.1 Introduction ..... | 220 |
+| H.2 The index ..... | 220 |
+
+## Introduction
+
+This Recommendation defines an informal test notation, called the Tree and Tabular Combined Notation (TTCN), for use in the specification of OSI abstract conformance test suites.
+
+In constructing a standardized abstract test suite, a test notation is used to describe abstract test cases. The test notation can be an informal notation (without formally defined semantics) or a Formal Description Technique (FDT). TTCN is an informal notation with clearly defined, but not formally defined semantics.
+
+TTCN is designed to meet the following objectives:
+
+- a) to provide a notation in which abstract test cases can be expressed in standardized test suites;
+- b) to provide a notation which is independent of test methods, layers and protocols;
+- c) to provide a notation which reflects the abstract testing methodology defined in the X.290-series Recommendations;
+- d) to provide a capability to use concurrency in the specification of abstract test cases, when appropriate, in both multi-party testing and single-party testing.
+
+In the abstract testing methodology a test suite is looked upon as a hierarchy ranging from complete test suite, through test group, test cases and test steps, down to test events. TTCN provides a naming structure to reflect the positions of test cases in this hierarchy. It also provides the means of structuring test cases as a hierarchy of test steps culminating in test events. In TTCN, the basic test events are sending and receiving Abstract Service Primitives (ASPs), Protocol Data Units (PDUs) and timer events.
+
+Two forms of the notation are provided: a human-readable tabular form, called TTCN.GR for use in OSI conformance test suite standards, and a machine processable form, called TTCN.MP, for use in representing TTCN in a canonical form within computer systems and as the syntax to be used when transferring TTCN test cases between different computer systems. The two forms are semantically equivalent.
+
+This edition of ITU-T Rec. X.292 incorporates corrections of defects received on ITU-T Rec. X.292 (1998). It is technically equivalent to ETSI TR 101 666 (1999-05), which is also known as TTCN2++.
+
+TTCN2++, as defined in ITU-T Rec. X.292 (2002), serves as an intermediate definition of TTCN, between ITU-T Recs X.292 (1998) and Z.140 (2001). It is intended to fulfil the need to maintain test suites that were created on the basis of ITU-T Rec. X.292 (1998). However, it is recommended that new test suites make use of TTCN-3 defined in the Z.140-series of ITU-T Recommendations.
+
+
+
+## OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – The Tree and Tabular Combined Notation (TTCN)1
+
+The ITU-T,
+
+*considering*
+
+- a) that ITU-T Rec. X.200 defines the Reference Model of Open Systems Interconnection for ITU-T Applications;
+- b) that the objective of OSI will not be completely achieved until systems can be tested to determine whether they conform to the relevant OSI protocol Recommendations;
+- c) that standardized test suites should be developed for each OSI protocol Recommendation as a means to:
+ - obtain wide acceptance and confidence in conformance test results produced by different testers;
+ - provide confidence in the interoperability of equipments which passed the standardized conformance tests;
+- d) the need for standardizing the conformance testing process to achieve an acceptable and useful degree of comparability of results of conformance assessments of similar products,
+
+*unanimously declares the view*
+
+that the notation in which generic and abstract test cases are written should be in accordance with this Recommendation.
+
+### 1 Scope
+
+This Recommendation defines an informal test notation, called the Tree and Tabular Combined Notation (TTCN), for OSI conformance test suites, which is independent of test methods, layers and protocols, and which reflects the abstract testing methodology defined in ITU-T Recs X.290 and X.291.
+
+It also specifies requirements and provides guidance for using TTCN in the specification of system-independent conformance test suites for one or more OSI standards. It specifies two forms of the notation: one, a human-readable form, applicable to the production of conformance test suite standards for OSI protocols; and the other, a machine-processable form, applicable to processing within and between computer systems.
+
+This Recommendation applies to the specification of conformance test cases that can be expressed abstractly in terms of control and observation of protocol data units and abstract service primitives. Nevertheless, for some protocols, test cases may be needed which cannot be expressed in these terms. The specification of such test cases is outside the scope of this Recommendation, although those test cases may need to be included in a conformance test suite standard.
+
+For example, some static conformance requirements related to an application service may require testing techniques, which are specific to that particular application.
+
+The specification of test cases in which more than one behaviour description is to be run in parallel is dealt with by the concurrency features (particularly involving the definition of Test Components and Test Component Configurations).
+
+This Recommendation specifies requirements on what a test suite standard may specify about a conforming realization of the test suite, including the operational semantics of TTCN test suites.
+
+---
+
+1 ITU-T Rec. X.292 (2002) is an update of technically aligned ITU-T Rec. X.292 (1998) and ISO/IEC 9646-3:1998, Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 3: The Tree and Tabular Combined Notation (TTCN).
+
+This Recommendation applies to the specification of conformance test suites for OSI protocols in OSI layers 2 to 7, specifically including Abstract Syntax Notation One (ASN.1) based protocols. The following are outside the scope of this Recommendation:
+
+- a) the specification of conformance test suites for Physical layer protocols;
+- b) the relationship between TTCN and formal description techniques;
+- c) the means of realization of executable test suites (ETS) from abstract test suites.
+
+This Recommendation defines mechanisms for using concurrency in the specification of abstract test cases. Concurrency in TTCN is applicable to the specification of test cases:
+
+- a) in a multi-party testing context;
+- b) which handle multiplexing and demultiplexing in either a single-party or multi-party testing context;
+- c) which handle splitting and recombining in either a single-party or multi-party testing context;
+- d) in a single-party testing context when the complexity of the protocol or set of protocols handled by the IUT is such that concurrency can simplify the specification of the test case.
+
+TTCN modules are defined to allow sharing of common TTCN specifications between test suites.
+
+## 2 Normative references
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+### 2.1 Identical Recommendations | International Standards
+
+- ITU-T Recommendation X.200 (1994) | ISO/IEC 7498-1:1994, *Information technology – Open Systems Interconnection – Basic Reference Model: The Basic Model*.
+- ITU-T Recommendation X.210 (1993) | ISO/IEC 10731:1994, *Information technology – Open Systems Interconnection – Basic Reference Model: Conventions for the definition of OSI services*.
+- ITU-T Recommendation X.680 (1997) | ISO/IEC 8824-1:1998, *Information technology – Abstract Syntax Notation One (ASN.1): Specification of basic notation*.
+- ITU-T Recommendation X.681 (1997) | ISO/IEC 8824-2:1998, *Information technology – Abstract Syntax Notation One (ASN.1): Information object specification*.
+- ITU-T Recommendation X.682 (1997) | ISO/IEC 8824-3:1998, *Information technology – Abstract Syntax Notation One (ASN.1): Constraint specification*.
+- ITU-T Recommendation X.683 (1997) | ISO/IEC 8824-4:1998, *Information technology – Abstract Syntax Notation One (ASN.1): Parameterization of ASN.1 specifications*.
+- ITU-T Recommendation X.690 (1997) | ISO/IEC 8825-1:1998, *Information technology – ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)*.
+- ITU-T Recommendation X.691 (1997) | ISO/IEC 8825-2:1998, *Information technology – ASN.1 encoding rules: Specification of Packed Encoding Rules (PER)*.
+
+### 2.2 Paired Recommendations | International Standards equivalent in technical content
+
+- ITU-T Recommendation X.290 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – General concepts*.
+ISO/IEC 9646-1:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 1: General concepts*.
+
+- ITU-T Recommendation X.291 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Abstract test suite specification.*
+ISO/IEC 9646-2:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 2: Abstract test suite specification.*
+- ITU-T Recommendation X.293 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Test realization.*
+ISO/IEC 9646-4:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 4: Test realization.*
+- ITU-T Recommendation X.294 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Requirements on test laboratories and clients for the conformance assessment process.*
+ISO/IEC 9646-5:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 5: Requirements on test laboratories and clients for the conformance assessment process.*
+- ITU-T Recommendation X.295 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Protocol profile test specification.*
+ISO/IEC 9646-6:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 6: Protocol profile test specification.*
+- ITU-T Recommendation X.296 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Implementation conformance statements.*
+ISO/IEC 9646-7:1995, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 7: Implementation conformance statements.*
+
+## 2.3 Additional references
+
+- ISO/IEC 646:1991, *Information technology – ISO 7-bit coded character set for information interchange.*
+- ISO/IEC 10646-1:2000, *Information technology – Universal Multiple-Octet Coded Character Set (UCS) – Part 1: Architecture and Basic Multilingual Plane.*
+
+## 3 Definitions
+
+### 3.1 Basic terms from ITU-T Rec. X.290
+
+For the purposes of this Recommendation, the terms and definitions given in ITU-T Rec. X.290 apply:
+
+- a) *abstract service primitive;*
+- b) *abstract testing methodology;*
+- c) *abstract test case;*
+- d) *abstract test method;*
+- e) *abstract test suite;*
+- f) *conformance log;*
+- g) *conformance test suite;*
+- h) *co-ordinated test method;*
+- i) *distributed test method;*
+- j) *executable test case;*
+- k) *executable test case error;*
+- l) *executable test suite;*
+
+- m) *fail verdict;*
+- n) *idle testing state;*
+- o) *implementation under test;*
+- p) *inconclusive verdict;*
+- q) *invalid test event;*
+- r) *local test method;*
+- s) *lower tester;*
+- t) *means of testing;*
+- u) *pass verdict;*
+- v) *PICS proforma;*
+- w) *PIXIT proforma;*
+- x) *protocol implementation conformance statement;*
+- y) *protocol implementation extra information for testing;*
+- z) *point of control and observation;*
+- aa) *remote test method;*
+- ab) *stable testing state;*
+- ac) *standardized abstract test suite;*
+- ad) *static conformance requirements;*
+- ae) *syntactically invalid test event;*
+- af) *system under test;*
+- ag) *test body;*
+- ah) *test case;*
+- ai) *test case error;*
+- aj) *test co-ordination procedures;*
+- ak) *test event;*
+- al) *test group;*
+- am) *test group objective;*
+- an) *test laboratory;*
+- ao) *test management protocol;*
+- ap) *test outcome;*
+- aq) *(test) postamble;*
+- ar) *(test) preamble;*
+- as) *test purpose;*
+- at) *test realization;*
+- au) *test realizer;*
+- av) *test step;*
+- aw) *test suite;*
+- ax) *test system;*
+- ay) *upper tester;*
+- az) *(test) verdict;*
+- ba) *testing state.*
+
+### 3.2 Terms from ITU-T Rec. X.200
+
+For the purposes of this Recommendation, the terms and definitions given in ITU-T Rec. X.200 apply:
+
+- a) *layer (particularly for application, session and transport layers);*
+- b) *protocol-data-unit;*
+- c) *service-access-point;*
+- d) *subnetwork;*
+- e) *transfer syntax.*
+
+### 3.3 Terms from ITU-T Rec. X.210
+
+For the purposes of this Recommendation, the terms and definitions given in ITU-T Rec. X.210 apply:
+
+- a) *OSI-service-provider.*
+
+### 3.4 Terms from ITU-T Rec. X.680
+
+For the purposes of this Recommendation, the terms and definitions given in ITU-T Rec. X.680 apply:
+
+- a) *bitstring type;*
+- b) *characterstring type;*
+- c) *enumerated type;*
+- d) *external type;*
+- e) *object identifier;*
+- f) *octetstring type;*
+- g) *real type;*
+- h) *selection type;*
+- i) *sequence type;*
+- j) *sequence-of type;*
+- k) *set type;*
+- l) *set-of type;*
+- m) *subtype.*
+
+NOTE – Where there may be ambiguity with TTCN terms, these terms are prefixed with the term ASN.1.
+
+### 3.5 Terms from ITU-T Rec. X.690
+
+For the purposes of this Recommendation, the term given in ITU-T Rec. X.690 applies:
+
+- a) *encoding.*
+
+### 3.6 TTCN specific terms
+
+This Recommendation defines the following terms:
+
+**3.6.1 applicable encoding rules:** Actual encoding rules that are to be used when sending or receiving a PDU, after all relevant encoding defaults and overrides, if any, have been combined.
+
+**3.6.2 attach construct:** TTCN statement which attaches a Test Step to a calling tree.
+
+**3.6.3 base constraint:** Specifies a set of default values for each and every field in an ASP or PDU type definition.
+
+**3.6.4 base type:** Type from which a type defined in a test suite is derived.
+
+**3.6.5 behaviour line:** Entry in a dynamic behaviour table representing a test event or other TTCN statement together with associated label, verdict, constraints reference and comment information as applicable.
+
+- 3.6.6 behaviour tree:** Specification of a set of sequences of test events, and other TTCN statements.
+- 3.6.7 blank entry:** In a modified compact constraint table a blank entry in a constraint parameter or field denotes that a constraint value is to be inherited.
+- 3.6.8 calling tree:** Behaviour tree to which a Test Step is attached.
+- 3.6.9 compact constraint table:** Declaration of a set of constraints for an ASP, PDU or Structured Type arranged in a single table.
+- 3.6.10 compact test case table:** Declaration of a set of Test Cases for a given Test Group arranged in a single table.
+- 3.6.11 concurrent test case:** Test case which is specified using concurrent TTCN.
+- 3.6.12 concurrent TTCN:** TTCN that uses test components and test component configurations in order to express concurrency in the dynamic behaviour of test cases.
+- 3.6.13 constraints part:** That part of a TTCN test suite concerned with the specification of the values of ASP parameters and PDU fields being sent to the IUT, and conditions on ASP parameters and PDU fields received from the IUT.
+- 3.6.14 constraints reference:** Reference to a constraint, given in a behaviour line.
+- 3.6.15 co-ordination message (CM):** Item of structured information which may be transferred from one Test Component to another at a Co-ordination Point.
+- 3.6.16 co-ordination point (CP):** Point within a testing environment, assigned to two Test Components in a Test Component Configuration, where CMs may be exchanged asynchronously between these Test Components.
+- 3.6.17 declarations part:** That part of a TTCN test suite concerned with the definition and/or declaration of all non-predefined objects that are used in the test suite.
+- 3.6.18 default behaviour:** Events, and other TTCN statements, which may occur at any level of the associated tree, and which are indicated in the Default behaviour proforma.
+- 3.6.19 default group:** Named set of default behaviours.
+- 3.6.20 default group reference:** Path specifying the logical location of a Default in the Default Library.
+- 3.6.21 default identifier:** Unique name for a Default.
+- 3.6.22 default library:** Set of the Default behaviours in a test suite.
+- 3.6.23 default reference:** Reference to a Default in the Default Library from a Test Case or Test Step table.
+- 3.6.24 derivation path:** Identifier, consisting of a base constraint identifier concatenated with one or more modified constraint identifiers, separated by dots and finishing with a dot.
+- 3.6.25 dynamic chaining:** Linking from constraint declarations of an ASP parameter or PDU field to the constraint declaration of another PDU by means of parameterization. Which PDUs are chained is specified in the constraints reference of a behaviour line.
+- 3.6.26 dynamic part:** That part of a TTCN test suite concerned with the specification of Test Case, Test Step and Default dynamic behaviour descriptions.
+- 3.6.27 expanded test suite:** Test suite with all imported objects expanded. This will be a result of converting of a modularized test suite according to the algorithm in Annex B.
+- 3.6.28 explicit external:** Named object in the External table. An object that is explicitly declared as external in a module is to be explicitly defined or exported as an external object.
+
+- 3.6.29 explicitly defined object:** Object for which a definition or declaration exists in the module or test suite.
+- 3.6.30 explicitly exported object:** Named object in the Exports tables being available for use. If the object is an imported object, the name of the source object is to be given.
+- 3.6.31 explicitly imported object:** Named object in the Import tables being available for explicit references.
+- 3.6.32 exported object:** Explicitly defined object or explicitly imported object in a source object, made available for use in any other module or test suite. An exported object is either an explicitly exported object or an implicitly exported object.
+- 3.6.33 external object:** Object being referred to by its name in a module, but neither imported nor explicitly defined. An external object is to be declared in the External table. An external object may be either explicitly external or implicitly external.
+- 3.6.34 global result variable:** Predefined test case variable maintained by a Main Test Component in the MPyT context or by the test case in the SPyT context to record the accumulated effect of all the preliminary results of the test case in order to determine the test verdict.
+- 3.6.35 implicit external:** Externally declared object in an export table which is omitted from a corresponding Import table.
+- 3.6.36 implicitly exported object:** Explicitly defined object or explicitly imported object, which is not itself explicitly exported but which is referred to by an explicitly exported object.
+- 3.6.37 implicitly imported object:** Object referred to by some explicitly imported object. The use of an implicitly imported object is restricted to the explicitly imported objects (from the same source object) referring to it.
+- 3.6.38 implicit send event:** Mechanism used in Remote Test Methods for specifying that the IUT should be made to initiate a particular PDU or ASP.
+- 3.6.39 imported object:** Object copied from some other source object, being available for use. An imported object is either an explicitly imported object or an implicitly imported object.
+- 3.6.40 level of indentation:** Indicates the tree structure of a behaviour description. It is reflected in the behaviour description by indentation of text.
+- 3.6.41 local result variable:** Predefined variable maintained by a Test Component to record the accumulated effect of its preliminary results.
+- 3.6.42 local tree:** Behaviour tree defined in the same proforma as its calling tree.
+- 3.6.43 main test component (MTC):** Single Test Component in a Test Component Configuration responsible for creating and controlling Parallel Test Components and computing and assigning the test verdict.
+- 3.6.44 modified constraint:** Constraint defined for an ASP or a PDU that already has a base constraint, and which makes modifications on that base constraint.
+- 3.6.45 modularized test suite:** Test suite containing Import tables.
+- 3.6.46 module:** Self-contained collection of TTCN objects. All referenced objects are either explicitly defined in the Module, are imported from other sources or are defined as external objects in the module.
+- 3.6.47 non-concurrent test case:** Test case, which is specified in TTCN but without using concurrent TTCN.
+- 3.6.48 object:** Element of one of the object categories listed in A.4.2 for TTCN objects with a globally unique identifier and for ASN.1 identifiers which are globally unique throughout the test suite.
+- 3.6.49 operational semantics:** Semantics explaining the execution of a TTCN behaviour tree.
+
+- 3.6.50 original source object:** Module or test suite where an object is explicitly defined.
+- 3.6.51 otherwise event:** TTCN mechanism for dealing with unforeseen test events in a controlled way.
+- 3.6.52 overview part:** That part of a TTCN test suite concerned with presenting an overview of the structure of the test suite, the structure (if any) of the Test Step Library, the structure (if any) of the Default Library and the association of selection expressions (if any) with Test Cases and/or Test Groups. This part also provides indexes to Test Cases, Test Steps and Defaults.
+- 3.6.53 parallel test component (PTC):** Test component created by the main test component.
+- 3.6.54 preliminary result:** Result recorded before the end of a test case indicating whether the associated part of the test case passed, failed or was inconclusive.
+- 3.6.55 pseudo-event:** Pseudo-event is a TTCN expression or Timer operation appearing on a statement line in the behaviour description without any associated event.
+- 3.6.56 qualified event:** Event that has an associated Boolean expression.
+- 3.6.57 receive event:** Receipt of an ASP or PDU at a named or implied PCO.
+- 3.6.58 result variable:** Predefined test case variable for storing preliminary results. In non-concurrent TTCN, there is one result variable called R. In concurrent TTCN, there is one global result variable called R, each PTC has a local result variable called R, and the MTC has a local result variable called MTC\_R.
+- 3.6.59 root tree:** Main behaviour tree of a Test Case, occurring at the level of entry into the Test Case.
+- 3.6.60 send event:** Sending of an ASP or PDU to a named or implied PCO.
+- 3.6.61 set of alternatives:** TTCN statements coded at the same level of indentation and belonging to the same predecessor node. They represent the possible events, pseudo-events and constructs which are to be considered at the relevant point in the execution of the Test Case.
+- 3.6.62 single constraint table:** Declaration of a constraint for a single ASP or PDU of a given type arranged in a single table.
+- 3.6.63 snapshot semantics:** Semantic model to eliminate the effect of timing on the execution of a Test Case, defined in terms of snapshots of the test environment, during which the environment is effectively frozen for a prescribed period.
+- 3.6.64 source object:** Module or test suite which is imported and has a corresponding Import table.
+- 3.6.65 specific value:** Value in TTCN which does not contain any matching mechanism or unbound variable.
+- 3.6.66 static chaining:** Linking from constraint declarations of an ASP parameter or PDU field to the constraint declaration of another PDU by explicitly referencing a constraint as its value.
+- 3.6.67 static semantics:** Semantic rules that restrict the usage of the TTCN syntax.
+- 3.6.68 structured type:** Collection of one or more ASP parameters or PDU fields which may exist in one or more ASP or PDU type definition which is defined in a separate declaration and which may be used to specify a portion of a flat structure or a substructure within the ASP or PDU.
+- 3.6.69 submodule:** Module which is included in another module.
+
+- 3.6.70 test case identifier:** Unique name for a Test Case.
+- 3.6.71 test case variable:** One of a set of variables declared globally to the test suite, but whose value is retained only for the execution of a single Test Case.
+- 3.6.72 test component:** Named subdivision of a concurrent test case capable of being executed in parallel with other test components, and declared as having a fixed number of PCOs and a fixed or maximal number of CPs.
+- 3.6.73 test component configuration:** Fixed arrangement of Test Components, PCOs and CPs that is declared for use in concurrent test cases.
+- 3.6.74 test group reference:** Path specifying the logical location of a Test Case in the ATS structure.
+- 3.6.75 test step group:** Named set of test steps.
+- 3.6.76 test step group reference:** Path specifying the logical location of a Test Step in the Test Step Library.
+- 3.6.77 test step identifier:** Unique name for a Test Step.
+- 3.6.78 test step library:** Set of the Test Step dynamic behaviour descriptions in the test suite, that are not local Test Steps.
+- 3.6.79 test step objective:** Informal statement of what the Test Step is meant to accomplish.
+- 3.6.80 test suite constant:** One of a set of constants, not derived from the PICS or PIXIT, which will remain constant throughout the test suite.
+- 3.6.81 test suite parameter:** One of a set of constants derived from the PICS or PIXIT which globally parameterize a test suite.
+- 3.6.82 test suite variable:** One of a set of variables declared globally to a test suite and retains its value between Test Cases.
+- 3.6.83 timeout event:** Event which is used within a behaviour tree to check for expiration of a specified timer.
+- 3.6.84 tree attachment:** Method of indicating that a behaviour tree specified elsewhere (either at a different point in the current proforma, or as a Test Step in the Test Step Library) is to be included in the current behaviour tree.
+- 3.6.85 tree header:** Identifier for a local tree followed by an optional list of formal parameters for the tree.
+- 3.6.86 tree identifier:** Name identifying a local tree.
+- 3.6.87 tree leaf:** TTCN statement in a behaviour tree or Test Step which has no specified subsequent behaviour.
+- 3.6.88 tree node:** Single TTCN statement.
+- 3.6.89 tree notation:** Notation used in TTCN to represent Test Cases as trees.
+- 3.6.90 TTCN statement:** Event, a pseudo-event or construct which is specified in a behaviour description.
+- 3.6.91 unforeseen test event:** Test event which has not been identified as a test event within a foreseen test outcome in the test suite. It is normally handled using the OTHERWISE event.
+- 3.6.92 unqualified event:** Event that does not have an associated Boolean expression.
+
+## **4 Abbreviations**
+
+### **4.1 Abbreviations defined in ITU-T Rec. X.290**
+
+For the purposes of this Recommendation, the following abbreviations defined in clause 4/X.290 apply:
+
+| | |
+|-------|-------------------------------------------------------|
+| ASP | Abstract Service Primitive |
+| ATS | Abstract Test Suite |
+| ETS | Executable Test Suite |
+| IUT | Implementation Under Test |
+| LT | Lower Tester |
+| LTCF | Lower Tester Control Function |
+| MOT | Means of Testing |
+| PCO | Point of Control and Observation |
+| PICS | Protocol Implementation Conformance Statement |
+| PIXIT | Protocol Implementation Extra Information for Testing |
+| SUT | System Under Test |
+| TMP | Test Management Protocol |
+| UT | Upper Tester |
+| UTCf | Upper Tester Control Function |
+
+### **4.2 Abbreviations defined in ITU-T Rec. X.291**
+
+For the purposes of this Recommendation, the following abbreviations defined in clause 4/X.291 apply:
+
+| | |
+|------|-----------------------------------------|
+| CS | Co-ordinated Single-layer (test method) |
+| DS | Distributed Single-layer (test method) |
+| LS | Local Single-layer (test method) |
+| RS | Remote Single-layer (test method) |
+| TTCN | Tree and Tabular Combined Notation |
+
+### **4.3 Other abbreviations**
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|--------------------------------------------|
+| ASN.1 | Abstract Syntax Notation One |
+| BNF | The extended Backus-Naur Form used in TTCN |
+| CM | Co-ordination Message |
+| CP | Co-ordination Point |
+| FDT | Formal Description Technique |
+| FIFO | First in First out |
+| MTC | Main Test Component |
+| OSI | Open Systems Interconnection |
+
+| | |
+|---------|--------------------------------------------------------------|
+| PDU | Protocol Data Unit |
+| PTC | Parallel Test Component |
+| SAP | Service Access Point |
+| TCP | Test Co-ordination Procedures |
+| TTCN.GR | Tree and Tabular Combined Notation, Graphical Form |
+| TTCN.MP | Tree and Tabular Combined Notation, Machine Processable Form |
+
+## 5 The syntax forms of TTCN
+
+TTCN is provided in two forms:
+
+- a graphical form (TTCN.GR) suitable for human readability;
+- a machine processable form (TTCN.MP) suitable for transmission of TTCN descriptions between machines and possibly suitable for other automated processing.
+
+TTCN.GR is defined using tabular proformas. TTCN.MP is defined using syntax productions which have special TTCN.MP keywords as terminal symbols instead of the fixed parts of the tabular proformas (*e.g.*, the box lines and headers).
+
+The syntax productions of TTCN.MP are specified in Annex A.
+
+The text description of TTCN.GR is intended to be consistent with the underlying syntax as defined in the TTCN.MP syntax productions, except for the differences identified in A.5 and the static semantic restrictions specified in Annex A (which are common to both TTCN.MP and TTCN.GR).
+
+If there is any conflict between the TTCN.GR syntax, on the one hand, and the static and operational semantics, on the other, as described by the text and as described by Annex A, then:
+
+- a) except for the differences specified in A.5, the TTCN.MP syntax productions shall have precedence over the text and syntax productions in the body of this Recommendation;
+- b) the static semantics restrictions specified in A.4 and in the static semantics comments (marked STATIC SEMANTICS) on the syntax productions in A.3 specify restrictions on what is valid TTCN, restricting what is allowed according to the syntax productions;
+- c) similarly, the operational semantics restrictions specified in the operational semantics comments (marked OPERATIONAL SEMANTICS) on the syntax productions in A.3 specify restrictions on what is valid TTCN at run-time, restricting what is allowed according to the syntax productions;
+- d) the static and operational semantics restrictions specified in Annex A shall have precedence over the text in the body of this Recommendation.
+
+If an ATS is specified in TTCN.GR in compliance with this Recommendation, then there is a unique corresponding TTCN.MP representation of that ATS sharing the same underlying syntax. These two representations have identical operational semantics. Two different representations of an ATS are equivalent if and only if they have identical operational semantics.
+
+NOTE – If there is a standardized ATS specified in TTCN.GR and an apparently equivalent TTCN.MP representation, but there is a conflict in interpretation of the operational semantics of the two, then the operational semantics of the TTCN.GR takes precedence, because it is the TTCN.GR version that is the standardized ATS.
+
+## 6 Compliance
+
+ATSS that comply with this Recommendation shall satisfy the requirements for either TTCN.GR or TTCN.MP.
+
+NOTE 1 – See clause 10/X.290, for an explanation of the use of the term "compliance" in ITU-T X.290-series of Recommendations.
+
+ATSS that comply with the requirements of TTCN.GR shall satisfy the TTCN.GR syntax requirements stated in clauses 9 through 16 and A.4.
+
+ATSS that comply with the requirements of TTCN.MP shall satisfy the TTCN.MP syntax requirements stated in A.3.
+
+ATSS that comply with this Recommendation shall satisfy the static semantic requirements specified in clauses 7 through 16 and Annex A and have operational semantics in accordance with the definition of the operational semantics in Annex B together with the operational semantics restrictions specified in A.3, such that they are semantically valid.
+
+A standardized ATS that complies with this Recommendation shall require that any realization of that test suite that claims to conform to that standardized ATS shall:
+
+- a) have operational semantics equivalent to the operational semantics of the test suite as defined by Annex B;
+- b) meet the additional operational semantics requirements specified in A.3;
+- c) comply with ITU-T Rec. X.293.
+
+NOTE 2 – If, during execution of the executable test case that conforms to the TTCN specification of the corresponding abstract test case, a static semantic or operational semantic error is detected, then a test laboratory complying with ITU-T Rec. X.294 will record an abstract or executable test case error, depending on where the error is located.
+
+## 7 Conventions
+
+### 7.1 Introduction
+
+The following conventions have been used when defining the TTCN.GR table proformas and the TTCN.MP grammar.
+
+### 7.2 Syntactic metanotation
+
+Table 1 defines the metanotation used to specify the extended BNF grammar for TTCN (henceforth called BNF):
+
+**Table 1/X.292 – The TTCN.MP syntactic metanotation**
+
+| | |
+|------------|-----------------------------|
+| ::= | is defined to be |
+| abc xyz | abc followed by xyz |
+| | alternative |
+| [abc] | 0 or 1 instances of abc |
+| {abc} | 0 or more instances of abc |
+| {abc}+ | 1 or more instances of abc |
+| ( ... ) | textual grouping |
+| abc | the non-terminal symbol abc |
+| abc | a terminal symbol abc |
+| "abc" | a terminal symbol abc |
+
+*EXAMPLE 1* – Use of the BNF metanotation:
+
+FormalParList ::= "(" FormalPar&Type {SemiColon FormalPar&Type} ")"
+
+The following conventions will be used for text used in table proformas:
+
+- a) Bold text (**like this**) shall appear verbatim in each actual table in a TTCN test suite;
+- b) Text in italics (*like this*) shall not appear verbatim in a TTCN test suite. This font is used to indicate that actual text shall be substituted for the italicized symbol. Syntax requirements for the actual text can be found in the corresponding TTCN.MP BNF production.
+
+*EXAMPLE 2 – SuiteIdentifier* corresponds to production 3 in Annex A.
+
+## 7.3 TTCN.GR table proformas
+
+### 7.3.1 Introduction
+
+The TTCN.GR is defined using two types of table:
+
+- a) single TTCN object tables (see 7.3.2),
+which are used to define, declare or describe a single TTCN object such as a PDU declaration or a Test Case dynamic behaviour;
+- b) multiple TTCN object tables (see 7.3.3);
+are used to define a number of TTCN objects of the same type in a single table, such as simple type definitions or Test Case Variables.
+
+### 7.3.2 Single TTCN object tables
+
+The general layout of a table for a single TTCN object is shown in Figure 1.
+
+| Title of Table | | | ↑↓ Title
Header
| |
+|--------------------------------------------------------------------|-----------------------|-------------------------|---------------------------------------|--|
+| Object Name : | | | | |
+| Group : (Optional way of grouping together related objects) | | | | |
+| : | | | | |
+| Comments : This entire comment line is optional. | | | Body
Footer
| |
+| Object Name | ... Other Columns ... | Comments | | |
+| | | This column is optional | | |
+| Detailed Comments: This footer is optional. | | | | |
+
+**Figure 1/X.292 – Generalized layout of a single declaration table**
+
+The header of the table contains general information on the object defined in the table. The first item in the header, named *Object Name*, contains an identifier for the object. A second item, named *Group*, may be used to provide an identifier to group together related objects in the same category. This item is optional. The last item, named *Comments* contains an informal description of the object. This item is optional.
+
+The body of the table consists of one or more columns. Each column has a title. The rightmost column, titled *Comments*, contains informal descriptions of the components of the object specified in the body. It does not exist in all proformas. In proformas containing a comments column this column can be omitted.
+
+The footer of the table contains one item, named *Detailed Comments*. This footer can be used for the same purposes as the comments column in the body of the table. The test suite specifier can use the detailed comments footer in combination with the comments column, instead of a comments column, or not at all, in which case the footer can be omitted.
+
+7.3.3 Multiple TTCN object tables
+
+The general layout of a table for multiple TTCN objects is shown below:
+
+| Title of Table | | |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|----------|
+| Group : (Optional way of grouping together related sets of objects) | | |
+| Collective Comment:A comment valid for the below defined/declared objects. This comment has a scope reaching to next Collective Comment or until the end of this table. | | |
+| Object Name | ... Other Columns ... | Comments |
+| | | |
+| | | |
+| Collective Comment:A comment valid for the below defined/declared objects. This comment has a scope reaching to next Collective Comment or until the end of this table. | | |
+| Object Name | ... Other Columns ... | Comments |
+| | | |
+| | | |
+| Detailed Comments: | | |
+
+Figure 2/X.292 – Generalized layout of a multiple declaration table
+
+The optional *Collective Comments* may be used preceding a group of related objects declared in a multiple object table, both to indicate the grouping and to give a comment that applies to each member of the group or the group as a whole.
+
+This type of table has only a minimal optional header section, which may contain a *Group* identifier and a *Collective Comment*. The body of the table consists of one or more columns. Each column has a title. The leftmost column, titled *Object Name*, contains identifiers of the objects defined or declared in the table. The rightmost column, titled *Comments*, contains informal descriptions of the objects defined or declared in the table. It does not exist in all proformas. When it exists its use is optional for the test suite specifier. The footer of the table is identical to the footer of the single table type.
+
+7.3.4 Alternative compact tables
+
+In some cases it is allowed to display a number of single TTCN object tables in an alternative space-saving compact format. That is, a number of single TTCN object tables may be displayed in a single compact table. The only tables that may be presented in this format are:
+
+- ASP constraints (tabular and ASN.1);
+- PDU constraints (tabular and ASN.1);
+- Structured Type constraints;
+- ASN.1 Type constraints;
+- Test Case dynamic behaviours.
+
+The formats of these alternative compact proformas are defined in Annex E.
+
+### 7.3.5 Specification of proformas
+
+This Recommendation specifies numerous types of TTCN.GR tables and provides a graphic view of the corresponding proformas. These proformas conform to the generalized layout of 7.3.2 and 7.3.3. When a column is shaded in a proforma, this is a reminder that the column is optional.
+
+## 7.4 Free Text and Bounded Free Text
+
+Some table entries allow the use of free text, *i.e.*, characters from any of the character sets defined in ISO/IEC 10646-1. The following restrictions apply:
+
+- a) Free Text shall not contain the combination of characters `"*/"`, unless preceded by backslash ( \ ), as this is used in the TTCN.MP to indicate the end of a Free Text string. This means that double backslash ( \\ ) means backslash.
+- b) The combinations of characters `"/*` and `*/"` which open and close BoundedFreeText strings in the TTCN.MP shall not appear in the TTCN.GR, *i.e.*, wherever a Bounded FreeText string appears in a table section, as in a Full Identifier, these combinations of characters shall not be printed.
+
+## 8 Concurrency in TTCN
+
+### 8.1 Test components
+
+TTCN allows the specification of test components which may be executed concurrently. This clause gives an overview of the additional proformas and mechanisms available in concurrent TTCN. These proformas and mechanisms shall not be used in ATSS that do not use concurrency (*i.e.*, the use of concurrency is optional).
+
+A tester consists of a Main Test Component (MTC) and zero or more Parallel Test Components (PTCs). In non-concurrent TTCN, it is not necessary to declare the Main Test Component since there is only one test component and the default is that it is the Main Test Component.
+
+Test components are declared in the Test Component Declarations table. A test component may communicate with the IUT via one or more Points of Control and Observation (PCOs). Test components may communicate with each other by exchanging Co-ordination Messages (CMs) through Co-ordination Points (CPs). PTCs may also communicate with the MTC implicitly, by means of assignments to the global result variable and by the MTC being able to check whether or not one or more PTCs have terminated execution. The Test Component Configuration Declarations tables are used to specify (abstract) configurations of test components. These declarations (one for each configuration) show which PCOs and CPs are used, if any, by the test components. CMs are specified in a manner very similar to the method used to specify ASPs. ASN.1 may be used for CM specification. CM constraints are also very similar to ASP constraints. Special proformas are provided for the definition of CM Types and the declaration of CM constraints. CMs are sent and received using the normal TTCN SEND and RECEIVE statements.
+
+In summary, if concurrent TTCN is used the following proformas shall be used:
+
+- a) Test Component Declarations;
+- b) Test Component Configuration Declarations.
+
+In addition, if concurrent TTCN is used the following proformas may be used:
+
+- a) CP Declarations;
+- b) CM Type Definitions and/or ASN.1 CM Type Definitions, provided that CP declarations are used;
+- c) CM Constraints Declarations, provided that CM Type Definitions are used;
+- d) ASN.1 CM Constraint Declarations provided that ASN.1 CM Type Definitions are used.
+
+## 8.2 Test component configurations
+
+Some possible configurations of test components are shown in Figures 3 and 4. In a realization of these abstract configurations, test components may reside in a single machine or be distributed over several machines.
+
+It is possible to use different PTC configurations in different test cases of an Abstract Test Suite. Each Abstract Test Case which uses concurrency shall use one of the declared Test Component Configurations.
+
+Note the following valid but unusual cases:
+
+- a) a PTC need not have any PCOs;
+- b) a PTC need not have a CP to an MTC. In such cases the only interaction between the PTC and the MTC will be the creation of the PTC and the implicit result reports from the PTC, i.e., the MTC has no explicit control over the PTC after creation;
+- c) two PTCs may be connected by more than one CP;
+- d) a test case whose test component configuration refers to a PTC need not contain any CREATE statement to start this PTC;
+- e) a test case whose test component configuration refers to a CP need not contain any SEND or RECEIVE statements using this CP.
+
+Items a), b) and c) are illustrated in Figures 3 and 4.
+
+
+
+The diagram illustrates a test component configuration. At the top is a large grey rectangle labeled MTC1. Below it are three white rectangles labeled TC1, TC2, and TC3, arranged horizontally. MTC1 is connected to each of these three PTCs by a vertical double-headed arrow labeled MCP1, MCP2, and MCP3 respectively. TC1 and TC2 are connected by a horizontal double-headed arrow labeled CP1. TC2 and TC3 are connected by a horizontal double-headed arrow labeled CP2. Below TC1 is a vertical double-headed arrow labeled PCO\_A. Below TC2 is a vertical double-headed arrow labeled PCO\_B. Below TC3 is a vertical double-headed arrow labeled PCO\_C. A small label X.292\_F03 is located to the right of the PCO\_C arrow.
+
+Figure 3/X.292 – Example Test Component Configuration CONFIG1
+
+Figure 3/X.292 – Example Test Component Configuration CONFIG1
+
+
+
+The diagram illustrates a test component configuration. At the top is a large grey rectangle labeled MTC2. Below it are three white rectangles labeled TC2, TC4, and TC5. MTC2 is connected to TC2 by a vertical double-headed arrow labeled MCP2. MTC2 is connected to TC4 by a vertical double-headed arrow labeled MCP3. MTC2 is connected to TC5 by a vertical double-headed arrow labeled PCO\_D. TC2 and TC4 are connected by two horizontal double-headed arrows labeled CP1 and CP2. Below TC2 is a vertical double-headed arrow labeled PCO\_B. Below TC5 is a vertical double-headed arrow labeled PCO\_E. A small label X.292\_F04 is located to the right of the PCO\_E arrow.
+
+Figure 4/X.292 – Example Test Component Configuration CONFIG2
+
+Figure 4/X.292 – Example Test Component Configuration CONFIG2
+
+# 9 TTCN test suite structure
+
+## 9.1 Introduction
+
+TTCN allows a test suite to be hierarchically structured in accordance with 8.1/X.290. The components of this structure are:
+
+- a) Test Groups;
+- b) Test Cases;
+- c) Test Steps.
+
+A TTCN test suite may be completely flat (*i.e.*, have no structure) in which case there are no Test Groups.
+
+TTCN allows the use of Test Step Groups and Default Groups, similar to the concept of Test Groups, in order to structure Test Steps and Defaults hierarchically. This hierarchical structure is optional.
+
+## 9.2 Test Group References
+
+TTCN supports a naming structure that shows a conceptual grouping of Test Cases. Test Groups can be nested. Test Cases can also be stand-alone (see clause 8/X.290, Figure 9). The Test Group References define the structure of the test suite.
+
+*EXAMPLE 3* – A Transport group reference: TRANSPORT/CLASS0/CONN\_ESTAB/
+
+## 9.3 Test Step Group References
+
+Test steps may be explicitly identified in TTCN and used to structure Test Cases and other Test Steps. Alternatively Test Steps may be implicit within the behaviour description of a Test Case. Explicit Test Steps may be specified either:
+
+- locally within a Test Case or Test Step behaviour description; or
+- globally within a Test Step Library, which may be hierarchically structured into Test Step Groups.
+
+NOTE – For example, a preamble may consist of just a few statement lines within a behaviour description of the Test Case, in which case it is implicit. Alternatively, a preamble may be explicitly specified with its own behaviour description. If such an explicit preamble is only of use within one Test Case, then it may be specified locally within that Test Case, but if it is of use in several Test Cases then it should be specified in the Test Step Library.
+
+Local Test Steps are identified simply by a tree identifier. Global Test Steps are identified by a Test Step identifier. Global Test Steps also have a Test Step Group Reference, which shows the position of a Test Step in the Test Step Library. The structure of the Test Step Library is independent of the structure of the test suite.
+
+*EXAMPLE 4* – Transport Test Step Group Reference: TRANSPORT/STEP\_LIBRARY/CLASS0/CONN\_ESTAB/
+
+## 9.4 Default Group References
+
+Default behaviours (if any) are located in a Default Library.
+
+A Default Group Reference specifies the location of the Default in the Default Library, which may be hierarchically structured. The Default Library has no influence on the test suite structure itself.
+
+*EXAMPLE 5* – Transport Default Group Reference: TRANSPORT/DEFAULT\_LIBRARY/CLASS0/
+
+## 9.5 Parts of a TTCN test suite
+
+An ATS written in TTCN shall have the following four sections in the order indicated:
+
+- a) Suite Overview (see clause 10),
+which contains the information needed for the general presentation and understanding of the test suite, such as test references and a description of its overall purpose;
+
+- b) Import Part (see 10.8),
+which contains the declarations of the objects used in the test suite or module that are imported from a source object;
+- c) Declarations Part (see clause 11),
+which contains the definitions or declarations of all the components that comprise the test suite (*e.g.*, PCOs, Timers, ASPs, PDUs, and their parameters or fields);
+- d) Constraints Part (see clauses 12, 13, 14),
+which contains the declarations of values for the ASPs, PDUs, and their parameters used in the Dynamic Part. The constraints shall be specified using:
+ - 1) TTCN tables; or
+ - 2) the ASN.1 value notation; or
+ - 3) both TTCN tables and the ASN.1 value notation.
+- e) Dynamic Part (see clause 15),
+which comprises three sections that contain tables specifying test behaviour expressed mainly in terms of the occurrence of ASPs or PDUs at PCOs. These sections are:
+ - 1) the Test Case dynamic behaviour descriptions;
+ - 2) a library containing Test Step dynamic behaviour descriptions (if any);
+ - 3) a library containing Default dynamic behaviour descriptions (if any).
+
+## 10 Test Suite Overview
+
+### 10.1 Introduction
+
+The purpose of the Test Suite Overview part of the ATS is to provide information needed for general presentation and understanding of the test suite. This includes:
+
+- a) Test Suite Index (see 10.2);
+- b) Test Suite Structure (see 10.3);
+- c) Test Case Index (see 10.4);
+- d) Test Step Index (see 10.5);
+- e) Default Index (see 10.6);
+- f) Test Suite Exports (see 10.7).
+
+### 10.2 Test Suite Index
+
+The purpose of the Test Suite Index is to provide information needed for all imported objects in an expanded test suite. This information is used to easily find the definition of an object.
+
+The Test Suite Index is a complete list of all objects in an expanded test suite and is a result of converting a modularized test suite to an expanded test suite. This list contains information about each object (*e.g.*, the source object/test suite name, the original name and the page number in the very original source object).
+
+The Test Suite Index proforma identifies all objects used in a test suite. The following information shall be supplied for each object:
+
+- a) the name of the object:
+the name with which the object is referred to (*e.g.*, a generated name);
+- b) the object type:
+which shall be the same as the type given when the object is defined;
+
+- c) the name of the source object or the test suite:
+where the object is defined;
+- d) the original name of the object:
+the given name when the object is explicitly defined;
+- e) an optional page number:
+providing the location of the object in the original source object.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Suite Index | | | | | |
+|--------------------------------------|-----------------------------|-----------------------------------|------------------------------------|---------------------------|-----------------------------|
+| Object Name | Object Type | Source Name | Original Object Ref | Page Nr | Comments |
+| ⋮ObjectIdentifier ⋮ | ⋮ObjectType ⋮ | ⋮SourceIdentifier ⋮ | ⋮[ObjectReference] ⋮ | ⋮[Number] ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | | | |
+
+#### Proforma 0: Test Suite Index
+
+The page number is given when the original source object is standard and the location of the object is unambiguous.
+
+### 10.3 Test Suite Structure
+
+The Test Suite Structure contains identification of the pertinent reference documents, specification of the structure of the test suite, a brief description of its overall purpose, and references to the Test Group selection criteria.
+
+The Test Suite Structure shall include at least the following information:
+
+- a) the name of the test suite;
+- b) references to the relevant base standards;
+- c) a reference to the PICS proforma;
+- d) a reference to the partial PIXIT proforma (see 14.1/X.291 and Appendix V/X.296);
+- e) an indication of the test method or methods to which the test suite applies, plus for the Co-ordinated Test Methods a reference to where the TMP is specified;
+- f) other information which may aid understanding of the test suite, such as its version number or how it has been derived; this information should be included as a comment;
+- g) a list of Test Groups in the test suite (if any),
+
+where the following information shall be supplied for each group:
+
+- 1) the Test Group Reference,
+where the first identifier may be the suite name, and each successive identifier represents further conceptual ordering of the test suite. Test Groups shall be listed in the order that their corresponding Test Cases appear in the ATS. Furthermore, they shall be ordered such that every group within a single group immediately follows that group. All Test Groups in the test suite shall be listed;
+
+imported test cases may be included under any group, independently under which group they are defined in the original source object. A new group may be listed that does not occur in the Dynamic Part. This group shall only contain imported test cases;
+
+the groups of the Dynamic Part shall occur in the same order as they appear there, but the list may be preceded, interrupted or followed by new groups of imported test cases. For these new groups the page number shall not be supplied;
+
+the Selection Ref column may contain the identifier of a selection expression applicable to the new test groups. The new selection expression shall override the specified selection expression in the original test group (if there is any). The absence of the selection expression identifier in this column indicates that the specified selection expression in the original test group is omitted (if there is any);
+
+the Test Group Objective column may contain a new informal statement of the objective of the new test group. This new objective shall override the objective in the imported test group (if any). The absence of the test group objective in this column indicates that the specified test group objective is omitted;
+
+- 2) an optional selection expression identifier,
+
+which references an entry in the Test Case Selection Expression Definitions table used to determine if the Test Cases in the group apply to specific IUTs. This column may contain the identifier of a selection expression applicable to the Test Group. If a selection expression identifier is provided for a group, and the referenced selection expression evaluates to FALSE, then no Test Case in that group shall be selected for execution. If the selection expression evaluates to TRUE then Test Cases in that group shall be selected for execution depending on the evaluation of the selection expressions relevant to subgroups of that group and/or individual Test Cases. Omission of a selection expression identifier is equivalent to the Boolean value TRUE;
+
+- 3) the Test Group Objective,
+
+which is an informal statement of the objective of the Test Group;
+
+- 4) a page number,
+
+providing the location of the first Test Case of the group in the ATS. The page number listed with each Test Group Reference in the Test Suite Structure table shall be the page number of the first Test Case behaviour description in the group.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Suite Structure | | | |
+|--------------------------------------|-----------------------------------------|---------------------------|-------------------------|
+| Suite Name : SuiteIdentifier | | | |
+| Standards Ref : Free Text | | | |
+| PICS Ref : Free Text | | | |
+| PIXIT Ref : Free Text | | | |
+| Test Method(s) : FreeText | | | |
+| Comments : [FreeText] | | | |
+| Test Group Reference | Selection Ref | Test Group Objective | Page Nr |
+| ⋮TestGroupReference ⋮ | ⋮[SelectExprIdentifier] ⋮ | ⋮FreeText ⋮ | ⋮Number ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 1: Test Suite Structure**
+
+## 10.4 Test Case Index
+
+The Test Case Index contains a complete list of all Test Cases in the ATS. The following information shall be provided for each Test Case:
+
+- a) an optional Test Group Reference (if the ATS is structured into Test Groups),
+
+which defines where in the test suite group structure the Test Case resides. Test Groups shall be listed in the order in which they exist in the ATS;
+
+- b) the Test Case name,
+which shall be the identifier provided in the Test Case dynamic behaviour table. Test Cases shall be listed in the order in which they exist in the ATS;
+- c) an optional selection expression identifier,
+which references an entry in the Test Case Selection Expression Definitions table used to determine if the Test Case should be selected for execution. This column may contain the identifier of a selection expression applicable to the Test Case. If a selection expression identifier is provided, and the referenced selection expression evaluates to FALSE, then the Test Case shall not be selected for execution. If the selection expression evaluates to TRUE then the Test Case shall be selected for execution depending on the evaluation of the selection expressions for the Test Groups containing the Test Case. A Test Case is selected if the selection expression for the Test Case, and all groups containing the Test Case, evaluate to TRUE. Omission of a selection expression identifier is equivalent to the Boolean value TRUE;
+- d) a description of the Test Case,
+which is possibly a shortened form of the test purpose;
+- e) a page number,
+providing the location of the Test Case in the ATS. The page number listed with each Test Case Identifier in the Test Case Index table shall be the page number of the corresponding Test Case behaviour description.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Case Index | | | | |
+|--------------------------------------|-------------------------------------|-----------------------------------------|---------------------------|-------------------------|
+| Test Group Reference | Test Case Id | Selection Ref | Description | Page Nr |
+| ⋮TestGroupReference ⋮ | ⋮TestCaseIdentifier ⋮ | ⋮[SelectExprIdentifier] ⋮ | ⋮FreeText ⋮ | ⋮Number ⋮ |
+| Detailed Comments: [FreeText] | | | | |
+
+### Proforma 2: Test Case Index
+
+Collective comments may be used in this table according to Figure 2.
+
+The complete list of test cases shall include the imported test cases. Explicitly defined Test Cases shall be listed in the order in which they exist in the ATS. Page numbers shall not be supplied for imported test cases.
+
+The Selection Ref column has similar semantic as the one given in 10.3.
+
+The Description column may contain a new shortened form of the Test Purpose. This new description shall override the description in the imported test case (if any). The absence of the description in this column indicates that the specified description is omitted.
+
+## 10.5 Test Step Index
+
+The Test Step Index contains a complete list of all Test Steps in the ATS. The following information shall be provided for each Test Step:
+
+- a) an optional Test Step Group Reference, (if the ATS is structured into Test Step Groups),
+which defines where in the Test Step Library structure the Test Step resides. If the group reference for a Test Step is missing, then the Test Step is assumed to reside in the same group as the previous Test Step in the index. Test Step Groups shall be listed in the order in which they exist in the ATS. An explicit Test Step Group Reference shall be provided for the first Test Step of each group. An explicit Test Step Group Reference shall also be provided for each Test Step that immediately follows the last Test Step of the group; this is necessary if a Test Step Group contains both Test Step Groups and Test Steps;
+
+- b) the Test Step name,
+which shall be the identifier provided in the Test Step dynamic behaviour table. Test Steps shall be listed in the order in which they exist in the ATS;
+- c) a description of the Test Step,
+which is possibly a shortened form of the Test Step Objective;
+- d) a page number,
+providing the location of the Test Step in the ATS. The page number listed with each Test Step Identifier in the Test Step Index table shall be the page number of the corresponding Test Step behaviour description.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Step Index | | | |
+|-----------------------------------------|-------------------------------------|---------------------------|-------------------------|
+| Test Step Group Reference | Test Step Id | Description | Page Nr |
+| ⋮TestStepGroupReference ⋮ | ⋮TestStepIdentifier ⋮ | ⋮FreeText ⋮ | ⋮Number ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+### Proforma 3: Test Step Index
+
+Collective comments may be used in this table according to Figure 2.
+
+The complete list of test steps shall include the imported test steps. Explicitly defined Test Steps shall be listed in the order in which they exist in the ATS. Page numbers shall not be supplied for imported test steps.
+
+The Description column may contain a new shortened form of the Test Step Objective. This new description shall override the description in the imported test step (if any). The absence of the description in this column indicates that the specified description is omitted.
+
+## 10.6 Default Index
+
+The Default Index contains a complete list of all Defaults in the ATS. The following information shall be provided for each Default:
+
+- a) an optional Default Group Reference, (if the ATS is structured into Default Groups),
+which defines where in the Default Library structure the Default resides. If the group reference for a Default is missing, then the Default is assumed to reside in the same group as the previous Default in the index. Defaults shall be listed in the order in which they exist in the ATS. An explicit Default Group Reference shall be provided for the first Default of each group. An explicit Default Group Reference shall also be provided for each Default that immediately follows the last Default of the group;
+- b) the Default name,
+which shall be the identifier provided in the Default dynamic behaviour table. Defaults shall be listed in the order in which they exist in the ATS;
+- c) a description of the Default,
+which is possibly a shortened form of the Default Objective;
+
+- d) a page number,
+
+providing the location of the Default in the ATS. The page number listed with each Default Identifier in the Default Index table shall be the page number of the corresponding Default behaviour description.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Default Index | | | |
+|----------------------------------------|------------------------------------|---------------------------|-------------------------|
+| Default Group Reference | Default Id | Description | Page Nr |
+| ⋮DefaultGroupReference ⋮ | ⋮DefaultIdentifier ⋮ | ⋮FreeText ⋮ | ⋮Number ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 4: Default Index**
+
+Collective comments may be used in this table according to Figure 2.
+
+The complete list of defaults shall include the imported defaults. Explicitly defined Defaults shall be listed in the order in which they exist in the ATS. Page numbers shall not be supplied for imported defaults.
+
+The Description column may contain a new shortened form of the Default Objective. This new description shall override the description in the imported default (if any). The absence of the description in this column indicates that the specified description is omitted.
+
+## 10.7 Test Suite Exports
+
+The Test Suite Exports table may be used to specify explicitly which objects in the test suite are designed to be re-usable and hence may be imported into other test suites or TTCN modules.
+
+The Test Suite Exports proforma is used to identify the objects which may be exported.
+
+The name of the original source object shall be given if the object is itself imported.
+
+If the object is declared as an external object (explicit external) or is an object which is omitted in the imported source object (implicit external), the keyword EXTERNAL is given instead of the source object name.
+
+Exporting an object of type Enumeration or Named Number requires that the corresponding type is given. The other objects which are defined in the corresponding type are not exported as well. They are however implicitly exported and can be referred in other exported objects. The type name is given as a suffix to the object name embedded in brackets.
+
+The following information shall be supplied in the Test Suite Exports table for each of the exported objects:
+
+- a) the name of the object,
+if the object is of type NamedNumber or Enumeration the corresponding type shall be given as a suffix to the object name embedded in brackets;
+- b) the object type,
+- c) the name of the original source object if the object is imported, or the object directive EXTERNAL;
+- d) a page number,
+providing the location of the object in the test suite (no page number shall be given for imported objects);
+- e) an optional comment.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Suite Exports | | | | |
+|--------------------------------------|----------------------------------|-----------------------------------------------------|-------------------------|-----------------------------|
+| Object Name | Object Type | Source Name | Page Nr | Comments |
+| ⋮ObjectIdentifier ⋮ | ⋮TTCN_ObjectType ⋮ | ⋮[SourceIdentifier ObjectDirective] ⋮ | ⋮Number ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | | |
+
+### Proforma 5: Test Suite Exports
+
+EXAMPLE 6 – Test Suite Exports:
+
+| Test Suite Exports | | | | |
+|--------------------|----------------------|-------------|---------|----------|
+| Object Name | Object Type | Source Name | Page Nr | Comments |
+| String5 | SimpleType_Object | Module_B | 3 | |
+| wait | Timer_Object | | | |
+| INTC | TTCN_PDU_Type_Object | TestSuite_1 | 13 | |
+| DEF1 | Default_Object | | | |
+| TC_2 | TestCase_Object | TestSuite_2 | 33 | |
+| TC_3 | TestCase_Object | | | |
+| Preamble | TestStep_Object | EXTERNAL | | |
+| Detailed Comments: | | | | |
+
+## 10.8 The Import Part
+
+### 10.8.1 Introduction
+
+The purpose of the Import Part is to declare the objects used in the test suite that are imported from a source object. The effect of the imports is equivalent to having a copy of the imported objects within the test suite.
+
+An object may be imported only if a source object exports it. A test suite without an export table exports all objects which have a global name. A module and a test suite with at least one export table export the objects contained in the export tables. An object which is not itself explicitly imported is implicitly imported if an imported object references it.
+
+### 10.8.2 Imports
+
+The Imports tables identify the source object and provides information on the overall objective of the source object. The following information shall be supplied in the Imports tables:
+
+- the name of the source object;
+- a description of the objective of the source object;
+- a full reference to the source object; which should contain a document identifier and other information, such as version and date;
+- a reference to the standards to which the source applies;
+- other information which may aid understanding of the source object; this should be included as a comment;
+
+- f) a list of the objects from the imported source object; for each object the following information shall be provided:
+- 1) the name of the object as used in the source object;
+ - 2) the type of the object; which shall be the same as the type given in the source object;
+ - 3) the name of the original source object if the object is imported from another source object, the object directive OMIT or "-" if the object is to be omitted from the set of objects imported from the source object, or the object directive EXTERNAL if the object is declared as external in the source object.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Imports | | | |
+|-----------------------------------------------|----------------------------------|-------------------------------------------------------|-----------------------------|
+| Source Name : SuiteIdentifier | | | |
+| Group : [ImportsGroupReference] | | | |
+| Source Ref : [FreeText] | | | |
+| Standards Ref : [FreeText] | | | |
+| Comments : [FreeText] | | | |
+| Object Name | Object Type | Source Name | Comments |
+| ⋮ObjectIdentifier ⋮ | ⋮TTCN_ObjectType ⋮ | ⋮[SourceIdentifier ObjectDirective] ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+#### Proforma 6: Imports
+
+EXAMPLE 7 – An Imports table:
+
+| Imports | | | | | |
+|-----------------------------------------------------------------------------------------------------------------------------|--------------------|-------------|----------|--|--|
+| Source Name : Module A | | | | | |
+| Source Ref : {ISO standard 1234} | | | | | |
+| Standards Ref : ISO 300 313 | | | | | |
+| Comments : Layer 2 Test Suite | | | | | |
+| Object Name | Object Type | Source Name | Comments | | |
+| String5 | SimpleType_Object | Module B | 1) | | |
+| Wait | Timer_Object | | | | |
+| R1_POSTAMBLE | TestStep_Object | EXTERNAL | 2) | | |
+| TSAP | PCO_Type_Object | OMIT | 3) | | |
+| blue[ColorEnum] | Enumeration_Object | | 4) | | |
+| a[NN_type1] | NamedNumber_Object | | | | |
+| Detailed Comments: | | | | | |
+| 1) The original source of this timer is Module B. | | | | | |
+| 2) This test step is declared as external in Module A and must be explicitly defined or imported where this module is used. | | | | | |
+| 3) TSAP must be defined in the PCO Type Declaration table. | | | | | |
+| 4) This Named Number is omitted from the imports and hence should be redefined explicitly in the test suite. | | | | | |
+
+## 11 Declarations part
+
+### 11.1 Introduction
+
+The purpose of the declarations part of the ATS is to define and declare all the objects used in the test suite. The following objects of an ATS referenced from the overview part, the constraints part and the dynamic part shall have been declared in the declarations part. These objects are:
+
+- a) definitions:
+ - 1) Test Suite Types (see 11.2.3);
+ - 2) Test Suite operations (see 11.3.4);
+- b) parameterization and selection of Test Cases:
+ - 1) Test Suite Parameters (see 11.4);
+ - 2) Test Case Selection Expressions (see 11.5);
+- c) declarations/definitions:
+ - 1) Test Suite Constants (see 11.6 and 11.7);
+ - 2) Test Suite Variables (see 11.8.1);
+ - 3) Test Case Variables (see 11.8.3);
+ - 4) PCO types (see 11.9);
+ - 5) PCOs (see 11.10);
+ - 6) CPs (see 11.11);
+ - 7) Timers (see 11.12);
+ - 8) Test Components (see 11.13.1);
+ - 9) Test Component Configurations (see 11.13.2);
+ - 10) ASP types (see 11.14);
+ - 11) PDU types (see 11.15);
+ - 12) Encoding Rules (see 11.16.1);
+ - 13) Encoding Variations (see 11.16.2);
+ - 14) Invalid Field Encodings (see 11.16.3);
+ - 15) CM types (see 11.17);
+ - 16) Aliases (see 11.21).
+
+### 11.2 TTCN types
+
+#### 11.2.1 Introduction
+
+TTCN supports a number of predefined types and mechanisms that allow the definition of specific Test Suite Types. These types may be used throughout the test suite and may be referenced when Test Suite Parameters, Test Suite Constants, Test Suite Variables, ASP parameters, PDU fields, *etc.*, are declared.
+
+TTCN is a weakly typed language, in that values of any two types which have the same base type are considered to be type compatible (e.g., for the purposes of performing assignments or parameter passing).
+
+#### 11.2.2 Predefined TTCN types
+
+A number of commonly used types are predefined for use in TTCN. All types defined in this clause may be referenced even though they do not appear in a type definition in a test suite. All other types used in a test suite shall be declared in the Test Suite Type definitions, ASP definitions or PDU definitions and referenced by name.
+
+The following TTCN predefined types are considered to be the same as their counterparts in ASN.1:
+
+- a) **INTEGER predefined type:** a type with distinguished values which are the positive and negative whole numbers, including zero.
+
+Values of type INTEGER shall be denoted by one or more digits; the first digit shall not be zero unless the value is 0; the value zero shall be represented by a single zero;
+
+- b) **BOOLEAN predefined type:** a type consisting of two distinguished values.
+Values of the BOOLEAN type are TRUE and FALSE;
+- c) **BITSTRING predefined type:** a type whose distinguished values are the ordered sequences of zero, one, or more bits.
+Values of type BITSTRING shall be denoted by an arbitrary number (possibly zero) of zeros and ones, preceded by a single ' and followed by the pair of characters 'B':
+*EXAMPLE 8 – '01101'B*
+- d) **HEXSTRING predefined type:** a type whose distinguished values are the ordered sequences of zero, one, or more HEX digits, each corresponding to an ordered sequence of four bits.
+Values of type HEXSTRING shall be denoted by an arbitrary number (possibly zero) of the HEX digits:
+0 1 2 3 4 5 6 7 8 9 A B C D E F
+preceded by a single ' and followed by the pair of characters 'H'; each HEX digit is used to denote the value of a semi-octet using a hexadecimal representation:
+*EXAMPLE 9 – 'AB01D'H*
+- e) **OCTETSTRING predefined type:** a type whose distinguished values are the ordered sequences of zero or a positive even number of HEX digits (every pair of digits corresponding to an ordered sequence of eight bits).
+Values of type OCTETSTRING shall be denoted by an arbitrary, but even, number (possibly zero) of the HEX digits:
+0 1 2 3 4 5 6 7 8 9 A B C D E F
+preceded by a single ' and followed by the pair of characters 'O'; each HEX digit is used to denote the value of a semi-octet using a hexadecimal representation:
+*EXAMPLE 10 – 'FF96'O*
+- f) **OBJECTIDENTIFIER predefined type:** a type whose distinguished values are the set of all object identifiers allocated in accordance with the rules of ITU-T Rec. X.680.
+- g) **R\_TYPE predefined type:** a type consisting of the following distinguished values:
+pass, fail, inconc and none
+These values are predefined identifiers and as such, are case sensitive. This predefined type is for use with verdicts, see 15.17.
+- h) **CharacterString predefined types:** types whose distinguished values are zero, one, or more characters from some character set; the CharacterString types listed in Table 2 may be used; they are defined in clause 31/X.680.
+
+**Table 2/X.292 – Predefined CharacterString Type**
+
+| |
+|------------------------|
+| NumericString |
+| PrintableString |
+| TeletexString |
+| T61String |
+| VideotexString |
+| VisibleString |
+| ISO646String |
+| IA5String |
+| GraphicString |
+| GeneralString |
+| BMPString |
+| UniversalString |
+
+Values of CharacterString types shall be denoted by an arbitrary number (possibly zero) of characters from the character set referenced by the CharacterString type, preceded and followed by double quote (""); if the CharacterString type includes the character double quote, this character shall be represented by a pair of double quote in the denotation of any value (""").
+
+## 11.2.3 Test Suite Type Definitions
+
+### 11.2.3.1 Introduction
+
+Type definitions to be used as types for data objects and as subtypes for structured ASPs, PDUs, *etc.* can be introduced using a tabular format and/or ASN.1. Wherever types are referenced within Test Suite Type definitions those references shall not be recursive (neither directly nor indirectly).
+
+### 11.2.3.2 Simple Type Definitions using tables
+
+To define a new Simple Type, the following information shall be provided:
+
+- a) a name for the type;
+- b) the base type,
+where the base type shall be a Predefined Type or a Simple Type. The base type is followed by the type restriction that shall take one of the following forms:
+ - 1) a list of distinguished values of the base type; these values comprise the new type;
+ - 2) a specification of a range of values of type INTEGER; the new type comprises the values including the lower boundary and the upper boundary specified in the range. In order to specify an infinite range, the keyword INFINITY may be used instead of a value indicating that there is no upper boundary or lower boundary;
+ - 3) a specification of a particular length or length range of a predefined or test suite string type; the length value(s) shall be interpreted according to Table 5 in 11.18; only non-negative INTEGER literals or the keyword INFINITY for the upper bound shall be used;
+- c) optionally, a specific encoding identifier followed by any necessary actual parameter list, in order to specify an explicit encoding for the simple type, which overrides the encoding rules and encoding variations applicable to any PDU in which that simple type is used; the encoding identifier, if any, shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite (e.g., LD(10)); see 11.16.4.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Simple Type Definitions | | | |
+|--------------------------------------------------|---------------------------------------|------------------------------------------|-----------------------------|
+| Group : [SimpleTypeGroupReference] | | | |
+| Type Name | Type Definition | Type Encoding | Comments |
+| ⋮SimpleTypeIdentifier ⋮ | ⋮Type&Restriction ⋮ | ⋮[PDU_FieldEncodingCall] ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 7: Simple Type Definitions**
+
+Collective comments may be used in this table according to Figure 2.
+
+Where a range is used in a type definition either as a value range or as a length range (for strings) it shall be stated with the lower of the two values on the left. An integer range shall be used only with a base type of INTEGER or a type derived from INTEGER. In the latter case, integer range shall be a subrange of the set of values defined by the base type.
+
+Where a value list is used, the values shall be of the base type and shall be a true subset of the values defined by the base type. Where a length restriction is used, the set of values for a type defined by this restriction shall be a true subset of the values defined by the base type.
+
+Values of any two simple types which have the same base type are considered to be type compatible (e.g., for the purposes of performing assignments or parameter passing).
+
+| Simple Type Definitions | | |
+|-------------------------|------------------------|-----------------------------------------------------------------|
+| Type Name | Type Definition | Comments |
+| Transport_classes | INTEGER(0, 1, 2, 3, 4) | classes that may be used for transport layer connection |
+| String5 | IA5String[5] | string of length 5 |
+| SeqNumbers | INTEGER(0..127) | all numbers from 0 to 127 |
+| PositiveNumbers | INTEGER(1..INFINITY) | all positive INTEGER numbers |
+| String 10to20 | IA5String[10..20] | string, min. length 10 characters and max. length 20 characters |
+
+### 11.2.3.3 Structured Type Definitions using tables
+
+Structured Types can be defined in the tabular form to be used for declaring structured objects as subtypes within ASP and PDU definitions and other Structured Types, *etc.*
+
+The following information shall be supplied for each Structured Type:
+
+- a) its name,
+ where appropriate the full name, as given in the relevant protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses;
+- b) the Encoding Variations to be used for structures of this type within a PDU;
+ In order to specify explicit Encoding Variations for entire structured types, which override the Encoding Variations applicable to any PDU in which this structured type is used, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)). If this entry is not used, then the applicable Encoding Variations are those applicable to each PDU within which this structured type is used. See 11.16.4.
+- c) a list of the elements associated with the Structured Type,
+ where the following information shall be supplied for each element:
+ - 1) its name,
+ where the full name, as given in the appropriate protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses;
+ - 2) its type and an optional attribute,
+ where elements may be of a type of arbitrarily complex structure; there shall be no recursive references (neither directly nor indirectly);
+ the optional element length restriction can be used in order to give the minimum and maximum length of an element of a string type (see 11.18);
+ - 3) optionally, a specific encoding identifier followed by any necessary actual parameter list, in order to specify an explicit encoding for the structured type, which overrides the encoding rules and encoding variations applicable to any PDU in which that structured type is used; the encoding identifier, if any, shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite (e.g., LD(10)); see 11.16.4.
+
+The elements of Structured Type definitions are considered to be optional, *i.e.*, in instances of these types whole elements may not be present.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Structured Type Definition | | | |
+|-------------------------------------------------------|--------------------------------------|------------------------------------------|-----------------------------|
+| Type Name : StructId&FullId | | | |
+| Group : [StructTypeGroupReference] | | | |
+| Encoding Variation : [EncVariationCall] | | | |
+| Comments : [FreeText] | | | |
+| Element Name | Type Definition | Field Encoding | Comments |
+| ⋮ElemId&FullId ⋮ | ⋮Type&Attributes ⋮ | ⋮[PDU_FieldEncodingCall] ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+#### Proforma 8: Structured Type Definition
+
+#### 11.2.3.4 Test suite type definitions using ASN.1
+
+Test Suite Types can be specified using ASN.1. This shall be achieved by an ASN.1 definition using the ASN.1 syntax as defined in ITU-T Rec. X.680. The following information shall be supplied for each ASN.1 type:
+
+- a) its name,
+
+
+where appropriate the full name, as given in the relevant protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses;
+- b) the Encoding Variations to be used for structures of this type within a PDU;
+
+
+In order to specify explicit Encoding Variations for entire ASN1\_Types, which override the Encoding Variations applicable to any PDU in which this ASN1\_Type is used, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)). If this entry is not used, then the applicable Encoding Variations are those applicable to each PDU within which this ASN1\_Type is used. See 11.16.4.
+- c) the ASN.1 type definition,
+
+
+which shall follow the syntax defined in ITU-T Rec. X.680, except that there is the additional option of specifying an Encoding Variation or Invalid Field Encoding associated with either the whole ASN1\_Type or any ASN.1 Type within the ASN1\_Type. This is done by giving a specific encoding identifier followed by any necessary actual parameter list, in order to specify explicit encodings for individual fields or other subtypes of a PDU, which override the encoding rules and encoding variations applicable to the PDU as a whole; the encoding identifier, if any, shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite (e.g., LD(10)); see 11.16.4.
+
+For identifiers within that definition the hyphen symbol ( - ) shall not be used. The underscore symbol ( \_ ) may be used instead. The type identifier in the table header is the name of the first type defined in the table body.
+
+Types referred to from the type definition shall be defined in other ASN.1 type definition tables, be defined by reference in the ASN.1 type reference table or be defined locally in the same table, following the first type definition. Locally defined types shall not be used in other parts of the test suite.
+
+ASN.1 type definitions used within TTCN shall not use external type references as defined in ITU-T Rec. X.680. ASN.1 comments can be used within the table body. The comments column shall not be present in this table.
+
+Comments in ASN.1 start with "--" and end with either the next occurrence of "--" or with "end of line", whichever comes first. This prevents a single ASN.1 comment from spanning several lines. ATS specifiers are recommended to facilitate the exchange of ATSS in TTCN.MP by always closing ASN.1 comments with "--".
+
+This information shall be provided in the following proforma:
+
+| ASN.1 Type Definition | |
+|--------------------------------------------------------------------------------------------------------------------|------------------------------------|
+| Type Name | : ASN1_TypeId&FullId |
+| Group | : [ASN1_TypeGroupReference] |
+| Encoding Variation | : [EncVariationCall] |
+| Comments | : [FreeText] |
+| Type Definition | |
+| ⋮ ASN1_Type&LocalTypes ⋮
| |
+| Detailed Comments: | [FreeText] |
+
+### Proforma 9: ASN.1 Type Definition
+
+*EXAMPLE 12* – An ASN.1 Test Suite Type definition:
+
+| ASN.1 Type Definition | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
+| Type Name | : DATE_type |
+| Comments | : to illustrate the structure of ASN.1 type definitions |
+| Type Definition | |
+| SEQUENCE { day DAY_type, month MONTH_type, year YEAR_type } -- local DAY_type -- DAY_type ::= INTEGER {first(), last(31)} -- MONTH_type and YEAR_type are defined in other ASN.1 Type Definitions tables -- | |
+
+#### 11.2.3.5 ASN.1 Type Definitions by Reference
+
+Types can be specified by a precise reference to an ASN.1 type defined in an OSI standard or by referencing an ASN.1 type defined in an ASN.1 module attached to the test suite. The following information shall be supplied for each type:
+
+- a) its name,
+where this name may be used throughout the entire test suite. This name shall be specified without a FullIdentifier;
+- b) the type reference,
+which shall follow the identifier rules stated in ITU-T Rec. X.680;
+- c) the module identifier,
+which consists of a module reference that shall follow the identifier rules stated in ITU-T Rec. X.680, and an optional ObjectIdentifier; the module shall be unique within the domain of interest;
+- d) the Encoding Variations to be used for such ASN1\_Types within a PDU,
+in order to specify explicit Encoding Variations for entire ASN1\_Types, which override the Encoding Variations applicable to any PDU in which this ASN1\_Type is used, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)). If this entry is not used, then the applicable Encoding Variations are those applicable to each PDU within which this ASN1\_Type is used. See 11.16.4.
+
+This information shall be provided in the following proforma:
+
+| ASN.1 Type Definitions by Reference | | | | |
+|------------------------------------------|-------------------------|---------------------------------|------------------------------|----------------------|
+| Group : [ASN1_TypeGroupReference] | | | | |
+| Type Name | Type Reference | Module Identifier | Encoding Variation | Comments |
+| ASN1_TypeId&FullId ⋮ ⋮ | TypeReference ⋮ ⋮ | ASN1_ModuleIdentifier ⋮ ⋮ | [EncVariationCall] ⋮ ⋮ | [FreeText] ⋮ ⋮ |
+| Detailed Comments: [FreeText] | | | | |
+
+### Proforma 10: ASN.1 Type Definitions By Reference
+
+Collective comments may be used in this table according to Figure 2.
+
+Since the ASN.1 types imported from ASN.1 modules can contain identifiers, type references and value references that follow the identifier rules in ITU-T Rec. X.680, they can contain hyphens. To be able to use the imported definitions in TTCN it is necessary to change the hyphens in imported identifiers to underscore. This is done in the import process.
+
+*EXAMPLE 13* – The following type definition in an ASN.1 module:
+
+```
+
+module-1 DEFINITIONS BEGIN
+ Type-1 ::= SEQUENCE { field1 Sub-Type-1,
+ field2 BIT STRING {first-bit(0), second-bit(1)} }
+END
+
+```
+
+can be imported to TTCN with:
+
+| ASN.1 Type Definitions by Reference | | | |
+|-------------------------------------|----------------|-------------------|----------|
+| Type Name | Type Reference | Module Identifier | Comments |
+| Type_1 | Type-1 | module-1 | |
+| Sub_Type_1 | Sub-Type-1 | module-1 | |
+
+The above reference definition of Type-1 is equivalent to the following definition:
+
+| ASN.1 Type Definition | |
+|------------------------------------------------------------------------------------|----------|
+| Type Name | : Type_1 |
+| Comments | : |
+| Type Definition | |
+| SEQUENCE { field1 Sub_Type_1, field2 BIT STRING {first_bit(0), second_bit(1)} } | |
+
+## 11.3 TTCN operators and TTCN operations
+
+### 11.3.1 Introduction
+
+TTCN supports a number of predefined operators, operations and mechanisms that allow the definition of Test Suite Operations. These operators and operations may be used throughout any dynamic behaviour descriptions and constraints.
+
+## 11.3.2 TTCN operators
+
+### 11.3.2.1 Introduction
+
+The predefined operators fall into three categories:
+
+- a) arithmetic;
+- b) relational;
+- c) Boolean.
+
+The precedence of these operators is shown in Table 3. Parentheses may be used to group operands in expressions, a parenthesized expression has the highest precedence for evaluation.
+
+Within any row in Table 3, the listed operators have equal precedence. If more than one operator of equal precedence appear in an expression, the operations are evaluated left to right.
+
+**Table 3/X.292 – Precedence of Operators**
+
+| | |
+|---------|-----------------------|
+| highest | ( ) |
+| ↓ | Unary: + - NOT |
+| | Binary: { * / MOD AND |
+| | { + - OR |
+| | = < > <> >= <= |
+| lowest | |
+
+### 11.3.2.2 Predefined arithmetic operators
+
+The predefined arithmetic operators are:
+
+"+", "-", "\*", "/", MOD
+
+They represent the operations of addition, subtraction, multiplication, division and modulo. Operands of these operators shall be of type INTEGER (*i.e.*, TTCN or ASN.1 predefined) or derivations of INTEGER (*i.e.*, subrange). ASN.1 Named Values shall not be used within arithmetic expressions as operands of operations.
+
+The result type of arithmetic operations is INTEGER.
+
+In the case where plus ( + ) or minus ( – ) is used as the unary operator the rules for operands apply as well. The result of using the minus operator is the negative value of the operand if it was positive and vice versa.
+
+The result of performing the division operation ( / ) on two INTEGER values gives the whole INTEGER value resulting from dividing the first INTEGER by the second (*i.e.*, fractions are discarded).
+
+The result of performing the MOD operation on two INTEGER values gives the remainder of dividing the first INTEGER by the second.
+
+### 11.3.2.3 Predefined relational operators
+
+The predefined relational operators are:
+
+"=" | "<" | ">" | "<>" | ">=" | "<="
+
+They represent the relations of equality, less than, greater than, not equal to, greater than or equal to and less than or equal to. Operands of equality ( = ) and not equal to ( <> ) may be of an arbitrary type. The two operands shall be compatible. All other relational operators shall have operands only of type INTEGER or derivatives of INTEGER. The result type of these operations is BOOLEAN.
+
+In string comparisons BITSTRING, HEXSTRING, OCTETSTRING and all kinds of CharacterStrings may contain the wildcard characters AnyOrNone ( \* ) and AnyOne ( ? ). In this case the comparison is performed according to the pattern matching rules defined in 12.6.2.
+
+#### 11.3.2.4 Predefined Boolean operators
+
+The predefined Boolean operators are:
+
+#### **NOT AND OR**
+
+They represent the operations of negation, logical AND and logical OR. Their operands shall be of type BOOLEAN (TTCN or ASN.1 or predefined). The result type of the Boolean operators is BOOLEAN.
+
+The logical AND returns the value TRUE if both its operands are TRUE; otherwise it returns the value FALSE. The logical OR returns the value TRUE if at least one of its operands is TRUE; it returns the value FALSE only if both operands are FALSE. The logical NOT is the unary operator that returns the value TRUE if its operand was of value FALSE and returns the value FALSE if the operand was of value TRUE.
+
+#### 11.3.3 Predefined operations
+
+##### 11.3.3.1 Introduction
+
+The predefined operations fall into two categories:
+
+- a) conversion;
+- b) others.
+
+Predefined operations may be used in every test suite. They do not require an explicit definition using a Test Suite Operation Definition table. When a predefined operation is invoked:
+
+- a) the number of the actual parameters shall be the same as the number of the formal parameters; and
+- b) each actual parameter shall evaluate to an element of its corresponding formal parameter's type; and
+- c) all variables appearing in the parameter list shall be bound.
+
+Each of the predefined operations is presented in the following format:
+
+OPERATION\_NAME (FORMAL\_PARAMETER\_LIST) $\Rightarrow$ RESULT\_TYPE
+
+##### 11.3.3.2 Predefined conversion operations
+
+###### 11.3.3.2.1 Introduction
+
+TTCN supports the following predefined operations for type conversions:
+
+- a) HEX\_TO\_INT converts HEXSTRING to INTEGER;
+- b) BIT\_TO\_INT converts BITSTRING to INTEGER;
+- c) INT\_TO\_HEX converts INTEGER to HEXSTRING;
+- d) INT\_TO\_BIT converts INTEGER to BITSTRING.
+
+These operations provide encoding rules within the context of the operations only. It is invalid to assume these encoding rules apply outside the domain of the operations in TTCN.
+
+###### 11.3.3.2.2 HEX\_TO\_INT
+
+HEX\_TO\_INT(hexvalue:HEXSTRING) $\Rightarrow$ INTEGER
+
+This operation converts a single HEXSTRING value to a single INTEGER value.
+
+For the purposes of this conversion, a HEXSTRING shall be interpreted as a positive base 16 INTEGER value. The rightmost HEX digit is least significant, the leftmost HEX digit is the most significant. The HEX digits 0 .. F represent the decimal values 0 .. 15 respectively.
+
+###### 11.3.3.2.3 BIT\_TO\_INT
+
+BIT\_TO\_INT(bitvalue:BITSTRING) $\Rightarrow$ INTEGER
+
+This operation converts a single BITSTRING value to a single INTEGER value.
+
+For the purposes of this conversion, a BITSTRING shall be interpreted as a positive base 2 INTEGER value. The rightmost BIT is least significant, the leftmost BIT is the most significant. The bits 0 and 1 represent the decimal values 0 and 1 respectively.
+
+#### 11.3.3.2.4 INT\_TO\_HEX
+
+INT\_TO\_HEX(intvalue, slength:INTEGER) $\Rightarrow$ HEXSTRING
+
+This operation converts a single INTEGER value to a single HEXSTRING value. The resulting string is *slength* HEX digits long.
+
+For the purposes of this conversion, a HEXSTRING shall be interpreted as a positive base 16 INTEGER value. The rightmost HEX digit is least significant, the leftmost HEX digit is the most significant. The HEX digits 0 .. F represent the decimal values 0 .. 15 respectively.
+
+If the conversion yields a value with fewer HEX digits than specified in the second parameter, then the HEXSTRING shall be padded on the left with zeros.
+
+A test case error shall occur if the *intvalue* is negative or if the resulting HEXSTRING contains more HEX digits than specified in the second parameter.
+
+#### 11.3.3.2.5 INT\_TO\_BIT
+
+INT\_TO\_BIT(intvalue, slength:INTEGER) $\Rightarrow$ BITSTRING
+
+This operation converts a single INTEGER value to a single BITSTRING value. The resulting string is *slength* bits long.
+
+For the purposes of this conversion, a BITSTRING shall be interpreted as a positive base 2 INTEGER value. The rightmost BIT is least significant, the leftmost BIT is the most significant. The bits 0 and 1 represent the decimal values 0 and 1 respectively.
+
+If the conversion yields a value with fewer bits than specified in the second parameter, then the BITSTRING shall be padded on the left with zeros.
+
+A test case error shall occur if the *intvalue* is negative or if the resulting BITSTRING contains more bits than specified in the second parameter.
+
+### 11.3.3.3 Other predefined operations
+
+#### 11.3.3.3.1 IS\_PRESENT
+
+IS\_PRESENT(DataObjectReference) $\Rightarrow$ BOOLEAN
+
+As an argument the operation shall take a reference to a field within a data object only if it is defined as being OPTIONAL or if it has a DEFAULT value. The field may be of any type. The result of applying the operation is the BOOLEAN value TRUE if and only if the value of the field is present in the actual instance of the data object. Otherwise the result is FALSE.
+
+The argument of the operation shall have the format as defined in 15.10.2.
+
+*EXAMPLE 14* – Use of IS\_PRESENT:
+
+```
+if received_PDU is of ASN.1 type
+ SEQUENCE { field_1 INTEGER OPTIONAL,
+ field_2 SEQUENCE OF INTEGER }
+then, the operation call
+ IS_PRESENT(received_PDU.field_1)
+evaluates to TRUE if field_1 in the actual instance of received_PDU is present.
+```
+
+#### 11.3.3.3.2 IS\_CHOSEN
+
+IS\_CHOSEN(DataObjectReference) $\Rightarrow$ BOOLEAN
+
+The operation returns the BOOLEAN value TRUE if and only if the data object reference specifies the variant of the CHOICE type that is actually selected for a given data object. Otherwise the result is FALSE. The operation shall not be applied to data objects or fields of data objects other than those of ASN.1 type CHOICE. The argument of the operation shall have the format as defined in 15.10.2.
+
+*EXAMPLE 15* – Use of IS\_CHOSEN:
+
+```
+if received_PDU is of ASN.1 type
+ CHOICE { p1 PDU_type1,
+ p2 PDU_type2,
+ p3 PDU_type }
+then, the operation call
+ IS_CHOSEN(received_PDU.p2)
+returns TRUE if the actual instance of received_PDU carries a PDU of the type PDU_type2.
+```
+
+#### 11.3.3.3.3 NUMBER\_OF\_ELEMENTS
+
+NUMBER\_OF\_ELEMENTS(Value) $\Rightarrow$ INTEGER
+
+The operation returns the actual number of elements of a value that is of type ASN.1 SEQUENCE OF or SET OF. Its result is fully compatible with that of the equivalent ASN.1 SIZE constraint applied to objects of these types. The operation shall not be applied to values other than of ASN.1 type SEQUENCE OF or SET OF. The argument of the operation shall have the format as defined in 15.10.2.
+
+*EXAMPLE 16* – Use of NUMBER\_OF\_ELEMENTS:
+
+```
+if received_PDU is of ASN.1 type
+ SEQUENCE { field_1 INTEGER OPTIONAL,
+ field_2 SEQUENCE OF INTEGER }
+then, the operation call
+ NUMBER_OF_ELEMENTS(received_PDU.field_2)
+returns the number of elements of the SEQUENCE OF INTEGER within the actual data object received_PDU.
+Also, NUMBER_OF_ELEMENTS ({3, 0, 5}) returns 3.
+```
+
+#### 11.3.3.3.4 LENGTH\_OF
+
+LENGTH\_OF(Value) $\Rightarrow$ INTEGER
+
+The operation returns the actual length of a value that is of type BITSTRING, HEXSTRING, OCTETSTRING, or CharacterString or of ASN.1 type BIT STRING or OCTET STRING. The units of length for each string type are defined in Table 5 in 11.18.2.
+
+NOTE – These units of length are compatible with those used in ASN.1 SIZE constraints for objects of ASN.1 types, but not for literal values which in this context in TTCN are considered to be of the corresponding TTCN type. Thus, an hstring such as 'F3'H which could in ASN.1 be of type BIT STRING or OCTET STRING, will be interpreted as the TTCN type HEXSTRING.
+
+The argument of the operation shall have the format as defined in 15.10.2.
+
+The operation shall not be applied to values other than of type BITSTRING, HEXSTRING, OCTETSTRING, or CharacterString, or of ASN.1 type BIT STRING or OCTET STRING.
+
+*EXAMPLE 17* – Use of LENGTH\_OF:
+
+```
+If S is of type BITSTRING or ASN.1 type BIT STRING and ='010'B then LENGTH_OF(S) returns 3
+If S is of type HEXSTRING and ='F3'H then LENGTH_OF(S) returns 2
+If S is of type OCTETSTRING and ='F2'O then LENGTH_OF(S) returns 1
+If S is of a CharacterString type and ="EXAMPLE" then LENGTH_OF(S) returns 7
+If S is of ASN.1 type BIT STRING and ='F3'H then LENGTH_OF(S) returns 8
+If S is of ASN.1 type OCTET STRING and ='F3'H then LENGTH_OF(S) returns 1
+If S is of ASN.1 type OCTET STRING and ='01010011'B then LENGTH_OF(S) returns 1
+Also, LENGTH_OF (INT_TO_HEX (26, 4)) returns 4
+LENGTH_OF ('F3'H) returns 2
+and, LENGTH_OF ("Length_of Example") returns 17
+```
+
+### 11.3.4 Test Suite Operation definitions and descriptions
+
+#### 11.3.4.1 Introduction
+
+The ATS specifier may define operations specific to a test suite. To define a new operation, the following shall be provided:
+
+- a) a name for the operation;
+- b) a list of the input parameters and their types.
+
+This is a list of the formal parameter names and types. A colon and then the name of the parameter's type shall follow each parameter name.
+
+When more than one parameter of the same type is used, the parameters may be specified as a parameter sub-list. When a parameter sub-list is used, a comma shall separate the parameter names from each other. A colon and then the name of the type of the parameter shall follow the final parameter in the list.
+
+When more than one parameter and type pair (or parameter list and type pair) is used, semicolons shall separate the pairs from each other.
+
+Only predefined types and data types as defined in the Test Suite Type definitions, ASP type definitions or PDU type definitions may be used as types for formal parameters. PCO types shall not be used as formal parameter types. All parameters shall be passed by value, meaning that in evaluating a call of a test suite operation, the actual parameters are assigned to the corresponding formal parameters, as if in an assignment statement.
+
+*EXAMPLE 18* – Parameter lists:
+
+The following are equivalent methods of specifying a parameter list using two INTEGER parameters and one BOOLEAN parameter:
+
+(A:INTEGER; B:INTEGER; C:BOOLEAN)
+
+(A, B:INTEGER; C:BOOLEAN)
+
+- c) the type of the result,
+which shall follow the rules for the parameter types in b);
+- d) a definition of the operation,
+which shall consist of one of the following:
+ - 1) a procedural definition, which when evaluated results in the evaluation of a RETURNVALUE statement to provide the result of the operation, including explanatory comments embedded within the procedural definition at appropriate places as text delimited by "/\*" and "\*/"; or
+ - 2) a description of the operation in text, possibly including a reference to a publicly available specification of the algorithm to be applied when the operation is invoked, plus at least one example showing an invocation and corresponding result; the explanation should begin by stating the operation name, followed by a parenthesized list containing the parameter names of the operation; this provides a "pattern" invocation for the operation;
+- e) optionally, further comment describing the operation, provided either in the Comments part of the table header or in the Detailed Comments area of the table.
+
+The use of procedural definitions is recommended in order to provide precision in the definition of the operations, but a textual explanation is allowed as an alternative for backwards compatibility.
+
+In the case of a procedural definition, this information shall be provided in the format shown in the following proforma:
+
+| Test Suite Operation Procedural Definition | |
+|--------------------------------------------|----------------------------------|
+| Operation Name | : TS_ProcId&ParList |
+| Group | : [TS_ProcGroupReference] |
+| Result Type | : Type |
+| Comments | : [FreeText] |
+| Definition | |
+| TS_OpProcDef | |
+| Detailed Comments: | [FreeText] |
+
+**Proforma 11: Test Suite Operation Procedural Definition**
+
+In the case of a textual description, this information shall be provided in the following proforma:
+
+| Test Suite Operation Description | |
+|---------------------------------------------|--------------------------------|
+| Operation Name | : TS_OpId&ParList |
+| Group | : [TS_OpGroupReference] |
+| Result Type | : Type |
+| Comments | : [FreeText] |
+| Description | |
+| FreeText | |
+| Detailed Comments: [FreeText] | |
+
+### Proforma 12: Test Suite Operation Description
+
+#### 11.3.4.2 Parameters
+
+A test suite operation may be compared to a function in an ordinary programming language. Values shall only be passed into the operation by formal parameters. Each formal parameter shall be declared to be a Predefined Type, a Test Suite Type Identifier, ASP Type Identifier, PDU Type Identifier, CM Type Identifier or the meta-type **PDU**. Test suite variables, test case variables, test suite constants, test suite parameters and constraints shall not directly be used within the procedural definition of a test suite operation, but if required in the test suite operation shall be passed as actual parameters.
+
+There shall be no side-effects, that is, the parameters to the operation shall not be altered as a result of any call of the operation. Predefined operations and other test suite operations may be used within the procedural definition of a test suite operation, without having to be passed as actual parameters.
+
+When a Test Suite Operation is invoked:
+
+- a) the number of the actual parameters shall be the same as the number of the formal parameters;
+- b) each actual parameter shall evaluate to an element of its corresponding formal parameter's type;
+- c) all variables appearing in the actual parameter list shall be bound; and
+- d) the actual parameters shall be passed by value.
+
+#### 11.3.4.3 Variables and identifiers
+
+If a procedural definition is used, it may include the declaration of local variables, placed at the head of the procedural definition, between the keywords **VAR** and **ENDVAR**. These variables may be of any type allowed in TTCN. The scope of these local variables is the procedural definition itself. These declarations declare lists of variable identifiers, each of a given type and each list may either be declared to be **STATIC** or not. Variables, both **STATIC** and those not declared as **STATIC**, may be given an optional initial value.
+
+NOTE – It is recommended always to provide **STATIC** variables with an initial value.
+
+The variables which are not declared to be **STATIC** are initialized every time the operation is invoked, with the specified initial value, if any, and thus they shall not convey a value from one evaluation of the test suite operation to another. Those which are declared to be **STATIC** are initialized with the specified initial value, if any, the first time the operation is invoked within a given test component, or within a given test case if test components are not used, and thereafter they retain their values from one invocation to the next within that test component or test case.
+
+Variables which are not assigned an initial value are considered to be unbound and shall be explicitly bound to a value by an assignment in the operation body before being used in an expression. If an unbound variable is used in an expression then it is a test case error.
+
+Each identifier used in the procedural definition of a test suite operation shall be one of the following:
+
+- a) locally declared variable name;
+- b) a type name, used in a variable declaration;
+
+- c) a formal parameter name declared in a formal parameter list of the operation;
+- d) a test suite operation name.
+
+The scope of formal parameter names and locally declared variable names is the procedural definition of the test suite operation. Thus, the values of all other types of identifier are not directly accessible within the procedural definition of a test suite operation. To access such values they shall be passed as actual parameters to the test suite operation.
+
+#### 11.3.4.4 Procedure statements
+
+In a procedural definition, following the declaration of local variables, if any, there shall be a procedure statement of one of the following kinds:
+
+- a) a Return statement;
+- b) an Assignment statement;
+- c) an If statement;
+- d) a While loop;
+- e) a Case statement;
+- f) a block containing a sequence of procedure statements separated by semicolons and all enclosed by the keywords **BEGIN** and **END**.
+
+Comments may be embedded as text within procedural statements, delimited by `"/**"` and `"*/"`. Comments shall not be embedded within other comments.
+
+#### 11.3.4.5 ReturnValue statements
+
+Each evaluation of a test suite operation shall end with the evaluation of a ReturnValue statement, consisting of the keyword **RETURNVALUE** followed by an expression. This statement shall return the value of the given expression as the result of the test suite operation. The type of this result shall match the Result Type specified in the header of the test suite operation definition table.
+
+#### 11.3.4.6 Assignment statements
+
+The form of Assignment is the same as in the TTCN behaviour descriptions (see 15.10.4), except that it is not enclosed in parentheses. The DataObjectReference on the left-hand side shall begin with a local variable. If the type of the local variable is a structured type then the DataObjectReference may access a component of that structure (using a record reference, array reference or bit reference, as appropriate, see 15.10.2 and 15.10.3).
+
+#### 11.3.4.7 If statements
+
+There are two forms of If statement:
+
+- **IF** expression **THEN** procedure-statement **ELSE** procedure-statement **ENDIF**;
+- **IF** expression **THEN** procedure-statement **ENDIF**.
+
+The expression following the keyword **IF** shall be evaluated first and shall evaluate to a Boolean value. If this evaluates to **TRUE** then the procedure statement following the keyword **THEN** shall be evaluated. If the expression evaluates to **FALSE** then the procedure statement following the keyword **ELSE**, if any, is evaluated. The use of the keyword **ENDIF** to end the If statement allows the procedure statements following **THEN** and **ELSE** to be If statements without having to be enclosed in a block.
+
+#### 11.3.4.8 While loop
+
+A While loop takes the form:
+
+- **WHILE** expression **DO** procedure-statement **ENDWHILE**.
+
+The expression following the keyword **WHILE** shall be evaluated first and shall evaluate to a Boolean value. If it evaluates to **TRUE** then the procedure statement following the keyword **DO** shall be evaluated and then, if no ReturnValue statement has been evaluated, the process shall be repeated starting with the evaluation of the expression again. As soon as the expression evaluates to **FALSE** the evaluation of the While loop is complete.
+
+### 11.3.4.9 Case statement
+
+A Case statement takes one of the two following forms:
+
+- **CASE expression OF**
+integer-label\_1: procedure-statement\_1;
+integer-label\_2: procedure-statement\_2;
+...
+integer-label\_n: procedure-statement\_n;
+**ELSE**
+procedure-statement
+**ENDCASE**
+- **CASE expression OF**
+integer-label\_1: procedure-statement\_1;
+integer-label\_2: procedure-statement\_2;
+...
+integer-label\_n: procedure-statement\_n;
+**ENDCASE**
+
+The expression following the keyword **CASE** shall be evaluated first and shall evaluate to a positive integer which shall match at most one of the integer labels in the body of the Case statement. The procedure statement following the matched integer label, if any, shall be evaluated and this completes the evaluation of the Case statement. If, however, the result of evaluating the expression does not match any of the integer labels, then the procedure statement following the keyword **ELSE**, if any, shall be evaluated and this completes the Case statement. If, however, there is no match against an integer label or an **ELSE** clause, then the result of the Case statement is a test case error. Thus, the Case statement is equivalent to a nested sequence of If statements, each testing the expression "(expression) = integer-label\_i", possibly followed by an **ELSE** clause at the innermost level of nesting.
+
+### 11.3.4.10 Use of Test Suite Operations
+
+A test suite operation together with its actual parameter list may be used wherever an expression is allowed.
+
+Each test suite operation should include appropriate error checking. If an error (e.g., division by zero, an invalid parameter, a type mismatch, or evaluation of an unbound variable) is detected during evaluation of a test suite operation, it shall result in a test case error.
+
+*EXAMPLE 19* – Definition of the operation SUBSTR:
+
+| Test Suite Operation Description | |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------|
+| Operation Name | : SUBSTR (source:IA5String; start_index, length:INTEGER) |
+| Result Type | : IA5String |
+| Description | |
+| SUBSTR(source, start_index, length) is the string of length len starting from index start_index of the source string source . For example: SUBSTR("abcde",3,2) = "cd" SUBSTR("abcde",1,3) = "abc"SUBSTR(source, start_index, len) shall only be defined ifstart_index >= 1,len >= 0, andstart_index + len <= (length of source) + 1. Any attempt to evaluate SUBSTR applied to arguments on which it is not defined will result in a test case error. | |
+
+| Test Suite Operation Procedural Definition | |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|
+| Operation Name | : NUMBER_OF_INVOCATIONS |
+| Result Type | : INTEGER |
+| Definition | |
+| VAR STATIC COUNT : INTEGER : 0ENDVAR BEGIN COUNT := COUNT + 1;RETURNVALUE COUNTEND | |
+| Detailed Comments: NUMBER_OF_INVOCATIONS() gives an integer value which is equal to the number of times this operation has been invoked in the current test component, or test case if test components are not used. | |
+
+## 11.4 Test Suite Parameter Declarations
+
+The purpose of this part of the ATS is to declare constants derived from the PICS and/or PIXIT which are used to globally parameterize the test suite. These constants are referred to as Test Suite Parameters, and are used as a basis for Test Case selection and parameterization of Test Cases.
+
+The following information relating to each Test Suite Parameter shall be provided:
+
+- a) its name;
+- b) its type,
+where the type shall be a predefined type, an ASN.1 type, a Test Suite Type or a PDU type;
+- c) its default value, if any,
+which may be used to suggest suitable values for some test suite parameters such as timeout durations;
+- d) PICS/PIXIT entry reference,
+which is a reference to an individual PICS/PIXIT proforma entry that will clearly identify where the value to be used for this Test Suite Parameter will be found.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Suite Parameter Declarations | | | | |
+|---------------------------------------|----------------|--------------------------|--------------------|----------------------|
+| Group : [TS_ParGroupReference] | | | | |
+| Parameter Name | Type | Default Value | PICS/PIXIT Ref | Comments |
+| ⋮ TS_ParIdentifier ⋮ | ⋮ Type ⋮ | ⋮ [DefaultValue] ⋮ | ⋮ FreeText ⋮ | ⋮ [FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | | |
+
+**Proforma 13: Test Suite Parameter Declarations**
+
+Collective comments may be used in this table according to Figure 2.
+
+| Test Suite Parameter Declarations | | | |
+|-----------------------------------|---------|------------------|----------|
+| Parameter Name | Type | PICS/PIXIT Ref | Comments |
+| PAR1 | INTEGER | PICS question xx | |
+| PAR2 | INTEGER | PICS question yy | |
+| PAR3 | INTEGER | PICS question zz | |
+
+## 11.5 Test Case Selection Expression Definitions
+
+The purpose of this part of the ATS is to define selection expressions to be used in the Test Case selection process. This part of the ATS shall meet the requirements of ITU-T Rec. X.291.
+
+A selection expression is associated with one or more Test Groups and/or Test Cases by placing its identifier in the Test Case Selection Reference column of the Test Suite Structure and/or Test Case Index. An expression may be referenced by more than one Test Group and/or Test Case.
+
+Use of a selection expression shall be taken to mean that the Test Case is to be run if the selection expression evaluates to TRUE.
+
+The following information relating to each Test Case Selection Expression shall be provided:
+
+- a) its name;
+- b) a selection expression,
+
+
+which shall evaluate to a BOOLEAN value, and which shall use only literal values, Test Suite Parameters, Test Suite Constants and other selection expression identifiers in its terms.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Case Selection Expression Definitions | | |
+|--------------------------------------------------|--------------------------------------|-----------------------------|
+| Group : [SelectExprGroupReference] | | |
+| Expression Name | Selection Expression | Comments |
+| ⋮SelectExprIdentifier ⋮ | ⋮SelectionExpression ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | |
+
+**Proforma 14: Test Case Selection Expression Definitions**
+
+Collective comments may be used in this table according to Figure 2.
+
+## 11.6 Test Suite Constant Declarations
+
+The purpose of this part of the ATS is to declare a set of names for values *not* derived from the PICS or PIXIT that will be constant throughout the test suite.
+
+The following information relating to each Test Suite Constant shall be provided:
+
+- a) its name;
+- b) its type,
+
+
+where the type shall be a predefined type, a simple type or an ASN.1 Type (including PDUs, ASPs and CMs expressed in ASN.1);
+
+- c) its value,
+
+
+where the terms in the value expression shall not contain: Test Suite Variables or Test Case Variables; the value shall evaluate to an element of the type indicated in the type column.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Suite Constant Declarations | | | |
+|----------------------------------|----------------|------------------------------|----------------------|
+| Group : [TS_ConstGroupReference] | | | |
+| Constant Name | Type | Value | Comments |
+| ⋮ TS_ConstIdentifier ⋮ | ⋮ Type ⋮ | ⋮ ConstantExpression ⋮ | ⋮ [FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+Proforma 15: Test Suite Constant Declarations
+
+Collective comments may be used in this table according to Figure 2.
+
+EXAMPLE 22 – Declaration of Test Suite Constants:
+
+| Test Suite Constant Declarations | | | |
+|----------------------------------|-----------|------------|----------|
+| Constant Name | Type | Value | Comments |
+| TS_CONST1 | BOOLEAN | TRUE | |
+| TS_CONST2 | IA5String | "A string" | |
+
+### 11.7 Test Suite Constant Declarations by Reference
+
+The purpose of this part of the ATS is to declare a set of names for values *not* derived from the PICS or PIXIT that will be constant throughout the test suite.
+
+The following information relating to each Test Suite Constant shall be provided:
+
+- a) its name;
+- b) its type,
+
+
+where the type shall be a predefined type or an ASN.1 type (including PDU, ASP or CM types expressed in ASN.1) imported by an ASN.1 Type Definition By Reference from the ASN.1 module identified by the specified module identifier;
+- c) its value reference,
+
+
+where the value shall correspond to an element of the type indicated in the type column;
+- d) the module identifier,
+
+
+which consists of a module reference that shall follow the identifier rules stated in ITU-T Rec. X.680, and an optional ObjectIdentifier; the module shall be unique within the domain of interest.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Suite Constant Declarations By Reference | | | | |
+|-----------------------------------------------|----------------|--------------------------|---------------------------------|----------------------|
+| Group : [TS_ConstGroupReference] | | | | |
+| Constant Name | Type | Value Reference | Module Identifier | Comments |
+| ⋮ TS_ConstIdentifier ⋮ | ⋮ Type ⋮ | ⋮ ValueReference ⋮ | ⋮ ASN1_ModuleIdentifier ⋮ | ⋮ [FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | | |
+
+**Proforma 16: Test Suite Constant Declarations By Reference**
+
+Collective comments may be used in this table according to Figure 2.
+
+## 11.8 TTCN variables
+
+### 11.8.1 Test Suite Variable Declarations
+
+A test suite may make use of a set of variables which are defined globally for the test suite, and retain their values throughout the test suite. These variables are referred to as Test Suite Variables.
+
+A Test Suite Variable is used whenever it is necessary to pass information from one Test Case to another. In concurrent TTCN, Test Suite Variables shall only be used by the MTC.
+
+The following information shall be provided for each variable declaration:
+
+- a) its name;
+- b) its type,
+where the type shall be a predefined type, an ASN.1 type, a Test Suite Type or a PDU type;
+- c) its initial value (if any),
+where the initial value column is used when it is desired to assign an initial value to a Test Suite Variable at its point of declaration; the terms in the value expression shall not contain: Test Suite Variables or Test Case Variables; the value shall evaluate to an element of the type indicated in the type column. Specifying an initial value is optional.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Suite Variable Declarations | | | |
+|----------------------------------|----------------|--------------------------------|----------------------|
+| Group : [TS_VarGroupReference] | | | |
+| Variable Name | Type | Value | Comments |
+| ⋮ TS_VarIdentifier ⋮ | ⋮ Type ⋮ | ⋮ [ConstantExpression] ⋮ | ⋮ [FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 17: Test Suite Variable Declarations**
+
+Collective comments may be used in this table according to Figure 2.
+
+Since it is possible that any particular Test Case may be run independently of the others in the test suite, it is necessary that the use made of Test Suite Variables does not make assumptions about the ordering of the Test Case execution.
+
+| Test Suite Variable Declarations | | | |
+|----------------------------------|-----------|--------|------------------------------------------------------------------------------------------------------------------------------|
+| Variable Name | Type | Value | Comments |
+| state | IA5String | "idle" | Used to indicate the final stable state of the previous Test Case, if any, in order to help determine which preamble to use. |
+
+### 11.8.2 Binding of Test Suite Variables
+
+Initially Test Suite Variables are unbound. They may become bound (or be re-bound) in the following contexts:
+
+- at the point of declaration if an initial value is specified;
+- when the Test Suite Variable appears on the left-hand side of an assignment statement (see 15.10.4);
+
+Once a Test Suite Variable has been bound to a value, the Test Suite Variable will retain that value until either it is bound to a different value, or execution of the test suite terminates – whichever occurs first.
+
+If an unbound Test Suite Variable is used in the right-hand side of an assignment, then it is a test case error.
+
+### 11.8.3 Test Case Variable Declarations
+
+A test suite may make use of a set of variables which are declared globally to the test suite but whose scope is defined to be local to the Test Case.
+
+In concurrent TTCN, each test component, including the MTC, receives a fresh copy of all Test Case Variables when it is created. These variables are referred to as Test Case Variables.
+
+The following information shall be provided for each variable declaration:
+
+- its name;
+- its type,
+where the type shall be a predefined type, an ASN.1 type, a Test Suite Type or a PDU type;
+- its initial value (if any),
+where the initial value column is used when it is desired to assign an initial value to a Test Case Variable at its point of declaration; the terms in the value expression shall not contain: Test Suite Variables or Test Case Variables; the value shall evaluate to an element of the type indicated in the type column. Specifying an initial value is optional.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Case Variable Declarations | | | |
+|----------------------------------------------|-----------------------|---------------------------------------|-----------------------------|
+| Group : [TC_VarGroupReference] | | | |
+| Variable Name | Type | Value | Comments |
+| ⋮TC_VarIdentifier ⋮ | ⋮Type ⋮ | ⋮[ConstantExpression] ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 18: Test Case Variable Declarations**
+
+Collective comments may be used in this table according to Figure 2.
+
+NOTE – Caution should be exercised when using Test Case Variables as local variables within a Test Step, in order to avoid usage conflicts with other Test Steps or Test Case Variables. A test suite specifier may avoid such problems by adopting a naming convention which will result in all such variables being uniquely named within a test suite.
+
+11.8.4 Binding of Test Case Variables
+
+Initially Test Case Variables are unbound. They may become bound (or be re-bound) in the following contexts:
+
+- a) at the point of declaration if an initial value is specified;
+- b) when the Test Case appears on the left-hand side of an assignment statement (see 15.10.4).
+
+Once a Test Case Variable has been bound to a value, the Test Case Variable will retain that value until either it is bound to a different value, or execution of the Test Case terminates – whichever occurs first. At termination of the Test Case, the Test Case Variable becomes re-bound to its initial value, if one is specified, otherwise it becomes unbound.
+
+If an unbound Test Case Variable is used in the right-hand side of an assignment, then it is a test case error.
+
+11.9 PCO Type Declaration
+
+This part of the ATS lists the set of service boundaries where the PCOs (Points of Control and Observation) are located.
+
+The following information shall be provided for each PCO types used in the test suite:
+
+- a) its name,
+which is used to identify the service boundary where the PCO is located;
+- b) its role,
+which shall be declared either as UT or LT in the Role column or by descriptive text in the Comment column; the predefined identifier UT indicates that the PCO is an upper tester PCO and LT specifies a lower tester PCO.
+
+NOTE – In a test suite using concurrency, the role of a PCO type may need to be described in terms of the nature of the test component and underlying service provider to be coupled by PCOs of this type.
+
+This information shall be provided in the format shown in the following proforma:
+
+| PCO Type Declarations | | |
+|-------------------------------|----------------------|----------------------|
+| Group : [PCO_GroupReference] | | |
+| PCO Type | Role | Comments |
+| ⋮ PCO_TypeIdentifier ⋮ | ⋮ [PCO_Role] ⋮ | ⋮ [FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | |
+
+Proforma 19: PCO Type Declarations
+
+Collective comments may be used in this table according to Figure 2.
+
+11.10 PCO declarations
+
+This part of the ATS lists the set of points of control and observation (PCOs) to be used in the test suite and explains where in the testing environment these PCOs exist.
+
+NOTE 1 – The number of PCOs is, where applicable, as defined in ITU-T Recs X.290 and X.291 for the test method(s) identified in the Test Suite Structure table. In TTCN, PCOs may also be used in ways not described in ITU-T Rec. X.291, for example to communicate with parts of the test system or test environment not defined in the test suite (e.g., to manipulate frequencies or simulate handovers for radio protocol testing).
+
+NOTE 2 – TTCN behaviour statements specified for execution at the UT PCO should not place requirements beyond those specified by ITU-T Rec. X.291.
+
+In TTCN the PCO model is based on two First In First Out (FIFO) queues:
+
+- one output queue for sending ASPs and/or PDUs;
+- one input queue for receiving ASPs and/or PDUs.
+
+The output queue is assumed to be located within the underlying service-provider or in the case of the UT, within the IUT.
+
+A SEND event at a PCO is successful when the event is passed from the LT to the service-provider, or when the event is passed from the UT to the IUT.
+
+For the purpose of receiving events the tester has an input queue. All incoming events are queued and processed by the tester in the same order they were received, and without loss of any events.
+
+NOTE 3 – The queue model is only an abstract model and is not intended to imply a specific implementation.
+
+The following information shall be provided for each PCO used in the test suite:
+
+- a) its name,
+which is used in the behaviour descriptions to specify where particular events occur;
+- b) its type,
+as declared in the PCO Type Declaration tables, and which may if necessary be followed by information concerned with multiplexing requirements to be met immediately below this PCO but above the service boundary; if the activity at two or more PCOs is to be multiplexed together by the service provider (e.g., onto a single connection end-point) then, in the PCO declarations for these PCOs, the PCO type shall be followed by the same MuxValue (i.e., a test suite parameter) given in parentheses; the precise meaning of this test suite parameter shall be specified in the relevant PIXIT;
+
+NOTE 4 – See also F.11 for further explanation of MuxValue.
+
+EXAMPLE 24 – Use of MuxValue:
+
+
+
+Diagram illustrating the use of MuxValue. Two upper tester components, LT1 and LT2, are shown at the top. Below them are two PCOs: PCO\_1 N-SAP (MuxA) and PCO\_2 N-SAP (MuxA). Arrows point from LT1 and LT2 to their respective PCOs. These PCOs are connected to an N-ASP (Network Service Access Point) represented by an oval. The N-ASP is connected to an N-Service plus Multiplexing Service Provider, represented by a large rectangle. An arrow points from the N-Service plus Multiplexing Service Provider back to the N-ASP. The diagram is labeled X.292\_F11.10 in the bottom right corner.
+
+- c) its role,
+which may be omitted if it is specified in the PCO type declaration tables for each of the PCO types used; if the role is not specified in a PCO type declaration table then it shall be declared either as UT or LT in the Role column or by descriptive text in the Comment column; the predefined identifier **UT** indicates that the PCO is an upper tester PCO and **LT** specifies a lower tester PCO; if the Role column is used then its contents shall be consistent with the role, if any, given in the PCO type declaration tables.
+
+NOTE 5 – In a test suite using concurrency, the role of a PCO may need to be described in terms of the nature of the test component and underlying service provider to be coupled by this PCO.
+
+This information shall be provided in the format shown in the following proforma:
+
+| PCO Declarations | | | |
+|-------------------------------|----------------------------------------------|----------------------|----------------------|
+| Group : [PCO_GroupReference] | | | |
+| PCO Name | Type | Role | Comments |
+| ⋮ PCO_Identifier ⋮ | ⋮ PCO_TypeIdentifier [(MuxValue)] ⋮ | ⋮ [PCO_Role] ⋮ | ⋮ [FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+Proforma 20: PCO Declarations
+
+Collective comments may be used in this table according to Figure 2.
+
+EXAMPLE 25 – Declaration of PCOs:
+
+| PCO Declarations | | | |
+|------------------|----------|------|----------------------------------------------------------------------------------------------------------|
+| PCO Name | PCO Type | Role | Comments |
+| L | TSAP | LT | Transport service access point at the lower tester. Session service access point at the upper tester. |
+| U | SSAP | UT | |
+
+Points of control and observation are usually just SAPs, but in general can be any appropriate points at which the test events can be controlled and observed. However, it is possible to define a PCO to correspond to a *set* of SAPs, provided all the SAPs (Service Access Point) comprising that PCO are:
+
+- at the same location (*i.e.*, in the LT or in the UT);
+- SAPs of the same service.
+
+When a PCO corresponds to several SAPs the appropriate address is used to identify the individual SAP. PCOs are normally associated with one service access point of the (N – 1) service-provider or the IUT.
+
+NOTE 6 – A PCO may not be related to a SAP at all. This could be the case when a layer is composed of sublayers (*e.g.*, in the Application layer, or in the lower layers, where a subnetwork point of attachment is not a SAP).
+
+11.11 CP declarations
+
+CPs are used to facilitate the exchange of CMs between test components. CPs are modelled as two queues, one for each direction of communication (see Figure 5). In this respect they are similar to PCOs (see Figure 3). A difference between CPs and PCOs is that CPs connect two test components, while PCOs connect a test component with the external environment, usually either the IUT or a service provider.
+
+
+
+The diagram shows a central oval containing two horizontal queues. The top queue has an arrow pointing left towards the left side of the oval. The bottom queue has an arrow pointing right towards the right side of the oval. Outside the oval, a large arrow points left from the left side, and another large arrow points right from the right side. The label 'X.292\_F05' is located at the bottom right of the diagram.
+
+Diagram of a CP model showing two queues within an oval, with arrows indicating communication flow between them and to/from the external environment.
+
+Figure 5/X.292 – Model of a CP
+
+CPs can be realized either by local communication or by communication that spans physical boundaries.
+
+Communication via CPs is asynchronous, that is, communication is achieved by one test component sending a CM to its partner, and its partner receiving the CM when ready. The test component that initiated the CM, however, proceeds with execution immediately after sending the CM. If it is required that the sending test component suspends its activity until the CM has been received, a test suite specifier should use a handshake mechanism. An example of how such a handshake can be specified is shown in Figure 6.
+
+
+
+Figure 6/X.292 – Example of a simple handshake. The diagram shows two rectangular boxes connected by a double-headed horizontal arrow. The left box contains the text: ':', 'A\_CP!READY', 'A\_CP? OK', and ':'. The right box contains the text: ':', 'A\_CP?READY', 'A\_CP! OK', and ':'. Below the right box is the label 'X.292\_F06'.
+
+**Figure 6/X.292 – Example of a simple handshake**
+
+All CPs shall be declared. The name of each CP shall be unique within the test suite.
+
+This information shall be provided in the format shown in the following proforma:
+
+| CP Declarations | |
+|--------------------------------------|-----------------------|
+| Group | : [CP_GroupReference] |
+| CP Name | Comments |
+| : CP_Identifier : | : [FreeText] : |
+| Detailed Comments: [FreeText] | |
+
+**Proforma 21: CP Declarations**
+
+Collective comments may be used in this table according to Figure 2.
+
+## 11.12 Timer declarations
+
+A test suite may make use of timers. The following information shall be provided for each timer:
+
+- a) the timer name;
+- b) the optional timer duration,
+where the default duration of the timer shall be an expression which may be omitted if the value cannot be established prior to execution of the test suite; the terms in the value expression shall not contain: Test Suite Variables or Test Case Variables; the timer duration shall evaluate to a positive INTEGER value;
+- c) the time unit,
+where the time unit shall be one of the following:
+ - 1) **ps** (*i.e.*, picosecond);
+ - 2) **ns** (*i.e.*, nanosecond);
+ - 3) **µs** (*i.e.*, microsecond);
+
+- 4) **ms** (*i.e.*, millisecond);
+- 5) **s** (*i.e.*, second);
+- 6) **min** (*i.e.*, minute).
+
+Different timers may use different units within the same test suite. If a PICS or PIXIT entry exists, the timer declaration shall specify the same units included in the PICS/PIXIT entry.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Timer Declarations | | | |
+|---------------------------------------------|---------------------------------------|---------------------------|-----------------------------|
+| Group : [TimerGroupReference] | | | |
+| Timer Name | Duration | Unit | Comments |
+| ⋮TimerIdentifier ⋮ | ⋮[ConstantExpression] ⋮ | ⋮TimeUnit ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+#### Proforma 22: Timer Declarations
+
+Collective comments may be used in this table according to Figure 2.
+
+Each Test Component gets a fresh copy of all timers when it starts executing its behaviour.
+
+*EXAMPLE 26* – Declaration of timers:
+
+| Timer Declarations | | | |
+|--------------------|----------|------|-----------------------------------------------------------------------------------------------------------------------------------------|
+| Timer Name | Duration | Unit | Comments |
+| wait | 15 | s | General-purpose wait. |
+| no_response | A | min | Used to wait for IUT to connect or react to connection establishment, longer duration than general-purpose wait. Gets value from PIXIT. |
+| delay_time | | ms | Duration to be established during execution of the test suite. |
+
+### 11.13 Test components and configuration declarations
+
+#### 11.13.1 Test components
+
+##### 11.13.1.1 Main Test Component
+
+The Main Test Component is intended to fulfil the role of the Lower Tester Control Function (LTCF), as defined in 11.5.2/X.291. Its behaviour is described in the first tree of the test case behaviour description table and all trees attached to it. It is responsible for:
+
+- a) creating all PTCs required within the current configuration and monitoring their termination;
+- b) managing CPs that exist between itself and PTCs;
+- c) computation and assignment of the test verdict using its knowledge of the combined effect of the preliminary results from the PTCs.
+
+In addition a Main Test Component may manage PCO(s).
+
+Only the Main Test Component shall directly use Test Suite Variables. Variables can be passed to PTCs in the CREATE construct. Parameters are passed by value to prevent side effects.
+
+11.13.1.2 Parallel Test Components
+
+Parallel Test Components are intended to fulfil the role of the Lower Testers or Upper Testers. Their behaviour is described in the tree which is referenced in a CREATE statement in the MTC, and all trees attached to it. A PTC assigns preliminary results but does not assign test verdicts.
+
+A PTC shall not:
+
+- a) use Test Suite Variables;
+- b) create other test components.
+
+11.13.1.3 Test Component Declarations
+
+If concurrent TTCN is used, this section of the ATS shall declare all individual test components that are used. These test components are later referenced from the Test Component Configurations declarations which define specific configurations.
+
+The following information shall be provided for each test component:
+
+- a) its name,
+which shall be unique throughout the test suite;
+- b) its role,
+which shall indicate whether the test component is the Main Test Component or a Parallel Test Component, and where at least one test component shall be a Main Test Component, and at least one test component shall be a Parallel Test Component
+- c) number of PCOs used,
+where zero or more PCOs may be associated with the test component;
+- d) number of CPs used,
+where zero or more CPs may be associated with the test component.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Component Declarations | | | | |
+|-------------------------------|---------------------|--------------------|-------------------|----------------------|
+| Group : [TcompGroupReference] | | | | |
+| Component Name | Component Role | Nr of PCOs | Nr of CPs | Comments |
+| : TcompIdentifier : | : TCompRole : | : Num_PCOS : | : Num_CPs : | : [FreeText] : |
+| Detailed Comments: [FreeText] | | | | |
+
+Proforma 23: Test Component Declarations
+
+Collective comments may be used in this table according to Figure 2.
+
+EXAMPLE 27 – Declaration of test components:
+
+This Test Component Declarations table can be used in conjunction with the Test Component Configurations CONFIG1 and CONFIG2, illustrated in Figures 3 and 4, and declared in Examples 28 and 29.
+
+| Test Component Declarations | | | | |
+|-----------------------------|----------------|------------|-----------|--------------------------------|
+| Component Name | Component Role | Nr of PCOs | Nr of CPs | Comments |
+| MTC1 | MTC | 0 | 3 | Used in Config 1 |
+| MTC2 | MTC | 1 | 2 | Used in Config 2, with a PCO |
+| TC1 | PTC | 1 | 2 | Used in Config 1 |
+| TC2 | PTC | 1 | 3 | Used in Config 1 and Config 2 |
+| TC3 | PTC | 1 | 2 | Used in Config 1 |
+| TC4 | PTC | 0 | 3 | Used in Config 2 |
+| TC5 | PTC | 1 | 0 | Used in Config 2, without a CP |
+
+### 11.13.2 Test component configuration declarations
+
+Test components are used to build a logical architecture, or configuration, that facilitates concurrent execution of TTCN dynamic behaviour trees. Each Test Component configuration that is used in an Abstract Test Case using concurrency shall be declared.
+
+The following information shall be provided for each Test Component Configuration:
+
+- a) its name,
+
+which shall be unique within the test suite, and shall be referenced from a test case dynamic behaviour table header;
+
+- b) a list of the test components belonging to the test configuration,
+
+where the following information shall be provided for each test component:
+
+- 1) its name,
+
+which shall have been declared as a test component name. Exactly one of the test components in the configuration shall be declared as an MTC.
+
+- 2) PCOs used,
+
+where a list of zero or more declared PCOs is associated with each test component. The number of PCOs in the list shall be the same as the number of PCOs declared in the relevant Test Components Declaration. No PCO shall be used more than once in a single configuration (i.e., test components in one configuration shall not share PCOs).
+
+- 3) CPs used,
+
+where a list of zero or more declared CPs is associated with each test component. The number of CPs in the list for a PTC shall be the same as the number of CPs declared in the relevant Test Components Declaration. The number of CPs in the list of an MTC shall not exceed the number of CPs declared. No CP name shall appear more than once in each CP list. Each CP name in the list for one test component shall appear in the list for exactly one other test component in the configuration. In other words, each CP name used in the configuration will appear exactly twice in the configuration table. These CP pairs are used to specify the connectivity of test components in the configuration.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Test Component Configuration Declaration | | | |
+|---------------------------------------------------|------------------------------------------|-----------------------------------------|------------------------------------------|
+| Configuration Name : TCompConfigIdentifier | | | |
+| Group : [TCompConfigGroupReference] | | | |
+| Comments : [FreeText] | | | |
+| Components Used | PCOs Used | CPs Used | Comments |
+| ⋮TcompIdentifier ⋮
| ⋮[PCO_List] ⋮
| ⋮[CP_List] ⋮
| ⋮[FreeText] ⋮
|
+| Detailed Comments: [FreeText] | | | |
+
+Proforma 24: Test Component Configuration Declaration
+
+Collective comments may be used in this table according to Figure 2.
+
+EXAMPLE 28 – Test Component Configuration declaration corresponding to Figure 3:
+
+| Test Component Configuration Declaration | | |
+|------------------------------------------|-------------------------|--------------------------------------------------------------|
+| Configuration Name : CONFIG_1 | | |
+| Components Used | PCOs Used | CPs Used |
+| MTC1 TC1 TC2 TC3 | PCO_A PCO_B PCO_C | MCP1, MCP2, MCP3 MCP1, CP1 MCP2, CP1, CP2 MCP3, CP2 |
+
+EXAMPLE 29 – Test Component Configuration declaration corresponding to Figure 4:
+
+| Test Component Configuration Declaration | | |
+|------------------------------------------|-----------------------------|------------------------------------------------|
+| Configuration Name : CONFIG_2 | | |
+| Components Used | PCOs Used | CPs Used |
+| MTC2 TC2 TC4 TC5 | PCO_D PCO_B PCO_E | MCP2, MCP3 MCP2, CP1, CP2 MCP3, CP1, CP2 |
+
+## 11.14 ASP type definitions
+
+### 11.14.1 Introduction
+
+The purpose of this part of the abstract TTCN test suite is to declare the types of ASPs that may be sent or received at the declared PCOs. ASP type definitions may include ASN.1 type definitions, if appropriate.
+
+### 11.14.2 ASP type definitions using tables
+
+The following information shall be supplied for each ASP:
+
+- a) its name,
+where the full name, as given in the appropriate protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses;
+- b) the PCO type associated with the ASP,
+if only a single PCO is defined within a test suite, specifying the PCO type in an ASP type definition is optional;
+- c) a list of the parameters associated with the ASP,
+where the following information shall be supplied for each parameter:
+
+- 1) its name,
+where either:
+ - the full name, as given in the appropriate protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses; or
+ - the macro symbol ( <- ) indicating that the entry in the type column identifies a set of parameters that is to be inserted directly in the list of ASP parameters; the macro symbol shall be used only with Structured Types defined in the Structured Types definitions;
+- 2) its type and an optional attribute,
+where parameters may be of a type of arbitrarily complex structure, including being specified as a Test Suite Type (either predefined, Simple Type, Structured Type or ASN.1 type); if a parameter is to be structured as a PDU, then its type may be stated either:
+ - as a PDU identifier to indicate that in the constraint for the ASP this parameter may be chained to a PDU constraint of a specific PDU type; or
+ - as **PDU** to indicate that in the constraint for the ASP this parameter may be chained to a PDU constraint of any PDU type; and where the optional attribute is Length;
+
+in which case the specification may restrict the parameter to a particular length or a range according to 11.18. The length values shall be interpreted according to Table 5 in 11.18. The boundaries shall be specified in terms of non-negative INTEGER literals, Test Suite Parameters, Test Suite Constants or the keyword INFINITY.
+
+The length specifications defined for the ASP parameter type in the Test Suite Type definitions shall not conflict with the length specifications in the ASP type definition, *i.e.*, the set of strings defined by a length restriction in an ASP definition shall be a true subset of the set of strings defined by the Test Suite Type definition.
+
+The keyword INFINITY can be used as a value for the upper boundary in order to indicate that there is no upper limit of length.
+
+NOTE – It is usually unnecessary to restrict the length of ASP parameters, but in some cases this may be necessary in order to effectively restrict the length of a corresponding PDU field in an underlying protocol.
+
+The parameters of ASP type definitions are considered to be optional, *i.e.*, in instances of these types whole parameters may not be present.
+
+This information shall be provided in the format shown in the following proforma:
+
+| ASP Type Definition | | |
+|--------------------------------------|--------------------------------------|-----------------------------|
+| ASP Name | : ASP_Id&FullId | |
+| Group | : [ASP_GroupReference] | |
+| PCO Type | : [PCO_TypeIdentifier] | |
+| Comments | : [FreeText] | |
+| Parameter Name | Parameter Type | Comments |
+| :ASP_ParIdOrMacro : | :Type&Attributes : | :[FreeText] : |
+| Detailed Comments: [FreeText] | | |
+
+**Proforma 25: ASP Type Definition**
+
+The Parameter Name and Parameter Type columns shall either be both present or both omitted.
+
+*EXAMPLE 30 – T\_CONNECTrequest Abstract Service Primitive:*
+
+The figure below shows an example from the Transport Service [ISO/IEC 8072]. This could be part of the set of ASPs used to describe the behaviour of an abstract UT in a DS test suite for the Class 0 Transport. CDA, CGA and QoS are Test Suite Types [ISO/IEC 8073].
+
+| ASP Type Definition | | |
+|----------------------------------------------------------------------|-----------------------------|-------------------------------|
+| ASP Name | : CONreq (T_CONNECTrequest) | |
+| PCO Type | : TSAP | |
+| Comments | : | |
+| Parameter Used | Parameter Type | Comments |
+| Cda (Called Address) | CDA | ... of upper tester |
+| Cga (Calling Address) | CGA | ... of lower tester |
+| QoS (Quality of Service) | QoS | should ensure class 0 is used |
+| Detailed Comments: ASP to be sent at Transport Service access point. | | |
+
+**11.14.3 Use of structured types within ASP type definitions**
+
+There are two possible relationships between a Structured Type and ASP definitions which refer to it, as follows:
+
+- a) if a parameter name is given in the definition, then the Structured Type referenced is a substructure. This allows definition of ASPs containing a multi-level substructure of parameters;
+- b) if the macro symbol ( <- ) is used instead of a parameter name then this is equivalent to a macro expansion; the entry in the ASP type definition expands directly to a list of parameters without introducing an additional level of substructure.
+
+The macro symbol shall not be used on the same line as references to types defined in ASN.1 or Simple Types, *i.e.*, only Structured Types defined in tabular form can be expanded into other Structured Types as macro expansions.
+
+11.14.4 ASP type definitions using ASN.1
+
+Where more appropriate, ASPs can be specified in ASN.1. This shall be achieved by an ASN.1 definition using the ASN.1 syntax as defined in ITU-T Rec. X.680. The following information shall be supplied for each ASN.1 ASP:
+
+- a) its name,
+where the full name, as given in the appropriate protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses;
+- b) the PCO type associated with the ASP,
+if only a single PCO is defined within a test suite, specifying the PCO type in an ASP type definition is optional;
+- c) the ASN.1 ASP type definition,
+which shall follow the syntax defined in ITU-T Rec. X.680. For identifiers within that definition the hyphen symbol ( - ) shall not be used. The underscore symbol ( \_ ) may be used instead. The ASP identifier in the table header is the name of the first type defined in the table body.
+
+Types referred to from the ASP definition shall be defined in other ASN.1 type definition tables, be defined by reference in the ASN.1 type reference table or be defined locally in the same table, following the first type definition. Locally defined types shall not be used in other parts of the test suite.
+
+ASN.1 comments can be used within the table body. The comments column shall not be present in this table.
+
+Comments in ASN.1 start with "--" and end with either the next occurrence of "--" or with "end of line", whichever comes first. This prevents a single ASN.1 comment from spanning several lines. ATS specifiers are recommended to facilitate the exchange of ATSS in TTCN.MP by always closing ASN.1 comments with "--".
+
+This information shall be provided in the following proforma:
+
+| ASN.1 ASP Type Definition | |
+|---------------------------------|-----------------------------------|
+| ASP Name | : ASP_Id&FullId |
+| Group | : [ASN1ASP_GroupReference] |
+| PCO Type | : [PCO_TypeIdentifier] |
+| Comments | : [FreeText] |
+| Type Definition | |
+| ASN1_Type&LocalTypes | |
+| Detailed Comments: | [FreeText] |
+
+Proforma 26: ASN.1 ASP Type Definition
+
+11.14.5 ASN.1 ASP type definitions by reference
+
+ASPs can be specified by a precise reference to an ASN.1 ASP defined in an OSI standard or by referencing an ASN.1 type defined in an ASN.1 module attached to the test suite. The following information shall be supplied for each ASP:
+
+- a) its name,
+where this name may be used throughout the entire test suite;
+- b) the PCO type associated with the ASP,
+if only a single PCO is defined within a test suite, specifying the PCO type in an ASP type definition is optional;
+
+- c) the type reference,
+which shall follow the identifier rules stated in ITU-T Rec. X.680;
+- d) the module identifier,
+which consists of a module reference that shall follow the identifier rules stated in ITU-T Rec. X.680 and an optional ObjectIdentifier.
+
+This information shall be provided in the following proforma:
+
+| ASN.1 ASP Type Definitions By Reference | | | | |
+|------------------------------------------------|---------------------------------------|--------------------------------|-----------------------------------|-----------------------------|
+| Group : [ASN1ASP_GroupReference] | | | | |
+| ASP Name | PCO Type | Type Reference | Module Identifier | Comments |
+| ⋮ASP_Id&FullId ⋮ | ⋮[PCO_TypeIdentifier] ⋮ | ⋮TypeReference ⋮ | ⋮ModuleIdentifier ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | | |
+
+#### Proforma 27: ASN.1 ASP Type Definitions By Reference
+
+Collective comments may be used in this table according to Figure 2.
+
+ASN.1 identifiers type references and value references may contain hyphens. In order to be able to use imported definitions in TTCN it is necessary to change the hyphens to underscore (see 11.2.3.5).
+
+### 11.15 PDU type definitions
+
+#### 11.15.1 Introduction
+
+The purpose of this part of the abstract TTCN test suite is to declare the types of the PDUs that may be sent or received either directly or embedded in ASPs at the declared PCOs. PDU type definitions may include ASN.1 type definitions, if appropriate. PDU definitions define the set of PDUs exchanged with the IUT which are syntactically valid with respect to the ATS but not necessarily valid with respect to the protocol specification.
+
+It is required to declare all fields of the PDUs that are defined in the relevant protocol standard, either explicitly or implicitly by referring to encoding rules (ASN.1 encoding rules, if applicable).
+
+The encoding of PDU fields shall follow that as defined in the relevant protocol specification unless encoding information is included in the test suite.
+
+#### 11.15.2 PDU type definitions using tables
+
+The definition of PDUs is similar to that of ASPs. The following information shall be supplied for each PDU:
+
+- a) its name,
+where the full name, as given in the appropriate protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses;
+- b) the PCO type associated with the PDU,
+if a PDU is sent or received only embedded in ASPs within the whole test suite, specifying the PCO type is optional; if only a single PCO is defined within a test suite, specifying the PCO type in a PDU type definition is optional;
+
+- c) the encoding rules to be used for PDUs of this type,
+
+in order to specify explicit encodings for entire PDUs, which override the default global encoding rules for the test suite as a whole, this optional entry shall reference an entry in the relevant Encoding Definitions table (e.g., to change from BER to DER). If this entry is not used, then the default global encoding rules apply. See 11.16.4;
+
+- d) the Encoding Variations to be used for PDUs of this type,
+
+in order to specify explicit Encoding Variations for entire PDUs, which override the default global Encoding Variations for the test suite as a whole, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)). If this entry is not used, then the default global Encoding Variations apply. See 11.16.4;
+
+- e) a list of the fields associated with the PDU,
+
+where the following information shall be supplied for each field:
+
+- 1) its name,
+
+where either:
+
+- the full name, as given in the appropriate protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses; or
+- the macro symbol ( <- ) indicating that the entry in the type column identifies a set of fields that is to be inserted directly in the list of PDU fields; the macro symbol shall be used only with Structured Types defined in the Structured Type definitions;
+
+- 2) its type and an optional attribute,
+
+where fields may be of a type of arbitrarily complex structure, including being specified as a Test Suite Type (either predefined, Simple Type, Structured Type or ASN.1 type); if a field is to be structured as a PDU, then its type may be stated either:
+
+- as a PDU identifier to indicate that in the constraint for the PDU this field may be chained to a PDU constraint of a specific PDU type; or
+- as **PDU** to indicate that in the constraint for the PDU this field may be chained to a PDU constraint of any PDU type;
+
+and where the optional attribute is Length;
+
+in which case the specification may restrict the field to a particular length or a range according to 11.18. The length values shall be interpreted according to Table 5 in 11.18. The boundaries shall be specified in terms of non-negative INTEGER literals, Test Suite Parameters, Test Suite Constants or the keyword INFINITY.
+
+The length specifications defined for the PDU field type in the Test Suite Type definitions shall not conflict with the length specifications in the PDU type definition, *i.e.*, the set of strings defined by a length restriction in a PDU definition shall be a true subset of the set of strings defined by the Test Suite Type definition.
+
+The keyword INFINITY can be used as a value for the upper boundary in order to indicate that there is no upper limit of length.
+
+- 3) optionally, a specific encoding identifier followed by any necessary actual parameter list, in order to specify explicit encodings for individual fields of a PDU, which override the encoding rules and encoding variations applicable to the PDU as a whole; the encoding identifier, if any, shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite (e.g., LD(10)); see 11.16.4;
+
+The fields of PDU type definitions are considered to be optional, *i.e.*, in instances of these types whole fields may not be present.
+
+This information shall be provided in the format shown in the following proforma:
+
+| PDU Type Definition | | | |
+|-----------------------------------------------|---------------------------|-----------------------------------|----------------------|
+| PDU Name : PDU_Id&FullId | | | |
+| Group : [PDU_GroupReference] | | | |
+| PCO Type : [PCO_TypeIdentifier] | | | |
+| Encoding Rule Name : [EncodingRuleIdentifier] | | | |
+| Encoding Variation : [EncVariationCall] | | | |
+| Comments : [FreeText] | | | |
+| Field Name | Field Type | Field Encoding | Comments |
+| : PDU_FieldIdOrMacro : | : Type&Attributes : | : [PDU_FieldEncodingCall] : | : [FreeText] : |
+| Detailed Comments: [FreeText] | | | |
+
+Proforma 28: PDU Type Definition
+
+The Field Name and Field Type columns shall either be both present or both omitted.
+
+EXAMPLE 31 – A typical PDU Type Definition:
+
+| PDU Type Definition | | |
+|-------------------------------------|-------------|------------------------------|
+| PDU Name : INTC (interrupt Confirm) | | |
+| PCO Type : NSAP | | |
+| Field Name | Field Type | Comments |
+| GFI | BITSTRING | General Format Identifier |
+| LCGN | BITSTRING | Logical Channel Group Number |
+| LCN | BITSTRING | Local Channel Identifier |
+| PTI | OCTETSTRING | Packet Type Identifier |
+| EXTRA | OCTETSTRING | To create long INTC packets |
+
+11.15.3 Use of Structured Types within PDU definitions
+
+There are two possible relationships between a Structured Type and PDU definitions which refer to it, as follows:
+
+- a) if a field name is given in the definition, then the Structured Type referenced is a substructure. This allows definition of PDUs containing a multi-level substructure of fields;
+- b) if the macro symbol ( <- ) is used instead of a field name then this is equivalent to a macro expansion; the entry in the PDU type definition expands directly to a list of fields without introducing an additional level of substructure.
+
+The macro symbol shall not be used on the same line as references to types defined in ASN.1 or Simple Types *i.e.*, only Structured Types defined in tabular form can be expanded into other Structured Types as macro expansions.
+
+## 11.15.4 PDU type definitions using ASN.1
+
+Where more appropriate, PDUs can be specified in ASN.1. This shall be achieved by an ASN.1 definition using the ASN.1 syntax as defined in ITU-T Rec. X.680. The following information shall be supplied for each ASN.1 PDU:
+
+- a) its name,
+where the full name, as given in the appropriate protocol standard, shall be used; if an abbreviation is used, then the full name shall follow in parentheses;
+- b) the PCO type associated with the PDU,
+if a PDU is always sent or received embedded in ASPs, then specification of the PCO type in the PDU type definition is optional; if only a single PCO is defined within a test suite, then specification of the PCO type in the PDU type definition is optional;
+- c) the encoding rules to be used for PDUs of this type,
+in order to specify explicit encodings for entire PDUs, which override the default global encoding rules for the test suite as a whole, this optional entry shall reference an entry in the relevant Encoding Definitions table (e.g., to change from BER to DER). If this entry is not used, then the default global encoding rules apply. See 11.16.4.
+- d) the Encoding Variations to be used for PDUs of this type,
+in order to specify explicit Encoding Variations for entire PDUs, which override the default global Encoding Variations for the test suite as a whole, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)). If this entry is not used, then the default global Encoding Variations apply. See 11.16.4.
+- e) the ASN.1 PDU type definition,
+which shall follow the syntax defined in ITU-T Rec. X.680, except that there is the additional option of specifying an Encoding Variation or Invalid Field Encoding associated with either the whole ASN1\_Type or any ASN.1 Type within the ASN1\_Type. This is done by giving a specific encoding identifier followed by any necessary actual parameter list, in order to specify explicit encodings for individual fields or other subtypes of a PDU, which override the encoding rules and encoding variations applicable to the PDU as a whole; the encoding identifier, if any, shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite (e.g., LD(10)); see 11.16.4.
+
+For identifiers within that definition the hyphen symbol ( - ) shall not be used. The underscore symbol ( \_ ) may be used instead. The PDU identifier in the table header is the name of the first type defined in the table body.
+
+Types referred to from the PDU definition shall be defined in other ASN.1 type definition tables, be defined by reference in the ASN.1 type reference table or be defined locally in the same table, following the first type definition. Locally defined types shall not be used in other parts of the test suite.
+
+ASN.1 comments may be used within the table body. The comments column shall not be present in this table.
+
+Comments in ASN.1 start with "--" and end with either the next occurrence of "--" or with "end of line", whichever comes first. This prevents a single ASN.1 comment from spanning several lines. ATS specifiers are recommended to facilitate the exchange of ATSS in TTCN.MP by always closing ASN.1 comments with "--".
+
+This information shall be provided in the following proforma:
+
+| ASN.1 PDU Type Definition | |
+|---------------------------------|------------------------------------|
+| PDU Name | : PDU_Id&FullId |
+| Group | : [ASN1_PDU_GroupReference] |
+| PCO Type | : [PCO_TypeIdentifier] |
+| Encoding Rule Name | : [EncodingRuleIdentifier] |
+| Encoding Variation | : [EncVariationCall] |
+| Comments | : [FreeText] |
+| Type Definition | |
+| ASN1_Type&LocalTypes | |
+| Detailed Comments: | [FreeText] |
+
+**Proforma 29: ASN.1 PDU Type Definition**
+
+| ASN.1 PDU Type Definition | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------|
+| PDU Name | : F_INIT (F_INITIALIZE_response) |
+| PCO Type | : |
+| Comments | : |
+| Type Definition | |
+| SEQUENCE { state_result State_result DEFAULT success, action_result Action_Result DEFAULT success, protocol_id Protocol_Version, --etc. -- } | |
+
+### 11.15.5 ASN.1 PDU type definitions by reference
+
+PDU's can be specified by a precise reference to an ASN.1 PDU defined in an OSI standard or by referencing an ASN.1 type defined in an ASN.1 module attached to the test suite. ASN.1 identifiers, type references and value references may contain hyphens. In order to be able to use imported definitions in TTCN it is necessary to change the hyphens to underscore (see 11.2.3.5).
+
+The following information shall be supplied for each PDU:
+
+- a) its name,
+where this name may be used throughout the entire test suite;
+- b) the PCO type associated with the PDU,
+if a PDU is sent or received only embedded in ASPs within the whole test suite, specifying the PCO type is optional; if only a single PCO is defined within a test suite, specifying the PCO type in a PDU type definition is optional;
+- c) the type reference,
+which shall follow the identifier rules stated in ITU-T Rec. X.680;
+- d) the module identifier,
+which consists of a module reference that shall follow the identifier rules stated in ITU-T Rec. X.680 and an optional ObjectIdentifier;
+- e) the encoding rules to be used for PDU's of this type,
+in order to specify explicit encodings for entire PDU's, which override the default global encoding rules for the test suite as a whole, this optional entry shall reference an entry in the relevant Encoding Definitions table (e.g., to change from BER to DER). If this entry is not used, then the default global encoding rules apply. See 11.16.4;
+- f) the Encoding Variations to be used for PDU's of this type,
+in order to specify explicit Encoding Variations for entire PDU's, which override the default global Encoding Variations for the test suite as a whole, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)). If this entry is not used, then the default global Encoding Variations apply. See 11.16.4.
+
+This information shall be provided in the following proforma:
+
+| ASN.1 PDU Type Definitions By Reference | | | | | | |
+|-------------------------------------------------|---------------------------------------|--------------------------------|-----------------------------------|-------------------------------------------|-------------------------------------|-----------------------------|
+| Group : [ASN1_PDU_GroupReference] | | | | | | |
+| PDU Name | PCO Type | Type Reference | Module Identifier | Enc Rule | Enc Variation | Comments |
+| ⋮PDU_Id&FullId ⋮ | ⋮[PCO_TypeIdentifier] ⋮ | ⋮TypeReference ⋮ | ⋮ModuleIdentifier ⋮ | ⋮[EncodingRuleIdentifier] ⋮ | ⋮[EncVariationCall] ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | | | | |
+
+**Proforma 30: ASN.1 PDU Type Definitions by Reference**
+
+Collective comments may be used in this table according to Figure 2.
+
+## 11.16 Test Suite Encoding Information
+
+### 11.16.1 Encoding Definitions
+
+To facilitate specification and testing of the encoding rules of an OSI protocol, if there is any allowed flexibility in the encoding rules applicable to the protocol, then an encoding definition should be provided. If an encoding definition is provided, a reference shall be given in the ATS to the specification in which the encoding rules are specified. The reference may be to the protocol specification itself, or to a separate encoding rules specification. If such a reference cannot be provided, i.e., the encoding rules of the protocol are not standardized, then the encoding rules shall not be tested.
+
+The following information shall be provided for each set of encoding rules relevant to the protocol:
+
+- the Encoding Rule Name, which is a unique identifier to be used throughout the test suite to refer to an encoding definition;
+- the reference to the relevant standard which defines the encoding rules;
+- a Default Expression, identifying the encoding rules to be used as the default; this Default Expression shall evaluate to a Boolean value and shall use only Literal Values, Test Suite Parameters, and Test Suite Constants in its terms;
+- optionally, further comment, provided in the Comments column, or in the Detailed Comments area of the table.
+
+If more than one set of encoding rules may be used for a protocol, the names of the encoding rules shall be listed in the Encoding Rule Name column of the Encoding Definitions tables. The Encoding Rule Name associated with the Default Expression which evaluates to TRUE shall be chosen as the default set for the test suite. If more than one Default Expression or no Default Expression in the Encoding Definitions tables evaluates to TRUE, it shall be a test case error. If no Default Expression is specified, it is equivalent to the value FALSE being specified.
+
+The information shall be provided in the following proforma:
+
+| Encoding Definitions | | | |
+|----------------------------------|-----------------------------|--------------------------------|----------------------|
+| Group : [EncodingGroupReference] | | | |
+| Encoding Rule Name | Reference | Default | Comments |
+| ⋮ EncodingRuleIdentifier ⋮ | ⋮ EncodingReference ⋮ | ⋮ [ConstantExpression] ⋮ | ⋮ [FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 31: Encoding Definitions**
+
+Collective comments may be used in this table according to Figure 2.
+
+The encoding rules specified in this proforma apply to PDUs only.
+
+EXAMPLE 33 – Encoding Definitions:
+
+| Encoding Definitions | | | |
+|-------------------------------|------------------|---------|------------------------------|
+| Encoding Rule Name | Reference | Default | Comments |
+| BER | ITU-T Rec. X.690 | TRUE | Basic Encoding Rules |
+| PER | ITU-T Rec. X.690 | | Packed Encoding Rules |
+| DER | ITU-T Rec. X.690 | | Distinguished Encoding Rules |
+| Detailed Comments: [FreeText] | | | |
+
+**11.16.2 Encoding variations**
+
+Admissible variations of each encoding definition that may be used in the test suite may be provided.
+
+To define such Encoding Variations, the following information shall be provided:
+
+- a) an Encoding Rule Name, which is the name of the encoding rules identified in the Encoding Definition table to which this variation applies;
+- b) an optional Type List, listing the types to which this Encoding Variation may be applied; an empty list means that the Encoding Variations may be applied to any PDU field. The types may be any PDU type or any type may occur within a PDU;
+- c) a list of Encoding Variations,
+
+where the following information shall be supplied for each Encoding Variation:
+
+- 1) the Encoding Variation name, which is a unique identifier referring to an allowed encoding definition for a specific type, as contained in the relevant encoding rules specification;
+
+- 2) a Reference, which is used to identify the section in the encoding rules specification which describes this set of Encoding Variations;
+- 3) a Default Expression, identifying the Encoding Variation to be used as the default; this Default Expression shall evaluate to a Boolean value and shall use only Literal Values, Test Suite Parameters, and Test Suite Constants in its terms;
+- d) optionally, further comment, provided in the Comments part of the table header, the Comments column, or in the Detailed Comments area of the table.
+
+The Encoding Variation associated with the expression which evaluates to TRUE shall be chosen as the default Encoding Variation for the given list of types, if any, or otherwise for all types within the test suite. If more than one Default Expression in the Encoding Variations tables evaluates to TRUE, it shall be a test case error. If no Default Expression is specified for an Encoding Variation, it is equivalent to the value FALSE being specified. If no Default Expressions are specified or if all evaluate to FALSE, the first Encoding Variation shall be taken as the default.
+
+Encoding variations shall be provided in the format shown in the following proforma:
+
+| Encoding Variations | | | |
+|-----------------------------------------------------------|-------------------------------------|---------------------------------------|-----------------------------|
+| Group : [EncVariationGroupReference] | | | |
+| Encoding Rule Name : EncodingRuleIdentifier | | | |
+| Type List : [TypeList] | | | |
+| Comments : [FreeText] | | | |
+| Encoding Variation | Reference | Default | Comments |
+| ⋮EncVariationId&ParList ⋮ | ⋮VariationReference ⋮ | ⋮[ConstantExpression] ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 32: Encoding Variations**
+
+*EXAMPLE 34 – Encoding Variations:*
+
+| Encoding Variations | | | |
+|------------------------------------------------------------|-----------|-------------|----------|
+| Encoding Rule Name : BER | | | |
+| Type List : Length | | | |
+| Comments : Length is defined to be an INTEGER type. | | | |
+| Encoding Variation | Reference | Default | Comments |
+| SD | 6.3.3.1 | TRUE | |
+| LD(len: INTEGER) | 6.3.3.2 | | |
+| Detailed Comments: | | | |
+
+### 11.16.3 Invalid field encoding definitions
+
+In order to test encoding rules thoroughly, it may be necessary to define illegal variations of the encoding definitions used by the protocol. Invalid field encoding definitions may be provided for any of the Types used in PDU fields in the test suite. Once defined, an invalid field encoding definition may be used to override the normal encoding of a specific PDU Constraint field value of the same Type (see 13.4).
+
+The following information relative to an invalid field encoding definition shall be provided:
+
+- a) an Invalid Field Encoding Name, which is a unique identifier to be used throughout the test suite to refer to this invalid field encoding definition, followed by an optional formal parameter list;
+- b) an optional Type List, to list the types to which this encoding may be applied; an empty list means that the encoding definition may be applied to any field of a PDU;
+- c) an Encoding Operation Definition which contains the definition of how the values are to be encoded, which shall consist of a procedural definition, in the same form as a procedural definition of a Test Suite Operation (11.3.4), which when evaluated results in the evaluation of a ReturnValue statement to provide the result of the operation, including explanatory comments embedded within the procedural definition at appropriate places as text delimited by "/" and "/"; explanatory comments shall include an example showing an invocation; the result of the Encoding Operation shall be a Bitstring with a defined order of transmission, being the encoding of the relevant value;
+- d) optionally, further comment describing the operation, provided either in the Comments part of the table header or in the Detailed Comments area of the table.
+
+The use of procedural definitions is recommended in order to provide precision in the definition of the operations.
+
+If a formal parameter list is specified, the values passed to the encoding operation are used to affect the encoding of the PDU field. Each formal parameter shall be declared to be a Predefined Type, a Test Suite Type Identifier or a PDU Type Identifier. For example, an integer value may be passed to an encoding operation that calculates the length of a PDU field. The way in which parameters passed to the operation are used shall be explained in the encoding operation definition.
+
+One proforma shall be used for each Invalid Field Encoding Definition.
+
+Invalid Field Encoding Operation Definitions shall be provided in the following proforma:
+
+| Invalid Field Encoding Operation Definition | |
+|---------------------------------------------|-------------------------------------------------|
+| Group | : [ InvalidFieldEncodingGroupReference ] |
+| Operation Name | : [ InvalidFieldEncodingId&ParList ] |
+| Result Type | : [ TypeList ] |
+| Comments | : [ FreeText ] |
+| Definition | |
+| TS_OpProcDef | |
+| Detailed Comments: | [ FreeText ] |
+
+**Proforma 33: Invalid Field Encoding Operation Definition**
+
+### 11.16.4 Application of encoding rules
+
+Encoding rules specified in the test suite are applied to all PDUs sent or received in the Behaviour Part. Encoding rules may be specified for the whole test suite or for type declarations or constraint declarations, as noted in Table 4. The places in Table 4 marked ✓ identify the allowed scope of application of each of the kinds of encoding information.
+
+**Table 4/X.292 – Applicability of encoding definitions**
+
+| Precedence | Scope of application | Encoding definitions | | | | |
+|-------------------------|-------------------------------------|---------------------------------------------------|-------|---------------------|-------|-------------------------|
+| | | Encoding rules | | Encoding variations | | Invalid field encodings |
+| | | Default | Other | Default | Other | |
+| Lowest | Test Suite | ✓ | | ✓ | | |
+| | Type Declarations | | | | | |
+| | PDU | | ✓ | ✓ | ✓ | |
+| | Structured Types or ASN.1 Types | | | ✓ | ✓ | |
+| | Simple types or PDU fields/elements | | | ✓ | ✓ | ✓ |
+| | Constraint Declarations | | | | | |
+| | PDU | | ✓ | ✓ | ✓ | |
+| Highest | Structured Types or ASN.1 Types | | | ✓ | ✓ | |
+| | PDU fields/elements | | | ✓ | ✓ | ✓ |
+| Precedence within a row | | Lowest Highest | | | | |
+
+The encoding rules shall be applied according to the precedence values of the rows shown in the first column in Table 1, with "(4)" having the highest priority, and "(1)" having the lowest. Within each row the precedence is from left to right, with the rightmost entry having the highest precedence. Thus, Constraint field encoding rules have precedence over all others, while default encoding rules applied at the test suite level may be overridden by any of the other specification methods. The actual encoding rules to be used for a PDU after all overrides have been applied are referred to as the applicable encoding rules.
+
+If no encoding information is specified on a structured or ASN.1 Type Constraint, it inherits the encoding rules applied at the PDU level. Thus, the encoding rules applied to a structured or ASN.1 Type Constraint will vary, based on the PDU in which it is used. Conversely, if encoding information is specified on a Structured or ASN.1 Type Constraint, it will override the encoding information of every PDU in which it is used. If such a Structured or ASN.1 Type Constraint is used in an ASP, the encoding information is ignored.
+
+On RECEIVE events, if no specific encoding rules apply to the incoming PDU, it can be encoded in any variation allowed by the applicable Encoding Definition (e.g., any form of length encoding allowed by BER).
+
+## 11.17 CM type definitions
+
+### 11.17.1 Introduction
+
+CM parameters may be of any type that may be specified in TTCN. Simple CMs may contain no associated parameters or may contain just one parameter, e.g., a natural number, a preliminary result, or a character string like "suspend" or "continue". More complex CMs may carry additional information, e.g., a whole PDU, a PDU field, or the value read from a timer. There are no predefined CMs.
+
+### 11.17.2 CM type definitions using tables
+
+CM Types may be declared using TTCN tables. The following information shall be provided for each CM type:
+
+- a) its name,
+where each name shall be unique within the test suite;
+- b) a list of parameters associated with the CM,
+where the following information shall be provided for each parameter:
+ - 1) its name,
+which shall be unique within the CM;
+ - 2) its type and an optional attribute,
+in the same way as for PDU fields.
+
+in which case the specification may restrict the field to a particular length or a range according to 11.18. The length values shall be interpreted according to Table 5 in 11.18. The boundaries shall be specified in terms of non-negative INTEGER literals, Test Suite Parameters, Test Suite Constants or the keyword INFINITY.
+
+The length specifications defined for the PDU field type in the Test Suite Type definitions shall not conflict with the length specifications in the PDU type definition, *i.e.*, the set of strings defined by a length restriction in a PDU definition shall be a true subset of the set of strings defined by the Test Suite Type definition.
+
+The keyword INFINITY can be used as a value for the upper boundary in order to indicate that there is no upper limit of length.
+
+All parameters of CMs are optional, that is they may be omitted when the CM is used.
+
+This information shall be provided in the format shown in the following proforma:
+
+| CM Type Definition | | |
+|---------------------------------------------|--------------------------------------|-----------------------------|
+| CM Name : CM_Identifier | | |
+| Group : [CM_GroupReference] | | |
+| Comments : [FreeText] | | |
+| Parameter Name | Parameter Type | Comments |
+| ⋮CM_ParamIdOrMacro ⋮ | ⋮Type&Attributes ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | |
+
+**Proforma 34: CM Type Definition**
+
+The Parameter Name and Parameter Type columns shall either be both present or both omitted.
+
+### 11.17.3 CM type definitions using ASN.1
+
+CM Types may be declared using ASN.1. The following information shall be provided for each ASN.1 CM type:
+
+- a) its name,
+where each name shall be unique within the test suite;
+
+- b) the ASN.1 CM type definition,
+
+which shall follow the syntax defined in ITU-T Rec. X.680. For identifiers within that definition the hyphen symbol ( - ) shall not be used. The underscore symbol ( \_ ) may be used instead. The PDU identifier in the table header is the name of the first type defined in the table body.
+
+Types referred to from the PDU definition shall be defined in other ASN.1 type definition tables, be defined by reference in the ASN.1 type reference table or be defined locally in the same table, following the first type definition. Locally defined types shall not be used in other parts of the test suite.
+
+ASN.1 comments can be used within the table body. The comments column shall not be present in this table.
+
+Comments in ASN.1 start with "--" and end with either the next occurrence of "--" or with "end of line", whichever comes first. This prevents a single ASN.1 comment from spanning several lines. ATS specifiers are recommended to facilitate the exchange of ATSS in TTCN.MP by always closing ASN.1 comments with "--".
+
+This information shall be provided in the format shown in the following proforma:
+
+| ASN.1 CM Type Definition | |
+|---------------------------------|-----------------------------------|
+| CM Name | : CM_Identifier |
+| Group | : [ASN1_CM_GroupReference] |
+| Comments | : [FreeText] |
+| Type Definition | |
+| ASN1_Type&LocalTypes | |
+| Detailed Comments: | [FreeText] |
+
+### Proforma 35: ASN.1 CM Type Definition
+
+## 11.18 String length specifications
+
+TTCN permits the specification of length restrictions on string types (*i.e.*, BITSTRING, HEXSTRING, OCTETSTRING and all CharacterString types, plus the ASN.1 types BIT STRING and OCTET STRING) in the following instances:
+
+- when declaring Test Suite Types as a type restriction;
+- when declaring simple ASP parameters, PDU fields and elements of Structured Types as an attribute of the parameter, field or element type;
+- when defining ASP/PDU or Structured Type constraints as an attribute of the constraint value.
+
+Length specifications can have the following formats:
+
+- [Length]
+restricting the length of the possible string values of a type to exactly *Length*;
+- [MinLength TO MaxLength] or [MinLength .. MaxLength]
+specifying a minimum and a maximum length for the values of a particular string type.
+
+The length boundaries: *Length*, *MinLength* and *MaxLength* are of different complexity depending on where they are used. In all cases, these boundaries shall evaluate to non-negative INTEGER values. For the upper bound the keyword INFINITY may also be used to indicate that there is no upper limit for the length. Where a range length is specified, the lower of the two values shall be specified on the left.
+
+In the context of constraints, length restrictions can also be specified on values of type SEQUENCE OF or SET OF, thus limiting the number of their elements.
+
+Table 5 specifies the units of length for different string types:
+
+**Table 5/X.292 – Units of length used in field length specifications**
+
+| Type | Units of length |
+|-----------------------------|---------------------------|
+| BITSTRING or BIT STRING | Bits |
+| HEXSTRING | Hex digits |
+| OCTETSTRING or OCTET STRING | Octets |
+| CharacterString | Characters |
+| SEQUENCE OF | Elements of its base type |
+| SET OF | Elements of its base type |
+
+Length specifications shall not conflict, *i.e.*, a restriction on a type (set of values) that is already restricted shall specify a subrange of values of its base type.
+
+*EXAMPLE 35* – Length specification:
+
+Assume the following ASN.1 type definitions:
+
+type1 ::= OCTETSTRING [0 .. 25]
+
+type2 ::= type1 [15 .. 24]
+
+the length restriction on type2 is correct since type2 comprises all OCTETSTRING values having a minimum length of 15 and a maximum length of 24, which is a true subset of all OCTETSTRINGs of a maximum length of 25. On the other hand:
+
+type2 ::= type1[15 .. 30]
+
+is invalid since it contains values not included in type1.
+
+## 11.19 ASP, PDU and CM definitions for SEND events
+
+In ASPs and/or PDUs that are sent from the tester, values for ASP parameters and/or PDU fields that are defined in the Constraints Part (see clause 12, 13, 14) shall correspond to the parameter or field definition. This means:
+
+- the value shall be of the type specified for that ASP parameter or PDU field; and
+- each value shall satisfy any relevant length restrictions associated with the type;
+- PDU field values shall be encoded in accordance with applicable encoding rules.
+
+The encoding operations defined in the test suite are performed implicitly as part of the SEND event. Defaults and overrides are applied, as necessary. Thus, the output of the SEND event is the encoded data to be passed to the relevant service provider.
+
+## 11.20 ASP, PDU and CM definitions for RECEIVE events
+
+For ASPs and/or PDUs received by the tester the ASP and/or PDU Type defines the class of incoming ASPs and/or PDUs that can match an event specification of that type. An incoming ASP or PDU is considered to be of that class if and only if:
+
+- the ASP parameter and/or PDU field values are of the type specified in the ASP and/or PDU definition; and
+- the value satisfies any relevant length restrictions associated with the type;
+- PDU field values can be decoded in accordance with applicable encoding rules.
+
+In all other cases an incoming ASP and/or PDU does not match an event specification of that type.
+
+In the case of substructured ASPs and/or PDUs, either using Structured Types or ASN.1, the above rules apply to the fields of the substructure(s) recursively.
+
+## 11.21 Alias definitions
+
+### 11.21.1 Introduction
+
+In order to enhance the readability of TTCN behaviour descriptions, an Alias may be used to facilitate the renaming of ASP and/or PDU identifiers in behaviour descriptions. This renaming may be done to highlight the exchange of PDUs embedded in ASPs.
+
+The following information shall be provided for each Alias:
+
+- a) an Alias identifier;
+- b) its expansion,
+which is itself an identifier.
+
+This information shall be provided in the format shown in the following proforma:
+
+| Alias Definitions | | |
+|------------------------------------------------|------------------------------------------|-------------------------------------------|
+| Group : [AliasGroupReference] | | |
+| Alias Name | Expansion | Comments |
+| $\vdots$AliasIdentifier $\vdots$ | $\vdots$Expansion $\vdots$ | $\vdots$[FreeText] $\vdots$ |
+| Detailed Comments: [FreeText] | | |
+
+**Proforma 36: Alias Definitions**
+
+Collective comments may be used in this table according to Figure 2.
+
+### 11.21.2 Expansion of aliases
+
+The following rules shall apply:
+
+- a) an Alias is an identifier that shall follow the syntax rules for identifier defined in the TTCN.MP;
+- b) Aliases are not transitive – if one Alias appears as the expansion of another Alias it shall not be expanded (*i.e.*, it is a one pass expansion);
+- c) an Alias shall be used only to replace an ASP identifier or a PDU identifier within a single TTCN statement in a behaviour tree. It shall be used only in a behaviour description column;
+- d) the expansion of an Alias shall follow the syntax rules for identifier as defined in the TTCN.MP.
+
+*EXAMPLE 36* – Alias definition from a Transport Test Suite:
+
+| Alias Definitions | | |
+|-------------------|------------------|------------------------------------------------------------|
+| Alias Name | Expansion | Comments |
+| CR | N_DATArequest | Alias for the N_DATArequest ASP used to carry a CR_TPDU |
+| DR | N_DATArequest | Alias for the N_DATArequest ASP used to carry a DR_TPDU |
+| CC | N_DATAindication | Alias for the N_DATAindication ASP used to carry a CC_TPDU |
+
+NOTE – Because Aliases are treated as macro expansions, the term AliasIdentifier does not appear in the BNF for TTCN event lines.
+
+## 12 Constraints part
+
+### 12.1 Introduction
+
+An ATS shall specify the values of the ASP parameters and PDU fields that are to be sent or received by the test system. The constraints part fulfils that purpose in TTCN.
+
+The dynamic behaviour descriptions (see clause 15) shall reference constraints to construct outgoing ASPs and/or PDUs in SEND events; and to specify the expected contents of incoming ASPs and/or PDUs in RECEIVE events.
+
+Constraints can be specified in either of the two forms:
+
+- a) tabular constraints (see clause 13);
+- b) ASN.1 constraints (see clause 14).
+
+Actual values or constraints on the values of a CM shall be declared in the same way as PDU constraints are to be declared.
+
+### 12.2 General principles
+
+This subclause describes the general principles and defines the mechanisms of how to build constraints for SEND events and how to match RECEIVE events. These principles are common to both the tabular and ASN.1 forms of constraints.
+
+Constraints are detailed specifications of ASPs and/or PDUs. Normally, each constraint is defined specifically for use with either SEND events or RECEIVE events. A constraint need not be specified if an ASP or CM has no parameters or if PDU has no fields. Any given constraint may be used in either context, provided the operational semantic restrictions defined in Annex B are met.
+
+The constraint specification of an ASP and/or PDU shall have the same structure as that of the type definition of that ASP or PDU.
+
+If an ASP and/or PDU is substructured, then the constraints for ASPs and/or PDUs of that type shall have the same tabular structure or a compatible ASN.1 structure (*i.e.*, possibly with some groupings).
+
+Structured Types expanded into an ASP or PDU definition by use of the macro symbol ( <- ) are not considered to be substructures. Constraints for such ASPs or PDUs shall either have a completely flat structure (*i.e.*, the elements of an expanded structure are explicitly listed in the ASP or PDU constraint) or shall reference a corresponding structure constraint for macro expansion.
+
+Constraints specify ASP parameter and PDU field values using various combinations of literal values, data object references, expressions, ASN.1 constructed values, special matching mechanisms and references to other constraints. Constraints applying to the whole of or part of a PDU may also specify encoding rules to override the general encoding rules being applied in the test suite. Such encoding rules may be specified for the whole Constraint or for a single field of the Constraint.
+
+Values of all TTCN or ASN.1 types can be used in constraints. Expressions used in constraints shall evaluate to a specific value when the constraint is used for sending or receiving events.
+
+Whichever way the values are obtained, they shall correspond to the parameter or field entries in the ASP or PDU type definitions. This means
+
+- a) the value shall be of the type specified for that parameter or field; and
+- b) the length shall satisfy any restriction associated with the type.
+
+An expression in a constraint shall contain only Values (including, for example, ConstraintValue&Attributes), Test Suite Parameters, Test Suite Constants, formal parameters, Component References and Test Suite Operations.
+
+A constraint reference (possibly parameterized) is also allowed as a parameter or field value (static chaining).
+
+Neither Test Suite Variables nor Test Case Variables shall be used in constraints, unless passed as actual parameters. In the latter case they shall be bound to a value and are not changed by the occurrence of a SEND or a RECEIVE event.
+
+Matching mechanisms are defined in 12.6.2.
+
+## 12.3 Parameterization of constraints
+
+Constraints may be parameterized. In such cases the constraint name shall be followed by a formal parameter list enclosed in parentheses. The formal parameters shall be used to specify ASP parameter or PDU field values in the constraint.
+
+A colon and the name of the parameter's type shall follow each formal parameter name. If more than one parameter of the same type is used, the parameter may be specified as a parameter sub-list. When a parameter sub-list is used, a comma shall separate the parameter names. A colon and the name of the parameter sub-list's type shall follow the final parameter in the sub-list. When more than one parameter and type pair (or parameter sub-list and type pair) is used, semicolons shall separate the pairs from each other.
+
+Literal values, Test Suite Parameters, Test Suite Constants, Test Suite Variables, Test Case Variables and PDU or Test Suite Type constraints may be passed as actual parameters to a constraint in a constraints reference made from a behaviour description. The parameters shall not be of PCO type or ASP type.
+
+## 12.4 Chaining of constraints
+
+Constraints may be chained by referencing a constraint as the value of a parameter or field in another constraint. For example, the value of the Data parameter of an N-DATAreq (Network Data Request) ASP could be a reference to a T-CRPDU (Transport Connect Request PDU) PDU constraint, *i.e.*, the T-CRPDU is chained to the N-DATAreq ASP.
+
+Constraints can be chained in one of two ways, either by:
+
+- a) static chaining, where an ASP parameter value or PDU field value in a constraint is an explicit reference to another constraint; or
+- b) dynamic chaining, where an ASP parameter value or PDU field value in a constraint is a formal parameter of the constraint. When such a constraint is referenced from a dynamic behaviour, the corresponding actual parameter to the constraint is a reference to another constraint (see Annex F for examples of static and dynamic chaining).
+
+Wherever constraints are referenced within constraints declarations, those references shall not be recursive (neither directly nor indirectly).
+
+Chaining of constraints may only be used if the appropriate declarations have been set up to allow chaining. For example, if an ASP parameter is to be chained to a PDU constraint, then the ASP parameter shall be declared to be of an appropriate PDU type or the meta-type **PDU**. In ASN.1 PDU declarations, the PDU type might well be one defined as a CHOICE of all valid individual PDU types, whereas in tabular PDU declarations the meta-type **PDU** would need to be used to achieve a similar effect. Similarly, if a PDU field is to be chained to a Structure constraint, then the PDU field shall be declared to be of an appropriate Structured type.
+
+## 12.5 Constraints for SEND events
+
+Constraints that are referenced for SEND events shall not include wildcards (*i.e.*, AnyValue ( ? ) or AnyOrOmit ( \* )) unless these are explicitly assigned specific values on the SEND event line in the behaviour description.
+
+In tabular constraints, all ASP parameters and PDU fields are optional and therefore may be omitted using the Omit symbol, to indicate that the ASP parameter or PDU field is to be absent from the event sent.
+
+In ASN.1 constraints, only ASP parameters and PDU fields declared as OPTIONAL may be omitted. These may be omitted either by using the Omit symbol or by simply leaving out the relevant ASP parameter or PDU field.
+
+None of the matching mechanisms defined in 12.6.2 except SpecificValue provides a value for an ASP parameter or PDU field on a SEND event.
+
+In cases where ASN.1 values of type SET or SET OF are used in a constraint, the values of the elements of the set shall be sent in the order specified by the relevant constraint.
+
+## 12.6 Constraints for RECEIVE events
+
+### 12.6.1 Matching values
+
+If a constraint is to be used to construct the values of ASP parameters or PDU fields that a received ASP or PDU shall match, it shall contain only specific values evaluated as explained in 12.6.3, or special matching mechanisms where it is not desirable, or possible, to specify specific values. The matching mechanisms specify other ways of matching than "equal to a specific value".
+
+An incoming ASP and/or PDU matches a constraint used in a RECEIVE event if, and only if, all the following conditions are met:
+
+- a) all the ASP parameters and/or PDU fields are of the type specified in the ASP and/or PDU definitions;
+- b) the value, alphabet and length satisfies any restriction associated with the type;
+- c) the ASP parameter and/or PDU field values correctly match those of the constraint;
+- d) for PDUs, the correct decoding of the PDU has taken place, taking into account applicable encoding rule defaults and overrides; if encoding rules other than those specified for the constraint have been used to encode the received PDU, then that received PDU will not match.
+
+In the case of substructured ASPs and/or PDUs, either using Structured Types or ASN.1, the above rules shall apply to the fields of the substructure(s) recursively.
+
+NOTE – If a RECEIVE event is qualified by a Boolean expression, then a successful match means that both the incoming ASP and/or PDU must match the constraint and that the qualifier must evaluate to TRUE.
+
+## 12.6.2 Matching mechanisms
+
+An overview of the supported matching mechanisms is shown in Table 6, including the special symbols and the scope of their application. The left hand column of this table lists all the ASN.1 types and TTCN equivalent types to which these matching mechanisms apply. The matching mechanisms in the horizontal headings are arranged in four groups:
+
+- a) specific values;
+- b) special symbols that can be used *instead* of values;
+- c) special symbols that can be used *inside* values;
+- d) special symbols which describe *attributes* of values.
+
+Some of the symbols may be used in combination, as detailed in the following clauses.
+
+The shaded area in Table 6 indicates the mechanisms that apply to both predefined TTCN and ASN.1 types.
+
+Table 6/X.292 – TTCN matching mechanisms
+
+| | VALUE | INSTEAD OF VALUE | | | | | | | | INSIDE VALUE | | | ATTRIBUTES | |
+|-------------|----------------|------------------|---------|---------------|--------------|-----------|-------|----------|--------|---------------|--------------|-------------|------------|-----------|
+| TYPE | Specific Value | Complement | Omit(-) | Any Value (?) | AnyOrOmit(*) | ValueList | Range | SuperSet | SubSet | Any Value (?) | AnyOrNone(*) | Permutation | Length | IfPresent |
+| BOOLEAN | • | • | • | • | • | • | | | | | | | | • |
+| INTEGER | • | • | • | • | • | • | • | | | | | | | • |
+| ENUMERATED | • | • | • | • | • | • | | | | | | | | • |
+| BITSTRING | • | • | • | • | • | • | | | | • | • | | • | • |
+| OCTETSTRING | • | • | • | • | • | • | | | | • | • | | • | • |
+| HEXSTRING | • | • | • | • | • | • | | | | • | • | | • | • |
+| CHARSTRINGS | • | • | • | • | • | • | | | | • | • | | • | • |
+| SEQUENCE | | • | • | • | • | • | | | | | | | | • |
+| SEQUENCE OF | • | • | • | • | • | • | | | | • | • | • | • | • |
+| SET | • | • | • | • | • | • | | | | | | | | • |
+| SET OF | • | • | • | • | • | • | | • | • | • | • | | • | • |
+| ANY | • | • | • | • | • | • | | | | | | | | • |
+| CHOICE | • | • | • | • | • | • | | | | | | | | • |
+| OBJECT ID | • | • | • | • | • | • | | | | | | | | • |
+
+In a constraint specification, the matching mechanisms may replace values of single ASP parameters or PDU fields or even the entire contents of an ASP or PDU.
+
+NOTE – When these matching mechanisms are used singly or in combination, many protocol restrictions can be specified in the constraints, thereby avoiding undesirable computation details in the behaviour part.
+
+### 12.6.3 Specific value
+
+This is the basic matching mechanism. Specific values in constraints are expressions. Unless otherwise specified, a constraint ASP parameter or PDU field matches the corresponding incoming ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field has exactly the same value as the value to which the expression in the constraint evaluates.
+
+Two values of a tabular ASP, PDU or Structured Type, or of ASN.1 SEQUENCE or SEQUENCE OF are considered the same if each of their parameters fields or elements match and are in the same order. For ASN.1 SET and SET OF types two values are the same if they have the same number of elements, and each element in one value matches exactly one element in the other value. The elements in a SET or SET OF type value need not be in the same order to match.
+
+### 12.6.4 Instead of Value
+
+#### 12.6.4.1 Complement
+
+Complement is an operation for matching that can be used on all values of all types. Complement is denoted by the keyword COMPLEMENT followed by a list of constraint values. Each constraint value in the list shall be of the type declared for the ASP parameter or PDU field in which the Complement mechanism is used.
+
+A constraint ASP parameter or PDU field that uses Complement matches the corresponding ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field does not match any of the values listed in the ValueList.
+
+*EXAMPLE 37 – Constraints using Complement instead of a value, and with a value list:*
+
+| Type | Constraint |
+|---------|---------------------|
+| INTEGER | COMPLEMENT(5) |
+| INTEGER | COMPLEMENT(1, 3, 5) |
+
+#### 12.6.4.2 Omit
+
+Omit is a special symbol for matching that can be used on values of all types, provided that the ASP parameter or PDU field is optional.
+
+In ASN.1 constraints, it is also possible to simply leave out an OPTIONAL ASP parameter or PDU field instead of using OMIT explicitly.
+
+NOTE – In tabular constraints, all parameters, fields and elements are considered to be implicitly optional, and hence may be omitted using Omit. In ASN.1 constraints, parameters, fields and elements which are not explicitly marked as OPTIONAL in the type definition are mandatory and cannot be omitted without violating the type definition. If such a parameter, field or element needs to be omitted from a particular constraint, either another type needs to be defined in which that parameter, field or element is explicitly marked as OPTIONAL (perhaps by marking everything as OPTIONAL), or an Invalid Field Encoding needs to be applied to that parameter, field or element, with the effect of omitting it from the encoding.
+
+In tabular constraints Omit shall be denoted by the hyphen symbol ( - ). In ASN.1 constraints Omit is denoted by OMIT.
+
+An Omit symbol in a constraint is used to indicate that an optional ASP parameter or PDU field shall be absent.
+
+*EXAMPLE 38 – Constraint using Omit instead of a value, at top level:*
+
+| Type | Constraint |
+|------------------|------------|
+| INTEGER OPTIONAL | OMIT |
+
+#### 12.6.4.3 AnyValue
+
+AnyValue is a special symbol for matching that can be used on values of all types. In both tabular and ASN.1 constraints, AnyValue is denoted by "?".
+
+A constraint ASP parameter or PDU field that uses AnyValue matches the corresponding incoming ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field evaluates to a single element of the specified type.
+
+*EXAMPLE 39 – Constraint using Value in combination with AnyValue:*
+
+| Type | Constraint |
+|----------------------------|--------------------------------|
+| SEQUENCE OF SET OF INTEGER | { {1, 2}, ?, {1, 2, ?} } |
+
+#### 12.6.4.4 AnyOrOmit
+
+AnyOrOmit is a special symbol for matching that can be used on values of all types, provided that the ASP parameter or PDU field is declared as optional. In both tabular and ASN.1 constraints AnyOrOmit is denoted by "\*".
+
+NOTE – The symbol "\*" is used for both AnyOrOmit and AnyOrNone. Ambiguity in interpretation is resolved by the requirements in 12.6.4.4 and 12.6.5.2.
+
+A constraint ASP parameter or PDU field that uses AnyOrOmit matches the corresponding incoming ASP parameter or PDU field if, and only if, either the incoming ASP parameter or PDU field evaluates to any element of the specified type, or if the incoming ASP parameter or PDU field is absent.
+
+*EXAMPLE 40* – Constraint using Value in combination with AnyOrOmit:
+
+| Type | Constraint |
+|----------------------------------------------------------|--------------------------|
+| SEQUENCE OF { id1 SET OF INTEGER id2 SET OF INTEGER } | { id1 {2, 5}, id2 * } |
+
+#### 12.6.4.5 ValueList
+
+ValueList can be used on values of all types. In both tabular and ASN.1 constraints, ValueLists are denoted by a parenthesized list of values separated by commas.
+
+A constraint ASP parameter or PDU field that uses a ValueList matches the corresponding incoming ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field value matches any one of the values in the ValueList. Each value in the ValueList shall be of the type declared for the ASP parameter or PDU field in which the ValueList mechanism is used.
+
+*EXAMPLE 41* – Constraint using ValueList instead of a specific value, for INTEGER type:
+
+| Type | Constraint |
+|---------|------------|
+| INTEGER | (2, 4, 6) |
+
+*EXAMPLE 42* – Constraints using ValueList instead of a specific value, for CHOICE type:
+
+| Type | Constraint |
+|------------------------------------|---------------|
+| CHOICE { a INTEGER, b BOOLEAN } | (a 2, b TRUE) |
+
+#### 12.6.4.6 Range
+
+Ranges shall be used only on values of INTEGER type. A range is denoted by two boundary values, separated by ".." or TO, enclosed by parentheses. A boundary value shall be either:
+
+- INFINITY or -INFINITY;
+- an expression that evaluates to a specific INTEGER value.
+
+The lower boundary shall be put on the left side of the ".." or TO, the upper boundary at the right side. The lower boundary shall be less than the upper boundary.
+
+A constraint ASP parameter or PDU field that uses a Range matches the corresponding incoming ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field value is equal to one of the values in the Range.
+
+*EXAMPLE 43* – Constraint using Range instead of a value:
+
+| Type | Constraint |
+|---------|--------------------------------------------------|
+| INTEGER | (1 .. 6) (-INFINITY .. 8) (12 .. INFINITY) |
+
+#### 12.6.4.7 SuperSet
+
+SuperSet is an operation for matching that shall be used only on values of SET OF type. SuperSet shall be used only in ASN.1 constraints. SuperSet is denoted by SUPERSET.
+
+A constraint ASP parameter or PDU field that uses SuperSet matches the corresponding incoming ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field contains at least all of the elements defined within the SuperSet, and may contain more. The argument of SuperSet shall be of the type declared for the ASP parameter or PDU field in which the SuperSet mechanism is used.
+
+*EXAMPLE 44* – Constraint using SuperSet instead of a specific value:
+
+| Type | Constraint |
+|----------------|---------------------|
+| SET OF INTEGER | SUPERSET({1, 2, 3}) |
+
+#### 12.6.4.8 SubSet
+
+SubSet is an operation for matching that can be used only on values of SET OF type. SubSet shall be used only in ASN.1 constraints. SubSet is denoted by SUBSET.
+
+A constraint ASP parameter or PDU field that uses SubSet matches the corresponding incoming ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field contains only elements defined within the SubSet, and may contain less. The argument of SubSet shall be of the type declared for the ASP parameter or PDU field in which the SubSet mechanism is used.
+
+*EXAMPLE 45 – Constraint using SubSet instead of a specific value:*
+
+| Type | Constraint |
+|----------------|--------------------------|
+| SET OF INTEGER | SUBSET({2, 4, 6, 8, 10}) |
+
+#### 12.6.5 Inside Values
+
+##### 12.6.5.1 AnyOne
+
+AnyOne is a special symbol for matching that can be used within values of string types, SEQUENCE OF and SET OF. In both tabular and ASN.1 constraints, AnyOne is denoted by "?".
+
+Inside a string, SEQUENCE OF or SET OF a "?" in place of a single element means that any single element will be accepted. If the symbol "?" is needed within a CharacterString as a character, it shall be indicated by "\?". If the symbol "\" is needed within a CharacterString as a character, it shall be indicated by "\\".
+
+*EXAMPLE 46 – Constraints using AnyOne:*
+
+| Type | Constraint |
+|---------------------|-------------------|
+| IA5String | "a?cd" |
+| SEQUENCE OF INTEGER | {1, 2, ? } |
+
+NOTE – The "?" in the second example can be interpreted as an AnyValue replacing an INTEGER value, or AnyOne inside a SEQUENCE OF INTEGER value. Since both interpretations lead to the same set of events that match the constraint, no problem arises.
+
+##### 12.6.5.2 AnyOrNone
+
+AnyOrNone is a special symbol for matching that can be used within values of string types, SEQUENCE OF and SET OF. In both tabular and ASN.1 constraints, AnyOrNone is denoted by "\*".
+
+If a "\*" appears at the highest level inside a value of string type, SEQUENCE OF or SET OF, it shall be interpreted as AnyOrNone.
+
+NOTE – This rule prevents the otherwise possible interpretation of "\*" as AnyOrOmit that replaces an element inside the string, SEQUENCE OF or SET OF.
+
+Inside a string, SEQUENCE OF or SET OF a "\*" in place of a single element means that either none, or any number of consecutive elements will be accepted. The "\*" symbol matches the longest sequence of elements possible, according to the pattern as specified by the symbols surrounding the "\*". If the symbol "\*" is needed within a CharacterString as a character, it shall be indicated by "\\*". If the symbol "\" is needed within a CharacterString as a character, it shall be indicated by "\\".
+
+*EXAMPLE 47 – Constraints using AnyOne:*
+
+| Type | Constraint |
+|-----------------------|----------------------------|
+| IA5String | "ab*z" |
+| SEQUENCE OF INTEGER | {1, 2, *, 10 } |
+| SEQUENCE OF IA5String | { "ab*z", *, "abc" } |
+
+##### 12.6.5.3 Permutation
+
+Permutation is an operation for matching that can be used only on values inside a value of SEQUENCE OF type. Permutation shall be used only in ASN.1 constraints. Permutation is denoted by PERMUTATION.
+
+Permutation in place of a single element means that any series of elements is acceptable provided it contains the same elements as the value list in the Permutation, though possibly in a different order. If both Permutation and AnyOrNone are used inside a value, the AnyOrNone shall be evaluated first. Each element listed in Permutation shall be of the type declared inside the SEQUENCE OF type of the ASP parameter or PDU field.
+
+*EXAMPLE 48* – Constraint using Permutation:
+
+| Type | Constraint |
+|---------------------|----------------------------|
+| SEQUENCE OF INTEGER | {PERMUTATION (1, 2, 3), 5} |
+
+*EXAMPLE 49* – Constraints using Permutation in combination with AnyOrNone:
+
+| Type | Constraint |
+|---------------------|--------------------------|
+| SEQUENCE OF INTEGER | {PERMUTATION (1,2,3), *} |
+| | {PERMUTATION (1,2,3,*)} |
+
+Note that the first constraint matches with incoming ASPs and/or PDUs that consist of a sequence of INTEGER values, starting with 1,2,3; 1,3,2; 2,1,3; 2,3,1; 3,1,2; or 3,2,1 and followed by any number of values of type INTEGER. The second constraint matches any incoming ASP and/or PDU of type SEQUENCE OF INTEGER, that contains the elements 1, 2, 3 in any order and in any position. It matches, for example; {5,2,7,1,3} and {9,3,7,2,12,1,17}.
+
+## 12.6.6 Attributes of values
+
+### 12.6.6.1 Length
+
+Length is an operation for matching that can be used only as an attribute of the following mechanisms: Complement, AnyValue, AnyOrOmit, AnyOne, AnyOrNone, Permutation, SuperSet and SubSet. It can be used in conjunction with the IfPresent attribute.
+
+In both tabular and ASN.1 constraints, length may be specified as an exact value or range in string values and SEQUENCE OF or SET OF values, according to 11.18. The units of length are to be interpreted according to Table 5. The boundaries shall be denoted by expressions which resolves to specific non-negative INTEGER values. Alternatively, the keyword INFINITY can be used as a value for the upper boundary in order to indicate that there is no upper limit of length.
+
+The length specifications defined for the ASP parameter or PDU field type in the Test Suite Type definitions shall not conflict with the length specifications in the ASP or PDU constraint, *i.e.*, the set of strings defined by a length restriction in an ASP or PDU constraint shall be a true subset of the set of strings defined by the ASP or PDU definition.
+
+A constraint ASP parameter or PDU field that uses Length as an attribute of a symbol matches the corresponding incoming ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field matches both the symbol and its associated attribute. The length attribute matches if the length of the incoming ASP parameter or PDU field is greater than or equal to the specified lower bound and less than or equal to the upper bound. In the case of a single length value, the length attribute matches only if the length of the received ASP parameter or PDU field is exactly the specified value.
+
+In the case of an omitted parameter, field or element, Length is always considered as matching. Hence, with Omit it is redundant and with AnyOrOmit and IfPresent it places a restriction on the incoming value, if any.
+
+*EXAMPLE 50* – Constraints using Value in combination with Length:
+
+| Type | Constraint |
+|-----------|--------------|
+| IA5String | "ab*ab" [13] |
+
+### 12.6.6.2 IfPresent
+
+IfPresent is a special symbol for matching that can be used as an attribute of all the matching mechanisms, provided the type is declared as optional. In both tabular and ASN.1 constraints, IfPresent is denoted by IF\_PRESENT.
+
+A constraint ASP parameter or PDU field that uses an IfPresent symbol as an attribute of another symbol matches the corresponding incoming ASP parameter or PDU field if, and only if, the incoming ASP parameter or PDU field matches the symbol, or if the incoming ASP parameter or PDU field is absent.
+
+NOTE – The AnyOrOmit symbol ( \* ) has exactly the same meaning as ? IF\_PRESENT
+
+*EXAMPLE 51* – Constraints using Value in combination with IfPresent:
+
+| Type | Constraint |
+|--------------------|---------------------|
+| IA5String OPTIONAL | "abcdef" IF_PRESENT |
+
+## 13 Specification of constraints using tables
+
+### 13.1 Introduction
+
+This clause describes the specification of tabular constraints on Structured Types, ASPs and PDUs. It describes how single constraint tables can be used to specify constraints on flat (unstructured) ASPs or PDUs and how structured constraints can be specified by declaring constraints on Structured Types, defined in the Test Suite Types.
+
+In Annex C additional tables are defined which allow many single constraint declarations in a single table.
+
+### 13.2 Structured type constraint declarations
+
+If an ASP or PDU is defined using Structured Types, either as macro expansions or substructures, constraints for these ASPs or PDUs shall be similarly substructured. The following information shall be supplied for each Structured Type Constraint:
+
+- a) the name of the constraint,
+which may be followed by an optional formal parameter list;
+- b) the structured type name;
+- c) the derivation path (see 13.6);
+- d) the Encoding Variations to be used for the Constraint,
+in order to specify explicit Encoding Variations for entire Structured Type Constraints, which override the encoding rules and Encoding Variations applicable to the PDU Constraint in which this Structured Type Constraint is used, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)). If this entry is not used, then the encoding rules and Encoding Variations applicable to the PDU Constraint apply to this Structured Type Constraint as well. See 11.16.4;
+- e) a constraint value for each element,
+where the following information shall be supplied for each element:
+ - 1) its name,
+each entry in the element name column shall have been declared in the relevant Structured Type definition. If any of the original elements is defined as having both a short name and full identifier, the constraint shall not repeat the full identifier.
+
+If the Structured Type definition refers to another Structured Type by macro expansion (*i.e.*, with "<-
+" in place of the element name) then in a corresponding constraint either:
+ - the individual elements from the Structured Type shall be included directly within the constraints; or
+ - the macro symbol ( <- ) shall be placed in the corresponding position in the Element Name column of the constraint and the value shall be a reference to a constraint for the Structured Type referenced from this Structured Type's definition.
+Use of Structured Constraints by macro expansion in a constraint shall not be used unless the corresponding Structured Type definition also references the inner Structured Type by macro expansion;
+ - 2) its value and an optional attribute;
+ - 3) optionally, a specific encoding identifier followed by any necessary actual parameter list, in order to specify explicit encoding for the individual element of a Structured Type Constraint, which override the encoding rules and Encoding Variations applicable to the whole Structured Type Constraint, and which also override any encoding specified for this element in the Structured Type declaration; the encoding identifier, if any, shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite (e.g., LD(10)); see 11.16.4.
+
+The element values for structure constraints shall be provided in the format shown in the following proforma:
+
+| Structured Type Constraint Declaration | | | |
+|---------------------------------------------|-------------------------------------------------|------------------------------------------|-----------------------------|
+| Constraint Name | : ConsId&ParList | | |
+| Group | : [StructTypeConstraintGroupReference] | | |
+| Structured Type | : StructIdentifier | | |
+| Derivation Path | : [DerivationPath] | | |
+| Encoding Variation | : [EncVariationCall] | | |
+| Comments | : [FreeText] | | |
+| Element Name | Element Value | Element Encoding | Comments |
+| ⋮ElemIdentifier ⋮ | ⋮ConstraintValue&Attributes ⋮ | ⋮[PDU_FieldEncodingCall] ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 37: Structured Type Constraint Declaration**
+
+This proforma is used in the same way that the PDU Constraint Declaration proforma is used for PDUs (see 13.4).
+
+If an ASP or PDU definition refers to a Structured Type as a substructure of a parameter or field (*i.e.*, with a parameter name or a field name specified for it), then the corresponding constraint shall have the same parameter or field name in the corresponding position in the parameter name or field name column of the constraint and the value shall be a reference to a constraint for that parameter or field (*i.e.*, for that substructure in accordance with the definition of the Structured Type). If the ASP or PDU definition refers to a parameter or field specified as being of metatype PDU then in a corresponding constraint the value for that parameter or field shall be specified as the name of a PDU constraint, or formal parameter.
+
+### 13.3 ASP constraint declarations
+
+The parameter values for ASP constraints shall be provided in the format shown in the following proforma:
+
+| ASP Constraint Declaration | | |
+|---------------------------------------------|-------------------------------------------------|-----------------------------|
+| Constraint Name | : ConsId&ParList | |
+| Group | : [ASP_ConstraintGroupReference] | |
+| ASP Type | : ASP_Identifier | |
+| Derivation Path | : [DerivationPath] | |
+| Comments | : [FreeText] | |
+| Parameter Name | Parameter Value | Comments |
+| ⋮ASP_ParIdOrMacro ⋮ | ⋮ConstraintValue&Attributes ⋮ | ⋮[FreeText] ⋮ |
+| Detailed Comments: [FreeText] | | |
+
+**Proforma 38: ASP Constraint Declaration**
+
+The Parameter Name and Parameter Value columns shall either be both present or both omitted.
+
+This proforma is used for ASPs in the same way that the PDU Constraint Declaration proforma is used (see 13.4) except that encoding information is not relevant and shall not be specified.
+
+### 13.4 PDU Constraint Declarations
+
+In the tabular format a constraint is defined by specifying a value and optional attributes for each PDU field. The following information shall be supplied for each PDU constraint:
+
+- a) the name of the constraint,
+which may be followed by an optional formal parameter list;
+- b) the PDU type name;
+- c) the derivation path (see 13.6);
+- d) the encoding rules to be used for the Constraint,
+in order to specify explicit encodings for entire PDU Constraints, which override the encoding rules applicable to the given PDU type, this optional entry shall reference an entry in the relevant Encoding Definitions table (e.g., to change from BER to DER). If this entry is not used, then the encoding rules applicable to the PDU type apply. See 11.16.4;
+- e) the Encoding Variations to be used for the Constraint,
+in order to specify explicit Encoding Variations for entire PDU Constraints, which override the Encoding Variations applicable to the given PDU type, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)). If this entry is not used, then the Encoding Variations applicable to the PDU type apply. See 11.16.4;
+- f) a constraint value for each field,
+where the following information shall be supplied for each field:
+ - 1) its name,
+each field entry in the field name column shall have been declared in the relevant PDU type definition. If any of the original PDU fields is defined as having both a short name and full identifier, the constraint shall not repeat the full identifier.
+
+If the PDU definition refers to a Structured Type by macro expansion (*i.e.*, with "<-" in place of the PDU field name) then in a corresponding constraint either:
+ - the individual elements from the Structured Type shall be included directly within the constraints; or
+ - the macro symbol ( <- ) shall be placed in the corresponding position in the PDU field name column of the constraint and the value shall be a reference to a constraint for the Structured Type referenced from the PDU definition.
+Use of structured constraints by macro expansion in a constraint shall not be used unless the corresponding PDU definition also references the same Structured Type by macro expansion;
+ - 2) its value and an optional attribute;
+ - 3) optionally, a specific encoding identifier followed by any necessary actual parameter list, in order to specify explicit encodings for individual fields of a PDU Constraint, which override the encoding rules and encoding variations applicable to the PDU Constraint as a whole, and which override any specific field encoding applicable to this field for PDUs of this PDU type; the encoding identifier, if any, shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite (e.g., LD(10)); see 11.16.4.
+
+The encoding mechanism shall not be used with ASP constraints.
+
+This information shall be provided in the format shown in the following proforma:
+
+| PDU Constraint Declaration | | | |
+|------------------------------------------------------|-------------------------------------------------|------------------------------------------|-----------------------------|
+| Constraint Name : ConsId&ParList | | | |
+| Group : [PDU_ConstraintGroupReference] | | | |
+| PDU Type : PDU_Identifier | | | |
+| Derivation Path : [DerivationPath] | | | |
+| Encoding Rule Name : [EncodingRuleIdentifier] | | | |
+| Encoding Variation : [EncVariationCall] | | | |
+| Comments : [FreeText] | | | |
+| Field Name | Field Value | Field Encoding | Comments |
+| :PDU_FieldIdOrMacro : | :ConstraintValue&Attributes : | :[PDU_FieldEncodingCall] : | :[FreeText] : |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma 39: PDU Constraint Declaration**
+
+The Field Name and Field Value columns shall either be both present or both omitted. The Field Encoding column shall not be present as a single column on its own.
+
+*EXAMPLE 52* – A constraint, called C1, on the PDU called PDU\_A:
+
+| PDU Constraint Declaration | | |
+|----------------------------|-----------------|----------|
+| Constraint Name : C1 | | |
+| PDU Type : PDU_A | | |
+| Derivation Path : | | |
+| Comments : | | |
+| Field Name | Field Value | Comments |
+| FIELD1 | (4 .. INFINITY) | |
+| FIELD2 | TRUE | |
+| FIELD3 | "A STRING" | |
+
+**13.5 Parameterization of constraints**
+
+Constraints may be parameterized using a formal parameter list. The actual parameters are passed to a constraint from a constraints reference in a behaviour description.
+
+*EXAMPLE 53* – A parameterized constraint:
+
+| PDU Constraint Declaration | | |
+|-----------------------------------------------|-------------|----------|
+| Constraint Name : C2 (P1:INTEGER; P2:BOOLEAN) | | |
+| PDU Type : PDU_B | | |
+| Derivation Path : | | |
+| Comments : | | |
+| Field Name | Field Value | Comments |
+| FIELD1 | P1 | |
+| FIELD2 | P2 | |
+| FIELD3 | "A STRING" | |
+
+### 13.6 Base constraints and modified constraints
+
+For every ASP, PDU or CM type definition at least one base constraint may be specified. In the case in which an ASP or CM has no parameters or a PDU has no fields, constraints are irrelevant and hence base constraints are unnecessary. A base constraint specifies a set of base, or default, values or matching symbols for each and every field defined in the appropriate definition. There may be any number of base constraints for any particular PDU (see Annex F for examples).
+
+When a constraint is specified as a modification of a base constraint, any fields not re-specified in the modified constraint will default to the values or matching symbols specified in the base constraint. The name of the modified constraint shall be a unique identifier. The name of the base constraint which is to be modified shall be indicated in the derivation path entry in the constraint header. This entry shall be left blank for a base constraint. A modified constraint can itself be modified. In such a case the Derivation Path indicates the concatenation of the names of the base and previously modified constraints, separated by dots ( . ) A dot shall follow the last modified constraint name. The rules for building a modified constraint from a base constraint are:
+
+- if a parameter or field and its corresponding value or matching symbol is not specified in the modified constraint, then the value or matching symbol in the parent constraint shall be used (*i.e.*, the value is inherited);
+- if a parameter or field and its corresponding value or matching symbol is specified in the modified constraint, then the specified value or matching symbol replaces the one specified in the parent constraint.
+
+### 13.7 Formal parameter lists in modified constraints
+
+If a base constraint is defined to have a formal parameter list, the following rules apply to all modified constraints derived from that base constraint, whether or not they are derived in one or several modification steps:
+
+- a) the modified constraint shall have the same parameter list as the base constraint. In particular, there shall be no parameters omitted from or added to this list;
+- b) the formal parameter list shall follow the constraint name for every modified constraint;
+- c) parameterized ASP parameters or PDU in a base constraint fields shall not be modified or explicitly omitted in a modified constraint.
+
+### 13.8 CM constraint declarations
+
+The field values for CM constraints shall be provided in the format shown in the following proforma:
+
+| CM Constraint Declaration | | |
+|---------------------------------------------|-------------------------------------------------|-----------------------------|
+| Constraint Name | : ConsId&ParList | |
+| Group | : [CM_ConstraintGroupReference] | |
+| CM Type | : CM_Identifier | |
+| Derivation Path | : [DerivationPath] | |
+| Comments | : [FreeText] | |
+| Parameter Name | Parameter Value | Comments |
+| :CM_ParIdOrMacro : | :ConstraintValue&Attributes : | :[FreeText] : |
+| Detailed Comments: [FreeText] | | |
+
+Proforma 40: CM Constraint Declaration
+
+The Parameter Name and Parameter Value columns shall either be both present or both omitted.
+
+This proforma is used for CMs in the same way that the PDU Constraint Declaration proforma is used for PDUs.
+
+## 14 Specification of constraints using ASN.1
+
+### 14.1 Introduction
+
+This clause describes a method of specifying Type, ASP and PDU constraints in ASN.1, in a way similar to the definition of tabular constraints. The normal ASN.1 value declaration is extended to allow the use of the matching mechanisms. Mechanisms to replace or omit parts of ASN.1 constraints, to be used in modified constraints, are also defined.
+
+In other respects, ASN.1 is used in constraints in the same way that it is used in types. In particular,
+
+- a) for identifiers within an ASN.1 constraint the hyphen symbol ("-") shall not be used; the underscore symbol ("\_") may be used instead;
+- b) ASN.1 constraints shall not use external value references as defined in ITU-T Rec. X.680;
+- c) ASN.1 comments can be used within the table body. The comments column shall not be present in this table. Comments in ASN.1 start with "--" and end with either the next occurrence of "--" or with "end of line", whichever comes first. This prevents a single ASN.1 comment from spanning several lines. ATS specifiers are recommended to facilitate the exchange of ATSS in TTCN.MP by always closing ASN.1 comments with "--".
+
+### 14.2 ASN.1 type constraint declarations
+
+Both ASN.1 ASP constraints and ASN.1 PDU constraints can be structured by using references to ASN.1 Test Suite Type constraints for values of complex fields. ASN.1 Test Suite Types are defined in the declarations part of the ATS.
+
+The following information shall be supplied for each ASN.1 Type Constraint Declaration:
+
+- a) the name of the Constraint,
+which may be followed by an optional formal parameter list;
+- b) the ASN.1 Type name;
+- c) the derivation path (see 13.6 and 14.6),
+in order to specify explicit Encoding Variations for entire ASN.1 Type Constraints, which override both the Encoding Variations of the PDU Constraint that references this ASN.1 Type Constraint and the default global Encoding Variations for the test suite, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)); if this entry is not used, then the default Encoding Variations apply to all ASN.1 Type Constraints of this type, unless specifically overridden within a particular Constraint;
+- d) the Encoding Variations to be used for the Constraint,
+if an ASN.1 Constraint Declaration is a modification of an existing ASN.1 constraint, the name of the ASN.1 constraint that is taken as the basis of this modification shall be referenced in the table in the derivation path entry;
+- e) The constraint value,
+where the body of the ASN.1 Type Constraint table contains the ASN.1 Constraint Declaration with optional attributes; all constraint values and attributes defined in 12.6 can be used in ASN.1 constraints.
+
+In order to specify explicit encodings for individual values within an ASN.1 Type Constraint, which override all other Encoding Variations for the specific ASN.1 Type Constraint encodings (see c) above), the keyword **ENC** is used after the relevant value, followed by a specific encoding identifier and any necessary actual parameter list. The encoding identifier shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite.
+
+ASN.1 Type Constraint Declarations shall be specified in the format shown in the following proforma:
+
+| ASN.1 Type Constraint Declaration | |
+|------------------------------------------------|----------------------------------------------|
+| Constraint Name | : ConsId&ParList |
+| Group | : [ASN1_TypeConstraintGroupReference] |
+| ASN.1 Type | : ASN1_TypeIdentifier |
+| Derivation Path | : [DerivationPath] |
+| Encoding Variation | : [EncVariationCall] |
+| Comments | : [FreeText] |
+| Constraint Value | |
+| ConstraintValue&AttributesOrReplace | |
+| Detailed Comments: | [FreeText] |
+
+#### Proforma 41: ASN.1 Type Constraint Declaration
+
+This proforma is used for ASN.1 Types in the same way that the ASN.1 PDU Constraint Declaration proforma is used (see 14.4).
+
+### 14.3 ASN.1 ASP constraint declarations
+
+The following information shall be supplied for each ASN.1 ASP Constraint Declaration:
+
+- a) the name of the constraint,
+which may be followed by an optional formal parameter list;
+- b) the ASP type name;
+- c) the derivation path (see 13.6 and 14.6),
+if an ASN.1 Constraint Declaration is a modification of an existing ASN.1 constraint, the name of the ASN.1 constraint that is taken as the basis of this modification shall be referenced in the table in the derivation path entry;
+- d) The constraint value,
+where the body of the ASP constraint table contains the ASN.1 Constraint Declaration with optional attributes. All constraint values and attributes defined in 12.6 can be used in ASN.1 constraints.
+
+ASN.1 ASP Constraint Declarations shall be specified in the format shown in the following proforma:
+
+| ASN.1 ASP Constraint Declaration | |
+|------------------------------------------------|----------------------------------------------|
+| Constraint Name | : ConsId&ParList |
+| Group | : [ASN1_ASP_ConstraintGroupReference] |
+| ASP Type | : ASP_Identifier |
+| Derivation Path | : [DerivationPath] |
+| Comments | : [FreeText] |
+| Constraint Value | |
+| ConstraintValue&AttributesOrReplace | |
+| Detailed Comments: | [FreeText] |
+
+#### Proforma 42: ASN.1 ASP Constraint Declaration
+
+This proforma is used for ASN.1 Types in the same way that the ASN.1 PDU Constraint Declaration proforma is used (see 14.4).
+
+## 14.4 ASN.1 PDU constraint declarations
+
+The following information shall be supplied for each ASN.1 PDU Constraint Declaration:
+
+- a) the name of the Constraint,
+which may be followed by an optional formal parameter list;
+- b) the PDU type name;
+- c) the derivation path (see 13.6 and 14.6);
+- d) the encoding rules to be used for the Constraint,
+in order to specify explicit encodings for entire ASN.1 PDU Constraints, which override the default global encoding rules for the test suite, this optional entry shall reference an entry in the relevant Encoding Definitions table (e.g., to change from BER to DER); if this entry is not used, then the default encoding rules apply to all ASN.1 PDU Type Constraints of this type, unless specifically overridden in a particular Constraint;
+- e) the Encoding Variations to be used for the Constraint,
+in order to specify explicit Encoding Variations for entire ASN.1 PDU Constraints, which override the default global Encoding Variations for the test suite, this optional entry shall reference an entry in the relevant Encoding Variations table (e.g., to change from SD to LD(3)); if this entry is not used, then the default Encoding Variations apply to all ASN.1 PDU Type Constraints of this type, unless specifically overridden in a particular Constraint;
+if an ASN.1 Constraint Declaration is a modification of an existing ASN.1 constraint, the name of the ASN.1 constraint that is taken as the basis of this modification shall be referenced in the table in the derivation path entry;
+- f) the constraint value,
+where the body of the PDU constraint table contains the ASN.1 Constraint Declaration with optional attributes; all constraint values and attributes defined in 12.6 can be used in ASN.1 constraints.
+
+In order to specify explicit encodings for individual values within an ASN.1 PDU Constraint, which override the default global encoding rules or the specific ASN.1 PDU Constraint encodings (see c) and d) above), the keyword **ENC** is used after the relevant value, followed by a specific encoding identifier and any necessary actual parameter list. The encoding identifier shall identify either one of the Encoding Variations or an Invalid Field Encoding Definition defined in the test suite.
+
+PDU Constraint Declarations shall be specified in the format shown in the following proforma:
+
+| ASN.1 PDU Constraint Declaration | |
+|------------------------------------------------|----------------------------------------------|
+| Constraint Name | : ConsId&ParList |
+| Group | : [ASN1_PDU_ConstraintGroupReference] |
+| PDU Type | : PDU_Identifier |
+| Derivation Path | : [DerivationPath] |
+| Encoding Rule Name | : [EncodingRuleIdentifier] |
+| Encoding Variation | : [EncVariationCall] |
+| Comments | : [FreeText] |
+| Constraint Value | |
+| ConstraintValue&AttributesOrReplace | |
+| Detailed Comments: | [FreeText] |
+
+**Proforma 43: ASN.1 PDU Constraint Declaration**
+
+## 14.5 Parameterized ASN.1 constraints
+
+ASN.1 constraints may be parameterized (see 13.5).
+
+## 14.6 Modified ASN.1 constraints
+
+ASN.1 constraints can be specified by modifying an existing ASN.1 constraint. Portions of a constraint can be respecified to create a new constraint by using the REPLACE/OMIT mechanism.
+
+Particular parameters or fields of a base or a modified constraint may be identified through a list of field selectors in order to replace their defined value by a new value, or to omit the defined value. A ReferenceList consists of the field selector identifiers (defined in the corresponding type definition) separated by dots which uniquely identify a particular (possibly structured) field within a PDU (or ASP). A single selector can identify first level fields, whereas nested fields require the full path.
+
+Replace values shall be used only when a derivation path is specified. Full ASN.1 values shall be used only when a derivation path is not specified. Values that are REPLACEd or OMITted may be structured.
+
+If a field belongs to a SEQUENCE, SET or CHOICE structure, the position of the field in parentheses may be used as a replacement for the field selector identifier. This technique shall be used where the identifier is not provided in the declaration of the field.
+
+## 14.7 Formal parameter lists in modified ASN.1 constraints
+
+The requirements of 13.7 also apply to modified ASN.1 constraints.
+
+## 14.8 ASP Parameter and PDU field names within ASN.1 constraints
+
+When specifying a constraint for an ASP or PDU in ASN.1, the parameter or field identifiers defined in the ASN.1 type definition for SEQUENCE, SET and CHOICE types may be used in order to identify the particular ASP or PDU parameters or fields a value stands for. In the case of CHOICE types the identifiers identifying the variant shall be used. For SEQUENCE types, parameter or field identifiers shall be used whenever the value definition becomes ambiguous because of omitted values for OPTIONAL parameters or fields. For SET types, parameter or field identifiers shall be used in all cases.
+
+*EXAMPLE 54* – Field values in an ASN.1 PDU constraint:
+
+Assume the type definition:
+
+| ASN.1 PDU Type Definition | |
+|---------------------------|------------------------------------------------------------------------------------------------------------|
+| PDU Name | : XY_PDU |
+| PCO Type | : |
+| Comments | : |
+| Type Definition | |
+| SET | { field_1 INTEGER OPTIONAL, field_2 BOOLEAN, field_3 INTEGER OPTIONAL, field_4 INTEGER OPTIONAL } |
+
+Then a possible constraint is:
+
+| ASN.1 PDU Constraint Declaration | |
+|--------------------------------------------------------------------------------------------------|----------|
+| Constraint Name | : CONS1 |
+| PDU Type | : XY_PDU |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| { field_1 5, field_2 TRUE, field_3 3 } | |
+| -- field_4 is not specified => omitted when sending -- | |
+| -- if identifier field_3 was not used it would be ambiguous whether 3 was the value of -- | |
+| -- field_3 or field_4, since both are OPTIONAL. -- | |
+
+## 14.9 ASN.1 CM constraint declarations
+
+The parameter values for CM constraints shall be provided in the format shown in the following proforma:
+
+| ASN.1 CM Constraint Declaration | |
+|------------------------------------------------|---------------------------------------------|
+| Constraint Name | : ConsId&ParList |
+| Group | : [ASN1_CM_ConstraintGroupReference] |
+| CM Type | : CM_Identifier |
+| Derivation Path | : [DerivationPath] |
+| Comments | : [FreeText] |
+| Constraint Value | |
+| ConstraintValue&AttributesOrReplace | |
+| Detailed Comments: | [FreeText] |
+
+**Proforma 44: ASN.1 CM Constraint Declaration**
+
+This proforma is used for CMs in the same way that the PDU Constraint Declaration proforma is used for PDUs.
+
+## 15 The dynamic part
+
+### 15.1 Introduction
+
+The Dynamic Part contains the main body of the test suite: the Test Case, the Test Step and the Default behaviour descriptions.
+
+### 15.2 Test Case dynamic behaviour
+
+#### 15.2.1 Specification of the Test Case Dynamic Behaviour table
+
+The title of the table shall be "Test Case Dynamic Behaviour".
+
+The header shall contain the following information:
+
+- Test Case name,
+giving a unique identifier for the Test Case described in the table;
+- Test Group Reference,
+giving the full name of the lowest level to the group that contains the Test Case; that full name shall conform to the requirements of 9.2, and end with a slash ( / );
+- Test Purpose,
+an informal statement of the purpose of the Test Case, as given in the relevant test suite structure and test purposes standard (if any) or equivalent part of the test suite standard (if any);
+- Default Reference,
+a list of Default behaviour description identifiers (each including an actual parameter list if necessary), if any, which apply to the Test Case behaviour description (see 15.4).
+
+The body of the table shall display the following columns and corresponding information:
+
+- an (optional) line number column (see 15.2.5),
+which, if present, shall be placed at the extreme left of the table;
+- a label column,
+where labels can be placed to identify the TTCN statements to allow jumps using the GOTO construct (see 15.14);
+
+- c) a behaviour description,
+
+which describes the behaviour of the LT and/or UT in terms of TTCN statements and their parameters, using the tree notation (see 15.6);
+- d) a constraints reference column,
+
+where constraint references are placed to associate TTCN statements in a behaviour tree with a reference to specific ASP and/or PDU values defined in the constraints part (see clause 12);
+- e) a verdict column,
+
+where verdict or result information is placed in association with TTCN statements in the behaviour tree (see 15.17);
+- f) an (optional) comments column,
+
+this column is used to place comments that ease understanding of TTCN statements by providing short remarks or references to additional text in the optional detailed comments section.
+
+The columns c), d), e) and f) shall be displayed in that order, from left to right. It is recommended that the mandatory label column be placed at the left of the behaviour description. Alternately, the label column may be placed to the right of the behaviour description.
+
+An (optional) footer can contain detailed comments.
+
+### 15.2.2 The Test Case Dynamic Behaviour proforma
+
+The Test Case dynamic behaviour shall be provided in the format shown in the following proforma:
+
+| Test Case Dynamic Behaviour | | | | | |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|-----------------------|-----------------------|-----------|------------|
+| Test Case Name : TestCaseIdentifier Group : TestGroupReference Purpose : FreeText Configuration : TCompConfigIdentifier Defaults : [DefaultRefList] Comments : [FreeText] | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | . | . | . | . | . |
+| 2 | . | . | . | . | . |
+| . | [Label] | StatementLine | [ConstraintReference] | [Verdict] | [FreeText] |
+| . | . | . | . | . | . |
+| . | . | . | . | . | . |
+| . | . | TreeHeader | . | . | . |
+| . | . | StatementLine | . | . | . |
+| . | . | . | . | . | . |
+| n | . | . | . | . | . |
+| Detailed Comments: [FreeText] | | | | | |
+
+Proforma 45: Test Case Dynamic Behaviour
+
+Column headers of this proforma can be abbreviated to: L, Cref, V and C. This enables the behaviour tree column to be as wide as possible in cases of physical paper size limitations.
+
+### 15.2.3 Structure of the Test Case behaviour
+
+Each Test Case contains a precise description of sequences of (anticipated) events and related verdicts. This description is structured as a tree, with TTCN statements as nodes in that tree and verdict assignments at its leaves. In many cases it is more efficient to use Test Steps as a means of substructuring this tree:
+
+
+
+Figure 7/X.292 – Test Case Behaviour Structure. The diagram shows two tree structures. The left tree, labeled '1: Unstructured Test Case Behaviour', starts with a yellow 'Test case' node. It branches into two 'Statement' nodes. The top 'Statement' node branches into two 'Statement and verdict' nodes. The bottom 'Statement' node branches into another 'Statement' node, which then branches into two 'Statement and verdict' nodes. The right tree, labeled '2: Structured Test Case Behaviour', also starts with a yellow 'Test case' node. It branches into a 'Statement' node and a 'Statement' node. The top 'Statement' node is enclosed in a triangle labeled 'Test Step'. The bottom 'Statement' node branches into another 'Statement' node, which then branches into two 'Statement and verdict' nodes. The label 'X.292\_F07' is at the bottom right of the diagram.
+
+Figure 7/X.292 – Test Case Behaviour Structure
+
+In TTCN this explicit modularization is expressed using Test Steps and the ATTACH construct.
+
+### 15.2.4 Concurrent Test Case Behaviour description
+
+If PTCs are used in a test case then the header shall contain the additional entry, Configuration, which shall identify a Test Component Configuration declared in the Declaration Part.
+
+The first tree in the Test Case Behaviour table plus all attached trees describe the behaviour of the MTC. The MTC behaviour tree creates PTCs when required and associates each PTC with its own behaviour tree.
+
+If a PTC behaviour is specified as a local tree in the test case behaviour, then the Defaults Reference shall be empty. This restriction prevents a PTC from inheriting the Default Behaviour of the MTC.
+
+A test case shall only use the Test Components that are present in the referenced Test Component Configuration. The chosen configuration shall determine the set of PCOs and CPs that may be used in the test case. When used, the Configuration entry in the Test Case Dynamic Behaviour Header shall be provided in the format shown in Proforma 45.
+
+### 15.2.5 Line numbering and continuation
+
+Since lines in the behaviour description, when printed, may be too long to fit on one line, it is necessary to use additional symbols to indicate the extent of a single behaviour line. There are two available techniques:
+
+- a) indicate the beginning of a new behaviour line; an extra line column is added as the leftmost column in the body of the table; there shall only be an entry in this column on those lines where a new behaviour line starts; the line numbers used shall be 1, 2, 3, ... and the numbering shall not be restarted when local trees are defined, *i.e.*, there is a unique line number for each behaviour line of the behaviour table;
+
+
+NOTE 1 – The line numbers can be used for logging purposes, to record unambiguously which behaviour line was executed.
+
+NOTE 2 – The line numbers can be used as references in the detailed comments section.
+- b) indicate the continuation of lines; if a line is to be continued within the behaviour description column a hash (#) symbol shall be placed in the leftmost position of the behaviour column, on the line of the continued text; it is recommended that the text of the continued part adopts the same level of indentation as the line it is continuing.
+
+If a line is continued in any column other than the behaviour description column, the hash symbol is not required.
+
+EXAMPLE 55 – Printing long behaviour line:
+
+Recommended style:
+
+| Nr | Label | Behaviour Description | Constraints Ref | Verdict | Comments |
+|----|-------|-------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|---------|----------|
+| 1 | | This is a TTCN statement that is too long to print on a single line because the column is too narrow. | Ref1 | | |
+| 2 | | This is the next statement line | This is a constraint reference that is too long to print on one line | | |
+| 3 | | An alternative statement line | Ref2 | | |
+
+Alternative style:
+
+| Label | Behaviour Description | Constraints Ref | Verdict | Comments |
+|-------|-------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|---------|----------|
+| | This is a TTCN statement that is too long to print on a single line because the column is too narrow. | Ref1 | | |
+| | This is the next statement line | This is a constraint reference that is too long to print on one line | | |
+| | An alternative statement line | Ref2 | | |
+
+## 15.3 Test Step dynamic behaviour
+
+### 15.3.1 Specification of the Test Step Dynamic Behaviour table
+
+The dynamic behaviour of Test Steps is defined using the same mechanisms as for Test Cases, except that Test Steps can be parameterized (see 15.7). Test Step dynamic behaviour tables are identical to Test Case dynamic behaviour tables, except for the following differences:
+
+- the table has the title "Test Step Dynamic Behaviour";
+- the first item in the header is the Test Step name,
+
+which is a unique identifier for the Test Step followed by an optional list of formal parameters, and their associated types. These parameters may be used to pass PCOs, constraints or other data objects into the root tree of the Test Step;
+- the second item in the header is the Test Step Group Reference,
+
+which gives the full name to the lowest level of the Test Step Library group that contains the Test Step; that full name shall conform to the requirements of (see 9.3), and end with a slash (/);
+- the third item in the header is the Test Step Objective,
+
+which is an informal statement of the objective of the Test Step.
+
+15.3.2 The Test Step Dynamic Behaviour proforma
+
+The Test Step dynamic behaviour shall be provided in the format shown in the following proforma:
+
+| Test Step Dynamic Behaviour | | | | | |
+|------------------------------------------------|---------|-----------------------|-----------------------|-----------|------------|
+| Test Step Name : TestStepId&ParList | | | | | |
+| Group : TestStepGroupReference | | | | | |
+| Objective : FreeText | | | | | |
+| Defaults : [DefaultRefList] | | | | | |
+| Comments : [FreeText] | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | . | . | . | . | . |
+| 2 | . | . | . | . | . |
+| . | [Label] | StatementLine | [ConstraintReference] | [Verdict] | [FreeText] |
+| . | . | . | . | . | . |
+| . | . | . | . | . | . |
+| . | . | TreeHeader | . | . | . |
+| . | . | StatementLine | . | . | . |
+| . | . | . | . | . | . |
+| n | . | . | . | . | . |
+| Detailed Comments: [FreeText] | | | | | |
+
+Proforma 46: Test Step Dynamic Behaviour
+
+Column headers of this proforma can be abbreviated to L, Cref, V and C.
+
+15.4 Default dynamic behaviour
+
+15.4.1 Default behaviour
+
+A TTCN Test Case shall specify alternative behaviour for *every* possible event (including invalid ones). It often happens that in a behaviour tree every sequence of alternatives ends in the same behaviour. This behaviour may be factored out as default behaviour to this tree. Such Default behaviour descriptions are located in the global Default Library.
+
+The dynamic behaviour of Defaults is defined using the same mechanisms as for Test Steps, except for the following restrictions:
+
+- a) it is not permitted to specify Default behaviour for the Default behaviour;
+- b) a default behaviour description may attach local trees (see 15.7.1) but shall not attach Test Steps;
+- c) if local trees are used in a Default behaviour description, they shall not attach Test Steps;
+- d) the tree(s) in the behaviour description shall not use the ACTIVATE operation (see 15.18.4).
+
+Both PCOs and other actual parameters may be passed to Default behaviour descriptions in the same way that they may be passed to Test Steps. The same rules on scope and textual substitution of these parameters apply as described for tree attachment (see 15.13).
+
+15.4.2 Specification of the Default Dynamic Behaviour table
+
+Default dynamic behaviour tables are identical to Test Step dynamic behaviour tables, except for the following differences:
+
+- a) the table has the title "Default Dynamic Behaviour";
+- b) the first item in the header is the Default name,
+which is a unique identifier for the Default followed by an optional list of formal parameters, and their associated types. These parameters may be used to pass PCOs, constraints or other data objects into the root tree of the Default;
+
+- c) the second item in the header is the Default Group Reference,
+which gives the full name of the lowest level to the Default Group that contains the Default; that full name shall conform to the requirements of (see 9.4), and end with a slash (/);
+- d) the third item in the header is the Default Objective,
+which is an informal statement of the objective of the Default.
+
+### 15.4.3 The Default Dynamic Behaviour proforma
+
+The Default dynamic behaviour shall be provided in the format shown in the following proforma:
+
+| Default Dynamic Behaviour | | | | | |
+|---------------------------------------------|---------|--------------------------------|-----------------------|-----------|------------|
+| Default Name | | : DefaultId&ParList | | | |
+| Group | | : DefaultGroupReference | | | |
+| Objective | | : FreeText | | | |
+| Comments | | : [FreeText] | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | . | . | . | . | . |
+| 2 | . | . | . | . | . |
+| . | [Label] | StatementLine | [ConstraintReference] | [Verdict] | [FreeText] |
+| . | . | . | . | . | . |
+| . | . | TreeHeader | . | . | . |
+| . | . | StatementLine | . | . | . |
+| n | . | . | . | . | . |
+| Detailed Comments: [FreeText] | | | | | |
+
+### Proforma 47: Default Dynamic Behaviour
+
+Column headers of this proforma can be abbreviated to **L**, **Cref**, **V** and **C**.
+
+## 15.5 The behaviour description
+
+The behaviour description column of a dynamic behaviour table contains the specification of the combinations of TTCN statements that are deemed possible by the test suite specifier. The set of these combinations is called the behaviour tree. Each TTCN statement is a node in the behaviour tree.
+
+## 15.6 The tree notation
+
+Each TTCN statement shall be shown on a separate statement line. The statements can be related to one another in two ways:
+
+- as sequences of TTCN statements;
+- as alternative TTCN statements.
+
+Sequences of TTCN statements are represented one statement line after the other, each new TTCN statement being indented once from left to right, with respect to its predecessor.
+
+*EXAMPLE 56 – TTCN statements in sequence:*
+
+| |
+|-----------------------------------|
+| EVENT_A CONSTRUCT_B EVENT_C |
+|-----------------------------------|
+
+Statements at the same level of indentation and belonging to the same predecessor node represent the possible alternative statements which may occur at that time. Henceforth, this set of TTCN statements will be referred to as the *set of alternatives*, or simply *alternatives*.
+
+*EXAMPLE 57* – Alternative TTCN statements:
+
+```
+CONSTRUCT_A1
+STATEMENT_A2
+EVENT_A3
+```
+
+*EXAMPLE 58* – Combining sequences and alternatives to build a tree:
+
+```
+EVENT_A
+ CONSTRUCT_B
+ EVENT_C
+ STATEMENT_D1
+ EVENT_D2
+```
+
+Whether a TTCN statement can be evaluated successfully or not depends on various conditions associated with the statement line. These conditions are not necessarily mutually exclusive, *i.e.*, it is possible that for any given moment more than one statement line could be evaluated successfully. Since statement lines are evaluated in the order of their appearance in the set of alternatives the first statement with a fulfilled condition will be successful. This might lead to unreachable behaviour; in particular if statements are encoded as alternatives following statements that are always successful.
+
+REPEAT and GOTO are always successful. In addition, SEND, IMPLICIT SEND, assignments and timer operations are successful provided that the accompanying qualifier, if any, evaluates to TRUE.
+
+Graphical indentation of statement lines in the TTCN.GR form is mapped to indentation values in TTCN.MP. Statements in the first level of alternatives having no predecessor in the root or local tree they belong to shall have the indentation value of zero. Statements having a predecessor shall have the indentation value of the predecessor plus one as their indentation value.
+
+## **15.7 Tree names and parameter lists**
+
+### **15.7.1 Introduction**
+
+Each behaviour description shall contain at least one behaviour tree. In order that trees may be unambiguously referred to (such as in an ATTACH construct) each tree has a tree name.
+
+The first tree appearing within a behaviour description is called the root tree. The name of a root tree is the identifier appearing in the header of its dynamic behaviour table. That is, the tree name of the root tree of a Test Step is the Test Step Identifier for that Test Step, and likewise for root trees in Test Case dynamic behaviours and Default dynamic behaviours.
+
+Trees other than the root tree which appear within dynamic behaviour tables are termed local trees. A tree header that contains the tree name prefixes local trees.
+
+### **15.7.2 Trees with parameters**
+
+All trees, except Test Case root trees, may be parameterized. The parameters may provide PCOs, constraints, variables or other such items for use within the tree. Test Case root trees shall not be parameterized.
+
+If a tree is parameterized, then a list of formal parameters and their types shall appear within parentheses directly following the tree name. For example, the formal parameter list for a Test Step root tree shall appear within parentheses immediately following the Test Step Identifier in the header of the Test Step dynamic behaviour table. Similarly, the formal parameter list for a local tree shall appear immediately after the tree name in the tree header.
+
+In constructing the formal parameter list, each formal parameter shall be followed by a colon and the name of the type of the formal parameter. If more than one formal parameter of the same type is present, these may be combined into a sub-list. When such a sub-list is used, a comma shall separate the formal parameters within the sub-list from each other. A colon and the formal parameter's type shall follow the final formal parameter in the sub-list.
+
+When there is more than one formal parameter and type pair (or more than one sub-list and type pair), the pairs shall be separated from each other by semi-colons.
+
+Formal parameters may be of PCO type, ASP type, PDU type, structure type or one of the other predefined or Test Suite Types.
+
+If a formal parameter of a tree is type PDU then specific fields in the PDU shall not be referenced in the tree. If the formal parameter is a specific PDU identifier, then specific fields in the PDU may be referenced in the tree.
+
+*EXAMPLE 59* – Void.
+
+*EXAMPLE 60* – A Test Step using formal parameters: `EXAMPLE_TREE (L:TSAP; X:INTEGER; Y:INTEGER)`
+
+*EXAMPLE 61* – A Test Step using a formal parameters with a sub-list: `EXAMPLE_TREE (L:TSAP; X, Y:INTEGER)`
+
+## 15.8 TTCN statements
+
+The tree notation allows the specification of test events initiated by the Lower Tester(s) or Upper Tester(s) (SEND and IMPLICIT SEND events), test events received by the Lower Tester(s) or Upper Tester(s) (RECEIVE, OTHERWISE, TIMEOUT and DONE), constructs (GOTO, ATTACH, REPEAT, CREATE, RETURN and ACTIVATE) and pseudo-events comprising combinations of qualifiers, assignments and timer operations. These are collectively known as TTCN statements.
+
+Qualifiers (Boolean expressions), assignments and timer operations can accompany test events. Qualifiers, assignments and timer operations can also stand alone, in which case they are called pseudo-events.
+
+## 15.9 TTCN test events
+
+### 15.9.1 Sending and receiving events
+
+TTCN supports the initiation (sending) of ASPs and PDUs to named PCOs and acceptance (receipt) of ASPs and PDUs at named PCOs. The PCO model is defined in 11.10 and 15.9.5.3. Concurrent TTCN supports the sending and receiving of CMs to named CPs. The CP model is defined in 11.11.
+
+In the simplest form, an ASP identifier or PDU identifier follows the SEND symbol ( ! ) for events to be initiated by the LT or UT, or a RECEIVE symbol ( ? ) for events which it is possible for the LT or UT to accept. The optional PCO name is not provided. This form is valid when there is only one PCO in the test suite.
+
+*EXAMPLE 62* – `!CONreq` or `?CONind`
+
+If more than one PCO exists in a test suite, then a PCO name appearing in the declarations part, or in the formal parameter list of the tree, shall prefix the SEND symbol or the RECEIVE symbol. The PCO name is used to indicate the PCO at which the test event may occur.
+
+*EXAMPLE 63* – `L! CONreq` or `L? CONind`
+
+In the case of CPs, the CP identifier shall be used and shall prefix the SEND symbol in the case of sending a CM and shall prefix the RECEIVE symbol in the case of receiving a CM.
+
+*EXAMPLE 64* – `A_CP!A_CM` or `A_CP?A_CM`
+
+### 15.9.2 Receiving events
+
+A RECEIVE event line evaluates successfully if an incoming ASP or PDU on the specified PCO matches the event line. A match occurs if the following conditions are fulfilled:
+
+- a) the incoming PDU can be decoded in accordance with the applicable encoding rules;
+- b) the incoming ASP or PDU is valid according to the ASP or PDU type definition referred to by the event name on the event line. In particular, all parameters and/or field values shall be of the type defined, and satisfy any length restrictions specified;
+
+- c) the ASP or PDU matches the constraint reference on the event line;
+- d) in cases where a qualifier is specified on the event line, the qualifier shall evaluate to TRUE; the qualifier may contain references to ASP parameters and/or PDU fields.
+
+The incoming event is removed from the PCO queue only when it successfully matches a RECEIVE event line.
+
+In concurrent TTCN the receipt and matching of a CM at a CP is treated in the same manner as described above.
+
+### 15.9.3 Sending events
+
+A SEND event line with a qualifier is successful if the expression in the qualifier evaluates to TRUE. Unqualified SEND events are always successful. The outgoing ASP or PDU that results from a SEND event shall be constructed as follows:
+
+- a) All ASP parameter and PDU field values shall be of the type specified in the corresponding definitions, and will satisfy any length restrictions in the definitions;
+- b) the value of the ASP parameter and PDU fields shall be set as specified in the constraint referenced on the event line (see clauses 12, 13 and 14 for an explanation of constructing ASPs or PDUs with constraints);
+- c) any direct assignments to ASP parameters or PDU fields on the event line will supersede the corresponding value specified in the constraint, if any;
+- d) all parameters and/or fields in the outgoing ASP or PDU shall contain specific values or be explicitly omitted prior to completion of the SEND event;
+- e) the fully constructed PDU shall be encoded in accordance with the applicable encoding rules.
+
+Generation of an ASP parameter or PDU field value by either the constraints or assignments that violates the declared type and length restrictions shall cause a test case error.
+
+In concurrent TTCN the sending of CMs at CPs is treated in the same manner as described above.
+
+### 15.9.4 Lifetime of events
+
+Identifiers of ASP parameters and PDU fields associated with SEND and RECEIVE shall be used only to reference ASP parameter and PDU field values on the statement line itself.
+
+In the case of SEND events, relevant ASP parameters and PDU fields can be set, if required, in appropriate assignments on the SEND line.
+
+*EXAMPLE 65 – !A\_PDU (A\_PDU.FIELD:=3)*
+
+The effects of such an assignment shall not persist after the event line in which they occurred.
+
+In the case of RECEIVE events, if relevant ASP parameter and PDU field values need to be subsequently referenced, either the whole ASP or PDU or a relevant part of it shall be assigned to variables on the RECEIVE line itself. These variables may then be referenced in subsequent lines.
+
+*EXAMPLE 66 – ?A\_PDU (VAR:=A\_PDU.FIELD)*
+
+where VAR may be used on event lines subsequent to receipt of A\_PDU.
+
+The lifetime of CMs is also restricted to the relevant RECEIVE statement. Identifiers of CM fields may be accessed in a similar manner as identifiers of PDU fields.
+
+*EXAMPLE 67 – A\_CP!A\_CM or A\_CP?A\_CM*
+
+## 15.9.5 Execution of the behaviour tree
+
+### 15.9.5.1 Introduction
+
+The test suite specifier shall organize the behaviour tree representing a Test Case or a Test Step according to the following rules regarding test execution:
+
+- a) starting from the root of the tree, the LT or UT remains on the first level of indentation until an event matches. If an event is to be initiated the LT or UT initiates it; if an event is to be received, it is said to match only if a received real event occurs and matches the event line;
+- b) once an event has matched, the LT or UT moves to the next level of indentation. No return to a previous level of indentation can be made, except by using the GOTO construct;
+- c) event lines at the same level of indentation and following the same predecessor event line represent the possible alternatives which may match at that time. Alternatives shall be given in the order that the test suite specifier requires the LT or UT to attempt either to initiate or receive them, if necessary, repeatedly, until one matches.
+
+EXAMPLE 68 – Illustration of a TTCN behaviour tree:
+
+Suppose that the following sequence of events can occur during a test whose purpose is to establish a connection, exchange some data, and close the connection. The events occur at the lower tester PCO L:
+
+- a) CONNECTrequest, CONNECTconfirm, DATArequest, DATAindication, DISCONNECTrequest;
+The IUT or the service-provider can thwart progress at any time. This generates two more sequences:
+- b) CONNECTrequest, CONNECTconfirm, DATArequest, DISCONNECTindication;
+- c) CONNECTrequest, DISCONNECTindication.
+
+The three sequences of events can be expressed as a TTCN behaviour tree. There are five levels of alternatives, and only three leaves (a to c), because the SEND events L! are always successful. Execution is to progress from left to right (sequence), and from top to bottom (alternatives). The following figure illustrates this progression, and the principle of the TTCN behaviour tree:
+
+
+
+A diagram illustrating a TTCN behaviour tree. The tree is titled 'EXAMPLE-TREE (L:NSAP)'. It starts with a vertical line on the left labeled 'alternatives' with a downward arrow. From this line, three horizontal arrows point to the right, representing the progression of time. The first horizontal arrow points to 'L!CONNECTrequest'. From this node, a vertical line goes down to a second horizontal arrow pointing to 'L?CONNECTconfirm'. From 'L?CONNECTconfirm', a vertical line goes down to a third horizontal arrow pointing to 'L!DATArequest'. From 'L!DATArequest', a vertical line goes down to a fourth horizontal arrow pointing to 'L?DATAindication'. From 'L?DATAindication', a vertical line goes down to a fifth horizontal arrow pointing to 'L!DISCONNECTrequest'. From 'L!DISCONNECTrequest', a vertical line goes down to a sixth horizontal arrow pointing to 'L?DISCONNECTindication'. From 'L?DISCONNECTindication', a vertical line goes down to a seventh horizontal arrow pointing to 'L?DISCONNECTindication'. The three leaves of the tree are labeled 'a)', 'b)', and 'c)' on the right side. The diagram is labeled 'X.292\_F15.9.5' at the bottom right.
+
+There are no lines, arrows or leaf names in TTCN. The behaviour tree of the previous example would be represented as follows:
+
+EXAMPLE 69 – A TTCN behaviour tree:
+
+| Test Step Dynamic Behaviour | | | | | |
+|-----------------------------|-------|------------------------------------------------------------|----------------|---------|--------------|
+| Test Step Name | | : TREE_EX_1 (L:NSAP) | | | |
+| Group | | : TTCN_EXAMPLES/TREE_EXAMPLE_1/ | | | |
+| Objective | | : To illustrate the use of trees. | | | |
+| Default | | : | | | |
+| Comments | | : NOTE – This example can be simplified by using Defaults. | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | | L ! CONNECTrequest | CR1 | | Request ... |
+| 2 | | L ? CONNECTconfirm | CC1 | | ...Confirm |
+| 3 | | L ! DATArequest | DTR1 | | Send Data |
+| 4 | | L ? DATAindication | DTI1 | | Receive Data |
+| 5 | | L ! DISCONNECTrequest | DSCR1 | PASS | Accept |
+| 6 | | L ? DISCONNECTindication | DSCI1 | INCONC | Premature |
+| 7 | | L ? DISCONNECTindication | DSCR1 | INCONC | Premature |
+| Detailed Comments: | | | | | |
+
+### 15.9.5.2 The concept of snapshot semantics
+
+The alternative statements at the current level of indentation are processed in their order of appearance. TTCN operational semantics (see Annex B) assume that the status of any of the events cannot change during the process of trying to match one of a set of alternatives. This implies that snapshot semantics are used for received events and TIMEOUTs *i.e.*, each time around a set of alternatives a snapshot is taken of which events have been received and which TIMEOUTs have fired. Only those identified in the snapshot can match on the next cycle through the alternatives.
+
+### 15.9.5.3 Restrictions on using events
+
+In order to avoid test case errors the following restrictions apply:
+
+- a) a Test Case or Test Step should not contain behaviour where the relative processing speed of the MOT (Means of Testing) could impact the results. To prevent such problems, a RECEIVE, OTHERWISE or TIMEOUT event line shall only be followed by other RECEIVE, OTHERWISE and TIMEOUT event lines in a set of alternatives. As a consequence, Default trees shall contain only RECEIVE, OTHERWISE and TIMEOUT event lines on the first set of alternatives.
+- b) Once there is an event on a PCO or CP queue or a timeout in the timeout list, it can be removed from the queue or list only by a successful match of the related TTCN statement. In the case of a set of alternatives that includes RECEIVE statements, the set of expected incoming events shall be fully specified. This means that it shall be a test case error if, during execution, no match of any of the RECEIVE statements occurs and yet execution progresses to the next level of alternatives because of a TIMEOUT which occurred after an ASP or PDU, that was not specified in the set of RECEIVE statements, was received on any one of the relevant PCO or CP queues. IMPLICIT SEND shall not be used with CMs.
+- c) Precautions should be taken when using concurrent TTCN to avoid unreliable results caused by situations in which the order of receipt of events at different PCOs or CPs is used to determine verdict assignment. The actual time at which PDU or CM is received, relative to the receipt of other PDUs or CMs, may not be accurately reflected when executing parallel test components.
+
+*EXAMPLE 70* – An incomplete set of RECEIVE events:
+
+
+
+Diagram a) shows a partial tree structure with the following statements:
+
+```
+PARTIAL_TREE
+! A START T
+ ? B
+ ? TIMEOUT T
+ !C
+ ?D
+```
+
+Diagram b) shows a partial tree structure with the following statements:
+
+```
+PARTIAL_TREE
+! A START T
+ ? B
+ ? OTHERWISE
+ FAIL
+ ? TIMEOUT T
+ !C
+ ?D
+```
+
+Two diagrams, a) and b), showing partial trees of TTCN statements. Diagram a) shows a sequence of events: !A START T, ? B, ? TIMEOUT T, !C, and ?D. Diagram b) shows a sequence of events: !A START T, ? B, ? OTHERWISE, FAIL, ? TIMEOUT T, !C, and ?D.
+
+In a) if D is received in response to !A the test case will assign an erroneous PASS verdict by virtue of the TIMEOUT. This can be avoided by using the OTHERWISE statement.
+
+- d) In concurrent TTCN, the relative ordering of events at different PCOs or different CPs should not affect the verdict assigned, since this would lead to unrepeatability of results caused by differences in processing and transmission speeds.
+
+### 15.9.5.4 Precautions when using concurrent TTCN
+
+Precautions should be taken when using concurrent TTCN to avoid unrepeatable results caused by situations in which the order of receipt of events at different PCOs or at different CPs is used to determine verdict assignment. The actual time at which a PDU or CM is received, relative to the receipt of other PDUs or CMs, may not be accurately reflected when executing parallel test components.
+
+### 15.9.6 The IMPLICIT SEND event
+
+In the Remote Test Methods, although there is no explicit PCO above the IUT, it is necessary to have a means of specifying, at a given point in the description of the behaviour of the LT, that the IUT should be made to initiate a particular PDU or ASP (but not CM). For this purpose, the implicit send event is defined, with the following syntax:
+
+There is no specification of what is done to the IUT to trigger this reaction, only a specification of the required reaction itself; the specified ASP or PDU is to be sent by the IUT on the indicated PCO. **IUT** can take place of the PCO identifier if there is no ambiguity (only one PCO exists for example).
+
+An IMPLICIT SEND event is always considered to be successful, in the sense that any alternatives coded after, and at the same level of indentation as the IMPLICIT SEND are unreachable.
+
+An IMPLICIT SEND shall be used only where the relevant OSI standard(s) permit the IUT to send the specified ASP or PDU at that point in its communication with the LT.
+
+For every IMPLICIT SEND in a test suite, the test suite specifier shall create and reference a question in the partial PIXIT proforma that permits indication of whether the IMPLICIT SEND can be invoked on demand.
+
+An IMPLICIT SEND event shall not be used unless the test method being used is one of the Remote Test Methods. An IMPLICIT SEND event shall not be used unless the same effect could have been achieved using the DS test method.
+
+NOTE – For example, when testing a connection-oriented Transport Protocol implementation, if this restriction did not exist it would be permissible to use IMPLICIT SEND to get the IUT to initiate a CR TPDU because in the DS test method that effect could be achieved by getting the UT to send a T-CONreq ASP. On the other hand, it would not be permissible to use IMPLICIT SEND to get the IUT to initiate an N-RstReq ASP because that effect could not be controlled through the Transport Service boundary. The reason for this restriction is to prevent Test Cases from requiring greater external control over an IUT than is provided for in the relevant protocol standard.
+
+When an IMPLICIT SEND event is specified, the associated internal events within the IUT necessary to meet the requirements of the standard for the protocol being tested are also performed, *e.g.*, set timer, initialize state variables.
+
+The semantics of IMPLICIT SEND is that the SUT shall be controlled as necessary in order to cause the initiation of the specified ASP or PDU. The way in which the SUT is to be controlled should be specified in the PIXIT (or documentation referenced by the PIXIT).
+
+Neither a final verdict nor a preliminary result shall be associated with an IMPLICIT SEND event.
+
+At an appropriate point following an IMPLICIT SEND, there should be a RECEIVE event to match the ASP or PDU that should, as a result, have been sent by the IUT.
+
+EXAMPLE 71 – EXAMPLE use of IMPLICIT SEND:
+
+| Test Case Dynamic Behaviour | | | | | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|-----------------------|----------------|---------|----------|
+| Test Case Name : IMPIGroup : TTCN_EXAMPLES/IMPLICIT_SEND/Purpose : A partial tree to illustrate the use of IMPLICIT SEND.Default :Comments : | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| : | | : | | | |
+| 5 | | | CR1 | | |
+| 6 | | L ? CR | CR1 | | |
+| 7 | | L ! CC | CC1 | | |
+| : | | : | | | |
+| 12 | | L ? OTHERWISE | | | |
+| : | | : | | | |
+| Detailed Comments: | | | | | |
+
+## 15.9.7 The OTHERWISE event
+
+The predefined event OTHERWISE is the TTCN mechanism for dealing with unforeseen test events in a controlled way.
+
+OTHERWISE is used to denote that the LT or UT shall accept *any* incoming event that has not previously matched one of the alternatives to the OTHERWISE. The tester shall accept any incoming data that it has not been possible to decode or that has not matched a previous alternative to this OTHERWISE event.
+
+In non-concurrent TTCN, if more than one PCO exists in a test suite, then either a PCO name appearing in the declarations part, or a formal parameter from the formal parameter list of the tree where that formal parameter is used to convey a PCO name, shall prefix the OTHERWISE. The PCO name is used to indicate the PCO at which the test event may occur. Incoming events, including OTHERWISE, are considered only in terms of the given PCO.
+
+*EXAMPLE 72 – Use of OTHERWISE with PCO identifiers:*
+
+| | |
+|------------------|--------|
+| PARTIAL_TREE | |
+| PCO1 ? A | |
+| PCO2 ? B | PASS |
+| PCO1 ? C | INCONC |
+| PCO2 ? OTHERWISE | FAIL |
+
+Assume no event is received at PCO1, then receipt of event B at PCO2 results in a PASS verdict. Receipt of any other event at PCO2 results in a FAIL verdict.
+
+Due to the significance of ordering of alternatives, incoming events which are alternatives following an unconditional OTHERWISE on the same PCO will never match.
+
+*EXAMPLE 73 – Incoming events following an OTHERWISE:*
+
+| | |
+|------------------|--------|
+| PARTIAL_TREE | |
+| PCO1 ? A | PASS |
+| PCO1 ? OTHERWISE | FAIL |
+| PCO1 ? C | INCONC |
+
+The OTHERWISE will match any incoming event other than A. The last alternative, ?C, can never be matched.
+
+### 15.9.8 OTHERWISE and concurrent TTCN
+
+In concurrent TTCN, OTHERWISE may be used with CPs as well as PCOs. OTHERWISE on CPs is allowed to provide an efficient way of handling "all other CMs on this CP".
+
+### 15.9.9 The TIMEOUT event
+
+The TIMEOUT event allows expiration of a timer, or of all timers, to be checked in a Test Case. When a timer expires (conceptually immediately before a snapshot processing of a set of alternative events), a TIMEOUT event is placed into a timeout list. The timer becomes immediately inactive. Only one entry for any particular timer may appear in the list at any one time. Since TIMEOUT is not associated with a PCO, a single timeout list is used.
+
+When a TIMEOUT event is processed, if a timer name is indicated, the timeout list is searched, and if there is a timeout event matching the timer name, that event is removed from the list, and the TIMEOUT event succeeds.
+
+If no timer name is indicated, any TIMEOUT event in the timeout list matches. The TIMEOUT event succeeds if the list is not empty. When this occurs, the entire timeout list is immediately emptied.
+
+*EXAMPLE 74 – Use of TIMEOUT:*
+
+| | | | | |
+|--|-------------|--|--|--|
+| | ? TIMEOUT T | | | |
+|--|-------------|--|--|--|
+
+Since TIMEOUT events are not RECEIVE events they are not rendered unreachable by previously listed OTHERWISE alternatives.
+
+### 15.9.10 Concurrent TTCN events and constructs
+
+The CREATE construct and the DONE event are used in concurrent TTCN.
+
+#### 15.9.10.1 The CREATE construct
+
+The Main Test Component is started at the beginning of Test Case execution. The Main Test Component starts Parallel Test Components, as needed, by means of the CREATE construct.
+
+This construct invokes a set of Parallel Test Components. For each PTC, there are two arguments. The first is the identifier of the PTC that is created, which shall match the identifier of a PTC in the Test Component Configuration referenced in the test case header. The second is a reference to a behaviour tree (i.e., Test Step or local tree), possibly with a parameter list containing actual values (e.g., PCOs and CPs). The effect of the CREATE construct is that each PTC listed starts executing its behaviour description in parallel with the execution of the Main Test Component.
+
+NOTE – Passing PCO and CP identifiers to a behaviour tree as actual parameters allows the same behaviour tree to be used in more than one test component.
+
+The PCOs and CPs used in the execution of the behaviour description associated with a PTC by the CREATE construct shall only be those determined by the Test Component Configuration for that Test Case.
+
+The execution of a CREATE construct on a PTC which has already been created shall result in a Test Case error. The execution of a CREATE by any Test Component other than the MTC shall result in a test case error.
+
+In the CREATE construct, PCO identifiers and CP identifiers are passed to a PTC by textual substitution, as is usual in the ATTACHment of Test Steps. All others parameters are passed by value. This is done to prevent side effects on variables which could affect the processing of other PTCs, causing unrepeatable results.
+
+#### 15.9.10.2 The DONE event
+
+When the MTC terminates, the final verdict is assigned by the MTC, as calculated up to this moment (15.17.5). The DONE event can be used in the MTC and the PTCs to find out whether PTCs have already terminated. Test Components can use this information to determine their own preliminary results and further actions; in particular, the MTC can avoid terminating before all PTCs have terminated (15.17.5).
+
+A missing argument list is interpreted as being a list of all PTCs stated in a CREATE constructs executed prior to the execution of the DONE event. A DONE event without an argument list shall only be used by the MTC.
+
+*EXAMPLE 75 – Use of the DONE event:*
+
+```
+PARTIAL_MTC_TREE
+CREATE (PTC1 : TREEA , PTC2 : TREEB)
+ ? DONE (PTC1, PTC2)
+```
+
+NOTE 1 – If DONE is the only alternative, it amounts to an order to wait for the specified PTCs to terminate.
+
+NOTE 2 – DONE is not a means for the MTC to co-ordinate termination of PTCs.
+
+## 15.10 TTCN expressions
+
+### 15.10.1 Introduction
+
+There are two kinds of expressions in TTCN: assignments and Boolean expressions. Both assignments and Boolean expressions may contain explicit values and the following forms of reference to data objects:
+
+- a) Test Suite Parameters.
+- b) Test Suite Constants.
+- c) Test suite and Test Case Variables.
+- d) Formal parameters of a Test Step, Default or local tree.
+- e) ASPs and PDUs (on event lines).
+
+Any variables occurring in Boolean expressions and/or on the right hand side of an assignment shall be bound. If an unbound variable is used this is a test case error.
+
+## 15.10.2 References for ASN.1 defined data objects
+
+### 15.10.2.1 Introduction
+
+In order to permit references to components of data objects defined using ASN.1, TTCN provides three access mechanisms: record references, array references and bit references.
+
+### 15.10.2.2 Record references
+
+A record reference may be used to reference to a component of a data object of the type SEQUENCE, SET or CHOICE. A record reference is constructed using a dot notation, appending a dot and the name (component identifier) or number (component position) of the desired component to the data object identifier. The component identifier, if defined, should be used in preference to the component position. References to unnamed components are constructed by giving within parentheses the number which is the position of the component within the type definition. By definition, the implicit numbering of components starts with zero; hence the third component has position number 2.
+
+ITU-T Rec. X.680 defines SET types having unordered components. This is relevant only if values of that type are encoded and sent over the underlying service-provider. TTCN therefore treats data objects of SET type in the same way as objects of SEQUENCE type, *i.e.*, referring to the components with number *i* always means a reference to the *ith* field as declared in the type.
+
+After an ASP or PDU or CM has been received, referring to the component with the index *i* will always return the same value. There is no change of order of the elements in a SET by any operation in TTCN.
+
+*EXAMPLE 76* – Component record references:
+
+```
+Example_type ::= SEQUENCE {
+ field_1 INTEGER
+ field_2 BOOLEAN,
+ OCTET STRING }
+```
+
+If var1 is of ASN.1 type Example\_type, then the following could be written:
+
+```
+var1.field_1 which refers to the first (INTEGER) field
+var1.(3) which refers to the third (unnamed) field
+```
+
+*EXAMPLE 77* – PDU field references:
+
+```
+XY_PDType ::= SEQUENCE {
+ ... ,
+ user-data OCTET STRING,
+ ... }
+```
+
+On a statement line that contains XY\_PDType, the following could be written:
+
+```
+L? XY_PDU (buffer := XY_PDType.user_data)
+```
+
+in order to load the variable buffer with the contents of the user\_data field of the incoming PDU.
+
+When a PDU or an ASN.1 type parameter, field or element is chained to an ASP, another PDU, or a CM, a record reference may be used to identify a component of that PDU or ASN.1 type. The record reference shall identify the relevant complete sequence of parameter, field or element names separated by dots, starting with a data object identifier which resolves to the relevant ASP identifier, CM identifier, or (if ASPs are not used in the test suite) PDU identifier. Beyond this initial data object identifier the sequence shall not contain any PDU identifiers or ASN.1 type identifiers, but rather just the identifiers of the relevant parameters, fields and elements. This mechanism shall not be used if there is any ambiguity about the identity of a PDU constraint or ASN.1 type constraint in the sequence. The following example illustrates the use of record references when chaining of constraints is used (see 12.4).
+
+EXAMPLE 78 – Record references with chaining:
+
+
+
+| |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| ASN.1 ASP Type Definition
ASP1_type ::= SEQUENCE { par_1 OCTET STRING, par_2 OCTET STRING, pdu1 PDU1_type } ASN.1 PDU Type Definition
PDU1_type ::= SEQUENCE { field1 OCTET STRING, field2 OCTET STRING, f F_type } ASN.1 Structure Type Definition
F_type ::= SEQUENCE { data1 IA5STRING, data2 IA5STRING } |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+
+When using constraints of type ASP1\_type, PDU1\_type and F\_type, the values of data1 and data2 may be referenced as follows:
+
+ASP1\_type.pdu1.f.data1
+
+ASP1\_type.pdu1.f.data2
+
+Similarly the whole PDU field f may be referenced as:
+
+ASP1\_type.pdu1.f
+
+or the whole PDU may be referenced as:
+
+ASP1\_type.pdu1
+
+It should be noted that the declarations used in this example could apply to both static chaining and dynamic chaining, as the differences between the two types of chaining are only visible in the constraints. Thus, the record reference is independent of the variety of chaining used.
+
+### 15.10.2.3 Array references
+
+An array reference may be used to reference a component of a data object of the type SEQUENCE OF or SET OF. An array reference shall be constructed using a dot notation, appending a dot and the index of the desired component to the data object identifier. The index, giving the position of the component within the data object (when the object is viewed as a linear array), is enclosed within square brackets. By definition within ASN.1, the indexing of components starts with zero. The index may be an expression, in which case it shall evaluate to a non-negative INTEGER.
+
+ITU-T Rec. X.680 defines SET OF types having unordered components. This is relevant only if values of that type are encoded and sent over the underlying service-provider. TTCN therefore treats data objects of SET OF type in the same way as objects of SEQUENCE OF type, *i.e.*, referring to the components with number *i* always means a reference to the *ith* field as declared in the type.
+
+After an ASP or PDU or CM has been received, referring to the component with the index *i* will always return the same value. There is no change of order of the elements in a SET OF by any operation in TTCN.
+
+EXAMPLE 79 – Component array references:
+
+| |
+|--------------------------------------|
+| Array_type ::= SEQUENCE OF {BOOLEAN} |
+|--------------------------------------|
+
+If var2 is of ASN.1 type Array\_type, then the following could be written in order to refer to the first BOOLEAN in the sequence:
+
+```
+var2.[0]
+var1.[1-1]
+```
+
+#### 15.10.2.4 Bit references
+
+A bit reference may be used to reference particular bits within a BITSTRING type. For this purpose, data objects of BITSTRING type are assumed to be defined as SEQUENCE OF {BOOLEAN}. Thus, a bit reference may be constructed using the index notation as for array references. The leftmost bit has the index zero. An expression used as an index in a bit reference shall evaluate to a non-negative INTEGER. Alternatively, if certain bits of a BITSTRING are associated with an identifier (named bits) then this identifier may be used to refer to the bit.
+
+*EXAMPLE 80 – Bit references:*
+
+```
+B_type ::= BIT STRING { ack(0), poll(3) }
+```
+
+This defines a BITSTRING type B\_type where bit zero is called "ack" and bit three is called "poll".
+
+If b\_str is of ASN.1 type B\_type, then the following could be written:
+
+```
+b_str.ack := TRUE
+b_str.[2] := FALSE
+```
+
+Note that b\_str.poll := TRUE and b\_str.[3] := TRUE both assign the value TRUE to the "poll" bit.
+
+#### 15.10.3 References for data objects defined using tables
+
+The same syntax as defined in 15.10.2.2 shall be used to construct record references to components of ASPs, PDUs, CMs and Structured Types defined in tabular form. Chaining of ASPs, PDUs, CMs and Structured Types in tabular form affects record references in exactly the same way as it does for those defined in ASN.1.
+
+Where a parameter, field or element is defined to include an item which is a true substructure of a type defined in a Structured Type table, a reference to the item in the substructure shall consist of the record reference to the parameter, field or element followed by a dot and the identifier of the item within that Structure.
+
+Where a Structure is used as a macro expansion, the elements in the Structure shall be referenced to as if it was expanded into the Structure referring to it.
+
+If a parameter, field or element is defined to be of meta-type **PDU** no reference shall be made to fields of that substructure.
+
+#### 15.10.4 Assignments
+
+##### 15.10.4.1 Introduction
+
+Test events may be associated with a list of assignments and/or a qualifier. Commas separate assignments and the list is enclosed in parentheses.
+
+During execution of an assignment the right-hand side shall evaluate to an element of the type of the left-hand side.
+
+The effect of an assignment is to bind the Test Case or Test Suite Variable (or ASP parameter or PDU field) to the value of the expression. The expression shall contain no unbound variables.
+
+All assignments occur in the order in which they appear, that is left to right processing.
+
+*EXAMPLE 81 – Use of assignments with event lines:*
+
+```
+(X:=1)
+(Y:=2)
+L!A (Y:=0, X:=Y, A.field1:=y)
+L?B (Y:=B.field2, X:=X+1)
+```
+
+When PDU A is successfully transmitted the contents of the Test Case Variables X and Y will be zero, and field1 of PDU A will also contain zero. Upon receipt of PDU B the Test Case Variable Y would be assigned the contents of field2 from PDU B and the Test Case Variable X would be incremented.
+
+#### 15.10.4.2 Assignment rules for string types
+
+If length-restricted string types are used within an assignment the following rules apply:
+
+- a) if the destination string type is defined to be shorter than the source string, the source string is truncated on the right to the maximum length of the destination string type;
+- b) if the source string is shorter than that allowed by the destination string type, then the source string is left-aligned and padded with fill characters up to the maximum size of the destination string type.
+
+Fill characters are:
+
+" " (blank) for all CharacterStrings;
+
+"0" (zero) for BITSTRINGs, HEXSTRINGs and OCTETSTRINGs.
+
+When an unbounded (*i.e.*, arbitrary length) string type variable is used on the left-hand side of an assignment, it shall become bound to the value of the right-hand side without padding. Padding is only necessary when the variable is of a fixed length string type.
+
+#### 15.10.5 Qualifiers
+
+An event may be qualified by placing a Boolean expression enclosed in square brackets after the event. This qualification shall be taken to mean that the statement is executed only if both the event matches and the qualifier evaluates to TRUE.
+
+If both a qualifier and an assignment are associated with the same event, then the qualifier shall appear first, any term in it being evaluated with the values holding before execution of the assignment.
+
+#### 15.10.6 Event lines with assignments and qualifiers
+
+An event may be associated with an assignment, a qualifier or both. If an event is associated with an assignment, the assignment is executed only if the event matches. If an event is associated with a qualifier, the event may match only if the qualifier evaluates to TRUE. If an event is associated with both, the event may match only if the qualifier evaluates to TRUE, and the assignment is executed only if the event matches.
+
+If a RECEIVE event is qualified and the event that has occurred potentially matches the specified event, then the qualifier shall be evaluated in the context of the event that has occurred. If the qualifier contains a reference to ASP parameters and/or PDU fields, then the values of those parameters and/or fields are taken from the event that has occurred.
+
+The rules for use of assignments within events are as follows:
+
+- a) on a SEND event all assignments are performed *after* the qualifier is evaluated and *before* the ASP or PDU is transmitted;
+- b) on SEND events assignments are allowed for the fields of the ASP or PDU being transmitted;
+- c) on a RECEIVE event assignments are performed *after* the event occurs and cannot be made to fields of the ASP or PDU just received.
+
+An assignment to a constraint ASP parameter, PDU field or structure element in the behaviour part will overwrite constraint values on a SEND event line.
+
+*EXAMPLE 82* – Use of a qualified SEND event:
+
+```
+PARTIAL_TREE
+!A[X:=3]
+!B
+```
+
+Processing these alternative SEND events the tester will send A only if the value of the variable X is 3. Otherwise it will send B.
+
+The OTHERWISE event may be used together with qualifiers and/or assignments. If a qualifier is used, this Boolean becomes an additional condition for accepting any incoming event. If an assignment statement is used, the assignment will take place only if all conditions for matching the OTHERWISE are satisfied.
+
+EXAMPLE 83 – Using OTHERWISE, qualifiers and assignments:
+
+| | |
+|---------------------------------------------------------|--------|
+| PARTIAL_TREE (PCO1:XSAP; PCO2:YSAP) | |
+| PCO1 ? A | PASS |
+| PCO2 ? B [X=2] | INCONC |
+| PCO1 ? C | PASS |
+| PCO2 ? OTHERWISE [X<>2] (Reason:="X not equal 2") | FAIL |
+| PCO2 ? OTHERWISE (Reason:="X equals 2 but event not B") | FAIL |
+
+Assume that no event is received at PCO1. Receipt of event B at PCO2 when X=2 gives an inconclusive verdict. Receipt of any other event at PCO2 when X<>2 results in a FAIL verdict and assigns a value of "X not equal 2" to the CharacterString variable: Reason. If an event is received at PCO2 that satisfies neither of these scenarios then the final OTHERWISE will match.
+
+Events involving CMs occurring at CPs may also be associated with an assignment, a qualifier or both, in the same manner as for PDUs, as described above.
+
+EXAMPLE 84 – CMs associated with a qualifier:
+
+A\_CP!A\_CM [X=2]
+
+## 15.11 Pseudo-events
+
+It is permitted to use assignments, qualifiers and timer operations by themselves on a statement line in a behaviour tree, without any associated event. These stand-alone expressions are called pseudo-events.
+
+The meaning of such a pseudo-event is as follows:
+
+- if only a qualifier is specified: the qualifier is evaluated and execution continues with subsequent behaviour, if the qualifier evaluates to TRUE; if it evaluates to FALSE the next alternative is attempted. If no alternative exists, then this is a test case error;
+- if only assignments and/or timer operations are specified: the assignments shall be executed from left to right and/or the timer operations shall be executed from left to right;
+- if assignments and/or timer operations are specified preceded by a qualifier: the qualifier shall be evaluated first and the assignments and/or timer operations shall be evaluated only if the qualifier evaluates to TRUE.
+
+## 15.12 Timer management
+
+### 15.12.1 Introduction
+
+A set of operations is used to model timer management. These operations can appear in combination with events or as stand-alone pseudo-events.
+
+Timer operations can be applied to:
+
+- an individual timer, which is specified by following the timer operation by the timer name;
+- all timers, which is specified by omitting the timer name.
+
+It is assumed that the timers used in a test suite are either inactive or running. All running timers are automatically cancelled at the end of each Test Case. There are three predefined timer operations: START, CANCEL and READTIMER. More than one timer operation may be specified on an event line if necessary. This is indicated by separating the operations by commas.
+
+When a timer operation appears on the same statement line as an event and/or a qualifier, the timer operation shall be executed if, and only if, the event matches and/or the qualifier evaluates to TRUE.
+
+### 15.12.2 The START operation
+
+The START operation is used to indicate that a timer should start running.
+
+The optional timer value parameter shall be used if no default duration is given, or if it is desired to assign an expiry time (*i.e.*, duration) for a timer that overrides the default value specified in the timer declarations.
+
+Timer values shall be of type INTEGER. The test case writer shall ensure that the optional timer value parameter shall evaluate to a positive non-zero INTEGER. A test case error shall result if a timer is started with a zero or negative value.
+
+Any variables occurring in the expression specifying the optional timer value shall be bound. If an unbound variable is used, this is a test case error.
+
+When a timer duration is overridden, the new value applies only to the current instance of the timer: any later START operations for this timer which do not specify a duration will use the duration stated in the timer declarations part.
+
+*EXAMPLE 85* – Uses of START timer:
+
+the Ti are timer identifiers and the Vi are timer values:
+
+START T0
+
+START T0 (V0)
+
+START T1, START T2 (V2)
+
+The START operation may be applied to a running timer, in which case the timer is cancelled, reset and started. Any entry in the timeout list for this timer shall be removed from the timeout list.
+
+### 15.12.3 The CANCEL operation
+
+The CANCEL operation is used to stop a running timer.
+
+A cancelled timer becomes inactive. If a TIMEOUT event for that timer is in the timeout list, that event is removed from the timeout list. If the timer name on the CANCEL operation is omitted, all running timers become inactive and the timeout list is emptied.
+
+Cancelling an inactive timer is a valid operation, although it does not have any effect.
+
+*EXAMPLE 86* – Some uses of CANCEL timer:
+
+where the Ti are timer identifiers:
+
+CANCEL
+
+CANCEL T0
+
+CANCEL T1, CANCEL T2
+
+CANCEL T1, START T3
+
+### 15.12.4 The READTIMER operation
+
+The READTIMER operation is used to retrieve the time that has passed since the specified timer was started and to store it into the specified Test Suite or Test Case Variable. This variable shall be of type INTEGER. The time value assigned to the variable is interpreted as having the time unit specified for the timer in its declaration. By convention, applying the READTIMER operation on an inactive timer will return the value zero.
+
+*EXAMPLE 87* – Using READTIMER:
+
+```
+:
+START TimerName (TimerVal)
+ ?EVENT_A
+ +Tree_A
+ ?EVENT_B
+ +Tree_B
+ ?EVENT_C
+ READTIMER TimerNAME(CurrTime)
+ +Tree_C
+ ?TIMEOUT TimerName
+:
+```
+
+If EVENT\_C is received prior to expiration of the timer named by TimerName, the amount of time which has passed since starting the timer will be stored in the Test Case or Test Suite Variable CurrTime. The behaviour contained in Tree\_C may use the value of this Test Suite or Test Case Variable.
+
+*EXAMPLE 88* – READTIMER used in combination with other timer operations:
+
+READTIMER T1 (PASSED\_TIME), CANCEL T1
+
+READTIMER T1 (V1), START NEW\_TIMER (V1)
+
+## 15.13 The ATTACH construct
+
+### 15.13.1 Introduction
+
+Trees may be attached to other trees by using the ATTACH construct.
+
+Test suite and Test Case Variables are global to both the tree that does the attachment (the main tree) and the attached tree, *i.e.*, any changes made to variables in an attached tree also apply to the main tree. Tree attachment constructs shall appear on a statement line by themselves.
+
+### 15.13.2 Scope of tree attachment
+
+Behaviour descriptions may contain more than one tree. However, only the *first* tree in the behaviour description is accessible from outside the behaviour description. Any subsequent trees are considered to be Test Steps local to the behaviour description, and thus not externally accessible.
+
+It should be noted that only Test Cases are directly executable, while Test Steps are executed only if attached to a Test Case, or to a Test Step whose point of attachment can be traced back to a Test Case (either directly or via other attached Test Steps). Test Cases are not attachable.
+
+Tree reference may be Test Step Identifiers or tree identifiers, where:
+
+- a) a Test Step Identifier denotes the attachment of a Test Step that resides in the Test Step Library; the Test Step is referenced by its unique identifier;
+- b) a tree identifier shall be the name of one of the trees in the current behaviour description; this is attachment of a local tree.
+
+### 15.13.3 Tree attachment basics
+
+Given a behaviour tree, it is possible to detach parts of this tree in the form of separate behaviour trees, *i.e.*, Test Steps. The points where a Test Step has been cut out of the original tree are indicated by the attach symbol ( + ) followed by the name assigned to the Test Step.
+
+*EXAMPLE 89* – Partitioning a large tree into two smaller trees:
+
+
+
+```
+graph LR
+ subgraph Original_Tree [TOP_TREE]
+ A
+ A --> A1
+ A1 --> D1
+ D1 --> D11
+ D1 --> D12
+ A --> C
+ C --> C1
+ C1 --> D1
+ D1 --> D11
+ D1 --> D12
+ end
+
+ subgraph Partitioned_Trees
+ subgraph Main_Tree [TOP_TREE]
+ A
+ A --> A1
+ A1 --> PlusStep1[+STEP]
+ PlusStep1 --> C
+ C --> C1
+ C1 --> PlusStep2[+STEP]
+ end
+ subgraph Detached_Step [STEP D]
+ D11
+ D12
+ end
+ end
+```
+
+Diagram illustrating the partitioning of a large tree into two smaller trees. The original tree (TOP\_TREE) is shown on the left, partitioned into two parts: a main tree and a detached step (STEP D). The main tree contains nodes A, A1, D1, D11, D12, C, C1, D1, D11, and D12. The detached step (STEP D) contains nodes D11 and D12. The partitioned trees are shown on the right, separated by 'and'. The main tree is labeled 'TOP\_TREE' and contains nodes A, A1, +STEP, C, C1, and +STEP. The detached step is labeled 'STEP D' and contains nodes D11 and D12. The text 'is equivalent to:' is placed between the original tree and the partitioned trees.
+
+This operation can be performed not only on the main behaviour tree of the Test Case (the root tree) but also on the Test Steps detached from it. The attached tree will either be a local tree or a member of the Test Step Library.
+
+Tree attachment can be defined in a more general way than the mere re-insertion of complete Test Steps:
+
+- An attached tree need not contain full paths down to the leaves of the tree it is attached to (its *calling tree*). Rather, some subsequent behaviour common to all paths of the attached tree may be specified in the calling tree, namely as behaviour subsequent to the attachment line.
+- Some (even top level) lines of the attached Test Step may again have the form +SOME\_SUBTREE, calling for the attachment of further Test Steps.
+- Attached Test Steps may be parameterized.
+
+### 15.13.4 The meaning of tree attachment
+
+The following list defines the tree attachment execution semantics:
+
+- a) The attachment line (*e.g.*, +STEP) in the behaviour tree (*e.g.*, TOP\_TREE) is formally one (*e.g.*, Ai) in an ordered set of alternatives:
+
+(A1, ..., Ai, ..., An)
+
+Attaching STEP in this position means expanding the TOP\_TREE by inserting the Test Step STEP's top alternatives, *e.g.*, (B1, ..., Bm) into this sequence, yielding a new sequence:
+
+(A1, ..., A(i-1), B1, ..., Bm, A(i+1), ..., An)
+
+of alternatives. Any subsequent behaviour to the Bs will be attached together with them.
+
+*EXAMPLE 90* – Expansion of a Test Step:
+
+
+
+Diagram illustrating the expansion of a Test Step. It shows three boxes. The first box, labeled 'TOP\_TREE', contains 'A' followed by a list: 'A1', '+STEP', 'A3'. The second box, labeled 'STEP', contains 'B1' followed by 'B11' and 'B2'. The third box, labeled 'TOP\_TREE', contains 'A' followed by a list: 'A1', 'B1', 'B11', 'B2', 'A3'. The word 'and' is between the first and second boxes, and 'is equivalent to:' is between the second and third boxes.
+
+- b) Any behaviour subsequent to the +STEP line in the tree will become behaviour subsequent to all the leaves of the attached STEP expanded into the tree;
+
+*EXAMPLE 91* – Subsequent behaviour to an ATTACH:
+
+
+
+Diagram illustrating subsequent behaviour to an ATTACH. It shows three boxes. The first box, labeled 'TOP\_TREE', contains 'A' followed by a list: '+STEP', 'B'. The second box, labeled 'STEP', contains 'D1' followed by 'D11' and 'D2'. The third box, labeled 'TOP\_TREE', contains 'A' followed by a list: 'D1', 'D11', 'B', 'D2', 'B'. The word 'and' is between the first and second boxes, and 'is equivalent to:' is between the second and third boxes.
+
+- c) When an actual parameter list is used on an ATTACH construct, then the actual parameter shall be substituted for each corresponding formal parameter using simple textual substitution. This substitution shall take place according to the following scoping rules:
+- 1) Actual parameters on the ATTACH of a local tree shall be substituted for corresponding formals only directly within that local tree.
+ - 2) Actual parameters on the ATTACH of a root tree of a Test Step are substituted for all occurrences of the corresponding formals within the root tree and any local trees directly within the Test Step.
+ - 3) When a parameterized tree is attached:
+ - the number of the actual parameters shall be the same as the number of formal parameters;
+ - each actual parameter shall evaluate to an element of its corresponding formal parameter type; and
+ - formal and actual parameters of test steps shall be used in such a way that only valid TTCN is created by textual substitution.
+
+EXAMPLE 92 – Substitution of parameters:
+
+
+
+| | | | |
+|-----------------------------------------------------------------|-----|---------------------------------------------------|--|
+| TOP_TREE (L:NSAP; U:TSAP) L!CONreq (M:=1) +STEP (U,M,2) | and | STEP (PCO:TSAP; X,Y:INTEGER) PCO?CONind (X:=Y) | |
+| is equivalent to: | | | |
+| TOP_TREE (L:NSAP; U:TSAP) L!CONreq (M:=1) U?CONind (M:=2) | | | |
+
+EXAMPLE 93 – Scoping rules for parameter substitution:
+
+| Test Step Dynamic Behaviour | | | | | |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|-----------------------------------------------------------|----------------|---------|----------|
+| Test Step Name | | : TEST_STEP_1 (X,Y : INTEGER) | | | |
+| Group | | : TTCN_EXAMPLES/PARAMS/STEPS/ | | | |
+| Objective | | : To illustrate scoping rules for parameter substitution. | | | |
+| Defaults | | : | | | |
+| Comments | | : | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | | ? A | A1 | | |
+| 2 | | + TEST_STEP_2 (X) | | | |
+| 3 | | + LOCAL (5) | | | |
+| | | LOCAL ( F : INTEGER) | B1 | PASS | |
+| 4 | | ! B | | | |
+| 5 | | ( TC_VAR = F + Y) | | | |
+| Detailed Comments: When TEST_STEP_1 is attached by a calling tree, all occurrences of the formal parameters X and Y within the entire Test Step (including within the local tree LOCAL) will be replaced with the actuals provided. Note that formals X and Y are not automatically substituted with actuals within TEST_STEP_2. However, the actual parameter value for formal X is substituted in the ATTACH construct "+TEST_STEP_2 (X)". This results in the substitution of the actual parameter value X (in TEST_STEP_1) for whatever formal parameter appears in the declaration of TEST_STEP_2. Finally, note that actual parameter (constant) 5 is substituted for formal "F" when the tree LOCAL is attached. This substitution takes place only within the local tree. | | | | | |
+
+### 15.13.5 Passing parameterized constraints
+
+Constraints may be passed as parameters to Test Steps. If the constraint has a formal parameter list then the constraint shall be passed together with an actual parameter list. The actual parameters of the constraint shall already be bound at the point of attachment.
+
+*EXAMPLE 94* – Passing a parameterized constraint:
+
+Suppose that the constraint C1 has a single formal parameter of type INTEGER. TOP\_TREE attaches STEP and passes C1 as a parameter. Note that the constraints reference in STEP is not parameterized:
+
+
+
+| |
+|-----------------|
+| TOP_TREE |
+| : |
+| + STEP (C1(3)) |
+| : |
+
+| |
+|----------------------------------|
+| STEP (PARA:A_PDU) |
+| : |
+| ! A_PDU PAR |
+| : |
+
+### 15.13.6 Recursive tree attachment
+
+As tree attachment works recursively (STEP may contain a +SOME\_OTHER\_TREE line) the tree expansion semantics may never lead to a tree free of attachment lines.
+
+*EXAMPLE 95* – A legal recursive tree attachment:
+
+
+
+| |
+|-----------------|
+| TOP_TREE |
+| A |
+| + STEP |
+| B |
+
+and
+
+| |
+|-------------|
+| STEP |
+| C |
+| + TOP_TREE |
+| D |
+
+one expansion
+is equivalent to :
+
+| |
+|-----------------|
+| TOP_TREE |
+| A |
+| C |
+| + TOP_TREE |
+| B |
+| D |
+| B |
+
+A tree shall not attach itself, either directly or indirectly, at its top level of indentation.
+
+NOTE – It is unnecessary to expand either any Test Step that will not be executed, or any alternatives beyond the current level until an alternative from the current level has been selected.
+
+*EXAMPLE 96* – An illegal recursive tree attachment:
+
+
+
+| |
+|-----------------|
+| TOP_TREE |
+| A |
+| + STEP |
+| B |
+
+and
+
+| |
+|-------------|
+| STEP |
+| C |
+| D |
+| + TOP_TREE |
+
+one expansion
+is equivalent to :
+
+| |
+|-----------------|
+| TOP_TREE |
+| A |
+| C |
+| D |
+| B |
+| + TOP_TREE |
+| B |
+
+### 15.13.7 Tree attachment and Defaults
+
+The expansion of Defaults in a tree shall be completed before this tree is attached anywhere (see 15.18.5).
+
+NOTE – Special care has to be taken where both tree attachment and Defaults are used in a behaviour description.
+
+## 15.14 Labels and the GOTO construct
+
+A label may be placed in the labels column on any statement line in the behaviour tree.
+
+NOTE 1 – Whenever an entry is executed in the behaviour tree for which a label is specified, that label should be recorded in the conformance log in such a way that it can be associated with the record of the execution of that entry.
+
+A GOTO to a label may be specified within a behaviour tree provided that the label is associated with the first of a set of alternatives, one of which is an ancestor node of the point from which the GOTO is to be made. A GOTO shall be used only for jumps within one tree, *i.e.*, within a Test Case root tree, a Test Step tree a Default tree or a local tree. As a consequence, each label used in a GOTO construct shall be found within the same tree in which the GOTO is used. No GOTO shall be made to the first level of alternatives of local trees, Test Steps or Defaults.
+
+A GOTO shall not refer to a label prior to an ACTIVATE construct which is an ancestor node of the GOTO.
+
+A GOTO shall be specified by placing an arrow ( -> ) or the keyword GOTO, followed by the name of the label, on a statement line of its own in the behaviour tree.
+
+A label shall be unique within a tree. If a GOTO is executed, the Test Case shall proceed with the set of alternatives referred to by the label.
+
+GOTOs shall always be unconditional and therefore always execute.
+
+NOTE 2 – A Boolean expression may be placed as the immediate ancestor of a GOTO to gain the effect of a conditional jump.
+
+EXAMPLE 97 – Use of GOTO:
+
+| Test Case Dynamic Behaviour | | | | | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|-----------------------|----------------|---------|----------|
+| Test Case Name : GOTO_EX1Group : TTCN_EXAMPLES/GOTO_EXAMPLE1/Purpose : To illustrate use of labels and GOTO.Defaults :Comments : | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | LA | ! A | A1 | | |
+| 2 | LB | ? B | B1 | | |
+| 3 | LB2 | + B-tree | | | |
+| 4 | LC | ? C | C1 | | |
+| 5 | LD | [D=1] | | | |
+| 6 | | GOTO LA | | | |
+| 7 | LE | [E=1] | | | |
+| 8 | LF | ! F | F1 | FAIL | |
+| Detailed Comments: This example shows a jump to LA. From the same position in that tree it would also be allowed to jump to LB or LD, but it would not be allowed to jump to LB2 or LF (because the set of alternatives does not contain an ancestor node of the point from which the jump is made) nor to LC or LE (because these are not the first of a set of alternatives). | | | | | |
+
+## 15.15 The REPEAT construct
+
+This clause describes a mechanism to be used in behaviour descriptions for iterating a Test Step a number of times.
+
+The tree reference shall be a reference to either a local tree or a Test Step defined in the Test Step Library. For the rules of attachment see 15.13. The REPEAT construct has the following meaning: first the tree, referred to by the tree reference, is executed. Then, the qualifier is evaluated. If the qualifier evaluates to TRUE, execution of the REPEAT construct is completed. If not, the tree is executed again, followed by evaluation of the qualifier. This process is repeated until the qualifier evaluates to TRUE.
+
+The REPEAT construct can always be executed and should be the last alternative of a series of TTCN statements at the same level of indentation, as allowed by 15.9.5.3 a).
+
+NOTE – The REPEAT construct is recommended, if applicable, instead of use of GOTO.
+
+| Test Case Dynamic Behaviour | | | | | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|---------------------------|----------------|---------|----------|
+| Test Case Name : RPT_EX1Group : TTCN_EXAMPLES/REPEAT_EXAMPLE1/Purpose : To illustrate use of REPEATDefaults :Comments : | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | | (FLAG:=FALSE) | | | |
+| 2 | | ! A | A1 | | |
+| 3 | | REPEAT STEP1 UNTIL [FLAG] | | | |
+| 4 | | ! D | D1 | PASS | |
+| | | STEP1 | | | |
+| 5 | | ? B (FLAG:=TRUE) | B1 | | |
+| 6 | | ? C (FLAG:=FALSE) | C1 | | |
+| Detailed Comments: This example describes a test that is capable of receiving an arbitrary number of C events at the lower tester PCO, until the awaited message B is received. | | | | | |
+
+## 15.16 The Constraints Reference
+
+### 15.16.1 Purpose of the Constraints Reference column
+
+This column allows references to be made to a specific constraint placed on an ASP, PDU or CM. Such constraints are defined in the constraints part (see clause 12, 13 and 14). The constraints reference shall be present in conjunction with SEND, IMPLICIT SEND and RECEIVE. A constraints reference is optional if an ASP or CM has no parameters or if a PDU has no fields. It shall not be present with any other kind of TTCN statement.
+
+The entry Constraints Reference column may be an actual constraint reference, the AnyValue symbol ("?"), or a formal parameter whose actual parameter shall be a constraint reference or the AnyValue symbol. If AnyValue is used in place of a constraint reference it means a "don't care" constraint, equivalent to a constraint with AnyOrNone ("\*") in every parameter, field or element.
+
+EXAMPLE 99 – A constraint reference without a parameter list:
+
+| | |
+|---------------|-----|
+| N_SAP? CR_PDU | CRI |
+|---------------|-----|
+
+### 15.16.2 Passing parameters in Constraint References
+
+A constraint reference may have an optional parameter list to allow the manipulation of specific constraint values from the behaviour tree.
+
+The actual parameter list shall fulfil the following:
+
+- the number of actual parameters shall be the same as the number of formal parameters; and
+- each actual parameter shall evaluate to either a value of its corresponding formal type or a matching symbol that can match a value of that formal type.
+
+If a constraint is passed as an actual parameter, and that constraint is declared with a formal parameter list, then the constraint shall also have a (possibly nested) actual parameter list. All variables appearing in the parameter list shall be bound when the constraint is used. If an unbound variable is used then this is a test case error.
+
+*EXAMPLE 100* – A constraints reference with a parameter list:
+
+| | |
+|------------------|----------------|
+| N_SAP? N_DATAreq | D1(P1,CR1(P2)) |
+|------------------|----------------|
+
+Where D1 is a constraint on N\_DATAreq with two parameters (actual parameters P1 and CR1), and CR1 is a constraint with one parameter (actual parameter P2).
+
+### 15.16.3 Constraints and qualifiers and assignments
+
+If an event is qualified and also has a constraints reference, this shall be interpreted as: the event matches if, and only if, both the qualifier *and* the constraint hold.
+
+If an event is followed by an assignment and has a constraints reference and/or a qualifier, then this shall be interpreted as: the assignment is performed if, and only if, the event occurs according to the definition given above.
+
+## 15.17 Verdicts
+
+### 15.17.1 Introduction
+
+Entries in the verdict column in Dynamic Behaviour tables shall be either:
+
+- a preliminary result, which shall be given in parentheses;
+- or an explicit final verdict.
+
+An entry, of either type, shall not occur on an empty line, or on the following TTCN statements:
+
+- a) an ATTACH construct;
+- b) a REPEAT construct;
+- c) a GOTO;
+- d) an IMPLICIT SEND.
+
+NOTE – During Test Case execution, whenever an entry in a behaviour tree occurs for which there is a corresponding entry in the verdict column of the abstract Test Case, that verdict column information is intended to be recorded in the conformance log in such a way that it is associated with the record of that entry in the behaviour tree.
+
+### 15.17.2 Preliminary results
+
+A predefined variable called R, of the predefined type R\_TYPE, is available to each Test Case to store any intermediate results. These values are predefined identifiers and as such are case sensitive.
+
+R may be used wherever other Test Case Variables may be used, except that it shall not be used on the left-hand side of an assignment statement. Thus, it is a read-only variable, except for the changes to its value caused by entries in the verdict column (as specified below).
+
+If a preliminary result is to be specified in the verdict column it shall be one of the following:
+
+- a) (P) or (PASS), meaning that some aspect of the test purpose has been achieved;
+- b) (I) or (INCONC), meaning that something has occurred which makes the Test Case inconclusive for some aspect of the test purpose;
+- c) (F) or (FAIL), meaning that a protocol error has occurred or that some aspect of the test purpose has resulted in failure.
+
+NOTE 1 – PASS or P, FAIL or F and INCONC or I are keywords that are used in the verdicts column only. The predefined identifiers *pass*, *fail*, *inconc* and *none* are values that represent the possible contents of the predefined variable R. These predefined identifiers are to be used for testing the variable R in behaviour lines only.
+
+Whenever a preliminary result is recorded, because the corresponding entry in the behaviour tree is executed, then the value of the predefined Test Case Variable R shall be changed according to Table 7:
+
+**Table 7/X.292 – Calculation of the variable R**
+
+| Current value of R | Entry in verdict column | | |
+|--------------------|-------------------------|----------|--------|
+| | (PASS) | (INCONC) | (FAIL) |
+| none | pass | inconc | fail |
+| pass | pass | inconc | fail |
+| inconc | inconc | inconc | fail |
+| fail | fail | fail | fail |
+
+NOTE 2 – Thus, the order of precedence (lower → higher) is: N, P, I, F. Even if R has value *fail* it can be useful to record a preliminary result of P or I in order to record in the conformance log that a P or I is appropriate for some aspect of the test purpose, despite the fact that this will not change the value of R.
+
+### 15.17.3 Final verdict
+
+If an explicit final verdict is to be specified in the verdict column, it shall be one of the following:
+
+- P or PASS, meaning that a pass verdict is to be recorded;
+- I or INCONC, meaning that an inconclusive verdict is to be recorded;
+- F or FAIL, meaning that a fail verdict is to be recorded;
+- the predefined variable R, meaning that the value of R is to be taken as the final verdict, unless the value of R is *none* in which case a test case error is recorded instead of a final verdict.
+
+**Table 8/X.292 – Calculation of the final verdict R**
+
+| Current value of R | Entry in verdict column | | | |
+|--------------------|-------------------------|---------|------|---------|
+| | PASS | INCONC | FAIL | R |
+| none | pass | inconc | fail | *error* |
+| pass | pass | inconc | fail | pass |
+| inconc | *error* | inconc | fail | inconc |
+| fail | *error* | *error* | fail | fail |
+
+Whenever, during execution of a Test Case, an explicit final verdict is specified, then this terminates the Test Case. For compliance with ITU-T Rec. X.291, an explicit final verdict should be specified only if the Test Case has returned to a suitable stable testing state (*e.g.*, the idle testing state).
+
+NOTE 1 – The termination of the Test Case caused by the specification of an explicit final verdict is necessary, for example, if the stable state is reached in an attached Test Step when subsequent behaviour is specified in the calling tree.
+
+If the leaf of the behaviour tree is reached without an explicit final verdict being specified, then the final verdict is determined as for case d) above (*i.e.*, as if R had been put in the verdict column).
+
+If an explicit final verdict other than R is to be recorded, then that verdict shall be compared with the value in R to determine whether or not they are consistent. If R is *fail* then a final verdict of PASS or INCONC shall be regarded as inconsistent; if R is *inconc* then a final verdict of PASS shall be regarded as inconsistent. If there is one of these inconsistencies, then it is a test case error.
+
+NOTE 2 – In such a case, "Test Case Error" should be recorded in the conformance log.
+
+### 15.17.4 Verdicts and OTHERWISE
+
+An OTHERWISE statement shall not lead to a PASS verdict. It should lead to a FAIL verdict, because the OTHERWISE could match an invalid test event.
+
+### 15.17.5 Verdict assignment in concurrent TTCN
+
+In concurrent TTCN, the final verdict is assigned by the MTC, either explicitly in the verdict column or implicitly as a consequence of MTC termination. Preliminary test results are maintained in the global result variable, which is accessible to the MTC as the test case variable R. The global result variable is updated whenever a preliminary result or verdict is recorded in the verdict column by a matched MTC behaviour line. If the MTC terminates without assigning an explicit verdict, then the verdict shall be determined as if R had been placed in the verdict column (15.17.3 d).
+
+In addition, each PTC shall record at least one preliminary result. This preliminary result is maintained in its local result variable, which is accessible to the PTC as its test case variable R. When a preliminary result is assigned by a PTC, by any entry in the verdict column of a matched PTC behaviour line (whether or not the entry is in parentheses), both its local result variable and the global result variable are automatically updated using the algorithm specified in 15.17.2. In a PTC, an entry in the verdict column without parentheses around it is not a final verdict, but shall cause termination of the PTC if that behaviour line matches.
+
+Termination of the MTC before termination of all PTCs shall result in a test case error.
+
+When the MTC uses the R variable in a Boolean expression or an assignment, it accesses the global result variable. When a PTC uses the R variable in a Boolean expression or an assignment, it accesses its local result variable. The MTC may also access a local result variable of its own by using the predefined test case variable MTC\_R rather than R. MTC\_R is of predefined type R\_TYPE. MTC\_R is updated whenever a preliminary result is recorded in the verdict column by a matched MTC behaviour line, but is unaffected by the preliminary results of PTCs.
+
+The value of a PTC's local result variable can be communicated to another PTC only via CMs. The value of the MTC's local or global result variables can be communicated to a PTC only via CMs.
+
+## 15.18 The meaning of Defaults
+
+### 15.18.1 Introduction
+
+In many cases Default behaviour will be used to emphasize a set of interesting paths through a test by declaring the less interesting common alternatives (+ their subsequent behaviour) as Default behaviour.
+
+The same effect, though less concisely, would be achieved by Test Step attachment (*e.g.*, +DEFAULT) as an additional general last alternative. As opposed to tree attachment, Default behaviour expands into many points of the tree it is associated with. This property calls for a careful use of Defaults.
+
+EXAMPLE 101 – Identifying a Default tree:
+
+
+
+| | | |
+|--------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
+| TOP_TREE A A1 A11 C D A2 C D B B1 C D C D | TOP_TREE A A1 A11 + COMMON A2 + COMMON B B1 +COMMON +COMMON COMMON C D | TOP_TREE Default: COMMON A A1 A11 A2 B B1 COMMON C D |
+|--------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------|
+
+No Default behaviour shall be specified to a Default behaviour, *i.e.*, a Default may not have Default behaviour itself. Tree attachments shall not be used in Default behaviour trees, *i.e.*, Default behaviour trees shall not attach Test Steps. Test Cases or Test Steps shall not be referred to as Defaults.
+
+For the execution of a Test Case it is not necessary to expand Defaults everywhere in all the trees referring to them. This can be seen from an operational description of the meaning of Defaults: in attempting to match a sequence of alternatives (which may need repeated attempts), each time they all failed to match, the first level of alternatives of the Default behaviour are attempted as well. If none of these matches either, the sequence is retried with the new states of timers and queues at all PCOs concerned. If there is a match in the Default, the Default behaviour is pursued at that point.
+
+To ensure that no subsequent behaviour will occur following the execution of a Default behaviour, the execution of a leaf of a Default tree, other than a RETURN statement, shall cause the termination of the test case. In order to accomplish this termination, in a Default tree, every leaf which has no verdict or preliminary result in the verdict column is implicitly provided with a verdict column entry of "R", and every leaf which has a preliminary result in the verdict column has that preliminary result implicitly transformed into a final verdict.
+
+### 15.18.2 Default References
+
+Test Case and Test Step behaviours reference a list of Default behaviours in the Default Library through the Default entry in the table header.
+
+Each reference in this list locates a Default by its unique identifier. The DefaultIdentifier shall be a reference to a Default defined in the Default Library.
+
+Defaults can be parameterized. The actual parameter list shall fulfil the following:
+
+- a) the number of actual parameters shall be the same as the number of formal parameters;
+- b) each actual parameter shall evaluate to an element of its corresponding formal type; and
+- c) all variables appearing in the parameter list shall be bound when the constraint is invoked.
+
+*EXAMPLE 102* – Default reference:
+
+| Test Case Dynamic Behaviour | | | | | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|-----------------------|----------------|---------|--------------|
+| Test Case Name : DEF_EX1Group : TTCN_EXAMPLES/DEFAULT_EXAMPLE1/Purpose : To illustrate the use of Defaults.Defaults : DEF1 (L)Comments : The tree of example 69 can be split into this Test Case with the Default behaviour DEF1. | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | | L ! CONNECTrequest | CR1 | | Request ... |
+| 2 | | L ? CONNECTconfirm | CC1 | | ... Confirm |
+| 3 | | L ! DATArequest | DTR1 | | Send Data |
+| 4 | | L ? DATAindication | DTI1 | | Receive Data |
+| 5 | | L ! DISCONNECTrequest | DSCR1 | PASS | Accept |
+| Detailed Comments: | | | | | |
+
+| Default Dynamic Behaviour | | | | | |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|--------------------------|----------------|---------|-----------|
+| Default Name : DEF1 (X : XSAP)Group : TTCN_EXAMPLES/DEFAULTS_LIB/DEFAULT_1/Objective : Illustration of a simple DefaultDefaults :Comments : | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | | X ? DISCONNECTindication | DSC2 | INCONC | Premature |
+
+NOTE – Syntactically, the Default behaviour of the second of the two tables in the above example attaches X?DISCONNECTindication as an alternative to each of the L! and L? statements in the first table. However, attachment of the Default tree as an alternative to an L! statement that always succeeds is meaningless.
+
+### 15.18.3 The RETURN statement
+
+The RETURN statement is an extension of the Default behaviour description capabilities. A RETURN statement shall only be used in a Default tree.
+
+When the Default expansion of a tree is performed, execution of a RETURN statement will cause processing to continue at the first alternative in the set of alternatives that caused the Default behaviour to be attempted.
+
+### 15.18.4 The ACTIVATE statement
+
+The ACTIVATE statement allows the activation of one set of Default behaviours. Instead of being implicitly active for the duration of the test case, defaults may be activated selectively by the ACTIVATE statement. Default behaviour thus activated is attempted in the order in which it is specified by the ACTIVATE, e.g., ACTIVATE (Def\_1, Def\_2) will cause Def\_1 to be executed before Def\_2 when default behaviour is needed.
+
+The default behaviour specified in an ACTIVATE statement overrides any active default behaviour, including default behaviour specified in a test case or test step header.
+
+An ACTIVATE with an empty default reference list, i.e., ACTIVATE(), deactivates all default behaviour.
+
+### 15.18.5 Defaults and tree attachment
+
+Whenever tree attachment is used it is important to have a clear understanding of how Defaults apply both to the calling tree and to the attached Test Step. In order to avoid hidden side-effects the Defaults that apply within an attached Test Step are defined to be those specified in the table that defines that Test Step. Thus, if the Test Step is defined in the Test Step Library, then the Defaults that apply are specified in header of the Test Step behaviour table. Alternatively, if the Test Step is defined locally in the same behaviour table as the calling tree, then the same Defaults apply to both the calling tree and the attached Test Step.
+
+In order to avoid multiple insertions of Defaults within a set of alternatives, the Default specified for a particular tree do not apply to the top level of alternatives of that tree unless the tree is the root tree of a Test Case.
+
+In order to generate a correct expansion of a tree it is necessary to expand the Defaults both:
+
+- a) before the tree is expanded as an attached tree; and
+- b) before any of the tree's attached Test Steps are expanded.
+
+The expansion of Defaults is thus local to a single tree and comprises the attachment of the Default tree to the bottom of every set of alternatives within the tree (except the top set of alternatives for any tree other than the root tree of a Test Case).
+
+Default expansion rules hold equally in the case where a set of alternatives contains an OTHERWISE event.
+
+*EXAMPLE 103 – Locality of a Default against a Test Step:*
+
+
+
+| |
+|---------------------------------------------------|
+| TOP_TREE A + STEP D |
+| STEP Default: STEP_DEF B C |
+| STEP_DEF E |
+
+| |
+|----------------------------|
+| STEP B C E |
+|----------------------------|
+
+| |
+|-----------------------------------------------|
+| TOP_TREE A B C D E D |
+|-----------------------------------------------|
+
+EXAMPLE 104 – Locality of a Default against a calling tree:
+
+
+
+| |
+|----------------------------------------------------------|
+| TOP_TREE Default: TOPDEF A + STEP |
+| TOPDEF E |
+| STEP B C |
+
+| |
+|------------------------------------------|
+| TOP_TREE A + STEP E E |
+|------------------------------------------|
+
+| |
+|------------------------------------------|
+| TOP_TREE A B C E E |
+|------------------------------------------|
+
+EXAMPLE 105 – A case of cyclic tree attachment:
+
+
+
+| |
+|---------------------------------------------------------------|
+| STEP1 Default: DEF1 A + STEP_2 B |
+| DEF1 E1 |
+| STEP2 Default: DEF2 C + STEP1 D |
+| DEF2 E2 |
+
+| |
+|-----------------------------------------|
+| STEP1 A + STEP2 B E1 |
+| STEP2 C + STEP1 D E2 |
+
+| |
+|-------------------------------------------------------------------------|
+| STEP1 A C A + STEP2 B E1 D E2 B E1 |
+|-------------------------------------------------------------------------|
+
+NOTE – Such cyclic attachments are discouraged.
+
+### 15.18.6 Tree Attachment, Defaults, Activate and Return
+
+If the ACTIVATE operation is used within a test case, the semantics of defaults and tree attachment can only be described dynamically rather than statically. Indeed, the operational semantics of defaults in Annex B are specified in terms of dynamic tree expansion, one level at a time.
+
+In this dynamic semantic model, the specification of a list of defaults in the header is equivalent to prefixing the behaviour tree with an ACTIVATE of that list of default trees. In a test step, placing a default list in the header is equivalent to placing an ACTIVATE of that list of default trees between each alternative in the first level of alternatives and its subsequent behaviour. If a test step is attached which has no defaults specified in the header, then the implied ACTIVATE operations have no parameters and hence deactivate all defaults.
+
+Since behaviour subsequent to a tree attachment takes its defaults from the context of the calling tree rather than attached test step, tree attachment implies the insertion of an ACTIVATE after every non-terminating leaf node (i.e., one which does not assign a verdict) to restore the defaults to those of the context in which the attachment was made. In the case of the leaf node being a RETURN, this implies ACTIVATE has to come before the RETURN to ensure that it takes effect before jumping back into the outer context.
+
+The effect of a combination of defaults and tree attachment is illustrated by the example test case shown in Example 106.
+
+EXAMPLE 106 – Example test case X\_Def1 to illustrate the meaning of defaults:
+
+| Test Case Dynamic Behaviour | | | |
+|--------------------------------------------------------------------------------------------------|---------------------------|------|---|
+| Test Step Name : X_Def1Group : Purpose : Defaults : D1, D2 | | | |
+| L | Behaviour Description | Cref | V |
+| | X +T1 Y Z +T2 | | |
+
+| Test Step Dynamic Behaviour | | | |
+|------------------------------------------------------------------------------------------------|-----------------------|------|---|
+| Test Step Name : T1Group : Objective : Defaults : D3, D4 | | | |
+| L | Behaviour Description | Cref | V |
+| | A B C | | |
+
+| Test Step Dynamic Behaviour | | | |
+|-----------------------------------------------------------------------------------------|-----------------------|------|---|
+| Test Step Name : T2Group : Objective : Defaults : | | | |
+| L | Behaviour Description | Cref | V |
+| | D E F | | |
+
+This example test case is equivalent to the one shown in Example 107, in which the list of defaults in the test case header has been replaced by an ACTIVATE of the same list of defaults as the first TTCN statement of the behaviour tree.
+
+EXAMPLE 107 – Alternative specification of example test case X\_Def1 using ACTIVATE:
+
+| Test Case Dynamic Behaviour | | | |
+|-------------------------------------------------------------------------------------------|----------------------------------------------|------|---|
+| Test Step Name : X_Def1Group : Purpose : Defaults : | | | |
+| L | Behaviour Description | Cref | V |
+| | ACTIVATE(D1,D2) X +T1 Y Z +T2 | | |
+
+The processing of an ACTIVATE sets the current default context. Progression to the next level of alternatives attaches the list of default trees in the current default context to the next level of alternatives.
+
+Thus, the evaluation of the example test case shown in example 107 could progress as illustrated in Figure 8. Firstly, the ACTIVATE(D1,D2) statement is evaluated to set the default context to D1 and D2. Then, assuming that X matches, D1 and D2 are attached at the same level of alternatives as T1. When T1 is then expanded, ACTIVATE(D3,D4) is inserted after the first level of alternatives of that test step, and ACTIVATE(D1,D2) is inserted after the two leaf nodes in order to restore the default context before the subsequent behaviour, Y, is reached. Assuming that A then matches, the defaults D1 and D2 are attached redundantly at the same level of alternatives as the ACTIVATE; this is because the current default context is always appended to the next level of alternatives, indiscriminately, even if the next level of alternatives consists of a construct or pseudo-event which always matches. When the new ACTIVATE statement is evaluated, the default context is changed to that applicable to test step T1. Then if B matches, the evaluation progresses to the ACTIVATE which restores the default context back to that applicable to the root tree.
+
+
+
+```
+
+graph TD
+ Start["X
++T1
+Y
+Z
++T2
++D1
++D2
+Default Context = D1, D2"] -- "X matches" --> Box1["+T1
+Y
++D1
++D2
+Default Context = D1, D2"]
+ Box1 -- "Expand +T1" --> Box2["A
+ACTIVATE(D3,D4)
+B
+ACTIVATE(D1,D2)
+Y
+C
+ACTIVATE(D1,D2)
+Y
++D1
++D2
+Default Context = D1, D2"]
+ Box2 -- "A matches" --> Box3["ACTIVATE(D3,D4)
+B
+ACTIVATE(D1,D2)
+Y
+C
+ACTIVATE(D1,D2)
+Y
++D1
++D2
+Default Context = D1, D2"]
+ Box3 -- "Evaluate ACTIVATE" --> Box4["B
+ACTIVATE(D1,D2)
+Y
+C
+ACTIVATE(D1,D2)
+Y
++D3
++D4
+Default Context = D3, D4"]
+ Box4 -- "B matches" --> Box5["ACTIVATE(D1,D2)
+Y
++D3
++D4
+Default Context = D3, D4"]
+ Box5 -- "Evaluate ACTIVATE" --> End["Y
++D1
++D2
+Default Context = D1, D2"]
+
+```
+
+X.292\_F08
+
+Flowchart showing the progression of evaluation for test case X\_Def1. The process starts with a box containing X, +T1, Y, Z, +T2, +D1, +D2, and Default Context = D1, D2. An arrow labeled 'X matches' leads to a box with +T1, Y, +D1, +D2, and Default Context = D1, D2. From there, an arrow labeled 'Expand +T1' leads to a box with A, ACTIVATE(D3,D4), B, ACTIVATE(D1,D2), Y, C, ACTIVATE(D1,D2), Y, +D1, +D2, and Default Context = D1, D2. An arrow labeled 'A matches' leads to a box with ACTIVATE(D3,D4), B, ACTIVATE(D1,D2), Y, C, ACTIVATE(D1,D2), Y, +D1, +D2, and Default Context = D1, D2. From there, an arrow labeled 'Evaluate ACTIVATE' leads to a box with B, ACTIVATE(D1,D2), Y, C, ACTIVATE(D1,D2), Y, +D3, +D4, and Default Context = D3, D4. An arrow labeled 'B matches' leads to a box with ACTIVATE(D1,D2), Y, +D3, +D4, and Default Context = D3, D4. Finally, an arrow labeled 'Evaluate ACTIVATE' leads to a box with Y, +D1, +D2, and Default Context = D1, D2.
+
+Figure 8/X.292 – Possible progression of evaluation of example test case X\_Def1
+
+Example 108 gives another example test case, this one mixing defaults specified in headers with an explicit ACTIVATE statement and tree attachment.
+
+EXAMPLE 108 – Example test case X\_Def2 to illustrate the meaning of defaults and ACTIVATE:
+
+| Test Case Dynamic Behaviour | | | | Test Step Dynamic Behaviour | | | |
+|------------------------------------------------------------------|---------------------------------------------|------|---|---------------------------------------------------------------|-----------------------|------|---|
+| Test Step Name : X_Def2 Group : Purpose : Defaults : D1 | | | | Test Step Name : T Group : Objective : Defaults : D3 | | | |
+| L | Behaviour Description | Cref | V | L | Behaviour Description | Cref | V |
+| | X ACTIVATE(D2) +T S +T S | | | | Y Z | | |
+
+The progression of the evaluation of this test case is illustrated in Figure 9. This shows the progression of the evaluation through the two main paths of the test case, showing that the default context applicable to the first S is determined by the ACTIVATE, whereas the default context applicable to the second S is determined by the defaults specified in the test case header; neither of these default contexts for the S statements is affected by the preceding tree attachments.
+
+Figure 9 begins by showing the effect of expanding the attachment of T at the first level of alternatives plus the appending of the initial defaults. If X matches, the evaluation progresses via the ACTIVATE(D2) to the second occurrence of the attachment of T, with the default context changed to D2 and the attachment of D2 appended at the same level of alternatives as T. T is then expanded, remembering to insert the two ACTIVATE statement to set the test step default context and then restore the root tree default context. These changes in the default context are then shown in the next two stages of the evaluation, assuming that first Y matches and then Z. The result is S with an alternative of the attachment of D2 being evaluated in default context D2.
+
+The alternative path shown in Figure 9 starts with Y matching instead of X. This causes the progression into default context D3, whereupon if Z matches, the default context is restored to be D1. Thus, what is reached down this path of the progression is S with an alternative of the attachment of D1 being evaluated in default context D1.
+
+The progression of evaluation of example test cases in Figures 8 and 9 has not shown the expansion of the default trees. If when the default tree is expanded, it is found that the default tree or any associated local tree contains a RETURN construct, this is equivalent to a label being placed at the head of the current set of alternatives with every RETURN construct being replaced by an ACTIVATE, to restore the default context of the calling tree, followed by a GOTO construct to go to that new label.
+
+All leaf nodes, other than RETURN, of a default behaviour tree in which all local subtrees have been attached have no subsequent behaviour and so they shall either set a verdict or result in a test case error.
+
+To illustrate this, the example test case given in Example 109 will be used.
+
+
+
+```
+
+graph TD
+ Start["X
+ACTIVATE(D2)
++T
+S
+Y
+ACTIVATE(D3)
+Z
+ACTIVATE(D1)
+S
++D1
+Default Context = D1"]
+
+ Start -- "X matches and evaluate ACTIVATE" --> XPath["+T
+S
++D2
+Default Context = D2"]
+
+ Start -- "Y matches and evaluate ACTIVATE" --> YPath1["Z
+ACTIVATE(D1)
+S
++D3
+Default Context = D3"]
+
+ XPath -- "Expand T" --> XPath2["Y
+ACTIVATE(D3)
+Z
+ACTIVATE(D2)
+S
++D2
+Default Context = D2"]
+
+ YPath1 -- "Z matches and evaluate ACTIVATE" --> YPath2["S
++D1
+Default Context = D1"]
+
+ XPath2 -- "Y matches and evaluate ACTIVATE" --> YPath3["Z
+ACTIVATE(D2)
+S
++D3
+Default Context = D3"]
+
+ YPath3 -- "Z matches and evaluate ACTIVATE" --> YPath4["S
++D2
+Default Context = D2"]
+
+```
+
+Flowchart showing the progression of evaluation for test case X-Def2. The process starts with a box containing X, ACTIVATE(D2), +T, S, Y, ACTIVATE(D3), Z, ACTIVATE(D1), S, +D1, and Default Context = D1. It branches into two paths: one evaluating X and another evaluating Y. The X path leads to a box with +T, S, +D2, and Default Context = D2, which then expands T to a box with Y, ACTIVATE(D3), Z, ACTIVATE(D2), S, +D2, and Default Context = D2. The Y path leads to a box with Z, ACTIVATE(D1), S, +D3, and Default Context = D3, which then evaluates Z to a box with S, +D1, and Default Context = D1. The Y path continues to a box with Z, ACTIVATE(D2), S, +D3, and Default Context = D3, which then evaluates Z to a box with S, +D2, and Default Context = D2.
+
+X.292\_F09
+
+Figure 9/X.292 – Possible progression of evaluation of example test case X-Def2
+
+| Test Case Dynamic Behaviour | | | | Default Dynamic Behaviour | | | |
+|----------------------------------------------------------------------------------------------|-----------------------|------|---|---------------------------------------------------------------------------|-----------------------|------|---|
+| Test Step Name : X_Def3Group : Purpose : Defaults : D1 | | | | Default Name : D1Test Step Name : Objective : | | | |
+| L | Behaviour Description | Cref | V | L | Behaviour Description | Cref | V |
+| | X Y | | P | | C D RETURN E | | F |
+
+The progression of the evaluation of this example test case is illustrated in Figure 10. Firstly, the default tree D1 is attached at the first level of alternatives of the root tree. D1 is then expanded. Since D1 contains a RETURN statement, this is a fairly complex expansion. The top event in the level of alternatives at which the attachment occurs is labelled with a unique label, L. Since the attached tree is a default, its own internal default context is empty because defaults do not have their own defaults, and therefore an ACTIVATE with no arguments is inserted after the first level of alternatives of the attached tree. In addition the RETURN statement is replaced by an ACTIVATE to restore the default context to D1, followed at the next level by GOTO L. Now, when this expanded tree is evaluated, if C matches, it progresses to the ACTIVATE() statement together with the redundant attachment of the default context, D1. The effect of evaluating the ACTIVATE() is to empty the default context. Then, if D matches, the ACTIVATE(D1) is evaluated to restore the default context to D1. This leads to the GOTO statement together with another redundant attachment of the default context D1. The evaluation of the GOTO then returns the processing to the state in which the label L was added. Evaluation will continue to cycle round this loop until either X, followed by Y, matches for a pass, or C, followed by E, matches for a fail.
+
+### 15.18.7 Defaults and CREATE
+
+Default behaviour is not inherited by test steps which are used in a CREATE operation, i.e., test steps which execute their behaviour description in parallel with the MTC. Thus, the scope of Default behaviour in concurrent TTCN is always local to the MTC or a PTC.
+
+In instances when a test step is used in a CREATE operation, the Default behaviour specified in the test step header shall be applied at the first level of indentation. This use of Defaults is consistent with the application of Defaults in test cases.
+
+### 15.18.8 Defaults and CMs
+
+Default behaviour is applied to every set of alternatives, even those which receive only CMs. This may cause PDUs which arrive prior to receipt of the executed CM, or PDUs which are already in the PCO queue but not yet received, to be removed from the PCO queue. To prevent the removal of PDUs from the PCO queue, the Default should be deactivated, using the ACTIVATE() construct as the event immediately preceding the set of alternatives which receive only the CM(s).
+
+
+
+```
+
+graph TD
+ Start["X
+Y
++D1
+Default Context = D1"]
+ LBlock["L: X
+Y
+C
+ACTIVATE()
+D
+ACTIVATE(D1)
+GOTO L
+E
+Default Context = D1"]
+ CMatches["ACTIVATE()
+D
+ACTIVATE(D1)
+GOTO L
+E
++D1
+Default Context = D1"]
+ DEmpty["D
+ACTIVATE(D1)
+GOTO L
+E
+Default Context = empty"]
+ ActEmpty["ACTIVATE(D1)
+GOTO L
+Default Context = empty"]
+ GotoL["GOTO L
++D1
+Default Context = D1"]
+
+ Start -- "Expand D1, inserting ACTIVATE() and replacing RETURN with a label, ACTIVATE(D1) and a GOTO" --> LBlock
+ LBlock -- "C matches" --> CMatches
+ CMatches -- "Evaluate ACTIVATE" --> DEmpty
+ DEmpty -- "D matches" --> ActEmpty
+ ActEmpty -- "Evaluate ACTIVATE" --> GotoL
+ GotoL -- "Execute GOTO (i.e. Return to L)" --> LBlock
+
+```
+
+X.292\_F10
+
+Flowchart illustrating the progression of evaluation for test case X\_Def3. The process starts with a block containing 'X', 'Y', '+D1', and 'Default Context = D1'. An arrow labeled 'Expand D1, inserting ACTIVATE() and replacing RETURN with a label, ACTIVATE(D1) and a GOTO' leads to a block with 'L: X', 'Y', 'C', 'ACTIVATE()', 'D', 'ACTIVATE(D1)', 'GOTO L', 'E', and 'Default Context = D1'. From here, a 'C matches' path leads to a block with 'ACTIVATE()', 'D', 'ACTIVATE(D1)', 'GOTO L', 'E', '+D1', and 'Default Context = D1'. An 'Evaluate ACTIVATE' path leads to a block with 'D', 'ACTIVATE(D1)', 'GOTO L', 'E', and 'Default Context = empty'. Another 'Evaluate ACTIVATE' path leads to a block with 'ACTIVATE(D1)', 'GOTO L', and 'Default Context = empty'. Finally, an 'Execute GOTO (i.e. Return to L)' path leads back to the 'L: X' block. A 'D matches' path also leads to the 'D, ACTIVATE(D1), GOTO L, E' block.
+
+Figure 10/X.292 – Possible progression of evaluation of example test case X\_Def3
+
+## 16 Page continuation
+
+### 16.1 Page continuation of TTCN tables
+
+When any TTCN table is too long to fit on a single page, the following mechanism shall be used:
+
+- a) the words "Continued on next page" shall be printed *after* the table line where the split occurs;
+- b) the words "Continued from previous page" shall be printed *before* the continued table on the next page.
+
+Tables may be split at any location, *i.e.*, in their header, body, or footer section. In all cases, the sections title (*e.g.*, column headers), shall be repeated on the next page. The complete header may or may not be repeated.
+
+*EXAMPLE 110* – A continued Test Suite Parameters table:
+
+| Test Suite Parameter Declarations | | | |
+|-----------------------------------|-----------|-------------------|------------|
+| Parameter Name | Type | PICS/PIXIT Ref | Comments |
+| PAR1 | INTEGER | PICS question aa | |
+| PAR2 | BOOLEAN | PICS question bb | |
+| PAR3 | IA5String | PIXIT question cc | |
+| Continued on next page | | | page n |
+| Continued from previous page | | | page n + 1 |
+| Test Suite Parameter Declarations | | | |
+| Parameter Name | Type | PICS/PIXIT Ref | Comments |
+| PAR4 | BOOLEAN | PICS question dd | |
+| PAR5 | HEXSTRING | PICS question ee | |
+
+### 16.2 Page continuation of dynamic behaviour tables
+
+When it is necessary to continue a dynamic behaviour table, then either of the following two mechanisms can be used:
+
+- a) modularization,
+where some part of the behaviour of the tree is specified as a library (non-local) Test Step, thereby modularizing the tree and reducing the amount of behaviour for the current proforma to that which will fit on a single page; or
+- b) page continuation mechanism,
+where, in the case of a dynamic behaviour table, in order to aid alignment of indentation levels, the following additional information shall be presented:
+ - 1) the level of indentation (enclosed in square brackets) of the last TTCN statement before the page split occurs, shall be printed before the words "Continued on next page";
+ - 2) on the continued page, the level of indentation (enclosed in square brackets) of the first TTCN statement in the continued table, shall be printed after the words "Continued from previous page".
+
+It may be necessary in the case of lengthy Test Cases to indent to a different level than the stated one. In such cases the stated level of indentation enclosed in square brackets will be aligned with the chosen indentation of the first statement line in the continued table. To further aid alignment of indentation levels, additional indications of indentation levels may also be given.
+
+## Annex A
+
+### Syntax and static semantics of TTCN
+
+(This annex forms an integral part of this Recommendation)
+
+#### A.1 Introduction
+
+This annex defines the syntax and the static semantics of TTCN. There are two forms of TTCN, a graphical form (TTCN.GR) and a machine processable form (TTCN.MP). For the human user the graphical form of TTCN, the TTCN.GR, takes advantage of an easily understood visual interpretation. However, TTCN.GR does not readily lend itself to machine processing. The TTCN.MP addresses this problem and serves the following purposes:
+
+- a) to provide a formal syntax for TTCN in BNF;
+- b) to act as a transfer syntax;
+- c) to ease automated derivation of ETSs from ATSS;
+- d) other machine processing.
+
+NOTE – Automated derivation of ETSs is outside the scope of this Recommendation.
+
+This annex also defines the static semantics for both TTCN.GR and TTCN.MP.
+
+#### A.2 Conventions for the syntax description
+
+##### A.2.1 Syntactic metanotation
+
+Table A.1 defines the metanotation used to specify the extended form of BNF grammar for TTCN (henceforth called BNF):
+
+Table A.1/X.292 – The TTCN.MP syntactic metanotation
+
+| | |
+|----------------------|-----------------------------|
+| ::= | is defined to be |
+| abc xyz | abc followed by xyz |
+| | alternative |
+| [abc] | 0 or 1 instances of abc |
+| {abc} | 0 or more instances of abc |
+| {abc}+ | 1 or more instances of abc |
+| ( ... ) | textual grouping |
+| abc | the non-terminal symbol abc |
+| abc | a terminal symbol abc |
+| "abc" | a terminal symbol abc |
+
+In the metanotation, concatenation binds more tightly than the alternative operator. Hence "abc def | ghi jkl" is equivalent to "(abc def) | (ghi jkl)".
+
+##### A.2.2 TTCN.MP syntax definitions
+
+Complete tables defined in TTCN.GR are represented in TTCN.MP by productions of the kind:
+
+**\$Begin\_KEYWORD .... \$End\_KEYWORD**
+
+*EXAMPLE A.1* – `TS_PARDcls ::= $Begin_TS_PARDcls {TS_PARDcl}+ $End_TS_PARDcls`
+
+Normally, these productions contain at least one mandatory component.
+
+Both sets of lines of a table and individual lines (*i.e.*, sets of fields in a table) are represented by productions of the kind:
+
+**\$KEYWORD .... \$End\_KEYWORD**
+
+Begin does not appear in the opening keyword.
+
+*EXAMPLE A.2* – `TS_PARDcl ::= $STS_PARDcl TS_PARid TS_PARtype PICS_PIXIT [Comment]
+$End_TS_PARDcl`
+
+Individual fields in a line are represented by:
+
+**\$KEYWORD ....**
+
+There is no closing keyword.
+
+*EXAMPLE A.3* – TS\_ParId ::= **\$TS\_ParId** TS\_ParIdentifier
+
+*EXAMPLE A.4* – TS\_ParIdentifier ::= Identifier
+
+Sets of tables, up to and including the test suite, are represented by productions of the kind:
+
+**\$KEYWORD .... \$End\_KEYWORD**
+
+*EXAMPLE A.5* – ASP\_TypeDefs ::= **\$ASP\_TypeDefs** [TTCN\_ASP\_TypeDefs] [ASN1\_ASP\_TypeDefs]
+**\$End\_ASP\_TypeDefs**
+
+All other productions defining non-terminal symbols have no keywords at the beginning or the end of the right-hand expression.
+
+*EXAMPLE A.6* – TimerIdentifier ::= Identifier
+
+When parsing TTCN.MP, any symbol not allowed within an identifier may denote the end of an identifier. In some cases it is necessary to insert one or more separators at the end of an identifier in order to separate it from another identifier or keyword (e.g., when an identifier is followed by a keyword such as **BY** or **OR**); the separators are Space characters, Tab characters and Carriage Return characters.
+
+### A.3 The TTCN.MP syntax productions in BNF
+
+#### A.3.1 TTCN Specification
+
+1 TTCN\_Specification ::= TTCN\_Module | Suite
+
+#### A.3.2 TTCN Module
+
+2 TTCN\_Module ::= **\$TTCN\_Module** TTCN\_ModuleId TTCN\_ModuleOverviewPart
+[TTCN\_ModuleImportPart] [DeclarationsPart] [ConstraintsPart] [DynamicPart] **\$End\_TTCN\_Module**
+3 TTCN\_ModuleId ::= **\$TTCN\_ModuleId** TTCN\_ModuleIdentifier
+4 TTCN\_ModuleIdentifier ::= Identifier
+
+##### A.3.2.1 TTCN Module Overview Part
+
+5 TTCN\_ModuleOverviewPart ::= **\$TTCN\_ModuleOverviewPart** TTCN\_ModuleExports
+[TTCN\_ModuleStructure] [TestCaseIndex] [TestStepIndex] [DefaultIndex]
+**\$End\_TTCN\_ModuleOverviewPart**
+
+##### A.3.2.1.1 TTCN Module Exports
+
+6 TTCN\_ModuleExports ::= **\$Begin\_TTCN\_ModuleExports** TTCN\_ModuleId [TTCN\_ModuleRef]
+[TTCN\_ModuleObjective] [StandardsRef] [PICSref] [PIXITref] [TestMethods] [Comment] ExportedObjects [Comment]
+**\$End\_TTCN\_ModuleExports**
+7 TTCN\_ModuleRef ::= **\$TTCN\_ModuleRef** BoundedFreeText
+8 TTCN\_ModuleObjective ::= **\$TTCN\_ModuleObjective** BoundedFreeText
+9 ExportedObjects ::= **\$ExportedObjects** {ExportedObject} **\$End\_ExportedObjects**
+10 ExportedObject ::= **\$ExportedObject** ObjectId ObjectType [SourceInfo] [Comment] **\$End\_ExportedObject**
+11 ObjectId ::= **\$ObjectId** ObjectIdentifier
+12 ObjectIdentifier ::= Identifier | ObjectTypeReference
+13 ObjectTypeReference ::= Identifier "[" Identifier "]"
+/\* STATIC SEMANTICS – The first Identifier is a NamedNumber or an Enumeration and the Identifier contained in
+brackets is the name of the corresponding type. \*/
+14 ObjectType ::= **\$ObjectType** TTCN\_ObjectType
+15 TTCN\_ObjectType ::= SimpleType\_Object | StructType\_Object | ASN1\_Type\_Object | TS\_Op\_Object |
+TS\_Proc\_Object | TS\_Par\_Object | SelectExpr\_Object | TS\_Const\_Object | TS\_Var\_Object | TC\_Var\_Object |
+PCO\_Type\_Object | PCO\_Object | CP\_Object | Timer\_Object | TComp\_Object | TCompConfig\_Object |
+TTCN\_ASP\_Type\_Object | ASN1\_ASP\_Type\_Object | TTCN\_PDU\_Type\_Object | ASN1\_PDU\_Type\_Object |
+TTCN\_CM\_Type\_Object | ASN1\_CM\_Type\_Object | EncodingRule\_Object | EncodingVariation\_Object |
+InvalidFieldEncoding\_Object | Alias\_Object | StructTypeConstraint\_Object | ASN1\_TypeConstraint\_Object |
+TTCN\_ASP\_Constraint\_Object | ASN1\_ASP\_Constraint\_Object | TTCN\_PDU\_Constraint\_Object |
+ASN1\_PDU\_Constraint\_Object | TTCN\_CM\_Constraint\_Object | ASN1\_CM\_Constraint\_Object | TestCase\_Object
+| TestStep\_Object | Default\_Object | NamedNumber\_Object | Enumeration\_Object
+16 SourceInfo ::= **\$SourceInfo** (SourceIdentifier | ObjectDirective)
+/\* STATIC SEMANTICS – The SourceIdentifier is the name of the original source object . \*/
+17 SourceIdentifier ::= SuiteIdentifier | TTCN\_ModuleIdentifier
+18 ObjectDirective ::= Omit | **EXTERNAL**
+
+#### A.3.2.1.2 TTCN Module Structure
+
+19 **TTCN\_ModuleStructure** ::= **\$Begin\_TTCN\_ModuleStructure** Structure&Objectives [Comment]
+**\$End\_TTCN\_ModuleStructure**
+
+#### A.3.2.2 TTCN Module Import Part
+
+20 **TTCN\_ModuleImportPart** ::= **\$TTCN\_ModuleImportPart** [ExternalObjects] [ImportDeclarations]
+**\$End\_TTCN\_ModuleImportPart**
+
+##### A.3.2.2.1 External Objects
+
+21 **ExternalObjects** ::= **\$Begin\_ExternalObjects** {ExternalObject}+ [Comment] **\$End\_ExternalObjects**
+22 **ExternalObject** ::= **\$ExternalObject** ExternalObjectId ObjectType [Comment] **\$End\_ExternalObject**
+23 **ExternalObjectId** ::= **\$ExternalObjectId** ExternalObjectIdentifier
+24 **ExternalObjectIdentifier** ::= ObjectIdentifier | TS\_OpId&ParList | ConsId&ParList | TestStepId&ParList
+
+##### A.3.2.2.2 Import Declarations
+
+25 **ImportDeclarations** ::= **\$ImportDeclarations** {ImportsOrGroup}+ **\$End\_ImportDeclarations**
+26 **ImportsOrGroup** ::= Imports | ImportsGroup
+27 **ImportsGroup** ::= **\$ImportsGroup** ImportsGroupId {ImportsOrGroup}+ **\$End\_ImportsGroup**
+28 **ImportsGroupId** ::= **\$ImportsGroupId** ImportsGroupIdentifier
+29 **Imports** ::= **\$Begin\_Imports** SourceId [ImportsGroupRef] [SourceRef] [StandardsRef] [Comment] ImportedObjects
+[Comment] **\$End\_Imports**
+30 **SourceId** ::= **\$SourceId** SourceIdentifier
+31 **ImportsGroupRef** ::= **\$ImportsGroupRef** ImportsGroupReference
+32 **ImportsGroupReference** ::= [(SuiteIdentifier | TTCN\_ModuleIdentifier) "/" ] {ImportsGroupIdentifier "/" }
+33 **ImportsGroupIdentifier** ::= Identifier
+34 **SourceRef** ::= **\$SourceRef** BoundedFreeText
+35 **ImportedObjects** ::= **\$ImportedObjects** {ImportedObject}+ **\$End\_ImportedObjects**
+36 **ImportedObject** ::= **\$ImportedObject** ObjectId ObjectType [SourceInfo] [Comment] **\$End\_ImportedObject**
+
+#### A.3.3 Test suite
+
+37 **Suite** ::= **\$Suite** SuiteId SuiteOverviewPart [ImportPart] DeclarationsPart ConstraintsPart DynamicPart **\$End\_Suite**
+/\* STATIC SEMANTICS – SuiteId shall be the same as the SuiteId declared in TestSuiteStructure table (Suite Structure).
+\*/
+38 **SuiteId** ::= **\$SuiteId** SuiteIdentifier
+39 **SuiteIdentifier** ::= Identifier
+
+##### A.3.3.1 The Test Suite Overview
+
+40 **SuiteOverviewPart** ::= **\$SuiteOverviewPart** [TestSuiteIndex] SuiteStructure TestCaseIndex [TestStepIndex]
+[DefaultIndex] [TestSuiteExports] **\$End\_SuiteOverviewPart**
+
+##### A.3.3.2 Test Suite Index
+
+41 **TestSuiteIndex** ::= **\$Begin\_TestSuiteIndex** {ObjectInfo} [Comment] **\$End\_TestSuiteIndex**
+
+##### A.3.3.2.1 The Imported Object Info
+
+42 **ObjectInfo** ::= **\$ObjectInfo** ObjectId ObjectType SourceId OrigObjectId [PageNum] [Comment] **\$End\_ObjectInfo**
+43 **PageNum** ::= **\$PageNum** PageNumber
+44 **PageNumber** ::= Number
+45 **OrigObjectId** ::= **\$OrigObjectId** ObjectIdentifier
+
+##### A.3.3.3 Test Suite Structure
+
+46 **SuiteStructure** ::= **\$Begin\_SuiteStructure** SuiteId StandardsRef PICSref PIXITref TestMethods [Comment]
+Structure&Objectives [Comment] **\$End\_SuiteStructure**
+47 **StandardsRef** ::= **\$StandardsRef** BoundedFreeText
+48 **PICSref** ::= **\$PICSref** BoundedFreeText
+49 **PIXITref** ::= **\$PIXITref** BoundedFreeText
+50 **TestMethods** ::= **\$TestMethods** BoundedFreeText
+51 **Comment** ::= **\$Comment** [BoundedFreeText]
+52 **Structure&Objectives** ::= **\$Structure&Objectives** {Structure&Objective} **\$End\_Structure&Objectives**
+53 **Structure&Objective** ::= **\$Structure&Objective** TestGroupRef SelExprId Objective
+**\$End\_Structure&Objective**
+54 **SelExprId** ::= **\$SelectExprId** [SelectExprIdentifier]
+
+#### A.3.3.4 Test Case Index
+
+- 55 TestCaseIndex ::= **\$Begin\_TestCaseIndex** {[CollComment] CaseIndex}+ [Comment] **\$End\_TestCaseIndex**
+56 CollComment ::= **\$CollComment** [BoundedFreeText]
+57 CaseIndex ::= **\$CaseIndex** TestGroupRef TestCaseId SelExprId Description **\$End\_CaseIndex**
+/\* STATIC SEMANTICS – Test Cases shall be listed in the order that they exist in the dynamic part. \*/
+/\* STATIC SEMANTICS – An explicit TestGroupRef shall be provided for each TestCase which belongs to a TestGroup. \*/
+58 Description ::= **\$Description** BoundedFreeText
+
+#### A.3.3.5 Test Step Index
+
+- 59 TestStepIndex ::= **\$Begin\_TestStepIndex** {[CollComment] StepIndex} [Comment] **\$End\_TestStepIndex**
+60 StepIndex ::= **\$StepIndex** TestStepRef TestStepId Description **\$End\_StepIndex**
+/\* STATIC SEMANTICS – TestStepId shall not include a formal parameter list. \*/
+/\* STATIC SEMANTICS – Test Steps shall be listed in the order that they exist in the dynamic part. \*/
+/\* STATIC SEMANTICS – An explicit TestStepRef shall be provided for each TestStep which belongs to a StepGroup. \*/
+
+#### A.3.3.6 Default Index
+
+- 61 DefaultIndex ::= **\$Begin\_DefaultIndex** {[CollComment] DefIndex} [Comment] **\$End\_DefaultIndex**
+62 DefIndex ::= **\$DefIndex** DefaultRef DefaultId Description **\$End\_DefIndex**
+/\* STATIC SEMANTICS – DefaultId shall not include a formal parameter list. \*/
+/\* STATIC SEMANTICS – Defaults shall be listed in the order that they exist in the dynamic part. \*/
+/\* STATIC SEMANTICS – An explicit DefaultRef shall be provided for each Default which belongs to a DefaultGroup. \*/
+
+#### A.3.3.7 Test Suite Exports
+
+- 63 TestSuiteExports ::= **\$Begin\_TestSuiteExports** ExportedObjects [Comment] **\$End\_TestSuiteExports**
+
+#### A.3.3.8 The Import Part
+
+- 64 ImportPart ::= **\$ImportPart** ImportDeclarations **\$End\_ImportPart**
+
+#### A.3.3.9 The Declarations Part
+
+- 65 DeclarationsPart ::= **\$DeclarationsPart** Definitions Parameterization&Selection Declarations ComplexDefinitions **\$End\_DeclarationsPart**
+
+#### A.3.3.10 Definitions
+
+##### A.3.3.10.1 General
+
+- 66 Definitions ::= [TS\_TypeDefs] [EncodingDefs] [TS\_OpDefs] [TS\_ProcDefs]
+
+##### A.3.3.10.2 Test Suite Type Definitions
+
+- 67 TS\_TypeDefs ::= **\$TS\_TypeDefs** {SimpleTypeDefsOrGroup} [StructTypeDefs] [ASN1\_TypeDefs] [ASN1\_TypeRefsOrGroup] **\$End\_TS\_TypeDefs**
+
+##### A.3.3.10.3 Simple Type Definitions
+
+- 68 SimpleTypeDefsOrGroup ::= SimpleTypeDefs | SimpleTypeGroup
+69 SimpleTypeGroup ::= **\$SimpleTypeGroup** SimpleTypeGroupId {SimpleTypeDefsOrGroup}+ **\$End\_SimpleTypeGroup**
+70 SimpleTypeGroupId ::= **\$SimpleTypeGroupId** SimpleTypeGroupIdentifier
+71 SimpleTypeDefs ::= **\$Begin\_SimpleTypeDefs** [SimpleTypeGroupRef] {[CollComment] SimpleTypeDef}+ [Comment] **\$End\_SimpleTypeDefs**
+72 SimpleTypeGroupRef ::= **\$SimpleTypeGroupRef** SimpleTypeGroupReference
+73 SimpleTypeGroupReference ::= [(SuiteIdentifier | TTCN\_ModuleIdentifier) "/" ] {SimpleTypeGroupIdentifier "/" }
+74 SimpleTypeGroupIdentifier ::= Identifier
+75 SimpleTypeDef ::= **\$SimpleTypeDef** SimpleTypeId SimpleTypeDefinition [PDU\_FieldEncoding] [Comment] **\$End\_SimpleTypeDef**
+76 SimpleTypeId ::= **\$SimpleTypeId** SimpleTypeIdIdentifier
+77 SimpleTypeIdIdentifier ::= Identifier
+78 SimpleTypeDefinition ::= **\$SimpleTypeDefinition** Type&Restriction
+/\* STATIC SEMANTICS – There shall be no recursive references (neither directly nor indirectly) in Type&Restriction. \*/
+79 Type&Restriction ::= Type [Restriction]
+/\* STATIC SEMANTICS – Type shall be either PredefinedType or SimpleType. \*/
+80 Restriction ::= LengthRestriction | IntegerRange | SimpleValueList
+/\* STATIC SEMANTICS – The set of values defined by Restriction shall be a true subset of the values of the base type. \*/
+
+LengthRestriction ::= SingleLength | RangeLength
+/\* STATIC SEMANTICS – LengthRestriction shall be provided only when the base type is a string type (i.e., BITSTRING, HEXSTRING, OCTETSTRING or CharacterString) or derived from a string type. \*/
+SingleLength ::= "[" ConstantExpression "]"
+RangeLength ::= "[" LowerBound To UpperBound "]"
+/\* STATIC SEMANTICS – LowerBound shall evaluate to a non-negative number. \*/
+/\* STATIC SEMANTICS – LowerBound shall be less than UpperBound. \*/
+IntegerRange ::= "(" LowerBound To UpperBound ")"
+/\* STATIC SEMANTICS – LowerBound shall be less than UpperBound. \*/
+LowerBound ::= ConstantExpression | Minus INFINITY
+UpperBound ::= ConstantExpression | INFINITY
+To ::= TO | ".."
+SimpleValueList ::= "(" ConstantExpression {Comma ConstantExpression } ")"
+/\* STATIC SEMANTICS – The ConstantExpression shall be of the base type and shall be a true subset of the values defined by the base type. \*/
+
+#### A.3.3.10.4 Structured Type Definitions
+
+StructTypeDefs ::= \$StructTypeDefs {StructTypeDefOrGroup}+ \$End\_StructTypeDefs
+StructTypeDefOrGroup ::= StructTypeDef | StructTypeGroup
+StructTypeGroup ::= \$StructTypeGroup StructTypeGroupId {StructTypeDefOrGroup}+ \$End\_StructTypeGroup
+StructTypeGroupId ::= \$StructTypeGroupId StructTypeGroupIdentifier
+StructTypeDef ::= \$Begin\_StructTypeDef StructId [StructTypeGroupRef] [EncVariationId] [Comment] ElemDcls [Comment] \$End\_StructTypeDef
+StructId ::= \$StructId StructId&FullId
+StructId&FullId ::= StructIdentifier [FullIdentifier]
+FullIdentifier ::= "(" BoundedFreeText ")"
+/\* STATIC SEMANTICS – Some TTCN objects allow names, as given in the appropriate protocol standard to be abbreviated. If an abbreviation is used then FullIdentifier shall be given in the declaration of the object. \*/
+StructIdentifier ::= Identifier
+StructTypeGroupRef ::= \$StructTypeGroupRef StructTypeGroupReference
+StructTypeGroupReference ::= [(SuiteIdentifier | TTCN\_ModuleIdentifier) "/" ] {StructTypeGroupIdentifier "/" }
+StructTypeGroupIdentifier ::= Identifier
+ElemDcls ::= \$ElemDcls {ElemDcl}+ \$End\_ElemDcls
+ElemDcl ::= \$ElemDcl ElemId ElemType [PDU\_FieldEncoding] [Comment] \$End\_ElemDcl
+ElemId ::= \$ElemId ElemId&FullId
+ElemId&FullId ::= ElemIdentifier [FullIdentifier]
+ElemIdentifier ::= Identifier
+ElemType ::= \$ElemType Type&Attributes
+/\* STATIC SEMANTICS – There shall be no recursive references (neither directly nor indirectly) in Type&Attributes. \*/
+/\* STATIC SEMANTICS – A structure element Type shall be a PredefinedType, TS\_TypeIdentifier, PDU\_Identifier, or PDU. \*/
+
+#### A.3.3.10.5 ASN.1 Type Definitions
+
+ASN1\_TypeDefs ::= \$ASN1\_TypeDefs {ASN1\_TypeDefOrGroup}+ \$End\_ASN1\_TypeDefs
+ASN1\_TypeDefOrGroup ::= ASN1\_TypeDef | ASN1\_TypeGroup
+ASN1\_TypeGroup ::= \$ASN1\_TypeGroup ASN1\_TypeGroupId {ASN1\_TypeDefOrGroup}+ \$End\_ASN1\_TypeGroup
+ASN1\_TypeGroupId ::= \$ASN1\_TypeGroupId ASN1\_TypeGroupIdentifier
+ASN1\_TypeDef ::= \$Begin\_ASN1\_TypeDef ASN1\_TypeId [ASN1\_TypeGroupRef] [EncVariationId] [Comment] ASN1\_TypeDefinition [Comment] \$End\_ASN1\_TypeDef
+ASN1\_TypeId ::= \$ASN1\_TypeId ASN1\_TypeId&FullId
+ASN1\_TypeId&FullId ::= ASN1\_TypeIdentifier [FullIdentifier]
+ASN1\_TypeIdentifier ::= Identifier
+ASN1\_TypeGroupRef ::= \$ASN1\_TypeGroupRef ASN1\_TypeGroupReference
+ASN1\_TypeGroupReference ::= [(SuiteIdentifier | TTCN\_ModuleIdentifier) "/" ] {ASN1\_TypeGroupIdentifier "/" }
+ASN1\_TypeGroupIdentifier ::= Identifier
+ASN1\_TypeDefinition ::= \$ASN1\_TypeDefinition ASN1\_Type&LocalTypes \$End\_ASN1\_TypeDefinition
+ASN1\_Type&LocalTypes ::= ASN1\_Type {ASN1\_LocalType}
+/\* STATIC SEMANTICS – Types referred to from the ASN1\_Type definition shall be defined in other ASN.1 type definition tables, be defined by reference in the ASN.1 type reference table or be defined locally (i.e., ASN1\_LocalTypes) in the same table, following the first type definition. \*/
+/\* STATIC SEMANTICS – ASN1\_LocalTypes shall not be used in other parts of the test suite. \*/
+ASN1\_Type ::= Type
+/\* REFERENCE – Where Type is a non-terminal defined in ITU-T Rec. X.680
+Type ::= BuiltinType | ReferencedType | ConstrainedType
+For the purposes of TTCN, the production in ITU-T Rec. X.680 which states:
+SubtypeElements ::= SingleValue | ConstrainedSubtype | ValueRange | PermittedAlphabet | SizeConstraint | TypeConstraint | InnerTypeConstraint \*/
+
+is redefined to be:
+
+```
+SubtypeElements ::= SingleValue | ConstrainedSubtype | ValueRange | PermittedAlphabet | SizeConstraint |
+TypeConstraint | InnerTypeConstraint | ASN1_Encoding
+```
+
+This means that ASN1\_Encoding can be applied anywhere that a TypeConstraint can be applied: to the whole of an ASN1\_Type or any ASN.1 Type within the ASN1\_Type or to a SET OF or SEQUENCE OF type (by placing the ASN1\_Encoding in parentheses immediately after the keyword SET or SEQUENCE – unlike for a SizeConstraint in such a position, the parentheses are required since there is no backwards compatibility argument for allowing their omission).
+
+For the purpose of TTCN, the following productions in ITU-T Rec. X.680:
+
+```
+BuiltinType ::=
+```
+
+```
+BitStringType |
+BooleanType |
+CharacterStringType |
+ChoiceType |
+EmbeddedPDUType |
+EnumeratedType |
+ExternalType |
+InstanceOfType |
+IntegerType |
+NullType |
+ObjectClassFieldType |
+ObjectIdentifierType |
+OctetStringType |
+RealType |
+SequenceType |
+SequenceOfType |
+SetType |
+SetOfType |
+TaggedType
+```
+
+```
+ReferencedType ::=
+```
+
+```
+DefinedType |
+UsefulType |
+SelectionType |
+TypeFromObject |
+ValueSetFromObjects
+```
+
+```
+DefinedType ::=
+```
+
+```
+Externaltypereference |
+typereference |
+ParameterizedType |
+ParameterizedValueSetType
+```
+
+```
+Elements ::=
+```
+
+```
+SubtypeElements |
+ObjectSetElements |
+"(" ElementSetSpec ")"
+```
+
+are redefined to be:
+
+```
+BuiltinType ::=
+```
+
+```
+BitStringType |
+BooleanType |
+CharacterStringType |
+ChoiceType |
+EmbeddedPDUType |
+EnumeratedType |
+ExternalType |
+IntegerType |
+NullType |
+ObjectIdentifierType |
+OctetStringType |
+RealType |
+SequenceType |
+SequenceOfType |
+SetType |
+SetOfType |
+TaggedType
+```
+
+```
+
+ReferencedType ::=
+ DefinedType |
+ UsefulType |
+ SelectionType
+
+```
+
+```
+
+DefinedType ::=
+ Externaltypereference |
+ typereference
+
+```
+
+```
+
+Elements ::=
+ SubtypeElements |
+ "(" ElementSetSpec ")" */
+
+```
+
+*/\* STATIC SEMANTICS – Each terminal type reference used within the Type production shall be one of the following: ASN1\_LocalType typereference, TS\_TypeIdentifier or PDU\_Identifier. \*/*
+
+*/\* STATIC SEMANTICS – ASN.1 type definitions used within TTCN shall not use external type references as defined in ITU-T Rec. X.680. \*/*
+
+ASN1\_LocalType ::= Typeassignment
+
+*/\* REFERENCE – Where Typeassignment is a non-terminal defined in ITU-T Rec. X.680. \*/*
+
+*/\* STATIC SEMANTICS – ASN.1 type definitions used within TTCN shall not use external type references as defined in ITU-T Rec. X.680. \*/*
+
+#### A.3.3.10.6 ASN.1 Type Definitions by Reference
+
+ASN1\_TypeRefsOrGroup ::= ASN1\_TypeRefs | ASN1\_TypeRefsGroup
+
+ASN1\_TypeRefsGroup ::= **\$ASN1\_TypeRefsGroup** ASN1\_TypeRefsGroupId {ASN1\_TypeRefsOrGroup}+ **\$End\_ASN1\_TypeRefsGroup**
+
+ASN1\_TypeRefsGroupId ::= **\$ASN1\_TypeRefsGroupId** ASN1\_TypeGroupIdIdentifier
+
+ASN1\_TypeRefs ::= **\$Begin\_ASN1\_TypeRefs** [ASN1\_TypeRefsGroupRef] {[CollComment] ASN1\_TypeRef}+ [Comment] **\$End\_ASN1\_TypeRefs**
+
+ASN1\_TypeRefsGroupRef ::= **\$ASN1\_TypeRefsGroupRef** ASN1\_TypeGroupReference
+
+ASN1\_TypeRef ::= **\$ASN1\_TypeRef** ASN1\_TypeId ASN1\_TypeReference ASN1\_ModuleId [EncVariationId] [Comment] **\$End\_ASN1\_TypeRef**
+
+*/\* STATIC SEMANTICS – ASN1\_TypeId shall not be specified with a FullIdentifier. \*/*
+
+ASN1\_TypeReference ::= **\$ASN1\_TypeReference** TypeReference
+
+TypeReference ::= typereference
+
+*/\* REFERENCE – Where typereference is a non-terminal defined in ITU-T Rec. X.680. \*/*
+
+*/\* STATIC SEMANTICS – If the ASN.1 type definition has a reference to another type in the same ASN.1 Module, the referenced type is implicitly imported (in the same way as for a TTCN module). \*/*
+
+ASN1\_ModuleId ::= **\$ASN1\_ModuleId** ASN1\_ModuleIdentifier
+
+ASN1\_ModuleIdentifier ::= ModuleIdentifier
+
+*/\* REFERENCE – Where ModuleIdentifier is a non-terminal defined in ITU-T Rec. X.680. \*/*
+
+*/\* STATIC SEMANTICS – ModuleIdentifier shall be unique within the domain of interest. \*/*
+
+#### A.3.3.10.7 Test Suite Operation Definitions
+
+TS\_OpDefs ::= **\$TS\_OpDefs** {TS\_OpDefOrGroup}+ **\$End\_TS\_OpDefs**
+
+TS\_OpDefOrGroup ::= TS\_OpDef | TS\_OpDefGroup
+
+TS\_OpDefGroup ::= **\$TS\_OpDefGroup** TS\_OpDefGroupId {TS\_OpDefOrGroup}+ **\$End\_TS\_OpDefGroup**
+
+TS\_OpDefGroupId ::= **\$TS\_OpDefGroupId** TS\_OpDefGroupIdIdentifier
+
+TS\_OpDefGroupIdIdentifier ::= Identifier
+
+TS\_OpDef ::= **\$Begin\_TS\_OpDef** TS\_OpId [TS\_OpGroupRef] TS\_OpResult [Comment] TS\_OpDescription [Comment] **\$End\_TS\_OpDef**
+
+TS\_OpId ::= **\$TS\_OpId** TS\_OpId&ParList
+
+TS\_OpId&ParList ::= TS\_OpIdentifier [FormalParList]
+
+*/\* STATIC SEMANTICS – A Test Suite Operation formal parameter Type shall be a PredefinedType, TS\_TypeIdentifier, PDU\_Identifier or ASP\_Identifier, or the meta-type PDU \*/*
+
+TS\_OpIdentifier ::= Identifier
+
+TS\_OpGroupRef ::= **\$TS\_OpGroupRef** TS\_OpGroupReference
+
+TS\_OpGroupReference ::= [(SuiteIdentifier | TTCN\_ModuleIdentifier) "/" ] {TS\_OpGroupIdIdentifier "/" }
+
+TS\_OpGroupIdIdentifier ::= Identifier
+
+TS\_OpResult ::= **\$TS\_OpResult** TypeOrPDU
+
+*/\* STATIC SEMANTICS – TypeOrPDU shall be a PredefinedType, TS\_TypeIdentifier, PDU\_Identifier or ASP\_Identifier, or the meta-type PDU. \*/*
+
+TS\_OpDescription ::= **\$TS\_OpDescription** BoundedFreeText
+
+#### A.3.3.10.8 Test Suite Operation Procedural Definitions
+
+TS\_ProcDefs ::= **\$TS\_ProcDefs** {TS\_ProcDefOrGroup}+ **\$End\_TS\_ProcDefs**
+
+TS\_ProcDefOrGroup ::= TS\_ProcDef | TS\_ProcDefGroup
+
+TS\_ProcDefGroup ::= **\$TS\_ProcDefGroup** TS\_ProcDefGroupId {TS\_ProcDefOrGroup}+ **\$End\_TS\_ProcDefGroup**
+
+TS\_ProcDefGroupId ::= **\$TS\_ProcDefGroupId** TS\_ProcDefGroupIdIdentifier
+
+```
+
+150 TS_ProcDefGroupIdentifier ::= Identifier
+151 TS_ProcDef ::= $Begin_TS_ProcDef TS_ProcId [TS_ProcGroupRef] TS_ProcResult [Comment] TS_ProcDescription
+[Comment] $End_TS_ProcDef
+152 TS_ProcId ::= $TS_ProcId TS_ProcId&ParList
+153 TS_ProcId&ParList ::= TS_ProcIdentifier [FormalParList]
+/* STATIC SEMANTICS – A procedural Test Suite Operation formal parameter Type shall be a PredefinedType,
+TS_TypeIdentifier, PDU_Identifier or ASP_Identifier, or the meta-type PDU*/
+154 TS_ProcIdentifier ::= Identifier
+155 TS_ProcGroupRef ::= $TS_ProcGroupRef TS_ProcGroupReference
+156 TS_ProcGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {TS_ProcGroupIdentifier "/"}
+157 TS_ProcGroupIdentifier ::= Identifier
+158 TS_ProcResult ::= $TS_ProcResult TypeOrPDU
+/* STATIC SEMANTICS – TypeOrPDU shall be a PredefinedType, TS_TypeIdentifier, PDU_Identifier or ASP_Identifier,
+or the meta-type PDU. */
+159 TS_ProcDescription ::= $TS_ProcDescription TS_OpProcDef $End_TS_ProcDescription
+160 TS_OpProcDef ::= [VarBlock] ProcStatement
+/* NOTE – Comments are allowed within TS_OpProcDef, starting with "/*" and ending with "*/", but it is assumed that
+these comments are removed before the syntax is parsed. Hence the BNF does not include the syntax of such embedded
+comments. */
+161 VarBlock ::= VAR VarDcls ENDVAR
+162 VarDcls ::= {VarDcl SemiColon}
+163 VarDcl ::= [STATIC] VarIdentifiers Colon TypeOrPDU [Colon Value]
+164 VarIdentifiers ::= VarIdentifier {Comma VarIdentifier}
+165 VarIdentifier ::= Identifier
+166 ProcStatement ::= ReturnValueStatement | Assignment | IfStatement | WhileLoop | CaseStatement | ProcBlock
+167 ReturnValueStatement ::= RETURNVALUE Expression
+168 IfStatement ::= IF Expression THEN {ProcStatement SemiColon}+ [ELSE {ProcStatement SemiColon}+] ENDIF
+169 WhileLoop ::= WHILE Expression DO {ProcStatement SemiColon}+ ENDWHILE
+170 CaseStatement ::= CASE Expression OF {CaseClause SemiColon}+ [ELSE {ProcStatement SemiColon}+] ENDCASE
+171 CaseClause ::= IntegerLabel Colon ProcStatement
+172 IntegerLabel ::= Number | TS_ParIdentifier | TS_ConstIdentifier
+173 ProcBlock ::= BEGIN {ProcStatement SemiColon}+ END
+
+```
+
+### A.3.3.11 Parameterization and Selection
+
+#### A.3.3.11.1 General
+
+```
+
+174 Parameterization&Selection ::= {TS_ParDclsOrGroup} {SelectExprDefsOrGroup}
+
+```
+
+#### A.3.3.11.2 Test Suite Parameter Declarations
+
+```
+
+175 TS_ParDclsOrGroup ::= TS_ParDcls | TS_ParDclsGroup
+176 TS_ParDclsGroup ::= $TS_ParDclsGroup TS_ParDclsGroupId {TS_ParDclsOrGroup}+ $End_TS_ParDclsGroup
+177 TS_ParDclsGroupId ::= $TS_ParDclsGroupId TS_ParDclsGroupIdentifier
+178 TS_ParDclsGroupIdentifier ::= Identifier
+179 TS_ParDcls ::= $Begin_TS_ParDcls [TS_ParGroupRef] {[CollComment] TS_ParDcl}+ [Comment] $End_TS_ParDcls
+180 TS_ParGroupRef ::= $TS_ParGroupRef TS_ParGroupReference
+181 TS_ParGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {TS_ParGroupIdentifier "/"}
+182 TS_ParGroupIdentifier ::= Identifier
+183 TS_ParDcl ::= $TS_ParDcl TS_ParId TS_ParType [TS_ParDefault] PICS_PIXITref [Comment] $End_TS_ParDcl
+184 TS_ParId ::= $TS_ParId TS_ParIdentifier
+185 TS_ParIdentifier ::= Identifier
+186 TS_ParType ::= $TS_ParType TypeOrPDU
+/* STATIC SEMANTICS – TypeOrPDU shall be a PredefinedType, TS_TypeIdentifier, PDU_Identifier or ASP_Identifier,
+or the meta-type PDU. */
+187 TS_ParDefault ::= $TS_ParDefault [ConstantExpression]
+/* OPERATIONAL SEMANTICS – ConstantExpression shall evaluate to an element of its declared type. */
+188 PICS_PIXITref ::= $PICS_PIXITref BoundedFreeText
+
+```
+
+#### A.3.3.11.3 Test Case Selection Expression Definitions
+
+```
+
+189 SelectExprDefsOrGroup ::= SelectExprDefs | SelectExprDefsGroup
+190 SelectExprDefsGroup ::= $SelectExprDefsGroup SelectExprDefsGroupId {SelectExprDefsOrGroup}+
+$End_SelectExprDefsGroup
+191 SelectExprDefsGroupId ::= $SelectExprDefsGroupId SelectExprDefsGroupIdentifier
+192 SelectExprDefsGroupIdentifier ::= Identifier
+193 SelectExprDefs ::= $Begin_SelectExprDefs [SelectExprGroupRef] {[CollComment] SelectExprDef}+ [Comment]
+$End_SelectExprDefs
+194 SelectExprGroupRef ::= $SelectExprGroupRef SelectExprGroupReference
+195 SelectExprGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {SelectExprGroupIdentifier "/"}
+
+```
+
+```
+
+196 SelectExprGroupIdentifier ::= Identifier
+197 SelectExprDef ::= $SelectExprDef SelectExprId SelectExpr [Comment] $End_SelectExprDef
+198 SelectExprId ::= $SelectExprId SelectExprIdentifier
+199 SelectExprIdentifier ::= Identifier
+200 SelectExpr ::= $SelectExpr SelectionExpression
+201 SelectionExpression ::= ConstantExpression
+ /* OPERATIONAL SEMANTICS – SelectionExpression shall evaluate to a specific BOOLEAN value. */
+ /* STATIC SEMANTICS – ConstantExpression shall not recursively refer (neither directly nor indirectly) to the
+ SelExprIdentifier being defined by that Expression. */
+
+```
+
+### A.3.3.12 Declarations
+
+#### A.3.3.12.1 General
+
+```
+
+202 Declarations ::= {TS_ConstDclsOrGroup} {TS_ConstRefsOrGroup} {TS_VarDclsOrGroup} {TC_VarDclsOrGroup}
+ {PCO_TypeDclsOrGroup} {PCO_DclsOrGroup} {CP_DclsOrGroup} {TimerDclsOrGroup} {TcompDclsOrGroup}
+ [TCompConfigDcls]
+
+```
+
+#### A.3.3.12.2 Test Suite Constant Declarations
+
+```
+
+203 TS_ConstDclsOrGroup ::= TS_ConstDcls | TS_ConstDclsGroup
+204 TS_ConstDclsGroup ::= $TS_ConstDclsGroup TS_ConstDclsGroupId {TS_ConstDclsOrGroup}+
+ $End_TS_ConstDclsGroup
+205 TS_ConstDclsGroupId ::= $TS_ConstDclsGroupId TS_ConstDclsGroupIdentifier
+206 TS_ConstDclsGroupIdentifier ::= Identifier
+207 TS_ConstDcls ::= $Begin_TS_ConstDcls [TS_ConstGroupRef] {[CollComment] TS_ConstDcl}+ [Comment]
+ $End_TS_ConstDcls
+208 TS_ConstGroupRef ::= $TS_ConstGroupRef TS_ConstGroupReference
+209 TS_ConstGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {TS_ConstGroupIdentifier "/"}
+210 TS_ConstGroupIdentifier ::= Identifier
+211 TS_ConstDcl ::= $TS_ConstDcl TS_ConstId TS_ConstType TS_ConstValue [Comment] $End_TS_ConstDcl
+212 TS_ConstId ::= $TS_ConstId TS_ConstIdentifier
+213 TS_ConstIdentifier ::= Identifier
+214 TS_ConstType ::= $TS_ConstType Type
+ /* STATIC SEMANTICS – Type shall not be a structured type, PDU type, ASP type or CM type expressed in tabular form.
+ */
+215 TS_ConstValue ::= $TS_ConstValue ConstantExpression
+ /* OPERATIONAL SEMANTICS – ConstantExpression shall evaluate to an element of its declared type. */
+
+```
+
+#### A.3.3.12.3 Test Suite Constant Declarations by Reference
+
+```
+
+216 TS_ConstRefsOrGroup ::= TS_ConstRefs | TS_ConstRefsGroup
+217 TS_ConstRefsGroup ::= $TS_ConstRefsGroup TS_ConstRefsGroupId {TS_ConstRefsOrGroup}+
+ $End_TS_ConstRefsGroup
+218 TS_ConstRefsGroupId ::= $TS_ConstRefsGroupId TS_ConstRefsGroupIdentifier
+219 TS_ConstRefsGroupIdentifier ::= Identifier
+220 TS_ConstRefs ::= $Begin_TS_ConstRefs [TS_ConstRefsGroupRef] {[CollComment] TS_ConstRef}+ [Comment]
+ $End_TS_ConstRefs
+221 TS_ConstRefsGroupRef ::= $TS_ConstRefsGroupRef TS_ConstGroupReference
+222 TS_ConstRef ::= $TS_ConstRef TS_ConstId TS_ConstType ASN1_ValueReference ASN1_ModuleId [Comment]
+ $End_TS_ConstRef
+ /* STATIC SEMANTICS – Type in TS_ConstType shall be either a PredefinedType or an ASN1_Type imported by an
+ ASN.1 Type Definition By Reference from the module referenced by ASN1_ModuleId. */
+223 ASN1_ValueReference ::= $ASN1_ValueReference ValueReference
+224 ValueReference ::= valuereference
+ /* REFERENCE – valuereference is a non-terminal defined in ITU-T Rec. X.680. */
+ /* STATIC SEMANTICS – The value shall correspond to an element of the type in TS_ConstType. */
+
+```
+
+#### A.3.3.12.4 Test Suite Variable Declarations
+
+```
+
+225 TS_VarDclsOrGroup ::= TS_VarDcls | TS_VarDclsGroup
+226 TS_VarDclsGroup ::= $TS_VarDclsGroup TS_VarDclsGroupId {TS_VarDclsOrGroup}+ $End_TS_VarDclsGroup
+227 TS_VarDclsGroupId ::= $TS_VarDclsGroupId TS_VarDclsGroupIdentifier
+228 TS_VarDclsGroupIdentifier ::= Identifier
+229 TS_VarDcls ::= $Begin_TS_VarDcls [TS_VarGroupRef] {[CollComment] TS_VarDcl}+ [Comment] $End_TS_VarDcls
+230 TS_VarGroupRef ::= $TS_VarGroupRef TS_VarGroupReference
+231 TS_VarGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {TS_VarGroupIdentifier "/"}
+232 TS_VarGroupIdentifier ::= Identifier
+233 TS_VarDcl ::= $TS_VarDcl TS_VarId TS_VarType TS_VarValue [Comment] $End_TS_VarDcl
+234 TS_VarId ::= $TS_VarId TS_VarIdentifier
+
+```
+
+```
+
+235 TS_VarIdentifier ::= Identifier
+236 TS_VarType ::= $TS_VarType TypeOrPDU
+/* STATIC SEMANTICS – TypeOrPDU shall be a PredefinedType, TS_TypeIdentifier, PDU_Identifier or ASP_Identifier,
+or the meta-type PDU. */
+237 TS_VarValue ::= $TS_VarValue [ConstantExpression]
+
+```
+
+#### A.3.3.12.5 Test Case Variable Declarations
+
+```
+
+238 TC_VarDclsOrGroup ::= TC_VarDcls | TC_VarDclsGroup
+239 TC_VarDclsGroup ::= $TC_VarDclsGroup TC_VarDclsGroupId {TC_VarDclsOrGroup}+ $End_TC_VarDclsGroup
+240 TC_VarDclsGroupId ::= $TC_VarDclsGroupId TC_VarDclsGroupIdentifier
+241 TC_VarDclsGroupIdentifier ::= Identifier
+242 TC_VarDcls ::= $Begin_TC_VarDcls [TC_VarGroupRef] {[CollComment] TC_VarDcl}+ [Comment] $End_TC_VarDcls
+243 TC_VarGroupRef ::= $TC_VarGroupRef TC_VarGroupReference
+244 TC_VarGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {TC_VarGroupIdentifier "/"}
+245 TC_VarGroupIdentifier ::= Identifier
+246 TC_VarDcl ::= $TC_VarDcl TC_VarId TC_VarType TC_VarValue [Comment] $End_TC_VarDcl
+247 TC_VarId ::= $TC_VarId TC_VarIdentifier
+248 TC_VarIdentifier ::= Identifier
+249 TC_VarType ::= $TC_VarType TypeOrPDU
+/* STATIC SEMANTICS – TypeOrPDU shall be a PredefinedType, TS_TypeIdentifier, PDU_Identifier or ASP_Identifier,
+or the meta-type PDU. */
+250 TC_VarValue ::= $TC_VarValue [ConstantExpression]
+
+```
+
+#### A.3.3.12.6 PCO Type Declaration
+
+```
+
+251 PCO_TypeDclsOrGroup ::= PCO_TypeDcls | PCO_TypeDclsGroup
+252 PCO_TypeDclsGroup ::= $PCO_TypeDclsGroup PCO_TypeDclsGroupId {PCO_TypeDclsOrGroup}+ $End_PCO_TypeDclsGroup
+253 PCO_TypeDclsGroupId ::= $PCO_TypeDclsGroupId PCO_TypeDclsGroupIdentifier
+254 PCO_TypeDclsGroupIdentifier ::= Identifier
+255 PCO_TypeDcls ::= $Begin_PCO_TypeDcls [PCO_TypeGroupRef] {[CollComment] PCO_TypeDcl}+ [Comment] $End_PCO_TypeDcls
+256 PCO_TypeGroupRef ::= $PCO_TypeGroupRef PCO_GroupReference
+257 PCO_TypeDcl ::= $PCO_TypeDcl PCO_TypeId RoleOrComment $End_PCO_TypeDcl
+258 PCO_TypeId ::= $PCO_TypeId PCO_TypeIdentifier
+259 PCO_TypeIdentifier ::= Identifier
+260 RoleOrComment ::= P_Role [Comment] | Comment
+/* NOTE – Since each PCO_Type in a PCO Type Declaration Table has to have a role specified in either the Role or
+Comment column, at least one of P_Role or Comment is required to be present. */
+
+```
+
+#### A.3.3.12.7 PCO Declarations
+
+```
+
+261 PCO_DclsOrGroup ::= PCO_Dcls | PCO_DclsGroup
+262 PCO_DclsGroup ::= $PCO_DclsGroup PCO_DclsGroupId {PCO_DclsOrGroup}+ $End_PCO_DclsGroup
+263 PCO_DclsGroupId ::= $PCO_DclsGroupId PCO_DclsGroupIdentifier
+264 PCO_DclsGroupIdentifier ::= Identifier
+265 PCO_Dcls ::= $Begin_PCO_Dcls [PCO_GroupRef] {[CollComment] PCO_Dcl}+ [Comment] $End_PCO_Dcls
+/* STATIC SEMANTICS – To be in accordance with ITU-T Rec. X.290 the number of PCOs shall relate to the test method
+used. */
+266 PCO_GroupRef ::= $PCO_GroupRef PCO_GroupReference
+267 PCO_GroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {PCO_GroupIdentifier "/"}
+268 PCO_GroupIdentifier ::= Identifier
+269 PCO_Dcl ::= $PCO_Dcl PCO_Id PCO_TypeId&MuxValue [P_Role] [Comment] $End_PCO_Dcl
+270 PCO_Id ::= $PCO_Id PCO_Identifier
+271 PCO_Identifier ::= Identifier
+272 PCO_TypeId&MuxValue ::= $PCO_TypeId PCO_TypeIdentifier ["(" MuxValue ")"]
+273 MuxValue ::= TS_ParIdentifier
+274 P_Role ::= $PCO_Role [PCO_Role]
+275 PCO_Role ::= UT | LT
+
+```
+
+#### A.3.3.12.8 CP Declarations
+
+```
+
+276 CP_DclsOrGroup ::= CP_Dcls | CP_DclsGroup
+277 CP_DclsGroup ::= $CP_DclsGroup CP_DclsGroupId {CP_DclsOrGroup}+ $End_CP_DclsGroup
+278 CP_DclsGroupId ::= $CP_DclsGroupId CP_DclsGroupIdentifier
+279 CP_DclsGroupIdentifier ::= Identifier
+280 CP_Dcls ::= $Begin_CP_Dcls [CP_GroupRef] {[CollComment] CP_Dcl}+ [Comment] $End_CP_Dcls
+281 CP_GroupRef ::= $CP_GroupRef CP_GroupReference
+282 CP_GroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {CP_GroupIdentifier "/"}
+
+```
+
+```
+
+283 CP_GroupIdentifier ::= Identifier
+284 CP_Dcl ::= $CP_Dcl CP_Id [Comment] $End_CP_Dcl
+285 CP_Id ::= $CP_Id CP_Identifier
+286 CP_Identifier ::= Identifier
+
+```
+
+### A.3.3.12.9 Timer Declarations
+
+```
+
+287 TimerDclsOrGroup ::= TimerDcls | TimerDclsGroup
+288 TimerDclsGroup ::= $TimerDclsGroup TimerDclsGroupId {TimerDclsOrGroup}+ $End_TimerDclsGroup
+289 TimerDclsGroupId ::= $TimerDclsGroupId TimerDclsGroupIdentifier
+290 TimerDclsGroupIdentifier ::= Identifier
+291 TimerDcls ::= $Begin_TimerDcls [TimerGroupRef] {[CollComment] TimerDcl}+ [Comment] $End_TimerDcls
+292 TimerGroupRef ::= $TimerGroupRef TimerGroupReference
+293 TimerGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {TimerGroupIdentifier "/"}
+294 TimerGroupIdentifier ::= Identifier
+295 TimerDcl ::= $TimerDcl TimerId Duration Unit [Comment] $End_TimerDcl
+296 TimerId ::= $TimerId TimerIdentifier
+297 TimerIdentifier ::= Identifier
+298 Duration ::= $Duration [ConstantExpression]
+/* OPERATIONAL SEMANTICS – ConstantExpression shall evaluate to a non-zero positive INTEGER. */
+299 Unit ::= $Unit TimeUnit
+300 TimeUnit ::= ps | ns | us | ms | s | min
+/* STATIC SEMANTICS – If a timer is derived from the PICS/PIXIT then the timer declaration shall specify the same
+units as the PICS/PIXIT entry. */
+
+```
+
+### A.3.3.12.10 Test Component Declarations
+
+```
+
+301 TCompDclsOrGroup ::= TCompDcls | TCompDclsGroup
+302 TCompDclsGroup ::= $TCompDclsGroup TCompDclsGroupId {TCompDclsOrGroup}+ $End_TCompDclsGroup
+303 TCompDclsGroupId ::= $TCompDclsGroupId TCompDclsGroupIdentifier
+304 TCompDclsGroupIdentifier ::= Identifier
+305 TCompDcls ::= $Begin_TCompDcls [TCompGroupRef] {[CollComment] TCompDcl}+ [Comment] $End_TCompDcls
+306 TCompGroupRef ::= $TCompGroupRef TCompGroupReference
+307 TCompGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {TCompGroupIdentifier "/"}
+308 TCompGroupIdentifier ::= Identifier
+309 TCompDcl ::= $TCompDcl TCompId C_Role NumOf_PCOs NumOf_CPs [Comment] $End_TCompDcl
+310 TCompId ::= $TCompId TCompIdentifier
+311 TCompIdentifier ::= Identifier
+312 C_Role ::= $TCompRole TCompRole
+313 TCompRole ::= MTC | PTC
+314 NumOf_PCOs ::= $NumOf_PCOs Num_PCOs
+315 Num_PCOs ::= Number
+316 NumOf_CPs ::= $NumOf_CPs Num_CPs
+317 Num_CPs ::= Number
+
+```
+
+### A.3.3.12.11 Test Component Configuration Declarations
+
+```
+
+318 TCompConfigDcls ::= $TCompConfigDcls {TCompConfigDclOrGroup}+ $End_TCompConfigDcls
+319 TCompConfigDclOrGroup ::= TCompConfigDcl | TCompConfigDclGroup
+320 TCompConfigDclGroup ::= $TCompConfigDclGroup TCompConfigDclGroupId {TCompConfigDclOrGroup}+
+$End_TCompConfigDclGroup
+321 TCompConfigDclGroupId ::= $TCompConfigDclGroupId TCompConfigDclGroupIdentifier
+322 TCompConfigDclGroupIdentifier ::= Identifier
+323 TCompConfigDcl ::= $Begin_TCompConfigDcl TCompConfigId [TCompConfigGroupRef] [Comment]
+TCompConfigInfos [Comment] $End_TCompConfigDcl
+324 TCompConfigId ::= $TCompConfigId TCompConfigIdentifier
+325 TCompConfigIdentifier ::= Identifier
+326 TCompConfigGroupRef ::= $TCompConfigGroupRef TCompConfigGroupReference
+327 TCompConfigGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {TCompConfigGroupIdentifier "/"}
+328 TCompConfigGroupIdentifier ::= Identifier
+329 TCompConfigInfos ::= $TCompConfigInfos {TCompConfigInfo}+ $End_TCompConfigInfos
+/* STATIC SEMANTICS – Exactly one of the TCompConfigInfos shall be for a Test Components which has a
+TCompRole which is MTC. */
+330 TCompConfigInfo ::= $TCompConfigInfo TCompUsed PCOs_Used CPs_Used [Comment] $End_TCompConfigInfo
+331 TCompUsed ::= $TCompUsed TCompIdentifier
+332 PCOs_Used ::= $PCOs_Used [PCO_List]
+333 PCO_List ::= PCO_Identifier {Comma PCO_Identifier}
+/* STATIC SEMANTICS – The number of PCOs in the PCO_List shall be the same as in the Test Component declaration.
+*/
+/* STATIC SEMANTICS – A given PCO_Identifier shall not be used more than once in the same Test Component
+Configuration. */
+
+```
+
+```
+
+334 CPs_Used ::= $CPs_Used [CP_List]
+335 CP_List ::= CP_Identifier {Comma CP_Identifier}
+/* STATIC SEMANTICS – For a PTC, the number of CPs in the CP_List shall be the same as in the Test Component
+declaration. */
+/* STATIC SEMANTICS – For an MTC, the number of CPs in the CP_List shall be no more than the number in the Test
+Component declaration. */
+/* STATIC SEMANTICS – A given CP_Identifier shall not appear more than once in a given CP_List. */
+/* STATIC SEMANTICS – Each CP_Identifier which is used in a Test Component Configuration shall appear in the
+CP_List of precisely two Test Components in that Configuration. */
+
+```
+
+### A.3.3.13 ASP, PDU and CM Type Definitions
+
+#### A.3.3.13.1 General
+
+```
+
+336 ComplexDefinitions ::= [ASP_TypeDefs] [PDU_TypeDefs] [CM_TypeDefs] {AliasDefsOrGroup}
+/* STATIC SEMANTICS – PDUs shall be optional */
+
+```
+
+#### A.3.3.13.2 ASP Type Definitions
+
+```
+
+337 ASP_TypeDefs ::= $ASP_TypeDefs [TTCN_ASP_TypeDefs] [ASN1_ASP_TypeDefs]
+{ASN1_ASP_TypeDefsByRefOrGroup} $End_ASP_TypeDefs
+
+```
+
+#### A.3.3.13.3 Tabular ASP Type Definitions
+
+```
+
+338 TTCN_ASP_TypeDefs ::= $TTCN_ASP_TypeDefs {TTCN_ASP_TypeDefOrGroup}+ $End_TTCN_ASP_TypeDefs
+339 TTCN_ASP_TypeDefOrGroup ::= TTCN_ASP_TypeDef | TTCN_ASP_TypeDefGroup
+340 TTCN_ASP_TypeDefGroup ::= $TTCN_ASP_TypeDefGroup TTCN_ASP_TypeDefGroupId
+{TTCN_ASP_TypeDefOrGroup}+ $End_TTCN_ASP_TypeDefGroup
+341 TTCN_ASP_TypeDefGroupId ::= $TTCN_ASP_TypeDefGroupId ASP_GroupIdentifier
+342 TTCN_ASP_TypeDef ::= $Begin_TTCN_ASP_TypeDef ASP_Id [ASP_GroupRef] PCO_Type [Comment] ASP_ParDcls
+[Comment] $End_TTCN_ASP_TypeDef
+343 ASP_Id ::= $ASP_Id ASP_Id&FullId
+344 ASP_Id&FullId ::= ASP_Identifier [FullIdentifier]
+345 ASP_Identifier ::= Identifier
+/* STATIC SEMANTICS – Identifier may be AliasIdentifier provided that it is being used in the behaviour column of a
+behaviour table (i.e., in a Behaviour Description). */
+346 ASP_GroupRef ::= $ASP_GroupRef ASP_GroupReference
+347 ASP_GroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {ASP_GroupIdentifier "/" }
+348 ASP_GroupIdentifier ::= Identifier
+349 PCO_Type ::= $PCO_Type [PCO_TypeIdentifier]
+/* STATIC SEMANTICS – If there is no PCO_Type declaration table then, PCO_TypeIdentifier shall be one of the PCO
+types used in the PCO declaration table. */
+/* STATIC SEMANTICS – If only a single PCO is defined within a test suite then PCO_TypeIdentifier is optional. */
+350 ASP_ParDcls ::= $ASP_ParDcls {ASP_ParDcl} $End_ASP_ParDcls
+351 ASP_ParDcl ::= $ASP_ParDcl ASP_ParId ASP_ParType [Comment] $End_ASP_ParDcl
+352 ASP_ParId ::= $ASP_ParId ASP_ParIdOrMacro
+353 ASP_ParIdOrMacro ::= ASP_ParId&FullId | MacroSymbol
+/* STATIC SEMANTICS – The MacroSymbol shall be used only in combination with a reference to a Structured Type. */
+354 ASP_ParId&FullId ::= ASP_ParIdentifier [FullIdentifier]
+355 ASP_ParIdentifier ::= Identifier
+356 ASP_ParType ::= $ASP_ParType Type&Attributes
+/* STATIC SEMANTICS – Type shall be a PredefinedType or TS_TypeIdentifier, PDU_Identifier, or PDU. */
+
+```
+
+#### A.3.3.13.4 ASN.1 ASP Type Definitions
+
+```
+
+357 ASN1_ASP_TypeDefs ::= $ASN1_ASP_TypeDefs {ASN1_ASP_TypeDefOrGroup} $End_ASN1_ASP_TypeDefs
+358 ASN1_ASP_TypeDefOrGroup ::= ASN1_ASP_TypeDef | ASN1_ASP_TypeDefGroup
+359 ASN1_ASP_TypeDefGroup ::= $ASN1_ASP_TypeDefGroup ASN1_ASP_TypeDefGroupId
+{ASN1_ASP_TypeDefOrGroup}+ $End_ASN1_ASP_TypeDefGroup
+360 ASN1_ASP_TypeDefGroupId ::= $ASN1_ASP_TypeDefGroupId ASN1_ASP_GroupIdentifier
+361 ASN1_ASP_TypeDef ::= $Begin_ASN1_ASP_TypeDef ASP_Id [ASN1_ASP_GroupDef] PCO_Type [Comment]
+ASN1_TypeDefinition [Comment] $End_ASN1_ASP_TypeDef
+362 ASN1_ASP_GroupRef ::= $ASN1_ASP_GroupRef ASN1_ASP_GroupReference
+363 ASN1_ASP_GroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {ASN1_ASP_GroupIdentifier "/" }
+364 ASN1_ASP_GroupIdentifier ::= Identifier
+
+```
+
+#### A.3.3.13.5 ASN.1 ASP Type Definitions by Reference
+
+```
+
+365 ASN1_ASP_TypeDefsByRefOrGroup ::= ASN1_ASP_TypeDefsByRef | ASN1_ASP_TypeDefsByRefGroup
+366 ASN1_ASP_TypeDefsByRefGroup ::= $ASN1_ASP_TypeDefsByRefGroup ASN1_ASP_TypeDefsByRefGroupId
+{ASN1_ASP_TypeDefsByRefOrGroup}+ $End_ASN1_ASP_TypeDefsByRefGroup
+
+```
+
+```
+
+367 ASN1_ASP_TypeDefsByRefGroupId ::= $ASN1_ASP_TypeDefsByRefGroupId ASN1_ASP_GroupIdentifier
+368 ASN1_ASP_TypeDefsByRef ::= $Begin_ASN1_ASP_TypeDefsByRef [ASN1_ASP_DefsByRefGroupRef]
+ {[CollComment] ASN1_ASP_TypeDefByRef}+ [Comment] $End_ASN1_ASP_TypeDefsByRef
+369 ASN_ASP_DefsByRefGroupRef ::= $ASN1_ASP_DefsByRefGroupRef ASN1_ASP_GroupReference
+370 ASN1_ASP_TypeDefByRef ::= $ASN1_ASP_TypeDefByRef ASP_Id PCO_Type ASN1_TypeReference
+ ASN1_ModuleId [Comment] $End_ASN1_ASP_TypeDefByRef
+ /* STATIC SEMANTICS – ASP_Id shall not be specified with a FullIdentifier. */
+
+```
+
+### A.3.3.13.6 PDU Type Definitions
+
+```
+
+371 PDU_TypeDefs ::= $PDU_TypeDefs [TTCN_PDU_TypeDefs] [ASN1_PDU_TypeDefs]
+ {ASN1_PDU_TypeDefsByRefOrGroup} $End_PDU_TypeDefs
+
+```
+
+### A.3.3.13.7 Tabular PDU Type Definitions
+
+```
+
+372 TTCN_PDU_TypeDefs ::= $TTCN_PDU_TypeDefs {TTCN_PDU_TypeDefOrGroup}+ $End_TTCN_PDU_TypeDefs
+373 TTCN_PDU_TypeDefOrGroup ::= TTCN_PDU_TypeDef | TTCN_PDU_TypeDefGroup
+374 TTCN_PDU_TypeDefGroup ::= $TTCN_PDU_TypeDefGroup TTCN_PDU_TypeDefGroupId
+ {TTCN_PDU_TypeDefOrGroup}+ $End_TTCN_PDU_TypeDefGroup
+375 TTCN_PDU_TypeDefGroupId ::= $TTCN_PDU_TypeDefGroupId PDU_GroupIdentifier
+376 TTCN_PDU_TypeDef ::= $Begin_TTCN_PDU_TypeDef PDU_Id [PDU_GroupRef] PCO_Type [PDU_EncodingId]
+ [EncVariationId] [Comment] PDU_FieldDcls [Comment] $End_TTCN_PDU_TypeDef
+ /* STATIC SEMANTICS – If a PDU is sent or received only embedded in ASPs within the whole test suite, then
+ PCO_TypeIdentifier (in PCO_Type) is optional. */
+377 PDU_Id ::= $PDU_Id PDU_Id&FullId
+378 PDU_Id&FullId ::= PDU_Identifier [FullIdentifier]
+379 PDU_Identifier ::= Identifier
+ /* STATIC SEMANTICS – Identifier may be AliasIdentifier provided that it is being used in the behaviour column of a
+ behaviour table (i.e., in a Behaviour Description). */
+380 PDU_GroupRef ::= $PDU_GroupRef PDU_GroupReference
+381 PDU_GroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {PDU_GroupIdentifier "/"}
+382 PDU_GroupIdentifier ::= Identifier
+383 PDU_EncodingId ::= $PDU_EncodingId [EncodingRuleIdentifier]
+384 PDU_FieldDcls ::= $PDU_FieldDcls {PDU_FieldDel} $End_PDU_FieldDcls
+385 PDU_FieldDel ::= $PDU_FieldDel PDU_FieldId PDU_FieldType [PDU_FieldEncoding] [Comment]
+ $End_PDU_FieldDel
+386 PDU_FieldId ::= $PDU_FieldId PDU_FieldIdOrMacro
+387 PDU_FieldIdOrMacro ::= PDU_FieldId&FullId | MacroSymbol
+ /* STATIC SEMANTICS – The MacroSymbol shall be used only in combination with a reference to a Structured Type. */
+388 MacroSymbol ::= "<-"
+389 PDU_FieldId&FullId ::= PDU_FieldIdentifier [FullIdentifier]
+390 PDU_FieldIdentifier ::= Identifier
+391 PDU_FieldType ::= $PDU_FieldType Type&Attributes
+ /* STATIC SEMANTICS – Type shall be a PredefinedType or TS_TypeIdentifier, PDU_Identifier, or PDU. */
+392 Type&Attributes ::= (Type [LengthRestriction]) | PDU
+ /* OPERATIONAL SEMANTICS – The set of values defined by LengthRestriction shall be a true subset of the values of
+ the base type. */
+ /* STATIC SEMANTICS – LengthRestriction shall be provided only when the base type is a string type (i.e., BITSTRING,
+ HEXSTRING, OCTETSTRING or CharacterString) or derived from a string type. */
+
+```
+
+### A.3.3.13.8 ASN.1 PDU Type Definitions
+
+```
+
+393 ASN1_PDU_TypeDefs ::= $ASN1_PDU_TypeDefs {ASN1_PDU_TypeDefOrGroup} $End_ASN1_PDU_TypeDefs
+394 ASN1_PDU_TypeDefOrGroup ::= ASN1_PDU_TypeDef | ASN1_PDU_TypeDefGroup
+395 ASN1_PDU_TypeDefGroup ::= $ASN1_PDU_TypeDefGroup ASN1_PDU_TypeDefGroupId
+ {ASN1_PDU_TypeDefOrGroup}+ $End_ASN1_PDU_TypeDefGroup
+396 ASN1_PDU_TypeDefGroupId ::= $ASN1_PDU_TypeDefGroupId ASN1_PDU_GroupIdentifier
+397 ASN1_PDU_TypeDef ::= $Begin_ASN1_PDU_TypeDef PDU_Id [ASN1_PDU_GroupRef] PCO_Type
+ [PDU_EncodingId] [EncVariationId] [Comment] ASN1_TypeDefinition [Comment] $End_ASN1_PDU_TypeDef
+ /* STATIC SEMANTICS – If a PDU is sent or received only embedded in ASPs within the whole test suite, then
+ PCO_TypeIdentifier (in PCO_Type) is optional. */
+398 ASN1_PDU_GroupRef ::= $ASN1_PDU_GroupRef ASN1_PDU_GroupReference
+399 ASN1_PDU_GroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {ASN1_PDU_GroupIdentifier "/"}
+400 ASN1_PDU_GroupIdentifier ::= Identifier
+
+```
+
+### A.3.3.13.9 ASN.1 PDU Type Definitions by Reference
+
+```
+
+401 ASN1_PDU_TypeDefsByRefOrGroup ::= ASN1_PDU_TypeDefsByRef | ASN1_PDU_TypeDefsByRefGroup
+402 ASN1_PDU_TypeDefsByRefGroup ::= $ASN1_PDU_TypeDefsByRefGroup ASN1_PDU_TypeDefsByRefGroupId
+ {ASN1_PDU_TypeDefsByRefOrGroup}+ $End_ASN1_PDU_TypeDefsByRefGroup
+
+```
+
+```
+
+403 ASN1_PDU_TypeDefsByRefGroupId ::= $ASN1_PDU_TypeDefsByRefGroupId ASN1_PDU_GroupIdentifier
+404 ASN1_PDU_TypeDefsByRef ::= $Begin_ASN1_PDU_TypeDefsByRef [ASN1_PDU_DefsByRefGroupRef]
+ {[CollComment] ASN1_PDU_TypeDefByRef}+ [Comment] $End_ASN1_PDU_TypeDefsByRef
+405 ASN1_PDU_DefsByRefGroupRef ::= $ASN1_PDU_DefsByRefGroupRef ASN1_PDU_GroupReference
+406 ASN1_PDU_TypeDefByRef ::= $ASN1_PDU_TypeDefByRef PDU_Id PCO_Type ASN1_TypeReference
+ ASN1_ModuleId [PDU_EncodingId] [EncVariationId] [Comment] $End_ASN1_PDU_TypeDefByRef
+ /* STATIC SEMANTICS – If a PDU is sent or received only embedded in ASPs within the whole test suite, then
+ PCO_TypeIdentifier (in PCO_Type) is optional. */
+ /* STATIC SEMANTICS – PDU_Id shall not be specified with a FullIdentifier. */
+
+```
+
+### A.3.3.13.10 CM Type Definitions
+
+```
+
+407 CM_TypeDefs ::= $CM_TypeDefs [TTCN_CM_TypeDefs] [ASN1_CM_TypeDefs] $End_CM_TypeDefs
+
+```
+
+### A.3.3.13.11 Tabular CM Type Definition
+
+```
+
+408 TTCN_CM_TypeDefs ::= $TTCN_CM_TypeDefs {TTCN_CM_TypeDefOrGroup}+ $End_TTCN_CM_TypeDefs
+409 TTCN_CM_TypeDefOrGroup ::= TTCN_CM_TypeDef | TTCN_CM_TypeDefGroup
+410 TTCN_CM_TypeDefGroup ::= $TTCN_CM_TypeDefGroup TTCN_CM_TypeDefGroupId
+ {TTCN_CM_TypeDefOrGroup}+ $End_TTCN_CM_TypeDefGroup
+411 TTCN_CM_TypeDefGroupId ::= $TTCN_CM_TypeDefGroupId CM_GroupIdentifier
+412 TTCN_CM_TypeDef ::= $Begin_TTCN_CM_TypeDef CM_Id [CM_GroupRef] [Comment] CM_ParDels [Comment]
+ $End_TTCN_CM_TypeDef
+413 CM_Id ::= $CM_Id CM_Identifier
+414 CM_Identifier ::= Identifier
+415 CM_GroupRef ::= $CM_GroupRef CM_GroupReference
+416 CM_GroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {CM_GroupIdentifier "/"}
+417 CM_GroupIdentifier ::= Identifier
+418 CM_ParDels ::= $CM_ParDels {CM_ParDel} $End_CM_ParDels
+419 CM_ParDel ::= $CM_ParDel CM_ParId CM_ParType [Comment] $End_CM_ParDel
+420 CM_ParId ::= $CM_ParId CM_ParIdOrMacro
+421 CM_ParIdOrMacro ::= CM_ParIdentifier | MacroSymbol
+ /* STATIC SEMANTICS – The MacroSymbol shall be used only in combination with a reference to a Structured Type. */
+422 CM_ParIdentifier ::= Identifier
+423 CM_ParType ::= $CM_ParType Type&Attributes
+
+```
+
+### A.3.3.13.12 ASN.1 CM Type Definitions
+
+```
+
+424 ASN1_CM_TypeDefs ::= $ASN1_CM_TypeDefs {ASN1_CM_TypeDefOrGroup}+ $End_ASN1_CM_TypeDefs
+425 ASN1_CM_TypeDefOrGroup ::= ASN1_CM_TypeDef | ASN1_CM_TypeDefGroup
+426 ASN1_CM_TypeDefGroup ::= $ASN1_CM_TypeDefGroup ASN1_CM_TypeDefGroupId
+ {ASN1_CM_TypeDefOrGroup}+ $End_ASN1_CM_TypeDefGroup
+427 ASN1_CM_TypeDefGroupId ::= $ASN1_CM_TypeDefGroupId ASN1_CM_GroupIdentifier
+428 ASN1_CM_TypeDef ::= $Begin_ASN1_CM_TypeDef CM_Id [ASN1_CM_GroupRef] [Comment]
+ ASN1_TypeDefinition [Comment] $End_ASN1_CM_TypeDef
+429 ASN1_CM_GroupRef ::= $ASN1_CM_GroupRef ASN1_CM_GroupReference
+430 ASN1_CM_GroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {ASN1_CM_GroupIdentifier "/"}
+431 ASN1_CM_GroupIdentifier ::= Identifier
+
+```
+
+### A.3.3.13.13 Varieties of Encoding Definition
+
+```
+
+432 EncodingDefs ::= $EncodingDefs {EncodingDefinitionsOrGroup} [EncodingVariations] [InvalidFieldEncodingDefs]
+ $End_EncodingDefs
+
+```
+
+#### A.3.3.13.13.1 Encoding Definitions
+
+```
+
+433 EncodingDefinitionsOrGroup ::= EncodingDefinitions | EncodingDefinitionsGroup
+434 EncodingDefinitionsGroup ::= $EncodingDefinitionsGroup EncodingDefinitionsGroupId
+ {EncodingDefinitionsOrGroup}+ $End_EncodingDefinitionsGroup
+435 EncodingDefinitionsGroupId ::= $EncodingDefinitionsGroupId EncodingGroupIdentifier
+436 EncodingDefinitions ::= $Begin_EncodingDefinitions [EncodingGroupRef] {[CollComment] EncodingDefinition}+
+ [Comment] $End_EncodingDefinitions
+437 EncodingGroupRef ::= $EncodingGroupRef EncodingGroupReference
+438 EncodingGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {EncodingGroupIdentifier "/"}
+439 EncodingGroupIdentifier ::= Identifier
+440 EncodingDefinition ::= $EncodingDefinition EncodingRuleId EncodingRef EncodingDefault [Comment]
+ $End_EncodingDefinition
+ /* OPERATIONAL SEMANTICS – No more than one EncodingRuleIdentifier shall have an EncodingDefault which
+ evaluates to TRUE*/
+
+```
+
+```
+
+441 EncodingRuleId ::= $EncodingRuleId EncodingRuleIdentifier
+442 EncodingRuleIdentifier ::= Identifier
+443 EncodingRef ::= $EncodingRef EncodingReference
+444 EncodingReference ::= BoundedFreeText
+445 EncodingDefault ::= $EncodingDefault [ConstantExpression]
+ /* STATIC SEMANTICS – ConstantExpression shall evaluate to a boolean value */
+
+```
+
+### A.3.3.13.2 Encoding Variations
+
+```
+
+446 EncodingVariations ::= $EncodingVariations {EncodingVariationSetOrGroup}+ $End_EncodingVariations
+447 EncodingVariationSetOrGroup ::= EncodingVariationSet | EncodingVariationSetGroup
+448 EncodingVariationSetGroup ::= $EncodingVariationSetGroup EncodingVariationSetGroupId
+ {EncodingVariationSetOrGroup}+ $End_EncodingVariationSetGroup
+449 EncodingVariationSetGroupId ::= $EncodingVariationSetGroupId EncVariationGroupIdentifier
+450 EncodingVariationSet ::= $Begin_EncodingVariationSet EncodingRuleId [EncVariationGroupRef] Encoding_TypeList
+ [Comment] EncodingVariationList [Comment] $End_EncodingVariationSet
+451 EncVariationGroupRef ::= $EncVariationGroupRef EncVariationGroupReference
+452 EncVariationGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {EncVariationGroupIdentifier "/" }
+453 EncVariationGroupIdentifier ::= Identifier
+454 EncodingVariationList ::= $EncodingVariationList {EncodingVariation}+ $End_EncodingVariationList
+455 Encoding_TypeList ::= $Encoding_TypeList [TypeList]
+456 TypeList ::= Type {Comma Type}
+ /* STATIC SEMANTICS – Type shall not be an ASP_Identifier, PDU_Identifier or StructIdentifier, since such types may
+ be encoded by encoding rules but not by field encodings. */
+457 EncodingVariation ::= $EncodingVariation EncodingVariationId VariationRef VariationDefault [Comment]
+ $End_EncodingVariation
+ /* OPERATIONAL SEMANTICS – No more than one EncodingIdentifier shall have a VariationDefault which evaluates to
+ TRUE. */
+458 EncodingVariationId ::= $EncodingVariationId EncVariationId&ParList
+459 EncVariationId&ParList ::= EncVariationIdentifier [FormalParList]
+460 EncVariationIdentifier ::= Identifier
+461 VariationRef ::= $VariationRef VariationReference
+462 VariationReference ::= BoundedFreeText
+463 VariationDefault ::= $VariationDefault [ConstantExpression]
+
+```
+
+### A.3.3.13.3 Invalid Encoding Definitions
+
+```
+
+464 InvalidFieldEncodingDefs ::= $InvalidFieldEncodingDefs {InvalidFieldEncodingDefOrGroup}+
+ $End_InvalidFieldEncodingDefs
+465 InvalidFieldEncodingDefOrGroup ::= InvalidFieldEncodingDef | InvalidFieldEncodingGroup
+466 InvalidFieldEncodingGroup ::= $InvalidFieldEncodingGroup InvalidFieldEncodingGroupId
+ {InvalidFieldEncodingOrGroup}+ $End_InvalidFieldEncodingGroup
+467 InvalidFieldEncodingGroupId ::= $InvalidFieldEncodingGroupId InvalidFieldEncodingGroupIdentifier
+468 InvalidFieldEncodingDef ::= $Begin_InvalidFieldEncodingDef InvalidFieldEncodingId [InvalidFieldEncodingGroupRef]
+ Encoding_TypeList [Comment] InvalidFieldEncodingDefinition [Comment] $End_InvalidFieldEncodingDef
+469 InvalidFieldEncodingId ::= $InvalidFieldEncodingId InvalidFieldEncodingId&ParList
+470 InvalidFieldEncodingId&ParList ::= InvalidFieldEncodingIdentifier [FormalParList]
+471 InvalidFieldEncodingIdentifier ::= Identifier
+472 InvalidFieldEncodingGroupRef ::= $InvalidFieldEncodingGroupRef InvalidFieldEncodingGroupReference
+473 InvalidFieldEncodingGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier)
+ "/" ] {InvalidFieldEncodingGroupIdentifier "/" }
+474 InvalidFieldEncodingGroupIdentifier ::= Identifier
+475 InvalidFieldEncodingDefinition ::= $InvalidFieldEncodingDefinition TS_OpProcDef
+ $End_InvalidFieldEncodingDefinition
+ /* OPERATIONAL SEMANTICS – TS_OpProcDef shall produce a BitString result, to be interpreted as the encoding to be
+ transmitted high order bit first. */
+
+```
+
+### A.3.3.13.14 Alias Definitions
+
+```
+
+476 AliasDefsOrGroup ::= AliasDefs | AliasDefsGroup
+477 AliasDefsGroup ::= $AliasDefsGroup AliasDefsGroupId {AliasDefsOrGroup}+ $End_AliasDefsGroup
+478 AliasDefsGroupId ::= $AliasDefsGroupId AliasDefsGroupIdentifier
+479 AliasDefsGroupIdentifier ::= Identifier
+480 AliasDefs ::= $Begin_AliasDefs [AliasGroupRef] { [CollComment] AliasDef }+ [Comment] $End_AliasDefs
+481 AliasGroupRef ::= $AliasGroupRef AliasGroupReference
+482 AliasGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {AliasGroupIdentifier "/" }
+483 AliasGroupIdentifier ::= Identifier
+484 AliasDef ::= $AliasDef AliasId ExpandedId [Comment] $End_AliasDef
+
+```
+
+485 AliasId ::= **\$AliasId** AliasIdentifier
+ 486 AliasIdentifier ::= Identifier
+ /\* STATIC SEMANTICS – An AliasIdentifier shall be used only in a statement line of a behaviour description. \*/
+ /\* STATIC SEMANTICS – An AliasIdentifier shall be used only where an ASP\_Identifier or PDU\_Identifier is valid. \*/
+ 487 ExpandedId ::= **\$ExpandedId** Expansion
+ 488 Expansion ::= ASP\_Identifier | PDU\_Identifier
+
+### A.3.3.14 The Constraints Part
+
+489 ConstraintsPart ::= **\$ConstraintsPart** [TS\_TypeConstraints] [ASP\_Constraints] [PDU\_Constraints] [CM\_Constraints]
+**\$End\_ConstraintsPart**
+
+### A.3.3.15 Test Suite Type Constraint Declarations
+
+490 TS\_TypeConstraints ::= **\$TS\_TypeConstraints** [StructTypeConstraints] [ASN1\_TypeConstraints]
+**\$End\_TS\_TypeConstraints**
+
+### A.3.3.16 Structured Type Constraint Declarations
+
+491 StructTypeConstraints ::= **\$StructTypeConstraints** {StructTypeConstraintOrGroup}+ **\$End\_StructTypeConstraints**
+ 492 StructTypeConstraintOrGroup ::= StructTypeConstraint | StructTypeConstraintGroup
+ 493 StructTypeConstraintGroup ::= **\$StructTypeConstraintGroup** StructTypeConstraintGroupId
+ {StructTypeConstraintOrGroup}+ **\$End\_StructTypeConstraintGroup**
+ 494 StructTypeConstraintGroupId ::= **\$StructTypeConstraintGroupId** StructTypeConstraintGroupIdentifier
+ 495 StructTypeConstraint ::= **\$Begin\_StructTypeConstraint** ConsId [StructTypeConstraintGroupRef] StructId DerivPath
+ [EncVariationId] [Comment] ElemValues [Comment] **\$End\_StructTypeConstraint**
+ /\* STATIC SEMANTICS – The FullIdentifier that is part of Struct\_Id shall not be used. \*/
+ /\* STATIC SEMANTICS – A modified constraint shall have the same parameter list as its base constraint. In particular,
+ there shall be no parameters omitted from or added to this list. \*/
+ 496 StructTypeConstraintGroupRef ::= **\$StructTypeConstraintGroupRef** StructTypeConstraintGroupReference
+ 497 StructTypeConstraintGroupReference ::= [(SuiteIdentifier | TTCN\_ModuleIdentifier)
+ "/" ] {StructTypeConstraintGroupIdentifier} "/"
+ 498 StructTypeConstraintGroupIdentifier ::= Identifier
+ 499 EncVariationId ::= **\$EncVariationId** [EncVariationCall]
+ 500 EncVariationCall ::= EncVariationIdentifier [ActualParList]
+ 501 ElemValues ::= **\$ElemValues** {ElemValue}+ **\$End\_ElemValues**
+ 502 ElemValue ::= **\$ElemValue** ElemId ConsValue [PDU\_FieldEncoding] [Comment] **\$End\_ElemValue**
+ /\* STATIC SEMANTICS – The FullIdentifier that is part of ElemId shall not be used. \*/
+ /\* STATIC SEMANTICS – ElemId shall have been declared in the type related to the constraint. \*/
+ /\* STATIC SEMANTICS – Parameterized Element values in a base constraint shall not be modified or explicitly omitted
+ in a modified constraint. \*/
+ 503 PDU\_FieldEncoding ::= **\$PDU\_FieldEncoding** [PDU\_FieldEncodingCall]
+ 504 PDU\_FieldEncodingCall ::= EncVariationCall | InvalidFieldEncodingCall
+ 505 InvalidFieldEncodingCall ::= InvalidFieldEncodingIdentifier (ActualParList | "(" ")")
+
+### A.3.3.17 ASN.1 Type Constraint Declarations
+
+506 ASN1\_TypeConstraints ::= **\$ASN1\_TypeConstraints** {ASN1\_TypeConstraintOrGroup}+
+**\$End\_ASN1\_TypeConstraints**
+ 507 ASN1\_TypeConstraintOrGroup ::= ASN1\_TypeConstraint | ASN1\_TypeConstraintGroup
+ 508 ASN1\_TypeConstraintGroup ::= **\$ASN1\_TypeConstraintGroup** ASN1\_TypeConstraintGroupId
+ {ASN1\_TypeConstraintOrGroup}+ **\$End\_ASN1\_TypeConstraintGroup**
+ 509 ASN1\_TypeConstraintGroupId ::= **\$ASN1\_TypeConstraintGroupId** ASN1\_TypeConstraintGroupIdentifier
+ 510 ASN1\_TypeConstraint ::= **\$Begin\_ASN1\_TypeConstraint** ConsId [ASN1\_TypeConstraintGroupRef] ASN1\_TypeId
+ DerivPath [EncVariationId] [Comment] ASN1\_ConsValue [Comment] **\$End\_ASN1\_TypeConstraint**
+ /\* STATIC SEMANTICS – The FullIdentifier that is part of ASN1\_TypeId shall not be used. \*/
+ /\* STATIC SEMANTICS – A modified constraint shall have the same parameter list as its base constraint. In particular,
+ there shall be no parameters omitted from or added to this list. \*/
+ 511 ASN1\_TypeConstraintGroupRef ::= **\$ASN1\_TypeConstraintGroupRef** ASN1\_TypeConstraintGroupReference
+ 512 ASN1\_TypeConstraintGroupReference ::= [(SuiteIdentifier |
+ TTCN\_ModuleIdentifier) "/" ] {ASN1\_TypeConstraintGroupIdentifier} "/"
+ 513 ASN1\_TypeConstraintGroupIdentifier ::= Identifier
+
+### A.3.3.18 ASP Constraint Declarations
+
+514 ASP\_Constraints ::= **\$ASP\_Constraints** [TTCN\_ASP\_Constraints] [ASN1\_ASP\_Constraints] **\$End\_ASP\_Constraints**
+
+### A.3.3.19 Tabular ASP Constraint Declarations
+
+```
+515 TTCN_ASP_Constraints ::= $TTCN_ASP_Constraints {TTCN_ASP_ConstraintOrGroup}+
+ $End_TTCN_ASP_Constraints
+516 TTCN_ASP_ConstraintOrGroup ::= TTCN_ASP_Constraint | TTCN_ASP_ConstraintGroup
+517 TTCN_ASP_ConstraintGroup ::= $TTCN_ASP_ConstraintGroup TTCN_ASP_ConstraintGroupId
+ {TTCN_ASP_ConstraintOrGroup}+ $End_TTCN_ASP_ConstraintGroup
+518 TTCN_ASP_ConstraintGroupId ::= $TTCN_ASP_ConstraintGroupId ASP_ConstraintGroupIdentifier
+519 TTCN_ASP_Constraint ::= $Begin_TTCN_ASP_Constraint ConsId [ASP_ConstraintGroupRef] ASP_Id DerivPath
+ [Comment] ASP_ParValues [Comment] $End_TTCN_ASP_Constraint
+ /* STATIC SEMANTICS – The FullIdentifier that is part of ASP_Id shall not be used. */
+ /* STATIC SEMANTICS – If an ASP is substructured, then the constraints for ASPs of that type shall have the same
+ structure*/
+ /* STATIC SEMANTICS – A modified constraint shall have the same parameter list as its base constraint. In particular,
+ there shall be no parameters omitted from or added to this list. */
+520 ASP_ConstraintGroupRef ::= $ASP_ConstraintGroupRef ASP_ConstraintGroupReference
+521 ASP_ConstraintGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/"] {ASP_ConstraintGroupIdentifier "/"}
+522 ASP_ConstraintGroupIdentifier ::= Identifier
+523 ASP_ParValues ::= $ASP_ParValues {ASP_ParValue} $End_ASP_ParValues
+524 ASP_ParValue ::= $ASP_ParValue ASP_ParId ConsValue [Comment] $End_ASP_ParValue
+ /* STATIC SEMANTICS – The FullIdentifier that is part of ASP_ParId shall not be used. */
+ /* STATIC SEMANTICS – ASP_ParId shall have been declared in the type related to the constraint. */
+ /* STATIC SEMANTICS – If an ASP definition refers to a Structured Type as a substructure of a parameter (i.e., with a
+ parameter name), then the corresponding constraint shall have the same parameter name in the corresponding position in
+ the parameter name column of the constraint and the value shall be a reference to a constraint for that parameter (i.e., for
+ that substructure in accordance with the definition of the Structured Type). */
+ /* STATIC SEMANTICS – If an ASP definition refers to a parameter specified as being of metatype PDU then in a
+ corresponding constraint, the value for that parameter shall be specified as the name of a PDU constraint, or formal
+ parameter. */
+ /* STATIC SEMANTICS – Use of structured constraints by macro expansion in a constraint shall not be used unless the
+ corresponding ASP definition also references the same Structured Type by macro expansion. */
+ /* STATIC SEMANTICS – Parameterized ASP parameter values in a base constraint shall not be modified or explicitly
+ omitted in a modified constraint. */
+```
+
+### A.3.3.20 ASN.1 ASP Constraint Declarations
+
+```
+525 ASN1_ASP_Constraints ::= $ASN1_ASP_Constraints {ASN1_ASP_ConstraintOrGroup}+
+ $End_ASN1_ASP_Constraints
+526 ASN1_ASP_ConstraintOrGroup ::= ASN1_ASP_Constraint | ASN1_ASP_ConstraintGroup
+527 ASN1_ASP_ConstraintGroup ::= $ASN1_ASP_ConstraintGroup ASN1_ASP_ConstraintGroupId
+ {ASN1_ASP_ConstraintOrGroup}+ $End_ASN1_ASP_ConstraintGroup
+528 ASN1_ASP_ConstraintGroupId ::= $ASN1_ASP_ConstraintGroupId ASN1_ASP_ConstraintGroupIdentifier
+529 ASN1_ASP_Constraint ::= $Begin_ASN1_ASP_Constraint ConsId [ASN1_ASP_ConstraintGroupRef] ASP_Id
+ DerivPath [Comment] ASN1_ConsValue [Comment] $End_ASN1_ASP_Constraint
+ /* STATIC SEMANTICS – The FullIdentifier that is part of ASP_Id shall not be used. */
+ /* STATIC SEMANTICS – If an ASP is substructured, then the constraints for ASPs of that type shall have a compatible
+ ASN.1 structure (i.e., possibly with some groupings). */
+ /* STATIC SEMANTICS – A modified constraint shall have the same parameter list as its base constraint. In particular,
+ there shall be no parameters omitted from or added to this list. */
+530 ASN1_ASP_ConstraintGroupRef ::= $ASN1_ASP_ConstraintGroupRef ASN1_ASP_ConstraintGroupReference
+531 ASN1_ASP_ConstraintGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/"]
+ {ASN1_ASP_ConstraintGroupIdentifier "/"}
+532 ASN1_ASP_ConstraintGroupIdentifier ::= Identifier
+```
+
+### A.3.3.21 PDU Constraint Declarations
+
+```
+533 PDU_Constraints ::= $PDU_Constraints [TTCN_PDU_Constraints] [ASN1_PDU_Constraints] $End_PDU_Constraints
+```
+
+### A.3.3.22 Tabular PDU Constraint Declarations
+
+```
+534 TTCN_PDU_Constraints ::= $TTCN_PDU_Constraints {TTCN_PDU_ConstraintOrGroup}+
+ $End_TTCN_PDU_Constraints
+535 TTCN_PDU_ConstraintOrGroup ::= TTCN_PDU_Constraint | TTCN_PDU_ConstraintGroup
+536 TTCN_PDU_ConstraintGroup ::= $TTCN_PDU_ConstraintGroup TTCN_PDU_ConstraintGroupId
+ {TTCN_PDU_ConstraintOrGroup}+ $End_TTCN_PDU_ConstraintGroup
+537 TTCN_PDU_ConstraintGroupId ::= $TTCN_PDU_ConstraintGroupId PDU_ConstraintGroupIdentifier
+```
+
+538 **TTCN\_PDU\_Constraint** ::= **\$Begin\_TTCN\_PDU\_Constraint** ConsId [PDU\_ConstraintGroupRef] PDU\_Id DerivPath
+ [EncRuleId] [EncVariationId] [Comment] PDU\_FieldValues [Comment] **\$End\_TTCN\_PDU\_Constraint**
+ /\* STATIC SEMANTICS – The FullIdentifier that is part of PDU\_Id shall not be used. \*/
+ /\* STATIC SEMANTICS – If a PDU is substructured, then the constraints for PDUs of that type shall have the same structure\*/
+ /\* STATIC SEMANTICS – A modified constraint shall have the same parameter list as its base constraint. In particular, there shall be no parameters omitted from or added to this list. \*/
+
+539 **PDU\_ConstraintGroupRef** ::= **\$PDU\_ConstraintGroupRef** PDU\_ConstraintGroupReference
+
+540 **PDU\_ConstraintGroupReference** ::= [(SuitIdentifier | TTCN\_ModuleIdentifier) "/" ] {PDU\_ConstraintGroupIdentifier "/" }
+
+541 **PDU\_ConstraintGroupIdentifier** ::= Identifier
+
+542 **EncRuleId** ::= **\$EncRuleId** [EncodingRuleIdentifier]
+
+543 **ConsId** ::= **\$ConsId** ConsId&ParList
+
+544 **ConsId&ParList** ::= ConstraintIdentifier [FormalParList]
+
+545 **ConstraintIdentifier** ::= Identifier
+
+546 **DerivPath** ::= **\$DerivPath** [DerivationPath]
+
+547 **DerivationPath** ::= {ConstraintIdentifier Dot}+
+ /\* STATIC SEMANTICS – If a constraint definition is a modification of an existing constraint, the name of the constraint that is taken as the basis of this modification shall be referenced in the table in the derivation path entry. \*/
+ /\* STATIC SEMANTICS – The first ConstraintIdentifier in DerivationPath shall be a base constraint identifier. \*/
+ /\* STATIC SEMANTICS – The DerivationPath shall be the complete list of constraints in the order in which their modifications to the base constraint are to be applied. \*/
+ /\* STATIC SEMANTICS – There shall be no white space between ConstraintIdentifier and Dot. \*/
+
+548 **PDU\_FieldValues** ::= **\$PDU\_FieldValues** {PDU\_FieldValue} **\$End\_PDU\_FieldValues**
+
+549 **PDU\_FieldValue** ::= **\$PDU\_FieldValue** PDU\_FieldId ConsValue [PDU\_FieldEncoding] [Comment]
+**\$End\_PDU\_FieldValue**
+ /\* STATIC SEMANTICS – The FullIdentifier that is part of PDU\_FieldId shall not be used. \*/
+ /\* STATIC SEMANTICS – PDU\_FieldId shall have been declared in the type related to the constraint. \*/
+ /\* STATIC SEMANTICS – If a PDU definition refers to a Structured Type as a substructure of a field (*i.e.*, with a field name) then the corresponding constraint shall have the same field name in the corresponding position in the field name column of the constraint and the value shall be a reference to a constraint for that field (*i.e.*, for that substructure in accordance with the definition of the Structured Type). \*/
+ /\* STATIC SEMANTICS – If a PDU definition refers to a field specified as being of metatype PDU then in a corresponding constraint, the value for that field shall be specified as the name of a PDU constraint, or formal parameter. \*/
+ /\* STATIC SEMANTICS – Use of structured constraints by macro expansion in a constraint shall not be used unless the corresponding PDU definition also references the same Structured Type by macro expansion. \*/
+ /\* STATIC SEMANTICS – Parameterized PDU field values in a base constraint shall not be modified or explicitly omitted in a modified constraint. \*/
+
+550 **ConsValue** ::= **\$ConsValue** ConstraintValue&Attributes
+ /\* OPERATIONAL SEMANTICS – ConsValue shall evaluate to an element of the type specified for the ASP parameter, PDU field or structure element. This may include matching symbols compatible with the specified type. \*/
+
+551 **ConstraintValue&Attributes** ::= ConstraintValue ValueAttributes
+ /\* NOTE – ConstraintValue&Attributes can be reached via DefinedValue in the ASN.1 syntax. See the reference on the production 739 for Value. \*/
+ /\* STATIC SEMANTICS – ConstraintValue shall fulfil all restrictions defined for the ASP parameter, PDU field or structure element type, including value ranges, value lists, alphabet restrictions and/or length restrictions and shall fulfil the restrictions defined by ValueAttributes. \*/
+ /\* OPERATIONAL SEMANTICS – Any length specifications defined for the ASP parameter or PDU field type in the Test Suite Type declarations shall not conflict with the length specifications in the ASP or PDU type definition. \*/
+ /\* STATIC SEMANTICS – Neither Test Suite Variables nor Test Case Variables shall be used in constraints, unless passed as actual parameters. In the latter case they shall be bound to a value and shall not be changed. \*/
+
+552 **ConstraintValue** ::= ConstantExpression | MatchingSymbol | ConsRef
+ /\* OPERATIONAL SEMANTICS – ConstantExpression shall evaluate to an element of the specified type. \*/
+
+553 **MatchingSymbol** ::= Complement | Omit | AnyValue | AnyOrOmit | ValueList | IntegerRange | SuperSet | SubSet | Permutation
+ /\* NOTE – No matching symbol is considered to be a specific value. \*/
+
+554 **Complement** ::= COMPLEMENT ValueList
+
+555 **Omit** ::= Dash | OMIT
+ /\* STATIC SEMANTICS – In ASN.1 constraints Omit shall be used only for ASP parameters or PDU fields that are declared OPTIONAL or DEFAULT. \*/
+
+556 **AnyValue** ::= "?"
+
+557 **AnyOrOmit** ::= ""
+
+558 **ValueList** ::= "(" ConstraintValue&Attributes {Comma ConstraintValue&Attributes} ")"
+ /\* STATIC SEMANTICS – Each ConstraintValue&Attributes shall be of the type declared for the ASP parameter, PDU field, or structure element in which the ValueList is used. \*/
+
+559 **SuperSet** ::= **SUPERSET** "(" ConstraintValue&Attributes ")"
+ /\* STATIC SEMANTICS – The argument to SuperSet, *i.e.*, ConstraintValue&Attributes, shall be of type SET OF. \*/
+
+```
+
+560 SubSet ::= SUBSET "(" ConstraintValue&Attributes ")"
+/* STATIC SEMANTICS – The argument to SubSet, i.e., ConstraintValue&Attributes, shall be of type SET OF. */
+561 Permutation ::= PERMUTATION ValueList
+/* STATIC SEMANTICS – The Permutation shall be used only inside a value of type SEQUENCE OF. */
+/* STATIC SEMANTICS – The ValueList shall be of the type specified in the SEQUENCE OF. */
+562 ValueAttributes ::= [LengthRestriction] [IF_PRESENT] [ASN1_Encoding]
+/* STATIC SEMANTICS – In ASN.1 constraints IF_PRESENT shall be used only for ASP parameters or PDU fields that
+are declared OPTIONAL or DEFAULT. */
+/* STATIC SEMANTICS – ASN1_Encoding shall only be used for ValueAttributes in ASN.1 Type Constraints and ASN.1
+PDU Constraints. */
+/* STATIC SEMANTICS – LengthRestriction shall be used only for ASP parameters, PDU fields or structure element that
+are declared as BITSTRING, HEXSTRING, OCTETSTRING, CharacterString, SEQUENCE OF or SET OF. */
+/* STATIC SEMANTICS – LengthRestriction shall be used only in combination with the following mechanisms:
+Specificvalue, Complement, Omit, AnyValue, AnyOrOmit, AnyOrNone and Permutation. */
+/* STATIC SEMANTICS – The set of values defined by LengthRestriction shall be a true subset of the values allowed by
+the ASP parameter's, PDU field's or structure element's declared type. */
+563 ASN1_Encoding ::= ENC PDU_FieldEncodingCall
+
+```
+
+### A.3.3.23 ASN.1 PDU Constraint Declarations
+
+```
+
+564 ASN1_PDU_Constraints ::= $ASN1_PDU_Constraints {ASN1_PDU_ConstraintOrGroup}+
+$End_ASN1_PDU_Constraints
+565 ASN1_PDU_ConstraintOrGroup ::= ASN1_PDU_Constraint | ASN1_PDU_ConstraintGroup
+566 ASN1_PDU_ConstraintGroup ::= $ASN1_PDU_ConstraintGroup ASN1_PDU_ConstraintGroupId
+{ASN1_PDU_ConstraintOrGroup}+ $End_ASN1_PDU_ConstraintGroup
+567 ASN1_PDU_ConstraintGroupId ::= $ASN1_PDU_ConstraintGroupId ASN1_PDU_ConstraintGroupIdentifier
+568 ASN1_PDU_Constraint ::= $Begin_ASN1_PDU_Constraint ConsId [ASN1_PDU_ConstraintGroupRef] PDU_Id
+DerivPath [EncRuleId] [EncVariationId] [Comment] ASN1_ConsValue [Comment] $End_ASN1_PDU_Constraint
+/* STATIC SEMANTICS – The FullIdentifier that is part of PDU_Id shall not be used. */
+/* STATIC SEMANTICS – If a PDU is substructured, then the constraints for PDUs of that type shall have a compatible
+ASN.1 structure (i.e., possibly with some groupings). */
+/* STATIC SEMANTICS – A modified constraint shall have the same parameter list as its base constraint. In particular,
+there shall be no parameters omitted from or added to this list. */
+569 ASN1_PDU_ConstraintGroupRef ::= $ASN1_PDU_ConstraintGroupRef ASN1_PDU_ConstraintGroupReference
+570 ASN1_PDU_ConstraintGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ]
+{ASN1_PDU_ConstraintGroupIdentifier "/" }
+571 ASN1_PDU_ConstraintGroupIdentifier ::= Identifier
+572 ASN1_ConsValue ::= $ASN1_ConsValue ConstraintValue&AttributesOrReplace $End_ASN1_ConsValue
+573 ConstraintValue&AttributesOrReplace ::= ConstraintValue&Attributes | Replacement {Comma Replacement}
+574 Replacement ::= REPLACE ReferenceList BY ConstraintValue&Attributes | OMIT ReferenceList
+/* STATIC SEMANTICS – Replacement shall be used only when DerivPath is specified. */
+/* STATIC SEMANTICS – Parameterized replaced values in a base constraint shall not be modified or explicitly omitted
+in a modified constraint. */
+575 ReferenceList ::= (ArrayRef | ComponentIdentifier | ComponentPosition) {ComponentReference}
+
+```
+
+### A.3.3.24 CM Constraint Declarations
+
+```
+
+576 CM_Constraints ::= $CM_Constraints [TTCN_CM_Constraints] [ASN1_CM_Constraints] $End_CM_Constraints
+
+```
+
+### A.3.3.25 Tabular CM Constraint Declaration
+
+```
+
+577 TTCN_CM_Constraints ::= $TTCN_CM_Constraints {TTCN_CM_ConstraintOrGroup}+
+$End_TTCN_CM_Constraints
+578 TTCN_CM_ConstraintOrGroup ::= TTCN_CM_Constraint | TTCN_CM_ConstraintGroup
+579 TTCN_CM_ConstraintGroup ::= $TTCN_CM_ConstraintGroup TTCN_CM_ConstraintGroupId
+{TTCN_CM_ConstraintOrGroup}+ $End_TTCN_CM_ConstraintGroup
+580 TTCN_CM_ConstraintGroupId ::= $TTCN_CM_ConstraintGroupId CM_ConstraintGroupIdentifier
+581 TTCN_CM_Constraint ::= $Begin_TTCN_CM_Constraint ConsId [CM_ConstraintGroupRef] CM_Id DerivPath
+[Comment] CM_ParValues [Comment] $End_TTCN_CM_Constraint
+582 CM_ConstraintGroupRef ::= $CM_ConstraintGroupRef CM_ConstraintGroupReference
+583 CM_ConstraintGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ] {CM_ConstraintGroupIdentifier "/" }
+584 CM_ConstraintGroupIdentifier ::= Identifier
+585 CM_ParValues ::= $CM_ParValues {CM_ParValue} $End_CM_ParValues
+586 CM_ParValue ::= $CM_ParValue CM_ParId ConsValue [Comment] $End_CM_ParValue
+/* STATIC SEMANTICS – CM_ParId shall have been declared in the type related to the constraint. */
+
+```
+
+### A.3.3.26 ASN.1 CM Constraint Declaration
+
+```
+587 ASN1_CM_Constraints ::= $ASN1_CM_Constraints {ASN1_CM_ConstraintOrGroup}+
+ $End_ASN1_CM_Constraints
+588 ASN1_CM_ConstraintOrGroup ::= ASN1_CM_Constraint | ASN1_CM_ConstraintGroup
+589 ASN1_CM_ConstraintGroup ::= $ASN1_CM_ConstraintGroup ASN1_CM_ConstraintGroupId
+ {ASN1_CM_ConstraintOrGroup}+ $End_ASN1_CM_ConstraintGroup
+590 ASN1_CM_ConstraintGroupId ::= $ASN1_CM_ConstraintGroupId ASN1_CM_ConstraintGroupIdentifier
+591 ASN1_CM_Constraint ::= $Begin_ASN1_CM_Constraint ConsId [ASN1_CM_ConstraintGroupRef] CM_Id DerivPath
+ [Comment] ASN1_ConsValue [Comment] $End_ASN1_CM_Constraint
+592 ASN1_CM_ConstraintGroupRef ::= $ASN1_CM_ConstraintGroupRef ASN1_CM_ConstraintGroupReference
+593 ASN1_CM_ConstraintGroupReference ::= [(SuiteIdentifier | TTCN_ModuleIdentifier) "/" ]
+ {ASN1_CM_ConstraintGroupIdentifier "/" }
+594 ASN1_CM_ConstraintGroupIdentifier ::= Identifier
+```
+
+### A.3.3.27 The Dynamic Part
+
+```
+595 DynamicPart ::= $DynamicPart [TestCases] [TestStepLibrary] [DefaultsLibrary] $End_DynamicPart
+```
+
+### A.3.3.28 Test Cases
+
+```
+596 TestCases ::= $TestCases {TestGroup | TestCase}+ $End_TestCases
+597 TestGroup ::= $TestGroup TestGroupId {TestGroup | TestCase}+ $End_TestGroup
+598 TestGroupId ::= $TestGroupId TestGroupIdentifier
+599 TestGroupIdentifier ::= Identifier
+600 TestCase ::= $Begin_TestCase TestCaseId TestGroupRef TestPurpose [Configuration] DefaultsRef [Comment]
+ BehaviourDescription [Comment] $End_TestCase
+601 TestCaseId ::= $TestCaseId TestCaseIdentifier
+602 TestCaseIdentifier ::= Identifier
+603 TestGroupRef ::= $TestGroupRef TestGroupReference
+604 TestGroupReference ::= [SuiteIdentifier "/" ] {TestGroupIdentifier "/" }
+ /* STATIC SEMANTICS – There shall be no white space on either side of the "/"s. */
+605 TestPurpose ::= $TestPurpose BoundedFreeText
+606 Configuration ::= $Configuration TCompConfigIdentifier
+607 DefaultsRef ::= $DefaultsRef [DefaultRefList]
+608 DefaultRefList ::= DefaultReference {Comma DefaultReference}
+609 DefaultReference ::= DefaultIdentifier [ActualParList]
+```
+
+### A.3.3.29 Test Step Library
+
+```
+610 TestStepLibrary ::= $TestStepLibrary {TestStepGroup | TestStep}+ $End_TestStepLibrary
+611 TestStepGroup ::= $TestStepGroup TestStepGroupId {TestStepGroup | TestStep}+ $End_TestStepGroup
+612 TestStepGroupId ::= $TestStepGroupId TestStepGroupIdentifier
+613 TestStepGroupIdentifier ::= Identifier
+614 TestStep ::= $Begin_TestStep TestStepId TestStepRef Objective DefaultsRef [Comment] BehaviourDescription
+ [Comment] $End_TestStep
+615 TestStepId ::= $TestStepId TestStepId&ParList
+616 TestStepId&ParList ::= TestStepIdentifier [FormalParList]
+617 TestStepIdentifier ::= Identifier
+618 TestStepRef ::= $TestStepRef TestStepGroupReference
+619 TestStepGroupReference ::= [SuiteIdentifier "/" ] {TestStepGroupIdentifier "/" }
+ /* STATIC SEMANTICS – There shall be no separator on either side of the "/"s. */
+620 Objective ::= $Objective BoundedFreeText
+```
+
+### A.3.3.30 Default Library
+
+```
+621 DefaultsLibrary ::= $DefaultsLibrary {DefaultGroup | Default}+ $End_DefaultsLibrary
+622 DefaultGroup ::= $DefaultGroup DefaultGroupId {DefaultGroup | Default}+ $End_DefaultGroup
+623 DefaultGroupId ::= $DefaultGroupId DefaultGroupIdentifier
+624 Default ::= $Begin_Default DefaultId DefaultRef Objective [Comment] BehaviourDescription [Comment] $End_Default
+ /* STATIC SEMANTICS – BehaviourDescription shall not use tree attachment except for attaching local trees (i.e.,
+ Default behaviour trees shall not attach Test Steps). */
+625 DefaultRef ::= $DefaultRef DefaultGroupReference
+626 DefaultId ::= $DefaultId DefaultId&ParList
+627 DefaultId&ParList ::= DefaultIdentifier [FormalParList]
+628 DefaultIdentifier ::= Identifier
+629 DefaultGroupReference ::= [SuiteIdentifier "/" ] {DefaultGroupIdentifier "/" }
+ /* STATIC SEMANTICS – There shall be no white space on either side of the "/"s. */
+630 DefaultGroupIdentifier ::= Identifier
+```
+
+### A.3.3.31 Behaviour descriptions
+
+```
+631 BehaviourDescription ::= $BehaviourDescription RootTree {LocalTree} $End_BehaviourDescription
+632 RootTree ::= {BehaviourLine}+
+633 LocalTree ::= Header {BehaviourLine}+
+634 Header ::= $Header TreeHeader
+635 TreeHeader ::= TreeIdentifier [FormalParList]
+636 TreeIdentifier ::= Identifier
+637 FormalParList ::= "(" FormalPar&Type {SemiColon FormalPar&Type} ")"
+638 FormalPar&Type ::= FormalParIdentifier {Comma FormalParIdentifier} Colon FormalParType
+639 FormalParIdentifier ::= Identifier
+640 FormalParType ::= Type | PCO_TypeIdentifier | PDU | CP | TIMER
+/* STATIC SEMANTICS – In a test suite operation or an encoding operation FormalParType shall not be a PCO type or
+the keyword CP*/
+/* STATIC SEMANTICS – If a formal parameter is of type PDU then that formal parameter shall not be used with a
+component reference (i.e., specific fields of the PDU cannot be referenced). */
+```
+
+### A.3.3.32 Behaviour lines
+
+```
+641 BehaviourLine ::= $BehaviourLine LabelId Line Cref VerdictId [Comment] $End_BehaviourLine
+642 Line ::= $Line Indentation StatementLine
+643 Indentation ::= "[" Number "]"
+/* STATIC SEMANTICS – Statements in the first level of alternatives in a behaviour description shall have the indentation
+value zero. */
+/* STATIC SEMANTICS – Statements having a predecessor shall have the indentation value of the predecessor plus one as
+their indentation value. */
+644 LabelId ::= $LabelId [Label]
+645 Label ::= Identifier
+646 Cref ::= $Cref [ConstraintReference]
+647 ConstraintReference ::= ConsRef | FormalParIdentifier | AnyValue
+/* STATIC SEMANTICS – ConsRef shall be present in conjunction with SEND, IMPLICIT SEND and RECEIVE and
+shall have a type which is consistent with (i.e., the same as or a subset of) the type of ASP, PDU or CM specified in the
+SEND, IMPLICIT_SEND or RECEIVE statement. A ConstraintReference is not needed for ASPs and CMs that have no
+parameters or PDUs that have no fields. It shall not be present with any other kind of TTCN statement. */
+/* STATIC SEMANTICS – FormalParIdentifier shall resolve to a ConsRef. */
+/* STATIC SEMANTICS – ConstraintReferences on SEND events shall not include any MatchingSymbol except Omit
+unless the MatchingSymbol is explicitly assigned specific values on the SEND event line. */
+648 ConsRef ::= ConstraintIdentifier [ActualCrefParList]
+649 ActualCrefParList ::= "(" ActualCrefPar {Comma ActualCrefPar} ")"
+/* STATIC SEMANTICS – See static semantics on production 699. */
+650 ActualCrefPar ::= Value
+/* NOTE – Through Value, it is possible to reach MatchingSymbol, TS_ParIdentifier, TS_ConstIdentifier,
+TS_VarIdentifier, TC_VarIdentifier, FormalParIdentifier or ConsRef. */
+651 VerdictId ::= $VerdictId [Verdict]
+652 Verdict ::= Pass | Fail | Inconclusive | Result
+/* STATIC SEMANTICS – Verdict shall not occur corresponding to entries in the behaviour tree which are any of the
+following: empty, an ATTACH construct, a REPEAT construct, a GOTO construct, an IMPLICIT SEND or a RETURN. */
+653 Pass ::= PASS | P | "(" PASS ")" | "(" P ")"
+654 Fail ::= FAIL | F | "(" FAIL ")" | "(" F ")"
+655 Inconclusive ::= INCONC | I | "(" INCONC ")" | "(" I ")"
+656 Result ::= R | MTC_R
+/* STATIC SEMANTICS – R shall not be used on the LHS of an assignment. */
+/* STATIC SEMANTICS – MTC_R shall be used only in the MTC. */
+```
+
+### A.3.3.33 TTCN statements
+
+```
+657 StatementLine ::= (Event [Qualifier] [AssignmentList] [TimerOps]) | (Qualifier [AssignmentList] [TimerOps])
+| (AssignmentList [TimerOps]) | TimerOps | Construct | ImplicitSend
+658 Event ::= Send | Receive | Otherwise | Timeout | Done
+/* STATIC SEMANTICS – A Receive, Otherwise or Timeout event shall only be followed by other Receive, Otherwise
+and Timeout events through the remainder of the set of alternatives in a fully expanded tree. As a consequence, Default
+trees will contain only Receive, Otherwise and Timeout events on the first level of alternatives. */
+659 Qualifier ::= "[" Expression "]"
+/* OPERATIONAL SEMANTICS – Qualifier shall evaluate to a specific BOOLEAN value. */
+660 Send ::= [PCO_Identifier | CP_Identifier | FormalParIdentifier] "!" (ASP_Identifier | PDU_Identifier | CM_Identifier)
+/* STATIC SEMANTICS – PCO_Identifier, CP_Identifier or FormalParIdentifier shall be present unless the test suite uses
+only one PCO and no CP. */
+/* STATIC SEMANTICS – FormalParIdentifier shall resolve to a PCO_Identifier or CP_Identifier. */
+/* STATIC SEMANTICS – Only CMs may be exchanged on CPs and only ASPs and PDUs may be exchanged on PCOs.
+*/
+```
+
+661 ImplicitSend ::= "<" (**IUT** | PCO\_Identifier | FormalParIdentifier) "!" (ASP\_Identifier | PDU\_Identifier) ">"
+ /\* STATIC SEMANTICS – ImplicitSend shall not be used unless the test method being used is one of the Remote Test Methods. \*/
+ /\* STATIC SEMANTICS – FormalParIdentifier shall resolve to a PCO\_Identifier. \*/
+
+662 Receive ::= [PCO\_Identifier | CP\_Identifier | FormalParIdentifier] "?" (ASP\_Identifier | PDU\_Identifier | CM\_Identifier)
+ /\* STATIC SEMANTICS – PCO\_Identifier, CP\_Identifier or FormalParIdentifier shall be present unless the test suite uses only one PCO and no CP. \*/
+ /\* STATIC SEMANTICS – Only CMs may be exchanged on CPs and only ASPs and PDUs may be exchanged on PCOs. \*/
+ /\* STATIC SEMANTICS – FormalParIdentifier shall resolve to a PCO\_Identifier or CP\_Identifier. \*/
+
+663 Otherwise ::= [PCO\_Identifier | CP\_Identifier | FormalParIdentifier] "?" **OTHERWISE**
+ /\* STATIC SEMANTICS – PCO\_Identifier, CP\_Identifier or FormalParIdentifier shall be present unless the test suite uses only one PCO and no CP. \*/
+ /\* STATIC SEMANTICS – FormalParIdentifier shall resolve to a PCO\_Identifier or CP\_Identifier. \*/
+
+664 Timeout ::= "?" **TIMEOUT** [TimerIdentifier | FormalParIdentifier]
+ /\* STATIC SEMANTICS – FormalParIdentifier shall only be of TIMER type. \*/
+
+665 Done ::= "?" **DONE** "(" [TCompIdList] ")"
+
+666 TCompIdList ::= TCompIdentifier {Comma TCompIdentifier}
+
+667 Construct ::= GoTo | Attach | Repeat | Return | Activate | Create
+
+668 Activate ::= **ACTIVATE** "(" [DefaultRefList] ")"
+ /\* STATIC SEMANTICS – The ACTIVATE construct shall not be used in Default behaviour tables. \*/
+
+669 Return ::= **RETURN**
+ /\* STATIC SEMANTICS – The RETURN construct shall not be used except in Default behaviour trees (including any local trees within Default behaviour tables). \*/
+
+670 Create ::= **CREATE** "(" CreateList ")"
+
+671 CreateList ::= CreateTComp {Comma CreateTComp}
+
+672 CreateTComp ::= TCompIdentifier Colon TreeReference [ActualParList]
+ /\* STATIC SEMANTICS – TCompIdentifier shall not be of Role MTC \*/
+
+673 GoTo ::= (">" | **GOTO**) Label
+ /\* STATIC SEMANTICS – The label column shall contain labels referenced from the GoTo. \*/
+ /\* STATIC SEMANTICS – Label shall be associated with the first of a set of alternatives, one of which is an ancestor node of the point from which the GoTo is to be made. \*/
+ /\* STATIC SEMANTICS – GoTo shall be used only for jumps within one tree, *i.e.*, within a Test Case root tree, a Test Step tree a Default tree and a local tree; and thus, each label used in a GoTo construct shall be found within the tree in which the GoTo is used. \*/
+ /\* STATIC SEMANTICS – There shall be no ACTIVATE operation as an ancestor node of the GoTo construct on the branch of the tree between the Label and the GoTo. \*/
+ /\* STATIC SEMANTICS – No GoTo shall be made to the first level of alternatives of local trees, Test Steps or Defaults. \*/
+
+674 Attach ::= "+" TreeReference [ActualParList]
+ /\* STATIC SEMANTICS – TreeReference shall not attach itself, either directly or indirectly, at its top level of indentation. \*/
+ /\* STATIC SEMANTICS – The number of the actual parameters shall be the same as the number of the formal parameters. \*/
+ /\* STATIC SEMANTICS – Formal and actual parameters of test steps shall be used in such a way that only valid TTCN is created by textual substitution. \*/
+ /\* STATIC SEMANTICS – LiteralValue, TS\_ParIdentifier, TS\_ConstIdentifier, TS\_VarIdentifier, TC\_VarIdentifier, ConsRef, MatchingSymbol, FormalParIdentifier, PCO\_Identifier and CP\_Identifier may be passed as actual parameters to an attached tree. \*/
+
+675 Repeat ::= **REPEAT** TreeReference [ActualParList] **UNTIL** Qualifier
+ /\* STATIC SEMANTICS – TreeReference shall not attach itself, either directly or indirectly, at its top level of indentation. \*/
+ /\* STATIC SEMANTICS – The number of the actual parameters shall be the same as the number of the formal parameters. \*/
+ /\* STATIC SEMANTICS – LiteralValue, TS\_ParIdentifier, TS\_ConstIdentifier, TS\_VarIdentifier, TC\_VarIdentifier, ConsRef, MatchingSymbol, FormalParIdentifier, PCO\_Identifier and CP\_Identifier may be passed as actual parameters to the tree in a REPEAT statement. \*/
+
+676 TreeReference ::= TestStepIdentifier | TreeIdentifier
+ /\* STATIC SEMANTICS – TreeIdentifier shall be the name of one of the trees in the current behaviour description, *i.e.*, local trees are not accessible outside the behaviour description in which they are specified. \*/
+
+677 ActualParList ::= "(" ActualPar {Comma ActualPar} ")"
+ /\* STATIC SEMANTICS – The number of the actual parameters shall be the same as the number of the formal parameters. \*/
+ /\* OPERATIONAL SEMANTICS – Each actual parameter shall resolve to a specific value compatible with the type of its corresponding formal parameter, or in the case of predefined operations compatible with the types for which the operation is defined. \*/
+ /\* STATIC SEMANTICS – If a parameter is a parameterized constraint then the constraint shall be passed together with its actual parameter list. \*/
+ /\* STATIC SEMANTICS – The actual parameters shall be bound. \*/
+ /\* STATIC SEMANTICS – If the type of the formal parameter is PDU, then the actual parameter's type shall be declared as PDU or as a specific **PDU** type. \*/
+
+678 ActualPar ::= Value | PCO\_Identifier | CP\_Identifier | TimerIdentifier
+ /\* NOTE – Through Value, it is possible to reach MatchingSymbol, TS\_ParIdentifier, TS\_ConstIdentifier, TS\_VarIdentifier, TC\_VarIdentifier, FormalParIdentifier or ConsRef. \*/
+
+### A.3.3.34 Expressions
+
+679 ConstantExpression ::= Expression
+ /\* STATIC SEMANTICS – ConstantExpression shall not contain TS\_Variables or TC\_Variables and shall resolve to a constant value \*/
+
+680 AssignmentList ::= "(" Assignment {Comma Assignment} ")"
+
+681 Assignment ::= DataObjectReference "=" Expression
+ /\* STATIC SEMANTICS – Except within a Procedural Definition or an Encoding Definition, the LHS of Assignment shall only resolve to: TS\_VarIdentifier, TC\_VarIdentifier, reference to the field of a variable or reference to an ASP parameter or PDU field that is to be sent. \*/
+ /\* STATIC SEMANTICS – Within a procedure definition of a TSOp or EncodingOp, the DataObject Identifier on the left-hand side of an assignment shall be a VarIdentifier. \*/
+ /\* STATIC SEMANTICS – The expression shall contain no unbound variables. \*/
+ /\* OPERATIONAL SEMANTICS – The Expression on the RHS of Assignment shall evaluate to an explicit value of the type of the LHS. \*/
+
+682 Expression ::= SimpleExpression [RelOp SimpleExpression]
+ /\* OPERATIONAL SEMANTICS – If both SimpleExpressions and the RelOp exist then the SimpleExpressions shall evaluate to specific values of compatible types. \*/
+ /\* OPERATIONAL SEMANTICS – If RelOp is "<" | ">" | ">=" | "<=" then each SimpleExpression shall evaluate to a specific INTEGER value. \*/
+ /\* STATIC SEMANTICS – ASN.1 Named Values shall not be used within arithmetic expressions as operands of operations. \*/
+
+683 SimpleExpression ::= Term {AddOp Term}
+ /\* OPERATIONAL SEMANTICS – Each Term shall resolve to a specific value. If more than one Term exists and if AddOp is "OR" then the Terms shall resolve to type BOOLEAN; if AddOp is "+" or "-" then the Terms shall resolve to type INTEGER. \*/
+
+684 Term ::= Factor {MultiplyOp Factor}
+ /\* OPERATIONAL SEMANTICS – Each Factor shall resolve to a specific value. If more than one Factor exists and if MultiplyOp is "AND" then the Factors shall resolve to type BOOLEAN; if MultiplyOp is "\*" or "/" then the Factors shall resolve to type INTEGER. \*/
+
+685 Factor ::= [UnaryOp] Primary
+ /\* OPERATIONAL SEMANTICS – The Primary shall resolve to a specific value. If UnaryOp exists and is "NOT" then Primary shall resolve to type BOOLEAN; if the UnaryOp is "+" or "-" then Primary shall resolve to type INTEGER. \*/
+
+686 Primary ::= Value | DataObjectReference | OpCall | SelectExprIdentifier | "(" Expression ")"
+ /\* STATIC SEMANTICS – SelectExprIdentifier shall only be used within selection expressions. \*/
+ /\* NOTE – Through Value, it is possible to reach MatchingSymbol, TS\_ParIdentifier, TS\_ConstIdentifier, TS\_VarIdentifier, TC\_VarIdentifier, FormalParIdentifier or ConsRef. \*/
+
+687 DataObjectReference ::= DataObjectIdentifier {ComponentReference}
+ /\* STATIC SEMANTICS – Identifiers of ASP parameters and PDU fields associated with SEND and RECEIVE shall be used only to reference ASP parameter and PDU field values on the statement line itself. \*/
+ /\* STATIC SEMANTICS – Each ComponentReference shall only reference an ASP parameter, PDU field, structure element or ASN.1 value explicitly declared in the object that immediately precedes in the DataObjectReference. \*/
+ /\* STATIC SEMANTICS – DataObjectIdentifier shall not be a VarIdentifier except within a procedure definition of a TestSuiteOperation or EncodingOperation. \*/
+
+688 DataObjectIdentifier ::= TS\_ParIdentifier | TS\_ConstIdentifier | TS\_VarIdentifier | TC\_VarIdentifier | FormalParIdentifier | ASP\_Identifier | PDU\_Identifier | CM\_Identifier | VarIdentifier
+
+689 ComponentReference ::= RecordRef | ArrayRef | BitRef
+ /\* STATIC SEMANTICS – RecordRef shall be used to reference ASN.1 SEQUENCE, SET and CHOICE components. It shall not be used to reference components of any other ASN.1 type. \*/
+ /\* STATIC SEMANTICS – RecordRef shall be used to reference ASP parameters, PDU fields and structure elements in the tabular form. \*/
+ /\* STATIC SEMANTICS – ArrayRef shall be used to reference ASN.1 SEQUENCE OF and SET OF components. It shall not be used to reference components of any other ASN.1 type. \*/
+
+690 RecordRef ::= Dot (ComponentIdentifier | ComponentPosition)
+ /\* STATIC SEMANTICS – The ComponentIdentifier form of RecordRef shall always be used to reference ASN.1 SEQUENCE, SET and CHOICE components when an identifier is declared for the component. \*/
+ /\* STATIC SEMANTICS – The ComponentIdentifier form of RecordRef shall always be used to reference ASP parameters, PDU fields and structure elements declared in the tabular form. \*/
+ /\* STATIC SEMANTICS – The ComponentPosition form of RecordRef shall always be used to reference ASN.1 SEQUENCE, SET and CHOICE components when an identifier is not declared for the component. \*/
+ /\* STATIC SEMANTICS – StructIdentifier shall not be used if the relevant structure is used as a macro. StructIdentifiers and PDU\_Identifier shall not be included in a RecordRef when a parameter, field or element is chained to a PDU or structure and the RecordRef is to identify a component of that PDU or structure. \*/
+ /\* STATIC SEMANTICS – Where a structure is used as a macro expansion, the elements in the structure shall be referred to as if it was expanded into the ASP or PDU referring to it. \*/
+ /\* STATIC SEMANTICS – If a parameter, field or element is defined to be of metatype PDU no reference shall be made to fields of that substructure. \*/
+
+691 ComponentIdentifier ::= ASP\_ParIdentifier | PDU\_FieldIdentifier | CM\_ParIdentifier | ElemIdentifier | ASN1\_Identifier
+692 ASN1\_Identifier ::= Identifier
+/\* NOTE – ASN1\_Identifier identifies a field within ASN.1 SEQUENCE, SET or CHOICE type. \*/
+/\* STATIC SEMANTICS – An ASN1\_Identifier associated with a NamedValue shall not be used unless the value is within a SEQUENCE, SET or CHOICE type. \*/
+/\* STATIC SEMANTICS – An ASN1\_Identifier shall be provided to identify the variant in a CHOICE type. \*/
+/\* STATIC SEMANTICS – An ASN1\_Identifier shall be provided whenever the value definition becomes ambiguous because of omitted OPTIONAL values in a SEQUENCE type. \*/
+693 ComponentPosition ::= "(" Number ")"
+694 ArrayRef ::= Dot "[" ComponentNumber "]"
+695 ComponentNumber ::= Expression
+/\* OPERATIONAL SEMANTICS – ComponentNumber shall evaluate to a non-negative specific INTEGER value. \*/
+696 BitRef ::= Dot (BitIdentifier | "[" BitNumber "]")
+697 BitIdentifier ::= Identifier
+/\* NOTE – BitIdentifier identifies a particular bit within an ASN.1 BIT STRING. \*/
+698 BitNumber ::= Expression
+/\* OPERATIONAL SEMANTICS – BitNumber shall evaluate to a non-negative specific INTEGER value. \*/
+699 OpCall ::= OpIdentifier (ActualParList | "(" ")")
+/\* STATIC SEMANTICS – See static semantics on production 699. \*/
+700 OpIdentifier ::= TS\_OpIdentifier | TS\_ProcIdentifier | PredefinedOpIdentifier
+701 PredefinedOpIdentifier ::= **BIT\_TO\_INT** | **HEX\_TO\_INT** | **INT\_TO\_BIT** | **INT\_TO\_HEX** | **IS\_CHOSEN** | **IS\_PRESENT** | **LENGTH\_OF** | **NUMBER\_OF\_ELEMENTS**
+702 AddOp ::= "+" | "-" | **OR**
+/\* OPERATIONAL SEMANTICS – Operands of the "+", "-" operators shall be of type INTEGER (*i.e.*, TTCN or ASN.1 predefined) or derivations of INTEGER (*i.e.*, subrange). Operands of the OR operator shall be of type BOOLEAN (TTCN or ASN.1 predefined) or derivatives of BOOLEAN. \*/
+703 MultiplyOp ::= "\*" | "/" | **MOD** | **AND**
+/\* OPERATIONAL SEMANTICS – Operands of the "\*", "/" and MOD operators shall be of type INTEGER (*i.e.*, TTCN or ASN.1 predefined) or derivations of INTEGER (*i.e.*, subrange). Operands of the AND operator shall be of type BOOLEAN (TTCN or ASN.1 predefined) or derivatives of BOOLEAN. \*/
+704 UnaryOp ::= "+" | "-" | **NOT**
+/\* OPERATIONAL SEMANTICS – Operands of the "+", "-" operators shall be of type INTEGER (*i.e.*, TTCN or ASN.1 predefined) or derivations of INTEGER (*i.e.*, subrange). Operands of the NOT operator shall be of type BOOLEAN (TTCN or ASN.1 predefined) or derivatives of BOOLEAN. \*/
+705 RelOp ::= "=" | "<" | ">" | "<>" | ">=" | "<="
+
+### A.3.3.35 Timer operations
+
+706 TimerOps ::= TimerOp {Comma TimerOp}
+707 TimerOp ::= StartTimer | CancelTimer | ReadTimer
+708 StartTimer ::= **START** (TimerIdentifier | FormalParIdentifier) "(" TimerValue ")"
+/\* STATIC SEMANTICS – FormalParIdentifier shall only be of TIMER type. \*/
+709 CancelTimer ::= **CANCEL** [TimerIdentifier | FormalParIdentifier]
+/\* STATIC SEMANTICS – FormalParIdentifier shall only be of TIMER type. \*/
+710 TimerValue ::= Expression
+/\* OPERATIONAL SEMANTICS – Timervalue shall evaluate to a non-zero positive INTEGER. \*/
+711 ReadTimer ::= **READTIMER** (TimerIdentifier | FormalParIdentifier) "(" DataObjectReference ")"
+/\* STATIC SEMANTICS – FormalParIdentifier shall only be of TIMER type. \*/
+/\* STATIC SEMANTICS – The DataObjectReference shall only resolve to TS\_VarIdentifier, TC\_VarIdentifier, or reference to the field of a variable. \*/
+/\* OPERATIONAL SEMANTICS – The DataObjectReference shall resolve to type INTEGER. \*/
+
+### A.3.3.36 Types
+
+712 TypeOrPDU ::= Type | **PDU**
+713 Type ::= PredefinedType | ReferenceType
+
+#### A.3.3.36.1 Predefined types
+
+714 PredefinedType ::= INTEGER | BOOLEAN | BITSTRING | HEXSTRING | OCTETSTRING | OBJECTIDENTIFIER | R\_Type | CharacterString
+715 CharacterString ::= NumericString | PrintableString | TeletexString | VideotexString | VisibleString | IA5String | GraphicString | GeneralString | T61String | ISO646String | BMPString | UniversalString
+
+#### A.3.3.36.2 Referenced types
+
+716 ReferenceType ::= TS\_TypeIdentifier | ASP\_Identifier | PDU\_Identifier | CM\_Identifier
+/\* STATIC SEMANTICS – All types, other than the predefined types, used in a test suite shall be declared in the Test Suite Type definitions, ASP type definitions, PDU type definitions or CM type definitions, and referenced by name. \*/
+717 TS\_TypeIdentifier ::= SimpleTypeIdentifier | StructIdentifier | ASN1\_TypeIdentifier
+
+### A.3.3.37 Values
+
+718 Value ::= LiteralValue | ASN1\_Value [ASN1\_Encoding]
+
+/\* REFERENCE – Where ASN1\_Value is the non-terminal Value as defined in ITU-T Rec. X.680. For the purposes of TTCN, the following production defined in ITU-T Rec. X.680:
+
+DefinedValue ::= Externalvaluereference | valuereference | ParameterizedValue is redefined to be:
+
+DefinedValue ::= ConstraintValue&Attributes | valuereference
+
+This means that ASN.1 external references are not allowed in TTCN, but the full possibilities of ConstraintValue&Attributes as defined in production 562 are allowed within ASN.1 values in TTCN. This means that expressions, matching symbols, constraint references, value lengths, IF\_PRESENT, and ASN.1 field encoding operations are all included.
+
+For the purpose of TTCN, the following productions in ITU-T Rec. X.680:
+
+BuiltinValue ::=
+
+BitStringValue |
+ BooleanValue |
+ CharacterStringValue |
+ ChoiceValue |
+ EmbeddedPDUValue |
+ EnumeratedValue |
+ ExternalValue |
+ InstanceOfValue |
+ IntegerValue |
+ NullValue |
+ ObjectClassFieldValue |
+ ObjectIdentifierValue |
+ OctetStringValue |
+ RealValue |
+ SequenceValue |
+ SequenceOfValue |
+ SetValue |
+ SetOfValue |
+ TaggedValue
+
+ReferencedValue ::=
+
+DefinedValue |
+ ValueFromObject
+
+are redefined to be:
+
+BuiltinValue ::=
+
+BitStringValue |
+ BooleanValue |
+ CharacterStringValue |
+ ChoiceValue |
+ EmbeddedPDUValue |
+ EnumeratedValue |
+ ExternalValue |
+ IntegerValue |
+ NullValueValue |
+ ObjectIdentifierValue |
+ OctetStringValue |
+ RealValue |
+ SequenceValue |
+ SequenceOfValue |
+ SetValue |
+ SetOfValue |
+ TaggedValue
+
+ReferencedValue ::=
+
+DefinedValue \*/
+
+/\* STATIC SEMANTICS – ASN.1 Named Values shall not be used within arithmetic expressions as operands of operations. \*/
+
+719 LiteralValue ::= Number | BooleanValue | Bstring | Hstring | Ostring | Cstring | R\_Value
+
+720 Number ::= (NonZeroNum {Num}) | 0
+
+721 NonZeroNum ::= 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
+
+722 Num ::= 0 | NonZeroNum
+
+723 BooleanValue ::= TRUE | FALSE
+
+```
+
+724 Bstring ::= "" {Bin | Wildcard} "" B
+725 Bin ::= 0 | 1
+726 Hstring ::= "" {Hex | Wildcard} "" H
+727 Hex ::= Num | A | B | C | D | E | F
+728 Ostring ::= "" {Oct | Wildcard} "" O
+729 Oct ::= Hex Hex
+730 Cstring ::= "" {Char | Wildcard | "\"} ""
+731 Char ::= /* REFERENCE – A character defined by the relevant CharacterString type. */
+/* LEXICAL REQUIREMENT – If the CharacterString type includes the character " (double quote), this character shall be
+represented by a pair of " (double quote) in the denotation of any value. */
+732 Wildcard ::= AnyOne | AnyOrNone
+733 AnyOne ::= "?"
+/* STATIC SEMANTICS – AnyOne shall be used only within values of string types, SEQUENCE OF and SET OF. */
+734 AnyOrNone ::= "*"
+/* STATIC SEMANTICS – AnyOrNone shall be used only within values of string types, SEQUENCE OF and SET OF. */
+735 R_Value ::= pass | fail | inconc | none
+736 Identifier ::= Alpha {AlphaNum | Underscore | DoubleColon}
+/* STATIC SEMANTICS – All Identifiers referenced in a TTCN test suite shall be explicitly declared in the test suite,
+explicitly declared in an ASN.1 type definition referenced by the test suite or be a TTCN predefined identifier. */
+/* STATIC SEMANTICS – DoubleColon shall only be used in identifiers which are declared in an Import table. Identifiers
+containing DoubleColon shall not appear in an Export table. The DoubleColon is used to separate the name of a TTCN
+Module from an identifier originally specified in that TTCN Module. */
+737 Alpha ::= UpperAlpha | LowerAlpha
+738 AlphaNum ::= Alpha | Num
+739 UpperAlpha ::= A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
+740 LowerAlpha ::= a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z
+741 ExtendedAlphaNum ::= /* REFERENCE – A character from any character set defined in ISO/IEC 10646-1 */
+742 BoundedFreeText ::= "/" FreeText "/"
+743 FreeText ::= {ExtendedAlphaNum}
+/* LEXICAL REQUIREMENT – Free Text shall not contain the string "/" unless preceded by backslash ("\"). */
+
+```
+
+### A.3.3.38 Miscellaneous productions
+
+```
+
+744 Comma ::= ","
+745 Dot ::= "."
+746 Dash ::= "-"
+747 Minus ::= "-"
+748 SemiColon ::= ";"
+749 DoubleColon ::= Colon Colon
+750 Colon ::= ":"
+751 Underscore ::= "_"
+
+```
+
+## A.4 General static semantics requirements
+
+### A.4.1 Introduction
+
+Static semantics requirements that are related to specific BNF productions are specified as comments on the relevant productions, in the following format:
+
+/\* STATIC SEMANTICS – ... \*/
+
+All other static semantic requirements that are common to both TTCN.GR and TTCN.MP are specified in the remainder of A.4. Additional static semantics in the TTCN.MP are specified in A.5.2.
+
+### A.4.2 Uniqueness of identifiers
+
+In some cases test suites may make references to items defined in other OSI standards. In particular, references to ASN.1 type definition modules according to ITU-T Rec. X.680 may be made in the type definitions. Names from those modules (such as identifiers of subfields within structured ASN.1 type definitions) may be used throughout the test suite.
+
+Since the rules for identifiers in ASN.1 and TTCN conflict, the following conventions apply:
+
+- type references, module identifiers and value references made within the various ASN.1 type definitions tables shall comply to the requirements for identifiers defined in ITU-T Rec. X.680;
+- for identifiers used within the other parts of a test suite hyphen ( - ) characters shall be replaced with underscores( \_ ).
+
+Within some TTCN tables part of the ASN.1 syntax can be used to define types. In that case, ASN.1 rules shall be followed for identifiers, with the exception that hyphen ( - ) characters shall not be used. Underscores ( \_ ) may be used instead. All other requirements defined by ITU-T Rec. X.680 (*e.g.*, Type identifiers shall start with an upper case letter, and field identifiers within structured ASN.1 definitions shall start with a lower case letter) apply to TTCN test suites wherever ASN.1 is used.
+
+All identifiers of the following TTCN objects shall be unique throughout the test suite:
+
+- a) Test Suite Types;
+- b) Test Suite Operations;
+- c) Test Suite Parameters;
+- d) Test Case Selection Expressions;
+- e) Test Suite Constants;
+- f) Test Suite Variables;
+- g) Test Case Variables;
+- h) PCO types;
+
+NOTE 1 – If there is no PCO type declaration table, then PCO types are implicitly declared in the PCO declaration table, in which case the uniqueness refers to the meaning of the PCO type – the same PCO type may occur several times in the PCO declaration table with the same meaning.
+
+- i) PCOs;
+- j) CPs;
+- k) Timers;
+- l) Test Components;
+- m) Test Component Configurations;
+- n) ASP types;
+- o) PDU types;
+- p) CM types;
+- q) Structured Types;
+- r) Encoding Rules;
+- s) Encoding Variations;
+- t) Invalid Field Encodings;
+- u) Aliases;
+- v) ASP constraints;
+- w) PDU constraints;
+- x) CM constraints;
+- y) Structure constraints;
+- z) Test Cases;
+- aa) Test Steps;
+- ab) Defaults;
+- ac) Encoding Rule Names;
+- ad) Encoding Variation Names;
+- ae) Invalid Field Encoding Names.
+
+All the following TTCN object references shall be unique throughout the test suite:
+
+- a) Test Group References;
+- b) Test Step Group References;
+- c) Default Group References.
+
+TTCN reserved words are listed in Table A.2. These reserved words shall not be used as identifiers in a TTCN test suite. All TTCN reserved words and TTCN identifiers are case sensitive.
+
+**Table A.2/X.292 – TTCN reserved words**
+
+| | | |
+|---------------|--------------------|-----------------|
+| ACTIVATE | IF | PDU |
+| AND | IF_PRESENT | PERMUTATION |
+| BEGIN | INCONC | PrintableString |
+| BITSTRING | inconc | ps |
+| BIT_TO_INT | INFINITY | PTC |
+| BOOLEAN | INTEGER | R |
+| BY | INT_TO_BIT | READTIMER |
+| CANCEL | INT_TO_HEX | REPEAT |
+| CASE | IS_CHOSEN | REPLACE |
+| COMPLEMENT | IS_PRESENT | RETURN |
+| CP | IUT | RETURNVALUE |
+| CREATE | LT | R_Type |
+| DO | min | s |
+| DONE | MOD | START |
+| ELSE | ms | STATIC |
+| ENC | MTC | SUPERSET |
+| END | MTC_R | SUBSET |
+| ENDCASE | NOT | TeletexString |
+| ENDIF | ns | THEN |
+| ENDVAR | OF | TIMEOUT |
+| ENDWHILE | OMIT | TIMER |
+| F | OR | TO |
+| FAIL | OTHERWISE | TRUE |
+| fail | P | UNTIL |
+| FALSE | LENGTH_OF | us |
+| GeneralString | none | UT |
+| GOTO | NUMBER_OF_ELEMENTS | VAR |
+| GraphicString | NumericString | VideotexString |
+| HEXSTRING | OCTETSTRING | VisibleString |
+| HEX_TO_INT | OBJECTIDENTIFIER | WHILE |
+| I | PASS | |
+| IA5String | pass | |
+
+The ASN.1 reserved words are listed in Table A.3. These reserved words shall not be used as identifiers in a TTCN test suite.
+
+**Table A.3/X.292 – ASN.1 reserved words**
+
+| | | |
+|-----------------|------------------|-----------------|
+| ABSENT | EXTERNAL | OPTIONAL |
+| ABSTRACT-SYNTAX | FALSE | PDV |
+| ALL | FROM | PRESENT |
+| APPLICATION | GeneralString | PRIVATE |
+| AUTOMATIC | GeneralizedTime | PrintableString |
+| BEGIN | GraphicString | REAL |
+| BIT | IA5String | SEQUENCE |
+| BMPString | IDENTIFIER | SET |
+| BOOLEAN | IMPLICIT | SIZE |
+| CHARACTER | IMPORTS | STRING |
+| CHOICE | INCLUDES | SYNTAX |
+| CLASS | INSTANCE | T61String |
+| COMPONENT | INTEGER | TRUE |
+| COMPONENTS | INTERSECTION | TeletexString |
+| CONSTRAINED | ISO646String | TYPE-IDENTIFIER |
+| DEFAULT | MAX | UNION |
+| DEFINITIONS | MIN | UNIQUE |
+| EMBEDDED | NULL | UNIVERSAL |
+| END | NumericString | UniversalString |
+| ENUMERATED | OBJECT | UTCTime |
+| EXCEPT | ObjectDescriptor | VideotexString |
+| EXPLICIT | OCTET | VisibleString |
+| EXPORT | OF | WITH |
+
+NOTE 2 – Table A.3 contains a number of keywords which at present have no support within this standard. Those keywords have been reserved to facilitate future integration of ASN.1 1994 features into TTCN.
+
+When ASN.1 is used in a TTCN test suite, ASN.1 identifiers from the following list shall be unique throughout the test suite, regardless of whether the ASN.1 definition is explicit or implicit by reference:
+
+- a) *TypeIdentifiers* of an ASN.1 Type Definition;
+- b) identifiers occurring in an ASN.1 ENUMERATED type as distinguished values;
+- c) identifiers occurring in a *NamedNumberList* of an ASN.1 INTEGER type.
+
+The names of ASP parameters shall be unique within the ASP in which they are declared. The names of PDU fields shall be unique within the PDU in which they are declared. The names of CM parameters shall be unique within the CM in which they are declared.
+
+If a Structured Type is used as a macro expansion, then the names of the elements within the Structured Type shall be unique within each ASP, PDU or CM where it will be expanded.
+
+Labels used within a tree shall be unique within a tree (*i.e.*, Test Case root tree, Test Step tree, Default tree, local tree).
+
+The tree header identifier used for local trees shall be unique within the dynamic behaviour description in which they appear, and shall not be the same as any identifier having a unique meaning throughout the test suite.
+
+NOTE 3 – This means that a local tree identifier may have the same name as a local tree identifier in another behaviour description, but not the same as another Test Step in the Test Step Library.
+
+The formal parameter names which may optionally appear as part of the following shall be unique within that formal parameter list, and shall not be the same as any identifier having a unique meaning throughout the test suite:
+
+- a) Test suite operations definition;
+- b) Tree header of a local tree;
+- c) Test Step Identifier;
+- d) Default Identifier;
+- e) Parameterized constraint declaration.
+
+A formal parameter name contained in the formal parameter list of a local tree header shall take precedence over a formal parameter name contained in the formal parameter list of the Test Step in which it is defined, within the scope of that local formal parameter list.
+
+In concurrent TTCN, PCOs and CPs used in a Test Case shall only be those determined by the Test Component configuration for that Test Case.
+
+Each identifier used in the procedural definition of a test suite operation shall be one of the following:
+
+- a) locally declared variable name;
+- b) a type name, used in a variable declaration;
+- c) a formal parameter name declared in a formal parameter list of the operation;
+- d) a test suite operation name.
+
+The scope of formal parameter names and locally declared variable names is the procedural definition of the test suite operation. Thus, the values of all other types of identifier are not directly accessible within the procedural definition of a test suite operation. To access such values they shall be passed as actual parameters to the test suite operation.
+
+The constraints for TTCN Structured Types, TTCN ASPs, TTCN PDUs and TTCN CMs shall not be specified using ASN.1 tables (i.e., ASN.1 Type Constraints, ASN.1 ASP Constraints, ASN.1 PDU Constraints or ASN.1 CM Constraints). Conversely, the constraints for ASN.1 Types, ASN.1 ASPs, ASN.1 PDUs and ASN.1 CMs shall not be specified using TTCN tables (i.e., Structured Type Constraints, TTCN ASP Constraints, TTCN PDU Constraints or TTCN CM Constraints).
+
+NOTE 4 – However, when ASPs or PDUs are chained to other PDUs, the enclosing ASP or PDU may, for example, be specified in tabular TTCN, whereas the enclosed PDU may be specified in ASN.1.
+
+## **A.5 Differences between TTCN.GR and TTCN.MP**
+
+### **A.5.1 Differences in syntax**
+
+The following is a list of syntax differences between TTCN.MP and TTCN.GR:
+
+- a) TTCN.MP uses keywords as delimiters between entries, while TTCN.GR uses boxes;
+- b) TTCN.MP uses an explicit denotation of indentation levels for test events, while indentation is indicated visually in TTCN.GR;
+- c) TTCN.MP contains an extra occurrence of the suite identifier, which is used to facilitate identification of the ATS in an automated method;
+- d) in TTCN.MP the Test Case behaviour descriptions are explicitly grouped by the inclusion of appropriate Test Group Identifiers in sequence before the Test Case behaviour descriptions belonging to each group; this information duplicates information contained in the Test Case Index and in the Test Group References of the Test Case behaviour descriptions;
+- e) the Test Suite Structure, Test Case Index, Test Step Index and Default Index tables require a page number for each entry; since page numbers are not relevant in the machine processable form they are not reflected in the TTCN.MP;
+- f) TTCN.GR supports both single and compact proformas for ASP and PDU constraints and Test Cases; the TTCN only supports BNF for the single table format and the presentation of a number of single tables in TTCN.GR compact format is a display issue; when mapping a compact constraints table to TTCN.MP (i.e., single format), blank fields due to modification shall be omitted;
+- g) the symbols "/" and "\*" which open and close BoundedFreeText strings in the TTCN.MP shall not appear in the TTCN.GR;
+
+- h) there are two alternative positions for the labels column in behaviour description tables in TTCN.GR, whereas there is a fixed position for the labels in TTCN.MP;
+- i) page and line continuation are TTCN.GR features which are not represented in the TTCN.MP;
+- j) page and line numbering are TTCN.GR features which are not represented in the TTCN.MP;
+- k) if in TTCN.GR group references are used with definitions, declarations or constraints to indicate a hierarchical grouping of objects, then in TTCN.MP each relevant group identifier is inserted before the syntax for the group of tables which share that group identifier and the syntax for the group identifier and following group of tables are enclosed in the appropriate TTCN.MP keywords, relevant to the type of object.
+
+#### **A.5.2 Additional static semantics in the TTCN.MP**
+
+The following is a list of the additional static semantics in the TTCN.MP:
+
+- a) in the TTCN.MP, statements in the first level of alternatives having no predecessor in the root or local tree they belong to have the indentation value of zero; statements having a predecessor shall have the indentation value of the predecessor plus one as their indentation value;
+- b) in the TTCN.MP, the Test Suite Structure information is in the form of Test Group Identifiers preceding Test Case behaviour descriptions shall be the same structure as defined by the part of the Test Suite Structure relevant to Test Groups and that defined by the Test Case Index.
+
+#### **A.6 List of BNF production number**
+
+Void.
+
+## **Annex B**
+
+### **Operational semantics of TTCN**
+
+(This annex forms an integral part of this Recommendation)
+
+#### **B.1 Introduction**
+
+Annex A describes the syntax of TTCN by means of BNF production rules and restrictions on these productions the observance of which may be verified either statically or dynamically.
+
+This annex defines the semantics of TTCN by describing an abstract procedure that executes syntactically valid TTCN test suites. This procedure starts for each Test Case, an abstract "TTCN machine" that evaluates this Test Case by means of the creation, expansion and interpretation of an "EvaluationTree", dealing with one level (ordered set of alternatives in a certain position in the tree) at a time. In the execution of concurrent TTCN, additional TTCN machines are started, one for each created PTC. These machines work in the same way as the principal TTCN machine, which is then executing the main test component. The necessary PCOs and CPs, connecting TTCN machines with their environment and with each other, are assumed to exist already and to be initially empty.
+
+The abstract procedure (EVALUATE\_TEST\_SUITE) and the TTCN machines (EVALUATE\_TEST\_CASE, EVALUATE\_TEST\_COMPONENT) are described in clause B.5. EvaluationTree has the form of a TTCN behaviour tree, but enriched by additional components. In a TTCN machine it is initially set to be the indicated Test Case or Test Step root tree, or local tree. In the course of test case execution, EvaluationTree is expanded, and "control" generally moves down the EvaluationTree, except in the execution of GOTOs and RETURNS, where control moves up.
+
+The additional tree components, introduced for technical reasons, are the following: each node (alternative) has, besides the denoted StatementLine, a Boolean value IsDefault, telling whether the node stems from a Default Behaviour Table; each level has, besides the denoted list of StatementLines, a Boolean value IsExpanded, telling whether the level has already been expanded.
+
+It is not required that a real TTCN machine be built in a way that it works internally exactly as the abstract one. TTCN operational semantics define only how a real TTCN machine should behave externally, i.e., with respect to PCO and CP queues, timers and the timer list, and test component termination information. Implementation details are irrelevant.
+
+#### **B.2 Precedence**
+
+Operational semantics for TTCN are supplied in the following clauses in a mixture of pseudo-code and natural language. Where these two notations overlap they are meant to have identical meanings. If the pseudo-code and natural language conflict, this is an error, and should be reported back to the standards organization via a defect report. In such a case, pending correction of the defect by the standards organization, the pseudo-code will take precedence over the natural language text.
+
+#### **B.3 Processing of test case errors**
+
+Within the main body of this Recommendation, as well as within Annex A and this annex, conditions are described that result in the detection of test case errors. The observation of a test case error shall be recorded in the conformance log and lead to the abortion of the Test Case.
+
+Without being explicitly mentioned in the following, a test case error is always detected dynamically if any part of an expression does not evaluate to a defined value. Expressions are evaluated, among other occasions, in the application of assignments, qualifiers and constraints.
+
+#### **B.4 Converting a modularized test suite to an equivalent expanded test suite**
+
+This algorithm does not handle error cases. It requires that the objects are unique in the scope where they are defined and used.
+
+In the conversion from modularized test suite to an expanded test suite, there is a need for the renaming of some imported TTCN objects (in order to avoid name clashes). In this rename process two options are allowed:
+
+- a) the original name is retained as defined in the declaration/definition of the object;
+- b) the new name is constructed by concatenation of the module identifier and the original name of the object. They shall be separated by two underscores, e.g. ModuleA\_\_ConnectionRequest.
+
+The principle of this algorithm is: for each source object, make a temporary copy of it, expand the copy, then mark each object to be imported and finally merge each marked object into the importing suite.
+
+In expanding imported sources all explicitly and implicitly imported objects are renamed to Module::Identifier, if they were not already renamed at import. Every module shall have a unique identifier. In the expanded test suite all explicitly and implicitly imported objects are clearly recognizable and because every module has to have a unique name, name clashes are not possible.
+
+## **B.5 TTCN operational semantics**
+
+### **B.5.1 Introduction**
+
+TTCN behaviour trees are evaluated one level of alternatives at a time. At each level, defaults are appended, attachment constructs are expanded, and REPEAT constructs are replaced. This produces a set of alternatives that can be evaluated to discover which one successfully matches and thereby determines which set of alternatives to proceed to next. The requirements for what constitutes a match for a TTCN statement depend on what is coded on that behaviour line, and are described in this semantics text.
+
+### **B.5.2 The pseudo-code notation**
+
+#### **B.5.2.1 Introduction**
+
+TTCN semantics are defined using a simple functional approach that explains the execution of a TTCN Test Case behaviour description, involving the step-wise expansion of an evaluation tree, and the execution of nodes of this tree. These functions are intended as an aid to understanding TTCN semantics and are not intended to be associated with any particular execution model or high level programming language. They are not meant to be direct methods for executing TTCN.
+
+Keywords of pseudo-code are printed in bold font, e.g., **procedure**, **function**, **begin**, **end**, **if**, **then**, **else**. In the header of their definition, procedure, process, and function names are highlighted by bold font to facilitate lookup. For the same reason, the data type of a function is highlighted. Apart from this, data types are not dealt with explicitly.
+
+#### **B.5.2.2 Procedures and functions**
+
+Many statements are **procedure** calls. **Function** expressions may be used wherever a value of the associated type is needed. They obtain their value (and are immediately terminated) by **return**, followed by a value expression.
+
+Procedure and function parameters are generally "throughput parameters", i.e., formal parameters that may be both "read" and "written to". In particular, functions may have "side effects" and are essentially "procedures with a value". Variables in a procedure or function body that are neither formal parameters nor any of the global ones mentioned above are local variables of this body, without explicit declaration.
+
+Care is taken that:
+
+- parameters are read only when they have a defined value;
+- terms are used as actual parameters only where the procedure or function does not assign a value to the respective formal parameter, i.e., the parameter is purely an input parameter.
+
+#### **B.5.2.3 Processes**
+
+**Processes** behave like procedures, except that they are each run on a separate TTCN machine. They are not executed in a nested fashion. In a process, global data objects may be declared, such that they are available in all procedures and functions called in the process without being explicitly passed along as parameters. Avoiding long parameter lists makes the pseudo-code easier to read. Of course, instances of global objects exist independently in each process (TTCN machine). There is no relationship between global objects in different processes.
+
+In this annex, the following objects are treated as global objects in each process:
+
+- EvaluationTree, of the Test Case (or Main Test Component) or Parallel Test Component.
+- CurrentLevel, to be expanded or matched.
+- Defaults, the current default context, used in default expansion.
+- Snapshot, the temporarily fixed view of the environment.
+- ReturnLevel, to be considered after the execution of a RETURN statement.
+
+- ReturnDefaults, the default context of the ReturnLevel.
+- SendObject, the ASP, PDU, or CM to be sent next.
+- ReceiveObject, the ASP, PDU, or CM received last.
+
+Thus, each TTCN machine will have its own EvaluationTree, etc.
+
+Other objects, however, are accessible from all processes. The relevant state of the "environment of EVALUATE\_TEST\_SUITE", i.e., the contents of the relevant PCOs and CPs, as well as the lists of expired timers, the values of timers, and the list of terminated parallel test components, are assumed to be globally accessible from all test components and need not be passed explicitly as parameters. Similarly, Test Suite Parameters, Test Suite Constants, and Test Suite Variables are assumed to be accessible from all test case or test component processes.
+
+#### B.5.2.4 Natural language within pseudo-code
+
+Some parts of pseudo-code are written in natural language, in order to limit the complexity of this annex. These parts are enclosed by */#* and */#*. Such parts represent statements, for-loop details, or expressions of pseudo-code and are assumed to be executed or evaluated, when they are encountered.
+
+Pure comments, intended for the human reader, not to be executed or evaluated by a TTCN machine, are enclosed by *(\* and \*)*.
+
+#### B.5.2.5 Levels and alternatives
+
+A level visited in a tree denotes both a position in the tree and the ordered set of alternatives at this level.
+
+An alternative visited in a tree determines a level position in the tree, cf. LEVEL\_OF in B.5.25. The alternative denotes simultaneously a position in that level, a BehaviourLine, a StatementLine, etc.
+
+Thus, levels and alternatives in a tree are pointers, but the unpacking of the data objects they point at is done implicitly.
+
+### B.5.3 Execution of a Test Suite
+
+#### B.5.3.1 Introduction
+
+The Test Suite is executed in the main procedure, EVALUATE\_TEST\_SUITE. Every Main Test Component (Test Case in the non-concurrent case) is executed on an abstract TTCN machine executing EVALUATE\_TEST\_CASE. Each Parallel Test Component is executed on an independent TTCN machine, performing EVALUATE\_TEST\_COMPONENT.
+
+**procedure** EVALUATE\_TEST\_SUITE(TestSuiteId)
+
+*(\* This procedure introduces unique names for all TTCN trees, including local subtrees. It sets Test Suite specific data objects and evaluates each Test Case whose selection expressions become TRUE. \*)*
+
+**begin**
+
+**for** */#* every Test Case, Test Step or Default behaviour table *Table* in TestSuiteId */#* **do**
+
+**begin**
+
+*/#* Rename all local trees of Table such that they become unique throughout the test suite and different from any Test Case,
+
+Test Step or Default behaviour table name in the Test Suite. */#*;
+
+*/#* Rename accordingly in Table all references to local trees in attachments. */#*;
+
+*/#* Every node in every behaviour tree gets a new Boolean component "IsDefault".
+
+This component is set to **TRUE** for all nodes in Default Dynamic Behaviour Tables and **FALSE** for all nodes in all other tables. */#*;
+
+**end;**
+
+**for** */#* every Default behaviour table *Table* in TestSuiteId */#* **do**
+
+**begin**
+
+*/#* For each leaf of the behaviour tree which does not have an entry in the verdict column assign the verdict **R**. */#*
+
+*/#* or each leaf of the behaviour table which has a preliminary result assigned, change the preliminary result to a verdict by removing the parentheses around it. */#*
+
+**end;**
+
+Evaluated := */#* empty list of Test Case Identifiers */#*;
+
+*/#* Set values of Test Suite Parameters, Test Suite Constants, and, where to be initialized, of Test Suite Variables */#*;
+
+**for** */#* every Test Case Identifier *TCId* of TestSuiteId that is not yet in Evaluated */#* **do** *(\* in any order \*)*
+
+**begin**
+
+SelEx := */#* conjunction of the selection expressions of all test groups containing Test Case TCId (directly or via lower groups) */#*;
+
+**if** EVALUATE\_BOOLEAN(SelEx) **then**
+
+**start process** EVALUATE\_TEST\_CASE (TCId);
+
+*/#* add TCId to the list Evaluated */#*;
+
+**end**
+
+**end**
+
+## B.5.4 Execution of a Test Case
+
+### B.5.4.1 Execution of a Test Case – pseudo-code
+
+```
+process EVALUATE_TEST_CASE(TestCaseId)
+ (* This process initializes the EvaluationTree by the Test Case root tree and the default context by the Defaults references listed with the Test Case Behaviour Description. It moves control to the top level of alternatives and calls their evaluation. *)
+global EvaluationTree, CurrentLevel, Defaults, Snapshot, ReturnLevel, ReturnDefaults, SendObject, ReceiveObject;
+begin
+ /* Initialize Test Case Variables, global R and MTC_R, PCOs, CPs, Timers, and the Timeout List of TestCaseId. */;
+ EvaluationTree := ROOT_TREE(TestCaseId);
+ (* EvaluationTree is a growing finite tree built up by pasting together and expanding copies of trees from the test case behaviour description and from the test step and default libraries. A component IsExpanded is added to each level. *)
+ CurrentLevel := FIRST_LEVEL(EvaluationTree);
+ (* A level denotes both a position in a tree and the ordered set of alternatives at this position. *)
+ ReturnLevel := CurrentLevel;
+ Defaults := DEF_REF_LIST(TestCaseId);
+ ReturnDefaults := Defaults;
+ EVALUATE_LEVELS ();
+ (* This includes, by nested calls, the evaluation of all relevant subsequent levels in the growing evaluation tree. *)
+end
+
+procedure EVALUATE_LEVELS ()
+ (* This procedure first expands and evaluates CurrentLevel, which is the currently active level of alternatives of EvaluationTree. Defaults gives the currently active default context. The alternatives contained in CurrentLevel are processed in their order of appearance, if necessary in repeated rounds. CurrentAlternative is the loop variable of the for-loop, denoting the currently considered alternative in CurrentLevel. By the snapshot mechanism, in each round of matching attempts through CurrentLevel, the status of the environment considered does not change, giving each such round an instantaneous character.
+ Save for dynamically detected test case errors, the evaluation of CurrentLevel includes the successful evaluation of an alternative. This is followed by the assignment of a verdict and the evaluation of the next level, and hence, by induction, of all levels that control subsequently moves to. *)
+begin
+ if NOT IS_EXPANDED() then
+ (* By this condition we avoid expanding levels repeatedly which are targets of GOTOs. *)
+ EXPAND_CURRENT_LEVEL ();
+ (* Now the current level is free of REPEATs and attachments, and includes the necessary defaults. *)
+ repeat
+ (* ... performing rounds through current level, trying to match an alternative. *)
+ TAKE_SNAPSHOT();
+ (* ... of the incoming PCO and CP queue(s), the relevant timeout list, and the termination status of any other test components. *)
+ for /* every CurrentAlternative in CurrentLevel, in the given order */ do
+ (* try to match the current alternative. Note that an alternative visited in a tree determines a level position in the tree and denotes, depending on the context it is used in, a position in that level, a BehaviourLine, a StatementLine, etc. *)
+ begin
+ if EVALUATE_EVENT_LINE (CurrentAlternative) then
+ (* In the absence of Test Case errors the Test Component or Test Case will terminate inside the EVAL_VERDICT_ENTRY or GOTO_NEXT_LEVEL_OR_STOP_WITH_VERDICT call of the innermost recursive instance of EVALUATE_LEVELS, e.g. if there is a final verdict or no next level. Then, the for-loop will be aborted, too. *)
+ begin
+ if /* Alternative has a verdict column entry VerdictEntry */ then
+ EVAL_VERDICT_ENTRY(VerdictEntry);
+ GOTO_NEXT_LEVEL_OR_STOP_WITH_VERDICT(CurrentAlternative);
+ EVALUATE_LEVELS();
+ end
+ end
+ until SNAPSHOT_FIXED();
+ (* SNAPSHOT_FIXED returns TRUE if Snapshot cannot change any more. *)
+ LOG(TEST_CASE_ERROR);
+ STOP_TEST_CASE();
+ end
+ end
+ end
+ end
+end
+```
+
+### B.5.4.2 Execution of a Test Case or Test Component – natural language description
+
+**Step 1** Evaluation begins at the numerically lowest (in TTCN.MP), i.e., the leftmost (in TTCN.GR), level of indentation of the root tree.
+
+**Step 2** Expand current level to include all defaults explicitly, and to replace all tree attachments, as long as necessary, as well as all REPEATs, by their expansions.
+
+**Step 3** Take a snapshot of the incoming PCO and CP queue(s) and the timeout list.
+
+NOTE 1 – The act of taking a snapshot does not remove an event from any PCO or CP.
+
+Consider the first behaviour line at the current level of alternatives.
+
+**Step 4** Evaluate the TTCN statement on the current behaviour line.
+
+The evaluation of each type of TTCN statement is specified in the operational semantics for that TTCN statement type.
+
+**Step 5** If the TTCN statement evaluates to a successful match, then go to Step 6.
+
+Otherwise, if there are more alternatives in the current set of alternatives, consider the next behaviour line in the set of alternatives and go to Step 4.
+
+If there are no more alternatives, and yet all PCO and CP queues relevant to this set of alternatives contain at least one event, and all timers relevant to Timeout statements in the set of alternatives are in the timeout list, then stop the Test Case and indicate *test case error*.
+
+NOTE 2 – Under these conditions none of the set of alternatives can ever match.
+
+In all other cases – i.e., there are no more alternatives and the next snapshot might show a different picture – go to Step 3.
+
+**Step 6** If a preliminary verdict is coded, process it as in B.5.23.2.
+
+**Step 7** If a leaf node in the tree or a node with a final verdict has been reached, then go to Step 8.
+
+Otherwise, determine and consider the next level to be evaluated and go to Step 2.
+
+**Step 8** Use final verdict, or, if not specified, the current value of the preliminary result variable R, as the final verdict of the Test Case as in B.5.23.2 and B.5.25.
+
+## **B.5.5 Expanding a set of alternatives**
+
+### **B.5.5.1 Introduction**
+
+This subclause defines how to expand a set of alternatives in preparation for evaluating which alternative matches.
+
+This is done in four steps:
+
+- a) saving the Default context, if labelled level;
+- b) attachment of the current set of Default behaviour trees;
+- c) expansion of attached trees, if necessary, recursively, until there are no more attachment alternatives in the set;
+- d) expansion of REPEAT constructs, replacing them by a subtree in which tree attachments and GOTO constructs occur in lower levels only.
+
+```
+procedure EXPAND_CURRENT_LEVEL ()
+begin
+ if //# CurrentLevel has a label //# then
+ SAVE_DEFAULTS ();
+ APPEND_DEFAULTS ();
+ EXPAND_ATTACHMENTS (EvaluationTree, CurrentLevel, Defaults);
+ (* CurrentLevel is now free of tree attachments. *)
+ EXPAND_REPEATS ();
+ //# Component IsExpanded of CurrentLevel //# := TRUE;
+end
+```
+
+### **B.5.5.2 Saving Defaults**
+
+```
+procedure SAVE_DEFAULTS ()
+begin
+ //# Replace CurrentLevel and its subsequent behaviour in the EvaluationTree by ACTIVATE (Defaults), followed by
+ CurrentLevel and its subsequent behaviour, with the label of the former CurrentLevel moved to the ACTIVATE line. //#;
+ //# Consider new ACTIVATE line as the CurrentLevel //#;
+end
+```
+
+### B.5.5.3 Expansion of REPEAT constructs
+
+If *RepeatedTree* denotes a particular TreeReference together with its ActualParList, and *Condition* denotes a particular Boolean expression, and *label* denotes a label not used anywhere else, then "REPEAT *RepeatedTree* UNTIL [*Condition*]" can be replaced by:
+
+
+
+| | |
+|--------------|----------------------------|
+| | [TRUE] |
+| label | + RepeatedTree |
+| | [NOT ( Condition )] |
+| | -> label |
+| | [ Condition ] |
+| | : |
+
+Lines describing subsequent behaviour of the REPEAT construct follow after [*Condition*] in this expansion, with an additional indentation of one level.
+
+```
+procedure EXPAND_REPEATS ()
+begin
+ for //# every alternative A in CurrentLevel, in the given order //# do
+ begin
+ if //# A is of the form REPEAT RepeatedTree UNTIL [Condition] //# then
+ begin
+ Subsequent := SUBSEQUENT_BEHAVIOUR_TO (EvaluationTree,A);
+ Label := NEW_LABEL ();
+ (* Create a label which has been used neither in the (relabelled) Test Suite nor in the EvaluationTree. *)
+ Expansion := MAKE_TREE ( "[TRUE]",
+ MAKE_TREE ( Label: "+" RepeatedTree,
+ MAKE_TREE ( "[NOT(" Condition ")]",
+ "->" Label,
+ MAKE_TREE ( "[" Condition "]",
+ Subsequent,
+ )),
+ ),
+ );
+ REPLACE_ALT_TREE (EvaluationTree, CurrentLevel, A, Expansion);
+ end
+ end
+end
+```
+
+### B.5.5.4 Appending default behaviour
+
+During evaluation of a test case, at each level of alternatives there is a current list of Default Tree References. This list comes either from the list in the appropriate Dynamic Behaviour Table, or from the most recently evaluated ACTIVATE construct. The appending of the Defaults is done by adding, for each entry in the current list of Defaults, the construct "+ DefaultReference" to the end of the set of alternatives.
+
+```
+procedure APPEND_DEFAULTS ()
+begin
+ for //# every D in Defaults, in the given order //# do
+ begin
+ APPEND_TO_LEVEL (EvaluationTree, CurrentLevel, "+" D);
+ (* EvaluationTree and CurrentLevel are updated by appending the attachment of D to CurrentLevel. *)
+ end
+end
+```
+
+### B.5.5.5 Expanding attached trees
+
+Attached trees are expanded by replacing the attach construct + *TestStep* with the tree or, where applicable, the root tree of *TestStep* and subsequently, if there is behaviour specified following and indented from the Attach construct, to insert this behaviour after and indented from each leaf in the attached tree. Since attached trees may have their own list of default tree references in the header of the test step dynamic behaviour table, the expansion of tree attachment has to ensure that if any event on the first level of alternatives of the attached tree matches then the defaults context is changed, and if a leaf node of that attached tree is reached without a verdict being assigned then the defaults context of the calling tree is restored before the subsequent behaviour is evaluated. These changes in defaults context are most easily described in terms of the insertion of appropriate ACTIVATE constructs in the relevant places. If the attached tree is in fact a default tree, then there will be no default references in its header, so the ACTIVATE constructs that are inserted on entering that tree will have no parameters and thereby will deactivate all defaults within the scope of the default tree.
+
+The attached trees on Level are expanded using the following procedure:
+
+```
+
+procedure EXPAND_ATTACHMENTS (Tree, Level, OuterDefaults)
+begin
+ for /# every alternative A in Level in Tree, in the given order #/ do
+ begin
+ if /# A is an ATTACH construct, i.e. of the form "+" AttachedTreeId ActualParList #/ then
+ begin
+ Subsequent := SUBSEQUENT_BEHAVIOUR_TO (Tree,A);
+ AttachedTree := ROOT_TREE (AttachedTreeId);
+ REPLACE_PARAMETERS (AttachedTreeId, AttachedTree, ActualParList);
+ (* This replaces the formal parameters in AttachedTree by the actual parameters specified in ActualParList, doing so by
+ textual substitution *)
+ RELABEL(AttachedTree);
+ NewDefaults := DEF_REF_LIST(AttachedTreeId);
+ NewLevel := FIRST_LEVEL(AttachedTree);
+ EXPAND_ATTACHMENTS (AttachedTree, NewLevel, NewDefaults);
+ EXPAND_SUBTREE (AttachedTree, Subsequent, NewDefaults, OuterDefaults);
+ (* i.e.: Insert ACTIVATE(NewDefaults) below first level of AttachedTree & Attach ACTIVATE(OuterDefaults) and
+ Subsequent to each leaf node of AttachedTree *)
+ REPLACE_ALT_TREE(Tree, Level, A, AttachedTree);
+ end
+ end
+end
+
+procedure EXPAND_SUBTREE (SubTree, Subsequent, InnerDefaults, OuterDefaults)
+ (* This procedure first inserts ACTIVATE(InnerDefaults) below the first level of SubTree and then attaches
+ ACTIVATE(OuterDefaults) and Subsequent to each leaf node of SubTree. *)
+begin
+ Level := FIRST_LEVEL(SubTree);
+ for /# every alternative A of Level in SubTree #/ do
+ begin
+ SubOfA := SUBSEQUENT_BEHAVIOUR_TO (SubTree, A);
+ ActTree := MAKE_TREE(A,
+ MAKE_TREE("ACTIVATE(" InnerDefaults ")",
+ SubOfA, ), );
+ REPLACE_ALT_TREE(SubTree, Level, A, ActTree);
+ end
+ for /# every leaf A in SubTree #/ do
+ begin
+ LeafTree := MAKE_TREE (A,
+ MAKE_TREE ( "ACTIVATE(" OuterDefaults ")",
+ Subsequent, ), );
+ REPLACE_ALT_TREE(SubTree, LEVEL_OF(SubTree, A), A, LeafTree);
+ end
+end
+
+```
+
+The expansion of attached trees is also explained in 15.13.
+
+## B.5.6 Evaluation of an Event Line
+
+### B.5.6.1 Pseudo-code
+
+```
+
+function EVALUATE_EVENT_LINE(Alternative): BOOLEAN
+ (* This function calls EVALUATE_EVENT, EVALUATE_PSEUDO_EVENT or EVALUATE_CONSTRUCT,
+ depending on what type of StatementLine the current alternative is *)
+begin
+ case STATEMENT_LINE_TYPE_OF(Alternative) of
+ begin
+ EVENT: if EVALUATE_EVENT (Alternative) then return TRUE; else return FALSE;
+ PSEUDO_EVENT: if EVALUATE_PSEUDO_EVENT (Alternative) then return TRUE; else return FALSE;
+ CONSTRUCT: (* Construct can now only be GoTo, Return, Activate, Create. *)
+ if EVALUATE_CONSTRUCT (Alternative) then return TRUE; else return FALSE;
+ end
+end
+
+```
+
+### B.5.6.2 Natural language description
+
+Evaluate the TTCN statement on the current behaviour line, based on the statement type, i.e. whether it is an event, a pseudo-event, or a construct. The evaluation of each type of TTCN statement is specified in the operational semantics for that TTCN statement type in the following clauses.
+
+## B.5.7 Functions for TTCN events
+
+### B.5.7.1 Functions for TTCN events – pseudo-code
+
+**function** EVALUATE\_EVENT(Alternative): **BOOLEAN**
+
+(\* This function calls SEND, RECEIVE, OTHERWISE, TIMEOUT, DONE, or IMPLICIT SEND, depending on what type of event the current alternative is \*)
+
+**begin**
+
+**case** EVENT\_TYPE\_OF(Alternative) **of**
+
+**begin**
+
+| | | |
+|----------------|---------------------------------------|----------------------------------------------------|
+| SEND : | if SEND (Alternative) | then return TRUE; else return FALSE; |
+| RECEIVE: | if RECEIVE (Alternative) | then return TRUE; else return FALSE; |
+| OTHERWISE: | if OTHERWISE (Alternative) | then return TRUE; else return FALSE; |
+| TIMEOUT: | if TIMEOUT (Alternative) | then return TRUE; else return FALSE; |
+| DONE: | if DONE (Alternative) | then return TRUE; else return FALSE; |
+| IMPLICIT_SEND: | if IMPLICIT_SEND (Alternative) | then return TRUE; else return FALSE; |
+
+**end**
+
+**end**
+
+### B.5.7.2 Functions for TTCN events – natural language description
+
+If the TTCN statement is an event, then it will be evaluated as specified in B.5.8 for a SEND event, B.5.9 for a RECEIVE event, B.5.10 for an OTHERWISE event, B.5.11 for a TIMEOUT event, B.5.12 for a DONE event, or B.5.13 for an IMPLICIT SEND event.
+
+## B.5.8 Execution of the SEND event
+
+### B.5.8.1 Execution of the SEND event – pseudo-code
+
+**function** SEND ( SendLine ): **BOOLEAN**
+
+**begin**
+
+ /\* ReadPCOorCPIdentifier,
+ ASPorPDUorCMIdentifier,
+ Qualifier,
+ Assignments,
+ TimerOperations,
+ ConstraintsReference from SendLine \*/;
+
+**if** EVALUATE\_BOOLEAN (Qualifier) **then**
+
+**begin**
+
+ BUILD\_SEND\_OBJECT (ASPorPDUorCMIdentifier, ConstraintsReference );
+ EXECUTE\_ASSIGNMENTS (Assignment);
+ SEND\_EVENT (PCOorCPIdentifier, ConstraintReference);
+ TIMER\_OPS (TimerOperations);
+ LOG(PCOorCPIdentifier, SendObject);
+ **return** TRUE;
+
+**end**
+
+**else return** FALSE;
+
+**end**
+
+**procedure** BUILD\_SEND\_OBJECT (ASPorPDUorCMIdentifier, ConstraintsReference)
+
+**begin**
+
+ SendObject := /\*an instance of ASPorPDUorCMIdentifier whose parameters/fields have the values specified by
+ ConstraintsReference \*/;
+
+**end**
+
+**procedure** SEND\_EVENT (PCOorCPIdentifier, ConstraintsReference)
+
+**begin**
+
+ /\* Encode SendObject according to applicable encoding rules and variations, see ConstraintsReference and associated type
+ definitions \*/;
+
+ /\* Put encoded SendObject at the end of OUTPUT\_Q(PCOorCPIdentifier) \*/;
+
+**end**
+
+### B.5.8.2 Execution of the SEND event – natural language description
+
+The contents of the ASP or PDU or CM, as specified in the named Constraints Reference entry, are to be sent. Note that if there is a qualifier, the SEND can be executed only if that qualifier evaluates to TRUE.
+
+**Step 1** If there is a qualifier, then that qualifier will be evaluated before any other processing takes place.
+
+- If the qualifier evaluates to FALSE, the SEND cannot succeed.
+- If the qualifier evaluates to TRUE, then continue with Step 2.
+
+**Step 2** Create an ASP or PDU or CM as specified in the named Constraints Reference.
+
+If the dynamic chaining feature has been used, then the value specified in the Constraints Reference entry will be assigned to the appropriate parameter or field of the ASP or PDU or CM to be sent.
+
+Using the dynamic chaining feature has the effect of storing a copy of the named constraint into the named parameter or field of the ASP or PDU or CM being built for comparison. The structure defined for the associated Constraints Reference is used for this named parameter or field.
+
+**Step 3** If there is an Assignment statement, then that assignment will be performed as in B.5.16, in particular possibly changing the ASP or PDU or CM to be sent.
+
+**Step 4** The ASP or PDU or CM is now fully filled in according to the specifications given. The LT or UT will encode the PDUs (but not ASPs or CMs, apart from PDUs embedded in such) according to the applicable encoding rules. The LT or UT will send the ASP with its embedded encoded PDUs, or the encoded PDU. If a PCO or CP was stated, the ASP or PDU or CM is to be sent at that PCO or CP. If the PCO was not stated, *i.e.*, the test uses a single PCO – then the ASP or PDU is sent from the lower PCO, because a CP cannot be implied.
+
+**Step 5** If one or more timer operations were coded on the behaviour line, the appropriate timer operation(s) will be performed as in B.5.17.
+
+**Step 6** Record in the conformance log the following information, as well as the information specified in B.5.24.2:
+
+- the PCO or CP at which the SEND occurred;
+- the fully defined ASP, PDU or CM that was sent.
+
+### **B.5.9 Execution of the RECEIVE event**
+
+#### **B.5.9.1 Execution of the RECEIVE event – pseudo-code**
+
+**function** RECEIVE( ReceiveLine ): **BOOLEAN**
+
+**begin**
+
+```
+ /* Read PCOorCPIdentifier,
+ ASPorPDUorCMIdentifier,
+ Qualifier,
+ Assignments,
+ TimerOperations,
+ ConstraintsReference from ReceiveLine */;
+```
+
+```
+if /* INPUT_Q (PCOorCPIdentifier) is not empty */ then
+```
+
+```
+ begin
+```
+
+```
+ if ( OBJECT_MATCHES(PCOorCPIdentifier, ASPorPDUorCMIdentifier, ConstraintsReference)
+ AND EVALUATE_BOOLEAN (Qualifier) ) then
+```
+
+```
+ begin
+```
+
+```
+ EXECUTE_ASSIGNMENTS (Assignments);
+```
+
+```
+ TIMER_OPS (TimerOperations);
+```
+
+```
+ REMOVE_OBJECT (PCOorCPIdentifier);
+```
+
+```
+ LOG(PCOorCPIdentifier, ReceiveObject);
+```
+
+```
+ return TRUE;
+```
+
+```
+ end
+```
+
+```
+ else return FALSE;
+```
+
+```
+ end
+```
+
+```
+ else return FALSE;
+```
+
+```
+end
+```
+
+**function** OBJECT\_MATCHES (PCOorCPIdentifier, ASPorPDUorCMIdentifier, ConstraintsReference): **BOOLEAN**
+
+**begin**
+
+```
+ ReceiveObject := /* copy of encoded object at head of INPUT_Q(PCOorCPIdentifier) */;
+```
+
+```
+ if /* ReceiveObject can be decoded according to applicable encoding rules and variations, as given by
+ ConstraintsReference and associated type definitions */ then
+```
+
+```
+ begin
+```
+
+```
+ /* decode it, to yield new version of ReceiveObject */;
+```
+
+```
+ if ( /* ReceiveObject is of type ASPorPDUorCMIdentifier */
+```
+
+```
+ AND
+```
+
+```
+ /* parameters/fields of ReceiveObject have values matching the ConstraintsReference */) then
+```
+
+```
+ return TRUE;
+```
+
+```
+ else return FALSE;
+```
+
+```
+ end
+```
+
+```
+ else return FALSE;
+```
+
+```
+end
+```
+
+```
+
+procedure REMOVE_OBJECT (PCOorCPidentifier),
+begin
+ /# remove object at head of INPUT_Q(PCOorCPidentifier) #/;
+end
+
+```
+
+### B.5.9.2 Execution of the RECEIVE event – natural language description
+
+- Step 1** If the snapshot that was taken when beginning the current iteration of checking this level of alternatives for matching shows that there is *no* incoming ASP or PDU or CM, then this RECEIVE cannot match.
+- Otherwise, continue to Step 2.
+- Step 2** If a PCO or CP was stated, the ASP or PDU or CM shall have been received at that PCO or CP. If the PCO was not stated, *i.e.*, the test suite uses a single PCO, – then the ASP or PDU shall have been received at the lower PCO. Note that a CP cannot be implied.
+- Step 3** The incoming PDUs are decoded according to the applicable encoding rules. A copy is made of the decoded incoming PDU or of the incoming ASP or CM with decoded nested PDUs.
+- Step 4** If the qualifier, possibly using values from the incoming data object, evaluates to FALSE, the RECEIVE cannot match. Otherwise, continue to step 5.
+- Step 5** A copy of the expected ASP or PDU or CM pattern is assembled, using the structure defined in the ASP or PDU or CM declaration plus the values, matching mechanisms and chained Constraints References specified in the named Constraints Reference.
+- This copy is compaired against the incoming ASP or PDU or CM, and its decoded PDUs or the decoded PDU to determine if the RECEIVE can match as specified. Only if the RECEIVE did match successfully, continue to Step 6.
+- Step 6** The incoming ASP or PDU or CM which has just matched will be removed from the incoming PCO or CP queue and discarded.
+- Step 7** If there are Assignment statements, then they will be performed as in B.5.16.2.
+- Step 8** If one or more timer operations were coded on the behaviour line, the appropriate timer operation(s) will be performed as in B.5.17.
+- Step 9** Record in the conformance log the following information, as well as the information specified in B.5.24.2:
+- the PCO or CP at which the RECEIVE occurred;
+ - the fully defined ASP, PDU or CM that was received.
+
+### B.5.10 Execution of the OTHERWISE event
+
+#### B.5.10.1 Execution of the OTHERWISE event – pseudo-code
+
+```
+
+function OTHERWISE ( OtherwiseLine): BOOLEAN
+begin
+ /# Read PCOorCPidentifier,
+ Qualifier,
+ Assignments,
+ TimerOperations from OtherwiseLine #/;
+ if ( /# INPUT_Q (PCOorCPidentifier) is not empty #/
+ AND EVALUATE_BOOLEAN (Qualifier) ) then
+ begin
+ EXECUTE_ASSIGNMENTS (Assignments);
+ TIMER_OPS (TimerOperations);
+ REMOVE_OBJECT (PCOorCPidentifier);
+ LOG(PCOidentifier, ReceivedObject);
+ return TRUE;
+ end
+ else return FALSE;
+end
+
+```
+
+#### B.5.10.2 Execution of the OTHERWISE event – natural language description
+
+The tester shall accept any incoming data that it has not been possible to decode or that has not matched a previous alternative to this OTHERWISE event. Note that if there is a qualifier, the OTHERWISE can only match if that qualifier evaluates to TRUE.
+
+- Step 1** If the qualifier evaluates to FALSE, the OTHERWISE cannot match. Otherwise, continue to Step 2.
+
+- Step 2** If the snapshot that was taken when beginning the current iteration of checking this level of alternatives for matching shows that there is no incoming ASP, PDU or CM, then this OTHERWISE cannot match.
+- Otherwise, continue to Step 3.
+- Step 3** If a PCO was stated, the ASP or PDU shall have been received at that PCO. If a CP was stated, the CM shall have been received at that CP. If the PCO was not stated, *i.e.*, the test uses a single PCO, then the ASP or PDU shall have been received at the lower PCO, because a CP cannot be implied.
+- Step 4** The incoming ASP, PDU or CM will be removed from the incoming PCO or CP queue and discarded.
+- Step 5** If there are Assignment statements, then they will be performed as in B.5.16.2.
+- Step 6** If one or more timer operations were coded on the behaviour line, the appropriate timer operation(s) will be performed as in B.5.17.
+- Step 7** Record in the conformance log the following information, as well as the information specified in B.5.24.2:
+- the PCO or CP at which the OTHERWISE occurred;
+ - the ASP, PDU or CM that was received.
+
+## **B.5.11 Execution of the TIMEOUT event**
+
+### **B.5.11.1 Execution of the TIMEOUT event – pseudo-code**
+
+**function TIMEOUT ( TimeoutLine ): BOOLEAN**
+
+**begin**
+
+```
+
+ /# Read TimerIdentifier,
+ Qualifier,
+ Assignments,
+ TimerOperations from TimeoutLine #/;
+
+```
+
+**if EVALUATE\_BOOLEAN (Qualifier) then**
+
+**begin**
+
+**if TIMER\_EXPIRED (TimerIdentifier) then**
+
+**begin**
+
+EXECUTE\_ASSIGNMENTS (Assignments);
+
+TIMER\_OPS (TimerOperations);
+
+LOG(TimerIdentifier);
+
+**return TRUE;**
+
+**end**
+
+**else return FALSE;**
+
+**end**
+
+**else return FALSE;**
+
+**end**
+
+**function TIMER\_EXPIRED (TimerIdentifier): BOOLEAN**
+
+**begin**
+
+**if /# TimerIdentifier is not empty #/ then**
+
+**begin**
+
+**if /# timeout notification from TimerIdentifier is in copy of timeout list in Snapshot #/ then**
+
+**begin**
+
+/# delete timeout notification from TimerIdentifier in actual timeout list #/;
+
+/# stop and reset the timer TimerIdentifier #/;
+
+**return TRUE;**
+
+**end**
+
+**else return FALSE;**
+
+**end**
+
+**else (\* TimerIdentifier not specified \*)**
+
+**begin**
+
+**if /# any timeout notification is in copy of timeout list in Snapshot #/ then**
+
+**begin**
+
+/# stop and reset all timers mentioned in actual timeout list#/;
+
+/# delete all timeout notifications in actual timeout list #/;
+
+**return TRUE;**
+
+**end**
+
+**else return FALSE;**
+
+**end**
+
+**end**
+
+### B.5.11.2 Execution of the TIMEOUT event – natural language description
+
+The tester will check to see if the named timer has expired. (If no timer name is given, the tester will check to see if *any* timer has expired.) Note that if there is a qualifier, the TIMEOUT is only considered as matching if that qualifier evaluates to TRUE.
+
+- Step 1** If there is a qualifier, then that qualifier will be evaluated before any other processing takes place.
+- If the qualifier evaluates to FALSE, the TIMEOUT cannot match.
+ - If the qualifier evaluates to TRUE, then continue with Step 2.
+- Step 2** See if any of the timers explicitly or implicitly named on the TIMEOUT event have been running, but have expired.
+- If no timer identifier is specified, then the tester shall check to see if *any* timer that had been running has now expired. If so, all timers which have timed out are reset (and left stopped). The timeout entry (entries) is (are) removed from the timeout list.
+ - If a timer identifier is specified, then the tester shall check to see if this timer had been running, but has now expired. If so, the expired timer is reset (and left stopped). The timeout entry is removed from the timeout list.
+ - If no timers have expired the TIMEOUT event can not match, *i.e.*, the next alternative will be attempted.
+- Step 3** If there is an Assignment statement, then that assignment will be performed as in B.5.16.2.
+- Step 4** If one or more timer operations were coded on the behaviour line, the appropriate timer operation(s) will be performed as in B.5.17.
+- Step 5** Record in the conformance log the information specified in B.5.24, as well as the name of the timer that expired.
+
+### B.5.12 Execution of the DONE event
+
+#### B.5.12.1 Execution of the DONE event – pseudo-code
+
+**function DONE ( DoneLine): BOOLEAN**
+
+**begin**
+
+```
+ /* Read TCompList,
+ Qualifier,
+ Assignments,
+ TimerOperations from DoneLine */;
+if EVALUATE_BOOLEAN (Qualifier) AND ALL_TERMINATED(TCompList) then
+ begin
+ EXECUTE_ASSIGNMENTS (Assignments);
+ TIMER_OPS (TimerOperations);
+ LOG(TCompList);
+ return TRUE;
+ end
+else return FALSE;
+```
+
+**end**
+
+**function ALL\_TERMINATED(TCompList): BOOLEAN**
+
+**begin**
+
+```
+ if TCompList = /* EmptyList */ then
+ TCompList := /* list of all created Parallel Test Components */;
+ for /* every TComp in TCompList */ do
+ begin
+ if /* TComp has not terminated in the Snapshot */ then
+ return FALSE;
+ end
+ return TRUE;
+```
+
+**end**
+
+### B.5.12.2 Execution of the DONE event – natural language description
+
+The termination status of the given list of Test Components is to be checked. If all given components have terminated (at the time of the last SNAPSHOT) then the event matches, provided that the qualifier also evaluates to TRUE.
+
+- Step 1** If there is a qualifier, then that qualifier will be evaluated before any other processing takes place.
+- If the qualifier evaluates to FALSE, the DONE cannot succeed.
+ - If the qualifier evaluates to TRUE, the continue to Step 2.
+- Step 2** If all test components listed in TCompList had terminated at the time of the last SNAPSHOT, then continue to Step 3, otherwise this DONE cannot match.
+- Step 3** If there is an Assignment statement, then that assignment will be performed as in B.5.16.
+- Step 4** If one or more timer operations were coded on the behaviour line, the appropriate timer operation(s) will be performed as in B.5.17.
+- Step 5** Record in the conformance log the information specified in B.5.24, as well as the TCompList.
+
+### B.5.13 Execution of the IMPLICIT SEND event
+
+#### B.5.13.1 Execution of the IMPLICIT SEND event – pseudo-code
+
+```
+function IMPLICIT_SEND (Alternative): BOOLEAN
+begin
+ /* Execute IMPLICIT_SEND according to natural language description */;
+ return TRUE;
+end
+```
+
+#### B.5.13.2 Execution of IMPLICIT SEND – natural language description
+
+The IUT is induced to do whatever is necessary to send the contents of the ASP or PDU, as specified in the constraints reference entry of the alternative.
+
+If the dynamic chaining feature has been used, then the value specified in the Constraints Reference entry will be assigned to the appropriate parameter or field of the ASP or PDU to be sent.
+
+IMPLICIT SENDING always succeeds.
+
+### B.5.14 Execution of a pseudo-event
+
+#### B.5.14.1 Execution of a pseudo-event – pseudo-code
+
+```
+function EVALUATE_PSEUDO_EVENT ( PseudoEventLine ): BOOLEAN
+begin
+ /* Read Qualifier,
+ Assignments,
+ TimerOperations from PseudoEventLine */;
+ if EVALUATE_BOOLEAN (Qualifier) then
+ begin
+ EXECUTE_ASSIGNMENTS (Assignments);
+ TIMER_OPS (TimerOperations);
+ LOG();
+ return TRUE;
+ end
+ else return FALSE;
+end
+```
+
+#### B.5.14.2 Execution of PSEUDO-EVENTS – natural language description
+
+If the TTCN statement is a pseudo-event, then it will be evaluated as specified in B.5.15 for a Boolean Expression, B.5.16 for an Assignment Statement, B.5.17 for a timer operation (START, CANCEL, or READTIMER).
+
+After completion of the pseudo-event, record in the conformance log the information specified in B.5.24.
+
+## B.5.15 Execution of BOOLEAN expressions
+
+### B.5.15.1 Execution of BOOLEAN expressions – pseudo-code
+
+```
+function EVALUATE_BOOLEAN(Qualifier): BOOLEAN
+begin
+ if /# Qualifier is empty #/ then
+ return TRUE;
+ else
+ begin
+ if /# Qualifier evaluates to TRUE #/ then
+ return TRUE;
+ else return FALSE;
+ end
+ end
+end
+```
+
+### B.5.15.2 Execution of BOOLEAN expressions – natural language description
+
+A Boolean expression (*i.e.*, qualifier) specifies a condition that is to be tested. This condition will either be TRUE or FALSE. A Boolean expression may be stated as part of a statement line (*i.e.*, on the same line with a SEND, RECEIVE, TIMEOUT, or OTHERWISE), or as a statement line on its own (*i.e.*, as a pseudo-event).
+
+**Step 1** The Boolean expression shall be evaluated to determine if the condition specified is TRUE or FALSE. The normal rules of Boolean Logic apply, with the precedence rules specified in 11.3.2.1.
+
+## B.5.16 Execution of assignments
+
+### B.5.16.1 Execution of assignments – pseudo-code
+
+```
+procedure EXECUTE_ASSIGNMENTS (AssignmentList)
+begin
+ for /# every assignment CurrentAssignment in AssignmentList, in the given order #/ do
+ begin
+ /# Execute CurrentAssignment #/;
+ end
+ end
+end
+```
+
+### B.5.16.2 Execution of ASSIGNMENTS – natural language description
+
+The assignment list is evaluated in left to right order. In each assignment, the variable on the left-hand side of that statement is to take on the value of the expression on the right-hand side of the statement. This expression is evaluated observing the precedence indicated in Table 3.
+
+If the assignment is performed in a Send line, the left-hand side may denote an ASP-, PDU- or CM-component, referring to the object to be sent. If the assignment is performed in a Receive line, the expression may refer to components of the ASP, PDU or CM to be received.
+
+## B.5.17 Execution of TIMER operations
+
+### B.5.17.1 Execution of TIMER operations – pseudo-code
+
+```
+procedure TIMER_OPS (TimerOperations)
+begin
+ for /# every TimerOperation in TimerOperations #/ do
+ case TIMER_OP_TYPE_OF(TimerOperation) of
+ begin
+ START_TIMER: START_TIMER(TimerOperation);
+ CANCEL_TIMER: CANCEL_TIMER(TimerOperation);
+ READ_TIMER: READ_TIMER(TimerOperation);
+ end
+ end
+ end
+
+ procedure START_TIMER (TimerOperation)
+ begin
+ /# perform as in B.5.17.2 #/;
+ end
+end
+```
+
+```
+
+procedure CANCEL_TIMER (TimerOperation)
+begin
+ /* perform as in B.5.17.3 */;
+end
+
+```
+
+```
+
+procedure READ_TIMER (TimerOperation)
+begin
+ /* perform as in B.5.17.4 */;
+end
+
+```
+
+### B.5.17.2 Execution of START timer – natural language description
+
+**Step 1** If the timer is already running, cancel it and continue to Step 2. Otherwise continue directly to Step 2.
+
+**Step 2** The timer is to be started with an initial value indicating no time has passed. Any entry for this timer in the timeout list is removed from the list.
+
+### B.5.17.3 Execution of CANCEL timer – natural language description
+
+The CANCEL timer operation specifies that a timer (or timers) is to stop ticking.
+
+**Step 1** Determine the name of the timer(s) to be cancelled:
+
+- if no timer identifier is specified, then cancel *all* timers;
+- if a timer identifier is specified, then cancel the timer with this timer identifier.
+
+**Step 2** The status of the named or implied timer(s) is to be set to "not running". The amount of time elapsed for the timer(s) is to be set to zero. If the timeout list contains an entry for the timer(s), the entry (entries) is (are) removed from the list.
+
+### B.5.17.4 Execution of READTIMER – natural language description
+
+The READTIMER operation specifies that the amount of time that has passed for a currently running timer is to be stored into a variable. The timer continues to run without interruption.
+
+**Step 1** Interrogate the value of the timer having the specified name. If the amount of time passed is *n* of the units declared for this timer type, store *n* into the named variable.
+
+If the timer is not currently running, the named variable shall be set to zero.
+
+## B.5.18 Functions for TTCN constructs
+
+### B.5.18.1 Functions for TTCN constructs – pseudo-code
+
+```
+
+function EVALUATE_CONSTRUCT (Construct): BOOLEAN
+ (* As the EvaluationTree is expanded at the CurrentLevel, the REPEAT and ATTACH constructs are not encountered here. *)
+begin
+ case CONSTRUCT_TYPE_OF(Construct) of
+ begin
+ ACTIVATE: ACTIVATE(Construct);
+ CREATE: CREATE (Construct);
+ GOTO: (* no action here, see GOTO_NEXT_LEVEL_OR_STOP_WITH_VERDICT *);
+ RETURN: (* no action here, see GOTO_NEXT_LEVEL_OR_STOP_WITH_VERDICT *);
+ end
+ return TRUE;
+end
+
+```
+
+### B.5.18.2 Functions for TTCN constructs – natural language description
+
+If the TTCN statement is a TTCN construct, then it will be evaluated as specified in B.5.19 for an ACTIVATE construct, as specified in B.5.20 for a CREATE construct, as specified in B.5.21 for a GOTO construct, or as specified in B.5.22 for a RETURN construct. There is no need to deal with REPEATs, as they all have been replaced in the CurrentLevel.
+
+TTCN constructs will always succeed.
+
+## B.5.19 Execution of the ACTIVATE construct
+
+### B.5.19.1 Execution of the ACTIVATE construct – pseudo-code
+
+```
+procedure ACTIVATE ( ActivateLine )
+begin
+ /* Read DefRefList from ActivateLine */;
+ Defaults:=DefRefList;
+ LOG(DefRefList);
+end
+```
+
+### B.5.19.2 Execution of the ACTIVATE construct – natural language description
+
+Change the current defaults context to the DefaultRefList that appears as parameter to the ACTIVATE construct.
+
+**Step 1** Change default context to DefaultRefList.
+
+**Step 2** Record in the conformance log the following information as well as the information specified in B.5.24:
+
+- the DefaultRefList.
+
+## B.5.20 Execution of the CREATE construct
+
+### B.5.20.1 Execution of the CREATE event – pseudo-code
+
+```
+procedure CREATE ( CreateLine ): BOOLEAN
+begin
+ /* Read CreateList from CreateLine */;
+ for /* every (TCompIdentifier, TreeReference, ActualParList) drawn from CreateList */ do
+ begin
+ start process EVALUATE_TEST_COMPONENT(TCompIdentifier, TreeReference, ActualParList);
+ (* This starts the concurrent evaluation of TreeReference. *)
+ LOG(TCompIdentifier, TreeReference, ActualParList);
+ end
+ end
+
+process EVALUATE_TEST_COMPONENT(TCompId, TreeReference, ActualParList)
+ (* This process initializes the EvaluationTree by the appropriate Test Step root tree or local tree and the default context by
+ the Defaults references listed with the corresponding behaviour table. It moves control to the top level of alternatives and
+ calls their evaluation. *)
+global EvaluationTree, CurrentLevel, Defaults, Snapshot, ReturnLevel, ReturnDefaults, SendObject, ReceiveObject;
+begin
+ /* Initialize the local instances of Test Case Variables, local R, Timers, and the Timeout List of TCompId. */;
+ EvaluationTree := ROOT_TREE(TreeReference);
+ (* EvaluationTree is a growing finite tree built up by pasting together and expanding copies of trees from the test case
+ behaviour description and from the test step and default libraries. A component IsExpanded is added to each level. *)
+ REPLACE_PARAMETERS (TreeReference, EvaluationTree, ActualParList);
+ CurrentLevel := FIRST_LEVEL(EvaluationTree);
+ (* A level denotes both a position in a tree and the ordered set of alternatives at this position. *)
+ ReturnLevel := CurrentLevel;
+ Defaults := DEF_REF_LIST(TreeReference);
+ ReturnDefaults := Defaults;
+ EVALUATE_LEVELS ();
+ (* This includes, by nested calls, the evaluation of all relevant subsequent levels in the growing evaluation tree. *)
+end
+```
+
+### B.5.20.2 Execution of the CREATE event – natural language description
+
+The evaluation of the given Test Component is to be started.
+
+**Step 1** Evaluation of TCompIdentifier, bound to TreeReference, is started, with the ActualParList parameters replacing the Formal Parameters by textual substitution in TreeReference. All Test Case Variables, the local result variable R, timers and the local timeout list are provided afresh for the sole use by this test component.
+
+**Step 2** Record in the conformance log the following information as well as the information specified in B.5.24:
+
+- the TCompIdentifier;
+- the TreeReference;
+- the ActualParList.
+
+### B.5.21 Execution of the GOTO construct
+
+Control is transferred to the set of alternatives having the specified target label in the labels column. Execution now continues at this new level.
+
+In pseudo-code, the GOTO construct is performed as a part of GOTO\_NEXT\_LEVEL\_OR\_STOP\_WITH\_VERDICT.
+
+### B.5.22 Execution of the RETURN construct
+
+Control is transferred to the set of alternatives from which the defaults were entered the last time. Execution now continues at this new level.
+
+In pseudo-code, the RETURN construct is performed as a part of GOTO\_NEXT\_LEVEL\_OR\_STOP\_WITH\_VERDICT.
+
+### B.5.23 The verdict
+
+#### B.5.23.1 The verdict – pseudo-code
+
+```
+procedure EVAL_VERDICT_ENTRY (VerdictEntry)
+begin
+ /* Expand VerdictEntry to full word, e.g. (P) becomes (PASS) */;
+ if /* VerdictEntry is a preliminary verdict ("PrelimVerdict") */ then
+ begin
+ UPDATE_PRELIM ( PrelimVerdict, /* local R, or MTC_R in case of Main Test Component */);
+ UPDATE_PRELIM ( PrelimVerdict, /* global R */);
+ end
+ else (* VerdictEntry is a final verdict. *)
+ begin
+ if /* Current process is EVALUATE_TEST_CASE */ then
+ begin
+ EXCLUDE_INCOMPATIBLE_ENTRY ( VerdictEntry, /* global R */);
+ LOG(VerdictEntry);
+ /* assign final verdict in main test component or test case */;
+ TERMINATE_TEST_CASE();
+ end
+ else (* Process is EVALUATE_TEST_COMPONENT *)
+ begin
+ EXCLUDE_INCOMPATIBLE_ENTRY ( VerdictEntry, /* local R */);
+ UPDATE_PRELIM ( VerdictEntry, /* global R */);
+ stop process;
+ end
+ end
+ end
+ end
+end
+
+process EXCLUDE_INCOMPATIBLE_ENTRY (Entry, RVal)
+begin
+ if ( ( Entry = "R" AND /* RVal = none */ ) OR
+ (Entry = "PASS" AND /* Rval = inconc */ ) OR
+ (Entry = "PASS" AND /* Rval = fail */ ) OR
+ (Entry = "INCONC" AND /* Rval = fail */ ) ) then
+ begin
+ LOG(TestCaseError);
+ STOP_TEST_CASE();
+ return FALSE;
+ end
+ else return TRUE;
+end
+
+procedure UPDATE_PRELIM (PrelimVerdict, ResultVar)
+begin
+ if( ResultVar = none OR
+ (ResultVar = pass AND PrelimVerdict <> PASS) OR
+ (ResultVar = inconc AND PrelimVerdict = FAIL) ) then
+ begin
+ /* replace value of ResultVar by PrelimVerdict in lower case letters */;
+ LOG(("PrelimVerdict"));
+ end
+ end
+end
+```
+
+### B.5.23.2 The VERDICT – natural language description
+
+If a verdict is coded, process the verdict.
+
+- If the verdict is preliminary, i.e., enclosed in parentheses, then the local and global result variables will be updated according to the verdict algorithm in 15.17.2. Note that in the Main Test Component the local R is denoted by MTC\_R. The stated verdict is recorded in the conformance log.
+- If the verdict is R, then, in non-concurrent TTCN or in the Main Test Component, the current value of R (the only or the global R) will be used as the verdict of the Test Case. If R is set to none, raise a test case error.
+- If the verdict is PASS, INCONC or FAIL, then, in non-concurrent TTCN or in the Main Test Component, the stated verdict will be used as the final verdict for the Test Case. If the final verdict is inconsistent with local or global R, raise a TestCaseError.
+- In Parallel Test Components, a final verdict R, PASS, INCONC or FAIL, is used to update the global R like a preliminary verdict. The stated verdict is recorded in the conformance log. A final verdict terminates the evaluation of the Test Component.
+
+### B.5.24 The Conformance Log
+
+#### B.5.24.1 The LOG – pseudo-code
+
+```
+procedure LOG( /* any number of arguments */ )
+begin
+ /* log the line number of the event line (if any) */;
+ /* log the label associated with the event line (if any) */;
+ /* log the arguments passed to LOG */;
+ /* log the assignment(s) made (if any) */;
+ /* log the timer operation(s) performed (if any) */;
+ /* log current time */; (* current time may be actual or relative *)
+end
+```
+
+#### B.5.24.2 The conformance log – natural language description
+
+Record the following information in the conformance log:
+
+- the line number of the event line (if any);
+- the label associated with the event line (if any);
+- other arguments defined elsewhere in this annex Associated with the event line (if any), e.g., the final or preliminary verdict, or the data object sent or received;
+- the assignment(s) made (if any);
+- the timer operation(s) performed (if any);
+- time stamp.
+
+### B.5.25 Tree handling functions and procedures
+
+To facilitate lookup, the procedures and functions are defined in alphabetical order.
+
+```
+procedure APPEND_TO_LEVEL (Tree,Level,Alternative)
+begin
+ /* Update Level and Tree by appending Alternative as new last alternative in Level in Tree */;
+end
+
+function FIRST_LEVEL (Tree): LEVEL
+begin
+ return /* the set of alternatives at the first level of indentation of Tree, i.e. the numerically lowest (in TTCN.MP),
+ i.e. the leftmost (in TTCN.GR), level of indentation of the root tree */;
+end
+
+procedure GOTO_NEXT_LEVEL_OR_STOP_WITH_VERDICT(Alternative)
+begin
+ (* search the next level to evaluate, if any *)
+ if /* Alternative is of the type "GOTO Label" or "-> Label" */ then
+ CurrentLevel := /* the unique level labelled with Label */;
+ else if /* Alternative is of the type "RETURN" */ then
+```
+
+```
+
+begin
+ CurrentLevel := ReturnLevel;
+ Defaults := ReturnDefaults;
+end
+else if /* Alternative is a leaf of EvaluationTree */; (* but not a RETURN or GOTO *) then
+ EVAL_VERDICT_ENTRY("R"); (* This will stop the execution of the process. *)
+else
+ CurrentLevel := /* set of alternatives at next level of indentation below Alternative */;
+ (* save information for coming RETURN statements *)
+ if /* Component IsDefault of CurrentLevel */ = FALSE then
+ begin
+ ReturnLevel := CurrentLevel;
+ ReturnDefault := Default;
+ end
+ end
+end
+
+function IS_EXPANDED (): BOOLEAN
+begin
+ return /* Component IsExpanded of CurrentLevel */;
+end
+
+function LEVEL_OF (Tree, Alternative): LEVEL
+begin
+ return /* the level in Tree of which this Alternative is a member */;
+end
+
+function MAKE_TREE (Statement, Tree1, Tree2): TREE
+begin
+ return /* the following tree:
+ Statement
+ Tree1
+ Tree2
+ */ ;
+ (* Tree1 and/or Tree2 may be empty, denoted by an empty parameter position in the call of MAKE_TREE. *)
+end
+
+function NEW_LABEL (): LABEL
+begin
+ return /* a label which has not yet been used in the execution of this Test Component, nor in the (relabelled) Test Suite */ ;
+ (* This may be achieved by means of counters and test component names. *)
+end
+
+procedure RELABEL (Tree)
+begin
+ for /* each label L originally occurring in Tree */ do
+ begin
+ NewLabel := NEW_LABEL();
+ for /* each occurrence of L in Tree, in the label column or as the target of a GOTO */ do
+ begin
+ /* replace L by NewLabel */;
+ end
+ end
+ end
+ end
+
+end
+
+procedure REPLACE_ALT_TREE (Tree, Level, A, ReplacementTree)
+begin
+ (* A is an alternative in Level, which is a level in Tree *)
+ /* In Tree, replace the subtree of Tree consisting of
+ A and SUBSEQUENT_BEHAVIOUR_TO (Tree, A) by ReplacementTree,
+ with all values of IsDefault in ReplacementTree set to the IsDefault-value of A,
+ and all values of IsExpanded of levels in ReplacementTree set to FALSE. */;
+end
+
+procedure REPLACE_PARAMETERS (TreeId, Tree, ActualParList)
+begin
+ /* Replace the formal parameters in Tree by the actual parameters specified in ActualParList,
+ doing so by textual substitution in Tree, using the formal parameter list accessible via TreeId. */;
+end
+
+```
+
+```
+
+function ROOT_TREE (TreeId): TREE
+begin
+ return /* its root tree if TreeId denotes a Test Case or Test Step or Default Behaviour Table –
+ otherwise the local tree with this name. Each level gets a new Boolean component
+ "IsExpanded", initialized with value FALSE, indicating that this level has not yet been expanded. */;
+end
+
+```
+
+```
+
+function SUBSEQUENT_BEHAVIOUR_TO (Tree, Alternative): TREE
+begin
+ return /* the subtree below Alternative in Tree */;
+ (* This would be Tree3 if Tree has the form:
+ Tree1
+ Tree2
+ Alternative
+ Tree3
+ Tree4
+ Tree5 *)
+end
+
+```
+
+### B.5.26 Miscellaneous functions used by the pseudo-code
+
+```
+
+function CONSTRUCT_TYPE_OF(Construct): CONSTRUCT_TYPE
+begin
+ return /* ACTIVATE, CREATE, GOTO, or RETURN, as appropriate */;
+end
+
+```
+
+```
+
+function DEF_REF_LIST(TreeReference): DEFAULT_REF_LIST
+begin
+ return /* the default reference list in the header of the corresponding table in the case of a test step in the test step library,
+ or the empty list in the case of default behaviour, or in the case of a local tree attachment the current value of Defaults
+ (i.e., the currently active defaults in the calling tree)*/;
+end
+
+```
+
+```
+
+function EVENT_TYPE_OF(Alternative): EVENT_TYPE
+begin
+ return /* SEND, RECEIVE, OTHERWISE, TIMEOUT, DONE, or IMPLICIT_SEND, as appropriate */;
+end
+
+```
+
+```
+
+function INPUT_Q(PCOorCPIdentifier): QUEUE
+begin
+ if /* PCOorCPIdentifier is empty */ then
+ return /* default PCO input queue */;
+ else return /* input queue identified by PCOorCPIdentifier */;
+end
+
+```
+
+```
+
+function OUTPUT_Q(PCOorCPIdentifier): QUEUE
+begin
+ if /* PCOorCPIdentifier is empty */ then
+ return /* default PCO output queue */;
+ else return /* output queue identified by PCOorCPIdentifier */;
+end
+
+```
+
+```
+
+function SNAPSHOT_FIXED (): BOOLEAN
+begin
+ if /* all relevant PCO and CP queue(s) have some event(s) on them and all relevant timers have expired */ then
+ return TRUE;
+ else return FALSE;
+end
+
+```
+
+```
+
+function STATEMENT_LINE_TYPE_OF(Alternative): STATEMENT_LINE_TYPE
+begin
+ return /* EVENT, PSEUDO_EVENT, or CONSTRUCT, as appropriate */;
+end
+
+```
+
+```
+
+procedure STOP_TEST_CASE()
+begin
+ /* stop all running processes */;
+end
+
+```
+
+**procedure procedure TAKE\_SNAPSHOT()**
+
+(\* A snapshot of the incoming PCO and CP queue(s), the relevant timeout list, and the termination status of any other test components is taken. The act of taking a snapshot does not remove an event from any PCO, CP or timeout list.\*)
+
+**begin**
+
+ /# save current PCO and CP input queues in Snapshot #/;
+ /# save current timeout list in Snapshot #/;
+ /# save current list of terminated Test Components in Snapshot #/;
+
+**end**
+
+**procedure TERMINATE\_TEST\_CASE()**
+
+**begin**
+
+**if** /# any Parallel Test Component processes are still running #/ **then**
+ LOG(TEST\_CASE\_ERROR);
+ STOP\_TEST\_CASE();
+
+**end**
+
+**function TIMER\_OP\_TYPE\_OF(Alternative): TIMER\_OP\_TYPE**
+
+**begin**
+
+**return** /# START\_TIMER, CANCEL\_TIMER, or READ\_TIMER, as appropriate #/;
+
+**end**
+
+## Annex C
+
+### TTCN modules
+
+(This annex forms an integral part of this Recommendation)
+
+#### C.1 Introduction
+
+A TTCN Module shall contain the following sections in the order indicated:
+
+- a) TTCN Module Overview Part.
+- b) Import Part.
+- c) Declarations Part.
+- d) Constraints Part.
+- e) Dynamic Part.
+
+#### C.2 TTCN Module Overview Part
+
+##### C.2.1 Introduction
+
+The purpose of the TTCN Module Overview Part of a module is to provide information needed for the use of the module by other modules or test suites. This includes:
+
+- a) TTCN Module Exports.
+- b) TTCN Module Structure.
+- c) Test Case Index.
+- d) Test Step Index.
+- e) Default Index.
+
+##### C.2.2 TTCN Module Exports
+
+The TTCN Module Exports table identifies the module and provides information on the overall objective of the TTCN Module (e.g., constraints library for a particular protocol).
+
+The name of the original source object shall be given if the object is imported.
+
+If the object is declared as an external object (explicit external) or is an object which is omitted in the imported source object (implicit external), the keyword EXTERNAL is given instead of the source object name.
+
+Exporting an object of type Enumeration or Named Number requires that the corresponding type is given. The other objects which are defined in the corresponding type are not exported as well. They are however implicitly exported and can be referred in other exported objects. The type name is given as a suffix to the object name embedded in brackets.
+
+The following information shall be supplied in the TTCN Module Exports:
+
+- a) the name of the TTCN Module;
+- b) a description of the objective of the module;
+- c) a full reference of the TTCN module;
+- d) references to the relevant base standards if any;
+- e) a reference to the PICS proforma if any;
+- f) a reference to the PIXIT proforma if any;
+- g) an indication of the test method(s) if any;
+- h) other information which may aid understanding of the TTCN Module, this should be included as a comment;
+- i) a list of exported objects,
+where the following information shall be supplied for each exported object:
+ - 1) the name of the object,
+if the object is of type NamedNumber or Enumeration the corresponding type shall be given as a suffix to the object name embedded in brackets;
+
+- 2) the object type;
+ - 3) the name of the original source object if the object is imported, or the object directive EXTERNAL;
+ - 4) a page number,
+- providing the location of the object in the module (no page number shall be given for imported objects).
+
+This information shall be provided in the format shown in the following proforma:
+
+| TTCN Module Exports | | | | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------|-----------------------------------------------------|---------------|-------------------|
+| TTCN Module Name : TTCN_ModuleIdentifier Objective : [FreeText] TTCN Module Ref : [FreeText] Standards Ref : [FreeText] PICS Ref : [FreeText] PIXIT Ref : [FreeText] Test Method(s) : [FreeText] Comments : [FreeText] | | | | |
+| Object Name | Object Type | Source Name | Page Nr | Comments |
+| ⋮ | ⋮ | ⋮ | ⋮ | ⋮ |
+| ObjectIdentifier | TTCN_ObjectType | [SourceIdentifier] ObjectDirective | Number | [FreeText] |
+| ⋮ | ⋮ | ⋮ | ⋮ | ⋮ |
+| Detailed Comments: [FreeText] | | | | |
+
+### Proforma C.1: TTCN Module Exports
+
+EXAMPLE C.1 – TTCN Module Exports:
+
+| TTCN Module Exports | | | | |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------|-------------|---------|----------|
+| TTCN Module Name : TTCN_Module_A Objective : To illustrate the use of the TTCN Module Exports tableTTCN Module Ref :Standards Ref :PICS Ref :PIXIT Ref :Test Method(s) :Comments : | | | | |
+| Object Name | Object Type | Source Name | Page Nr | Comments |
+| String5 | SimpleType_Object | Module_B | 3 | |
+| wait | Timer_Object | | | |
+| INTC | TTCN_PDU_Type_Object | TestSuite_1 | 13 | |
+| DEF1 | Default_Object | | | |
+| TC_2 | TestCase_Object | TestSuite_2 | | |
+| TC_3 | TestCase_Object | | 33 | |
+| Preamble | TestStep_Object | EXTERNAL | | |
+
+### C.2.3 TTCN Module Structure
+
+The TTCN Module Structure contains a list of Test Groups in the module (if any). The following information shall be supplied for each group:
+
+- a) the Test Group Reference,
+where the first identifier may be the module name, and each successive identifier represents further conceptual ordering of the module;
+- b) an optional selection expression identifier;
+- c) the Test Group Objective;
+- d) a page number (page number shall not be supplied for imported groups).
+
+This information shall be provided in the format shown in the following proforma:
+
+| TTCN Module Structure | | | |
+|--------------------------------------------------|------------------------------------------------------|----------------------------------------|----------------------------------------|
+| Test Group Reference | Selection Ref | Test Group Objective | Page Nr |
+| ⋮TestGroupReference ⋮
| ⋮[SelectExprIdentifier] ⋮
| ⋮FreeText ⋮
| ⋮[Number] ⋮
|
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma C.2: TTCN Module Structure**
+
+The static semantics described in the "10.3 Test Suite Structure" are applicable for TTCN Module Structure.
+
+### C.2.4 Test Case Index
+
+The definition of the Test Case Index for modules is the same as the definition of Test Case Index for Test Suites.
+
+### C.2.5 Test Step Index
+
+The definition of the Test Step Index for modules is the same as the definition of Test Step Index for Test Suites.
+
+### C.2.6 Default Index
+
+The definition of the Default Index for modules is the same as the definition of Default Index for Test Suites.
+
+## C.3 Import Part
+
+### C.3.1 Introduction
+
+The purpose of the Import Part of a module is to declare the objects which are not explicitly defined but have been used. These objects are either declared as external objects or are imported from other source objects. This part includes:
+
+- a) External;
+- b) Import.
+
+### C.3.2 External
+
+The External Objects table lists the objects being referred to by their identifier in the TTCN module, but neither imported nor explicitly defined. An external object lets the importer know what he has to define, when importing the TTCN module.
+
+The following information shall be supplied for each external object:
+
+- a) the Object identifier and parameters,
+parameters are included when the object is a Test Suite Operation, a Constraint or a Test Step;
+- b) the object type;
+- c) an optional comment.
+
+This information shall be provided in the format shown in the following proforma:
+
+| External Objects | | |
+|--------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|-------------------------------------------------|
+| Object Name | Object Type | Comments |
+| ⋮
Identifier TS_OpId&ParList
ConsId&ParList TestStepId&ParList
⋮
| ⋮
TTCN_ObjectType
⋮
| ⋮
[FreeText]
⋮
|
+| Detailed Comments: [FreeText] | | |
+
+Proforma C.3: External Objects
+
+EXAMPLE C.2 – External Objects:
+
+| External Objects | | |
+|--------------------------------------------------------------------------------|---------------------------------------------------------------------------------|----------|
+| Object Name | Object Type | Comments |
+| CRC(P:A_PDU) CONSTRAINT_A(acstr:t_CONNECT) TESTSTEP_A(I:INTEGER) DEF3 | TS_Op_Object TTCN_PDU_Constraint_Object TestStep_Object Default_Object | |
+
+C.3.3 Import
+
+The definition of the Import for modules is the same as the definition of Import for Test Suites (see 10.8).
+
+## **Annex D**
+
+### **Test Suite Index**
+
+(This annex forms an integral part of this Recommendation)
+
+Void.
+
+## Annex E
+
+### Compact proformas
+
+(This annex forms an integral part of this Recommendation)
+
+#### E.1 Introduction
+
+As an option, many Constraints and/or many Test Cases can be printed in a single table. This may be useful to highlight relations between the single constraints and/or single Test Cases. This annex states the requirements for using compact Constraints proformas and/or compact Test Cases proformas and gives some examples. These proformas are specific and differ from the generalized layouts given in 7.3. Since the new proformas are only another way to present the same information, there is no TTCN.MP associated with it. The information contained in a compact Constraints and/or compact Test Cases table can be translated in the TTCN.MP associated with the many single constraint tables and/or many Test Case tables that have the same information contents.
+
+#### E.2 Compact proformas for constraints
+
+##### E.2.1 Requirements
+
+It shall only be allowed to print many single constraint tables as a single compact constraint table if:
+
+- the constraints have the same ASP type, PDU type, Structured Type or ASN.1 Type;
+- there is no encoding information specified in any of the single constraint table headers nor in the encoding column of any of those tables (ASN.1 encodings specified in ASN.1 Value may, however, be specified in compact proformas); and
+- there are no entries in the comments column of any single constraint table.
+
+NOTE – If the single constraints tables only have comments in the detailed comments footer (*i.e.*, the comments column is empty), then it is possible to print these constraints in the compact format. In such cases the individual detailed comments from the single proformas should be collected and printed as a single comment in the detailed comments footer of the compact proforma.
+
+##### E.2.2 Compact proformas for ASP constraints
+
+In cases where a constraint contains only a few parameters, or when there are only a small number of constraints, the constraints may be presented in the compact version of the ASP constraints proforma:
+
+| ASP Constraints Declarations | | | | | |
+|----------------------------------------|------------------------------------|-------------------------------------------------------|--|-------------------------------------------------------|-------------------------------|
+| ASP Type : ASP_Identifier | | | | | |
+| Constraint Name | Derivation path | Field Name | | Comments | |
+| | | ASP_ParIdentifier1 | | ASP_ParIdentifiern | |
+| ConsId-&ParList1 | Derivation-Path1 | ConstraintValue-&Attributes1, 1 | | ConstraintValue-&Attributes1, n | [FreeText]1 |
+| ConsId-&ParList2 | Derivation-Path2 | ConstraintValue-&Attributes2, 1 | | ConstraintValue-&Attributes2, n | [FreeText]2 |
+| ⋮ | ⋮ | ⋮ | | ⋮ | ⋮ |
+| ConsId-&ParListm | Derivation-Pathm | ConstraintValue-&Attributesm, 1 | | ConstraintValue-&Attributesm, n | [FreeText]m |
+
+#### Proforma E.1: (Compact) ASP Constraints Declarations
+
+This proforma is used for ASPs and their parameters in the same way that PDU Constraints Declarations proforma is used for PDUs and their fields (see E.2.3).
+
+E.2.3 Compact proformas for PDU constraints
+
+E.2.3.1 Introduction
+
+In cases where a constraint contains only a few fields, or when there are only a small number of constraints, the constraints may be presented in the compact version of the PDU constraints proforma:
+
+| PDU Constraints Declarations | | | | | |
+|------------------------------|------------------------------|--------------------------------------------|--|--------------------------------------------|-------------------------|
+| PDU Type : PDU_Identifier | | | | | |
+| Constraint Name | Derivation path | Field Name | | | Comments |
+| | | ASP_ParIdentifier 1 | | ASP_ParIdentifier n | |
+| ConsId-&ParList 1 | Derivation-Path 1 | ConstraintValue-&Attributes 1,1 | | ConstraintValue-&Attributes 1,n | [FreeText] 1 |
+| ConsId-&ParList 2 | Derivation-Path 2 | ConstraintValue-&Attributes 2,1 | | ConstraintValue-&Attributes 2,n | [FreeText] 2 |
+| ⋮ | ⋮ | ⋮ | | ⋮ | ⋮ |
+| ConsId-&ParList m | Derivation-Path m | ConstraintValue-&Attributes m,1 | | ConstraintValue-&Attributes m,n | [FreeText] m |
+
+Proforma E.2: (Compact) PDU Constraints Declarations
+
+The compact constraints proforma has field names across the top of the proforma, and different instances of the PDU constraints in rows within the proforma. If there are *n* fields in the PDU type definition then there shall be *n* field columns in the compact constraint proforma.
+
+The derivation path column is optional; however, it shall be used to specify the derivation path of modified constraints (see 13.6). A compact table can collect several base constraints (as illustrated in Example C.1) or can collect a base constraint and its modified constraints as in Example C.2. When modified constraints are declared in a compact table, the fields not modified in the modified constraints appear as boxes left blank as the intersection of the modified constraint row and of the field column. When mapping a compact table to TTCN.MP (*i.e.*, single format), blank fields due to inheritance shall be omitted. Fields not specified in modified constraints are left blank in modified constraints.
+
+EXAMPLE E.1 – Constraints using the compact constraints proforma:
+
+| PDU Type Definition | | |
+|---------------------|------------|----------|
+| PDU Name : PDU_B | | |
+| PCO Type : XSAP | | |
+| Comments : | | |
+| Field Name | Field Type | Comments |
+| FIELD1 | INTEGER | |
+| FIELD2 | BOOLEAN | |
+| FIELD3 | IA5String | |
+
+EXAMPLE E.1.1 – Given the declaration of PDU\_B to be:
+
+| PDU Type Definition | | |
+|-------------------------|------------|----------|
+| PDU Name : PDU_B | | |
+| PCO Type : XSAP | | |
+| Comments : | | |
+| Field Name | Field Type | Comments |
+| FIELD1 | INTEGER | |
+| FIELD2 | BOOLEAN | |
+| FIELD3 | IA5String | |
+
+EXAMPLE E.1.2 – The constraints on PDU\_B using the compact constraints proforma could be:
+
+| PDU Constraints Declarations | | | | |
+|------------------------------|------------|--------|------------|----------|
+| PDU Type : PDU_B | | | | |
+| Constraint Name | Field Name | | | Comments |
+| | FIELD1 | FIELD2 | FIELD3 | |
+| CN1 | 3 | TRUE | "A string" | |
+| CN2 | (4,5,6) | FALSE | "A string" | |
+| CN3 | 0 | ? | – | |
+
+The constraints reference in the dynamic part might then contain entries such as PDU\_B[CN1] and PDU\_B[CN2]
+
+EXAMPLE E.1.3 – The inheritance mechanism using the compact constraint proforma:
+
+| PDU Constraints Declarations | | | | | | |
+|------------------------------|-----------------|------------|--------|--------|--------|----------|
+| PDU Type : PDU_A | | | | | | |
+| Constraint Name | Derivation Path | Field Name | | | | Comments |
+| | | FIELD1 | FIELD2 | FIELD3 | FIELD4 | |
+| CN0 | | 0 | 'FF'H | '00'B | TRUE | |
+| CN1 | CN0. | 1 | | | | |
+| CN2 | CN0. CN. | | – | ? | | |
+
+### E.2.3.2 Parameterized compact constraints
+
+Compact constraints may also be parameterized. In such cases the parameter lists shall be appended to the constraint name and occur in the constraint name column of compact constraint proformas.
+
+EXAMPLE E.2 – A parameterized compact constraint:
+
+| PDU Constraints Declarations | | | |
+|------------------------------|------------|----|----------|
+| PDU Type : PDU_X | | | |
+| Constraint Name | Field Name | | Comments |
+| | P1 | P2 | |
+| S1 | 0 | 0 | |
+| S2 | 0 | 1 | |
+| S3 | 1 | 0 | |
+| S4 | 1 | 1 | |
+| S5(A:INTEGER) | 1 | A | |
+
+The invocation of the constraints on PDU\_X in a Test Step may be made as follows: S1, S2, S3, S4, S5(0), S5(1) or S5(Var) where Var is a Test Case or Test Suite Variable.
+
+### E.2.4 Compact proformas for Structured Type constraints
+
+Compact Structured Type constraints shall be provided in the following proforma:
+
+| Structured Type Constraints Declarations | | | | | |
+|-------------------------------------------|------------------------------------|------------------------------------------------------|--|------------------------------------------------------|-------------------------------|
+| Structured Type : StructIdentifier | | | | | |
+| Constraint Name | Derivation path | Field Name | | | Comments |
+| | | ASP_ParIdentifier1 | | ASP_ParIdentifiern | |
+| ConslD-&ParList1 | Derivation-Path1 | ConstraintValue-&Attributes1,1 | | ConstraintValue-&Attributes1,n | [FreeText]1 |
+| ConslD-&ParList2 | Derivation-Path2 | ConstraintValue-&Attributes2,1 | | ConstraintValue-&Attributes2,n | [FreeText]2 |
+| ⋮ | ⋮ | ⋮ | | ⋮ | ⋮ |
+| ConslD-&ParListm | Derivation-Pathm | ConstraintValue-&Attributesm,1 | | ConstraintValue-&Attributesm,n | [FreeText]m |
+
+### Proforma E.3: (Compact) Structured Type Constraints Declarations
+
+EXAMPLE E.3 – Use of structured compact constraints:
+
+The PDU\_Y consists of five fields named Y1 through Y5. The fields Y1, Y2 and Y3 have been combined into the Structured Type called A. In the following, the first table shows the constraints defined on PDU\_Y. The second and third tables convey the same information as the last table.
+
+The second and third tables show the Structured Type A's constraint specification using the single constraint proformas, while the last table shows A's constraint using the compact constraint proforma. Both figures also use the modification mechanism.
+
+For the following tables, it can be seen that if the constraint YY1 was used, the values for field Y1 through Y5 would be 0, 0, 0, 0, 1 respectively, where the values for fields Y1 through Y3 are derived from the Structured Type A using constraint A1. If the constraint YY2 was used, the values for Y1 through Y5 would be 0, 3, 0, 1, 0 respectively, where the values for fields Y1 through Y3 are derived from the Structured Type A using constraint A2.
+
+*EXAMPLE E.3.1* – A PDU constraints table that uses a Structured Type (called A):
+
+| PDU Constraints Declarations | | | | |
+|------------------------------|------------|----|----|----------|
+| PDU Type : PDU_Y | | | | |
+| Constraint Name | Field Name | | | Comments |
+| | A | Y4 | Y5 | |
+| YY1 | A1 | 0 | 1 | |
+| YY2 | A2 | 1 | 0 | |
+| YY3 | A2 | 0 | 1 | |
+
+*EXAMPLE E.3.2* – A1 is a base constraint of Structured Type A:
+
+| Structured Type Constraint Declaration | | |
+|----------------------------------------|---------------|----------|
+| Constraint Name : A1 | | |
+| Structured Type : A | | |
+| Derivation Path : | | |
+| Comments : | | |
+| Element Name | Element Value | Comments |
+| Y1 | 0 | |
+| Y2 | 0 | |
+| Y3 | 0 | |
+
+*EXAMPLE E.3.3* – The Structured Type constraint, A2, is a modified constraint derived from A1:
+
+| Structured Type Constraint Declaration | | |
+|----------------------------------------|---------------|----------|
+| Constraint Name : A2 | | |
+| Structured Type : A | | |
+| Derivation Path : A1. | | |
+| Comments : | | |
+| Element Name | Element Value | Comments |
+| Y2 | 3 | |
+
+EXAMPLE E.3.4 – Structured Type A's constraints A1 and A2 in the compact form:
+
+| Structured Type Constraint Declaration | | | | | |
+|----------------------------------------|-----------------|------------|--------|----|----------|
+| Structured Type Name : A | | | | | |
+| Constraint Name | Derivation Path | Field Name | | | Comments |
+| | | Y1 | Y2 | Y3 | |
+| A1 A2 | A1. | 0 | 0 3 | 0 | |
+
+When using Structured Types within PDU Constraint Declarations, each field name used within the Structured Type definition shall exactly match the name (or short name, if both the short name and full name were defined) of the PDU field which it represents from the original PDU type definition.
+
+#### E.2.5 Compact proformas for ASN.1 constraints
+
+The following proformas shall be used for compact ASN.1 ASP, ASN.1 PDU and ASN.1 Type constraints definitions respectively:
+
+| ASN.1 ASP Constraints Declarations | |
+|--------------------------------------|---------------------------------------------------|
+| ASP Type : ASP_Identifier | |
+| Constraint name | ASN.1 Value |
+| Consl&ParList1 | ConstraintValue&Attributes1 |
+| . | . |
+| . | . |
+| . | . |
+| Consl&ParListm | ConstraintValue&Attributesm |
+
+Proforma E.4: (Compact) ASN.1 ASP Constraints Declarations
+
+| ASN.1 PDU Constraints Declarations | |
+|--------------------------------------|---------------------------------------------------|
+| PDU Type : PDU_Identifier | |
+| Constraint name | ASN.1 Value |
+| Consl&ParList1 | ConstraintValue&Attributes1 |
+| . | . |
+| . | . |
+| . | . |
+| Consl&ParListm | ConstraintValue&Attributesm |
+
+Proforma E.5: (Compact) ASN.1 PDU Constraints Declarations
+
+| ASN.1 Type Constraints Declarations | |
+|-----------------------------------------------|---------------------------------------------------|
+| Type Name : ASN1_TypeIdentifier | |
+| Constraint name | ASN.1 Value |
+| Consl&ParList1 | ConstraintValue&Attributes1 |
+| . | . |
+| . | . |
+| . | . |
+| Consl&ParListm | ConstraintValue&Attributesm |
+
+**Proforma E.6: (Compact) ASN.1 Type Constraints Declarations**
+
+### E.3 Compact proforma for Test Cases
+
+#### E.3.1 Requirements
+
+It is only permitted to print many single Test Case dynamic behaviour tables as a single compact Test Case dynamic behaviour table when the following rules apply:
+
+- all single Test Case dynamic behaviour tables shall belong to the same Test Group;
+- all single Test Case dynamic behaviour tables shall have either the same Default tree or no Default tree; it is recommended that there be no Default tree;
+- the behaviour description of each single Test Case dynamic behaviour table shall consist of a single ATTACH construct.
+
+#### E.3.2 Compact proforma for Test Case dynamic behaviours
+
+Where a series of Test Cases have essentially the same dynamic behaviour and differences occur only in the referenced constraints (e.g., tests for parameter variations of ASPs and/or PDUs), the Test Cases may be presented in the compact version of the Test Case dynamic behaviour proforma:
+
+| Test Case Dynamic Behaviours | | | |
+|---------------------------------------------|-----------------|----------------------|-------------------|
+| Group : TestGroupReference | | | |
+| Defaults : DefaultReference | | | |
+| Test Case Name | Purpose | Test Step Attachment | Comments |
+| TestCaseIdentifier | FreeText | Attach | [FreeText] |
+| . | . | . | . |
+| . | . | . | . |
+| . | . | . | . |
+| Detailed Comments: [FreeText] | | | |
+
+**Proforma E.7: (Compact) Test Case Dynamic Behaviours**
+
+Each row in the body of this proforma describes a single Test Case. If the compact Test Case proforma is used the single table replaces a series of Test Case dynamic behaviour tables in the behaviour part of the test suite.
+
+The comments column contains comments pertaining to individual Test Cases against each attachment.
+
+Test Cases within compact Test Case proforma may form a subset of their group and shall appear in the order indicated in the Test Case Index.
+
+*EXAMPLE E.4* – A compact Test Case table that defines a series of tests for FTAM:
+
+| Test Case Dynamic Behaviours | | |
+|---------------------------------|--------------------------------------------------------|------------------------------------|
+| Group : R/BV/PV/LM/CR/OV | | |
+| Default : | | |
+| Test Case Name | Purpose | Test Step Attachment |
+| OVERIDE1 | Omit the override parameter, when file exists. | +OVERRIDE (FCRERQ_001, FCRERP_001) |
+| OVERIDE2 | Omit the override parameter, when file does not exist. | +OVERRIDE (FCRERQ_002, FCRERP_002) |
+
+## Annex F
+
+### Examples
+
+(This annex does not form an integral part of this Recommendation)
+
+#### F.1 Examples of tabular constraints
+
+##### F.1.1 ASP and PDU definitions
+
+###### F.1.1.1 Flat type definition
+
+| PDU Type Definition | | |
+|---------------------------------------------------|---------------|--------------------------|
+| PDU Name : T_CONNECT1 | | |
+| PCO Type : | | |
+| Comments : Illustration of TTCN mechanisms | | |
+| Field Name | Field Type | Comments |
+| Source | BITSTRING [4] | Length is 4 bits. |
+| Destination | BITSTRING [4] | Length is 4 bits. |
+| T_Class | INTEGER0to4 | Defined as a simple type |
+| UserData | IA5String | |
+
+###### F.1.1.2 Structured Type definition
+
+| PDU Type Definition | | |
+|---------------------------------------------------|---------------|--------------------------|
+| PDU Name : T_CONNECT2 | | |
+| PCO Type : | | |
+| Comments : Illustration of TTCN mechanisms | | |
+| Field Name | Field Type | Comments |
+| T_Addresses | T_AddressInfo | Defined as a simple type |
+| T_Class | INTEGER0to4 | |
+| UserData | IA5String | |
+
+| Structured Type Definition | | |
+|-------------------------------------------------------------|-----------------|------------------|
+| Type Name : T_AddressInfo | | |
+| Comments : Can be used in all Transport PDU examples | | |
+| Element Name | Type Definition | Comments |
+| Source | BITSTRING[4] | Length is 4 bits |
+| Destination | BITSTRING[4] | Length is 4 bits |
+
+### F.1.1.3 Special type PDU, in order to allow use of (static) chaining of constraints
+
+| ASP Type Definition | | |
+|-----------------------|-------------------------|-----------------------------------|
+| ASP Name | : N_DATArequest | |
+| PCO Type | : N_SAP | |
+| Comments | : For illustration only | |
+| Parameter Name | Parameter Type | Comments |
+| CallingNetworkAddress | HEXSTRING | To enable chaining of constraints |
+| CalledNetworkAddress | HEXSTRING | |
+| ConnectionIdentifier | HEXSTRING | |
+| Data | PDU | |
+
+## F.1.2 ASP/PDU constraints
+
+### F.1.2.1 Flat
+
+| PDU Constraint Declaration | | |
+|----------------------------|--------------------|----------|
+| Constraint Name | : TCON_Class4_1 | |
+| PDU Type | : T_CONNECT1 | |
+| Derivation Path | : | |
+| Comments | : | |
+| Field Name | Field Value | Comments |
+| Source | TS_Par1 | |
+| Destination | TS_Par2 | |
+| T_Class | 4 | |
+| UserData | "testing, testing" | |
+
+### F.1.2.2 Structured, referring to field groups
+
+| PDU Constraint Declaration | | |
+|----------------------------|-------------------|--------------------------------------------------------------|
+| Constraint Name | : TCON_Class4_2 | |
+| PDU Type | : T_CONNECT2 | |
+| Derivation Path | : | |
+| Comments | : | |
+| Field Name | Field Value | Comments |
+| T_Addresses | WrongAddress | WrongAddress is a reference to a structured type constraint. |
+| T_Class | 4 | |
+| UserData | "one, two, three" | |
+
+| Structured Type Constraint Declaration | | |
+|----------------------------------------------------------------------------------------------------------------------------------|--------------------|----------|
+| Constraint Name : WrongAddressStructured Type : T_AddressInfoDerivation Path :Comments : | | |
+| Element Name | Element Value | Comments |
+| Source Destination | TS_Par1 '0000'B | |
+
+### F.1.2.3 Chaining, useful for (nested) PDUs in ASPs
+
+| ASP Constraint Declaration | | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|----------|
+| Constraint Name : N_DATAreq_With_T_CON_Class4_1ASP Type : N_DATArequestDerivation Path :Comments : TCON_Class4_1 is a PDU constraint ( i.e. , chaining) | | |
+| Parameter Name | Parameter Value | Comments |
+| CallingNetworkAddress CalledNetworkAddress ConnectionIdentifier Data | TS_Par3 TS_Par4 'ABCDEF'H TCON_Class4_1 | |
+
+### F.1.2.4 Parameterized constraints
+
+It is possible to parameterize flat, structured and chained constraints. The following example shows parameterization to pass a value.
+
+| PDU Constraint Declaration | | |
+|---------------------------------------------------------------------------------------------------------------------------------|----------------------------|-----------------------------|
+| Constraint Name : TCON_1(class:INTEGER)PDU Type : T_CONNECT1Derivation Path :Comments : | | |
+| Field Name | Field Value | Comments |
+| Source Destination T_Class UserData | '1000'B ? class ? | class is a formal parameter |
+
+This can be referenced from the Test Case, Test Step or Default behaviour tables, as for example:
+
+TCON\_1(4) or TCON\_1(TCvariable)
+
+Field values may be whole (chained) PDUs:
+
+| ASP Constraint Declaration | | |
+|----------------------------|---------------------------------------------------------------|------------------------------------|
+| Constraint Name | : N_DATAreq_With_T_CON(A_Constraint:T_CONNECT2) | |
+| ASP Type | : N_DATArequest | |
+| Derivation Path | : | |
+| Comments | : TCON_Class4_1 is a PDU constraint ( i.e. , chaining) | |
+| Parameter Name | Parameter Value | Comments |
+| CallingNetworkAddress | TS_Par3 | A_Constraint is a formal parameter |
+| CalledNetworkAddress | TS_Par4 | |
+| ConnectionIdentifier | '1234567'H | |
+| Data | A_Constraint | |
+
+This constraint can be called as, for example:
+
+N\_DATAreq\_With\_TCON(TCON\_Class4\_2)
+
+Since the actual parameter is a constraint name, which can itself be parameterized, it is possible to express an arbitrary depth of nesting of PDUs.
+
+#### F.1.2.5 Modified constraints
+
+It is possible to use existing constraints and modify them to define new constraints. This can be done with flat, structured and parameterized constraints.
+
+| PDU Constraint Declaration | | |
+|----------------------------|-------------------------|----------|
+| Constraint Name | : TCON_CLASS0_1 | |
+| PDU Type | : T_CONNECT1 | |
+| Derivation Path | : TCON_Class4_1. | |
+| Comments | : Class 0 is acceptable | |
+| Field Name | Field Value | Comments |
+| T_Class | 0 | |
+
+Wildcards can be used for values:
+
+| PDU Constraint Declaration | | |
+|----------------------------|----------------------------------|----------|
+| Constraint Name | : TCON_AnyClass | |
+| PDU Type | : T_CONNECT1 | |
+| Derivation Path | : TCON_Class4_1. | |
+| Comments | : Any class (0..4) is acceptable | |
+| Field Name | Field Value | Comments |
+| T_Class | ? | |
+
+This is considered to be bad style, however. It is better to use the more general constraint as a base.
+
+It is also possible to delete whole fields:
+
+| PDU Constraint Declaration | | |
+|----------------------------|--------------------------|-----------------|
+| Constraint Name | : TCON_Erroneous_NoClass | |
+| PDU Type | : T_CONNECT1 | |
+| Derivation Path | : TCON_Class4_1. | |
+| Comments | : No class present | |
+| Field Name | Field Value | Comments |
+| T_Class | – | T_Class omitted |
+
+## F.2 Examples of ASN.1 constraints
+
+### F.2.1 ASP and PDU definitions
+
+#### F.2.1.1 Flat
+
+| ASN.1 PDU Type Definition | | | | |
+|---------------------------------------------------|--------------|--------------------------|--|--|
+| PDU Name | : T_CONNECT1 | | | |
+| PCO Type | : | | | |
+| Comments | : | | | |
+| Type Definition | | | | |
+| -- only to illustrate use of ASN.1 in TTCN | | | | |
+| SEQUENCE { | source | BITSTRING (SIZE (4..4)), | | |
+| | Destination | BITSTRING (SIZE (4..4)), | | |
+| | t_Class | INTEGER (0..4), | | |
+| | userData | IA5String OPTIONAL. | | |
+| } | | | | |
+
+#### F.2.1.2 Structured
+
+| ASN.1 PDU Type Definition | | | | |
+|--------------------------------------------------------------------------|--------------|-----------------|--|--|
+| PDU Name | : T_CONNECT2 | | | |
+| PCO Type | : | | | |
+| Comments | : | | | |
+| Type Definition | | | | |
+| -- only to illustrate use of ASN.1 in TTCN | | | | |
+| SEQUENCE { | t_Addresses | T_AddressInfo, | | |
+| | t_Class | INTEGER (0..4), | | |
+| | userData | IA5String | | |
+| } | | | | |
+| -- expansion of T_AddressInfo can be found in a table of its own. | | | | |
+
+Related ASN.1 productions that are normally in one ASN.1 module may be distributed over more tables in TTCN:
+
+| ASN.1 Type Definition | | | |
+|-----------------------|---|---------------|--------------------------|
+| Type Name | : | T_AddressInfo | |
+| Comments | : | | |
+| Type Definition | | | |
+| SEQUENCE | { | source | BITSTRING (SIZE (4..4)), |
+| | | destination | BITSTRING (SIZE (4..4)), |
+| | } | | |
+
+### F.2.1.3 An ASP definition
+
+| ASN.1 ASP Type Definition | | | |
+|---------------------------|---|-----------------------|---------------------------------------|
+| ASP Name | : | N_DATArequest | |
+| PCO Type | : | N_SAP | |
+| Comments | : | | |
+| Type Definition | | | |
+| SEQUENCE | { | callingNetworkAddress | OCTETSTRING, -- even number of octets |
+| | | calledNetworkAddress | OCTETSTRING, -- even number of octets |
+| | | connectionIdentifier | OCTETSTRING, -- even number of octets |
+| | | Data | T_PDUS |
+| | } | | |
+
+| ASN.1 Type Definition | | | |
+|-----------------------|---|--------|------------|
+| Type Name | : | T_PDUS | |
+| Comments | : | | |
+| Type Definition | | | |
+| CHOICE | { | t1 | T_CONNECT1 |
+| | | t2 | T_CONNECT2 |
+| | } | | |
+
+## F.2.2 ASN.1 ASP/PDU constraints
+
+### F.2.2.1 Flat
+
+| ASN.1 PDU Constraint Declaration | |
+|----------------------------------|---------------------------------------------------------------------------|
+| Constraint Name | : TCON_Class4_1 |
+| PDU Type | : T_CONNECT1 |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| { source | TS_PAR1, TS_PAR2, -- field identifier can be omitted if desired |
+| t_Class | 4, |
+| userData | "testing, testing" |
+| } | |
+
+### F.2.2.2 Structured
+
+| ASN.1 PDU Constraint Declaration | |
+|----------------------------------|---------------------------------------------------------------|
+| Constraint Name | : TCON_Class4_2 |
+| PDU Type | : T_CONNECT2 |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| { t_Addresses | WrongAddress, -- a reference to a PDU field constraint |
+| t_Class | 4, |
+| userData | "one, two, three" |
+| } | |
+
+| ASN.1 PDU Constraint Declaration | |
+|----------------------------------|---------------------------------|
+| Constraint Name | : WrongAddress |
+| PDU Type | : T_AddressInfo |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| { source | TS_PAR1, destination '0000'B |
+| } | |
+
+### F.2.2.3 Chaining a PDU constraint
+
+| ASN.1 ASP Constraint Declaration | |
+|----------------------------------|-------------------------------------------------------|
+| Constraint Name | : N_DATAreq_With_TCON_Class4_1 |
+| ASP Type | : N_DATArequest |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| { | callingNetworkAddress TS_PAR_3, |
+| | calledNetworkAddress TS_PAR_4, |
+| | connectionIdentifier 'ABCDEF'H, |
+| | data t1 TCON_Class4_1 -- chaining to a PDU constraint |
+| } | |
+
+### F.2.2.4 Parameterized constraints
+
+ASN.1 constraints may be parameterized like TTCN tabular constraints, for example:
+
+| ASN.1 PDU Constraint Declaration | |
+|----------------------------------|------------------------------------|
+| Constraint Name | : TCON_1(class:INTEGER) |
+| PDU Type | : T_CONNECT1 |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| { | source '0000'B, |
+| | destination ?, -- wildcard |
+| | t_Class class, -- formal parameter |
+| | userData ? |
+| } | |
+
+This can be referenced from the Test Case, Test Step or Default behaviour tables, as for example:
+
+TCON\_1(4) or TCON\_1(TCvariable)
+
+A parameter may also represent a whole chained PDU:
+
+| ASN.1 ASP Constraint Declaration | |
+|----------------------------------|---------------------------------------------------------------|
+| Constraint Name | : N_DATAreq_With_TCON(a_constraint:T_CONNECT2) |
+| ASP Type | : N_DATArequest |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| { | callingNetworkAddress TS_PAR_3, |
+| | calledNetworkAddress TS_PAR_4, |
+| | connectionIdentifier '1234567'H, |
+| | data t2 a_constraint |
+| | -- a_constraint is a formal parameter containing a whole PDU. |
+| } | |
+
+This can be referenced from the Test Case, Test Step or Default behaviour tables, as for example:
+
+N\_DATAreq\_With\_TCON(TCON\_Class4\_2)
+
+Since the actual parameter is a constraint name, which itself can be parameterized, it is possible to express an arbitrary depth of nesting.
+
+#### F.2.2.5 Modified constraints
+
+New constraints may be constructed by modifying already defined constraints using the REPLACE mechanism:
+
+| ASN.1 PDU Constraint Declaration | |
+|----------------------------------|------------------|
+| Constraint Name | : TCON_Class0_1 |
+| PDU Type | : T_CONNECT1 |
+| Derivation Path | : TCON_Class4_1. |
+| Comments | : |
+| Constraint Value | |
+| REPLACE t_Class BY 0 | |
+
+Wildcards can be used as replacements as well:
+
+| ASN.1 PDU Constraint Declaration | |
+|----------------------------------|------------------|
+| Constraint Name | : TCON_AnyClass |
+| PDU Type | : T_CONNECT1 |
+| Derivation Path | : TCON_Class4_1. |
+| Comments | : |
+| Constraint Value | |
+| REPLACE t_Class BY ? | |
+
+To specify fields that shall be omitted, the OMIT mechanism is used. This is only allowed if the field is declared as OPTIONAL:
+
+| ASN.1 PDU Constraint Declaration | |
+|----------------------------------|--------------------------------|
+| Constraint Name | : TCON_NoUserData |
+| PDU Type | : T_CONNECT1 |
+| Derivation Path | : TCON_Class4_1.TCON_AnyClass. |
+| Comments | : |
+| Constraint Value | |
+| OMIT userData | |
+
+It is possible to modify ASN.1 parameterized constraints, but note that the parameterized fields themselves cannot be replaced:
+
+| ASN.1 PDU Constraint Declaration | |
+|----------------------------------|-------------------------|
+| Constraint Name | : TCON_2(class:INTEGER) |
+| PDU Type | : T_CONNECT1 |
+| Derivation Path | : TCON_1. |
+| Comments | : |
+| Constraint Value | |
+| REPLACE userData BY "CPS" | |
+
+### F.2.3 Further examples of ASN.1 constraints
+
+Definition of an FTAM F\_INITIALIZEresponse PDU, made in an ASN.1 PDU type definition table:
+
+| ASN.1 PDU Type Definition | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------|
+| ASP Name | : F_INITIALIZEresponse |
+| PCO Type | : |
+| Comments | : |
+| Type Definition | |
+| SEQUENCE { state_result State_Result DEFAULT success, action_result Action_Result DEFAULT success, protocol_version Protocol_Version DEFAULT { version_1 }, implementation_information Implementation_Information OPTIONAL, presentation_context_management [2] IMPLICIT BOOLEAN DEFAULT FALSE, service_class Service_Class DEFAULT { transfer_class }, functional_units Functional_Units, attribute_groups Attribute_Groups DEFAULT { }, shared_ASE_information Shared_ASE_Information OPTIONAL, ftam_quality_of_service FTAM_Quality_Of_Service, contents_type_list Contents_Type_List OPTIONAL, diagnostic Diagnostic OPTIONAL, checkpoint_window [8] IMPLICIT INTEGER DEFAULT 1 } | |
+
+The fields of the PDU (State\_Result, Action\_Result etc.) are declared in ASN.1 Type Definitions.
+
+For example, Functional\_Units:
+
+| ASN.1 PDU Type Definition | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|
+| Type Name | : Functional_Units |
+| Comments | : |
+| Type Definition | |
+| [4] IMPLICIT BITSTRING { read(2), write(3), file_access(4), limited_file_management(5), enhanced_file_management(6), grouping(7), fadu_locking(8), recovery(9), restart_data_transfer(10) } | |
+
+A base constraint, F\_INITrsp\_001, on the F-INITIALIZEresponse is declared in the constraints part:
+
+| ASN.1 PDU Constraint Definition | |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------|
+| Constraint Name | : F_INITrsp_001 |
+| PDU Type | : F_INITIALIZEresponse |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| { state_result State_Result_001, action_result Action_Result_001, protocol_version Protocol_Version_001, implementation_information Implementation_Information_001, presentation_context_management FALSE, service_class Service_Class_001, functional_units Functional_Units_001, attribute_groups Attribute_Groups_001, shared_ASE_information Shared_ASE_Information_001, ftam_quality_of_service FTAM_Quality_Of_Service_001, contents_type_list Contents_Type_List_001, diagnostic Diagnostic_001, checkpoint_window 1 } | |
+
+A constraint on Functional\_Units, Functional\_Units\_001, is declared in an ASN.1 PDU field constraint declaration:
+
+| ASN.1 Type Constraint Declaration | |
+|-----------------------------------|------------------------|
+| Constraint Name | : Functional_Units_001 |
+| Structured Type | : Functional_Units |
+| Derivation Path | : |
+| Comments | : |
+| Constraint Value | |
+| '001'B – Write only | |
+
+A second constraint, F\_INITrsp\_002 can be built by modifying the base constraint, F\_INIT\_rsp001:
+
+| ASN.1 PDU Constraint Declaration | | |
+|----------------------------------|---------------------------------|--------------------------|
+| Constraint Name | : F_INITrsp_002 | |
+| Structured Type | : F_INITIALIZEresponse | |
+| Derivation Path | : F_INITrsp_001. | |
+| Comments | : | |
+| Constraint Value | | |
+| OMIT | implementation_information, | |
+| REPLACE | presentation_context_management | BY TRUE, |
+| REPLACE | functional_units | BY Functional_Units_002, |
+| REPLACE | checkpoint_window | BY ? |
+
+where Functional\_Units\_002 is an ASN.1 PDU Constraint Declaration.
+
+**F.3 Base and modified constraints**
+
+Suppose that we have the following PDU type definition:
+
+| PDU Type Definition | | |
+|---------------------|-----------------------------------------------------------|----------|
+| PDU Name | : PDU_B | |
+| PCO Type | : | |
+| Comments | : This is the declaration of the protocol data unit PDU_B | |
+| Field Name | Field Type | Comments |
+| FIELD1 | INTEGER | |
+| FIELD2 | HEXSTRING | |
+| FIELD3 | BITSTRING | |
+| FIELD4 | BOOLEAN | |
+
+A base constraint for PDU\_B could be:
+
+| PDU Constraint Declaration | | |
+|---------------------------------------------------------------------------------------------------------|-------------|----------|
+| Constraint Name : C0PDU Type : PDU_BDerivation Path :Comments : | | |
+| Field Name | Field Value | Comments |
+| FIELD1 | 0 | |
+| FIELD2 | 'FF'H | |
+| FIELD3 | '00'B | |
+| FIELD4 | TRUE | |
+
+A modified constraint C1 to the base constraint C0 could be:
+
+| PDU Constraint Declaration | | |
+|------------------------------------------------------------------------------------------------------------|-------------|---------------------------------------|
+| Constraint Name : C1PDU Type : PDU_BDerivation Path : C0Comments : | | |
+| Field Name | Field Value | Comments |
+| FIELD1 | 1 | In the base C0 this field value is 0. |
+
+We can further build on C1:
+
+| PDU Constraint Declaration | | |
+|----------------------------------------------------------------------------------------------------------------|-------------|--------------------------|
+| Constraint Name : C2PDU Type : PDU_BDerivation Path : C0.C1.Comments : | | |
+| Field Name | Field Value | Comments |
+| FIELD2 | – | This field is omitted. |
+| FIELD3 | ? | Any legal value accepted |
+
+Reference to a modified constraint in a behaviour tree is made using its name.
+
+## F.4 Type definition using macros
+
+PDU type definition with macro symbol:
+
+| PDU Type Definition | | |
+|---------------------------|--------------------------------------------|--------------------------|
+| PDU Name | : T_CONNECT3 | |
+| PCO Type | : | |
+| Comments | : Illustration of TTCN macro mechanism | |
+| Field Name | Field Type | Comments |
+| <- T_Class UserData | T_AddressGroup INTEGER0to4 IA5String | Defined as a simple type |
+
+| Structured Type Definition | | |
+|----------------------------|------------------|------------------|
+| Type Name | : T_AddressGroup | |
+| Comments | : | |
+| Element Name | Type Definition | Comments |
+| Source | BITSTRING [4] | Length is 4 bits |
+| Destination | BITSTRING [4] | Length is 4 bits |
+
+| PDU Constraint Declaration | | |
+|-------------------------------|-------------------------------------------|----------------------------------------------------------|
+| Constraint Name | : TCON_Class4_3 | |
+| PDU Type | : T_CONNECT3 | |
+| Derivation Path | : | |
+| Comments | : | |
+| Field Name | Field Value | Comments |
+| <- T_Class UserData | GoodAddress 4 "one, two, three" | Reference to the structured type constraint declaration. |
+
+| Structured Type Constraint Declaration | | |
+|----------------------------------------------------------------------------------------------------------------------------------|--------------------|----------|
+| Constraint Name : GoodAddressStructured Type : T_AddressGroupDerivation Path :Comments : | | |
+| Element Name | Element Definition | Comments |
+| Source | '0101'B | |
+| Destination | '1111'B | |
+
+### F.5 Use of REPEAT
+
+| Test Case Dynamic Behaviour | | | | | |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|------------------------------------|-----------------|---------|----------|
+| Test Case Name : RPT_EX2Group : TTCN_EXAMPLES/REPEAT_EXAMPLE2/Purpose : To illustrate use of REPEAT and parameter passing by textual substitution.Default :Comments : | | | | | |
+| Nr | Label | Behaviour Description | Constraints Ref | Verdict | Comments |
+| 1 | | (FLAG:=FALSE, COUNTER:=0) | | | |
+| 2 | | !A | A1 | | |
+| 3 | | REPEAT STEP2 (FLAG, COUNTER) | | | |
+| 4 | | UNTIL [FLAG OR COUNTER=3] | | | |
+| 5 | | [FLAG] | | | |
+| 6 | | !D | D1 | PASS | |
+| 7 | | [COUNTER=3] | | | |
+| | | !E | E1 | FAIL | |
+| | | STEP2 (F:BOOLEAN; NUMBER: INTEGER) | | | |
+| 8 | | ?B (F:=TRUE) | B1 | | |
+| 9 | | ?C (F:=FALSE, NUMBER:=NUMBER+1) | C1 | | |
+| Detailed Comments: This example shows how repeated execution of STEP2 can be ended either by reception of message B, or reception of three other messages. In the lines following the REPEAT construct, Boolean expressions are used to describe that in the case where B is received, message D is to be sent, and in the case where three other messages are received E is to be sent.
This example also illustrates the effect of parameter passing by textual substitution. This means that FL is replaced by FLAG, and NUMBER is replaced by COUNTER, thus making it possible for FLAG and COUNTER to obtain the results of the assignments in STEP2.
| | | | | |
+
+## F.6 Test suite operations
+
+Using a Test Suite Operation to set a checksum:
+
+| Test Suite Operation Definition | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|
+| Operation Name | : CRC(P:A_PDU) |
+| Result Type | : INTEGER |
+| Comments | : |
+| Description | |
+| Calculate and return the checksum of the PDU P according to the CRC algorithm. NOTE – In a real ATS, this operation would be described in greater detail. | |
+
+| PDU Constraint Declaration | | |
+|--------------------------------------------------------------------------------------------------------------------------------------|-------------|----------|
+| Constraint Name | : CONS1 | |
+| PDU Type | : A_PDU | |
+| Derivation Path | : | |
+| Comments | : | |
+| Field Name | Field Value | Comments |
+| : | : | |
+| Checksum | ? | |
+| : | : | |
+| A_PDU.Checksum := CRC(CONS1) in the appropriate SEND event in a behaviour description will set the Checksum in the constraint CONS1. | | |
+
+## F.7 Example of a Test Suite Overview
+
+In the Test Suite Structure table shown below, a hierarchy of the groups and Test Cases in the suite is defined. Within this structure, test selection expressions are identified which govern the selection of Test Groups and the Test Cases for execution. For example, SELEXP\_100 is referenced as the controlling expression for Feature X of the protocol. If Feature X is not supported, none of the Test Cases in the suite which are within the Feature X group will be selected.
+
+| Test Suite Structure | | | |
+|------------------------------|----------------------------|---------------------------------------|---------|
+| Suite Name | : TEST_SUITE_A | | |
+| Standards Ref | : ISO/IEC xxxx | | |
+| PICS Ref | : ISO/IEC aaaa | | |
+| PIXIT Ref | : ISO/IEC bbbb | | |
+| test notation(s) | : DS test method | | |
+| Comments | : This is an example only. | | |
+| Test Group Reference | Selection Ref | Test Group Objective | Page Nr |
+| FEATURE_X | SELEXP_100 | Test optional Feature X | 50 |
+| FEATURE_A/ATTR_A | SELEXP_101 | Test mandatory Attribute A | 50 |
+| FEATURE_A/ATTR_A/NEGOTIATION | | Test optional Attribute A negotiation | 50 |
+| FEATURE_A/ATTR_A/USAGE | | Test Attribute A usage | 60 |
+| FEATURE_A/ATTR_B | | Test mandatory Feature Y | 80 |
+
+To determine whether or not Feature X is supported, SELEXP\_100 must be evaluated. This is done by determining whether or not the Test Suite Parameter in SELEXP\_100, *i.e.*, TST\_FX, is TRUE. If it is, the processing within the group continues. Note that tests for attribute A will be selected (no expression), but that tests for the optional negotiation feature of Attribute A will only be selected if SELEXP\_101 is TRUE.
+
+| Test Case Index | | | | |
+|------------------------------|--------------|---------------|----------------------------|---------|
+| Test Group Reference | Test Case Id | Selection Ref | Description | Page Nr |
+| FEATURE_X/ATTR_A/NEGOTIATION | FX_ANEG_1 | SELEXP_102 | Req. Attr. A, valid neg. | 50 |
+| | FX_ANEG_2 | SELEXP_102 | Req. Attr. A, invalid neg. | 52 |
+| | FX_ANEG_3 | | Rcv. Attr. A, invalid neg. | 54 |
+| | FX_ANEG_4 | | Rcv. Attr. A, invalid neg. | 56 |
+| FEATURE_X/ATTR_A/USAGE | FX_AUSE_1 | SELEXP_103 | Use Attr. A (VAL=0) | 60 |
+| | FX_AUSE_2 | | Rcv. Attr. A | 62 |
+| | FX_AUSE_3 | | Rcv. Attr. A | 64 |
+
+If Attribute A negotiation is supported, Test Case FX\_ANEG\_01 through FX\_ANEG\_04 are candidates for selection. However, Test Cases '01' and '02' will only be chosen if the additional selection expression SELEXP\_102 is TRUE. Test Case FX\_ANEG\_01 will only be selected if the PICS indicates that a value of zero for Attribute A is supported.
+
+The PICS and PIXIT questions used in the test selection expressions are declared as Test Suite Parameters.
+
+| Test Suite Parameter Declarations | | | |
+|-----------------------------------|---------|----------------------|-----------------------------|
+| Parameter Name | Type | PICS/PIXIT Ref | Comments |
+| TSP_FX | BOOLEAN | PICS question FX1 | Q: Feature X supported? |
+| TSP_FXA_N | BOOLEAN | PICS question FX2 | Q: Feature X neg supported? |
+| TSP_FXA_NINT | BOOLEAN | PICS question FX3 | Q: Does IUT req. neg? |
+| TSP_FXA_MINVAL | INTEGER | PIXIT question FXVAL | Q: Will IUT use VAL=0? |
+
+The test selection expressions are declared as Boolean expressions, as defined in 11.5.
+
+| Test Case Selection Expression Definitions | | |
+|--------------------------------------------|----------------------|----------------------------|
+| Expression Name | Selection Expression | Comments |
+| SELEXP_100 | TSP_FX | Feature X supported |
+| SELEXP_101 | TSP_FXA_N | Feature X negotiation |
+| SELEXP_102 | TSP_FXA_NINIT | Req. Feature X negotiation |
+| SELEXP_103 | TSP_FXA_VAL=0 | Accept Feature X VAL=0 |
+
+## F.8 Example of a Test Case in TTCN.MP Form
+
+For the sample Test Case given below:
+
+| Test Case Dynamic Behaviour | | | | | | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|---------------------------------|-------------------------|---------|-----------------|--|
+| Test Case Name : PACKET/P4/PROPER/T_02Reference : T_7_02Purpose : Verify the IUT acknowledges a Clear cause code 05 while in state p4Default :Comments : | | | | | | |
+| Nr | Label | Behaviour Description | Constraints Ref | Verdict | Comments | |
+| 0 | L1 | +R1_PREAMBLE(SVC) | CLR_0(LC) CLRC_0(LC) | (PASS) | clear cause = 5 | |
+| 1 | | +P4D1_PREAMBLE | | | | |
+| 2 | | !CLEAR START TD | | | | |
+| 3 | | ?CLEARC CANCEL TD | | | | |
+| 4 | | +R1_POSTAMBLE | CLR_L0(LC) | (PASS) | | |
+| 5 | | ?CLEARC CANCEL TD | | | | |
+| 6 | | +R1_POSTAMBLE | | | | |
+| 7 | | ?RESTART [RST_ON_ERR] CANCEL TD | | | | |
+| 8 | | !RESTARTC | STRT_DTEA STRTC | (PASS) | | |
+| 9 | | +R1_POSTAMBLE | | | | |
+| 10 | | +DIC_UNEXPECTED | | | | |
+| 11 | | ->L1 | | | | |
+| 12 | | +RSRT_UNEXPECTED | | FAIL | | |
+| 13 | | ?TIMEOUT TD | | | | |
+| 14 | | ?OTHERWISE CANCEL TD | | | | |
+
+The TTCN.MP that corresponds to this table is:
+
+```
+
+$BeginTestCase
+ $TestCaseId T_7_02
+ $TestGroupRef PACKET/P4/PROPER/T_02
+ $TestPurpose /* Verify the IUT acknowledges a Clear cause code 05 while in state p4 */
+ $DefaultsRef
+ $BehaviourDescription
+ $BehaviourLine
+ $Label
+ $Line [0] +R1_PREAMBLE(SVC)
+ $Cref
+ $Verdict
+ $End_BehaviourLine
+ $BehaviourLine
+ $Label
+ $Line [1] +P4D1_PREAMBLE
+ $Cref
+ $Verdict
+ $End_BehaviourLine
+ $BehaviourLine
+ $Label
+ $Line [2] !CLEAR START TD
+ $Cref CLR_0(LC)
+ $Verdict
+ $Comment /* clear cause = 5 */
+
+```
+
+```
+
+$End_BehaviourLine
+$BehaviourLine
+ $Label L1
+ $Line [3] ?CLEARC CANCEL TD
+ $Cref CLRC_0(LC)
+ $Verdict (PASS)
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [4] +R1_POSTAMBLE
+ $Cref
+ $Verdict
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [3] ?CLEAR CANCEL TD
+ $Cref CLR_L0(LC)
+ $Verdict (PASS)
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [4] +R1_POSTAMBLE
+ $Cref
+ $Verdict
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [3] ?RESTART [RST_ON_ERR] CANCEL TD
+ $Cref STRT_DTEA
+ $Verdict (PASS)
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [4] !RESTARTC
+ $Cref STRTC
+ $Verdict
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [5] +R1_POSTAMBLE
+ $Cref
+ $Verdict
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [3] +D1C_UNEXPECTED
+ $Cref
+ $Verdict
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [4] -> L1
+ $Cref
+ $Verdict
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [3] +RSRT_UNEXPECTED
+ $Cref
+ $Verdict
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [3] ?TIMEOUT TD
+ $Cref
+ $Verdict FAIL
+
+```
+
+```
+
+$End_BehaviourLine
+$BehaviourLine
+ $Label
+ $Line [3] ?OTHERWISE CANCEL TD
+ $Cref
+ $Verdict FAIL
+$End_BehaviourLine
+$End_BehaviourDescription
+$End_TestCase
+
+```
+
+The layout shown here is only intended to aid readability.
+
+## F.9 Use of component reference for field value assignment in constraints
+
+When a number of field values in a received PDU has to be assigned to the fields in several subsequent send PDUs, the Dynamic Behaviour table can become cluttered with lengthy assignment statements using the dot notation.
+
+TTCN allows PDU field value assignments in the constraint tables using component reference associated with a formal parameter. Received ASPs or PDUs in the Behaviour table may be assigned to a variable and subsequently passed as an actual parameter in the constraints reference to a formal parameter in the constraint table. The constraint table then specifies the required field assignments using the formal parameter and its components. The following tables illustrate these principles:
+
+Figure F.1 illustrates possible field assignments in the behaviour specification without the use of component reference.
+
+| Test Case Dynamic Behaviour | | | | | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|------------------------------------------------------------------------------------------------------|----------------|---------|----------|
+| Test Case Name : STYLE1Group : TTCN_EXAMPLES/Purpose : To illustrate the use of component references in the behaviour description.Default Comments : | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | | ?InASP(v:=InASP.userdata) | Cin1 | | |
+| 2 | | !OutASP (OutASP.userdata.OutPDU.FieldA:=v.Field2, OutASP.userdata.OutPDU.FieldC:=v.Field3) | Cout1 | | |
+| Detailed Comments: | | | | | |
+
+Figure F.1/X.292 – Lengthy assignment statements clutter the behaviour description
+
+Figure F.2 illustrates the simplification of the behaviour specification resulting from the use of component reference in constraints.
+
+| Test Case Dynamic Behaviour | | | | | |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|---------------------------|-----------------|---------|----------|
+| Test Case Name : TTCN_EXAMPLES/STYLE1Reference : ST_EX1Purpose : To illustrate the use of component references in the behaviour description.Default : | | | | | |
+| Nr | Label | Behaviour Description | Constraints Ref | Verdict | Comments |
+| 1 | | ?InASP(v:=InASP.userdata) | Cin1 | | |
+| 2 | | !OutASP | Cout2(v) | | |
+
+Figure F.2/X.292 – Lengthy assignment statements are removed form the behaviour description
+
+For simplicity, the definitions of all required ASP and PDU types have been omitted.
+
+The ASP types InASP and OutASP consist of the single parameter field userdata, which is of the type InPDU and OutPDU respectively. InPDU contains the three fields Field1, Field2 and Field3, which all are of the type IA5String.
+
+OutPDU contains the three fields FieldA, FieldB and FieldC, which also are of the type IA5String.
+
+v has to be declared as a Test Case Variable of a PDU type.
+
+The following tables give the required ASP and PDU constraint declarations:
+
+| ASP Constraint Declaration | | |
+|--------------------------------|-----------------|----------|
+| Constraint Name : Cout1 | | |
+| ASP Type : OutASP | | |
+| Derivation Path : | | |
+| Comments : | | |
+| Parameter Name | Parameter Value | Comments |
+| userdata | CoutPDU1 | |
+
+| ASP Constraint Declaration | | |
+|---------------------------------------|-----------------|----------|
+| Constraint Name : Cout2(p:PDU) | | |
+| ASP Type : OutASP | | |
+| Derivation Path : | | |
+| Comments : | | |
+| Parameter Name | Parameter Value | Comments |
+| userdata | CoutPDU2(p) | |
+
+| ASP Constraint Declaration | | |
+|-------------------------------|-----------------|----------|
+| Constraint Name : Cin1 | | |
+| ASP Type : InASP | | |
+| Derivation Path : | | |
+| Comments : | | |
+| Parameter Name | Parameter Value | Comments |
+| userdata | CinPDU | |
+
+| PDU Constraint Declaration | | |
+|----------------------------------------------------------------------------------------------------------------|-------------|----------|
+| Constraint Name : CoutPDU1PDU Type : OutPDUDerivation Path :Comments : | | |
+| Field Name | Field Value | Comments |
+| FieldA | 'A' | |
+| FieldB | 'B' | |
+| FieldC | 'C' | |
+
+| PDU Constraint Declaration | | |
+|-------------------------------------------------------------------------------------------------------------------------|-------------|----------|
+| Constraint Name : CoutPDU2(p:InPDU)PDU Type : OutPDUDerivation Path :Comments : | | |
+| Field Name | Field Value | Comments |
+| FieldA | p.Field2 | |
+| FieldB | 'B' | |
+| FieldC | p.Field3 | |
+
+| PDU Constraint Declaration | | |
+|-------------------------------------------------------------------------------------------------------------|-------------|----------|
+| Constraint Name : CinPDUPDU Type : InPDUDerivation Path :Comments : | | |
+| Field Name | Field Value | Comments |
+| Field1 | * | |
+| Field2 | * | |
+| Field3 | * | |
+
+### F.10 Multi-party testing
+
+Figure F.3 illustrates a test component configuration for a typical multi-party testing context. Only a single upper tester is shown, since communication among multiple upper testers and/or Upper Tester Control Function (UTCF) is only applicable to contexts that exclusively use the local test method.
+
+In the example shown in Figure F.3, for simplicity, each lower tester is specified by a single PTC and the LTCF is specified by the MTC. Another PTC is used to specify the upper tester. Co-ordination points are used between the lower tester PTCs and the MTC.
+
+This is a straightforward use of concurrency to meet multi-party requirements, but it should not be taken to imply that there has to be a one-to-one relationship between lower testers and PTCs, or between the LTCF and the MTC, or between the upper tester and a PTC.
+
+
+
+Figure F.3/X.292: Example test component configuration for multi-party testing with a single upper tester. The diagram shows a hierarchy of components. At the top is MTC\_LTCF. Below it are three parallel paths: PTC\_LT1, PTC\_LT2, and PTC\_LT3. Each path has a corresponding PCO (PCO\_LT1, PCO\_LT2, PCO\_LT3) below the PTC. All these connect to a base block labeled 'X - Service Provider(s)'. To the right, a separate path shows PTC\_UT connected to PCO\_UT, which connects to IUT, which also connects to the 'X - Service Provider(s)' block. Arrows indicate bidirectional communication.
+
+X.292\_FF.3
+
+Figure F.3/X.292 – Example test component configuration for multi-party testing with a single upper tester
+
+## F.11 Multiplexing/Demultiplexing
+
+
+
+Figure F.4/X.292: Possible configurations for multiplexing/demultiplexing test cases. Part (a) shows two test components PTC1 and PTC2 connected to a single MTC1. PTC1 connects via CP1 and PTC2 via CP2 to MTC1. MTC1 then connects to PCO1. Part (b) shows MTC1 connected to PTC1 via CPa. Both MTC1 and PTC1 connect to separate PCOs, PCO1(MuxA) and PCO2(MuxA), which are then multiplexed within the service provider.
+
+X.292\_FF.4
+
+Figure F.4/X.292 – Possible configurations for multiplexing/demultiplexing test cases
+
+There are two ways of using concurrent TTCN in test cases using multiplexing/demultiplexing. These are illustrated in Figure F.4. The first, shown in Figure F.4 a), specifies the multiplexing and demultiplexing explicitly within test component MTC1, with PTC1 and PTC2 each handling the behaviour on one of the two multiplexed connections. This provides for maximum flexibility in the way that the multiplexing and demultiplexing behaviour is specified, including possibilities of invalid behaviour. However, the disadvantage of this approach is the relatively complex multiplexer/demultiplexer has to be specified even if the test purpose concerns only the behaviour on each of the two connections. The alternative approach is to use a separate PCO for each separate stream of events and a test suite parameter (MuxValue) associated with each of these PCOs that are to be multiplexed and demultiplexed within the underlying service provider, rather than within the Lower Tester. This allows the configuration shown in Figure F.4 b) to be used. Since the multiplexing/demultiplexing is performed within the service provider, there are two PCOs in this configuration, corresponding to the two CPs in the other configuration, but they are given a common MuxValue, MuxA, to indicate that within the service provider they are to be multiplexed. To keep things simple, one of the two test components is made the MTC, although a separate MTC not connected to a PCO could be used instead if preferred.
+
+## F.12 Splitting and recombining
+
+In order to specify test cases involving splitting and recombining, there is no alternative to specifying explicitly the splitting and recombining behaviour in the test case. Concurrency can be used to separate the splitting and recombining behaviour into one test component, MTC1 in Figure F.5, from the protocol behaviour that lies above this function by using a second test component, PTC1 in Figure F.5.
+
+
+
+```
+graph TD; PTC1[PTC1] <-->|CP| MTC1[MTC1]; MTC1 <-->|PCOa| PCOa[PCOa]; MTC1 <-->|PCOb| PCOb[PCOb]; MTC1 <-->|PCOc| PCOc[PCOc]; PCOc --- X292_FF5[X.292_FF5];
+```
+
+Diagram showing the configuration for splitting/recombining test cases. PTC1 is connected to MTC1 via CP. MTC1 is connected to PCOa, PCOb, and PCOc via double-headed arrows. PCOc is labeled X.292\_FF5.
+
+Figure F.5/X.292 – Possible configuration for splitting/recombining test cases
+
+## F.13 Multi-protocol test cases
+
+Multi-protocol test cases, including those using the embedded variants of the test methods, can use concurrent TTCN in order to separate the behaviour associated with each protocol into a different test component, as illustrated in Figure F.6, which shows an example configuration for testing Session embedded under FTAM.
+
+
+
+```
+graph TD; FTAM[FTAM] -->|CP_ACSE| ACSE[ACSE]; ACSE -->|CP_Presentation| Presentation[Presentation]; Presentation -->|CP_Session| Session[Session]; Session <-->|PCO_Transport| PCO_Transport[PCO_Transport]; PCO_Transport --- X292_FF6[X.292_FF.6];
+```
+
+Diagram showing the configuration for multi-protocol testing. FTAM is connected to ACSE via CP\_ACSE. ACSE is connected to Presentation via CP\_Presentation. Presentation is connected to Session via CP\_Session. Session is connected to PCO\_Transport via a double-headed arrow. PCO\_Transport is labeled X.292\_FF.6.
+
+Figure F.6/X.292 – Possible configuration for multi-protocol testing – Session embedded under FTAM
+
+## F.14 Example of modular TTCN
+
+
+
+The diagram illustrates the modular structure of TTCN (Test Template Command Notation) across three modules: TS, M1, and M2. Each module is represented by a container box containing tables for imports, exports, test cases, and test steps.
+
+**Module TS:**
+
+- Import Table:** Contains 'Name: M1' and '...'.
+- Test Case Table:** Contains 'TC'.
+- Test Step Table:** Contains 'Name: PRE', '...', and '...'.
+
+**Module M1:**
+
+- Import Table:** Contains 'Name: M2' and '...'.
+- Test Case Table:** Contains 'PRE'.
+- Module Exports Table:** Contains 'Name: M1', '...', and 'SourceId'.
+
+**Module M2:**
+
+- Module Exports Table:** Contains 'Name: M1', '...', and 'SourceId'.
+- Test Case Table:** Contains 'PRE'.
+- Test Step Table:** Contains 'Name: PRE', '...', and '...'.
+
+**TS (expanded):**
+
+An expanded view of the TS module shows three tables:
+
+- Test Step Table:** Contains 'Name: PRE', '...', and '...'.
+- Test Case Table:** Contains 'Name: TC', '...', and '+M2\_PRE'.
+- Test Step Table:** Contains 'Name: M2\_PRE', '...', and '...'.
+
+Arrows indicate the flow of information: from the 'Test Step' table in TS to the 'Test Step' table in TS (expanded), from the 'Test Case' table in M1 to the 'Test Case' table in TS (expanded), and from the 'Test Step' table in M2 to the 'Test Step' table in TS (expanded).
+
+X.292\_FF.7
+
+Diagram illustrating modular TTCN structure with modules TS, M1, and M2, and an expanded view of TS.
+
+**Figure F.7/X.292 – Example of modular TTCN**
+
+The test step PRE (which is defined in the module M2) is implicitly imported from M1 in TS.
+
+## Annex G
+
+### Style guide
+
+(This annex does not form an integral part of this Recommendation)
+
+#### G.1 Introduction
+
+This annex presents some recommended style rules that can be employed when using TTCN. The aim is to provide a basic consistency between the TTCN styles used by different test suite specifiers.
+
+#### G.2 Test case structure
+
+In order to have a better analysis of test results and to identify easily whether or not the test purpose is achieved, the consideration of the following points on structuring Test Cases is suggested:
+
+- a) the test suite specifier should clearly identify the preamble and postamble sub-trees;
+- b) the postamble and the preamble should be specified through a single test tree attachment (local to the Test Case or from the Test Step Library) in the Test Case main behaviour tree. Such test trees may attach subsequent sub-trees;
+- c) once the preamble and postamble(s) sub-trees are identified within a Test Case main behaviour tree, the remaining events in the Test Case main behaviour tree may be considered to be related to the test body (*i.e.*, events related to the test purpose).
+
+Using this mechanism the boundaries between preamble, test body and postamble within a Test Case can be easily identified. Labels may be used to indicate the start and end of the test body in the conformance log.
+
+*EXAMPLE G.1* – Identification of preamble and postamble:
+
+| Test Case Dynamic Behaviour | | | | | |
+|--------------------------------------------------------------------------|---------|-----------------------|----------------|---------|--------------------|
+| Test Case Name : ST_EX1 | | | | | |
+| Group : TTCN_EXAMPLES/STYLE1 | | | | | |
+| Purpose : To illustrate identification of preamble and postamble. | | | | | |
+| Default : | | | | | |
+| Comments : | | | | | |
+| Nr | Label | Behaviour Description | Constraint Ref | Verdict | Comments |
+| 1 | | + Preamble | | | Related to purpose |
+| 2 | | ! A | A1 | | |
+| 3 | Body | ? B | B1 | | |
+| 4 | CinBody | ? C | C1 | (PASS) | |
+| 5 | | + postamble_1 | | | Related to purpose |
+| 6 | DinBody | ? D | D1 | (PASS) | |
+| 7 | | + postamble_2 | | | Related to purpose |
+| 8 | | ? E | E1 | INCONC | |
+| 9 | | ? OTHERWISE | | FAIL | |
+| Detailed Comments: | | | | | |
+
+Since final verdicts cause termination of Test Case execution, a test suite specifier cannot assign a final verdict in the body if it is necessary to enter the postamble. Still, it is desirable to give a verdict at the point in the Test Case where the test purpose is achieved and not hide verdicts in postambles. It is therefore recommended to state preliminary results in the verdict column if a test purpose is achieved but a postamble should still be executed. In the definition of the postamble, a test suite specifier may use the result variable R as a verdict assigned at the leaves of the behaviour tree, to indicate that if no errors were encountered in the postamble the verdict is determined in the test body.
+
+## G.3 Use of TTCN with different abstract test methods
+
+### G.3.1 Introduction
+
+This subclause ties the TTCN with the abstract test methods defined in ITU-T Rec. X.291. It gives the TTCN syntax used to express the occurrence of events at PCOs, and constraint references for the various abstract test methods.
+
+It is assumed that the ASP type definitions define the type of the UserData parameter as PDU. It is therefore possible to use chaining of constraints (*i.e.*, to refer to a constraint for an ASP that contains a PDU in the UserData parameter), as a reference to an ASP constraint that has a PDU constraint as an actual parameter.
+
+### G.3.2 TTCN and the LS test method
+
+Possible TTCN events:
+
+| Behaviour Description | Constraints Reference |
+|------------------------------|-----------------------------------|
+| LT! N_ASP | N_ASPconstraint (N_PDUconstraint) |
+| LT? N_ASP | N_ASPconstraint (N_PDUconstraint) |
+| UT! T_ASP | T_ASPconstraint |
+| UT? T_ASP | T_ASPconstraint |
+
+### G.3.3 TTCN and the DS test method
+
+Possible TTCN events:
+
+| Behaviour Description | Constraints Reference |
+|------------------------------|-----------------------------------|
+| LT! N_ASP | N_ASPconstraint (T_PDUconstraint) |
+| LT? N_ASP | N_ASPconstraint (T_PDUconstraint) |
+| UT! T_ASP | T_ASPconstraint |
+| UT? T_ASP | T_ASPconstraint |
+
+### G.3.4 TTCN and the CS test method
+
+Possible TTCN events:
+
+| Behaviour Description | Constraints Reference |
+|------------------------------|-----------------------------------|
+| LT! N_ASP | N_ASPconstraint (T_PDUconstraint) |
+| LT? N_ASP | N_ASPconstraint (T_PDUconstraint) |
+
+Exchanging TM\_PDUs between the LT and TM protocol implementation in the IUT, via the connection that is used for testing. Note that in this case the PDU definition shall have declared its UserData field as of type PDU.
+
+| | |
+|-----------|------------------------------------------------------|
+| LT! N_ASP | N_ASPconstraint (T_PDUconstraint (TM_PDUconstraint)) |
+| LT? N_ASP | N_ASPconstraint (T_PDUconstraint (TM_PDUconstraint)) |
+
+### G.3.5 TTCN and the RS test method
+
+Possible TTCN events:
+
+| Behaviour Description | Constraints Reference |
+|------------------------------|-----------------------------------|
+| LT! N_ASP | N_ASPconstraint (T_PDUconstraint) |
+| LT? N_ASP | N_ASPconstraint (T_PDUconstraint) |
+
+Since there is no UT or TMP the IMPLICIT SEND is used to describe send events at the side of the IUT connection.
+
+| | |
+|--------------|-----------------------------------|
+| | N_ASPconstraint (T_PDUconstraint) |
+| | T_PDUconstraint |
+
+## G.4 Use of defaults
+
+As a matter of style, a test suite specifier should avoid situations where the attempt of an alternative of a Default behaviour is the normal specification of the *expected* behaviour of the IUT. It would be the case for instance if a Test Step represents the behaviour of the LT or UT and the IUT, when valid test events are sent, and if the responses of the IUT to invalid or inopportune test events sent by the LT or UT were specified in Defaults implicitly attached to that Test Step when called by other Test Cases. Such Defaults would have to bear Pass verdicts.
+
+This is not a recommended practice, when the attachment of a Default tree is left unspecified and carries a degree of uncertainty. Explicitly attached trees or the main tree should be used instead.
+
+## G.5 Limiting the execution time of a Test Case
+
+In previous versions of TTCN, an ELAPSE statement was defined, allowing the test case specifier to limit the abnormal duration of a Test Case, if for instance a snapshot processing never ends, or if an uncontrolled recursion of tree attachment occurs.
+
+The ELAPSE statement is no longer part of TTCN, as the problem it was intended to solve is considered to be outside the scope of test suite specification.
+
+To limit the execution time of a Test Case, it is now recommended that the test realizers implement local mechanisms in the means of testing. Explicit timers can be used together with the TIMEOUT event whenever a limit needs to be placed on waiting for an event to occur.
+
+## G.6 Structured types
+
+- a) in pre-DIS versions of TTCN, generic fields and generic values were defined as features allowing either to group several fields or values in a constraint table, and/or to reuse such a group in several constraint tables of similar contents;
+- b) in this version, the grouping of ASP parameters and PDU (ex-data types) fields is introduced first in the declarations part, for the sake of completeness of that part, and consistency with the use of ASN.1 in TTCN. Refer to 11.2.3.3 for a definition of the Structured Type definition tables. Once a Structured Type is declared, it can be used by one or more ASP type or PDU type definitions. The ASP and PDU definition table can therefore be "flat" (no group, or a group introduced by a macro call), or structured (by means of structure specifications for named ASP parameters or PDU fields);
+- c) in the constraint part, structure elements has to be assigned values in Structured Type constraint tables. The names of these constraints can be used in the base ASP or PDU constraint tables as values.
+
+The ASP and PDU constraint tables can therefore also be:
+
+- flat, *i.e.*, assigning values to all parameters or fields individually, and only referring to the structure constraint tables by macro call; or
+ - structured, *i.e.*, replacing values of declared groups of parameters or fields by names of group constraints.
+- d) if the declared ASP or PDU is structured by use of some ASP parameters or PDU fields being specified by referenced to structure elements, then the constraints have to have the same structure.
+
+Whichever form is used, ASP/PDU constraints can also be:
+
+- modified; and
+ - parameterized, by means of a parameter to be bound to a field/parameter value or to a Structured Type constraint.
+- e) the Structured Type constraint tables replace the generic field tables of previous versions of TTCN;
+ - f) the concept of generic values is deleted;
+ - g) examples are given in Annex F.
+
+## G.7 Abbreviations
+
+In previous versions of TTCN, it was allowed to declare, in a specific table, abbreviations to be used in the behaviour columns of the Test Cases and Test Steps. This facility proved to be confusing and has been restricted so that only the names of ASPs and PDUs, when used in event lines, can be abbreviated. This facility is now called Alias.
+
+## G.8 Test descriptions
+
+Informal behaviour descriptions, giving more detail than the test purposes, but less detail than the TTCN specification of the Test Cases may, if desired, be included in a standardized ATS.
+
+Such test descriptions may use text, time sequence diagrams or any other notation and be located in the comments field of tables, an informative annex or both.
+
+The TTCN specifications of the Test Cases always take precedence over such informal test descriptions.
+
+## G.9 Assignments on SEND events
+
+TTCN allows for overwriting constraint values prior to a SEND event in an assignment statement on the event line. This means that first the data to be sent is constructed from the constraint definition and then the assignments are executed.
+
+This feature should be used with care since it may lead to confusion for the test suite reader what the actual value is that is to be sent. In particular, it is considered to be bad style to use the same constraint for both sending and receiving.
+
+## G.10 Multi-service PCOs
+
+Where a PCO covers more than one SAP the precise specification of such a PCO is given by the set of ASPs and PDUs that can occur.
+
+*EXAMPLE G.2 – An FTAM PCO:*
+
+| PCO Declarations | | | |
+|------------------|----------|------|-------------------------------------------------------------------------------------------------------------------|
+| PCO Name | PCO Type | Role | Comments |
+| L | A_P_SAPs | LT | PCO through which we can observe all ACSE ASPs and all Presentation ASPs except P-CONNECT, P-RELEASE and P_ABORT. |
+
+The PCO "L" is of type A\_P\_SAPs which is able to observe all ACSE and Presentation ASPs, excluding P-CONNECT, P-RELEASE and P-ABORT. The type column shows which SAPs belong to the set to be observed by the PCO, "A" and "P", each SAP separated by underscore ("\_"). The comments column describes exactly what can be seen by the PCO.
+
+This method is extensible to many SAPs, each of which would be separated by an underscore.
+
+## Annex H
+
+### Index
+
+(This annex does not form an integral part of this Recommendation)
+
+#### H.1 Introduction
+
+This annex presents an alphabetical index of terms and acronyms used in this Recommendation. For each term or acronym, the index gives a set of references in terms of clause, figure and table numbers, either in the main body, or in the annexes. The significance of each reference is indicated as follows:
+
+- a) definitions of the terms and acronyms are in **bold**;
+- b) major uses of the term or acronyms are in *italics*;
+- c) other uses are in normal font.
+
+#### H.2 The index
+
+##### A
+
+ABSENT: *A.4.2.5*
+
+Abstract Service Primitive: *1, 4.1*
+
+Abstract Syntax Notation One: *4.3*
+
+ABSTRACT SYNTAX: *A.4.2.5*
+
+Abstract test case: *6, 8.2, 11.13.2, 15.17.1*
+
+Abstract test suite: *1, 2, 4.1, 8.2*
+
+Abstract testing methodology: *1*
+
+Access to behaviour description: *15.13.2*
+
+ACTIVATE procedure: **B.5.19.1**
+
+ACTIVATE: *15.4.1, 15.14, 15.18.4, 15.18.4, 15.18.6, 15.18.6, A.4.2.4, B.5.5.4, B.5.5.5, B.5.18.2, B.5.19.2*
+
+Actual parameters: *15.13.5, 15.16.2*
+
+ActualParList: *B.5.5.3*
+
+Alias definition: *11.1, A.3.3.13.14*
+
+ALL: *A.4.2.5*
+
+Ancestor node: *15.14*
+
+AND: *A.4.2.4*
+
+AnyOne: **12.6.5.1**, *12.6.6.1*
+
+AnyOrNone: **12.6.5.2**, *12.6.5.3, 12.6.6.1*
+
+AnyOrOmit: **12.6.4.4**, *12.6.6.1*
+
+AnyValue: **12.6.4.3**, *12.6.5.1, 12.6.6.1*
+
+APPEND\_DEFAULTS: **B.5.5.4**
+
+APPEND\_TO\_LEVEL: **B.5.25**
+
+Applicable encoding rules: **3.6.1**
+
+APPLICATION: *A.4.2.5*
+
+Arithmetic operators: *11.3.2.2*
+
+Array references: *15.10.2.3*
+
+ASN.1 ASP constraints: *14.2, 14.3, A.4.2.15*
+
+ASN.1 ASP type definition: *11.14*
+
+ASN.1 CM constraints: *14.9, A.4.2.15*
+
+ASN.1 CM type: *11.17.3*
+
+ASN.1 comments: *11.2.3.4, 11.15.4, 14.1*
+
+ASN.1 compact constraints: *E.2.5*
+
+ASN.1 constraint declaration: *12.6.6.1, 14, A.3.3.22, E.2.5, F.2*
+
+ASN.1 constraint: *12.6.6.2*
+
+ASN.1 constraints: *12.1, 12.6.5.2, 14.1*
+
+ASN.1 dash symbol: *14.1*
+
+ASN.1 defined data objects: *15.10.2*
+
+ASN.1 encoding rules: *11.15.1*
+
+ASN.1 identifier: *3.6.48*
+
+ASN.1 module: *11.2.3.5, 11.14.5*
+
+ASN.1 PDU constraint declaration: *14.4*
+
+ASN.1 PDU constraints: *14.2, A.4.2.15*
+
+ASN.1 PDU type definition: *11.15*
+
+ASN.1 type constraints: *7.3.4, 11.16.4, 14.2, A.4.2.15*
+
+ASN.1 type definition: *11.2.3.4, 11.2.3.5, 11.18.2, 14.5, 14.8, A.4.2.1, A.4.2.6*
+
+ASN.1 type: *11.2.3.4, 11.2.3.5, 11.8.1, 11.8.3, 11.14.2, 11.14.5, 11.15.4, 12.6.2*
+
+ASN.1: 1, 2, **4.3**, 8.1, 9.5, 11.2.2, 11.2.3.4, 11.6, 11.7, 11.14.3, 11.14.4, 11.14.5, 11.15.4, 11.15.5, 11.17.3, 12.2, 12.6.1, 12.6.4.2, 15.10.2, A.4.2.1, A.4.2.5, E.2.1, G.6
+
+ASP constraint compact proforma: E.2.2
+
+ASP constraint declaration: 3.6.62, 13.3, d), A.5.1, E.2.5
+
+ASP constraints: 7.3.4
+
+ASP identifier: 11.21
+
+ASP parameter: 3.6.66, 11.2.1, 11.14.2, 12.5, 12.6.2, 12.6.3, 12.6.4.1, 12.6.4.2, 12.6.4.3, 12.6.4.4, 12.6.4.5, 12.6.4.7, 12.6.4.8, 12.6.5.1, 12.6.5.3, 12.6.6.2
+
+ASP specified by reference: 11.14.5
+
+ASP type definition: 3.6.3, 3.6.68, 11.1, 11.2.2, 11.14, 11.19, 11.20, A.3.3.19, A.3.3.22, G.3.1
+
+ASP type: 11.3.4.2, 14.3, 15.7.2
+
+ASP: 3.6.9, 3.6.13, 3.6.25, 3.6.38, 3.6.44, 3.6.57, 3.6.60, 3.6.68, **4.1**, 8.1, 9.5, 11.2.1, 11.2.2, 11.2.3.3, 11.3.4.1, 11.3.4.2, 11.6, 11.7, 11.10, 11.14, 11.14.2, 11.14.3, 11.14.4, 11.14.5, 11.15, 11.15.1, 11.15.5, 11.16.4, 11.19, 11.20, 11.21, 12.1, 12.4, 12.6.1, 12.6.3, 13.2, 13.6, 14.5, 14.6, 14.8, 15.2.1.3, 15.9, 15.9.5.3, 15.9.6, 15.10.1, 15.10.2.2, 15.10.2.3, 15.10.3, 15.10.6, 15.16.1, A.4.2.7, A.4.2.8, B.5.2.3, B.5.8.2, B.5.9.2, B.5.10.2, B.5.11.2, B.5.12.2, B.5.13.2, B.5.16.2, E.2.1, G.6, G.7, G.10
+
+ASPs specified in ASN.1: 11.14.4
+
+Assignment rules: 15.10.4.2
+
+Assignment: 11.3.4.3, 11.3.4.6, 11.8.2, 11.8.4, 15.6, 15.8, 15.9.3, 15.9.4, 15.10.1, 15.10.4, 15.10.5, 15.10.6, 15.11, 15.16.3, 15.17.2, B.5.16, G.9
+
+ATS: 3.6.74, **4.1**, 6, 10.1, 10.2, 10.3, 10.4, 10.5, 11.1, 11.3.4.1, b), 11.9, 11.14.4, 11.16.1, 12.1, A.1, A.5.1
+
+Attach construct: **3.6.2**, 15.2.3, 15.8, 15.17.1, B.5.5.4, B.5.5.5, E.3.1
+
+ATTACH: 15.9.10.1, 15.13.1, 15.13.4.1, E.3.1
+
+Attached tree: 15.13.3
+
+Attachment construct: B.5.1
+
+Attribute: 11.15.2, 11.18.1, 13.4
+
+Attributes of values: 12.6.6
+
+AUTOMATIC: A.4.2.5
+
+## B
+
+Backus-Naur Form: 4.3
+
+Base constraint: **3.6.3**, 3.6.24, 3.6.44, 13.6, 13.7, A.3.3.19, A.3.3.22, E.2.3, F.3
+
+Base type: **3.6.4**, 11.18.2
+
+BEGIN: 11.3.4.4, A.4.2.5
+
+Behaviour description: 3.6.40, 3.6.55, 3.6.78, 3.6.90, 11.10, 11.21, 12.1, 12.3, 15.2.1, 15.2.1.3, 15.2.5, 15.5, 15.13.2, 15.15, A.4.2.10, A.5.1, A.5.2, E.3.1, G.3, G.8
+
+Behaviour line: **3.6.5**, 3.6.14, 3.6.25, 15.2.5, B.5.1
+
+Behaviour tree: **3.6.6**, 3.6.8, 3.6.42, 3.6.49, 3.6.59, 3.6.83, 3.6.84, 3.6.85, 3.6.87, 15.2.1.3, 15.2.2, 15.4.1, 15.5, 15.9.5, 15.11, 15.13.3, 15.13.4.1, 15.14, 15.16.2, 15.17, 15.18.1, B.5.1, B.5.5.4, B.5.5.5, G.2
+
+BehaviourLine: B.5.2.5
+
+BER: 11.15.2, 11.15.4, 11.15.5, 11.16.4, 13.4, 14.4
+
+Binding of variables: 11.8.4
+
+Bit reference: 15.10.2.4
+
+BIT: A.4.2.5
+
+BIT\_TO\_INT: 11.3.3.2.1, 11.3.3.2.3, A.4.2.4
+
+BITSTRING: **11.2.2**, 11.18, 15.10.2.4, 15.10.4.2, A.4.2.4
+
+Blank entry: **3.6.7**
+
+BMPString: A.4.2.5
+
+BNF grammar for TTCN: 7.2
+
+BNF: **4.3**, 7.2, A.3
+
+Boolean expression: 15.10.1
+
+Boolean operators: 11.3.2.4
+
+BOOLEAN: **11.2.2**, 11.3.3.3.1, 11.3.3.3.2, b), 15.10.2.4, A.4.2.4, A.4.2.5, B.5.15
+
+Bound variable: 11.8.2, 15.16.2, 15.18.2
+
+Bounded free text: 7.4
+
+BUILD\_SEND\_OBJECT: **B.5.8.1**
+
+BY: A.4.2.4
+
+## C
+
+Calling tree: 3.6.2, **3.6.8**, 3.6.42, 15.13.3, 15.17.3, 15.18.5
+
+CANCEL operation: **15.12.3**
+
+CANCEL: 15.12.1, 15.12.3, A.4.2.4, B.5.14.2, B.5.17
+
+CANCEL\_TIMER: **B.5.17.1**
+
+CASE OF ELSE: 11.3.4.9
+
+CASE: 11.3.4.9, A.4.2.4
+
+Chaining of constraints: *12.4, 15.10.2.2, 15.10.3, F.1.1.3, F.1.2.3, F.2.2.3, G.3.1*
+ CHARACTER: *A.4.2.5*
+ Characterstring type: *11.3.3.3.4, 11.18.1*
+ CharacterString: **11.2.2**, *12.6.5.1, 12.6.5.2, 15.10.4.2*
+ CHOICE: *11.3.3.3.2, 12.4, 14.5, 14.8, 15.10.2.2, 15.10.2.3, A.4.2.5*
+ CLASS: *A.4.2.5*
+ CM constraint declarations: 13.8
+ CM parameters: *11.17.1*
+ CM type: 11.17.2, 11.17.3
+ CM: *3.6.16, 4.3, 8.1, 11.3.4.2, 11.6, 11.7, 11.11, 11.17.1, 11.17.2, 12.1, 13.6, 13.8, 14.9, 15.9.2, 15.9.3, 15.9.4, 15.9.5.3, 15.9.5.4, 15.9.8, 15.10.2.2, 15.10.2.3, 15.10.3, 15.10.6, 15.16.1, 15.17.5, 15.18.8, A.4.2.7, A.4.2.8, B.5.2.3, B.5.8.2, B.5.9.2, B.5.10.2, B.5.11.2, B.5.12.2, B.5.16.2*
+ CMs and defaults: 15.18.8
+ Collective comment: 7.3.3, *11.2.3.2*
+ Compact constraint table: 3.6.7, **3.6.9**, *13.1, E.1, E.2*
+ Compact proformas: Annex E
+ Compact test case table: **3.6.10**, *E.1, E.3*
+ Complement matching operation: 12.6.4.1
+ COMPLEMENT: *A.4.2.4*
+ Complement: **12.6.4.1**, *12.6.6.1*
+ Complex CMs: 11.17.1
+ Compliance: 6, *15.17.3*
+ Component of data object: 15.10.2.2, 15.10.2.3
+ COMPONENT: *A.4.2.5*
+ Component: 3.6.72
+ Concurrent test case behaviour: 15.2.4
+ Concurrent test case: 3.6.11, 3.6.72
+ Concurrent TTCN: 3.6.11, **3.6.12**, 3.6.47
+ Conflict between TTCN forms: 5
+ Conformance log: *15.17, B.3, B.5.20.2, B.5.23.2, B.5.24, B.5.24.2, G.2*
+ Conformance test suite: 1
+ CONSTRAINED: *A.4.2.5*
+ Constraint declarations: 3.6.25
+ Constraints for RECEIVE: 12.6
+ Constraints part: **3.6.13**, 9.5, 12, *15.2.1.3, 15.16.1, A.3.3.36.2*
+ Constraints reference: 3.6.5, **3.6.14**, 3.6.25, 12.2, 12.3, *15.2.1.3, 15.16, 15.16.1, B.1, B.5.8.2, B.5.9.2, B.5.10.2, B.5.11.2, B.5.12.2, B.5.13.2, G.3*
+ Construct: 3.6.61, 3.6.90, *15.2.1.3, 15.8, 15.9.5, 15.17.1, 15.18.1, B.5.18*
+ CONSTRUCT\_TYPE\_OF: **B.5.26**
+ Co-ordinated test method: G.3.4
+ Co-ordination message declarations: 8.1
+ Co-ordination message: **3.6.15**, 4.3, 8.1
+ Co-ordination point declarations: 8.1
+ Co-ordination point model: 11.11
+ Co-ordination point: 3.6.15, **3.6.16**, 4.3
+ CP: 3.6.72, 3.6.73, **4.3**, 8.2, *11.11, 11.13.1.1, 11.13.1.3, 11.13.2, 15.2.4, 15.9.5.3, 15.9.8, 15.9.10.1, 15.10.6, A.4.2.4, A.4.2.13, B.1, B.5.4.2, F.11*
+ CREATE and defaults: 15.18.7
+ Create construct: **15.9.10.1**
+ CREATE procedure: **B.5.20.1**
+ CREATE: 8.2, *11.13.1.1, 11.13.1.2, 15.9.10, 15.9.10.1, 15.9.10.2, 15.18.7, A.4.2.4, B.5.18.2, F.15*
+ CurrentLevel: *B.5.2.3*
+
+## D
+
+Data object: *12.2, 15.10.1*
+ Declaration by reference: 11.7
+ Declarations part: **3.6.17**, 9.5, *11.1, 15.9.1, A.3.3.36.2, G.6*
+ DEF\_REF\_LIST: **B.5.26**
+ Default behaviour proforma: 3.6.18, *B.1*
+ Default behaviour: **3.6.18**, 3.6.19, 3.6.22, *15.1, 15.2.1, 15.4, 15.18.1, 15.18.2, 15.18.4, B.5.5, B.5.5.4, G.4*
+ Default duration: *11.12*
+ Default dynamic behaviour: 3.6.26, 9.5
+ Default expansion: *15.18.3*
+ Default expression: *11.16.1, 11.16.2*
+ Default group reference: **3.6.20**, 9.4, 10.6
+
+Default group: **3.6.19**, 9.1
+ Default identifier: **3.6.21**, 10.6, 15.18.2, A.4.2.11
+ Default index: 10.1, 10.6, A.5.1
+ Default library: 3.6.20, **3.6.22**, 3.6.23, 3.6.52, 9.4, 10.6, 15.4.1, 15.18.2
+ Default objective: 10.6
+ Default reference: **3.6.23**, 15.2.1, 15.18.2, B.5.5.4
+ Default tree: 15.10.1, 15.14, 15.18.1, 15.18.3, A.3.3.33, A.4.2.9, E.3.1, G.4
+ Default value: 13.6
+ DEFAULT: 11.3.3.3.1, 15.18.1, A.4.2.5
+ Default: 15.4.1, 15.18, 15.18.2, 15.18.6, B.5.1, B.5.2.3, B.5.5.1, B.5.5.4, B.5.5.5, G.4
+ Defect report: B.2
+ Definition by reference: 11.7
+ DEFINITIONS: A.4.2.5
+ DER: 11.15.2, 11.15.4, 11.15.5, 13.4, 14.4
+ Derivation path: **3.6.24**, 13.4, 13.6, 14.3, d), 14.4, A.3.3.22, E.2.3
+ Derivation: A.1
+ Detailed comments: 11.3.4.1
+ Distinguished value: A.4.2.6
+ Distributed test method: 4.2, G.3.3
+ DO: 11.3.4.8, A.4.2.4
+ Done event: **15.9.10.2**
+ DONE: 15.9.10, 15.9.10.2, A.4.2.4, B.5.7.2, B.5.12.2, F.15
+ Dot notation: 15.10.2.2, 15.10.2.3
+ DS: **4.2**
+ Dynamic behaviour: 3.6.12, 11.13.2
+ Dynamic chaining: **3.6.25**, 12.4
+ Dynamic part: **3.6.26**, 9.5, 11.1, 15, A.3.3.36.2
+
+## E
+
+EBDIF: A.4.2.4
+ Element: 15.10.3
+ ELSE: A.4.2.4
+ EMBEDDED: A.4.2.5
+ Encoding definition: 11.3.3.2.1, 11.15.2, 11.15.4, 11.15.5, 11.16.1, 11.16.2, 11.16.4
+ Encoding operation: 11.16.3
+ Encoding rules precedence: 11.16.4
+ Encoding rules: 11.16.1, 11.16.2, 11.16.4
+ Encoding variations: 11.2.3.2, 11.2.3.3, 11.2.3.4, 11.2.3.5, 11.15.2, 11.15.4, 11.15.5, 11.16.2, 13.2, 13.4, 14.2, 14.4
+ END: 11.3.4.4, A.4.2.4, A.4.2.5
+ ENDCASE: 11.3.4.9, A.4.2.4
+ ENDIF: 11.3.4.7
+ ENDVAR: 11.3.4.3, A.4.2.4
+ ENDWHILE: 11.3.4.8, A.4.2.4
+ Enumerated type: A.4.2.6
+ ENUMERATED: A.4.2.5, A.4.2.6
+ Equivalence of TTCN forms: 5
+ ETS: **4.1**
+ EVAL\_VERDICT\_ENTRY: **B.5.23.1**
+ EVALUATE\_BOOLEAN: **B.5.15.1**
+ EVALUATE\_CONSTRUCT: **B.5.18.1**
+ EVALUATE\_EVENT: **B.5.7.1**
+ EVALUATE\_EVENT\_LINE: **B.5.6.1**
+ EVALUATE\_LEVELS: **B.5.4.1**
+ EVALUATE\_PSEUDO\_EVENT: **B.5.14.1**
+ EVALUATE\_TEST\_CASE: B.1, B.5.3.1, **B.5.4.1**
+ EVALUATE\_TEST\_COMPONENT: B.5.3.1
+ EVALUATE\_TEST\_COMPONENT: B.1, **B.5.20.1**
+ EVALUATE\_TEST\_SUITE: B.1, B.5.2.3, **B.5.3.1**
+ Evaluation tree: B.1, B.5.2.1, B.5.2.3
+ Event line: 15.9, 15.10.1, 15.10.4.1, 15.10.6, G.7, G.9
+ Event matching: 15.10.6
+ EVENT\_TYPE\_OF: **B.5.26**
+ Examples of tabular constraints: F.1
+
+Examples: Annex F
+ EXCEPT: *A.4.2.5*
+ EXCLUDE\_INCOMPATIBLE\_ENTRY: **B.5.23.1**
+ Executable test case error: *6.5*
+ Executable test case: *6.5*
+ Executable test suite: *1, 4.1*
+ EXECUTE\_ASSIGNMENT: **B.5.16.1**
+ Execution of a test suite: *B.5.3*
+ EXPAND\_ATTACHMENTS: **B.5.5.5**
+ EXPAND\_CURRENT\_LEVEL: **B.5.5.1**
+ EXPAND\_REPEATS: **B.5.5.3**
+ EXPAND\_SUBTREE: **B.5.5.5**
+ Expanded test suite: **3.6.27**
+ Expanding a set of alternatives: *B.5.5.1*
+ Expanding modularized test suite: *B.4*
+ Expansion of aliases: *11.21*
+ Expansion of default trees: *15.13.7*
+ Explicit external: **3.6.28**
+ EXPLICIT: *A.4.2.5*
+ Explicitly defined object: **3.6.29**, *3.6.32, 3.6.33, 3.6.36*
+ Explicitly exported object: **3.6.30**, *3.6.32, 3.6.36*
+ Explicitly external object: *3.6.33*
+ Explicitly imported object: **3.6.31**, *3.6.32, 3.6.36, 3.6.37, 3.6.39, 10.8.1*
+ Explicitly imported: *B.1*
+ EXPORT: *A.4.2.5*
+ Export: *11.9*
+ Exported object: **3.6.32**
+ Exporting object type: *10.7*
+ External object: *3.6.28*, **3.6.33**
+ External objects: *C.3.1*, **C.3.2**
+ EXTERNAL: *10.7, 10.8.2, A.4.2.5, C.2.2*
+ Externally declared object: *3.6.35*
+ Externally defined object: *3.6.46*
+
+## F
+
+F: *15.17.2, 15.17.3, A.4.2.4*
+ FAIL: *15.17.1, 15.17.2, 15.17.3, 15.17.4, 15.18.1, A.4.2.4, B.5.23.2*
+ Fail: *3.6.54*
+ FALSE: *10.3, 10.4, 11.2.2, 11.3.3.3.1, 11.3.3.3.2, 11.3.4.7, 11.3.4.8, 11.16.1, 11.16.2, 15.11, A.4.2.4, A.4.2.5, B.5.8.2, B.5.9.2, B.5.10.2, B.5.11.2, B.5.12.2, B.5.15.2*
+ FDT: **4.3**
+ Field encoding definition: *11.2.3.2, 11.2.3.4, 11.15.2, 11.15.4, 11.16.3, 13.4*
+ Field: *15.10.3*
+ FIFO: **4.3**, *11.10*
+ Final verdict: *15.9.10.2, 15.17.1, 15.17.3, 15.18.1, G.2*
+ FIRST\_LEVEL: **B.5.25**
+ Formal Description Technique: *4.3*
+ Formal description technique: *1*
+ Formal parameter list: *12.3, 13.4, 13.7, d), 14.7, 14.7, 15.9.1, 15.16.2, A.4.2.11, A.4.2.12*
+ Formal parameter name precedence: *A.4.2.12*
+ Formal parameter: *A.4.2.14*
+ Formal parameters: *3.6.85, 15.7.2, 15.13.5*
+ Free text: *7.4*
+ FROM: *A.4.2.5*
+
+## G
+
+GeneralizedTime: *A.4.2.5*
+ GeneralString: *A.4.2.4, A.4.2.5*
+ Global result variable: **3.6.34**
+ Global test steps: *9.3.2*
+ GOTO construct: **15.14**
+ GOTO: *15.2.1.3, 15.6, 15.8, 15.9.5.1, 15.14, 15.17.1, A.4.2.4, B.1, B.5.5.1, B.5.18.2, B.5.21, B.5.21, B.5.22*
+ GOTO\_NEXT\_LEVEL\_OR\_STOP\_WITH\_VERDICT: *B.5.21, B.5.22*, **B.5.25**
+ GraphicString: *A.4.2.4, A.4.2.5*
+
+## H
+
+HEX\_TO\_INT: *11.3.3.2.1, 11.3.3.2.2, A.4.2.4*
+HEXSTRING: **11.2.2**, *11.18.1, 11.18.2, 15.10.4.2, A.4.2.4*
+Hyphen symbol: *11.15.4*
+
+## I
+
+I: *15.17.2, 15.17.3, A.4.2.4*
+IA5String: *A.4.2.4, A.4.2.5*
+IDENTIFIER: *A.4.2.5*
+Idle testing state: *15.17.3*
+IF THEN ELSE: *11.3.4.7*
+IF THEN: *11.3.4.7*
+IF: *A.4.2.4*
+IF\_PRESENT: *A.4.2.4*
+IfPresent: *12.6.6.1, 12.6.6.2*
+Illegal variations of encoding: *11.16.3*
+Implementation Under Test: *4.1*
+Implicit external: **3.6.35**
+Implicit send event: **3.6.38, 15.9.6**
+IMPLICIT SEND: *15.6, 15.8, 15.9.5.3, 15.9.6, 15.16.1, 15.17.1, B.5.7.2, B.5.13.2, G.3.5*
+IMPLICIT: *A.4.2.5*
+IMPLICIT\_SEND: **B.5.13.1**
+Implicitly exported object: *3.6.32, 3.6.36*
+Implicitly external object: *3.6.33*
+Implicitly imported object: **3.6.37**, *3.6.37, 3.6.39, 10.8.1, B.1*
+Import part: *9.5, 10.8.1, C.1*
+IMPORT: *A.4.2.5*
+Import: *10.8.2, C.3.1, C.3.3*
+Imported object: *3.6.27, 3.6.30, 3.6.33, 3.6.39, 10.8.1, B.4*
+INCLUDES: *A.4.2.5*
+INCONC: *15.17.1, 15.17.2, 15.17.3, A.4.2.4, B.5.23.2*
+Inconclusive verdict: *15.17.3*
+Indentation: *3.6.61, 15.2.5, 15.6, 15.9.5, 15.15, A.5.1, A.5.2, B.5.5.3*
+Index notation: *15.10.2.4*
+INFINITY: *11.2.3.2, 11.14.2, 11.15.2, 11.17.2, 11.18.2, 12.6.4.6, 12.6.6.1, A.4.2.4*
+INPUT\_Q: **B.5.26**
+Inside values: *12.6.5*
+INSTANCE: *A.4.2.5*
+INT\_TO\_BIT: *11.3.3.2.1, 11.3.3.2.5, A.4.2.4*
+INT\_TO\_HEX: *11.3.3.2.1, 11.3.3.2.4, A.4.2.4*
+INTEGER: **11.2.2**, *11.2.3.2, 11.3.3.3.3, 11.12, 11.14.2, 11.17.2, 11.18.2, 12.6.4.6, 12.6.5.1, 12.6.5.3, 12.6.6.1, 15.10.2.3, 15.10.2.4, 15.12.2, 15.12.4, A.4.2.4, A.4.2.5, A.4.2.6*
+INTERSECTION: *A.4.2.5*
+Invalid field encoding definition: *14.2, 14.4*
+Invalid field encoding: *11.2.3.3, 11.16.3, 12.6.4.2*
+Invalid test event: *15.17.4*
+IS\_CHOSEN: *11.3.3.3.2, A.4.2.4*
+IS\_EXPANDED: **B.5.25**
+IS\_PRESENT: *11.3.3.3.1, A.4.2.4*
+IsDefault: *B.1*
+IsExpanded: *B.1*
+ISO646String: *A.4.2.5*
+IUT: *3.6.13, 3.6.38, 4.1, 10.3, 11.10, 11.11, 11.15.1, 15.9.6, A.4.2.4, G.3.4, G.4*
+
+## L
+
+Label: *3.6.5, 15.2.1.3, 15.14*
+Length: *11.18.2, 12.6.6.1*
+LENGTH\_OF: *11.3.3.3.4, A.4.2.4*
+Level of indentation: **3.6.40**
+LEVEL\_OF: *B.5.2.5, B.5.25*
+Levels of alternatives: *B.5.2.5*
+Lifetime of events: *15.9.4*
+Line continuation: *15.2.5, A.5.1*
+Literal values: *11.16.1, 11.16.2*
+
+Local result variable: **3.6.41**, *B.5.20.2*
+ Local test method: *4.2*, *G.3.2*
+ Local test steps: *9.3.2*
+ Local tree: **3.6.42**, *3.6.85*, *3.6.86*, *15.2.5*, *15.4.1*, *15.6*, *15.10.1*, *15.13.2*, *15.13.3*, *15.13.4.1*, *15.15*, *A.4.2.9*, *A.4.2.10*,
+*A.4.2.11*, *A.5.2*
+ Local variables: *11.3.4.3*, *11.3.4.4*, *11.3.4.6*
+ Location of object: *10.7*
+ LOG procedure: **B.5.24.1**
+ Lower Tester Control Function: *4.1*
+ Lower tester: *4.1*, *11.13.1.2*
+ LS: **4.2**
+ LT: **4.1**, *11.9*, *11.10*, *15.2.1.3*, *15.8*, *15.9.1*, *15.9.5.1*, *15.9.6*, *15.9.7*, *A.4.2.4*, *B.5.8.2*, *B.5.9.2*, *B.5.10.2*, *B.5.11.2*, *B.5.12.2*,
+*G.4*
+ LTCF: **4.1**
+
+## M
+
+Macro expansion: *12.2*, *13.2*, *13.4*, *15.10.3*, *15.10.3*, *A.3.3.34*, *A.4.2.8*
+ Macro symbol: *11.14.3*, *11.15.3*
+ Main test component: *3.6.34*, **3.6.43**, *3.6.53*, *4.3*, *8.1*, *11.13.1.1*, *11.13.1.3*, *15.9.10.1*, *B.5.2.3*, *B.5.3.1*, *B.5.23.2*
+ MAKE\_TREE: **B.5.25**
+ Matching ASP: *12.6.1*
+ Matching attributes of values: *12.6.2*
+ Matching inside values: *12.6.2*
+ Matching instead of values: *12.6.2*
+ Matching mechanism: *3.6.65*, *12.2*, *12.5*, *12.6.3*, *14.1*, *15.9.9*
+ Matching mechanisms: *12.6.2*
+ Matching PDU: *12.6.1*
+ Matching values in constraints: *12.6.1*
+ MAX: *A.4.2.5*
+ Means of Testing: *4.1*, *G.5*
+ MIN: *A.4.2.5*
+ min: *A.4.2.4*
+ MOD: *A.4.2.4*
+ Modified ASN.1 constraints: *14.6*, *14.7*, *14.7*
+ Modified constraints: *3.6.7*, *3.6.24*, **3.6.44**, *13.6*, *13.7*, *A.3.3.19*, *A.3.3.22*, *E.2.3*, *E.2.4*, *F.1.2.5*, *F.2.2.5*, *F.3*, *G.6*
+ Modular TTCN: *F.14*
+ Modularized test suite: **3.6.45**
+ Module constraints part: *C.1*
+ Module declarations part: *C.1*
+ Module default index: *C.2.1*, **C.2.6**
+ Module dynamic part: *C.1*
+ Module exports: *C.2.2*
+ Module import part: *C.3*
+ Module structure: *C.2.3*
+ Module test case index: *C.2.1*, **C.2.4**
+ Module test step index: *C.2.1*, **C.2.5**
+ Module: *3.6.28*, *3.6.29*, *3.6.32*, *3.6.33*, **3.6.46**, *3.6.50*, *3.6.69*, *10.8.1*, *B.1*, *B.4*
+ MOT: **4.1**, *15.9.5.3*
+ MPyT: *3.6.34*
+ ms: *A.4.2.4*
+ MTC: *3.6.58*, **4.3**, *8.1*, *8.2*, *11.8.1*, *11.8.3*, *11.13.1.2*, *11.13.2*, *15.2.4*, *15.9.10.2*, *15.17.5*, *15.18.7*
+ MTC\_R: *3.6.58*, *15.17.5*
+ Multi-party testing: *F.10*
+ Multiplexing/demultiplexing: *F.11*
+ Multi-protocol test cases: *F.13*
+ MuxValue: *11.10*, *F.11*
+
+## N
+
+NEW\_LABEL: **B.5.25**
+ Non-concurrent test case: **3.6.47**
+ none: *A.4.2.4*
+ NOT: *A.4.2.4*
+ ns: *A.4.2.4*
+ NULL: *A.4.2.5*
+
+NUMBER\_OF\_ELEMENTS: 11.3.3.3.3, A.4.2.4
+NumericString: A.4.2.4, A.4.2.5
+
+## O
+
+Object group: 7.3.2
+Object name: 7.3.2, 7.3.3
+OBJECT: A.4.2.5
+Object: **3.6.48**, 3.6.50, 10.8.2
+OBJECT\_MATCHES: **B.5.9.1**
+ObjectDescriptor: A.4.2.5
+OBJECTIDENTIFIER: **11.2.2**, A.4.2.4
+OCTET: A.4.2.5
+OCTETSTRING: **11.2.2**, 11.3.3.3.4, 11.18.1, 11.18.2, 15.10.4.2
+OF: A.4.2.4
+Omit symbol: 12.5
+OMIT: 10.8.2, 14.6, A.4.2.4
+Omit: **12.6.4.2**
+Open Systems Interconnection: 4.3
+Operational semantics: 1, **3.6.49**, 5, 6, 15.9.5.2, Annex B, B.5
+OPTIONAL: 11.3.3.3.1, 11.3.3.3.3, 12.5, 12.6.4.2, 12.6.6.2, 14.5, 14.8, A.4.2.5
+OR: A.4.2.4
+Order of receipt of events: 15.9.5.4
+Original source object: **3.6.50**
+OSI: 1, 2, **4.3**, A.4.2.1
+Otherwise event: **3.6.51**, 15.9.7
+OTHERWISE function: **B.5.10.1**
+OTHERWISE: 3.6.91, 15.8, 15.9.5.3, 15.9.7, 15.9.8, 15.10.6, 15.17.4, 15.18.5, A.3.3.33, A.4.2.4, B.5.7.2, B.5.10.2, B.5.15.2
+OUTPUT\_Q: **B.5.26**
+Overview part: **3.6.52**
+
+## P
+
+P: 15.17.2, 15.17.3, A.4.2.4
+Page continuation: 16, 16.1, 16.2, A.5.1
+Parallel test component: 3.6.43, **3.6.53**, 4.3, 8.1, 11.13.1.2, 11.13.1.3, 15.9.10.1, B.5.2.3, B.5.3.1, B.5.23.2
+Parameter list: 12.3, 13.5, 13.7, 14.7, 15.2.1, 15.7, 15.9.1, 15.13.4.1, 15.16.2, 15.18.2, A.3.3.19, A.3.3.22, E.2.3.2
+Parameter: 3.6.13, 3.6.66, 3.6.68, d), 11.15.2, 11.19, 13.5, 14.5, 15.9.4, 15.10.3, A.3.3.19, A.3.3.22, A.3.3.34, A.4.2.7, G.6
+Parameterization: 3.6.25, 11.1, 11.4, 15.18.2, /\* *STATIC SEMANTICS* -, A.3.3.19, A.3.3.22, A.3.3.23
+Parameterized compact constraints: E.2.3.2
+Parameterized constraint: 3.6.7, 12.3, 13.5, A.4.2.11, F.1.2.4, F.1.2.5, F.2.2.4
+PASS: 15.17.1, 15.17.2, 15.17.3, 15.17.4, A.4.2.4, B.5.23.2
+Pass: 3.6.54
+Passing of constraints: 15.13.5
+Passing parameters: 15.16.2
+PCO declaration: 11.10, 11.15.2
+PCO model: 15.9.1
+PCO queue: 15.9.2
+PCO type: 11.9, 11.15.2, 12.3, 15.7.2
+PCO: 3.6.57, 3.6.60, 3.6.72, 3.6.73, **4.1**, 8.1, 8.2, 9.5, 10.7, 11.3.4.1, 11.9, 11.10, 11.11, 11.13.1.1, 11.13.1.3, 11.13.2, 11.14.2, 11.14.4, 11.14.5, 11.15.1, 11.15.2, 11.15.4, 11.15.5, 15.2.4, 15.3.1, 15.4.1, 15.9, 15.9.1, 15.9.5.3, 15.9.5.4, 15.9.6, 15.9.7, 15.9.8, 15.9.10.1, 15.18.1, 15.18.8, A.4.2.13, B.1, B.5.4.2, B.5.8.2, B.5.9.2, B.5.10.2, B.5.11.2, B.5.12.2, F.11, G.10
+PDU constraint compact proforma: E.2.3
+PDU constraint declaration: 3.6.62, 13.2, 13.4, A.5.1
+PDU constraints: 7.3.4, 11.16.3, 12.6.6.1, 13.4, 14.1
+PDU field value: 11.20, 12.2, 12.4, 12.6.4.5, 12.6.4.6, 15.9.3, 15.9.4
+PDU field: 3.6.66, 11.2.1, 11.16.3, 11.17.1, 12.1, 12.5, 12.6.2, 12.6.3, 12.6.4.1, 12.6.4.2, 12.6.4.3, 12.6.4.4, 12.6.4.5, 12.6.4.7, 12.6.4.8, 12.6.5.1, 12.6.5.3, 12.6.6.2
+PDU identifier: 11.15.2, 11.21, 15.9.1
+PDU specification in ASN.1: 11.15.5
+PDU type definition: 3.6.3, 3.6.68, 11.15, 11.19, 11.20, 13.4, E.2.3, F.4, G.6
+PDU type: 11.3.4.2, 11.8.1, 11.8.3, 13.4, 14.4, 15.7.2
+
+PDU: 3.6.1, 3.6.9, 3.6.13, 3.6.25, 3.6.38, 3.6.44, 3.6.57, 3.6.60, 3.6.66, 3.6.68, **4.3**, 7.3.1, 9.5, 11.2.1, 11.2.2, 11.2.3.2, 11.2.3.3, 11.2.3.4, 11.2.3.5, 11.3.4.1, 11.3.4.2, 11.6, 11.7, 11.10, 11.14.2, 11.15.1, 11.15.2, 11.15.3, 11.15.4, 11.15.5, 11.16.2, 11.16.4, 11.17.1, 11.17.2, 11.17.3, 12.6.3, 13.2, 13.6, 14.5, 14.6, 14.8, 15.9, 15.9.5.3, 15.9.5.4, 15.9.6, 15.10.1, 15.10.2.2, 15.10.2.3, 15.10.3, 15.10.4.1, 15.10.6, 15.16.1, 15.18.8, A.3.3.19, A.3.3.22, A.3.3.34, A.4.2.4, A.4.2.5, A.4.2.7, A.4.2.8, B.5.2.3, B.5.8.2, B.5.9.2, B.5.10.2, B.5.11.2, B.5.12.2, B.5.13.2, B.5.16.2, E.2.1, G.3.1
+ PERMUTATION: A.4.2.4
+ Permutation: **12.6.5.3**, 12.6.6.1
+ PICS proforma: 11.4
+ PICS: 3.6.80, 3.6.81, **4.1**, 10.3, 11.4, 11.6, 11.7, 11.12, C.2.2
+ PIXIT proforma: 11.4
+ PIXIT: 3.6.80, 3.6.81, **4.1**, 10.3, 11.4, 11.6, 11.7, 11.10, 11.12, 15.9.6, C.2.2
+ Point of attachment: 15.13.5
+ Point of control and observation: 4.1, 8.1
+ Postamble: G.2
+ Preamble: G.2
+ Precautions for concurrent TTCN: 15.9.5.4
+ Precedence of assignments and qualifiers: 15.10.6
+ Precedence of operators: Table 3 -
+ Precedence of pseudo-events: 15.11
+ Precedence: 15.17.2, A.4.2.11, B.2, G.8
+ Predefined type: 11.3.4.2, d), 11.6, 11.7, 11.8.1, 11.15.2, 11.16.3
+ Predefined variable: 3.6.41
+ Preliminary result variable: B.5.4.2
+ Preliminary result: 3.6.34, 3.6.41, **3.6.54**, 3.6.58, 11.13.1.1, 11.13.1.2, 15.9.10.2, 15.17.1, 15.17.2
+ PRESENT: A.4.2.5
+ PrintableString: A.4.2.5
+ PRIVATE: A.4.2.5
+ Procedural definition of test suite operation: A.4.2.14
+ Procedural definition: 11.3.4.3
+ Procedure statement: 11.3.4.4
+ Protocol Data Unit: 1, 4.3
+ Protocol error: 15.17.2
+ Protocol Implementation Conformance Statement: 4.1
+ Protocol Implementation eXtra Information for Testing: 4.1
+ ps: A.4.2.4
+ Pseudo-code keywords: B.5.2.1
+ Pseudo-code notation: B.5.2
+ Pseudo-code precedence: B.2
+ Pseudo-code procedures and functions: B.5.2.2
+ Pseudo-code process: B.5.2.3
+ Pseudo-code with natural language: B.5.2.4
+ Pseudo-code: B.5.2.3, B.5.2.4, B.5.5.4
+ Pseudo-event: **3.6.55**, 3.6.61, 3.6.90, 15.8, 15.11, B.5.1, B.5.5.4, B.5.14, B.5.14.2
+ PTC: 3.6.58, **4.3**, 8.1, 8.2, 11.13.1.1, 11.13.1.2, 11.13.2, 15.2.4, 15.9.10.1, 15.9.10.2, 15.17.5, 15.18.7
+
+## Q
+
+Qualified event: **3.6.56**
+ Qualifier evaluation: 15.10.6
+ Qualifier: 15.6, 15.8, 15.9.2, 15.10.4.1, 15.10.5, 15.11, 15.15, 15.16.3
+ Queue: 15.9.2
+
+## R
+
+R: 3.6.58, 15.17.2, 15.17.3, 15.17.5, 15.18.1, B.5.23.2, G.2
+ R\_TYPE: **11.2.2**, 15.17.2, 15.17.5
+ R\_Type: A.4.2.4
+ Range: 11.18.2, **12.6.4.6**, 12.6.6.1
+ READ\_TIMER: **B.5.17.1**
+ READTIMER operation: **15.12.4**
+ READTIMER: 15.12.1, 15.12.4, A.4.2.4, B.5.14.2, B.5.17
+ REAL: A.4.2.5
+ Receive event: **3.6.57**, 11.20, 12.1, 12.2, 15.9.2, 15.10.4.1, A.3.3.33
+ RECEIVE function: **B.5.9.1**
+ RECEIVE: 8.1, 8.2, 11.16.4, 15.9.4, 15.9.5.3, 15.9.6, 15.10.6, 15.16.1, B.5.7.2, B.5.9.2, B.5.15.2
+
+ReceiveObject: *B.5.2.3*
+ Record references: *15.10.2.2*
+ Recursive tree attachment: *15.13.6*
+ References in chaining of constraints: *15.10.2.2*
+ References using tables: *15.10.3*
+ RELABEL: **B.5.25**
+ Relational operators: *11.3.2.3*
+ Remote test method: *3.6.38, 4.2, 15.9.6, G.3.5*
+ REMOVE\_OBJECT: **B.5.9.1**
+ REPEAT construct: **15.15**
+ REPEAT: *15.6, 15.8, 15.15, 15.17.1, A.4.2.4, B.5.1, B.5.5, B.5.5.1, B.5.5.3, B.5.5.5, B.5.18.2*
+ RepeatTree: *B.5.5.3*
+ REPLACE: *14.6, A.4.2.4*
+ REPLACE\_ALT\_TREE: **B.5.25**
+ REPLACE\_PARAMETERS: **B.5.25**
+ Restrictions on using events: *15.9.5.3*
+ Result type: *11.3.4.5*
+ Result variable: **3.6.58**, *3.6.58*
+ RETURN statement: **15.18.3**
+ RETURN: *15.18.1, 15.18.3, 15.18.6, 15.18.6, B.1, B.5.2.3, B.5.18.2, B.5.22*
+ ReturnDefaults: *B.5.2.3*
+ ReturnLevel: *B.5.2.3*
+ RETURNVALUE: *11.3.4.1, 11.3.4.5, A.4.2.4*
+ Root tree: **3.6.59**, *15.6, 15.13.3, 15.13.4.1, 15.14, 15.18.5, A.4.2.9, A.5.2*
+ ROOT\_TREE: **B.5.25**
+ RS: **4.2**
+
+## S
+
+SAP: **4.3**, *11.10, G.10*
+ SAVE\_DEFAULTS: **B.5.5.2**
+ Scope of tree attachment: *15.13.2*
+ Scoping rules: *15.13.4.1*
+ sec: *A.4.2.4*
+ Selection expression: *3.6.52, 11.5, F.7*
+ Selection: *11.1, b), F.7*
+ Semantics of TTCN: *B.1*
+ Send event: **3.6.60**, *11.19, 12.1, 12.2, 15.9.3, 15.10.4.1, B.5.8, G.9*
+ SEND function: **B.5.8.1**
+ SEND: *8.1, 8.2, 11.10, 12.5, 15.9.4, 15.10.6, B.5.7.2, B.5.15.2*
+ SEND\_EVENT: **B.5.8.1**
+ SendObject: *B.5.2.3*
+ SEQUENCE OF INTEGER: *12.6.5.1, 12.6.5.3*
+ SEQUENCE OF: *11.3.3.3.3, 11.18.2, 12.6.3, 12.6.5.1, 12.6.5.2, 12.6.5.3*
+ SEQUENCE: *12.6.3, 14.5, 14.8, 15.10.2.2, 15.10.2.3, 15.10.2.4, A.4.2.5*
+ Service Access Point: *4.3*
+ Set of alternatives: **3.6.61**, *15.6, 15.9.5.2, 15.9.9, 15.13.4.1, 15.18.5, A.3.3.33, B.5.5.4, B.5.5.5*
+ SET OF: *11.3.3.3.3, 11.18.2, 12.5, 12.6.3, 12.6.4.7, 12.6.4.8, 12.6.5.1, 12.6.5.2, 12.6.6.1*
+ SET: *12.5, 12.6.3, 14.5, 14.8, 15.10.2.2, 15.10.2.3, A.4.2.5*
+ Simple CMs: *11.17.1*
+ Simple type: *11.2.3.2, 11.6, 11.7, 11.14.2, 11.14.3, 11.15.2, 11.15.3*
+ Single constraint table: **3.6.62**, *13.1, E.1, E.2.1, E.2.4*
+ SIZE: *A.4.2.5*
+ Snapshot semantics: **3.6.63**, *15.9.5.2*
+ SNAPSHOT: *B.5.12.2*
+ SNAPSHOT\_FIXED: **B.5.26**
+ Specific value: **3.6.65**, *12.2, 12.6.3, 12.6.4.5, 12.6.6.1, 15.9.3*
+ Splitting and Recombining: *F.12*
+ SPyT: *3.6.34*
+ Stable testing state: *15.17.3*
+ Standardized ATS: *6.5, G.8*
+ START operation: **15.12.2**
+ START: *15.12.1, 15.12.2, A.4.2.4, B.5.14.2*
+ START\_TIMER: **B.5.17.1**
+ STATEMENT\_LINE\_TYPE\_OF: **B.5.26**
+ Statement line: *B.1*
+
+StatementLine: *B.5.2.5*
+ Static chaining: **3.6.66**, *12.4*
+ Static conformance requirements: *1*
+ STATIC SEMANTICS: *A.4.1*
+ Static semantics: **3.6.67**, *5*, Annex A, 390, *B.1*
+ STATIC: *11.3.4.3*, *A.4.2.4*
+ Step-wise expansion: *B.5.2.1*
+ STOP\_TEST\_CASE: **B.5.26**
+ STRING: *A.4.2.5*
+ Structure: *15.10.3*
+ Structured type constraint declaration: *13.2*
+ Structured type constraints: *7.3.4*, *A.4.2.15*, *E.2.4*
+ Structured type: *3.6.9*, **3.6.68**, *11.2.3.3*, *11.2.3.3*, *11.14.2*, *11.14.3*, *11.15.2*, *11.15.3*, *11.18.1*, *11.20*, *12.6.1*, *12.6.3*, *13.1*,
+*13.2*, *13.4*, *15.10.3*, *A.3.3.19*, *A.3.3.22*, *A.4.2.8*, *E.2.1*, *E.2.4*, *G.6*
+ Structured types within ASP type: *11.14.3*
+ Style guide: Annex G
+ Submodule: **3.6.69**
+ Subsequent behaviour: *15.13.3*
+ SUBSEQUENT\_BEHAVIOUR\_TO: **B.5.25**
+ SUBSET: *A.4.2.4*
+ SubSet: **12.6.4.8**, *12.6.6.1*
+ Substructure: *3.6.68*, *11.20*, *13.3*, *15.10.3*, *A.3.3.19*, *A.3.3.22*, *A.3.3.34*
+ Subtree: *B.5.5.4*, *G.4*
+ Suite overview part: *9.5*
+ Suite overview: *10.1*
+ SUPERSET: *A.4.2.4*
+ SuperSet: **12.6.4.7**, *12.6.6.1*
+ SUT: **4.1**
+ Syntactic metanotation: *A.2.1*
+ Syntax definition: *5*
+ Syntax forms of TTCN: *5*
+ Syntax production: *5*, *A.3*
+ SYNTAX: *A.4.2.5*
+ System Under Test: *4.1*
+
+## T
+
+T61String: *A.4.2.5*
+ Tabular ASP type definition: *13.1*
+ Tabular PDU type definition: *13.1*
+ TAKE\_SNAPSHOT: **B.5.26**
+ TCP: **4.3**
+ TeletexString: *A.4.2.5*
+ TERMINATE\_TEST\_CASE: **B.5.26**
+ Test body: *G.2*
+ Test case dynamic behaviour: *7.3.1*, *7.3.4*, *9.5*, *15.2*, *15.18.2*, *A.5.1*, *A.5.2*, *E.3*, *E.3.2*
+ Test case error processing: *B.3*
+ Test case error: *11.3.3.2.4*, *11.3.3.2.5*, *11.16.1*, *11.16.2*, *15.9.3*, *15.9.10.1*, *15.12.2*, *15.17.3*, *B.5.4.2*
+ Test case execution pseudo-code: *B.5.4.1*
+ Test case execution, natural language: *B.5.4.2*
+ Test case identifier: **3.6.70**
+ Test case index: *10.1*, *10.4*, *b*), *A.5.2*
+ Test case root tree: *15.7.2*
+ Test case selection expression: *10.3*
+ Test case selection: *11.1*, *d*), *b*)
+ Test case termination: *11.8.4*
+ Test case variable: *3.6.34*, *3.6.58*, **3.6.71**, *7.3.1*, *11.6*, *11.7*, *11.8.1*, *11.8.3*, *11.8.4*, *11.12*, *12.3*, *15.10.1*, *15.10.4.1*, *15.13.1*,
+*15.17.2*, *B.5.20.2*
+ Test case writer: *G.5*
+ Test case: *1*, *3.6.10*, *3.6.11*, *3.6.12*, *3.6.23*, *3.6.26*, *3.6.34*, *3.6.47*, *3.6.52*, *3.6.54*, *3.6.59*, *3.6.61*, *3.6.63*, *3.6.70*, *3.6.71*,
+*3.6.73*, *3.6.74*, *3.6.82*, *3.6.89*, *9.1*, *9.2*, *9.3.1*, *9.5*, *10.3*, *10.4*, *d*), *b*), *11.8.3*, *11.8.4*, *15.1*, *15.2.1*, *15.3.1*, *15.4.1*,
+*15.9.5.1*, *15.9.10.1*, *15.12.1*, *15.12.4*, *15.13.2*, *15.14*, *15.17.2*, *15.18.1*, *15.18.4*, *A.4.2.13*, *B.5.2.1*, *B.5.2.3*,
+*B.5.3.1*, *B.5.4*, *E.3.2*, *G.2*, *G.5*, *G.8*
+ Test component configuration declaration: *8.1*
+ Test component configuration: *3.6.12*, *3.6.16*, *3.6.43*, **3.6.73**, *8.2*, *11.13.1.3*, *11.13.2*, *15.2.4*, *A.4.2.13*
+ Test component declaration: *8.1*, *11.13.1.3*
+
+Test component: 3.6.12, 3.6.15, 3.6.16, 3.6.41, 3.6.43, 3.6.53, **3.6.72**, 3.6.73, 11.12, 15.9.10.2
+ Test coordination procedures: 4.3
+ Test event: 3.6.5, 3.6.6, 3.6.91, 15.8, 15.9, 15.10.4.1, A.5.1
+ Test group identifier: A.5.1, A.5.2
+ Test group objective: 10.3, C.2.3
+ Test group reference: **3.6.74**, 9.2, 10.3, 10.4, 15.2.1, A.5.1, C.2.3
+ Test group: 3.6.10, 3.6.52, 9.1, 9.2, 10.3, 10.4, A.5.2, C.2.3, E.3.1
+ Test laboratory: 6.5
+ Test management protocol: 4.1
+ Test method: G.3
+ Test outcome: 3.6.91
+ Test purpose: 15.2.1, G.2, G.8
+ Test realizer: G.5
+ Test result: 3.6.54
+ Test step dynamic behaviour: 3.6.78, 9.5, 15.3, 15.18.2
+ Test step group reference: **3.6.76**, 9.3.2, 10.5
+ Test step group: **3.6.75**, 9.1, 9.3.1, 10.6
+ Test step identifier: **3.6.77**, 10.5, A.4.2.11
+ Test step index: 10.1, 10.5, A.5.1
+ Test step library: 3.6.52, 3.6.76, **3.6.78**, 3.6.84, 9.3.1, 9.3.2, 10.5, 15.3.1, 15.13.2, 15.13.3, 15.15, 15.18.5, A.4.2.10, G.2
+ Test step objective: **3.6.79**, 10.5, 15.3.1
+ Test step root tree: 15.7.2
+ Test step: 3.6.2, 3.6.8, 3.6.23, 3.6.26, 3.6.75, 3.6.76, 3.6.77, 3.6.79, 3.6.84, 3.6.87, 9.1, 9.3.1, 9.3.2, 10.5, 15.1, 15.2.3, 15.3.1, 15.4.1, 15.9.5.1, 15.9.10.1, 15.13.2, 15.13.3, 15.13.4.1, 15.13.5, 15.15, 15.18.1, 15.18.5, A.4.2.12, B.5.5.5
+ Test suite constant: **3.6.80**, 11.2.1, b), 11.6, 11.6, 11.7, 11.14.2, 11.15.2, 12.3, B.5.2.3
+ Test suite constants: 11.16.1, 11.16.2, 11.17.2, 15.10.1
+ Test suite exports: 10.1
+ Test suite index: 10.1, **10.2**
+ Test suite operation description: 11.3.4
+ Test suite operation procedural definition: 11.3.4
+ Test suite operation, assignment: 11.3.4.6
+ Test suite operation, CASE: 11.3.4.9
+ Test suite operation, IF: 11.3.4.7
+ Test suite operation, parameter passing: 11.3.4.2
+ Test suite operation, RETURNVALUE: 11.3.4.5
+ Test suite operation, variables: 11.3.4.3
+ Test suite operation, WHILE: 11.3.4.8
+ Test suite operation: 11.3.4.2, 11.3.4.3, 11.16.3, A.4.2.14
+ Test suite operations: F.6
+ Test suite parameter: **3.6.81**, 11.2.1, 11.4, b), 11.15.2, 11.16.1, 11.16.2, 11.17.2, 12.3, 15.10.1, B.5.2.3, F.7
+ Test suite parameters: 11.14.2
+ Test suite specifier: 15.9.5.1, G.1, G.2, G.4
+ Test suite structure: 9, 10.1, 10.3, 15.2.1, A.5.1, A.5.2, F.7
+ Test suite type definition: 11.2, 11.15.2, 12.6.6.1
+ Test suite type: 11.2.3.4, 11.3.4.1, 11.3.4.2, 11.8.1, 11.8.3, 11.14.2, 11.16.3, 11.17.2, 14.2
+ Test suite variable: **3.6.82**, 11.2.1, 11.6, 11.7, 11.8.1, 11.8.1, 11.8.2, 11.8.3, 11.12, 11.13.1.1, 11.13.1.2, 12.3, 15.10.4.1, 15.13.1, B.5.2.3
+ Test suite: 3.6.4, 3.6.13, 3.6.17, 3.6.22, 3.6.26, 3.6.27, 3.6.29, 3.6.32, 3.6.45, 3.6.48, 3.6.50, 3.6.52, 3.6.71, 3.6.78, 3.6.80, 3.6.81, 3.6.82, 3.6.91, 9.1, 9.2, 10.1, 10.8.1, 11.2.1, 11.2.3.2, 11.4, 11.12, 11.15.2, 15.12.4, A.4.2.6, A.4.2.10
+ Test system: 12.1
+ Test verdict: 3.6.34, 3.6.43
+ Textual substitution: 15.13.4.1, B.5.20.2
+ THEN: A.4.2.4
+ Timeout event: **3.6.83**, **15.9.9**
+ TIMEOUT function: **B.5.11.1**
+ TIMEOUT: 15.8, 15.9.5.2, 15.9.5.3, 15.9.9, 15.12.3, A.3.3.33, A.4.2.4, B.5.7.2, B.5.11.2, B.5.15.2, G.5
+ Timer declaration: 11.12
+ Timer management: 15.12
+ Timer name: 15.9.9
+ Timer operation: 3.6.55, 15.8, 15.11, 15.12.1, B.5.17
+ Timer value: 15.12.2
+ Timer: 3.6.83, 15.9.9, G.5
+ TIMER\_EXPIRED: **B.5.11.1**
+ TIMER\_OP\_TYPE\_OF: **B.5.26**
+
+TIMER\_OPS: **B.5.17.1**
+
+TMP: **4.1**, 10.3
+
+TO: 11.18.2, 12.6.4.6, A.4.2.4
+
+Transfer syntax: A.1
+
+Transformation algorithm: B.1
+
+Tree and Tabular Combined Notation: 4.2
+
+Tree attach symbol: 15.13.3
+
+Tree attachment: **3.6.84**, 15.4.1, c), 15.13, 15.13.1, 15.13.2, 15.13.3, NOTE -, 15.18.5, 15.18.6, B.5.5.5, G.2, G.5
+
+Tree header: **3.6.85**, A.4.2.10, A.4.2.11
+
+Tree identifier: 3.6.85, **3.6.86**, A.4.2.10
+
+Tree leaf: **3.6.87**
+
+Tree name: 15.7
+
+Tree node: **3.6.88**
+
+Tree notation: **3.6.89**, 15.2.1.3, 15.6
+
+TreeReference: B.5.5.3
+
+Trees with parameters: 15.7.2
+
+TRUE: 10.3, 10.4, 11.2.2, 11.3.3.3.1, 11.3.3.3.2, 11.3.4.7, 11.3.4.8, b), 11.16.1, 11.16.2, 15.6, 15.10.5, 15.10.6, 15.11, 15.12.1, 15.15, A.4.2.5, B.5.8.2, B.5.9.2, B.5.10.2, B.5.11.2, B.5.12.2, B.5.15.2
+
+TTCN ASP constraints: A.4.2.15
+
+TTCN CM constraints: A.4.2.15
+
+TTCN expression: 3.6.55, 15.10
+
+TTCN graphical form: 4.3
+
+TTCN machine: B.1, B.5.2.3, B.5.3.1
+
+TTCN machine-processable form: 4.3
+
+TTCN module exports: C.2.1
+
+TTCN module overview part: C.1, C.2
+
+TTCN module structure: C.2.1
+
+TTCN object: 7.3.1, 7.3.2, 7.3.3, 7.3.4
+
+TTCN operations: 11.3
+
+TTCN operators: 11.3
+
+TTCN PDU constraints: A.4.2.15
+
+TTCN semantics: B.5.2.1
+
+TTCN statement: 3.6.2, 3.6.6, 3.6.18, 3.6.61, 3.6.87, 3.6.88, **3.6.90**, 15.2.1.3, 15.2.3, 15.5, 15.6, 15.8, 15.16.1, B.5.1
+
+TTCN type: 11.2
+
+TTCN.GR: **4.3**, 5, 6, 7.1, 7.3.5, 7.4, 15.6, A.1, A.4.1, A.5
+
+TTCN.MP: **4.3**, 5, 6, 7.1, 7.4, 11.2.3.4, 11.14.4, 11.15.4, 14.1, 15.6, A.1, A.4.1, A.5, E.1, F.8
+
+TTCN: **4.2**
+
+Type definition using macros: F.4
+
+Type definitions using ASN.1: 11.2.3.4
+
+Type list: 11.16.3
+
+Type: 11.16.3
+
+TYPEIDENTIFIER: A.4.2.5
+
+## U
+
+Unbound variable: 3.6.65, 15.10.4.1
+
+Unbound variables: 11.3.4.3
+
+Underscore symbol: 11.14.4, 11.15.4
+
+Unforeseen test event: 3.6.51, **3.6.91**
+
+Unforeseen test events: 15.9.7
+
+UNION: A.4.2.5
+
+UNIQUE: A.4.2.5
+
+Units of length: 11.18.2
+
+UNIVERSAL: A.4.2.5
+
+UniversalString: A.4.2.5
+
+Unqualified event: **3.6.92**
+
+UNTIL: A.4.2.4
+
+UPDATE\_PRELIM: **B.5.23.1**
+
+Upper tester: 4.1, 11.13.1.2
+
+us: A.4.2.4
+
+Use of REPEAT: F.5
+
+UT: **4.1**, 11.9, 11.10, 15.2.1.3, 15.9.1, 15.9.5.1, 15.9.7, A.4.2.4, B.5.8.2, B.5.9.2, B.5.10.2, B.5.11.2, B.5.12.2, G.4
+
+UTCtime: A.4.2.5
+
+## **V**
+
+Value: *11.3.4.2*
+
+ValueList: **12.6.4.5**
+
+VAR: *11.3.4.3*
+
+Variable declaration: *A.4.2.14*
+
+Variable name: *A.4.2.14*
+
+Variables: *11.3.4.3*
+
+Verdict assignment: *15.17.5*
+
+Verdict: *3.6.5, 11.13.1.1, 15.2.1.3, 15.2.3, 15.17, B.5.22, B.5.23.2, G.2*
+
+VideotexString: VisibleString: *A.4.2.5*
+
+VisibleString: *A.4.2.5*
+
+## **W**
+
+WHILE DO: *A.4.2.4*
+
+WHILE: *A.4.2.4*
+
+Wildcards: *12.5*
+
+**WITH: A.4.2.5**
+
+
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure and Internet protocol aspects |
+| Series Z | Languages and general software aspects for telecommunication systems |
+
+
+
+A standard 1D barcode consisting of vertical black bars of varying widths on a white background. Below the bars, the number '\* 2 2 9 0 3 \*' is printed in a small, sans-serif font.
+
+Barcode with the number \* 2 2 9 0 3 \* below it.
\ No newline at end of file
diff --git a/marked/X/T-REC-X.293-199504-I_PDF-E/raw.md b/marked/X/T-REC-X.293-199504-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..c312d650f0ea3619905f323b557e5579d5be4917
--- /dev/null
+++ b/marked/X/T-REC-X.293-199504-I_PDF-E/raw.md
@@ -0,0 +1,751 @@
+
+
+
+
+ITU logo: a globe with a lightning bolt and the letters ITU inside.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.293
+
+(04/95)
+
+**DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS**
+
+**OPEN SYSTEMS INTERCONNECTION –
+CONFORMANCE TESTING**
+
+---
+
+**OSI CONFORMANCE TESTING
+METHODOLOGY AND FRAMEWORK
+FOR PROTOCOL RECOMMENDATIONS
+FOR ITU-T APPLICATIONS – TEST
+REALIZATION**
+
+**ITU-T Recommendation X.293**
+
+(Previously “CCITT Recommendation”)
+
+---
+
+# FOREWORD
+
+The ITU-T (Telecommunication Standardization Sector) is a permanent organ of the International Telecommunication Union (ITU). The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1 (Helsinki, March 1-12, 1993).
+
+ITU-T Recommendation X.293 was revised by ITU-T Study Group 7 (1993-1996) and was approved under the WTSC Resolution No. 1 procedure on the 10th of April 1995.
+
+# --- NOTE
+
+In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+© ITU 1996
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+# ITU-T X-SERIES RECOMMENDATIONS
+
+# **DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS**
+
+(February 1994)
+
+# **ORGANIZATION OF X-SERIES RECOMMENDATIONS**
+
+| Subject area | Recommendation Series |
+|---------------------------------------------|-----------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and Facilities | X.1-X.19 |
+| Interfaces | X.20-X.49 |
+| Transmission, Signalling and Switching | X.50-X.89 |
+| Network Aspects | X.90-X.149 |
+| Maintenance | X.150-X.179 |
+| Administrative Arrangements | X.180-X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and Notation | X.200-X.209 |
+| Service Definitions | X.210-X.219 |
+| Connection-mode Protocol Specifications | X.220-X.229 |
+| Connectionless-mode Protocol Specifications | X.230-X.239 |
+| PICS Proformas | X.240-X.259 |
+| Protocol Identification | X.260-X.269 |
+| Security Protocols | X.270-X.279 |
+| Layer Managed Objects | X.280-X.289 |
+| Conformance Testing | X.290-X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300-X.349 |
+| Mobile Data Transmission Systems | X.350-X.369 |
+| Management | X.370-X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400-X.499 |
+| DIRECTORY | X.500-X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600-X.649 |
+| Naming, Addressing and Registration | X.650-X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680-X.699 |
+| OSI MANAGEMENT | X.700-X.799 |
+| SECURITY | X.800-X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850-X.859 |
+| Transaction Processing | X.860-X.879 |
+| Remote Operations | X.880-X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900-X.999 |
+
+
+
+# CONTENTS
+
+| | | Page |
+|-----|---------------------------------------------------------------------------------|-------------|
+| 1 | Scope ..... | 1 |
+| 2 | References ..... | 1 |
+| 3 | Definitions ..... | 2 |
+| 4 | Abbreviations ..... | 2 |
+| 5 | Test realization overview ..... | 3 |
+| 5.1 | Introduction ..... | 3 |
+| 5.2 | Means of Testing composition ..... | 3 |
+| 5.3 | Means of Testing (MOT) functionality ..... | 3 |
+| 5.4 | Selected and parameterized test suites ..... | 4 |
+| 5.5 | The Parameterized Executable Test Suites (PETS) ..... | 4 |
+| 6 | Requirements concerning test realization ..... | 4 |
+| 6.1 | Introduction ..... | 4 |
+| 6.2 | Requirements concerning the Means of Testing ..... | 4 |
+| 6.3 | Requirements concerning Executable Test Suite (ETS) derivation ..... | 5 |
+| 6.4 | Requirements concerning conformance log ..... | 6 |
+| 6.5 | Requirements on the progression of the IXIT proforma(s) ..... | 7 |
+| 6.6 | Requirements concerning other documentation ..... | 7 |
+| 7 | Compliance ..... | 8 |
+| | Appendix I – Additional guidance on test realization ..... | 8 |
+| I.1 | Additional guidance on the Means of Testing (MOT) ..... | 8 |
+| I.2 | Additional guidance on the Executable Test Suite (ETS) derivation process ..... | 11 |
+| I.3 | Additional guidance on conformance log ..... | 12 |
+| I.4 | Additional guidance on documentation ..... | 12 |
+
+# **SUMMARY**
+
+This Recommendation specifies requirements and gives guidance concerning the realization of Means of Testing (MOT) for Implementation under Test (IUTs), in conformance with a reference Abstract Test Suite (ATS) specified in compliance with Recommendation X.291. Test realization involves a protocol, multiple protocols or profile. The text was developed jointly with ISO/IEC JTC 1 and the main intent of this revision is to reflect the changes as a result of the work on Protocol Profile Testing Methodology (PPTM) and on Multi-Party Testing Methodology (MPyTM).
+
+# INTRODUCTION
+
+Recommendations X.290 and X.291 define a general methodology for testing the conformance of implementations to OSI protocol specifications and/or transfer syntaxes issued as ITU-T Recommendations or International Standards; these Recommendations also put requirements on the production of OSI conformance testing specifications and Abstract Test Suites (ATS) specifications.
+
+Recommendation X.292 defines a standardized test notation, the Tree and Tabular Combined Notation (TTCN), for the specification of an ATS.
+
+Once OSI conformance testing specifications and ATSs in compliance with Recommendation X.291 are available, the test results obtained by different test laboratories should be comparable, they they base their test operations on the same reference ATS specification.
+
+Recommendation X.294 puts requirements on the conformance assessment process, so that test results can be compared with those of other test laboratories, and can have a wide acceptance.
+
+This Recommendation concentrates on the intermediate stage, namely, test realization. Before the test preparation can begin, a Means of Testing (MOT) the Implementation under Test (IUT) has to be made available.
+
+Test realization are those organizations which take responsibility for providing such an MOT.
+
+Recommendation X.295 defines a general methodology for specifying the requirements for the production of Profile Test Specification (PTS) for conformance testing against profiles.
+
+Recommendation X.296 defines how to express and document the conformance of systems to base specifications and profiles, using Implementation Conformance Statements (ICS) based on standardized ICS proformas and profile Requirements Lists (RLs).
+
+This Recommendation places requirements on test realization, to ensure that the execution of test cases reflects the behaviour specified in the reference ATS specification. In this way, the purpose of the ATS is achieved.
+
+This Recommendation is also published as ISO/IEC 9646-4:1994.
+
+
+
+# OSI CONFORMANCE TESTING METHODOLOGY AND FRAMEWORK FOR PROTOCOL RECOMMENDATIONS FOR ITU-T APPLICATIONS – TEST REALIZATION1)
+
+(Geneva, 1992; revised in 1995)
+
+# 1 Scope
+
+This Recommendation specifies requirements and gives guidance concerning the realization of a Means of Testing (MOT), in conformance with a reference Abstract Test Suite (ATS) specification, specified in compliance with Recommendation X.291. This Recommendation is applicable to producing MOTs for testing a single protocol, multiple protocols or a profile.
+
+NOTE – This implies the use of ATSs as defined in Recommendation X.292. However, within this Recommendation, the term ATS also applies to the additional abstract test cases designed for testing a specific profile, and included in the Profile Specific Test Specification (PSTS).
+
+These requirements are limited to those aspects of an MOT which can be mapped on to the abstract testing functions defined in Recommendation X.290, or which are essential to a proper use of the ATS. Such aspects might include a facility to produce conformance log, or the progression of the Implementation extra Information for Testing (IXIT) proformas. Further implementation details of test systems and Upper Testers are outside the scope of this Recommendation.
+
+Acceptance, validation and installation of MOT are outside the scope of this Recommendation.
+
+# 2 References
+
+The following Recommendations, and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision: all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of currently valid ITU-T Recommendations is regularly published.
+
+- ITU-T Recommendation X.200 (1994) | ISO/IEC 7498-1:1994, *Information technology - Open Systems Interconnection - Basic Reference Model: The Basic Model*.
+- ITU-T Recommendation X.290 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – General Concepts*.
+ISO/IEC 9646-1:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 1: General concepts*.
+- ITU-T Recommendation X.291 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Abstract test suite specification*.
+ISO/IEC 9646-2:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 2: Abstract test suite specification*.
+- CCITT Recommendation X.292 (1992), *OSI conformance testing methodology and framework for protocol Recommendations for CCITT applications – The Tree and Tabular Combined Notation (TTCN)*.
+ISO/IEC 9646-3:1992, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 3: The Tree and Tabular Combined Notation (TTCN)*.
+
+---
+
+1) Recommendation X.293 and ISO/IEC 9646-4, *Information technology – Open Systems Interconnection – Conformance Testing Methodology and Framework – Part 4: Test realization*, are technically aligned.
+
+ISO/IEC 9646-3:(1992) Amd 12) , *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 3: The Tree and Tabular Combined Notation (TTCN) – Amendment 1: TTCN extensions.*
+
+- ITU-T Recommendation X.294 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Requirements on test laboratories and clients for the conformance assessment process.*
+
+ISO/IEC 9646-5:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 5: Requirements on test laboratories and clients for the conformance assessment process.*
+
+- ITU-T Recommendation X.295 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Protocol profile testing specification.*
+
+ISO/IEC 9646-6:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 6: Protocol profile test specification.*
+
+- ITU-T Recommendation X.2963) , *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Implementation conformance statements.*
+
+ISO/IEC 9646-7:1995, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 7: Implementation conformance statement.*
+
+# 3 Definitions
+
+For the purposes of this Recommendation, all the definitions given in Recommendation X.290 apply. In addition, the definition of ‘TTCN coordination point’ is given in Recommendation X.292.
+
+# 4 Abbreviations
+
+For the purpose of this Recommendation, the following abbreviations given in Recommendation X.290 apply:
+
+| | |
+|------|----------------------------------------------|
+| ASP | Abstract Service Primitive |
+| ATS | Abstract Test Suite |
+| BIT | Basic Interconnection Tests |
+| ETS | Executable Test Suite |
+| ICS | Implementation Conformance Statement |
+| ISP | International Standardized Profile |
+| IUT | Implementation under Test |
+| IXIT | Implementation extra Information for Testing |
+| LT | Lower Tester |
+| LTCF | Lower Tester Control Function |
+| MOT | Means of Testing IUTs |
+| MPyT | Multi-Party Testing |
+| OSI | Open Systems Interconnection |
+| PATS | Parameterized Abstract Test Suite |
+| PCO | Point of Control and Observation |
+| PDU | Protocol Data Unit |
+
+---
+
+2) To be published.
+
+3) Presently at the stage of draft.
+
+| | |
+|------|-------------------------------------|
+| PETS | Parameterized Executable Test Suite |
+| PSTS | Profile Specific Test Specification |
+| PTS | Profile Test Specification |
+| RL | Requirements List |
+| SATS | Selected Abstract Test Suite |
+| SETS | Selected Executable Test Suite |
+| SPyT | Single-Party Testing |
+| SUT | System under Test |
+| TCP | Test Coordination Procedures |
+| TMP | Test Management Protocol |
+| TTCN | Tree and Tabular Combined Notation |
+| UT | Upper Tester |
+
+# 5 Test realization overview
+
+## 5.1 Introduction
+
+Test realization is the process of producing a Means of Testing (MOT) for testing the conformance of IUTs to OSI protocol specification, based on a conformance testing specification and its Abstract Test Suite (ATS).
+
+## 5.2 Means of Testing composition
+
+An MOT is a combination of equipment and procedures that can perform:
+
+- a) the derivation of test cases;
+- b) the selection of test cases;
+- c) the parameterization of test cases;
+- d) the execution of test cases; and
+- e) the production of a conformance log.
+
+With respect to a conformance assessment for a base protocol specification, the MOT provides a realization of an ATS for that protocol, in conformance with a reference ATS specification.
+
+With respect to a conformance assessment for a profile, the MOT provides a realization of each ATS, including the additional abstract test cases, if any, in conformance with the Profile Test Specification Summary (PTS-Summary).
+
+## 5.3 Means of Testing (MOT) functionality
+
+In the derivation process, the abstract test cases of the ATS are converted into executable test cases forming an Executable Test Suite (ETS).
+
+The selection process for a base specification begins with the complete ATS. The inappropriate test cases for the IUT are deselected according to the provisions of the Implementation Conformance Statement (ICS) and the Implementation Extra Information for Testing (IXIT).
+
+In the case of profile testing, the selection process begins with the list of test cases applicable to the profile, which is part of the Profile Specific Test Specification (PSTS). The inappropriate test cases for the IUT are deselected, according to the provisions of the profile ICS and profile IXIT.
+
+In the parameterization process, the parameters in the selected test cases are given appropriate values, according to the provisions of the appropriate IXIT (and possibly of the ICSs).
+
+The MOT is then used in the conformance assessment process for an IUT, executing the test cases in a test campaign, resulting in the production of a conformance log.
+
+## 5.4 Selected and parameterized test suites
+
+Intermediate forms of test suites may or may not be created, depending upon when the derivation process occurs.
+
+Such intermediate forms are known as:
+
+- a) SATS: Selected Abstract Test Suites;
+- b) SETS: Selected Executable Test Suites;
+- c) PATS: Parameterized Abstract Test Suites;
+- d) PETS: Parameterized Executable Test Suites.
+
+## 5.5 The Parameterized Executable Test Suites (PETS)
+
+Among these various forms, only the ATSs are necessarily tangible.
+
+Some MOT may generate the PETS automatically from the relevant ATS (given the ICS and IXIT) at the moment the test cases are actually run. Such an MOT does not exhibit an ETS, nor a SETS, nor a PETS, in a tangible form.
+
+Nevertheless, what is executed is always a Parameterized Executable Test Suite.
+
+# 6 Requirements concerning test realization
+
+## 6.1 Introduction
+
+The requirements concerning test realization address:
+
+- a) the MOT as a whole;
+- b) the derivation process, from abstract to executable test cases;
+- c) facilities for producing a conformance log;
+- d) progression of the IXIT proforma;
+- e) production of other documents.
+
+## 6.2 Requirements concerning the Means of Testing
+
+### 6.2.1 General functions
+
+An MOT shall be provided for a single ATS, which complies with Recommendation X.291. The test realizer shall use only the version of the ATS specification which has the highest standardization status (e.g. Draft Recommendation that is considered stable).
+
+The MOT shall provide:
+
+- a) a realization of the Lower Testers, and if the Multi-Party Testing (MPyT) context is used, a realization of the Lower Tester Control Function (LTCF);
+- b) the specification of the Upper Tester, insofar as it is required by the test method;
+- c) the realization of the Upper Tester for the Single Party Testing (SPyT) Local test method and any MPyT test method in which the Upper Tester is outside the SUT;
+- d) optionally, the realization of the Upper Tester(s) for the SPyT Coordinated and Distributed test methods, if appropriate, or for MPyT test methods;
+- e) the specification of the Test Coordination Procedures (TCPs) in accordance with the requirements specified in the reference ATS specification;
+- f) the realization of the TCPs within the test system for the SPyT Local test method and any MPyT test method in which the Upper Tester is outside the SUT;
+- g) the realization of the TMP within the SPyT Lower Tester(s) for the Coordinated test method and if appropriate, for MPyT test methods.
+
+### **6.2.2 Test cases for execution**
+
+The MOT shall include either the executable test cases derived from the abstract test cases of the ATS, or a means of deriving them.
+
+The MOT shall be realized in compliance with the semantics of the test notation chosen in the ATS.
+
+The MOT shall provide a means of deselecting the inappropriate test cases for an IUT, and parameterizing the selected test cases (whether they are at the abstract level or at the executable level), as indicated in 5.3.
+
+The requirements for the selection process are expressed in 7.3/X.294.
+
+The requirements for the parameterization process are expressed in 7.4/X.294.
+
+### **6.2.3 Selection of the Basic Interconnection Tests**
+
+The MOT shall provide a facility for selecting the capability or behaviour test cases mentioned in the list of Basic Interconnection Tests (BIT ), if such a list is specified in the reference ATS, and shall provide a facility for running them initially altogether, before the capability and behaviour tests.
+
+The MOT shall also provide a facility for omitting those test cases indicated in the BIT list from the set of test cases selected for the capability and behaviour tests.
+
+### **6.2.4 Execution of Parameterized Executable Test Suites (PETS)**
+
+The MOT shall include the capability of executing the PETS which result from the derivation, selection and parameterization processes.
+
+### **6.2.5 Conformance of a Means of Testing (MOT)**
+
+The test realizer shall provide a statement of conformance of the MOT to the reference ATS specification, indicating any subset of the ATS that is not supported (see 6.3.4).
+
+The test realizer shall identify all restrictions for test execution required by the MOT beyond those stated in the reference ATS specification (e.g. limiting value ranges provided in the IXIT).
+
+NOTE – The test realizer should note any requirements for a comprehensive testing service stated in the ATS specification. The test realizer may wish to develop an MOT for each of the required ATMs in order that a test laboratory may provide a comprehensive testing service.
+
+### **6.2.6 Conformance log**
+
+The MOT shall provide a facility for generating a conformance log (see 6.4).
+
+## **6.3 Requirements concerning Executable Test Suite (ETS) derivation**
+
+### **6.3.1 Introduction**
+
+Requirements in 6.3 shall apply to all ETSs, including SETS or PETS, whether tangible or not.
+
+### **6.3.2 Conformance to the reference ATS specification**
+
+An ETS shall be derived from a single reference ATS specification.
+
+For an ETS to conform to the reference ATS specification, it shall comply with the requirements stated in 6.3.3 to 6.3.5 below. It shall also conform to the requirements stated in the reference ATS specification itself, and in the other parts of the multi-part conformance testing standard, if applicable (e.g. TMP).
+
+### **6.3.3 Correspondence between abstract and executable test cases**
+
+Each executable test case shall be the realization of a single abstract test case, and shall be selectable for execution on an individual basis.
+
+All sequences of test events comprising an abstract test case shall be capable of being realized in the executable test case.
+
+The test purpose and verdict assignments of each abstract test case shall be maintained in the corresponding executable test case.
+
+The MOT shall not perform checking on the validity of Protocol Data Unit (PDU) parameters received from the IUT in addition to that which is defined in the abstract test case. Any further checking which the test system might be capable of performing is outside the scope of this Recommendation and shall not contribute to the verdict assignment for each test case.
+
+Test group relationships defined in the reference ATS specification shall be maintained in the ETS. Each test group composed of a named set of test cases in the ATS shall be represented in the ETS as a named set of executable test cases.
+
+The ATS includes a mapping of the abstract test case(s) to the ICS proforma and partial IXIT proforma questions (see clause 14/X.291). This mapping shall be maintained in the ETS.
+
+### **6.3.4 Subsetting the Abstract Test Suite**
+
+The ETS derivation process generally results in the derivation of all abstract test cases of the ATS. However, it may be acceptable to derive an ETS for certain subsets of the ATS. If a subset is created, the exclusion of a set of test cases shall be consistent with the test selection process for an IUT, with respect to the mapping between the ICS proforma(s) (and IXIT proforma(s)) questions and the test cases in the ATS.
+
+NOTE – This means that the test cases which are mandatory for all IUTs would always be included in the subset, but the test realizer can choose not to realize particular sets of test cases which are optional or conditional and therefore will not be required to test particular classes of IUTs.
+
+Thus, the subset of the ATS which is realized shall be equivalent to one or more of the potential SATS.
+
+### **6.3.5 Derivation process independence**
+
+In the MOT, the derivation process shall lead to the same PETS being executed for a given IUT, regardless of when the derivation process occurs relative to the selection and parameterization processes.
+
+NOTE – See I.2.1 and Figure I.1.
+
+The application of the selection and parameterization processes for a particular IUT is the responsibility of the test laboratory, in the test preparation phase.
+
+## **6.4 Requirements concerning conformance log**
+
+As stated in 6.2, the MOT shall provide a facility for generating a conformance log.
+
+A conformance log is a human-readable record of information produced as a result of a test campaign, sufficient to record the observed test outcomes and verify the assignments of test verdicts.
+
+This information combines the observations of the actual test events which occur when the PETS is run against an IUT, with information which relates those events to the abstract test cases concerned.
+
+A conformance log may be used in the production of conformance test reports and in the resolution of disputes and queries which may arise during or as a result of the conformance assessment process.
+
+A conformance log shall include:
+
+- a) A unique identification of the conformance log that includes time and date of the start of the execution of the PETS.
+- b) An identification of the MOT, date of origin, version number, and ETS identification (if any).
+- c) An indication of the start and of the end of each test case and, if the MPyT context is involved, which Lower Testers were started and stopped, including a unique reference to the abstract test case as specified in the ATS (e.g. TTCN test case reference or TTCN test case identifier).
+- d) The PDUs sent by the Lower Tester(s) to the IUT, and received by the Lower Tester(s) from the IUT, including a record of the detailed information contained in the PDU parameters and user data.
+
+- e) The abstract test events, as specified in the relevant abstract test case. These include all Abstract Service Primitives (ASPs) observed by the Lower Tester(s), all test events sent and received via the Test Coordination Procedures by the Lower Tester(s), including information to and from the Upper Tester(s), and an identification of the relevant points at which they occurred (e.g. Points of Control and Observation (PCOs) or TTCN Coordination Points).
+- f) If the MPyT context is used, all test events sent and received by the LTCF, including an identification of the relevant points at which they occurred (e.g. TTCN Coordination points).
+- g) All information regarding preliminary results.
+- h) An indication of the result for each test case. This will be verdict assignment, abstract or executable test case error, or abnormal test case termination.
+- i) A time stamp or ordering sequence for all test events logged by the Lower Tester in the order that they are observed.
+- j) Any additional information required by the ATS.
+
+NOTE 1 – An example of j) above is when an abstract test case written in TTCN specifies that preliminary result information (in the verdict column) or labels (in the label column) shall be recorded in the conformance log if the corresponding test event occurs.
+
+A conformance log shall display all names, abbreviations and values, using the terminology and conventions defined in the protocol specification, abstract syntax (if any), encoding rules (if any), or ATS (with precedence given to the first two named).
+
+The MOT shall have the ability to produce the conformance log on paper. It is also recommended that a machine-readable form of the conformance log be made available, with equivalent contents.
+
+NOTE 2 – See I.3, for guidance on the production of conformance logs.
+
+## 6.5 Requirements on the progression of the IXIT proforma(s)
+
+The partial IXIT proforma(s) shall be progressed to take into account the MOT. To achieve this, the test realizer shall augment the partial IXIT proforma(s) by adding those additional questions that need to be answered in order to prepare the MOT for a particular IUT.
+
+The test realizer shall include in the augmented partial IXIT proforma(s) all the information concerning the realization of the ATS, which the client needs for completing the IXIT.
+
+The test realizer should refer to 6.4.5/X.294 and produce the augmented partial IXIT proforma(s) in such a way as to facilitate the production of a complying IXIT proforma by the test laboratory.
+
+The resulting augmented partial IXIT proforma(s) shall be provided to the test laboratory, in order that it can fulfill its requirements as specified in 6.4.5/X.294.
+
+## 6.6 Requirements concerning other documentation
+
+Documentation shall accompany the MOT, in order to enable the test laboratory to perform test operations in conformance with the reference ATS specification, and in compliance with Recommendation X.294, with respect to information to be provided to the client.
+
+The documentation shall include:
+
+- a) Identification of the MOT, date of origin, version number, and ETS identification (if any).
+- b) Name and version number of the ITU-T Recommendation or International Standard for the protocol specification (and the service definition if appropriate); name and version number of the reference ATS specification, together with lists of technical corrigenda to the protocol specification which have been taken into account.
+- c) Description of the MOT (see I.4.3 for guidance).
+- d) Specification of the TCPs and of the Upper Tester(s), as and when required by the reference ATS specification.
+- e) The test cases, if any, which cannot be executed due to limitations in the MOT.
+
+NOTE 1 – Such limitations should be exceptions, and should occur only if particular abstract test cases could not feasibly be realized.
+
+- f) Description of those procedures for test execution which are to be performed by the test laboratory and/or the client, and which are specific to the MOT.
+- g) Statement of conformance to the reference ATS specification.
+- h) Statement of compliance with this Recommendation.
+- i) Guidance for interpreting the conformance log.
+
+If test realizers detect errors in any of the abstract test cases or detect any abstract test case which addresses erroneous or ambiguous requirements in the relevant specification, then the test realizers shall identify those test cases in the documents accompanying the MOT.
+
+NOTE 2 – The test realizers should also forward defect reports which identify the problem(s) to the organization responsible for the maintenance of the relevant specification.
+
+# 7 Compliance
+
+An MOT complies with this Recommendation if and only if all the requirements stated in clause 6 are satisfied.
+
+NOTE – The primary means of verifying that an MOT implements the four functions associated with test realization (i.e. derivation, selection, parameterization, execution) resides in the conformance log.
+
+# Appendix I
+
+## Additional guidance on test realization
+
+(This appendix does not form an integral part of this Recommendation)
+
+## I.1 Additional guidance on the Means of Testing (MOT)
+
+### I.1.1 Introduction
+
+This appendix gives guidance on how the four abstract testing functions defined in Recommendation 7.4/X.290, namely the Lower Tester, the Upper Tester, the TCPs and the LTCF, can be defined or realized in an MOT. The LTCF is only applicable in the MPyT context.
+
+NOTE – A test system may be able to accommodate several MOTs.
+
+### I.1.2 Realization of a Lower Tester
+
+#### I.1.2.1 Functions
+
+**I.1.2.1.1** For every SPyT Abstract Test Method (ATM) defined in Recommendation X.291, the primary focus for coordination and control of the test is the Lower Tester. The functions of the Lower Tester in SPyT are:
+
+- a) to run executable test cases which are derived from abstract test cases;
+- b) to record the verdict and preliminary results for each test case in accordance with the ATS;
+- c) to control and observe the test events which are included in an abstract test case (these events include generation and receipt of PDUs, ASPs, generation and receipt of Test Management PDUs (TM-PDUs), events related to TCPs).
+
+A Lower Tester is part of the real system, referred to as the test system. The test system and the SUT together provide the underlying service, below the lowest protocols in the IUT.
+
+**I.1.2.1.2** In the MPyT context, there may be several Lower Testers. Each Lower Tester performs the following functions:
+
+- a) to run, for each abstract test case, the part of the corresponding executable test case associated with a single Point of Control and Observation (PCO) (or with a set of PCOs which need to be handled together by the same Lower Tester);
+- b) to record the preliminary results as specified in the corresponding part of the abstract test case;
+- c) to control and observe the test events which occur and which are relevant to the corresponding part of the abstract test case.
+
+#### **I.1.2.2 Lower Tester techniques**
+
+The entities in a Lower Tester, peer of the IUT, can be designed according to different techniques, for example:
+
+- a) *Encoder/Decoder* – Simply encodes and decodes the ASPs and PDUs as required for the test case being run, without being an implementation of the protocol in question.
+- b) *Enhanced implementation* – An implementation of the protocol concerned, modified by the addition of an error generator, configuration module or similar device to ensure that invalid or unusual ASPs or PDUs can be generated as required by the test case being run.
+
+### **I.1.3 Realization of an Upper Tester**
+
+An MOT provides a realization of, or a specification of, the functions of an Upper Tester, according to the ATM used in the ATS.
+
+The Upper Tester can take different forms, for example:
+
+- a) A software implementation of the Upper Tester (which may or may not be independent of the design of the SUT and IUT), installed in the SUT above the IUT, with a mapping region that interfaces with the local realization of the ASPs.
+- b) *A human operator* – The functions of an Upper Tester are performed by a person having access to a user interface that maps onto the IUT service boundary and accesses and manipulates the realization of the appropriate ASPs.
+- c) *A notional Upper Tester* – i.e. the upper layers of the SUT are used to realize the functions of the Upper Tester, without any additional mechanism being installed; this can be used to realize the SPyT Remote test method and similar MPyT test methods.
+
+### **I.1.4 Realization of TCPs between a Lower Tester and an Upper Tester**
+
+There are many ways in which the TCPs between a Lower Tester and an Upper Tester can be realized, e.g. with or without synchronization, with or without using a communication channel additional to the one used between the Lower Tester and the IUT, etc.
+
+Several common types of TCP implementation for an Upper Tester can be identified:
+
+- a) *Human operator* – The functions of an Upper Tester are performed by a person having access to a user interface that maps onto the IUT service boundary; this operator synchronizes with the Lower Tester, the progress of which can be detected by various means, e.g. via a set of prompting messages from a user interface of the Lower Tester.
+- b) *Scenario interpreter* – The Upper Tester is realized by a remote scenario interpreter; it takes its instructions from files generated in conjunction with the Lower Tester installation, with a mapping region between it and the IUT service boundary.
+- c) *TMP* – The Upper Tester is synchronized with the Lower Tester by means of a TMP, which uses the service provided by the IUT and its underlying layers, and the corresponding functions of the Lower Tester.
+
+### **I.1.5 Realization of the Lower Tester Control Function (LTCF)**
+
+In the MPyT context, the LTCF has the following functions:
+
+- a) to control the Lower Testers, and possibly also the Upper Testers, in accordance with the requirements of each relevant abstract test case;
+- b) to record the verdict and relevant preliminary results, if any, as specified in the corresponding part of the abstract test case.
+
+The LTCF may need to be realized as a combination of software to be run in the test system and procedures to be fulfilled by human test operators.
+
+### **I.1.6 Realization of Test Coordination Procedures (TCP) in Multi-Party Testing (MPyT) context**
+
+#### **I.1.6.1 Communication between Lower Tester(s) and Upper Tester(s)**
+
+The realization of communication between Lower Tester(s) and Upper Tester(s) is described in I.1.4.
+
+##### **I.1.6.2 Communication between Lower Testers and the LTCF**
+
+Communication between Lower Testers and the LTCF can be realized in a variety of ways, either by direct connection within the test system, if they are all located in the same system, or by a completely separate link, which may use techniques similar to the TCP or TMP defined between LT and UT in Recommendation X.291.
+
+#### **I.1.6.3 Communication between Lower Testers**
+
+Realization of the communication between Lower Testers is similar to their communication with the LTCF.
+
+If the Lower Testers are in separate test systems, the TCPs can be realized by some appropriate protocol.
+
+NOTE – This method can be used when there is no Upper Tester, to test a relay system for instance.
+
+#### **I.1.6.4 Communication between Upper Testers**
+
+Upper Testers are local to the SUT (unless they are used in the Local test method or the equivalent within an MPyT context). Therefore, communication between Upper Testers is dependent upon the capabilities of the SUT. The TCPs might be realized in software or by the interaction of a human operator with the SUT.
+
+#### **I.1.6.5 Communication between Upper Testers and the LTCF**
+
+Communication between the LTCF and Upper Testers should either be realized by communication via one of the Lower Testers or by human operator communication, as described in item a) of I.1.4.
+
+### **I.1.7 The realization of a multi-protocol Means of Testing (MOT)**
+
+An MOT for a multi-protocol IUT should provide a derivation, selection and parameterization process for a multi-protocol ATS.
+
+The selection of test cases should be realized by evaluating the selection expressions in the ATS according to the provisions of the ICS and IXIT of each protocol and information object covered by the ATS.
+
+### **I.1.8 The realization of a Means of Testing (MOT) for a profile**
+
+An MOT for a profile is realized by using in sequence an MOT for each of the ATS referenced in the PTS-Summary.
+
+In addition, there is a need for an MOT realizing the additional profile specific ATS from the PSTS, if any.
+
+The deselection of test cases for a given ATS for a profile, is done in two steps:
+
+- a) *Preselection of test cases appropriate for the profile* – This preselection uses the list of applicable test cases supplied by the profile test specifiers in the PSTS (see Recommendation X.295);
+- b) *Deselection of test cases not appropriate for an IUT* – Based on the profile ICS and the profile IXIT.
+
+NOTE – Test cases which are out of service may also be deselected by the test laboratory.
+
+## I.2 Additional guidance on the Executable Test Suite (ETS) derivation process
+
+### I.2.1 Overview
+
+The derivation process can occur:
+
+- a) during test realization;
+- b) during the installation of the MOT by the test laboratory;
+- c) during test preparation, intermixed with the selection and the parameterization processes, for a particular IUT;
+- d) during test operations, as a result of interpreting or compiling the ATS.
+
+Figure I.1 illustrates the many possibilities of combining the test derivation, selection parameterization and execution processes which are described in clause 5 (Test realization overview), and for which requirements are specified in clause 6.
+
+When testing a profile, the PETS derivation/execution process has to be performed for each ATS which is referenced in the PTS-Summary.
+
+
+
+```
+graph TD;
+ RA[Reference ATS] -- Derivation --> ETS[ETS (Executable Test Suite)];
+ RA -- Deselection --> SATS[SATS (selected ATS)];
+ SATS -- Parameterization --> PATS[PATS (Parameterized SATS)];
+ PATS -- Derivation --> PETS[PETS (Parameterized SETS)];
+ PATS --> DE[PETS Derivation/Execution of a PETS];
+ ETS -- Deselection --> SETS[SETS (Selected ETS)];
+ SETS -- Parameterization --> PETS;
+ PETS --> EP[Execution of PETS];
+```
+
+Flowchart illustrating the PETS derivation/execution process. The process starts with 'Reference ATS' and 'ETS (Executable Test Suite)'. 'Reference ATS' leads to 'Deselection', then 'SATS (selected ATS)', then 'Parameterization', then 'PATS (Parameterized SATS)', and finally 'Derivation/Execution of a PETS'. 'ETS (Executable Test Suite)' leads to 'Deselection', then 'SETS (Selected ETS)', then 'Parameterization', then 'PETS (Parameterized SETS)', and finally 'Execution of PETS'. Horizontal arrows labeled 'Derivation' connect 'Reference ATS' to 'ETS (Executable Test Suite)', 'SATS (selected ATS)' to 'SETS (Selected ETS)', and 'PATS (Parameterized SATS)' to 'PETS (Parameterized SETS)'.
+
+T0713800-92/d01
+
+FIGURE I.1/X.293
+The PETS derivation/execution process
+
+FIGURE I.1/X.293...[D01] = 9 CM
+
+### I.2.2 Inputs to Executable Test Suite (ETS) derivation
+
+The test realizer has to consider the following inputs:
+
+- a) the reference ATS specification for a particular component to be tested, and containing the specification of the TCPs;
+- b) the ICS proforma(s);
+- c) the partial IXIT proforma(s), normally attached to the reference ATS specification.
+
+### **I.2.3 Executable Test Suite (ETS) maintenance**
+
+Once the capability of executing a PETS has been implemented in an MOT, and the MOT is in use, the test realizer may receive problem reports from the test laboratories. Problems may arise with the execution procedures, or with conformance to the reference ATS specification. The test realizer should in such circumstances make available the appropriate corrections.
+
+The test realizer should also provide an update of the MOT every time there is an update to the ATS specification (see also the final paragraph and Note 2 of 6.6).
+
+## **I.3 Additional guidance on conformance log**
+
+In order to produce a conformance log it is necessary to:
+
+- a) record the actual test events in their order of occurrence during the execution of the PETS;
+- b) analyse this information with respect to the relevant selected and parameterized abstract test cases, mapping the actual test events onto the abstract test events and recording all other necessary information.
+
+There are requirements only on the information to be recorded in the conformance log, and how it is to be expressed.
+
+The analysis of the ordered list of actual test events can be built into, and performed after the execution of, each executable test case; it may also be performed as a distinct process after the execution of the PETS, or performed by some combination of these techniques. The means of performing this analysis, and the timing of this analysis with respect to the execution of the PETS, are not standardized.
+
+As specified in 6.4, the MOT shall have the ability to produce the conformance log on paper. It is also recommended that a machine-readable conformance log, with equivalent contents, be made available.
+
+The process of producing the conformance log can be illustrated conceptually as in Figure I.2.
+
+NOTE – It is intended that the test laboratory retains, as a minimum, either the ordered list of actual test events or the machine readable version of the conformance log.
+
+## **I.4 Additional guidance on documentation**
+
+### **I.4.1 Introduction**
+
+In addition to the requirements specified in 6.4 and 6.5, the preparation of the following documents is recommended:
+
+- a) test system information;
+- b) MOT description;
+- c) test laboratory client information;
+- d) test laboratory operating instructions.
+
+### **I.4.2 Test system information document**
+
+An MOT is adapted to a specific test system. This document should contain the following information related to that test system:
+
+- a) type and configuration of the equipment;
+- b) operating system name and version number;
+- c) name and version number of Lower Tester(s);
+- d) name and version number of the realization of the Upper Tester(s), if provided by the test realizers;
+- e) equipment and/or procedures necessary to link the test system to the IUT for testing purposes (i.e. service provider);
+
+- f) equipment and/or procedures necessary to link the Upper Tester(s), if any, to the IUT for testing purposes;
+- g) name, location and contact information for the organization responsible for maintaining and giving advice on the MOT (including the ETS).
+
+
+
+```
+
+graph TD
+ TC[Test Campaign
+(execution of the PETS)] --> TSO[Test system specific
+ordered list of actual
+test events]
+ TC --> A[Analysis]
+ S[Specifications
+ICS and IXIT] --> A
+ A -.-> M[Machine-readable version
+of the conformance log
+(recommended)]
+ A --> P[Printing]
+ M -.-> P
+ P --> C[Conformance log
+on paper (required)]
+
+```
+
+Legend:
+
+- Control flow
+- Required information flow
+- .-> Optional information flow
+
+T0723860-95/d02
+
+Flowchart of Conformance log production process
+
+FIGURE I.2/X.293
+Conformance log production
+
+FIGURE I.2/X.293...[D02] = 11 CM
+
+### I.4.3 Means of Testing (MOT) description document
+
+This document should contain descriptions of the following aspects of the MOT, with respect to the reference ATS specification:
+
+- a) *Lower Tester(s)* – A description of the executable test notation and its mapping onto the abstract test notation (for example, onto TTCN); a description of how the ASPs are controlled, observed and stored, and a demonstration that the method chosen realizes the sequencing rules laid down in the abstract test cases; a description of the LTCF in the case of MPyT context.
+- b) *Upper Tester(s)* – A description of how the ASPs are controlled, observed and stored – except for the SPyT Remote test method and similar MPyT test methods – to show how the requirements on Upper Tester functions are met.
+- c) *Test coordination* – A description of the mapping of the TCPs to their realization. The requirements for this are specified in the reference ATS specification.
+- d) *Communication between testers* – A description of how the Lower Testers communicate between them, with the LTCF and with the Upper Testers.
+
+- e) *Selection process* – A description of the use of the ICS and IXIT in deselecting abstract test cases not appropriate for testing the IUT.
+- f) *Parameterization process* – A description of the use of the ICS and IXIT in parameterizing selected test cases for testing the IUT.
+- g) Facilities to produce a conformance log.
+
+### **I.4.4 Test laboratory client information document**
+
+In this document, the test realizer should provide the following information to enable the test laboratory to inform its client how to prepare the SUT for testing:
+
+- a) *Upper Tester* – If this component is supplied, a description of how to map its interface to the appropriate realization of the service boundary, any assumptions made about implementation of the service definition, or any assumptions made about the capabilities or resources available within the SUT. If the Upper Tester is not supplied, a description of how to implement it should be included. Such a description includes the TMP if there is one, a description of how the UTs communicate.
+- b) *Test coordination* – What the client has to do to implement the TCPs: a description of how to do any manual coordination between the SUT and the Lower Tester if this is necessary. Any relevant timing information, e.g. the expected performance of the TMP.
+- c) *Underlying service* – Indicate that the client has to provide a sufficiently reliable (N – 1) Service and, as far as possible, explain how this is to be achieved (without referring to a particular computer).
+
+### **I.4.5 Test laboratory operating instructions document**
+
+In this document, the test realizer should provide information that will assist and guide the test laboratory in the execution of tests on the MOT, the diagnosis of problems and the re-running of tests if necessary. This should include:
+
+- a) *Test preparation* – How to use ICS and IXIT to perform test deselection of the inappropriate test cases and parameterization of the selected ones on the MOT.
+- b) *Test execution* – A description of how to run tests on the Lower Tester, and how to analyse the results.
+- c) *Execution control* – The definition of the level of detail of control over the execution of test cases. The operating instructions should describe how test cases are executed and thereby implicitly define how many test cases may be executed as a single execution unit. An extreme case is when there is one single command for the entire test campaign (Basic Interconnection Tests, capability tests, and behaviour tests). The other extreme is when there is a command for every single test step in every single test case in the ETS.
+- d) *Conformance logging* – Control of its execution; how the contents of the conformance log can be mapped back to the standardized test events in the reference ATS specification.
+- e) *Upper Tester(s)* – A description of any initial confidence tests to be performed on the Upper Tester(s) and how to obtain the stored test events from the Upper Tester(s).
+- f) *TCPs* – A description of how to do any manual coordination among the Lower Tester(s), the Upper Tester(s) and, in the MPyT context, the LTCF.
\ No newline at end of file
diff --git a/marked/X/T-REC-X.294-199504-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.294-199504-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5df49c8f05ab33d6e8bebc2cced09c8ff1494ed6
--- /dev/null
+++ b/marked/X/T-REC-X.294-199504-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d2e79a7aa5610adcc2032b22db0385faff738388bca65a7da0e7390e032dc164
+size 8327
diff --git a/marked/X/T-REC-X.294-199504-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/X/T-REC-X.294-199504-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..61d06a3e4e9b9812c6c66bc660fb8202487bc1c4
--- /dev/null
+++ b/marked/X/T-REC-X.294-199504-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a48d4165edb56a7a65dd358594b5089a4bcade9c14da0cc3bdb623c9b018a9c2
+size 115669
diff --git a/marked/X/T-REC-X.294-199504-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg b/marked/X/T-REC-X.294-199504-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1b11fffa7f9c4540485280ccc3d1d3b4c742346a
--- /dev/null
+++ b/marked/X/T-REC-X.294-199504-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4f59b44be78512fcb01f0e4d82a581759740f2160da003c4783662a3bf13d4b2
+size 96879
diff --git a/marked/X/T-REC-X.294-199504-I_PDF-E/c5452f95f3b28f1bfe29e84fbc2e1267_img.jpg b/marked/X/T-REC-X.294-199504-I_PDF-E/c5452f95f3b28f1bfe29e84fbc2e1267_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7e9fd6312d7beda37b45d3df9cf65c88e30698f6
--- /dev/null
+++ b/marked/X/T-REC-X.294-199504-I_PDF-E/c5452f95f3b28f1bfe29e84fbc2e1267_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c6beb4d8df5b803bcd2ccc1ee939927c736ce0c53dfe8345c93383741f479183
+size 85429
diff --git a/marked/X/T-REC-X.294-199504-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg b/marked/X/T-REC-X.294-199504-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..49fab1501d26fca541963de9525058136c367aab
--- /dev/null
+++ b/marked/X/T-REC-X.294-199504-I_PDF-E/e69b9188aa2c14ec6b21c83f711fef65_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6910dee68f3ced712c67f584c5c63d764a44294e2ee7ceaae45698d736d8ab7c
+size 94393
diff --git a/marked/X/T-REC-X.294-199504-I_PDF-E/e9b43ac020435f8121e8592f31afdc52_img.jpg b/marked/X/T-REC-X.294-199504-I_PDF-E/e9b43ac020435f8121e8592f31afdc52_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2559814b708863db4d9cd2b501b029b024e8c319
--- /dev/null
+++ b/marked/X/T-REC-X.294-199504-I_PDF-E/e9b43ac020435f8121e8592f31afdc52_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8d119762e5b3e8f9bb2e72f262c164c3ea690b564533b3b08562ed85ebba599d
+size 39684
diff --git a/marked/X/T-REC-X.294-199504-I_PDF-E/raw.md b/marked/X/T-REC-X.294-199504-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..323dc44744955f432e16a5f40ee332cf63627f24
--- /dev/null
+++ b/marked/X/T-REC-X.294-199504-I_PDF-E/raw.md
@@ -0,0 +1,1710 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt symbol below it.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.294
+
+(04/95)
+
+**DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS**
+
+**OPEN SYSTEMS INTERCONNECTION –
+CONFORMANCE TESTING**
+
+---
+
+**OSI CONFORMANCE TESTING
+METHODOLOGY AND FRAMEWORK
+FOR PROTOCOL RECOMMENDATIONS
+FOR ITU-T APPLICATIONS – REQUIREMENTS
+ON TEST LABORATORIES AND CLIENTS
+FOR THE CONFORMANCE ASSESSMENT
+PROCESS**
+
+**ITU-T Recommendation X.294**
+
+(Previously “CCITT Recommendation”)
+
+---
+
+# FOREWORD
+
+The ITU-T (Telecommunication Standardization Sector) is a permanent organ of the International Telecommunication Union (ITU). The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1 (Helsinki, March 1-12, 1993).
+
+ITU-T Recommendation X.294 was revised by ITU-T Study Group 7 (1993-1996) and was approved under the WTSC Resolution No. 1 procedure on the 10th of April 1995.
+
+# --- NOTE
+
+In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+© ITU 1996
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+# ITU-T X-SERIES RECOMMENDATIONS
+
+# DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS
+
+(February 1994)
+
+## ORGANIZATION OF X-SERIES RECOMMENDATIONS
+
+| Subject area | Recommendation Series |
+|---------------------------------------------|-----------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and Facilities | X.1-X.19 |
+| Interfaces | X.20-X.49 |
+| Transmission, Signalling and Switching | X.50-X.89 |
+| Network Aspects | X.90-X.149 |
+| Maintenance | X.150-X.179 |
+| Administrative Arrangements | X.180-X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and Notation | X.200-X.209 |
+| Service Definitions | X.210-X.219 |
+| Connection-mode Protocol Specifications | X.220-X.229 |
+| Connectionless-mode Protocol Specifications | X.230-X.239 |
+| PICS Proformas | X.240-X.259 |
+| Protocol Identification | X.260-X.269 |
+| Security Protocols | X.270-X.279 |
+| Layer Managed Objects | X.280-X.289 |
+| Conformance Testing | X.290-X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300-X.349 |
+| Mobile Data Transmission Systems | X.350-X.369 |
+| Management | X.370-X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400-X.499 |
+| DIRECTORY | X.500-X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600-X.649 |
+| Naming, Addressing and Registration | X.650-X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680-X.699 |
+| OSI MANAGEMENT | X.700-X.799 |
+| SECURITY | X.800-X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850-X.859 |
+| Transaction Processing | X.860-X.879 |
+| Remote Operations | X.880-X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900-X.999 |
+
+
+
+# CONTENTS
+
+| | Page |
+|--------------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References ..... | 2 |
+| 3 Definitions ..... | 3 |
+| 4 Abbreviations ..... | 3 |
+| 5 Overview of the conformance assessment process ..... | 4 |
+| 5.1 Introduction ..... | 4 |
+| 5.2 Preparation for testing ..... | 4 |
+| 5.3 Test operations ..... | 4 |
+| 5.4 Test report production ..... | 5 |
+| 6 Preparation for testing ..... | 5 |
+| 6.1 Introduction ..... | 5 |
+| 6.2 Requirements for testability of the System under Test ..... | 5 |
+| 6.3 Communication between the test laboratory and the client ..... | 8 |
+| 6.4 Documentation for conformance assessment ..... | 10 |
+| 7 Test operations ..... | 12 |
+| 7.1 Introduction ..... | 12 |
+| 7.2 Static conformance review ..... | 14 |
+| 7.3 Test selection ..... | 15 |
+| 7.4 Test parameterization ..... | 17 |
+| 7.5 Verification of Test Coordination Procedures ..... | 17 |
+| 7.6 Test campaign ..... | 18 |
+| 7.7 Negotiated exits during the test campaign ..... | 20 |
+| 8 Test report production ..... | 21 |
+| 8.1 Conformance test reports ..... | 21 |
+| 8.2 System Conformance Test Report (SCTR) ..... | 22 |
+| 8.3 Protocol Conformance Test Report (PCTR) ..... | 22 |
+| 9 Compliance ..... | 23 |
+| 9.1 Test laboratory role ..... | 23 |
+| 9.2 Client role ..... | 24 |
+| Annex A – System Conformance Test Report (SCTR) template ..... | 25 |
+| A.1 Introduction ..... | 25 |
+| A.2 Conformance ..... | 25 |
+| A.3 SCTR proforma ..... | 25 |
+| Annex B – Protocol Conformance Test Report (PCTR) template ..... | 29 |
+| B.1 Introduction ..... | 29 |
+| B.2 Conformance ..... | 29 |
+| B.3 PCTR proforma ..... | 29 |
+| Appendix I – Skeleton IXIT template ..... | 33 |
+| I.1 Introduction ..... | 33 |
+| I.2 IXIT proforma ..... | 33 |
+
+# **SUMMARY**
+
+This Recommendation specifies requirements on both the test laboratory and client, for the conduct of the conformance assessment process. The requirements are those necessary to achieve comparability of results of tests on similar implementations performed by different test laboratories. This Recommendation also provides some guidance on the conformance assessment process. The text was developed jointly with ISO/IEC JTC1 and the main intent of this revision is to reflect the changes as a result of the work on Protocol Profile Testing Methodology (PPTM) and on Multi-Party Testing Methodology (MPyTM).
+
+# INTRODUCTION
+
+Conformance testing requires mutual understanding and agreement between the test laboratory and the client. This Recommendation addresses the roles of both the test laboratory and the client during the conformance assessment process, the need to reach mutual agreements between them, and the requirements on each of them.
+
+The conformance assessment process is the most visible process of conformance testing, where the results of test suite standardization are put to real use. This is also the stage at which there is potentially the most scope for variations to occur. As this Recommendation is concerned with the relatively formal process of testing implementations, it is important that the number and nature of such variations be very limited. One of the major objectives of standardizing the conformance testing process is to achieve an acceptable and useful degree of comparability of results of conformance assessments of similar implementations. If this is to be achieved, not only should the same source of tests be used (i.e. as specified in appropriate standards), but also the methods of selecting and parameterizing these tests, and presenting their results, should be, to a large extent, the same.
+
+This Recommendation addresses the issues which should be taken into account, by both the test laboratory and the client, if the necessary consistency of conformance assessment is to be achieved. The target audiences for this Recommendation are the test laboratories and their clients. The test laboratory is responsible for conducting the conformance assessment of an OSI implementation at the request of a client. Typically, test laboratories are:
+
+- 1) organizations developing or supplying OSI implementations (first-party test laboratories);
+- 2) organizations willing to verify OSI implementations themselves before using them (second-party test laboratories);
+- 3) organizations, independent of suppliers or users of OSI implementations, whose business is the testing of such implementations (third-party test laboratories).
+
+Clients may be implementors or suppliers of real open systems or other OSI systems, who are applying for their own implementations to be tested. Alternatively, they may be procurers of those implementations, or any other interested party. The applicability of this Recommendation is independent of the relationship between the client and the implementation. During the conformance assessment process, the client is responsible for the conformance statements accompanying the System under Test (SUT) and for the configuration of the SUT.
+
+Secondary, but related, audiences to whom this Recommendation could also be of interest
+
+- a) are test realizers;
+- b) organizations responsible for the accreditation of first-, second- or third-party test laboratories;
+- c) organizations responsible for the issue of test certificates which are based upon the conformance test reports issued by test laboratories;
+- d) readers of conformance test reports.
+
+Within this Recommendation, the conformance assessment process relating to both the test laboratory and the client is divided into three phases:
+
+- i) preparation for testing;
+- ii) test operation;
+- iii) production of test reports.
+
+An overview of these three phases is given in clause 5. Clauses 6 to 9 state requirements on how to conduct these three phases.
+
+For the purposes of this Recommendation, it is assumed that a test laboratory is available and is already organized to provide a conformance assessment service. The test laboratory is assumed to have acquired from a test realizer (whether or not the latter belongs to the same organization) means of Testing IUTs, for one or more OSI protocols and according to one or more Abstract Test Methods (ATMs). This Recommendation specifies requirements on the test laboratory with respect to the conduct of the conformance assessment process for a particular client.
+
+Similarly, it is assumed that a client is ready to apply for conformance assessment of an OSI implementation. The client is assumed to be familiar with the appropriate standards, with the concepts of conformance testing and Abstract Test Methods, and to be ready to cooperate with the test laboratory. This Recommendation specifies requirements on the client with respect to both the testability of the proposed SUT and the conduct of the conformance assessment process.
+
+It is recommended that this Recommendation be read in conjunction with Recommendation X.290.
+
+This Recommendation is also published as ISO/IEC 9646-5:1994.
+
+# **OSI CONFORMANCE TESTING METHODOLOGY AND FRAMEWORK FOR PROTOCOL RECOMMENDATIONS FOR ITU-T APPLICATIONS – REQUIREMENTS ON TEST LABORATORIES AND CLIENTS FOR THE CONFORMANCE ASSESSMENT PROCESS1) **
+
+*(Geneva, 1992; revised in 1995)*
+
+# **1 Scope**
+
+**1.1** This Recommendation specifies requirements on both the test laboratory and the client, for the conduct of the conformance assessment process. The requirements are those necessary to achieve comparability of results of tests on similar implementations performed by different test laboratories. Implementations could support one base specification only, multiple base specifications or one or more profile(s) based on one or more base specifications. This Recommendation also provides some guidance on the conformance assessment process.
+
+**1.2** The requirements include:
+
+- a) requirements for the testability of the implementation with respect to Abstract Test Methods;
+- b) general requirements on the test laboratory and the client applicable to any conformance assessment process;
+- c) exchange of technical and administrative information, including a System Conformance Statement, an Implementation Conformance Statement for each relevant base or profile specification, and Implementation extra Information for Testing for each Abstract Test Suite (ATS) to be used for testing each base specification, combination of base specifications or component of each profile, as appropriate, plus for profile testing the Profile Test Specification Summary for each profile;
+- d) cooperation between the test laboratory and the client to reach an agreement on the definition of the Implementation under Test, on the Abstract Test Methods and ATSS to be used and on the conditions under which testing will be performed;
+- e) requirements for the structure and content of the conformance test reports that document the results of the conformance assessment process.
+
+**1.3** This Recommendation is applicable equally to those test laboratories which are affiliated to suppliers or procurers, and those which are independent.
+
+**1.4** This Recommendation is applicable to conformance assessment of implementations of:
+
+- OSI and Integrated Services Digital Network (ISDN) base specifications that comply with the relevant requirements for testability in Recommendation X.291; and/or
+- OSI and ISDN profile specifications that comply with the relevant requirements for testability in Recommendation X.295,
+based on:
+ - conformance testing specifications specified in compliance with Recommendation X.291; and
+ - if appropriate, based on Profile Test Specification Summaries and Profile Specific Test Specifications specified in compliance with Recommendation X.295; and
+ - using Means of Testing (MOT) in compliance with Recommendation X.293.
+
+---
+
+1) Recommendation X.294 and ISO/IEC 9646-5, Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 5: Requirements on test laboratories and clients for the conformance assessment process, are technically aligned.
+
+**1.5** The following are outside the scope of this Recommendation:
+
+- a) the production of diagnostic trace information, additional to that in the conformance log, resulting from testing performed by the test laboratory, and the supply to the client;
+- b) aspects of test laboratory operations which are not specific to conformance testing implementations of OSI base specifications and profiles;
+- c) accreditation of test laboratories;
+- d) certification of implementations of OSI protocols.
+
+# **2 References**
+
+The following Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision: all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of currently valid ITU-T Recommendations is regularly published.
+
+- ITU-T Recommendation X.200 (1994) | ISO/IEC 7498-1:1994, *Information technology – Open Systems Interconnection – Basic Reference Model: The Basic Model*.
+- ITU-T Recommendation X.210 (1993) | ISO/IEC 10731:1994, *Information technology – Open Systems Interconnection – Conventions for the definition of OSI services*.
+- ITU-T Recommendation X.290 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – General concepts*.
+ISO/IEC 9646-1:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 1: General concepts*.
+- ITU-T Recommendation X.291 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T Applications – Abstract test suite specification*.
+ISO/IEC 9646-2:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 2: Abstract test suite specification*.
+- CCITT Recommendation X.292 (1992), *OSI conformance testing methodology and framework for protocol Recommendations for CCITT applications – The tree and tabular Combined Notation (TTCN)*.
+ISO/IEC 9646-3:1992, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 3: The Tree and Tabular Combined Notation (TTCN)*.
+ISO/IEC 9646-3:1992/Amd 12) , *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 3: The Tree and Tabular Combined Notation (TTCN) – Amendment 1: TTCN extensions*.
+- ITU-T Recommendation X.293 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Test realization*.
+ISO/IEC 9646-4:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 4: Test realization*.
+- ITU-T Recommendation X.295 (1995), *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Protocol profile test specification*.
+
+---
+
+2) To be published.
+
+ISO/IEC 9646-6:1994, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 6: Protocol profile test specification.*
+
+- ITU-T Recommendation X.2963) , *OSI conformance testing methodology and framework for protocol Recommendations for ITU-T applications – Implementation conformance statements.*
+
+ISO/IEC 9646-7:1995, *Information technology – Open Systems Interconnection – Conformance testing methodology and framework – Part 7: Implementation conformance statement.*
+
+# 3 Definitions
+
+For the purposes of this Recommendation, all the definitions given in Recommendation X.290 apply. The definitions in this clause also apply to this Recommendation.
+
+**3.1 client checklist:** A record of test-related information supplied to the test laboratory by the client during the test preparation phase of the conformance assessment process.
+
+**3.2 client test manager:** The person identified by the client organization as being responsible for all matters relating to the conformance testing of the IUT.
+
+**3.3 negotiated exit (from the conformance assessment process):** A point in time at which the test laboratory and the client can mutually decide to terminate the conformance assessment process.
+
+**3.4 operator of the system under test; SUT operator:** The person or persons designated by the client organization as being responsible for operation of the SUT during conformance testing.
+
+**3.5 test laboratory checklist:** A record of test-related information supplied to the client by the test laboratory during the test preparation phase of the conformance assessment process.
+
+**3.6 test laboratory manager:** The person identified by the test laboratory as being responsible for all matters relating to test laboratory operations.
+
+**3.7 test operator:** The person or persons designated by the test laboratory as being responsible for running conformance tests against the IUT.
+
+# 4 Abbreviations
+
+For the purposes of this Recommendation, the following abbreviations defined in clause 4/X.290, clause 4 apply:
+
+| | |
+|------|----------------------------------------------|
+| ASP | Abstract Service Primitive |
+| ATM | Abstract Test Method |
+| ATS | Abstract Test Suite |
+| BIT: | Basic Interconnection Test |
+| ICS | Implementation Conformance Statement |
+| IXIT | Implementation extra Information for Testing |
+| IUT | Implementation under Test |
+| MOT | Means of Testing |
+| MPyT | Multi-Party Testing |
+| OSI | Open Systems Interconnection |
+| PCO | Point of Control and Observation |
+| PCTR | Protocol Conformance Test Report |
+| PETS | Parameterized Executable Test Suite |
+
+---
+
+3) Presently at the stage of draft.
+
+| | |
+|-------|-------------------------------------------------------|
+| PICS | Protocol Implementation Conformance Statement |
+| PIXIT | Protocol Implementation Extra Information for Testing |
+| RL | Requirements List |
+| PSTS | Profile Specific Test Specification |
+| PTS | Profile Test Specification |
+| SATS | Selected Abstract Test Suite |
+| SCS | System Conformance Statement |
+| SCTR | System Conformance Test Report |
+| SUT | System under Test |
+| TCP | Test Coordination Procedures |
+| TMP | Test Management Protocol |
+| XRL | IXIT Requirements List |
+
+# 5 Overview of the conformance assessment process
+
+## 5.1 Introduction
+
+Figure 1/X.290 illustrates the conformance assessment process. Subclause 6.3/X.290 provides an overview of the conformance assessment process. An overview of the three phases (preparation for testing, test operations and test report production) is given as guidance in the following subclauses.
+
+## 5.2 Preparation for testing
+
+The preparatory phase includes:
+
+- a) general administrative steps, such as the application by the client, the provision of documents by the test laboratory describing the general policy, terms and conditions to be followed during test operations, and the provision of information about the System under Test (SUT) by the client;
+- b) checking the completeness of the documents provided by the test laboratory [Implementation extra Information for Testing (IXIT) proforma(s)], of those provided by the client [Implementation Conformance Statements(s) (ICS(s)), IXIT(s), System Conformance Statement (SCS), and also any other information exchanged between the test laboratory and the client; in particular, the preparatory phase for a profile also includes checking completeness of the profile related documents provided by the test laboratory (profile IXIT proforma), and those provided by the client (profile ICS and profile IXIT, SCS);
+- c) analysis of the configuration of the SUT and choice of a conformance testing specification(s) for the base specification(s) and profiles, if any, to be tested, either agreeing that the SUT and the test laboratory's Means of Testing (MOT) are both capable of supporting the test method(s), or using a negotiated exit if an agreement cannot be reached;
+- d) preparation of the SUT and the MOT for the testing configuration that results from the choice of test method(s).
+
+Requirements for test preparation, on both the test laboratory and the client, are given in clause 6.
+
+## 5.3 Test operations
+
+During the second phase, the test operations are carried out. These include:
+
+- a) the static conformance review, during which detailed analysis of the ICS(s) and IXIT(s) takes place;
+- b) test selection and parameterization, applied to the executable (or abstract) test suite(s); this determines the Parameterized Executable Test Suite(s) [PETS(s)] that will be executed;
+
+- c) one or more test campaigns, running:
+ - 1) Basic Interconnection Tests (optional);
+ - 2) capability tests;
+ - 3) behaviour tests.
+
+If difficulties are encountered during test operations, it is possible for the client and test laboratory to negotiate a repetition of a test campaign as a whole or in part. Alternatively, they can take a negotiated exit from the conformance assessment process.
+
+NOTE – The reasons for the negotiated exit are documented in an informal test report.
+
+Requirements for test operations, on both the test laboratory and the client, are given in clause 7.
+
+## **5.4 Test report production**
+
+The third phase, which may begin before the test operations are complete, involves the presentation of the results of the conformance assessment process. These results are recorded in Protocol Conformance Test Reports (PCTRs) with a summary in a System Conformance Test Report (SCTR). Requirements for proformas for these test reports are specified in Annexes B and A respectively.
+
+Requirements for test report production are given in clause 8.
+
+# **6 Preparation for testing**
+
+## **6.1 Introduction**
+
+This clause specifies requirements for test preparation on both the test laboratory and the client. Figure 1 illustrates the preparatory phase of the conformance assessment process. During this phase, both parties ensure that the required documentation [including SCS, ICS(s) and IXIT(s)] is completed to their mutual satisfaction. Furthermore, checklists are provided for both parties to help them ensure that they have all the information they need prior to beginning the test operation phase. Each party shall provide the other with all the information indicated in their own checklist. In particular, the characteristics of the SUT which determine its configurations and affect the choice of test method(s) shall have been precisely defined. It is assumed that the requirements for SUT testability have been met by the client before approaching the test laboratory.
+
+As a prerequisite to test operations, the client and the test laboratory agree on the test method(s) and the conditions for the test campaign. If an agreement is reached, the test laboratory will select the MOT for the chosen test method, and proceed to the test operations phase; otherwise, a negotiated exit may be taken.
+
+## **6.2 Requirements for testability of the System under Test**
+
+### **6.2.1 Client role**
+
+#### **6.2.1.1 General**
+
+The client shall ensure that the SUT is testable using at least one test method for each base specification implemented in the Implementation under Test (IUT).
+
+If the IUT includes multi-party protocol(s), then the client shall ensure that the SUT is testable using appropriate Multi-Party Testing (MPyT) test methods using the appropriate numbers of Lower Testers.
+
+NOTE – This Recommendation does not constrain the client to agree to any particular test method(s), as long as at least one test method is made possible by appropriately configuring the SUT.
+
+Each of the Abstract Test Methods described in clause 11/X.291, imposes particular requirements on the SUT with respect to its testability. The requirements vary according to the test method.
+
+
+
+```
+
+graph TD
+ CA[Client Application] --> CC[Client completes documents]
+ ICS[ICS proforma(s), SCS proforma] --> CC
+ SUT[SUT Configuration and Testability] --> CC
+ CC --> CTA[Client and Test Laboratory agree on test method(s) and ATS(s)]
+ CC --> CC2[Client Checklist, SCS, ICS(s)]
+ CC2 --> CTA
+ TL[Test Laboratory Checklist] --> CTA
+ CTA --> DP(( ))
+ DP --> NE[NE]
+ DP -- Client --> CC3[Client completes IXIT(s)]
+ DP -- Test Laboratory --> TL2[Test Laboratory identifies MOT and completes IXIT proforma(s)]
+ IXIT_P[IXIT Proforma (s)] --> CC3
+ IXIT_P --> TL2
+ CC3 --> SUT_P[SUT Preparation]
+ IXIT_S[IXIT (s)] --> SUT_P
+ IXIT_S --> MOT_P[MOT Preparation]
+ TL2 --> MOT_P
+ SUT_P --> TO[Test operations]
+ MOT_P --> TO
+ TO -.-> ID[T0723790-95/d01]
+
+```
+
+—> Control Flow
+ —> Data Flow
+ ● Decision Point
+ NE Negotiated Exit
+
+Flowchart titled 'Preparation for Testing' showing the process from Client Application to Test operations. The process involves document completion, agreement on test methods, and preparation of SUT and MOT. A legend defines symbols for Control Flow, Data Flow, Decision Point, and Negotiated Exit (NE).
+
+FIGURE 1/X.294
+Preparation for Testing
+
+For each test method by which the client claims the SUT can be tested, the client shall ensure that the SUT provides the necessary means of control and observation and that it can enable the appropriate Test Coordination Procedures (TCP) to be performed.
+
+Further requirements for SUT testability for each of the Single-Party Testing (SPyT) Abstract Test Methods are stated below. The MPyT test methods may impose appropriate combinations of the requirements for the SPyT test methods, depending on the nature of the Upper Tester(s) and TCP used in each MPyT test method.
+
+#### **6.2.1.2 Local test method**
+
+**6.2.1.2.1** For the Local test method, the client shall ensure that the IUT upper interface is realized in hardware and can be connected to a test system.
+
+NOTE – The only requirements are that the interface is standardized and that there is a well-defined mapping between the relevant ASPs and the hardware interface.
+
+**6.2.1.2.2** There are no requirements on the client for the TCP.
+
+#### **6.2.1.3 Distributed test method**
+
+**6.2.1.3.1** For the Distributed test method, the client shall ensure that the SUT contains the means of generating, and indicating the receipt of, the Abstract Service Primitives (ASPs) for the relevant Points of Control and Observation (PCOs), that are appropriate to the envisaged IUT.
+
+##### **NOTES**
+
+1 The only requirements are that means be realized within the SUT for the control and observation of the effects of the relevant ASPs and that the upper service boundary of the IUT is either a human-user interface or a standardized programming language interface.
+
+2 Any realization will satisfy this requirement provided that the appropriate ASPs can be generated and detected unambiguously. Example realizations are: pushing buttons, observing and controlling activities of OSI protocols which use the service primitives concerned, observing activity on peripherals and so on. There may be a one-to-one, one-to-many, or many-to-one correspondence between the means within the SUT and ASPs provided that there is no ambiguity about which ASPs are detected and generated.
+
+**6.2.1.3.2** The client shall ensure that notification of the occurrence of ASP events within the SUT can be communicated by the SUT operator to the test operator (at the test laboratory) when required by the TCP.
+
+NOTE – The means for transferring notification of the occurrence of generated and observed ASP events to the test laboratory is outside the scope of Recommendations X.290 to X.296, but could be achieved by the use of a separate communication channel, e.g. voice, telephone call, data call, etc. The way in which this communication takes place constitutes part of the informal TCP, and is stated by the client in the client checklist when applying to the test laboratory for conformance assessment.
+
+#### **6.2.1.4 Coordinated test method**
+
+**6.2.1.4.1** For the Coordinated test method, the client shall ensure that the SUT can support at least one Upper Tester that is an implementation of the standardized Test Management Protocol (TMP) for the appropriate base specification(s).
+
+NOTE – This requirement does not imply the implementation within the SUT of a real OSI service boundary with real service primitives.
+
+**6.2.1.4.2** Once an Abstract Test Suite (ATS) specification for the Coordinated test method has been chosen during test preparation, the client shall ensure that the SUT supports an Upper Tester which realizes the TMP for this ATS specification.
+
+NOTE – The client may use the assistance of the test laboratory during test preparation in order to meet this requirement. Alternatively, the client may choose to implement the Upper Tester and TMP for a particular ATS specification within the envisaged IUT before approaching a test laboratory for conformance assessment.
+
+#### **6.2.1.5 Remote test method**
+
+**6.2.1.5.1** For the Remote test method, once an ATS specification is chosen during test preparation, the client shall document in the IXIT(s) the degree of control and observation that is possible within the SUT to achieve the TCP that are stated informally in the ATS specification.
+
+NOTE – Of all the test methods, the Remote testing method imposes the fewest constraints on the SUT. The SUT, however, is expected to perform in accordance with the claims made in the IXIT(s). These claims may imply some degree of control, for example, where the SUT is required to initiate some event.
+
+**6.2.1.5.2** For those test events for which a claimed degree of control or observation has been made in the IXIT(s), the client shall ensure that notification of the occurrence of such test events within the SUT can be communicated by the SUT operator to the test operator (at the test laboratory), when required by the TCP.
+
+NOTE – The means for transferring notification of the occurrence of generated and observed test events to the test laboratory is outside the scope of Recommendations X.290 to X.296, but could be achieved by the use of a separate communication channel, e.g. voice, telephone call, data call, etc. The way in which this communication takes place constitutes part of the informal TCP, and is stated by the client in the client checklist when applying to the test laboratory for conformance assessment.
+
+## **6.3 Communication between the test laboratory and the client**
+
+### **6.3.1 Test laboratory and client checklists**
+
+#### **6.3.1.1 Introduction**
+
+During test preparation, the test laboratory and client exchange test-related information in order that they can agree on the definition of the IUT and on the choice of test method(s) and ATS specification(s) to be used during testing. The information to be provided, some of which may be assembled as a result of discussions, is specified in a test laboratory checklist and a client checklist. Based on the exchange and review by both parties of the information indicated in the checklists, an agreement can be reached on whether or not to proceed with the test preparation phase. An agreement might not be reached if the test laboratory is unable to offer a testing service which is compatible with the client's proposed IUT. If both parties agree to continue, the documents required for conformance assessment are prepared (refer to 6.4).
+
+#### **6.3.1.2 Test laboratory role**
+
+During the test preparation phase of the conformance assessment process, the test laboratory shall provide the client with all information indicated in the following test laboratory checklist:
+
+- a) requirements placed on the client by the test laboratory, concerning the provision of the SCS, ICS(s) and IXIT(s), plus the relevant IXIT proformas;
+- b) statement of compliance with this Recommendation;
+- c) Abstract Test Method(s) supported for each base specification or combination of base specifications for which a testing service is offered;
+- d) statement of conformance with the conformance testing specifications and in the case of profile testing the Profile Test Specification Summary (PTS-Summary) and Profile Specific Test Specification (PSTS), for which a testing service is offered;
+- e) statement of whether or not the test laboratory offers a comprehensive conformance testing service as defined in each of the applicable conformance testing specifications and in Recommendation X.291;
+- f) limitations, if any, of the Lower Tester(s), for the supported test methods that are relevant to the client's SUT;
+- g) specifications of the upper tester, if applicable, and the TCP for the supported test methods that are relevant to the client's SUT;
+- h) description of the test laboratory procedures which are related to running the tests during the test campaign and which are relevant to the client, particularly those to be performed by the SUT operator;
+- i) references to all documentation to be used and produced by the test laboratory during the conformance assessment process.
+
+NOTE – The test laboratory may provide the client with:
+
+- a) information on the testing services offered relevant to the range of base specifications and profiles of interest to the client;
+- b) assistance in the implementation of an upper tester, if applicable for the chosen test method;
+- c) ICS proformas;
+- d) SCS proforma;
+- e) information on whom to contact to obtain any other necessary information;
+- f) estimates of the time required to complete the test operations and test report production phases of the conformance assessment process;
+- g) statement of test laboratory accreditation (if applicable).
+
+#### **6.3.1.3 Client role**
+
+During the test preparation phase of the conformance assessment process, the client shall provide the test laboratory with all the information indicated in the following client checklist:
+
+- a) statement of compliance with this Recommendation;
+- b) specification of what part of the SUT is proposed to be the IUT and which base specification(s) and/or profile(s) are to be tested;
+
+- c) a claim of SUT testability based on specific Abstract Test Method(s) and/or ATS specification(s);
+- d) a statement of the TCP that are suitable for use with this IUT, and which correspond to the proposed test method(s).
+
+NOTE – The client may provide the test laboratory with:
+
+- a) information on any physical requirements for the SUT (e.g. space, air conditioning, etc.) if relevant, and any other practical information that may be needed during the conformance assessment process;
+- b) information on whom to contact during the conformance assessment process.
+
+### **6.3.2 Agreement on test methods and selection of test suites**
+
+#### **6.3.2.1 Test laboratory role**
+
+The test laboratory shall review the client checklist and shall determine if the test laboratory offers a testing service which is applicable to the client's proposed IUT. The test laboratory shall accommodate the client's choice of test method for each base specification or combination of base specifications in the proposed IUT (see 6.3.2.2) and shall select the corresponding reference ATS specification (including if relevant the TMP specification and/or PSTS) to be used in the conformance assessment process.
+
+For each PTS-Summary ATS specification selected, the test laboratory shall identify and use an MOT which conforms with that ATS specification and for profile testing the PTS-Summary, and which complies with Recommendation X.293.
+
+For each test case in a PSTS, the test laboratory shall identify and use an MOT which conforms with the requirements for that test case and complies with Recommendation X.293.
+
+NOTE – The conformance testing specification(s) used should have the highest available standardization status (see clause 5/X.291).
+
+#### **6.3.2.2 Client role**
+
+The client shall review the test laboratory checklist and shall make the choice of which test method(s) should be used for each base specification or combination of base specifications in the proposed IUT in accordance with the claims for SUT testability and the testing service offered by the test laboratory.
+
+NOTE 1 – The client may wish to select test method(s) which impose no additional requirements on the SUT other than those contained in the base specifications or profiles to which the SUT claims to conform. In this case, the client should select a test laboratory which provides a comprehensive testing service. (See 11.6.2/X.291 and 9.1 of this Recommendation.)
+
+An IUT can consist of a single protocol entity or multiple protocol entities. If the IUT is multi-protocol, then embedded test methods should be used incrementally. (See 7.6/X.290.)
+
+NOTE 2 – Several IUTs can be defined in the SUT if several conformance assessments are to be performed on the same SUT for different combinations of base specifications and test methods.
+
+#### **6.3.2.3 Mutual role**
+
+After both parties have reviewed the information provided in the checklists, in order that the conformance assessment process can continue, both parties shall agree on:
+
+- a) the accuracy and sufficiency of the information provided in the checklists;
+- b) the definition of the IUT;
+- c) the test method(s) and the corresponding ATS specification(s) which will be used for the conformance assessment process.
+
+If an agreement cannot be reached, a negotiated exit should be taken in order to terminate the conformance assessment process. If an agreement is reached, what has been agreed shall be recorded in the SCTR issued at the end of the conformance assessment process.
+
+### **6.3.3 Management of technical issues**
+
+There are no general requirements concerning procedures for the resolution of technical issues between the client and test laboratory that may arise during the conformance assessment process. However, should differences be discovered between the conformance testing specification and the base specification(s), the base specification(s) shall have precedence in problem resolution.
+
+NOTE – Unresolved issues of a technical nature, related to the interpretation of relevant specification, can be referred to the appropriate specification defining group in ITU-T or ISO/IEC.
+
+## **6.4 Documentation for conformance assessment**
+
+### **6.4.1 Overview**
+
+After the test laboratory and client have agreed on the definition of the IUT and on the test method(s) and ATS specification(s) to be used during the conformance assessment, they exchange detailed information about the SUT. This information resides in a set of documents related to test preparation: the ICS(s), IXIT(s), SCS and TMP Implementation Statement, if any. Thus, for a profile, the information resides in the following set of documents related to test preparation:
+
+- the profile ICS;
+- the profile IXIT;
+- the SCS; and
+- the TMP implementation statement (if any).
+
+Requirements on both the client and test laboratory related to the production and exchange of these documents are stated below.
+
+### **6.4.2 Implementation Conformance Statement (ICS)**
+
+#### **6.4.2.1 Content of the ICS**
+
+Detailed information on the role and scope of the ICS is given in 5.6/X.290, and basic guidance on the design of the ICS proforma is given in Recommendation X.296.
+
+A Protocol Implementation Conformance Statement (PICS) proforma is contained in each OSI protocol specification which complies with the requirements of Recommendation X.291 for testability. An information object ICS proforma should accompany each information object specification. Requirements applicable to a transfer syntax (abstract syntax and encoding rules) are stated in the specification of the protocol and hence should be covered in the relevant PICS.
+
+#### **6.4.2.2 Test laboratory role**
+
+There is no requirement on the test laboratory for the provision of ICS proformas for use by the client. However, the test laboratory may provide copies of the relevant ICS proformas if necessary.
+
+#### **6.4.2.3 Client role**
+
+The client shall provide a PICS for each OSI protocol specification which is implemented in the IUT and for which conformance is to be tested. The client shall provide an information object ICS for each information object which is implemented in the IUT and for which conformance is to be tested.
+
+The client shall complete the relevant ICS proformas from the relevant OSI specifications. The requirements for the provision of ICS information are stated in the relevant specifications.
+
+### **6.4.3 Profile Implementation Conformance Statement**
+
+#### **6.4.3.1 Content of the profile ICS**
+
+Detailed information on the role and scope of the profile ICS is given in 5.6.3/X.290, and basic guidance on the construction and use of the profile ICS is given in Recommendation X.296.
+
+The profile specific ICS proforma, if any, and profile Requirements List (RL) are part of the profile specification.
+
+#### **6.4.3.2 Test laboratory role**
+
+There is no requirement on the test laboratory concerning the provision of the profile RL and related base specification ICS proformas, on which the profile ICS will be based, for use by the client. However, the test laboratory may provide copies of the relevant base specification and profile specific ICS proformas and profile RL if necessary.
+
+#### 6.4.3.3 Client role
+
+The client shall provide a profile ICS for the profile which is implemented in the IUT and for which conformance is to be tested.
+
+The client shall complete the relevant profile ICS proforma. The requirements for the provision of the relevant ICS information are stated in the relevant specifications and the profile RL.
+
+### 6.4.4 Implementation extra Information for Testing (IXIT)
+
+#### 6.4.4.1 Content of the IXIT
+
+The role and scope of the IXIT are given in 6.2/X.290, and for profile related issues additions are given in Recommendation X.295. An IXIT template is given in Appendix I to give guidance on the production of IXIT proformas.
+
+#### 6.4.4.2 Test laboratory role
+
+The test laboratory shall produce an IXIT proforma for each ATS (or set of ATSs) for which testing is offered. The following list of information shall be included:
+
+- a) identification of the IXIT (e.g. name, number, date of issue, issued to);
+- b) identification of the ATS(s) (e.g. reference, Abstract Test Method);
+- c) identification of the test laboratory (e.g. name, test laboratory manager, technical authority, accreditation status);
+- d) identification of the MOT (e.g. name, version);
+- e) identification of the client (e.g. name, client test manager, required test facilities);
+- f) identification of the SUT (e.g. name, version, SCS, configuration, operating system, Upper Tester identification, date of Upper Tester validation);
+- g) information about the ancillary protocols [e.g. name, version, ICS reference(s), IXIT reference(s), PCTR reference(s)];
+- h) augmented partial IXIT proforma accompanying the MOT and associated with the reference ATS(s).
+
+The test laboratory shall provide an IXIT proforma to the client for each ATS (or set of ATSs) that is to be used during the conformance assessment process. Before issuing the IXIT proforma to the client, the test laboratory shall complete the information of a), b), c), and d) above.
+
+In case of profile testing, the test laboratory shall produce a profile IXIT proforma for each profile to be tested. This implies that besides the production of the IXIT proforma(s) for the ATS(s), the test laboratory shall produce the profile specific IXIT proforma and the profile IXIT Requirements List (XRL). The test laboratory shall ensure consistency of the cross references between the XRL and the IXIT proformas.
+
+NOTE – The test laboratory could produce the profile IXIT proforma by either producing separate IXIT proforma(s), profile specific IXIT proforma and XRL documents or by merging them together into just one document.
+
+#### 6.4.4.3 Client role
+
+The client shall provide an IXIT to the test laboratory providing the information of e) and f) of the list in 6.4.4.2 above.
+
+#### 6.4.4.4 Mutual role
+
+Test laboratory and client should fill out in collaboration the information of g) and h) of 6.4.4.2 above. For profile testing they should use the supplied profile XRL when doing this.
+
+### 6.4.5 System Conformance Statement (SCS)
+
+#### 6.4.5.1 Content of the SCS
+
+The SCS gives a summary of the protocols, profiles and information objects to which the IUT claims to conform. It also provides references to the ICS(s) and references to related test reports (if any).
+
+The role and scope of the SCS, as well as the general requirements and use of the SCS are described in Recommendation X.296.
+
+The SCS provided with the SUT may indicate if the SUT is a complete or partial (N)-open system, if it is to be tested as an end system or a relay system, and what protocols are within the SUT but not part of the IUT. For instance, if the IUT is an implementation of an Application profile covering the Application, Presentation and Session layers, the SCS may indicate which protocols or profiles are used to provide the Transport service.
+
+#### **6.4.5.2 Test laboratory role**
+
+The test laboratory may provide an SCS proforma to the client. If so, it shall comply with the relevant requirements in Recommendation X.296.
+
+#### **6.4.5.3 Client role**
+
+The client shall provide to the test laboratory an SCS as described in 6.4.6.2.
+
+### **6.4.6 Test Management Protocol (TMP) implementation statement**
+
+#### **6.4.6.1 Content of the TMP Implementation statement**
+
+The role and scope of the TMP implementation statement is given in clause 13/X.291. A proforma for the TMP implementation statement is contained in the TMP part of each conformance testing specification which uses the SPyT Coordinated Abstract Test Method or which uses a TMP in the MPyT context.
+
+#### **6.4.6.2 Test laboratory role**
+
+The test laboratory shall provide the client with the proforma for the TMP implementation statement for each ATS specification which uses a TMP and which will be used during conformance assessment.
+
+#### **6.4.6.3 Client role**
+
+The client shall provide a TMP implementation statement for each ATS specification which uses a TMP and which is to be used for testing. This is done by completing the relevant proforma provided by the test laboratory.
+
+# **7 Test operations**
+
+## **7.1 Introduction**
+
+Clause 7 specifies requirements for test operations. Figure 2 shows typical test operations. For the purpose of this clause, it is assumed that the IUT is being tested using a single standardized ATS specification. However, this clause does not exclude the IUT being tested by multiple ATSS or by a Profile Test Specification (PTS).
+
+NOTE – See Figure 3 for typical test operations for profile testing.
+
+If the IUT is to be tested using multiple ATSS or a PTS, then there shall be a single static conformance review covering all relevant ICSs and IXITs, followed by the following sequence of test operations for each ATS (or separate test suite for a PSTS) in turn:
+
+- a) test selection;
+- b) test parameterization;
+- c) TCP verification;
+- d) test campaign.
+
+The order of executing the different ATSS should be from those testing the lowest protocol(s) to those testing the highest.
+
+
+
+```
+
+graph TD
+ subgraph Test_Preparation [Test Preparation refer to Figure 1]
+ direction TB
+ ICS_SCS_IXIT["ICS(s), SCS, IXIT(s)"]
+ Base_Spec["Base Specification(s)"]
+ Static_Review["Static Conformance Review"]
+ ICS_SCS_IXIT --> Static_Review
+ Base_Spec --> Static_Review
+ end
+
+ Static_Review --> DP1(( ))
+ DP1 --> NE1["(NE)"]
+ DP1 --> Test_Selection["Test Selection"]
+
+ subgraph Operations_MOT [Operations related to the MOT for an ATS]
+ direction TB
+ Test_Selection --> Test_Param["Test Parameterization"]
+ Test_Param --> TCP_Ver["TCP Verification"]
+ TCP_Ver --> DP2(( ))
+ DP2 --> NE2["(NE)"]
+ DP2 --> Test_Campaign["Test Campaign"]
+ Test_Campaign --> Results_Log["Test Results for Conformance Log"]
+ end
+
+ Test_Selection --> Results_Log
+
+ Test_Param --> IXIT_ICCS["IXIT(s), ICS(s)"]
+ IXIT_ICCS --> Test_Param
+
+ Test_Campaign --> DP3(( ))
+ DP3 --> NE3["(NE)"]
+ DP3 --> Test_Report["Test Report Production refer to Figures 5"]
+
+ subgraph Test_Report_Production [Test Report Production refer to Figures 5]
+ direction TB
+ Test_Report
+ end
+
+```
+
+Legend:
+
+- Control Flow: Solid arrow
+- Data Flow: Solid arrow with open head
+- Decision Point: Solid circle
+- NE: Negotiated Exit
+
+Flowchart of Typical Test Operations for a single ATS. The process starts with Test Preparation, followed by Static Conformance Review. Inputs include ICS(s), SCS, IXIT(s) and Base Specification(s). A decision point leads to (NE) or Test Selection. Test Selection is part of operations related to the MOT for an ATS, receiving input from ATS. It leads to Test Parameterization (receiving IXIT(s), ICS(s)), then TCP Verification, and finally Test Campaign. Test Campaign leads to Test Results for Conformance Log and a decision point for (NE). The process ends with Test Report Production.
+
+FIGURE 2/X.294
+Typical Test Operations for a single ATS
+
+
+
+Test Preparation (refer to Figure 1)
+
+---
+
+```
+
+graph TD
+ subgraph Test_Preparation [Test Preparation]
+ P1([Profile ICS, SCS]) --> SCR[Static Conformance Review]
+ P2([Profile specification relevant base specifications]) --> SCR
+ SCR --> SCR_R([SCR results])
+ end
+
+ SCR --> DP(( ))
+ DP --> NE((NE))
+ DP --> MOT[Operations related to the MOT for an ATS
+(and/or part of a PSTS)]
+
+ subgraph Test_Report_Production [Test Report Production]
+ MOT --> TR[Test results]
+ MOT --> TRP[Test Report Production]
+ end
+
+ P3[PTS - summary] --> MOT
+ P4[Component ATS
+(and/or part of a PSTS)] --> MOT
+ P5[ICS(s), IXIT(s)] --> MOT
+
+```
+
+---
+
+T0723810-95/d03
+
+Test Report Production (refer to Figure 5)
+
+Control Flow
+ Data Flow
+ ● Decision Point
+ NE Negotiated Exit
+
+Flowchart of Typical Test Operations for Profile Testing. The process is divided into 'Test Preparation' and 'Test Report Production' by dashed lines. In Test Preparation, 'Profile ICS, SCS' and 'Profile specification relevant base specifications' feed into 'Static Conformance Review', which produces 'SCR results'. A decision point follows, leading to '(NE)' or the main operations. The main operations, 'Operations related to the MOT for an ATS (and/or part of a PSTS)', receive inputs from 'PTS - summary', 'Component ATS (and/or part of a PSTS)', and 'ICS(s), IXIT(s)'. These operations produce 'Test results' and lead to 'Test Report Production'. A reference 'T0723810-95/d03' is noted in the Test Report Production section. Control Flow arrow Data Flow arrow
+
+FIGURE 3/X.294
+**Typical Test Operations for Profile Testing**
+
+## 7.2 Static conformance review
+
+### 7.2.1 Test laboratory role
+
+7.2.1.1 During the static conformance review, the test laboratory shall analyse the ICS(s) according to the following criteria:
+
+- the ICS(s) shall be self-consistent;
+- the ICS(s) shall be consistent with the static conformance requirements specified in the base specification(s) to which the IUT is claimed to conform;
+- in the case of a profile, the profile ICS shall be consistent with the profile RL.
+
+**7.2.1.2** In the case of a profile ICS, the status values of the ICS proforma(s) are modified by applying the profile RL. In all cases the status values and any other static conformance requirements and the support answers of the ICS(s) shall be checked for consistency. These shall include:
+
+- a) For each item which has a status value of “m” (i.e. mandatory), check that the support answer is yes (e.g. “Y”).
+- b) For each item which has a status value of “o” (i.e. optional), check that the support answer is not “no answer required” (i.e. “–”).
+- c) For each set of items which have a status value of “o.n”(i.e. a set of related options), check that the support answers are consistent with the requirements (e.g. at least one is supported, or precisely one is supported).
+- d) For each item which has a conditional status value, evaluate the condition in order to determine the effective status value and then perform the check which is appropriate to that status value.
+- e) For each item which has a status value of “x” (i.e. prohibited), check that the support answer for sending is no (e.g. “N”).
+
+NOTE – A status value of “x” should not normally be used for receipt (see Recommendation X.296).
+- f) Apply the additional static conformance review checks, if any, which are specified explicitly in the ICS proforma itself.
+
+**7.2.1.3** No additional checks are needed for items which have a status value of:
+
+- a) not applicable (e.g. “n/a” or “–”);
+- b) out of scope (i.e. “i”),
+
+since all support answers, including “no answer required” (i.e. “–”), are allowed for such items.
+
+**7.2.1.4** The test laboratory shall also check the consistency of the information presented in the IXIT(s) and SCS documents provided by the client.
+
+**7.2.1.5** The test laboratory shall inform the client of the results of the static conformance review before continuing with the conformance assessment process.
+
+### **7.2.2 Client role**
+
+The client shall review the results of the static conformance review.
+
+### **7.2.3 Mutual role**
+
+If the results of the static conformance review reveal that, in the view of either the test laboratory or the client, to proceed with testing would not be productive, then a negotiated exit may be taken.
+
+## **7.3 Test selection**
+
+### **7.3.1 Test laboratory role**
+
+See Figure 4.
+
+For each chosen ATS (or test suite within the PSTS), test selection begins with the complete test suite.
+
+In the case of profile testing, the test cases from the ATS which are appropriate to the profile are listed in the PSTS. The test cases identified in this list are obtained by applying the deletions, additions and replacements with respect to the ATS, as are specified in the PSTS (see clause 9/X.295).
+
+In all other cases the ATS remains unchanged.
+
+The “ATS reference” column of the PCTR proforma shall be completed by listing all the test cases of the ATS in the order stated in the ATS specification. In the case of profile testing, any additional test cases from the PSTS and relevant to the ATS are listed in the PCTR proforma in the order stated in the PSTS after those of the ATS; any replacement test cases from the PSTS are listed in the PCTR proforma immediately after the corresponding replaced test case; any replaced or deleted test cases are denoted in the PCTR proforma by putting “N/A” or “–” in the “selected” column of the PCTR proforma.
+
+
+
+```
+
+graph TD
+ ATS([ATS]) --> GetATS[Get appropriate ATS]
+ PSTS([PSTS]) --> AddCases[Add any additional and replacement test cases]
+ PSTS --> RemoveCases[Remove any deleted and replaced test cases]
+ ICS([ICS(s), IXIT(s)]) --> EvalExpr[Evaluate selection expression]
+ ListOut([List of out of service test cases]) --> Deselect[Deselect test cases which are out of service, e.g. ETS error, or not supported in MOT]
+
+ GetATS --> AddCases
+ AddCases --> RemoveCases
+ RemoveCases --> EvalExpr
+ EvalExpr --> Deselect
+
+ GetATS --> PCTR[ATS reference]
+ AddCases --> PCTR[Selected]
+ RemoveCases --> PCTR[Run]
+ EvalExpr --> PCTR[Verdict]
+ Deselect --> PCTR[Observations]
+
+```
+
+→ Control Flow
+ → Data Flow
+
+| PCTR proforma | | | | |
+|---------------|----------|-----|---------|--------------|
+| ATS reference | Selected | Run | Verdict | Observations |
+| | | | | |
+
+Flowchart of the test selection process and listing test cases in the PCTR proforma. The process starts with inputs ATS, PSTS, ICS(s), IXIT(s), and a List of out of service test cases. These feed into a series of steps: Get appropriate ATS, Add any additional and replacement test cases, Remove any deleted and replaced test cases, Evaluate selection expression, and Deselect test cases which are out of service. The final output is a PCTR proforma table with columns for ATS reference, Selected, Run, Verdict, and Observations.
+
+T0723820-95/d04
+
+FIGURE 4/X.294
+
+#### Test selection process and listing test cases in the PCTR proforma
+
+The selection expressions associated with the relevant test cases shall be evaluated using the IUT's ICS(s) and IXIT(s) to deselect those test cases inappropriate to the IUT. The IXIT(s) shall then be checked to ensure that all the remaining test cases can be executed with the SUT, any that cannot shall be deselected. The results of this selection process are recorded in the selected column of the PCTR.
+
+The test laboratory shall then deselect test cases, if any, which are out of service for some reason (e.g. ETS error or MOT problems) and record them in the run column of the PCTR as not run.
+
+The above process is shown in schematic form in Figure 4.
+
+The resulting ATS shall cover the following:
+
+- all capability test cases for mandatory capabilities;
+- all capability test cases for optional or conditional capabilities that are claimed to be supported by the IUT according to the ICS(s);
+
+- c) all behaviour test cases for mandatory capabilities;
+- d) all behaviour test cases that are consistent with the optional or conditional capabilities that are claimed to be supported by the IUT according to the ICS(s).
+
+### **7.3.2 Client role**
+
+The client shall inform the test laboratory whether or not Basic Interconnection Testing should be performed during the test campaign.
+
+NOTE – If the standardized ATS does not identify a list of Basic Interconnection Tests, the test laboratory will not be able to accommodate this request.
+
+## **7.4 Test parameterization**
+
+### **7.4.1 Test laboratory role**
+
+**7.4.1.1** After the set of all test cases retained by test selection is determined, the information provided in the IXIT(s) shall be used to determine the appropriate values for each parameter in those test cases, in accordance with the documentation of the MOT and with the requirements of its reference ATS. The resulting Parameterized Executable Test Suite(s) [PETS(s)] is then ready to be executed, or to be generated on request.
+
+Information from the IXIT(s) [and if necessary from the ICS(s)] is used in the parameterization process. Examples of types of parameterization are:
+
+- a) values of network addresses;
+- b) values of connection end point identifiers;
+- c) values of counters;
+- d) values of timers;
+- e) encoding strategies.
+
+NOTE – This list is not exhaustive.
+
+**7.4.1.2** After parameterization, the test laboratory shall ensure that all the test cases in the Selected Abstract Test Suite(s) [SATS(s)] are present in the PETS(s).
+
+NOTE – The parameterization performed should be validated as far as possible before capability testing takes place, for example, during basic interconnection testing.
+
+### **7.4.2 Client role**
+
+There are no requirements on the client during test parameterization.
+
+## **7.5 Verification of Test Coordination Procedures**
+
+### **7.5.1 Introduction**
+
+Some level of TCP is specified or implied in every ATS specification. Upon completion of the test parameterization process, it should be verified that the MOT and the SUT are able to use the required TCP in order to carry out the test campaign.
+
+### **7.5.2 Test laboratory role**
+
+If the Local test method is to be used, or if the MPyT context is to be used, verification of the TCP used by the Lower Testers done by or for the test laboratory as part of the procedures for validating the MOT.
+
+### **7.5.3 Mutual role**
+
+If any of the test method(s) to be used for the test campaign is an SPyT test method other than the Local or the Coordinated test method, the verification of the TCP shall be informally accomplished by the test laboratory and the client.
+
+Similarly, if the MPyT context is to be used, verification of the TCP required of the Upper Testers, if any, shall be informally accomplished by the test laboratory and the client.
+
+If the Coordinated test method is to be used, the test laboratory shall verify the implementation of the TMP in the SUT. This shall be achieved by selecting the applicable TMP test cases from the ATS specification, according to the TMP implementation statement, and executing them against the Upper Tester.
+
+Regardless of the test method or the testing context, if the results of verifying the TCP are unsatisfactory to either the test laboratory or the client, then the test campaign shall not be attempted.
+
+## **7.6 Test campaign**
+
+### **7.6.1 Introduction**
+
+A test campaign is the process of executing the PETS for a particular IUT and producing the information required for the conformance log.
+
+### **7.6.2 Test laboratory role**
+
+#### **7.6.2.1 General**
+
+The test laboratory shall ensure that the MOT and test operator are available throughout the agreed test campaign period, shall invoke all of the test cases in the PETS, and shall produce the information required for the conformance log.
+
+#### **7.6.2.2 Test cases previously run**
+
+If requested by the client prior to running any test cases in the test campaign, the test laboratory shall identify which, if any, of the test cases in the PETS have been run previously using the same SUT, configured in the same way, with the same MOT. If the test laboratory identifies that there are such test cases, then the test laboratory shall discuss with the client whether or not those test cases should be rerun in this test campaign. If it is decided not to rerun any such test cases, then the verdicts from the previous occasion shall be entered into the PCTR together with a statement of the period during which those test cases were actually run.
+
+NOTE – This situation is most likely to arise when the test laboratory is testing a multi-profile non-configurable SUT for conformance to several profiles. In this case, the test cases that are common to two or more profiles for that SUT need only be run once, although their verdicts are reported in more than one PCTR.
+
+If, in profile testing, a PETS to be run for one profile is exactly the same as a PETS run previously for a different profile with the same SUT, configured in the same way, then the PCTR resulting from the previous execution of the PETS may be referenced from the SCTR for the new profile, without any of the test cases being rerun.
+
+If the SUT is configured differently for this test campaign, compared with all previous test campaigns for this SUT, then all the test cases shall be run afresh, and no verdicts from the previous test campaigns shall be reported in the PCTR for this test campaign.
+
+#### **7.6.2.3 Basic Interconnection Tests (BITs)**
+
+If BITs have been selected, the test laboratory shall invoke those test cases before running further capability and behaviour test cases. The test laboratory shall inform the client of the results of the Basic Interconnection Tests before proceeding with further test cases.
+
+NOTE – The client may wish to take a negotiated exit after analysing the results of the Basic Interconnection Tests.
+
+#### **7.6.2.4 Analysis of verdict assignments**
+
+During the test campaign, the test laboratory shall establish for each test case in the SATS, which one of the following results applies:
+
+- a) Pass verdict;
+- b) Fail verdict;
+- c) Inconclusive verdict;
+- d) abstract test case error;
+- e) executable test case error;
+- f) abnormal test case termination.
+
+NOTE 1 – If the MPyT context is used, the Lower Tester Control Function determines this by evaluating all preliminary results.
+
+For each test case that has an abstract test case error, the test laboratory shall indicate in the PCTR that the test case was “Not Run” together with the reason why.
+
+NOTE 2 – The test laboratory should progress the updating of the ATS specification to fix the error via the relevant defect reporting procedures.
+
+For each test case that produced either an executable test case error or an abnormal test case termination result, the test laboratory shall rerun the test case (unless it is certain that the result cannot change). If the same result is produced, the test laboratory shall indicate in the PCTR that the test case was “Not Run” together with the reason why.
+
+For each test case that produced an Inconclusive verdict, the test laboratory shall rerun the test case at least once. If a Pass or Fail verdict is produced during a subsequent execution, that verdict shall be recorded in the PCTR. If an Inconclusive verdict is the only verdict produced during subsequent execution(s) of the test case and the test case behaviour is the same as in previous executions, the Inconclusive verdict shall be recorded in the PCTR.
+
+For each test case that produced a Fail verdict, the test laboratory shall assess whether the verdict was associated with an unidentified test event in the abstract test case. If this is not the case, the test laboratory shall record the Fail verdict for this test case in the PCTR. However, if this is the case, the test laboratory shall determine whether there is an abstract test case error, that is, whether the event which matched the unidentified test event was valid according to the protocol and should have been defined in the abstract test case. If so, the test laboratory shall indicate in the PCTR that the test case was “Not Run” together with the reason why.
+
+While analysing the conformance log associated with a particular test case, the test laboratory might observe values in the PDUs received by the MOT which were not explicitly checked in the abstract test case. If the abstract test case does not contain explicit checks for these values, then the test laboratory shall not alter the verdict assignment because of its observation.
+
+NOTE 3 – Any observations made by the test laboratory may be recorded in section 7 of the PCTR (see Annex B) but shall be considered only as additional information for the client.
+
+Prior to entering the test report production phase, the test laboratory shall inform the client of any test cases for which it intends to record a Fail verdict in the PCTR.
+
+#### **7.6.2.5 Production of conformance log**
+
+If the client requests a conformance log for the test campaign, the test laboratory shall produce one that documents the test outcome for every execution of each test case which was requested by the client, including any repeated executions.
+
+### **7.6.3 Client role**
+
+#### **7.6.3.1 General**
+
+The client shall ensure that the SUT and, if required, an SUT operator are available throughout the agreed test campaign period. The client shall cooperate with the test laboratory to make any changes to the IUT or its environment which are required in order to enable execution of all the test cases (see 7.6.4.2) and shall review the documentation of such changes.
+
+#### **7.6.3.2 Test cases previously run**
+
+If any of the test cases in the PETS have been run previously using the same SUT, configured in the same way, with the same MOT, the client may request the test laboratory to report the previous verdicts for such test cases, rather than rerunning them.
+
+#### **7.6.3.3 Basic Interconnection Tests (BITs)**
+
+If BITs are to be run, the client shall review the results of that testing and inform the test laboratory if a negotiated exit is to be taken. The client should do this before the test laboratory proceeds with further testing.
+
+#### **7.6.3.4 Analysis of verdict assignments**
+
+There are no requirements on the client concerning analysis of verdict assignments. However, during the test campaign, the client may request a rerun of any test case that produced a Fail verdict, if not satisfied that the test case correctly diagnosed an error in the IUT.
+
+**7.6.4 Mutual role**
+
+**7.6.4.1 Test cases previously run**
+
+As the result of a request by the client, the test laboratory may identify, prior to running any test cases in the test campaign, some test cases in the PETS which have been run previously using the same SUT, configured in the same way, with the same MOT. If so, the test laboratory and client shall discuss whether or not those test cases should be rerun in this test campaign.
+
+NOTE – In this discussion, the test laboratory and client should consider carefully the consequences of not rerunning such test cases, as well as the cost saving in not rerunning them. In particular, the acceptability to all the relevant parties of the old results needs to be considered.
+
+**7.6.4.2 Changes to the test environment**
+
+Once a test campaign has started, any changes to the IUT or its environment, or to the Lower Tester and its environment, or to the Upper Tester, shall occur only if agreed by both the client and test laboratory.
+
+For the sake of consistency of the test results, such changes shall be agreed to only if they do not invalidate the results of the test cases previously executed in that test campaign. If the changes are required in order to run test cases in the executable version of the reference ATS, then the fact that the requirement comes from the reference ATS is sufficient reason to deem that those test cases do not invalidate the results of previously executed test cases.
+
+Any changes shall be documented by the test laboratory and reviewed by both the test laboratory manager and the client test manager. Based on this review, a decision shall be reached as to whether the test campaign is to be:
+
+- a) restarted;
+
+- b) continued, following the necessary revisions; or
+
+- c) discontinued by taking a negotiated exit.
+
+**7.6.4.3 Analysis of verdict assignments**
+
+If the client requests a rerun of a test case that produced a Fail verdict, the test laboratory and client shall assess whether or not the result was caused by some error in the IUT. If they are unable to establish the existence of an error in the IUT, the test laboratory shall apply the repetition procedure for test cases yielding Inconclusive verdicts (see 7.6.2.4).
+
+**7.7 Negotiated exits during the test campaign**
+
+**7.7.1 Use of a negotiated exit**
+
+During the test campaign, a negotiated exit is a point in time when the test laboratory and the client decide together that the test results up to that point do not justify continuing the conformance assessment process. The request for a negotiated exit can be made by either party.
+
+If a negotiated exit is taken as a consequence of a dispute over the result(s) of specific test case(s), then the negotiated exit shall take place before the assignment of verdict(s) to the disputed test case(s).
+
+**7.7.2 Test laboratory role**
+
+If a negotiated exit is agreed to by both the client and test laboratory, the test laboratory shall make available to the client, on request, documentation containing all the relevant information recorded during the conformance assessment process. This documentation shall, if requested by the client, include the conformance log for the test cases that were run, as defined in 6.4/X.293.
+
+In addition, the test laboratory shall provide an informal test report which does not assume the status of either an SCTR or PCTR. It shall be considered simply as guidance to the client on the results of the testing undertaken. This informal test report shall indicate the reasons why a negotiated exit was taken.
+
+NOTE – When a test campaign is terminated by a negotiated exit, diagnostic testing may proceed and further diagnostic trace information, additional to that in the conformance log, may be provided to the client, but this is outside the scope of Recommendations X.290 to X.296.
+
+20 Recommendation X.294 (04/95)
+
+### 7.7.3 Client role
+
+If a negotiated exit is taken, there are no further requirements on the client.
+
+NOTE – The client may request documentation containing all the relevant information recorded during the conformance assessment process, including the conformance log.
+
+### 7.7.4 Mutual role
+
+After a negotiated exit, conformance testing shall not be restarted except by starting a new test campaign or by initiating a new conformance assessment process.
+
+# 8 Test report production
+
+## 8.1 Conformance test reports
+
+The conformance assessment process culminates in the production by the test laboratory of two types of test report: a System Conformance Test Report; and a Protocol Conformance Test Report for each ATS executed. This is illustrated in Figure 5.
+
+The test laboratory may also produce detailed diagnostic trace information, additional to that provided in the conformance log, to accompany the test reports if requested; such information is considered to be supplemental to the test reports themselves, and there is no requirement in this Recommendation that a test laboratory shall provide it.
+
+
+
+The diagram illustrates the test report production process. A dashed line separates the top section from the main process. Above the dashed line, the text 'Test Operations (refer to Figures 2 or 3)' has a downward arrow pointing to a central rectangular box labeled 'Test report production'. To the left of this box, there are two rounded rectangular boxes: 'Test results' (with three stacked instances) and 'SCR results'. Arrows point from these boxes to the 'Test report production' box. From the 'Test report production' box, an arrow points to a rounded rectangular box on the right labeled 'PCTRs SCTR'. A legend at the bottom left indicates that a solid arrow represents 'Control Flow' and a dashed arrow represents 'Data Flow'.
+
+```
+graph TD; TO[Test Operations (refer to Figures 2 or 3)] --> TRP[Test report production]; TR[Test results] --> TRP; SCR[SCR results] --> TRP; TRP --> PCTRs[PCTRs SCTR];
+```
+
+Flowchart of Test report production process
+
+T0723830-95/d05
+
+FIGURE 5/X.294
+Test report production
+
+## **8.2 System Conformance Test Report (SCTR)**
+
+### **8.2.1 Test laboratory role**
+
+Provided that a negotiated exit was not taken during the test campaign, the test laboratory shall produce an SCTR that provides a summary of the results of the conformance testing performed on the client's SUT. If an SUT is tested for support of more than one profile, a separate SCTR shall be produced for each profile. Where the commonality between two or more profiles is such that the selection of test cases from a given ATS is identical for several profiles (e.g. several Application PTSs may be able to use the same Session test cases), a single PCTR may be produced for that ATS and may be referenced by each of the relevant SCTR. The test laboratory need not use an SCTR proforma in the production of an SCTR (e.g. it may generate its SCTR directly from an SCTR tool), but if it does use an SCTR proforma, then that proforma shall conform to the SCTR template given in Annex A. In either case, the test laboratory shall produce each SCTR in conformance with the SCTR template given in Annex A.
+
+The SCTR shall contain the list of reference ATS(s) against which testing has been carried out, together with their dates of publication and, if applicable, details of any amendments or addenda with which the IUT is claimed to conform.
+
+The SCTR shall explain briefly the nature of OSI testing and in particular that there is no guarantee that an SUT that has passed all the tests will interwork with other real open systems. (The SCTR proforma contains a paragraph for this purpose.)
+
+The SCTR shall state clearly if non-conformance has been demonstrated in any of the test cases, or if any areas of concern have been observed. Such statements should be clear and unambiguous.
+
+Section 1.8 of the SCTR shall record the agreement between the test laboratory and the client on the definition of what part(s) of the SUT are considered to be the IUT during testing, and on the Abstract Test Method(s) and ATS specification(s) to be used.
+
+The SCS shall be attached to the SCTR.
+
+The SCTR shall be made available to the client by test laboratory at the end of the conformance assessment process.
+
+### **8.2.2 Client role**
+
+There are no requirements on the client during the production of the SCTR.
+
+NOTE – The client should review the SCTR and, in the case of disagreement with the test laboratory over its content, should supply comments in section 1.9 of the SCTR.
+
+### **8.2.3 Mutual role**
+
+The test laboratory and client shall ensure that information is provided in section 1.7 of the SCTR describing any restrictions that apply to the use by the client of the SCTR, or to its release by the test laboratory.
+
+## **8.3 Protocol Conformance Test Report (PCTR)**
+
+### **8.3.1 Test laboratory role**
+
+At the client's request, the test laboratory shall provide an accompanying PCTR for each ATS which has been run during this conformance assessment process. The test laboratory need not use an PCTR proforma in the production of an PCTR (e.g. it may generate its PCTR directly from an PCTR tool), but if it does use an PCTR proforma then that proforma shall conform to the template given in Annex B. In either case, the test laboratory shall produce each SCTR in conformance with the PCTR template given in Annex B.
+
+Each PCTR shall record the conformance status of the IUT with respect to the base specification(s) which have been tested. In sections 3 and 5 of the PCTR, the test laboratory shall record the results of the static conformance review. In section 6, the test laboratory shall list all of the abstract test cases in the ATS reference column as specified in 7.3.1, together with the following information:
+
+- a) Which abstract test cases which were selected for inclusion in the PETS (see 7.3.1).
+- b) Which abstract test cases had corresponding executable test cases run to completion during the test campaign, including any Basic Interconnection Tests which were run.
+
+NOTE 1 – Test cases which are selected but reported as being “Not Run” include those which produced a test case error or an abnormal test case termination, as well as those which were out of service.
+
+- c) The verdicts assigned to those test cases that were run to completion.
+- d) Observations (if any) made by the test laboratory during the test campaign.
+
+The test laboratory may, optionally, include extra information (e.g. mappings from ATS to ETS, mapping to other PCTRs, conformance log references for test cases which led to a Fail or Inconclusive verdict).
+
+The test laboratory shall ensure that the correct set of test cases has been performed for the IUT. If the MOT has selected a test case which is not appropriate for the IUT, then the test laboratory shall not document the result of that test case in the PCTR but shall indicate that the test was “Not Run” together with the reason why. If the MOT failed to select a test case which is appropriate for the IUT, then the test laboratory shall indicate in the PCTR that the test was selected but that it was “Not Run”, together with the reason why.
+
+NOTE 2 – The test laboratory should try to correct the error in either the ATS specification (by submitting a defect report) or in the MOT, as appropriate.
+
+If no Fail verdicts are to be recorded in the PCTR, the test laboratory shall complete section 4 to indicate that “the test campaign did not reveal errors in the IUT”. If, in addition, the ICS(s) for the IUT is consistent with the static conformance requirements, the test laboratory shall complete section 1 to indicate that “the IUT has not been shown by conformance assessment to be non-conforming to the referenced base specification(s)”.
+
+The relevant ICS(s) and IXIT(s), including, if appropriate, the profile RL and profile XRL, shall be attached to the PCTR. Only one copy of each ICS or IXIT needs to be included in a single collection of SCTR(s) and PCTR(s), even if it is referenced by more than one test report.
+
+At the client’s request, the test laboratory shall also provide to the client any or all of the appropriate conformance logs, together with guidance on how to interpret them.
+
+NOTE 3 – As a minimum, the conformance logs are required to be available on paper, but it is recommended that they are also available in a machine-readable format suitable for the client.
+
+The test laboratory shall record in the PCTR the retention date for the conformance logs.
+
+NOTE 4 – It is recommended that, if available, either the ordered list of actual test events which is specific to the test system, or a machine-readable version of the conformance log, is retained until the retention date.
+
+### **8.3.2 Client role**
+
+The client shall inform the test laboratory whether or not PCTR(s) and the associated conformance logs are to be provided.
+
+NOTE – The client should review each PCTR and, in the case of disagreement with the test laboratory over its content, should supply comments in section 1.5 of the PCTR.
+
+### **8.3.3 Mutual role**
+
+The test laboratory and client shall ensure that information is provided in section 1.4 of the PCTR describing any restrictions that apply to the use by the client of the PCTR, or to its release by the test laboratory.
+
+# **9 Compliance**
+
+## **9.1 Test laboratory role**
+
+**9.1.1** A test laboratory which claims to comply with this Recommendation shall:
+
+- a) for each SUT for which it carries out conformance assessment, comply with the requirements stated under the subclauses entitled “Test laboratory role” and “Mutual role” for
+ - 1) the preparation for testing, as stated in clause 6;
+ - 2) test operation, as stated in clause 7;
+ - 3) test report production, as stated in clause 8 and Annexes A and B;
+- b) test each IUT by means of conformance testing specifications which comply with Recommendation .291, and if appropriate by a PTS which complies with Recommendation X.295, using MOT which comply with Recommendation X.293.
+
+**9.1.2** In addition, if a test laboratory claims to provide a comprehensive conformance testing service for a specific base specification or combination of base specifications, then it shall comply with the requirements for a comprehensive conformance testing service stated in the relevant conformance testing specification(s) and in Recommendation X.291.
+
+### NOTES
+
+1 There is no requirement in Recommendations X.290 to X.296 that a test laboratory has to offer a comprehensive conformance testing service for any specific base specification.
+
+2 There is a requirement on test suite specifiers, in 11.6.2/X.291, that they are to state the minimum requirements which are to be met by test laboratories in order to claim a comprehensive conformance testing service for the relevant base specification(s).
+
+3 If there is more than one ATS specification for the same base specification, then a test laboratory can be said to provide a comprehensive conformance testing service even if it meets the requirements for such a service in only one of them. This could arise for example if the ITU-T Recommendation and International Standard ATSs differ for the same test method and the same base specification.
+
+**9.1.3** A test laboratory which makes a claim of conformance to the conformance testing specification(s) or PTS-Summary used for the conformance assessment, shall [in addition to satisfying the requirements stated in the conformance testing specification(s) and PTS-Summary if any] comply with the requirements stated under the subclauses entitled “Test laboratory role” and “Mutual role” for
+
+- a) test selection, as stated in 7.3;
+- b) test parameterization, as stated in 7.4;
+- c) the test campaign, as stated in 7.6.
+
+## **9.2 Client role**
+
+A client which claims to comply with this Recommendation shall, for each SUT presented for conformance assessment, comply with the requirements stated under the subclauses entitled “Client role” and “Mutual role” throughout clauses 6, 7 and 8.
+
+# Annex A
+
+## System Conformance Test Report (SCTR) *template*4) (This annex forms an integral part of this Recommendation)
+
+## A.1 Introduction
+
+This annex provides an SCTR template which shall be used either to create an SCTR proforma or to create the completed SCTR which documents the results of a conformance assessment process for a specific client.
+
+The text in *underlined italics* is intended as guidance for the production of an SCTR proforma.
+
+The text in *italics* but not underlined is intended as guidance for the production of an SCTR by the test laboratory.
+
+The name of the test laboratory, the SCTR number, the page number and the total number of pages should appear on every page of the SCTR.
+
+The SCS for an SUT/IUT may specify zero, one or several profiles for which conformance assessment is required. Section 1.5 of the SCTR template shall be stated to be not applicable in the SCTR proforma or completed SCTR if it does not relate to profile testing. Otherwise it shall contain the actual references relevant to a single profile. Thus, for profile testing, the conformance assessment process of each profile shall result in a separate SCTR.
+
+The package of documents produced as a result of the conformance assessment process (i.e. SCTR, PCTR, SCS, ICS, IXITs) shall include at least one copy of each relevant document but need not include more than one. Thus, “reference to attached document” in this proforma means “reference to a copy of the document included in the package of documents”.
+
+Section 2.n of the SCTR template shall be used to generate as many sections 2.n in the SCTR proforma and in the SCTR, as there are test suites used, in accordance with the PTS-Summary or as required by the definition of what is to be tested in the SCS.
+
+## A.2 Conformance
+
+An SCTR proforma conforms to the SCTR template given in this annex provided that:
+
+- a) no items are omitted from the template, although they may be translated into another natural language as well as or instead of the English language text given in the template;
+- b) the order of items is as specified in the template;
+- c) text in *underlined italics* is replaced by the required information (e.g. profile identification) or is used to generate the tailored proforma (e.g. generation of 2.n sections) which may affect the general presentation and pagination;
+- d) text in *italics* and/or a translation of it into another natural language is included;
+
+An SCTR conforms to the SCTR template given in this annex provided that, in addition to the above,
+
+- e) text in *italics* (or its translation) is replaced or complemented by information relevant to the conformance assessment process.
+
+## A.3 SCTR proforma
+
+The SCTR shall use the format given in the following pages:
+
+---
+
+4) Copyright release for SCTR Proformas.
+
+Users of this Recommendation may freely reproduce the SCTR template in this annex so that it can be used for its intended purpose and may further publish the completed SCTR.
+
+## System Conformance Test Report for *SUT Name*
+
+### 1. IDENTIFICATION SUMMARY
+
+#### 1.1 SYSTEM CONFORMANCE TEST REPORT
+
+SCTR Number: *Reference number*
+SCTR Date: *Date*
+Test Laboratory Manager: *Name*
+Signature: *Signature*
+
+#### 1.2 TEST LABORATORY
+
+Identification: *Name, address, etc.*
+
+#### 1.3 CLIENT
+
+Identification: *Name, address, etc.*
+
+#### 1.4 SUT
+
+Name: *System name*
+Version: *System version*
+Supplier: *Name*
+Period of Testing: *Dates*
+Date of Receipt of SUT: *Date*
+or
+Location of SUT for Testing: *Location*
+SCS Identifier: *Reference to attached document*
+
+#### 1.5 PROFILE
+
+Profile identification5) : *Identification*
+Profile version5) : *Reference*
+PTS-Summary reference5) : *Reference*
+PSTS reference5) : *Reference*
+Profile ICS5) : *Reference to attached document(s)*
+Profile IXIT5) : *Reference to attached document(s)*
+
+---
+
+5) Only needed if relevant.
+
+#### 1.6 NATURE OF CONFORMANCE TESTING
+
+The purpose of Conformance Testing is to increase the probability that different implementations can interwork. However, the complexity of OSI protocols makes exhaustive testing impractical on both technical and economic grounds. Furthermore, there is no guarantee that an SUT which has passed all the relevant test cases conforms to a specification. Neither is there any guarantee that such an SUT will interwork with other real open systems. Rather, the passing of the test cases gives confidence that the SUT has the stated capabilities and that its behaviour conforms consistently in representative instances of communication.
+
+#### 1.7 LIMITS AND RESERVATIONS
+
+*Additional information relevant to the technical contents or further use of the test report, or to the rights and obligations of the test laboratory and the client, may be given here. Such information may include restrictions on the publication of the report.*
+
+The test results presented in this test report apply only to the particular SUT and component IUTs declared in sections 1.4 and 1.8 of this SCTR, for the functionality described in the referenced SCS and in the ICS(s) referenced in each PCTR, as presented for test in the period declared in section 1.4 and configured as declared in the relevant IXIT(s) referenced in each PCTR. This SCTR may not be reproduced except in full together with its SCS.
+
+#### 1.8 RECORD OF AGREEMENT
+
+*A definition of what part(s) of the SUT were considered to be the IUT(s) during testing, and of the Abstract Test Method(s) and abstract test suite(s) that were used.*
+
+| IUT definition reference | Component | ATS reference | ATM(s) |
+|--------------------------|-----------|---------------|--------|
+| | | | |
+| | | | |
+| | | | |
+
+*The above table gives guidance to the nature of the information which may appear in the record of agreement. Here the ‘‘IUT definition reference’’ means the full reference of the IUT to be tested by the referenced ATS. A ‘‘component’’ identifies the protocol(s) and/or information object(s) which are to be tested. The ‘‘ATM(s)’’ contains a list of Abstract Test Methods used by the ATSs and also indicates if MPyT test methods are used.*
+
+#### 1.9 COMMENTS
+
+*Additional comments may be given by either the client or test laboratory on any of the contents of the SCTR, for example, to note disagreement between the two parties.*
+
+### 2. SYSTEM REPORT SUMMARY
+
+*For each component (i.e. protocol or set of protocols and/or information objects) tested, a summary of the testing and conformance status of the implementation of that component is required, using clauses of the format shown below.*
+
+#### **2.n TESTING SUMMARY FOR *Component Name***
+
+| | |
+|-----------------------------------------------------|------------------------------------------|
+| Accreditation status: | Reference |
+| Accreditation reference: | Reference |
+| Implementation identifier: | Name and version number |
+| IUT definition reference: | Reference from section 1.8 |
+| Protocol specification(s) 6) : | Reference(s) |
+| Information object specification(s) 6) : | Reference(s) |
+| ICS(s) 6) : | Reference to attached document(s) |
+| IXIT(s) 6) : | Reference to attached document(s) |
+| PCTR Number: | Reference to attached document |
+| PCTR Date: | Date of PCTR |
+| ATS specification(s) 7) : | Reference(s) |
+| Abstract Test Method(s): | Identification of method(s) |
+| Means of Testing identifier: | Name and version number |
+| Conformance Status: | |
+| Static Conformance errors?: | Yes/No |
+| Dynamic Conformance errors?: | Yes/No |
+| Test cases run: | Number |
+| Passed: | Number |
+| Failed: | Number |
+| Inconclusive: | Number |
+
+Observations (optional):
+
+*If the SUT is not statically and dynamically conforming for this component, an additional summary may be given on aspects of non-conformance. Any difficulties encountered may be reported here.*
+
+---
+
+6) In the case of a component consisting of more than a single protocol, it is possible to have more than one reference.
+
+7) In the case of common and specific parts, it is possible to have more than one reference.
+
+# Annex B
+
+## Protocol Conformance Test Report (PCTR) *template*8)
+
+(This annex forms an integral part of this Recommendation)
+
+## B.1 Introduction
+
+This annex provides a PCTR template which shall be used to create either a PCTR proforma or a completed PCTR to document the results of conformance testing against a specific component (i.e. a base specification or combination of base specifications) using a particular ATS specification or test suite within a PSTS, for a specific client. A component may cover one or more protocols, possibly together with one or more information objects, provided that all are tested by the one test suite.
+
+The text in *underlined italics* is intended as guidance for the production of a PCTR proforma.
+
+The text in *italics* but not underlined is intended as guidance for the production of a PCTR by the test laboratory.
+
+The name of the test laboratory, the PCTR number, the page number and the total number of pages should appear on every page of the PCTR.
+
+The package of documents produced as a result of the conformance assessment process (i.e. SCTR, PCTR, SCS, ICS, IXIT) shall include at least one copy of each relevant document but need not include more than one. Thus, “reference to attached document” in this proforma means “reference to a copy of the document included in the package of documents”.
+
+If an SUT is tested for support of multiple profiles, a PCTR may be wholly relevant to more than one profile, provided that the required test cases are identical, the SUT configuration is the same and the MOT is the same. In other cases, a subset of the results reported in one PCTR may be relevant to another PCTR, provided that the SUT configuration is the same and the MOT is the same, in which case the results shall be reported in each relevant PCTR even if the test cases have only been run once.
+
+## B.2 Conformance
+
+A PCTR proforma conforms to the PCTR template given in this annex provided that:
+
+- a) no items are omitted from the template, although they may be translated into another natural language as well as or instead of the English language text given in the template;
+- b) the order of items is as specified in the template;
+- c) text in *underlined italics* is replaced by the required information (i.e. profile RL identification);
+- d) text in *italics* and/or a translation of it into another natural language is included;
+
+A PCTR conforms to the PCTR template given in this annex provided that, in addition to the above,
+
+- e) text in *italics* (or its translation) is replaced or complemented by information relevant to the conformance assessment process.
+
+## B.3 PCTR proforma
+
+The PCTR shall use the format given in the following pages:
+
+---
+
+8) Copyright release for PCTR Proformas.
+
+Users of this Recommendation may freely reproduce the PCTR template in this annex so that it can be used for its intended purpose and may further publish the completed PCTR.
+
+## Protocol Conformance Test Report for *Component Description*
+
+### 1. IDENTIFICATION SUMMARY
+
+#### 1.1 PROTOCOL CONFORMANCE TEST REPORT
+
+PCTR Number: *Reference number*
+PCTR Date: *Date*
+Test laboratory: *Identification*
+Accreditation status: *Reference*
+Accreditation reference: *Reference*
+Technical Authority: *Name*
+Job Title: *Name*
+Signature: *Signature*
+Test Laboratory Manager: *Name*
+Signature: *Signature*
+
+#### 1.2 IUT
+
+Name: *Implementation name*
+Version: *Implementation version*
+Protocol specification(s)9) : *Reference(s)*
+Information object specification(s)9) : *Reference(s)*
+ICS(s)9) : *Reference to attached document(s)*
+Profile RL10) : *Reference to attached document*
+Profile Specific ICS10) : *Reference to attached document*
+
+#### 1.3 TESTING ENVIRONMENT
+
+IXIT(s): *Reference to attached document*
+Profile XRL10) : *Reference to attached document*
+Profile Specific IXIT10) : *Reference to attached document*
+ATS specification11) : *Reference(s)*
+Abstract Test Method(s): *Identification of SPyT test method(s) ‘Multi-Party’*
+Means of Testing identification: *Identification*
+Period of testing: *Dates*
+Conformance Log reference(s): *Information required to obtain conformance logs*
+Retention Date for Log reference(s): *Date*
+
+---
+
+9) In the case of a component consisting of more than a single protocol, it is possible to have more than one reference.
+
+10) Only needed if relevant.
+
+11) In the case of common and specific parts, it is possible to have more than one reference.
+
+#### 1.4 LIMITS AND RESERVATIONS
+
+*Additional information relevant to the technical contents or further use of the test report, or to the rights and obligations of the test laboratory and the client, may be given here. Such information may include restrictions on the publication of the report.*
+
+The order of test cases listed in section 6 of this PCTR corresponds to the ordering of test cases defined in the ATS referenced in section 1.3. This does not indicate that the test cases were executed in this order.
+
+The test results presented in this test report apply only to the particular IUT declared in section 1.2 of this PCTR, for functionality described in the relevant ICS(s) attached to this PCTR, as presented for test in the period declared in section 1.3 and configured as declared in the relevant IXIT(s) attached to this PCTR. This PCTR shall not be reproduced except in full together with its attached ICS(s) and IXIT(s).
+
+#### 1.5 COMMENTS
+
+*Additional comments may be given by either the client or the test laboratory on any of the contents of the PCTR, for example, to note disagreement between the two parties.*
+
+### 2. IUT CONFORMANCE STATUS
+
+This IUT has/has not been shown by conformance assessment to be non-conforming to the referenced base specification(s).
+
+*Strike the appropriate words in this sentence; if the ICS(s) for this IUT is consistent with the static conformance requirements (as specified in section 3 of this report) and there are no “Fail” verdicts to be recorded (in section 6) strike the word “has/”, otherwise strike the words “/has not”.*
+
+### 3. STATIC CONFORMANCE SUMMARY
+
+The ICS(s) for this IUT is/is not consistent with the static conformance requirements in the referenced base specification(s).
+
+*Strike the appropriate words in this sentence.*
+
+### 4. DYNAMIC CONFORMANCE SUMMARY
+
+The test campaign did/did not reveal errors in the IUT.
+
+*Strike the appropriate words in this sentence; if there are no “Fail” verdicts to be recorded in section 6 of this report, strike the word “did/”, otherwise strike the words “/did not”.*
+
+*In addition, a summary of the results of groups of test cases may be given. The detailed results of testing are provided in the table of section 6. This summary may, for example, give totals for the number of passes, fails and inconclusives in each test group, and also allow the test laboratory to make observations on those results, such as “All the test cases concerned with segmented data transfer failed.”*
+
+### 5. STATIC CONFORMANCE REVIEW REPORT
+
+*If section 3 indicates non-conformance, this section itemises the mismatches between the ICS(s) and the static conformance requirements of the referenced base specification(s).*
+
+### 6. TEST CAMPAIGN REPORT
+
+*This section shall use the following table which indicates both the test case selection that was performed by the test laboratory, and the results of testing. The list of abstract tests cases shall appear in this table in the same order as defined in the ATS specification and if relevant the PSTS specification (see 7.3.1). Notes on the information that the test laboratory shall complete in the columns are provided below, and referenced as n.*
+
+The table below indicates the minimum information which is required, additional columns may be added for attaching other information which may be provided, e.g. mappings from ATS to ETS or conformance log reference for test cases that led to Fail or Inconclusive verdicts.
+
+| ATS Reference | Selected? | Run? | Verdict | Observations |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------|--------------|-------------|--------------|
+| Reference a) | Yes/No b) | Yes/No c) | P/F/I d) | Any e) |
+| a) Reference to the abstract test case from the ATS specification or PSTS specification. This should be the same as the test purpose identifier in the TSS&TP. If not, a mapping between abstract test case references and test purpose identifiers shall be provided.
b) Indicate whether the test case was selected for execution against the IUT identified in section 1.2 according to the analysis of the information in the ICS(s) and IXIT(s) for the IUT. If the test case is deselected on the basis of the IXIT(s) then the test laboratory shall indicate why, by use of the observation column, by reference to the relevant IXIT(s) clause. The test laboratory may also provide clarification regarding which ICS entries led to the test case deselection, whether the deselection is as a result of evaluating the selection expression or directly as a result of ICS entries. If the test case is replaced, or deleted, on the basis of the PSTS, then this shall be indicated by an entry of "N/A" or "-". The test laboratory may provide further clarification of such replacements and deletions in the observations column.
c) If the test was selected, indicate whether or not the test was run to completion. If the status of the test was "Not Run", indicate why by use of the observation column (as defined in 7.6.2.4).
d) Enter the verdict as assigned during the test campaign for each test case run.
e) Enter an observation or a reference to any relevant observations made in section 7 of this PCTR.
| | | | |
+
+### 7. OBSERVATIONS
+
+Additional information relevant to the technical content of the PCTR may be given here.
+
+# Appendix I
+
+## Skeleton IXIT *template*12)
+
+(This appendix does not form an integral part of this Recommendation)
+
+## I.1 Introduction
+
+This appendix provides a skeleton structure for an IXIT proforma, suitable for use in the production of a Protocol IXIT proforma, information object IXIT proforma or profile specific IXIT proforma. The test laboratory should use this appendix to produce a comprehensive IXIT proforma of the same structure related to a specific ATS or PSTS and the corresponding MOT.
+
+NOTE – This skeleton IXIT proforma is not oriented to any specific protocols, profile test methods or MOT and therefore should be modified and expanded as required by individual circumstances.
+
+Text in *underlined italics* is guidance for the test laboratory to be replaced by the relevant information specific to the conformance assessment process when generating each IXIT proforma.
+
+Text in *italics* is guidance for the client and should be retained in each IXIT proforma.
+
+As the IXIT is normally used in conjunction with the corresponding ICS, it should not unnecessarily duplicate information provided by the ICS, other than that required to identify the client, the SUT and the base specification(s) and profiles(s) if any to be tested. Cross references should be provided in the IXIT to sections of the ICS wherever appropriate.
+
+Where the client and the test laboratory agree that large amounts of information are necessary to enable testing to be performed, the IXIT should reference the appropriate documentation, rather than reproducing it.
+
+The IXIT information relates mainly to the protocol(s) and information object(s), if any, to be tested. However, additional information relating to the ancillary layers (both higher and lower) involved in testing the IUT will also be required. The scope of this ancillary information will be dependent on the protocol(s) and information object(s) to be tested, the test method(s) and the MOT, but may include protocol and addressing information for each ancillary layer in the SUT [see 6. of IXIT proforma (“Ancillary protocols”)].
+
+Although the IXIT is intended primarily to provide information about the testing environment of the IUT to the test laboratory, it is also useful to incorporate into the IXIT that information (or references to it) which the client requires in order to prepare the SUT. The test laboratory incorporates this information into the IXIT proforma that is supplied to the client for completion. Examples include Lower Tester information (e.g addresses, timer values and parameter values) and the configuration of the ancillary layers to be used for testing.
+
+## I.2 IXIT proforma
+
+The IXIT proforma should use the format given in the following pages.
+
+---
+
+12) Copyright release for IXIT proformas
+
+Users of this Recommendation may freely reproduce the IXI template in this appendix so that it can be used for its intended purpose and may further publish the completed IXIT.
+
+### IXIT Proforma for ATS or PSTS Name
+
+### 1. IDENTIFICATION SUMMARY
+
+*This section is completed by the test laboratory.*
+
+IXIT Number: Reference number
+
+Test Laboratory Name: Name
+
+Date of Issue: Date
+
+Issued to: Name of client
+
+*The test laboratory may include client or contract references in the identification summary.*
+
+### 2. ABSTRACT TEST SUITE SUMMARY
+
+*This section is completed by the Test Laboratory.*
+
+Protocol specification(s): Protocol(s) to be tested
+
+Information object specification(s): Information object(s) to be tested, if any
+
+ATS specification: ATS or PSTS reference
+
+Abstract Test Method(s): Abstract Test Method(s) used in the ATS or PSTS
+
+### 3. TEST LABORATORY
+
+*This section is completed by the Test Laboratory.*
+
+Test Laboratory Identification: Name and addressing details
+
+Accreditation status of the test service: Accreditation status
+
+Accreditation reference: Accreditation reference
+
+Test Laboratory Manager: Name
+
+Test Laboratory contact: Name
+
+Means of Testing: Identification of MOT, including version number
+
+Instructions for Completion:
+
+*The test laboratory should include any special instructions necessary for the completion and return of the proforma by the client.*
+
+#### 4. CLIENT
+
+*This section is completed by the client and contains information to identify the client. Typically, this should include:*
+
+Client Identification: Name and addressing details
+
+Client Test Manager: Name
+
+Client contact: Name
+
+Test Facilities Required:
+
+*The client should record the particular facilities required for testing, if a range of facilities is provided by the test laboratory.*
+
+#### 5. SUT
+
+*This section is completed by the client.*
+
+Name: *System name*
+
+Version: *System version*
+
+SCS Reference: *Reference*
+
+Machine Configuration: *Machine on which the SUT is mounted*
+
+Operating System Identification: *Operating system on which IUT is mounted*
+
+Upper Tester Identification: *Identification, if any*
+
+Upper Tester Validation Date: *Date, if appropriate*
+
+IUT Identification: *Implementation name*
+
+ICS(s) *Reference(s) to ICS(s) for the IUT*
+
+Limitations of the SUT:
+
+*The client may provide information explaining if any of the abstract test cases cannot be executed, e.g. non-realization of ASPs if the Remote test method is used.*
+
+Environmental Conditions:
+
+*The test laboratory may specify the normal environmental conditions applying to the laboratory to be used for testing (e.g. temperature, humidity). The client should specify any tighter environmental conditions that may be necessary for the correct operation of the SUT.*
+
+#### 6. ANCILLARY PROTOCOLS
+
+*This section is completed by the client in conjunction with the test laboratory.*
+
+*In the following table, the client identifies relevant information concerning each ancillary protocol of the SUT:*
+
+| Protocol Name | Version No. | PICS Ref. (opt.) | PIXIT Ref. (opt.) | PCTR Ref. (opt.) |
+|---------------|-------------|------------------------|-------------------------|------------------------|
+| | | | | |
+| | | | | |
+
+*One clause is required for each ancillary protocol included in the SUT other than the IUT itself. The information required is dependent on the MOT and the SUT, and covers all the addressing, parameter values, timer values and facilities (relevant to ITU-T Recommendations) as defined by the PICS for each protocol.*
+
+### 7. PROTOCOL INFORMATION (for *Protocol Name*)
+
+*This section is completed by the test laboratory and client in consultation. This section applies only to Protocol IXIT proformas.*
+
+#### 7.1 PROTOCOL IDENTIFICATION
+
+Specification reference: *Reference including edition*
+
+Protocol version: *Protocol version number*
+
+PICS reference: *Reference*
+
+#### 7.2 IUT INFORMATION
+
+*This subsection should include such items as addresses, parameter values and timer values required to test the IUT. It should be a refinement of the information provided in the PICS for the relevant protocol, but not conflict with it. Furthermore, it should include test suite parameters where they are identified in the test specification.*
+
+##### 7.2.1 Addresses
+
+*This subsection should identify the Service Access Point addresses to be used:*
+
+- a) by the Lower Tester(s) to access the IUT (provided by the client);*
+- b) by the SUT to access the Lower Tester(s) (provided by the test laboratory).*
+
+##### 7.2.2 Parameter Values
+
+| Parameter Name | Parameter Type | PICS Clause | Parameter Range | Parameter Value |
+|----------------|----------------|-------------|-----------------|-----------------|
+| | | | | |
+| | | | | |
+
+*The client provides the parameter range and the exact parameter value to be used is agreed between the client and the test laboratory.*
+
+##### 7.2.3 Timer Values
+
+| Timer Name Type | PICS Clause | Timer Range | Timer Value |
+|-----------------|-------------|-------------|-------------|
+| | | | |
+
+##### 7.2.4 Procedural Information
+
+*This subsection should identify requirements for testing, placed by the ATS or PSTS specification, which may not be realizable by the SUT and which may result in abstract test cases which cannot be executed; for example, if the Remote test method is used, non-realization of the control of sending a particular PDU by the IUT, i.e. as required by the TTCN Implicit Send statement.*
+
+#### 8. INFORMATION OBJECT INFORMATION (for *Information Object Name*)
+
+*This section applies only to information object IXIT proformas.*
+
+#### 8.1 INFORMATION OBJECT IDENTIFICATION
+
+Object identifier: *Object identifier*
+Specification reference: *Reference including edition*
+ICS reference: *Reference*
+
+#### 8.2 IUT INFORMATION
+
+*This subsection should include such items as parameter values which are related to the information object and which are required to test the IUT. It should be a refinement of the information provided in the ICS for the relevant information object, but not conflict with it. Furthermore, it should include test suite parameters where they are identified in the test specification.*
+
+##### 8.2.1 Parameter Values
+
+| Parameter Name | Parameter Type | ICS Clause | Parameter Range | Parameter Value |
+|----------------|----------------|------------|-----------------|-----------------|
+| | | | | |
+
+*The client provides the parameter range and the exact parameter value to be used is agreed between the client and the test laboratory.*
+
+##### 8.2.2 Procedural Information
+
+*This subsection should identify requirements for testing, placed by the ATS or PSTS specification, which may not be realizable by the SUT and which may result in abstract test cases which cannot be executed.*
+
+### 9. PROFILE SPECIFIC INFORMATION (for *Profile Name*)
+
+*This section applies only to profile specific IXIT proformas.*
+
+##### 9.1 PROFILE IDENTIFICATION
+
+Profile identifier: *Identifier from ISO/IEC TR 10000-2 taxonomy*
+Specification reference: *Reference including edition*
+Profile specific ICS reference: *Reference*
+
+#### 9.2 CONFIGURATION INFORMATION
+
+*This subsection should include information on how the SUT is to be configured for testing its conformance to the identified profile. This should be specified in sufficient detail to allow the test campaign(s) to be reproduced with the same configuration of the SUT at a later date, if this should prove to be necessary.*
\ No newline at end of file
diff --git a/marked/X/T-REC-X.3-200003-I_PDF-E/raw.md b/marked/X/T-REC-X.3-200003-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..7aab3d1e524d577914a0f735330126b29adda7aa
--- /dev/null
+++ b/marked/X/T-REC-X.3-200003-I_PDF-E/raw.md
@@ -0,0 +1,1135 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, crossed by a lightning bolt.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.3
+
+(03/00)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS
+
+Public data networks – Services and facilities
+
+---
+
+**Packet assembly/disassembly facility (PAD) in a
+public data network**
+
+ITU-T Recommendation X.3
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS **DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS**
+
+| | |
+|-----------------------------------------------|-----------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# **ITU-T RECOMMENDATION X.3**
+
+## **PACKET ASSEMBLY/DISASSEMBLY FACILITY (PAD) IN A PUBLIC DATA NETWORK**
+
+### **Summary**
+
+This Recommendation describes the functions performed by, and operational characteristics of, the PAD for the start-stop mode DTE. It provides the operation of the PAD depending on the possible values of PAD parameters. This revision includes a new parameter for the selection of the default packet size and additional PAD service and command signals for Chinese extended dialogue mode.
+
+###### **Source**
+
+ITU-T Recommendation X.3 was revised by ITU-T Study Group 7 (1997-2000) and was approved under the WTSC Resolution No. 1 procedure on 31 March 2000.
+
+### FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+### NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+### INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2000
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+### CONTENTS
+
+| | Page |
+|------------------------------------------------------------------------------------------------|-------------|
+| Scope ..... | 1 |
+| 1 Description of the basic functions and user selectable functions of the PAD..... | 2 |
+| 1.3 Functions of the PAD..... | 2 |
+| 1.4 User selectable functions which may be provided by the PAD..... | 2 |
+| 2 Characteristics of PAD parameters..... | 5 |
+| 2.4 Determination of the values of PAD parameters..... | 5 |
+| 3 List of PAD parameters and possible values ..... | 5 |
+| 3.1 PAD recall using a character..... | 6 |
+| 3.2 Echo ..... | 6 |
+| 3.3 Selection of data forwarding character(s)..... | 6 |
+| 3.4 Selection of idle timer delay..... | 6 |
+| 3.5 Ancillary device control..... | 7 |
+| 3.6 Control of PAD service signals and PAD command signals..... | 7 |
+| 3.7 Selection of operation of PAD on receipt of break signal from the start-stop mode DTE..... | 8 |
+| 3.8 Discard output ..... | 8 |
+| 3.9 Padding after carriage return ..... | 8 |
+| 3.10 Line folding..... | 8 |
+| 3.11 Binary speed..... | 8 |
+| 3.12 Flow control of the PAD by the start-stop mode DTE..... | 9 |
+| 3.13 Linefeed insertion after carriage return ..... | 9 |
+| 3.14 Linefeed padding..... | 10 |
+| 3.15 Editing..... | 10 |
+| 3.16 Character delete..... | 10 |
+| 3.17 Line delete..... | 10 |
+| 3.18 Line display..... | 10 |
+| 3.19 Editing PAD service signals..... | 11 |
+| 3.20 Echo mask ..... | 11 |
+| 3.21 Parity treatment..... | 11 |
+| 3.22 Page wait ..... | 12 |
+| 3.23 Size of input field ..... | 12 |
+| 3.24 End-of-frame ..... | 12 |
+| 3.25 Selection of extended data forwarding signals..... | 12 |
+| 3.26 Display interrupt..... | 13 |
+| 3.27 Confirmation of display interrupt..... | 13 |
+| 3.28 Diacritic character editing ..... | 13 |
+| 3.29 Extended echo mask..... | 14 |
+| 3.30 Selection of the default packet size ..... | 14 |
+
+
+
+## **PACKET ASSEMBLY/DISASSEMBLY FACILITY (PAD) IN A PUBLIC DATA NETWORK**
+
+*(revised in 2000)*
+
+### **Scope**
+
+The establishment in various countries of public data networks providing packet switched data transmission services creates a need to produce standards to facilitate access from the public telephone network, circuit switched public data networks and leased circuits.
+
+The ITU-T,
+
+*considering*
+
+- a) that Recommendations X.1 and X.2 define the user classes of service and user facilities in public data networks, Recommendation X.96 defines call progress signals, Recommendation X.29 defines the procedures between a packet assembly/disassembly facility (PAD) and a packet mode DTE or another PAD, Recommendation X.28 defines the DTE/DCE interface for a start-stop mode DTE accessing the PAD;
+- b) that the logical control links for packet switched data transmission services are defined in Recommendation X.92, and that in particular Recommendation X.92 allows for the incorporation of a PAD;
+- c) the urgent need to allow interworking between a start-stop mode DTE on a public switched telephone network, a public switched data network or leased circuit, and a packet mode DTE or another start-stop mode DTE using the virtual call facility of the packet switched data service;
+- d) that DTEs operating in the start-stop mode will send and receive network control information and user information in the form of characters or the break signals;
+- e) that DTEs operating in the packet mode will send and receive network control information and user information in the form of packets in accordance with Recommendation X.25;
+- f) that the packet mode DTE shall not be obliged to use the control procedures for PAD functions, but that some packet mode DTEs may wish to control specific functions of the PAD,
+
+*recommend*
+
+- 1) that the functions performed by, and operational characteristics of, the PAD for the start-stop mode DTE are described below in clause 1, *Description of the basic functions and user selectable functions of the PAD*;
+- 2) that the operation of the PAD for the start-stop mode DTE should depend on the possible values of internal variables known as PAD parameters which are described below in clause 2, *Characteristics of PAD parameters*;
+- 3) that the PAD parameters for the start-stop mode DTE and their possible values should be those which are listed below in clause 3, *List of PAD parameters and possible values*;
+- 4) that the PAD features described in clauses 1, 2 and 3 could be expanded by future studies to allow interworking with non packet mode DTEs other than start-stop mode DTEs.
+
+### 1 Description of the basic functions and user selectable functions of the PAD
+
+**1.1** The PAD performs a number of functions and exhibits operational characteristics. Some of the functions allow either or both the start-stop mode DTE and the packet mode DTE (or remote PAD) to configure the PAD so that its operation is adapted to the start-stop mode DTE characteristics, and possible to the application.
+
+**1.2** The operation of the PAD depends on the value of the set of internal variables called PAD parameters. This set of parameters exists for each start-stop mode DTE independently. The current value of each PAD parameter defines the operational characteristics of its related function.
+
+#### 1.3 Functions of the PAD
+
+**1.3.1** Basic functions include:
+
+- assembly of characters into packets;
+- disassembly of the *user data* field of packets;
+- handling of virtual call set-up and clearing, resetting and interrupt procedures;
+- generation of service signals;
+- a mechanism for forwarding packets when the proper conditions exist, e.g., when a packet is full or an idle timer expires;
+- a mechanism for transmitting data characters, including start, stop and parity elements as appropriate to the start-stop mode DTE;
+- a mechanism for handling a *break* signal from the start-stop mode DTE;
+- editing of *PAD command* signals;
+- a mechanism for setting and reading the current value of PAD parameters.
+
+**1.3.2** Optional functions include:
+
+- a mechanism for the selection of a standard profile;
+- automatic detection of data rate, code, parity and operational characteristics;
+- a mechanism for the remote DTE to request a virtual call between the start-stop mode DTE and another DTE.
+
+### 1.4 User selectable functions which may be provided by the PAD
+
+A number of packet-switched data network facilities may be available either on a subscription basis or on a per call basis, to start-stop mode DTEs as described in Recommendation X.2 for user classes of service 20 to 22. In addition, the following features may be available on a subscription basis:
+
+- selection of an initial profile;
+- modem type, speed, code and parity to be used by the PAD;
+- other operational characteristics of the DTE.
+
+As defined in this Recommendation, parameters provide for functions which concern:
+
+- management of the procedure between the start-stop mode DTE and the PAD;
+- management of the assembly and disassembly of packets;
+- a number of additional functions related to the operational characteristics of the start-stop mode DTE;
+- a number of additional functions related to videotex applications.
+
+The method for the control of these functions is specified in Recommendation X.28 for the start-stop mode DTE and in Recommendation X.29 for the packet mode DTE or for another PAD.
+
+Table 1 shows details of the valid values and combination of values of PAD parameters standardized by ITU-T. Other values and combinations of values are for further study.
+
+#### **1.4.1 PAD recall using a character**
+
+This function allows the start-stop mode DTE to initiate an escape from the *data transfer* state or the *connection in progress* state in order to send *PAD command signals*.
+
+#### **1.4.2 Echo**
+
+This function provides for characters received from the start-stop mode DTE to be transmitted back to the start-stop mode DTE as well as being interpreted by the PAD.
+
+#### **1.4.3 Selection of the data forwarding characters**
+
+This function allows the selection of defined sets of character(s) received from the start-stop mode DTE to be recognized by the PAD as an indication to complete the assembly and forward a complete packet sequence as defined in Recommendation X.25.
+
+#### **1.4.4 Selection of idle timer delay**
+
+This function allows the selection of the duration of an interval between successive characters received from the start-stop mode DTE which, when exceeded, will cause the PAD to terminate the assembly of a packet and to forward it as defined in Recommendation X.25.
+
+#### **1.4.5 Ancillary device control**
+
+This function allows for flow control between the PAD and the start-stop mode DTE. The PAD indicates whether it is ready or not to accept characters from the start-stop mode DTE by transmitting special characters. These characters are those which in International Alphabet No. 5 (IA5) are used to switch an ancillary transmitting device on and off.
+
+#### **1.4.6 Control of PAD service signals**
+
+This function provides the start-stop mode DTE with the ability to decide whether or not and in what format *PAD service* signals are transmitted.
+
+#### **1.4.7 Selection of operation of the PAD on receipt of the break signal**
+
+This function allows the selection of the operation of the PAD after the receipt of a *break* signal from the start-stop mode DTE.
+
+#### **1.4.8 Discard output**
+
+This function provides for a PAD to discard the content of user sequences in packets upon request rather than disassembling and transmitting these to the start-stop mode DTE.
+
+#### **1.4.9 Padding after carriage return**
+
+This function provides for the automatic insertion by the PAD of padding characters in the character stream transmitted to the start-stop mode DTE after the occurrence of a carriage return character. This allows for the printing mechanism for the start-stop mode DTE to perform the carriage return function correctly.
+
+#### **1.4.10 Line folding**
+
+This function provides for the automatic insertion by the PAD of appropriate format effectors in the character stream transmitted to the start-stop mode DTE. The predetermined maximum number of graphic characters per line may be set.
+
+#### **1.4.11 Flow control of the PAD by the start-stop mode DTE**
+
+This function allows for flow control between the start-stop mode DTE and the PAD. The start-stop mode DTE indicates whether it is ready or not to accept characters from the PAD by transmitting special characters. These characters are those which in IA5 are used to switch an ancillary transmitting device on and off.
+
+#### **1.4.12 Linefeed insertion after carriage return**
+
+This function provides for the automatic insertion by the PAD of a linefeed character in the character stream to or from the start-stop mode DTE or after each of each carriage return character. This function applies only in the *data transfer* state.
+
+#### **1.4.13 Padding after linefeed**
+
+This function provides for the automatic insertion by the PAD of padding characters in the character stream transmitted to the start-stop DTE after the occurrence of a linefeed character. This allows for the printing mechanism of the start-stop mode DTE to perform the linefeed operation correctly. This function applies only in the *data transfer* state.
+
+#### **1.4.14 Editing**
+
+This function provides for character delete, line delete and line display editing capabilities in the *PAD command* state and the *data transfer* state for the start-stop mode DTE. During the *PAD command* state the editing function is always available.
+
+#### **1.4.15 Editing PAD service signals**
+
+This function provides the start-stop mode DTE with the ability to decide whether or not editing *PAD service* signals are transmitted and which format should be used.
+
+#### **1.4.16 Echo mask**
+
+When echo is enabled (see 1.4.2), this function allows selected defined sets of character(s) received from the start-stop mode DTE not to be transmitted back to the start-stop mode DTE.
+
+#### **1.4.17 Parity treatment**
+
+This function allows the PAD to check parity in the data stream from the start-stop mode DTE and/or generate parity in the data stream to the start-stop mode DTE.
+
+#### **1.4.18 Page wait**
+
+This function allows the PAD to suspend transmission of additional characters to the start-stop mode DTE after a specified number of linefeed characters have been transmitted by the PAD.
+
+#### **1.4.19 Videotex selectable functions**
+
+The following functions have been defined to meet the requirements of Videotex applications.
+
+###### **1.4.19.1 Size of input field**
+
+This function allows the definition of the maximum length of an input field which may be smaller or greater than the data packet size. When this input field has been filled up by characters received from the start-stop mode DTE, the PAD should complete the assembly and forward a complete packet sequence as defined in Recommendation X.25.
+
+If this function is not supported or if the parameter reference 23 value is set to 0, only the data forwarding signals defined by parameter references 3 and 4 (and 25 when supported) have to be used.
+
+When this function is supported and when the parameter reference 23 value is not 0, the data forwarding signals defined by parameter references 3 and 4 (and 25 when supported) have to be used.
+
+The size of the input field is defined in graphic characters (see Note in 3.23).
+
+NOTE – This function will be handled by using the editing buffer with the specific rules described in 3.6.1.3/X.28.
+
+##### **1.4.19.2 End-of-frame signals**
+
+This function indicates to the PAD when it can start the echoplex procedure. Upon receipt of the end-of-frame signal, the PAD echoes characters received from the start-stop mode DTE (see 4.19.3/X.28).
+
+When this function is not supported or when the parameter reference 24 value is set to 0, the echoplex procedures should be in accordance with the interleaving rules in 4.19/X.28, 4.19.1/X.28 and 4.19.2/X.28.
+
+##### **1.4.19.3 Selection of extended data forwarding signals**
+
+This function allows the selection of defined sets of character(s) or sequences of characters received from the start-stop mode DTE to be recognized by the PAD as an indication to complete the assembly and forward a complete packet sequence as defined in Recommendation X.25.
+
+When this function is not supported or when the parameter reference 25 value is set to 0, data forwarding signals have to be in accordance with 4.4/X.28.
+
+##### **1.4.19.4 Display interrupt**
+
+This function allows the selection of a character received from the start-stop mode DTE indicating to the PAD to discard the contents of the user sequences received from the X.25 DTE rather than disassembling and transmitting these to the start-stop mode DTE. In addition, characters previously received from the start-stop mode DTE which have not already been sent to the X.25 DTE are also discarded.
+
+##### **1.4.19.5 Confirmation of display interrupt**
+
+This function allows the selection of the character to be sent by the PAD to the start-stop mode DTE after having performed the display interrupt as described by parameter reference 26.
+
+###### **1.4.19.6 Diacritic character editing**
+
+This function allows the X.25 DTE to indicate to the PAD the way in which diacritic characters are handled, especially when Character delete, Line delete or Size of input field functions are to be performed. This function allows the PAD to know the type of coding used for diacritic characters in order to correctly perform editing functions.
+
+When this function is not supported or if the parameter reference 28 value is set to 0, the basic character set is assumed.
+
+When this function is supported and when the parameter reference 28 value is not 0, the parameter value indicates the diacritic character coding in use.
+
+###### **1.4.19.7 Extended echo mask**
+
+When echo is enabled (i.e. parameter 2 is not equal to 0), this function allows a selected defined set of character(s) received from the start-stop mode DTE either not to be transmitted back to the start-stop DTE or to be transmitted back to the start-stop mode DTE.
+
+### **2 Characteristics of PAD parameters**
+
+**2.1** In this Recommendation parameters are identified by decimal reference numbers.
+
+**2.2** In this Recommendation the possible values of the parameters are represented by decimal numbers.
+
+**2.3** Specific procedures, described in Recommendations X.28 and X.29 are available for initializing, reading and changing values of PAD parameters.
+
+#### **2.4 Determination of the values of PAD parameters**
+
+#### **2.4.1 Initial values of PAD parameters**
+
+On initialization, the initial value of each PAD parameter is set according to a predetermined set of values called an initial standard *profile*. Table 1/X.28 gives details of the initial values of parameters for transparent and simple standard profiles which have been agreed by ITU-T.
+
+Networks may offer other standard profiles that provide different, predetermined sets of PAD parameter values.
+
+#### **2.4.2 Current values of PAD parameters**
+
+The current values of PAD parameters are the values resulting from possible modifications by the PAD, the start-stop mode DTE and/or the packet mode DTE (or remote PAD).
+
+### **3 List of PAD parameters and possible values**
+
+Restrictions on the permissible relationships between the values of the various parameters is a subject for further study.
+
+#### 3.1 PAD recall using a character
+
+##### *Reference 1*
+
+The parameter will have the following selectable values:
+
+- | | |
+|---------------------------------------------------|-------------------------------------|
+| not possible | – represented by decimal 0; |
+| possible by character 1/0 (DLE) | – represented by decimal 1; |
+| possible by graphic character defined by the user | – represented by decimal 32 to 126. |
+
+A graphic character, defined by the user to escape from the *data transfer* state and to recall the PAD, is the binary representation of the decimal value in accordance with Recommendation T.50.
+
+#### 3.2 Echo
+
+##### *Reference 2*
+
+The parameter will have the following selectable values:
+
+- | | |
+|----------------------------------------------------------------------------------------------|-------------------------------------|
+| no echo | – represented by decimal 0; |
+| echo (see Note 1) | – represented by decimal 1; |
+| echo all characters except the data forwarding sequence defined by parameter 25 (see Note 3) | – represented by decimal 2; |
+| scrambled echo character (see Note 2) | – represented by decimal 32 to 126. |
+
+NOTE 1 – If parameter 20 is implemented, the selection of the characters to be echoed is dependent on the value of parameter 20.
+
+NOTE 2 – The decimal value represents the character to be transmitted back to the start-stop mode DTE.
+
+NOTE 3 – If parameter 29 is implemented, the selection of the characters to be echoed is dependent on the value of parameter 29.
+
+#### 3.3 Selection of data forwarding character(s)
+
+##### *Reference 3*
+
+This parameter is represented by the following encoding of basic functions, each having a decimal value as shown below:
+
+- | | |
+|----------------------------------------------------------------------|------------------------------|
+| no data forwarding character | – represented by decimal 0; |
+| alphanumeric characters (A to Z, a to z, 0 to 9) | – represented by decimal 1; |
+| character CR | – represented by decimal 2; |
+| characters ESC, BEL, ENQ, ACK | – represented by decimal 4; |
+| characters DEL, CAN, DC2 | – represented by decimal 8; |
+| characters EXT, EOT | – represented by decimal 16; |
+| characters HT, LF, VT, FF | – represented by decimal 32; |
+| all other characters in columns 0 and 1 of IA5 not included in above | – represented by decimal 64. |
+
+NOTE – The decimal representation of individual values of this parameter allows coding to represent a single function or combination of functions, see Table 1.
+
+#### 3.4 Selection of idle timer delay
+
+##### *Reference 4*
+
+The parameter will have the following selectable value:
+
+- | | |
+|--------------------------|-------------------------------------------------|
+| any number from 0 to 255 | – represented by the respective decimal number. |
+|--------------------------|-------------------------------------------------|
+
+The value 0 will indicate that no data forwarding on time-out is required; a value between 1 and 255 will indicate the value of the delay in twentieths of a second.
+
+NOTE 1 – Some PAD implementations may not offer all possible values of idle timer delay within the selectable range. In such cases where the value selected is not available, the PAD will assume the next higher available value in the range.
+
+NOTE 2 – The effect of the idle timer delay on data forwarding may be subject to flow control constraints.
+
+### 3.5 Ancillary device control
+
+##### Reference 5
+
+The parameter will have the following selectable values:
+
+- | | |
+|---------------------------------------------------|-----------------------------|
+| no use of X-ON (DC1) and X-OFF (DC3) | – represented by decimal 0; |
+| use of X-ON and X-OFF (data transfer) | – represented by decimal 1; |
+| use of X-ON and X-OFF (data transfer and command) | – represented by decimal 2. |
+
+### 3.6 Control of PAD service signals and PAD command signals
+
+##### Reference 6
+
+The parameter is represented by the following encoding of basic functions, each having a decimal value as shown below:
+
+- | | |
+|--------------------------------------------------------------------------------------------------------|-----------------------------------|
+| no service signals are transmitted to the start-stop mode DTE | – represented by decimal 0; |
+| service signals other than the prompt PAD service signal are transmitted in the standard format | – represented by decimal 1; |
+| editing PAD service signals only are transmitted in the format specified by parameter 19 | – represented by decimal 2; |
+| prompt PAD service signal is transmitted in the standard format | – represented by decimal 4; |
+| PAD service signals are transmitted in a network-dependent format | – represented by decimal 8 to 15. |
+
+PAD service signals and PAD command signals in the extended dialogue mode format:
+
+- | | |
+|-----------------------------------------------------------------------------|------------------------------|
+| extended dialogue mode handling, with PAD service signals in English | – represented by decimal 16; |
+| extended dialogue mode handling, with PAD service signals in French | – represented by decimal 32; |
+| extended dialogue mode handling, with PAD service signals in Spanish | – represented by decimal 48; |
+| extended dialogue mode handling, with PAD service signals in Chinese | – represented by decimal 64. |
+
+NOTE 1 – The decimal representation of individual values of this parameter allows coding to represent a single function or combination of functions, see Table 1. The transmission of service signals is controlled by the values 0, 1, 2, 4 and 5. In addition, the actual text of the service signal is controlled by the values 16 and above.
+
+NOTE 2 – Values of 64 to 240 in multiples of 16 represent additional languages provided on a network dependent basis.
+
+NOTE 3 – Values of 16 to 240 in multiples of 16 may be combined with values 8 to 15 to provide a network-dependent extended dialogue mode (e.g. a value of 41 is equivalent to 32 + 9, network-dependent French).
+
+NOTE 4 – To enable or disable service signals in the extended dialogue mode, the values 16 to 240 in multiples of 16 can be combined with: 0 for no service signals, 1 for service signals other than the prompt, 2 for editing service signals alone and 5 (4 + 1) for service signals and the prompt.
+
+### 3.7 Selection of operation of PAD on receipt of break signal from the start-stop mode DTE
+
+##### Reference 7
+
+This parameter is represented by the following encoding of basic functions, each having a decimal value as shown below:
+
+| | |
+|--------------------------------------------------------------------------------|------------------------------|
+| nothing | – represented by decimal 0; |
+| send to packet mode DTE or other PAD an interrupt packet | – represented by decimal 1; |
+| reset | – represented by decimal 2; |
+| send to packet mode DTE or other PAD an indication of break PAD message | – represented by decimal 4; |
+| escape from data transfer state | – represented by decimal 8; |
+| discard output to start-stop mode DTE | – represented by decimal 16. |
+
+NOTE – The decimal representation of individual values of this parameter allows coding to represent a single function or combination of functions, see Table 1.
+
+### 3.8 Discard output
+
+##### Reference 8
+
+The parameter will have the following selectable values:
+
+| | |
+|-------------------------------------------------|-----------------------------|
+| normal data delivery to the start-stop mode DTE | – represented by decimal 0; |
+| discard output to start-stop mode DTE | – represented by decimal 1. |
+
+### 3.9 Padding after carriage return
+
+##### Reference 9
+
+The parameter will have the following selectable value:
+
+| | |
+|--------------------------|-------------------------------------------------|
+| any number from 0 to 255 | – represented by the respective decimal number. |
+|--------------------------|-------------------------------------------------|
+
+A value between 0 and 255 will indicate the number of padding characters to be generated by the PAD after a carriage return character is transmitted to the start-stop mode DTE.
+
+When parameter 9 is 0, there will be no padding except that *PAD service* signals will contain a number of padding characters according to the data rate of the start-stop mode DTE.
+
+#### 3.10 Line folding
+
+##### Reference 10
+
+The parameter will have the following selectable values:
+
+| | |
+|-----------------------------|-------------------------------------------------|
+| no line folding | – represented by decimal 0; |
+| any value between 1 and 255 | – represented by the respective decimal number. |
+
+A value between 1 and 255 will indicate the number of graphic characters per line that will be transmitted by the PAD without inserting appropriate format effectors.
+
+#### 3.11 Binary speed
+
+This parameter is a read-only parameter and cannot be changed by either of the DTEs. It enables the packet-mode DTE to access a characteristic of the start-stop mode DTE which is known by the PAD.
+
+##### Reference 11
+
+The parameter will have the following values:
+
+| | |
+|---------------|------------------------------|
+| 50 bit/s | – represented by decimal 10; |
+| 75 bit/s | – represented by decimal 5; |
+| 100 bit/s | – represented by decimal 9; |
+| 110 bit/s | – represented by decimal 0; |
+| 134.5 bit/s | – represented by decimal 1; |
+| 150 bit/s | – represented by decimal 6; |
+| 200 bit/s | – represented by decimal 8; |
+| 300 bit/s | – represented by decimal 2; |
+| 600 bit/s | – represented by decimal 4; |
+| 1200 bit/s | – represented by decimal 3; |
+| 1800 bit/s | – represented by decimal 7; |
+| 75/1200 bit/s | – represented by decimal 11; |
+| 2400 bit/s | – represented by decimal 12; |
+| 4800 bit/s | – represented by decimal 13; |
+| 9600 bit/s | – represented by decimal 14; |
+| 19 200 bit/s | – represented by decimal 15; |
+| 48 000 bit/s | – represented by decimal 16; |
+| 56 000 bit/s | – represented by decimal 17; |
+| 64 000 bit/s | – represented by decimal 18; |
+| 14 400 bit/s | – represented by decimal 19. |
+
+NOTE – The values implemented in individual PADs depend on the range of DTE data transmission rates which are supported. The allocation of decimal values to all known rates is to avoid revision of the Recommendation in the future.
+
+### 3.12 Flow control of the PAD by the start-stop mode DTE
+
+##### Reference 12
+
+The parameter will have the following selectable values:
+
+| | |
+|-------------------------------------------------------|-----------------------------|
+| no use of X-ON (DC1) and X-OFF (DC3) for flow control | – represented by decimal 0; |
+| use of X-ON and XOFF for flow control | – represented by decimal 1. |
+
+### 3.13 Linefeed insertion after carriage return
+
+##### Reference 13
+
+This parameter is represented by the following encoding of basic functions, each having a decimal value as shown below:
+
+| | |
+|---------------------------------------------------------------------------------------------------|-----------------------------|
+| no linefeed insertion | – represented by decimal 0; |
+| insert linefeed after each carriage return in the data stream to the start-stop DTE | – represented by decimal 1; |
+| insert linefeed after each carriage return in the data stream from the start-stop mode DTE | – represented by decimal 2; |
+| insert linefeed after each carriage return in the echo stream to the start-stop mode DTE | – represented by decimal 4. |
+
+NOTE 1 – The decimal representation of individual values of this parameter allows coding to represent a single function or combination of functions, see Table 1.
+
+NOTE 2 – This function applies only in the *data transfer* state.
+
+### 3.14 Linefeed padding
+
+*Reference 14*
+
+The parameter will have the following selectable value:
+
+any number from 0 to 255 – represented by the respective decimal number.
+
+A value between 0 and 255 will indicate the number of padding characters to be generated by the PAD after a linefeed character is transmitted to the start-stop mode DTE during the data transfer state.
+
+### 3.15 Editing
+
+*Reference 15*
+
+The parameter will have the following selectable values:
+
+no use of editing in the *data transfer* state – represented by decimal 0;
+
+use of editing in the *data transfer* state – represented by decimal 1.
+
+The use of value 1 suspends the following operations of the PAD:
+
+- a) data forwarding on full packet until the editing buffer is full;
+- b) data forwarding on idle timer period expiry.
+
+NOTE – The value of parameter 4 remains unchanged.
+
+#### 3.16 Character delete
+
+*Reference 16*
+
+The parameter will have the following selectable value:
+
+one character from IA5 – represented by decimal 0 to 127.
+
+The character defined by the user for character delete is the binary representation of the decimal value in accordance with Recommendation T.50.
+
+the sequence of characters 1/3 4/7 – represented by decimal 128;
+
+the sequence of characters 1/3 1/3 – represented by decimal 129;
+
+the sequence of characters 2/10 2/10 – represented by decimal 130.
+
+### 3.17 Line delete
+
+*Reference 17*
+
+The parameter will have the following selectable value:
+
+one character from IA5 – represented by decimal 0 to 127.
+
+The character defined by the user for line delete is the binary representation of the decimal value in accordance with Recommendation T.50.
+
+#### 3.18 Line display
+
+*Reference 18*
+
+The parameter will have the following selectable value:
+
+one character from IA5 – represented by decimal 0 to 127.
+
+The character defined by the user for line display is the binary representation of the decimal value in accordance with Recommendation T.50.
+
+#### 3.19 Editing PAD service signals
+
+##### Reference 19
+
+The parameter will have the following selectable values:
+
+- | | |
+|------------------------------------------------------------------------------|-------------------------------------------|
+| no editing PAD service signals | – represented by decimal 0; |
+| editing PAD service signals for printing terminals | – represented by decimal 1; |
+| editing PAD service signals for display terminals | – represented by decimal 2; |
+| editing PAD service signals using one character from the range of IA5 | – represented by decimal 8 and 32 to 126. |
+
+NOTE – This parameter does not apply if the value of parameter 6 is set to 0.
+
+### 3.20 Echo mask
+
+##### Reference 20
+
+This parameter is represented by the following encoding of basic functions, each having a decimal value as shown below:
+
+- | | |
+|------------------------------------------------------------------------------------------------------|-------------------------------|
+| no echo mask (all characters echoed) | – represented by decimal 0; |
+| no echo of character CR | – represented by decimal 1; |
+| no echo of character LF | – represented by decimal 2; |
+| no echo of characters VT, HT, FF | – represented by decimal 4; |
+| no echo of characters BEL, BS | – represented by decimal 8; |
+| no echo of characters ESC, ENQ | – represented by decimal 16; |
+| no echo of characters ACK, NAK, STX, SOH, EOT, ETB, ETX | – represented by decimal 32; |
+| no echo of editing characters as designated by parameters 16, 17 and 18 | – represented by decimal 64; |
+| no echo of all other characters in columns 0 and 1 of IA5 not mentioned above, and the character DEL | – represented by decimal 128. |
+
+NOTE 1 – The decimal representation of individual values of this parameter allows coding to represent a single function or combination of functions, see Table 1.
+
+NOTE 2 – If parameter 5, 12 or 22 is set to a non-zero value, then X-ON and X-OFF are not echoed.
+
+NOTE 3 – The PAD recall character specified by the value of parameter 1 is not echoed.
+
+NOTE 4 – A character need only be specified by a single value of parameter 20 in order for it not to be echoed.
+
+NOTE 5 – This parameter applies only when parameter 2 is set to 1.
+
+NOTE 6 – Parameter 20 value 64 (in combination) does not apply if editing is not enabled.
+
+### 3.21 Parity treatment
+
+##### Reference 21
+
+This parameter will have the following selectable values:
+
+- | | |
+|----------------------------------|-----------------------------|
+| no parity checking or generation | – represented by decimal 0; |
+| parity checking | – represented by decimal 1; |
+| parity generation | – represented by decimal 2; |
+| no parity – transparent bit 8 | – represented by decimal 4. |
+
+NOTE 1 – The decimal representation of individual values of this parameter allows coding to represent a single function or a combination of functions, see Table 1.
+
+NOTE 2 – Characters generated by the PAD itself (e.g. *PAD service signals*) have even parity when parameter 21 is set to zero unless the parity is determined by alternate means.
+
+#### 3.22 Page wait
+
+##### Reference 22
+
+This parameter will have the following selectable values:
+
+- | | |
+|-------------------------------------------------------------------------------------------------------|------------------------------------|
+| page wait disabled | – represented by decimal 0; |
+| page wait condition after n linefeed characters are sent by the PAD to the start-stop mode DTE | – represented by decimal 1 to 255. |
+
+### 3.23 Size of input field
+
+##### Reference 23
+
+The parameter will have the following selectable values:
+
+- | | |
+|---------------------------------------------|------------------------------------|
+| no input field length | – represented by decimal 0; |
+| size of input field (in graphic characters) | – represented by decimal 1 to 255. |
+
+NOTE – Implementors should take into account that a graphic character may be coded with several bytes. The definition of a graphic character is given in Annexes A/T.101, B/T.101 and C/T.101.
+
+### 3.24 End-of-frame
+
+##### Reference 24
+
+The parameter will have the following selectable values:
+
+- | | |
+|------------------------------------------------------------------------------------|-----------------------------------|
+| no end-of-frame signals | – represented by decimal 0; |
+| the end-of-frame condition is fulfilled upon receipt of this character | – represented by decimal 1 to 31; |
+| the end-of-frame condition is fulfilled upon receipt of a complete packet sequence | – represented by decimal 32; |
+| the end-of-frame condition is fulfilled upon detection of the end of a timer | – represented by decimal 64. |
+
+The value of the timer is service dependent and shall be in the range of 1 to 5 seconds with a typical value of 3 seconds. The value of this timer cannot be changed by the X.25 DTE nor the start-stop mode DTE.
+
+NOTE – The decimal representation of each individual value allows the coding to represent a single function or combination of functions (see Table 1).
+
+The PAD shall consider receipt of an X.25 Reset packet, X.25 Clear indication packet or any X.29 PAD message as an "End-of-frame" signal.
+
+### 3.25 Selection of extended data forwarding signals
+
+##### Reference 25
+
+This parameter is represented by the following encoding of basic functions, each having a decimal value as shown below:
+
+- | | |
+|----------------------------------------------|------------------------------|
+| no extended data forwarding condition | – represented by decimal 0; |
+| sequence of two characters starting with 1/3 | – represented by decimal 1; |
+| character 1/10 | – represented by decimal 2; |
+| character 1/12 | – represented by decimal 4; |
+| character 2/3 | – represented by decimal 8; |
+| character 5/15 | – represented by decimal 16; |
+
+sequence of the two characters 1/11 4/10 or sequence of the two characters 1/11 4/11 – represented by decimal 32;
+
+sequence of three characters starting with characters 2/10 3/0 – represented by decimal 64;
+
+either character 1/3 or character 2/10 – represented by decimal 128.
+
+NOTE – The decimal representation of individual value of this parameter allows coding to represent a single function or combination of functions (see Table 1).
+
+### 3.26 Display interrupt
+
+##### *Reference 26*
+
+The parameter will have the following selectable values:
+
+- display interrupt disabled – represented by decimal 0;
+- display interrupt condition occurs upon receipt of this character – represented by decimal 1 to 127;
+- display interrupt condition occurs upon receipt of any character – represented by decimal 128;
+- display interrupt condition occurs upon receipt of any one of 2/10, 5/15, 3/0 to 3/9 inclusive – represented by decimal 129;
+- display interrupt condition occurs upon receipt of any one of 1/3, 1/12 or 3/0 to 3/9 inclusive – represented by decimal 130.
+
+### 3.27 Confirmation of display interrupt
+
+##### *Reference 27*
+
+The parameter will have the following selectable values:
+
+- confirmation prompt of display interrupt disabled – represented by decimal 0;
+- the confirmation prompt of display interrupt is character from IA5 – represented by decimal 1 to 127.
+
+### 3.28 Diacritic character editing
+
+##### *Reference 28*
+
+The parameter will have the following selectable values:
+
+- basic character set primary code table only, normally ASCII – represented by decimal 0;
+- composite coded diacritic character set – rule 1 (SS2) – represented by decimal 1;
+
+Diacritic and supplementary characters consisting of several bytes created using SS2 code extensions are deleted as a single character.
+
+- composite coded diacritic character set – rule 2 (G1) – represented by decimal 2;
+
+Diacritic characters consisting of several bytes created using the primary table in G0 in G-Left and supplementary in G-Right are deleted as a single character.
+
+- direct coded diacritic character rule – represented by decimal 3;
+
+Diacritic and supplementary characters consisting of several bytes created using SS2 code extension are deleted as a single character.
+
+- coding of SS2 – represented by decimal 4;
+
+The coding of SS2 is by default the C0 code 1/9; this parameter reference value indicates that coding of SS2 uses the alternate code 8/14.
+
+NOTE – This value may be combined with one of the three previous ones.
+
+multi-byte character sets – this is for further study.
+
+The support of multi-byte character sets is for further study.
+
+### 3.29 Extended echo mask
+
+##### *Reference 29*
+
+The parameter will have the following selectable values:
+
+- no extended echo mask (the parameter reference 20 may be active) – represented by decimal 0;
+- 1/10 is echoed as 2/3 – represented by decimal 1;
+- 1/3 is echoed as 2/10 – represented by decimal 2;
+- no echo of 1/15 – represented by decimal 4;
+- no echo of all characters in columns 8 and 9 (Note 4) – represented by decimal 8;
+- no echo of all characters in columns 8 and 9 except 9/11 (Note 4) – represented by decimal 16;
+- no echo of the sequence of two characters 1/3 x/y (x between 2 and 7, y between 0 and 7) – represented by decimal 32.
+
+NOTE 1 – The decimal representation of individual values of this parameter allows coding to represent a single function or a combination of functions.
+
+NOTE 2 – This parameter does not apply if parameter 2 is set to 0.
+
+NOTE 3 – If parameter 20 is set to 128, 1/3, 1/10 and 1/15 are not echoed.
+
+NOTE 4 – This value is applicable only in an 8-bit environment.
+
+### 3.30 Selection of the default packet size
+
+##### *Reference 30*
+
+This parameter will have the following selectable values:
+
+- The default packet size is network dependent – represented by decimal 0;
+- The default packet size is 16 – represented by decimal 4;
+- The default packet size is 32 – represented by decimal 5;
+- The default packet size is 64 – represented by decimal 6;
+- The default packet size is 128 – represented by decimal 7;
+- The default packet size is 256 – represented by decimal 8;
+- The default packet size is 512 – represented by decimal 9;
+- The default packet size is 1024 – represented by decimal 10;
+- The default packet size is 2048 – represented by decimal 11;
+- The default packet size is 4096 – represented by decimal 12.
+
+**Table 1/X.3 – Possible values and combination of values of PAD parameters (Note 1)**
+
+| Parameter reference number | Parameter description | Selectable possible values | | PAD parameter meaning | Remarks |
+|----------------------------|------------------------------------------------------|----------------------------|-------------------|------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|
+| | | Mandatory | Optional (Note 2) | | |
+| 1 | PAD recall using a character (E) | 0 | | Not possible | |
+| | | 1 | | Character DLE | |
+| | | | 32 to 126 | Possible; using one graphic character defined by user | |
+| 2 | Echo (E) | 0 | | No echo | |
+| | | 1 | | Echo | |
+| | | | 2 | Echo all characters except the data forwarding sequence defined by parameter 25 | |
+| | | | 32 to 126 | Scrambled echo character | |
+| 3 | Selection of data forwarding character(s) (E) | 0 | | No data forwarding character(s) | |
+| | | | 1 | Alphanumeric characters (A to Z, a to z, 0 to 9) | |
+| | | 2 | | Character CR | |
+| | | | 4 | Characters ESC, BEL, ENQ, ACK | Value formed by combination (2 + 4) |
+| | | | 6 | Characters CR, ESC, BEL, ENQ, ACK | |
+| | | | 8 | Characters DEL, CAN, DC2 | |
+| | | | 16 | Characters ETX, EOT | |
+| | | | 18 | Characters CR, EOT, ETX | Value formed by combination (2 + 16) |
+| | | | 32 | Characters HT, LF, VT, FF | |
+| | | | 64 | All characters in columns 0 and 1 of IA5 except those shown above for values 2, 4, 8, 16, 32 | |
+| 4 | Selection of idle timer delay (E) | 0 | 1 to 19 | Value of idle timer in twentieths of a second | (Note 3) |
+| | | 20 255 | 21 to 254 | | |
+| 5 | Ancillary device control (E) | 0 | | No use of X-ON (DC1) and X-OFF (DC3) | |
+| | | 1 | | Use of X-ON and X-OFF (data transfer) | |
+| | | | 2 | Use of X-ON and X-OFF (data transfer and command) | |
+| 3 | Selection of data forwarding character(s) (E) | | | Values 3, 5 to 7, 9 to 15, 17 to 31, 33 to 63, 65 to 125, 127 may be formed by combinations of values 1, 2, 4, 8, 16, 32, 64 | |
+| | | 126 | | All characters in columns 0 and 1 and character DEL | Value formed by combination (2 + 4 + 8 + 16 + 32 + 64) |
+
+**Table 1/X.3 – Possible values and combination of values of PAD parameters**
+(Note 1) (*continued*)
+
+| Parameter reference number | Parameter description | Selectable possible values | | PAD parameter meaning | Remarks |
+|----------------------------|---------------------------------------------------------------------------------------------|----------------------------|-------------------|-------------------------------------------------------------------------------------------------------------------|------------------------------------------|
+| | | Mandatory | Optional (Note 2) | | |
+| 6 | Control of PAD service signals and PAD command signals (E) | 0 | | No PAD service signals are transmitted to the start-stop mode DTE | Value formed by combination (1 + 4) |
+| | | 1 | | PAD service signals are transmitted in the standard format | |
+| | | | 2 | PAD service signals are transmitted in the format specified by parameter 19 | |
+| | | | 5 | PAD service signals and the prompt PAD service signal are transmitted in the standard format | |
+| | | | 8 to 15 | PAD service signals are transmitted in a network dependent format | |
+| | | | 16 | Extended dialog mode, PAD service signals are in English | |
+| | | | 32 | Extended dialog mode, PAD service signals are in French | |
+| | | | 48 | Extended dialog mode, PAD service signals are in Spanish | |
+| | | | 64 | Extended dialog mode, PAD service signals are in Chinese | |
+| 7 | Section of operation of the PAD on receipt of break signal from the start-stop mode DTE (E) | 0 | | Nothing | Value formed by combination (1 + 4) |
+| | | | 1 | Interrupt | |
+| | | 2 | | Reset | |
+| | | | 4 | Send to DTE an indication of break PAD message | |
+| | | | 5 | Interrupt and indication of break | Value formed by combination (1 + 4 + 16) |
+| | | 8 | | Escape from data transfer state | |
+| | | | 16 | Discard output, to start-stop mode DTE | |
+| | | 21 | | Discard output, interrupt and indication of break | |
+| | | | | Values 3, 4, 6, 7, 9 to 20, 22 to 31 may be formed by combination of values 1, 2, 4, 8, 16 | |
+
+**Table 1/X.3 – Possible values and combination of values of PAD parameters**
+(Note 1) (*continued*)
+
+| Parameter reference number | Parameter description | Selectable possible values | | PAD parameter meaning | Remarks |
+|----------------------------|----------------------------------------------|----------------------------|-------------------|--------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | | Mandatory | Optional (Note 2) | | |
+| 8 | Discard output (E) | 0 | | Normal data delivery | |
+| | | 1 | | Discard output | |
+| 9 | Padding after carriage return (CR) (E) | 0 | | No padding after CR (Note 4) | |
+| | | 1 to 7 | 8 to 255 | Number of padding characters inserted after CR | |
+| 10 | Line folding (E) | 0 | | No line folding | |
+| | | 1 to 255 | | Number of graphic characters per line | |
+| 11 (read only) | Binary speed of start-stop mode DTE (E) | 0 | | 110 bit/s | The values implemented in individual PADs depend on the range of DTE data transmission rates which are supported. The allocation of decimal values of all known rates is to avoid revision of the Recommendation in the future |
+| | | | 1 | 134.5 bit/s | |
+| | | | | 300 bit/s | |
+| | | | | 1200 bit/s | |
+| | | | | 600 bit/s | |
+| | | | | 75 bit/s | |
+| | | | | 50 bit/s | |
+| | | | | 800 bit/s | |
+| | | | | 200 bit/s | |
+| | | | | 100 bit/s | |
+| | | | | 50 bit/s | |
+| | | | | 75/1200 bit/s | |
+| | | | | 2400 bit/s | |
+| | | | | 4800 bit/s | |
+| | | | | 9600 bit/s | |
+| | | | | 19 200 bit/s | |
+| | | | | 48 000 bit/s | |
+| | | | | 56 000 bit/s | |
+| | | | | 64 000 bit/s | |
+| | | | | 14 400 bit/s | |
+| 12 | Flow control of the PAD (E) | 0 | | No use of X-ON (DC1) and X-OFF (DC3) for flow control | |
+| | | 1 | | Use of X-ON (DC1) and X-OFF (DC3) for flow control | |
+| 13 | Linefeed insertion after carriage return (A) | 0 | | No linefeed insertion | |
+| | | 1 | | Insert linefeed after transmission of CR to the start-stop mode DTE | |
+| | | | 2 | Insert linefeed after each carriage return in the data stream from the start-stop mode DTE | |
+| | | 4 | | Insert linefeed after echo of CR to start-stop mode DTE | |
+
+**Table 1/X.3 – Possible values and combination of values of PAD parameters**
+(Note 1) (*continued*)
+
+| Parameter reference number | Parameter description | Selectable possible values | | PAD parameter meaning | Remarks |
+|----------------------------|---------------------------------------------------------------|----------------------------|-------------------|----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
+| | | Mandatory | Optional (Note 2) | | |
+| 13 ( cont. ) | Linefeed insertion after carriage return (A) ( cont. ) | 5 | | Insert linefeed after transmission to the start-stop mode DTE and after echo of CR | Combination (1 + 4) |
+| | | 6 | | Insert linefeed in data stream after CR from the start-stop mode DTE and after echo of a CR to the start-stop mode DTE | Combination (2 + 4) |
+| | | 7 | | Insert linefeed in the data stream to and from the start-stop mode DTE and after echo of a CR to the start-stop mode DTE | Combination (1 + 2 + 4) NOTE – Applies only to data transfer state |
+| 14 | Padding after linefeed (A) | 0 | | No padding after linefeed | NOTE – Applies only to data transfer state |
+| | | 1 to 7 | 8 to 255 | Number of padding characters inserted after linefeed | |
+| 15 (Note 5) | Editing (A) | 0 | | No use of editing in the data transfer state | |
+| | | 1 | | Use of editing in the data transfer state | |
+| 16 (Note 5) | Character Delete (A) | | 0 to 126 | One character from IA5 | |
+| | | 127 | | Character 7/15 (DEL) | |
+| | | | 128 | Sequence of characters 1/3 4/7 | |
+| | | | 129 | Sequence of characters 1/3 1/3 | |
+| | | | 130 | Sequence of characters 2/10 2/10 | |
+| 17 (Note 5) | Line delete (A) | 24 | 0 to 23 | One character from range of IA5 | |
+| | | | 25 to 127 | One character from range of IA5 | |
+| 18 (Note 5) | Line delete (A) | 18 | 0 to 17 | One character from range of IA5 | |
+| | | | 19 to 127 | One character from range of IA5 | |
+| 19 (Note 5) | Editing PAD service signals (A) | 1 | 0 | No editing PAD service signals | |
+| | | | 2 | Editing PAD service signals for printing terminals | |
+| | | | 8 32 to 126 | Editing PAD service signals for display terminals Editing PAD service signals using one character from the range of IA5 | |
+
+**Table 1/X.3 – Possible values and combination of values of PAD parameters**
+(Note 1) *(continued)*
+
+| Parameter reference number | Parameter description | Selectable possible values | | PAD parameter meaning | Remarks |
+|----------------------------|--------------------------|----------------------------|----------------------|---------------------------------------------------------------------------------|-----------------------------------------------------|
+| | | Mandatory | Optional (Note 2) | | |
+| 20 (Notes 6 and 7) | Echo mask (A) | 0 | | No echo mask (all characters echoed) | Values may be formed by combination of basic values |
+| | | | 1 | No echo of CR | |
+| | | | 2 | No echo of LF | |
+| | | | 4 | No echo of VT, HT, FF | |
+| | | | 8 | No echo of BEL, BS | |
+| | | | 16 | No echo of ESC, ENQ | |
+| | | | 32 | No echo of ACK, NAK, STX, SOH, EOT, ETB, ETX | |
+| | | | 64 | No echo of editing characters as designated by parameters 16, 17, 18 (Note 8) | |
+| | | | 128 | No echo of all other characters in columns 0 and 1 not mentioned above and DEL | |
+| 21 (Note 9) | Parity treatment (A) | 0 | | No parity checking or generation | Value formed by combination (1 + 2) |
+| | | | 1 | Parity checking | |
+| | | | 2 | Parity generation | |
+| | | | 3 | Parity checking and parity generation | |
+| | | | 4 | No parity – transparent bit 8 | |
+| 22 | Page wait (A) | 0 | | Page wait disabled | |
+| | | 23 | 1 to 22 24 to 255 | Number of line feed characters considered by the PAD for the page wait function | |
+| 23 | Size of input field (A) | 0 | 1 to 255 | Undefined size Length of input field (number of graphic characters) | |
+| 24 | End-of-frame signals (A) | 0 | | No end-of-frame signal | Values may be formed by combination of basic values |
+| | | | 1 to 31 | Character representing the end of a frame | |
+| | | | 32 | A frame is represented by a complete packet sequence | |
+| | | | 64 | At the end of a timer, an end of frame condition may be assumed | |
+
+**Table 1/X.3 – Possible values and combination of values of PAD parameters**
+(Note 1) *(continued)*
+
+| Parameter reference number | Parameter description | Selectable possible values | | PAD parameter meaning | Remarks |
+|----------------------------|--------------------------------------|----------------------------|-------------------|--------------------------------------------------------------------------------------|-----------------------------------------------------|
+| | | Mandatory | Optional (Note 2) | | |
+| 25 | Extended data forwarding signals (A) | 0 | | No extended data forwarding signal | Values may be formed by combination of basic values |
+| | | | 1 | Sequence of two characters 1/3 x/y | |
+| | | | 2 | Character 1/10 | |
+| | | | 4 | Character 1/12 | |
+| | | | 8 | Character 2/3 | |
+| | | | 16 | Character 5/15 | |
+| | | | 32 | Sequence of the two characters 1/11 4/10 or sequence of the two characters 1/11 4/11 | |
+| | | | 64 | Sequence of three characters 2/10 3/0 x/y | |
+| | | | 128 | Either character 1/3 or character 2/10 | |
+| 26 | Display interrupt (A) | 0 | | No display interrupt | |
+| | | | 1 to 127 | One character from IA5 | |
+| | | | 128 | Any character | |
+| | | | 129 | Characters 2/10, 5/15, or 3/0 to 3/9 inclusive | |
+| | | | 130 | Characters 1/3, 1/12, or 3/0 to 3/9 inclusive | |
+| 27 | Display interrupt confirmation (A) | 0 | | No display interrupt confirmation | |
+| | | | 1 to 127 | One character from IA5 | |
+| 28 | Diacritic character coding (A) | 0 | | Basic coding | Value 4 may be combined with one among 1 to 3 |
+| | | | 1 | Composit coded diacritic rule 1 (SS2) | |
+| | | | 2 | Composite coded diacritic rule 2 (G1) | |
+| | | | 3 | Direct coded diacritic character rule | |
+| | | | 4 | Coding of SS2 | |
+| 29 | Extended echo mask (A) | 0 | | No extended echo mask | |
+| | | | 1 | Character 1/10 is echoed as 2/3 | |
+| | | | 2 | Character 1/3 is echoed as 2/10 | |
+| | | | 4 | No echo of character 1/15 | |
+
+**Table 1/X.3 – Possible values and combination of values of PAD parameters**
+(Note 1) *(continued)*
+
+| Parameter reference number | Parameter description | Selectable possible values | | PAD parameter meaning | Remarks |
+|----------------------------|------------------------------------------|----------------------------|-------------------|------------------------------------------------------------------------------------------|---------|
+| | | Mandatory | Optional (Note 2) | | |
+| 29(cont.) | Extended echo mask (A) (cont.) | 0 | 8 | No echo of all characters in columns 8 and 9 | |
+| | | | 16 | No echo of all characters in columns 8 and 9 except 9/11 | |
+| | | | 32 | No echo of the sequence of two characters 1/3 x/y (x between 2 and 7, y between 0 and 7) | |
+| 30 | Selection of the default packet size (A) | 0 | | The default packet size is network dependent | |
+| | | | 4 | The default packet size is 16 bytes | |
+| | | | 5 | The default packet size is 32 bytes | |
+| | | | 6 | The default packet size is 64 bytes | |
+| | | | 7 | The default packet size is 128 bytes | |
+| | | | 8 | The default packet size is 256 bytes | |
+| | | | 9 | The default packet size is 512 bytes | |
+| | | | 10 | The default packet size is 1024 bytes | |
+| | | | 11 | The default packet size is 2048 bytes | |
+| | | | 12 | The default packet size is 4096 bytes | |
+
+E An essential parameter to be made available internationally.
+
+A An additional parameter which may be available on certain data networks and may also be available internationally.
+
+NOTE 1 – Other values and possible combination of values are for further study.
+
+NOTE 2 – These parameter values provide additional user facilities which are not necessarily provided in all PADs.
+
+NOTE 3 – Some PAD implementations may not offer all possible values of idle timer delay within the selectable range. In such cases where the value selected is not available, the PAD will assume the next higher value available.
+
+NOTE 4 – There is no padding after CR except that *PAD service* signals will contain a number of padding characters according to the data signalling rate of the start-stop mode DTE.
+
+NOTE 5 – When parameter 15 is implemented, the values of parameters 16, 17, 18 and 19 are either default values or are selectable from the optional range shown. The editing function is provided during the *PAD command* state whether parameter 15 is implemented or not. If parameters 16, 17, 18 and 19 are implemented, the editing characters and editing *PAD service* signals during the *PAD command* state are defined by the appropriate values of these parameters. If parameters 16, 17, 18 and 19 are not implemented, the default values for the functions of these parameters are applicable to the *PAD command* state.
+
+NOTE 6 – This parameter does not apply if parameter 2 is set to zero.
+
+NOTE 7 – If parameter 5, 12 or 22 is set to a non-zero value, then the X-ON and X-OFF characters are not echoed.
+
+NOTE 8 – Parameter 20 value 64 (in combination) does not apply if editing is not enabled.
+
+NOTE 9 – Characters generated by the PAD itself (e.g. *PAD service* signals) have even parity when parameter 21 is set to zero unless the parity is determined by alternate means.
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/12c19090355e19922e23044633b9d1ea_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/12c19090355e19922e23044633b9d1ea_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..157d67b8f1b73609e4d269feb248ef15086dbebf
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/12c19090355e19922e23044633b9d1ea_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce25e6af85d3cc63b7817da8bff42bc3c1833c8b0306f111f8e0878ce96c6589
+size 42584
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/1c94fd3cebf58af136144f14160d128e_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/1c94fd3cebf58af136144f14160d128e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..30742c5e7e9741cf51d644874e7d5e9c70df5ab2
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/1c94fd3cebf58af136144f14160d128e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:470e2a8928158882f3af078adef9f2cccfa80d0e90cf4f1e08e9d7dc301d425e
+size 8646
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/23b48e0b60d0b6deb0cc9862ff4b8ead_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/23b48e0b60d0b6deb0cc9862ff4b8ead_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7e6524efd2de565f6ee70421c3dee6b846c3189a
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/23b48e0b60d0b6deb0cc9862ff4b8ead_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a274ec1c417dc186d8a14d0527de479182d3f38b3005ca263dd8fceef63abda9
+size 17717
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..677af57ba840d576ba45bf60663fc4c317e5c9e3
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2e2f6a8e965ff270fe55af5d92d051c2599ceb706062ac5dc77403c18e51fc69
+size 8198
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/6cc85a2b62fd8a2a3faab29730f20e81_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/6cc85a2b62fd8a2a3faab29730f20e81_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..67a3c2b76d0964c2aa6cd1d3d4f2babec50b5d94
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/6cc85a2b62fd8a2a3faab29730f20e81_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:45c53d1a2ba9a0e67972b032eb669933282989390dc8b7b6de04dd8936f8ed19
+size 18633
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/789ee0a267b24f34bd1f45313e86c9a4_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/789ee0a267b24f34bd1f45313e86c9a4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8f5ff4e8584f7929865fc8e2559837317a829e13
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/789ee0a267b24f34bd1f45313e86c9a4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f80afbf7e3729590ff22ebd2178ee17a4445d8d730ab72942e7cca454e038ebb
+size 77246
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/7d2d1d3870cd224c4430d19334557716_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/7d2d1d3870cd224c4430d19334557716_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f608890c894425e8d562f1b626ceb23889854e66
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/7d2d1d3870cd224c4430d19334557716_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8e787e3887319375c53fab10ec786f3ff6145d3a2043b37e554bb24ca3a6e4ad
+size 17273
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/80ec3bf791fd8eb41f73a420c2122529_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/80ec3bf791fd8eb41f73a420c2122529_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..dd14f13d0cae062a85db2fe78dcba3cfadeec3da
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/80ec3bf791fd8eb41f73a420c2122529_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d9aaa622b2286e1b8a44ea3c29b02cfa4de730918d0a25afc4e824c495580539
+size 20336
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/848073118eebfdbfdb9a60e3923fe0b3_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/848073118eebfdbfdb9a60e3923fe0b3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a2ec6edbdb26b3596ce61ba36466bab2b806fd22
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/848073118eebfdbfdb9a60e3923fe0b3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e927b997ebd0191b09f2206f549784844f31759078400ba9fd505d3dcd906669
+size 95080
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/90aa518591dfa9a78f61c31296f9b158_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/90aa518591dfa9a78f61c31296f9b158_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..294ed7c2bde3119578b10d5d2714e4f475d42ef3
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/90aa518591dfa9a78f61c31296f9b158_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:02c23be5ab407462e759bc20d8872d3ff9078518364fd5ff12ee663dc67adef4
+size 11912
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/9f9386d5b3d6cbeb1ed104a799320ebf_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/9f9386d5b3d6cbeb1ed104a799320ebf_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5b2f38633ae22167368e23ebaf2b8140b7472eb0
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/9f9386d5b3d6cbeb1ed104a799320ebf_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7a17771d7a4ef5665141e8872aa7c77226b6832c37e65f23970d5d454ef40175
+size 11605
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/a05e675f8651ae7ccea1d0d68691d1a9_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/a05e675f8651ae7ccea1d0d68691d1a9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d20857f6b3db4560cd786b33e59c35a24ad11e80
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/a05e675f8651ae7ccea1d0d68691d1a9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ea7b28c51a409de22c339d75a444cead323d2c360e845dd6a4531396c910ff3e
+size 7449
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0fe0bf28464d90626fd55a46e61fec7f2cd4a31e
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5e501da0e3bb520afc34b1c2bb1484890589be4286ab13f598688fe7135e3d87
+size 14741
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/a3083eec2a883ee8327b3c24174df6a9_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/a3083eec2a883ee8327b3c24174df6a9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..53c20721498d9e6d686b4f38ee0bd46197a2d308
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/a3083eec2a883ee8327b3c24174df6a9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cd0bb51b00b4488da5cc06d2196693b952f9f82880321e91648e8eae22e5ac33
+size 51478
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/a4b963a07cc368283154762c4b156fe7_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/a4b963a07cc368283154762c4b156fe7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2eadb790801947e896a98887548f63670d2d3812
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/a4b963a07cc368283154762c4b156fe7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:891ad646406bf34029691850b54b44918254ed047ce770f73bc8d44aa70c5062
+size 49297
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/a5b9392ecb96e6b5e0b4ee0664210f72_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/a5b9392ecb96e6b5e0b4ee0664210f72_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3df811a3a5454821c3007e35ad094f64a41c021a
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/a5b9392ecb96e6b5e0b4ee0664210f72_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2c53797b0ba3d246473d69893c016e8985ac3ddc81114fd2f5755a90a2314fa0
+size 9396
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c5a3ae9aa2de9adddf1b2a3f0cd2ac5305abb1d9
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:76ffc59de67c41eaa31729f017b4bd7a93b02829d82526795f114322bd2fbdb2
+size 15255
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/c85b57b2414f341860dfc338e1cf2509_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/c85b57b2414f341860dfc338e1cf2509_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8dd2bb96fa630cfd8eff636acde1fac4b113a0a2
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/c85b57b2414f341860dfc338e1cf2509_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b5e1ae9241aad855aaa528162046cf4634db22b55332215128e24814ad8573ce
+size 69815
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/dbd074feb5cce1300f42f91da8f673d1_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/dbd074feb5cce1300f42f91da8f673d1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..68c9e4f5203b7f61580bd8d34d0c1af97fd03319
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/dbd074feb5cce1300f42f91da8f673d1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c1aaeb99669278aba6bf7c7bcdcec75a559d4f19be7b0e9a04c62a62a582ed04
+size 75794
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/fc0735d325f0ebd9214171975c68a888_img.jpg b/marked/X/T-REC-X.32-199610-I_PDF-E/fc0735d325f0ebd9214171975c68a888_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d951411a7b9ff6135a23ad59acc09531d74e367b
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/fc0735d325f0ebd9214171975c68a888_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:21cf2ea409a9c316b2f43f36e48abecb262c687edb69a91c2b1aeda43add3a2e
+size 21056
diff --git a/marked/X/T-REC-X.32-199610-I_PDF-E/raw.md b/marked/X/T-REC-X.32-199610-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..51a535780f01fd2f25bb08885eed5f1979074292
--- /dev/null
+++ b/marked/X/T-REC-X.32-199610-I_PDF-E/raw.md
@@ -0,0 +1,2365 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt symbol below it.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.32
+
+(10/96)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATION
+
+Public data networks – Interfaces
+
+---
+
+**Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and accessing a packet switched public data network through a public switched telephone network or an integrated services digital network or a circuit switched public data network**
+
+ITU-T Recommendation X.32
+
+(Previously «CCITT Recommendation»)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATION
+
+| | |
+|-----------------------------------------------|------------------|
+| PUBLIC DATA NETWORKS | X.1-X.199 |
+| Services and facilities | X.1-X.19 |
+| Interfaces | X.20-X.49 |
+| Transmission, signalling and switching | X.50-X.89 |
+| Network aspects | X.90-X.149 |
+| Maintenance | X.150-X.179 |
+| Administrative arrangements | X.180-X.199 |
+| OPEN SYSTEM INTERCONNECTION | X.200-X.299 |
+| Model and notation | X.200-X.209 |
+| Service definitions | X.210-X.219 |
+| Connection-mode protocol specifications | X.220-X.229 |
+| Connectionless-mode protocol specification | X.230-X.239 |
+| PICS proformas | X.240-X.259 |
+| Protocol Identification | X.260-X.269 |
+| Security Protocols | X.270-X.279 |
+| Layer Managed Objects | X.280-X.289 |
+| Conformance testing | X.290-X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300-X.399 |
+| General | X.300-X.349 |
+| Satellite data transmission networks | X.350-X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400-X.499 |
+| DIRECTORY | X.500-X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600-X.699 |
+| Networking | X.600-X.629 |
+| Efficiency | X.630-X.649 |
+| Naming, Addressing and Registration | X.650-X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680-X.699 |
+| OSI MANAGEMENT | X.700-X.799 |
+| Systems Management framework and architecture | X.700-X.709 |
+| Management Communication Service and Protocol | X.710-X.719 |
+| Structure of Management Information | X.720-X.729 |
+| Management functions | X.730-X.799 |
+| SECURITY | X.800-X.849 |
+| OSI APPLICATIONS | X.850-X.899 |
+| Commitment, Concurrency and Recovery | X.850-X.859 |
+| Transaction processing | X.860-X.879 |
+| Remote operations | X.880-X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900-X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# FOREWORD
+
+The ITU-T (Telecommunication Standardization Sector) is a permanent organ of the International Telecommunication Union (ITU). The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1 (Helsinki, March 1-12, 1993).
+
+ITU-T Recommendation X.32 was revised by ITU-T Study Group 7 (1993-1996) and was approved under the WTSC Resolution No. 1 procedure on the 5th of October 1996.
+
+# --- NOTE
+
+In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+© ITU 1997
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+# CONTENTS
+
+| | Page |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|
+| Preface ..... | 1 |
+| 1 Scope ..... | 2 |
+| 2 Functional aspects ..... | 3 |
+| 2.1 Dial-in and dial-out considerations ..... | 3 |
+| 2.2 Identification ..... | 3 |
+| 2.3 Service aspects ..... | 4 |
+| 2.4 DTE identification methods ..... | 7 |
+| 2.5 DCE identification methods ..... | 9 |
+| 2.6 Dial-in-by-the-DTE and dial-out-by-the-PSPDN operation ..... | 9 |
+| 2.7 DTE service requirement ..... | 9 |
+| 2.8 Duplex and half-duplex operation ..... | 10 |
+| 2.9 Identification protocol ..... | 10 |
+| 2.10 Negotiation of values ..... | 10 |
+| 3 DTE service descriptions ..... | 10 |
+| 3.1 DTE service attributes ..... | 10 |
+| 3.2 Summary of DTE services ..... | 14 |
+| 3.3 Non-identified DTE service ..... | 14 |
+| 3.4 Identified DTE service ..... | 16 |
+| 3.5 Customized DTE service ..... | 18 |
+| 4 Interface characteristics (physical layer) ..... | 19 |
+| 4.1 X.21 interface ..... | 20 |
+| 4.2 X.21 bis interface ..... | 21 |
+| 4.3 V-Series interface ..... | 22 |
+| 5 Link access procedure across the DTE/DCE interface ..... | 23 |
+| 5.1 Introduction ..... | 23 |
+| 5.2 Data link layer address assignment ..... | 23 |
+| 5.3 Use of exchange identification (XID) frames ..... | 24 |
+| 5.4 Link set-up disconnection ..... | 27 |
+| 5.5 Multilink ..... | 28 |
+| 5.6 Half-duplex operation ..... | 28 |
+| 6 Packet layer ..... | 33 |
+| 6.1 Scope and field of application ..... | 33 |
+| 6.2 Identification and authentication of the DTE using the NUI selection facility in call set-up packets ..... | 33 |
+| 7 X.32 procedures, formats and facilities ..... | 34 |
+| 7.1 Identification protocol ..... | 34 |
+| 7.2 Procedures for X.32 optional user facilities ..... | 36 |
+| 7.3 Coding of the identification protocol elements ..... | 37 |
+| 7.4 Security grade 2 method ..... | 38 |
+| 7.5 DCE timers T14 and T14 bis ..... | 39 |
+| 7.6 DCE timer T15 ..... | 39 |
+| Annex A – Actions taken by the DCE in the roles of questioning and challenged parties for security grade 1 and security grade 2 identifications ..... | 39 |
+| A.1 Introduction ..... | 39 |
+| A.2 Security grade 1 identification ..... | 40 |
+| A.3 Security grade 2 identification ..... | 44 |
+
+| | Page |
+|---------------------------------------------------------------------------------------------------------------------|-------------|
+| Annex B – Abbreviations ..... | 48 |
+| Appendix I – Implementation of LAPX ..... | 50 |
+| I.1 Introduction ..... | 50 |
+| I.2 Control and status functions ..... | 50 |
+| I.3 Table of transitions between states ..... | 51 |
+| I.4 HDTM/physical layer control and status functions expressed in terms applicable to a modem interface ..... | 52 |
+| Appendix II – RSA public key algorithm..... | 53 |
+| Appendix III – Relationship of timers T14 and T14 bis to the different methods of DTE identification ..... | 54 |
+
+
+
+# **INTERFACE BETWEEN DATA TERMINAL EQUIPMENT (DTE) AND DATA CIRCUIT-TERMINATING EQUIPMENT (DCE) FOR TERMINALS OPERATING IN THE PACKET MODE AND ACCESSING A PACKET SWITCHED PUBLIC DATA NETWORK THROUGH A PUBLIC SWITCHED TELEPHONE NETWORK OR AN INTEGRATED SERVICES DIGITAL NETWORK OR A CIRCUIT SWITCHED PUBLIC DATA NETWORK**
+
+*(Malaga-Torremolinos, 1984; amended at Melbourne, 1988
+and Helsinki, 1993; revised in 1996)*
+
+# **Preface**
+
+The establishment in various countries of Packet Switched Public Data Networks (PSPDNs) providing data services creates the need to produce Recommendations to facilitate access to the PSPDN through a Public Switched Telephone Network (PSTN) or an Integrated Services Digital Network (ISDN) or a Circuit Switched Public Data Network (CSPDN).
+
+The ITU-T,
+
+*considering*
+
+(a) that Recommendation X.1 specifies the user classes of service for DTEs operating in the packet mode, that Recommendation X.2 defines user facilities provided by public data networks, that Recommendation X.10 defines categories of access, that Recommendations X.21 and X.21 *bis* define DTE/DCE physical level interface characteristics, that Recommendation X.25 defines the interface between the DTE and the DCE for terminals operating in the packet mode and connected to public data networks by dedicated lines, that Recommendation X.31 defines the support of packet mode terminal equipment by an ISDN, that Recommendation X.121 defines the international numbering plan for Public Data Networks (PDNs), that Recommendation X.300 defines the principles and arrangements for interworking between PDNs and other public networks;
+
+(b) that the V-Series Recommendations define modem and interface characteristics for use of data services on the PSTN;
+
+(c) that Recommendation T.70 defines the procedures and interfaces to be used by telematic terminals, that Recommendation T.71 defines the extension of Link Access Procedure Balanced (LAPB) procedure to be used in half-duplex transmission facilities (LAPX);
+
+(d) that a need has been identified to access a PSPDN through a PSTN, or an ISDN, or CSPDN, because a dedicated circuit to the PSPDN is not justified, or because global service availability is required with back-up network access via public switched networks; however permanent virtual circuits are not available in the types of access covered in this Recommendation;
+
+(e) that some Administrations have considered the provision of Telematic services in different types of networks, e.g. PSPDN, PSTN, ISDN and CSPDN;
+
+(f) that, when this Recommendation is used to provide the Network Service defined in Recommendation X.213, the physical, link and packet layers correspond to the Physical, Data link and Network layers respectively, as defined in Recommendation X.200,
+
+*(unanimously) recommends*
+
+that the functional and procedural aspects of packet mode DTEs accessing a PSPDN through a PSTN or an ISDN circuit switched bearer service, or CSPDN, are as specified in this Recommendation.
+
+NOTE – Packet mode terminal (TE1 or TE2) conforming to the I-Series Recommendations may access a PSPDN through an ISDN circuit switched bearer service. In this case the functional and procedural aspects related to layer 2 and layer 3 in the B-channel are as specified in this Recommendation.
+
+# 1 Scope
+
+This Recommendation defines the functional and procedural aspects of the DTE/DCE interface for packet mode user classes of service DTEs as defined in Recommendations X.1; for DTEs that access a PSPDN via public switched networks. In this Recommendation, a Public Switched Network (PSN) is either a Public Switched Telephone Network (PSTN) or an Integrated Services Digital Network (ISDN) providing circuit switched bearer service or a Circuit Switched Public Data Network (CSPDN).
+
+NOTE – The ISDN interface specification for transparent circuit connection is described in Recommendation X.31. In this Recommendation only the DTE functionalities for the access to a PSPDN service through an ISDN are considered.
+
+In the PSTN case, the X.32 DTE/DCE interface coincides with the interface between the DTE and the modem. In the ISDN case, the X.32 interface coincides with the R reference point (see Figure 1). In the CSPDN case, the X.32 DTE/DCE interface coincides with the X.21 or X.21 *bis* interface. This definition applies whether or not the Administration provides the DCE and regardless of how the interface is physically realized (e.g. whether or not the DTE and DCE are contained within the same enclosure). In either case the PSN is involved only:
+
+- a) in the establishment of the switched access path;
+- b) to provide a transmission medium; and
+- c) optionally, to provide a PSN number for purposes of identification and addressing.
+
+Administrations may offer one or more of the following physical layer interfaces:
+
+- 1) for access by way of a CSPDN, either Recommendation X.21 or X.21 *bis* will be used, as described in 4.1 or 4.2, respectively;
+- 2) for access by way of a PSTN, appropriate V-Series Recommendations will be used as described in 4.3;
+- 3) for access by way of an ISDN, refer to Recommendation X.31.
+
+The exact use of the relevant points in these Recommendations is given in clause 4.
+
+The transmission facility is duplex or, optionally, half-duplex. Specific procedures are defined in 5.6 for operation over a half-duplex transmission facility.
+
+At the link layer, the LAPB link access procedure of Recommendation X.25 is used over a single switched physical circuit. The LAPB formats and procedures shall be in accordance with 2.2/X.25, 2.3/X.25 and 2.4/X.25, with additions as noted in clause 5.
+
+The formats and the procedures at the packet layer shall be in accordance with 3/X.25, 4/X.25, 5/X.25, 6/X.25 and 7/X.25 with the additions noted in clause 6.
+
+
+
+T0717320-93/d01
+
+Diagram showing the ISDN reference point. A DTE box is connected to a TA box via a line. Above the line, there are two reference points marked 'R'. The first 'R' is between the DTE and TA, labeled 'Rec. X.32' below it. The second 'R' is between the TA and the rest of the line, labeled 'Rec. X.31' below it. The reference point 'R' is indicated by a vertical line segment intersecting the horizontal line.
+
+NOTE – The DTE and TA functionalities may be implemented in the same piece of equipment in the case of a TE1 terminal. In this case, this Recommendation covers layers 2 and 3 operation in the B-channel while the S reference point procedures are described in Recommendation X.31.
+
+FIGURE 1/X.32
+ISDN reference point
+
+# 2 Functional aspects
+
+## 2.1 Dial-in and dial-out considerations
+
+Dial-in operation allows a packet-mode DTE to access a PSPDN by means of selection procedures on a PSTN or CSPDN or ISDN (see Figure 2). This operation is termed “dial-in-by-the-DTE” within this Recommendation.
+
+
+
+The diagram illustrates the dial-in operation. On the left, a triangle labeled 'DTE' has an arrow pointing to a dashed oval labeled 'PSTN or CSPDN or ISDN'. This oval has an arrow pointing to another dashed oval on the right labeled 'PSPDN'. Below the diagram is the reference code 'T0717330-93/d02'.
+
+Diagram of Dial-in-by-the-DTE operation
+
+NOTE – In the ISDN case, the ISDN is accessed via TA functions that may be implemented in separate equipment (DTE and TA case) or in the same piece of equipment (TE1 case) as the DTE functions.
+
+FIGURE 2/X.32
+**Dial-in-by-the-DTE operation**
+
+For performing this operation, the DTE may use an automatic or manual calling procedure.
+
+Dial-out operation allows a PSPDN to access a packet-mode DTE by means of selection procedures on a PSTN or CSPDN or ISDN (see Figure 3). This operation is termed “dial-out-by-the-PSPDN” within this Recommendation.
+
+
+
+The diagram illustrates the dial-out operation. On the left, a dashed oval labeled 'PSPDN' has an arrow pointing to a dashed oval labeled 'PSTN or CSPDN or ISDN'. This oval has an arrow pointing to a triangle on the right labeled 'DTE'. Below the diagram is the reference code 'T0717340-93/d03'.
+
+Diagram of Dial-out-by-the-PSPDN operation
+
+NOTE – In the ISDN case, the ISDN is accessed via TA functions that may be implemented in separate equipment (DTE and TA case) or in the same piece of equipment (TE1 case) as the DTE functions.
+
+FIGURE 3/X.32
+**Dial-out-by-the-PSPDN operation**
+
+For dial-out-by-the-PSPDN operation, the DTE should use the automatic answering procedure but may use manual answering.
+
+Virtual call origination is independent of dial-in-by-the-DTE and dial-out-by-the-PSPDN operations. That is, a DTE that has been involved in a dial-in-by-the-DTE or dial-out-by-the-PSPDN operation may then initiate or receive virtual calls, subject to the limitations in specific situations as described in clause 3.
+
+## 2.2 Identification
+
+### 2.2.1 DTE identity
+
+When a DTE accesses a PSPDN through a PSN (dial-in-by-the-DTE) or when a DTE is accessed by a PSPDN through a PSN (dial-out-by-the-PSPDN), there may be a requirement for identification of the DTE to the DCE.
+
+The DTE “identity” is a means of referring to the DTE. The DTE identity is either explicitly agreed to between the DTE and the Administration or is implicitly acceptable to the Administration through agreements with other Administrations, organizations or authorities. It may be composed of different elements such as a number from a numbering plan, identification of the DTE service and authority, validity dates and period, public keys used for authentication, etc.
+
+The characteristics of the service which a DTE obtains via dial-in-by-the-DTE or dial-out-by-the-PSPDN access depend upon whether the PSPDN considers the DTE identified for each particular switched access connection or virtual call. If the DTE is identified, then the PSPDN has a way to accrue charges to be paid on behalf of the DTE. That is, either the DTE or some other party is billable.
+
+Two components are required in order for a DTE to be considered identified:
+
+- a) the DTE is administratively registered either:
+ - 1) through direct arrangement with the PSPDN (i.e. explicitly); or
+ - 2) through pre-arrangement between the PSPDN and a PSN or another authority, and direct arrangement between the DTE and that authority (i.e. not explicitly);
+- b) the DTE identity is made known to the DCE during the switched access connection using one of the methods described in 2.4.
+
+A DTE may incur charges even if not identified because some Administrations collect charges via the PSTN, ISDN or CSPDN.
+
+In any case, DTE identification is used for billing and accounting purposes. In addition to this basic function, DTE identification may optionally be used for one or both of the following purposes:
+
+- a) enabling the PSPDN to provide a calling DTE address to a called DTE; or
+- b) enabling the DTE to obtain a different service than that offered to DTEs which do not establish an identity (see 2.3).
+
+### 2.2.2 DCE identity
+
+When a network supports dial-out-by-the-PSPDN access to DTEs, there may be a requirement for identification of the network (i.e. DCE) to the DTE. In the case of dial-in-by-the-DTE access, although the identity of the DCE may already be known by the DTE (as the DTE originated the switched access connection), there may also be a DTE requirement for identification of the network. The identification of the DCE to the DTE may be used for different purposes, such as:
+
+- a) to enable the DTE to select the specific security related information (e.g. encrypted key, password, etc.) appropriate to that network for use in exchanges with the DCE;
+- b) to enable the DTE to select different parameters, procedures or profiles appropriate to that network;
+- c) to enable a DTE to ascertain by which PSPDN the switched access has been established, thus enabling proper operation of the optional *closed user group* facility and of the conveyance of the appropriate calling DTE address provided by the PSPDN, if applicable.
+
+For each dial-in-by-the-DTE or dial-out-by-the-PSPDN access, the DCE may establish its identity by successfully completing one of the methods for DCE identification described in 2.5. The DCE identity is composed of the network’s Data Network Identification Code (DNIC), and optionally, a DTE profile designator (see 3.1.11), except when the identity is provided by the PSN (see 2.5.1.1); in the latter case the identity is a number of the PSN numbering plan.
+
+## 2.3 Service aspects
+
+The switched access service given to a particular DTE is dependent upon:
+
+- a) the PSPDN;
+- b) the use/non-use of DTE identification; and
+- c) the DTE service available to and chosen by the DTE.
+
+Three DTE service types are defined in this Recommendation (see 2.3.2). One of the DTE service types (*non-identified*) is independent of the specific DTE identity. One service type (*identified*) may or may not be independent of the specific DTE identity. The third type (*customized*) is related to the specific DTE identity in order to provide customization of some service aspects.
+
+The types of DTE service are further distinguished by whether there is a number assigned by the network to be used to represent the DTE identity in the address fields of *call set-up* packets. This number is called a “DTE address” and is defined in 3.1.3.
+
+### 2.3.1 Service attributes
+
+“Attributes” are defined to describe each aspect of switched access service. However, the values of the attributes do not necessarily include all capabilities offered to PSPDN users that access the PSPDN via a leased line. The attributes are:
+
+- a) DTE identity;
+- b) DTE identification method;
+- c) DTE address;
+- d) registered address;
+- e) registered PSN number;
+- f) X.25 subscription set;
+- g) logical channels assignment;
+- h) dial-out-by-the-PSPDN availability;
+- i) dial-out access type;
+- j) X.32 optional user facilities;
+- k) DCE identity presentation; and
+- l) data link layer address assignment.
+
+For each DTE service, each attribute is either provided or not provided; if it is provided it is either:
+
+- 1) set to a default value specified by the network (Network Default); or
+- 2) set to a value selected by the user from a set of values provided by the network (User Selectable).
+
+NOTE 1 – A network may define a default value for the attribute.
+
+A *DTE profile* is the set of values of the Network Default and User Selectable attributes that have been selected for a particular DTE identity.
+
+NOTE 2 – In some networks, the DTE profile is stored in the PSTN.
+
+Some networks may allow a subscriber to arrange for more than one *DTE profile* to meet different requirements for switched access service. Each *DTE profile* is independent. A “DTE profile designator” is used to differentiate the multiple profiles of the DTE.
+
+### 2.3.2 DTE services
+
+Some networks may offer service to unidentified DTEs, that is, to DTEs for which no identification is provided to the DCE.
+
+Some networks may offer service to identified DTEs, that is, to DTEs for which an implicit or explicit *DTE identity* is provided to the DCE via one of the methods specified in 2.4. Different types of service are defined for use in different situations. The network may offer one or more of these services.
+
+The three types of service defined in this Recommendation are called DTE services. One is a service for unidentified DTEs. The other two are services for identified DTEs. The three DTE services are:
+
+- a) non-identified;
+- b) identified; and
+- c) customized.
+
+#### 2.3.2.1 Service for unidentified DTEs
+
+The service offered to unidentified DTEs is called *non-identified* DTE service and is detailed in 3.3. This DTE service may be offered as part of dial-in-by-the-DTE or dial-out-by-the-PSPDN operation or both.
+
+For a dial-out-by-the-PSPDN operation using a single logical channel, the lifetime of a switched access path corresponds to the lifetime of the virtual call. That is, at the completion of the clearing procedures for the virtual call, the DCE initiates those procedures necessary to disconnect the switched access path.
+
+For a dial-out-by-the-PSPDN operation using multiple logical channels, at the completion of the clearing procedures for the last virtual call, the DCE initiates those procedures necessary to disconnect the switched access path, taking into account the value of the T14 timer (see 7.5)
+
+NOTE – In the case where the network provides the optional capability for multiple logical channels for dial-out-by-the-PSPDN to unidentified DTEs, the service is equivalent to the Registered Address service described in 3.1.4.2. In this case, however, the DTE and the network are not required to establish an agreement for the use of a registered address.
+
+For a dial-in-by-the-DTE operation (and dial-out-by-the-PSPDN using multiple logical channels), the switched access path shall not be disconnected for a period of time (T14), even in the absence of any virtual calls. This allows users a period of time to reestablish a virtual call (see 7.5).
+
+For dial-in-by-the-DTE operation, the PSPDN may limit the number of unsuccessful attempts to reestablish a virtual call.
+
+When a DTE uses the *non-identified* DTE service:
+
+- a) it is not required to use any optional procedures;
+- b) it is able to operate with different networks without having to subscribe to any of them (i.e. not administratively registered and/or assigned an identity with any PSPDN); and
+- c) it should not be permitted to make paid calls or receive reverse-charged calls (i.e. the *local charging prevention* facility is set by the network), thus allowing the Administration to guarantee collection of charges. However, some Administrations may permit non-identified DTEs to make free calls or may use other methods to collect charges, e.g. via the PSTN, ISDN or PSPDN.
+
+#### 2.3.2.2 Services for identified DTEs
+
+The services offered to identified DTEs provide a set of capabilities/facilities different from and/or enhanced beyond the *non-identified* DTE service. In particular, on those networks which allow only identified DTEs to accrue charges, it is possible for DTEs to:
+
+- a) make calls for which the calling DTE assumes responsibility for the charges; and/or
+- b) receive reverse-charged calls.
+
+##### 2.3.2.2.1 Identified DTE service
+
+The PSPDN may offer the *identified* DTE service in which:
+
+- a) the *DTE identity* has not been explicitly agreed to with the Administration, or the *DTE identity* has been explicitly agreed to. In this case, allocation of *registered addresses*, to some DTEs, by the Administration is a network option;
+- b) the other attributes have the values set by the network as specified in 3.4.
+
+The effect of the *identified* DTE service is that this DTE is billable but the service is otherwise similar to the *non-identified* DTE service. Note that the use of the *Network User Identification (NUI) subscription* facility provides a *DTE identity* used for billing purposes and may, in conjunction with the *NUI override* facility (6.2), override, for the specific virtual call, the default set of X.25 subscription facilities. However, when using the *NUI override* facility feature, overriding the facilities is performed only when a Call Request is made by the switched access DTE and not for an Incoming Call to the switched access DTE.
+
+The *identified* DTE service may be offered as part of dial-in-by-the-DTE or dial-out-by-the-PSPDN operation or both.
+
+##### 2.3.2.2.2 Customized DTE service
+
+The PSPDN may offer the *customized* DTE service in which the *DTE identity* has been explicitly agreed to with the Administration, a *registered address* has been allocated and the other attributes are set according to the DTE profile which has been customized for the DTE according to the capabilities supported by the network as permitted within the specification given in 3.5. The effect is that this DTE is billable, has an X.121 address registered with the PSPDN, and is provided a service tailored in many aspects to its requirements. This DTE service may be offered as part of dial-in-by-the-DTE or dial-out-by-the-PSPDN operation or both.
+
+## 2.4 DTE identification methods
+
+This Recommendation provides three distinct methods for DTE identification. These methods are:
+
+- a) identification provided by the public switched network;
+- b) identification by means of a link layer Exchange Identification (XID) procedure;
+- c) identification by means of the *NUI selection* facility in *call set-up* packets.
+
+NOTE – For an interim period, support of the use of a DTE identification method by means of the calling address field in *call request* packets is a national matter. It should be remembered that the use of the calling address field for conveying identification conflicts with the use of this field for addressing, and problems can arise if both uses are needed.
+
+A network may support any, all or none of these methods in conjunction with the DTE services offered (see 2.7).
+
+The mechanisms in b) and c) may be used by some networks to offer functions other than, or in addition to, DTE identification.
+
+The identity of the DTE becomes known to the network via one of the identification procedures at either or both of the following times:
+
+- 1) prior to any virtual call establishment (see 2.4.1); or
+- 2) on a per virtual call basis (see 2.4.2).
+
+It is considered vital that a reasonable degree of protection be achieved in the DTE identification procedure so that Administrations and subscribers can prevent fraudulent DTE identification. Therefore, the identification procedure includes the capabilities to verify and/or authenticate the correctness of the DTE identification. The XID method obeys an “identification protocol” that has been defined in 2.9 and 7.1 for conveying the information necessary for the DCE to receive the DTE identity, verify it to the proper degree of authenticity, and to report on the success of the procedure. Two grades of security are defined in the identification protocol. Identification provided by the public switched network and the X.25 *NUI selection* facility do not use an explicit identification protocol. However, the success of authentication is implicit in the reception by the DTE of a *call connected* packet.
+
+DCE identification may be achieved by using the identification protocol while it is simultaneously being used for DTE identification, but as an independent invocation of the protocol.
+
+Networks may choose to offer “secure dial-back” as an additional means for authentication of the DTE identity. Secure dial-back, as specified in 7.2.1, uses physical location as a basis for DTE authentication by combining dial-in-by-the-DTE, dial-out-by-the-PSPDN, and DTE identification prior to virtual call establishment.
+
+### 2.4.1 Identification prior to virtual call establishment
+
+There are two methods by which the identity of the DTE can be determined by the DCE prior to the establishment of any virtual call. These methods are described in the following two subclauses. Both methods apply to both dial-in-by-the-DTE and dial-out-by-the-PSPDN operation.
+
+The service that a DTE which is identified prior to virtual call establishment obtains is either the *identified* or the *customized* DTE service.
+
+If the service obtained is the *customized* DTE service and includes customized values for link layer options and system parameters, the DTE identification must be performed at the link level (see 2.4.1.2) or be provided by the public switched network (see 2.4.1.1).
+
+The DTE identification that is determined by any of the prior-to-virtual-call-establishment methods remains in effect even in the absence of any virtual calls.
+
+#### 2.4.1.1 Identity provided by the public switched network
+
+In the case of dial-in-by-the-DTE operation, the *DTE identity* may be provided by the public switched network (i.e. PSTN, ISDN or CSPDN) to the PSPDN during the PSN connection establishment stage.
+
+NOTE 1 – The administrative arrangements described in 2.2.1 are necessary for the calling line identification to be used by the PSPDN as a *DTE identity*.
+
+The DTE is a subscriber of the PSTN, ISDN or CSPDN network, and, therefore, the PSTN number, the ISDN number or the CSPDN number (as well as some additional management information in some circumstances) may be available and will be signalled to the PSPDN.
+
+In the case of dial-out-by-the-PSPDN, the PSPDN uses, as the DTE identification, the information which has been provided to the PSN in order to do the dial-out-by-the-PSPDN operation.
+
+NOTE 2 – This method of identification may be used in the case of dial-out-by-the-PSPDN operation even when the PSN does not provide calling line identification.
+
+As the PSN is providing the identification information, the DTE is not required to use any optional user procedures in order to accomplish DTE identification.
+
+The DTE identification determined by means of this method remains in effect until the switched access path is disconnected.
+
+NOTE 3 – Although the operational requirements for a DTE which is not identified or which is identified via the “provided-by-public-switched-network” method are the same, the capabilities/facilities available to DTEs using these methods can be very different. This may result in differences in general DTE operation, especially in regard to reverse charging. In particular, the differences are those between the *non-identified* DTE service and the *identified* or *customized* DTE services.
+
+#### **2.4.1.2 Identity provided by means of the link layer XID procedure**
+
+Identification of the DTE may be provided by a link layer procedure, as described in clauses 5 and 7, based on exchanges of XID frames between the DTE and the DCE before the logical link is established (*disconnected* phase of Recommendation X.25).
+
+This procedure may be optionally offered by networks depending, in part, on the offering by the network of the optional frames that this procedure uses. When it is offered by the network, use of this identification procedure by DTEs is optional.
+
+The XID frame used in this method may also be used for other link layer functions.
+
+The DTE identification determined by means of this method remains in effect until the switched access path is disconnected or the link layer has left the information transfer phase and has entered the *disconnected* phase.
+
+### **2.4.2 Identification per virtual call by means of network user identification facility**
+
+There is a method, using the *network user identification selection* facility, by which the identity of the DTE can be determined on a per-virtual-call basis.
+
+The identification of the DTE is provided in the facility field of the *call request* packet via the use of the optional *NUI selection* facility. Use of NUI in the facility field in a *call accepted* packet allows a modification of billing (e.g. subaccount billing) to be carried out and has no effect on the values of the *DTE profile* in use for this DTE.
+
+This procedure may be optionally offered by networks depending, in part, on the offering by the network of the optional *NUI selection* facility that this procedure uses. When it is offered by the network, use of this identification procedure by DTEs is optional.
+
+The identification established by this method is accomplished at the same time as virtual call set-up and remains in effect until the virtual call is cleared.
+
+The *NUI selection* facility may also be used when a prior-to-virtual-call-establishment identification method has been used. In this case, the service obtained by the DTE using the *NUI selection* facility in a *call request* packet is detailed in 6.2 concerning operation of the *NUI selection* facility.
+
+The service that a DTE using the NUI method obtains is the *identified* DTE service. Upon termination of the virtual call:
+
+- a) if no prior-to-virtual-call-establishment DTE identification had been accomplished, the logical channel is usable again for a *non-identified* call or a DTE-identification-via-NUI call; or
+- b) if a prior-to-virtual-call-establishment DTE identification had been accomplished, the logical channel is usable again under the conditions of the DTE service that the prior-to-virtual-call *DTE identity* had invoked.
+
+## **2.5 DCE identification methods**
+
+This Recommendation provides two methods for DCE identification. These methods are:
+
+- a) identification provided by the public switched network; and
+- b) identification by means of a link layer XID procedure.
+
+When a network provides dial-in-by-the-DTE access and/or dial-out-by-the-PSPDN access, it need not provide the DCE identification to the DTE. Some networks may not provide the DCE identification to the DTE regardless of the approach used for the DTE identification.
+
+However, for the networks that choose to provide the DCE identification to the DTE using one of the optional identification procedures, it is possible that the DTE may not use that optional identification procedure and, therefore, may not recognize the DCE identification. Additionally, networks are not required to provide DCE identification on dial-in-by-the-DTE operation.
+
+There is a need to provide a reasonable degree of protection in the identification procedure so that Administrations and subscribers can prevent inaccurate DCE identification. Therefore, the identification procedure incorporates the functions of authentication and verification of the DCE's identity. The XID method of DCE identification obey an "identification protocol" that has been defined in 2.9 and 7.1 for conveying the information necessary for the DTE to recognize the DCE identity, including verifying the identity to the proper degree of authenticity and reporting on the success of the procedure.
+
+When no DCE identification is received by the DTE, it is the responsibility of the DTE to decide if the level of security is sufficient to continue operation.
+
+DTE identification may be achieved by using the identification protocol while it is simultaneously being used for DCE identification, but as an independent invocation of the protocol.
+
+### **2.5.1 Identification prior to virtual call establishment**
+
+#### **2.5.1.1 Identity provided by the public switched network**
+
+In the case of dial-out-by-the-PSPDN, the PSTN number, the ISDN number or the CSPDN number identifying the DCE may be provided by the public switched network (as well as some additional network management information from the PSPDN in some circumstances).
+
+When identification is provided by the PSN, the DCE is not required to use any optional packet/frame types or any optional packet/frame fields defined in clauses 5, 6 or 7 or in Recommendation X.25.
+
+#### **2.5.1.2 Identity provided by means of the link layer XID procedure**
+
+DCE identification can be optionally provided to the DTE by means of the exchange of XID frames prior to the link set-up. The detailed procedure to provide such information is the identification protocol given in 2.9 and 7.1.
+
+### **2.5.2 Identification per virtual call**
+
+Identification of the DCE to the DTE on a per-virtual-call basis is currently not provided. The need for such a capability has been left for further study.
+
+## **2.6 Dial-in-by-the-DTE and dial-out-by-the-PSPDN operation**
+
+All PSPDNs conforming to this Recommendation shall provide dial-in-by-the-DTE operation. Provision of dial-out-by-the-PSPDN operation is optional.
+
+## **2.7 DTE service requirement**
+
+To provide a switched access service to DTEs, without introducing additional procedures, all PSPDNs conforming to this Recommendation shall offer the *non-identified* DTE service and/or support use of the provided-by-the-PSN DTE identification method.
+
+Networks may also provide access to and/or from DTEs through a PSN, with the DTE being identified to the network using one of the optional identification procedures (see 2.4.1.2 and 2.4.2).
+
+## 2.8 Duplex and half-duplex operation
+
+If CSPDN access is used, the transmission facility is duplex. If PSTN access is used, the transmission facility operation is duplex, or, optionally, some networks may also provide for half-duplex operation. The additional procedures necessary for half-duplex operation are described in 5.6. If an ISDN transparent circuit connection is used, the transmission facility is duplex.
+
+## 2.9 Identification protocol
+
+The “identification protocol” consists of exchanges between the “challenged” party and the “questioning” party. The “challenged” party provides and, optionally, certifies its identity and the “questioning” party checks and authenticates this identity.
+
+The DTE and DCE, either calling or called, may be questioning, challenged, or both questioning and challenged. This is the result of the identification protocol being used independently for DTE identification and DCE identification, possibly simultaneously.
+
+The identification protocol provides two grades of security characterized by how many operations are needed and which elements are needed in each direction.
+
+The operational details of the identification protocol are given in 7.1.
+
+## 2.10 Negotiation of values
+
+Negotiation of link layer parameters is left for further study. Presently, DCE parameters are set to specific values according to the *DTE profile* as outlined in 2.3 and clause 3.
+
+Some networks may provide the capability for negotiation of packet layer facilities by means of the *on-line facility registration* facility. When provided, this negotiation takes as a starting point the values established in the *DTE profile* and, as a result, may override them.
+
+Packet layer facilities may also be overridden by using the *NUI selection* facility when the *NUI override* facility is in effect.
+
+# 3 DTE service descriptions
+
+## 3.1 DTE service attributes
+
+### 3.1.1 DTE identity
+
+The *DTE identity* attribute, when provided, defines the identity of the DTE.
+
+### 3.1.2 DTE identification method
+
+The *DTE identification method* attribute, when provided, defines the DTE identification method used for establishing the *DTE identity* (see 2.4). The method is the same for dial-in-by-the-DTE and dial-out-by-the-PSPDN operation unless the provided-by-PSN method is selected for one operation, in which case the methods may be different.
+
+### 3.1.3 DTE address
+
+When this attribute is provided, a *DTE address* is assigned by the network for a given DTE identity.
+
+The *DTE address* can be derived and validated from the DTE identification.
+
+This *DTE address* may be, as a network option, either an X.121 number from the PSPDN numbering plan (see 2.3/X.121) or a number in the X.121 format from the PSN numbering plan. The number in the X.121 format from the PSN numbering plan for CSPDN is according to 2.3/X.121. The number in the X.121 format from the PSN numbering for PSTN and for ISDN is either according to 2.2.1.3/X.121 or to 2.6/X.121. The possible formats of the DTE address are given in 6.6/X.301.
+
+#### 3.1.3.1 DTE address not provided
+
+In the case of dial-in-by-the-DTE, when the DTE makes a call request, the contents of the calling address field in the corresponding *incoming call* packet are either:
+
+- a) incomplete X.121 PSN format; this means the contents of the calling address field are not valid with respect to the definition of a “valid number” in the various Recommendations (e.g. a four-digit number representing a DNIC that is assigned to a PSN; a number in the form 0 + CC; and a number in the form 9 + TCC are not valid numbers as defined in Recommendations X.121, E.164 and E.163 respectively); or
+- b) temporary number from the PSPDN numbering plan; this corresponds to the address of the dial-in port used for a particular call.
+
+It is a network option whether the incomplete X.121 PSN format or the temporary number is used; however only the incomplete X.121 format is permitted at internetwork interfaces.
+
+Moreover, when the PSN implements calling line identification but there is no arrangement between the PSN and PSPDN to use the number provided by the PSN as DTE identification and when no other DTE identification method is used, the PSPDN may include the PSN-provided number in the calling address field of the *incoming call* packet.
+
+#### 3.1.3.2 DTE address provided
+
+When an identified DTE makes a call request, the contents of the calling DTE address field in the *incoming call* packet given to the called DTE is the *DTE address*. This applies even if the *temporary location* facility has been used to change the *registered PSN number* (see 7.2).
+
+### 3.1.4 Registered address
+
+This attribute, when provided, permits the DCE to be aware of a possible already established PSN connection with the DTE. The value of the *registered address* is always identical to the value of the *DTE address*.
+
+#### 3.1.4.1 Registered address not provided
+
+When the network only provides a single logical channel for dial-out-by-the-PSPDN to a DTE that has no *registered address*, if the called DTE address field in a *call request* packet contains an X.121 number from the PSN numbering plan which is not a *registered address*, a dial-out-by-the-PSPDN operation will result in a busy signal. Therefore the incoming virtual call is cleared.
+
+When the network provides multiple logical channels for dial-out-by-the PSPDN to a DTE that has no registered address, the PSPDN always checks if a switched connection already exists to the called DTE (see 2.3.2.1, this switched connection is then used by the PSPDN.
+
+#### 3.1.4.2 Registered address provided
+
+Upon receiving a call request with a called DTE address, that is the *registered address*, the PSPDN needs to determine whether or not to perform a dial-out-by-the-PSPDN operation. If there is a switched connection in existence on which the *DTE identity* that corresponds to the *registered address* has been established, that switched connection will be used by the PSPDN. Otherwise, the PSPDN will perform the dial-out-by-the-PSPDN operation.
+
+NOTE 1 – This dial-out-by-the-PSPDN will not be successful if there is already a switched connection to the DTE when there has not been an establishment of a *DTE identity* or there has been a *DTE identity* established that does not correspond to the *registered address*.
+
+The PSN number used for the dial-out-by-PSPDN is the *registered PSN number*.
+
+NOTE 2 – In some networks, if the called address used in a call request packet to call a switched access DTE is not the *registered address* for a *DTE identity* but is a *registered PSN number*, the PSPDN will not recognize this as a *registered address* and may treat the call according to the *non-identified DTE service* (see 3.5 and 3.3).
+
+### 3.1.5 Registered PSN number
+
+When the *registered PSN number* attribute is provided, its value is used by the PSPDN for dialing out to that DTE. If a *call request* packet contains a *registered address* which is not X.121 PSN number, the PSPDN uses the *registered PSN number* in order to perform the dial-out-by-the-PSPDN operation. If the *registered address* is an X.121 PSN number, then it is considered to be the *registered PSN number*.
+
+If a DTE does not have a *registered address*, then the *registered PSN number* attribute does not apply.
+
+### 3.1.6 X.25 subscription set
+
+The *X.25 subscription set* attribute defines values for the X.25 link layer options and system parameters and the X.25 packet layer subscription-time optional user facilities which apply to switched access operation. Networks are not required to support all of the link layer options and packet layer subscription-time facilities, except as required in Recommendation X.2. The list of link layer options and system parameters and packet layer optional user facilities in the *X.25 subscription set* is given in Table 3 (see 3.3).
+
+NOTE – As defined in Recommendation X.25, the throughput class values are, at most, the speed of the access line (see the *dial-out access type* attribute, 3.1.9). However, in the case of a modem with automatic fall-back capability, the DCE shall set the default throughput class values to the maximum signalling rate of the modem used, unless the user has selected lower values for the *default throughput classes assignment* facility. Some networks may take into account the signalling rate selected by the modems in fixing the default throughput class.
+
+#### 3.1.6.1 Network default
+
+When the *X.25 subscription set* is specified as network default, the value of each of the options, parameters and facilities is a default value that is set by the PSPDN. Different defaults may apply according to the DTE service invoked.
+
+The value of the *local charging prevention* facility is closely related to the policy of the PSPDN regarding accrual of charges by a non-identified DTE (see 3.3).
+
+#### 3.1.6.2 User selectable
+
+When the *X.25 subscription set* is specified as user selectable, the value of each of the options, parameters, and facilities is available for customization by the user to a value from the set of values offered by the PSPDN.
+
+### 3.1.7 logical channels assignment
+
+The *logical channels assignment* attribute defines the number of logical channels of each type assigned for a particular DTE.
+
+There is a default value assigned by the PSPDN for non-identified DTEs (see below). A different default value may be set by the PSPDN for use in cases where the *DTE identity* is established.
+
+#### 3.1.7.1 Network default
+
+When the logical channels assignment is specified as network default, for Dial-out-by-the-PSPDN operation the network default may be either one virtual call logical channel or more than one virtual call logical channels. Which default is offered by the network is a network operation. For dial-in-by-the-DTE operation, there may be one or more virtual call logical channels; the specific number is a network option. The direction of virtual call placement that is allowed on the logical channel(s) is governed by the direction of the dial operation as shown in Table 1.
+
+TABLE 1/X.32
+
+##### **Direction of virtual call placement allowed as related to direction of the dial operation when logical channels assignment is by network default**
+
+| Dial operation | Capabilities for DTE originating/receiving virtual calls | Equivalent X.25 optional user facilities (Note) |
+|---------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------|-------------------------------------------------------------|
+| Dial-in-by-the-DTE | Originating virtual calls | – Incoming calls barred – 1-way logical channel outgoing |
+| Dial-out-by-the-PSPDN | Receiving virtual calls | – Outgoing calls barred – 1-way logical channel incoming |
+| NOTE – The association of the dial operation with one or both of the optional user facilities is network-dependent. | | |
+
+#### 3.1.7.2 User selectable
+
+When the *logical channels assignment* is specified as user selectable, the number of logical channels of each type is set by the user, for the particular *DTE identity*, from the values supported by the network.
+
+### 3.1.8 dial-out-by-the-PSPDN availability
+
+The *dial-out-by-the-PSPDN availability* attribute allows the use of dial-out-by-the-PSPDN operation.
+
+#### 3.1.8.1 Network default
+
+When the *dial-out-by-the-PSPDN availability* is specified as network default, the network chooses whether or not to offer dial-out-by-the-PSPDN operation. When dial-out-by-the-PSPDN operation is offered, the PSPDN attempts to establish a switched access path to the PSN number given in a *call request* packet.
+
+#### 3.1.8.2 User selectable
+
+When the *dial-out-by-the-PSPDN availability* is specified as user selectable, the capability to have dial-out-by-the-PSPDN availability operation with a particular DTE is chosen by the user. When the *dial-out-by-the-PSPDN availability* is selected, the *registered PSN number* attribute must also be selected. Then the network dials out to the DTE whenever the *registered address* is used in a *call request* packet and there is not already a switched access path.
+
+### 3.1.9 dial-out access type
+
+The *dial-out access type* attribute applies to dial-out-by-the-PSPDN operation and allows a DTE to choose modem characteristics or a user class of service or characteristics of an ISDN connection, possibly other than the national default, from those offered by the network. *Dial-out access type* refers to the modem characteristics (in the case of the PSTN) or the X.1 user class (in the case of the CSPDN) or the characteristics of an ISDN connection (in the case of ISDN) that are used for switched access line operation at the physical layer, see clause 4. A national default dial-out access type is made by the PSPDN for each PSN through which access is permitted.
+
+Note that for dial-in-by-the-DTE through the PSTN, the modem characteristics of the PSPDN port dialled into are used. For dial-in-by-the-DTE through the CSPDN, the X.1 user class of the PSPDN port called is used.
+
+##### NOTES
+
+- 1 Some networks may use the procedures of Recommendation V.100 to perform modem selection.
+- 2 The modem used determines whether the transmission facility is full or half duplex. Therefore, there is no attribute for the type of transmission facility operation.
+
+#### 3.1.9.1 Network default
+
+When the *dial-out access type* is specified as network default, the national default modem characteristics are used for dial-out-by-the-PSPDN through the PSTN. For dial-out-by-the-PSPDN through the CSPDN, the national default X.1 user class is used. For dial-out-by-the-PSPDN through an ISDN, the national default for rate adaption method is used, see Recommendation X.31 for the applicable method.
+
+#### 3.1.9.2 User selectable
+
+When the *dial-out access type* is specified as user selectable, the modem characteristics selected for this *DTE identity*, from those offered by the network, are used for dial-out-by-the-PSPDN through the PSTN. For dial-out-by-the-PSPDN through the CSPDN, the X.1 user class, selected for this *DTE identity* from those offered by the network, is used. For dial-out-by-the-PSPDN through an ISDN, the X.1 user class, selected for this *DTE identity* from those offered by the network, is used.
+
+### 3.1.10 X.32 optional user facility
+
+The secure dial-back X.32 optional user facility is included within this attribute and is defined in 7.2. It is optional for the PSPDN to offer this facility.
+
+### 3.1.11 DCE identity presentation
+
+The PSPDN chooses whether or not to offer DCE identity presentation. When DCE identity presentation is offered, the *DCE identity presentation* attribute defines the DCE identification method used by the PSPDN. The PSPDN may choose to use a DCE identification method for both dial-in-by-the-DTE operation and dial-out-by-the-PSPDN operation or for only dial-out-by-the-DTE operation. When the DCE identification is done for both operations, the method is the same for dial-in-by-the-DTE operation and dial-out-by-the-PSPDN operation. The PSPDN selects one of the DCE identification methods given in 2.5.
+
+Some networks may include a DTE profile designator as part of the DCE identity in order to inform the DTE of the *DTE profile* applicable to the DTE/DCE interface during this instance of switched access. The DTE profile designator is a string of octets that may be assigned by the PSPDN to the *DTE identity* as a name for the specific *DTE profile*.
+
+### 3.1.12 Data link layer address assignment
+
+The *data link layer address assignment* attribute defines the mechanism used to determine the data link layer addresses.
+
+NOTE – Other methods of data link layer address assignment different from those described below are for further study.
+
+#### 3.1.12.1 Network default
+
+When the *data link layer address assignment* is specified as network default, the data link level addresses are assigned depending on the direction of the switched access call as defined in 5.2 (same as Recommendation T.70).
+
+Alternatively, *data link layer address assignment* that is dependent on the roles of the equipment as DTE and DCE, as defined in 5.2 (same as 2.4.2/X.25), may be provided by some networks.
+
+##### NOTES
+
+1 The dial-out-by-the-PSPDN operation will only operate properly when the DTE and the PSPDN implement the same *data link layer address assignment* method.
+
+2 Assigning the data link layer addresses according to the roles of the equipment as DTE and DCE does not allow for two DTEs to interoperate directly without an intervening PSPDN.
+
+#### 3.1.12.2 User selectable
+
+When the *data link layer address assignment* is specified as user selectable, the user designates whether the link level addresses are assigned depending on the direction of the switched access call or depending on the roles of the equipment as DTE and DCE (see 5.2).
+
+## 3.2 Summary of DTE services
+
+The type of each attribute is given for the three DTE services in Table 2.
+
+## 3.3 Non-identified DTE service
+
+The values of the attributes for the *non-identified* DTE service defined in 2.3.2.1 are shown in the “non-identified” column of Table 2:
+
+- no *DTE identity* is established;
+- no *DTE identification* method is used.
+
+Generally, no optional user facilities are available except those governing the direction of virtual call placement (i.e. incoming calls barred, outgoing calls barred, one-way logical channel outgoing, and one-way logical channel incoming) and those that can be used on a per-virtual call basis without prior subscription. In addition, some networks may allow the use of:
+
+- a) some subscription-time optional user facilities without prior subscription. (The network may make these known by publication or through the use of the *on-line facility registration* facility; in such cases, a PSPDN should consider making its identity known non-identified DTEs); and
+- b) some subscription-time optional user facilities that must be requested by the DTE through the use of the *on-line facility registration* facility.
+
+TABLE 2/X.32
+
+### Summary of DTE services
+
+| Services | Non-identified | Identified | Customized |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------|-------------------|------------------------------------------------------|
+| Attributes | | | |
+| DTE identity | – | Yes | Yes |
+| DTE identification method | – | Any (ND) (Note 2) | Prior to virtual circuit establishment (ND) (Note 2) |
+| DTE address | – | (Note 4) | Yes |
+| Registered address | – | (Note 1) | Yes |
+| Registered PSN number | – | – | User selectable |
+| X.25 subscription set | ND | (Note 1) | User selectable |
+| Logical channel assignment | ND | ND | User selectable |
+| Dial-out-by-the-PSPDN availability | ND | (Note 1) | User selectable |
+| Dial-out access type | ND | ND | User selectable |
+| X.32 optional user facilities | – | – | User selectable |
+| DCE identity presentation | ND | ND | ND |
+| Data link layer address assignment | ND | ND | User selectable (Note 3) |
+| – Not provided
ND Network Default
Yes Provided
NOTES
1 In this DTE service, the use of registered addresses for some DTEs is a network option. When the DTE is assigned a registered address , the value of the dial-out-by-the-PSPDN availability attribute is user selectable. Otherwise, (if no registered address is assigned to the DTE), the availability of dial-out-by-the-PSPDN operation is by network default.
2 ND or, if NUI override is in effect, user selectable packet layer facility values (Annex F/X.25).
3 In the case of dial-in-by-the-DTE operation, the link layer address values assigned are the same for both assignment methods and, therefore, the values are not dependent on the assignment method selected by the user.
4 In this DTE service, the use of DTE addresses for some DTEs is a network option.
| | | |
+
+The X.25 data link layer options and system parameters and the X.25 subscription-time optional user facilities are categorized for dial-in-by-the-DTE and dial-out-by-the-PSPDN operation in Table 3 as:
+
+- an “AVAIL-NS” data link layer system parameter, which is set by the network on all networks offering *non-identified* DTE service;
+- an “AVAIL-BAS” optional user facility or data link layer option, which is available on all networks offering *non-identified* DTE service. This facility is in effect even if not requested;
+
+- an “AVAIL-OPT” optional user facility, which is available on some networks offering the *non-identified* DTE service and the availability of which is made known through either publication or use of the *on-line facility registration* facility. These facilities can be used without further request when operating on these networks;
+- a “No” optional user facility or data line level option, which is not available on any network offering *non-identified* DTE service.
+
+The DTE may use any per-call X.25 facility that is supported by the PSPDN and that does not require prior subscription.
+
+## 3.4 Identified DTE service
+
+The values of the attributes for the *identified* DTE service (defined in 2.3.2.2) are shown in the “identified” column of Table 2.
+
+- A *DTE identity* that has been agreed to explicitly or implicitly is provided to the network.
+- The *X.25 subscription* set is the same as in the *non-identified* DTE service except that:
+ - a) for dial-in-by-the-DTE operation, in which the *NUI override* facility is in effect at the DTE/DCE interface, the *NUI selection* facility, as defined in Recommendation X.25, can be used to invoke user selected packet layer facility values (see 6.2 and Annex F/X.25); and
+ - b) the *local charging prevention* facility is not in effect.
+
+The DTE may use any per-call X.25 facility which is supported by the PSPDN and which does not require prior subscription.
+
+TABLE 3/X.32
+
+### Availability of data link layer options and system parameters and packet level subscription-time facilities in the non-identified DTE service
+
+| Option, parameter or facility (applicable to all assigned logical channels) | Available with Dial-in-by-the-DTE operation | Available with Dial-out-by-the-PSPDN operation |
+|-----------------------------------------------------------------------------|---------------------------------------------|------------------------------------------------|
+| Data Link layer | | |
+| K | AVAIL-NS | AVAIL-NS |
+| T1 | AVAIL-NS | AVAIL-NS |
+| T2 | AVAIL-NS | AVAIL-NS |
+| T3 | AVAIL-NS | AVAIL-NS |
+| N1 | AVAIL-NS | AVAIL-NS |
+| N2 | AVAIL-NS | AVAIL-NS |
+| Multilink | No | No |
+| MT1 | No | No |
+| MT2 | No | No |
+| MT3 | No | No |
+| Extended frame sequence numbering | No | No |
+
+TABLE 3/X.32 (continued)
+
+### **Availability of data link layer options and system parameters and packet level subscription-time facilities in the non-identified DTE service**
+
+| Option, parameter or facility (applicable to all assigned logical channels) | Available with Dial-in-by-the-DTE operation | Available with Dial-out-by-the-PSPDN operation |
+|-----------------------------------------------------------------------------|---------------------------------------------|------------------------------------------------|
+| Packet layer | | |
+| On-line facility registration | AVAIL-OPT | AVAIL-OPT |
+| Extended packet sequence numbering | AVAIL-RQ (Note 1) | AVAIL-RQ |
+| D-bit Modification | AVAIL-RQ | AVAIL-RQ |
+| Packet retransmission | AVAIL-OPT | AVAIL-OPT |
+| Incoming calls barred | AVAIL-BAS | No |
+| Outgoing calls barred | No | AVAIL-BAS |
+| One-way logical channel outgoing | AVAIL-BAS | No |
+| One-way logical channel incoming | No | AVAIL-BAS |
+| Non-standard default packet sizes | AVAIL-RQ | AVAIL-RQ |
+| Non-standard default window sizes | AVAIL-RQ (Note 2) | AVAIL-RQ (Note 2) |
+| Default throughput classes assignment | AVAIL-RQ | AVAIL-RQ |
+| Flow control parameter negotiation | AVAIL-RQ (Note 1) | AVAIL-RQ |
+| Basic throughput class negotiation | AVAIL-OPT (Note 1) | AVAIL-OPT |
+| Extended throughput class negotiation | (Note 1) | (Note 1) |
+| Closed user group related facilities | | |
+| – Closed user group | No | No |
+| – Closed user group with outgoing access | No | No |
+| – Closed user group with incoming access | No | No |
+| – Incoming calls barred within a closed user group | No | No |
+| – Outgoing calls barred within a closed user group | No | No |
+| Bilateral closed user group related facilities | | |
+| – Bilateral closed user group | No | No |
+| – Bilateral closed user group with outgoing access | No | No |
+| Fast select acceptance | No | AVAIL-OPT |
+| Reverse charging acceptance | No | No |
+
+TABLE 3/X.32 (concluded)
+
+### **Availability of data link layer options and system parameters and packet level subscription-time facilities in the non-identified DTE service**
+
+| Option, parameter or facility (applicable to all assigned logical channels) | Available with Dial-in-by-the-DTE operation | Available with Dial-out-by-the-PSPDN operation |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|------------------------------------------------|
+| Local charging prevention (Note 3) | Yes | Yes |
+| Network user identification subscription | No | No |
+| NUI override | No | No |
+| Charging information subscription | No | No |
+| ROA subscription | No | No |
+| Hunt group | No | No |
+| Call redirection | No | No |
+| Call deflection subscription | No | No |
+| TOA/NPI address subscription | (Note 4) | (Note 4) |
+| Interface specific alternative address registration | No | No |
+| Alternative address usage subscription | AVAIL-OPT | No |
+| NOTES
1 Further study is required to determine whether subscription should be equivalent to use in a call set-up packet (either in the general format identifier for the extended packet sequence numbering facility or in the facility field for other facilities) under the non-identified DTE service.
2 Some networks offering half-duplex operation as part of the non-identified DTE service may set the default window size to a single non-standard default window size value.
3 The local charging prevention facility is in effect unless the PSPDN permits unidentified DTEs to accrue charges.
4 The application of TOA/NPI address subscription is for further study.
| | |
+
+## 3.5 Customized DTE service
+
+The values of the attributes for the *customized* DTE service (defined in 2.3.2.2.2) are shown in the “customized” column in Table 2.
+
+NOTE – If a public port is used, the values in the customized *DTE profile* may not all be supported. (The characteristics available may vary from one public port to another). The result may be service according to network default values or refusal of service.
+
+A *DTE identity* that has been explicitly agreed to with the PSPDN for obtaining the *customized* DTE service is provided to the PSPDN.
+
+The availability for customization of each X.25 link layer option and system parameter and X.25 packet layer subscription-time facility is given in Table 4.
+
+The DTE may use any per-call X.25 facility which is supported by the PSPDN and which does not require prior subscription.
+
+The DTE may use any per-call X.25 facility which is supported by the PSPDN and which requires a corresponding subscription-time facility to be selected, provided that the corresponding subscription-time facility has been selected.
+
+# 4 Interface characteristics (physical layer)
+
+Administrations may offer one or more of the physical layer interfaces specified below.
+
+For a description of the physical layer interface for the case of ISDN transparent circuit connection, see Recommendation X.31.
+
+TABLE 4/X.32
+
+### **Availability for customization in the customized DTE service of the X.25 data link layer options and system parameters and the X.25 subscription-time facilities**
+
+| Option, parameter or facility | Customization available |
+|---------------------------------------|-------------------------|
+| Data Link layer | |
+| K | CUSTOM |
+| T1 | CUSTOM |
+| T2 | CUSTOM |
+| T3 | CUSTOM |
+| N1 | CUSTOM |
+| N2 | CUSTOM |
+| Multilink | (Note 1) |
+| MT1 | (Note 1) |
+| MT2 | (Note 1) |
+| MT3 | (Note 1) |
+| Extended frame sequence numbering | CUSTOM |
+| Packet layer | |
+| On-line facility registration | CUSTOM |
+| Extended packet sequence numbering | CUSTOM |
+| D-bit modification | CUSTOM |
+| Packet retransmission | CUSTOM |
+| Incoming calls barred | CUSTOM |
+| Outgoing calls barred | CUSTOM |
+| One-way logical channel outgoing | CUSTOM |
+| One-way logical channel incoming | CUSTOM |
+| Non-standard default packet sizes | CUSTOM |
+| Non-standard default window sizes | CUSTOM |
+| Default throughput classes assignment | CUSTOM |
+| Flow control parameter negotiation | CUSTOM |
+| Basic throughput class negotiation | CUSTOM |
+| Extended throughput class negotiation | CUSTOM |
+
+TABLE 4/X.32 (concluded)
+
+### **Availability for customization in the customized DTE service of the X.25 data link layer options and system parameters and the X.25 subscription-time facilities**
+
+| Option, parameter or facility | Customization available |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------|
+| Packet layer ( end ) | |
+| Closed user group related facilities – Closed used group – Closed user group with outgoing access – Closed user group with incoming access – Incoming calls barred within a closed user group – Outgoing calls barred within a closed user group | CUSTOM CUSTOM CUSTOM CUSTOM CUSTOM |
+| Bilateral closed user group related facilities – Bilateral closed user group – Bilateral closed user group with outgoing access | CUSTOM CUSTOM |
+| Fast select acceptance | CUSTOM |
+| Reverse charging acceptance | CUSTOM |
+| Local charging prevention | CUSTOM |
+| Network user identification subscription | CUSTOM |
+| NUI override | CUSTOM |
+| Charging information subscription | CUSTOM |
+| ROA subscription | CUSTOM |
+| Hunt group | CUSTOM |
+| Call redirection | CUSTOM (Note 2) |
+| Call deflection subscription | CUSTOM |
+| TOA/NPI address subscription | (Note 3) |
+| Interface specific alternative address registration | CUSTOM |
+| Alternative address usage subscription | CUSTOM |
+| CUSTOM Can be chosen or set to a non-default value by the DTE, if supported by the PSPDN NOTES 1 The need for multilink procedures over switched access paths is left for further study. 2 The criteria for determining that the DTE is out of order (for the purposes of call redirection) have been left for further study. 3 The application of TOA/NPI address subscription is for further study. | |
+
+## 4.1 X.21 interface
+
+For establishment, maintenance, and disestablishment of a switched access path between a DTE and a PSPDN by way of a CSPDN, the interface at the physical layer shall be in accordance with Recommendation X.21, as described in the following subclauses.
+
+### **4.1.1 DTE/DCE physical interface elements**
+
+The DTE/DCE physical interface elements shall be according to 2.1/X.21 through 2.5/X.21.
+
+### **4.1.2 Alignment of call control characters and error checking**
+
+Alignment of call control characters and error checking shall be in accordance with clause 3/X.21.
+
+### **4.1.3 Procedures for entering operational phases**
+
+The *call control* phase shall be required prior to entering the data transfer phase and shall be in accordance with clause 4/X.21.
+
+After a call is established within the CSPDN, the physical layer interface will enter the *data transfer* phase, as described in 5.1/X.21. While in the *data transfer* phase (state 13), data exchanged on circuits T and R will be as described in subsequent subclauses.
+
+The *Not ready* states given in 2.5/X.21 are considered to be non-operational states, and may be considered by higher layers to be out-of-order states.
+
+### **4.1.4 Clearing procedures**
+
+Clearing procedures shall be according to clause 6/X.21.
+
+### **4.1.5 Failure detection principles and test loops**
+
+Failure detection principles shall be according to 2.6.1/X.21 and 2.6.2/X.21.
+
+The definitions of test loops and the principles of maintenance testing using test loops are provided in Recommendation X.150.
+
+A description of the test loops and the procedures for their use are given in clause 7/X.21.
+
+Automatic activation by a DTE of test loop 2 in the DCE at the remote DTE/DCE interface is not possible. However, some Administrations may permit the DTE to control the equivalent of a test loop 2 at the local data switching exchange (DSE) to verify the operation of the subscriber line, the switched access path and all or part of the DCE or line terminating equipment. Subscriber control of the loop, if provided, may be manual or automatic as described in Recommendations X.150 and X.21, respectively.
+
+### **4.1.6 Signal element timing**
+
+The signal element timing shall be in accordance with 2.6.3/X.21.
+
+## **4.2 X.21 *bis* interface**
+
+For establishment, maintenance, and disestablishment of a switched access path between a DTE and a PSPDN by way of a CSPDN, the interface at the physical layer shall be in accordance with Recommendation X.21 *bis*, as described in the following subclauses.
+
+### **4.2.1 DTE/DCE physical interface elements**
+
+The DTE/DCE physical interface elements shall be in accordance with 1.2/X.21 *bis*.
+
+### **4.2.2 Procedures for entering operational phases**
+
+The procedures for entering operational phases shall be in accordance with clause 2/X.21 *bis*. When circuit 107 is in the ON condition, and when circuits 105, 106, 108, and 109, if provided, are in the ON condition, data exchange on circuits 103 and 104 will be as described in subsequent subclauses.
+
+When circuit 107 is in the OFF condition, or any of circuits 105, 106, 108 or 109, if provided, is in the OFF condition, the interface is considered to be in a non-operational state and may be considered by the higher layers to be in an out-of-order state.
+
+### **4.2.3 Failure detection and test loops**
+
+Failure detection principles, the description of the test loops and the procedures for their use are given in 3.1/X.21 *bis* through 3.3/X.21 *bis*.
+
+Automatic activation by a DTE of test loop 2 in the DCE at the remote DTE/DCE is not possible. However, some Administrations may permit the DTE to control the equivalent of a test loop 2 at the local DSE to verify the operation of the subscriber line, the switched access path, and all or part of the DCE or line terminating equipment. Subscriber control of the loop, if provided, may be manual or automatic as described in Recommendations X.150 and X.21 *bis*, respectively.
+
+### **4.2.4 Signal element timing**
+
+Signal element timing shall be in accordance with 3.4/X.21 *bis*.
+
+## **4.3 V-Series interface**
+
+For establishment, maintenance, and disestablishment of a switched access path between a DTE and a PSPDN by way of a PSTN, the physical layer interface shall be as described in the following subclauses.
+
+### **4.3.1 Modem characteristics**
+
+Administrations may choose to offer modem characteristics in accordance with any or all of the following:
+
+- a) 1200 bit/s Recommendation V.22, Alternatives A, B or C, Mode i)
+- b) 2400/1200 bit/s Recommendation V.22 *bis*, Modes i) or iii), or
+Recommendation V.26 *ter*, Mode i) or iii)
+- c) 9600/4800 bit/s Recommendation V.32, Synchronous Modes
+- d) 14 400 bit/s Recommendation V.32 *bis* Synchronous Mode
+- e) 28 800 bit/s Recommendation V.34 Synchronous Mode
+
+In addition, those Administrations which offer half-duplex operation may choose to offer modem characteristics in accordance with any or all of the following:
+
+- f) 4800/2400 bit/s Recommendation V.27 *ter*
+
+Other modem characteristics are left for further study or are a national matter.
+
+Use of the backward channel, if allowed, is outside the scope of this Recommendation.
+
+### **4.3.2 Procedures for full duplex operational phases**
+
+When circuit 107 is in the ON condition, and when circuits 105, 106, 108 and 109, if provided, are in the ON condition, data exchanged on circuits 103 and 104 will be as described in subsequent subclauses.
+
+Circuits 106 and 109 may enter the OFF condition due to momentary transmission failures of modem retraining. Higher layers should delay for several seconds before considering the interface to be non-operational.
+
+### **4.3.3 Procedures for half-duplex operational phases**
+
+The states of circuits 103, 104, 105, 106 and 107 shall be according to 5.6.8.
+
+### **4.3.4 Origination procedures**
+
+DTEs may use either:
+
+- a) the automatic origination procedures described in clause 3/V.25;
+- b) the automatic origination procedures described in clause 4/V.25 *bis* or 5/V.25 *bis*;
+- c) the manual origination procedures of clause 6/V.25.
+
+Networks will use automatic origination procedures only.
+
+NOTE – Other origination procedures may be used provided that no special requirements are placed on DTEs (including DTEs having integral modems and diallers) using only V.25 or V.25 *bis* procedures.
+
+### **4.3.5 Answering procedures**
+
+For dial-out-by-the-PSPDN procedures, DTEs should use the automatic answering procedures of Recommendations V.25 and V.25 *bis*. Some Administrations may also allow use of manual answering procedures, provided that doing so does not affect DTEs using automatic answering procedures.
+
+For dial-in-by-the-DTE, networks will use automatic answering procedures only.
+
+### **4.3.6 Disconnection procedures**
+
+DTEs and networks shall use the disconnection procedures specified in Recommendation V.24.
+
+### **4.3.7 Test loops**
+
+The definitions of test loops and the principles of maintenance testing using test loops are provided in Recommendation V.54.
+
+Descriptions of the test loops and the procedures for their use are given in the appropriate modem Recommendations. It should be noted that the procedures for loop testing vary among the several modem Recommendations.
+
+Automatic activation by a DTE of test loops 2 and 4 in the DCE at the remote DTE/DCE interface is not possible. However, some Administrations may permit the DTE to control the equivalent of a test loop 2 or 4 at the local DSE to verify the operation of the subscriber line, the switched access path, and all or part of the DCE or line terminating equipment. Subscriber control of the loop, if provided, may be manual or automatic as described in Recommendation V.54 and the appropriate modem Recommendations, respectively.
+
+# **5 Link access procedure across the DTE/DCE interface**
+
+## **5.1 Introduction**
+
+This clause specifies the mandatory and optional data link layer procedures that are employed to support switched access data interchange between a DCE and a DTE.
+
+### **5.1.1 Compatibility with the ISO balanced classes of procedure**
+
+The switched access data link layer procedures defined in this Recommendation use the principles and terminology of the High-level Data Link Control (HDLC) procedures specified by the International Organization for Standardization.
+
+DCE compatibility of operation with the ISO balanced classes of procedure (Class BA with options 2 and 8 and Class BA with options 2, 8 and 10) is achieved using the LAPB procedure described in 2.2/X.25, 2.3/X.25, and 2.4/X.25. Class BA with options 2 and 8 (LAPB modulo 8) is available in all networks for switched access.
+
+Class BA with options 2, 8 and 10 (LAPB modulo 128) may also be offered for switched access by some networks.
+
+NOTE – The operating conditions under which modulo 128 sequence numbering applies are left for further study.
+
+Class BA 1, 2, 8 and Class BA 1, 2, 8 and 10 provide for the additional use of the unnumbered format Exchange Identification (XID) command and response. This additional capability may be used in the performance of DTE/DCE identification and authentication and in the selection of X.32 optional user facilities (see 7.2) by the application of the proposed HDLC standard – General purpose XID frame information field content and format (ISO International Standard 8885).
+
+### **5.1.2 Underlying transmission facility**
+
+The underlying transmission facility is duplex or, optionally, half-duplex (see 2.8). Specific procedures are defined in 5.6 for operation over a half-duplex transmission facility.
+
+## **5.2 Data link layer address assignment**
+
+Two alternative mechanisms for assigning the data link layer addresses are included in the procedures of this Recommendation. The conditions under which each mechanism applies are specified in the *data link layer address assignment* attribute (see 3.1.12).
+
+It should be noted that the alternative mechanisms result in the assignment of identical values in dial-in-by-the-DTE operation.
+
+### 5.2.1 Assignment depending on switched access call direction
+
+In accordance with Recommendation T.70, data link layer address assignment for dial-in-by-the-DTE and dial-out-by-the-PSPDN operation depends on the direction of the switched access call as specified in Figure 4.
+
+The DCE is always aware of whether the switched access path is established by the DTE (dial-in-by-the-DTE) or the DCE (dial-out-by-the-PSPDN). The DTEs that are not or cannot be aware of this situation shall initiate the appropriate address resolution procedures to determine the individual address of the DCE. These procedures are left for further study. However, it is intended that these procedures will not affect DTEs using the data link layer address assignment described in Figure 4.
+
+Link addresses, A and B, shall be assigned according to the following rules:
+
+- 1) the calling party shall take address A;
+- 2) the called party shall take address B;
+- 3) commands and responses shall be transferred as shown in Figure 4.
+
+
+
+```
+graph LR; A[Calling party A] -- "Commands (B)" --> B[Called party B]; A -- "Responses (A)" --> B; B -- "Commands (A)" --> A; B -- "Responses (B)" --> A;
+```
+
+Diagram illustrating data link layer address assignment between a Calling party A and a Called party B. Four horizontal arrows connect them: the top two from A to B are labeled 'Commands (B)' and 'Responses (A)'; the bottom two from B to A are labeled 'Commands (A)' and 'Responses (B)'.
+
+T0717350-93/d04
+
+NOTE – For dial-in-by-the-DTE, the DTE is the calling party A; for dial-out-by-the-PSPDN, the DCE is the calling party A.
+
+FIGURE 4/X.32
+**Data link layer address assignment
+depending on switching access call direction**
+
+### 5.2.2 Assignment depending on roles of equipment as DTE and DCE
+
+In accordance with the specifications in 2.4.2/X.25, the data link layer address assignment depends on the roles of the equipment as DTE and DCE such that the DCE transmits to the DTE the address A in command frames and the address B in response frames and the DTE does the opposite (i.e. transmits to the DCE address B in command frames and address A in response frames).
+
+## 5.3 Use of exchange identification (XID) frames
+
+### 5.3.1 General
+
+XID frames may be used by the DCE and DTE in the performance of either DTE or DCE identification and authentication, and/or by the DTE and DCE to convey X.32 optional user facilities (see 7.2).
+
+NOTE – The use of the XID command/response for address negotiation and the negotiation of link layer parameters is left for further study.
+
+#### 5.3.1.1 XID command
+
+The XID command is used by the DTE/DCE to cause the DCE/DTE to identify itself, and, optionally, to provide DTE/DCE identification and/or characteristics to the DCE/DTE. An information field is optional with the XID command.
+
+#### 5.3.1.2 XID response
+
+The XID response is used by the DTE/DCE to reply to a XID command. An information field containing the DTE/DCE identification and/or characteristics may be optionally present in the XID response.
+
+### 5.3.2 **Format of XID frame**
+
+The format of the address field of the XID frame is as defined in 5.2.
+
+The format of the control field of the XID frame is given in Figure 5.
+
+NOTE – The first bit transmitted is bit 1, the low order bit.
+
+| Format | Command | Response | Encoding | | | | | | | |
+|------------|---------|----------|----------|---|---|---|-----|---|---|---|
+| | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
+| Unnumbered | XID | XID | 1 | 1 | 1 | 1 | P/F | 1 | 0 | 1 |
+
+FIGURE 5/X.32
+**XID command and response control field bit encoding**
+
+After the XID control field there may be an XID information field. The general format of the XID information field, when present, is shown in Figure 6.
+
+
+
+Diagram showing the general structure of the XID information field. It consists of five subfields: Format identifier subfield, Layer subfield, three dots (indicating more subfields), another Layer subfield, and a User data subfield. A bracket below all these subfields is labeled 'XID information field'. Reference: T0717360-93/d05
+
+FIGURE 6/X.32
+**General structure of the XID information field**
+
+The XID information field is composed of a number of subfields. These subfields are a Format Identifier (FI) subfield, several layer subfields, and a user data subfield.
+
+The FI subfield is a fixed one-octet field. This field is encoded to have a capacity of designating 128 different ISO standardized formats and 128 different user-defined formats. The format identifier in this Recommendation is one of the ISO standardized format identifiers. The FI subfield is present if there is a layer subfield and/or a user data subfield present. The FI subfield need not be present if there is no layer subfield or data user subfield present. The format identifier is encoded as shown in Figure 7.
+
+| Bits | | | | | | | |
+|------|---|---|---|---|---|---|---|
+| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
+| 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
+
+T0717370-93/d06
+
+FIGURE 7/X.32
+**XID format identifier subfield**
+
+The layer subfields are permitted to be present in the information field of either XID command or XID response frames for the purposes of link layer address resolution and link level parameter negotiation. The use of these subfields within the scope of this Recommendation is left for further study.
+
+The user data subfield contains data link user information to be transferred during XID interchange. This data link user information is transported transparently across the data link and passed to the user of the data link. The user data subfield is composed of the two elements illustrated in Figure 8.
+
+The user data identifier element identifies the subfield as the user data subfield. Its encoding is shown in Figure 9.
+
+The length of the user data field is the number of octets between the user data identifier and the frame check sequence of the XID frame. The user data field element contains the X.32 identification protocol elements or X.32 optional user facilities which are described in clause 7 (see Table 7).
+
+
+
+The diagram shows a rectangular box divided into two equal-width sections. The left section is labeled "User data identifier" and the right section is labeled "User data field". Below the entire box, a horizontal double-headed arrow spans the width of the box, with the text "User data subfield" centered above the arrow.
+
+Diagram of User data subfield structure showing a box divided into 'User data identifier' and 'User data field', with a bracket below labeled 'User data subfield'.
+
+FIGURE 8/X.32
+User data subfield
+
+
+
+| Bits | | | | | | | |
+|------|---|---|---|---|---|---|---|
+| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
+| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
+
+Diagram of User data identifier element showing a table of 8 bits, all set to 1.
+
+FIGURE 9/X.32
+User data identifier element
+
+In the scope of this Recommendation, the user data subfield should only be used in XID command frames, and while in the disconnected phase.
+
+Since the use of layer subfields is for further study within the scope of this Recommendation, the format of the information field of the XID command frames is summarized in Figure 10.
+
+
+
+| | Bits | | | | | | | | |
+|---------|-----------------|---|---|---|---|---|---|---|----------------------|
+| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
+| Octet 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | Format identifier |
+| 2 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | User data identifier |
+| 3 | User data field | | | | | | | | } User data subfield |
+| | | | | | | | | | |
+
+Diagram of XID information field format showing octets 1, 2, and 3 with bit patterns for format identifier, user data identifier, and user data field.
+
+FIGURE 10/X.32
+XID information field format
+
+### 5.3.3 XID procedures for identification and X.32 optional user facilities
+
+#### 5.3.3.1 General
+
+When a DTE/DCE determines that it is not able to act upon a received XID command, it will consider this XID command as not implemented and will act as specified in Recommendation X.25 (see 2.4.4.4.1/X.25 for the *disconnected* phase, and 2.4.6.1/X.25 for the *information transfer* phase).
+
+When a DTE/DCE determines that it is able to act upon a received XID command, it shall process this command and acknowledge it by transmitting an XID response with the F bit set to the value of the P bit received in the XID command in any phase (*disconnected* phase or *information transfer* phase). The DCE shall and the DTE should set the P bit to 1 in the XID command frame.
+
+For purposes of this Recommendation, the user data subfield shall only be used in XID command and while in the disconnected phase. A user data subfield will be ignored by the DCE when received in an XID response and/or while in the *information transfer* phase.
+
+When transmitting an XID command, the DTE/DCE shall start timer T1. Timer T1 is stopped upon reception of the XID response with the F bit set to the value of the P bit sent in the XID command.
+
+If timer T1 expires before the XID response (which has the F bit set to the value of the P bit sent in the XID command) is received by the DTE/DCE, the DTE/DCE retransmits the XID command and restarts timer T1. The maximum number of attempts made by the DTE or DCE to complete successful transmission of the XID command is defined by N2.
+
+#### 5.3.3.2 Identification, authentication and selection of X.32 optional user facilities using XID frames
+
+The reception of an XID response by the DTE/DCE only means that the corresponding XID command has been correctly received by the DCE/DTE. If the DCE/DTE needs to transmit an identification protocol element or an X.32 facility element to the DTE/DCE, it shall transmit the element in an XID command.
+
+Following successful identification/authentication and/or selection of X.32 optional user facilities using an XID exchange(s), the data link will be established under normal LAPB procedures (see 5.4.1). If these procedures are not successful, the switched access path is disconnected (see 5.4.2).
+
+The identification of the DTE and/or DCE remains in effect until the link layer or the switched access path is disconnected.
+
+## 5.4 Link set-up disconnection
+
+### 5.4.1 Link set-up
+
+The initiative of the link set-up is in the charge of the DTE in dial-in-by-the-DTE operation and of the DCE in dial-out-by-the-PSPDN operation. The DCE may also initiate link set-up in the case of dial-in-by-the-DTE operation; likewise, the DTE may also initiate link set-up in the case of dial-out-by-the-PSPDN operation.
+
+When receiving a Set Asynchronous Balanced Mode (SABM) or Set Asynchronous Balanced Mode Extended (SABME) (if supported) command during the identification procedure with XID frames, the DCE/DTE shall consider that the DTE/DCE does not want to complete the identification procedure. The DTE/DCE may then accept the link set-up initiation or may disconnect the link and the switched access path, depending on whether or not the DCE/DTE considers the completion of the identification process as mandatory.
+
+During the period between transmitting an SABM/SABME command and receiving the UA response, the DCE/DTE shall discard any frame (including XID) except SABM/SABME, Disconnect (DISC), Unnumbered Acknowledge (UA) and Disconnected Mode (DM) as specified in 2.4.4.1/X.25.
+
+### 5.4.2 Disconnection
+
+Whenever the DCE needs to disconnect the switched access path and the link is not already in the *disconnected* phase, it should first disconnect the link.
+
+## 5.5 Multilink
+
+The need for multilink procedures over switched access paths is left for further study.
+
+## 5.6 Half-duplex operation
+
+Figure 11 shows the Half-Duplex Transmission Module (HDTM) for extending LAPB for operation over the PSTN where half-duplex circuits are used. The signals which the two LAPX modules use in controlling the direction of the line are described.
+
+Before the HDTM begins operation the physical circuit must be established by the appropriate PSTN call control procedures. The HDTM in the DTE or DCE which has established the switched access path will initially have the right to transmit. The DTE or DCE which originated the switched access path is the “calling DTE/DCE”. The other DTE or DCE is the “called DTE/DCE”.
+
+
+
+T0717410-93/d10
+
+Diagram of the Link layer for PSTN access based on LAPB plus the HDTM. It shows two sides: DTE (to packet layer) and DCE (to packet layer). Each side contains a LAPB module and an HDTM module. The LAPB modules are connected to the packet layer and to the HDTM modules. The HDTM modules are connected to the physical layer. The HDTM modules exchange 'Right to transmit signals' with each other. The LAPB modules exchange 'Frames' with each other. The diagram is labeled 'LAPB extended' on both sides. A legend at the bottom indicates that vertical arrows represent 'Inter-layer/sublayer communication' and horizontal arrows represent 'Intra-layer/sublayer communication'.
+
+FIGURE 11/X.32
+**Link layer for PSTN access based on LAPB plus the HDTM**
+
+### 5.6.1 Right to transmit
+
+The purpose of the HDTM is to coordinate the use of the half-duplex line between the DTE and DCE. It must exchange signals with the remote HDTM, interact with LAPB, and direct the physical level. The HDTM has the responsibility for deciding when to give up the right to transmit.
+
+The right to transmit is exchanged between the DTE and DCE by using the idle channel state condition and flags as signals. Initially, the DTE or DCE which initiated establishing the physical connection has the right to transmit. That DTE or DCE sends the idle channel state condition when it has finished transmitting frames. After the line has been turned around, the other DTE/DCE sends flags to confirm the exchange of the right to transmit, until it has a frame to send. If the confirmation is not received in a certain amount of time, the DTE or DCE which gave up the right to transmit may take it again by sending flags.
+
+NOTE – If no frame is sent, at least five flags must be sent as the minimum signal between receiving the right to transmit and relinquishing it again.
+
+The meaning of the idle channel state condition in this Recommendation is different from that of Recommendation X.25. As a result, the T3 timer does not apply to half-duplex operation.
+
+An optional alternative to the detection of the idle channel state condition is to use the detection of the carrier going OFF as the signal that the sending device is giving up the right to transmit. Also, an optional alternative to the detection of flags is to use the detection of the carrier going ON as the signal that the remote device has accepted the right to transmit. This alternative behavior should only be used with modems that give substantial protection from transient errors on the line.
+
+In those situations where the physical layer cannot detect that the connection has been cut-off, an optional procedure, which detects the absence of any activity over a period of time and then disconnects the link, should be used.
+
+### 5.6.2 Layer relationships
+
+In adapting LAPB for half-duplex operation, modifications have been kept to a minimum. However, there is a functional requirement that the HDTM inhibit LAPB from sending frames during certain phases of the half-duplex procedure. The means of accomplishing this functional requirement are not defined in this Recommendation. Some considerations in implementing the HDTM are discussed in Appendix I.
+
+The logical relationships among LAPB, the HDTM, and the physical layer are as shown in Figure 12.
+
+
+
+```
+graph TD; LAPB[LAPB] <--> HDTM[HDTM]; HDTM <--> Physical[Physical layer];
+```
+
+T0717420-93/d11
+
+Diagram showing the logical relationships among LAPB, HDTM, and the Physical layer. LAPB is at the top, HDTM is in the middle, and the Physical layer is at the bottom. Double-headed vertical arrows connect LAPB to HDTM, and HDTM to the Physical layer, indicating bidirectional communication.
+
+FIGURE 12/X.32
+Layer relationships
+
+### 5.6.3 State definitions
+
+Five states of the HDTM are defined for describing the procedure used to keep track of the right to transmit.
+
+#### 5.6.3.1 Idle state (state 0)
+
+The DTE/DCE is in an inactive state. This is the initial state prior to the establishment of the switched access path and the final state after termination of the switched access path.
+
+#### 5.6.3.2 Half-duplex sending state (state 1)
+
+The DTE/DCE is in a half-duplex sending state, so that all signals generated by LAPB are passed to the physical layer. The calling DTE/DCE enters this state upon establishment of the switched access path.
+
+#### 5.6.3.3 Wait for receiving state (state 2)
+
+The DTE/DCE is waiting for an indication that the remote DTE/DCE has entered the half-duplex sending state. No signals generated by LAPB are passed to the physical layer.
+
+#### 5.6.3.4 Half-duplex receiving state (state 3)
+
+The DTE/DCE is in a half-duplex receiving state, so that no signals generated by LAPB are passed to the physical layer. The remote DCE/DTE is considered to be in the half-duplex sending state. The called DTE/DCE enters this state upon establishment of the switched access path.
+
+#### 5.6.3.5 Wait for sending state (state 4)
+
+The DTE/DCE is awaiting indication of the availability of the physical layer for transmission of frames to the remote DCE/DTE. Flag, idle channel state condition, and abort signals are passed to the physical layer, but sending of frames is inhibited.
+
+### 5.6.4 Timer XT1
+
+A timer, XT1, is defined for use in recovering from an apparent failure of the remote DTE/DCE to take the right to transmit. To avoid a contention condition during this recovery process, different values of timer XT1 are to be used by the called and calling DTE/DCE. A calling DTE/DCE uses the value XT1a, and a called DTE/DCE uses the value XT1b.
+
+The values of XT1a and XT1b are system parameters and have been left for further study.
+
+### 5.6.5 Counter XC1
+
+An optional counter, XC1, is defined for use in determining that the connection has been cut-off. It is incremented when the DTE or DCE is given the right to transmit or seizes the right to transmit and has not received a frame or at least five continuous flags. This counter is decremented if its value is greater than zero and the flags or a frame have been received. If the counter reaches a certain level, the switched call is assumed to be cut-off. The minimum value of this cut-off level is four.
+
+### 5.6.6 State diagram and descriptions
+
+The state diagram shown in Figure 13 describes the procedure used by the HDTM for controlling the right to transmit. The number in each ellipse is the state reference number. The transitions are caused by interactions between LAPB and the HDTM, interactions between the HDTM and the physical layer, signals from the remote HDTM, and timer expiration within the HDTM.
+
+
+
+```
+graph TD
+ 1((1
+Half-duplex
+sending state)) -- "Send right to transmit" --> 2((2
+Wait for
+receiving state))
+ 1 -- "Disconnect sending DTE/DCE" --> 0((0
+Idle state))
+ 2 -- "Send confirmation" --> 1
+ 2 -- "Initialize called DTE/DCE" --> 0
+ 0 -- "Initialize calling DTE/DCE" --> 4((4
+Wait for
+sending state))
+ 0 -- "Disconnect receiving DTE/DCE" --> 3((3
+Half-duplex
+receiving state))
+ 3 -- "Reset from any state" --> 0
+ 3 -- "Receive confirmation" --> 2
+ 3 -- "Receive right to transmit" --> 4
+ 4 -- "Seize right to transmit" --> 3
+```
+
+T0717430-93/d12
+
+State diagram for HDTM showing five states: 1 (Half-duplex sending state), 2 (Wait for receiving state), 3 (Half-duplex receiving state), 4 (Wait for sending state), and 0 (Idle state). Transitions include 'Send right to transmit', 'Disconnect sending DTE/DCE', 'Send confirmation', 'Initialize called DTE/DCE', 'Initialize calling DTE/DCE', 'Reset from any state', 'Disconnect receiving DTE/DCE', 'Receive confirmation', 'Receive right to transmit', and 'Seize right to transmit'.
+
+FIGURE 13/X.32
+State diagram
+
+### 5.6.7 State definitions expressed in terms applicable to a modem interface
+
+Taking the use of the HDTM with a V-Series modem interface as an example, the following expressions of the state definitions can be made:
+
+#### 5.6.7.1 Idle state (state 0)
+
+Circuit 107 is OFF. Circuit 105 is OFF. LAPB is inhibited from sending frames and is disconnected from circuit 103.
+
+#### 5.6.7.2 Half-duplex sending state (state 1)
+
+Circuit 105, circuit 106 and circuit 107 are ON. LAPB is connected to circuit 103 and enabled to send frames.
+
+#### 5.6.7.3 Wait for receiving state (state 2)
+
+Circuit 107 is ON, circuit 105 is OFF. LAPB is inhibited from sending frames and disconnected from circuit 103, which is held in the binary 1 condition. Timer XT1 is running.
+
+#### 5.6.7.4 Half-duplex receiving state (state 3)
+
+Circuit 107 is ON, circuit 105 is OFF. LAPB is inhibited from sending frames and disconnected from circuit 103, which is held in the binary 1 condition.
+
+#### 5.6.7.5 Wait for sending state (state 4)
+
+Circuit 105 and circuit 107 are ON, and circuit 106 is OFF. LAPB is connected to circuit 103 but is inhibited from sending frames.
+
+### 5.6.8 Table of transitions between states expressed in terms applicable to a modem interface
+
+Continuing the example, Table 5 shows, in terms of a V-Series modem interface, the events that cause a state transition and the resulting action(s).
+
+### 5.6.9 Turnaround checkpoint retransmission
+
+In order to improve the efficiency of the LAPB procedure when using half-duplex circuits, it is highly recommended that an additional mechanism be implemented. It is called “turnaround checkpoint retransmission” and is described as follows:
+
+- before a DTE/DCE gives the turn back (i.e. goes from state 1 to state 2 of Figure 13), it acknowledges all frames that were received and accepted during the time it was in state 3 (*Half-duplex receiving state*) before it got the turn;
+- if a DTE/DCE gets the turn (i.e. transition from state 3 to state 4) or takes the turn (i.e. transition from state 2 to state 4 of Figure 13) then this DTE/DCE will first retransmit all I-frames that have not been acknowledged.
+
+### 5.6.10 Interworking with a DTE/DCE without turnaround checkpoint additional procedures
+
+The above procedure allows for interworking between a DTE/DCE having implemented the above additional mechanisms and a DCE/DTE not having implemented them.
+
+In order to improve the efficiency of the procedure in such a case:
+
+- a DTE/DCE having implemented the *turnaround checkpoint retransmission* is advised to replace the last RR frame of the transmit sequence, if any, by a REJ frame carrying the appropriate N(R).
+- a DTE/DCE not having implemented *turnaround checkpoint retransmission* nevertheless acknowledges during a turn all frames which have been correctly received during the previous turn.
+
+TABLE 5/X.32
+
+#### Description of state transitions in terms of a V-Series modem interface
+
+| Present state | Transition name | | New state |
+|----------------------------------|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|
+| | Event | Action | |
+| 0 Idle state | Initialize calling DTE/DCE | | 4 |
+| | Calling DTE/DCE: circuit 107 ON | Turn circuit 105 ON. Connect LAPB to circuit 103 | Wait for sending state |
+| 0 Idle state | Initialize called DTE/DCE | | 2 |
+| | Called DTE/DCE: circuit 107 ON | Start timer XT1 | Wait for receiving state |
+| 1 Half-duplex sending state | Send right to transmit | | 2 |
+| | Transmission concluded (Note 1) | Inhibit sending of LAPB frames. Disconnect LAPB from circuit 103. Hold circuit 103 in the binary 1 condition. Turn circuit 105 OFF (Note 2). Start timer XT1 | Wait for receiving state |
+| 1 Half-duplex sending state | Disconnect sending DTE/DCE | | 0 |
+| | LAPB has entered a disconnected phase | Turn circuits 105 and 107 OFF | Idle state |
+| 2 Wait for receiving state | Receive confirmation | | 3 |
+| | Reception of a flag or detection of carrier ON (Note 3) | Stop timer XT1 | Half-duplex receiving state |
+| 2 Wait for receiving state | Seize right to transmit | | 4 |
+| | Expiry of timer XT1 | Turn circuit 105 ON. Release circuit 103 from binary 1 condition. Connect LAPB to circuit 103 | Wait for sending state |
+| 3 Half-duplex receiving state | Receive right to transmit | | 4 |
+| | Reception of 15 continuous 1 bits or detection of carrier OFF (Notes 4 and 5) | Turn circuit 105 ON. Release circuit 103 from binary 1 condition. Connect LAPB to circuit 103 | Wait for sending state |
+| 3 Half-duplex receiving state | Disconnect receiving DTE/DCE | | 0 |
+| | LAPB has entered a disconnected phase | Turn circuit 107 OFF | Idle state |
+| 4 Wait for sending state | Send confirmation | | 1 |
+| | Circuit 106 ON | Enable sending of LAPB frames (Note 6) | Half-duplex sending state |
+
+TABLE 5/X.32 (*concluded*)
+
+#### **Description of state transitions in terms of a V-Series modem interface**
+
+| Present state | Transition name | | New state |
+|---------------|----------------------|-----------------------------------------------------------|------------|
+| | Event | Action | |
+| Any | Reset from any state | | 0 |
+| | Circuit 107 OFF | Inhibit sending of LAPB frames. (Turn circuit 105 OFF) | Idle state |
+
+##### **NOTES**
+
+1 The HDTM may determine that a transmission by the LAPB module has been concluded by either of the following:
+
+- counting a sequence of continuous flags on circuit 103 while in state 1;
+- a time-out;
+- a signal from another source, e.g. from a higher level.
+
+However, if no frame is transmitted while in state 1, not less than five continuous flags shall be sent in state 1 before entry into state 2.
+
+2 It is recommended that circuit 105 be not turned OFF until 15 bit times after the binary 1 condition is established on circuit 103. This will assure transmission of an idle sequence to the remote DTE/DCE.
+
+3 It is understood that circuit 109 will go ON. Entry into state 3 may be dependent on this condition as an implementation option.
+
+4 It is recognized that whether or not an idle channel state condition sequence is sent by the remote DTE/DCE, the DTE/DCE will detect an idle channel state condition after circuit 109 goes OFF, since according to 4.3/V.24, this will hold circuit 104 in the binary 1 condition.
+
+5 It is understood that circuit 109 will go OFF. Entry into state 4 may be made dependent on this OFF condition as an implementation option.
+
+6 It is necessary to ensure that at least one full flag is transmitted after circuit 106 comes ON. This flag may be the opening flag of the first frame.
+
+# 6 Packet layer
+
+## 6.1 Scope and field of application
+
+The formats and the procedures at the packet layer shall be in accordance with clause 3/X.25, clause 4/X.25, clause 5/X.25, clause 6/X.25 and clause 7/X.25 with additions as noted in this clause and in clause 7 of this Recommendation. The disconnected condition of the link layer is recognized as the same condition as an out-of-order condition defined in 4.6.2/X.25. (Definition of an out-of-order condition.) Therefore after the link layer establishment, the DCE will send a restart indication packet with the cause “Network operational” to the local DTE.
+
+If identification and authentication are done at the packet layer, identification and authentication of the identity of both the DTE and DCE will cease to apply when a failure on the physical layer and/or link layer is detected.
+
+Some DTEs may choose to use the registration procedure for *on-line facility registration* immediately after the switched access path has been established and the link has been set up.
+
+## 6.2 Identification and authentication of the DTE using the NUI selection facility in call set-up packets
+
+The *NUI selection* facility in *call set-up* packets can be used for DTE identification on a per virtual call basis. It can also be used in addition to one of the prior-to-virtual-call DTE identification methods. This NUI identification remains in effect for the lifetime of the virtual call and is independent of any previous NUI identification on the interface. Subsequent call requests on the switched access path will either revert to the prior DTE service on the interface or receive a DTE service associated with a NUI.
+
+The *NUI selection* facility parameter may contain as the *DTE identity* either a user identifier plus a password assigned by the network to the DTE, or only a password assigned by the network to the DTE. The formats of the user identifier and the password are national matters. The following cases describe the operation of the *NUI selection* facility:
+
+- 1) When a *DTE identity* has been established using a prior-to-virtual-call DTE identification method, the *NUI selection* facility may be used if the *NUI subscription* and/or the *NUI override* facilities are set by the network. In this case, the *NUI selection* facility applies conforming to the procedures described in Recommendation X.25 (see 6.21/X.25).
+- 2) When a *DTE identity* has not been established using a prior-to-virtual-call identification method and the *NUI selection* facility is used, the *identified DTE* service (see 3.4) is selected (when supported by the network). Two subclauses are possible:
+ - a) *NUI override* facility is set by the network when a *call request* packet containing a valid NUI is sent, the features subscribed to by the DTE identified by that NUI and associated with that NUI apply to the virtual call;
+ - b) *NUI override* facility is not set by the network when a *call request* packet containing a valid NUI is sent, the default *X.25 subscription set* applies to the virtual call.
+
+In both cases 2 a) and 2 b), the NUI remains in effect only for the lifetime of the virtual call.
+
+# **7 X.32 procedures, formats and facilities**
+
+## **7.1 Identification protocol**
+
+### **7.1.1 Protocol elements**
+
+The identification protocol is for exchanging identification and authentication information in one or more pairs of messages. The two parties involved in this protocol are called the questioning party and the challenged party.
+
+Two security options are defined: the basic option described as *security grade 1* and an enhanced option described as *security grade 2*. The identification and authentication information are encoded in the following protocol elements:
+
+- a) The identity element (ID) is a string of octets representing the DTE or DCE identity (see 2.2.1 and 2.2.2, respectively) of the challenged party.
+- b) The signature element (SIG) of the identity is a string associated with the identity and used for authentication of the identity. It is assigned for a period of time by the authority that assigns the identity and may be changed from time to time. For example, the SIG may be a password or the result of an encryption process applied to the identity element (ID) of the challenged party.
+- c) The random number element (RAND) is a string of octets which is unpredictable for each identification exchange. It is used only in the security grade 2 option.
+- d) The signed response element (SRES) of the challenged party is the reply to the RAND protocol element by the questioning party. It is used only in the security grade 2 option.
+- e) The diagnostic element (DIAG) is the result of the identification process and is transmitted by the questioning party at the end of the process.
+
+The format of these elements is shown in 7.3.
+
+The sizes of values of the identity, signature and random number elements are a national matter and depend on a number of factors including:
+
+- a) whether the authentication is of DTE identity or DCE identity;
+- b) the grade of security;
+- c) the method of identification;
+- d) the possibilities of future improvements in computational techniques; and
+- e) whether the PSPDN directly assigns DTE identities or adopts, through pre-arrangement, the DTE identities assigned by the PSN or another authority.
+
+### 7.1.2 Identification protocol procedure
+
+The first message of a pair is transmitted by the challenged party. The second message of the pair is transmitted by the questioning party. Security grade 1 provides a single exchange of elements ID [, SIG] and DIAG, whereas security grade 2 uses an additional exchange of RAND and SRES elements to provide a greater degree of security.
+
+NOTE 1 – In both security grades 1 and 2, SIG may be omitted if not required by the questioning party. If it is not required, its presence is not considered in error.
+
+The identification protocol elements are passed between the parties in a sequence of XID command frames.
+
+The identification protocol may be used for DTE identification simultaneously but independently of its use for DCE identification. When this occurs, the XID frame may carry elements for both directions of identification simultaneously.
+
+The identification established using the identification protocol applies for the duration of the switched access. That is, once the DIAG element indicating acceptance of the DTE/DCE identity has been sent, the switched access path must be disconnected before another attempt to use the identification protocol to identify that challenged party can be made.
+
+If the identification protocol is not successful, that is, the DIAG element indicates refusal of the DTE/DCE identity, the questioning party should disconnect the switched path. In the case of security grade 1, a network may allow up to three retries of the identification protocol (i.e. the DIAG element indicates refusal of the DTE/DCE identity) before the switched access path is disconnected when the network is the questioning party. For security grade 2, only one attempt to perform the identification protocol is permitted when the network is the questioning party.
+
+The actions of the DCE when acting as the challenged or questioning party are further described by the state diagrams and tables in Annex A.
+
+The security grade applied on a particular switched connection is determined by the subscription of the DTE with the Administration. It is not negotiable on a per call basis. Not all networks will offer both security grade options. The use of certain optional features may be restricted to a particular security grade. A positive and secure DTE identification is limited to the security of the switched access path, particularly in dial-out-by-the-PSPDN operation.
+
+In order to avoid situations in which both parties are waiting for the other to identify first, these principles will be followed:
+
+- a) Each party should send its identity, if capable and willing, at the earliest opportunity. However, the called party is not required to send its own identity before complete identification of the calling party.
+- b) If the calling party does not send its identity, the called party has a choice of operating a service not requiring identification or disconnecting the switched connection.
+
+Security grade 1 involves a single pair of messages as shown in Figure 14. First, the challenged party sends its identity ID) and, if required, its signature (SIG). The questioning party responds with the diagnostic (DIAG).
+
+![Sequence diagram for Security grade 1 identification protocol. The diagram shows two entities: 'Questioning party' on the left and 'Challenged party' on the right. The 'Challenged party' sends a message labeled 'ID [, SIG]' to the 'Questioning party'. The 'Questioning party' then sends a message labeled 'DIAG' back to the 'Challenged party'. The diagram is identified by the reference 'T0717440-93/d13' at the bottom right.](90aa518591dfa9a78f61c31296f9b158_img.jpg)
+
+```
+sequenceDiagram
+ participant QP as Questioning party
+ participant CP as Challenged party
+ CP->>QP: ID [, SIG]
+ QP-->>CP: DIAG
+```
+
+T0717440-93/d13
+
+Sequence diagram for Security grade 1 identification protocol. The diagram shows two entities: 'Questioning party' on the left and 'Challenged party' on the right. The 'Challenged party' sends a message labeled 'ID [, SIG]' to the 'Questioning party'. The 'Questioning party' then sends a message labeled 'DIAG' back to the 'Challenged party'. The diagram is identified by the reference 'T0717440-93/d13' at the bottom right.
+
+FIGURE 14/X.32
+Security grade 1
+
+As shown in Figure 15, security grade 2 involves an additional authentication exchange if the initial response (ID [, SIG]) of the challenged party is valid. If ID is an identity unknown to the questioning party or if the SIG element is required by the questioning party but either it is not present or is inconsistent with the claimed identity, then an error diagnostic (DIAG) is issued and the access path is disconnected. Otherwise, the questioning party will generate and send a random number (RAND) which the challenged party will encrypt and return as its signed response (SRES). The questioning party will then decrypt SRES and, if this operation results in a value identical to RAND, the appropriate diagnostic (DIAG) is sent to the challenged party and the identification process is successfully completed. Otherwise, an error diagnostic (DIAG) is returned and the access path is disconnected.
+
+NOTE 2 – It is left for further study whether or not to define, as a mechanism for protecting against specific forms of intrusion, that the value of RAND is odd or even depending on the direction of the switched access call.
+
+NOTE 3 – If the network does not store the public keys of DTEs, the SIG can be used to convey the public key and other information characteristics of the DTE (e.g. indication of security level two is to be used). Private keys of the DTE, if any, are not included in the SIG information. In order to add to the protection, this information can be encrypted via the private key of the network.
+
+### 7.1.3 Identification protocol formats
+
+The formats for the identification protocol elements are defined in 7.3 in accordance with clauses 6/X.25 and clauses 7/X.25.
+
+## 7.2 Procedures for X.32 optional user facilities
+
+### 7.2.1 Secure dial-back facility
+
+Networks that implement both the dial-in-by-the-DTE and dial-out-by-the-PSPDN operations may provide, as an optional user facility agreed for a period of time, a dial-back procedure. This facility, if subscribed to, combines the dial-in-by-the-DTE operation with the dial-out-by-the-PSPDN operation to offer additional protection when the identity of the DTE becomes known to the network. This procedure allows, in the *customized* DTE service, a DTE to use the dial-in-by-the-DTE operation, identifies itself, and disconnect. Security is achieved in using the *identity element* of the identification protocol and a dial-out-by-the-PSPDN to the *registered PSN number*. The network uses the dial-out-by-the-PSPDN operation to dial back the DTE using the *registered PSN number*. The DCE identifies itself and the DTE identifies itself again. Some networks may offer the additional feature of limiting the use of the *secure dial-back* facility to specific hours of operation of the DTE.
+
+The grade of security for *secure dial-back* is not negotiable per switched access call. It is one aspect of the identity and its value is set when pre-registering to the authority that defines the identity.
+
+![Sequence diagram illustrating the Security grade 2 identification protocol exchange. The diagram shows two entities: 'Questioning party' and 'Challenged party'. The exchange proceeds as follows: 1. The Challenged party sends 'ID [, SIG]' to the Questioning party. 2. The Questioning party sends 'RAND' to the Challenged party. 3. The Challenged party sends 'SRES' to the Questioning party. 4. The Questioning party sends 'DIAG' to the Challenged party. The diagram is labeled 'T07 17450-93/d 14' at the bottom right.](23b48e0b60d0b6deb0cc9862ff4b8ead_img.jpg)
+
+```
+
+sequenceDiagram
+ participant QP as Questioning party
+ participant CP as Challenged party
+ CP->>QP: ID [, SIG]
+ QP->>CP: RAND
+ CP->>QP: SRES
+ QP->>CP: DIAG
+
+```
+
+T07 17450-93/d 14
+
+Sequence diagram illustrating the Security grade 2 identification protocol exchange. The diagram shows two entities: 'Questioning party' and 'Challenged party'. The exchange proceeds as follows: 1. The Challenged party sends 'ID [, SIG]' to the Questioning party. 2. The Questioning party sends 'RAND' to the Challenged party. 3. The Challenged party sends 'SRES' to the Questioning party. 4. The Questioning party sends 'DIAG' to the Challenged party. The diagram is labeled 'T07 17450-93/d 14' at the bottom right.
+
+NOTE – The exchange depicted illustrates the case where the initial ID [, SIG] message was valid.
+
+FIGURE 15/X.32
+Security grade 2
+
+After the DTE has correctly identified itself to the DCE during dial-in-by-the-DTE, the DCE sends a *request for dial-back confirmed* via the *diagnostic element* of the identification protocol. Then the DTE and network should disconnect the link, if necessary, and then the switched access path as soon as possible. The network should then initiate the dial-back to the DTE as soon as possible by using dial-out-by-the-PSPDN.
+
+If, during the dial-in-by-the-DTE operation, the DCE is aware that it cannot perform the dial-back, the DCE will indicate to the DTE that dial-back is not possible. This indication is given via the *diagnostic element* of the identification protocol.
+
+When the DCE disconnects the switched access path on the dial-in-by-the-DTE it starts DCE timer T15. The DCE then attempts the dial-out-by-the-PSPDN operation as soon as possible. The period of timer T15, at the end of which the DCE abandons the attempt to dial out to the DTE, is a system parameter agreed for a period of time with the Administration.
+
+When the network dials out, the DCE includes a “dial-back indication” to the DTE via the *diagnostic element* of the identification protocol.
+
+If the DTE receives an unsolicited dial-back from the DCE, the switched access path may be disconnected.
+
+NOTE – As some PSTN networks implement *calling party clear*, a PSPDN may wish to restrict dial-back to an outgoing only PSTN port.
+
+## 7.3 Coding of the identification protocol elements
+
+### 7.3.1 General
+
+The general principles for coding of the identification protocol elements are the same as the ones specified for the registration field in 7.1/X.25. The statements of 7.1/X.25 concerning facilities do not apply to this subclause. The statements of 7.1/X.25 concerning registration elements apply to the identification protocol elements in this subclause.
+
+### 7.3.2 Coding of the identification protocol element code fields
+
+Table 6 gives the list of the identification protocol element codes, the coding for each, and, where applicable, whether this code may be sent by the challenged or the questioning party.
+
+TABLE 6/X.32
+
+Identification protocol element codes
+
+| Identification element code | May be sent by | | Bits | | | | | | | |
+|-----------------------------|------------------|-------------------|------|---|---|---|---|---|---|---|
+| | Challenged party | Questioning party | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
+| Identity element | X | | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 |
+| Signature element | X | | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 |
+| Random number element | | X | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 |
+| Signed response element | X | | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 1 |
+| Diagnostic element | | X | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |
+
+### 7.3.3 Coding of the identification protocol element parameter fields
+
+#### 7.3.3.1 Identity element
+
+The octet following the code field indicates the length, in octets, of the parameter field. The following octets contain the string of octets composing the identity.
+
+#### 7.3.3.2 Signature element
+
+The octet following the code field indicates the length, in octets, of the parameter field. The following octets contain the string of octets composing the signature.
+
+#### 7.3.3.3 Random number element
+
+The octet following the code field indicates the length, in octets, of the parameter field. The following octets contain the string of octets composing the number which is the random number element. It is binary coded with bit 8 of the first octet following the parameter length being the high order bit and bit 1 of the last octet being the low order bit. If the number of significant bits of the random number is not octet-aligned, then zeroes precede the most significant bit to make it octet-aligned.
+
+#### 7.3.3.4 Signed response element
+
+The octet following the code field indicates the length, in octets, of the parameter field. The following octets contain the string of octets composing the number which is the signed response. It is binary coded with bit 8 of the first octet following the facility parameter length being the high order bit and bit 1 of the last octet being the low order bit. If the number of significant bits of the signed response is not octet-aligned, then zeroes precede the most significant bit to make it octet-aligned.
+
+#### 7.3.3.5 Diagnostic element
+
+The coding of the parameter field for the *diagnostic element* is shown in Table 7.
+
+TABLE 7/X.32
+Coding of the parameter field for the diagnostic element
+
+| | Bits | | | | | | | |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------|---|---|---|---|---|---|---|
+| | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
+| Identification/authentication confirmed | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
+| Identification or authentication failed (Note 1) | | | | | | | | |
+| – general | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
+| – additional | 1 | X | X | X | X | X | X | X |
+| Network congestion (Note 2) | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
+| Identification in use (Note 3) | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 |
+| Dial-back indication (Note 4) | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 |
+| Network congestion for dial-back (Note 4) | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 |
+| Request for dial-back confirmed (Note 4) | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 |
+| NOTES | | | | | | | | |
+| 1 Bits 7 to 1 are for maintenance purposes and are a national matter. Complete specification and provision of this information to a user represents a possible compromise of security by providing details of authentication failure. | | | | | | | | |
+| 2 Replacement of this call progress signal is for further study in close liaison with the revision of Recommendation X.96. | | | | | | | | |
+| 3 Whether multiple switched connections can be simultaneously active using the same DTE identity is for further study. | | | | | | | | |
+| 4 Used only in conjunction with the secure dial-back facility (see 7.2.1). | | | | | | | | |
+
+## 7.4 Security grade 2 method
+
+The authentication method in security grade 2 provides for the use of encryption to prevent unauthorized access subject to the constraints of unit cost and computation time. One example of a public key encryption technique which could be used for this purpose is given in Appendix II. The selection and use of security grade 2 algorithms is a national matter.
+
+NOTE – Further study, in close cooperation with ISO/TC 97/SC20, will define the characteristics and length constraints of the various numbers and parameters to be used in security grade 2 algorithms. The definition of the parameters of an algorithm should strike a balance between the cost and the complexity of the algorithm, and the value of that which is protected. The goal is to make the cost of breaking the code exceed the cost of obtaining the network resources by authorized means.
+
+## **7.5 DCE timers T14 and T14 *bis***
+
+### **7.5.1 DCE timer T14**
+
+The DCE may support a timer T14, the value of which should be made known to the DTE.
+
+At the expiration of timer T14, the DCE will disconnect the link, if connected, then the switched access path.
+
+Timer T14 is started whenever a switched access path is established. Timer T14 is stopped when either the *DTE identity* is established or a virtual call(s) is established which is not to be charged to the local DTE. In the latter case, timer T14 will be restarted when no assigned logical channels are active.
+
+The relationships of timer T14 to the different methods of DTE identification are illustrated in Appendix III.
+
+The period of timer T14 shall be network dependent.
+
+### **7.5.2 DCE timer T14 *bis***
+
+The DCE may support a timer T14 *bis*, the value of which should be made known to the DTE.
+
+At the expiration of timer T14 *bis*, the DCE will disconnect the link, if connected, then the switched access path.
+
+NOTE – The T14 *bis* timer does not apply to the per-virtual-call DTE identification by means of NUI selection facility, or provided by the public switched network.
+
+Timer T14 *bis* is started whenever a DTE identity has been established or when there are no virtual calls at the completion of clearing procedures. Timer T14 *bis* is stopped when a virtual call is established.
+
+The relationships of timer T14 *bis* to the different methods of DTE identification are illustrated in Appendix III.
+
+The period of timer T14 *bis* shall be network dependent.
+
+## **7.6 DCE timer T15**
+
+Timer T15 is used in conjunction with the secure dial-back facility (see 7.2.1).
+
+The period of timer T15 is left for further study.
+
+# **Annex A**
+
+## **Actions taken by the DCE in the roles of questioning and challenged parties for security grade 1 and security grade 2 identifications**
+
+(This annex forms an integral part of this Recommendation)
+
+## **A.1 Introduction**
+
+This annex specifies the actions taken by the DCE when it acts as the questioning and challenged parties for security grade 1 and security grade 2 identifications. When performing the identification procedure described in 7.1.2, the DCE shall act as described in this annex.
+
+NOTE – As the identification protocol is symmetrical and should be used by the DTE in the same manner as the DCE, the actions of the DTE should correspond directly to the actions defined for the DCE.
+
+The identification protocol is presented as a succession of state diagrams and corresponding tables.
+
+In this annex, a DIAG element is considered as positive when its parameter field means *identification/authentication confirmed*, *request for dial-back confirmed*, or *dial-back indicator* (see 7.3.3.5). It is considered as negative in other cases.
+
+### A.1.1 Symbol definition of state diagrams
+
+
+
+T0717460-93/d15
+
+Diagram of a state symbol and transition. An ellipse contains 'State number' and 'State name'. An arrow labeled 'Transition' enters the ellipse from the top. Another arrow exits the ellipse to the right, labeled '(Direction of transfer)' and '(Protocol element)'. A third arrow points from the text 'Protocol element transferred' to the right of the exit arrow. The reference 'T0717460-93/d15' is at the bottom right.
+
+##### NOTES
+
+- 1 Each state is represented by an ellipse wherein the state name and number are indicated.
+- 2 Each state transition is represented by an arrow. The direction of transfer and the protocol element that has been transferred are indicated beside that arrow.
+
+### A.1.2 Definition of actions
+
+In each table, the actions taken by the DCE as the questioning party or the challenged party are indicated in the following way:
+
+| | |
+|---------------|-----------------------------------------------------------------------------|
+| NORMAL | Normal event; protocol elements received are handled as described in 7.1.2. |
+| DISCARD | Received message is discarded. |
+| RAND | RAND transmitted. |
+| Positive DIAG | Positive DIAG transmitted. |
+| Negative DIAG | Negative DIAG transmitted. |
+| ID [, SIG] | ID [, SIG] transmitted. |
+| SRES | SRES transmitted. |
+
+Each entry in the tables in this annex gives, first, the action taken, if any, then an arrow indicating the transition, and finally, the state that the DCE as the questioning or challenged party will enter.
+
+## A.2 Security grade 1 identification
+
+### A.2.1 DCE acting as the questioning party
+
+The DCE acts as the questioning party for security grade 1 when it offers *identified* or *customized* DTE service via the XID DTE identification method with grade 1 authentication. Four states are defined for describing the procedures the DCE uses:
+
+#### a) *q11 – Waiting for ID [, SIG] (grade 1)*
+
+This is the initial state of the DTE identification process. It is entered after the switched connection is established. In this state, the DCE expects to receive the ID (and possibly SIG) element(s) from the DTE. If the DCE allows retrying the identification protocol, this state is also entered when a DTE identification attempt has failed and the limit of retries has not been exhausted.
+
+#### b) *q12 – Evaluating ID [, SIG] (grade 1)*
+
+In this state, the DCE determines whether or not the DTE identity that was presented in the ID (and possibly SIG) element(s) is acceptable. The result is the transmission by the DCE to the DTE of the DIAG element, which has as its value the success or not of the acceptability evaluation.
+
+#### c) *q13 – DTE identification successful (grade 1)*
+
+In this state, the DCE provides the identified or customized DTE service to the identified DTE. The DCE remains in this state until the switched connection is disconnected.
+
+#### d) *q14 – DTE identification unsuccessful (grade 1)*
+
+In this state, the DCE does not provide the identified or customized DTE service (unless NUI is used on a per virtual call basis for the identified DTE service) but may provide the non-identified DTE service if it is supported. The DCE enters this state, when the last DTE identification attempt allowed by the retry limit has failed. The DCE remains in this state until the switched connection is disconnected.
+
+Figure A.1 provides the state diagram for the DCE acting as the questioning party in the case of security grade 1 identification.
+
+The actions to be taken by the DCE acting as the questioning party for security grade 1 identification, when one of the listed events occurs, are indicated in Table A.1.
+
+![State diagram for DCE acting as questioning party for security grade 1 identification. The diagram shows four states: q11 (Waiting for ID [, SIG] (grade 1)), q12 (Evaluating ID [, SIG]), q13 (DTE identification successful (grade 1)), and q14 (DTE identification unsuccessful (grade 1)). Transitions are: q11 to q12 on 'Receive: ID [, SIG]'; q12 to q13 on 'Transmit: Positive DIAG'; q12 to q14 on 'Transmit: Negative DIAG (nth time)'; and q14 back to q11 on 'Transmit: Negative DIAG (first n-1 times)'. A note at the bottom states 'n Number of DTE identification attempts permitted'.](a3083eec2a883ee8327b3c24174df6a9_img.jpg)
+
+```
+graph TD
+ Start(( )) --> q11
+ q11([q11
+Waiting for
+ID [, SIG]
+(grade 1)]) -- "Receive:
+ID [, SIG]" --> q12
+ q12([q12
+Evaluating
+ID [, SIG]]) -- "Transmit:
+Positive DIAG" --> q13
+ q12 -- "Transmit:
+Negative DIAG
+(nth time)" --> q14
+ q14([q14
+DTE identification
+unsuccessful
+(grade 1)]) -- "Transmit:
+Negative DIAG
+(first n-1 times)" --> q11
+```
+
+T0717470-93/d16
+
+*n* Number of DTE identification attempts permitted
+
+State diagram for DCE acting as questioning party for security grade 1 identification. The diagram shows four states: q11 (Waiting for ID [, SIG] (grade 1)), q12 (Evaluating ID [, SIG]), q13 (DTE identification successful (grade 1)), and q14 (DTE identification unsuccessful (grade 1)). Transitions are: q11 to q12 on 'Receive: ID [, SIG]'; q12 to q13 on 'Transmit: Positive DIAG'; q12 to q14 on 'Transmit: Negative DIAG (nth time)'; and q14 back to q11 on 'Transmit: Negative DIAG (first n-1 times)'. A note at the bottom states 'n Number of DTE identification attempts permitted'.
+
+FIGURE A.1/X.32
+**Diagram of states for DCE acting as questioning party
+for security grade 1 identification**
+
+TABLE A.1/X.32
+
+#### **Actions taken by the DCE as the questioning party (security grade 1)**
+
+| Protocol element received by the DCE or decision by the DCE | State of the DCE acting as the questioning party | q11 Waiting for ID [, SIG] (grade 1) | q12 Evaluating ID [, SIG] (grade 1) | q13 DTE Identification successful (grade 1) | q14 DTE Identification unsuccessful (grade 1) (Note 1) |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|-----------------------------------------|-----------------------------------------------------------------|------------------------------------------------|-----------------------------------------------------------|
+| ID [, SIG] | | NORMAL → q12 | DISCARD → q12 | DISCARD → q13 | DISCARD → q14 |
+| DCE checking of the ID [, SIG] is complete | | Not applicable | Positive DIAG → q13 or negative DIAG → q14 or → q11 (Note 2) | Not applicable | Not applicable |
+| NOTES
1 When in this state, the DCE should disconnect the switched access path when it is sure that the DIAG element has been received by the challenged party or the challenged party is out-of-order.
2 Depending on whether or not ID and/or SIG are recognized as correct by the DCE. When negative DIAG, go to q11 until the retry limit has been reached.
| | | | | |
+
+### A.2.2 DCE acting as the challenged party
+
+The DCE acts as the challenged party for security grade 1 when it identifies itself to the DTE via the XID DCE identification method with grade 1 authentication. Four states are defined for describing the procedures the DCE uses:
+
+#### a) *c11 – Initial challenged (grade 1)*
+
+This is the initial state of the DCE identification process. It is entered after the switched connection is established. In this state, the DCE transmits the ID (and possibly SIG) element(s) to the DTE.
+
+#### b) *c12 – Waiting for DIAG (grade 1)*
+
+In this state, the DCE expects to receive the DIAG element which has as its value the acceptability or not of the DCE identity.
+
+#### c) *c13 – DCE Identification successful (grade 1)*
+
+In this state, the DCE has completed its identification successfully. The DCE remains in this state until the switched connection is disconnected.
+
+#### d) *c14 – DCE Identification unsuccessful (grade 1)*
+
+The DCE enters this state when the DCE identification attempt has failed. The DCE remains in this state until the switched connection is disconnected.
+
+Figure A.2 provides the state diagram for the DCE acting as the challenged party in the case of security grade 1 identification.
+
+The actions to be taken by the DCE as the challenged party for security grade 1 identification, when one of the listed events occurs, are indicated in Table A.2.
+
+![State transition diagram for DCE acting as challenged party for security grade 1 identification. The diagram shows four states: c11 (Initial challenged), c12 (Waiting for DIAG), c13 (DCE identification successful), and c14 (DCE identification unsuccessful). Transitions are: c11 to c12 via 'Transmit: ID [, SIG]'; c12 to c13 via 'Receive: Positive DIAG'; c12 to c14 via 'Receive: Negative DIAG'.](12c19090355e19922e23044633b9d1ea_img.jpg)
+
+```
+
+graph TD
+ Start(( )) --> c11(c11
+Initial challenged
+grade 1)
+ c11 -- "Transmit:
+ID [, SIG]" --> c12(c12
+Waiting for DIAG
+grade 1)
+ c12 -- "Receive:
+Positive DIAG" --> c13(c13
+DCE identification
+successful
+grade 1)
+ c12 -- "Receive:
+Negative DIAG" --> c14(c14
+DCE identification
+unsuccessful
+grade 1)
+
+```
+
+T0717480-93/d17
+
+State transition diagram for DCE acting as challenged party for security grade 1 identification. The diagram shows four states: c11 (Initial challenged), c12 (Waiting for DIAG), c13 (DCE identification successful), and c14 (DCE identification unsuccessful). Transitions are: c11 to c12 via 'Transmit: ID [, SIG]'; c12 to c13 via 'Receive: Positive DIAG'; c12 to c14 via 'Receive: Negative DIAG'.
+
+FIGURE A.2/X.32
+**Diagram of states for DCE acting as challenged party
+ for security grade 1 identification**
+
+TABLE A.2/X.32
+**Actions taken by the DCE as the challenged party
+ (security grade 1)**
+
+| State of the DCE acting as the challenged party Protocol element received by the DCE or decision by the DCE | c11 Initial challenged (grade 1) | c12 Waiting for DIAG (grade 1) | c13 Identification successful (grade 1) | c14 Identification unsuccessful (grade 1) (Note 1) |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|-----------------------------------|--------------------------------------------|-------------------------------------------------------|
+| DCE decides it wants to be identified | ID [, SIG] → c12 | Not applicable | Not applicable | Not applicable |
+| Positive DIAG | NORMAL → c13 or c14 (Note 2) | NORMAL → c13 | DISCARD → q13 | DISCARD → q14 |
+| Negative DIAG | NORMAL → c14 | NORMAL → c14 | DISCARD → q13 | DISCARD → q14 |
+| NOTES 1 In this state, the DCE shall disconnect the switched access path. 2 c13 or c14 depending on whether or not the DCE wants to be identified. | | | | |
+
+## A.3 Security grade 2 identification
+
+### A.3.1 DCE acting as the questioning party
+
+The DCE acts as the questioning party for security grade 2 when it offers *identified* or *customized* DTE service via the XID DTE identification method with grade 2 authentication. Six states are defined for describing the procedures the DCE uses:
+
+#### a) *q21 – Waiting for ID [, SIG] (grade 2)*
+
+This is the initial state of the DTE identification process. It is entered after the switched connection is established. In this state, the DCE expects to receive the ID (and possibly SIG) element(s) from the DTE.
+
+#### b) *q22 – Evaluating ID [, SIG] (grade 2)*
+
+In this state, the DCE begins determining whether or not the DTE identity that was presented in the ID (and possibly SIG) element(s) is acceptable. If the DTE identity is acceptable or the acceptability is not fully determined in this state, the DCE generates the value for the RAND element and transmits it to the DTE. If the DTE identity is unacceptable, the DCE transmits to the DTE the DIAG element with a negative value.
+
+#### c) *q23 – Waiting for SRES*
+
+In this state, the DCE expects to receive SRES element from the DTE. The DCE may continue to evaluate the ID (and possibly SIG) element(s) and, if the DTE identity is unacceptable, the DCE transmits to the DTE the DIAG element with a negative value.
+
+#### d) *q24 – Evaluating SRES*
+
+In this state, the DCE determines if the value presented in the SRES element is correct for the DTE identity. If the evaluation of the ID [, SIG] element(s) has not already been completed, it is completed in this state. The results of the SRES check (and the last of the ID [, SIG] check) is transmitted by the DCE to the DTE as the value of the DIAG element.
+
+#### e) *q25 – DTE identification successful (grade 2)*
+
+In this state, the DCE provides the identified or customized DTE service to the identified DTE. The DCE remains in this state until the switched connection is disconnected.
+
+#### f) *q26 – DTE identification unsuccessful (grade 2)*
+
+In this state, the DCE does not provide the identified or customized DTE service (unless NUI is used on a per virtual call basis for the identified DTE service) but may provide the non-identified DTE service if it is supported. The DCE remains in this state until the switched connection is disconnected.
+
+Figure A.3 provides a state diagram for the DCE acting as the questioning party in case of security grade 2 identification.
+
+The actions to be taken by the DCE as the questioning party for security grade 2 identification, when one of the listed events occurs, are indicated in Table A.3.
+
+### A.3.2 DCE acting as the challenged party
+
+The DCE acts as the challenged party for security grade 2 when it identifies itself to the DTE via the XID DCE identification method with grade 2 authentication. Six states are defined for describing the procedures the DCE uses:
+
+#### a) *c21 – Initial challenged (grade 2)*
+
+This is the initial state of the DCE identification process. It is entered after the switched connection is established. In this state, the DCE transmits the ID (and possibly SIG) element(s) to the DTE.
+
+#### b) *c22 – Waiting for RAND*
+
+In this state, the DCE expects to receive, the RAND element. If the ID (and possible SIG) are not NOTE acceptable to the DTE, the DCE may receive the DIAG element with a negative value.
+
+
+
+```
+
+graph TD
+ Start(( )) --> q21((q21
+Waiting for
+ID [, SIG]
+(grade 2)))
+ q21 -- "Receive:
+ID [, SIG]" --> q22((q22
+Evaluating
+ID [, SIG]
+(grade 2)))
+ q22 -- "Transmit:
+RAND" --> q23((q23
+Waiting
+for SRES))
+ q23 -- "Receive:
+SRES" --> q24((q24
+Evaluating SRES))
+ q24 -- "Transmit:
+Positive DIAG" --> q25((q25
+DTE identification
+successful
+(grade 2)))
+ q24 -- "Transmit:
+Negative DIAG" --> q26((q26
+DTE identification
+unsuccessful
+(grade 2)))
+ q22 -- "Transmit:
+Negative DIAG
+(Note 1)" --> q26
+ q23 -- "Transmit:
+Negative DIAG
+(Note 2)" --> q26
+
+```
+
+State transition diagram for DCE acting as the questioning party for security grade 2 identification. The diagram shows states q21 through q26 with transitions for receiving ID/SIG, SRES, and transmitting RAND, Positive DIAG, and Negative DIAG.
+
+T0717490-93/d18
+
+##### NOTES
+
+- 1 If an error in the ID and/or SIG is found before RAND is transmitted.
+- 2 If an error in the ID and/or SIG is found after RAND is transmitted.
+
+FIGURE A.3/X.32
+
+**Diagram of states for DCE acting as the questioning party
+for security grade 2 identification**
+
+TABLE A.3/X.32
+
+#### **Actions taken by the DCE as the questioning party (security grade 2)**
+
+| State of the DCE acting as the questioning party Protocol element received by the DCE or decision by the DCE | q21 Waiting for ID [, SIG] (grade 2) | q22 Evaluating ID [, SIG] (grade 2) | q23 Waiting for SRES | q24 Evaluating SRES | q25 DTE identification successful (grade 2) | q26 DTE identification unsuccessful (grade 2) (Note 1) |
+|-----------------------------------------------------------------------------------------------------------------|--------------------------------------------|-----------------------------------------------|-------------------------------------------------|--------------------------------------------------------|------------------------------------------------|--------------------------------------------------------------|
+| ID [, SIG] | NORMAL → q22 | DISCARD → q22 | DISCARD → q23 | DISCARD → q24 | DISCARD → q25 | DISCARD → q26 |
+| At least initial DCE checking of the ID [, SIG] is complete | Not applicable | RAND → q23 or Negative DIAG → q26 (Note 2) | Not applicable | Not applicable | Not applicable | Not applicable |
+| Further DCE checking (if any) of the ID [, SIG] is complete | Not applicable | Not applicable | NORMAL → q23 or Negative DIAG → q26 (Note 3) | Not applicable | Not applicable | Not applicable |
+| SRES | Negative DIAG → q26 | Negative DIAG → q26 | NORMAL → q24 | DISCARD → q24 | DISCARD → q25 | DISCARD → q26 |
+| DCE checking of the SRES is complete | Not applicable | Not applicable | Not applicable | Positive DIAG → q25 or Negative DIAG → q26 (Note 4) | Not applicable | Not applicable |
+
+###### NOTES
+
+1 When in this state, the DCE should disconnect the switched access path when it is sure that the DIAG element has been received by the challenged party, or the challenged party is out-of-order.
+
+2 As negative DIAG is sent if the DCE has detected ID [, SIG] as incorrect. RAND is sent if the DCE has detected ID [, SIG] as correct or if it has not yet checked ID [, SIG].
+
+3 After having transmitted RAND, if the DCE detects that the ID [, SIG] received when in state q21 was incorrect, it transmits a negative DIAG and goes into state q26. Otherwise, the DCE continues with the normal process of waiting to receive the SRES element.
+
+4 q25 or q26 depending on whether or not the SRES is recognized as correct by the DCE.
+
+#### c) *c23 – Calculating SRES*
+
+Using the value of the RAND element, the DCE calculates the value for the SRES element and transmits it to the DTE. If the DTE has continued to evaluate the ID (and possibly SIG) and determined that it is not acceptable, the DCE may receive the DIAG element with a negative value.
+
+#### d) *c24 – Waiting for DIAG (grade 2)*
+
+In this state, the DCE expects to receive the DIAG element which has as its value the acceptability or not of the DCE identity and SRES value.
+
+#### e) *c25 – DCE identification successful (grade 2)*
+
+In this state, the DCE has completed its identification successfully. The DCE remains in this state until the switched connection is disconnected.
+
+#### f) *c26 – DCE identification unsuccessful (grade 2)*
+
+The DCE enters this state when the DCE identification attempt has failed. The DCE remains in this state until the switched connection is disconnected.
+
+Figure A.4 provides a state diagram for the DCE acting as the challenging party in case of security grade 2 identification.
+
+The actions to be taken by the DCE for security grade 2 identification, when one of the listed events occurs, are indicated in Table A.4
+
+
+
+```
+
+graph TD
+ Start(( )) --> c21(c21
+Initial challenged
+grade 2)
+ c21 -- "Transmit:
+ID [, SIG]" --> c22(c22
+Waiting
+for RAND)
+ c22 -- "Receive:
+RAND" --> c23(c23
+Calculating
+SRES)
+ c23 -- "Transmit:
+SRES" --> c24(c24
+Waiting
+for DIAG
+grade 2)
+ c24 -- "Receive:
+Positive DIAG" --> c25(c25
+DCE identification
+successful
+grade 2)
+ c24 -- "Receive:
+Negative DIAG" --> c26(c26
+DCE identification
+unsuccessful
+grade 2)
+ c23 -- "Receive:
+Negative DIAG
+Note 2" --> c26
+ c22 -- "Receive:
+Negative DIAG
+Note 1" --> c26
+
+```
+
+State diagram for DCE acting as the challenged party for security grade 2 identification. The diagram shows states c21 through c26 with transitions based on events like Transmit, Receive, and Send.
+
+T0717500-93/d19
+
+###### NOTES
+
+- 1 If an error in the ID and/or SIG is found before RAND is transmitted.
+- 2 If an error in the ID and/or SIG is found after RAND is transmitted.
+
+FIGURE A.4/X.32
+
+**Diagram of states for DCE acting as the challenged party
+for security grade 2 identification**
+
+TABLE A.4/X.32
+
+#### **Actions taken by the DCE as the challenged party (security grade 2)**
+
+| State of the DCE acting as the challenged party Protocol element received by the DCE or decision by the DCE | c21 Initial challenged (grade 2) | c22 Waiting for RAND | c23 Calculating SRES | c24 Waiting for DIAG (grade 2) | c25 DCE identification successful (grade 2) | c26 DCE identification unsuccessful (grade 2) (Note 1) |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|---------------------------------|-------------------------|-----------------------------------|------------------------------------------------|-----------------------------------------------------------|
+| DCE decides it wants to be identified | ID [, SIG] → c22 | Not applicable | Not applicable | Not applicable | Not applicable | Not applicable |
+| RAND | DISCARD → c26 | NORMAL → c23 | DISCARD → c23 | DISCARD → c24 | DISCARD → c25 | DISCARD → c26 |
+| DCE calculation of SRES from RAND is complete | Not applicable | Not applicable | SRES → c24 | Not applicable | Not applicable | Not applicable |
+| Positive DIAG | NORMAL → c26 or c25 (Note 2) | NORMAL → c25 or c26 (Note 2) | DISCARD → c26 | NORMAL → c25 | DISCARD → c25 | DISCARD → c26 |
+| Negative DIAG | NORMAL → c26 | NORMAL → c26 | NORMAL → c26 | NORMAL → c26 | DISCARD → c25 | DISCARD → c26 |
+| NOTES 1 In this state, the DCE shall disconnect the switched access path. 2 c26 or c25 respectively depending on whether or not the DCE wants to be identified. | | | | | | |
+
+# Annex B
+
+## Abbreviations
+
+(This annex forms an integral part of this Recommendation)
+
+For the purposes of this Recommendation, the following abbreviations are used:
+
+| | |
+|-----------|--------------------------------------------------|
+| ADM | Asynchronous Disconnected Mode |
+| AVAIL-BAS | Available on all networks |
+| AVAIL-NS | Available and selected by the network |
+| AVAIL-OPT | Available on some networks |
+| AVAIL-RQ | Available on some networks and must be requested |
+| BA | Class of HDLC |
+| CSPDN | Circuit Switched Public Data Network |
+| CUSTOM | Customized |
+| DCE | Data Circuit-Terminating Equipment |
+| DIAG | Diagnostic element |
+| DISC | Disconnect |
+| DM | Disconnected Mode |
+| DNIC | Data Network Identification Code |
+
+| | |
+|-------|------------------------------------------------|
+| DSE | Data Switching Equipment |
+| DTE | Data Terminal Equipment |
+| FI | Format Identifier |
+| HDLC | High-level Data Link Control |
+| HDTM | Half-Duplex Transmission Module |
+| ID | Identity element |
+| ISDN | Integrated Services Digital Network |
+| ISO | International Organization for Standardization |
+| k | Number of outstanding I frames |
+| LAPB | Link Access Procedure Balanced |
+| LAPX | Link access procedure – Half-duplex |
+| MT... | Parameter... |
+| N... | Parameter... |
+| ND | Network Default |
+| NN | National Number |
+| NTN | Network Terminal Number |
+| NUI | Network User Identification |
+| PDN | Public Data Network |
+| PSN | Public Switched Network |
+| PSPDN | Packet Switched Public Data Network |
+| PSTN | Public Switched Telephone Network |
+| RAND | Random number element |
+| REJ | Reject |
+| ROA | Recognized Operating Agency |
+| RR | Receive ready |
+| RSA | Rivest, Shamir, Adleman algorithm |
+| SABM | Set Asynchronous Balanced Mode |
+| SABME | Set Asynchronous Balanced Mode Extended |
+| SIG | Signature element |
+| SRES | Signed response element |
+| TCC | Telephone Country Code |
+| T... | Timer... |
+| UA | Unnumbered Acknowledge |
+| UTC | Coordinated Universal Time |
+| XC | Counter... |
+| XID | Exchange identification (Unnumbered Format) |
+| XT... | Timer... |
+
+# Appendix I
+
+## Implementation of LAPX
+
+(This appendix does not form an integral part of this Recommendation)
+
+## I.1 Introduction
+
+Considerations are given here for defining the signals needed between the HDTM and the LAPB and physical layer modules in implementing LAPX.
+
+## I.2 Control and status functions
+
+The following logical functions describe interactions between LAPB and the HDTM:
+
+- *Control [TERM]*
+LAPB has entered the disconnected phase.
+- *Control [CONCLUDE]*
+LAPB has finished transmitting one or more frames.
+- *Status [OP-T]*
+Enable LAPB to send frames.
+- *Status [INOP-T]*
+Inhibit LAPB from sending frames.
+
+If the idle channel state condition detection mechanism of LAPB is not disabled, then the HDTM needs to protect LAPB from the use of idle channel state condition in turning around the line. This protection is done by having the HDTM present constant flags to LAPB except in the *half-duplex receiving* state (state 3). It may be desirable to define additional logical functions in doing this.
+
+The following logical functions describe interactions between the HDTM and the physical layer:
+
+- *Control [SEIZE]*
+The HDTM has stopped waiting for data to be received and is waiting to transmit data.
+- *Control [RELEASE]*
+The HDTM has stopped sending data and is requesting the physical layer to release the right to transmit.
+- *Control [DISCON]*
+The HDTM is requesting the physical layer to disconnect the physical connection because LAPB is disconnected.
+- *Status [CALLING]*
+The physical connection originated by this DTE/DCE is established.
+- *Status [CALLED]*
+The physical connection originated by the other DTE/DCE is established.
+- *Status [UNCON]*
+There is no physical connection.
+- *Status [XMT]*
+The physical connection is able to transmit data.
+- *Status [REMOTE]*
+This is an optional function used if the physical layer, instead of the HDTM, detects the indication that the remote DTE/DCE accepts the right to transmit (remote is in the half-duplex sending state).
+
+### – *Status [LOCAL]*
+
+This is an optional function used if the physical layer, instead of the HDTM, detects the request for change in the direction of transmission that gives the local DTE/DCE the right to transmit (remote is in the wait for receiving state).
+
+The forms of these interactions are not defined. However, an example of the HDTM physical layer interactions is given in 5.6.7 and 5.6.8.
+
+## I.3 Table of transitions between states
+
+Table I.1 shows the events that cause a state transition and the resulting action(s). This provides a generalized description of operation of the HDTM.
+
+TABLE I.1/X.32
+
+Description of state transitions
+
+| Present state | Transition name | | New state |
+|--------------------------------|---------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|
+| | Event | Action | |
+| 0 Idle state | Initialize calling DTE/DCE | | 4 |
+| | Calling DTE/DCE: data circuit established (e.g. data set ready, ready for data) (i.e. status [CALLING]) | Do function control [SEIZE] | Wait for sending state |
+| 0 Idle state | Initialize called DTE/DCE | | 2 |
+| | Called DTE/DCE: data circuit established (e.g. data set ready, ready for data) (i.e. status [CALLED]) | Start timer XT1 | Wait for receiving state |
+| 1 Half-duplex sending state | Send right to transmit | | 2 |
+| | Conclusion of transmission (i.e. control [CONCLUDE]) | Send request that remote DTE/DCE enter the half-duplex sending state (Note 1). Start timer XT1. Do function status [INOP-T] (Note 2). Do function control [RELEASE] | Wait for receiving state |
+| 1 Half-duplex sending state | Disconnect sending DTE/DCE | | 0 |
+| | LAPB has entered a disconnected phase (i.e. control [TERM] (Note 3) | Do function control [DISCON] | Idle state |
+| 2 Wait for receiving state | Receive confirmation | | 3 |
+| | Reception of indication that the remote DTE/DCE has entered the half-duplex sending state (Note 4) (i.e. status [REMOTE]) | Stop timer XT1 | Half-duplex receiving state |
+| 2 Wait for receiving state | Seize right to transmit | | 4 |
+| | Expiry of timer XT1 or has frame to send (i.e. a LAPB/HDTM transmit data function) (Note 5) | Do function control [SEIZE] | Wait for sending state |
+
+TABLE I.1/X.32 (*concluded*)
+**Description of state transitions**
+
+| Present state | Transition name | | New state |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|---------------------------|
+| | Event | Action | |
+| 3 | Initilaize calling DTE/DCE | | 4 |
+| Half-duplex receiving state | Reception of notification that the remote DTE/DCE is requesting a change in the direction of transmission (i.e. status [LOCAL]) (Note 6) | Do function control [SEIZE] | Wait of sending state |
+| 3 | Receive right to transmit | | 2 |
+| Half-duplex receiving state | Reception of notification that the remote DTE/DCE is requesting a change in the direction of transmission (i.e. status [LOCAL]) (Note 6) | Start timer XT1 | Wait for receiving state |
+| 3 | Disconnect receiving DTE/DCE | | 0 |
+| Half-duplex sending state | LAPB has entered a disconnected phase (i.e. control [TERM]) (Note 3) | Do function control [DISCON] | Idle state |
+| 4 | Send confirmation | | 1 |
+| Half-duplex sending state | Indication of availability of the physical layer for transmission (i.e. status [XMT]) | Send indication to the remote DTE/DCE that the half-duplex sending state has been entered. Do function status [OP-T] (Note 7) | Half-duplex sending state |
+| Any | Reset from any state | | 0 |
+| | Physical layer has no circuit to a remote DTE/DCE (i.e. status [UNCON]) | Do function status [INOP-T] | Idle state |
+| NOTES
1 HDTM uses the idle data link channel state indication (at least 15 continuous 1's) for requesting that the remote DTE enter the half-duplex sending state.
2 Status [INOP-T] indicates to LAPB that the sending of frames is inhibited.
3 Control [TERM] indicates that LAPB has entered the disconnected phase (equivalent to ADM of HDLC).
4 Reception of a flag or detection of carrier ON (circuit 109 = 1) is this indication.
5 One timer XT1 expiration must occur before a frame may be sent.
6 HDTM uses the idle data link channel state indication (at least 15 continuous 1's) or detection of carrier OFF (Circuit 109 = 0) for detecting that the remote DTE is requesting a change in the direction of transmission.
7 Status [OP-T] indicates to LAPB that the sending of frame is enabled.
| | | |
+
+## I.4 HDTM/physical layer control and status functions expressed in terms applicable to a modem interface
+
+Continuing the example of 5.6.7, the HDTM/physical layer logical functions may be described as shown below as they apply to the use of the HDTM with a V-Series modem interface:
+
+- *Control [SEIZE]*
+Request turning circuit 105 ON and, if necessary, releasing circuit 103 from binary 1 condition.
+- *Control [RELEASE]*
+Request holding circuit 103 in the binary 1 condition and turning circuit 105 OFF.
+
+- *Control [DISCON]*
+Request turning circuit 107 OFF and, if necessary, turning circuit 105 OFF.
+- *Status [CALLING]*
+As the calling DTE/DCE, report circuit 107 ON.
+- *Status [CALLED]*
+As the called DTE/DCE, report circuit 107 ON.
+- *Status [UNCON]*
+Report circuit 107 OFF.
+- *Status [XMT]*
+Report circuit 106 ON.
+- *Status [REMOTE]*
+Report carrier ON.
+- *Status [LOCAL]*
+Report carrier OFF.
+
+# Appendix II
+
+## RSA public key algorithm
+
+(This appendix does not form an integral part of this Recommendation)
+
+The Rivest, Shamir, Adleman (RSA) algorithm defines a public key cryptography system. Each subscriber to an RSA cryptosystem generates a public modulo key ( $n$ ), a public exponential key ( $e$ ), and a secret exponential key ( $d$ ), which conform to certain consistency rules to be subsequently described. The subscriber can publish and disclose its public keys ( $n$ , $e$ ) but it will never reveal its secret exponential key ( $d$ ). The exchange of information via the RSA algorithm involves the successive transformations and decryption. The form of encryption and decryption transformations are mathematically identical but differ only in the values of the exponential keys used. Each RSA transformation is of the form:
+
+$$X' = X^k \text{ (modulo } n\text{)}$$
+
+where:
+
+$X$ is the integer to be transformed
+
+$X'$ is the transformed integer
+
+$n$ is the public modulo key
+
+$k$ is the exponential key which is either the public exponential key $e$ , or the secret exponential key $d$ .
+
+The RSA keys for a subscriber are generated subject to the following two constraints:
+
+$n = p \cdot q$ ( $p$ and $q$ are large prime numbers)
+
+$(d \cdot e) \text{ modulo } [(p-1) \cdot (q-1)] = 1$
+
+The encryption operation can use either $e$ or $d$ as the exponential key. However, the decryption operation must use the exponential key ( $d$ or $e$ ) that was *not* used in the encryption process. Both processes must use the same modulo key, $n$ .
+
+As applied to the security grade 2 identification process described in 7.1.2, the challenged party will generate SRES by encrypting RAND using its secret exponential key, $d$ , so that the questioning party can decrypt SRES using the public keys of the challenged party ( $e$ and $n$ ).
+
+# Appendix III
+
+## Relationship of timers T14 and T14 *bis* to the different methods of DTE identification
+
+(This appendix does not form an integral part of this Recommendation)
+
+Figure III.1 illustrates the points in the general sequence of events defined in this Recommendation at which timers T14 and T14 *bis* are started or stopped.
+
+NOTE – The T14 *bis* timer does not apply to the per-virtual-call DTE identification by means of network user identification facility, or provided by the public switched network identification.
+
+
+
+The flowchart illustrates the sequence of events and timer management during a call setup and teardown process. The process flows from top to bottom, with a vertical arrow on the left labeled 'Time' pointing downwards. The steps are as follows:
+
+- Dial-in/out process**: A timer T14 is started (indicated by a circle with a dot). Annotation: "Begin timer T14 unless the PSN-provided DTE identification method is used".
+- Link layer set-up process**: Timer T14 is stopped, and timer T14 *bis* is started (indicated by a circle with a dot). Annotation: "Stop timer T14 if XID method of DTE identification is used and start timer T14 *bis* whenever there are no virtual calls".
+- Packet layer set-up process**: No timer actions are indicated.
+- Virtual circuit operation**: If there is still no DTE identification, timer T14 is stopped and timer T14 *bis* is started (indicated by a circle with a dot). Annotation: "If there is still no DTE identification then stop timer T14 whenever there is a virtual call and start timer T14 *bis* whenever there are no virtual calls (see 7.5)".
+- Discontinue packet layer operation**: If DTE identification is established using the XID method, timer T14 *bis* is stopped (indicated by a circle with a dot). Annotation: "If DTE identification is established using XID method, stop timer T14 *bis* whenever there is a virtual call".
+- Disconnect link layer**: No timer actions are indicated.
+- Disconnect physical line**: No timer actions are indicated.
+
+T0717510-93/d20
+
+Flowchart illustrating the relationship between timers T14 and T14 bis and DTE identification methods.
+
+FIGURE III.1/X.32
+
+Relationship between timers T14, T14 *bis* and DTE identification methods
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|----------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Telephone network and ISDN |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media |
+| Series H | Transmission of non-telephone signals |
+| Series I | Integrated services digital network |
+| Series J | Transmission of sound-programme and television signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound-programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminal equipments and protocols for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communication |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.325-199610-I_PDF-E/1439cb942d9e363bbb3161b5540dd8c6_img.jpg b/marked/X/T-REC-X.325-199610-I_PDF-E/1439cb942d9e363bbb3161b5540dd8c6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..61ad0261de5a21549af949b0afa8d60f2c8615e8
--- /dev/null
+++ b/marked/X/T-REC-X.325-199610-I_PDF-E/1439cb942d9e363bbb3161b5540dd8c6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:12c83fdc089132d29d7e59ac83423f3e3f71399e3e52ee7b7f6a9cc56e5c2a30
+size 30531
diff --git a/marked/X/T-REC-X.325-199610-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.325-199610-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3a58f68885c03bc2fb95bb409d68f7f55947475f
--- /dev/null
+++ b/marked/X/T-REC-X.325-199610-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:97adcbdebb3326a1af9817c0266d6c1cef088a8f97dc377b1e5fd01e721d14f7
+size 8269
diff --git a/marked/X/T-REC-X.325-199610-I_PDF-E/b9ecbc3baefab13719e000faa6e0c7eb_img.jpg b/marked/X/T-REC-X.325-199610-I_PDF-E/b9ecbc3baefab13719e000faa6e0c7eb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..51ffe1eefa632b92b29ac311191a5a4825ae7dcd
--- /dev/null
+++ b/marked/X/T-REC-X.325-199610-I_PDF-E/b9ecbc3baefab13719e000faa6e0c7eb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d4fcad34b589bff7b9698870a16b89ca20f3f61024410c1cd142360200f62872
+size 27851
diff --git a/marked/X/T-REC-X.325-199610-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg b/marked/X/T-REC-X.325-199610-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7eec28c3ff94172686b8d1d85facf514150c9ebf
--- /dev/null
+++ b/marked/X/T-REC-X.325-199610-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cfe6c909ca463068f43703bdbbf2622964ed18a749cf8c13bc65a611d9372466
+size 26838
diff --git a/marked/X/T-REC-X.325-199610-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg b/marked/X/T-REC-X.325-199610-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..76680ac02a96c9ed95b280557c4204429ed6325d
--- /dev/null
+++ b/marked/X/T-REC-X.325-199610-I_PDF-E/f6e8acf9f931452d01688d311b5c0364_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:df1336104a6da3ebc92c97b75732f25534b7838d9ded80135e26520ac74b035e
+size 45323
diff --git a/marked/X/T-REC-X.325-199610-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg b/marked/X/T-REC-X.325-199610-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bba9bf6a8c73accddae5342a18dcc60e0eaa1c17
--- /dev/null
+++ b/marked/X/T-REC-X.325-199610-I_PDF-E/ff0952ef692c9d960ce5f6708bcc9711_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e2b71200ed8c1a7b3735309d8a664ffdefe189a8b457193eac789c32e63180b1
+size 49947
diff --git a/marked/X/T-REC-X.326-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.326-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3ee298cf8717e2d948896c48de666987ba51993c
--- /dev/null
+++ b/marked/X/T-REC-X.326-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:34c579ced5ed24f29b4b8cf21a9fa9c33c4b2b55f8fd073ac313c09a39e52fbf
+size 7304
diff --git a/marked/X/T-REC-X.326-198811-I_PDF-E/731f533b0599c8e42a063f06e4332045_img.jpg b/marked/X/T-REC-X.326-198811-I_PDF-E/731f533b0599c8e42a063f06e4332045_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0d5ea89f411167d630d36eabd20824fd181aef28
--- /dev/null
+++ b/marked/X/T-REC-X.326-198811-I_PDF-E/731f533b0599c8e42a063f06e4332045_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3982a281ad073e026785c3b2efafb0114d2ebc9d5f035ec0ec6c842ee8da9ef7
+size 26907
diff --git a/marked/X/T-REC-X.326-198811-I_PDF-E/f9a14fbfecbd7d059226cc93677d721b_img.jpg b/marked/X/T-REC-X.326-198811-I_PDF-E/f9a14fbfecbd7d059226cc93677d721b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..773a60d209b7a5bef4636081460f546e4b9939e6
--- /dev/null
+++ b/marked/X/T-REC-X.326-198811-I_PDF-E/f9a14fbfecbd7d059226cc93677d721b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:410e582ad0632652c446a5177dd2c4fdae16c28a5c7988909fafd90fe4942430
+size 34503
diff --git a/marked/X/T-REC-X.326-198811-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg b/marked/X/T-REC-X.326-198811-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3a57a15ca8626e87a82093352b33dc773050d487
--- /dev/null
+++ b/marked/X/T-REC-X.326-198811-I_PDF-E/fc46871d72c65d3381d9201646d23439_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7c8324b4f02d201e2776f80d1cb4573543343efaeb69d3b3d357341e61b1523f
+size 80360
diff --git a/marked/X/T-REC-X.34-199610-I_PDF-E/raw.md b/marked/X/T-REC-X.34-199610-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..e037db119a9a76d3a0b003a9d4aeef9a1b1fad75
--- /dev/null
+++ b/marked/X/T-REC-X.34-199610-I_PDF-E/raw.md
@@ -0,0 +1,1235 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.34
+
+(10/96)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATION
+
+Public data networks – Interfaces
+
+---
+
+**Access to packet switched data transmission
+services via B-ISDN**
+
+ITU-T Recommendation X.34
+
+(Previously “CCITT Recommendation”)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATION
+
+| | |
+|-----------------------------------------------|------------------|
+| PUBLIC DATA NETWORKS | X.1-X.199 |
+| Services and facilities | X.1-X.19 |
+| Interfaces | X.20-X.49 |
+| Transmission, signalling and switching | X.50-X.89 |
+| Network aspects | X.90-X.149 |
+| Maintenance | X.150-X.179 |
+| Administrative arrangements | X.180-X.199 |
+| OPEN SYSTEM INTERCONNECTION | X.200-X.299 |
+| Model and notation | X.200-X.209 |
+| Service definitions | X.210-X.219 |
+| Connection-mode protocol specifications | X.220-X.229 |
+| Connectionless-mode protocol specification | X.230-X.239 |
+| PICS proformas | X.240-X.259 |
+| Protocol Identification | X.260-X.269 |
+| Security Protocols | X.270-X.279 |
+| Layer Managed Objects | X.280-X.289 |
+| Conformance testing | X.290-X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300-X.399 |
+| General | X.300-X.349 |
+| Satellite data transmission networks | X.350-X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400-X.499 |
+| DIRECTORY | X.500-X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600-X.699 |
+| Networking | X.600-X.629 |
+| Efficiency | X.630-X.649 |
+| Naming, Addressing and Registration | X.650-X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680-X.699 |
+| OSI MANAGEMENT | X.700-X.799 |
+| Systems Management framework and architecture | X.700-X.709 |
+| Management Communication Service and Protocol | X.710-X.719 |
+| Structure of Management Information | X.720-X.729 |
+| Management functions | X.730-X.799 |
+| SECURITY | X.800-X.849 |
+| OSI APPLICATIONS | X.850-X.899 |
+| Commitment, Concurrency and Recovery | X.850-X.859 |
+| Transaction processing | X.860-X.879 |
+| Remote operations | X.880-X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900-X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# FOREWORD
+
+The ITU-T (Telecommunication Standardization Sector) is a permanent organ of the International Telecommunication Union (ITU). The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1 (Helsinki, March 1-12, 1993).
+
+ITU-T Recommendation X.34 was prepared by ITU-T Study Group 7 (1993-1996) and was approved under the WTSC Resolution No. 1 procedure on the 5th of October 1996.
+
+# --- NOTE
+
+In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+© ITU 1997
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+# CONTENTS
+
+| | | Page |
+|----|---------------------------------------------------------------------------------------------------------------|-------------|
+| 1 | SCOPE ..... | 1 |
+| 2 | References ..... | 1 |
+| 3 | Terms and definitions ..... | 2 |
+| 4 | Abbreviations ..... | 2 |
+| 5 | General service aspects ..... | 3 |
+| 6 | Reference configurations ..... | 3 |
+| | 6.1 Configuration when accessing PSPDN via a B-ISDN ..... | 4 |
+| | 6.2 Configuration when accessing the packet switched data transmission services of an ISDN via a B-ISDN ..... | 5 |
+| 7 | Service aspects ..... | 5 |
+| | 7.1 General ..... | 5 |
+| | 7.2 Service characteristics ..... | 6 |
+| | 7.3 User access capabilities ..... | 8 |
+| 8 | Addressing and routing aspects ..... | 8 |
+| | 8.1 Outgoing calls ..... | 8 |
+| | 8.1.1 Access unit selection ..... | 8 |
+| | 8.1.2 Addressing scheme ..... | 8 |
+| | 8.2 Incoming calls ..... | 8 |
+| | 8.2.1 Access unit selection ..... | 8 |
+| | 8.2.1.1 Access unit selection by PSPDN (Type A) ..... | 9 |
+| | 8.2.1.2 Access unit selection by ISDN (Type B) ..... | 9 |
+| | 8.2.2 Addressing scheme ..... | 9 |
+| | 8.2.3 Called TE/X.25 DTE+TA interface selection ..... | 9 |
+| 9 | Interworking with dedicated networks ..... | 9 |
+| | 9.1 General ..... | 9 |
+| | 9.2 Access to PSDTS via a B-ISDN ..... | 10 |
+| 10 | Procedures ..... | 10 |
+| | 10.1 General ..... | 10 |
+| | 10.2 Procedures ..... | 10 |
+| | 10.2.1 Outgoing call ..... | 10 |
+| | 10.2.1.1 Outgoing ATM switched virtual channel connection ..... | 11 |
+| | 10.2.1.2 Outgoing X.25 virtual call setup and release ..... | 11 |
+| | 10.2.2 Incoming call ..... | 11 |
+| | 10.2.2.1 Incoming ATM switched virtual channel connection ..... | 11 |
+| | 10.2.2.2 Incoming X.25 virtual call setup and release ..... | 12 |
+| | 10.3 ATM switched virtual channel connection clearing ..... | 12 |
+| | 10.3.1 Clearing initiated by the TE/X.25 DTE+TA ..... | 12 |
+| | 10.3.2 Clearing initiated by the PSDTS AU ..... | 12 |
+| | 10.4 ATM switched virtual channel connection clear collision ..... | 12 |
+| | 10.5 Restart procedures ..... | 12 |
+| | 10.6 Handling of error conditions ..... | 13 |
+| | 10.7 ATM PVC management procedure ..... | 13 |
+
+| | Page |
+|------------------------------------------------------------------------|-------------|
+| 11 Terminal adaptor functionalities ..... | 14 |
+| 11.1 General..... | 14 |
+| 11.2 Access to PSDTS via a B-ISDN ..... | 14 |
+| 11.2.1 Physical interfaces ..... | 14 |
+| 11.2.2 Rate adaption ..... | 14 |
+| 11.2.3 Layer 2 adaption ..... | 14 |
+| 11.2.4 Signalling..... | 16 |
+| 11.2.4.1 Outgoing call..... | 16 |
+| 11.2.4.2 Incoming call ..... | 18 |
+| 11.2.4.3 Call clearing ..... | 19 |
+| 11.2.5 Synchronization ..... | 20 |
+| 11.2.6 Maintenance..... | 20 |
+| Annex A – The mappings Q.2931 cause field to Recommendation X.25 ..... | 20 |
+| Appendix I – Example of sequence diagrams ..... | 21 |
+| I.1 Example sequence diagrams ..... | 21 |
+| I.2 Key to the figures..... | 21 |
+| I.3 Example of sequence diagrams..... | 22 |
+
+# SUMMARY
+
+This Recommendation defines services available and signalling procedures operated at the $S_B/T_B$ reference point of a B-ISDN for access to packet switched data transmission service via the B-ISDN.
+
+# ACCESS TO PACKET SWITCHED DATA TRANSMISSION SERVICES VIA B-ISDN
+
+(Geneva, 1996)
+
+## 1 SCOPE
+
+This Recommendation defines the procedures of access to PSDTS via a B-ISDN. It includes two cases;
+
+- a) PSPDN provides the PSDTS.
+- b) ISDN provides the PSDTS.
+
+## 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision: all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of Currently valid ITU-T Recommendations is regularly published.
+
+- [1] CCITT Recommendation E.164 (1991), *Numbering plan for the ISDN era*.
+- [2] ITU-T Recommendation E.166/X.122 (1996), *Numbering plan interworking for E.164 and X.121 numbering plans*.
+- [3] ITU-T Recommendation I.211 (1993), *B-ISDN service aspects*.
+- [4] ITU-T Recommendation I.361 (1995), *B-ISDN ATM layer specification*.
+- [5] ITU-T Recommendation I.362 (1993), *B-ISDN ATM adaptation layer (AAL) functional description*.
+- [6] ITU-T Recommendation I.363 (1993), *B-ISDN ATM adaptation layer (AAL) specification*.
+- [7] ITU-T Recommendation I.413 (1993), *B-ISDN user-network interface*.
+- [8] ITU-T Recommendation I.430 (1995), *Basic user-network interface – Layer 1 specification*.
+- [9] ITU-T Recommendation I.431 (1993), *Primary rate user-network interface – Layer 1 specification*.
+- [10] ITU-T Recommendation I.432 (1993), *B-ISDN user-network interface – Physical layer specification*.
+- [11] ITU-T Recommendation I.580 (1995), *General arrangements for interworking between B-ISDN and 64 Kbit/s based ISDN*.
+- [12] ITU-T Recommendation Q.2110 (1994), *B-ISDN ATM adaptation layer – Service Specific Connection Oriented Protocol (SSCOP)*.
+- [13] ITU-T Recommendation Q.2130 (1994), *B-ISDN signalling ATM adaptation layer – Service specific coordination function for support of signalling at the user-network interface (SSCF at UNI)*.
+- [14] ITU-T Recommendation I.610 (1995), *B-ISDN operation and maintenance principles and functions*.
+
+- [15] ITU-T Recommendation Q.2931 (1995), *Broadband Integrated Services Digital Network (B-ISDN) – Digital Subscriber Signalling System No. 2 (DSS 2) – user network – interface (UNI) layer 3 specification for basic call/connection control.*
+- [16] ITU-T Recommendation X.1 (1996), *International user classes of service in, and categories of access to, public data networks and Integrated Services Digital Networks (ISDNs).*
+- [17] ITU-T Recommendation X.25 (1996), *Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and connected to public data networks by dedicated circuit.*
+- [18] ITU-T Recommendation X.31 (1995), *Support of packet mode terminal equipment by an ISDN.*
+- [19] ITU-T Recommendation X.32 (1996), *Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and accessing a packet switched public data network through a public switched telephone network or an integrated services digital network or a circuit switched public data network.*
+- [20] ITU-T Recommendation X.75 (1996), *Packet switched signalling system between public networks providing data transmission services.*
+- [21] ITU-T Recommendation X.121 (1996), *International numbering plan for public data networks.*
+- [22] ITU-T Recommendation X.213 (1995), *Information technology – Open Systems Interconnection – Network service definition.*
+- [23] ITU-T Recommendation I.365.4 (1996), *Service specific convergence sublayer for HDLC applications.*
+
+## 3 Terms and definitions
+
+For the purposes of this Recommendation, the following definition applies.
+
+**3.1 HDLC applications SSCS (HDLC Applications Service Specific Convergence Sublayer,** see Recommendation I.365.4): HDLC Applications SSCS is used at the TE and AU for interworking between AAL and X.25 LAPB.
+
+## 4 Abbreviations
+
+For the purposes of this Recommendation, the following abbreviations are used.
+
+| | |
+|---------|--------------------------------------------|
+| AAL | ATM Adaptation Layer |
+| ATM | Asynchronous Transfer Mode |
+| AU | Access Unit |
+| BCOB | Broadband Connection Oriented Bearer class |
+| B-ET | Exchange Terminal for Broadband ISDN |
+| B-ISDN | Broadband ISDN |
+| B-NT | Network Termination for Broadband ISDN |
+| B-TA | Terminal Adaptor for Broadband ISDN |
+| CH | Cell Handler |
+| CPCS | Common Part Convergence Sublayer |
+| CPCS-CI | CPCS-Congestion Indication |
+| CPCS-LP | CPCS-Loss Priority |
+| CPCS-UU | CPCS-User to User indication |
+| DNIC | Data Network Identification Code |
+| DTE | Data Terminal Equipment |
+| ISDN | Integrated Services Digital Network |
+
+| | |
+|-------|--------------------------------------------|
+| IWF | InterWorking Function |
+| NT | Network Termination |
+| PH | Packet Handler |
+| PMBS | Packet Mode Bearer Service |
+| PSPDN | Packet Switched Public Data Network |
+| PSDTS | Packet Switched Data Transmission Services |
+| PVC | Permanent Virtual channel Connection |
+| QOS | Quality of Service |
+| SSCS | Service Specific Convergence Sublayer |
+| SVC | Switched Virtual channel Connection |
+| TA | Terminal Adapter |
+| TE | Terminal Equipment |
+| VCI | Virtual Channel Identifier |
+| VPCI | Virtual Path Connection Identifier |
+
+## 5 General service aspects
+
+Packet Switched Data Transmission Services (PSDTSs) are provided by Packet Switched Public Data Networks (PSPDNs) or by Integrated Services Digital Networks (ISDNs). These PSDTSs may be accessed by users of Broadband ISDNs (B-ISDNs).
+
+- a) This Recommendation defines the aspects of packet switched data transmission services provided by a PSPDN or an ISDN to the users of B-ISDN in accordance with the services defined in Recommendations I.211 and X.1.
+- b) This Recommendation defines the procedures at the user-network interface of a B-ISDN to access packet switched data transmission services provided by a PSPDN or an ISDN in alignment with Recommendations Q.2931 and X.25.
+- c) This Recommendation defines the procedures at the user-network interface of a B-ISDN to access packet switched data transmission services provided by a PSPDN or an ISDN in alignment with Recommendations I.432, I.361, I.362, I.363, Q.2110 and Q.2130.
+- d) This Recommendation defines the Terminal Adaptation functions to adapt existing X.25 terminals for use at the user-network interface of a B-ISDN in order to access packet switched data transmission services provided by a PSPDN or an ISDN.
+
+## 6 Reference configurations
+
+There are two reference configurations:
+
+Type A: Access to the Packet Switched Data Transmission Service (PSDTSs) provided by a Packet Switched Public Data Network (PSPDN) using the B-ISDN.
+
+Type B: Access to the PSDTS provided by an ISDN using the B-ISDN.
+
+In the configurations given below, a Terminal Equipment (TE) with X.25 and ATM capabilities is equivalent to a combination consisting of an X.25 Data Terminal Equipment (DTE) and a Terminal Adapter (TA) with ATM capabilities.
+
+NOTE 1 – ATM capabilities are in accordance with Recommendations I.361, I.362, I.363, I.432, Q.2110 and Q.2130 for TEs/TAs attached to a B-ISDN.
+
+In this Recommendation, every reference to the combination of an X.25 DTE and its TA should always be considered as being applicable to a TE with X.25 and also TA and TE should support AAL type 5 function (CPCS + HDLC Applications SSCS) to convey X.25 frames. (See Recommendation I.365.4).
+
+NOTE 2 – Use of AAL type 1 with HDLC framing instead of AAL type 5 should not be precluded.
+
+In case AAL type 5 is used, AAL type 5 message mode service will be available. The functionality of the HDLC Applications SSCS only provides for the mapping of the equivalent primitives of AAL to CPCS and vice versa. The CPCS-UNITDATA primitive parameters should be set by SSCS as specified in 7.4/I.365.4.
+
+## 6.1 Configuration when accessing PSPDN via a B-ISDN
+
+This configuration (Figure 6-1) refers to the case where the PSDTS provided by a PSPDN is accessed using the B-ISDN. In this case, a TE/X.25 DTE+TA accesses the PSDTS of the PSPDN by means of an ATM virtual channel connection established through the B-ISDN. The ATM virtual channel connection is routed, within the B-ISDN, to an access port of the PSPDN referred to as “Access Unit (AU)”.
+
+An ATM virtual channel connection is set up to/from an AU port. An AU supports the possible path setting-up functions for Layer 1 and possible rate adaptation between the PSPDN and the B-ISDN. An AU also supports the necessary processing functions for ATM virtual channel connections and X.25 virtual calls. The same AAL as that of TEs/TAs are also applicable for AU.
+
+NOTE 1 – The PSDTS may be provided by physically the same network as B-ISDN.
+
+It is important to note that the procedures for accessing PSDTS through a B-ISDN user-network interface are independent of where the service provider chooses to locate the AU function. The AU function, logically belonging to the PSPDN, may physically be located either in the PSPDN or in the B-ISDN.
+
+
+
+(Note 3)
+
+Reference point
+
+- AU Access Unit
+- DTE Data Terminal Equipment
+- TA Terminal Adapter for Broadband ISDN
+- TE Terminal Equipment with ATM capabilities (see text)
+
+NOTES
+
+- 1 The AU logically belongs to the PSPDN.
+- 2 ATM demand channel connection.
+- 3 Reference points SB , TB and R are defined in Recommendation I.413.
+
+Rec. Q.2931
+
+T0726080-96/d01
+
+Reference configuration diagram for access to PSDTS in PSPDN using B-ISDN. The diagram shows X.25 DTEs connecting through TAs or TEs to a B-ISDN cloud, which then connects to an Access Unit (AU) within a PSPDN cloud. Reference points R and S\_B/T\_B are indicated with dashed lines. Note 2 is inside the B-ISDN cloud, and Note 1 is inside the PSPDN cloud near the AU.
+
+**FIGURE 6-1/X.34**
+
+**Reference configuration for access to PSDTS in PSPDN using B-ISDN**
+
+ATM Permanent Virtual channel Connections (PVCs) and/or ATM Switched Virtual channel Connections (SVCs) may be established between the TE/X.25 DTE+TA and the AU.
+
+The procedures used to establish and disconnect ATM PVCs are beyond the scope of this Recommendation (e.g. administrative, management procedures).
+
+Over the ATM PVC, X.25 virtual calls (or X.25 PVCs) may be established between the TE/X.25 DTE+TA and a remote DTE supported by the PSPDN. More than one X.25 virtual calls may be established over the ATM PVC.
+
+The procedures used to establish and disconnect ATM SVCs are categorized according to two cases:
+
+- *Interworking by port access*
+
+NOTE 2 – Definition of B-ISDN related interworking recommendations under X.300-Series is for further study.
+
+The establishment of a call between a TE/X.25 DTE+TA and a remote DTE is based on a two-step approach. In the first step, an ATM SVC is established between the TE/TA and the AU using Q.2931 procedures prior to starting X.25. For an outgoing call from a TE/X.25 DTE+TA, the address of the AU is contained in the Q.2931 SETUP message. For an incoming call to a TE/X.25 DTE+TA, the AU is able to set up an ATM SVC through the B-ISDN. In the second step, X.25 virtual calls are established between the TE/X.25 DTE and the remote DTE. More than one X.25 virtual call may be established over the ATM Switched virtual channel connection.
+
+NOTE 3 – No X.25 PVCs are established over an ATM SVC.
+
+For an outgoing call from a TE/X.25 DTE+TA, the address of the remote called DTE is contained in the called address field of the X.25 *call request packet*. For an incoming call to a TE/X.25 DTE+TA, the address of the TE/X.25 DTE+TA is contained in the called address field of the X.25 *incoming call packet*. The AU acts as a relay for X.25 information flows.
+
+The detailed procedures are specified in clause 10.
+
+- *Interworking by call control mapping*
+
+In this interworking scenario, the AU also provides an InterWorking Function (IWF) referred to as AU/IWF. In this case, the AU/IWF consists of an ATM Cell Handler (CH) function, a Packet Handler (PH) function and the necessary functions to interwork them. The interworking component of the AU/IWF performs the mapping between the corresponding protocol procedures at the interfaces on its two sides.
+
+The detailed procedures for the case of interworking by call control mapping are for further study.
+
+## **6.2 Configuration when accessing the packet switched data transmission services of an ISDN via a B-ISDN**
+
+This configuration (Figure 6-2) refers to the case where the ISDN packet switched data transmission services of an ISDN are accessed via B-ISDN. In this case, a TE/X.25 DTE+TA uses an ATM virtual channel connection to access a PH function within the ISDN via an Access Unit (AU).
+
+For the following procedures, the considerations specified in 6.1 above apply.
+
+- The establishment and disconnection of ATM PVCs between a TE/X.25 DTE+TA and the ISDN AU function.
+- The establishment and disconnection of ATM SVCs between a TE/X.25 DTE+TA and the ISDN AU function.
+
+## **7 Service aspects**
+
+## **7.1 General**
+
+The following subclauses apply for both access to PSDTS provided by a PSPDN and access to PSDTS provided by an ISDN using B-ISDN.
+
+
+
+(Note 3)
+
+The diagram illustrates the reference configuration for access to PSDTS in ISDN using B-ISDN. It shows two parallel paths for X.25 DTE and TE equipment. Each path includes a Terminal Adapter (TA) and is connected to the B-ISDN network. The B-ISDN network is represented by a large oval containing two 'X' marks, indicating ATM demand channel connections. The B-ISDN network connects to the ISDN-PSDTS, which is represented by a vertical rectangle labeled AU. The diagram also shows reference points R, SB , and TB defined in Recommendation I.413. A dashed line labeled 'Rec. Q.2931' separates the B-ISDN network from the ISDN-PSDTS. A legend at the bottom left defines the symbols: AU (Access Unit), DTE (Data Terminal Equipment), TA (Terminal Adapter for Broadband ISDN), and TE (Terminal Equipment with ATM capabilities (see text)).
+
+Legend:
+
+- AU Access Unit
+- DTE Data Terminal Equipment
+- TA Terminal Adapter for Broadband ISDN
+- TE Terminal Equipment with ATM capabilities (see text)
+
+NOTES
+
+- 1 The AU logically belongs to the ISDN.
+- 2 ATM demand channel connection.
+- 3 Reference points SB , TB and R are defined in Recommendation I.413.
+
+T0726090-96/d02
+
+Diagram showing the reference configuration for access to PSDTS in ISDN using B-ISDN. It illustrates the connection between X.25 DTE, TE, TA, B-ISDN, and ISDN-PSDTS/AU. Reference points R, S\_B, and T\_B are marked. Notes 1, 2, and 3 provide additional context.
+
+FIGURE 6-2/X.34
+Reference configuration for access to PSDTS in ISDN using B-ISDN
+
+In general, B-ISDN has no knowledge of the customer's terminal equipment or configurations.
+
+Interworking considerations are defined in clause 9.
+
+## 7.2 Service characteristics
+
+In this case, the B-ISDN offers an ATM PVC or SVC with AAL functions of class C between a TE/TA and an AU port. In the ATM SVC case, the AU must be selected by the called party number information element of an Q.2931 SETUP message used on a signalling Virtual Channel identified by VCI=5 at the B-ISDN user-network interface when the TE/TA sets up the ATM SVC to the AU. In the ATM PVC access case, Q.2931 signalling protocol messages are not used.
+
+NOTE 1 – Support of Point-to-Multipoint access arrangement in B-ISDN is for further study (VCI = 5 is for Point-to-Point access case only).
+
+A distinction in service characteristics is made between the two methods of interworking (i.e. port access, call control mapping) that may be used to access PSDTS.
+
+- In the port access method of interworking, there is a requirement for identification of the TE/X.25 DTE+TA to the AU function when the TE/X.25 DTE+TA accesses the AU through the B-ISDN or when the TE/X.25 DTE+TA is accessed by the AU through the B-ISDN.
+
+The “TE/X.25 DTE+TA identity” is a means of referring to the TE/X.25 DTE+TA. The TE/X.25 DTE+TA identity is either explicitly agreed to between the TE/X.25 DTE+TA and the Administration providing the AU function or is implicitly acceptable to the AU Administration through agreements with other Administrations, organizations or authorities (see Recommendation X.32).
+
+NOTE 2 – The Administration providing the AU function will be referred to as the “AU Administration” in the following description.
+
+The characteristics of the service which a TE/X.25 DTE+TA obtains will depend upon whether the AU considers the TE/X.25 DTE+TA identified for each ATM SVC.
+
+Two components are required in order for a TE/X.25 DTE+TA to be considered identified (see Recommendation X.32):
+
+- a) the TE/X.25 DTE+TA is administratively registered either:
+ - 1) through direct arrangement with the AU Administration (i.e. explicitly); or
+ - 2) through pre-arrangement between the AU Administration and the B-ISDN Administration or another authority, and direct arrangement between the TE/X.25 DTE+TA and that authority (i.e. not explicitly);
+- b) the TE/X.25 DTE+TA identity is made known to the AU when setting up the ATM SVC using one of the methods described in 2.4/X.32.
+
+The service offered for an unidentified TE/X.25 DTE+TA is as specified in 2.3.2.1/X.32. In addition when establishing an ATM SVC through the B-ISDN to an unidentified TE/X.25 DTE+TA, the AU sets the subparameters of the ATM Traffic Descriptor information element in the Q.2931 SETUP message to network-specific default values.
+
+The service offered for an identified TE/X.25 DTE+TA is as specified in 2.3.2.2/X.32. In addition when establishing an ATM SVC through the B-ISDN to an identified TE/X.25 DTE+TA, the AU sets the subparameters of the ATM Traffic Descriptor information element in the Q.2931 SETUP message to TE/X.25 DTE+TA specific values.
+
+In the port access case, PSDTS is provided by a PSPDN (Type A) or an ISDN (Type B).
+
+In Type A, PSPDN services are provided including optional user facilities. In the case where DTE is not subscribing to the PSPDN, it will be provided with a limited set of PSPDN facilities (see Recommendation X.32). QOS characteristics for this case will be those of Recommendation X.25, but limited by the QOS characteristics of the B-ISDN.
+
+NOTE 3 – The QOS characteristics of the B-ISDN are according to Recommendation I.356.
+
+In Type B, ISDN Virtual Circuit Bearer Services are provided including facilities. Existing features of the X-Series Recommendations may be enhanced and additional features may also be developed taking into account new ISDN customer capabilities. QOS characteristics of this case will be those of ISDN, but limited by the QOS characteristics of the B-ISDN.
+
+NOTE 4 – In type B, the relationship between X.25 optional user facilities and B-ISDN supplementary services is for further study.
+
+NOTE 5 – In both Type A and Type B, definition of a Recommendation specifying QOS is for further study.
+
+- In the call control mapping method of interworking, it is for further study to determine the need for a requirement to identify the TE/X.25 DTE+TA by the AU.
+
+In general, the TE/X.25 DTE+TA will be associated with one or more B-ISDN numbers (E.164 numbers). The TE/X.25 DTE+TA may also be associated with one or more X.121 numbers assigned by the PSPDN in case of access to PSDTS of PSPDN. X.121 numbers shall not be conveyed in Q.2931 messages whereas both X.121 and E.164 numbers may be conveyed in X.25 call request and incoming call packets. The method for X.25 packets to convey numbers from the two numbering plans are specified in Recommendation X.122/E.166.
+
+## 7.3 User access capabilities
+
+In type A, DTEs belonging to user classes of service 30 to 61 of Recommendation X.1 (categories of access BIA1 to BIA32 and BIB1 to BIB32) can be supported with no restrictions on the use of Recommendation X.25.
+
+In type B, DTEs belonging to user classes of service 30 to 61 of Recommendation X.1 (categories of access BIC1 to BIC32 and BID1 to BID32) can be supported with no restrictions on the use of Recommendation X.25.
+
+## 8 Addressing and routing aspects
+
+The following subclauses apply for both access to PSDTS provided by a PSPDN (type A) and access to PSDTS provided by an ISDN (type B) using B-ISDN except clearly stated.
+
+## 8.1 Outgoing calls
+
+### 8.1.1 Access unit selection
+
+A distinction is made between the two methods of interworking that may be used to access PSDTS.
+
+- In the port access method of interworking, the responsibility to invoke the AU is with the calling TE/X.25 DTE+TA. If an ATM virtual channel connection (PVC or SVC) is not established between the calling TE/X.25 DTE+TA and the AU, it is the responsibility of the calling TE/X.25 DTE+TA to establish the ATM virtual channel connection to the AU before being able to establish any X.25 virtual call to a remote DTE.
+- In the call control mapping method of interworking, it is the network responsibility to invoke the AU, if needed. The calling TE/X.25 DTE+TA establishes an ATM SVC towards the remote called DTE without being aware that an AU may be required to complete the call to its destination. The AU which is invoked by the network, if needed, provides the mapping between the ATM protocol procedures and the X.25 protocol procedures.
+
+### 8.1.2 Addressing scheme
+
+An AU port will be assigned an B-ISDN address.
+
+- In the port access method of interworking, the called party number information element of the Q.2931 SETUP message contains the address of the AU. An X.25 *call request packet* sent over the ATM SVC contains the address of a remote called DTE.
+- In the call control mapping method of interworking, the called party number information element of the Q.2931 SETUP message contains the address of the remote called DTE.
+
+## 8.2 Incoming calls
+
+### 8.2.1 Access unit selection
+
+When the network providing PSDTS (e.g. PSPDN or ISDN) is connected to other networks, the guidelines outlined below may be used to select an AU to complete an incoming X.25 virtual call to the called TE/X.25 DTE+TA.
+
+#### 8.2.1.1 Access unit selection by PSPDN (Type A)
+
+Typically the PSPDN, based on arrangements with the B-ISDN, will have knowledge regarding the bearer services supported by the B-ISDN. If the called DTE is registered with the PSPDN and the called DTE subscription parameters indicate "ATM", the PSPDN selects an AU function (with functionality as specified in this Recommendation) and the procedures specified in 10.2.2 below apply.
+
+#### 8.2.1.2 Access unit selection by ISDN (Type B)
+
+The following criteria may be used by ISDN to complete an incoming X.25 virtual call to the called TE/X.25 DTE+TA:
+
+- The ISDN determines from the called address that the called TE/X.25 DTE+TA is one of its endpoints. If the called DTE subscription parameters indicate "ATM", the ISDN offers the incoming X.25 virtual call to the called DTE using the procedures specified in Recommendation Q.2931.
+- The ISDN determines from the called address that the called TE/X.25 DTE+TA is one of its endpoints. If the called DTE subscription parameters indicate "Packet Mode", the ISDN offers the incoming X.25 virtual call to the called DTE using the procedures for Case B of Recommendation X.31.
+- The ISDN determines from the called address that interworking with an adjacent ISDN is required. Based on arrangements with the adjacent ISDN, the ISDN will have knowledge regarding the bearer services supported by the adjacent ISDN. The ISDN may then use the criteria described in 8.2.1.1 to select an AU to complete the call.
+
+NOTE – More global resolution (e.g. definition of a separate Recommendation) may need to be studied with respect to the selection of AU in case of incoming call when a network providing PSDTS is connected to multiple networks including ISDN-CS, ISDN-PS, ISDN-FR and B-ISDN. It is for further study.
+
+### 8.2.2 Addressing scheme
+
+- In the port access method of interworking, the called party number information element of an Q.2931 SETUP message contains the address of the called TE/X.25 DTE+TA. The calling party number information element of the SETUP message may contain the address of the AU. An X.25 *incoming call packet* sent over the ATM SVC may contain the address of the called TE/X.25 DTE+TA and contains the calling address of the remote DTE.
+- In the call control mapping method of interworking, the called party number information element of the Q.2931 SETUP message contains the address of the called TE/X.25 DTE+TA. The calling party number information element of the SETUP message may contain the address of the remote DTE.
+
+### 8.2.3 Called TE/X.25 DTE+TA interface selection
+
+This subclause describes the information necessary to select a compatible TE/X.25 DTE+TA for the completion of an incoming ATM SVC.
+
+It is envisaged that a B-ISDN would identify, by means of an ISDN address, a specific interface within the subscriber premises. The transmission capability information may be used by the called TE/X.25 DTE+TA for compatibility checking purposes.
+
+In general, a B-ISDN number identifies one or more ISDN user-network interfaces. However, some networks may allow a B-ISDN user-network interface to be allocated more than one ISDN number, thus allowing the identification of a given terminal within a B-ISDN user-network interface (see Recommendation Q.2951.2).
+
+NOTE – Further study is required for TE selection in the B-ISDN user premises. (e.g. Point-To-Multipoint configuration)
+
+# 9 Interworking with dedicated networks
+
+## 9.1 General
+
+Interworking by both port access and call control mapping is possible.
+
+This Recommendation specifies the procedures for interworking by the port access method. Interworking by the call control mapping method is for further study.
+
+## **9.2 Access to PSDTS via a B-ISDN**
+
+A TE/X.25 DTE+TA accesses the access port, referred to as AU, in the network providing the PSDTS by means of an ATM virtual channel connection through the B-ISDN. The AU belongs to the network providing the PSDTS and is functionally equivalent to an IWF.
+
+NOTE – Definition of interworking Recommendation under X.300-Series is for further study.
+
+In some implementations, the AU function logically belonging to the network providing the PSDTS may reside physically in a node in the B-ISDN. The service provided by this B-ISDN is still B-ISDN\_services and the interworking between it and the network providing the PSDTS is effected through use of an X.75 interface or a functionally equivalent internal network protocol.
+
+Note that in some implementations the same ISDN may be providing both the PSDTS and the B-ISDN services.
+
+# **10 Procedures**
+
+The following subclauses apply for both access to PSDTS provided by a PSPDN (Type A) and access to PSDTS provided by an ISDN (Type B) using B-ISDN except clearly stated.
+
+## **10.1 General**
+
+The procedures specified in this Recommendation are based on the port access method of interworking.
+
+NOTE 1 – Procedures based on the call control mapping of interworking are for further study.
+
+As described in 6.2 above, an ATM virtual channel connection is established between the TE/X.25 DTE+TA and the AU. An ATM SVC is established using the procedures specified in 10.2.2. The ATM virtual channel connection may be either a PVC or an SVC. An ATM PVC is established by means which are beyond the scope of this Recommendation.
+
+X.25 procedures are performed between TE/X.25 DTE and the AU using the ATM virtual channel connection via the AAL type 5 and HDLC Applications SSCS functions performed at TE/TA and the AU.
+
+NOTE 2 – Use of AAL type 1 with HDLC framing, instead of type 5 should not be precluded.
+
+In this Recommendation, the terms "outgoing" and "incoming" are used to describe the call as viewed by the user side of the ISDN user-network interface (i.e. as viewed by the TE/X.25 DTE+TA).
+
+## **10.2 Procedures**
+
+A TE/X.25 DTE+TA accesses PSDTS by setting up an ATM virtual channel connection through the B-ISDN to the AU.
+
+In-channel signalling as specified in Recommendation Q.2931 is used to establish ATM SVCs. In-channel signalling is employed on the virtual channel identified by the Virtual Channel Identifier (VCI) = 5. The ATM Adaptation Layer protocol employed on the VCI=5 channel is Signalling ATM Adaptation Layer (SAAL) protocol which is specified in Q.2100-Series Recommendations.
+
+NOTE – VCI value for Q.2931 point-to-multipoint procedure needs to be added once defined in this Recommendation.
+
+ATM PVCs may also be used. The procedures used to establish and disconnect ATM PVCs are beyond the scope of this Recommendation (e.g. administrative, management procedures).
+
+### **10.2.1 Outgoing call**
+
+A calling TE/X.25 DTE+TA, wishing to set up an X.25 virtual call to a remote DTE, uses an ATM virtual channel connection that is established through the B-ISDN to the AU. The ATM virtual channel connection is established on a Virtual Channel available for support of user information on the B-ISDN user-network interface as defined in clause 5/Q.2931. The ATM virtual channel connection may be either a PVC or an SVC.
+
+#### NOTES
+
+1 If an ATM virtual channel connection is not established through the B-ISDN to the AU, the calling TE/X.25 DTE+TA uses the procedures specified in 10.2.1.1 below before setting up the X.25 virtual call.
+
+2 If an ATM PVC is established through the B-ISDN, then X.25 PVCs as well as X.25 virtual calls may be established between the calling TE/X.25 DTE+TA and remote DTEs.
+
+3 No X.25 PVCs are allowed over an ATM SVC.
+
+#### 10.2.1.1 Outgoing ATM switched virtual channel connection
+
+A calling TE/X.25 DTE+TA uses the following procedures:
+
+- 1) The procedures specified in 5.1.1/Q.2931 for the ATM connection setup. In the SETUP message sent by the calling TE/X.25 DTE+TA:
+ - i) The Called Party Address information element contains the address of the AU.
+ - ii) The Broadband Bearer Capability information element shall be encoded as follows:
+ - bearer class set to “BCOB-C”;
+ - traffic type set to “Variable bit rate”;
+ - timing requirements set to “End-to-end timing not required”;
+ - susceptibility to clipping set to “not susceptible to clipping”;
+ - user plane connection configuration set to “Point-to-Point”.
+ - iii) The Broadband Low Layer Information element is included to pass compatibility information from the calling TE/X.25 DTE+TA to the AU. The user information layer 3 protocol (octet 7 of the Broadband Low Layer Information element) is encoded as follows:
+ - X.25 packet layer.The user information layer 2 protocol (octet 6 of the Broadband Low Layer information element) is encoded as follows:
+ - X.25 link layer.
+
+NOTE – The usage of other values (e.g. X.25 multilink) is for further study.
+- 2) The procedures specified in 5.1.2/Q.2931 for connection identifier (VPCI/VCI) allocation and selection.
+- 3) The procedures specified in 5.1.3/Q.2931 to request a certain Quality of Service (QOS).
+
+#### 10.2.1.2 Outgoing X.25 virtual call setup and release
+
+The X.25 procedures specified in Recommendation X.25 apply.
+
+NOTE – A logical channel number is unique within a VCI.
+
+### 10.2.2 Incoming call
+
+The AU delivers an incoming X.25 virtual call over an established ATM virtual channel connection to the called TE/X.25 DTE+TA. If more than one ATM virtual channel connection is established to the called TE/X.25 DTE+TA, the AU selects one of these ATM virtual channel connections to deliver the incoming X.25 virtual call. The AU may use the occupancy levels of these ATM virtual channel connections to perform the selection. If the selection procedure is unsuccessful or if no ATM virtual channel connection is established to the called TE/X.25 DTE+TA, the AU initiates the procedures specified below for establishing an ATM SVC before delivering the incoming X.25 virtual call.
+
+#### 10.2.2.1 Incoming ATM switched virtual channel connection
+
+The network uses the following procedures:
+
+- 1) The procedures specified in 5.2.1/Q.2931 for the ATM connection setup. In the Q.2931 SETUP message sent by the B-ISDN to the called TE/X.25 DTE+TA:
+ - i) The Called Party Address information element in the SETUP message contains the address of the called TE/X.25 DTE+TA.
+ - ii) The Broadband Bearer Capability information element shall be encoded as specified in 10.2.1.1 above.
+
+- iii) The Broadband Low Layer information element is included, as received from the AU, to pass compatibility information from the AU to the called TE/X.25 DTE+TA. The user information layer 3 protocol (octet 7 of the Broadband Low Layer information element) is encoded as follows:
+
+- X.25 packet layer.
+
+The user information layer 2 protocol (octet 6 of the Broadband Low Layer information element) is encoded as follows:
+
+- X.25 link layer.
+
+NOTE – The usage of other values (e.g. X.25 multilink) is for further study.
+
+- iv) The characteristics of the ATM SVC may be determined from subscription time agreements information.
+ - If the called TE/X.25 DTE+TA is administratively registered with the Administration of the network providing the PSDTS and is successfully identified to the AU, the subparameters of the ATM Traffic Descriptor information element in the Q.2931 SETUP message sent by the PSPDN AU to the called TE/X.25 DTE+TA are set to the TE/X.25 DTE+TA specific values determined at subscription time.
+ - If the called TE/X.25 DTE+TA is not registered or is registered but is not successfully identified to the AU, the subparameters of the ATM Traffic Descriptor information element in the Q.2931 SETUP message sent by the AU to the called TE/X.25 DTE+TA are set to default values determined by the PSPDN.
+
+- 2) The procedures specified in 5.2.2/Q.2931 for compatibility check.
+
+- 3) The procedures specified in 5.2.3/Q.2931 for connection identifier(VPCI/VCI) allocation and selection.
+
+#### **10.2.2.2 Incoming X.25 virtual call setup and release**
+
+The X.25 procedures specified in Recommendation X.25 apply.
+
+NOTE – A logical channel number is unique within a VCI.
+
+## **10.3 ATM switched virtual channel connection clearing**
+
+### **10.3.1 Clearing initiated by the TE/X.25 DTE+TA**
+
+The TE/X.25 DTE+TA follows the procedures specified in 5.4.3/Q.2931 to clear an ATM SVC.
+
+ATM PVC cannot be cleared by the TE/X.25 DTE+TA using Q.2931 clearing procedures. It is cleared by procedures (e.g. administrative, management procedures) which are beyond the scope of this Recommendation.
+
+### **10.3.2 Clearing initiated by the PSDTS AU**
+
+The PSDTS AU follows the procedures specified in 5.4.4/Q.2931 to clear an ATM switched virtual call.
+
+ATM PVC cannot be cleared by the PSDTS AU using Q.2931 clearing procedures. It is cleared by procedures (e.g. administrative, management procedures) which are beyond the scope of this Recommendation.
+
+## **10.4 ATM switched virtual channel connection clear collision**
+
+The clear collision procedures specified in 5.4.5/Q.2931 apply.
+
+## **10.5 Restart procedures**
+
+The Restart procedures specified in 5.5/Q.2931 apply.
+
+If a Q.2931 RESTART message is received by the AU during the X.25 data transfer phase, the X.25 virtual calls shall be treated as follows :
+
+- For switched virtual channel connections, an X.25 *clear indication packet* shall be sent with cause #9, “out of order” and diagnostic #0, “no additional information”.
+- For any X.25 virtual calls which are established on a permanent virtual channel connection to the AU, no action shall be taken.
+
+## 10.6 Handling of error conditions
+
+The procedures for handling of error conditions specified in 5.6/Q.2931 apply.
+
+In addition, the following rules apply in order of decreasing probability for determining the appropriate cause to be used:
+
+- 1) If a Q.2931 clearing message is received from the B-ISDN by the AU to clear ATM switched virtual channel connection while X.25 virtual calls still exist on ATM switched virtual channel connection, the AU clears the corresponding X.25 virtual call(s) with cause #17 “remote procedure error” and diagnostic code #64 “call setup, call clearing, or registration problem”.
+- 2) If a Q.2931 RESTART message is received by the B-ISDN and an ATM switched virtual channel connection is released as a result while X.25 virtual calls still exist on the ATM switched virtual channel connection, the AU also clears the corresponding X.25 virtual call(s) with cause #9 “out of order” and diagnostic code #0 “no additional information”.
+- 3) If the establishment of an ATM SVC that is triggered by an incoming X.25 virtual call is rejected by the called TE/X.25 DTE+TA using Q.2931 messages on the Virtual Channel Identified by VCI=5, the AU clears the incoming X.25 virtual call using an appropriate cause from Table 11-5/X.31.
+
+NOTE 1 – In Table 11-5/X.31, Q.931 is replaced with Q.2931. See also Annex A.
+
+- 4) If a condition exists that prevents a Q.2931 SETUP message that is triggered by an incoming X.25 virtual call from being delivered to the called TE/X.25 DTE+TA on the Virtual Channel Identified by VCI=5, the AU clears the incoming X.25 virtual call in the network providing PSDTS with a cause that is selected appropriate to the condition from Table 11-5/X.31.
+- 5) If a Q.2931 SETUP message is sent as a result of an incoming X.25 virtual call on a Virtual Channel Identified by VCI=5 to the called TE/X.25 DTE+TA and no response is received prior to the second expiry of Timer T303, rule 4) above applies.
+- 6) If a Q.2931 SETUP message is sent as a result of an incoming X.25 virtual call on a Virtual Channel Identified by VCI=5 to the called TE/X.25 DTE+TA and a response other than a call rejection is received which results in the clearing of the ATM SVC, the AU clears the incoming X.25 virtual call in the network providing PSDTS using the appropriate cause from Table 11-5/X.31 relative to the cause sent in the clearing message.
+- 7) If an X.25 *clear request packet* is received from the originating user by the AU prior to the delivery of the X.25 *incoming call packet* to the called TE/X.25 DTE+TA (premature clearing), the AU shall send a *clear confirmation packet* to the calling user and the ATM SVC, when and if established shall be treated as either of the following two options;
+ - The ATM SVC shall be cleared. The Q.2931 clearing message shall contain the appropriate cause as described in Table 11-6/X.31.
+ - The ATM SVC is established and T14 is started. Upon expiry of T14, the ATM SVC is cleared with cause #102, “recovery on timer expiry ” and diagnostic indicating timer T14 (see Recommendation X.32).
+
+NOTE 2 – In Table 11-6/X.31, Q.931 is replaced with Q.2931.
+
+## 10.7 ATM PVC management procedure
+
+The ATM PVC, semi-permanent virtual connection, management procedures are defined in Appendix III/Q.2931. This procedure applies.
+
+# 11 Terminal adapter functionalities
+
+## 11.1 General
+
+Terminal Adapter (TA) functions are needed to support the access of X.25 DTEs at the $S_B/T_B$ reference points of an B-ISDN (see Figure 11-1).
+
+
+
+The diagram illustrates the reference configuration of a Terminal Adapter (TA). A central rectangular box is labeled 'TA'. To its left, a horizontal line connects to a reference point labeled 'R', which is represented by two short vertical parallel lines. To the right of the TA box, a horizontal line connects to a reference point labeled ' $S_B/T_B$ ', also represented by two short vertical parallel lines. Below the right side of the diagram is the identifier 'T0725280-96/d03'.
+
+Reference configuration of TA diagram
+
+FIGURE 11-1/X.34
+**Reference configuration of TA**
+
+NOTE – A TA function supports only one X.25 DTE (simple or complex, e.g. LAN-gateway) at Reference point R.
+
+Main functionalities which are provided by the TA are the following:
+
+- Rate adaption.
+- Mapping of signalling information and procedures between the $S_B/T_B$ , and the R reference point.
+- Synchronization.
+- Maintenance.
+
+In the following, these main functionalities are described.
+
+The procedures at the reference points of the user-network interface for an B-ISDN are described in clause 10.
+
+The reference protocol stack model is shown in Figure 11-2.
+
+## 11.2 Access to PSDTS via a B-ISDN
+
+### 11.2.1 Physical interfaces
+
+The physical interfaces supported at the R reference point are those defined in clause 1/X.25, and Recommendation X.32. The physical interfaces supported at the $S_B/T_B$ reference point are those defined in Recommendation I.413.
+
+### 11.2.2 Rate adaption
+
+In this case, packet mode terminals operating at data signalling rates lower than 64 kbit/s at the R reference point can no longer be distinguished by the network from packet mode terminals operating at a data rate of 64 kbit/s at the R interface.
+
+Therefore, the signalling procedures at the $S_B/T_B$ reference point will indicate the data signalling rate at that reference point rather than the user data signalling rate at the R reference point. In addition, a throughput class may be indicated in the incoming call signalling procedures at the $S_B/T_B$ reference point.
+
+It should be noted that the frame handling in the B-ISDN will be done by an appropriate AAL functions at the rates defined in the ATM sections in Recommendation X.1.
+
+### 11.2.3 Layer 2 adaption
+
+TA provides the layer 2 adaption function between LAPB frames on the R reference point and frames conveyed by cells on the $S_B/T_B$ reference point. On the $S_B/T_B$ reference point, TA uses AAL type 5 (CPCS+HDLC Applications SSCS) to convey X.25 frames.
+
+NOTE – Use of AAL type 1 with HDLC framing instead of AAL type 5 should not be precluded.
+
+#### **a) ATM PVC case**
+
+
+
+U-plane
+
+| Entity | Layer 1 | Layer 2 | Layer 3 |
+|--------|---------|---------|----------|
+| B-TE | PHY | ATM | X.25 DLP |
+| B-TE | PHY | ATM | X.25 PLP |
+| AU | PHY | ATM | X.25 DLP |
+| AU | PHY | ATM | X.25 PLP |
+
+B-TE AU
+
+Protocol stack diagram for ATM PVC case showing U-plane for B-TE and AU.
+
+#### **b) ATM SVC case**
+
+
+
+U-plane
+
+| Entity | Layer 1 | Layer 2 | Layer 3 |
+|--------|---------|---------|----------|
+| B-TE | PHY | ATM | X.25 DLP |
+| B-TE | PHY | ATM | X.25 PLP |
+| AU | PHY | ATM | X.25 DLP |
+| AU | PHY | ATM | X.25 PLP |
+
+B-TE AU
+
+Protocol stack diagram for ATM SVC case showing U-plane for B-TE and AU.
+
+
+
+C-plane
+
+| Entity | Layer 1 | Layer 2 | Layer 3 | Layer 4 | Layer 5 | Layer 6 |
+|--------|---------|---------|---------|---------|-----------|-------------|
+| B-TE | PHY | ATM | AAL5 CP | SSCOP | SSCF (*1) | Rec. Q.2931 |
+| B-ISDN | PHY | ATM | AAL5 CP | SSCOP | SSCF (*1) | Rec. Q.2931 |
+
+B-TE B-ISDN
+
+T0725290-96/d04
+
+Protocol stack diagram for C-plane showing B-TE and B-ISDN.
+
+(\*1) HDLC Applications SSCS is defined in Recommendation I.365.4
+
+NOTE – See Recommendation Q.2130.
+
+FIGURE 11-2/X.34
+Reference protocol stack model
+
+In case AAL type 5 is used, AAL type 5 message mode service will be available. The functionality of the null-SSCS only provides for mapping of the equivalent primitives of AAL to CPCS and vice versa. The CPCS-UNITDATA primitive parameters should be set by SSCS as specified in 7.4/I.365.4.
+
+### 11.2.4 Signalling
+
+This part defines the functionalities to be supported by the TA to establish, maintain and release an ATM connection to the AU port of PSDTS network. After the ATM connection has been established, TA shall act transparent to X.25 layer 2 control part and layer 3.
+
+#### 11.2.4.1 Outgoing call
+
+In case of access via a B-ISDN, there must be an established physical channel between the TA and the AU. To provide an ATM connection by means of the pre-established physical channel to the AU, the TA shall provide:
+
+- a method to indicate that the TA should start the ATM connection establishment procedure at the $S_B/T_B$ reference point. The options available are described in 11.2.4.1.1.
+- a method to transfer address information to the TA which is needed by the ATM connection establishment procedure. The options available are described in 11.2.4.1.2.
+
+##### 11.2.4.1.1 Conditions for initiating ATM connection establishment
+
+Two situations can be identified to categorize the conditions which may cause the TA to attempt to establish a ATM connection.
+
+###### a) ATM PVC
+
+In this case, the ATM connection is always available. No TA functionality is required to initiate the establishment of the ATM connection.
+
+###### b) ATM connection establishment is initiated by actions at the R reference point (DTE/TA interface).
+
+Two conditions are possible. See Table 11-1.
+
+###### b1) *Hot-line access at the R reference point*
+
+In case of hot-line access at the R reference point, the detection of the following appropriate interface conditions shall cause the TA to establish the ATM connection to the PSPDN or the ISDN providing PSDTS.
+
+- i) For X.25 layer 1 interfaces – a transition from OFF to ON on the control lead (in case of X.21 leased circuit procedures) or circuit 108 (in case of X.21 *bis* or V-Series interface procedures).
+- ii) For X.21 interfaces – direct call signal (C=ON). The DTE will wait for I=ON before starting transmission.
+- iii) For the X.21 *bis* interface – direct call signal (108=ON). The DTE will wait for 107=ON before starting transmission.
+- iv) For the V.25 *bis* interface – direct call signal (108=ON). The DTE will wait for 107=ON before starting transmission.
+
+###### b2) *Full circuit switched selection access*
+
+Full circuit switched selection procedure (Recommendations X.21, X.21 *bis* or V.25 *bis*) may be used at the DTE/TA interface to request the establishment of the ATM connection to an AU. The TA will establish the ATM connection in accordance with the procedures described in clause 10. The address provided may be used to identify the PSPDN or the ISDN-PSDTS port and full X.25 procedures must be used following the establishment of the ATM connection to identify the called packet mode DTE.
+
+In case of full circuit switched selection, the following operating modes of Recommendations X.21, X.21 *bis* and V.25 *bis* at the DTE/TA interface shall cause the TA to establish the ATM connection to the PSPDN or the ISDN providing PSDTS.
+
+- i) For X.21 circuit switched interfaces – X.21 call control phase.
+- ii) For X.21 *bis* circuit switched interfaces – use of X.21 *bis* automatic address call facility.
+- iii) For V.25 *bis* circuit switched interfaces – V.25 *bis* addressed call mode.
+
+NOTE – The user may cause the TA to attempt to establish an ATM connection by manual actions (e.g. by pressing a button) at the human/machine interface of the TA. Subsequently the TA may emulate the incoming call towards the DTE.
+
+TABLE 11-1/X.34
+
+###### **DTE/TA Layer 1 specifications and procedures to initiate ATM connection establishment**
+
+| Condition | DTE/TA layer 1 specification | | Events at the R reference point | Procedures according to: |
+|----------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------|----------------------|-------------------------------------|-----------------------------|
+| Hot-line access | Rec. X.25 | X.21 leased circuit | DTE sets C = ON | 1.1/X.25 |
+| | | Rec. X.21 bis | DTE sets circuit 108 = ON | 1.2/X.25 |
+| | | V-Series interfaces | DTE sets circuit 108 = ON | 1.3/X.25 |
+| | X.21 circuit switched | | DTE signals direct call | 4.4/X.21 |
+| | X.21 bis direct call | | DTE signals direct call | 2.3.1/X.21 bis |
+| | V.25 bis direct call | | DTE uses direct call mode (Note) | clause 5/V.25 bis |
+| Full circuit switched access | X.21 addressed call | | DTE enters call control phase | clause 4/X.21 |
+| | X.21 bis addressed call | | DTE performs automatic address call | 2.3.2 iii)/ X.21 bis |
+| | V.25 bis addressed call | | DTE uses address call mode | clause 4/V.25 bis |
+| NOTE – The difference between the V.25 bis direct call mode and operation according to 1.3/X.25 (V-Series interfaces) is for further study. | | | | |
+
+###### 11.2.4.1.2 Options for transferring the address of the PSPDN or ISDN-PSDTS port to the TA
+
+Four options exist to handle address information of the PSPDN or the ISDN-PSDTS port at the TA:
+
+- a) ATM PVC at the SB /TB reference point.
+In this case the TA has no need for address information, i.e. no functionality is required in the TA to obtain an address.
+- b) The address is conveyed across the R reference point.
+In this case the circuit switched procedures described in 11.2.4.1.1 b2) are required.
+- c) The address is conveyed across the human/machine interface of the TA.
+Manual procedures are used (e.g. by means of a keypad) at the human/machine interface of the TA. The address may be input each time the ATM connection is requested. Alternatively the address may be stored at the TA (e.g. in the case of hot line operation at the R reference point).
+- d) The address is downloaded by the network via the SB /TB reference point.
+The need for this option is for further study.
+
+NOTE – The address information may be for example a full E.164 address and abbreviated E.164 address, which is used by hot-line access procedures at the SB /TB reference point, or an abbreviated address which is interpreted by the TA and expanded to an (abbreviated) E.164 address using pre-recorded information in the TA.
+
+##### 11.2.4.1.3 Mapping of procedures
+
+The list of supported combinations and the appropriate procedures are given in Table 11-2.
+
+Following the establishment of the connection, the TA should place the R reference point in the appropriate condition for data transfer at layer 1.
+
+TABLE 11-2/X.34
+
+**TA functionality to control ATM connection establishment**
+
+| | TA function | | Description of procedures |
+|---|------------------------------------------------------------------------|--------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| | Conditions for initiation of ATM connection establishment (11.2.4.1.1) | Transfer of address information to the TA (11.2.4.1.2) | |
+| 1 | Condition a) | Option a) | ATM PVC connection. No signalling functions for layer 1 are needed in the TA |
+| 2 | Condition b1) i) | Option c) | The DTE sets C=ON or circuit 108=ON. When C (or circuit 108) Becomes ON, and the manual selection has been made at the TA, the TA then initiates the establishment of an ATM connection to provide a connection to the PSPDN or the ISDN-PSDTS. When the ATM connection is completely established at the S/T reference point, the TA sets I=ON (or circuit 107=ON) |
+| 3 | Any of conditions b1) ii), iii), iv) | Option c) | When the manual selection has been made at the TA, the TA may emulate an incoming call at the R reference point. If the DTE accepts this incoming call, the TA places the R reference point in the DCE waiting state at layer 1 and then initiates the establishment of an ATM connection to provide a connection to the PSPDN or the ISDN-PSDTS. When the ATM connection is completely established at the S B /T B reference point, the TA signals ready for data at the R reference point |
+| | See Note in 11.2.4.1.1 | Option c) | |
+| 4 | Any of condition b2) | Option b) | When the DTE has requested the layer 1 connection and the DTE has requested the layer 1 connection and provided address information to the TA, the TA initiates the establishment of an ATM connection. When the ATM connection is completely established at the S B /T B reference point the TA signals ready for data,using the appropriate procedure at the R reference point. |
+| 5 | Condition b1) | Option a) | In the case hot-line access is applied at the R reference point as well as the S B /T B reference point. No address information is therefore required by the TA. When the DTE presents the call request, the TA attempts to establish an ATM connection. When the ATM connection is completely setup, the TA signals ready for data at the R reference point |
+
+##### 11.2.4.1.4 Mapping of the Q.2931 messages
+
+The procedures between the TA and the network are the same as described in clause 10. The choice of the requested service will be made by the appropriate coding of the bearer capability.
+
+The B-ISDN address of the PSPDN port or the ISDN-PSDTS port will be introduced as the destination in the Q.2931 message.
+
+##### 11.2.4.1.5 X.25 procedures
+
+In the data transfer phase, the TA may be transparent to layer 2 control part and layer 3 of the X.25 procedures. However, some realizations of X.25 terminals may require full or partial termination of layer 2 within the TA to accommodate existing LAPB establishment procedures.
+
+#### 11.2.4.2 Incoming call
+
+##### 11.2.4.2.1 Q.2931 call offering
+
+The incoming call is first offered using Q.2931 procedures for setting up the ATM connection.
+
+##### 11.2.4.2.2 Actions at the R reference point
+
+The TA shall not accept an incoming call from the network unless the R reference point is in one of the following states:
+
+- The ready state for an R reference point conforming to X.21 circuit switched procedures;
+- the ready or send data state for an R reference point conforming to X.21 leased circuit procedures;
+- circuits 125 and 108 ON with 107 OFF for an R reference point conforming to X.21 *bis* procedures.
+
+If the R reference point is in, or can be placed in, the appropriate state defined above, the TA shall respond to the SETUP message (when compatibility checking has been successful) by returning a CONNECT message in accordance with the procedures of clause 10 and shall then wait for either a CONNECT ACKNOWLEDGE or RELEASE signalling message from the network. (The TA may also reject the SETUP message by responding with a RELEASE COMPLETE message.)
+
+NOTE 1 – Recommendation Q.2931 does not oblige the TA to return an ALERTING message prior to the return of a CONNECT.
+
+If the R reference point is not and cannot be placed in the appropriate states defined above, then the TA shall respond to the SETUP message in accordance with the negative response to the incoming call procedures defined in clause 10.
+
+The receipt of a CONNECT ACKNOWLEDGE message causes the TA to initiate the appropriate procedures described in Recommendation X.30/I.461 leading to the placing of the R reference point into the appropriate condition for data transfer, and to begin transmission of information in the ATM connection.
+
+NOTE 2 – The DTE/TA interface shall not be placed in the data transfer state before the ATM connection is completely set up at the SB /TB reference point (see 11.2.5).
+
+##### 11.2.4.2.3 X.25 procedures
+
+In the data transfer phase, the TA may be transparent to layer 2 control part and layer 3 of the X.25 procedures.
+
+#### 11.2.4.3 Call clearing
+
+To initiate the clearing of the ATM connection, it is necessary to detect the clearing of the last virtual call on the ATM connection. Three parties can detect the clearing of the ATM connection:
+
+- 1) the DTE-initiating clearing via the R reference point;
+- 2) the network (AU)-initiating clearing via the SB /TB reference point;
+- 3) the user-initiating clearing manually via the human/machine interface.
+
+##### 11.2.4.3.1 initiation of call clearing by the DTE
+
+The conditions of the R reference point which cause the TA to attempt to disconnect the B-channel connection are;
+
+- for X.21 circuit switched interface – DTE clear request signal;
+- for X.21 leased circuit interface – a transition from ON to OFF on the control lead;
+- for X.21 *bis* interface – DTE clear request signal (circuit 108 from ON to OFF).
+
+When one of this conditions occurs, the TA will disconnect the internal rate adapting connection between the R and the SB /TB reference point (see 11.2.2) and will try to disconnect the ATM connection applying the procedures of 10.3.
+
+##### 11.2.4.3.2 Initiation of call clearing by the network
+
+For the clearing of the ATM connection the network applies the procedures of 10.3. The receipt of a DISCONNECT or RELEASE message shall cause the TA to disconnect the internal rate adapting connection between the R and the SB /TB reference point and to take on the R reference point interface the appropriate action as described below:
+
+- for X.21 circuit switched interface – signal a DCE clear indication;
+- for X.21 leased circuit interface – signal a DCE ready condition;
+- for X.21 *bis* interface – set circuit 107 OFF.
+
+See Recommendation X.30 for further details.
+
+##### **11.2.4.3.3 Initiation of call clearing by the user**
+
+After the manual notification of the clearing of the last virtual call by the user, the TA disconnects the internal connection between the R and SB /TB reference point and applies the procedures of 10.3 for the clearing of the ATM connection. On the R reference point it takes the appropriate action as described below:
+
+- for X.21 circuit switched interface – signal a DCE clear indication;
+- for X.21 leased circuit interface – signal a DCE ready condition;
+- for X.21 *bis* interface – set circuit 107 OFF.
+
+See Recommendation X.30 for further details.
+
+### **11.2.5 Synchronization**
+
+The TA should effect synchronization between the VCI=5 channel (Q.2931 activities) and the ATM connection (X.25 activities) activities.
+
+Synchronization between TA and AU is provided by the cell synchronization mechanism specified in Recommendation I.361.
+
+### **11.2.6 Maintenance**
+
+The functionalities specified in Recommendation I.610 apply.
+
+# **Annex A**
+
+## **The mappings Q.2931 cause field to Recommendation X.25**
+
+(This annex forms an integral part of this Recommendation)
+
+# **Introduction**
+
+This annex specifies the mapping of Q.2931 cause field to X.25 cause field.
+
+Cause mappings defined in Table 11-5/X.31, with Q.931 is replaced with Q.2931, are applicable. In addition the following cause mappings are applicable.
+
+| Q.2931 cause | Code | Q.931 diagnostics | X.25 cause | Code | X.25 diagnostics | Code |
+|-----------------------------------------------|------|--------------------------------|--------------------------|------|---------------------------------------------------|------|
+| VPCI/VCI unacceptable | 10 | None | Remote procedure error | 17 | Call setup, call clearing or registration problem | 64 |
+| Requested VPCI/VCI not available | 35 | None | Number busy | 1 | No logical channel available | 71 |
+| VPCI/VCI assignment failure | 36 | None | Number busy | 1 | No logical channel available | 71 |
+| No VPCI/VCI available | 45 | None | Network congestion | 5 | No additional information | 0 |
+| User cell rate not available | 51 | Identified subfield identifier | Network congestion | 5 | No additional information | 0 |
+| Unsupported combination of traffic parameters | 93 | None | Remote procedure error | 17 | Call setup, call clearing or registration problem | 64 |
+| Incompatible destination | 88 | Incompatible parameters | Incompatible destination | 33 | No additional information | 0 |
+| AAL parameters cannot be supported | 93 | None | Remote procedure error | 17 | Call setup, call clearing or registration problem | 64 |
+
+# Appendix I
+
+## Example of sequence diagrams
+
+(This appendix does not form an integral part of this Recommendation)
+
+## I.1 Example sequence diagrams
+
+Examples of the procedures for the use of B-ISDN connection are summarized in Figures I.1 to I.6.
+
+These figures are intended to complement the description in the preceding text and do not illustrate all possible situations.
+
+## I.2 Key to the figures
+
+### X.25 layer 3 messages
+
+Any layer 3 message preceded by X.25 indicates an X.25 layer 3 packet (e.g. X.25 CR means X.25 call request).
+
+| | |
+|-----|---------------------------|
+| CA | call accepted |
+| CC | call connected |
+| CR | call request |
+| CLR | clear request |
+| CLI | clear indication |
+| CLC | clear confirmation |
+
+IC *incoming call*
+ RSR *restart request*
+ RSC *restart confirmation*
+ RSI *restart indication*
+
+### Layer 2 frames
+
+SABM *Set asynchronous balance mode*
+ UA *Unnumbered acknowledgement frame*
+
+## I.3 Example of sequence diagrams
+
+See Figures I.1 to I.6.
+
+
+
+```
+
+sequenceDiagram
+ participant X25T as X.25 terminal
+ participant TA
+ participant B-ISDN
+ participant AU
+ participant X25D as X.25 DTE
+
+ X25T->>TA: X.25 CR
+ TA->>B-ISDN: SETUP
+ B-ISDN->>TA: CALL PROCEEDING
+ B-ISDN->>AU: SETUP
+ AU->>B-ISDN: ALERTING
+ B-ISDN->>TA: ALERTING
+ B-ISDN->>AU: CONNECT
+ AU->>B-ISDN: CONNECT ACK
+ B-ISDN->>TA: CONNECT
+ B-ISDN->>AU: CONNECT ACK
+ TA->>B-ISDN: CONNECT ACK
+ TA->>AU: SABM
+ AU->>TA: UA
+ AU->>TA: X.25 RSR
+ TA->>AU: X.25 RSC
+ AU->>TA: X.25 CR
+ AU->>X25D: X.25 RSI
+ X25D->>AU: X.25 RSC
+ X25D->>AU: X.25 IC
+ AU->>X25D: X.25 CA
+ X25D->>X25T: X.25 CC
+ X25T->>TA: X.25 CC
+ X25D->>B-ISDN: X.25 CC
+ B-ISDN->>TA: X.25 CC
+
+```
+
+The diagram illustrates the message sequence for a CALL SETUP. It involves five entities: X.25 terminal, TA (Terminal Adapter), B-ISDN (Basic ISDN), AU (Access Unit), and X.25 DTE (Data Terminal Equipment). The sequence begins with an X.25 CR from the X.25 terminal to TA. TA then sends a SETUP to B-ISDN, which responds with CALL PROCEEDING. B-ISDN sends a SETUP to AU, which responds with ALERTING. B-ISDN then sends ALERTING to TA. B-ISDN sends a CONNECT to AU, which responds with CONNECT ACK. B-ISDN then sends CONNECT to TA, which responds with CONNECT ACK. TA sends a SABM to AU, which responds with UA. AU then sends an X.25 RSR to TA, which responds with an X.25 RSC. AU sends an X.25 CR to TA. AU then sends an X.25 RSI to X.25 DTE, which responds with an X.25 RSC. X.25 DTE sends an X.25 IC to AU, which responds with an X.25 CA. Finally, X.25 DTE sends an X.25 CC to X.25 terminal, which sends an X.25 CC to TA, which in turn sends an X.25 CC to B-ISDN.
+
+Sequence diagram for CALL SETUP showing message exchanges between X.25 terminal, TA, B-ISDN, AU, and X.25 DTE.
+
+T0726100-96/d05
+
+FIGURE I.1/X.34
+
+Example message sequence for CALL SETUP
+
+
+
+```
+
+sequenceDiagram
+ participant X25_terminal as X.25 terminal
+ participant TA
+ participant B-ISDN
+ participant AU
+ participant X25_DTE as X.25 DTE
+
+ X25_terminal->>TA: X.25 CLR
+ X25_terminal->>B-ISDN: X.25 CLR
+ X25_terminal->>AU: X.25 CLR
+ X25_DTE->>AU: X.25 CLI
+ AU->>X25_DTE: X.25 CLC
+ AU->>TA: X.25 CLC
+ AU->>X25_terminal: X.25 CLC
+ AU->>TA: DISC
+ AU->>B-ISDN: UA
+ AU->>X25_terminal: UA
+ Note over TA: (Note)
+ TA->>B-ISDN: RELEASE
+ B-ISDN->>AU: RELEASE
+ B-ISDN->>TA: RELEASE COMPLETE
+ AU->>B-ISDN: RELEASE COMPLETE
+
+```
+
+The diagram illustrates the message sequence for a call being cleared. It involves five entities: X.25 terminal, TA (Terminal Adapter), B-ISDN (Basic ISDN), AU (Access Unit), and X.25 DTE (Data Terminal Equipment). The sequence begins with the X.25 terminal sending X.25 CLR to TA, B-ISDN, and AU. Simultaneously, the X.25 DTE sends X.25 CLI to AU, which responds with X.25 CLC to the DTE and X.25 CLC to TA. The AU then sends DISC to TA and UA to B-ISDN, with corresponding responses from the other side. Finally, a 'RELEASE' message is sent from TA to B-ISDN, and 'RELEASE COMPLETE' is sent back from B-ISDN to TA and from AU to B-ISDN. A note indicates that the triggers for this sequence are described in 11.2.4.3.1 and 11.2.4.3.3.
+
+Sequence diagram showing message exchange for CALL CLEARED between X.25 terminal, TA, B-ISDN, AU, and X.25 DTE.
+
+T0726110-96/d06
+
+NOTE – Triggers for this message are as described in 11.2.4.3.1 and 11.2.4.3.3.
+
+FIGURE 1.2/X.34
+Example message sequence for **CALL CLEARED**
+
+
+
+```
+
+sequenceDiagram
+ participant CU as Called User
+ participant B as B-ISDN
+ participant AU as AU
+ AU->>B: X.25 IC
+ B->>CU: SETUP
+ B->>AU: SETUP
+ AU->>B: X.25 CLI
+
+```
+
+T0725320-96/d07
+
+Sequence diagram for Figure I.3/X.34: User no response. The diagram shows three lifelines: Called User, B-ISDN, and AU. The AU sends an X.25 IC to B-ISDN. B-ISDN sends a SETUP message to the Called User. B-ISDN then sends another SETUP message to the AU. The AU sends an X.25 CLI to B-ISDN. No response is received from the Called User.
+
+FIGURE I.3/X.34
+User no response
+
+
+
+```
+
+sequenceDiagram
+ participant CU as Called User
+ participant B as B-ISDN
+ participant AU as AU
+ AU->>B: X.25 IC
+ B->>CU: SETUP
+ CU->>B: RELEASE COMP
+ B->>AU: RELEASE COMP
+ AU->>B: X.25 CLI
+
+```
+
+T0725330-96/d08
+
+Sequence diagram for Figure I.4/X.34: Call failure by called user. The diagram shows three lifelines: Called User, B-ISDN, and AU. The AU sends an X.25 IC to B-ISDN. B-ISDN sends a SETUP message to the Called User. The Called User sends a RELEASE COMP message to B-ISDN. B-ISDN then sends a RELEASE COMP message to the AU. The AU sends an X.25 CLI to B-ISDN.
+
+FIGURE I.4/X.34
+Call failure by called user
+
+
+
+```
+
+sequenceDiagram
+ participant CU as Called User
+ participant B as B-ISDN
+ participant AU as AU
+ Note over CU, B: X.25 data transfer phase
+ B->>AU: RESTART
+ B->>CU: RESTART
+ AU->>Note: X.25 CLI (Note)
+
+```
+
+T0726120-96/d09
+
+Sequence diagram showing Q.2931 RESTART during X.25 data transfer phase between Called User, B-ISDN, and AU.
+
+NOTE – When ATM SCV is used.
+
+FIGURE I.5/X.34
+Q.2931 RESTART during X.25 data transfer phase
+
+
+
+```
+
+sequenceDiagram
+ participant CU as Called User
+ participant B as B-ISDN
+ participant AU as AU
+ AU->>B: X.25 IC
+ B->>CU: SETUP
+ B->>AU: CALL PROCEEDING
+ CU->>B: CONNECT
+ B->>AU: CONNECT
+ AU->>B: X.25 CLI
+ B->>CU: RELEASE
+ B->>AU: RELEASE COMP
+ CU->>B: RELEASE COMP
+ AU->>Note: X.25 CLC
+
+```
+
+T0726130-96/d10
+
+Sequence diagram showing premature clearing procedure between Called User, B-ISDN, and AU.
+
+NOTE – After CONNECT message is received by the AU, there exists X.25 data link SETUP and restart procedures that are not shown in this diagram.
+
+FIGURE I.6/X.34
+Premature clearing
+
+
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|----------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Telephone network and ISDN |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media |
+| Series H | Transmission of non-telephone signals |
+| Series I | Integrated services digital network |
+| Series J | Transmission of sound-programme and television signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound-programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminal equipments and protocols for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communication |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.371-200102-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.371-200102-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..104a57fbd03964ffd2520508b2be42e03343d20f
--- /dev/null
+++ b/marked/X/T-REC-X.371-200102-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f2468dfa77e8d32611a5fe8a2ebb904676994eeb54463226fd865698560c960c
+size 8232
diff --git a/marked/X/T-REC-X.371-200102-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg b/marked/X/T-REC-X.371-200102-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5a9c942e683eb0a2ae7b951c8231675669f66330
--- /dev/null
+++ b/marked/X/T-REC-X.371-200102-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b096d32b4b44a324adfc61e1a9f20cf0de0befd8b1ecfa961bbe0dc340ede49d
+size 35018
diff --git a/marked/X/T-REC-X.371-200102-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg b/marked/X/T-REC-X.371-200102-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4b9b4d9d2fc42259dc94e26f7b52cc87394c5e19
--- /dev/null
+++ b/marked/X/T-REC-X.371-200102-I_PDF-E/4ee27dbf5ef12e7b58b0ef0937bc5a5e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9b57418032cb24e094c6ea9dc10bfdb78f3537d884b4b4a4a2e266fc4371a75e
+size 22219
diff --git a/marked/X/T-REC-X.371-200102-I_PDF-E/5a95b187de0044da69b7322e04761b86_img.jpg b/marked/X/T-REC-X.371-200102-I_PDF-E/5a95b187de0044da69b7322e04761b86_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6c7479511e052c3c794aadf005045c9453f7dee1
--- /dev/null
+++ b/marked/X/T-REC-X.371-200102-I_PDF-E/5a95b187de0044da69b7322e04761b86_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7563af1c1f6e0b7a0d8d4f51660b7693376aec20773854a963bd12859536e82a
+size 33862
diff --git a/marked/X/T-REC-X.371-200102-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg b/marked/X/T-REC-X.371-200102-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..be437e882a53b91f4d181207db3d5a29ab5490a8
--- /dev/null
+++ b/marked/X/T-REC-X.371-200102-I_PDF-E/5e92d9e8e9ce204e405bff2367f88176_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a0fa4761e4b9f7eaf383700b8fd29b1455ba0b9bbb6c40f619f484db485919c5
+size 29822
diff --git a/marked/X/T-REC-X.371-200102-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg b/marked/X/T-REC-X.371-200102-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b994eb5c7632adbd85212ac17a1605d97d3dc747
--- /dev/null
+++ b/marked/X/T-REC-X.371-200102-I_PDF-E/a234352dfaccdc24745c88eef7724cc6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d7bc17f0d410f9f2f6f8f029fcf623813cb1740fa189f551fd935497e76ee6c3
+size 21724
diff --git a/marked/X/T-REC-X.371-200102-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg b/marked/X/T-REC-X.371-200102-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..dcc1d18b90b6fe744381f249adbe75039371ae11
--- /dev/null
+++ b/marked/X/T-REC-X.371-200102-I_PDF-E/fa859e4e468bfb2710a94527f2c504af_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:36e5c64381ca8e84e98e99fd00b6eb59172ef35967a90c8d3eee616444ab8e43
+size 29439
diff --git a/marked/X/T-REC-X.371-200102-I_PDF-E/raw.md b/marked/X/T-REC-X.371-200102-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..f5b7fc2594d462e158ea3abf4eef3d63443fae0e
--- /dev/null
+++ b/marked/X/T-REC-X.371-200102-I_PDF-E/raw.md
@@ -0,0 +1,574 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**X.371/Y.1402**
+
+(02/2001)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS
+
+Interworking between networks – IP-based networks
+
+SERIES Y: GLOBAL INFORMATION INFRASTRUCTURE
+AND INTERNET PROTOCOL ASPECTS
+
+Internet protocol aspects – Interworking
+
+# --- **General arrangements for interworking between Public Data Networks and the Internet**
+
+ITU-T Recommendation X.371/Y.1402
+
+(Formerly CCITT Recommendation)
+
+---
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS
+
+| | |
+|-----------------------------------------------|--------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# **General arrangements for interworking between Public Data Networks and the Internet**
+
+## **Summary**
+
+This Recommendation defines general arrangements for interworking between Public Data Networks and the Internet. It includes reference configurations, general packet handling and other general arrangements required for various interworking cases where PSPDNs and networks providing FRDTS are involved.
+
+###### **Source**
+
+ITU-T Recommendation X.371/Y.1402 was prepared by ITU-T Study Group 7 (2001-2004) and approved under the WTSA Resolution 1 procedure on 2 February 2001.
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+### NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2002
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from ITU.
+
+## CONTENTS
+
+| | Page |
+|--------------------------------------------------------------------------------------------------------------------|-------------|
+| 1 Scope..... | 1 |
+| 2 References..... | 1 |
+| 3 Terms and definitions ..... | 2 |
+| 4 Abbreviations..... | 2 |
+| 5 Conventions ..... | 3 |
+| 6 Interworking between the Internet and PSPDNs ..... | 3 |
+| 6.1 General arrangements for the access cases ..... | 3 |
+| 6.1.1 Reference configuration ..... | 3 |
+| 6.1.2 IP packet handling ..... | 3 |
+| 6.1.3 ARE procedures..... | 4 |
+| 6.2 General arrangements for the concatenation case 1 (Concatenation of two Internet subnetworks via a PSPDN)..... | 5 |
+| 6.2.1 Reference configuration ..... | 5 |
+| 6.2.2 IP packet handling ..... | 5 |
+| 6.2.3 ARE procedures..... | 6 |
+| 6.3 General arrangements for the concatenation case 2 (Concatenation of two PSPDNs via the Internet)..... | 6 |
+| 6.3.1 Reference configuration ..... | 6 |
+| 6.3.2 IP packet handling ..... | 7 |
+| 6.3.3 ARE procedures..... | 7 |
+| 7 Interworking between the Internet and FRPDNs..... | 7 |
+| 7.1 General arrangements for the access cases ..... | 7 |
+| 7.1.1 Reference configuration ..... | 7 |
+| 7.1.2 IP packet handling ..... | 8 |
+| 7.1.3 ARE procedures..... | 9 |
+| 7.2 General arrangements for the concatenation case..... | 9 |
+| 7.2.1 Reference configuration ..... | 9 |
+| 7.2.2 IP packet handling ..... | 10 |
+| 7.2.3 ARE procedures..... | 10 |
+| 7.3 General arrangements for the concatenation case 2 (Concatenation of two FRPDNs via the Internet) ..... | 11 |
+| 7.3.1 Reference configuration ..... | 11 |
+| 7.3.2 IP packet handling ..... | 11 |
+| 7.3.3 ARE procedures..... | 12 |
+
+
+
+# **General arrangements for interworking between Public Data Networks and the Internet**
+
+# 1 Scope
+
+This Recommendation specifies general arrangements for interworking between the Internet and Public Data Networks (PDNs) among which PSPDN and FRPDN are considered. Three possible cases are defined:
+
+- the case where the IP-TE connected to the PDN accesses the Internet via the PDN (access case);
+- the case where two Internet subnetworks are concatenated via the PDN (Concatenation case 1);
+- the case where two PDNs are concatenated via the Internet (Concatenation case 2).
+
+The following arrangements are specified in this Recommendation:
+
+- 1) reference configuration;
+- 2) interface characteristics for UNI and NNI;
+- 3) addressing mechanism;
+- 4) functionality of the Access Unit (AU), InterWorking Function (IWF) and the Adapter.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published.
+
+- [1] ITU-T E.164 (1997), *The international public telecommunication numbering plan*.
+- [2] ITU-T E.166/X.122 (1998), *Numbering plan interworking for E.164 and X.121 numbering plans*.
+- [3] ITU-T I.112 (1993), *Vocabulary of terms for ISDNs*.
+- [4] ITU-T I.113 (1997), *Vocabulary of terms for broadband aspects of ISDNs*.
+- [5] ITU-T X.1 (2000), *International user classes of service in, and categories of access to, public data networks and integrated services digital networks (ISDNs)*.
+- [6] ITU-T X.25 (1996), *Interface between data terminal equipment (DTE) and data circuit-terminating equipment (DCE) for terminals operating in the packet mode and connected to public data networks by dedicated circuit*.
+- [7] ITU-T X.36 (2000), *Interface between data terminal equipment (DTE) and data circuit-terminating equipment (DCE) public data networks providing frame relay data transmission service by dedicated circuit*.
+- [8] ITU-T X.75 (1996), *Packet-switched signalling system between public networks providing data transmission services*.
+
+- [9] ITU-T X.76 (2000), *Network-to-network interface between public networks providing PVC and/or SVC frame relay data transmission service.*
+- [10] ITU-T X.115 (1995), *Definition of address translation capability in public data networks.*
+- [11] ITU-T X.115 (1995)/Amd.1 (1996), *Definition of address translation capability in public data networks – Refinements.*
+- [12] ITU-T X.116 (1996), *Address translation registration and resolution protocol.*
+- [13] ITU-T X.121 (2000), *International numbering plan for public data networks.*
+- [14] ITU-T X.200 (1994), *Information technology – Open Systems Interconnection – Basic reference model: The basic model.*
+- [15] ITU-T X.213 (1995), *Information technology – Open Systems Interconnection – Network service definition.*
+- [16] ITU-T X.300 (1996), *General principles for interworking between public networks and between public networks and other networks for the provision of data transmission services.*
+- [17] ITU-T RFC IETF 793 (1981), *Transmission Control Protocol.*
+- [18] ITU-T RFC IETF 2865 (2000), *Remote Authentication Dial In User Service (RADIUS).*
+- [19] ITU-T RFC IETF 2866 (2000), *RADIUS Accounting.*
+
+# 3 Terms and definitions
+
+In addition to the terms and definitions contained in ITU-T I.112, ITU-T I.113, ITU-T X.200 and ITU-T X.300, the following term is defined:
+
+**3.1 Encapsulation:** Occurs when the conversions in the network or in the terminals are such that the protocols used to provide one service make use of the layer service provided by another protocol. This means that at the interworking point, the two protocols are stacked. When encapsulation is performed by the terminal, this scenario is also called interworking by port access (see 3.2.11/X.300).
+
+# 4 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|--------------------------------------|
+| ARE | Address Resolution Entity |
+| AU | Access Unit |
+| DTE | Data Terminal Equipment |
+| ET | Exchange Termination |
+| FRPDN | Frame Relay Public Data Networks |
+| IP-TE | Internet Terminal Equipment |
+| IWF | InterWorking Function |
+| PSPDN | Packet Switched Public Data Networks |
+| PVC | Permanent Virtual Circuit |
+
+| | |
+|-----|-------------------------------|
+| QOS | Quality Of Service |
+| SVC | Switched Virtual Circuit |
+| TCP | Transmission Control Protocol |
+| VC | Virtual Call |
+
+# 5 Conventions
+
+No particular conventions are included.
+
+# 6 Interworking between the Internet and PSPDNs
+
+## 6.1 General arrangements for the access cases
+
+### 6.1.1 Reference configuration
+
+Reference configuration for the access cases is shown in Figure 6-1. In this case, Adapter and AU provide encapsulation function specified in ITU-T X.37. Encapsulation of IP packets is only provided to convey IP packets through the PSPDN. PSPDN may provide PVCs or VCs. In addition, Address Resolution Entity as specified in ITU-T X.115 and ITU-T X.116 may be equipped within the PSPDN to provide the Adapter and the AU with routing information. In this configuration, IP packets are transparently exchanged between the IP-TE and the Internet. Use of PVCs or VCs are not visible to the IP-TE and the Internet. The Adapter and the ARE may reside within the PSPDN, or may be outside the PSPDN.
+
+NOTE – ITU-T X.115 and/or ITU-T X.116 may need enhancement for the purpose of this Recommendation.
+
+
+
+Figure 6-1/X.371/Y.1402 – Reference configuration for interworking between the Internet and PSPDN (access case). The diagram shows an IP-TE (represented by a triangle) connected to a PSPDN (represented by a large oval). Inside the PSPDN, there is an Adapter (rectangle) and an ARE (cylinder). The Adapter is connected to an X.25 AU (rectangle) via a dashed line with an 'X' in the middle. The X.25 AU is connected to the Internet (represented by a large oval). The label 'T0733510-00' is at the bottom right.
+
+**Figure 6-1/X.371/Y.1402 – Reference configuration for interworking between the Internet and PSPDN (access case)**
+
+### 6.1.2 IP packet handling
+
+In case PVCs are provided through the PSPDN, the Adapter and the AU perform the following functions:
+
+- i) When the Adapter receives IP packets from the IP-TE, it shall transmit them onto the pre-established PVCs, and vice versa.
+- ii) When the AU receives IP packets from the PVC(s), it shall transmit them to a pre-assigned Internet port, and vice versa.
+
+In case VCs are provided through the PSPDN, the Adapter and the AU perform the following functions:
+
+- i) When the Adapter receives IP packets from the IP-TE, it shall check if a VC has been already established toward the AU. If a VC has been established, the Adapter sends the received IP packets onto the VC. If no VC has been established, the Adapter shall set up a VC using the procedures as specified in ITU-T X.25. And then, the Adapter sends the received IP packets onto the established VC. The Adapter may clear the VC if it receives no IP packets from the IP-TE or from the AU during a certain amount of time.
+- ii) When the AU receives IP packets from the Internet, it shall perform similar functions as stated in the previous paragraph.
+
+In the above cases, the IP-TE subscribes to the PSPDN, and an AU is assigned for the IP-TE on subscription.
+
+There are also another case where different AUs or the IP-TEs are dynamically selected depending on the destination IP addresses. In this case, the Adapter and the AU perform the following functions:
+
+- i) The Adapter acquires a mapping relationship between the destination IP addresses received from the IP-TE and X.121 numbers allocated to the AUs using the procedures defined in 6.1.3. When the Adapter receives IP packets from the IP-TE, it shall check the destination address of the IP and derived X.121 addresses of the corresponding AUs from the destination IP address, and then transmit them towards the AUs according to the procedures for the PVC and VC cases described above.
+- ii) The AU acquires a mapping relationship between the destination IP addresses received from the Internet and X.121 numbers allocated to the ports of the IP-TEs using the procedures defined in 6.1.3.
+
+In this case, the IP-TE may or may not subscribe to the PSPDN. In case the IP-TE subscribes to the PSPDN, authentication, authorization and accounting functions (as specified in IETF RFC 2865 and RFC 2866) shall be performed by the ARE. In case the IP-TE does not subscribe to the PSPDN, there shall be a contract between service providers of the PSPDN and that of the Internet.
+
+#### **6.1.3 ARE procedures**
+
+There are two kinds of procedures related to the ARE functions:
+
+- a) registration procedures;
+- b) inquiry and response procedures.
+
+Registration procedures enable the ARE to get information about mapping between IP addresses and X.121 addresses from the Adapter or the AU according to the following mechanisms:
+
+- i) The Adapter and the AU have normal router functions of the Internet and perform as routers outside the PSPDN. Therefore, the Adapter and the AU can route IP packets towards the IP-TE and the Internet, respectively. In addition, the Adapter and the AU have information related to X.121 numbers allocated to the IP-TEs and the AUs.
+- ii) The Adapter and the AU periodically communicate with the ARE to inform it of updated information about mapping between X.121 numbers and IP addresses on which the Adapter and the AU have knowledge.
+
+NOTE 1 – Communication procedures between the Adapter/AU and the ARE are for further study.
+
+- iii) The ARE collects the mapping information from all the Adapters and the AUs to form a centralized database. Depending on the amount of information that the ARE collects, distributed ARE architecture may be necessary.
+
+NOTE 2 – Mechanisms for distributing the ARE functions are for further study.
+
+Inquiry and response procedures enable the Adapter or the AU to get X.121 addresses corresponding to the destination IP addresses according to the following mechanisms:
+
+- i) When the Adapter or the AU receives IP packet with a destination address that is not relevant with the established VCs, it sets up a new VC according to the procedures defined in ITU-T X.116.
+- ii) Upon setting up a new VC, the Adapter or the AU will get new information relevant with mapping between the destination IP address and the VC. This new information may be kept by the Adapter or the AU for later processing of the IP packets. It is an implementation matter what amount of information may be cached at the Adapter or the AU.
+
+## 6.2 General arrangements for the concatenation case 1 (Concatenation of two Internet subnetworks via a PSPDN)
+
+### 6.2.1 Reference configuration
+
+Reference configuration for the concatenation case 1 is shown in Figure 6-2. In this case, the IWF provides an encapsulation function specified in ITU-T X.37. Encapsulation of IP packets is only provided to convey IP packets through the PSPDN. The PSPDN may provide PVCs or VCs. In addition, Address Resolution Entity as specified in ITU-T X.115 and ITU-T X.116 may be equipped within the PSPDN to provide the IWF with routing information. In this configuration, IP packets are transparently exchanged between the IWFs. Use of PVCs or VCs are not visible to the Internet. The IWF may reside within the PSPDN, or may be outside the PSPDN.
+
+NOTE – ITU-T X.115 and/or X.116 may need enhancement for the purpose of this Recommendation.
+
+
+
+Figure 6-2/X.371/Y.1402 – Reference configuration for interworking between the Internet and PSPDN (Concatenation case 1). The diagram shows a sequence of components: an Internet cloud on the left, an Originating IWF (represented by a rectangle), a dashed line labeled 'X.25', a large oval representing the PSPDN, an ARE (represented by a cylinder) inside the PSPDN, another dashed line labeled 'X.25', a Destination IWF (represented by a rectangle), and an Internet cloud on the right. The Originating IWF and Destination IWF are connected to the PSPDN via the X.25 interfaces. The ARE is located within the PSPDN. The entire configuration is labeled T0733520-00 in the bottom right corner.
+
+**Figure 6-2/X.371/Y.1402 – Reference configuration for interworking between the Internet and PSPDN (Concatenation case 1)**
+
+#### 6.2.2 IP packet handling
+
+In case PVCs are provided through the PSPDN, the IWF performs the following functions:
+
+- i) When the IWF receives IP packets from the Internet, it shall transmit them onto the pre-established PVCs.
+- ii) When the IWF receives IP packets from the PVC(s), it shall transmit them to a pre-assigned Internet port.
+
+In case SVCs are provided through the PSPDN, the IWF performs the following functions:
+
+- i) When the IWF receives IP packets from the Internet, it shall check if a VC has been already established toward the destination IWF. If a VC has been established, the IWF sends the received IP packets onto the VC. If no VC has been established, the IWF shall set up a VC using the procedures as specified in ITU-T X.25. And then, the IWF sends the received IP packets onto the established VC.
+
+- ii) The IWF may clear the VC if it receives no IP packets from the Internet during a certain amount of time.
+
+In the above cases, the Internet port of the IWF subscribes to the PSPDN, and a destination IWF is assigned for the Internet port on subscription.
+
+There is also another case where different destination IWFs are dynamically selected depending on the destination IP addresses received by the originating IWF. In this case, the originating IWF performs the following functions:
+
+- i) The originating IWF acquires a mapping relationship between the destination IP addresses received from the Internet and X.121 numbers allocated to the destination IWF using the procedures defined in 6.2.3.
+- ii) When the originating IWF receives IP packets from the Internet, it shall check the destination address of the IP and derived X.121 addresses of the corresponding destination IWFs from the destination IP address, and then transmit them towards the destination IWFs according to the procedures for the PVC and VC cases described above.
+
+In this case, the IWF may or may not subscribe to the PSPDN. In case the IWF subscribes to the PSPDN, authentication, authorization and accounting functions (as specified in IETF RFC 2865 and RFC 2866) shall be performed by the ARE. In case the IWF does not subscribe to the PSPDN, there shall be a contract between service providers of the PSPDN and that of the Internet.
+
+#### 6.2.3 ARE procedures
+
+Clause 6.1.3 applies with replacement of the Adapter and the AU with the IWF.
+
+## 6.3 General arrangements for the concatenation case 2 (Concatenation of two PSPDNs via the Internet)
+
+### 6.3.1 Reference configuration
+
+Reference configuration for the concatenation case 2 is shown in Figure 6-3. In this case, the IWF converts X.75 interface to the Internet protocols and vice versa. X.75 packets are encapsulated in a TCP connection established between IWFs. In addition, Address Resolution Entity as specified in ITU-T X.115 and ITU-T X.116 may be equipped within the PSPDNs to provide the IWF with routing information. In this configuration, the Internet is used as a datalink on which X.75 layer 3 procedures are running and is not visible to the DTE that communicates with the PSPDN conforming to ITU-T X.25. X.75 packets are transparently exchanged between the IWFs. Use of X.75 PVCs or VCs are not visible to the Internet. The IWF may reside within the PSPDN, or may be outside the PSPDN.
+
+In this case, end-to-end QOS characteristics may be limited by that of the Internet. Further study is needed for the definition of end-to-end QOS characteristics for this case.
+
+NOTE – ITU-T X.115 and/or ITU-T X.116 may need enhancement for the purpose of this Recommendation.
+
+
+
+Figure 6-3/X.371/Y.1402 – Reference configuration for interworking between the Internet and PSPDN (Concatenation case 2). The diagram shows a network topology where two PSPDNs are connected via the Internet. On the left, a DTE (Data Terminal Equipment) is connected to a PSPDN. Inside the PSPDN, there is an ET (Exchange Terminal) and an ARE (Address Resolution Entity). The PSPDN is connected to an Originating IWF (Interworking Function) via an X.75 interface. The Originating IWF is connected to the Internet. The Internet is connected to a Destination IWF, which is also connected to a second PSPDN via an X.75 interface. This second PSPDN contains an ET and an ARE. Finally, the second PSPDN is connected to a DTE on the right. The Internet is represented as a central oval connecting the two IWFs.
+
+T0733530-00
+
+**Figure 6-3/X.371/Y.1402 – Reference configuration for interworking between the Internet and PSPDN (Concatenation case 2)**
+
+### 6.3.2 IP packet handling
+
+In case PVCs are provided through the PSPDN, there shall be a pre-established TCP connection between the originating and destination IWFs. In this case the IWF performs the following functions:
+
+- i) When the IWF receives X.75 packets from the PSPDN, it shall transmit them onto the pre-established TCP connection.
+- ii) When the IWF receives TCP packets containing X.75 packets from the Internet, it shall decapsulate the TCP packets and transmit X.75 packets onto the PVC.
+
+In case VCs are provided through the PSPDN, the IWF performs the following functions:
+
+- i) When the IWF receives X.75 call request packet from the PSPDN, it shall check if a TCP connection has been already established toward the destination IWF. If a TCP has been established, the IWF sends the X.75 call request packet onto the TCP connection and the rest of X.75 procedures shall continue over the established TCP connection. If no TCP connection has been established, the IWF shall set up a TCP connection using the procedures as specified in RFC 793. After the TCP connection has been established, X.75 procedures shall operate between two IWFs over the established TCP connection.
+- ii) The IWF may clear the TCP connection if no X.75 VCs towards the destination IWF exist during a certain amount of time.
+- iii) When the IWF receives IP packets containing X.75 call request packet from the Internet, it shall establish an X.25 VC towards the called DTE. Then, normal X.75 and X.25 procedures shall follow using the established VC.
+
+In the above cases, the DTE subscribes to the PSPDN, and an IWF is assigned for the DTE on subscription.
+
+There is also another case where the DTE subscribes to the PSPDN, but different IWFs are dynamically selected depending on the destination X.121 addresses. In this case, the IWF performs the following functions:
+
+- i) The originating IWF acquire mapping relationship between the destination X.121 numbers received from the PSPDN and IP addresses allocated to the destination IWF using the procedures defined in 6.3.3.
+- ii) When the originating IWF receives X.75 call request packets from the PSPDN, it shall check the destination numbers of the X.75 packets and derive IP addresses of the corresponding destination IWFs, and then transmit them towards the destination IWFs according to the procedures described above in this clause.
+
+#### 6.3.3 ARE procedures
+
+Clause 6.1.3 applies with replacement of the Adapter and the AU with the ET and the IWF, respectively. In addition, AREs of the originating and destination PSPDN shall communicate each other to exchange routing information.
+
+NOTE – Procedures for communication between AREs are for further study.
+
+# 7 Interworking between the Internet and FRPDNs
+
+## 7.1 General arrangements for the access cases
+
+### 7.1.1 Reference configuration
+
+Reference configuration for the access cases is shown in Figure 7-1. In this case, Adapter and AU provide an encapsulation function specified in ITU-T X.36. Encapsulation of IP packets is only provided to convey IP packets through the FRPDN. FRPDN may provide PVCs or SVCs. In
+
+addition, Address Resolution Entity as specified in ITU-T X.115 and ITU-T X.116 may be equipped within the FRPDN to provide the Adapter and the AU with routing information. In this configuration, IP packets are transparently exchanged between the IP-TE and the Internet. Use of PVCs or SVCs are not visible to the IP-TE and the Internet. The Adapter and the ARE may reside within the FRPDN, or may be outside the FRPDN.
+
+NOTE – ITU-T X.115 and/or ITU-T X.116 may need enhancement for the purpose of this Recommendation.
+
+
+
+Figure 7-1/X.371/Y.1402 – Reference configuration for interworking between the Internet and FRPDN (access code). The diagram shows an IP-TE (represented by a triangle) connected to an FRPDN (represented by a large oval). Inside the FRPDN, there is an Adapter (rectangle) and an ARE (cylinder). The Adapter is connected to an X.36 AU (rectangle) which is connected to the Internet (represented by a large oval). A dashed line with an 'X' indicates a connection between the Adapter and the X.36 AU. The reference code T0733540-00 is located at the bottom right of the diagram.
+
+**Figure 7-1/X.371/Y.1402 – Reference configuration for interworking between the Internet and FRPDN (access code)**
+
+### 7.1.2 IP packet handling
+
+In case PVCs are provided through the FRPDN, the Adapter and the AU perform the following functions:
+
+- i) When the Adapter receives IP packets from the IP-TE, it shall transmit them onto the pre-established PVCs, and vice versa.
+- ii) When the AU receives IP packets from the PVC(s), it shall transmit them to a pre-assigned Internet port, and vice versa.
+
+In case SVCs are provided through the FRPDN, the Adapter and the AU perform the following functions:
+
+- i) When the Adapter receives IP packets from the IP-TE, it shall check if an SVC has been already established toward the AU. If an SVC has been established, the Adapter sends the received IP packets onto the SVC. If no SVC has been established, the Adapter shall set up an SVC using the procedures as specified in ITU-T X.36. And then, the Adapter sends the received IP packets onto the established SVC. The Adapter may clear the SVC if it receives no IP packets from the IP-TE or from the AU during a certain amount of time.
+- ii) When the AU receives IP packets from the Internet, it shall perform the similar functions as stated in the previous paragraph.
+
+In the above cases, the IP-TE subscribes to the FRPDN, and an AU is assigned for the IP-TE on subscription.
+
+There is also another case where different AUs or the IP-TEs are dynamically selected depending on the destination IP addresses. In this case, the Adapter and the AU perform the following functions:
+
+- i) The Adapter acquires a mapping relationship between the destination IP addresses received from the IP-TE and X.121 or E.164 numbers allocated to the AUs using the procedures defined in 7.1.3. When the Adapter receives IP packets from the IP-TE, it shall check the destination address of the IP and derived X.121 or E.164 addresses of the corresponding AUs from the destination IP address, and then transmit them towards the AUs according to the procedures for the PVC and SVC cases described above.
+
+- ii) The AU acquires a mapping relationship between the destination IP addresses received from the Internet and X.121 or E.164 numbers allocated to the ports of the IP-TEs using the procedures defined in 7.1.3.
+
+In this case, the IP-TE may or may not subscribe to the FRPDN. In case the IP-TE subscribes to the FRPDN, authentication, authorization and accounting functions (as specified in IETF RFC 2865 and RFC 2866) shall be performed by the ARE. In case the IP-TE does not subscribe to the FRPDN, there shall be a contract between service providers of the FRPDN and that of the Internet.
+
+#### **7.1.3 ARE procedures**
+
+There are two kinds of procedures related to the ARE functions:
+
+- a) registration procedures;
+- b) inquiry and response procedures.
+
+Registration procedures enable the ARE to get information about mapping between IP addresses and X.121 or E.164 addresses from the Adapter or the AU according to the following mechanisms:
+
+- i) The Adapter and the AU have normal router functions of the Internet and perform as routers outside the FRPDN. Therefore, the Adapter and the AU can route IP packets towards the IP-TE and the Internet, respectively. In addition, the Adapter and the AU have information related to X.121 or E.164 numbers allocated to the IP-TEs and the AUs.
+- ii) The Adapter and the AU periodically communicate with the ARE to inform it of the updated information about mapping between X.121 or E.164 numbers and IP addresses on which the Adapter and the AU have knowledge.
+
+NOTE 1 – Communication procedures between the Adapter/AU and the ARE are for further study.
+
+- iii) The ARE collects the mapping information from all the Adapters and the AUs to form a centralized database. Depending on the amount of information that the ARE collects, distributed ARE architecture may be necessary.
+
+NOTE 2 – Mechanisms for distributing the ARE functions are for further study.
+
+Inquiry and response procedures enable the Adapter or the AU to get X.121 or E.164 addresses corresponding to the destination IP addresses according to the following mechanisms:
+
+- i) When the Adapter or the AU receives IP packet with a destination address that is not relevant to the established VCs, it sets up a new SVC according to the procedures defined in ITU-T X.116.
+- ii) Upon setting up a new SVC, the Adapter or the AU will get new information relevant to mapping between the destination IP address and the SVC. This new information may be kept by the Adapter or the AU for later processing of the IP packets. It is an implementation matter what amount of information may be cached at the Adapter or the AU.
+
+## **7.2 General arrangements for the concatenation case**
+
+### **7.2.1 Reference configuration**
+
+Reference configuration for the concatenation cases is shown in Figure 7-2. In this case, the IWF provides encapsulation function specified in ITU-T X.36. Encapsulation of IP packets is only provided to convey IP packets through the FRPDN. FRPDN may provide PVCs or SVCs. In addition, Address Resolution Entity as specified in ITU-T X.115 and ITU-T X.116 may be equipped within the FRPDN to provide the IWF with routing information. In this configuration, IP packets are transparently exchanged between the IWFs. Use of PVCs or SVCs are not visible to the Internet. The IWF may reside within the FRPDN, or may be outside the FRPDN.
+
+NOTE – ITU-T X.115 and/or ITU-T X.116 may need enhancement for the purpose of this Recommendation.
+
+
+
+Diagram illustrating the reference configuration for interworking between the Internet and FRPDN (Concatenation case 1). The diagram shows two Internet clouds connected to two IWF (Interworking Function) blocks. The IWF blocks are connected to a central FRPDN (Fixed Radio Packet Data Network) cloud. The connections between the IWF blocks and the FRPDN are labeled X.36. An ARE (Authentication, Authorization, and Accounting) block is shown within the FRPDN cloud. The diagram is labeled T0733550-00.
+
+**Figure 7-2/X.371/Y.1402 – Reference configuration for interworking between the Internet and FRPDN (Concatenation case 1)**
+
+### 7.2.2 IP packet handling
+
+In case PVCs are provided through the FRPDN, the IWF performs the following functions:
+
+- i) When the IWF receives IP packets from the Internet, it shall transmit them onto the pre-established PVCs.
+- ii) When the IWF receives IP packets from the PVC(s), it shall transmit them to a pre-assigned Internet port.
+
+In case SVCs are provided through the FRPDN, the IWF perform the following functions:
+
+- i) When the IWF receives IP packets from the Internet, it shall check if an SVC has been already established toward the destination IWF. If an SVC has been established, the IWF sends the received IP packets onto the SVC. If no SVC has been established, the IWF shall set up an SVC using the procedures as specified in ITU-T X.36. And then, the IWF sends the received IP packets onto the established SVC.
+- ii) The IWF may clear the SVC if it receives no IP packets from the Internet during a certain amount of time.
+
+In the above cases, the Internet port of the IWF subscribes to the FRPDN, and a destination IWF is assigned for the Internet port on subscription.
+
+There is also another case where different destination IWFs are dynamically selected depending on the destination IP addresses received by the originating IWF. In this case, the originating IWF performs the following functions:
+
+- i) The originating IWF acquires a mapping relationship between the destination IP addresses received from the Internet and X.121 or E.164 numbers allocated to the destination IWF using the procedures defined in 7.2.3.
+- ii) When the originating IWF receives IP packets from the Internet, it shall check the destination address of the IP and derived X.121 or E.164 addresses of the corresponding destination IWFs from the destination IP address, and then transmit them towards the destination IWFs according to the procedures for the PVC and SVC cases described above.
+
+In this case, the IWF may or may not subscribe to the FRPDN. In case the IWF subscribes to the FRPDN, authentication, authorization and accounting functions (as specified in IETF RFC 2865 and RFC 2866) shall be performed by the ARE. In case the IWF does not subscribe to the FRPDN, there shall be a contract between service providers of the FRPDN and that of the Internet.
+
+#### 7.2.3 ARE procedures
+
+Clause 7.1.3 applies with replacement of the Adapter and the AU with the IWF.
+
+### 7.3 General arrangements for the concatenation case 2 (Concatenation of two FRPDNs via the Internet)
+
+#### 7.3.1 Reference configuration
+
+Reference configuration for the concatenation case 2 is shown in Figure 7-3. In this case, the IWF converts X.76 interface to the Internet protocols and vice versa. X.76 frames are encapsulated in a TCP connection established between IWFs. In addition, Address Resolution Entity as specified in ITU-T X.115 and ITU-T X.116 may be equipped within the FRPDNs to provide the IWF with routing information. In this configuration, Internet is used as a datalink on which X.76 procedures are running and is not visible to the DTE that communicates with the FRPDN conforming to X.36. X.76 packets are transparently exchanged between the IWFs. Use of X.76 PVCs or SVCs are not visible to the Internet. The IWF may reside within the FRPDN, or may be outside the FRPDN.
+
+In this case, end-to-end QOS characteristics may be limited by that of the Internet. Further study is needed for the definition of end-to-end QOS characteristics for this case.
+
+NOTE – ITU-T X.115 and/or ITU-T X.116 may need enhancement for the purpose of this Recommendation.
+
+
+
+T0733560-00
+
+Figure 7-3/X.371/Y.1402 – Reference configuration for interworking between the Internet and FRPDN (Concatenation case 2). The diagram shows a sequence of components: FR-DTE (triangle) connected to a FRPDN (oval). Inside the FRPDN are ET (rectangle) and ARE (cylinder). A dashed line with an 'X' connects the FRPDN to the Originating IWF (rectangle). This is followed by the Internet (large oval), then the Destination IWF (rectangle), and another FRPDN (oval) containing ARE and ET. A dashed line with an 'X' connects the Destination IWF to the second FRPDN. Finally, the second FRPDN connects to the FR-DTE (triangle). Labels 'X.76' are placed between the FRPDNs and the IWFs. The reference number T0733560-00 is at the bottom right.
+
+**Figure 7-3/X.371/Y.1402 – Reference configuration for interworking between the Internet and FRPDN (Concatenation case 2)**
+
+#### 7.3.2 IP packet handling
+
+In case PVCs are provided through the FRPDN, there shall be a pre-established TCP connection between the originating and destination IWFs. In this case the IWF performs the following functions:
+
+- i) When the IWF receives X.76 frames from the FRPDN, it shall transmit them onto the pre-established TCP connection.
+- ii) When the IWF receives TCP packets containing X.76 frames from the Internet, it shall decapsulate the TCP packets and transmit X.76 frames onto the PVC.
+
+In case SVCs are provided through the FRPDN, the IWF performs the following functions:
+
+- i) When the IWF receives X.76 SETUP messages from the FRPDN, it shall check if a TCP connection has been already established toward the destination IWF. If a TCP has been established, the IWF sends the X.76 SETUP messages onto the TCP connection and the rest of the X.76 procedures shall continue over the established TCP connection. If no TCP connection has been established, the IWF shall set up a TCP connection using the procedures as specified in RFC 793. After the TCP connection has been established, X.76 procedures shall operate between two IWFs over the established TCP connection. The IWF may clear the TCP connection if no X.76 SVCs towards the destination IWF exist during a certain amount of time.
+- ii) When the IWF receives IP packets containing X.76 SETUP messages from the Internet, it shall establish an X.36 SVC towards the called FR-DTE. Then, normal X.76 and X.36 procedures shall follow using the established SVC.
+
+In the above cases, the FR-DTE subscribes to the FRPDN, and an IWF is assigned for the FR-DTE on subscription.
+
+There is also another case where the FR-DTE subscribes to the FRPDN, but different IWFs are dynamically selected depending on the destination X.121/E.164 addresses. In this case, the IWF performs the following functions:
+
+- i) The originating IWF acquires mapping relationship between the destination X.121/E.164 numbers received from the FRPDN and IP addresses allocated to the destination IWF using the procedures defined in 7.3.3.
+- ii) When the originating IWF receives X.76 SETUP messages from the FRPDN, it shall check the destination numbers of the X.76 SETUP messages and derive IP addresses of the corresponding destination IWFs, and then transmit them towards the destination IWFs according to the procedures described above in this clause.
+
+#### **7.3.3 ARE procedures**
+
+Clause 7.1.3 applies with replacement of the Adapter and the AU with the ET and the IWF, respectively. In addition, AREs of the originating and destination FRPDN shall communicate each other to exchange routing information.
+
+NOTE – Procedures for communication between AREs are for further study.
+
+## ITU-T Y-SERIES RECOMMENDATIONS GLOBAL INFORMATION INFRASTRUCTURE AND INTERNET PROTOCOL ASPECTS
+
+| | |
+|--------------------------------------------------------------------|----------------------|
+| GLOBAL INFORMATION INFRASTRUCTURE | |
+| General | Y.100–Y.199 |
+| Services, applications and middleware | Y.200–Y.299 |
+| Network aspects | Y.300–Y.399 |
+| Interfaces and protocols | Y.400–Y.499 |
+| Numbering, addressing and naming | Y.500–Y.599 |
+| Operation, administration and maintenance | Y.600–Y.699 |
+| Security | Y.700–Y.799 |
+| Performances | Y.800–Y.899 |
+| INTERNET PROTOCOL ASPECTS | |
+| General | Y.1000–Y.1099 |
+| Services and applications | Y.1100–Y.1199 |
+| Architecture, access, network capabilities and resource management | Y.1200–Y.1299 |
+| Transport | Y.1300–Y.1399 |
+| Interworking | Y.1400–Y.1499 |
+| Quality of service and network performance | Y.1500–Y.1599 |
+| Signalling | Y.1600–Y.1699 |
+| Operation, administration and maintenance | Y.1700–Y.1799 |
+| Charging | Y.1800–Y.1899 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure and Internet protocol aspects |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/030c758fd425016b03290c8f11bef69d_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/030c758fd425016b03290c8f11bef69d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1ff0db4d961b0c61665484469b86827a1d041783
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/030c758fd425016b03290c8f11bef69d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:01c69f6035ba57b836af66c9c2dc318c8c6e25c336901690961f8be12ca94291
+size 46534
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/187bba66c887c745c512add37a577c5e_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/187bba66c887c745c512add37a577c5e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..dacb340a079a3b3cce6b7fd5a8848d2a58a30f0f
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/187bba66c887c745c512add37a577c5e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3915edca2ff12f8f04a4b683d50a44f68be7100e8d98d6db049b3c786f71a6c0
+size 59907
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/1adc4b0458c277ba8c0e8d6f5ad15511_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/1adc4b0458c277ba8c0e8d6f5ad15511_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..eaff86ed4feca397543956c1844f4ecb2a748013
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/1adc4b0458c277ba8c0e8d6f5ad15511_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4d96c3126039516fbc406f3649e0765a9170c31ee7b79d5132fb450c9c7e2fdf
+size 58335
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..36a97fbd2ef0e51c64b4fee1ac7d34ee4c511dc0
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:74c6251c6cbad7ecdcc649d61479c54af230a36a79c386702db7ee0a1b796eba
+size 8221
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/39536a630fa74c3bcfd1670ee2152809_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/39536a630fa74c3bcfd1670ee2152809_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0f58c66421a026e8bf4304ac43aedda76ac4e6c1
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/39536a630fa74c3bcfd1670ee2152809_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:68d3e95fe5baa0f94498599382a74e699a54e409c3c4c930bd8a8558c43ab616
+size 47450
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/421fc75480c21e7ebb25756826652367_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/421fc75480c21e7ebb25756826652367_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0c693fb398cfa51d3453c1519703adfa5730aae1
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/421fc75480c21e7ebb25756826652367_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:250902df526ed62815220f94f2f54eb04574b4a39a8199993e9f2aca13119867
+size 16142
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/43979979715bb3304389a0cb18f34444_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/43979979715bb3304389a0cb18f34444_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..51f0c9e0a3e60047b4db677b157584af212c073c
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/43979979715bb3304389a0cb18f34444_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:54aeaf872bbda5c67aab2cc712c4540bb63c87639853a9222673b4f88a09b31d
+size 32740
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/4b87467ad9642943235f48f7d4b59449_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/4b87467ad9642943235f48f7d4b59449_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e0cac8c04496d29a4307491dcb65bf203a23c924
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/4b87467ad9642943235f48f7d4b59449_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e0ffbf33bff1cf4df1d7f894a29f1dcfd63b8a32243a6deb7f6e5333abd487ec
+size 99701
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/6470d350326789d5306eabcb76533951_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/6470d350326789d5306eabcb76533951_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..913007bdb255b4e8cd6b028e22d6fd6bc08bfd43
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/6470d350326789d5306eabcb76533951_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a1107765b1495836edc49b7c194b726d476791252234e723d1cfd6feaaac3c41
+size 14748
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fe0b7cc07d4b9c6897bbaac53b62a949d61ecd49
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/70a863dc6cd47bac82c12162a9479aac_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:52eced941fdb918a242b13d32739022f70a2b251f8025e2395db9349e4b3039b
+size 67846
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..56bf920b4063c3d9a3d5f221763c28defee00852
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6382090c407971bab817834fbf8fa6b60703ca9d64f889650eec8258baee9361
+size 34406
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/8269648391c59363ea61243864a2adf7_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/8269648391c59363ea61243864a2adf7_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b774c59320268c7228fd316f517f18b3845e0c73
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/8269648391c59363ea61243864a2adf7_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3d4b4e4570032a635452f02b4404148b033fac82841703fb96c9e575687028a8
+size 47268
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/83852ec55d4802521a727926336bedab_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/83852ec55d4802521a727926336bedab_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a3e488fd55b5747c0b048aaae196cf03bedf916c
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/83852ec55d4802521a727926336bedab_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:65db90178d63fd642a16c84f1224fca5bc034196ae3b6a1e7338b97054e70c67
+size 39556
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/9cd85f266cdb1fb3ad544eb3dd3bd5e4_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/9cd85f266cdb1fb3ad544eb3dd3bd5e4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5693c4473a8e6f98ad5cc3f4a91baa0281a59788
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/9cd85f266cdb1fb3ad544eb3dd3bd5e4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:78f257da0b32130991828b9c6f061c24967d9f70b33a55d0bf7776f5ed40b57a
+size 63275
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/a3472689858b068ef469213682965325_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/a3472689858b068ef469213682965325_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0cd5ad1518c8c7ace287df0952bd26daba961666
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/a3472689858b068ef469213682965325_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1075c05221cd5ecc65f9233529196f2d5546e74d494afd800f7ca07c6fe381e8
+size 38538
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/a97a427b0f8a6387479a88cd85b2a1a6_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/a97a427b0f8a6387479a88cd85b2a1a6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5e485fe72b5145e8f05987f5b74055715d67d0eb
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/a97a427b0f8a6387479a88cd85b2a1a6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cd0acdd8c5cd750982f85af1146bd4ea4e5ac74d6d0525c7e04aefde569b3ff3
+size 42464
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/b58cedaf15ad4f0edee5621820865ccc_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/b58cedaf15ad4f0edee5621820865ccc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..221bff41066c8082a405b459113583546e67ca68
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/b58cedaf15ad4f0edee5621820865ccc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:24f303db4318cfb44b8de9e39f315f04141eea076af2baf1f8b9f52bb019db13
+size 72562
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/c7e27041e661260fd0c8e89c763bb32e_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/c7e27041e661260fd0c8e89c763bb32e_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..70a5dcdaa0c9ad935883ae1165c8d704cf311088
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/c7e27041e661260fd0c8e89c763bb32e_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0dc7423e860d9420c86bb521e9df40ce613ae1e845e52f3911b59a5d86d23d3d
+size 41864
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/d47e75401a5155ebc965d8aa004861a2_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/d47e75401a5155ebc965d8aa004861a2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a2e709e33292a849ebe32594b2fdc9ca4db00955
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/d47e75401a5155ebc965d8aa004861a2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9b446c12ca530c25f19eba507d24176f17b0fc0390febf15cfbfa6797db4d916
+size 46097
diff --git a/marked/X/T-REC-X.402-199906-I_PDF-E/e417ae35ab07134888be901c201d54cd_img.jpg b/marked/X/T-REC-X.402-199906-I_PDF-E/e417ae35ab07134888be901c201d54cd_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8a3deaf2968f8ffc2a8582f31aaacf75596c189c
--- /dev/null
+++ b/marked/X/T-REC-X.402-199906-I_PDF-E/e417ae35ab07134888be901c201d54cd_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9e323d6fd83e50c51ad41cb85f42d898028a2d449d4ac9e5b88000c687b75411
+size 55187
diff --git a/marked/X/T-REC-X.408-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.408-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8215e498c8b32da1e0a1c3193e1e7dde3ed8dba5
--- /dev/null
+++ b/marked/X/T-REC-X.408-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a13c0433da311b79c6997172db72ab21a1bfce9a2db4c99854bcaacf1ae7e1ef
+size 7309
diff --git a/marked/X/T-REC-X.440-199906-I_PDF-E/raw.md b/marked/X/T-REC-X.440-199906-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..e0d920511aa7b46a650bee9de4f73dad8d7db529
--- /dev/null
+++ b/marked/X/T-REC-X.440-199906-I_PDF-E/raw.md
@@ -0,0 +1,6226 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, crossed by a lightning bolt.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.440
+
+(06/1999)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS
+
+Message Handling Systems
+
+# --- **Message handling systems: Voice messaging system**
+
+ITU-T Recommendation X.440
+
+---
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS
+
+| | |
+|-----------------------------------------------|--------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| TELECOMMUNICATION SECURITY | X.1000– |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# **ITU-T Recommendation X.440**
+
+# **Message handling systems: Voice messaging system**
+
+## **Summary**
+
+This revision of Recommendation X.440 is a consolidation of Recommendation X.440 (09/92) and Amendment 1 (11/95).
+
+This Recommendation defines an OSI Message Handling System protocol that is intended to be used in the exchange of voice encoded messages in a store and forward manner as specified in Recommendation F.440.
+
+The protocol specified in this Recommendation is based on the ITU-T X.400-series Recommendations and ISO/IEC 10021 Parts 1 to 7.
+
+###### **Source**
+
+Following the ITU-T decision to publish new editions of the set of Message Handling Recommendations, this edition of ITU-T Recommendation X.440, dated 18 June 1999, consolidates X.440 (09/92) and X.440 Amendment 1 (11/95).
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSC Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure e.g. interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 2004
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+# CONTENTS
+
+| | Page |
+|--------------------------------------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 Normative references ..... | 1 |
+| 2.1 Identical Recommendations International Standards ..... | 1 |
+| 2.2 Paired Recommendations International Standards equivalent in technical content ..... | 2 |
+| 2.3 Additional references ..... | 2 |
+| 3 Definitions ..... | 2 |
+| 3.1 Common definitions for MHS ..... | 2 |
+| 3.2 Common definitions for Abstract Syntax Notation One ..... | 3 |
+| 3.3 Voice service definitions ..... | 3 |
+| 3.4 Voice Messaging System Definitions ..... | 3 |
+| 4 Abbreviations ..... | 3 |
+| 5 Conventions ..... | 4 |
+| 5.1 Terms ..... | 4 |
+| 5.2 ASN.1 ..... | 4 |
+| 6 Information objects ..... | 5 |
+| 7 Common data types ..... | 5 |
+| 7.1 VM Identifier ..... | 5 |
+| 7.2 OR Descriptor ..... | 6 |
+| 7.3 Spoken Name ..... | 6 |
+| 7.4 Extensions ..... | 6 |
+| 8 Voice message ..... | 6 |
+| 8.1 Heading fields ..... | 8 |
+| 8.2 Body part types ..... | 13 |
+| 9 Voice notifications ..... | 15 |
+| 9.1 Common fields ..... | 16 |
+| 9.2 Receipt notifications ..... | 19 |
+| 9.3 Service notifications ..... | 19 |
+| 9.4 Non-receipt notifications ..... | 20 |
+| 10 Primary object types ..... | 22 |
+| 10.1 Voice messaging system user ..... | 23 |
+| 10.2 Voice messaging system ..... | 23 |
+| 11 Primary port types ..... | 23 |
+| 11.1 Origination port ..... | 24 |
+| 11.2 Reception port ..... | 24 |
+| 11.3 Management port ..... | 24 |
+| 12 Abstract operations ..... | 24 |
+| 12.1 Origination abstract operations ..... | 25 |
+| 12.2 Reception abstract operations ..... | 26 |
+| 12.3 Management abstract operations ..... | 27 |
+| 12.4 Performance of management operations ..... | 29 |
+| 13 Abstract errors ..... | 30 |
+| 13.1 Subscription error ..... | 30 |
+| 13.2 Recipient improperly specified ..... | 30 |
+| 14 Other capabilities ..... | 30 |
+| 15 Secondary object types ..... | 31 |
+| 15.1 VMGS user agent ..... | 32 |
+| 15.2 VMGS message store ..... | 32 |
+| 15.3 Telephone service access unit ..... | 33 |
+| 15.4 Message transfer system ..... | 33 |
+
+| | Page |
+|-------------------------------------------------------------------------------------------------------|-------------|
+| 16 Secondary port types ..... | 33 |
+| 16.1 Submission port ..... | 33 |
+| 16.2 Delivery port ..... | 33 |
+| 16.3 Retrieval port ..... | 34 |
+| 16.4 Administration port ..... | 34 |
+| 16.5 Import port ..... | 34 |
+| 16.6 Export port ..... | 34 |
+| 16.7 Management port ..... | 34 |
+| 17 User agent operation ..... | 34 |
+| 17.1 Performance of origination operations ..... | 34 |
+| 17.2 Invocation of reception operations ..... | 36 |
+| 17.3 Internal procedures ..... | 37 |
+| 18 Message Store operation ..... | 42 |
+| 18.1 Binding to the MS ..... | 42 |
+| 18.2 Creation of Information Objects ..... | 43 |
+| 18.3 Maintenance of attributes ..... | 45 |
+| 18.4 Voice Messaging MS auto forward action types ..... | 46 |
+| 18.5 Voice messaging MS auto service notification action type ..... | 50 |
+| 18.6 Message store attributes ..... | 51 |
+| 18.7 Procedures for Voice Messaging MS ..... | 64 |
+| 19 Message contents ..... | 65 |
+| 19.1 Content ..... | 65 |
+| 19.2 Content type ..... | 65 |
+| 19.3 Content length ..... | 65 |
+| 19.4 Encoded information types ..... | 65 |
+| 20 Port realization ..... | 66 |
+| 21 Conformance ..... | 66 |
+| 21.1 Origination versus reception ..... | 66 |
+| 21.2 Requirements of a VMG conformance statement ..... | 66 |
+| Annex A – VM Object Identifiers – Reference definition ..... | 67 |
+| Annex B – VM Abstract Information Objects – Reference definition ..... | 70 |
+| Annex C – VM Message Store attributes – Reference definition ..... | 78 |
+| Annex D – Message Store VMGS Auto-Action types – Reference definition ..... | 86 |
+| Annex E – VMGS functional objects – Reference definition ..... | 88 |
+| Annex F – VMGS abstract service – Reference definition ..... | 91 |
+| Annex G – VMGS upper bounds parameters – Reference definition ..... | 94 |
+| Annex H – Mapping of G.726 (1990) and G.728 (1992) into the data component of a voice body part ..... | 95 |
+| H.1 Illustrative mapping of the analogue/digital converted data ..... | 95 |
+| H.2 Support for CCITT Rec. G.726 – 32 kbit/s ADPCM ..... | 95 |
+| H.3 Support for CCITT Rec. G.728 – 16 kbit/s LD-CELP ..... | 95 |
+| INDEX ..... | 97 |
+
+# ITU-T Recommendation X.440
+
+# Message handling systems: Voice messaging system
+
+# 1 Scope
+
+This Recommendation is one of a set of ITU-T Recommendations for Message Handling. The entire set provides a comprehensive blueprint for a message handling system (MHS) realized by any number of cooperating open systems.
+
+The purpose of an MHS is to enable users to exchange messages on a store-and-forward basis. A message submitted on behalf of one user, the originator, is conveyed by the message transfer system (MTS) and subsequently delivered to the agents of one or more additional users, the recipients. Access units (AU) link the MTS to other non-MHS services such as Teletex or the Telephone Service. Effectively, an AU enables a subscriber of a non-MHS service to become an indirect user of MHS. An MHS direct user is assisted in the preparation, storage, and rendering of messages by a user agent (UA). Optionally, it is assisted in the storage of messages by a message store (MS). The MTS comprises a number of message transfer agents (MTA) which collectively perform the store-and-forward message transfer function.
+
+This Recommendation defines the message handling application called a *voice messaging system* which specifies *voice messaging* (VMG), a form of message handling tailored for exchange of (voice) encoded information between users, a new message content type and associated procedures known as $P_{vm}$ . It is designed to meet the requirements of users of CCITT Recommendation G.726 (1990) 32 kbit/s ADPCM and other commonly used voice syntaxes.
+
+This Recommendation is one of a series on message handling. ITU-T Rec. X.402 | ISO/IEC 10021-2 constitutes the introduction to the series and identifies the other documents in it.
+
+The architectural basis and foundation for message handling are defined in still other ITU-T Recommendations | International Standards. ITU-T Rec. X.402 | ISO/IEC 10021-2 identifies those documents as well.
+
+# 2 Normative references
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision: all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published.
+
+## 2.1 Identical Recommendations | International Standards
+
+- ITU-T Recommendation X.402 (1999) | ISO/IEC 10021-2:2003, Information technology – *Message Handling Systems (MHS): Overall architecture.*
+- ITU-T Recommendation X.411 (1999) | ISO/IEC 10021-4:2003, Information technology – *Message Handling Systems (MHS): Message transfer system: Abstract service definition and procedures.*
+- ITU-T Recommendation X.413 (1999) | ISO/IEC 10021-5:1999, Information technology – *Message Handling Systems (MHS): Message store – Abstract service definition.*
+- ITU-T Recommendation X.419 (1999) | ISO/IEC 10021-6:2003, Information technology – *Message Handling Systems (MHS): Protocol specifications.*
+- ITU-T Recommendation X.420 (1999) | ISO/IEC 10021-7:2003, Information technology – *Message Handling Systems (MHS): Interpersonal messaging system.*
+- ITU-T Recommendation X.500 (1997) | ISO/IEC 9594-1:1998, Information technology – *Open Systems Interconnection – The Directory: Overview of concepts, models and services.*
+- ITU-T Recommendation X.501 (1997) | ISO/IEC 9594-2:1998, Information technology – *Open Systems Interconnection – The Directory: Models.*
+- ITU-T Recommendation X.509 (1997) | ISO/IEC 9594-8:1998, Information technology – *Open Systems Interconnection – The Directory: Authentication Framework.*
+- ITU-T Recommendation X.511 (1997) | ISO/IEC 9594-3:1998, Information technology – *Open systems Interconnection – The Directory: Abstract service definition.*
+- ITU-T Recommendation X.518 (1997) | ISO/IEC 9594-4:1998, Information technology – *Open Systems Interconnection – The Directory: Procedures for distributed operation.*
+
+- ITU-T Recommendation X.519 (1997) | ISO/IEC 9594-5:1998, *Information technology – Open systems Interconnection – The Directory: Protocol specifications.*
+- ITU-T Recommendation X.520 (1997) | ISO/IEC 9594-6:1998, *Information technology – Open Systems Interconnection – The Directory: Selected attribute types.*
+- ITU-T Recommendation X.521 (1997) | ISO/IEC 9594-7:1998, *Information technology – Open systems Interconnection – The Directory: Selected object classes.*
+
+## 2.2 Paired Recommendations | International Standards equivalent in technical content
+
+- CCITT Recommendation X.208 (1988), *Specification of Abstract Syntax Notation One (ASN.1).*
+ISO/IEC 8824:1990, *Information technology – Open Systems Interconnection – Specification of Abstract Syntax Notation One (ASN.1).*
+- CCITT Recommendation X.209 (1988), *Specification of basic encoding rules for Abstract Syntax Notation One (ASN.1)*
+ISO/IEC 8825:1990, *Information technology – Open Systems Interconnection – Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1).*
+- ITU-T Recommendation F.400/X.400 (1999), *Message handling system and service overview.*
+ISO/IEC 10021-1:1999, *Information technology – Text communication – Message Handling Systems (MHS) – Part 1: System and Service Overview.*
+- CCITT Recommendation X.407 (1988), *Message handling systems: Abstract service definition Conventions.*
+ISO/IEC 10021-3:1990, *Information technology – Text Communication – Message-oriented Text Interchange Systems (MOTIS) – Part 3: Abstract service definition Conventions.*
+
+## 2.3 Additional references
+
+- CCITT Recommendation F.440 (1992), *The voice messaging service.*
+- CCITT Recommendation G.721 (1988), *32 kbit/s Adaptive Differential Pulse Coding Modulation (ADPCM).*
+- CCITT Recommendation G.726 (1990), *40, 32, 24, 16 kbit/s Adaptive Differential Pulse Code Modulation (ADPCM).*
+- CCITT Recommendation G.728 (1992), *Coding of speech at 16 kbit/s using low-delay code excited linear prediction.*
+- CCITT Recommendation X.403 (1988), *Message Handling Systems: Conformance Testing.*
+- CCITT Recommendation X.408 (1988), *Message handling systems: Encoded information type conversion rules.*
+
+# 3 Definitions
+
+For the purposes of this Recommendation, the following definitions apply.
+
+## 3.1 Common definitions for MHS
+
+This Recommendation uses terms defined in ITU-T Rec. F.400/X.400 and ISO/IEC 10021-1, ITU T Rec. X.402 | ISO/IEC 10021-2 and ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+- access unit;
+- body;
+- content;
+- distribution list;
+- encoded information types;
+- envelope;
+- message handling system;
+- message-oriented text interchange system;
+- message store;
+- message transfer agent;
+- message transfer system;
+
+- m) recipient;
+- n) submission identifier;
+- o) submission time;
+- p) synopsis;
+- q) telematic agent;
+- r) user;
+- s) user agent.
+
+## 3.2 Common definitions for Abstract Syntax Notation One
+
+This Recommendation uses the full extent of the Abstract Syntax Notation One (ASN.1) as defined in CCITT Rec. X.208 and ISO/IEC 8824.
+
+## 3.3 Voice service definitions
+
+This Recommendation uses terms defined in CCITT Rec. F.440.
+
+- a) VM forwarding;
+- b) Voice message;
+- c) Voice messaging;
+- d) Voice messaging notification;
+- e) Voice messaging user;
+- f) Telephone service access unit.
+
+## 3.4 Voice Messaging System Definitions
+
+For the purposes of this Recommendation, the following definitions apply:
+
+**3.4.1 voice messaging system message store:** A Voice Messaging System Message Store is a specialized message store for the purposes of voice messaging
+
+**3.4.2 voice messaging system:** The Voice Messaging System is the functional object by means of which all users communicate with one another in voice messaging.
+
+**3.4.3 voice messaging system user agent:** A Voice Messaging System User Agent is a specialized user agent for the purposes of voice messaging.
+
+# 4 Abbreviations
+
+This Recommendation uses the following abbreviations:
+
+| | |
+|-------|---------------------------------------------|
+| ADPCM | Adaptive differential pulse code modulation |
+| AU | Access Unit |
+| ASN.1 | Abstract Syntax Notation One |
+| DL | Distribution List |
+| EIT | Encoded Information Types |
+| IA5 | International Alphabet No. 5 |
+| IPM | Interpersonal messaging |
+| MD | Management Domain |
+| MHS | Message Handling System |
+| MOTIS | Message-oriented Text Interchange System |
+| MS | Message Store |
+| MTA | Message Transfer Agent |
+| MTS | Message Transfer System |
+| NRN | Non-receipt (Forwarded) Notification |
+
+| | |
+|-----------|-----------------------------------------------|
+| PICS | Protocol Implementation Conformance Statement |
+| RN | Receipt Notification |
+| SN | Service Notification |
+| TSAU | Telephone Service Access Unit |
+| UA | User Agent |
+| UTC | Coordinated Universal Time |
+| VM | Voice Message |
+| VMG | Voice Messaging |
+| VMGE | Voice Messaging Environment |
+| VMGS | Voice Messaging System |
+| VMGS-MS | Voice Messaging System Message Store |
+| VMGS-UA | Voice Messaging System User Agent |
+| VMGS-user | Voice Messaging System user |
+| VN | Voice Notification |
+
+# 5 Conventions
+
+## 5.1 Terms
+
+Throughout the rest of this Recommendation, terms that refer to ASN.1 types are written with upper-case letters for all words that actually appear in the ASN.1 type (for example, OR Name).
+
+- a) **Voice Messaging System User:** The voice messaging system user (VMGS-user) is normally a person, not an application or computer process. A VMGS-user may be a direct user or indirect user. In MHS, direct users interact with the MHS through a User Agent or Message Store while indirect users interact with the MHS an Access Unit. For brevity, the term user is used throughout the rest of this Recommendation with the meaning of VMGS-user.
+- b) **Subject Voice Message:** The term *subject Voice Message*, abbreviated as **subject VM** refers to a specific VMG information object, a VM as defined in clause 8, that is either being held, processed or forwarded by a Voice Messaging application entity. This is not to be confused with the Subject VM field found in a VM notification, see 9.1.1.
+- c) **VM Forwarding:** The term identifies the VMG message forwarding behaviour of VMGS-UAs and VMGS-MSs. It covers both manual and automatic forwarding aspects. This term is further refined in 17.3.3.
+
+## 5.2 ASN.1
+
+ASN.1 definitions appear both in the main text and in the annexes. In case of inconsistency between a definition presented in the text, and a definition presented in an annex forming an integral part of this Recommendation, the definition in the annex shall be used. ASN.1 notation is defined in CCITT Rec. X.208 and ISO/IEC 8824.
+
+This Recommendation uses ASN.1-based descriptive conventions:
+
+- a) to define the information objects of Voice Messaging, and other data types and values of all kinds, and the ASN.1 itself;
+- b) to define the functional objects of Voice Messaging, the OBJECT and REFINE macros of CCITT Rec. X.407 and ISO/IEC 10021-3;
+- c) to define the abstract service of Voice Messaging, the PORT and ABSTRACT-operation and ERROR macros of CCITT Rec. X.407 and ISO/IEC 10021-3;
+- d) to define the protocol extensions, the VM-EXTENSION macro of this Recommendation;
+- e) to define extended body part types, the EXTENDED-BODY-PART-TYPE macro of ITU-T Rec. X.420 | ISO/IEC 10021-7;
+- f) to define MS Auto-actions, the AUTO-ACTION macro of ITU-T Rec. X.413 | ISO/IEC 10021-5;
+- g) to define MS attributes, the ATTRIBUTE macro of ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+ASN.1 tags are implicit throughout the ASN.1 modules defined in any annex; the module is definitive in that respect.
+
+NOTE – The use of ASN.1 to describe a class or piece of information does not in itself imply that information is transported between open systems. The fact that the information, by virtue of its description in ASN.1 and of ASN.1's basic encoding rules, has a concrete
+
+transfer syntax may be immaterial. Information actually conveyed between systems is designated as such by its inclusion in an application protocol.
+
+### 5.2.1 Conventions for attribute types in Table 1
+
+This Recommendation uses the conventions listed below in its definition of attribute types for the MS abstract services.
+
+For the column headed *Single-/Multi-valued*, the following values can occur:
+
+- S: Single-valued;
+- M: Multi-valued.
+
+For the column headed *Support level by MS and UA* (where UA refers only to a UA that accesses an MS), the following values can occur:
+
+- M: Mandatory;
+- O: Optional.
+
+For the columns headed *Presence in delivered VM*, *Presence in delivered RN*, *Presence in delivered NRN* and *Presence in delivered SN*, the presence of each attribute type is described by one of the following values:
+
+- P: *Always present* in the entry because it is mandatory for generation by the MS or it is a mandatory or defaulted parameter in the relevant abstract operation.
+- C: *Conditionally present* in the entry. It will be present because it is supported by the MS and subscribed to by the user and it was present in an optional parameter in the relevant abstract operation.
+- *Always absent*, otherwise.
+
+For the columns headed *Available for list*, *alert* and *Available for summarize*, the following values can occur:
+
+- N: no
+- Y: yes
+
+NOTE – All attributes are available to the fetch abstract operation, subject to support by the implementation and subscription.
+
+### 5.2.2 Conventions for attribute types in Table 2
+
+This Recommendation uses the conventions listed below in its definition of attribute types for the MS abstract services.
+
+For the column headed *Generated by* the following values can occur:
+
+- MD: MessageDelivery abstract-operation;
+- MS: MessageStore;
+- RD: ReportDelivery abstract-operation.
+
+# 6 Information objects
+
+The information objects that users exchange in voice messaging are of two kinds: voice messages (VM), and voice notifications (VN). Specific details of the information objects used in the Voice Messaging System are defined in this clause and in clauses 7, 8, and 9.
+
+```
+InformationObject ::= CHOICE {
+ vm [0] VM,
+ vn [1] VN }
+```
+
+# 7 Common data types
+
+Information items of several kinds appears both in voice messages and voice notifications. These common items are defined below.
+
+## 7.1 VM Identifier
+
+A VM Identifier is an information item that unambiguously, globally and forever uniquely identifies a VM.
+
+It comprises an OR Name and a string which may, for example, contain a time or sequence number or other sufficient information to make this VM unique.
+
+```
+VMIdentifier ::= SET {
+ user [0] ORName,
+```
+
+**user-relative-reference** [1] LocalReference }
+
+NOTE – OR Name is defined in 8.5.5/X.411 | ISO/IEC 10021-4.
+
+The VM Identifier shares the same value set with the IPM Identifier defined in ITU-T Rec. X.420 | ISO/IEC 10021-7. Therefore a VMGS-UA or VMGS-MS that is capable of handling both IPMs and VMs shall make sure that the Local Reference is unique both for IPMs and VMs.
+
+A VM Identifier has the following components:
+
+- a) **user:** Identifies the user who originates the VM. One of the user's OR Names.
+- b) **user-relative-reference:** Unambiguously identifies the VM, distinguishing it from all other VMs that the user who is identified by the User component originates. A Printable String value shall be of a size from zero to a prescribed number of characters (see Annex G). A length of zero is discouraged.
+
+**LocalReference ::= PrintableString (SIZE (0..ub-vmg-local-reference))**
+
+## 7.2 OR Descriptor
+
+An OR Descriptor is an information item that is defined in the IPM protocol specifications (7.1.3 of ITU-T Rec. X.420 | ISO/IEC 10021-7). It identifies the user or DL by either its OR Name, free-form-name or telephone number, all of which are text encoded. In VM, it is most likely that the ORDescriptor will identify a user by a telephone number.
+
+## 7.3 Spoken Name
+
+The Spoken Name parameter carries an audio encoding of an associated name. It may be associated with the VMOriginatorField, RecipientField, or VNOriginatorField. The encoding of the value is per the VoiceEncodingType parameter in a VM or the VNVoiceEncodingParameter in a VN. Its size is constrained in seconds of duration.
+
+**SpokenName ::= OCTET STRING**
+-- Encoding is defined by voice-encoding-type
+-- or vn-voice-encoding-type.
+-- Maximum 10 seconds.
+
+NOTE – The value is padded to end on an octet boundary.
+
+## 7.4 Extensions
+
+A mechanism is provided which allows for future extensions to this Recommendation.
+
+**ExtensionField ::= SEQUENCE {**
+**type** [0] VM-EXTENSION,
+**criticality** [1] Criticality DEFAULT FALSE,
+**value** [2] ANY DEFINED BY type DEFAULT NULL:NULL }
+
+An Extension field can be marked critical (Criticality set to TRUE) or non-critical (Criticality set to FALSE) for acceptance of the message. An extension marked as non-critical may be ignored or discarded, while an extension marked as critical must be known and performed for acceptance of a VM.
+
+**Criticality ::= BOOLEAN**
+
+As a notation support for future definitions of extensions, a MACRO is defined.
+
+**VM-EXTENSION MACRO ::=**
+**BEGIN**
+**TYPE NOTATION** ::= DataType Critical | empty
+**VALUE NOTATION** ::= value (VALUE OBJECT IDENTIFIER)
+**DataType** ::= type (X) Default
+**Default** ::= "DEFAULT" value (X) | empty
+**Critical** ::= "CRITICAL" | empty
+**END -- of extension**
+
+# 8 Voice message
+
+A Voice Message (VM) is a member of the primary class of information objects conveyed between users in Voice Messaging.
+
+NOTE 1 – The term *message* when used throughout the rest of this Recommendation is a synonym for Voice Message whose spoken components are encoded per CCITT Rec. G.726 (1990) 32 kbit/s ADPCM.
+
+```
+
+VM ::= SEQUENCE {
+ heading Heading,
+ body Body }
+
+```
+
+A Voice Message consists of the following components:
+
+- a) **Heading:** A set of Heading Fields (or Fields), each an information item that gives a characteristic of the Voice Message.
+- b) **Body:** A sequence of one or more body parts.
+
+```
+
+Body ::= SEQUENCE {
+ primary-body-part PrimaryBodyPart,
+ additional-body-parts AdditionalBodyParts OPTIONAL }
+
+```
+
+```
+
+PrimaryBodyPart ::= CHOICE {
+ vm-body-part [0] VBodyPart,
+ forwarded-VM [1] VMBodyPart }
+
+```
+
+```
+
+AdditionalBodyParts ::= SEQUENCE OF VM-ExternallyDefinedBodyPart
+
+```
+
+NOTE 2 – VM-Externally Defined Body Part is defined in 8.2.3.
+
+The Body has one Primary Body Part that contains a voice information object. This body part is either the VMGS-user's recorded message itself or a forwarded VM. An example of the encoding of a Voice information object is a 32 kbit/s ADPCM Encoded Message defined by CCITT Rec. G.726 (1990).
+
+NOTE 3 – The scope of a voice information object type is rather large and includes, for example, Privately Defined types.
+
+The following rules comply with the requirements stated in clause 3/F.440:
+
+- c) When a VM is first created, the Primary Body Part shall contain one Voice Body Part.
+- d) When a VM is forwarded, its structure shall comply with the rules given in 17.3.3.
+
+The Primary Body Part has one of two basic forms:
+
+- the Primary Body Part contains a voice information object;
+- the Primary Body Part contains a forwarded Voice Message.
+
+Additionally, other body parts may be present in a message related to the Primary Body Part but of a different type. Examples of related body parts might be non-voice encoded information, such as drawings/graphics to be used in conjunction with the VM. A VM, generated as a result of VM Forwarding, may contain an additional voice encoded body part for each instance of forwarding.
+
+The structure of a Voice Message is depicted in Figure 1.
+
+
+
+Figure 1/X.440 – Voice message structure diagram. A central 'VM' box has a downward arrow to a 'P1 Envelope' box. A line from 'VM' branches to a 'Heading' box and a 'Body Part' box. The 'Heading' box is connected to 'Field 1', 'Field 2', and 'Field n' boxes. The 'Body Part' box is connected to a 'Voice Body Part' box and a 'VM Body Part' box, with an 'or' label between them. Both 'Voice Body Part' and 'VM Body Part' are connected to 'Body Part 2' and 'Body Part n' boxes. The 'Voice Body Part' and 'VM Body Part' boxes are labeled 'Primary Body Parts', while 'Body Part 2' and 'Body Part n' are labeled 'Other Body Parts'.
+
+T0711590-91/d01
+
+Figure 1/X.440 – Voice message structure
+
+## 8.1 Heading fields
+
+The fields that may appear in the Heading of a VM are defined and described below.
+
+| | |
+|------------------------------------|----------------------------------------------------------------|
+| Heading ::= SEQUENCE { | |
+| this-VM | ThisVMField, |
+| originator | [0] VMOriginatorField OPTIONAL, |
+| recipients | [1] RecipientsField OPTIONAL, |
+| obsoleted-vm | [2] ObsoletedVMField OPTIONAL, |
+| vm-subject | [3] VMSpokenSubjectField OPTIONAL, |
+| expiry-time | [4] ExpiryTimeField OPTIONAL, |
+| importance | [5] ImportanceField DEFAULT {normal}, -- from IPM |
+| sensitivity | [6] SensitivityField OPTIONAL, -- from IPM |
+| message-forwarded | [7] MessageForwarded DEFAULT FALSE, |
+| vm-forwarding-permitted | [8] MessageForwardingPermitted DEFAULT TRUE, |
+| language | [9] LanguageField OPTIONAL, |
+| voice-encoding-type | [10] VoiceEncodingType DEFAULT {id-vmg-g721-32k-adpcm}, |
+| vm-creation-time | [11] VMCreationTime OPTIONAL, |
+| vn-receiver-field | [12] VNReceiverField OPTIONAL, |
+| vmgs-user-security-elements | [13] VMGSUserSecurityElementsField OPTIONAL, |
+| heading-extensions | [14] HeadingExtensionsField OPTIONAL } |
+
+### 8.1.1 This VM
+
+The field, This VM, identifies the VM. It comprises a VM Identifier which provides a globally and forever unique identification for the VM.
+
+**ThisVMField ::= VMIdentifier**
+
+NOTE – VM Identifier is defined in 7.1.
+
+### 8.1.2 Originator
+
+Identifies the VM's originator. It may comprise an OR Descriptor and optionally a voice encoded version of that name. If the Originator field is not present in the VM Heading, then the P1 envelope shall be used to determine the originator of the VM (see 8.2.1.1.1 of ITU-T Rec. X.411 | ISO/IEC 10021-4).
+
+**VMOriginatorField ::= SET {**
+**COMPONENTS OF ORDescriptor, -- from IPM**
+**originator-spoken-name [3] SpokenName OPTIONAL }**
+
+NOTE – OR Descriptor is defined in 7.2 and Spoken Name is defined in 7.3.
+
+### 8.1.3 Recipients
+
+The Recipients field identifies the user(s) and (DL)(s) who are the preferred recipient(s) of the VM. It comprises a set of Recipients subfields, one for each recipient. If the Recipients field is not present in the VM Heading, then the P1 envelope shall be used to determine the recipient of the VM (see 8.2.1.1.2 of ITU-T Rec. X.411 | ISO/IEC 10021-4).
+
+NOTE – The fact that a message can be redirected or forwarded is reflected in the word "preferred" above.
+
+**RecipientsField ::= SET OF RecipientsSubField (SIZE (1..ub-recipients))**
+
+The Recipients Sub Field is an information item that identifies a recipient of a VM and any special requests made of that specific recipient.
+
+The Recipients Sub Field has the following components:
+
+**RecipientsSubField ::= SEQUENCE {**
+**recipient [0] RecipientField,**
+**vn-requests-field [1] VNotificationRequestsField,**
+**attendant-assisted-delivery-request [2] AttendantAssistedDeliveryRequest**
+**DEFAULT { }, -- default NONE**
+**recipient-extensions [3] RecipientExtensionsField OPTIONAL }**
+
+#### 8.1.3.1 Recipient
+
+The heading field Recipient identifies one or more preferred recipients for this VM. For each recipient, it comprises an OR Descriptor, and optionally, a voice encoded version of this recipient's name.
+
+**RecipientField ::= SEQUENCE {**
+**recipient-name COMPONENTS OF ORDescriptor, -- from IPM**
+**spoken-name [2] SpokenName OPTIONAL }**
+
+NOTE – OR Descriptor is defined in 7.2 and Spoken Name is defined in 7.3.
+
+#### 8.1.3.2 VNotification requests field
+
+The field, VNotification Requests Field, is a compound field. It conveys certain requests of the preferred recipient or recipients denoted by the Recipients field.
+
+NOTE 1 – The fact that a message can be redirected or forwarded is reflected in the word "preferred" above.
+
+This field, represented by the data type *VNotificationRequestsField*, consists of a sequence of three bit strings and one extension mechanism. Of the bit strings, the first selects the type of notification, the second selects which security function should be applied to that notification, and the third may make certain security requests for proof or non-repudiation of reception of this VM by the recipient. Voice Notification Security and Voice Reception Security shall not be requested if Voice Notifications are not requested.
+
+The default semantic of this field is that there are no VM extensions present, and neither VM notification, nor notification security nor reception security services are requested of the recipient.
+
+**VNotificationRequestsField ::= SEQUENCE {**
+**vm-notification-requests [0] VNotificationRequests DEFAULT { }, -- default NONE**
+**vm-notification-security-requests [1] VNotificationSecurity DEFAULT { }, -- default NONE**
+**vm-reception-security-requests [2] VMReceptionSecurity DEFAULT { }, -- default NONE**
+**vm-notification-extension-requests [3] VMNotificationExtensions DEFAULT { } -- default NONE**
+
+1) The *VM Notification Requests* bit string may assume any of the following values simultaneously. The absence of the Voice Notification Requests bit string implies that no Voice Notification Requests are made.
+
+- a) **receipt-notice:** A notification of acceptance of the message is requested in the circumstances prescribed in clause 9.
+- b) **service-notice:** A service notification which includes the subject VM is requested in the circumstances prescribed in clause 9.
+- c) **non-receipt-notice:** A non-receipt notification is requested in the circumstances prescribed in clause 9.
+
+**VNotificationRequests ::= BIT STRING {**
+**receipt-notice (0),**
+**service-notice (1),**
+**non-receipt-notice (2) } (SIZE (0..ub-bit-options))**
+
+- 2) The *Voice Notification Security* bit string may assume any of the following values simultaneously. The absence of the Voice Notification Security bit string implies that no Voice Notification Security requests are made.
+- d) **proof:** When submitting the VN to the MTS, content-integrity-check shall be requested in the Message-submission-argument as defined in 8.2.1.1.1.28 of ITU-T Rec. X.411 | ISO/IEC 10021-4.
+ - e) **non-repudiation:** When submitting the VN to the MTS, content-integrity-check shall be requested in the Message-submission-argument as defined of 8.2.1.1.1.28 of ITU-T Rec. X.411 | ISO/IEC 10021-4 with a non-repudiable certificate.
+
+**VNotificationSecurity ::= BIT STRING {
+proof (0),
+non-repudiation (1) } (SIZE (0..ub-bit-options))**
+
+- 3) The *Voice Reception Security* bit string may assume any of the following values simultaneously. The absence of the Voice Reception Security field implies that no Voice Reception Security requests are made.
+- f) **proof:** When submitting the VN to the MTS, content-integrity-check (possibly in the message token), or the message-origin-authentication-check (depending on the security policy in force) shall be requested. A notification shall contain the security elements and shall be signed on submission to the MTS, using content-integrity-check (possibly in the message token) or message-origin authentication-check (depending on the security policy in force) in the Message-submission-argument as defined in 8.2.1.1.1.26, 8.2.1.1.1.28 and 8.2.1.1.1.29 of ITU-T Rec. X.411 | ISO/IEC 10021-4.
+ - g) **non-repudiation:** When submitting the VN to the MTS, a non-repudiable content-integrity-check (possibly in the message token) or a message-origin-authentication-check (depending on the security policy in force) shall be requested. A notification shall contain the security elements and shall be signed on submission to the MTS, using non-repudiable content-integrity-check (possibly in the message token) or message-origin-authentication-check (depending on the security policy in force) in the Message-submission-argument as defined in 8.2.1.1.1.26, 8.2.1.1.1.28 and 8.2.1.1.1.29 of ITU-T Rec. X.411 | ISO/IEC 10021-4.
+
+**VMReceptionSecurity ::= BIT STRING {
+proof (0),
+non-repudiation (1) } (SIZE (0..ub-bit-options))**
+
+NOTE 2 – Some security services are available only if the MTA supports secure messaging.
+
+- 4) The *VM Notification Extensions* field contains notification extensions to the VNotificationRequestsField subfield. There are no extensions defined in this Recommendation.
+
+**VMNotificationExtensions ::= SET OF VMNotificationExtensionsSubField**
+
+**VMNotificationExtensionsSubField ::= ExtensionField**
+
+#### 8.1.3.3 Attendant-assisted delivery request
+
+The Attendant-Assisted Delivery Request field allows for the originator of the subject VM to request call assistance services of a Telephone Service attendant. The absence of this field means that Attendant-Assisted Delivery is not requested by the originator.
+
+**AttendantAssistedDeliveryRequest ::= INTEGER {
+person-to-person (0),
+anyone (1) }**
+
+The Attendant-Assisted Delivery Request field may assume the values:
+
+- a) **person-to-person:** Allows the originator to request person-to-person delivery to the recipient. The Telephone Service attendant will use the RecipientSpokenName component of the RecipientField to ask for the intended person.
+- b) **anyone:** Allows the originator to request an attendant to assist in the delivery of the message to anyone at the named recipient's OR-address.
+
+#### 8.1.3.4 Recipient extensions
+
+The Recipient Extensions contains extensions to the Recipients subfield.
+
+**RecipientExtensionsField ::= SET OF RecipientExtensionsSubField**
+
+**RecipientExtensionsSubField ::= ExtensionField**
+
+There are no extensions defined in this Recommendation. Support requirements for any future extensions shall be in accordance with the corresponding element of service to which the heading extension applies.
+
+### 8.1.4 Obsoleted VM
+
+The Obsoleted VM field identifies one or more VMs that the present VM obsoletes. It is a sequence of subfields, each a VM Identifier.
+
+**ObsoletedVMField ::= SEQUENCE OF ObsoletedVMSubfield**
+
+**ObsoletedVMSubfield ::= VMIdentifier**
+
+### 8.1.5 VM (Spoken) subject
+
+The VM Subject field indicates the message subject of the VM Primary Body Part. It is encoded per the algorithm identified in the Voice-Encoding-Type field. The field contains a brief audio description of the subject VM. Its size is expressed in seconds.
+
+NOTE 1 – A duration of twenty seconds is the upper limit set in Annex G.
+
+**SpokenSubject ::= OCTET STRING**
+
+-- *Encoding is defined by voice-encoding-type;*
+
+-- *Maximum 20 seconds.*
+
+NOTE 2 – The value is padded to end on an octet boundary.
+
+NOTE 3 – The algorithm used to encode this value is indicated by the *Voice Encoding Type* field, see 8.1.12.
+
+### 8.1.6 Expiry time
+
+This field indicates when the originator considers this VM to lose its validity. It comprises a date and time (UTC).
+
+NOTE – Expiry Time field is defined in 7.2.11 of ITU-T Rec. X.420 | ISO/IEC 10021-7.
+
+### 8.1.7 Importance
+
+This field conveys the originator's perceived importance for this message. It may convey one of the levels of importance: low, normal or high. The absence of this element of protocol implies that the originator considers this message to be of **normal** importance.
+
+NOTE – *Importance* field is defined in 7.2.8 of ITU-T Rec. X.420 | ISO/IEC 10021-7.
+
+### 8.1.8 Sensitivity
+
+The Sensitivity field conveys the originator's perceived sensitivity that recipients are to consider in effect for this message. It conveys one of 3 levels of sensitivity: personal, private, company-confidential. The absence of this element of protocol implies that this message is not considered to be sensitive.
+
+NOTE – *Sensitivity* field is defined in 7.2.15 of ITU-T Rec. X.420 | ISO/IEC 10021-7.
+
+### 8.1.9 Message forwarded
+
+The Message Forwarded field is used to indicate whether the message was forwarded. Absence of this field shall be interpreted as the value FALSE, i.e. not forwarded.
+
+**MessageForwarded ::= BOOLEAN -- Default False**
+
+If this field has the value TRUE, it indicates to a receiving UA that the security elements in the inner envelope of the Primary Body Part need to be examined.
+
+NOTE – Rules regarding the use of this field are contained in 17.3.3.1, 17.3.3.2 and 17.3.3.3.
+
+### 8.1.10 VMessage forwarding permitted
+
+The VMessage Forwarding Permitted field, a Boolean, indicates that the forwarding of this message is permitted by the originator if this field is set to TRUE. Absence of the field shall be interpreted as the value TRUE.
+
+A recipient of a message with the VM Forwarding Permitted field set to FALSE shall originate VNs as requested, and shall not forward this message.
+
+**MessageForwardingPermitted ::= BOOLEAN -- Default TRUE, forwarding is permitted**
+
+### 8.1.11 Language
+
+The Language field indicates the internationally recognized language and optionally the local usage that was used by the originator when creating the message. The absence of this field shall be interpreted as unspecified by the originator.
+
+**LanguageField ::= SEQUENCE OF Language -- from IPM**
+
+The codes used in the language-code and national-usage fields are defined in ISO 639-2 and ISO 3166, respectively.
+
+NOTE 1 – The syntax of the Language field is imported from Annex H of ITU-T Rec. X.420 | ISO/IEC 10021-7. It is defined to be a 5-character field where the first 2 characters indicates the language-code and the last 2 characters indicates the national-usage. The middle character position is a space character as a separator. Usage of the national-usage section of the field is optional.
+
+NOTE 2 – If the language of the spoken message is English as spoken by a Canadian, then the language-code value would be "en", and the national-usage value would be "CA".
+
+NOTE 3 – The type LanguageField is encoded as a Sequence to allow for future growth of the protocol to handle VMs of multiple voice encoded body parts.
+
+NOTE 4 – For this information to be useful for human usage, the receiving system may need to present a spoken version of this information to the user. For example, the value "CA" would be heard in the local language as "canadian" or "Canada".
+
+### 8.1.12 Voice encoding type
+
+Indicates the voice standard used to encode the contents of the Primary Body Part and any other voice encoded data type contained in the subject VM. It is represented by a single object identifier.
+
+NOTE 1 – This object identifier implements the element of service *VM Encoding Algorithm Identifier (E.10)* defined in Recommendation F.440 (1992).
+
+**VoiceEncodingType ::= OBJECT IDENTIFIER -- default CCITT's G.726 32 kbit/s ADPCM**
+
+The following standard values have object identifiers defined in this Recommendation:
+
+- 32 kbit/s-ADPCM: ITU-T Rec. G.726 (1990);
+- PRIVATE: UNDEFINED OCTETS;
+- UNDEFINED: UNDEFINED OCTETS.
+
+The absence of this field shall be interpreted as having the default value set to 32 kbit/s-ADPCM.
+
+The actual mapping of 32 kbit/s-ADPCM transmission encoding onto ASN.1 octets is for further study.
+
+NOTE 2 – The voice encoding referred to by the object identifier is that in which both the Voice Body Part, and those Heading fields whose values are spoken are encoded, notwithstanding the fact that these types are defined as an ASN.1 ANY.
+
+The value of the Voice Body Part Type field shall be used in the Encoded Information Types in the MTS abstract operations (see also 17.1.1). This enables a UA to signal to the MTS which Voice standard the VM's Primary Body Part complies with. The MTS shall make use of this information, if the recipient UA has registered delivery restrictions on Encoded Information Types, to decide if it can deliver the VM or to provide conversion services.
+
+### 8.1.13 VM creation time
+
+Indicates the date and time of creation of the spoken message. It comprises a UTC time.
+
+**VMCreationTime ::= UTCTime**
+
+### 8.1.14 VN receiver
+
+Identifies the recipient to whom VNs are to be sent. This is created by the originator of the VM when the Recipient of a requested notification is different from the Originator of the message. It consists of a sequence of OR Name, VM Identifier and First Recipient.
+
+This field shall not be present if Voice Notification Requests are not made.
+
+This field shall be present in a forwarded message when the forwarding Voice messaging system user agent (VMGS-UA) or Voice messaging system message store (VMGS-MS) forwards the message. This field may be present when the forwarding VMGS-UA accepts the message. Rules related to the construction of this field are given in 17.3.3.
+
+NOTE 1 – For brevity, the term user agent (UA) is used throughout the rest of this Recommendation with the meaning of VMGS-UA, and the term message store (MS) is used throughout the rest of this Recommendation with the meaning of VMGS-MS.
+
+**VNReceiverField ::= SEQUENCE {**
+**vn-receiver-name** [0] ORName,
+**original-vm-identifier** [1] VMIdentifier OPTIONAL,
+**first-recipient** [2] FirstRecipientField OPTIONAL }
+
+The *first-recipient* field shall not be present if more than one recipient contains Voice Notification Requests.
+
+The *original-vm-identifier* and the *first-recipient* fields shall not be present when the Primary Body Part is a Voice Body Part (that is, when the original originator first creates the VM).
+
+NOTE 2 – The Original VM Identifier and First Recipient fields are included in order to allow the recipient to construct the VN for a forwarded VM. See 9.1 (more specifically 9.1.3) and 17.3.1.1 for rules related to the construction of a VN; see 17.3.3.4 for rules related to the First Recipient field when constructing a forwarded VM. OR Name is defined in 8.5.5 of ITU-T Rec. X.411 | ISO/IEC 10021-4. First Recipient Field is defined in 9.1.3.
+
+### 8.1.15 VMGS-user security elements
+
+The *VMGS-user security elements* field allows a user to exchange security elements having an end-to-end significance.
+
+```
+VMGSUserSecurityElementsField ::= SEQUENCE {
+ vmgs-user-security-element [0] VMGSUserSecurityElement OPTIONAL,
+ vm-encrypted-primary-bodypart [1] BOOLEAN OPTIONAL,
+ vmgs-user-security-extensions [2] VMGSUserSecurityExtensions OPTIONAL }
+
+VMGSUserSecurityElement ::= BIT STRING (SIZE (0..ub-vmgs-user-security-elements))
+
+VMGSUserSecurityExtensions ::= SEQUENCE OF VMGSUserSecurityExtension
+
+VMGSUserSecurityExtension ::= ExtensionField
+```
+
+### 8.1.16 Heading extensions
+
+The Heading extensions allows for future extensions to the Heading.
+
+```
+HeadingExtensionsField ::= SET OF HeadingExtensionsSubField
+
+HeadingExtensionsSubField ::= ExtensionField
+```
+
+There is no Extensions to the Heading defined in this Recommendation. Support requirements for any future extensions shall be in accordance with the corresponding element of service that the heading extension applies.
+
+## 8.2 Body part types
+
+The types of body parts that may appear in the Body of a VM are defined and described below.
+
+### 8.2.1 Voice body part
+
+A Voice Body Part carries a single voice encoded message (object).
+
+```
+VBodyPart ::= SEQUENCE {
+ voice-parameters [0] VoiceParameters OPTIONAL,
+ voice-data [1] VoiceData }
+
+VoiceParameters ::= SEQUENCE {
+ voice-message-duration [0] VMDuration OPTIONAL,
+ voice-encoding-type [1] VoiceEncodingType OPTIONAL, -- for use in IPM
+ other-parameters [2] VMSupplementaryInformation OPTIONAL,
+ extension-parameters [3] VBPPParameterExtensions OPTIONAL }
+
+VMDuration ::= INTEGER, -- size indicated in seconds
+
+VBPPParameterExtensionsField ::= SET OF VBPEExtensionsSubField
+
+VBPEExtensionsSubField ::= ExtensionField
+
+VoiceData ::= OCTET STRING -- defined by VoiceEncodingType
+```
+
+NOTE 1 – The value is padded to end on an octet boundary.
+
+The *VoiceParameters* component of the **VBodyPart** shall be used as follows:
+
+- a) **voice-message-duration:** The duration of the voice encoded data component in seconds.
+- b) **voice-encoding-type:** An object identifier which identifies the voice encoding applied to the data portion of this body part. It is intended for use within IPM where voice encoded body parts are not restricted to be of the same encoding within the body of the message. If used in VM, it shall have the same value as the voice-encoding-type field carried in the Heading.
+- c) **other-parameters:** Encoded as VMSupplementaryInformation. It conveys additional information necessary for decoding and processing the voice encoded data component of this body part. Its usage is subject to bilateral or local agreements.
+- d) **extension-parameters:** Conveys parameter extensions needed for processing the voice encoded data component of this body part.
+
+NOTE 2 – There are no *extension-parameters* defined in this Recommendation.
+
+The reference definition of the encoded voice object used is that used by G.726 32 kbit/s ADPCM. The object identifier used in the default is defined in Annex A. By employing the use of object identifiers, this Recommendation does not draw a distinction between voice, or audio or music quality encoded objects.
+
+The *VoiceData* component of the **VBodyPart** carries the digital encoding of the voice message. The encoding of the contents of this component is identified in the Voice Encoding Type field, see 9.1.5.
+
+This Recommendation identifies two encoding for voice object. Annex H provides guidelines for mapping these encodings, 32 kbit/s ADPCM and 16 kbit/s LDCLP, onto MHS protocol. It is provided to assist developers in creating a consistent way of mapping between the two environments.
+
+### 8.2.2 VM body part
+
+A VM Body Part contains a forwarded VM, and optionally, its delivery envelope. The delivery envelope shall be present when MHS security services are employed. When a VM is forwarded, its structure shall comply with the rules given in 17.3.3.2.
+
+```
+
+VMBodyPart ::= SEQUENCE {
+ parameters [0] MessageParameters OPTIONAL,
+ data [1] MessageData }
+
+MessageParameters ::= SET {
+ delivery-time [0] MessageDeliveryTime OPTIONAL,
+ delivery-envelope [1] OtherMessageDeliveryFields OPTIONAL,
+ -- delivery-time and delivery-envelope shall both be present or both shall be absent.
+ other-parameters [2] VMSupplementaryInformation OPTIONAL }
+
+MessageData ::= VM
+
+VMSupplementaryInformation ::= IA5String (SIZE (1..ub-supplementary-info-length))
+
+```
+
+NOTE – Primary Body Part is defined in clause 8. Message Delivery Time and Other Message Delivery Fields are defined in 8.3.1.1 of ITU-T Rec. X.411 | ISO/IEC 10021-4.
+
+The VM Supplementary Information field is intended to convey additional pre-registered information when performing VM Forwarding.
+
+The structure of a VM Body Part which results from VM Forwarding is depicted in Figure 2.
+
+
+
+Figure 2/X.440 – VM body (Forwarded) part structure. The diagram shows a hierarchical structure. A 'VM Body Part' box is connected by dashed lines to 'Parameters' and 'Data' boxes. 'Parameters' is connected by dashed lines to a 'P1 Envelope' box. 'Data' is connected by solid lines to 'Heading' and 'Body' boxes. 'P1 Envelope' is connected by solid lines to 'Field 1', 'Field 2', and 'Field n' boxes. 'Heading' is connected by solid lines to 'Field 1', 'Field 2', and 'Field n' boxes. 'Body' is connected by solid lines to 'Primary Body Part', 'Body Part 2', and 'Body Part n' boxes. The identifier 'T0711600-91/d02' is at the bottom right.
+
+Figure 2/X.440 – VM body (Forwarded) part structure
+
+### 8.2.3 VM externally defined body parts
+
+Additional body parts, that relate to the Primary Body Part, may be carried together with a Voice Body Part. For submission of the original VM, the body parts shall not be or include voice encoded information objects.
+
+Additional body parts are externally defined and represent information objects whose semantics and abstract syntax are denoted by an object identifier which the body part carries. They have Parameters and Data components.
+
+**VM-ExternallyDefinedBodyPart ::= ExternallyDefinedBodyPart** -- *from IPMS*
+
+NOTE – The IPMS Externally Defined Body Part type is defined in 7.3.12 of ITU-T Rec. X.420 | ISO/IEC 10021-7.
+
+# 9 Voice notifications
+
+A Voice Notification (VN) is a member of a secondary class of information object conveyed between users in voice messaging.
+
+NOTE 1 – The term notification is used throughout the rest of this Recommendation as a synonym for voice notification.
+
+NOTE 2 – Voice messaging information objects are defined in clause 8.
+
+**VN ::= CHOICE {**
+**receipt-notification** [0] **ReceiptNotificationFields**, -- *referred to as RN*
+**service-notification** [1] **ServiceNotificationFields**, -- *referred to as SN*
+**non-receipt-notification** [2] **NonReceiptNotificationFields** -- *referred to as NRN --*
+**}**
+
+- receipt notification (RN): A VN that reports its originator's acceptance of a VM.
+- service notification (SN): A VN that reports its originator's software did not support all of the requested EOSs although the message was received by the recipient.
+- non-receipt notification (NRN): A VN that reports its originator's refusal to accept a VM and that the subject VM has been forwarded without accepting the message or discarded.
+
+NOTE 3 – RN, SN, and NRN are used in the User Agent section of this Recommendation. However, according to a user's local policy, a UA may delegate to its MS the responsibility for responding to requested VNs.
+
+The VM to which a VN refers is called the subject VM (see 17.3.3).
+
+If VM Forwarding has not occurred, then the recipient of the VN is the Originator of the subject VM, or, if present, the OR Name indicated in the VN Receiver field. However, if VM Forwarding has occurred, then the recipient of the VN may be either the originator of the VM or the originator of the forwarded VM.
+
+There shall be at most one recipient specified for a VN. There shall be at most one RN and SN originated for each subject VM by each recipient from whom these notifications are requested. A NRN may be originated subsequent to a SN, in accordance with c of 17.3.3.1. One NRN is originated, if and only if requested, by each recipient that forwards a VM. In accordance with the provision of 17.3.3, the subject VM originator shall receive at most one RN or SN for each recipient from whom these notifications were requested. This is true regardless of how many times the VM is forwarded. However, the originator may receive multiple NRNs as a consequence of VM Forwarding.
+
+A VN consists of fields of information specific to Receipt, Service or Non-Receipt Notification. Additionally, each VN type contains the Common fields which are described below. Figure 3 illustrates the structure of a voice notification.
+
+The specific notification type conveyed by the VNP is also identified in the P1 PerMessageIndicators field as specified in Figure 2 of ITU-T Rec. X.411 | ISO/IEC 10021-4.
+
+
+
+Figure 3/X.440 – Voice notification structure. The diagram shows a hierarchical structure of fields. At the top is a stack of 'Common Field' boxes (Common Field 1, Common Field 2, ..., Common Field n). Below this is a large box divided into three sections: '(if NRN)' on the left, '(if SN)' in the center, and '(if RN)' on the right. Each section contains a stack of fields: 'Non Receipt Field 1', 'Non Receipt Field 2', ..., 'Non Receipt Field n' for NRN; 'Service Notice Field 1', 'Service Notice Field 2', ..., 'Service Notice Field n' for SN; and 'Receipt Field 1', 'Receipt Field 2', ..., 'Receipt Field n' for RN. The diagram illustrates that a voice notification can be a Non-Receipt Notification (NRN), a Service Notice (SN), or a Receipt Notification (RN), each with its own set of specific fields and common fields.
+
+T0711610-91/d03
+
+Figure 3/X.440 – Voice notification structure
+
+## 9.1 Common fields
+
+The Common fields used in the Voice Notifications are defined and described below. The data type which follows is carried in a RN as *rn-common-fields*, in a SN as *sn-common-fields* and in a NRN as *nrn-common-fields*.
+
+```
+CommonFields ::= SET {
+ subject-vm
+ vn-originator
+ first-recipient
+ notice-creation-time
+ vn-voice-encoding-type
+ conversion-indication
+ notification-security-elements
+ orig-vm-spoken-subject
+ subject-vm-other-recipients
+ SubjectVMField,
+ [1] VNOriginatorField,
+ [2] FirstRecipientField OPTIONAL,
+ [3] NoticeCreationTimeField,
+ [4] VNVoiceEncodingType,
+ [5] ConversionEITsField OPTIONAL,
+ [6] SecurityElementsField OPTIONAL,
+ [7] VMSpokenSubjectField OPTIONAL,
+ [8] RecipientField OPTIONAL,
+```
+
+**vn-supplementary-info**
+**notifications-extensions**
+
+**[9] VNSupplementaryInfo OPTIONAL,**
+**[10] NotificationExtensionsField OPTIONAL }**
+
+NOTE – The Common fields appear in the RN, SN and NRN fields defined below.
+
+### 9.1.1 Subject VM
+
+The Subject VM field contains the VM Identifier either passed in the VN Receiver field, if the subject VM has been forwarded, or the This VM field, if not.
+
+**SubjectVMField ::= VMIdentifier**
+
+NOTE – VM Identifier is defined in 7.1. Subject VM is defined in 5.1 b.
+
+### 9.1.2 VN originator
+
+The VN Originator contains the OR Name component of the Originator field for the UA constructing the notification. Additionally, it may contain a voice encoded representation of this originator and the identity of the VM application entity that initiated the notice.
+
+**VNOriginatorField ::= SEQUENCE {**
+**originator-name** **[0] VMOriginatorField,**
+**vn-initiator** **[1] VNInitiatorField OPTIONAL }**
+
+NOTE – OR Name is defined in 8.5.5 of ITU-T Rec. X.411 | ISO/IEC 10021-4. The VMOriginatorField parameter is defined in 8.1.2. The audio encoded component of the VMOriginator field, the SpokenName, is defined in 7.3.
+
+The VN Initiator field can take one of the following values:
+
+- a) **internal-UA** means that the UA generated the VN either for local reasons or because the generation had been delegated to it by the user.
+- b) **internal-MS** means that the MS generated the VN either for local reasons or because the generation had been delegated to it by the user.
+- c) **external-UA** means that the generation of the VN was requested by the user via the abstract operation Originate VN (see 12.1.2).
+- d) **internal-tsau** means that the TSAU generated the VN either for local reasons or because the generation had been delegated to it by the user.
+
+**VNInitiatorField ::= ENUMERATED {**
+**internal-ua (0),**
+**external-ua (1),**
+**internal-ms (2),**
+**internal-tsau (3) }**
+
+Origination of a Receipt Notification implies that the message has been accepted, regardless of the value of this field.
+
+The value of this field shall be consistent with the choice (UA/MS, user) of the Reason Code field for SNs and NRNs.
+
+### 9.1.3 First recipient
+
+The First Recipient field contains the OR Name of the first recipient in a forwarding chain. This field, together with other fields, is used by the recipient of the notification to correlate the notification and the original message.
+
+**FirstRecipientField ::= ORName**
+
+NOTE – OR Name is defined in 8.5.5 of ITU-T Rec. X.411 | ISO/IEC 10021-4. If the receiver of this VN desires the audio version of this recipient it is extracted from a locally held copy of the original subject VM.
+
+If the originator of the VN is not the preferred recipient specified by the VBodyPart originator, then the First Recipient field shall be present in the VN (see 17.3 and more specifically 17.3.1.1).
+
+### 9.1.4 Notice creation time
+
+Notice Creation Time contains the date and time, in UTC format, at which the notification for the subject VM was generated.
+
+**NoticeCreationTimeField ::= UTCTime**
+
+### 9.1.5 VN voice encoding type
+
+The VN Voice Encoding Type field conveys the identity of the voice encoding algorithm used to encode spoken data element fields contained in this notification as well as any additional information needed to decode any spoken data elements by the recipient of this VN. If conversion was performed on the subject VM that this VN references, then its value can be different from the *Voice Encoding Type* field found in the subject VM.
+
+#### **VNVoiceEncodingType ::= VoiceEncodingType**
+
+NOTE – Its syntax is specified in 8.1.12.
+
+### **9.1.6 Conversion indication**
+
+The Conversion Indication common field identifies the EITs contained in the subject VM upon delivery to the VN's originator. Its value is an EIT descriptor. This field is present only if the subject VM was subjected to MTA conversion services for delivery to the VN originator.
+
+The encoding of this field is found in 8.1.4 of ITU-T Rec. X.420 | ISO/IEC 10021-7, and more specifically in 19.4 below.
+
+### **9.1.7 Notification security elements**
+
+The Notification Security Elements field is used to provide "proof/non repudiation of content received", and "Voice security" services.
+
+```
+SecurityElementsField ::= SEQUENCE {
+ original-content [0] Content OPTIONAL, -- from P1
+ original-content-integrity-check [1] ContentIntegrityCheck OPTIONAL, -- from P1
+ vmgs-user-security-elements [2] VMGSUserSecurityElementsField OPTIONAL,
+ security-extensions [3] SecurityExtensionsField OPTIONAL }
+```
+
+**SecurityExtensionsField ::= SET OF SecurityExtensionsSubField**
+
+**SecurityExtensionsSubField ::= ExtensionField**
+
+NOTE – The *VMGS-user Security Elements* field is defined in 8.1.15. Content and Content Integrity Check are defined in, respectively, 8.2.1.1.1.37 and 8.2.1.1.1.28 of ITU-T Rec. X.411 | ISO/IEC 10021-4. Security services are available only if the MTA supports secure messaging.
+
+Subclause 17.1.2 below specifies how these fields are filled in.
+
+### **9.1.8 Original VM spoken subject**
+
+The Original VM Spoken Subject field conveys the value of the *VM Subject* field received in the subject VM. The subject VM is the cause of this VN being generated. If the *VM Subject* field is not provided in the subject VM, then this notification field shall not have a value.
+
+NOTE – *VM Subject* field which contains voice encoded information is defined in 8.1.5.
+
+### **9.1.9 Subject VM other recipients**
+
+The *Subject VM Other Recipients* conveys the identities of the other intended recipients of the subject VM that prompted this notification. If the subject VM was originally addressed to only one recipient and VM Forwarding was not performed, then this field shall be omitted. If the original subject VM had undergone VM Forwarding, then the union of all recipients shall be present in the value of this field.
+
+**SubjectVMOtherRecipients ::= SEQUENCE OF RecipientField**
+
+NOTE – Recipient Field is defined in 8.1.3.1.
+
+### **9.1.10 VN supplementary information**
+
+The VN Supplementary Information field carried in a notification, if present, may be encoded in either IA5 or voice. When present, the duration of (audio encoded) *Spoken Supplementary Information* is not to exceed the upper bounds set as follows.
+
+When VN Supplementary Information contains voice encoded information voice, the encoding is that of the original subject VM. If subject VM had been subject to conversion prior to delivery then the *SpokenSupplementaryInfo* field shall be absent.
+
+```
+VNSupplementaryInfo ::= SEQUENCE {
+ supplementary-info [0] VMSupplementaryInformation OPTIONAL,
+ v-supplementary-info [1] SpokenSupplementaryInfo OPTIONAL }
+```
+
+**SpokenSupplementaryInfo ::= OCTET STRING**
+
+-- Encoding is defined by vn-voice-encoding-type;
+-- Maximum 20 seconds.
+
+NOTE 1 – The value is padded to end on an octet boundary.
+
+NOTE 2 – *VM Supplementary Information* field is defined in 8.2.2.
+
+### 9.1.11 Notifications extensions
+
+The Notification Extensions allows for future extensions to the VN.
+
+**NotificationExtensionsField ::= SET OF NotificationExtensionsSubField**
+
+**NotificationExtensionsSubField ::= ExtensionField**
+
+There are no extensions to the VN defined in this Recommendation. Support requirements for any future extensions shall be in accordance with the corresponding element of service to which the heading extension applies.
+
+Extensions shall not be critical in VNs.
+
+## 9.2 Receipt notifications
+
+A Receipt Notification (RN) indicates that the subject VM has been accepted by a recipient. It is generated, if, and only if, the originator has requested one and the subject VM has been accepted by the user.
+
+The exact procedures which constitute acceptance of message are a local matter; for example, the UA may construct the RN as soon as it passes the message to the user or it may wait for an external stimulus from the user that the message has been accepted and therefore can generate the RN.
+
+An RN may be generated as a result of VM Forwarding. RNs generated as a result of VM Forwarding is described in 17.3.3 and in 18.4.2 when a VMGS-MS is involved.
+
+An RN is composed of Receipt Notification Fields which consist of VN common fields, and may consist of supplementary information, receipt extension fields and the subject VM.
+
+The structure of an RN is defined as follows:
+
+**ReceiptNotificationFields ::= SEQUENCE {**
+ **rn-common-fields** **[0] CommonFields,**
+ **rn-extensions** **[1] NotificationExtensionsField OPTIONAL }**
+
+### 9.2.1 RN common fields
+
+The RN Common Fields carried in this notification are those fields relevant to Receipt notices as specified in 17.3.1.1. The structure of this data type is found in 9.1.
+
+### 9.2.2 Receipt notification extensions
+
+The Receipt Notification Extensions allows for future extensions to the RN.
+
+There are no extensions to the RN defined in this Recommendation. Support requirements for any future extensions shall be in accordance with the corresponding element of service to which the heading extension applies.
+
+Extensions shall not be critical in RNs.
+
+NOTE – The structure of NotificationExtensionsField is defined in 9.1.11.
+
+## 9.3 Service notifications
+
+A Service Notification (SN) is sent by a UA, if and only if the originator has requested one. It conveys the semantic that the VMGS-UA or VMGS-MS has been presented the subject VM although the subject VM contained *Optional Additional* elements of service that were not available to the recipient.
+
+NOTE – This notice is not supported in IPM.
+
+Service Notification fields are defined and described below.
+
+**ServiceNotificationFields ::= SEQUENCE {**
+ **sn-common-fields** **[0] CommonFields,**
+ **sn-reason-code-field** **[1] SNReasonCode,**
+ **sn-extensions** **[2] NotificationExtensionsField OPTIONAL }**
+
+### 9.3.1 SN common fields
+
+The SN Common Fields carried in this notification are those fields relevant to a Service Notification as specified in 17.3.2.1. The structure of this data type is found in 9.1.
+
+### 9.3.2 Service notification reason
+
+Generally, the Service Notification Reason indicates that the subject VM was passed to the VMGS-UA or VMGS-MS generating this notice and that one or more requested elements of service are not available to that user. If the SN Reason
+
+Field has the value "*unspecified*", additional information may be carried in any combination of a Diagnostic field or the VN Supplementary Info field. Depending on the security policy in force, the security error diagnostic code may or may not be present. Any SN Reason Code value set to **TRUE** indicates that this requested optional element of service is not available to the VMGS-user. The receiving VMGS-UA or VMGS-MS may be authorized to initiate a SN on behalf of the receiving user.
+
+```
+
+SNReasonCode ::= SEQUENCE {
+ sn-reason [0] SNReasonField,
+ sn-diagnostic [1] SNDiagnosticField OPTIONAL }
+-- Service Notification Basic Reason Codes from a VMGS-UA or VMGS-MS or VMGS-TSAU. These codes are those
+-- specified in Annex B/F.440 for the Element of Service "VM Notification Request".
+
+```
+
+```
+
+SNReasonField ::= BIT STRING {
+ unspecified (0),
+ auto-forwarding-ind (1),
+ language-ind (2),
+ obsoleting-ind (3),
+ attendant-assisted-delivery-request (4),
+ expiry-date-ind (5),
+ body-part-encryption-ind (6) } (SIZE (1..ub-sn-reasons))
+-- Service Notification Diagnostic Codes from a VMGS-UA or VMGS-MS
+
+```
+
+```
+
+SNDiagnosticField ::= INTEGER {
+-- This field may be used to further specify the error signalled in sn-ua-ms-basic-code.
+-- Additional information may be indicated in sn-supplementary-information.
+
+```
+
+-- general diagnostic codes
+
+```
+
+language-national-usage-problem (1),
+-- used if the national usage of the language included is incompatible
+
+```
+
+```
+
+vm-language-not-understood (2),
+-- language not understood by this recipient
+
+```
+
+```
+
+vm-unsupported-voice-encoding (3),
+-- recipient does not support the VM's encoding
+
+```
+
+-- security error diagnostic codes
+
+```
+
+local-security-not-supported (4) } (1..ub-vn-reason-code)
+
+```
+
+### 9.3.3 Service notification extensions
+
+The Service Notification Extensions allows for future extensions to the SN.
+
+There are no extensions to the SN defined in this Recommendation. Support requirements for any future extensions shall be in accordance with the corresponding element of service to which the heading extension applies.
+
+Extensions shall not be critical in SNs.
+
+NOTE – SN Extensions, which is defined to be the field NotificationExtensionsField, is defined in 9.1.11.
+
+## 9.4 Non-receipt notifications
+
+A Non-Receipt Notification (NRN) is sent by a UA, if and only if the originator has requested one, when the UA determines that it cannot accept the message, or decides to forward the VM and the Voice Notification Requests contained in the VM, to another UA.
+
+Non-Receipt Notification fields are defined and described below.
+
+```
+
+NonReceiptNotificationFields ::= SEQUENCE {
+ nrn-common-fields [0] CommonFields,
+ nrn-reason-codes [1] VNRNReasonCodeField,
+ nrn-extensions [2] NotificationExtensionsField OPTIONAL }
+
+```
+
+### 9.4.1 NRN common fields
+
+The NRN Common Fields carried in this notification are those fields relevant to a Non-Receipt Notification as specified in 17.3.3.6. The structure of NRNCommonFields is found in 9.1.
+
+### 9.4.2 Non-receipt reason codes
+
+A VN Non-Receipt Reason Codes field indicates why the subject VM could not be accepted by the user of the UA originating the VN. If any Basic Code field has the value "unspecified", additional information may be carried in any combination of a Diagnostic field or the VN Supplementary Information field. Depending on the security policy in force, the security error diagnostic may or may not be present.
+
+```
+VNRNReasonCodeField ::= CHOICE {
+ nrn-ua-ms-reason-code [0] VNRNUAMSReasonCodeField,
+ nrn-user-reason-code [1] VNRNUserReasonCodeField,
+ nrn-tsau-reason-code [2] VNRNTSAUReasonCodeField }
+```
+
+-- NRN Reason Codes from a VMGS-UA or VMGS-MS.
+
+```
+VNRNUAMSReasonCodeField ::= SEQUENCE {
+ nrn-ua-ms-basic-codes [0] VNRNUAMSBasicCodeField,
+ nrn-ua-ms-diagnostics [1] VNRNUAMSDiagnosticField OPTIONAL }
+```
+
+-- VN NRN Basic Reason Codes from a VMGS-UA or VMGS-MS.
+
+```
+VNRNUAMSBasicCodeField ::= INTEGER {
+ unspecified (0),
+ auto-forwarded (1),
+ can-not-pass-to-mhs-user (2),
+ delivery-timeout (3),
+ message-discarded (4),
+ subscription-terminated (5),
+ forwarding-error (6),
+ security-error (7),
+ message-forwarded (8),
+ voice-encoding-not-supported (9) } (0..ub-vn-reason-code)
+```
+
+-- NRN Diagnostic Codes from a VMGS-UA or VMGS-MS or TSAU.
+
+```
+VNRNUAMSDiagnosticField ::= INTEGER {
+ -- This field may be used to further specify the error
+ -- signalled in the field "nrn-ua-ms-basic-codes".
+ -- Additional information may be
+ -- indicated in the "vn-supplementary-info" field.
+
+ protocol-violation (0) -- this is a place holder
+ } (0..ub-vn-reason-code)
+```
+
+-- NRN Reason Codes from a VMGS-User.
+
+```
+VNRNUserReasonCodeField ::= SEQUENCE {
+ vn-user-basic-codes [0] VNRNUserBasicCodeField,
+ vn-user-diagnostics [1] VNRNUserDiagnosticField OPTIONAL }
+```
+
+-- VN NRN Basic Reason Codes from a VMGS-User.
+
+```
+VNRNUserBasicCodeField ::= INTEGER {
+ unspecified (0),
+ user-defined-reason (1) -- this is a place holder
+ } (0..ub-vn-reason-code)
+```
+
+-- VN NRN Basic Reason Codes from a VMGS-User.
+
+```
+VNRNUserDiagnosticField ::= INTEGER
+ -- Contains the reason passed by the user when the value
+ -- of "nrn-user-basic-code" is "user-defined-reason".
+ -- Additional information may be indicated in the
+ -- "vn-supplementary-info" field. The values used in this field
+ -- are outside the scope of this Recommendation.
+```
+
+-- NRN Reason Codes from a TSAU-User.
+
+```
+VNRNTSAUReasonCodeField ::= SEQUENCE {
+ nrn-user-basic-codes [0] VNRNTSAUBasicCodeField,
+```
+
+```
+
+VNRNTSAUReasonBasicCodeField ::= INTEGER {
+ attendant-assisted-delivery-failure (0),
+ unknown-telephone-number (1),
+ attendant-assisted-delivery-not-provided (2),
+ delivery-timeout (3),
+ security-error (4),
+ message-forwarded (5),
+ unspecified (6),
+ inappropriate-voice-encoding (7),
+ telephone-number-unreachable (8),
+ recipient-refused-message (9),
+ no-answer-on-every-attempt (10),
+ busy-on-every-attempt (11),
+ no-answer-or-busy-on-every-attempt (12),
+ sensitivity-not-supported (13),
+ importance-not-supported (14),
+ busy-on-every-attempt (15)
+-- TSAU providers may define additional values above (1000). }
+
+VNRNTSAUDiagnosticField ::= INTEGER {
+ person-to-person-spoken-name-not-provided (0),
+ person-unavailable (1),
+ number-not-in-service (2),
+ message-expired (3),
+ importance-not-conveyed (4)
+} (0..ub-vn-reason-code)
+
+```
+
+### 9.4.3 NRN extensions
+
+The NRN Extensions field allows for future extensions to the structure of an NRN.
+
+There are no extensions to the NRN defined in this Recommendation. Support requirements for any future extensions shall be in accordance with the corresponding element of service to which the heading extension applies.
+
+Extensions shall not be critical in NRNs.
+
+NOTE – NRN Extensions, which is defined to be the field NotificationExtensionsField, is defined in 9.1.11.
+
+# 10 Primary object types
+
+The environment in which Voice Messaging takes place can be modelled as an abstract object which is hereafter referred to as the Voice Messaging Environment (VMGE).
+
+**vmge OBJECT ::= id-ot-vmge**
+
+When refined (i.e. functionally decomposed), the VMGE can be seen to comprise lesser objects which interact by means of ports.
+
+```
+
+vmge-refinement REFINE vmge AS
+ vmgs
+ origination [S] PAIRED WITH vmgs-user
+ reception [S] PAIRED WITH vmgs-user
+ management [S] PAIRED WITH vmgs-user
+ vmgs-user RECURRING
+ ::= id-ref-primary
+
+```
+
+The lesser objects are referred to as the primary objects of Voice Messaging. They include a single, central object, the Voice Messaging System (VMGS), and numerous peripheral objects called Voice Messaging System users (users). The structure of the VMGE is depicted in Figure 4.
+
+
+
+Diagram of the voice messaging environment (VMGE). A large oval labeled 'VMGE' contains a central oval labeled 'VMGS' and two smaller ovals labeled 'User' on either side. The 'User' ovals have three small circles representing ports. Lines connect these ports to the 'VMGS' oval. The connections are labeled 'Origination Management' and 'Reception' on both sides. The 'VMGS' oval also has three small circles representing ports. The diagram is labeled 'T0711620-91/d04' in the bottom right corner.
+
+Figure 4/X.440 – The voice messaging environment
+
+The primary object types are defined and described below. The types of ports by means of which they interact are discussed in clause 11.
+
+## 10.1 Voice messaging system user
+
+A Voice Messaging System user (VMGS-user) is typically a human that engages in Voice Messaging. Such a person is referred to by the term "user" in this Recommendation as identified earlier in 7.1. A user originates, receives, or both originates and receives Information Objects of the types defined in clause 6. Hence, a VMGS-user object is defined as follows:
+
+```
+
+vmgs-user OBJECT
+ PORTS {
+ origination [C],
+ reception [C],
+ management [C] }
+ ::= id-ot-vmgs-user
+
+```
+
+The VMGE comprises any number of users.
+
+NOTE – Voice messaging is typically an activity between two or more humans. The primary access device is anticipated to be a telephone hand set. This does not preclude the possibility of human interaction with the information processing systems which are performing voice messaging adjunct services, or more direct interaction of a human user with the VMGS. These information processes are referred to as Voice applications.
+
+## 10.2 Voice messaging system
+
+The Voice Messaging System is the object by means of which all users communicate a voice message (VM) with one another in Voice Messaging. Users may choose to use interpersonal messaging systems to exchange voice encoded messages which is described in ITU-T Rec. X.420. As the primary communication object for Voice Messaging, VMGS supplies the services of message origination, reception, and management through *ports*. The VMGS object is defined as follows:
+
+```
+
+vmgs OBJECT
+ PORTS {
+ origination [S],
+ reception [S],
+ management [S] }
+ ::= id-ot-vmgs
+
+```
+
+The VMGE comprises exactly one VMGS.
+
+# 11 Primary port types
+
+The primary objects of Voice Messaging are joined to and interact with one another by means of ports. These ports, which the VMGS supplies, are referred to as the primary ports of Voice Messaging. They are of the types defined below.
+
+NOTE – In clause 15, the VMGS is decomposed into still lesser objects, among which is the MTS. This fact is anticipated here by the inclusion of certain MTS capabilities in the VMGS Abstract Service.
+
+## 11.1 Origination port
+
+An Origination Port is the means by which a single user conveys to the VMGS messages containing Information Objects of the types defined in clause 6. Through such a port the user originates a Voice Message and a Voice Notification. A Voice Notification is a Receipt Notification (RN), a Non-Receipt Notification (NRN), and a Service Notification (SN). The abstract operations available at the origination port are defined as:
+
+```
+origination PORT
+ CONSUMER INVOKES {
+ OriginateVM,
+ OriginateVN }
+ ::= id-pt-origination
+```
+
+The VMGS supplies one Origination Port to each user (with the exception of indirect users served by TSAUs (see 15.3)).
+
+## 11.2 Reception port
+
+A Reception Port is the means by which the VMGS conveys to a single user messages containing Information Objects of the types defined in clause 6. Through such a port the user receives Voice Messages and Voice Notifications. In addition, the user may receive Delivery and Non-Delivery reports through such a port. The abstract operations available at the reception port are defined to be:
+
+```
+reception PORT
+ SUPPLIER INVOKES {
+ ReceiveReport,
+ ReceiveVM,
+ ReceiveVN }
+ ::= id-pt-reception
+```
+
+The VMGS supplies one Reception Port to each user.
+
+## 11.3 Management port
+
+A Management Port is the means by which a single user changes personally managed information that is recorded within the VMGS. The specific types of information is defined in clause 6. By means of such a port the user enables and disables auto-discard, -acknowledgement, and -SNs, and -forwarding. The abstract operations available at the management port are defined as:
+
+```
+management PORT
+ CONSUMER INVOKES {
+ ChangeAutoDiscard,
+ ChangeAutoAcknowledgements,
+ ChangeAutoSNotice,
+ ChangeAutoForwarding }
+ ::= id-pt-management
+```
+
+# 12 Abstract operations
+
+What follows defines the abstract service that characterizes Voice Messaging, and describes the environment in which that service is supplied and consumed. It does both using the abstract service definition conventions of CCITT Rec. X.407 and ISO/IEC 10021-3.
+
+The VMGS Abstract Service is the set of capabilities that the VMGS provides to each user by means of one Origination Port, one Reception Port and one Management Port. These capabilities are modelled as abstract operations, which may encounter abstract errors when invoked.
+
+The purpose of the VMGS Abstract Service definition is not to prescribe the interface between the VMG-user and the VMGS-UA, but rather to clarify the meaning and intended use of the Information Objects. A user interface need not provide commands in one-to-one correspondence to the service's abstract operations, nor indeed even divide the labour between the user and the VMGS as the service does.
+
+The abstract operations available at the Origination Port and Reception Port are defined and described below. The abstract errors they may provoke are the subject of clause 13.
+
+The VMGS Abstract Service involves neither abstract bind nor abstract unbind operations.
+
+The VMGS authenticates (i.e. establishes the identity of) the typical user before offering the VMGS Abstract Service to him. By this means it can verify, e.g., that the user is a VMG subscriber. Authentication, where required, is implicit (rather than explicit) in the definition of the VMGS Abstract Service.
+
+NOTE – In clause 15, the VMGS is decomposed into objects among which is the MTS. The text here reflects this fact by its inclusion of various MTS-defined information items in the VMGS Abstract Service.
+
+## 12.1 Origination abstract operations
+
+The abstract operations available at an origination port are invoked by the user and performed by the VMGS.
+
+### 12.1.1 Originate VM
+
+The Originate VM abstract operation originates a message whose content is a VM.
+
+```
+
+OriginateVM ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ envelope [0] MessageSubmissionEnvelope,
+ content [1] VM }
+ RESULT SET {
+ submission-identifier [0] MessageSubmissionIdentifier,
+ submission-time [1] MessageSubmissionTime }
+ ERRORS {
+ SubscriptionError,
+ RecipientImproperlySpecified }
+
+```
+
+This abstract operation has the following arguments:
+
+- a) **Envelope:** A message submission envelope as defined by the MTS Abstract Service. The UA supplies all but the following envelope components, which the user provides:
+ - 1) The desired per-message options (i.e. priority, per-message indicators, deferred delivery time, and extensions).
+ - 2) The OR Names of the preferred recipients and the per-recipient options (i.e. originator report request, explicit conversion, and extensions) desired for each.
+- b) **Content:** The VM being originated. If application to application security services are required, the user shall supply the value for the Voice Application Security Elements field.
+
+This abstract operation has the following results:
+
+- c) **Submission-identifier:** The message submission identifier the MTS assigns to the submission.
+- d) **Submission-time:** The date and time the message was directly submitted.
+
+### 12.1.2 Originate voice notifications
+
+The Originate VN abstract operation originates a message whose content is a VN. A VN may be either a RN, NRN or SN.
+
+```
+
+OriginateVN ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ envelope [0] MessageSubmissionEnvelope,
+ content [1] VNType }
+ RESULT SET {
+ submission-identifier [0] MessageSubmissionIdentifier,
+ submission-time [1] MessageSubmissionTime }
+ ERRORS {
+ SubscriptionError,
+ RecipientImproperlySpecified }
+
+VNType ::= CHOICE {
+ [0] RN,
+ [1] NRN,
+ [2] SN }
+
+```
+
+A user may, if notifications are requested, invoke an Originate VN abstract operation to indicate to the UA that it should accept, refuse or forward the subject VM, or generate a SN. The exact type of VN to be generated (RN or NRN or SN) is determined from the VN structure conveyed in the Content argument.
+
+A VN shall be originated only by an actual recipient of the subject VM from whom a VN is requested by means of the Voice Notification Request field of the subject VM's Recipient field.
+
+The user shall not have previously originated a VN in response to the subject VM requested voice notice type, by means of either the present abstract operation or auto-acknowledgement.
+
+A user may delegate the task of generating VNs to the UA. In this case, this abstract operation is not present at the abstract interface between the UA and the user, that is, the operation is not available at the Origination Port. In this case the UA behaves as described in 17.3.
+
+This abstract operation has the following arguments:
+
+- a) **Envelope:** A message submission envelope as defined by the MTS Abstract Service. The UA supplies all but the following envelope components, which the user provides:
+ - 1) The desired per-message options (i.e. priority, per-message indicators, and extensions). Implicit conversion shall be prohibited; priority is that of the subject VM.
+ - 2) The OR Names of the preferred recipients and the per-recipient options (i.e. explicit conversion and extensions) desired for each. The preferred recipient of the VN is the originator of the subject VM or, if present, the OR Name indicated in the VN Receiver field. Reports shall not be requested.
+- b) **Content:** The VN type (RN/NRN/SN) being originated.
+ - 1) The user shall supply the value for the VN type being originated as part of the notification structure.
+ - 2) If UA-to-UA security services are required, the user shall supply the value for the VM Application Security Elements field and in accordance with the user's security policy.
+
+The VN shall be constructed as described in 17.3.
+
+This abstract operation has the following results:
+
+- c) **Submission-identifier:** The message submission identifier the MTS assigns to the submission.
+- d) **Submission-time:** The date and time the message was directly submitted.
+
+## 12.2 Reception abstract operations
+
+The abstract operations available at a Reception Port are invoked by the VMGS and performed by the user.
+
+NOTE – As abstractly defined, the VMGS provides no storage for received messages because the provisioning of said storage does not impact that user's ability to communicate with other VMGS-users. Thus the provision of storage is a local matter.
+
+### 12.2.1 Receive Report
+
+The Receive Report abstract operation receives a report.
+
+```
+
+ReceiveReport ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ envelope
+ undelivered-object [0] ReportDeliveryEnvelope,
+ [1] InformationObject OPTIONAL }
+ RESULT
+ ERRORS { }
+
+```
+
+A report may be received as a result of either:
+
+- a) The invocation of an Originate-VM abstract operation of a VM or by forwarding.
+- b) A message whose content was a VN that was originated as a result of a previously received message. The VN could be any of RN, SN or NRN.
+
+This abstract operation has the following arguments:
+
+- c) **Envelope:** A report delivery envelope, whose make-up the MTS Abstract Service defines.
+- d) **Undelivered-object:** The content of the message whose status is being reported. A VM or VN.
+If the report was provoked by a previous Originate VM abstract operation invocation, the argument shall be present if, and only if, P1 content return was requested.
+
+This abstract operation has no results.
+
+### 12.2.2 Receive VM
+
+The Receive VM abstract operation receives a message whose content is a VM.
+
+```
+
+ReceiveVM ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ envelope
+ content [0] MessageDeliveryEnvelope,
+ [1] VM }
+ RESULT
+ ERRORS { }
+
+```
+
+This abstract operation has the following arguments:
+
+- a) **Envelope:** The message's delivery envelope.
+- b) **Content:** The VM that is the message's content.
+
+This abstract operation has no results.
+
+When the received VM contains a VM Body Part (that is, when the original VM has been forwarded), it may be necessary to scan several levels of nested Heading fields in order to determine the correct original value for optional Heading fields (see 8.2.2 for the nested structure of a forwarded VM and 17.3.3 for rules related to Heading fields).
+
+### 12.2.3 Receive VN
+
+The Receive VN abstract operation receives a message whose content is a VN. The VN is provoked by a VM originated with the Originate VM abstract operation. A voice notification may be a RN, NRN or SN.
+
+```
+ReceiveVN ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ envelope [0] MessageDeliveryEnvelope,
+ content [1] VN }
+ RESULT
+ ERRORS { }
+```
+
+This abstract operation has the following arguments:
+
+- a) **Envelope:** The message's delivery envelope.
+- b) **Content:** The VN that is the message's content. A voice notification may be a RN, NRN or SN.
+
+This abstract operation has no results.
+
+## 12.3 Management abstract operations
+
+### 12.3.1 Change auto-discard
+
+The Change auto-discard abstract operation enables or disables auto-discard, the automatic discard by the Voice Messaging System of expired or obsolete messages delivered to, but not yet received by the user.
+
+```
+ChangeAutoDiscard ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ auto-discard-expired-VM [0] BOOLEAN,
+ auto-discard-obsolete-VM [1] BOOLEAN }
+ RESULT
+ ERRORS { }
+```
+
+When it auto-discards a message, the Voice Messaging System originates a NRN on the user's behalf if, and only if, one was requested by the originator. This request is indicated by means of the V-notification-requests component of the subject VM's VNotificationRequestsField.
+
+This abstract operation has the following arguments:
+
+- a) **auto-discard-expired-VM:** Whether or not *expired* VMs are to be automatically discarded by the Voice Messaging System. A Boolean.
+- b) **auto-discard-obsolete-VM:** Whether or not *obsolete* VMs are to be automatically discarded by the Voice Messaging System. A Boolean.
+
+This abstract operation does not have any results.
+
+### 12.3.2 Change auto-acknowledgement
+
+The Change auto-acknowledgement abstract operation enables or disables auto-acknowledgement, the automatic origination of RNs by the VMGS-MS on the user's behalf. The automatic origination of RNs occurs on delivery of VMs that request RNs of the user. This request is conveyed by means of the V-notification-requests component of the subject VM's VNotificationRequestsField.
+
+```
+ChangeAutoAcknowledgements ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ auto-acknowledge-VM [0] BOOLEAN,
+ auto-acknowledge-suppl-recipient-info [1] VNSupplementaryInfo OPTIONAL }
+ RESULT
+ ERRORS { SubscriptionError }
+```
+
+This abstract operation has the following arguments:
+
+- a) **auto-acknowledge-VM:** Whether or not the VMs are to be auto-acknowledged. This is a mandatory, Boolean argument.
+- b) **auto-acknowledge-suppl-recipient-info:** The *supplemental receipt-information* receipt field of each RN provoked by auto-acknowledgment.
+The conditional argument, *auto-acknowledge-suppl-receipt-info*, shall be present if, and only if, the auto-acknowledge-VMs argument has the value *true*.
+
+This abstract operation does not have any results.
+
+### 12.3.3 Change auto-forwarding
+
+The Change auto-forwarding abstract operation enables or disables auto-forwarding, i.e. the automatic forwarding of VMs by the Voice Messaging System to pre-specified users or DLs. Such forwarding occurs after delivery of the VM.
+
+```
+
+ChangeAutoForwarding ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ auto-forward-VM [0] BOOLEAN,
+ auto-forward-recipients [1] SEQUENCE OF RecipientField OPTIONAL,
+ auto-forward-heading [2] Heading OPTIONAL,
+ auto-forward-comment [2] VNSupplementaryInfo OPTIONAL }
+ RESULT
+ ERRORS {
+ SubscriptionError,
+ RecipientImproperlySpecified }
+
+```
+
+The Body for each VM, namely the VM originated as a result of auto-forwarding, comprises a single body part of type *message*, as in the IPMS. The content of the message represented by that body part is the forwarded VM.
+
+When it auto-forwards a VM, the VMG application entity originates a NRN on the user's behalf if, and only if, one was requested of the recipient by means of the V-notification-requests component of the subject VM's V Notification Requests Field.
+
+This abstract operation has the following arguments:
+
+- a) **auto-forward-VM:** Whether or not VMs are to be auto-forwarded. This is a mandatory, Boolean argument.
+- b) **auto-forward-recipients:** The user or DLs to which VMs are to be auto-forwarded. Optionally, the recipient spoken name may be included. A sequence of OR names.
+The conditional argument, auto-forward-recipients, shall be present if, and only if, the auto-forward-VMs argument has a value of **true**.
+- c) **auto-forward-heading:** The VM heading that is to be used for each forwarded VM. The heading's *auto-forwarded* field shall have the value *true*.
+The conditional argument, auto-forward-heading, shall be present if, and only if, the auto-forward-VMs argument has the value **true**.
+- d) **auto-forward-comment:** The value that is to be supplied as the auto-forward comment non-receipt field of each NRN conveyed to the originator of an auto-forwarded VM.
+The conditional argument, auto-forward-comment, shall be present if, and only if, the auto-forwarded-VMs agreement has the value **true**.
+
+This abstract operation does not have any results.
+
+NOTE – This abstract operation is intended to define the essence of auto-forwarding, and sophisticated auto-forwarding capabilities, e.g., like those of an MS.
+
+### 12.3.4 Change auto-SNotice
+
+The Change auto-SNotice abstract operation enables or disables auto-SNotice, the automatic origination of SNs by the Voice Messaging System on the user's behalf. The automatic origination of SNs occurs on delivery of VMs that request SNs of the user. This request is conveyed by means of the V-notification-requests component of the subject VM's V Notification Requests Field.
+
+```
+
+ChangeAutoSNotice ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ auto-SNotice [0] BOOLEAN,
+ auto-service-status-info [1] EOSSupportIndicator,
+ auto-SN-suppl-recipient-info [2] VNSupplementaryInfo OPTIONAL }
+ RESULT
+ ERRORS { SubscriptionError }
+
+```
+
+```
+
+EOSSupportIndicator ::= BIT STRING {
+ unspecified (0),
+ auto-forwarding-ind (1),
+ language-ind (2),
+ obsoleting-ind (3),
+ attendant-assisted-delivery-request (4),
+ expiry-date-ind (5),
+ body-part-encryption-ind (6) } (SIZE (2..ub-sn-reasons)) -- setting any bit on, indicates
+ -- non-support
+
+```
+
+This abstract operation has the following arguments:
+
+- a) **auto-SNotice:** Determines whether or not the SNs are to be automatically generated. This is a mandatory, Boolean argument.
+- b) **auto-service-status-info:** The value for SN Reason Field to be included in each SN provoked by auto-SNotice.
+The conditional argument, *auto-service-status-info*, shall be present if, and only if, the auto-SNotice argument has the value **true**.
+- c) **auto-SN-suppl-recipient-info:** The value that is to be supplied as the comment of each SN conveyed to the originator of the subject VM.
+The conditional argument, *auto-SN-suppl-recipient-info*, shall be present if, and only if, the **auto-SNotice** argument has the value **true**.
+
+This abstract operation does not have any results.
+
+## 12.4 Performance of management operations
+
+A UA shall perform the abstract operation it makes available at its management port as specified below. The UA alters one or more of its state variable (see below) in the performance of each operation.
+
+NOTE – In response to the invocation of these abstract operations, a UA reports abstract errors as appropriate. Specification of the precise circumstances under which each error should be repeated is beyond the scope of this Recommendation.
+
+### 12.4.1 Change auto-discard
+
+To assist it in providing the abstract operation, a UA maintains the following state variables:
+
+- a) **Auto-discard-expired-VMs:** A Boolean that indicates whether or not *auto-discard* is in effect for expired VMs.
+- b) **Auto-discard-obsolete-VMs:** A Boolean that indicates whether or not *auto-discard* is in effect for obsolete VMs.
+
+A UA shall perform the *change auto-discard* abstract operation by recording the values of the *auto-discard-expired-VMs* and *auto-discard-obsolete-VMs* arguments in the corresponding named state variables.
+
+### 12.4.2 Change auto-acknowledgment
+
+To assist it in providing this abstract operation, a UA maintains the following state variables:
+
+- a) **auto-acknowledge-VMs:** A Boolean that indicates whether or not *auto-acknowledge* is in effect.
+- b) **auto-acknowledge-suppl-receipt-info:** The supplemental receipt information field of each RN provoked by *auto-acknowledgment*.
+
+A UA shall perform the *change auto-acknowledgment* abstract operation by recording the value of the *auto-acknowledge-VMs* argument in the correspondingly named state variable. If the value is **true**, it also shall record the value of the *auto-acknowledge-suppl-receipt-info* argument in the correspondingly named state variable.
+
+### 12.4.3 Change auto-forwarding
+
+To assist it in providing this abstract operation, a UA maintains the following state variables:
+
+- a) **auto-forward-VMs:** A Boolean that indicates whether or not *auto-forwarding* is in effect.
+- b) **auto-forward-recipients:** A sequence of OR names that identify the users and DLs to which VMs are being auto-forwarded.
+- c) **auto-forward-heading:** The VM heading of each forwarded VM provoked by auto-forwarding. Its auto-forwarded field has the value **true**.
+- d) **auto-forward-comment:** The auto-forward comment non-receipt field of each NRN conveyed to the originator of an auto-forwarded VM.
+
+A UA shall perform the *change auto-forwarding* abstract operation by recording the value of the *auto-forward-VMs* argument in the correspondingly named state variable. If the value is **true**, it also shall record the value of the *auto-*
+
+*forward-recipients*, *auto-forward-heading*, and *auto-forward-comment* arguments in the correspondingly named state variables.
+
+### 12.4.4 Change auto-SNotice
+
+To assist it in providing this abstract operation, a UA maintains the following state variables:
+
+- a) **auto-SNotice:** A Boolean that indicates whether or not *auto-SNotices* is in effect.
+- b) **auto-service-status-info:** The value to be used to determine the SN information to the originator of the subject VM when the SN is automatically generated.
+- c) **auto-SN-suppl-recipient-info:** The value that is to be supplied as the comment of each SN conveyed to the originator of the subject VM.
+
+A UA shall perform the *change auto-SNotice* abstract operation by recording the value of the *auto-SNotice* argument in the correspondingly named state variable. If the value is **true**, the UA also shall record the values of the *auto-service-status-info* and *auto-SN-suppl-recipient-info* arguments in the correspondingly named state variables.
+
+# 13 Abstract errors
+
+The abstract errors that may be reported in response to the invocation of the abstract operations available at the Origination Port, Reception Port and Management Ports are defined and described below or as part of the MTS Abstract Service definition.
+
+The set of abstract errors represented below is intended to be illustrative, rather than exhaustive.
+
+## 13.1 Subscription error
+
+The **subscription error** abstract error reports that the user has not subscribed to one or more of the elements of service in his invocation of the abstract operation whose performance is aborted.
+
+```
+SubscriptionError ::= ABSTRACT-ERROR
+ PARAMETER SET {
+ problem [0] SubscriptionProblem }
+```
+
+This abstract error has the parameter:
+
+- **problem:** The subscription-related problem encountered.
+
+```
+SubscriptionProblem ::= ENUMERATED {
+ vm-eos-not-subscribed (0),
+ mts-eos-not-subscribed (1) }
+```
+
+This parameter may assume any one of the following values:
+
+- i) **vm-eos-not-subscribed:** A VM element of service is not subscribed.
+- ii) **mts-eos-not-subscribed:** A MTS element of service is not subscribed.
+
+## 13.2 Recipient improperly specified
+
+The Recipient Improperly Specified abstract error reports that one or more of the OR Names supplied as arguments of the abstract operation whose performance is aborted, or as components of its arguments, are invalid.
+
+This abstract error is defined by the MTS Abstract Service.
+
+# 14 Other capabilities
+
+In addition to the capabilities embodied in the VMGS Abstract Service, defined above, the VMGS shall transparently extend to each user the other MS (see ITU-T Rec. X.413 | ISO/IEC 10021-5) and MTS (see ITU-T Rec. X.411 | ISO/IEC 10021-4) capabilities identified below. (The enumeration of these capabilities necessarily anticipates the fact, stated in clause 15, that MSs and the MTS are among the VMGS' component parts.)
+
+The following additional capabilities shall be provided:
+
+- a) **Submission:** Capabilities of the MS' or MTS' submission port not embodied in the VMGS Abstract Service, e.g., the ability to cancel delivery of a previously originated message whose content is a VM (but not a VN), if deferred delivery was selected.
+
+- b) **Delivery:** Capabilities of the MTS' delivery port not embodied in the VMGS Abstract Service, e.g., the ability to temporarily control the kinds of information objects the MTS conveys to the user's UA.
+- c) **Administration:** The capabilities of the MS's or MTS's administration port.
+- d) **Retrieval:** The capabilities of the MS' retrieval port.
+
+In addition to the above and as a local matter, the VMGS may provide to users additional capabilities neither defined nor limited by this Recommendation. Among such capabilities are those of the Directory.
+
+NOTE – The required capabilities above are excluded from the formal definition of the VMGS Abstract Service for purely pragmatic reasons, in particular, because their inclusion would largely and needlessly reproduce the definitions of the MS and MTS abstract operations upon which the capabilities are based.
+
+# 15 Secondary object types
+
+The VMGS can be modelled as comprising lesser objects which interact with one another by means of (additional) ports.
+
+| | |
+|---------------------------------------|---------------------------------------|
+| vmgs-refinement REFINE vmgs AS | |
+| mts | |
+| submission | [S] PAIRED WITH vmg-ua, vmg-ms |
+| delivery | [S] PAIRED WITH vmg-ua, vmg-ms |
+| administration | [S] PAIRED WITH vmg-ua, vmg-ms |
+| vmg-ua RECURRING | |
+| origination | [S] VISIBLE |
+| reception | [S] VISIBLE |
+| management | [S] VISIBLE |
+| vmg-ms RECURRING | |
+| submission | [S] PAIRED WITH vmg-ua |
+| retrieval | [S] PAIRED WITH vmg-ua |
+| administration | [S] PAIRED WITH vmg-ua |
+| tsau RECURRING | |
+| origination | [S] VISIBLE |
+| reception | [S] VISIBLE |
+| management | [S] VISIBLE |
+| ::= id-ref-secondary | |
+
+These lesser objects are referred to as the secondary objects of Voice Messaging. They include a single, central object, the MTS, and numerous peripheral objects: Voice messaging system user agents (VMGS-UA), Voice messaging system message stores (VMGS-MS), and Telephone service access unit(s) (TSAU).
+
+The structure of the VMGS is depicted in Figure 5. As shown by the figure, VMGS-UAs, VMGS-MSs, and TSAUs are the instruments by means of which the VMGS provides the VMGS Abstract Service to users.
+
+
+
+**Figure 5/X.440 – The voice messaging system**
+
+Figure 5/X.440 – The voice messaging system diagram showing interconnections between User, UA, MS, MTS, and TSAU objects with various port types.
+
+The secondary object types are defined and described below. The types of ports by means of which they interact are discussed in clause 16.
+
+The refinement above encompasses all possible interconnections of all possible objects. It ignores the possible absence of objects of a particular type (e.g., TSAU), and specific logical configurations of the MS. The latter are identified in ITU-T Rec. X.402 | ISO/IEC 10021-2.
+
+The MTS supplies import and export ports. However, since those ports are not formally defined (in ITU-T Rec. X.411 | ISO/IEC 10021-4), they are not included in the formal refinement above.
+
+### 15.1 VMGS user agent
+
+An VMGS user agent (VMGS-UA) is a UA tailored so as to better assist a single user to engage in Voice Messaging. It helps the user originate, receive, or both originate and receive messages containing Information Objects of the types defined in clause 6.
+
+```
+vmg-ua OBJECT
+ PORTS {
+ origination [S],
+ reception [S],
+ management [S],
+ submission [C],
+ delivery [C],
+ retrieval [C],
+ administration [C] }
+::= id-ot-vmg-ua
+```
+
+The VMGS comprises any number of VMGS-UAs.
+
+NOTE – As noted above, the term user agent (UA) is used throughout this Recommendation with the meaning of VMGS-UA.
+
+### 15.2 VMGS message store
+
+An VMGS message store (VMGS-MS) is an MS tailored so as to better assist a single UA engaged in Voice Messaging. It helps it submit, take delivery of, or both submit and take delivery of messages containing Information Objects of the types defined in clause 6.
+
+```
+vmg-ms OBJECT
+ PORTS {
+ submission [S],
+ retrieval [S],
+```
+
+32 ITU-T Rec. X.440 (06/99)
+
+```
+
+administration [S],
+submission [C],
+delivery [C],
+administration [C] }
+::= id-ot-vmg-ms
+
+```
+
+The VMGS comprises any number of VMGS-MSs.
+
+NOTE – As noted above, the term message store (MS) is used throughout this Recommendation with the meaning of VMGS-MS.
+
+## 15.3 Telephone service access unit
+
+A Telephone Service access unit (TSAU) is an AU that enables a Telephone System direct user be an indirect user of Voice Messaging from a Telephone network's terminal. A TSAU helps the user originate, receive, or both originate and receive messages containing Information Objects of the types defined in clause 6.
+
+```
+
+tsau OBJECT
+PORTS {
+ origination [S],
+ reception [S],
+ management [S] }
+::= id-ot-tsau
+
+```
+
+NOTE 1 – The TSAU consumes *Import* and *Export*. However, since they are not formally defined in ITU-T Rec. X.411 | ISO/IEC 10021-4, they are not included in this formal definition of a TSAU.
+
+NOTE 2 – It is unlikely that a TSAU will be able to handle non-voice encoded body parts on reception from VM direct users. In other words, sending a message consisting of non-voice encoded body parts may cause MTS Non-Delivery reports to be returned.
+
+## 15.4 Message transfer system
+
+In the present context, the Message Transfer System (MTS) conveys Information Objects of the types defined in clause 6 between UAs, MSs and AUs.
+
+The VMGS comprises a single MTS.
+
+# 16 Secondary port types
+
+The secondary objects of Voice Messaging are joined to and interact with one another by means of ports. These ports, which MSs and the MTS supply, are referred to as the secondary ports of Voice Messaging. They are of the types identified below.
+
+The capabilities embodied in one Submission Port, one Retrieval Port, and one Administration Port constitute the MS Abstract Service. They are defined in ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+The capabilities embodied in one Submission Port, one Delivery port, and one Administration Port constitute the MTS Abstract Service. They are defined in ITU-T Rec. X.411 | ISO/IEC 10021-4.
+
+NOTE – By means of the abstract bind operation which guards its ports, an MS or the MTS typically authenticates another secondary object before offering its abstract service to that object.
+
+## 16.1 Submission port
+
+In the present context, a Submission Port is the means by which a UA (directly or indirectly) or an MS (directly) submits messages containing Information Objects of the types defined in clause 6.
+
+An MS supplies one Submission Port to its UA.
+
+The MTS supplies one Submission Port to each UA configured without an MS and to each MS.
+
+## 16.2 Delivery port
+
+In the present context, a Delivery Port is the means by which a UA or MS takes delivery of reports concerning, and messages containing, Information Objects of the types defined in clause 6.
+
+The MTS supplies one Delivery Port to each UA configured without an MS and to each MS.
+
+## 16.3 Retrieval port
+
+In the present context, a Retrieval Port is the means by which a UA retrieves reports concerning, and messages containing, Information Objects of the types defined in clause 6.
+
+An MS supplies one Retrieval Port to its UA.
+
+## 16.4 Administration port
+
+The MTS supplies one Administration Port to each UA configured without an MS and to each MS.
+
+## 16.5 Import port
+
+In the present context, an Import Port is the means by which the MTS imports reports concerning, and messages containing, VM Information Objects of the types defined in clause 6.
+
+The MTS supplies one Import Port to each AU.
+
+## 16.6 Export port
+
+In the present context, an Export Port is the means by which the MTS exports messages containing VM Information Objects of the types defined in clause 6.
+
+The MTS supplies one Export Port to each AU. For each TSAU, the MTS exports P1 reports, VMs and VNs.
+
+## 16.7 Management port
+
+In the present context, a Management Port is the means by which a single user changes personally managed information that is on file with the Voice Messaging System. By means of such a port the user enables and disables auto-discard, -acknowledgement, and -VSNotice, and -forwarding. These managed Information Objects are of the types defined in clause 6.
+
+# 17 User agent operation
+
+A UA must employ the MTS in a particular way in order to (correctly) provide the VMGS Abstract Service to its user. If the user is equipped with an MS, the latter contributes to the provision of the abstract service and, therefore, is subject to the same rules.
+
+The rules that govern the operation of a UA (and MS) are the subject of what follows.
+
+NOTE – The purpose of the following is not to dictate nor constrain the implementation of a UA application entity, but rather to specify the effect to be achieved between the UA and an MTA.
+
+## 17.1 Performance of origination operations
+
+A UA shall perform the abstract operations it makes available at its Origination Port as prescribed below.
+
+In the performance of these operations, the UA invokes the following abstract operation of the MTS Abstract Service (which, for what follows, are unqualified as to their source):
+
+- Message Submission.
+
+In response to the invocation of this abstract operation, a UA reports abstract errors as appropriate. Specification of the precise circumstances under which each abstract error should be reported is beyond the scope of this Recommendation.
+
+NOTE – Probe Submission is not used in Voice Messaging.
+
+### 17.1.1 Originate VM
+
+A UA shall perform the Originate VM abstract operation by invoking Message Submission with the arguments indicated below, and by returning to its user the results indicated below.
+
+The **arguments** of Message Submission shall be as follows:
+
+- a) *Envelope*: The components of this argument that constitute per-message fields shall be as follows. Those components not explicitly mentioned below shall be as specified by the user through the Originate VM Envelope argument:
+ - 1) **Originator-name**: The OR Name of the UA's user.
+
+- 2) **Content-type** and **Original-encoded-information-types**: Determined from Originate VM's Content argument as specified in 19.2 and 19.4, respectively.
+- 3) **Content-identifier** and **Content-correlator**: Specified or omitted as a local matter.
+- 4) The *security arguments* on message submission are subject to the security policy in force. When the security policy specifies the support of *Content Integrity* message transfer security element of service, and when *VNotificationSecurity* is requested, the UA shall generate and submit the **content-integrity-check** Security Argument as defined in 8.2.1.1.1.28 of ITU-T Rec. X.411 | ISO/IEC 10021-4.
+
+The components of the *Envelope* argument that constitute *per-recipient fields* shall also be as specified through this abstract operation.
+
+To prevent an unknown number of VNs from being sent to the message's original originator as a result of forwarding, the originator may set, if available, *dl-expansion prohibited* to **Prohibited** when requesting any VNs.
+
+- b) *Content*: Determined from Originate VM's Content argument (identified as a VM) as specified in 19.1.
+ - 1) If **proof** or **non-repudiation** for a notification is requested, the UA shall set the *VNotificationSecurity* field accordingly for each recipient as required.
+ - 2) If **proof** or **non-repudiation** of content received advice is requested, the UA shall set the *VMReceptionSecurity* field accordingly for each recipient as required.
+
+The **results** of Originate VM shall be as follows:
+
+- c) *Submission-identifier*: Message Submission's Message-submission-identifier result.
+- d) *Submission-time*: Message Submission's Message-submission-time result.
+
+How the UA uses the result of Message Submission's **content-identifier** or **content-correlator** is a local matter.
+
+The inclusion of Message Submission *extensions* among Originate VM's results is proper and may be the subject for future standardization.
+
+### 17.1.2 Originate VN
+
+A UA shall perform the Originate VN abstract operation, if the UA makes it available to its user, by invoking Message Submission with the arguments indicated below, and by returning to its user the results indicated below. This abstract operation is only performed in response to a request made by the subject VM's originator.
+
+NOTE 1 – *Subject VM* is defined in clause 9 and subclause 17.3.3.
+
+A user may delegate the task of generating VNs to the UA. In this case, this abstract operation is not present at the abstract interface between the UA and the user, that is, the operation is not available at the Origination Port. In this case, the UA behaves as if the abstract operation would have been invoked. The UA may not accept the VM at will, but shall accept the VM when the VM is made available to the user, or when it forwards a VM with content changed. In this context, "content changed" means that the forwarding UA adds or removes body parts from the VM being forwarded, in accordance with 17.3.3.
+
+The **arguments** of Message Submission shall be as follows:
+
+- a) *Envelope*: The components of this argument that constitute per-message fields shall be as follows. Those components not explicitly mentioned below shall be as specified by the Originate VN Envelope argument:
+ - 1) **Originator-name**: The OR Name of the UA's user.
+ - 2) **Content-type** and **Original-encoded-information-types**: Determined from the VN as specified in 19.2 and 19.4, respectively.
+ - 3) **Content-identifier** and **Content-correlator**: Specified or omitted as a local matter.
+ - 4) **Deferred-delivery-time**: Omitted.
+ - 5) **Priority**: Same as that of the subject VM.
+ - 6) **PerMessageIndicators**: If supported by the MTA, the notification type shall to be set to Type 1 for RN, to Type 2 for NRN or Type 3 for SN.
+
+NOTE 2 – MTA support for setting the notification type indication may become mandatory in a future version of MHS.
+
+- b) *Content*: Determined from Originate VN's Content argument (identified as a RN, SN or NRN) as specified in 19.1.
+ - 1) If in the subject VM, *VMReceptionSecurity* is set to *non-repudiation* and *VNotificationSecurity* is set to *non-repudiation* and the **content-integrity-check** security argument is *present* in the delivery envelope of the subject VM, then the **content-integrity-check** security argument is copied into the **content-integrity-check** field of the VN. The UA shall submit the VN with a non-repudiable security element **content-integrity-check** (possibly in the message token) or a **message-origin-authentication-check** (depending on the security policy in force).
+
+- 2) If in the subject VM, *VMReceptionSecurity* is set to *non-repudiation* and *VNotificationSecurity* is set to *non-repudiation* and the **content-integrity-check** security argument is **not present** in the P1 delivery envelope of the subject VM, then the Content of the subject message shall be copied into the **original-content** field of the VN. The UA shall submit the VN with a non-repudiable security element **content-integrity-check** (possibly in the message token) or a **message-origin-authentication-check** (depending on the security policy in force).
+- 3) If in the subject VM, *VMReceptionSecurity* is set to *proof* and *VNotificationSecurity* is set to *proof* and the *content-integrity-check* security argument **is present** in the delivery envelope of the subject VM, then the *content-integrity-check* security argument is copied into the **content-integrity-check** field of the VN. The UA shall submit the VN with the security element **content-integrity-check** (possibly in the message token) or a **message-origin-authentication-check** (depending on the security policy in force).
+- 4) If in the subject VM, *VNotificationSecurity* is set to *proof* the UA shall submit the VN with the security element **content-integrity-check** (possibly in the message token) or the **message-origin-authentication-check**, according to the security policy in force.
+- 5) If in the subject VM, *VNotificationSecurity* is set to *non-repudiation* the UA shall submit the VN with a non-repudiable security argument **content-integrity-check** (possibly in the message token) or a **message-origin-authentication-check**, according to the security policy in force.
+- 6) If in the subject VM, *VMReceptionSecurity* is set to *proof* and *VNotificationSecurity* is set to *proof* and the **content-integrity-check** security argument **is not present** in the delivery envelope of the subject VM, then the Content of the subject VM is copied into the **original-content** field of the VN. The UA shall submit the VN with the security element **content-integrity-check** (possibly in the message token) or a **message-origin-authentication-check** (depending on the security policy in force).
+- 7) If the UA's MTA does not support secure messaging and *VMReceptionSecurity* or *VNotificationSecurity* services are requested, the VN shall contain an appropriate Reason Code.
+- 8) *Content-integrity-check* of the subject VM shall always be checked for validity by the receiving UA before a VN is created.
+
+The **results** of Originate VN shall be as follows:
+
+- c) *Submission-identifier*: Message Submission's Message-submission-identifier result.
+- d) *Submission-time*: Message Submission's Message-submission-time result.
+
+How the UA employs the result of Message Submission's **Content-identifier** or **Content-correlator** is a local matter.
+
+## 17.2 Invocation of reception operations
+
+A UA shall invoke the abstract operations available at its Reception Port as specified below.
+
+The UA invokes these operations in response to the MTS's invocation of the following abstract operations of the MTS Abstract Service (which, for what follows, are unqualified as to their source):
+
+- a) Report Delivery;
+- b) Message Delivery.
+
+The abstract operations of a Reception Port report have neither results nor errors.
+
+### 17.2.1 Receive report
+
+Whenever the MTS invokes Report Delivery at a UA's Delivery Port, the UA shall invoke the Receive Report abstract operation with the following arguments:
+
+- a) *Envelope*: Report Delivery's Envelope argument.
+- b) *Undelivered-object*: Determined from Report Delivery's Returned-content argument as specified in 19.1.
+
+If the report was provoked by a previous Originate VM abstract operation invocation, the argument shall be present if, and only if, content return was requested through P1's *per message indicators*. Otherwise, the argument shall be absent.
+
+NOTE – Return-of-Contents is discouraged in P1 Delivery Reports per ITU-T Rec. F.400/X.400 and not provided in any VN defined in this Recommendation unless specifically requested for secure notifications as provided in 17.1.2.
+
+How the UA employs the **Content-identifier** or the **Content-correlator** component of Report Delivery's Envelope argument is a local matter.
+
+### 17.2.2 Receive VM
+
+When the MTS invokes Message Delivery at a UA's Delivery Port, and its Content argument encodes a VM as specified in clause 8, the UA shall invoke the Receive VM abstract operation with the following arguments:
+
+- a) *Envelope*: Message Delivery's Envelope argument.
+- b) *Content*: Determined from Message Delivery's Content argument as specified in 19.1 (but no longer marked as a VM).
+
+NOTE – Even in the case of forwarding, the user accepts the message through the Receive VM operation.
+
+### 17.2.3 Receive VN
+
+Whenever the MTS invokes Message Delivery at a UA's Delivery Port, and its Content argument encodes a VN as specified in 19.1, the UA shall invoke the Receive VN abstract operation with the following arguments:
+
+- a) *Envelope*: Message Delivery's Envelope argument.
+- b) *Content*: Determined from Message Delivery's Content argument as specified in 19.1.
+
+## 17.3 Internal procedures
+
+A UA shall perform, as specified below, the internal procedures that relate to *acceptance of the VM, refusal of the VM and forwarding*.
+
+A user may instruct its UA to accept or refuse the VM of incoming messages based on certain criteria. In addition, a user may instruct its UA to forward incoming messages based on certain criteria.
+
+Because of forwarding, redirection or DL-expansion, it is possible for a UA to receive the same VM more than once. Mechanisms for detecting such duplicate receptions are not required, but may be a matter of local implementation by the UA. If these mechanisms exist, and notifications are requested, the UA shall not generate duplicate notifications for the duplicate messages. If they do not exist, and notifications are requested, the UA shall originate the requested VNs, as appropriate.
+
+The procedures involve the following abstract operations of the MTS Abstract Service (which, for what follows, are unqualified as to their source):
+
+- a) Message Submission;
+- b) Message Delivery.
+
+As implied by the above, in the course of the procedures, the UA has occasion to invoke Message Submission. What it does with the results of this abstract operation is a local matter.
+
+The UA shall consider as a candidate for each procedure individually every message for which all of the following conditions hold:
+
+- c) The MTS has conveyed the message to the UA by invoking Message Delivery at the UA's Delivery Port;
+- d) The UA has not conveyed the message to the user by invoking Receive VM at the UA's Reception Port;
+- e) The message contains a VM (rather than a VN).
+
+With reference to item d above, the message might be detained in the UA, e.g., as might be typical because of the user's unavailability.
+
+Upon the transfer of responsibility of a VM from the MTS to its MTS-user, SNs shall be actioned, provided that a SN was requested and that the delivered message satisfies SN creation criteria.
+
+### 17.3.1 Acceptance of the VM
+
+A UA is said to have accepted the VM when responsibility for the message is successfully passed from the UA to the VMG-user. The UA shall follow the procedures below for each candidate message with respect to whose content the following condition holds:
+
+- The VM requests a RN by means of the Voice Notification Request field of the appropriate Recipients Sub field in the VM's Recipients field.
+
+The UA may forward a message that it has accepted the VM. See also 17.3.3 on forwarding.
+
+#### 17.3.1.1 Construction of RN
+
+The UA shall construct a RN if, and only if, one is requested by means of the Voice Notification Requests field of the appropriate Recipients Sub field in the VM's Recipients field and in accordance with 17.3.1.
+
+The RN shall have the following **common fields**:
+
+- a) *Subject VM*: The VM's *This VM* field or, if present, the *Original VM Identifier* in the VN Receiver field.
+
+- b) *VN Originator*: The OR Name of the UA which submits the VN. If the UA is a preferred recipient of the subject VM, the value shall be precisely that which is the Recipient field of the subject VM.
+- c) *Notice Creation Time*: The current date and time.
+- d) *VN Voice Encoding Type*: The encoding algorithm used to create any spoken component of this VN. It may also indicate any additional parameters needed by the recipient to decode the spoken information.
+- e) Optionally, *Conversion Indication*: The converted encoded information types component of the message delivery's envelope argument.
+- f) Optionally, *Notification Security Elements Field*: Notification Security elements carried in any component field shall follow the rules of b in 17.1.2.
+- g) Optionally, *Original VM Spoken Subject*: The value of the subject VM's spoken subject field.
+- h) Optionally, *Subject VM Other Recipients*: The OR Names (and when present in the subject-VM, the spoken encoding of the recipient name) of the other recipients that the subject VM was sent to.
+- i) Optionally, *Supplementary Information* that adds information to the reason given.
+- j) Optionally, *First Recipient*: The OR Name of the UA which the originator of the VM specified as *recipient* in the subject VM's heading or, if present, the First Recipient field in the VN Receiver field. If the Recipient Spoken Name component is present, then it is included and its encoding is indicated in the *spoken-name-encoding-field*. If the VN Receiver field is not present, the First Recipient OR Name is the OR Name of the UA creating the VM, unless the MTA has performed redirection or DL-expansion. In case of redirection, the correct First Recipient OR Name must be obtained from the Intended Recipient Name field of the P1 envelope (see 8.3.1.1.1.4 of ITU-T Rec. X.411 | ISO/IEC 10021-4). In case of DL-expansion, the correct First Recipient OR Name must be obtained from the DL Expansion History field of the Delivery envelope (see 8.3.1.1.1.7 of ITU-T Rec. X.411 | ISO/IEC 10021-4).
+- k) Optionally, *Notifications Extensions*: Extensions relevant to notifications.
+
+#### 17.3.1.2 Submission of RN
+
+The UA shall submit the RN above by invoking Message Submission with the following arguments:
+
+- a) *Envelope*: The components of this argument shall be as prescribed for performance of the Originate VN abstract operation with the following exceptions:
+ - 1) **Priority**: As specified by subject VMs Message Delivery Envelope's *priority* argument.
+ - 2) **Per-message-indicators**: The RN indication bit and the conversion-prohibited shall be among the values specified. The setting of other bits is a local matter.
+ - 3) **Per-recipient-fields**: A single field whose Recipient-name component shall be the Originator-name component of Message Delivery's Envelope argument.
+- b) *Content*: Determined from the RN as specified in 19.1.
+
+### 17.3.2 VM Service Notification (SN) generation
+
+A UA shall generate a VM Service Notification when a message is accepted by the intended user even though the UA does not support all elements of service in the message and an SN was requested by the originator of the subject VM. The UA shall follow the procedures below for each candidate message under the following conditions:
+
+- a) The VM requests an SN of the UA's user by means of the *VN Requests* field of the subject VM's *Recipients Sub field*.
+- b) The VM is not forwarded.
+- c) The UA does not support one or more requested additional elements of service on reception.
+
+NOTE – See also 17.3.3 on forwarding.
+
+#### 17.3.2.1 Construction of SN
+
+The UA shall construct an SN if, and only if, one is requested by means of the *VN Requests* field of the subject VM's Recipients Sub field and in accordance with 17.3.2.
+
+The SN shall have the common fields prescribed for Construction of RN (see 17.3.1.1).
+
+The SN shall have the following fields:
+
+- a) *SN Reason Code*: Identifies the requested element of service that was not available to the intended recipient. It may also include a diagnostic code to further explain the reason value.
+- b) Optionally, *SN Extensions*: Extensions relevant to an SN.
+
+#### 17.3.2.2 Submission of SN
+
+The UA shall submit the SN created as per the above by invoking Message Submission. Its Envelope argument shall be as prescribed for Acceptance of the VM (see 17.3.1) except that the PerMessageIndicators bit for SN Notification type shall be set. Its Content argument is determined from the SN as specified in 19.1.
+
+#### 17.3.2.3 Handling of received VM
+
+The handling of a received VM for which the UA generates a SN (or not) is a local matter and is not defined in this Recommendation.
+
+### 17.3.3 VM Forwarding
+
+The procedures defined in this subclause describe **VM Forwarding**.
+
+NOTE – For brevity, the term **forwarding** is used in this Recommendation as a synonym for VM Forwarding.
+
+A user may instruct its UA to forward received messages based on local criteria. A user may also instruct its UA to automatically forward requests for notifications together with the forwarded message.
+
+In order to forward a VM, the UA creates a new VM with a new Heading and encapsulates in the Primary Body Part the received subject VM (Heading and Body), and optionally, components of the P1 envelope of the received message, using the body part type VM Body Part (see 8.2.2). The term forwarded-VM refers to the outermost element of the message structure, the VM Body Part, of the new VM being forwarded by the UA and contains all or part of the original subject VM.
+
+Figure 6 illustrates forwarding with an example.
+
+
+
+The diagram illustrates the structure of a Forwarded VM. It shows a 'Voice Message' being processed into a 'P1 Envelope'. The 'Voice Message' is composed of a 'Heading' and a 'Body'. The 'Heading' is further divided into 'Field 1' and 'Field N'. The 'Body' is divided into 'VM Body Part', 'Body Part 2', and 'Body Part N'. The 'VM Body Part' is shown as a dashed box containing the 'Body' and 'Body Part 2'. The 'P1 Envelope' is shown as a dashed box containing the 'VM Body Part' and 'Body Part N'. A plus sign (+) is shown between the 'P1 Envelope' and the 'VM Body Part'.
+
+T0711640-91/d06
+
+Diagram illustrating the structure of a Forwarded VM. It shows a 'Voice Message' being processed into a 'P1 Envelope'. The 'Voice Message' is composed of a 'Heading' and a 'Body'. The 'Heading' is further divided into 'Field 1' and 'Field N'. The 'Body' is divided into 'VM Body Part', 'Body Part 2', and 'Body Part N'. The 'VM Body Part' is shown as a dashed box containing the 'Body' and 'Body Part 2'. The 'P1 Envelope' is shown as a dashed box containing the 'VM Body Part' and 'Body Part N'. A plus sign (+) is shown between the 'P1 Envelope' and the 'VM Body Part'.
+
+Figure 6/X.440 – Forwarded VM structure
+
+The term **forwarding VM** refers to the new VM that is being created, and that will include all or part of the subject VM, in accordance with 5.1.
+
+The following rules apply to the creation of the Heading fields of the forwarding VM:
+
+- Optional fields whose values are changed with respect to the values present in the subject VM shall be present;
+- Heading fields whose values are unchanged shall be copied from the subject VM Heading to the forwarding VM Heading if the field is present in the subject VM Heading and the value in the field is other than the value specified as DEFAULT in 8.1;
+- Other fields need not be copied.
+
+VM Forwarding is done by the MS if the UA has an MS, otherwise by the UA.
+
+VM Forwarding may take two forms:
+
+- a) forwarding of message not accepted or accessed by the user;
+- b) forwarding of message when accepted by the user.
+
+VM Forwarding may take place even if no notifications have been requested. This is equivalent to form b above.
+
+A message may be forwarded to one or more recipients. However, the request for VNs for any recipient depends upon the form of VM Forwarding actioned.
+
+The UA shall, subject to the instructions given by the user, forward messages as follows.
+
+#### 17.3.3.1 VM Forwarding of message without accepting the VM
+
+VM Forwarding of a message without accepting the VM implies the following:
+
+- a) The *Primary Body Part* of the new message is the content of the subject message unchanged. The delivery envelope of the received VM shall be included if security notifications are requested.
+- b) If the *VN Requests* field of the subject VM's *Recipients Sub* field requests Receipt Notification (RN) or Service Notification (SN), the *VN Request* is forwarded unchanged with the new message to one, and only one, of the recipients of the new message. The value of the *Message Forwarded* field shall be set to **TRUE**.
+- c) If **forwarding fails** (i.e a Non-delivery report on the forwarded message is returned) within a given period of time (either specified by the originator in Expiry Time or as a local decision in the MS or UA, with priority given to the Expiry Time), the UA may send a NRN back to the originator provided a NRN was requested. The ability to generate this NRN may be hindered if the message was deleted when VM Forwarding is actioned.
+NOTE 1 – Return-of-Contents is discouraged in P1 Delivery Reports per ITU-T Rec. F.400/X.400 and not provided in any VN defined in this Recommendation unless specifically requested for secure notifications as provided in 17.1.2.
+- d) If the *VN Requests* field of the subject *Recipients Sub* field requests NRN, the Non-Receipt Notification shall be sent back to the originator of the subject VM.
+
+The delivery envelope of the received message shall be included in the new VM if the received VM's Primary Body Part is not a Forwarded VM. Body parts shall not be added or deleted during VM Forwarding. However, supplementary information may be added through the *other-parameters* component of the VM Body Part.
+
+A message may be forwarded to multiple recipients as specified in a and b except that the VN-request shall be passed to only one recipient. The recipient to which the VN-request is passed shall also have the P1 element of protocol, *DL expansion indication*, set to *DL expansion prohibited*.
+
+If a MTS Non-Delivery Notification is returned for the recipient to which VN-request was forwarded, then the forwarding UA shall fulfil the VN-request itself. For example, the UA may choose to accept responsibility itself or to not accept responsibility which in turn will determine if an RN or NRN should be created, had one been requested.
+
+NOTE 2 – Since the F.400-series Recommendations discourage the use of *Return of content* element of service, there is an implication that the forwarding UA has retained the identity of the recipient to which the VN-request was forwarded.
+
+NOTE 3 – Failure of the MTS to deliver a forwarded-VM to the intended recipient to which VN-request was *not* passed, *would not* cause VN-request to be acted upon. For example, failure of the MTS to deliver a forwarded-VM because an intended recipient of the forwarded-VM is actually a distribution list, does not cause VN's to be generated.
+
+The originator of a message may prohibit VM Forwarding by setting the *Message Forwarding Permitted* field to FALSE. In this case, if the receiving UA cannot accept the VM and the NRN is requested, the receiving UA shall submit a NRN with appropriate reason code. If the receiving UA cannot accept the VM and the NRN is not requested, then a NRN shall not be submitted.
+
+If VM Forwarding is permitted by the originator, then it is possible to forward a message more than once.
+
+#### 17.3.3.2 Forwarding of message after accepting the message
+
+Forwarding a message after accepting the message implies the following:
+
+- a) The *Primary Body Part* of the new message is the content of the subject message changed or unchanged. This type of forwarding is less restricted and may include removal or addition of body parts. However, the forwarded VM Body Part shall not be removed.
+NOTE 1 – If the delivery envelope of the received message is included in the forwarded message, and if that envelope contained security fields, and if body parts are added or removed, then the security fields may no longer be valid.
+- b) The addition and removal of Additional-Body-Parts is permitted. However, not more than one voice encoded body part (*AdditionalBodyParts*) may be added to the resulting forwarded message per instance of forwarding.
+
+NOTE 2 – The addition of more than one voice encoded body part per instance of forwarding is not permitted. However, a forwarded-VM may contain more than one voice encoded body part. Voice encoded information contained in a forwarded-VM that is added during forwarding may be encoded differently from the original subject VM.
+
+- c) *Message Forwarded* shall not be requested.
+- d) If the *Notifications Requests Field* of the subject VM requests Receipt Notification, a RN shall be sent back to the addressee specified in the field VNReceiver, or to the originator of the VM, if no VN Receiver is specified. Receipt notification may be requested either with or without a request for the return of the subject VM.
+- e) A *Non-Receipt Notification*, NRN, **shall not** be sent back to the originator of the message.
+
+NOTE 3 – By scanning the successive nested Headings of a forwarded VM, the final recipient UA can determine, from the setting of the *Message Forwarded* indication field, which UA or MS in the forwarding chain accepted the message.
+
+#### 17.3.3.3 Prevention of loops
+
+The UA may use the *Message Forwarded* field of the heading to initially detect that loop suppression must be performed. The UA shall suppress forwarding if the VM about to be forwarded contains a forwarded VM that the UA previously created. In other words, *VM forwarding* shall be suppressed whenever the UA that is about to forward the same subject VM determines that it had forwarded this same message earlier to someone else. It may need to check through a nested series of VM body parts to make this determination.
+
+The UA shall consider itself to have created a forwarding VM if, and only if, the OR Name component of a This VM field in the forwarded VM matches the OR Name of the UA's user.
+
+NOTE – Forwarding a VM of the kind described above would constitute a VM Forwarding "loop".
+
+#### 17.3.3.4 Construction of Forwarding VM
+
+The UA shall construct a forwarding VM whose Primary Body Part comprises a body part of type VM Body Part. Additionally, other body parts may be added, and body parts may be removed.
+
+The Heading shall have the following components:
+
+- a) *This VM*: New value generated.
+- b) *Originator*: OR Name of the forwarding user.
+- c) *Recipients*: The recipients to which the VM is being forwarded.
+
+If the message is *not* accepted, the following rules relating to the components of the VM Heading apply:
+
+- d) *VN Requests* (sub-field of Recipients): The UA may forward the VM to several recipients by simply adding recipients to the Recipients field. If the UA does not accept the message, and if VN Requests are present in the subject VM, the UA shall set identical VN Requests for one, and only one, of the recipients, and notifications are not requested of any other recipient.
+
+NOTE – VMGS-MS also follow these rules, see 18.4.
+
+- e) *Expiry Time*: may be set to a value different from the value indicated in the subject VM.
+- f) All other Heading fields shall follow the general rules in 17.3.3.
+
+If the VM is accepted, the VM Heading shall comply with a, b and c above and with the following rules:
+
+- g) Other fields may be added (including VN Requests).
+
+Other fields apart from those especially mentioned above may, but need not, be copied from the Heading of the subject VM to the Heading of the forwarding VM. There is one exception, the *Original VM Identifier* shall not be present.
+
+VN Requests set for any recipient is at the discretion of the VMG-user. The VN Receiver field is set to the forwarding user or to some OR address other than the originator of the forwarded VM.
+
+The *PrimaryBodyPart* shall be of type VM Body Part and shall have the following components:
+
+- h) *Parameters*: Specified or omitted in the field MessageParameters as a local matter.
+- i) *Data*: The VM to be forwarded in the field MessageData.
+
+The *AdditionalBodyParts* shall be of type VM Externally Defined BodyPart and shall have the components relevant to the encoded information object being carried in that body part.
+
+#### 17.3.3.5 Submission of a Forwarding VM
+
+The UA shall submit the forwarding VM it constructed above by invoking Message Submission with the following arguments:
+
+- a) *Envelope*: The components of this argument shall be as follows:
+
+- 1) **Originator-name:** The OR Name of the UA's user.
+ - 2) **Content-type** and **Original-encoded-information-types:** Determined from the VM as specified in 19.2 and 19.4, respectively.
+ - 3) **Content-identifier:** Specified or omitted as a local matter.
+ - 4) **Priority:** As specified by the subject VM's Message Delivery's Envelope argument unless forwarding of message occurs after accepting the message. In this case, the setting of Priority is at the user's discretion.
+ - 5) **Per-message-indicators** and **Extensions:** A local matter, except that the NRN bit will be set.
+ - 6) **DeferredDeliveryTime:** Omitted.
+ - 7) **Per-recipient-fields:** The Recipient-name components shall be the OR Name(s) that the message shall be forwarded to. Their other components are a local matter.
+- b) *Content:* Determined from the VM as specified in 19.1.
+
+#### 17.3.3.6 Construction of NRN
+
+The UA shall construct a NRN if, and only if, one is requested by means of the Voice Notification Requests field of the subject VM's Recipients field and the user is not willing to accept the message.
+
+The NRN shall have the common fields as prescribed for non-acceptance of the message (see 17.3.3.1).
+
+The NRN shall also have the following fields:
+
+- a) *Non-receipt UA/MS Reason Code:* The reason why the subject message was not received by the intended recipient's MS or UA. This information is conveyed in the field VNRNUAMSReasonCodeField.
+- b) Optionally, *Non-receipt User Reason Code:* The reason why the subject message was not received by the intended recipient. This information is conveyed in the field VNRNUserReasonCodeField.
+- c) Optionally, *Non-receipt TSAU Reason Code:* The reason why the subject message was not received by the intended recipient associated with a TSAU. This information is conveyed in the field VNRNTSAUReasonCodeField.
+- d) Optionally, *NRN Extensions:* The set of NRN extension sub fields that are to be associated with the VN.
+
+#### 17.3.3.7 Submission of NRN
+
+The UA shall submit the NRN (if any) above by invoking Message Submission. Message Submission's *Envelope* argument shall be as prescribed for acceptance of the VM (see 17.3.1) except that the *notification type* shall be set to type 2 (NRN), its *Content* argument determined from the NRN as specified in 19.1.
+
+NOTE – If the OR Name in the field VNReceiverField is not valid, then the UA may be unable to submit the VN. Guidelines regarding the use of the VNReceiverField are found in j of 17.3.1.1.
+
+# 18 Message Store operation
+
+ITU-T Rec. X.413 | ISO/IEC 10021-5 defines the abstract service for a general content independent Message Store (MS). The MS is an optional system component in an MHS. The MS is associated with a single user's UA. The user can submit messages through it and retrieve messages that have been delivered to the MS. In addition, the MS can perform certain predefined auto actions on the UA's behalf.
+
+NOTE – Because the MS is an optional system component in an MHS, use of the word "shall" with respect to MS specifications is to be construed as mandating a provision of an MS or the services it provides, if an MS is provided.
+
+All the abstract operations, general attribute types and general auto actions types defined in ITU-T Rec. X.413 | ISO/IEC 10021-5 are also available for use by Voice messages.
+
+An MS may optionally offer additional support for the Voice messaging specific attribute types and auto actions, which would qualify it as a voice messaging specific MS (Voice MS). These additional definitions are given in what follows.
+
+## 18.1 Binding to the MS
+
+Binding to the MS is described in 7.1 of ITU-T Rec. X.413 | ISO/IEC 10021-5. Attention should be given to the following points when using the MS for voice messaging.
+
+### 18.1.1 Abstract-bind argument
+
+The following parameters from 7.1.1 of ITU-T Rec. X.413 | ISO/IEC 10021-5 have special meaning in this Recommendation:
+
+- a) Fetch-restrictions:
+
+The name of the object identifier for the Voice content type is **id-mct-pvm**, the value is defined in Annex A.
+
+#### b) Allowed-EITs:
+
+The names of the object identifiers so far standardized in this Recommendation are defined in Annex A. See also 8.1.12.
+
+### 18.1.2 Abstract-bind result
+
+The following parameter from 7.1.2 of ITU-T Rec. X.413 | ISO/IEC 10021-5 has special meaning for this Recommendation:
+
+– Available-auto-actions.
+
+NOTE – The use of the general auto action **auto-forward** is discouraged for use with VMs. Instead the Voice messaging specific auto actions **vm-forwarding-with-RN** and **vm-forwarding-with-NRN** and **vm-forwarding-without-notification** should be used as defined in 18.4.
+
+## 18.2 Creation of Information Objects
+
+An MS shall satisfy the following requirements related to the information objects it maintains:
+
+- a) The MS shall maintain a separate information object for each message containing a VM or VN that is delivered to it.
+- b) The MS shall maintain as a separate information object not only each message containing a forwarding VM [pursuant to item a)] but also each message containing a forwarded VM (recursively).
+- c) The MS shall assign sequence numbers to the messages in the hierarchy formed by a forwarding VM and its forwarded VMs.
+
+The general (content independent) attributes that may occur in a stored-messages information-base are documented in ITU-T Rec. X.413 | ISO/IEC 10021-5. All content-independent MS attributes can be used for the content defined in this Recommendation. The Voice specific attributes for stored-messages are defined in 18.6. All general attribute types classified as "mandatory" in Table 1 of ITU-T Rec. X.413 | ISO/IEC 10021-5 shall be supported.
+
+### 18.2.1 Mapping of an MHS message containing a VM into a VMGS-MS
+
+When a VM or VN gets delivered into the VMGS-MS, a corresponding MS entry is generated in the stored-messages information-base. The MS generates some attributes for administration purposes such as Sequence number, a Creation Time for the entry, the V-Bodypart Length, etc. It then generates attributes based on protocol elements in the MHS Envelope, in the Heading and one attribute containing the whole Voice object, e.g., the message. The attribute Voice Encoding Type signals which Voice Standard has been used to encode the message. Similarly, other Body Parts will be mapped into one or several additional attributes.
+
+NOTE – In what follows, reference is made to an "MHS message". This is not to be confused with the term "message", which refers to a VM.
+
+Figure 7 describes how an MHS message with a VM is mapped into a corresponding MS entry.
+
+
+
+The diagram illustrates the mapping of an MHS message containing a VM into a VMGS-MS structure. On the left, a box labeled 'VM' is shown. A dashed line from 'VM' points to a 'Heading' box containing 'Field 1', 'Field 2', and 'Field n'. Another dashed line from 'VM' points to a 'Body' box. Inside the 'Body' box, there are two options: 'V- Body Part' OR 'VM Body Part'. Below these, there are boxes for 'BP 2' and 'BP k'. A solid arrow points from the 'VM' box down to a 'P1 Envelope' box. A solid arrow points from the 'P1 Envelope' box to an 'MS Entry' box on the right. The 'MS Entry' box contains five sub-boxes: 'Heading Attributes', 'Voice Body Part Attributes', 'Other Body Part Attributes', 'Envelope Attributes', and 'MS Generated Attributes'. Arrows point from the 'Heading' box to 'Heading Attributes', from the 'V- Body Part' or 'VM Body Part' box to 'Voice Body Part Attributes', from the 'BP 2' and 'BP k' boxes to 'Other Body Part Attributes', from the 'P1 Envelope' box to 'Envelope Attributes', and from the 'MS Entry' box to 'MS Generated Attributes'. The text 'Primary Body Part' is next to the 'Voice Body Part Attributes' box, and 'Additional Body Parts' is next to the 'Other Body Part Attributes' box.
+
+T0711650-91/d07
+
+Diagram showing the mapping of an MHS message containing a VM into a VMGS-MS structure. The VM is mapped to a P1 Envelope, which is then mapped to an MS Entry. The MS Entry contains attributes for the heading, voice body part, other body parts, envelope, and MS generated attributes.
+
+**Figure 7/X.440 – MHS message containing a VM mapped into a VMGS-MS**
+
+### 18.2.2 Mapping of forwarded messages in MS
+
+A forwarded VM is mapped into the Message Store as one main entry and one or more linked child entries. The final child entry will contain the original VM (with its message and any additional body parts).
+
+The MS Structure of a forwarded message such as the message in Figure 6 is depicted in Figure 8.
+
+
+
+The diagram illustrates the mapping of a forwarded message into an MS (Message Set). It shows a VM (Virtual Message) being mapped to a P1 Envelope. The VM is composed of a Heading (Field 1, Field 2, Field n) and a Body (VM Body Part, BP 2, BP k). The Body is further mapped to a Forwarded Body, which is then mapped to a Child entry (V-Body Part or VM Body Part, BP 2, BP k). The diagram is divided into two main sections: Main entry and Child entry. The Main entry section shows the VM and its components, while the Child entry section shows the Forwarded Body and its components. The diagram is labeled with 'Main entry' and 'Child entry' at the bottom. The diagram is also labeled with 'VM', 'Heading', 'Field 1', 'Field 2', 'Field n', 'VM Body Part', 'BP 2', 'BP k', 'Body', 'Forwarded Body', 'V-Body Part', 'VM Body Part', 'BP 2', 'BP k', 'P1 Envelope', and 'Body'.
+
+Diagram illustrating the mapping of a forwarded message into an MS (Message Set). The diagram shows a VM (Virtual Message) being mapped to a P1 Envelope. The VM is composed of a Heading (Field 1, Field 2, Field n) and a Body (VM Body Part, BP 2, BP k). The Body is further mapped to a Forwarded Body, which is then mapped to a Child entry (V-Body Part or VM Body Part, BP 2, BP k). The diagram also shows the mapping of the Forwarded Body to a Main entry (VM Body Part, BP 2, BP k). The diagram is divided into two main sections: Main entry and Child entry. The Main entry section shows the VM and its components, while the Child entry section shows the Forwarded Body and its components. The diagram is labeled with 'Main entry' and 'Child entry' at the bottom. The diagram is also labeled with 'VM', 'Heading', 'Field 1', 'Field 2', 'Field n', 'VM Body Part', 'BP 2', 'BP k', 'Body', 'Forwarded Body', 'V-Body Part', 'VM Body Part', 'BP 2', 'BP k', 'P1 Envelope', and 'Body'.
+
+T0711660-91/d08
+
+Figure 8/X.440 – Forwarded message mapped into an MS
+
+## 18.3 Maintenance of attributes
+
+An MS shall satisfy the following requirements related to MS attributes:
+
+- For each VM or VN it holds, the MS shall support the attributes as required in 18.6.
+- For each VM it holds, the MS shall give the following meanings to the defined values of the MS-status attribute:
+ - new:** No attribute values have been conveyed to the UA.
+ - listed:** At least one attribute value has been conveyed to the UA, and at least one body part value has not been conveyed to the UA.
+ - processed:** All body parts have been conveyed to the UA or the MS has performed an auto action and the definition of that auto action causes a change to the entry's status.
+- For each VN it holds, the MS shall give the following meanings to the defined values of the MS-status attribute:
+ - new:** No attribute values have been conveyed to the UA.
+ - listed:** At least one attribute value has been conveyed to the UA, and at least one attribute value has not been conveyed to the UA.
+ - processed:** All attributes have been conveyed to the UA or the MS has performed an auto action and the definition of that auto action causes a change to the entry's status.
+- The MS-status attribute shall reflect the state of affairs prior to an abstract operation invocation that alters its value.
+
+- e) The Content Type attribute of each message containing a VM or VN that is delivered to the MS shall have as value the Object Identifier *id-mct-pvm* (see Annex A).
+
+## 18.4 Voice Messaging MS auto forward action types
+
+The concept of auto actions is described in 6.5 and clause 12 of ITU-T Rec. X.413 | ISO/IEC 10021-5. This defines two general auto action types, which can potentially be used for all content-types. However, the "auto-forward" auto action defined there is not well-suited for the VM content-type and its use for Voice messaging is discouraged. Instead, a specific auto action, called **vm-auto-forward-actions**, is defined below for VM Forwarding. Also, VM offers MS users a new auto action for the automatic generation of VN's Service Notification. This new auto action, called **vm-auto-sn-action**, is defined in 18.5.
+
+The auto-alert auto action defined in 12.2 of ITU-T Rec. X.413 | ISO/IEC 10021-5 can be used for Voice messaging without any restrictions.
+
+Auto actions are registered and deregistered using the Register-MS abstract operation as described in 8.6 of ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+The *vm-auto-forward-actions* auto action is described in this subclause. The operation of this auto action may be affected by the implementation of a security policy. Body Parts may not be added or removed through *vm-auto-forward-actions*.
+
+The MS auto action, described below, together with its abstract syntax using the AUTO-ACTION macro is defined in 6.5 of ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+NOTE 1 – Substrings in filters cannot be defined for composite attributes (attributes with further ASN.1 structure in the attribute value) in 1992 and later versions of ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+NOTE 2 – This version of this Recommendation does not provide for matching on voice encoded information objects.
+
+The *vm-auto-forward-actions* allows the MS to perform VM Forwarding. The forwarding of VMs occurs in one of three ways:
+
+- a) the **vm-forwarding-with-NRN**, which means that the VM responsibility is forwarded and an NRN VN is returned to the originator. See a of 18.4.1;
+- b) the **vm-forwarding-with-RN**, which means that the VM responsibility is accepted and an RN VN is returned to the originator. See b of 18.4.2;
+- c) the **vm-forward-without-VNs**, which means that no VNs were requested and that no VN is returned to the originator. See a of 18.4.3.
+
+If Voice Security Requests are present, then the VM-auto-forward actions defined above may be prohibited, subject to the security policy in force. If Voice Security Requests are present, then the VM-auto-forward action of a shall not be performed.
+
+The *VM-auto-forward-actions* allows one or more sets of *VMActionRegistrationParameters* to be registered with the MS, each identified by its registration-identifier. Each *VMActionRegistrationParameter* value specifies criteria to determine whether it applies to a delivered VM, and if so, a copy of the message is VM-auto-forwarded and the status of the entry is set to processed, and an RN or NRN may be generated when requested, using the Message-submission abstract operation. In cases a and b above, a VN is also returned to the originator using the Message-submission abstract operation. The delivered VM may be automatically deleted afterwards. The ASN.1 definition of the **vm-auto-forward-actions** AUTO ACTION is as follows:
+
+```
+
+vm-auto-forward-actions AUTO-ACTION
+ REGISTRATION PARAMETER IS VMActionRegistrationParameter
+ ::= id-act-vm-auto-actions
+
+VMActionRegistrationParameter ::= SEQUENCE {
+ filter [0] Filter OPTIONAL,
+ vm-supplementary-information [1] VMSupplementaryInformation OPTIONAL,
+ delete-after-forwarding [2] BOOLEAN DEFAULT FALSE,
+ vm-auto-forwarding-mode CHOICE {
+ vm-forwarding-with-message-not-accepted [3] ForwardWithNonReceipt,
+ vm-forwarding-with-message-accepted [4] ForwardWithMessageAccepted,
+ vm-forwarding-with-no-VNs [5] ForwardWithoutVNs } }
+
+```
+
+NOTE 3 – The data types Filter, Per Message Auto Forward Fields and Per Recipient Auto Forward Fields are defined in 12.1 of ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+The common parameters of the Voice Forward Registration Parameter have the following meanings:
+
+- a) *Filter*: This is a set of criteria which a new entry representing a delivered VM shall satisfy for the MS abstract service provider to auto forward it using this set of parameters.
+
+The absence of this parameter indicates that all new entries are to be examined for potential auto actions, e.g., auto forwarding.
+
+- b) *Vm-supplementary-information*: This parameter can contain text to be included in the *other-parameters* field of a forwarded VM.
+- c) *Delete-after-forwarding*: This parameter indicates whether an MS entry should be deleted or not, once the auto-forward submission has succeeded. If not specified, no deletion takes place.
+
+NOTE 4 – If the message is deleted upon successful auto-forward submission and the forwarded message is non-delivered, it is not possible to reconstruct the entry in the MS. The F.400-Series of Recommendations discourages the use of the Return of Contents feature in an MTS Non-Delivery report. Thus the creation of an NRN may not be possible.
+
+- d) *VM-auto-forwarding-mode*: This is a choice between:
+ - 1) **VM-forwarding-with-NRN**;
+ - 2) **VM-forwarding-with-RN**;
+ - 3) **VM-forwarding-without-notification**.
+
+The remaining parameters are described separately below for these three cases.
+
+### 18.4.1 VM-Forwarding-with-NRN
+
+The *vm-forwarding-with-NRN* case enables the MS abstract service provider to automatically forward any VM to one or more recipients that has been delivered into the stored-messages information base and indicate to the originator of the subject VM that the message was not accepted. An assumption for this case is that a NRN has been requested.
+
+The following limitations apply to *vm-forwarding-with-NRN*, when compared to the general rules for forwarding contained in:
+
+- a) The MS shall construct and forward a VM whose primary body part comprises a body part of type VM body part as described in clause 8; the other-parameters component of the VM (Forwarded) Body Part will contain any registered supplementary information; the original delivery envelope shall be included, and the components of the original Heading shall be copied to the Heading of the submitted VM according to the rules in 17.3.3 with the following exceptions:
+ - 1) the **recipient** parameter value is set to the next recipient;
+ - 2) the **message-forwarded** parameter value is set to TRUE.
+- b) The *vm-forwarding-with-NRN* auto action type shall only be performed once for a particular VM by the same MS.
+- c) If VN requests are present in the subject VM, the MS shall set identical VN requests for only the first recipient named in the per-recipient-arguments field of this parameter. VN requests shall not be made of any other recipients.
+
+If the VM Heading contains a request to return a Non-Receipt Notification (NRN), the MS generates an NRN according to the rules described in 17.3.3.6, using the Message-submission abstract operation. The value **nrn-sent** is added in the V Notification Indicator attributes.
+
+The following ASN.1 data type defines the parameters specific to this case:
+
+```
+ForwardWithMessageNonReceipt ::= SET {
+ COMPONENTS OF PerMessageAutoForwardFields, -- from MS auto-forward Abstract Operation
+ per-recipient-no-accept-arguments [3] SEQUENCE OF
+ PerRecipientNoAcceptArguments,
+ notification-argument [4] NotificationArguments OPTIONAL }
+
+PerRecipientNoAcceptArguments ::= SEQUENCE {
+ per-recipient-field [0] PerRecipientAutoForwardFields,
+ heading-next-recipient [1] RecipientField }
+
+NotificationArguments ::= SET {
+ COMPONENTS OF PerMessageAutoForwardFields, -- from MS auto-forward Abstract Operation
+ per-recipients-field [3] COMPONENTS OF per RecipientAutoForwardFields
+ WITH RecipientName ABSENT }
+```
+
+- a) *PerMessageAutoForwardFields*
+
+This is a set of arguments registered to be used for each message submission abstract operation (see 8.2.1.1.1 of ITU-T Rec. X.411 | ISO/IEC 10021-4). Any argument which is not registered, not mandatory, and not specifically mentioned below, will be absent from each message submission.
+
+If conversion-with-loss-prohibited is registered with the value "zero" indicating that conversion-with-loss is allowed [as defined in Figure 2/X.411 (part 21 of 41)] either by explicit registration of the value, or if it is not registered and thus assumes this value by default, the value used for each Message-submission abstract-operation shall be the value
+
+of the corresponding Message-delivery argument. If conversion-with-loss-prohibited is registered with the value "one" indicating that conversion-with-loss is prohibited, this value shall be used for each Message-submission abstract-operation.
+
+If implicit-conversion-prohibited is registered with the value "zero", indicating that implicit-conversion is allowed, or if no value is registered, the value used for each Message-submission abstract-operation shall be the value of the corresponding Message-delivery argument. If implicit-conversion-prohibited is registered with the value "one", indicating that implicit-conversion is prohibited, this value shall be used for each Message-submission abstract-operation.
+
+If the following arguments are not registered, their presence as message submission arguments depends upon the presence of the corresponding message delivery arguments, their values being transformed where appropriate: *content-confidentiality-algorithm-identifier*, *message-origin-authentication-check*, *message-security-label* and *priority*.
+
+DL-expansion-prohibited shall have the fixed value DL-expansion-prohibited in the Message-submission abstract-operation.
+
+Certain message submission arguments may not be registered. These are: *proof-of-submission-request*, *original-encoded-information-types* and *content-type*.
+
+#### b) *PerRecipientNoAcceptArguments*
+
+This is a set of arguments registered to be used for each message submission abstract operation (see 8.2.1.1.1 of UIT-T Rec. X.411 | ISO/IEC 10021-4). Any argument which is not registered, not mandatory, and not specifically mentioned below, will be absent from each message submission.
+
+If the following arguments are not registered, their presence as message submission arguments depends upon the presence of the corresponding message delivery arguments, their values being transformed where appropriate: *message-token* and *content-integrity-check*.
+
+The following argument has a fixed value:
+
+- 1) *originator-report-request*: This shall have either the value non-delivery-report or the value report.
+
+Only one recipient is allowed for this case.
+
+#### c) *Notification-argument*
+
+This contains a subset of the parameters as in a) and b) above, but the actual values can differ from the values in the forwarded VM.
+
+Notification-argument is used in the submission abstract operation of any VN generated by the MS.
+
+NOTE – The Recipient Name component is not used because a VN may be sent to the originator of the subject VM or to the user identified in the VN-Receiver-field.
+
+### 18.4.2 VM-Forwarding-with-RN
+
+The *vm-forwarding-with-RN* case enables the MS abstract service provider to automatically forward to one or more preferred recipients, and automatically generate an RN if requested, any VM that has been delivered into the stored-messages information base. An assumption for this case is that an RN has been requested and that the MS has accepted responsibility for the subject VM even though it is being forwarded to another recipient.
+
+The following limitations apply to *vm-forwarding-with-RN*, when compared to the general rules for forwarding contained in 17.3.3:
+
+- a) The MS shall construct and forward a VM whose primary body part comprises a body part of type VM body part as described in 17.3.3.4; body parts may be added, the original delivery envelope shall be included, and the components of the original Heading shall be copied to the Heading of the submitted VM according to the rules in 17.3.3 with the following exceptions:
+ - 1) the **recipient** parameter value is set to the next recipient;
+ - 2) the **message-forwarded** parameter value is set to TRUE.
+- b) The *vm-forwarding-with-RN* auto action type shall only be performed once for a particular VM by the same MS.
+- c) At least one preferred recipient shall be specified for the forwarding auto action. Additional recipients may be specified. Setting of VN request bits is at the discretion of the user and the VN-Receiver-field is set to indicate that VNs are not returned to the originator of the subject VM.
+
+If the VM Heading contains a request to return a Receipt Notification (RN) the MS generates an RN according to the rules described in 17.3.3.1, using the Message-submission abstract operation. The value *rn-sent* is added in the V Notification Indicator attributes.
+
+The following ASN.1 data type defines the parameters specific to this case:
+
+```
+
+ForwardWithRespAccepted ::= SET {
+ COMPONENTS OF PerMessageAutoForwardFields, -- from MS auto-forward Abstract Operation
+ per-recipient-arguments [3] SEQUENCE SIZE (1..ub-recipients) OF
+ Per RecipientArguments, -- P1 + VMP information
+ notification-argument [4] NotificationArguments OPTIONAL -- RN arguments }
+
+PerRecipientArguments ::= SEQUENCE {
+ per-recipients-p1-info [0] PerRecipientAutoForwardFields,
+ -- P1 Per Recipient information
+ vm-heading-fields [1] HeadingFields OPTIONAL, -- VMP Per Recipient information
+ new-vn-receiver-name [2] ORName } -- for all VMP recipients
+
+HeadingFields ::= SEQUENCE {
+ next-recipient [0] RecipientField,
+ next-recipient-vn-requests-field [1] VNotificationRequestsField OPTIONAL,
+ next-message-forwarding-permitted [2] MessageForwardingPermitted DEFAULT
+ FALSE }
+
+```
+
+#### a) *PerMessageAutoForwardFields*
+
+This is a set of arguments registered to be used for each message submission abstract operation (see 8.2.1.1.1 of ITU-T Rec. X.411 | ISO/IEC 10021-4). Any argument which is not registered, not mandatory, and not specifically mentioned below, will be absent from each message submission.
+
+If conversion-with-loss-prohibited is registered with the value "zero" indicating that conversion-with-loss is allowed [as defined in Figure 2/X.411 (part 21 of 41)], either by explicit registration of the value, or if it is not registered and thus assumes this value by default, the value used for each Message-submission abstract-operation shall be the value of the corresponding Message-delivery argument. If conversion-with-loss-prohibited is registered with the value "one" indicating that conversion-with-loss is prohibited, this value shall be used for each Message-submission abstract-operation.
+
+If implicit-conversion-prohibited is registered with the value "zero", indicating that implicit-conversion is allowed, or if no value is registered, the value used for each Message-submission abstract-operation shall be the value of the corresponding Message-delivery argument. If implicit-conversion-prohibited is registered with the value "one", indicating that implicit-conversion is prohibited, this value shall be used for each Message-submission abstract-operation.
+
+If the following arguments are not registered, their presence as message submission arguments depends upon the presence of the corresponding message delivery arguments, their values being transformed where appropriate: *content-confidentiality-algorithm-identifier*, *message-origin-authentication-check*, *message-security-label* and *priority*.
+
+DL-expansion-prohibited shall have the fixed value DL-expansion prohibited in the Message-submission abstract-operation.
+
+Certain message submission arguments may not be registered. These are: *proof-of-submission-request*, *original-encoded-information-types* and *content-type*.
+
+#### b) *PerRecipientArguments*
+
+This set of arguments registers the values to be used for each recipient of a forwarded message. Messages are forwarded to one or more preferred recipients.
+
+##### 1) **PerRecipientAutoForwardFields**
+
+This is a set of arguments registered to be used for each message submission abstract operation (see 8.2.1.1.1 of ITU-T Rec. X.411 | ISO/IEC 10021-4). Any argument which is not registered, not mandatory, and not specifically mentioned below, will be absent from each message submission.
+
+If the following arguments are not registered, their presence as message submission arguments depends upon the presence of the corresponding message delivery arguments, their values being transformed where appropriate: *message-token* and *content-integrity-check*.
+
+The following argument has a fixed value:
+
+- *originator-report-request*: this shall have either the value non-delivery-report or the value report.
+- Multiple recipients are allowed for this case.
+
+##### 2) **New VN receiver name** (same for all recipients)
+
+- *new-vn-receiver-name* to replace *vn-receiver-field* in heading.
+
+##### 3) **HeadingFields**
+
+- *next-recipient* to replace *recipient* in Recipients Sub Field. This field is mandatory.
+- *next-recipient-vn-requests-field* to replace *vn-requests-field* in Recipients Sub Field. This field is optional.
+- *next-message-forwarding-permitted* to replace *message-forwarding-permitted* in Recipients Sub Field. This field is optional.
+
+- c) *Notification-argument*: This contains a subset of the parameters as in a) and b) above, but the actual values can differ from the values in the forwarded VM.
+
+Notification-argument is used in the submission abstract-operation of any VN generated by the MS.
+
+NOTE – The Recipient Name component is not used because a VN may be sent to the originator of the subject VM or to the user identified in the VN-Receive-field.
+
+### 18.4.3 **VM-Forwarding-without-notification**
+
+The *vm-forwarding-without-notification* case enables the MS abstract service provider to automatically forward any VM that has been delivered into the stored-messages information base. An assumption for this case is that neither an NRN nor a RN has been requested.
+
+The following limitations apply to *vm-forwarding-without-notification*, when compared to the general rules for forwarding contained in 17.3.3:
+
+- a) The MS shall construct and forward a VM whose primary body part comprises a body part of type VM body part as described in 8.2.2. The original delivery envelope may be included. Components of the original Heading shall be copied to the Heading of the submitted VM according to the rules in 18.4.2, to the forwarded VM with the following exceptions:
+- 1) The *recipient* parameter value is set to the next recipient.
+ - 2) Any registered values for Heading fields shall replace the old values in the new Heading.
+ - 3) The **message-forwarded** parameter value is set to TRUE.
+ - 4) If VNs are requested of any recipient, then the *VN-receiver* field, as defined in 8.1.14, is set to indicate that VNs are not returned to the originator of the subject VM.
+- b) At least one preferred recipient shall be specified for the forwarding auto action. Additional recipients may be specified.
+
+The following ASN.1 data type defines the parameters specific to this case:
+
+```
+ForwardWithoutVNs ::= SET {
+ COMPONENTS OF PerMessageAutoForwardFields, -- from MS auto-forward Abstract Operation
+ per-recipient-no-vn-arguments [3] SEQUENCE SIZE (1..ub-recipients) OF
+ PerRecipientArguments -- PI + VM information }
+```
+
+#### a) **PerMessageAutoForwardFields**
+
+The description is the same as in a of 18.4.1;
+
+#### b) **PerRecipientArguments**
+
+The description is the same as in b of 18.4.2;
+
+Multiple recipients are allowed for this case.
+
+## 18.5 **Voice messaging MS auto service notification action type**
+
+VM offers MS users a new auto action for the automatic generation of an SN. This new auto action, called **vm-auto-sn-action** is defined below for interacting with a VMGS-MS. This is a new auto action that is not defined in ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+NOTE 1 – VM's service notification provides the element of service E.15 defined in CCITT Rec. F.440.
+
+The *vm-auto-sn-action* allows one or more sets of *VNSNActionRegistrationParameters* to be registered with the MS; each is identified by its registration-identifier. Each instance of *VNSNActionRegistrationParameter* specifies criteria to be used by a VMGS-MS to determine whether it applies to a delivered VM. If so and the originator of the subject VM requests an SN, the MS is instructed to automatically generate an SN using the Message-submission abstract operation.
+
+The service-notification case enables the MS abstract service provider to automatically generate a requested SN for any VM that has been delivered into the stored-messages information base. Once an SN is successfully generated by the MS, the value **sn-sent** is added in the V Notification Indicator attribute. The MS only generates a single SN for this named recipient. SNs shall be acted upon by a VMGS-MS before engaging in VM Forwarding.
+
+NOTE 2 – The delivery of a message into a VMGS-MS and generation of a SN is independent of VM Forwarding actions.
+
+The following limitations apply to MS auto SN generation, when compared to the general rules for generating a SN contained in 17.3.2:
+
+- a) The MS shall construct a VN whose structure is a SN as described in 17.3.2. Components of the original Heading shall be copied to the Common Fields component of the SN according to the rules in 17.3 and 17.3.2.1, with the following exceptions:
+ - The "recipient" parameter value is set to the value of vn-receiver-name of the vn-receiver-field. If the vn-receiver-field is absent, then the parameter is set to the value of the originator-field.
+
+The following AUTO-ACTION and ASN.1 data type defines the parameters specific to this case:
+
+**vm-auto-sn-action AUTO-ACTION**
+**REGISTRATION PARAMETER IS VNSNActionRegistrationParameter**
+**::= id-act-vn-sn-auto-action**
+
+**VNSNActionRegistrationParameter ::= SEQUENCE {**
+**filter** **[0] Filter OPTIONAL,**
+**vn-service-notice-info** **[1] ServiceNotificationInfo }**
+
+The *Filter* specifies the criteria upon which the MS is to invoke this auto-action. The data type *Filter* is defined in 12.1 of UIT-T Rec. X.413 | ISO/IEC 10021-5.
+
+The *ServiceNotificationInfo* to be registered has the following arguments:
+
+### a) **SN Notification Argument**
+
+This argument registers the set of possible SN reasons that may be generated by an MS. Its syntax is that of the *SNReasonCode* field. The description is found in 9.3.2.
+
+### b) **VN Supplementary Info**
+
+This argument registers the value to be used in *VNSupplementaryInfo* field for SNs generated automatically by the MS. Its syntax is that of the *VNSupplementaryInfo* field. The description is found in 9.1.10.
+
+### c) **Extensions**
+
+This argument is used to pass additional elements of protocol not specified in this version of this Recommendation. The syntax of this field is that of *NotificationExtensionsField*. The description is found in 9.1.11.
+
+**ServiceNotificationInfo ::= SET {**
+**sn-notification-argument** **[4] SNReasonCode,**
+**sn-supplementary-info** **[5] VNSupplementaryInfo OPTIONAL,**
+**extensions** **[6] NotificationExtensionsField OPTIONAL }**
+
+## 18.6 Message store attributes
+
+As described in UIT-T Rec. X.413 | ISO/IEC 10021-5, an MS maintains and provides access to certain attributes of each information object it holds. An attribute comprises a type and, depending upon the type, one or more values. Attributes that may assume several values simultaneously (all pertaining to one object) are termed multi-valued, those that may assume just one value, single-valued. Some attributes pertain to information objects of all kinds, others only to those of, for example, VM messaging kind.
+
+The following subclauses define the MS attributes specific to voice messaging. These subclauses also stipulate if support for any VM specific attribute is mandatory or optional, see Table 1.
+
+All of the attributes defined in this Recommendation, except those corresponding to extended body part types (which cannot be enumerated), are listed alphabetically, for reference, in the first column of Table 1. This table records their presence in a delivered message entry. None of them will appear in a delivered report entry. Additional, unnamed attributes are described in 18.6.4.5. Table 2 identifies the source of each attribute value and describes how the VM attributes are generated.
+
+NOTE – See 5.2.1 and 5.2.2 for an elaboration of the legend of the tables.
+
+**Table 1/X.440 – Summary of the VM specific MS attribute types**
+
+| Attribute | Single-/Multi-valued | Support level by MS and UA | Presence in delivered VM | Presence in delivered RN | Presence in delivered NRN | Presence in delivered SN | Available for list, alert | Available for summarize |
+|-----------------------------------------|----------------------|----------------------------|--------------------------|--------------------------|---------------------------|--------------------------|---------------------------|-------------------------|
+| body | S | M | P | – | – | – | N | N |
+| conversion-indication | S | M | – | C | C | C | Y | N |
+| expiry-time | S | O | C | – | – | – | Y | N |
+| externally-defined-body-part-types | M | O | C | – | – | – | Y | N |
+| first-recipient | S | O | C | C | C | C | Y | N |
+| heading | S | M | P | – | – | – | N | N |
+| heading-extensions | M | M | C | – | – | – | Y | N |
+| importance | S | O | C | – | – | – | Y | Y |
+| language | M | O | C | – | – | – | Y | Y |
+| message-data | S | O | C | – | – | – | N | N |
+| message-parameters | S | O | C | – | – | – | N | N |
+| notification-security-elements | S | O | – | C | C | C | Y | N |
+| notification-creation-time | S | O | – | P | P | P | Y | N |
+| notification-extensions | M | O | – | C | C | C | Y | N |
+| nrn-extensions | M | O | – | – | C | – | Y | N |
+| nrn-tsau-reason-code | M | O | – | – | C | – | Y | N |
+| nrn-ua-ms-reason-code | M | O | – | – | C | – | Y | N |
+| nrn-user-reason-code | M | O | – | – | C | – | Y | N |
+| obsoleted-vm | S | O | C | – | – | – | Y | N |
+| originator | S | O | C | – | – | – | Y | N |
+| orig-vm-spoken-subject | S | O | – | C | C | C | Y | N |
+| recipient-extensions-for-this-recipient | M | O | C | – | – | – | Y | N |
+| rn-extensions | M | O | – | C | – | – | Y | N |
+| sensitivity | S | O | C | – | – | – | Y | N |
+| sn-extensions | M | O | – | – | – | P | Y | N |
+| sn-reason-code | S | O | – | – | – | P | Y | N |
+| subject-vm | S | M | – | P | P | P | Y | N |
+| subject-vm-other-recipients | M | O | – | C | C | C | N | N |
+| this-vm | S | M | P | – | – | – | Y | N |
+| this-recipient | S | O | C | – | – | – | Y | N |
+| v-body-message-length | S | M | – | – | – | – | N | Y |
+| v-body-part | S | M | P | – | – | – | N | N |
+
+**Table 1/X.440 – Summary of the VM specific MS attribute types (concluded)**
+
+| Attribute | Single-/Multi-valued | Support level by MS and UA | Presence in delivered VM | Presence in delivered RN | Presence in delivered NRN | Presence in delivered SN | Available for list, alert | Available for summarize |
+|-------------------------------------------------------|----------------------|----------------------------|--------------------------|--------------------------|---------------------------|--------------------------|---------------------------|-------------------------|
+| vm-bodypart-sequence-number | S | M | – | – | – | – | N | N |
+| vm-creation-time | S | M | C | – | – | – | Y | N |
+| vm-encrypted-primary-bodypart | S | O | C | – | – | – | – | N |
+| vm-entry-type | S | M | P | P | P | P | Y | Y |
+| vm-forwarded-indication | S | M | C | – | – | – | Y | N |
+| vm-forwarding-permitted | S | O | C | – | – | – | Y | N |
+| vm-notification-indicator | S | O | – | – | – | – | Y | N |
+| vm-notification-extension-requests-for-this-recipient | M | O | C | – | – | – | Y | N |
+| vm-notification-requests-for-this-recipient | S | O | C | – | – | – | Y | N |
+| vm-notification-security-requests-for-this-recipient | S | O | C | – | – | – | Y | N |
+| vm-originator-spoken-name | S | O | C | – | – | – | Y | Y |
+| vm-reception-security-requests-for-this-recipient | S | O | C | – | – | – | Y | N |
+| vm-spoken-subject | S | O | C | – | – | – | Y | Y |
+| vm-synopsis | S | O | P | – | – | – | N | N |
+| vm-this-recipient-spoken-name | S | O | C | – | – | – | Y | Y |
+| vmgs-user-security-element | S | O | C | – | – | – | Y | N |
+| vmgs-user-security-extensions | M | O | C | – | – | – | Y | N |
+| vn-initiator | S | O | – | P | P | P | Y | N |
+| vn-originator-text | S | O | – | P | P | P | Y | N |
+| vn-originator-spoken-name | M | O | – | C | C | C | Y | N |
+| vn-receiver-field | S | O | C | – | – | – | Y | N |
+| vn-supplementary-information | S | O | – | C | C | C | N | N |
+| vn-voice-encoding-type | S | M | – | P | P | P | Y | Y |
+| voice-encoding-type | S | M | C | – | – | – | Y | N |
+| voice-message-duration | S | M | P | – | – | – | Y | Y |
+| voice-message-other-parms | S | M | C | – | – | – | Y | Y |
+
+**Table 2/X.440 – Generation of the VM specific MS attribute types**
+
+| Attribute-type-name | Source parameters | Generated by | Generation rules |
+|-----------------------------------------|--------------------------------|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| body | Body | MD | The value of the parameter is the attribute value. |
+| conversion-indication | ConversionEITsField | MD | The value of the parameter is the attribute value when found in a VN |
+| expiry-time | ExpiryTimeField | MD | The value of the parameter is the attribute value. |
+| externally-defined-body-part-types | AdditionalBodyParts | MD | From each component of the SEQUENCE, one value is generated from the value of the ExternallyDefinedData components direct-reference and one is generated from the value of the ExternallyDefinedParameters components direct-reference, if present. |
+| first-recipient | FirstRecipient | MD | The value of the parameter is the attribute value. |
+| heading | Heading | MD | The value of the parameter is the attribute value. |
+| heading-extensions | HeadingExtensionsSubField | MD | A value is generated from each value of the SET. |
+| importance | ImportanceField | MD | The value of the parameter is the attribute value. |
+| language | Language | MD | The value of the parameter is the attribute value. |
+| message-data | MessageData | MD | The value of the parameter is the attribute value. |
+| message-parameters | MessageParameters | MD | The value of the parameter is the attribute value. |
+| notification-creation-time | NoticeCreationTimeField | MD | The value of the parameter is the attribute value. |
+| notification-extensions | NotificationExtensionsSubField | MD | A value is generated from each value of the SET. |
+| notification-security-elements | SecurityElementsField | MD | The value of the parameter is the attribute value. |
+| nrn-extensions | NRNExtensionsSubField | MD | A value is generated from each value of the SET when found in a VN. |
+| nrn-tsau-reason-code | VNRNTSAUReasonCodeField | MD | The value of the parameter is the attribute value when found in a VN. |
+| nrn-ua-ms-reason-code | VNRNUAMSReasonCodeField | MD | The value of the parameter is the attribute value when found in a VN. |
+| nrn-user-reason-code | VNRNUSERReasonCodeField | MD | The value of the parameter is the attribute value when found in a VN. |
+| obsoleted-vm | ObsoletedVMFields | MD | A value is generated from each value of the SEQUENCE. |
+| originator | Originator | MD | The value of the parameter is the attribute value. |
+| orig-vmg-spoken-subject | VMSpokenSubjectField | MD | The value of the parameter is the attribute value when found in a VN. |
+| recipient-extensions-for-this-recipient | RecipientExtensions | MD | A value is generated from each value of the SET in the recipient-sub-field for this recipient. |
+| rn-extensions | RNExtensions | MD | A value is generated from each value of the SET when found in a VN. |
+| sensitivity | SensitivityField | MD | The value of the parameter is the attribute value. |
+| sn-extensions | SNExtensionsSubField | MD | A value is generated from each member of the SET when found in a VN. |
+
+**Table 2/X.440 – Generation of the VM specific MS attribute types (continued)**
+
+| Attribute-type-name | Source parameters | Generated by | Generation rules |
+|------------------------------------------------------|-----------------------------|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| sn-reason-code | SNUAMSReasonBasic Code | MD | The value of the parameter is the attribute value when found in a VN. |
+| subject-vm | SubjectVM | MD | The value of the parameter is the attribute value when found in a VN. |
+| subject-vmg-other-recipients | RecipientField | MD | A value is generated from each member of the SET when found in a VN. |
+| this-vm | ThisVM | MD | The value of the parameter is the attribute value. |
+| this-recipient | Recipient | MD | The attribute-value is the value of the parameter in the recipient-sub-field for this recipient. |
+| v-body-message-length | None | MS | The total length of the subject-VM. |
+| v-body-part | VBodyPart | MD | The value of the parameter is the attribute value. |
+| vm-body-part | NONE | MS | The value is the sequence-number of the entry created for the forwarded VM. |
+| vm-creation-time | VMCreationTime | MD | The value of the parameter is the attribute value when found in a VN. |
+| vm-entry-type | NONE | MS | Provided by the MS when it creates the entry in the MS information base. If the information object is an VM, the value is set to "vm". If the information object is a VN, the value is set according to the type of the VN, e.g., rn, sn, nnn. |
+| vm-message-forwarded-indication | MessageForwarded | MD | The value of the parameter is the attribute value. If the source parameter is missing, an attribute with the default value shall be generated. |
+| vm-forwarding-permitted | MessageForwarding Permitted | MD | The value of the parameter is the attribute value when found. If the source parameter is missing, an attribute with the default value shall be generated. |
+| vm-notification-indicator | NONE | MS | A value is added when an VN is submitted from the MS. A default value of no notifications sent is set when the entry is created. |
+| vm-notification-requests-for-this-recipient | VNotificationRequests | MD | The attribute-value is the value of the parameter in the recipient-sub-field for this recipient. |
+| vm-notification-security-requests-for-this-recipient | VMNotification Security | MD | The attribute-value is the value of the parameter in the recipient-sub-field for this recipient. |
+| vm-originator-spoken-name | OriginatorSpokenName | MD | The value of the parameter is the attribute value when found in VN. |
+| vm-reception-security-requests-for-this-recipient | VMReceptionSecurity | MD | The attribute-value is the value of the parameter in the recipient-sub-field for this recipient. |
+| vm-spoken-subject | VMSpokenSubject Field | MD | The value of the parameter is the attribute value when found in VN. |
+| vm-synopsis | see 18.6.1.2 | MS | see 18.6.1.2 |
+| vm-this-recipient-spoken-name | RecipientSpoken Name | MD | The value of the parameter is the attribute value. |
+| vmgs-user-security-element | VMGSUserSecurity Element | MD | The value of the parameter is the attribute value. |
+
+**Table 2/X.440 – Generation of the VM specific MS attribute types (concluded)**
+
+| Attribute-type-name | Source parameters | Generated by | Generation rules |
+|--------------------------------|----------------------------|--------------|--------------------------------------------------------------------------------------------------------|
+| vm-user-security-extensions | VMGSUserSecurityExtensions | MD | A value is generated from each value of the SET. |
+| vn-initiator | VNInitiator | MD | The value of the parameter is the attribute value. |
+| vn-originator-spoken-name | OriginatorSpokenName | MD | The value of the parameter is the attribute value when found in a VN. |
+| vn-originator-text | ORDescriptor | MD | The value of the parameter is the attribute value component of the VMOriginatorField found in the VN. |
+| vn-receiver-field | VNReceiverField | MD | The value of the parameter is the attribute value. |
+| vn-supplementary-information | VNSupplementary | MD | The value of the parameter is the attribute value when found in a VN. |
+| vn-voice-encoding-type | VNVoiceEncodingType | MD | The value of the parameter is the attribute value when found in a VN. |
+| voice-encoding-type | VoiceEncodingType | MD | The value of the parameter is the attribute value. |
+| voice-message-duration | VMDuration | MD | The attribute-value is the value of the voice-message-duration component of the VoiceParameters field. |
+| voice-message-other-parameters | VMSupplementaryInformation | MD | The attribute-value is the value of the other-parameters component of the VoiceParameters field. |
+
+### 18.6.1 Summary attributes
+
+Some attributes summarize a Voice Messaging information object. These attributes are defined and described below.
+
+#### 18.6.1.1 VM Entry Type
+
+The MS VM Entry Type attribute identifies an information object's type.
+
+**vm-entry-type ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX EntryType**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-sat-vmg-entry-type**
+
+**EntryType ::= ENUMERATED {**
+**voice-message (0),**
+**receipt-notification (1),**
+**non-receipt-notification (2),**
+**service-notification (3) }**
+
+This attribute may assume any one of the following values:
+
+- a) **voice-message**: The information object is a VM.
+- b) **receipt-notification**: The information object is an RN.
+- c) **non-receipt-notification**: The information object is an NRN.
+- d) **service-notification**: The information object is an SN.
+
+An MS that supports this attribute shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM or VN.
+
+#### 18.6.1.2 VM Synopsis
+
+The MS VM Synopsis attribute gives the structure, characteristics, size, and processing status of a VM at the granularity of individual body parts.
+
+**vm-synopsis ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VMSynopsis**
+**SINGLE VALUE**
+**::= id-sat-vm-synopsis**
+
+The synopsis of a VM comprises a synopsis of each of its body parts. The synopses appear in the order in which the body parts appear.
+
+##### **VMSynopsis ::= SEQUENCE OF BodyPartSynopsis**
+
+The synopsis of a body part takes either of two forms depending upon whether the body part is of type Message or Non-message. This enables the synopsis of a forwarding VM to encompass the body parts of each forwarded VM (recursively), as well as those of the forwarding VM itself.
+
+```
+
+BodyPartSynopsis ::= CHOICE {
+ message [0] MessageBodyPartSynopsis,
+ non-message [1] NonMessageBodyPartSynopsis }
+
+MessageBodyPartSynopsis ::= SEQUENCE {
+ number [0] SequenceNumber,
+ synopsis [1] VMSynopsis }
+
+NonMessageBodyPartSynopsis ::= SEQUENCE {
+ type [0] OBJECT IDENTIFIER,
+ parameters [1] ExternallyDefinedParameters OPTIONAL,
+ bp-size [2] INTEGER, -- in octets
+ processed [3] BOOLEAN DEFAULT FALSE }
+
+```
+
+The synopsis of a Message body part has the following components:
+
+- a) MS Number: The sequence number that the MS assigns to the entry that the Message body part represents.
+- b) MS Synopsis: The synopsis of the VM that forms the content of the message that the body part represents.
+
+The synopsis of a body part of type other than Message has the following components. For purposes of this synopsis, the body part is considered to be of type Externally Defined, whether or not it was so conveyed to the MS:
+
+- c) MS Type: The body part's extended type, i.e. the Direct-reference component of the body part's Data component.
+- d) MS Parameters: The body part's format and control parameters, i.e. the body part's Parameters component.
+- e) MS Size: The size in octets of the encoding component of the body part's Data component when the basic encoding rules of CCITT Rec. X.209 and ISO/IEC 8825 are followed. If those rules permit several (e.g., both primitive and constructed) encodings of the component, the size may reflect any one of them.
+- f) MS Processed (default *false*): An indication of whether the body part has been conveyed to the UA by means of the MS Fetch abstract operation. A default of *false* indicates that the body part has not been conveyed.
+
+An MS that supports this attribute shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM.
+
+As a consequence of its variability, the value of the Size component should be considered only an estimate of the body part's size.
+
+### **18.6.2 Voice notification indicator**
+
+The Voice Notification Indicator attribute contains information about whether any Voice Notifications have been sent in response to a VM, and if so which type of Voice Notifications were sent. The MS creates this attribute for each new VM and maintains the attribute values, depending on the user invoked or auto actions performed.
+
+```
+
+vm-notification-indicator ATTRIBUTE
+WITH ATTRIBUTE-SYNTAX VNotificationIndicator
+MATCHES FOR EQUALITY
+SINGLE VALUE
+::=id-sat-vm-notification-indicator
+
+```
+
+**VNotificationIndicator ::= VIndicatorBits DEFAULT { } -- default is NO Notifications Sent**
+
+```
+
+VIndicatorBits ::= BIT STRING {
+ rn-sent (0),
+ sn-sent (1),
+ nrn-sent (2) } (SIZE (1..ub-bit-options))
+
+```
+
+Each value of this attribute may assume one of the following values:
+
+- a) **rn-sent**: This value means that the MS has generated and sent a Receipt Notification (RN) in response to a request for an RN.
+- b) **sn-sent**: This value means that the MS has generated and sent a Service Notification (SN) in response to a request for an SN.
+
+- c) **nrn-sent**: This value means that the MS has generated and sent a Non-Receipt Notification (NRN) in response to a request for an NRN.
+
+The MS ensures that when a VN is generated the appropriate bit shall be set correctly. The default for this attribute is no-notifications have been sent, i.e. all bits are set to zero.
+
+### 18.6.3 Heading attributes
+
+Some attributes are derived from the Heading of a VM. These attributes are defined and described below.
+
+#### 18.6.3.1 Heading
+
+The Heading attribute is the (entire) Heading of a VM.
+
+**heading ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX Heading**
+**SINGLE VALUE**
+**::= id-hat-heading**
+
+An MS that supports this attribute shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM.
+
+#### 18.6.3.2 Heading fields
+
+Some attributes bear the names of Heading fields and have those fields as their values. Some attributes bear the names of Heading fields and have sub-fields of those fields as their values. See 8.1 for semantics.
+
+**this-vm ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX ThisVMField**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-hat-this-VM**
+
+**originator ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX COMPONENTS OF ORDescriptor**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-hat-originator**
+
+**obsoleted-vm ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX ObsoletedVMField**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-hat-obsoleted-vm**
+
+**expiry-time; ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX ExpiryTimeField**
+**MATCHES FOR EQUALITY ORDERING**
+**SINGLE VALUE**
+**::= id-hat-expiry-time**
+
+**importance ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX ImportanceField**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-hat-importance**
+
+**sensitivity ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SensitivityField**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-hat-sensitivity-field**
+
+**vm-forwarded-indication ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX MessageForwarded**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-hat-vm-forwarded-indication**
+
+**vm-forwarding-permitted ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX MessageForwardingPermitted**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-hat-vm-forwarding-permitted**
+
+**language ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX Language
+ MATCHES FOR EQUALITY
+ MULTI VALUE
+ ::= id-hat-language
+
+**voice-encoding-type; ATTRIBUTE** -- *Identifies the Encoding of the voice object*
+ WITH ATTRIBUTE-SYNTAX VoiceEncodingType
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-voice-encoding-type
+
+**vm-creation-time ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX VMCreationTime
+ MATCHES FOR EQUALITY ORDERING
+ SINGLE VALUE
+ ::= id-hat-vm-creation-time
+
+**vn-receiver-field ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX VNReceiverField
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-vn-receiver
+
+Voice Messaging user security element attributes from the originator of the subject message:
+
+**vmgs-user-security-element ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX VMGSUserSecurityElement
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-vmgs-user-security-elements
+
+**vm-encrypted-primary-bodypart ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX BOOLEAN
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-vm-encrypted-primary-bodypart
+
+**vmgs-user-security-extensions ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX VMGSUserSecurityExtensions
+ MATCHES FOR EQUALITY
+ MULTI VALUE
+ ::= id-hat-vmgs-user-security-extensions
+
+Voice encoded attributes from the originator of the subject message:
+
+**vm-spoken-subject ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX VMSpokenSubjectField
+ SINGLE VALUE
+ ::= id-hat-vm-spoken-subject
+
+**vm-originator-spoken-name ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX OriginatorSpokenName
+ SINGLE VALUE
+ ::= id-hat-vm-originator-spoken-name
+
+**vm-this-recipient-spoken-name ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX RecipientSpokenName
+ SINGLE VALUE
+ ::= id-hat-vm-this-recipient-spoken-name
+
+Heading extensions:
+
+**heading-extensions ATTRIBUTE**
+ WITH ATTRIBUTE-SYNTAX HeadingExtensionsSubField
+ MATCHES FOR EQUALITY
+ MULTI VALUE
+ ::= id-hat-heading-extensions
+
+An MS that supports one of these attributes shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM whose Heading contains the field or sub-field whose name the attribute bears.
+
+#### 18.6.3.3 Recipient sub-field
+
+Some attributes bear the names of Recipient fields and have sub-fields of those fields as their values. See 8.1.30 for semantics.
+
+**this-recipient ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX COMPONENTS OF ORDescriptor
+MATCHES FOR EQUALITY
+SINGLE VALUE
+::= id-rat-this-recipient
+
+**vm-notification-requests-for-this-recipient ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX VNotificationRequests
+MATCHES FOR EQUALITY
+MULTI VALUE
+::= id-rat-vm-notification-requests-for-this-recipient
+
+**vm-notification-security-requests-for-this-recipient ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX VNotificationSecurity
+MATCHES FOR EQUALITY
+MULTI VALUE
+::= id-rat-vm-notification-security-requests-for-this-recipient
+
+**vm-reception-security-requests-for-this-recipient ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX VMReceptionSecurity
+MATCHES FOR EQUALITY
+MULTI VALUE
+::= id-rat-vm-reception-security-requests-for-this-recipient
+
+**vm-notification-extension-requests-for-this-recipient ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX VMNotificationExtensionsSubField
+MATCHES FOR EQUALITY
+MULTI VALUE
+::= id-rat-vm-notification-extension-requests-for-this-recipient
+
+Extensions specific to this recipient:
+
+**recipient-extensions-for-this-recipient ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX RecipientExtensionsSubField
+MATCHES FOR EQUALITY
+MULTI VALUE
+::= id-rat-recipient-extensions-for-this-recipient
+
+An MS that supports one of these attributes shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM whose Heading Recipients field contains the field whose name the attribute bears. It shall maintain one attribute value for each sub-field.
+
+### 18.6.4 Body attributes
+
+Some attributes are derived from the Body of a VM. These attributes are defined and described below.
+
+#### 18.6.4.1 Body
+
+The Body attribute is the (entire) Body of a VM.
+
+**body ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX Body
+SINGLE VALUE
+::= id-bat-body
+
+An MS that supports this attribute shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM.
+
+#### 18.6.4.2 Body analyses
+
+Some attributes have as their values information about the body parts contained in the body of the message.
+
+The voice message length attribute is created by the Message Store when it receives a VM. Its value indicates the length, in octets, of the subject Voice Body carried in the Primary Body Part of the message.
+
+**v-body-message-length ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX VoiceMessageLength
+MATCHES FOR EQUALITY ORDERING
+SINGLE VALUE
+
+**::= id-bat-v-body-message-length**
+
+**VoiceMessageLength ::= INTEGER -- in octets**
+
+The VM Message Length gives the number of octets occupied by the voice encoded message.
+
+The voice message duration attribute is extracted from the Parameters segment of the subject voice message body part. Its value indicates the duration, in seconds, of the encoded voice message.
+
+**voice-message-duration ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VMDuration**
+**MATCHES FOR ORDERING**
+**SINGLE VALUE**
+**::= id-bat-voice-message-duration**
+
+The other parameters attribute contains additional information that may be used by the recipient VMG-user when processing the voice encoded information.
+
+**voice-message-other-parms ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VMSupplementaryInformation**
+**MATCHES FOR EQUALITY SUBSTRINGS**
+**SINGLE VALUE**
+**::= id-bat-voice-message-other-parms**
+
+#### 18.6.4.3 Primary Body Parts
+
+Some attributes bear the names of the Primary Body Part types and have such body parts as their values. See clause 8 for semantics.
+
+**v-body-part ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VBodyPart**
+**SINGLE VALUE**
+**::= id-bat-v-body-part**
+
+An MS holds each forwarded VM (i.e. each Message body part) as an information object in its own right, separate from the forwarding VM (stored as a separate child entry in the stored-messages information base). That information object is a message whose content is a VM. The VM Body Parts attribute below, therefore, has as its values the sequence numbers the MS assigns to those child entries. See 8.2.2 for semantics.
+
+**vm-bodypart-sequence-number ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SequenceNumber -- sequence number of the forwarded VM entry.**
+**SINGLE VALUE**
+**::= id-bat-vm-bodypart-sequence-number**
+
+An MS that supports one of these attributes shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM. It shall maintain one attribute value for such a body part.
+
+Some attributes bear the names of the Parameters and Data components of a VM Body Part and have the Parameters and Data components as their values.
+
+**message-parameters ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX MessageParameters**
+**SINGLE VALUE**
+**::= id-bat-message-parameters**
+
+**message-data ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX MessageData**
+**SINGLE VALUE**
+**::= id-bat-message-data**
+
+An MS that supports these attributes shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM whose Body contains a VM Body Part.
+
+#### 18.6.4.4 VM Externally Defined Body Part Types
+
+The VM Externally Defined Body Part Types attribute identifies the externally defined body part types represented in a VM.
+
+**externally-defined-body-part-types ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX OBJECT IDENTIFIER**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-bat-externally-defined-body-part-types**
+
+An MS that supports this attribute shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VM whose Body contains one or more Externally Defined body parts. It shall maintain one attribute value for every such type present. The value shall denote type as specified in 7.3.12 of ITU-T Rec. X.420 | ISO/IEC 10021-7.
+
+NOTE – Some Externally Defined body part types are defined in ITU-T Rec. X.420 | ISO/IEC 10021-7. Each value of this attribute identifies both an extended body part type represented in IPM or VM, and the attribute type generated for the data component(s) of the body part(s) of that body part type, as specified in C.3.6 in ITU-T Rec. X.420 | ISO/IEC 10021-7. Although this Recommendation provides a mechanism for defining extended body parts in the future, no additional VM extension body parts are defined.
+
+#### 18.6.4.5 Externally Defined Body Parts
+
+Some attributes have as their values the encoding components (see 8.2.3) or the ASN.1 Externals that constitute the Data components of Externally Defined Body Parts. To each externally defined body part type there are two corresponding attributes.
+
+The first attribute is denoted by the object identifier that is the *direct-reference* component (again see 8.2.3) of the External which constitutes the *DATA* component of a Body Part of that Type. The first attribute contains only the Externally Defined Body Part which is encoded as a VMExternallyDefinedBodyPart (see 8.2.3).
+
+The second attribute is denoted by the object identifier that is the *direct-reference* component of the External which constitutes the *PARAMETERS* component of a Body Part of that Type. The content of this second attribute is that Parameters component.
+
+Where a Parameters type is defined for an extended body part type, the sequence of values in the attribute generated from the Data components of body parts of a given extended body part type corresponds to the sequence of values in the attribute generated from the Parameters components of the same body parts. Thus the value created for the Data component of a body part occupies the same position in the first attribute as the value created for the Parameters component occupies in the second attribute.
+
+An MS that supports one of these body parts shall maintain the first attribute, and if defined, the second attribute for an information object that it holds if, and only if, that object is a message whose content is a VM whose Body contains one or more body parts of the type that corresponds to that attribute. It shall maintain one value of the first attribute and, if defined, the second for each body part.
+
+The Externally Defined Body Part Type attribute determines the Externally Defined Body Part attributes for a particular VM.
+
+NOTE – Some Externally Defined body part types are defined in ITU-T Rec. X.420 | ISO/IEC 10021-7. In principal the externally defined body part attributes cannot be enumerated because the corresponding types cannot be so enumerated.
+
+### 18.6.5 Notification attributes
+
+Some attributes are derived from a VN. These attributes are defined and described below.
+
+#### 18.6.5.1 Common fields
+
+Some attributes bear the names of Common fields and have those fields as their values. See 9.1 for semantics.
+
+##### **subject-vm ATTRIBUTE**
+
+**WITH ATTRIBUTE-SYNTAX SubjectVMField**
+
+**MATCHES FOR EQUALITY**
+
+**SINGLE VALUE**
+
+**::= id-nat-subject-vm**
+
+##### **vn-originator-text ATTRIBUTE**
+
+**WITH ATTRIBUTE-SYNTAX COMPONENTS OF ORDescriptor -- subcomponent of VNOriginatorField**
+
+**MATCHES FOR EQUALITY**
+
+**SINGLE VALUE**
+
+**::= id-nat-vn-originator**
+
+###### **vn-originator-spoken-name ATTRIBUTE**
+
+**WITH ATTRIBUTE-SYNTAX OriginatorSpokenName**
+
+**SINGLE VALUE**
+
+**::= id-nat-vn-originator**
+
+###### **vn-initiator ATTRIBUTE**
+
+**WITH ATTRIBUTE-SYNTAX VNInitiatorField**
+
+**MATCHES FOR EQUALITY**
+
+**SINGLE VALUE**
+
+**::= id-nat-vn-initiator**
+
+**first-recipient ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX FirstRecipientField
+MATCHES FOR EQUALITY
+SINGLE VALUE
+::= id-nat-first-recipient
+
+**notification-creation-time ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX NoticeCreationTimeField
+MATCHES FOR EQUALITY ORDERING
+SINGLE VALUE
+::= id-nat-notification-creation-time
+
+**notification-security-elements ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX SecurityElementsField
+SINGLE VALUE
+::= id-nat-notification-security-elements
+
+**conversion-indication ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX ConversionEITsField
+SINGLE VALUE
+::= id-nat-conversion-indication
+
+**orig-vm-spoken-subject ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX VMSpokenSubjectField
+SINGLE VALUE
+::= id-nat-orig-vm-spoken-subject
+
+**subject-vm-other-recipients ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX RecipientField
+MULTI VALUE
+::= id-nat-subject-vm-other-recipients
+
+**vn-supplementary-info ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX VNSupplementaryInfo
+SINGLE VALUE
+::= id-nat-vn-supplementary-info
+
+**vn-voice-encoding-type ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX VNVoiceEncodingType
+MATCHES FOR EQUALITY
+SINGLE VALUE
+::= id-nat-vn-voice-encoding-type
+
+Some attributes bear the names of notification fields and have sub-fields of the Common fields of a notification as their values.
+
+**notification-extensions ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX NotificationExtensionsSubField
+MATCHES FOR EQUALITY
+MULTI VALUE
+::= id-nat-notification-extensions
+
+An MS that supports one of these attributes shall maintain it for an information object that it holds if, and only if, that object is a message whose content is a VN that contains the field or sub-field whose name the attribute bears.
+
+#### **18.6.5.2 Receipt Notification fields**
+
+Some attributes bear the names of RN VN fields and have those fields as their values. Some attributes bear the names of notification fields and have sub-fields of the RN fields of a notification as their values. Other than the VN common attributes and rn-extensions field, no other attributes are defined for VM. See 9.2 for semantics.
+
+**rn-extensions ATTRIBUTE**
+WITH ATTRIBUTE-SYNTAX RNExtensionsSubField
+MATCHES FOR EQUALITY
+MULTI VALUE
+::= id-nat-rn-extensions
+
+NOTE – No RN extensions are defined in this version of this Recommendation.
+
+An MS that supports one of these attributes shall maintain it for an information object that it holds if, and only if, that object is a message whose content is an RN that contains the field whose name the attribute bears. It shall maintain one attribute value for each field or sub-field.
+
+#### 18.6.5.3 Service Notification fields
+
+Some attributes bear the names of SN VN fields and have those fields as their values. Some attributes bear the names of notification fields and have sub-fields of the SN fields of a notification as their values. See 9.3 for semantics.
+
+**sn-reason-code ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SNReasonCode**
+**SINGLE VALUE**
+**::= id-nat-sn-ua-ms-basic-reason-code**
+
+SN extensions are defined as follows:
+
+**sn-extensions ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SNExtensionsSubField**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-nat-sn-extensions**
+
+NOTE – No SN extensions are defined in this version of this Recommendation.
+
+An MS that supports one of these attributes shall maintain it for an information object that it holds if, and only if, that object is a message whose content is an SN that contains the field whose name the attribute bears. It shall maintain one attribute value for each field or sub-field.
+
+#### 18.6.5.4 Non-Receipt Notification fields
+
+Some attributes bear the names of NRN VN fields and have those fields as their values. Some attributes bear the names of notification fields and have sub-fields of the NRN fields of a notification as their values. See 9.4 for semantics.
+
+**nrn-ua-ms-reason-code ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNRNUAMSReasonCodeField**
+**SINGLE VALUE**
+**::= id-nat-nrn-ua-ms-reason-basic-code**
+
+**nrn-user-reason-code ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNRNUserReasonCodeField**
+**SINGLE VALUE**
+**::= id-nat-nrn-user-reason-basic-code**
+
+**nrn-tsau-reason-code ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNRNTSAUReasonCodeField**
+**SINGLE VALUE**
+**::= id-nat-nrn-tsau-reason-code**
+
+NRN extensions are defined as follows:
+
+**nrn-extensions ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX NRNExtensionsSubField**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-nat-nrn-extensions**
+
+NOTE – No NRN extensions are defined in this version of this Recommendation.
+
+An MS that supports one of these attributes shall maintain it for an information object that it holds if, and only if, that object is a message whose content is an NRN that contains the field whose name the attribute bears. It shall maintain one attribute value for each field or sub-field.
+
+## 18.7 Procedures for Voice Messaging MS
+
+The procedures for a general MS are specified in clauses 14 and 15 of ITU-T Rec. X.413 | ISO/IEC 10021-5. This reference gives complementary information for MS systems that also explicitly support VMG.
+
+### 18.7.1 Additional procedures for message delivery
+
+How the MS consumes the MTS abstract service is described in clause 14 of ITU-T Rec. X.413 | ISO/IEC 10021-5. The following text describes additional information about the procedures needed for Voice messaging.
+
+Addition to 14.1.1 item 2 a of ITU-T Rec. X.413 | ISO/IEC 10021-5:
+
+- If auto forwarding criteria are registered by the Register-MS abstract operation, the new entry shall be matched against the criteria specified. The matching shall always start with any registrations against the "vm-forward-with-NRN" and "forwarding-without-notifications" auto actions. If this results in forwarding being performed, no further forwarding with-NRN shall be performed by the same MS. Further, registered criteria against "vm-forward-with-
+
+RN" shall be examined, possibly resulting in one or several forwardings being performed. Requested notifications shall be returned for each forwarding that is performed. If a forwarding does not succeed, e.g., through a non-delivery, a NRN notification may be returned to the originator. When a VN is submitted, a value reflecting the type of VN shall be added to the "vm-notification-indicator" attribute.
+
+# 19 Message contents
+
+As has already been seen, various secondary objects (e.g., UAs) have occasion to convey the VMG Information Objects of clause 6 as the contents of messages. What follows specifies precisely how they shall do this.
+
+The rules governing the transmittal of such messages and probes, and the semantics and abstract and transfer syntaxes of their contents, constitute Voice Messaging.
+
+## 19.1 Content
+
+A secondary object that submits a message containing a VM or VN shall supply, as the octets of the Octet String that constitutes the content of the message, the result of encoding the Information Object of clause 6 in accordance with the Basic Encoding Rules of CCITT Rec. X.209 and ISO/IEC 8825.
+
+## 19.2 Content type
+
+A secondary object that submits a message containing a VM or VN shall assign the integer "40" to the Content Type. The object identifier *id-mct-pvm* defined in Annex A is provided for use with a VMGS-MS. The integer "40" shall be used if the MTA conforms to ITU-T Rec. X.411 | ISO/IEC 10021-4.
+
+A secondary object that receives a message containing a VM or VN shall accept the integer "40" as the P1 Content Type.
+
+NOTE – Future versions of this Recommendation may require support for the object identifier *id-mct-pvm* identifying the Content Type.
+
+## 19.3 Content length
+
+A secondary object, submitting a message containing a VM or VN, shall specify as the length of the message's content the size in octets of the encoding of the instance in question of the Information Object of clause 6 (a choice of a VM or a VN) when the Basic Encoding Rules of CCITT Rec. X.209 and ISO/IEC 8825 are followed. If those rules permit several (e.g., both primitive and constructed) encodings of that Information Object, the content length may reflect any one of them.
+
+## 19.4 Encoded information types
+
+A secondary object that submits a message containing a VM or VN shall specify the Encoded Information Types (EIT) of the message as follows.
+
+In the case of a VN, the basic EITs shall be unspecified.
+
+In the case of a VM, the EITs shall be the logical union of the EITs of the VM's body parts specified in accordance with the following rules:
+
+- a) Voice Body Part: The EIT (if any) of the Voice Body Part shall have the same values as the Heading field Voice Body Part Type.
+- b) VM Body Part (Forwarded Message): The EITs (if any) of a VM Body Part shall be those of the forwarded message.
+- c) Additional body parts: The EIT of additional body parts (if any) shall be the logical union of the individual body parts EITs.
+
+An Externally Defined body part whose extended type corresponds to a basic type shall be indicated using the built-in EIT.
+
+The Voice Body Part Type may be indicated in the external EITs.
+
+A secondary object that submits a message containing a VM or VN to an MTA that conforms to ITU-T Rec. X.411 | ISO/IEC 10021-4 in its 1988 version shall use the object identifier *id-mct-pvm* (see Annex A) for all "original-encoded-information-types".
+
+# **20 Port realization**
+
+The manner in which an MS or the MTS concretely realizes the secondary ports it supplies is specified in ITU-T Rec. X.419 | ISO/IEC 10021-6.
+
+The manner in which a UA, MS, or AU concretely realizes the primary ports it supplies is beyond the scope of this Recommendation.
+
+# **21 Conformance**
+
+The requirements that a secondary object (excluding the MTS) and its implementor shall meet when the latter claims the former's conformance to this Recommendation are identified below. A number of the conformance requirements distinguishes between support upon origination and support upon reception.
+
+## **21.1 Origination versus reception**
+
+A UA or AU shall be said to support upon origination a particular Heading field, Heading extension, VM Body Part type or Externally Defined Body Part type if, and only if, the UA or AU accepts, preserves, and emits, in full accord with this Recommendation, that particular Heading field, Heading extension, VM Body type or Externally Defined Body Part type, whenever a user calls upon the UA or AU to convey a VM or VN containing them to the MTS or the user's MS (the latter only in the case of a UA).
+
+A UA or AU shall be said to support upon reception a particular Heading field, Heading extension, VM Body Part type or Externally Defined Body Part type if, and only if, the UA or AU accepts, preserves, and emits, in full accord with this Recommendation, that particular Heading field, Heading extension, VM Body Part type or Externally Defined Body Part type, whenever the MTS or a user's MS (the latter only in the case of a UA) calls upon the UA or AU to convey to the user a VM or VN containing them.
+
+## **21.2 Requirements of a VMG conformance statement**
+
+The implementor of a VM application entity (UA, MS or AU) shall separately state the following for both origination and reception. This may be done by including a completed VM PICS in accordance with the VM PICS-proforma contained in Recommendation X.485.
+
+- a) The Heading fields for which it claims conformance.
+- b) The body part types for which it claims conformance.
+- c) In the case of an MS or a UA with MS, the Voice Messaging-specific MS attributes for which it claims conformance.
+- d) In the case of an MS or a UA with MS, whether it supports the Voice messaging-specific auto actions.
+
+### **21.2.1 Static requirements**
+
+A UA, MS or AU shall satisfy the following static requirements:
+
+- a) A UA, MS or AU shall implement the Heading fields and the body part types for which conformance is claimed.
+- b) An MS or UA with MS shall support the Voice messaging-specific MS attribute-types for which conformance is claimed, but including as a minimum those designated mandatory in 18.6. In addition, it shall support the mandatory attributes identified in Table 1 of ITU-T Rec. X.413 | ISO/IEC 10021-5.
+- c) A UA, MS or AU shall concretely realize its abstract ports as specified in clause 20.
+- d) A UA or MS shall be able to both submit and receive messages of the content types of 19.2. An AU shall be able to both import and export such messages.
+- e) An MS, or UA accessing an MS, shall conform to at least one of the MS Access protocols specified in ITU-T Rec. X.419 | ISO/IEC 10021-6.
+
+### **21.2.2 Dynamic requirements**
+
+A VM application entity (UA, MS or AU) shall satisfy the following dynamic requirements:
+
+- a) A UA or MS shall follow the rules of operation specified in 15.1 or clause 18, respectively.
+- b) A UA, MS or AU shall submit and receive messages whose contents are as specified in clause 19.
+- c) A UA, MS or AU shall register with the MTS its ability to accept delivery of messages of both of the VMG content type of 19.2 and EITs as specified in 19.4.
+
+# Annex A
+
+## VM Object Identifiers – Reference definition
+
+This annex defines for reference purposes various Object Identifiers cited in the ASN.1 modules of subsequent annexes. It uses ASN.1.
+
+All Object Identifiers which this Recommendation assigns are assigned in this annex. The annex is definitive for all but those for ASN.1 modules, the object VMG application (VMGE) itself and the VMGS' use of Directories. The definitive assignments for the former occur in the modules themselves; other references to them appear in IMPORT statements. For the VMGS' use of Directories object identifiers, this annex only defines a base object identifier.
+
+```
+VMGSObjectIdentifiers { joint-iso-itu-t
+ mhs-motis(6) vmgs(8) modules(9) object-identifiers(0) }
+DEFINITIONS IMPLICIT TAGS ::=
+BEGIN
+```
+
+-- Prologue
+
+-- Exports everything
+
+```
+IMPORTS -- nothing --;
+ID ::= OBJECT IDENTIFIER
+```
+
+-- VM Messaging (definitive)
+
+```
+id-vmgs ID ::= { joint-iso-itu-t mhs-motis(6) vmgs(8) } -- This is definitive
+```
+
+-- Categories
+
+| | |
+|--------|--------------------------------------------------------|
+| id-mod | ID ::= {id-vmgs 0} -- vm auto-action indentifier types |
+| id-act | ID ::= {id-vmgs 1} -- vm auto-action indentifier types |
+| id-bat | ID ::= {id-vmgs 2} -- body attributes |
+| id-bp | ID ::= {id-vmgs 3} -- vm body part types |
+| id-dir | ID ::= {id-vmgs 4} -- vm use of directories |
+| id-for | ID ::= {id-vmgs 5} -- vm action indicator types |
+| id-hat | ID ::= {id-vmgs 6} -- heading attributes |
+| id-ipe | ID ::= {id-vmgs 7} -- ipm's vm extensions |
+| id-mct | ID ::= {id-vmgs 8} -- message content types |
+| id-mod | ID ::= {id-vmgs 9} -- modules |
+| id-nat | ID ::= {id-vmgs 10} -- notification attributes |
+| id-nt | ID ::= {id-vmgs 11} -- vm notification types |
+| id-ot | ID ::= {id-vmgs 12} -- object types |
+| id-pt | ID ::= {id-vmgs 13} -- port types |
+| id-rat | ID ::= {id-vmgs 14} -- recipient attributes |
+| id-ref | ID ::= {id-vmgs 15} -- refinements |
+| id-sat | ID ::= {id-vmgs 16} -- summary attributes |
+| id-syn | ID ::= {id-vmgs 17} -- vm synopsis type |
+| id-vmg | ID ::= {id-vmgs 18} -- reserved |
+
+-- Modules
+
+| | |
+|-----------------------------------|-------------------|
+| id-mod-object-identifiers | ID ::= {id-mod 0} |
+| id-mod-functional-objects | ID ::= {id-mod 1} |
+| id-mod-information-objects | ID ::= {id-mod 2} |
+| id-mod-abstract-service | ID ::= {id-mod 3} |
+| id-mod-message-store-attributes | ID ::= {id-mod 4} |
+| id-mod-upper-bounds | ID ::= {id-mod 5} |
+| id-mod-vmg-directory-cl-att | ID ::= {id-mod 6} |
+| id-mod-message-store-auto-actions | ID ::= {id-mod 7} |
+
+-- Object types
+
+| | |
+|-----------------|------------------|
+| id-ot-vmge | ID ::= {id-ot 0} |
+| id-ot-vmgs-user | ID ::= {id-ot 1} |
+| id-ot-vmgs | ID ::= {id-ot 2} |
+| id-ot-vmg-ua | ID ::= {id-ot 3} |
+
+| | |
+|------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
+| id-ot-vmg-ms | ID ::= {id-ot 4} |
+| id-ot-tsau | ID ::= {id-ot 5} |
+| -- Port types | |
+| id-pt-origination | ID ::= {id-pt 0} |
+| id-pt-reception | ID ::= {id-pt 1} |
+| id-pt-management | ID ::= {id-pt 2} |
+| -- Refinements | |
+| id-ref-primary | ID ::= {id-ref 0} |
+| id-ref-secondary | ID ::= {id-ref 1} |
+| -- VM-Notification Types (for use in P1 notification extension field) | |
+| id-nt-vmg-rn | ID ::= {id-nt 0} |
+| id-nt-vmg-sn | ID ::= {id-nt 1} |
+| id-nt-vmg-nrn | ID ::= {id-nt 2} |
+| -- Message content type | |
+| id-mct-pvm | ID ::= {id-mct 0} -- Pvm |
+| -- VM Body Part type (and P1 EIT) | |
+| id-bp-g721-32k-adpcm | ID ::= {id-bp 0} -- Recommendation G.726 32 kbit/s ADPCM -- encoding |
+| id-bp-private-octet | ID ::= {id-bp 1} |
+| id-bp-undefined-octet | ID ::= {id-bp 2} |
+| id-bp-g728-16k-ld-celp | ID ::= {id-bp 3} -- Recommendation G.728 16 kbit/s LD-CELP -- encoding |
+| -- VMGS Specific Register Auto Actions | |
+| id-act-vmg-auto-forward | ID ::= {id-act 0} |
+| id-act-vn-sn-auto-action | ID ::= {id-act 1} |
+| -- VM Synopsis (MS) | |
+| id-syn-removed | ID ::= {id-syn 0} |
+| id-syn-place-holder | ID ::= {id-syn 1} |
+| -- MESSAGE STORE ATTRIBUTES | |
+| -- Summary attributes | |
+| id-sat-vmg-entry-type | ID ::= {id-sat 0} |
+| id-sat-vm-synopsis | ID ::= {id-sat 1} |
+| id-sat-vm-notification-indicator | ID ::= {id-sat 2} |
+| -- Heading attributes | |
+| id-hat-heading | ID ::= {id-hat 0} |
+| id-hat-this-vm | ID ::= {id-hat 1} |
+| id-hat-originator | ID ::= {id-hat 2} |
+| id-hat-vm-originator-spoken-name | ID ::= {id-hat 3} |
+| id-hat-vm-this-recipient-spoken-name | ID ::= {id-hat 4} |
+| id-hat-vm-creation-time | ID ::= {id-hat 5} |
+| id-hat-obsolete-vm | ID ::= {id-hat 6} |
+| id-hat-vm-spoken-subject | ID ::= {id-hat 7} |
+| id-hat-expiry-time | ID ::= {id-hat 8} |
+| id-hat-importance | ID ::= {id-hat 9} |
+| id-hat-sensitivity-field | ID ::= {id-hat 10} |
+| id-hat-vm-forwarded-indication | ID ::= {id-hat 11} |
+| id-hat-language | ID ::= {id-hat 12} |
+| id-hat-vm-forwarding-permitted | ID ::= {id-hat 13} |
+| id-hat-voice-encoding-type | ID ::= {id-hat 14} |
+| id-hat-vm-creation-time | ID ::= {id-hat 15} |
+| id-hat-vm-encrypted-primary | ID ::= {id-hat 16} |
+| id-hat-vmgs-user-security | ID ::= {id-hat 17} |
+| id-hat-vmgs-user-security-extensions | ID ::= {id-hat 18} |
+| id-hat-vn-receiver | ID ::= {id-hat 19} |
+
+| | |
+|----------------------------------|---------------------------|
+| id-hat-heading-extensions | ID ::= {id-hat 20} |
+|----------------------------------|---------------------------|
+
+*-- Per Recipient attributes*
+
+| | |
+|---------------------------------------------------------------------|--------------------------|
+| id-rat-this-recipient | ID ::= {id-rat 0} |
+| id-rat-vm-notification-extension-requests-for-this-recipient | ID ::= {id-rat 1} |
+| id-rat-vm-notification-requests-for-this-recipient | ID ::= {id-rat 2} |
+| id-rat-vm-notification-security-requests-for-this-recipient | ID ::= {id-rat 3} |
+| id-rat-vm-reception-security-requests-for-this-recipient | ID ::= {id-rat 4} |
+| id-rat-recipient-extensions-for-this-recipient | ID ::= {id-rat 5} |
+
+*-- Body attributes*
+
+| | |
+|--------------------|--------------------------|
+| id-bat-body | ID ::= {id-bat 0} |
+|--------------------|--------------------------|
+
+*-- Originator's subject-VM Bodypart*
+
+| | |
+|-----------------------------------------|--------------------------|
+| id-bat-voice-message-duration | ID ::= {id-bat 1} |
+| id-bat-voice-message-other-parms | ID ::= {id-bat 2} |
+| id-bat-v-body-message-length | ID ::= {id-bat 3} |
+| id-bat-v-body-part | ID ::= {id-bat 4} |
+
+*-- Forwarded VM Bodypart or Additional Bodyparts*
+
+| | |
+|--------------------------------------------------|---------------------------|
+| id-bat-vm-bodypart-sequence-number | ID ::= {id-bat 5} |
+| id-bat-message-parameters | ID ::= {id-bat 6} |
+| id-bat-message-data | ID ::= {id-bat 7} |
+| id-bat-externally-defined-body-part-types | ID ::= {id-bat 8} |
+| id-bat-ipm-parameters | ID ::= {id-bat 9} |
+| id-bat-ipm-data | ID ::= {id-bat 10} |
+
+*-- Notification attributes*
+
+| | |
+|----------------------------------------------|---------------------------|
+| id-nat-subject-vm | ID ::= {id-nat 0} |
+| id-nat-vn-originator | ID ::= {id-nat 1} |
+| id-nat-subject-vm-other-recipients | ID ::= {id-nat 2} |
+| id-nat-first-recipient | ID ::= {id-nat 3} |
+| id-nat-notification-creation-time | ID ::= {id-nat 4} |
+| id-nat-notification-security-elements | ID ::= {id-nat 5} |
+| id-nat-notification-extensions | ID ::= {id-nat 6} |
+| id-nat-conversion-indication | ID ::= {id-nat 7} |
+| id-nat-vn-initiator | ID ::= {id-nat 8} |
+| id-nat-orig-vmg-spoken-subject | ID ::= {id-nat 9} |
+| id-nat-vn-originator-spoken-name | ID ::= {id-nat 10} |
+| id-nat-vn-originator-text | ID ::= {id-nat 11} |
+| id-nat-vn-voice-encoding-type | ID ::= {id-nat 12} |
+| id-nat-vn-supplementary-information | ID ::= {id-nat 13} |
+
+*-- RN attributes*
+
+| | |
+|-----------------------------|---------------------------|
+| id-nat-rn-extensions | ID ::= {id-nat 14} |
+|-----------------------------|---------------------------|
+
+*-- SN attributes*
+
+| | |
+|------------------------------------------|---------------------------|
+| id-nat-sn-extensions | ID ::= {id-nat 15} |
+| id-nat-sn-ua-ms-basic-reason-code | ID ::= {id-nat 16} |
+
+*-- NRN attributes*
+
+| | |
+|-------------------------------------------|---------------------------|
+| id-nat-nrn-extensions | ID ::= {id-nat 17} |
+| id-nat-nrn-tsau-reason-code | ID ::= {id-nat 18} |
+| id-nat-nrn-ua-ms-reason-basic-code | ID ::= {id-nat 19} |
+| id-nat-nrn-user-reason-basic-code | ID ::= {id-nat 20} |
+
+*-- MESSAGE STORE ATTRIBUTES – END*
+
+**END** *-- of VMGSObjectIdentifiers*
+
+# Annex B
+
+## VM Abstract Information Objects – Reference definition
+
+This annex defines for reference purposes the abstract information objects of Voice Messaging. It defines a Body Part for VMGS that includes a body part reference number while importing the IPM externally defined MACRO for specifying non-VM body parts. It also defines a VM-EXTENSION macro.
+
+```
+VMGSInformationObjects { joint-iso-itu-t
+ mhs-motis(6) vmgs(8) modules(9) information-objects(2) }
+
+DEFINITIONS IMPLICIT TAGS ::=
+BEGIN
+
+-- Prologue
+
+-- Exports everything
+
+IMPORTS
+
+-- VMGS Upper bounds
+ ub-vmg-local-reference, ub-vn-reason-code, ub-vmgs-spoken-name,
+ ub-vmg-spoken-subject, ub-vmgs-user-security-elements, ub-vmg-spoken-
+ supplemental-info
+ ----
+ FROM VMGSUpperBounds { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9) upper-
+ bounds(5) }
+
+-- VMGS Object Identifiers
+ id-vmg-g721-32k-adpcm
+ ----
+ FROM VMGSObjectIdentifiers { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9) object-
+ identifiers(0) }
+
+-- MTS Upper Bounds
+ ub-bit-options, ub-integer-options, ub-recipients, ub-supplementary-info-length
+ ----
+ FROM MTSUpperBounds { joint-iso-itu-t mhs-motis(6) mts(3) modules(0) upper-bounds(3) }
+
+-- MTS Abstract Service
+ Content, ContentIntegrityCheck, MessageDeliveryTime, ORAddress, ORName,
+ OtherMessageDeliveryFields
+ ----
+ FROM MTSAbstractService { joint-iso-itu-t mhs-motis(6) mts(3) modules(0) mts-abstract
+ service(1) }
+
+-- IPM Abstract Service
+ EXTENDED-BODY-PART-TYPE, ExternallyDefinedBodyPart, Sensitivity,
+ ImportanceField, ORDescriptor, ConversionEITsField
+ ----
+ FROM IPMSInformationObjects { joint-iso-itu-t mhs-motis(6) ipms(1) modules(0)
+ information-objects(2) }
+
+-- IPM Heading Extensions
+ Language
+ ----
+ FROM IPMSHeadingExtensions { joint-iso-itu-t mhs-motis(6) ipms(1) modules(0) heading-
+ extensions(6) ;
+
+-- END Imports
+
+-- ABSTRACT INFORMATION OBJECTS
+
+-- Overview
+ InformationObject ::= CHOICE {
+```
+
+```
+
+ vm [0] VM,
+ vn [1] VN }
+
+-- Common data types
+
+-- Extensions
+
+ ExtensionField ::= SEQUENCE {
+ type [0] VM-EXTENSION,
+ criticality [1] Criticality DEFAULT FALSE,
+ value [2] ANY DEFINED BY type DEFAULT NULL:NULL }
+
+ Criticality ::= BOOLEAN
+
+-- VMGS Extension MACRO
+
+ VM-EXTENSION MACRO ::=
+ BEGIN
+
+ TYPE NOTATION ::= DataType Critical | empty
+ VALUE NOTATION ::= value(VALUE OBJECT IDENTIFIER)
+
+ DataType ::= type (X) Default
+ Default ::= "DEFAULT" value (X) | empty
+ Critical ::= "CRITICAL" | empty
+
+ END -- of extension
+
+-- VM Messages
+
+ VM ::= SEQUENCE {
+ heading Heading,
+ body Body }
+
+-- Heading Field Component Types
+
+-- VM Identifier
+
+ VMIdentifier ::= SET {
+ user [0] ORName,
+ user-relative-reference [1] LocalReference }
+
+-- Local Reference
+
+ LocalReference ::= PrintableString (SIZE (0..ub-vmg-local-reference))
+
+-- Originator
+
+ VMOriginatorField ::= SET {
+ COMPONENTS OF ORDescriptor, -- from IPM
+ originator-spoken-name [3] SpokenName OPTIONAL }
+
+-- Spoken Name
+
+ SpokenName ::= OCTET STRING
+ -- Encoding is defined by voice-encoding-type
+ -- or vn-voice-encoding-type.
+ -- Maximum 10 seconds.
+ -- NOTE – The value is padded to end on an octet boundary
+
+-- Recipient
+
+ RecipientField ::= SEQUENCE {
+ recipient-name COMPONENTS OF ORDescriptor, -- from IPM
+ spoken-name [2] SpokenName OPTIONAL }
+
+-- Heading Fields
+
+ Heading ::= SEQUENCE {
+ this-VM ThisVMField,
+ originator [0] VMOriginatorField OPTIONAL,
+ recipients [1] RecipientsField OPTIONAL,
+ obsoleted-vm [2] ObsoletedVMField OPTIONAL,
+ vm-subject [3] VMSpokenSubjectField OPTIONAL,
+ expiry-time [4] ExpiryTimeField OPTIONAL,
+
+```
+
+```
+
+importance [5] ImportanceField DEFAULT {normal}, -- from IPM
+sensitivity [6] SensitivityField OPTIONAL, -- from IPM
+message-forwarded [7] MessageForwarded DEFAULT FALSE,
+vm-forwarding-permitted [8] MessageForwardingPermitted DEFAULT TRUE,
+language [9] LanguageField OPTIONAL,
+voice-encoding-type [10] VoiceEncodingType DEFAULT { id-vmg-g721-32k-
+adpcm },
+vm-creation-time [11] VMCreationTime OPTIONAL,
+vn-receiver-field [12] VNReceiverField OPTIONAL,
+vmgs-user-security-elements [13] VMGSUserSecurityElementsField OPTIONAL,
+heading-extensions [14] HeadingExtensionsField OPTIONAL }
+
+-- This VM field
+ThisVMField ::= VMIdentifier
+
+-- Recipients
+RecipientsField ::= SET OF RecipientsSubField (SIZE (1..ub-recipients))
+
+RecipientsSubField ::= SEQUENCE {
+ recipient [0] RecipientField,
+ vn-requests-field [1] VNotificationRequestsField,
+ attendant-assisted-delivery-request [2] AttendantAssistedDeliveryRequest
+ DEFAULT { }, -- default NONE
+ recipient-extensions [3] RecipientExtensionsField OPTIONAL }
+
+-- VMGS Notification Requests
+VNotificationRequestsField ::= SEQUENCE {
+ vm-notification-requests [0] VNotificationRequests DEFAULT { }, -- default NONE
+ vm-notification-security-requests [1] VNotificationSecurity DEFAULT { }, -- default NONE
+ vm-reception-security-requests [2] VMReceptionSecurity DEFAULT { }, -- default NONE
+ vm-notification-extension-requests [3] VMNotificationExtensions DEFAULT { } -- default NONE
+
+VNotificationRequests ::= BIT STRING {
+ receipt-notice (0),
+ service-notice (1),
+ non-receipt-notice (2) } (SIZE (0..ub-bit-options))
+
+VNotificationSecurity ::= BIT STRING {
+ proof (0),
+ non-repudiation (1) } (SIZE (0..ub-bit-options)) -- NOTE – These requests are for further study per
+-- CCITT Rec. F.440.
+
+VMReceptionSecurity ::= BIT STRING {
+ proof (0),
+ non-repudiation (1) } (SIZE (0..ub-bit-options)) -- NOTE – These requests are for further study per
+-- CCITT Rec. F.440.
+
+VMNotificationExtensions ::= SET OF VMNotificationExtensionsSubField
+
+VMNotificationExtensionsSubField ::= ExtensionField
+
+-- Attendant Assisted Delivery Request Indication
+AttendantAssistedDeliveryRequest ::= INTEGER {
+ person-to-person (0),
+ anyone (1) }
+
+-- Recipient Extensions
+RecipientExtensionsField ::= SET OF RecipientExtensionsSubField
+
+RecipientExtensionsSubField ::= ExtensionField
+
+-- Auto Forwarded indication
+MessageForwarded ::= BOOLEAN -- Default False
+
+-- Voice Encoding Types – identifies "Voice" Standard used to encode a VM data type that carries
+-- voice encoded information.
+VoiceEncodingType ::= OBJECT IDENTIFIER -- Default CCITT's G.726 32 kbit/s ADPCM
+
+```
+
+```
+
+-- Message Forwarding Permitted
+ MessageForwardingPermitted ::= BOOLEAN -- Default TRUE, forwarding is permitted
+
+-- Expiry time
+ ExpiryTimeField ::= UTCTime
+
+-- Obsolete VM
+ ObsoleteVMField ::= SEQUENCE OF ObsoleteVMSubfield
+ ObsoleteVMSubfield ::= VMIdentifier
+
+-- VMG User Security Elements
+ VMGSUserSecurityElementsField ::= SEQUENCE {
+ vmgs-user-security-element [0] VMGSUserSecurityElement OPTIONAL,
+ vm-encrypted-primary-bodypart [1] BOOLEAN OPTIONAL,
+ vmgs-user-security-extensions [2] VMGSUserSecurityExtensions OPTIONAL }
+ VMGSUserSecurityElement ::= BIT STRING (SIZE (0..ub-vmgs-user-security-elements))
+ VMGSUserSecurityExtensions ::= SEQUENCE OF VMGSUserSecurityExtension
+ VMGSUserSecurityExtension ::= ExtensionField
+
+-- VM Spoken Subject Field
+ SpokenSubject ::= OCTET STRING
+ -- Encoding is defined by voice-encoding-type;
+ -- Maximum 20 seconds.
+ -- NOTE – The value is padded to end on an octet boundary.
+
+-- Spoken Language Identifier
+ LanguageField ::= SEQUENCE OF Language -- from IPM
+
+-- VM Creation Date/Time
+ VMCreationTime ::= UTCTime
+
+-- VN Receiver Field
+ VNReceiverField ::= SEQUENCE {
+ vn-receiver-name [0] ORName,
+ original-vmg-identifier [1] VMIdentifier OPTIONAL,
+ first-recipient [2] FirstRecipientField OPTIONAL }
+
+-- Heading Extensions
+ HeadingExtensionsField ::= SET OF HeadingExtensionsSubField
+ HeadingExtensionsSubField ::= ExtensionField
+
+-- VM body
+ Body ::= SEQUENCE {
+ primary-body-part PrimaryBodyPart,
+ additional-body-parts AdditionalBodyParts OPTIONAL }
+ PrimaryBodyPart ::= CHOICE {
+ vm-body-part [0] VBodyPart,
+ forwarded-VM [1] VMBodyPart }
+ AdditionalBodyParts ::= SEQUENCE OF VM-ExternallyDefinedBodyPart
+
+-- VM body part
+ VBodyPart ::= SEQUENCE {
+ voice-parameters [0] VoiceParameters OPTIONAL,
+ voice-data [1] VoiceData }
+ VoiceParameters ::= SEQUENCE {
+ voice-message-duration [0] VMDuration OPTIONAL,
+ voice-encoding-type [1] VoiceEncodingType OPTIONAL, -- for use in IPM
+ other-parameters [2] VMSupplementaryInformation OPTIONAL,
+
+```
+
+```
+
+ extension-parameters [3] VBPPParameterExtensions OPTIONAL }
+
+VMDuration ::= INTEGER, -- size indicated in seconds
+
+VBPPParameterExtensionsField ::= SET OF VBPEExtensionsSubField
+
+VBPEExtensionsSubField ::= ExtensionField
+
+VoiceData ::= OCTET STRING -- defined by VoiceEncodingType
+-- NOTE – The value is padded to end on an octet boundary.
+
+-- Forwarded VM body part
+
+VMBodyPart ::= SEQUENCE {
+ parameters [0] MessageParameters OPTIONAL,
+ data [1] MessageData }
+
+MessageParameters ::= SET {
+ delivery-time [0] MessageDeliveryTime OPTIONAL,
+ delivery-envelope [1] OtherMessageDeliveryFields OPTIONAL,
+ -- delivery-time and delivery-envelope shall both be present or both shall be absent.
+ other-parameters [2] VMSupplementaryInformation OPTIONAL }
+
+MessageData ::= VM
+
+-- VM Externally Defined Body Parts
+
+VM-ExternallyDefinedBodyPart ::= ExternallyDefinedBodyPart -- from IPMS --
+
+-- Supplementary Info
+
+VMSupplementaryInformation ::= IA5String (SIZE (1..ub-supplementary-info-length))
+
+-- VM Notifications (VNs)
+
+VN ::= CHOICE {
+ receipt-notification [0] ReceiptNotificationFields, -- Referred to as RN
+ service-notification [1] ServiceNotificationFields, -- Referred to as SN
+ non-receipt-notification [2] NonReceiptNotificationFields -- Referred to as NRN -- }
+
+-- Common fields
+
+CommonFields ::= SET {
+ subject-vm SubjectVMField,
+ vn-originator [1] VNOriginatorField,
+ first-recipient [2] FirstRecipientField OPTIONAL,
+ notice-creation-time [3] NoticeCreationTimeField,
+ vn-voice-encoding-type [4] VNVoiceEncodingType,
+ conversion-indictation [5] ConversionEITsField OPTIONAL,
+ notification-security-elements [6] SecurityElementsField OPTIONAL,
+ orig-vm-spoken-subject [7] VMSpokenSubjectField OPTIONAL,
+ subject-vm-other-recipients [8] RecipientField OPTIONAL,
+ vn-supplementary-info [9] VNSupplementaryInfo OPTIONAL,
+ notifications-extensions [10] NotificationExtensionsField OPTIONAL }
+
+-- Subject VM Identifier
+
+SubjectVMField ::= VMIdentifier
+
+-- VM Notification Originator
+
+VNOriginatorField ::= SEQUENCE {
+ originator-name [0] VMOriginatorField,
+ vn-initiator [1] VNInitiatorField OPTIONAL }
+
+-- First Recipient
+
+FirstRecipientField ::= ORName
+
+-- Notification Time
+
+NoticeCreationTimeField ::= UTCTime
+
+-- VN Initiator
+
+VNInitiatorField ::= ENUMERATED {
+
+```
+
+internal-ua (0),
+external-ua (1),
+internal-ms (2),
+internal-tsau (3) }
+
+-- Subject VM Other Recipients
+
+**SubjectVMOtherRecipients ::= SEQUENCE OF RecipientField**
+
+-- Voice Notification Supplementary Information
+
+**VNSupplementaryInfo ::= SEQUENCE {**
+ supplementary-info [0] VMSupplementaryInformation OPTIONAL,
+ v-supplementary-info [1] SpokenSupplementaryInfo OPTIONAL }
+
+**SpokenSupplementaryInfo ::= OCTET STRING**
+ -- Encoding is defined by vn-voice-encoding-type;
+ -- Maximum 20 seconds.
+
+-- NOTE – The value is padded to end on an octet boundary.
+
+-- Security Elements
+
+**SecurityElementsField ::= SEQUENCE {**
+ original-content [0] Content OPTIONAL, *-- from P1*
+ original-content-integrity-check [1] ContentIntegrityCheck OPTIONAL, *-- from P1*
+ vmgs-user-security-elements [2] VMGSUserSecurityElementsField OPTIONAL,
+ security-extensions [3] SecurityExtensionsField OPTIONAL }
+
+**SecurityExtensionsField ::= SET OF SecurityExtensionsSubField**
+
+**SecurityExtensionsSubField ::= ExtensionField**
+
+-- Voice Encoding of Spoken information in this VN
+
+**VNVoiceEncodingType ::= VoiceEncodingType**
+
+-- Notification Extensions
+
+**NotificationExtensionsField ::= SET OF NotificationExtensionsSubField**
+
+**NotificationExtensionsSubField ::= ExtensionField**
+
+-- Receipt Notification fields
+
+**ReceiptNotificationFields ::= SEQUENCE {**
+ rn-common-fields [0] CommonFields,
+ rn-extensions [1] NotificationExtensionsField OPTIONAL }
+
+-- Service notification fields
+
+**ServiceNotificationFields ::= SEQUENCE {**
+ sn-common-fields [0] CommonFields,
+ sn-reason-code-field [1] SNReasonCode,
+ sn-extensions [2] NotificationExtensionsField OPTIONAL }
+
+-- Service Notification Reason Codes from a UA or MS or TSAU
+
+**SNReasonCode ::= SEQUENCE {**
+ sn-reason [0] SNReasonField,
+ sn-diagnostic [1] SNDiagnosticField OPTIONAL }
+
+-- Service Notification Basic Reason Codes from a VMGS-UA or VMGS-MS or VMGS-TSAU. These codes
+-- are those specified in Annex B/F.440 for the Element of Service "VM Notification
+-- Request".
+
+**SNReasonField ::= BIT STRING {**
+ unspecified (0),
+ auto-forwarding-ind (1),
+ language-ind (2),
+ obsoleting-ind (3),
+ attendant-assisted-delivery-request (4),
+ expiry-date-ind (5),
+ body-part-encryption-ind (6) } (SIZE (1..ub-sn-reasons))
+
+-- Service Notification Diagnostic Codes from a VMGS-UA or VMGS-MS
+
+**SNDiagnosticField ::= INTEGER {**
+*-- This field may be used to further specify the error signalled in sn-ua-ms-basic-code. Additional*
+*-- information may be indicated in sn-supplementary-information.*
+
+*-- General diagnostic codes*
+
+**language-national-usage-problem (1),**
+*-- used if the national usage of the language included is incompatible*
+**vm-language-not-understood (2),**
+*-- language not understood by this recipient*
+**vm-unsupported-voice-encoding (3),**
+*-- recipient does not support the VM's encoding*
+
+*-- security error diagnostic codes*
+**local-security-not-supported (4)**
+**} (1..ub-vn-reason-code)**
+
+*-- Non-Receipt Notification Fields*
+
+**NonReceiptNotificationFields ::= SEQUENCE {**
+**nrn-common-fields** [0] **CommonFields,**
+**nrn-reason-codes** [1] **VNRNReasonCodeField,**
+**nrn-extensions** [2] **NotificationExtensionsField OPTIONAL }**
+
+**VNRNReasonCodeField ::= CHOICE {**
+**nrn-ua-ms-reason-code** [0] **VNRNUAMSReasonCodeField,**
+**nrn-user-reason-code** [1] **VNRNUserReasonCodeField,**
+**nrn-tsau-reason-code** [2] **VNRNTSAUReasonCodeField }**
+
+*-- NRN Reason Codes from a VMGS-UA or VMGS-MS*
+
+**VNRNUAMSReasonCodeField ::= SEQUENCE {**
+**nrn-ua-ms-basic-codes** [0] **VNRNUAMSBasicCodeField,**
+**nrn-ua-ms-diagnostics** [1] **VNRNUAMSDiagnosticField OPTIONAL }**
+
+*-- VN NRN Basic Reason Codes from a VMGS-UA or VMGS-MS*
+
+**VNRNUAMSBasicCodeField ::= INTEGER {**
+**unspecified (0),**
+**auto-forwarded (1),**
+**can-not-pass-to-mhs-user (2),**
+**delivery-timeout (3),**
+**message-discarded (4),**
+**subscription-terminated (5),**
+**forwarding-error (6),**
+**security-error (7),**
+**message-forwarded (8),**
+**voice-encoding-not-supported (9)**
+**} (0..ub-vn-reason-code)**
+
+*-- NRN Diagnostic Codes from a VMGS-UA or VMGS-MS or TSAU.*
+
+**VNRNUAMSDiagnosticField ::= INTEGER {**
+*-- This field may be used to further specify the error signalled in the field "nrn-ua-ms-basic-codes".*
+*-- Additional information may be indicated in the "vn-supplementary-info" field.*
+**protocol-violation (0) -- this is a place holder**
+**} (0..ub-vn-reason-code)**
+
+*-- NRN Reason Codes from a VMGS-User*
+
+**VNRNUserReasonCodeField ::= SEQUENCE {**
+**vn-user-basic-codes** [0] **VNRNUserBasicCodeField,**
+**vn-user-diagnostics** [1] **VNRNUserDiagnosticField OPTIONAL }**
+
+*-- VN NRN Basic Reason Codes from a VMGS-User.*
+
+**VNRNUserBasicCodeField ::= INTEGER {**
+**unspecified (0),**
+**user-defined-reason (1) -- this is a place holder**
+**} (0..ub-vn-reason-code)**
+
+*-- VN NRN Basic Reason Codes from a VMGS-User.*
+
+**VNRNUserDiagnosticField ::= INTEGER**
+
+*-- Contains the reason passed by the user when the value of "nrn-user-basic-code" is "user-defined-reason". Additional information may be indicated in the "vn-supplementary-info" field. The values used in this field are outside the scope of this Recommendation.*
+
+*-- NRN Reason Codes from a TSAU-User*
+
+**VNRNTSAUReasonCodeField ::= SEQUENCE {**
+ **nrn-user-basic-codes** [0] **VNRNTSAUBasicCodeField,**
+ **nrn-user-diagnostics** [1] **VNRNTSAUDiagnosticField OPTIONAL }**
+
+**VNRNTSAUReasonBasicCodeField ::= INTEGER {**
+ **attendant-assisted-delivery-failure (0),**
+ **unknown-telephone-number (1),**
+ **attendant-assisted-delivery-not-provided (2),**
+ **delivery-timeout (3),**
+ **security-error (4),**
+ **message-forwarded (5),**
+ **unspecified (6),**
+ **inappropriate-voice-encoding (7),**
+ **telephone-number-unreachable (8),**
+ **recipient-refused-message (9),**
+ **no-answer-on-every-attempt (10),**
+ **busy-on-every-attempt (11),**
+ **no-answer-or-busy-on-every-attempt (12),**
+ **sensitivity-not-supported (13),**
+ **importance-not-supported (14),**
+ **busy-on-every-attempt (15)**
+ *-- TSAU providers may define additional values above (1000). }*
+**}**
+
+**VNRNTSAUDiagnosticField ::= INTEGER {**
+ **person-to-person-spoken-name-not-provided (0),**
+ **person-unavailable (1),**
+ **number-not-in-service (2),**
+ **message-expired (3),**
+ **importance-not-conveyed (4)**
+ **} (0..ub-vn-reason-code)**
+
+**END** *-- of VMGSInformationObjects*
+
+# Annex C
+
+## VM Message Store attributes – Reference definition
+
+This annex defines for reference purposes the MS attributes specific to VMGS. It uses the ATTRIBUTE macro of UIT-T Rec. X.501 | ISO/IEC 9594-2.
+
+```
+VMGSMessageStoreAttributes { joint-iso-itu-t
+ mhs-motis(6) vmgs(8) modules(9) message-store-attributes(4) }
+
+ DEFINITIONS IMPLICIT TAGS ::=
+ BEGIN
+
+-- Prologue
+
+-- Exports everything.
+
+ IMPORTS
+
+-- VMGS Object Identifiers
+
+ id-bat-body, id-bat-externally-defined-body-part-types, id-bat-message-data,
+ id-bat-message-duration, id-bat-message-parameters, id-bat-message-other-params,
+ id-bat-body-message-length, id-bat-v-body-part, id-bat-vm-bodypart-sequence-number,
+ id-hat-vm-creation-time, id-hat-expiry-time, id-hat-heading,
+ id-hat-heading-extensions, id-hat-importance,
+ id-hat-language, id-hat-obsolete-dvm, id-hat-originator,
+ id-hat-sensitivity-field, id-hat-this-VM, id-hat-forwarded-indication,
+ id-hat-forwarding-permitted, id-hat-vm-encrypted-primary-bodypart,
+ id-hat-vm-originator-spoken-name, id-hat-vm-spoken-subject,
+ id-hat-vm-this-recipient-spoken-name, id-hat-vmgs-security-elements,
+ id-hat-vmgs-user-security-extensions, id-hat-vn-receiver,
+ id-hat-voice-encoding-type, id-nat-conversion-indication,
+ id-nat-first-recipient, id-nat-notification-extensions,
+ id-nat-notification-security-elements, id-nat-notification-creation-time,
+ id-nat-nrn-extensions, id-nat-nrn-tsau-reason-code, id-nat-nrn-ua-ms-reason-basic-code,
+ id-nat-nrn-user-reason-basic-code, id-nat-orig-vm-spoken-name, id-nat-orig-vmg-spoken-subject,
+ id-nat-rn-extensions, id-nat-sn-extensions, id-nat-sn-reason-code,
+ id-nat-spoken-subject, id-nat-subject-vm, id-nat-subject-vmg-other-recipients,
+ id-nat-vn-initiator, id-nat-vn-originator-text,
+ id-nat-vn-originator-spoken-name, id-nat-vn-supplementary-info,
+ id-nat-vn-voice-encoding-type,
+ id-rat-message-forwarding-permitted, id-rat-recipient-extensions-for-this-recipient,
+ id-rat-this-recipient, id-rat-vm-notification-requests-for-this-recipient,
+ id-rat-vm-notification-extension-requests-for-this-recipient,
+ id-rat-vm-notification-security-requests-for-this-recipient,
+ id-rat-vm-reception-security-requests-for-this-recipient,
+ id-sat-vmg-entry-type, id-sat-vmg-synopsis
+
+ ----
+ FROM VMGSObjectIdentifiers { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9) object-identifiers(0)
+ }
+
+-- MTS Upper Bounds
+
+ ub-bit-options, ub-integer-options, ub-supplementary-info-length
+ ----
+ FROM MTSUpperBounds { joint-iso-itu-t mhs-motis(6) mts(3) modules(0) upper-bounds(3)
+ }
+
+-- MS Abstract Service
+
+ SequenceNumber
+ ----
+ FROM MSAbstractService { joint-iso-itu-t mhs-motis(6) ms(4) modules(0) abstract-
+ service(1) }
+
+-- VMGS Information Objects
+
+ Body, BodyPartReference, DateAndTimeOfPreparationField, ExtensionField,
+ FirstRecipientField, Heading, HeadingExtensionsSubField, MessageData,
+```
+
+MessageForwarded, MessageForwardingPermitted, MessageParameters,
+ NoticeCreationTimeField, NotificationExtensionsSubField, NRNExtensionsSubField,
+ NRNReasonCodeField, ObsoletedVMSubfield, OriginatorSpokenName, ReceiptNotificationFields,
+ Recipient, RecipientExtensionsSubField, RecipientSpokenName, RecipientsSubField,
+ RNExtensionsSubField, SecurityElementsField, SecurityExtensionsSubField,
+ SNExtensionsSubField, SNReasonCodeField, SpokenSupplementaryInfo, SubjectVMField,
+ ThisVMField, VMBodyPart, VMCreationTime, VMDuration, VMGSUserSecurityElements,
+ VMGSUserSecurityExtensions, VMSpokenSubjectField, VMSupplementaryInformation,
+ VMNotificationExtensionsSubField, VNInitiatorField, VNOriginatorSpokenName,
+ VNotificationRequests,
+ VNotificationSecurity, VNReceiverField, VNRNUAMSBasicCodeField,
+ VNRNUAMSDiagnosticCodeField,
+ VNRNUserBasicCodeField, VNRNUserDiagnosticField, VoiceEncodingType,
+ VReceptionSecurity
+
+----
+ FROM VMGSInformationObjects { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9)
+ information-objects(2) }
+
+-- IPMS Information Objects
+
+ConversionEITsField, ExternallyDefinedParameters, ExpiryTimeField, ImportanceField,
+ ORDescriptor, SensitivityField
+
+----
+ FROM IPMSInformationObjects { joint-iso-itu-t mhs-motis(6) ipms(1) modules(0)
+ information-objects(2) }
+
+-- IPM Heading Extensions
+
+Language
+
+----
+ FROM IPMSHeadingExtensions { joint-iso-itu-t mhs-motis(6) ipms(1) modules(0) heading-
+ extensions(6) }
+
+-- Directory Information Framework
+
+ATTRIBUTE
+
+----
+ FROM InformationFramework { joint-iso-itu-t ds(5) modules(1) informationFramework(1)
+ };
+
+-- END imports
+
+-- MESSAGE STORE ATTRIBUTES
+
+-- Summary Attributes
+
+-- VM Entry Type
+
+vm-entry-type ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX EntryType
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-sat-vmg-entry-type
+
+EntryType ::= ENUMERATED {
+ voice-message (0),
+ receipt-notification (1),
+ non-receipt-notification (2),
+ service-notification (3) }
+
+-- VM Synopsis
+
+vm-synopsis ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX VMSynopsis
+ SINGLE VALUE
+ ::= id-sat-vm-synopsis
+
+VMSynopsis ::= SEQUENCE OF BodyPartSynopsis
+
+BodyPartSynopsis ::= CHOICE {
+ message [0] MessageBodyPartSynopsis,
+ non-message [1] NonMessageBodyPartSynopsis }
+
+```
+
+MessageBodyPartSynopsis ::= SEQUENCE {
+ number [0] SequenceNumber,
+ synopsis [1] VMSynopsis }
+
+NonMessageBodyPartSynopsis ::= SEQUENCE {
+ type [0] OBJECT IDENTIFIER,
+ parameters [1] ExternallyDefinedParameters OPTIONAL,
+ bp-size [2] INTEGER, -- in octets
+ processed [3] BOOLEAN DEFAULT FALSE }
+
+```
+
+*-- VM Notification Indicator*
+
+```
+
+vm-notification-indicator ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX VNotificationIndicator
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-sat-vm-notification-indicator
+
+```
+
+**VNotificationIndicator ::= VIndicatorBits DEFAULT { }** *-- default is NO Notifications Sent*
+
+```
+
+VIndicatorBits ::= BIT STRING {
+ rn-sent (0),
+ sn-sent (1),
+ nrn-sent (2) } (SIZE (1..ub-bit-options))
+
+```
+
+*-- Heading Attributes*
+
+*-- Heading*
+
+```
+
+heading ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX Heading
+ SINGLE VALUE
+ ::= id-hat-heading
+
+```
+
+*-- Heading Subfield Attributes*
+
+```
+
+this-vm ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX ThisVMField
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-this-VM
+
+```
+
+```
+
+originator ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX COMPONENTS OF ORDescriptor
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-originator
+
+```
+
+```
+
+obsoleted-vm ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX ObsoletedVMField
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-obsoleted-vm
+
+```
+
+```
+
+expiry-time; ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX ExpiryTimeField
+ MATCHES FOR EQUALITY ORDERING
+ SINGLE VALUE
+ ::= id-hat-expiry-time
+
+```
+
+```
+
+importance ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX ImportanceField
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-importance
+
+```
+
+```
+
+sensitivity ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX SensitivityField
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-sensitivity-field
+
+```
+
+```
+
+vm-forwarded-indication ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX MessageForwarded
+
+```
+
+```
+
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-vm-forwarded-indication
+
+vm-forwarding-permitted ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX MessageForwardingPermitted
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-vm-forwarding-permitted
+
+language ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX Language
+ MATCHES FOR EQUALITY
+ MULTI VALUE
+ ::= id-hat-language
+
+voice-encoding-type; ATTRIBUTE -- Identifies the Encoding of the voice object
+ WITH ATTRIBUTE-SYNTAX VoiceEncodingType
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-voice-encoding-type
+
+vm-creation-time ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX VMCreationTime
+ MATCHES FOR EQUALITY ORDERING
+ SINGLE VALUE
+ ::= id-hat-vm-creation-time
+
+vn-receiver-field ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX VNReceiverField
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-vn-receiver
+
+-- User Security Attributes
+
+vmgs-user-security-element ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX VMGSUserSecurityElement
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-vmgs-user-security-elements
+
+vm-encrypted-primary-bodypart ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX BOOLEAN
+ MATCHES FOR EQUALITY
+ SINGLE VALUE
+ ::= id-hat-vm-encrypted-primary-bodypart
+
+vmgs-user-security-extensions ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX VMGSUserSecurityExtensions
+ MATCHES FOR EQUALITY
+ MULTI VALUE
+ ::= id-hat-vmgs-user-security-extensions
+
+-- Originator-Generated Spoken Attributes
+
+vm-spoken-subject ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX VMSpokenSubjectField
+ SINGLE VALUE
+ ::= id-hat-vm-spoken-subject
+
+vm-originator-spoken-name ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX OriginatorSpokenName
+ SINGLE VALUE
+ ::= id-hat-vm-originator-spoken-name
+
+vm-this-recipient-spoken-name ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX RecipientSpokenName
+ SINGLE VALUE
+ ::= id-hat-vm-this-recipient-spoken-name
+
+-- Heading Extensions
+
+heading-extensions ATTRIBUTE
+ WITH ATTRIBUTE-SYNTAX HeadingExtensionsSubField
+
+```
+
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-hat-heading-extensions**
+
+*-- Recipient Sub-field*
+
+**this-recipient ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX COMPONENTS OF ORDescriptor**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-rat-this-recipient**
+
+**vm-notification-requests-for-this-recipient ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNotificationRequests**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-rat-vm-notification-requests-for-this-recipient**
+
+**vm-notification-security-requests-for-this-recipient ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNotificationSecurity**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-rat-vm-notification-security-requests-for-this-recipient**
+
+**vm-reception-security-requests-for-this-recipient ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VMReceptionSecurity**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-rat-vm-reception-security-requests-for-this-recipient**
+
+**vm-notification-extension-requests-for-this-recipient ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VMNotificationExtensionsSubField**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-rat-vm-notification-extension-requests-for-this-recipient**
+
+**recipient-extensions-for-this-recipient ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX RecipientExtensionsSubField**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-rat-recipient-extensions-for-this-recipient**
+
+*-- Body Attributes*
+
+*-- Body*
+
+**body ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX Body**
+**SINGLE VALUE**
+**::= id-bat-body**
+
+*-- Body Analyses*
+
+**v-body-message-length ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VoiceMessageLength**
+**MATCHES FOR EQUALITY ORDERING**
+**SINGLE VALUE**
+**::= id-bat-v-body-message-length**
+
+**VoiceMessageLength ::= INTEGER -- in octets**
+
+**voice-message-duration ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VMDuration**
+**MATCHES FOR ORDERING**
+**SINGLE VALUE**
+**::= id-bat-voice-message-duration**
+
+**voice-message-other-parms ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VMSupplementaryInformation**
+**MATCHES FOR EQUALITY SUBSTRINGS**
+**SINGLE VALUE**
+**::= id-bat-voice-message-other-parms**
+
+-- PRIMARY BODY PARTS
+
+-- Subject Voice Message
+
+**v-body-part ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VBodyPart**
+**SINGLE VALUE**
+**::= id-bat-v-body-part**
+
+-- Forwarded Voice Message(s)
+
+**vm-bodypart-sequence-number ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SequenceNumber** -- *sequence number of the forwarded VM entry.*
+**SINGLE VALUE**
+**::= id-bat-vm-bodypart-sequence-number**
+
+**message-parameters ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX MessageParameters**
+**SINGLE VALUE**
+**::= id-bat-message-parameters**
+
+**message-data ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX MessageData**
+**SINGLE VALUE**
+**::= id-bat-message-data**
+
+-- EXTERNALLY DEFINED BODY Part Types
+
+**externally-defined-body-part-types ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX OBJECT IDENTIFIER**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-bat-externally-defined-body-part-types**
+
+-- Description of the externally-defined-body-part-types attribute syntax for parameter portion only
+
+**VMExternallyDefinedBodyPartParameterAttribute ::= ExternallyDefinedBodyPart** -- *from IPMS*
+
+-- Notification Attributes
+
+-- Common Fields
+
+**subject-vm ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SubjectVMField**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-nat-subject-vm**
+
+**vn-originator-text ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX COMPONENTS OF ORDescriptor** -- *subcomponent of VNOriginatorField*
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-nat-vn-originator**
+
+**vn-originator-spoken-name ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX OriginatorSpokenName**
+**SINGLE VALUE**
+**::= id-nat-vn-originator**
+
+**vn-initiator ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNInitiatorField**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-nat-vn-initiator**
+
+**first-recipient ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX FirstRecipientField**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-nat-first-recipient**
+
+**notification-creation-time ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX NoticeCreationTimeField**
+**MATCHES FOR EQUALITY ORDERING**
+
+**SINGLE VALUE**
+**::= id-nat-notification-creation-time**
+
+**notification-security-elements ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SecurityElementsField**
+**SINGLE VALUE**
+**::= id-nat-notification-security-elements**
+
+**conversion-indication ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX ConversionEITsField**
+**SINGLE VALUE**
+**::= id-nat-conversion-indication**
+
+**orig-vm-spoken-subject ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VMSpokenSubjectField**
+**SINGLE VALUE**
+**::= id-nat-orig-vm-spoken-subject**
+
+**subject-vm-other-recipients ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX RecipientField**
+**MULTI VALUE**
+**::= id-nat-subject-vm-other-recipients**
+
+**vn-supplementary-info ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNSupplementaryInfo**
+**SINGLE VALUE**
+**::= id-nat-vn-supplementary-info**
+
+**vn-voice-encoding-type ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNVoiceEncodingType**
+**MATCHES FOR EQUALITY**
+**SINGLE VALUE**
+**::= id-nat-vn-voice-encoding-type**
+
+**notification-extensions ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX NotificationExtensionsSubField**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-nat-notification-extensions**
+
+### *-- Receipt Notification Fields*
+
+**rn-extensions ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX RNExtensionsSubField**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-nat-rn-extensions**
+
+### *-- Service Notification Fields for any VMGS-user*
+
+**sn-reason-code ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SNReasonCode**
+**SINGLE VALUE**
+**::= id-nat-sn-ua-ms-basic-reason-code**
+
+**sn-extensions ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX SNExtensionsSubField**
+**MATCHES FOR EQUALITY**
+**MULTI VALUE**
+**::= id-nat-sn-extensions**
+
+### *-- Non-receipt Fields*
+
+**nrn-ua-ms-reason-code ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNRNUAMSReasonCodeField**
+**SINGLE VALUE**
+**::= id-nat-nrn-ua-ms-reason-basic-code**
+
+**nrn-user-reason-code ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNRNUserReasonCodeField**
+**SINGLE VALUE**
+**::= id-nat-nrn-user-reason-basic-code**
+
+**nrn-tsau-reason-code ATTRIBUTE**
+**WITH ATTRIBUTE-SYNTAX VNRNTSAUReasonCodeField**
+
+```
+SINGLE VALUE
+::= id-nat-nrn-tsau-reason-code
+
+nrn-extensions ATTRIBUTE
+WITH ATTRIBUTE-SYNTAX NRNExtensionsSubField
+MATCHES FOR EQUALITY
+MULTI VALUE
+::= id-nat-nrn-extensions
+
+END -- of VMGSMessageStoreAttributes
+```
+
+# Annex D
+
+## Message Store VMGS Auto-Action types – Reference definition
+
+This annex, which supplements Annex C, defines the MS auto-action registration ASN.1 types specific to Voice Messaging. The definitions contained herein use the Auto-Action macro of ITU-T Rec. X.413 | ISO/IEC 10021-5.
+
+```
+
+VMGSAutoActionTypes { joint-iso-itu-t mhs-motis(6)
+ vmgs(8) modules(9) message-store-auto-actions(7) }
+DEFINITIONS ::=
+BEGIN
+
+-- Prologue
+
+-- Exports everything.
+
+IMPORTS
+
+-- VMGS Object Identifiers
+
+ id-act-vmg-auto-forward, id-act-vn-sn-auto-action
+ ----
+ FROM VMGSObjectIdentifiers { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9) object-
+ identifiers(0) }
+
+-- VMGS Information Objects
+
+ VMSupplementaryInformation, RecipientField, ActionRequestField
+ VNotificationRequestsField, MessagePassingAllowed
+ ----
+ FROM VMGSInformationObjects { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9)
+ information-objects(2) }
+
+-- MS Abstract Service
+
+ AUTO-ACTION, Filter
+ ----
+ FROM MSAbstractService { joint-iso-itu-t mhs-motis(6) ms(4) modules(0) abstract-
+ service(1) }
+
+-- MS General Auto Actions
+
+ PerMessageAutoForwardFields, PerRecipientAutoForwardFields
+ ----
+ FROM MSGeneralAutoActionTypes { joint-iso-itu-t mhs-motis(6) ms(4) modules(0)
+ general-auto-action-types(3) }
+
+-- MTS Upper Bounds
+
+ ub-recipients
+ ----
+ FROM MTSUpperBounds { joint-iso-itu-t mhs-motis(6) mts(3) modules(0) upper-bounds(3)
+ }
+
+-- MTS Abstract Service Definition
+
+ ORName
+ ----
+ FROM MTSAbstractService { joint-iso-itu-t mhs-motis(6) mts(3) modules(0) mts-abstract-
+ service(1) };
+
+-- END Imports
+
+-- Auto-Action Types
+
+-- VMGS Auto Action Registration
+
+ vm-auto-forward-actions AUTO-ACTION
+ REGISTRATION PARAMETER IS VMActionRegistrationParameter
+ ::= id-act-vm-auto-actions
+
+ VMActionRegistrationParameter ::= SEQUENCE {
+```
+
+| | |
+|-----------------------------------------|------------------------------------------|
+| filter | [0] Filter OPTIONAL, |
+| vm-supplementary-information | [1] VMSupplementaryInformation OPTIONAL, |
+| delete-after-forwarding | [2] BOOLEAN DEFAULT FALSE, |
+| vm-auto-forwarding-mode | CHOICE { |
+| vm-forwarding-with-message-not-accepted | [3] ForwardWithNonReceipt, |
+| vm-forwarding-with-message-accepted | [4] ForwardWithMessageAccepted, |
+| vm-forwarding-with-no-VNs | [5] ForwardWithoutVNs } |
+
+-- Auto Action Registration Parameters for NonReceipt with Message not Accepted
+
+```
+
+ForwardWithMessageNonReceipt ::= SET {
+ COMPONENTS OF PerMessageAutoForwardFields, -- from MS auto-forward Abstract Operation
+ per-recipient-no-accept-arguments [3] SEQUENCE OF
+ PerRecipientNoAcceptArguments,
+ notification-argument [4] NotificationArguments OPTIONAL }
+
+PerRecipientNoAcceptArguments ::= SEQUENCE {
+ per-recipient-field [0] PerRecipientAutoForwardFields,
+ heading-next-recipient [1] RecipientField }
+
+NotificationArguments ::= SET {
+ COMPONENTS OF PerMessageAutoForwardFields, -- from MS auto-forward Abstract Operation
+ per-recipients-field [3] PerRecipientAutoForwardFields }
+
+```
+
+-- Auto Action Registration Parameters for NonReceipt with Message Accepted
+
+```
+
+ForwardWithRespAccepted ::= SET {
+ COMPONENTS OF PerMessageAutoForwardFields, -- from MS auto-forward Abstract Operation
+ per-recipient-arguments [3] SEQUENCE SIZE (1..ub-recipients) OF
+ PerRecipientArguments, -- P1 + VMP information
+ notification-argument [4] NotificationArguments OPTIONAL -- RN arguments -- }
+
+PerRecipientArguments ::= SEQUENCE {
+ per-recipients-p1-info [0] PerRecipientAutoForwardFields,
+ -- P1 Per Recipient information
+
+ vm-heading-fields [1] HeadingFields OPTIONAL, -- VMP Per Recipient information
+ new-vn-receiver-name [2] ORName } -- for all VMP recipients
+
+HeadingFields ::= SEQUENCE {
+ next-recipient [0] RecipientField,
+ next-recipient-vn-requests-field [1] VNotificationRequestsField OPTIONAL,
+ next-message-forwarding-permitted [2] MessageForwardingPermitted DEFAULT FALSE }
+
+```
+
+-- Auto Action Registration Parameters for MS auto Forwarding without RN or NRN.
+
+```
+
+ForwardWithoutVNs ::= SET {
+ COMPONENTS OF PerMessageAutoForwardFields, -- from MS auto-forward Abstract Operation
+ per-recipient-no-vn-arguments [3] SEQUENCE SIZE (1..ub-recipients) OF
+ PerRecipientArguments -- P1 + VM information -- }
+
+```
+
+-- Auto Action Registration Parameters for auto generation of Service Notification.
+
+```
+
+vm-auto-sn-action AUTO-ACTION
+REGISTRATION PARAMETER IS VNSNAActionRegistrationParameter
+::= id-act-vn-sn-auto-action
+
+VNSNAActionRegistrationParameter ::= SEQUENCE {
+ filter [0] Filter OPTIONAL,
+ vn-service-notice-info [1] ServiceNotificationInfo }
+
+ServiceNotificationInfo ::= SET {
+ sn-notification-argument [4] SNReasonCode,
+ sn-supplementary-info [5] VNSupplementaryInfo OPTIONAL,
+ extensions [6] NotificationExtensionsField OPTIONAL }
+
+END -- of VMGSAutoActionTypes
+
+```
+
+# Annex E
+
+## VMGS functional objects – Reference definition
+
+This annex defines for reference purposes the functional objects of Voice Messaging. It uses the OBJECT and REFINE macros of CCITT Rec. X.407 and ISO/IEC 10021-3.
+
+```
+VMGSFunctionalObjects { joint-iso-itu-t
+ mhs-motis(6) vmgs(8) modules(9) functional-objects(1) }
+ DEFINITIONS IMPLICIT TAGS ::=
+ BEGIN
+```
+
+*-- Prologue*
+
+*-- Exports everything.*
+
+### **IMPORTS**
+
+*-- VMGS Abstract Service*
+
+**origination, reception, management**
+
+----
+
+**FROM VMGSAbstractService { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9) abstract-service(3) }**
+
+*-- VMGS Object Identifiers*
+
+**id-ot-vmge, id-ot-vmgs, id-ot-vmg-ms, id-ot-vmg-ua,**
+**id-ot-vmgs-user, id-ot-tsau,**
+**id-ref-primary, id-ref-secondary**
+
+----
+
+**FROM VMGSObjectIdentifiers { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9) object-identifiers(0) }**
+
+*-- MS Abstract Service*
+
+**retrieval**
+
+----
+
+**FROM MSAbstractService { joint-iso-itu-t mhs-motis(6) ms(4) modules(0) abstract-service(1) }**
+
+*-- MTS Abstract Service*
+
+**administration, delivery, mTS, submission**
+
+----
+
+**FROM MTSAbstractService { joint-iso-itu-t mhs-motis(6) mts(3) modules(0) mts-abstract-service(1) }**
+
+*-- Abstract service definition conventions*
+
+### **OBJECT, REFINE**
+
+----
+
+**FROM AbstractServiceNotation { joint-iso-itu-t mhs-motis(6) asdc(2) modules(0) notation(1) };**
+
+*-- END imports*
+
+*-- "Root" Object Type*
+
+**vmge OBJECT ::= id-ot-vmge**
+
+*-- Primary Refinement*
+
+**vmge-refinement REFINE vmge AS**
+
+**vmgs**
+
+**origination**
+
+**[S] PAIRED WITH vmgs-user**
+
+**reception**
+
+**[S] PAIRED WITH vmgs-user**
+
+**management**
+
+**[S] PAIRED WITH vmgs-user**
+
+**vmgs-user RECURRING**
+
+**::= id-ref-primary**
+
+-- Primary Object Types
+
+-- VMGS User
+
+```
+vmgs-user OBJECT
+ PORTS {
+ origination [C],
+ reception [C],
+ management [C] }
+ ::= id-ot-vmgs-user
+```
+
+-- VMGS Messaging System
+
+```
+vmgs OBJECT
+ PORTS {
+ origination [S],
+ reception [S],
+ management [S] }
+ ::= id-ot-vmgs
+```
+
+-- Secondary Refinement
+
+```
+vmgs-refinement REFINE vmgs AS
+ mTS
+ submission [S] PAIRED WITH vmg-ua, vmg-ms
+ delivery [S] PAIRED WITH vmg-ua, vmg-ms
+ administration [S] PAIRED WITH vmg-ua, vmg-ms
+ vmg-ua RECURRING
+ origination [S] VISIBLE
+ reception [S] VISIBLE
+ management [S] VISIBLE
+ vmg-ms RECURRING
+ submission [S] PAIRED WITH vmg-ua
+ retrieval [S] PAIRED WITH vmg-ua
+ administration [S] PAIRED WITH vmg-ua
+ tsau RECURRING
+ origination [S] VISIBLE
+ reception [S] VISIBLE
+ management [S] VISIBLE
+ ::= id-ref-secondary
+```
+
+-- Secondary Object Types
+
+-- VMGS User Agent
+
+```
+vmg-ua OBJECT
+ PORTS {
+ origination [S],
+ reception [S],
+ management [S],
+ submission [C],
+ delivery [C],
+ retrieval [C],
+ administration [C] }
+ ::= id-ot-vmg-ua
+```
+
+-- VMGS Message Store
+
+```
+vmg-ms OBJECT
+ PORTS {
+ submission [S],
+ retrieval [S],
+ administration [S],
+ submission [C],
+ delivery [C],
+ administration [C] }
+ ::= id-ot-vmg-ms
+```
+
+-- Telephone Service Access Unit
+
+```
+tsau OBJECT
+ PORTS {
+ origination [S],
+ reception [S],
+```
+
+```
+management [S] }
+::= id-ot-tsau
+END -- of VMGS-Functional-Objects
+```
+
+# Annex F
+
+## VMGS abstract service – Reference definition
+
+This annex defines for reference purposes the VMGS Abstract Service. It uses the PORT and ABSTRACT-OPERATION and ABSTRACT-ERROR macros of CCITT Rec. X.407 and ISO/IEC 10021-3.
+
+```
+
+VMGSAbstractService { joint-iso-itu-t mhs-motis(6)
+ vmgs(8) modules(9) abstract-service(3) }
+DEFINITIONS IMPLICIT TAGS ::=
+BEGIN
+
+-- Prologue
+
+-- Exports everything.
+
+IMPORTS
+
+-- VMGS Information Objects
+
+InformationObject, RecipientField, VMP, VNP
+ ----
+ FROM VMGSInformationObjects { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9)
+information-objects(2) }
+
+-- VMGS Object Identifiers
+
+id-pt-origination, id-pt-reception id-pt-management
+ ----
+ FROM VMGSObjectIdentifiers { joint-iso-itu-t mhs-motis(6) vmgs(8) modules(9) object-
+identifiers(0) }
+
+-- MTS Abstract Service
+
+MessageDeliveryEnvelope, MessageSubmissionEnvelope,
+MessageSubmissionIdentifier, MessageSubmissionTime,
+RecipientImproperlySpecified, ReportDeliveryEnvelope
+ ----
+ FROM MTSAbstractService { joint-iso-itu-t mhs-motis(6) mts(3) modules(0) mts-abstract-
+service(1) }
+
+-- Abstract service definition conventions
+
+ABSTRACT-ERROR, ABSTRACT-OPERATION, PORT
+ ----
+ FROM AbstractServiceNotation { joint-iso-itu-t mhs-motis(6) asdc(2) modules(0)
+notation(1) };
+
+-- Primary Port Types
+
+-- Origination
+
+origination PORT
+CONSUMER INVOKES {
+ OriginateVM,
+ OriginateVN }
+::= id-pt-origination
+
+-- Reception
+
+reception PORT
+SUPPLIER INVOKES {
+ ReceiveReport,
+ ReceiveVM,
+ ReceiveVN }
+::= id-pt-reception
+
+-- Management
+
+management PORT
+CONSUMER INVOKES {
+ ChangeAutoDiscard,
+```
+
+ChangeAutoAcknowledgements,
+ChangeAutoSNotice,
+ChangeAutoForwarding }
+::= id-pt-management
+
+-- ABSTRACT OPERATIONS
+
+-- *Origination Abstract Operations*
+
+-- *Originate VM*
+
+**OriginateVM ::= ABSTRACT-OPERATION**
+ **ARGUMENT SET {**
+ envelope [0] MessageSubmissionEnvelope,
+ content [1] VM }
+ **RESULT SET {**
+ submission-identifier [0] MessageSubmissionIdentifier,
+ submission-time [1] MessageSubmissionTime }
+ **ERRORS {**
+ SubscriptionError,
+ RecipientImproperlySpecified }
+
+-- *Originate VN*
+
+**OriginateVN ::= ABSTRACT-OPERATION**
+ **ARGUMENT SET {**
+ envelope [0] MessageSubmissionEnvelope,
+ content [1] VNType }
+ **RESULT SET {**
+ submission-identifier [0] MessageSubmissionIdentifier,
+ submission-time [1] MessageSubmissionTime }
+ **ERRORS {**
+ SubscriptionError,
+ RecipientImproperlySpecified }
+
+**VNType ::= CHOICE {**
+ [0] RN,
+ [1] NRN,
+ [2] SN }
+
+-- *Reception Abstract Operations*
+
+-- *Receive Report*
+
+**ReceiveReport ::= ABSTRACT-OPERATION**
+ **ARGUMENT SET {**
+ envelope [0] ReportDeliveryEnvelope,
+ undelivered-object [1] InformationObject OPTIONAL }
+ **RESULT**
+ **ERRORS { }**
+
+-- *Receive VM*
+
+**ReceiveVM ::= ABSTRACT-OPERATION**
+ **ARGUMENT SET {**
+ envelope [0] MessageDeliveryEnvelope,
+ content [1] VM }
+ **RESULT**
+ **ERRORS { }**
+
+-- *Receive VNP*
+
+**ReceiveVN ::= ABSTRACT-OPERATION**
+ **ARGUMENT SET {**
+ envelope [0] MessageDeliveryEnvelope,
+ content [1] VN }
+ **RESULT**
+ **ERRORS { }**
+
+-- *Change auto-discard*
+
+**ChangeAutoDiscard ::= ABSTRACT-OPERATION**
+ **ARGUMENT SET {**
+ auto-discard-expired-VM [0] BOOLEAN,
+
+```
+
+ auto-discard-obsolete-VM [1] BOOLEAN }
+RESULT
+ERRORS { }
+
+-- Change auto-acknowledgements
+ChangeAutoAcknowledgements ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ auto-acknowledge-VM [0] BOOLEAN,
+ auto-acknowledge-suppl-recipient-info [1] VNSupplementaryInfo OPTIONAL }
+ RESULT
+ ERRORS { SubscriptionError }
+
+-- Change auto-forwarding
+ChangeAutoForwarding ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ auto-forward-VM [0] BOOLEAN,
+ auto-forward-recipients [1] SEQUENCE OF RecipientField OPTIONAL,
+ auto-forward-heading [2] Heading OPTIONAL,
+ auto-forward-comment [2] VNSupplementaryInfo OPTIONAL }
+ RESULT
+ ERRORS {
+ SubscriptionError,
+ RecipientImproperlySpecified }
+
+-- Change auto-SNotice
+ChangeAutoSNotice ::= ABSTRACT-OPERATION
+ ARGUMENT SET {
+ auto-SNotice [0] BOOLEAN,
+ auto-service-status-info [1] EOSSupportIndicator,
+ auto-SN-suppl-recipient-info [2] VNSupplementaryInfo OPTIONAL }
+ RESULT
+ ERRORS { SubscriptionError }
+
+ EOSSupportIndicator ::= BIT STRING {
+ unspecified (0),
+ auto-forwarding-ind (1),
+ language-ind (2),
+ obsoleting-ind (3),
+ attendant-assisted-delivery-request (4),
+ expiry-date-ind (5),
+ body-part-encryption-ind (6) } (SIZE (2..ub-sn-reasons))
+ -- setting any bit on indicates non-support
+
+-- Subscription Error
+SubscriptionError ::= ABSTRACT-ERROR
+ PARAMETER SET {
+ problem [0] SubscriptionProblem }
+
+-- Subscription Problem
+SubscriptionProblem ::= ENUMERATED {
+ vm-eos-not-subscribed (0),
+ mts-eos-not-subscribed (1) }
+
+END -- of VMGSAbstractService
+
+```
+
+# Annex G
+
+## VMGS upper bounds parameters – Reference definition
+
+This annex defines for reference purposes the upper bounds of various variable-length information items whose abstract syntaxes are defined in the ASN.1 modules of prior annexes.
+
+```
+
+VMGSUpperBounds { joint-iso-itu-t
+ mhs-motis(6) vmgs(8) modules(9) upper-bounds(5) }
+ DEFINITIONS ::=
+ BEGIN
+
+-- Prologue
+
+-- Exports everything.
+
+ IMPORTS -- nothing -- ;
+
+-- Upper bounds
+
+ ub-sn-reasons INTEGER ::= 32
+ ub-vmg-local-reference INTEGER ::= 64
+ ub-vmgs-user-security-elements INTEGER ::= 1024
+END -- of VMGSUpperBounds
+```
+
+# Annex H
+
+## Mapping of G.726 (1990) and G.728 (1992) into the data component of a voice body part
+
+## H.1 Illustrative mapping of the analogue/digital converted data
+
+The mapping of the analogue/digital converted data specified in CCITT Recs G.726 (1990) and G.728 onto the octet structure of OSI was left for further study in the 1992 edition of this Recommendation. This annex proposes the appropriate mapping of the voice communications data elements onto an 8-bit OCTET structure defined in OSI.
+
+## H.2 Support for CCITT Rec. G.726 – 32 kbit/s ADPCM
+
+This Recommendation is defined to convey voice encoded objects conforming to 32 kbit/s G.726 by reference. However, a reference to CCITT Rec. G.726 was omitted from the initial publication.
+
+### H.2.1 Bit mapping for CCITT Rec. G.726 – 32 kbit/s ADPCM
+
+CCITT Rec. G.726 specifies that the digital encoding of the voice data is to be represented in 4-bit per word. OSI's octet structure is an 8-bit per word encoding. To achieve adequate economy of data exchange over OSI's voice messaging protocols specified in this Recommendation and in ITU-T Rec. X.420, the following mapping shall be followed between the MHS user and the MHS user agent when building a voice body part by mapping a pair of juxtaposed G.726 words onto (or from) one OSI OCTET. To achieve octet alignment, the last OCTET unit shall be padded with zeros. See Figure H.1
+
+
+
+T0724200-96/d09
+
+Diagram Figure H.1: 32 kbit/s ADPCM/OSI mapping. It shows two 4-bit ADPCM words (each with bits 0, 1, 2, 3) being mapped into a single 8-bit Octet (bits 0 through 7). The first ADPCM word's bits 0-3 map to Octet bits 0-3 respectively. The second ADPCM word's bits 0-3 map to Octet bits 4-7 respectively. Arrows indicate the bidirectional mapping between the ADPCM bits and the Octet bits.
+
+**Figure H.1/X.440 – 32 kbit/s ADPCM/OSI mapping**
+
+NOTE – The significance of the OSI high or low bits is not considered in this mapping. The intention is to convey the voice encoded 4-bit words in an 8-bit word. If the packing is not performed, then the number of octets it takes to move a 32 kbit/s ADPCM message will be equivalent to exchanging 64 kbit/s voice encodings.
+
+## H.3 Support for CCITT Rec. G.728 – 16 kbit/s LD-CELP
+
+This Recommendation is to be extended to convey voice encoded objects conforming to CCITT Rec. G.728 by reference.
+
+### H.3.1 Bit mapping for CCITT Rec. G.728 – 16 kbit/s LD-CELP
+
+G.728 16 kbit/s using low-delay code excited linear prediction (LD-CELP) specifies that the digital encoding of the voice data is to be represented in 10-bit per word. OSI's octet structure is an 8-bit per word encoding. To achieve an adequate economy of data exchange over OSI's voice messaging protocols specified in this Recommendation and in ITU-T Rec. X.420, the following mapping shall be followed between the MHS user and the MHS user agent when using a voice body part by mapping four (4) G.728 words onto (or from) five (5) OSI octets. Additionally, a new object identifier needs to be defined to indicate that the data portion of the voice body part contains 16 kbit/s LD-CELP encoded data. To achieve OCTET alignment, the last five octet unit shall be padded with zeros. See Figure H.2.
+
+
+
+16 kbit/s LD-CELP
+
+| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
+|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+Octet
+
+| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
+|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
+|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+
+0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7
+
+T0724210-96/d10
+
+Diagram showing the mapping of 16 kbit/s LD-CELP to OSI. The top row represents 16 kbit/s LD-CELP with four groups of 10 bits each (0-9). The bottom row represents an Octet stream with four groups of 8 bits each (0-7). Vertical double-headed arrows indicate the mapping: LD-CELP bits 0-7 map to Octet bits 0-7, and LD-CELP bits 8-9 map to Octet bits 8-9. This shows that two 10-bit words are packed into one 8-bit octet.
+
+**Figure H.2/X.440 – 16 kbit/s LD-CELP/OSI mapping**
+
+NOTE – The significance of the OSI high or low bits is not considered in this mapping. The intention is to convey the voice encoded 10-bit words in an 8-bit word. If this kind of blocking is not performed, then the number of octets it takes to move a 16 kbit/s LD-CELP message will be equivalent to exchanging 64 kbit/s voice encodings.
+
+# INDEX
+
+This Recommendation index gives the number(s) of the page(s) on which each item in each of several categories is found. It indexes items in the following categories:
+
+- 1) Abbreviations;
+- 2) Terms;
+- 3) ASN.1 Macros;
+- 4) ASN.1 Modules;
+- 5) ASN.1 Types;
+- 6) Information Items;
+- 7) MS ASN.1 Types;
+- 8) MS Attributes;
+- 9) MS VM Auto Actions;
+- 10) NRN Reason Codes;
+- 11) Object Identifiers;
+- 12) P1 ASN.1 Types;
+- 13) SN Reason Codes;
+- 14) Upper Bounds;
+- 15) VMGS Abstracts;
+- 16) VMGS Error Reason Codes;
+- 17) VMGS Operation Reasons;
+- 18) VMGS Operations.
+
+## I.1 Abbreviations
+
+| | | | |
+|-----------|----------|---------------------------|----|
+| | | ASN.1 definitions | 4 |
+| AU | 1 | Body | 60 |
+| DL | 9 | Encoded Information Types | 65 |
+| EIT | 65 | First Recipient | 17 |
+| MHS | 1 | forwarding VM | 39 |
+| MS | 1, 12 | Heading | 58 |
+| MTA | 1 | Management Port | 24 |
+| MTS | 1, 33 | message | 7 |
+| NRN | 15, 20 | message store | 33 |
+| RN | 15, 19 | Message Transfer System | 33 |
+| SN | 15, 19 | non-receipt notification | 15 |
+| TSAU | 31 | Non-Receipt Notification | 20 |
+| UA | 1, 12 | notification | 15 |
+| VM | 5, 6, 23 | OR Descriptor | 6 |
+| VMG | 1 | Origination Port | 24 |
+| VMGE | 22 | primary object | 22 |
+| VMGS-MS | 12, 31 | primary port | 23 |
+| VMGS-UA | 12, 31 | P vm | 1 |
+| VMGS-user | 4, 23 | receipt notification | 15 |
+| VN | 5, 15 | Receipt Notification | 19 |
+| voice | 1 | Reception Port | 24 |
+| | | secondary object | 31 |
+| | | secondary port | 33 |
+
+## I.2 Terms
+
+| | |
+|---------------------------|---|
+| 32K ADPCM Encoded Message | 7 |
+|---------------------------|---|
+
+| | | | |
+|-----------------------------------------------|-----------------------------------|--------------------------------|-------------------------------------------|
+| service notification | 15 | FirstRecipientField | 12, 16, 17, 38, 63, 73, 74, 83 |
+| Service Notification | 19 | ForwardWithMessageAccepted | 46, 87 |
+| subject VM | 4, 16 | ForwardWithMessageNonReceipt | 47, 87 |
+| support upon origination | 66 | ForwardWithNonReceipt | 46, 87 |
+| support upon reception | 66 | ForwardWithoutVNs | 46, 50, 87 |
+| Telephone Service access unit | 33 | ForwardWithRespAccepted | 49, 87 |
+| user | 4 | Heading | 7, 8, 28, 71, 93 |
+| user agent | 32 | HeadingExtensionsField | 8, 13, 72, 73 |
+| VM Externally Defined Body Part Types | 61 | HeadingExtensionsSubField | 13, 73 |
+| VM Forwarding | 39, 40, 46 | HeadingFields | 49, 87 |
+| VM Identifier | 5 | ID | 67 |
+| vm-forwarding-with-NRN | 46 | ImportanceField | 8, 72 |
+| vm-forwarding-with-RN | 46 | InformationObject | 5, 26, 70, 92 |
+| vm-forward-without-VNs | 46 | INTEGER | 57, 61, 80, 82 |
+| VMGS Abstract Service | 24 | Language | 11, 73 |
+| VMGS message store | 32 | LanguageField | 8, 11, 72, 73 |
+| VMGS user agent | 32 | LocalReference | 6, 71 |
+| VMGS-user | 4 | MessageBodyPartSynopsis | 57, 79, 80 |
+| Voice applications | 23 | MessageData | 14, 41, 74 |
+| Voice Message | 6 | MessageDeliveryTime | 14, 74 |
+| Voice Messaging | 65 | MessageForwarded | 8, 11, 41, 72 |
+| Voice Messaging Environment | 22 | MessageForwardingPermitted | 8, 11, 40, 49, 72, 73, 87 |
+| Voice Messaging System | 23 | MessageParameters | 14, 41, 74 |
+| voice messaging system user | 4 | NonMessageBodyPartSynopsis | 57, 79, 80 |
+| Voice messaging user | 23 | NonReceiptNotificationFields | 20, 74, 76 |
+| Voice Notification | 15 | NoticeCreationTimeField | 16, 17, 38, 74 |
+| I.3 ASN.1 Macros | | NotificationArguments | 47, 49, 87 |
+| VM-EXTENSION | 6, 71 | NotificationExtensionsField | 17, 19, 20, 22, 51, 74, 75, 76, 87 |
+| I.4 ASN.1 Modules | | NotificationExtensionsSubField | 19, 38, 75 |
+| VMGSAbstractService | 91 | NRN | 25, 92 |
+| VMGSAutoActionTypes | 86 | OBJECT IDENTIFIER | 57, 80 |
+| VMGSFunctionalObjects | 88 | ObsoletedVMField | 8, 11, 71, 73 |
+| VMGSInformationObjects | 70 | ObsoletedVMSubfield | 11, 73 |
+| VMGSMessageStoreAttributes | 78 | ORDescriptor | 9, 62, 71, 83 |
+| VMGSObjectIdentifiers | 67 | OriginatorField | 41 |
+| VMGSUpperBounds | 94 | ORName | 49, 87 |
+| I.5 ASN.1 Types | | OtherMessageDeliveryFields | 14, 74 |
+| AdditionalBodyParts | 7, 40, 41, 73 | PerMessageAutoForwardFields | 47, 49, 50, 87 |
+| AttendantAssistedDeliveryRequest | 10, 72 | PerRecipientArguments | 49, 50, 87 |
+| Body | 7, 71, 73 | PerRecipientAutoForwardFields | 47, 49, 87 |
+| BodyPartSynopsis | 57, 79 | PerRecipientNoAcceptArguments | 47, 87 |
+| BOOLEAN | 46, 57, 80, 87 | PrimaryBodyPart | 7, 40, 41, 73 |
+| CommonFields | 16, 19, 20, 74, 75, 76 | ReceiptNotificationFields | 15, 19, 74, 75 |
+| COMPONENTS OF per | | RecipientExtensionsField | 9, 10, 72 |
+| RecipientAutoForwardFields WITH RecipientName | | RecipientExtensionsSubField | 10, 72 |
+| ABSENT | 47 | RecipientField | 9, 16, 28, 38, 47, 49, 71, 72, 74, 87, 93 |
+| ConversionEITsField | 16, 38, 74 | RecipientsField | 8, 9, 41, 71, 72 |
+| Criticality | 6, 71 | RecipientsSubField | 9, 40, 72 |
+| EntryType | 56, 79 | RN | 25, 92 |
+| EOSSupportIndicator | 28, 29, 93 | SecurityElementsField | 16, 18, 35, 36, 38, 74, 75 |
+| ExpiryTimeField | 8, 41, 71, 73 | SecurityExtensionsField | 18, 75 |
+| ExtensionField | 6, 10, 13, 18, 19, 71, 72, 73, 75 | SecurityExtensionsSubField | 18, 75 |
+| ExternallyDefinedBodyPart | 15, 74, 83 | SensitivityField | 8, 72 |
+| ExternallyDefinedParameters | 57, 80 | SequenceNumber | 57, 61, 80, 83 |
+| Filter | 46, 51, 87 | | |
+
+| | |
+|-----------------------------------------------|----------------------------------|
+| ServiceNotificationFields | 15, 19, 74, 75 |
+| ServiceNotificationInfo | 51, 87 |
+| SN | 25, 92 |
+| SNDiagnosticField | 20, 75, 76 |
+| SNReasonCode | 19, 20, 51, 75, 87 |
+| SNReasonCodeField | 38 |
+| SNReasonField | 20, 75 |
+| SpokenName | 9, 71 |
+| SpokenSupplementaryInfo | 18, 75 |
+| SubjectVMField | 16, 17, 37, 74 |
+| SubjectVMOtherRecipients | 18, 75 |
+| SubscriptionProblem | 30, 93 |
+| ThisVMField | 8, 41, 71, 72 |
+| VBodyPart | 7, 13, 73 |
+| VBPEXTensionsSubField | 13, 74 |
+| VBPPParameterExtensions | 13, 74 |
+| VBPPParameterExtensionsField | 13, 74 |
+| VMActionRegistrationParameter | 46, 86 |
+| VMActionRegistrationParameters | 46 |
+| VMBodyPart | 7, 14, 73, 74 |
+| VMCreationTime | 8, 12, 72, 73 |
+| VMDuration | 13, 73, 74 |
+| VM-ExternallyDefinedBodyPart | 7, 15, 74 |
+| VMExternallyDefinedBodyPartParameterAttribute | 83 |
+| VMGSUserSecurityElement | 13, 73 |
+| VMGSUserSecurityElementsField | 8, 13, 18, 72, 73, 75 |
+| VMGSUserSecurityExtension | 13, 73 |
+| VMGSUserSecurityExtensions | 13, 73 |
+| VMIdentifier | 5, 8, 11, 12, 17, 71, 72, 73, 74 |
+| VMNotificationExtensions | 9, 10, 72 |
+| VMNotificationExtensionsSubField | 10, 72 |
+| VMOriinatorField | 8, 9, 17, 71, 74 |
+| VMP | 5, 7, 14, 25, 26, 71, 74, 92 |
+| VMReceptionSecurity | 9, 10, 35, 36, 72 |
+| VMSpokenSubjectField | 8, 16, 18, 38, 71, 74 |
+| VMSupplementaryInformation | 13, 14, 18, 46, 73, 74, 75, 87 |
+| VMSynopsis | 57, 79, 80 |
+| VNIndicatorBits | 57, 80 |
+| VNInitiatorField | 17, 74 |
+| VNOriinatorField | 16, 17, 74 |
+| VNotificationIndicator | 57, 80 |
+| VNotificationRequests | 9, 72 |
+| VNotificationRequestsField | 9, 40, 41, 49, 72, 87 |
+| VNotificationSecurity | 9, 10, 35, 36, 72 |
+| VNP | 5, 15, 27, 71, 74, 92 |
+| VNReceiverField | 8, 12, 42, 72, 73 |
+| VNRNReasonCodeField | 20, 21, 76 |
+| VNRNTSAUBasicCodeField | 21, 77 |
+| VNRNTSAUDiagnosticField | 22, 77 |
+| VNRNTSAUReasonBasicCodeField | 22, 77 |
+| VNRNTSAUReasonCodeField | 21, 42, 76, 77 |
+| VNRNUAMSBasicCodeField | 21, 76 |
+| VNRNUAMSDiagnosticField | 21, 76 |
+| VNRNUAMSReasonCodeField | 21, 42, 76 |
+
+| | |
+|-----------------------------------|----------------------------------------|
+| VNRNUserBasicCodeField | 21, 76 |
+| VNRNUserDiagnosticField | 21, 76, 77 |
+| VNRNUserReasonCodeField | 21, 42, 76 |
+| VNSNAActionRegistrationParameter | 50, 51, 87 |
+| VNSNAActionRegistrationParameters | 50 |
+| VNSupplementaryInfo | 17, 18, 27, 28, 38, 51, 74, 75, 87, 93 |
+| VNType | 25, 92 |
+| VNVoiceEncodingType | 16, 18, 38, 74, 75 |
+| VoiceEncodingType | 8, 12, 13, 18, 72, 73, 75 |
+| VoiceMessageLength | 61, 82 |
+| VoiceParameters | 13, 73 |
+
+## I.6 Information Items
+
+| | |
+|-------------------------------------|------------|
+| auto-acknowledge-suppl-receipt-info | 28 |
+| auto-acknowledge-VM | 28 |
+| auto-discard-expired-VM | 27 |
+| auto-discard-obsolete-VM | 27 |
+| auto-forward-comment | 28 |
+| auto-forward-heading | 28 |
+| auto-forward-recipients | 28 |
+| auto-forward-VM | 28 |
+| auto-service-status-info | 29 |
+| auto-SN-suppl-recipient-info | 29 |
+| auto-VSNotice | 29 |
+| Body | 7 |
+| Change auto-acknowledgement | 27 |
+| Change auto-discard | 27 |
+| Change auto-forwarding | 28 |
+| Change auto-SNotice | 28 |
+| Content | 25, 26, 27 |
+| Envelope | 25, 26, 27 |
+| Extensions | 10 |
+| Externally Defined Body Part | 15 |
+| mts-eos-not-subscribed | 30 |
+| Originate VM | 25 |
+| Originate VN | 25 |
+| problem | 30 |
+| Receive Report | 26 |
+| Receive VM | 26 |
+| Receive VN | 27 |
+| Recipient | 9 |
+| Recipient Improperly Specified | 30 |
+| Submission-identifier | 25, 26 |
+| Submission-time | 25, 26 |
+| Undelivered-object | 26 |
+| user | 6 |
+| user-relative-identifier | 6 |
+| vm-eos-not-subscribed | 30 |
+| VM-Externally Defined | 7 |
+
+## I.7 MS ASN.1 Types
+
+| | |
+|------------|----|
+| Number | 57 |
+| Parameters | 57 |
+| Processed | 57 |
+| Size | 57 |
+| Synopsis | 57 |
+
+| | |
+|---------------|----|
+| Type | 57 |
+| VM Entry Type | 56 |
+| VM Synopsis | 56 |
+
+## I.8 MS Attributes
+
+| | |
+|-------------------------------------------------------|--------|
+| body | 60, 82 |
+| conversion-indication | 63, 84 |
+| externally-defined-body-part-types | 61, 83 |
+| first-recipient | 63, 83 |
+| heading | 58, 80 |
+| heading-extensions | 59, 81 |
+| importance | 58, 80 |
+| language | 59, 81 |
+| message-data | 61, 83 |
+| message-parameters | 61, 83 |
+| notification-creation-time | 63, 83 |
+| notification-extensions | 63, 84 |
+| notification-security-elements | 63, 84 |
+| nrn-extensions | 64, 85 |
+| nrn-tsau-reason-code | 64, 84 |
+| nrn-ua-ms-reason-code | 64, 84 |
+| nrn-user-reason-code | 64, 84 |
+| obsoleted-vm | 58, 80 |
+| originator | 58, 80 |
+| orig-vm-spoken-subject | 63, 84 |
+| recipient-extensions-for-this-recipient | 60, 82 |
+| rn-extensions | 63, 84 |
+| sensitivity | 58, 80 |
+| sn-extensions | 64, 84 |
+| sn-reason-code | 64, 84 |
+| subject-vm | 62, 83 |
+| subject-vm-other-recipients | 63, 84 |
+| this-recipient | 60, 82 |
+| this-vm | 58, 80 |
+| v-body-message-length | 60, 82 |
+| v-body-part | 61, 83 |
+| vm-bodypart-sequence-number | 61, 83 |
+| vm-creation-time | 59, 81 |
+| vm-encrypted-primary-bodypart | 59, 81 |
+| vm-entry-type | 56, 79 |
+| vm-forwarded-indication | 58, 80 |
+| vm-forwarding-permitted | 58, 81 |
+| vmgs-user-security-element | 59, 81 |
+| vmgs-user-security-extensions | 59, 81 |
+| vm-notification-extension-requests-for-this-recipient | 60, 82 |
+| vm-notification-indicator | 57, 80 |
+| vm-notification-requests-for-this-recipient | 60, 82 |
+| vm-notification-security-requests-for-this-recipient | 60, 82 |
+| vm-originator-spoken-name | 59, 81 |
+| vm-reception-security-requests-for-this-recipient | 60, 82 |
+| vm-spoken-subject | 59, 81 |
+| vm-synopsis | 56, 79 |
+| vm-this-recipient-spoken-name | 59, 81 |
+| vn-initiator | 62, 83 |
+
+| | |
+|---------------------------|--------|
+| vn-originator-spoken-name | 62, 83 |
+| vn-originator-text | 62, 83 |
+| vn-receiver-field | 59, 81 |
+| vn-supplementary-info | 63, 84 |
+| vn-voice-encoding-type | 63, 84 |
+| voice-message-duration | 61, 82 |
+| voice-message-other-parms | 61, 82 |
+
+## I.9 MS VM Auto Actions
+
+| | |
+|-------------------------|--------|
+| vm-auto-forward-actions | 46, 86 |
+| vm-auto-sn-action | 51, 87 |
+
+## I.10 NRN Reason Codes
+
+| | |
+|-------------------------------------------|----------------|
+| attendant-assisted-delivery-failure | 22, 77 |
+| attendant-assisted-delivery-not-provided | 22, 77 |
+| auto-forwarded | 21, 76 |
+| busy-on-every-attempt | 22, 77 |
+| can-not-pass-to-mhs-user | 21, 76 |
+| delivery-timeout | 21, 22, 76, 77 |
+| forwarding-error | 21, 76 |
+| importance-not-conveyed | 22, 77 |
+| importance-not-supported | 22, 77 |
+| inappropriate-voice-encoding | 22, 77 |
+| message-discarded | 21, 76 |
+| message-expired | 22, 77 |
+| message-forwarded | 21, 22, 76, 77 |
+| no-answer-on-every-attempt | 22, 77 |
+| no-answer-or-busy-on-every-attempt | 22, 77 |
+| number-not-in-service | 22, 77 |
+| person-to-person-spoken-name-not-provided | 22, 77 |
+| person-unavailable | 22, 77 |
+| protocol-violation | 21, 76 |
+| recipient-refused-message | 22, 77 |
+| security-error | 21, 22, 76, 77 |
+| sensitivity-not-supported | 22, 77 |
+| subscription-terminated | 21, 76 |
+| telephone-number-unreachable | 22, 77 |
+| unknown-telephone-number | 22, 77 |
+| unspecified | 21, 22, 76, 77 |
+| user-defined-reason | 21, 76 |
+| voice-encoding-not-supported | 21, 76 |
+
+## I.11 Object Identifiers
+
+| | |
+|-------------------------------------------|------------|
+| id-act | 67 |
+| id-act-vm-auto-actions | 46, 86 |
+| id-act-vmg-auto-forward | 68, 86 |
+| id-act-vn-sn-auto-action | 51, 68, 87 |
+| id-bat | 67 |
+| id-bat-body | 60, 69, 82 |
+| id-bat-externally-defined-body | 61, 83 |
+| id-bat-externally-defined-body-part-types | 69 |
+| id-bat-ipm-data | 69 |
+| id-bat-ipm-parameters | 69 |
+| id-bat-message-data | 61, 69, 83 |
+| id-bat-message-parameters | 61, 69, 83 |
+| id-bat-v-body-message-length | 61, 69, 82 |
+| id-bat-v-body-part | 61, 69, 83 |
+
+| | | | |
+|---------------------------------------|----------------|--------------------------------------------------------------|------------|
+| id-bat-vm-bodypart-sequence | 61, 83 | id-nat-orig-vm-spoken-subject | 63, 84 |
+| id-bat-vm-bodypart-sequence-number | 69 | id-nat-rn-extensions | 63, 69, 84 |
+| id-bat-voice-message-duration | 69, 82 | id-nat-sn-extensions | 64, 69, 84 |
+| id-bat-voice-message-other-parms | 69, 82 | id-nat-sn-ua-ms-basic-reason-code | 64, 69, 84 |
+| id-bp | 67 | id-nat-subject-vm | 62, 69, 83 |
+| id-bp-g721-32k-adpcm | 12, 68 | id-nat-subject-vm-other-recipients | 63, 69, 84 |
+| id-bp-private-octet | 12, 68 | id-nat-vn-initiator | 62, 69, 83 |
+| id-bp-undefined-octet | 12, 68 | id-nat-vn-originator | 62, 69, 83 |
+| id-dir | 67 | id-nat-vn-originator-spoken-name | 69 |
+| id-for | 67 | id-nat-vn-originator-text | 69 |
+| id-hat | 67 | id-nat-vn-supplementary-info | 63, 84 |
+| id-hat-expiry-time | 58, 68, 80 | id-nat-vn-supplementary-information | 69 |
+| id-hat-heading | 58, 68, 80 | id-nat-vn-voice-encoding-type | 63, 69, 84 |
+| id-hat-heading-extensions | 59, 69, 82 | id-nt | 67 |
+| id-hat-importance | 58, 68, 80 | id-nt-vmg-nrn | 68 |
+| id-hat-language | 59, 68, 81 | id-nt-vmg-rn | 68 |
+| id-hat-obsolete-vm | 58, 68, 80 | id-nt-vmg-sn | 68 |
+| id-hat-originator | 58, 68, 80 | id-ot | 67 |
+| id-hat-sensitivity-field | 58, 68, 80 | id-ot-tsau | 33, 68, 90 |
+| id-hat-this-vm | 68 | id-ot-vmge | 22, 67, 88 |
+| id-hat-this-VM | 58, 80 | id-ot-vmg-ms | 33, 68, 89 |
+| id-hat-vm-creation-time | 59, 68, 81 | id-ot-vmgs | 23, 67, 89 |
+| id-hat-vm-encrypted-primary | 59, 68, 81 | id-ot-vmgs-user | 23, 67, 89 |
+| id-hat-vm-forwarded-indication | 58, 68, 81 | id-ot-vmg-ua | 32, 67, 89 |
+| id-hat-vm-forwarding-permitted | 58, 68, 81 | id-pt | 67 |
+| id-hat-vmgs-user-security | 59, 68, 81 | id-pt-management | 24, 68, 92 |
+| id-hat-vmgs-user-security-extensions | 59, 68, 81 | id-pt-origination | 24, 68, 91 |
+| id-hat-vm-originator-spoken-name | 59, 68, 81 | id-pt-reception | 24, 68, 91 |
+| id-hat-vm-spoken-subject | 59, 68, 81 | id-rat | 67 |
+| id-hat-vm-this-recipient-spoken-name | 59, 68, 81 | id-rat-recipient-extensions-for-this-recipient | 60, 69, 82 |
+| id-hat-vn-receiver | 59, 68, 81 | id-rat-this-recipient | 60, 69, 82 |
+| id-hat-voice-encoding-type | 59, 68, 81 | id-rat-vm-notification-extension-requests-for-this-recipient | 60, 69, 82 |
+| id-ipe | 67 | id-rat-vm-notification-requests-for-this-recipient | 60, 82 |
+| id-mct | 67 | id-rat-vm-notification-security-requests-for-this-recipient | 60, 69, 82 |
+| id-mct-pvm | 43, 46, 65, 68 | id-rat-vm-reception-security-requests-for-this-recipient | 60, 69, 82 |
+| id-mod | 67 | id-ref | 67 |
+| id-mod-abstract-service | 67 | id-ref-primary | 22, 68, 88 |
+| id-mod-functional-objects | 67 | id-ref-secondary | 31, 68, 89 |
+| id-mod-information-objects | 67 | id-sat | 67 |
+| id-mod-message-store-attributes | 67 | id-sat-vmg-entry-type | 56, 68, 79 |
+| id-mod-message-store-auto-actions | 67 | id-sat-vm-notification-indicator | 57, 68, 80 |
+| id-mod-object-identifiers | 67 | id-sat-vm-synopsis | 56, 68, 79 |
+| id-mod-upper-bounds | 67 | id-syn | 67 |
+| id-mod-vmg-directory-cl-att | 67 | id-syn-place-holder | 68 |
+| id-nat | 67 | id-syn-removed | 68 |
+| id-nat-conversion-indication | 63, 69, 84 | id-vmg | 67 |
+| id-nat-first-recipient | 63, 69, 83 | id-vmg-g721-32k-adpcm | 8, 72 |
+| id-nat-notification-creation | 63, 84 | id-vmgs | 67 |
+| id-nat-notification-creation-time | 69 | | |
+| id-nat-notification-extensions | 63, 69, 84 | | |
+| id-nat-notification-security-elements | 63, 69, 84 | | |
+| id-nat-nrn-extensions | 64, 69, 85 | | |
+| id-nat-nrn-tsau-reason-code | 64, 69, 85 | | |
+| id-nat-nrn-ua-ms-reason-basic-code | 64, 69, 84 | | |
+| id-nat-nrn-user-reason-basic-code | 64, 69, 84 | | |
+| id-nat-orig-vmg-spoken-subject | 69 | | |
+
+## I.12 P1 ASN.1 Types
+
+| | |
+|----------------------------------------------|------------|
+| Content | 18, 37, 75 |
+| content-confidentiality-algorithm-identifier | 48, 49 |
+
+| | | | |
+|-------------------------------------|-------------------------------|-------------------------------------|------------------------|
+| ContentCorrelator | 35, 36 | vmge | 22, 88 |
+| ContentIdentifier | 35, 36 | vmge-refinement | 22, 88 |
+| ContentIntegrityCheck | 18, 35, 36, 75 | vmg-ms | 31, 32, 89 |
+| content-type | 48, 49 | vmgs | 22, 23, 31, 89 |
+| ContentType | 35 | vmgs-refinement | 31, 89 |
+| conversion-prohibited | 38 | vmgs-user | 22, 23, 88, 89 |
+| DeferredDeliveryTime | 35, 42 | vmg-ua | 31, 32, 89 |
+| DL-expansion-prohibited | 35, 49 | | |
+| MessageDeliveryEnvelope | 26, 27, 37, 92 | I.16 VMGS Error Reason Codes | |
+| message-origin-authentication-check | 48, 49 | mts-eos-not-subscribed | 30, 93 |
+| MessageOriginAuthenticationCheck | 35, 36 | vm-eos-not-subscribed | 30, 93 |
+| message-security-label | 48, 49 | | |
+| MessageSubmissionEnvelope | 25, 34, 35, 92 | I.17 VMGS Operation Errors | |
+| MessageSubmissionIdentifier | 25, 35, 36, 92 | SubscriptionError | 25, 27, 28, 30, 92, 93 |
+| MessageSubmissionTime | 25, 35, 36, 92 | | |
+| original-encoded-information-types | 48, 49 | I.18 VMGS Operations | |
+| OriginalEncodedInformationTypes | 35 | ChangeAutoAcknowledge | 24, 92 |
+| ORName | 5, 12, 17, 34, 35, 71, 73, 74 | ChangeAutoAcknowledgements | 27, 93 |
+| PerMessageIndicators | 16, 35, 36, 42 | ChangeAutoDiscard | 24, 27, 91, 92 |
+| PerRecipientMessageSubmissionFields | 35, 42 | ChangeAutoForward | 24, 92 |
+| priority | 38 | ChangeAutoForwarding | 28, 93 |
+| Priority | 35, 42 | ChangeAutoSNotice | 28, 93 |
+| proof-of-submission-request | 48, 49 | ChangeAutoVSNotice | 24, 92 |
+| RecipientImproperlySpecified | 25, 28, 92, 93 | management | 22, 23, 88, 89 |
+| ReportDeliveryEnvelope | 26, 36, 92 | OriginateVM | 24, 25, 34, 36, 91, 92 |
+| | | OriginateVN | 24, 25, 91, 92 |
+| | | origination | 22, 23, 88, 89 |
+| | | ReceiveReport | 24, 26, 91, 92 |
+| | | ReceiveVM | 24, 26, 91, 92 |
+| | | ReceiveVN | 24, 27, 91, 92 |
+| | | reception | 22, 23, 88, 89 |
+| I.13 SN Reason Codes | | | |
+| attendand-assisted-delivery-request | 20, 29, 75, 93 | | |
+| auto-forwarding-ind | 20, 29, 75, 93 | | |
+| body-part-encryption-ind | 20, 29, 75, 93 | | |
+| expiry-date-ind | 20, 29, 75, 93 | | |
+| language-ind | 20, 29, 75, 93 | | |
+| language-national-usage-problem | 20, 76 | | |
+| local-security-not-supported | 20, 76 | | |
+| obsoleting-ind | 20, 29, 75, 93 | | |
+| unspecified | 20, 29, 75, 93 | | |
+| vm-language-not-understood | 20, 76 | | |
+| vm-unsupported-voice-encoding | 20, 76 | | |
+| I.14 Upper-Bounds | | | |
+| ub-bit-options | 9, 10, 57, 70, 72, 80 | | |
+| ub-integer-options | 70 | | |
+| ub-recipients | 70 | | |
+| ub-sn-reasons | 94 | | |
+| ub-supplementary-info-length | 14, 74 | | |
+| ub-vmg-local-reference | 6, 70, 71, 94 | | |
+| ub-vmg-spoken-subject | 70 | | |
+| ub-vmgs-spoken-name | 70 | | |
+| ub-vmgs-user-security-elements | 13, 70, 73, 94 | | |
+| ub-vn-reason-code | 20, 21, 22, 70, 76, 77 | | |
+| I.15 VMGS Abstracts | | | |
+| management | 24, 91 | | |
+| mTS | 31 | | |
+| origination | 24, 91 | | |
+| reception | 24, 91 | | |
+| tsau | 31, 33, 89 | | |
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure, Internet protocol aspects and Next Generation Networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.45-199610-I_PDF-E/raw.md b/marked/X/T-REC-X.45-199610-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..85b81f5542e5bca6d9dbf0b34a9fae46ddbc2a9d
--- /dev/null
+++ b/marked/X/T-REC-X.45-199610-I_PDF-E/raw.md
@@ -0,0 +1,3827 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.45
+
+(10/96)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATION
+
+Public data networks – Interfaces
+
+---
+
+**Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and connected to public data networks, designed for efficiency at higher speeds**
+
+ITU-T Recommendation X.45
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS **DATA NETWORKS AND OPEN SYSTEM COMMUNICATION**
+
+| | |
+|-----------------------------------------------|--------------------|
+| PUBLIC DATA NETWORKS | X.1–X.199 |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEM INTERCONNECTION | X.200–X.299 |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300–X.399 |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600–X.699 |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | X.700–X.799 |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | X.850–X.899 |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# FOREWORD
+
+The ITU-T (Telecommunication Standardization Sector) is a permanent organ of the International Telecommunication Union (ITU). The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1 (Helsinki, March 1-12, 1993).
+
+ITU-T Recommendation X.45, was prepared by ITU-T Study Group 7 (1993-1996) and was approved by the WTSC Resolution No. 1 procedure on the 5th of October 1996.
+
+# --- NOTE
+
+In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+© ITU 1997
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+# CONTENTS
+
+| | Page |
+|------------------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References ..... | 1 |
+| 3 Terms and definitions ..... | 1 |
+| 4 Abbreviations ..... | 2 |
+| 5 Convention ..... | 2 |
+| 6 Description of services ..... | 2 |
+| 6.1 General ..... | 2 |
+| 6.2 Service parameters ..... | 3 |
+| 7 Architecture of the protocol ..... | 4 |
+| 7.1 Service provided by the underlying layer ..... | 5 |
+| 7.2 Link Flow Control ..... | 5 |
+| 7.3 Link set-up ..... | 5 |
+| 7.4 Link acknowledgement ..... | 5 |
+| 7.5 Multiplexing ..... | 5 |
+| 7.6 VC sequence and retransmission control ..... | 5 |
+| 7.7 VC-flow control ..... | 5 |
+| 7.8 VC segmentation and reassembly ..... | 6 |
+| 7.9 VC signalling ..... | 6 |
+| 8 Description of the DTE/DCE interface (physical layer) ..... | 6 |
+| 9 Coding of frames and packets ..... | 6 |
+| 9.1 General ..... | 6 |
+| 9.2 Description of frames ..... | 7 |
+| 9.3 Description of packets ..... | 9 |
+| 9.4 Meaning of the frame and packet fields ..... | 15 |
+| 9.5 Coding of the Type field ..... | 16 |
+| 10 Link and VC-level procedures ..... | 17 |
+| 10.1 Identification of the link connection ..... | 17 |
+| 10.2 Generic status request procedure ..... | 17 |
+| 10.3 Future upgrades with upward compatibility ..... | 17 |
+| 10.4 Segment definition ..... | 18 |
+| 10.5 Flow control at the link layer ..... | 18 |
+| 10.6 Link set-up and disconnection ..... | 20 |
+| 10.7 Procedure for positive and negative acknowledgements of PDU ..... | 21 |
+| 10.8 Error correction ..... | 25 |
+| 10.9 Multiplexing / demultiplexing ..... | 26 |
+| 10.10 Numbering of packets at the VC layer ..... | 26 |
+| 10.11 Re-ordering of data packets ..... | 26 |
+| 10.12 Flow control at the VC layer ..... | 27 |
+| 10.13 Data transfer ..... | 27 |
+| 10.14 Interrupt procedure ..... | 29 |
+| 10.15 Reset of a virtual circuit ..... | 29 |
+| 11 Signalling coding ..... | 31 |
+| 11.1 Message functional definitions and contents ..... | 31 |
+| 11.2 General message format and information elements coding ..... | 35 |
+| 11.3 Addressing ..... | 70 |
+| 11.4 Handling of coding errors ..... | 71 |
+
+| | Page |
+|-----------------------------------------------------------------------------------------|-------------|
+| 12 Procedures for permanent virtual circuit service..... | 73 |
+| 13 Signalling procedures for switched virtual circuits..... | 73 |
+| 13.1 Set-up and clearing procedures..... | 73 |
+| 13.2 Procedure for restart ..... | 75 |
+| 13.3 Effects of clearing and restart procedures on transfer of packets ..... | 76 |
+| 14 Procedures for user facilities ..... | 76 |
+| 14.1 Incoming calls barred ..... | 76 |
+| 14.2 Outgoing calls barred..... | 76 |
+| 14.3 Packet size negotiation facility ..... | 76 |
+| 14.4 Assured / non-assured data transfer negotiation facility ..... | 77 |
+| 14.5 Throughput negotiation facilities..... | 77 |
+| 14.6 Closed user group related facilities..... | 78 |
+| 14.7 Fast select..... | 81 |
+| 14.8 Reverse charging ..... | 82 |
+| 14.9 Reverse charging acceptance ..... | 82 |
+| 14.10 Local charging prevention ..... | 82 |
+| 14.11 Network User Identification (NUI) related facilities ..... | 83 |
+| 14.12 Transit network selection related facilities ..... | 84 |
+| 14.13 Hunt group..... | 84 |
+| 14.14 Call redirection and call deflection related facilities ..... | 85 |
+| 14.15 Called line address modified notification ..... | 87 |
+| 14.16 Transit delay selection and indication..... | 88 |
+| 14.17 Alternative addressing facilities..... | 88 |
+| Annex A – Additional information for interworking between X.25 and X.45 protocols ..... | 90 |
+| A.1 Throughput mapping ..... | 90 |
+| A.2 Data transfer option ..... | 90 |
+| A.3 Signalling coding mapping ..... | 90 |
+| Appendix I – Subscription parameters ..... | 94 |
+| I.1 Subscription parameters per interface..... | 94 |
+| I.2 Subscription parameters per PVC..... | 95 |
+
+# **SUMMARY**
+
+This Recommendation specifies the interface between packet mode DTEs and public data networks for physical links which have data rates higher than those of the scope of Recommendation X.25.
+
+Full interworking compatibility between X.25 DTEs and X.45 DTEs is provided. In particular credit based flow control is available for both directions of each virtual circuit at each DTE/DCE interface. For X.45 DTEs an unassured virtual circuit option is offered for virtual circuits where data losses are preferred to extra delays in case of transmission errors.
+
+Protocol of this Recommendation can be used on underlying layers which are functionally equivalent to HDLC layer 2.a, in particular on ATM-VPs and VCs used with the CPCS of AAL 5.
+
+# **INTERFACE BETWEEN DATA TERMINAL EQUIPMENT (DTE) AND DATA CIRCUIT-TERMINATING EQUIPMENT (DCE) FOR TERMINALS OPERATING IN THE PACKET MODE AND CONNECTED TO PUBLIC DATA NETWORKS, DESIGNED FOR EFFICIENCY AT HIGHER SPEEDS**
+
+(Geneva, 1996)
+
+# 1 Scope
+
+The purpose of this Recommendation is to specify procedures to be used for supporting X.25 compatible services at higher access speeds than Recommendation X.25 itself. Also, in order to add a new flexibility regarding the trade-off between error correction and variations of propagation delay, it includes a non-assured data transfer option.
+
+It should be noted that this Recommendation is not intended to be a replacement of Recommendation X.25. It is an alternative that is more suitable than Recommendation X.25 for higher speed operation in particular in the multi-Mbit/s range of access speeds. The use of the interface specified in this Recommendation is a network option; it may not be implemented in all networks.
+
+This Recommendation specifies a combination of protocol layers which still has high level of efficiency when the product of bit rate times propagation delay reaches the equivalent of hundreds or even thousand of packets. This high level of efficiency is relative to the amount of overhead per data packet, the capacity to reach high throughputs in data octets and data packets per second, the window sizes for reaching these throughputs, and effects of transmission errors on effective data rates and on end-to-end delays.
+
+In particular, the mode of operation specified in this Recommendation for transmission error conditions is such that a transmission error on a packet of one virtual circuit entails no retransmission and no processing delay for other virtual circuits. For this, the sharing out of functions between the link layer of the protocol (layer 2) and the virtual circuit layer (layer 3) is different from that of X.25.
+
+Although the X.45 protocol is different from the X.25 protocol, the X.25 service is fully provided by this Recommendation, ensuring that there is a full interoperability between an X.45 DTE and an X.25 DTE connected either to the same public data network or to different public data networks. An important feature of the X.45 protocol is that it is symmetrical except for those signalling aspects which are inherently non-symmetrical (e.g. cause codes, addressing, etc.). Hence its applicability could be extended to multi-point links.
+
+# 2 References
+
+The following Recommendations, and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision: all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published.
+
+- ITU-T Recommendation X.25 (1996), *Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and connected to public data networks by dedicated circuit.*
+- ITU-T Recommendation Q.931 (1993), *ISDN user-network interface layer 3 specification for basic call control.*
+
+# 3 Terms and definitions
+
+For the purpose of this Recommendation the following definitions apply:
+
+- 3.1 frame:** PDU meaningful for the entire link.
+
+
+
+## **6.2 Service parameters**
+
+Service parameters recapitulated hereafter are related to link and VC-level procedures. Service parameters related to signalling procedures, i.e. user facilities, are described in clause 14.
+
+Appendix I provides a list of subscription parameters which includes service parameters and user facilities when applicable.
+
+### **6.2.1 Access rate**
+
+The access rate is the maximum transfer rate at which the DTE may send/receive data to/from the network. It is determined by the speed of the underlying media that is selected from a set supported by the network at subscription time.
+
+NOTE – If the underlying media provides asymmetrical speeds, then two access rates are defined one for each direction of data transmission.
+
+### **6.2.2 Maximum PDU size**
+
+For the whole DTE/DCE interface, and for each direction of data transmission, the maximum PDU size is determined by the receiver which signals this maximum PDU size to the sender during link set-up.
+
+### **6.2.3 Maximum packet size**
+
+For each virtual circuit and for each direction of data transmission, the maximum packet size is determined at subscription time in case of a permanent virtual circuit or by the receiver which signals this maximum packet size to the sender during call set-up in case of switched virtual circuit.
+
+### **6.2.4 Throughput**
+
+Throughput for a virtual circuit is the number of user data transferred in one direction per unit time. Throughput for one direction of transmission is an inherent characteristic of the virtual circuit related to the amount of resources available to this virtual circuit.
+
+The optimal conditions to maximise the throughput include the following :
+
+- 1) the underlying media at the local and remote DTE/DCE interfaces do not constrain the throughput;
+- 2) flow control procedures at the local and remote DTE/DCE interfaces do not constrain the throughput;
+- 3) the traffic characteristics of other virtual circuits do not constrain the throughput;
+- 4) the receiving DTE is not flow controlling the DCE such that the throughput is not attainable.
+
+The throughput is expressed in bits per second.
+
+In case of permanent virtual circuit, the throughput is determined at subscription time for each direction of data transmission.
+
+In case of switched virtual circuit, the throughput is determined during call set-up for each direction of data transmission.
+
+### **6.2.5 Assured/non-assured data transfer**
+
+The data transfer option: assured or non-assured is selected for each virtual circuit, at subscription time in case of permanent virtual circuit or during call set-up in case of switched virtual circuit.
+
+# 7 Architecture of the protocol
+
+Figure 7-1 presents the relationship between layers and sublayers of this Recommendation.
+
+
+
+The diagram illustrates the architecture of the protocol, organized into three main functional groups: Messages (Signalling for layer 3), Packets (Data transfer of layer 3), and Frames (Layer 2).
+
+- Messages (Signalling for layer 3):** This group includes a single block labeled "VC signalling". It is connected to two "3-SAP" (Service Access Points) at the top of the diagram.
+- Packets (Data transfer of layer 3):** This group consists of three parallel processing paths. Each path contains three stacked blocks: "VC segmentation and reassembly", "VC flow control", and "VC sequence and data retransmission control (Note)". These paths are connected to the "3-SAP" blocks and converge at a "Multiplexing" point.
+- Frames (Layer 2):** This group consists of three stacked blocks: "Link acknowledgement", "Link set-up", and "Link flow control". These blocks are connected to the "Multiplexing" point and lead to a "2a-SAP" (Service Access Point) at the bottom of the diagram.
+
+The diagram shows the flow of data and control signals between these components, with dashed lines indicating optional or alternative paths. The "2a-SAP" is represented by a hatched hexagon, while the "3-SAP" blocks are represented by solid hexagons.
+
+T0727640-97/d01
+
+Architecture of the protocol diagram showing the relationship between layers and sublayers.
+
+NOTE – Data retransmission control applies only for assured virtual circuits.
+
+FIGURE 7-1/X.45
+Architecture of the protocol
+
+## **7.1 Service provided by the underlying layer**
+
+The lowest sublayer of X.45 protocol is located above a MAC layer service (layer 2.a): the underlying service which is used provides for the transfer of frames between two services access points. For each frame either a complete loss, or a completely uncorrupted transfer occurs (a single bit error implies the complete loss of the frame). The sequential order of the frames is preserved.
+
+HDLC frame structure over a duplex bit stream, AAL 5 (CPCS part) over an ATM-VP or VC, and MAC frames between two stations of a LAN, are possible instances of this underlying service.
+
+## **7.2 Link Flow Control**
+
+The Link Flow Control entity ensures that a transmitting entity always remains compatible with the varying capacity of the corresponding entity.
+
+## **7.3 Link set-up**
+
+The link set-up entity includes means for set-up and disconnection of the link and for exchanging parameters concerning PDU sizes and formats.
+
+## **7.4 Link acknowledgement**
+
+The link acknowledgement entity ensures, at the link layer, that higher sublayers know which packets have been successfully transmitted and which ones have been lost. The loss detection entity makes no attempt at retransmitting any lost packet.
+
+The link acknowledgement entity also ensures that after a silence period during which no “useful” traffic was exchanged, it can be detected if the peer entity is no longer in operation (keep alive function).
+
+## **7.5 Multiplexing**
+
+The multiplexing entity supports means to multiplex several virtual circuits into a link layer. It uses a pair of identifiers to identify each virtual circuit established between the two sides of an X.45 interface. Each side of the interface independently selects the identifier to identify the virtual circuit.
+
+At each side of the X.45 interface, an identifier is reserved for a signalling virtual circuit which is permanently established and which is used to exchange signalling messages concerning other virtual circuits.
+
+## **7.6 VC sequence and retransmission control**
+
+The VC sequence and retransmission control entity ensures that packets which have been lost by lower layers are retransmitted unless they are *data* packets belonging to a virtual circuit where the non-assured data transfer option has been selected or unless the lost packet is superseded by another packet.
+
+This entity ensures that the sequence order of received data packets can always be preserved despite the possibility of losses and retransmissions.
+
+In the case of non-assured data transfer option, it ensures when at least one PDU of a segmented SDU has been lost while at least one PDU of the same SDU has been successfully transmitted, this SDU will be recognised by the receiving entity as incomplete without an unbounded wait for its termination.
+
+It also coordinates with the VC-signalling entity to clear virtual circuits.
+
+## **7.7 VC-flow control**
+
+The VC-flow control entity ensures that, for each virtual circuit and for each direction, *data* packets are always transmitted at a rate which is compatible with the downstream buffering capacity of that virtual circuit.
+
+For interrupt data, a separate flow control is performed on a per virtual circuit basis (see 10.14).
+
+## 7.8 VC segmentation and reassembly
+
+The VC segmentation and reassembly entity ensures that SDUs may have lengths which are independent from the maximum size of the PDUs.
+
+## 7.9 VC signalling
+
+The VC-signalling entity is in charge of the set-up and clearing of virtual circuits which share the same link.
+
+# 8 Description of the DTE/DCE interface (physical layer)
+
+At the physical layer, any relevant DTE/DCE standardised interface may be used.
+
+# 9 Coding of frames and packets
+
+## 9.1 General
+
+### 9.1.1 Format
+
+The PDU format features four octets at each line as shown in Figure 9-1.
+
+| | | | | |
+|--------|---------|---------|----|----|
+| Octets | 1 | 2 | 3 | 4 |
+| Bits | 81 | 81 | 81 | 81 |
+| | Field 1 | Field 2 | | |
+| | Field 3 | Field 4 | | |
+
+FIGURE 9-1/X.45
+
+#### Example of PDU presentation
+
+The octets are numbered in ascending order from left to right and from top to bottom. For instance, Field 3 in Figure 9-1 is the fifth octet of the PDU.
+
+When a field contains more than one octet, the most significant octet is that with the lowest order number and the least significant octet is that with the highest order number. The bits of each octet are numbered in ascending order from right to left. The most significant bit is bit 8 and the least significant bit is bit 1. For instance, bit 8 of octet 2 is the most significant bit of the Field 2 in Figure 9-1 and bit 1 of octet 4 is the least significant bit.
+
+Any reserved field shall be sent set to 0 and not interpreted on reception.
+
+### 9.1.2 Order of transmission
+
+The octets are transmitted in ascending order, and the bits of each octet are transmitted in ascending order. In the example of Figure 9-1, this means that bit 1 of octet 1 is transmitted first, and bit 8 of octet 8 is transmitted last.
+
+### 9.1.3 List of frames and packets
+
+Table 9-1 gives the function and the abbreviation for the specified frames and packets.
+
+TABLE 9-1/X.45
+
+#### **List of frames and packets**
+
+| Description | Function | Abbreviations | References |
+|-----------------------------------------------|------------------------------------------------------------------------------|---------------|------------|
+| Link flow control initialisation frame | Link flow control initialisation | LI | 9.2.1 |
+| Link flow control frame | Flow control at link level | LF | 9.2.2 |
+| Link set-up frame | Link set-up and disconnection | LS | 9.2.3 |
+| Link acknowledgement frame | Link acknowledgement | LA | 9.2.4 |
+| VC flow control packet | Flow control at VC level | VF | 9.3.1 |
+| Data packet | Data transfer | D | 9.3.2 |
+| Interrupt packet | Interrupt data transfer | ID | 9.3.3 |
+| Interrupt confirmation packet | Interrupt data transfer | IC | 9.3.4 |
+| Signalling synchronisation packet | Synchronisation between the virtual circuit and the corresponding signalling | SS | 9.3.5 |
+| Reset request packet | Virtual circuit reset | RR | 9.3.6 |
+| Reset confirmation packet | Virtual circuit reset | RC | 9.3.7 |
+| Abort packet | Abort of non-assured SDU | A | 9.3.8 |
+
+## **9.2 Description of frames**
+
+### **9.2.1 Link flow control initialisation frame**
+
+The *Link flow control initialisation* frame is used to initialise flow control at the link level and to request transmission of a *link flow control initialisation* frame in the opposite transmission direction [Request (Ri) bit]. Its format is given in Figure 9-2. The *link flow control initialisation* frame uses the virtual circuit identifier of the signalling virtual circuit. It is not subject to link flow control
+
+| | | | |
+|------|-------|------------|----|
+| Ri | Rsrvd | Type: "LI" | YI |
+| B(R) | | | |
+
+FIGURE 9-2/X.45
+
+#### **Link flow control initialisation (LI) frame format**
+
+### **9.2.2 Link flow control frame**
+
+The *Link flow control* frame is used to notify the peer entity of new link credits and to request transmission of a *link flow control* frame in the opposite transmission direction [Request (Rf) bit]. Its format is given in Figure 9-3. The *link flow control* frame uses the virtual circuit identifier of the signalling virtual circuit. It is subject to link flow control with special processing if there is a risk of deadlock. If a *link flow control* frame is lost, it needs no retransmission since the next *link flow control* frame supersedes the lost one.
+
+| | | | | | | | | |
+|------|-------|------------|----|--|--|--|--|--|
+| Rf | Rsrvd | Type: "LF" | YI | | | | | |
+| B(R) | | | | | | | | |
+| C(S) | | | | | | | | |
+
+FIGURE 9-3/X.45
+
+#### Link Flow (LF) control frame format
+
+### 9.2.3 Link set-up frame
+
+The *link set-up* frame is used to initialise or re-initialise the link between the two sides of the interface and to negotiate the format (basic or extended) being used. Its format is given in Figure 9-4. The *link set-up* frame uses the virtual circuit identifier of the signalling virtual circuit. It contains for both directions the maximum number of segments in a PDU [L(S) and L(R)] and a Request bit (Rs) to request transmission of a *link set-up* frame from the peer entity. This frame is subject to link flow control. If a *link set-up* frame is lost, it needs no retransmission since the next *link set-up* frame supersedes the lost one.
+
+| | | | | | | |
+|----|-------|----|-------------------|-------------------|------|------|
+| Rs | Rsrvd | | Type: "LS" | YI | | |
+| MS | YS | EF | Reserved (5 bits) | Reserved (8 bits) | L(S) | L(R) |
+
+FIGURE 9-4/X.45
+
+#### Link Set-up (LS) frame format
+
+### 9.2.4 Link acknowledgement frame
+
+The link acknowledgement frame is used to signal acknowledgement to the peer entity. Its basic format is given in Figure 9-5 and its extended format in Figure 9-6. The *link acknowledgement* frame uses the virtual circuit identifier of the signalling virtual circuit. It contains :
+
+- the next sequence number NN(S), equal to the next N(S) to be transmitted.
+- the acknowledgement list, consisting of an alternate succession of positively and negatively acknowledged sequence of PDUs: $A_1(R)$ , $A_2(R)$ , ..., $A_{k-1}(R)$ , $A_k(R)$ ; each sequence is designated by its upper bound;
+- the list length, expressed in number of elements of the list (odd or even);
+- the type of the first element of the list (T field): reset if the first element is a positive acknowledgement, set if it is a negative acknowledgement;
+- the acknowledgement of the peer entity acknowledgement list [AA(S) field], equal to the last received $A_k(R)$ from the peer entity;
+- a Request bit (Ra) to force, when it is set, the peer entity to respond to this frame.
+
+| | | | |
+|----------------------|-------|-----------|----------------------|
+| Ra | Rsrvd | Type "LA" | YI |
+| NN(S) | | | AA(S) |
+| T | Rsrvd | k | A 1 (R) |
+| A 2 (R) | | | A 3 (R) |
+| - - - | | | |
+| A k-2 (R) | | | A k-1 (R) |
+| A k (R) | | | |
+
+FIGURE 9-5/X.45
+**Link Acknowledgement (LA) frame non-extended format**
+
+| | | | |
+|----------------------|-------|-----------|----|
+| Ra | Rsrvd | Type "LA" | YI |
+| NN(S) | | | |
+| AA(S) | | | |
+| T | Rsrvd | k | |
+| A 1 (R) | | | |
+| A 2 (R) | | | |
+| A 3 (R) | | | |
+| - - - | | | |
+| A k-2 (R) | | | |
+| A k-1 (R) | | | |
+| A k (R) | | | |
+
+FIGURE 9-6/X.45
+**Link Acknowledgement (LA) frame extended format**
+
+## **9.3 Description of packets**
+
+### **9.3.1 VC-flow control packet**
+
+The *VC-flow control* packet is used to notify the peer entity of new VC credits. Its basic format is given in Figure 9-7 and its extended format in Figure 9-8. Losses of the *VC-flow control* packet are detected and notified. It needs no retransmission since the next *VC-flow control* packet supersedes the lost one. The *VC-flow control* packet is subject to link flow control and is not subject to the VC-flow control.
+
+| | | | | |
+|------|-------|------------|-------|--|
+| Ra | Rsrvd | Type: "VF" | YI | |
+| N(S) | | | Bi(R) | |
+
+FIGURE 9-7/X.45
+
+VC-flow control (VF) packet non-extended format
+
+| | | | | | | |
+|-------|-------|------------|----|--|--|--|
+| Ra | Rsrvd | Type: "VF" | YI | | | |
+| N(S) | | | | | | |
+| Bi(R) | | | | | | |
+
+FIGURE 9-8/X.45
+
+VC-flow control (VF) packet extended format
+
+### 9.3.2 Data packet
+
+The *data* packet is used to transfer the successive segments of an data SDU via a connection. Its basic format is given in Figure 9-9 and its extended format in Figure 9-10. It contains the Interrupt count (I) bit, the Beginning (B) bit, the End (E) bit and a qualifier (Q) bit. Losses of *data* packets are detected. If the virtual circuit is in the assured data transfer mode such detected losses are recovered. The *data* packet is subject to link flow control and to VC-flow control.
+
+| | | | | | | | | |
+|------|-------|---|---|-------|---|---|----|--|
+| Ra | Rsrvd | I | Q | B | E | 0 | YI | |
+| N(S) | | | | Ni(S) | | | | |
+| Data | | | | | | | | |
+
+FIGURE 9-9/X.45
+
+Data (D) packet non-extended format
+
+
+
+| | | | | | | | |
+|-------|-------|---|---|---|---|---|----|
+| Ra | Rsrvd | I | Q | B | E | 0 | YI |
+| N(S) | | | | | | | |
+| Ni(S) | | | | | | | |
+| Data | | | | | | | |
+
+FIGURE 9-10/X.45
+
+**Data (D) packet extended format**
+
+### 9.3.3 Interrupt packet
+
+The *interrupt* packet is used to transfer a limited amount of data on a connection without being submitted to the VC-flow control of that connection. Its basic format is given in Figure 9-11 and its extended format in Figure 9-12. The maximum length of the data field in an *interrupt* packet is 32 octets. Loss of the *interrupt* packet is detected and recovered. The *interrupt* packet is subject to link flow control. The *interrupt* packet is not subject to VC-flow control.
+
+
+
+| | | | |
+|------|-------|------------|----|
+| Ra | Rsrvd | Type: "ID" | YI |
+| N(S) | | Reserved | |
+| Data | | | |
+
+FIGURE 9-11/X.45
+
+**Interrupt (ID) packet non-extended format**
+
+
+
+| | | | |
+|----------|-------|------------|----|
+| Ra | Rsrvd | Type: "ID" | YI |
+| N(S) | | | |
+| Reserved | | | |
+| Data | | | |
+
+FIGURE 9-12/X.45
+
+**Interrupt (ID) packet extended format**
+
+### 9.3.4 Interrupt confirmation packet
+
+The *interrupt confirmation* packet is used to acknowledge an *interrupt* packet. Its basic format is given in Figure 9-13 and its extended format in Figure 9-14. Loss of the *interrupt confirmation* packet is detected and recovered. The *interrupt confirmation* packet is subject to link flow control and is not subject to VC-flow control.
+
+| | | | |
+|------|-------|------------|----|
+| Ra | Rsrvd | Type: "IC" | YI |
+| N(S) | | | |
+
+FIGURE 9-13/X.45
+Interrupt Confirmation (IC) packet non-extended format
+
+| | | | |
+|------|-------|------------|----|
+| Ra | Rsrvd | Type: "IC" | YI |
+| N(S) | | | |
+
+FIGURE 9-14/X.45
+Interrupt Confirmation (IC) packet extended format
+
+### 9.3.5 Signalling synchronisation packet
+
+The *signalling synchronisation* packet is used to synchronise the data transfer on a given virtual circuit with the out-of band signalling relevant to that particular virtual circuit in the disconnect phases. Its basic format is given in Figure 9-15 and its extended format in Figure 9-16. Loss of the *signalling synchronisation* packet is detected and recovered. It is subject to link flow control and is not subject to VC-flow control.
+
+| | | | |
+|------|-------|------------|----|
+| Ra | Rsrvd | Type: "SS" | YI |
+| N(S) | | NNi(S) | |
+
+FIGURE 9-15/X.45
+Signalling Synchronisation (SS) packet non-extended format
+
+| | | | |
+|--------|-------|------------|----|
+| Ra | Rsrvd | Type: "SS" | YI |
+| N(S) | | | |
+| NNi(S) | | | |
+
+FIGURE 9-16/X.45
+**Signalling Synchronisation (SS) packet extended format**
+
+### 9.3.6 Reset request packet
+
+The *reset request* packet is used to request re-initialisation of the virtual circuit between two entities. Its basic format is given in Figure 9-17 and its extended format in Figure 9-18. Loss of the *reset request* packet is detected and recovered. It is subject to link flow control and is not subject to VC-flow control.
+
+| | | | |
+|------------------------------------------------------|-------|------------|----|
+| Ra | Rsrvd | Type: "RR" | YI |
+| N(S) | | Bi(R) | |
+| Reset Data: Cause information element (see 11.2.4.7) | | | |
+
+FIGURE 9-17/X.45
+**Reset Request (RR) packet non-extended format**
+
+| | | | |
+|------------------------------------------------------|-------|------------|----|
+| Ra | Rsrvd | Type: "RR" | YI |
+| N(S) | | | |
+| Bi(R) | | | |
+| Reset Data: Cause information element (see 11.2.4.7) | | | |
+
+FIGURE 9-18/X.45
+**Reset Request (RR) packet extended format**
+
+### 9.3.7 Reset confirmation packet
+
+The *reset confirmation* packet is used to confirm re-initialisation of the virtual circuit between two entities. Its basic format is given in Figure 9-19 and its extended format in Figure 9-20. Loss of the *reset confirmation* packet is detected and recovered. It is subject to link flow control and is not subject to VC-flow control.
+
+| | | | |
+|------|-------|------------|-------|
+| Ra | Rsrvd | Type: "RC" | YI |
+| N(S) | | | Bi(R) |
+
+FIGURE 9-19/X.45
+
+**Reset Confirmation (RC) packet non-extended format**
+
+| | | | |
+|-------|-------|------------|----|
+| Ra | Rsrvd | Type: "RC" | YI |
+| N(S) | | | |
+| Bi(R) | | | |
+
+FIGURE 9-20/X.45
+
+**Reset Confirmation (RC) packet extended format**
+
+### 9.3.8 Abort packet
+
+The *abort* packet is used to signal to the peer entity that the complete sequence being transmitted will not be terminated. Its basic format is given in Figure 9-21 and its extended format in Figure 9-22. Loss of the *abort* packet is detected and recovered. It is subject to link flow control and is not subject to VC-flow control.
+
+| | | | |
+|------|-------|-----------|--------|
+| Ra | Rsrvd | Type: "A" | YI |
+| N(S) | | | NNi(S) |
+
+FIGURE 9-21/X.45
+
+**Abort (A) packet non-extended format**
+
+| | | | |
+|--------|-------|-----------|----|
+| Ra | Rsrvd | Type: "A" | YI |
+| N(S) | | | |
+| NNi(S) | | | |
+
+FIGURE 9-22/X.45
+
+**Abort (A) packet extended format**
+
+## 9.4 Meaning of the frame and packet fields
+
+Table 9-2 gives the meaning and length of the field used in the specified frames and packets.
+
+TABLE 9-2/X.45
+
+### List of the fields
+
+| Field | Length (bits) (Note) | Meaning (Note) | Frame / Packet |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|
+| Type | 8 | Type field | All |
+| YI | 24 | Your virtual circuit identifier | All |
+| Ri | 1 | Request for the transmission of a LI frame | LI |
+| B(R) | 32 | Link layer bound, rank of the first segment that the receiver is not ready to accept (modulo $2^{32}$ ). | LI, LF |
+| Rf | 1 | Request for the transmission of a LF frame | LF |
+| C(S) | 32 | Number of previously transmitted segments (modulo $2^{32}$ ) | LF |
+| MS | 1 | My-desired-link-state | LS |
+| YS | 1 | Your-desired-link-state | LS |
+| EF | 1 | Extended Format | LS |
+| Rs | 1 | Request for the transmission of a LS frame | LS |
+| L(S) | 8 | Maximum number of segments in a PDU that the transmitter will not exceed | LS |
+| L(R) | 8 | Maximum number of segments in a PDU that the receiver is ready to accept | LS |
+| N(S) | 16/32 | Link sequence number of the PDU: the rank of a PDU at higher sublayer than LA (modulo $2^{16}/2^{32}$ ) | All except LI, LF, LS |
+| NN(S) | 16/32 | Link sequence number of the next non-LA-PDU to be transmitted (modulo $2^{16}/2^{32}$ ) | LA |
+| A i (R) | 16/32 | Element of the acknowledgement list (positive or negative) (modulo $2^{16}/2^{32}$ ) | LA |
+| k | 12/28 | Number of elements of the acknowledgement list; may be zero | LA |
+| AA(S) | 16/32 | Acknowledgement of the last item of the acknowledgement list received from the peer entity (modulo $2^{16}/2^{32}$ ) | LA |
+| T | 1 | Type of the first acknowledgement (0 = positive, 1 = negative) | LA |
+| Ra | 1 | Set to request a link acknowledgement frame from the peer entity | All except LI, LF, LS |
+| I | 1 | Interrupt count (modulo 2) | D |
+| Q | 1 | Qualifier bit of the data SDU | D |
+| B | 1 | Beginning of the data SDU indication | D |
+| E | 1 | End of the data SDU indication | D |
+| Bi(R) | 16/32 | VC-layer bound, rank of the first segment that the receiver is not ready to accept for the virtual circuit No. i (modulo $2^{16}/2^{32}$ ) | VF |
+| Ni(S) | 16/32 | VC-sequence number of the PDU, the number of previously transmitted segments for the virtual circuit No. i (modulo $2^{16}/2^{32}$ ) | D |
+| NNi(S) | 16/32 | VC-sequence number of the next PDU (i.e. data or signalling synchronisation packets) to be transmitted (modulo $2^{16}/2^{32}$ ) | SS, A |
+| NOTE – When two lengths or modulo are defined for a given field, the first number corresponds to the non-extended format and the second number to the extended format. | | | |
+
+## 9.5 Coding of the Type field
+
+The Type field is present in every frame and every packet. Its coding is given in Table 9-3.
+
+TABLE 9-3/X.45
+Coding of the Type field
+
+| Frame / Packet | Abbreviations | Type | | | | | | | |
+|-----------------------------------------------|---------------|-----------|-----------------|---|----------|----------|----------|---|---|
+| | | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
+| Link flow control initialisation frame | LI | Rf | reserved | 1 | 0 | 1 | 0 | 1 | |
+| Link flow control frame | LF | Rf | reserved | 0 | 0 | 1 | 0 | 1 | |
+| Link set-up frame | LS | Rs | reserved | 0 | 1 | 0 | 0 | 1 | |
+| Link acknowledgement frame | LA | Ra | reserved | 0 | 1 | 0 | 1 | 1 | |
+| VC-flow control packet | VF | Ra | reserved | 0 | 1 | 1 | 0 | 1 | |
+| Data packet | D | Ra | reserved | 1 | Q | B | E | 0 | |
+| Interrupt packet | ID | Ra | reserved | 1 | 0 | 0 | 0 | 1 | |
+| Interrupt confirmation packet | IC | Ra | reserved | 1 | 0 | 0 | 1 | 1 | |
+| Signalling synchronisation packet | SS | Ra | reserved | 1 | 0 | 1 | 1 | 1 | |
+| Abort packet | A | Ra | reserved | 1 | 1 | 1 | 0 | 1 | |
+| Reset request packet | RR | Ra | reserved | 1 | 1 | 0 | 0 | 1 | |
+| Reset confirmation packet | RC | Ra | reserved | 1 | 1 | 0 | 1 | 1 | |
+
+The following code points of the Type field:
+
+| | | | | | | | |
+|---|---|---|---|---|---|---|---|
+| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
+| 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
+| 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 |
+| 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
+
+correspond to the LAPB addresses used either in single link operation or in multilink operation.
+
+Therefore such code points are not used in this Recommendation to allow dynamic detection of the protocol being used on the DTE/DCE interface, i.e. discrimination between LAPB single link operation, LAPB multilink operation, and this Recommendation.
+
+# 10 Link and VC-level procedures
+
+This clause describes the procedures of the link and virtual circuit level of the two sides of the interface with the exception of the signalling procedures (see clauses 12, 13 and following).
+
+## 10.1 Identification of the link connection
+
+When a physical connection has only two end-points (point-to-point connection), assignment of a PDU to the link connection is implicit: every PDU received over the physical connection belongs to the link connection.
+
+When a physical connection has more than two end-points (e.g. multi-point connection), the link connection using this physical connection is identified through the virtual circuit identifier of each received PDU. In the case of the *link set-up*, *link flow control* and *link acknowledgement* frames, which are meaningful for an entire given link, the virtual circuit identifiers of the signalling virtual circuit of each link is used for each direction. In the case where an entity handles several link connections over a single physical connection, it allocates the virtual circuit identifiers, as and when virtual circuits are set up, for the physical connection as a whole, irrespective of the links to which the virtual circuits belong.
+
+In the case of multi-point physical connection (e.g. on a LAN), an entity, before using a link with a peer entity, must know (either through a previously configured table, or an external protocol) the signalling virtual circuit identifier used in the receive direction by the peer entity for that link, and the signalling virtual circuit identifier it has to use in the transmit direction for that link.
+
+In the case of point-to-point physical connection, the virtual circuit identifiers pair used for signalling virtual circuit is (0,0).
+
+## 10.2 Generic status request procedure
+
+If an entity does not receive a response for an action it has taken that requires a response, it sends a status-request. This mechanism ensures that deadlock cannot occur in procedures based on states exchanges.
+
+Table 10-1 provides the sublayers where status-request procedure is used and associated request bits.
+
+TABLE 10-1/X.45
+
+**Request bits**
+
+| Procedure | Frame designation | Request bit |
+|----------------------------------|-------------------|-------------|
+| Link flow control initialisation | LI | Ri |
+| Link flow control | LF | Rf |
+| Link set-up | LS | Rs |
+| Link acknowledgement | LA | Ra |
+
+## 10.3 Future upgrades with upward compatibility
+
+To allow for upgrades and to ensure upward compatibility, an entity must accept *link flow control* and *link set-up* frames which are longer than the presently defined length. Any additional octets shall be at the end of the presently defined format and shall not be interpreted on reception.
+
+## 10.4 Segment definition
+
+A segment corresponds either to a PDU with no variable length field, or to up to 64 octets beyond the minimum header of 8 octets in case of the basic format, 12 octets in the extended format. Thus a *data* packet counts for one segment if it contains 0 to 64 octets of data, for 2 segments if it contains 65 to 128 octets of data, and so on.
+
+NOTE – The fact that for *data* packet, only data octets are included in the count of 64 octets per segment ensures that data received by a network in number of segments will always be delivered to their destination DTE in the same number of segments independently of the length of *data* packet headers. They may be delivered in a smaller or larger number of packets, but a segment received by a network will never be delivered as two pieces belonging to two different packets. In particular a 128-octet packet of Recommendation X.25 always corresponds to 2 segments of this Recommendation.
+
+Table 10-2 gives the number of segments of the defined frames and packets.
+
+TABLE 10-2/X.45
+
+**Number of segments per frame or per packet**
+
+| Frame/Packet | | Abbreviations | Segment |
+|-----------------------------------|--------|---------------|------------------------------------------------|
+| Link flow control | frame | LF | 1 |
+| Link set-up | frame | LS | 1 |
+| Link acknowledgement | frame | LA | 1 per group of 64 octets after the AA(S) field |
+| VC-flow control | packet | VF | 1 |
+| Data packet | packet | D | 1 per group of 64 octets in the data field |
+| Interrupt | packet | ID | 1 |
+| Interrupt confirmation | packet | IC | 1 |
+| Abort | packet | A | 1 |
+| Signalling Synchronisation | packet | SS | 1 |
+| Reset request | packet | RR | 1 |
+| Reset confirmation | packet | RC | 1 |
+
+## 10.5 Flow control at the link layer
+
+### 10.5.1 General
+
+The link flow control applies to each PDU (see 10.5.3 for an exception in the case of the *link flow control* frame).
+
+The link flow control applies to each transmission direction and is based on a credit allocation mechanism whereby the receiver authorises the sender to transmit new PDUs.
+
+### 10.5.2 Flow control unit
+
+The flow control unit is the segment.
+
+Segment based flow control is such that, for reaching a given data rate on a link with a given propagation delay, a minimum window size is sufficient (i.e. the product of data rate and round trip delay), irrespective of whether data to be transmitted are in small SDUs (and consequently in small packets) or in large SDUs (for which large packets are possible).
+
+### 10.5.3 Flow control principle at the link layer
+
+The receiver maintains an internal counter for the received segments. The sender maintains an internal counter for the transmitted segments.
+
+Flow control is exerted by the receiver which transmits to the sender its link layer bound which corresponds to the rank of the first segment that the receiver is not ready to accept. This means that the link layer bound received corresponds to the permissible upper limit value for the internal counter the sender keeps for the transmitted segments. For each PDU sent, this internal counter is incremented by the number of segments the PDU counts for.
+
+A sender must not transmit a PDU beyond the reception window, i.e. a PDU whose last segment exceeds the link layer bound. Thus implementations are possible where flow controlled PDUs are never discarded due to a lack of receive buffers at the receiving side of the interface.
+
+The *link flow control* frame does not comply with the previous rule. If the permissible upper limit is reached, it is still possible to send a *link flow control* frame.
+
+### 10.5.4 Credit allocation procedure at the link layer
+
+The link layer bound values are carried in the B(R) field in the *link flow control* frame.
+
+The way the receiver determines the value of the link layer bound depends mainly on the availability of reception buffers and on the bit rate times round-trip-delay product.
+
+Since the B(R) field of the *link flow control* frame corresponds to the rank of the first segment that the receiver is not ready to accept, successive values of the B(R) field must be either unchanged or increased.
+
+The receiver sends increasing values of the link layer bound in a *link flow control* frame when the number of released buffers has significantly increased (e.g. every third of window).
+
+In case of discontinuity in PDUs reception, or discarding of PDUs, the receiver increases the link layer bound by the number of segments it has never received. This number is the difference between the number of segments actually received by the receiver and the number of segments included in the C(S) field (number of previously transmitted segments) of the received *link flow control* frame.
+
+### 10.5.5 Request for the transmission of a link flow control frame
+
+An entity requests the peer entity to transmit a *link flow control* frame by setting the Rf bit to 1 in a *link flow control* frame the entity transmits.
+
+On receiving a *link flow control* frame with the Rf bit set to 1, the receiver must respond with a *link flow control* frame to indicate the current value of its link layer bound [B(R) field] and the current value of the internal counter it keeps for the transmitted segments [C(S) field].
+
+When an entity transmits a *link flow control* frame with Rf bit set to 1, it starts the TIMER\_LF timer. On TIMER\_LF time-out, a *link flow control* frame with Rf bit set to 1 is transmitted and the TIMER\_LF is restarted. TIMER\_LF is stopped when a *link flow control* frame is received.
+
+This procedure may be used by an entity when it has not the right to send segments in sufficient quantity for the PDUs it has to send. For instance, in case increasing values of link layer bound sent by the receiver are not received by the sender because a *link flow control* frame has been lost. The sender uses the criterion that a significant part of the window has been used (e.g. two third of window) to trigger the request for the transmission of a *link flow control* frame.
+
+### 10.5.6 Self initialisation of the link flow control sublayer
+
+At initialisation time, the entity sends a *link flow control initialisation* frame with B(R) field set to the initial link layer bound (assuming the transmitter of the peer entity restarts its segment numbering from 0), and with Ri bit set to 1 in order to request the peer entity to transmit, as a response, an initialisation *link flow control initialisation* frame.
+
+When an entity transmits a *link flow control initialisation* frame with the Ri bit set to 1, it starts TIMER\_LF timer and discards any received PDU until a response is received. On TIMER\_LF time-out, a *link flow control initialisation* frame is transmitted, and TIMER\_LF is restarted. TIMER\_LF is stopped when a *link flow control initialisation* frame is received from the peer entity.
+
+When a link flow control entity receives a *link flow control initialisation* frame it processes B(R) field, and if requested by the Ri bit set to 1, it sends at the first opportunity an initialisation *link flow control* frame with its own B(R) field set to the initial link layer bound.
+
+## 10.6 Link set-up and disconnection
+
+### 10.6.1 General principles
+
+Each entity signals to the peer entity which state it desires to attain. An entity which wishes to set up the link is in the “ON” desired state. An entity which does not wish to set up the link or wishes to disconnect it, is in the “OFF” desired state.
+
+The link set-up / disconnection procedure is based on the mutual exchange of the desired states in the MS (my-desired-link-state) and YS (your-desired-link-state) bits of the *link set-up* frame.
+
+#### 10.6.1.1 MS and YS-bit coding
+
+The MS bit contains the desired state of the entity which sends the *link set-up* frame.
+
+The YS bit contains the last seen desired state of the peer entity. It contains the value of the MS bit of the last received *link set-up* frame.
+
+The coding of the MS and YS bits is as follows:
+
+- bit set to 0 means that the desired state is “OFF”;
+- bit set to 1 means that the desired state is “ON”.
+
+The initial value of the YS bit is 0.
+
+#### 10.6.1.2 Request for the transmission of a link set-up frame
+
+An entity requests the peer entity to transmit a *link set-up* frame by setting the Rs bit to 1 in a *link set-up* frame the entity transmits.
+
+On receiving a *link set-up* frame with the Rs bit set to 1, the receiver must respond with a *link set-up* frame to indicate the current value of its desired state (MS bit) and the current value of its last seen desired state of the peer entity (YS field).
+
+When an entity transmits a *link set-up* frame with Rs bit set to 1, it starts the TIMER\_LS timer. On TIMER\_LS time-out, a *link set-up* frame with Rs bit set to 1 is transmitted and the TIMER\_LS is restarted. TIMER\_LS is stopped when a *link set-up* frame is received.
+
+#### 10.6.1.3 Signalling of a new desired state
+
+The first indication of a new desired state is given with the Rs bit of the *link set-up* frame set to 1, to signal an unconfirmed desired state.
+
+As long as this new desired state is not seen by the peer entity (this is detected by the reception of a *link set-up* frame with a YS bit which does not match the new desired state), the *link set-up* frame which signals the new desired state is retransmitted with the Rs bit set to 1.
+
+### 10.6.2 Link set-up
+
+This function sets up a link connection over a previously activated physical connection.
+
+In the initial state, both entities do not know the state of the peer entity. As long as the state of the peer entity remains unknown, the YS bit of every sent *link set-up* frame is set to 0.
+
+The entity which wishes to set up the link, enters the “ON” desired state and sends its state in the *link set-up* frame with the MS bit set to 1 and the YS bit set according to the known state of the peer entity, using the procedure described in 10.6.1.3.
+
+An entity considers that the link is set up when:
+
+- its state is “ON” and has been seen as “ON” by the peer entity; and
+- the state of the peer entity is seen as “ON”.
+
+As long as the link is not set up and as long as its desired state is “ON”, an entity keeps sending *link set-up* frames. There are no limits to the number of attempts.
+
+An entity may discover an accidental disconnection of the link. In such a case, it returns to its initial state.
+
+### 10.6.3 Link disconnection
+
+An entity which wishes to disconnect the link, enters the “OFF” desired state and sends its state in the *link set-up* frame with the MS bit set to 0 and the YS bit set according to the known state of the peer entity, using the procedure described in 10.6.1.3.
+
+After MAX\_LS (MAX\_LS is a link parameter) successive transmissions of such *link set-up* frame without successful response (i.e. either no response or reception of *link set-up* frame with YS bit set to 1), the entity considers that the link is disconnected.
+
+### 10.6.4 Format negotiation
+
+The choice between the non-extended format and the extended format is negotiated during link set-up, simultaneously for the link layer (*link acknowledgement* frame) and for the VC layer.
+
+Support of both the non-extended and the extended formats is mandatory in equipment that is used at a DTE/DCE interface implementing this Recommendation.
+
+Each entity indicates a format in the Extended Format (EF) bit of the LS frame:
+
+- EF bit set to 0 means that non-extended format is required;
+- EF bit set to 1 means that extended format is preferred.
+
+The DCE shall send *link set-up* frames with the EF bit set to 1.
+
+When receiving the format indicated by the peer entity, each entity determines which format has to be used taking into account the following rules:
+
+- the extended format shall be employed if both entities indicate the extended format;
+- in all other cases, the non-extended format shall be employed.
+
+Thus a DTE selects freely the non-extended or the extended format.
+
+NOTE – Also, if X.45 protocol is used in a DTE-to-DTE environment, the two DTEs using the above procedure, can work with either format, provided both ask for the same one. If both DTEs do not indicate the same format no particular choice is necessarily the better, but the procedure has to converge to one of them (i.e. the non-extended format for consistency with DTE/DCE environment).
+
+### 10.6.5 Maximum PDU size negotiation
+
+The maximum PDU sizes for both direction of data transmission is negotiated during link set-up, simultaneously for the link layer (*link acknowledgement* frame) and for the VC layer (*data packet*).
+
+Each entity indicates:
+
+- in the L(S) field, the maximum number of segments it will not exceed in PDU it transmits;
+- in the L(R) field, the maximum number of segments it is ready to accept in a PDU it receives.
+
+When receiving maximum PDU sizes indicated by the peer entity, each entity determines which maximum PDU sizes will be used taking into account the following rule:
+
+- for each direction of data transmission, the maximum number of segment of PDUs is equal to the minimum of:
+ - the L(S) transmitted in this direction; and
+ - the L(R) transmitted in the reverse direction.
+
+## 10.7 Procedure for positive and negative acknowledgements of PDU
+
+### 10.7.1 General principle
+
+Acknowledgement is performed at the link level and thus concerns all packets irrespective of the virtual circuit they belong to. The higher the traffic on a given link, the smaller the response time is in case of error.
+
+Each transmitted PDU relevant of this procedure (i.e. all except LF-PDU, LS-PDU and LA-PDU) is either positively or negatively acknowledged by the receiver. A positive acknowledgement signals a sequence of consecutive correctly received PDUs ; a negative acknowledgement signals a sequence of consecutive lost or rejected PDUs.
+
+The receiver maintains and transmits to the sender its list of pending acknowledgements. The transmitter sends to the receiver a copy of the last acknowledgement it has received. The receiver eliminates from the list of its pending acknowledgements all those which are older than the last one the transmitter indicated it has received.
+
+The frequency of positive acknowledgements sent by the receiver is driven by the transmitter itself. For that purpose, the transmitter explicitly sets a Request acknowledgement bit in a PDU for which it wants an acknowledgement to be triggered.
+
+Negative acknowledgements are, on the other hand, spontaneously transmitted by the receiver.
+
+### 10.7.2 Acknowledgement state variables
+
+Each acknowledgeable PDU is sequentially numbered and may have the value 0 through $2^{16} - 1$ when the basic format is used and through $2^{32} - 1$ when the extended format is used. The sequence numbers cycle through the entire range, modulo $2^{16}$ for the basic format, modulo $2^{32}$ for the extended format. All arithmetic operations on the following state variables and sequence numbers are affected by the modulus: VT(N), VT(AA), VR(N), VR(Ai ).
+
+Variables maintained at the transmitter :
+
+- VT(N) – Send state variable: The sequence number of the next acknowledgeable PDU to be transmitted. Incremented after the transmission of every acknowledgeable PDU.
+- VT(AA) – Acknowledgement of the acknowledgement-list variable: Highest acknowledgement received from the peer entity receiver.
+
+Variables maintained at the receiver :
+
+- VR(N) – Receive state variable: The sequence number of the next in-sequence PDU expected to be received. Incremented upon receipt of the next in-sequence acknowledgeable PDU.
+- VR(Ai ) – Pending acknowledgement-list variable: The list of upper sublayer PDU successfully received or unsuccessfully received (i.e. lost or rejected). The list is composed of an alternate succession of positively and negatively acknowledged sequences of PDUs: A1 , A2 , ..., Ak-1 , Ak ; each sequence is designated by its upper bound; the list is ordered.
+- VR(k) – Pending acknowledgement-list size: The number of elements in the pending acknowledgement-list. It is always less than max\_K if the last element of the list is a positive acknowledgement.
+- VR(tA1 ) – Type of the first element of the acknowledgement-list: Set to 0 if it is a positive acknowledgement, set to 1 if it is a negative acknowledgement.
+
+### 10.7.3 Acknowledgement timers
+
+Timer maintained at the transmitter:
+
+- Timer\_CLOSER: Unacknowledged sequence closer. The maximum time between the transmission of the last PDU from the upper sublayer and transmission of another PDU if no acknowledgement has been received yet. The aim of this timer is to stimulate the negative acknowledgement of a PDU which has been lost and which has been followed by no other PDU in the same direction.
+- Timer\_AR: ack-list request. The maximum time between requests for the status of the receiver by sending an Ra bit set to 1.
+
+Table 10-3 describes the mode of operation of acknowledgement timers.
+
+The mode of operation of Timer\_AR is such that it ensures a minimum frequency at which the status of the receiver is requested by sending an Ra bit set to 1. This request triggers a transmission from the peer entity of a *link acknowledgement* frame the reception of which is used to detect if the peer entity is still in operation.
+
+TABLE 10-3/X.45
+
+#### **Acknowledgement timers**
+
+| Name | Cause for start/restart | Normal stop | At expiry | Comments |
+|--------------|--------------------------------------------------|-----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|-----------------------------------------------------------------------|
+| Timer_CLOSER | Transmission of any PDU from upper sublayer | Acknowledgement (positive/negative) is received for the last sent PDU of upper sublayer | Send a link acknowledgement frame Restart timer_CLOSER | A small value tends to accelerate detection of losses of isolated PDU |
+| Timer_AR | Link set-up Any PDU sent with Ra bit set to 1 | Always running when link is set up | Send a link acknowledgement frame with Ra bit set to 1 Restart timer_AR | |
+
+### **10.7.4 Acknowledgement parameters**
+
+Parameter of the transmitter :
+
+- Max\_CLOSER: Maximum consecutive expirations of the timer\_CLOSER without reception of acknowledgement before signalling a disconnection of the link to the management entity.
+- Max\_AR: Maximum consecutive expirations of the timer\_AR without reception of a link acknowledgement frame.
+
+Parameters of the receiver :
+
+- Max\_K: Maximum length of the pending acknowledgement-list (value > 1).
+
+### **10.7.5 Transmission of an acknowledgeable PDU**
+
+If there is a new acknowledgeable PDU to transmit (i.e. a PDU coming from the upper sublayer), and if the underlying sublayer permits it, the N(S) field of the PDU is assigned to the current value of VT(N), the variable VT(N) is incremented, the PDU is transmitted, and the timer\_CLOSER is (re-)started.
+
+If the Timer-AR has expired, the Request acknowledgement bit (Ra) is set to 1 in the transmitted PDU to stimulate the sending of the current acknowledgement list by the receiver. The Request acknowledgement bit (Ra) may also be set to 1 if some number of acknowledgeable PDUs have been transmitted since the last transmission of an Ra bit set to 1. This number may be implementation dependent, is optional, and may change from time to time. Its value has no effect on proper operation but short values, while increasing overhead, tend to accelerate buffer release in the transmitter.
+
+### **10.7.6 Reception of an acknowledgeable PDU**
+
+The result of the reception of such a PDU is a transformation of the pending acknowledgement-list. The building of the new list is constrained by the fact that if the list is full (i.e. its size equals to max\_K) the last element must be a negative acknowledgement.
+
+If the received PDU is the next expected one [i.e. N(S) equals to VR(N)]:
+
+- If the list is positively-ended [i.e. if $VR(tA_{1}) = 0$ and k is odd, or $VR(tA_{1}) = 1$ and k is even]: the last element is set to the value of N(S), and the received PDU is delivered to the upper sublayer. This case is the only one as long as the number of pending negative acknowledgements remains low, as it is normal on a good quality link.
+- If the list is negatively-ended and there is less than two free places: the last element is set to the value of N(S), and the received PDU is rejected.
+- If the list is negatively-ended and there are at least two free places: a positive acknowledgement is added to the list and set to the value of N(S), and the received PDU is delivered to the upper sublayer.
+
+If the received PDU is not the next expected one [i.e. $N(S)$ differs from $VR(N)$ ]:
+
+- If the list is positively-ended and there are at least three free places: a negative acknowledgement is added to the list and set to the value of $[N(S) - 1]$ ; then a positive acknowledgement is added to the list and set to the value of $N(S)$ . The received PDU is delivered to the upper sublayer.
+- If the list is positively-ended and there is less than three free places: a negative acknowledgement is added to the list and assigned to the value of $N(S)$ , and the received PDU is rejected.
+- If the list is negatively-ended and there are at least two free places: the last element is set to the value of $[N(S) - 1]$ , a positive acknowledgement is added to the list and assigned to the value of $N(S)$ , the received PDU is delivered to the upper sublayer.
+- If the list is negatively-ended and there is less than two free places: the last element is assigned to the value of $N(S)$ , and the received PDU is rejected.
+
+NOTE – Regarding link flow control, the receiving entity may recycle credit allocated to received PDUs it has rejected.
+
+In any case, $VR(N)$ is assigned to $[N(S) + 1]$ . If appropriate (according to conditions described in 10.7.8 below) a *link acknowledgement* frame is transmitted.
+
+### 10.7.7 Reception of a link acknowledgement frame
+
+The *link acknowledgement* frame conveys one information for the transmitter :
+
+- An acknowledgement list: It indicates what PDUs the peer-entity receiver has successfully received or unsuccessfully received (i.e. lost or rejected). The transmitter determines and notifies to the upper sublayer, which PDUs are just recognised as successfully transmitted and which ones have been lost. Concerned PDUs are all those which were transmitted between values of the previously received end-of-list item, i.e. $VT(AA)$ , and the just received one, i.e. $A_k(R)$ . The transmitter assigns the value of $A_k(R)$ to the $VT(AA)$ variable. If each transmitted PDU has been acknowledged, the timer $\_CLOSER$ is stopped.
+
+The *link acknowledgement* frame conveys two informations for the receiver:
+
+- 1) The next non-LA-PDU sequence number $[NN(S)$ field]: If it differs from $VR(N)$ , it implies that at least one acknowledgeable PDU has been lost. If the acknowledgement list is positively-ended: a negative acknowledgement is added to the list and assigned to the value of $[NN(S) - 1]$ ; else if the acknowledgement list is already negatively-ended: the last element is assigned to the value of $[NN(S) - 1]$ .
+- 2) The acknowledgement of the pending acknowledgement list ( $AA(S)$ field): It indicates that the peer-entity transmitter has effectively received the acknowledgement list until the value of $AA(S)$ . The receiver sequentially compares the elements of its list to the value of $AA(S)$ : if $VR(A_i)$ is less or equal to $AA(S)$ it purges the list from $VR(A_i)$ , else it stops to scan the list. After partially purging the pending acknowledgement list, the receiver updates the value of the $VR(tA_1)$ variable which identifies the type of the first element in the list.
+
+The *link acknowledgement* frame also conveys the ack-list request: if it is received with the Ra bit set to 1, this is taken as a request for transmission of a link acknowledgement frame at the first opportunity.
+
+### 10.7.8 Transmission conditions for link acknowledgement frame
+
+A *link acknowledgement* frame is transmitted when the underlying sublayer has an opportunity for frame transmission and if one of the following conditions holds.
+
+Coming from the transmitter:
+
+- The timer $\_CLOSER$ has expired: In such a case the *link acknowledgement* frame will contain the Request bit (Ra) set to one.
+- A *link acknowledgement* frame containing new negative acknowledgement(s) has been received.
+- The Timer $\_AR$ has expired.
+
+Coming from the receiver:
+
+- A new negative acknowledgement has been added to the list.
+
+Other:
+
+- A frame with the Request bit (Ra) set has been received.
+
+If the transmitted *link acknowledgement* frame contains a list of more than one element, The Timer\_AR is (re-)started. If the *link acknowledgement* frame contains the Request bit, the Timer\_CLOSER is (re-)started.
+
+After max\_CLOSER expirations of timer\_CLOSER without reception of any acknowledgement, the link is disconnected.
+
+After Max\_AR expirations of Timer\_AR without reception of any acknowledgement, the link is disconnected.
+
+## 10.8 Error correction
+
+The error correction procedure does not apply to *data* packets of virtual circuits in the non-assured data transfer mode.
+
+### 10.8.1 Storage until reception of acknowledgement
+
+*Data* packets of virtual circuit in the assured data transfer mode and *interrupt* packets must be kept in the sender entity memory until reception of acknowledgement for the purpose of subsequent transmission on possible loss.
+
+The sender must also be able to retransmit *interrupt confirmation*, *signalling synchronisation*, *reset request*, *reset confirmation* and *abort* packets.
+
+### 10.8.2 Selective retransmission of the PDUs
+
+The entity which receives a *link acknowledgement* frame notifying a PDU loss (one or several gaps), handles the gaps one-by-one in order of appearance in the received list of negative acknowledgement. A negative acknowledgement already included in a previous *link acknowledgement* frame and thus already processed, is ignored.
+
+On reception of a negative acknowledgement, the entity retransmits the PDUs concerned by the notification, according to the rules in Table 10-4.
+
+A PDU being retransmitted does not use its old link sequence number but is given a new link sequence number.
+
+NOTE – This new numbering at link level on retransmission does not affect the VC sequence number of *data* packets. This means that sequence numbers do not change at VC level on retransmission.
+
+TABLE 10-4/X.45
+Retransmission conditions
+
+| PDU | Retransmission conditions |
+|-----|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| VF | If no more recent VC-flow control packets have been sent (for that virtual circuit), a VC-flow control packet is transmitted with the current value of the VC layer bound in the Bi(R) field |
+| D | Always, if the virtual circuit is in the assured data transfer mode Never, if the virtual circuit is in the non-assured data transfer mode |
+| ID | Always |
+| IC | Always |
+| SS | Always |
+| A | No data packets have been sent (for that virtual circuit) |
+| RR | Always |
+| RC | Always |
+
+## **10.9 Multiplexing /demultiplexing**
+
+### **10.9.1 General principle**
+
+A virtual circuit permits bi-directional transfer of data in the form of *data* packets or *interrupt* packets.
+
+A DTE may simultaneously use several virtual circuits either switched or permanent, connected to one or several remote DTEs.
+
+A virtual circuit is identified by a pair of identifiers, one per transmission direction. In each direction, the choice of a virtual circuit identifier is made by the receiver either during call set-up phase for switched virtual circuits or at subscription time for permanent virtual circuits. Each PDU contains the virtual circuit identifier of the receiver. The virtual circuit identifiers have local significance.
+
+### **10.9.2 Signalling virtual circuit**
+
+As soon as the link connection is set up, a particular permanent virtual circuit is automatically ready for signalling purposes. This particular permanent virtual circuit, referred to as the signalling virtual circuit, is in the assured data transfer mode. The *data* packets which are transmitted over this particular virtual circuit contain exclusively the signalling messages for the other virtual circuits which have to be set up, cleared or managed.
+
+The *link set-up*, *link flow control* and *link acknowledgement* frames use the virtual circuit identifier of the signalling virtual circuit.
+
+In the case of a point-to-point physical connection, the virtual circuit identifier pairs used for the signalling virtual circuit is (0,0).
+
+In the case of multi-point physical connection, the virtual circuit identifier pairs for the signalling virtual circuit is determined prior to link set-up (see 10.1).
+
+## **10.10 Numbering of packets at the VC layer**
+
+The *data* packet contains a sequence number associated with the virtual circuit. This VC-sequence number contains the rank of the first segment of the packet, with respect to the number of segment previously sent on this virtual circuit in numbered packets, and is placed in the Ni(S) field. The first packet sent on the virtual circuit carries a VC-sequence number equal to 0.
+
+## **10.11 Re-ordering of data packets**
+
+### **10.11.1 On assured virtual circuit**
+
+Since the error correction procedure on assured virtual circuit is performed via selective retransmission, *data* packets may be received out of sequence at the VC level.
+
+The VC-sequence number makes it possible to re-order these received packets.
+
+*Data* packets received out of sequence but within the transmission window are kept in the memory until every *data* packet whose VC-sequence number is smaller, has been received.
+
+The final receiver (i.e. the receiving DTE) handles re-ordering of *data* packets. The network may also perform the re-ordering of the *data* packets before sending them on the remote DTE/DCE interface.
+
+A network which receives *data* packets out of sequence at the VC level, due to losses on the DTE/DCE interface, may send the segments of these *data* packets out of sequence at the VC level (but not at link one) to the remote DTE taking into account the maximum length of *data* packet (for this particular virtual circuit) used on the remote DTE/DCE interfaces and SDU segmentation rules in complete packet sequence (see 10.13.1).
+
+### **10.11.2 On non-assured virtual circuit**
+
+Since on a non-assured virtual circuit, lost *data* packets are not retransmitted, the received VC-sequence numbers are always increasing and re-ordering of *data* packets is not needed.
+
+## 10.12 Flow control at the VC layer
+
+### 10.12.1 General
+
+Within a virtual circuit, flow control applies to the *data* packets which are carried over that particular virtual circuit.
+
+It applies to each transmission direction and is based on mechanism whereby the receiver authorises the sender to transmit new data packets up to a certain limit, called VC-layer bound.
+
+### 10.12.2 Flow control unit
+
+The flow control unit at the VC layer is the same segment as the one defined and used at the link layer (See 10.4 and 10.5.2)
+
+This same definition makes it possible to compute only once the number of segments of a received *data* packet for both layers simultaneously.
+
+### 10.12.3 Flow control principle
+
+The VC-layer bound transmitted to the sender corresponds to the rank of the first segment that the receiver is not ready to accept.
+
+A sender must not transmit a *data* packet beyond the reception window, i.e. a *data* packet whose rank of the last segment exceeds the VC-layer bound of the receiver. All other packets are transmitted by the sender regardless the reception window is exceeded or not.
+
+### 10.12.4 Credit allocation procedure at the VC layer
+
+This procedure is applicable to both assured and non-assured virtual circuits.
+
+The initial value of the VC-layer bound is carried in the *call request* and *call confirmation* messages. This initial value is a parameter. The subsequent values of the VC layer bound are carried in the Bi(R) field of the *VC-flow control* packet.
+
+The way the receiver determines the value of the VC-layer bound depends mainly on the availability of reception buffers and on the throughput class of the virtual circuit.
+
+Since the VC-layer bound field [Bi(R)] of a *VC-flow control* packet corresponds to the rank of the first segment that the receiver is not ready to accept, successive values of the Bi(R) field must be either unchanged or increased.
+
+The receiver increases the value of its VC-layer bound when an additional buffer is available to receive a new *data* packet. The receiver may gather these increases of its VC-layer bound to save bandwidth and peer entity processing time. One method to gather the increases of VC-layer bound is to wait for a significant increase of the number of buffers being released (e.g. a third of the window).
+
+### 10.12.5 Particular flow control procedure on non-assured virtual circuit
+
+Since within a non-assured virtual circuit, *data* packets are not retransmitted on loss, the receiver considers a discontinuity in the sequence of received *data* packets as a release of buffers. This release of buffers can be used to trigger the transmission of a *VC-flow control* packet with a new (greater) value of the VC-layer bound.
+
+## 10.13 Data transfer
+
+Data are transmitted within *data* packets. The data field is transparently transmitted. The number of octets it contains must be an integer. The maximum length of the data field of *data* packets for a given transmission direction is determined at subscription time for permanent virtual circuits, at call set-up for switched virtual circuits.
+
+In all cases and for each direction of data transmission, the maximum length of the data field:
+
+- is a power of $2 \leq 64$ (in octets);
+- does not exceed the maximum number of segments of PDU as negotiated during link set-up for this direction (see 10.6.5).
+
+For switched virtual circuits, for each direction of data transmission, the largest maximum length that complies with the above is the default packet size (see 14.3 on packet size negotiation facility for the use of other values).
+
+### 10.13.1 Segmentation
+
+An SDU the data contents of which exceeds the maximum data field length for an interface is transmitted on this interface as a complete sequence.
+
+When a data SDU is transmitted over a virtual circuit across a DTE/DCE interface with a data contents which exceeds the maximum data field length of *data* packets for this virtual circuit at this interface, it is transmitted as a sequence of *data* packets. The Beginning bits and the End bits in packets of a packet sequence are set according to Table 10-5.
+
+The last *data* packet of a complete packet sequence may have a data field length which is less than or equal to the maximum for the virtual circuit. Any *data* packets prior to the last in a complete sequence of packets, shall have a data field length equal to the maximum for the virtual circuit.
+
+TABLE 10-5/X.45
+Beginning and End bit coding
+
+| Type of data packet | Beginning bit value | End bit value |
+|----------------------------------------------|---------------------|---------------|
+| Beginning of the SDU | 1 | 0 |
+| Continuation of the SDU | 0 | 0 |
+| End of the SDU | 0 | 1 |
+| Single packet SDU (Note) | 1 | 1 |
+| NOTE – In this case, no segmentation occurs. | | |
+
+### 10.13.2 SDU abort on non-assured virtual circuits
+
+If a transmitting entity receives a negative acknowledgement for the last *data* packet it has sent and if it has no data packet belonging to the next SDU to transmit, then the transmitting entity shall transmit an *abort* packet. This packet indicates to the receiving entity that the current SDU will not be terminated and that some credits can be recovered.
+
+The *abort* packet contains in the NNI(S) field, the VC-sequence number of the next packet to be transmitted.
+
+If an *abort* packet is lost and no other *data* packet has been sent after the *abort* packet, and there is no new *data* packet to transmit, then the *abort packet* is retransmitted.
+
+### 10.13.3 Reassembly on assured virtual circuits
+
+On assured virtual circuits, reassembly based on the Beginning and End bits takes place when received *data* packets can be reordered using their VC-sequence number values.
+
+### 10.13.4 Reassembly on non-assured virtual circuits
+
+On non-assured virtual circuits, reassembly based on the Beginning and End bits is processed on received data packets as long as no discontinuity in the VC-sequence number is detected.
+
+A receiving entity, when it receives a *data* packet with a VC-sequence number which is not the expected one, discards the *data* packet and the following ones, as long as they are not the first packet of a new SDU (i.e. as long as the Beginning bit is set to 0).
+
+On a non-assured virtual circuit, a sequence of *data* packets is either a complete sequence or a partial sequence. A partial sequence consists in the first packet(s) of a complete sequence followed by either an abort packet or the first data packet of a following packet sequence.
+
+A sequence of *data* packets which is received by the network from a DTE is, at the remote DTE/DCE interface, either:
+
+- completely absent;
+- transmitted as a sequence of *data* packets with the same amount of data or shorter.
+
+The probability of a complete sequence of *data* packets being not delivered at all or being only delivered as a partial packet sequence, must be kept by the network at a similar order of magnitude as the probability of error transmissions on DTE/DCE links.
+
+### 10.13.5 Qualification of data
+
+This mechanism is only used by a DTE. It permits differentiation of two types of information (for instance, real user data and command data) and is based on the use of the Qualifier bit present in *data* packets.
+
+The value of the Q-bit is only significant in the first *data* packet of a complete sequence. When not used and not significant the Qualifier bit is set to 0. This means that the DTE may set the Qualifier bit to one only in the first *data* packet of a complete sequence. In all other cases the Qualifier bit is set to 0.
+
+This mechanism does not affect the numbering of *data* packets at the VC level.
+
+The Qualifier bit of the first *data* packet of a complete sequence is carried transparently by the network.
+
+## 10.14 Interrupt procedure
+
+The interrupt procedure enables a DTE to transmit data to the remote DTE, without being subject to VC-flow control procedure.
+
+This data whose length is limited to 32 octets is transmitted using *interrupt* packet. Such *interrupt* packets pass any *data* packet caught up within the network or at the remote DTE/DCE interface.
+
+The remote DTE acknowledges the reception of the *interrupt* packet by sending an *interrupt confirmation* packet. The *interrupt confirmation* packet is in turn delivered by the network to the initial DTE.
+
+The DTE must wait for the *interrupt confirmation* packet, before sending another *interrupt* packet on the same virtual circuit.
+
+*Interrupt* and *interrupt confirmation* packets must be retransmitted upon losses.
+
+In order to guarantee that the *interrupt* packet is delivered at or before the point in the stream of *data* packets at which the *interrupt* packet was generated by the DTE, an entity increments the count modulo 2 of transmitted interrupt, and places its current value in any sent *data* packet (including packet being retransmitted). Retransmission of *interrupt* packet does not affect the value of the interrupt count bit.
+
+When an *interrupt* packet is received, the entity increments its counter modulo 2 of received interrupt. *Data* packets received with a count of interrupt not equal to the counter modulo 2 of received interrupt, must not be delivered until reception and delivery of the *interrupt* packet (which has been lost and will be retransmitted).
+
+At initialisation time (i.e. VC set-up or reset) counters of received and transmitted interrupt are set to 0.
+
+## 10.15 Reset of a virtual circuit
+
+This procedure is used to re-initialise a virtual circuit.
+
+All *data* and *interrupt* packets generated by a DTE (or the network) before initiation by the DTE or the DCE of a reset procedure at the local interface will either be delivered to the remote DTE before the DCE transmits the corresponding indication on the remote interface, or be discarded by the network.
+
+After completion of the reset procedure, the VC-sequence number in each transmission direction is set to 0, the upper bound of the window relative to each transmission direction is set to the exchanged VC-layer bound values, and counters of received and transmitted interrupt are set to 0.
+
+The reset procedure uses *reset request* and *reset confirmation* packets exchanged between the DTE and the DCE.
+
+### 10.15.1 Normal reset
+
+An entity which wishes to re-initialise a virtual circuit transmits a *reset request* packet to the peer entity.
+
+The *reset request* packet contains the following information:
+
+- the value of the VC-layer bound allocated by the resetting entity;
+- cause and diagnostic fields to explain the reset.
+
+The *reset request* packet is the very last packet sent over the virtual circuit before the reset takes effect and must be retransmitted upon loss notification reception.
+
+An entity which receives a *reset request* packet, must not retransmit negatively acknowledged packet, nor send any new packet over the concerned virtual circuit, but has to confirm reset by sending a *reset confirmation* packet.
+
+The *reset confirmation* packet contains the following information:
+
+- The value of the VC-layer bound allocated to the resetting entity.
+
+The *reset confirmation* packet is the very last packet sent over the virtual circuit before the reset takes effect and must be retransmitted upon loss notification reception. The entity must wait for the link level acknowledgement of the *reset confirmation* packet it has sent to consider that the virtual circuit is definitely reset.
+
+The resetting entity must wait for the reception of a *reset confirmation* packet to consider that the virtual circuit is definitely reset. The *reset confirmation* packet has local significance.
+
+While waiting for the *reset confirmation* packet, the resetting entity must not retransmit negatively acknowledged packet (except the *reset request* packet) nor send any new packets.
+
+When the virtual circuit is reset, new *data* packets may be sent on the virtual circuit as follows: for both transmission directions, the VC-sequence number is set to 0 and the upper bound of the window is set to the VC credit received either in the *reset request* packet or in the *reset confirmation* packet.
+
+When the virtual circuit is reset, new *Interrupt* packets may be sent on the virtual circuit.
+
+When a *reset request* packet is received by the DCE, the network transmits a *reset request* packet to the remote DTE.
+
+When a *reset request* packet is sent by the DCE, it discards received *data* packets.
+
+### 10.15.2 Reset collision
+
+A reset collision occurs when both entities transmit a *reset request* packet for the same virtual circuit at the same time. Each entity considers that the reset procedure is completed when it receives the link level acknowledgement of the sent *reset request* packet. Neither waits for nor sends a *reset confirmation* packet.
+
+# 11 Signalling coding
+
+## 11.1 Message functional definitions and contents
+
+### 11.1.1 List of the messages
+
+Table 11-1 gives the function and the abbreviations of the defined messages.
+
+TABLE 11-1/X.45
+
+**List of messages**
+
+| Description | Function | Abbreviations | References |
+|----------------------------------------|-------------------------------|---------------|------------|
+| Call request message | Virtual circuit set-up | CR | 11.1.2 |
+| Call confirmation message | Virtual circuit set-up | CC | 11.1.3 |
+| Call abort message | Virtual circuit clearing | CA | 11.1.4 |
+| Disconnect request message | Virtual circuit clearing | DR | 11.1.5 |
+| Disconnect confirmation message | Virtual circuit clearing | DC | 11.1.6 |
+| Restart request message | Signalling (re)initialisation | RQ | 11.1.7 |
+| Restart confirmation message | Signalling (re)initialisation | RN | 11.1.8 |
+
+### 11.1.2 Call request message
+
+The *call request* message is used to request the setting-up of a virtual circuit between two DTEs. It contains the virtual circuit identifier to be used by the peer entity in the transmission direction, an initial VC credit allocated to that peer entity and set-up data (addresses, parameters, user data, etc.). See Table 11-2.
+
+The encapsulation of the *call request* message in data packet(s) makes possible to carry out a flow control on the calls by re-using the underlying flow control mechanisms of the signalling virtual circuit.
+
+TABLE 11-2/X.45
+Call request message content
+
+| Message type: Call request | | | | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------|-----------|-------------------|--------|
+| Information element | References | Direction | Type | Length |
+| Protocol discriminator | 11.2.2 | Both | M | 1 |
+| Message type | 11.2.3 | Both | M | 1 |
+| My VC identifier | 11.2.4.4 | Both | M | 5 |
+| End-to-end transit delay | 11.2.4.22 | Both | O (Note 1) | 4-11 |
+| Transit delay selection and indication | 11.2.4.19 | Both | O | 5 |
+| Packet layer binary parameters | 11.2.4.13 | Both | O (Note 2) | 3 |
+| Packet size | 11.2.4.9 | Both | O (Note 2) | 4 |
+| Closed user group | 11.2.4.11 | Both | O | 4-7 |
+| Reverse Charging / Charging information | 11.2.4.12 | Both | O | 3 |
+| VC-layer bound | 11.2.4.6 | Both | M | 6 |
+| Throughput | 11.2.4.10 | Both | O (Notes 1 and 2) | 2-12 |
+| Protection | 11.2.4.24 | Both | O (Note 1) | 3-255 |
+| X.213 priority | 11.2.4.23 | Both | O (Note 1) | 3-8 |
+| Called party number | 11.2.4.3 | Both | O (Note 2) | 2-* |
+| Called party subaddress | 11.2.4.20 | Both | O (Note 1) | 2-23 |
+| Called party number | 11.2.4.2 | Both | O (Note 3) | 2-* |
+| Called party subaddress | 11.2.4.21 | Both | O (Note 1) | 2-23 |
+| NUI selection | 11.2.4.14 | DTE→DCE | O | 2-* |
+| Redirecting number | 11.2.4.17 | Both | O | 6-* |
+| Transit network selection | 11.2.4.15 | DTE→DCE | O | 2-* |
+| User-user | 11.2.4.8 | Both | O | 3-131 |
+| NOTE 1 – Included in the DTE-to-DCE direction when the calling DTE wants to provide OSI network service requirements. Included in the DCE-to-DTE direction if the calling DTE included such information element in the corresponding call request message. | | | | |
+| NOTE 2 – Optional in the DTE → DCE direction, Mandatory in the DCE → DTE direction. | | | | |
+| NOTE 3 – Mandatory in the DTE → DCE direction, optional in the DCE → DTE direction. | | | | |
+
+### 11.1.3 Call confirmation message
+
+The *call confirmation* message is used to accept the setting-up of a virtual circuit requested by the peer entity. It contains the value of the YI field (received in the *call request* message), the virtual circuit identifier to be used by the peer entity in the transmission direction, an initial VC credit allocated to that peer entity and set-up data (addresses, parameters, user data, etc.). See Table 11-3.
+
+TABLE 11-3/X.45
+**Call confirmation message content**
+
+| Message type: Call confirmation | | | | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------|------------|-----------|------------|--------|
+| Information element | References | Direction | Type | Length |
+| Protocol discriminator | 11.2.2 | Both | M | 1 |
+| Message type | 11.2.3 | Both | M | 1 |
+| My VC identifier | 11.2.4.4 | Both | M | 5 |
+| Your VC identifier | 11.2.4.5 | Both | M | 5 |
+| End-to-end transit delay | 11.2.4.22 | Both | O (Note 1) | 4-11 |
+| Transit delay selection and indication | 11.2.4.19 | DCE→DTE | O | 5 |
+| Packet layer binary parameters | 11.2.4.13 | Both | O (Note 2) | 3 |
+| Packet size | 11.2.4.9 | Both | O (Note 3) | 4 |
+| Reverse charging / Charging information | 11.2.4.12 | DTE→DCE | O | 3 |
+| VC-layer bound | 11.2.4.6 | Both | M | 6 |
+| Throughput | 11.2.4.10 | Both | O (Note 2) | 2-12 |
+| Protection | 11.2.4.24 | Both | O (Note 1) | 3-255 |
+| X.213 priority | 11.2.4.23 | Both | O (Note 1) | 3-8 |
+| Called party number | 11.2.4.2 | Both | O (Note 4) | 2-* |
+| Called party subaddress | 11.2.4.21 | Both | O (Note 1) | 2-23 |
+| Called line address modified notification | 11.2.4.18 | Both | O | 3-4 |
+| User-user | 11.2.4.8 | Both | O | 3-131 |
+| NOTE 1 – Included in the DCE-to-DTE direction if the called DTE included such information element in the corresponding call confirmation message. | | | | |
+| NOTE 2 – Optional in the DTE → DCE direction, Mandatory in the DCE → DTE direction. | | | | |
+| NOTE 3 – See 14.3. | | | | |
+| NOTE 4 – Mandatory when the called line address modified notification information element is present. | | | | |
+
+### 11.1.4 Call abort message
+
+The *call abort* message is used to abort the setting-up of a virtual circuit. It contains the virtual circuit identifier to be used by the peer entity in the transmission direction, cause and diagnostic to explain the abort. See Table 11-4.
+
+TABLE 11-4/X.45
+**Call abort message content**
+
+| Message type: Call abort | | | | |
+|---------------------------------|------------|-----------|------|--------|
+| Information element | References | Direction | Type | Length |
+| Protocol discriminator | 11.2.2 | Both | M | 1 |
+| Message type | 11.2.3 | Both | M | 1 |
+| Cause | 11.2.4.7 | Both | M | 4-32 |
+| My VC identifier | 11.2.4.4 | Both | M | 5 |
+
+### 11.1.5 Disconnect request message
+
+The *disconnect request* message is used to reject the setting-up of a virtual circuit requested by the peer entity, or to request the clearing of a virtual circuit between two entities. It contains the value of the YI field of the virtual circuit, cause and diagnostic fields to explain the clearing and clearing data (addresses, parameters, user data, etc.). See Table 11-5.
+
+TABLE 11-5/X.45
+
+**Disconnect request message content**
+
+| Message type: Disconnect request | | | | |
+|-------------------------------------------------------------------------------------------------------|------------|-----------|-------------------|--------|
+| Information element | References | Direction | Type | Length |
+| Protocol discriminator | 11.2.2 | Both | M | 1 |
+| Message type | 11.2.3 | Both | M | 1 |
+| Cause | 11.2.4.7 | Both | M | 4-32 |
+| Your VC identifier | 11.2.4.5 | Both | M | 5 |
+| End-to-end transit delay | 11.2.4.22 | DTE→DCE | O (Note 1) | 4-11 |
+| Packet layer binary parameters | 11.2.4.13 | DTE→DCE | O (Note 1) | 3 |
+| Reverse Charging / Charging information | 11.2.4.12 | DCE→DTE | O | 3-* |
+| Throughput | 11.2.4.10 | DTE→DCE | O (Note 1) | 2-12 |
+| Protection | 11.2.4.24 | DTE→DCE | O (Note 1) | 3-255 |
+| X.213 protection | 11.2.4.23 | DTE→DCE | O (Note 1) | 3-8 |
+| Calling party subaddress | 11.2.4.20 | DTE→DCE | O (Note 1) | 2-23 |
+| Called party number | 11.2.4.2 | Both | O (Notes 1 and 2) | 2-* |
+| Called party subaddress | 11.2.4.21 | Both | O | 2-23 |
+| Called line address modified notification | 11.2.4.18 | Both | O | 3-4 |
+| Call deflection selection | 11.2.4.16 | DTE→DCE | O | 5-* |
+| User-user | 11.2.4.8 | Both | O | 3-131 |
+| NOTE 1 – May be included only when the call deflection selection facility/service is used. | | | | |
+| NOTE 2 – Mandatory when the called line address modified notification information element is present. | | | | |
+
+### 11.1.6 Disconnect confirmation message
+
+The *disconnect confirmation* message is used to confirm clearing of a virtual circuit. It contains the value of the YI field of the virtual circuit. See Table 11-6.
+
+TABLE 11-6/X.45
+
+**Disconnect confirmation message content**
+
+| Message type: Disconnect confirmation | | | | |
+|----------------------------------------------|------------|-----------|------|--------|
+| Information element | References | Direction | Type | Length |
+| Protocol discriminator | 11.2.2 | Both | M | 1 |
+| Message type | 11.2.3 | Both | M | 1 |
+| Your VC identifier | 11.2.4.5 | Both | M | 5 |
+| Reverse charging / Charging information | 11.2.4.12 | DCE→DTE | O | 3-* |
+
+### 11.1.7 Message de demande de redémarrage
+
+Le message *demande de redémarrage* est utilisé pour demander la réinitialisation de l'itinéraire de signalisation entre deux entités. Il contient un champ motif et diagnostic donnant une explication au sujet du redémarrage. Voir le Tableau 11-7.
+
+TABLE 11-7/X.45
+
+**Restart request message content**
+
+| Message type: Restart request | | | | |
+|--------------------------------------|------------|-----------|------|--------|
+| Information element | References | Direction | Type | Length |
+| Protocol discriminator | 11.2.2 | Both | M | 1 |
+| Message type | 11.2.3 | Both | M | 1 |
+| Cause | 11.2.4.7 | Both | M | 4-32 |
+
+### 11.1.8 Restart confirmation message
+
+The *restart confirmation* message is used to confirm re-initialisation of the signalling path. See Table 11-8.
+
+TABLE 11-8/X.45
+
+**Restart confirmation message content**
+
+| Message type: Restart confirmation | | | | |
+|-------------------------------------------|------------|-----------|------|--------|
+| Information element | References | Direction | Type | Length |
+| Protocol discriminator | 11.2.2 | Both | M | 1 |
+| Message type | 11.2.3 | Both | M | 1 |
+
+## 11.2 General message format and information elements coding
+
+### 11.2.1 Overview
+
+Every message shall consist of the following parts:
+
+- protocol discriminator;
+- message type;
+- other information elements as required by each message type.
+
+This organisation is illustrated in the example shown in Figure 11-1.
+
+
+
+| | | | | | | | | | |
+|----------------------------------------|--------------|---|---|---|---|---|---|---------|--|
+| Bits | | | | | | | | Octets | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | |
+| Protocol discriminator | | | | | | | | | |
+| 0 | Message type | | | | | | | | |
+| Other information elements as required | | | | | | | | 3, etc. | |
+
+FIGURE 11-1/X.45
+General message organisation example
+
+A particular message may contain more than a particular DTE or DCE needs or can understand. All equipment should be able to ignore any extra information, present in a message, which is not required for the proper operation of that equipment. For example a DTE may ignore the calling party number if that number is of no interest to the DTE when a *call request* message is received.
+
+Unless specified otherwise, a particular information element may be present only once in a given message.
+
+The term “default” implies that the value defined should be used in the absence of any assignment, or the negotiation of alternative values.
+
+When a field extends over more than one octet, the order of bit values progressively decreases as the octet number increases. The least significant bit of the field is represented by the lowest numbered bit of the highest numbered octet of the field.
+
+### 11.2.2 Protocol discriminator
+
+The purpose of the protocol discriminator is to distinguish messages for DTE/DCE signalling defined in this Recommendation from those in other ITU-T Recommendations and other standards.
+
+The protocol discriminator is the first octet of every message. It is coded as shown in Figure 11-2.
+
+
+
+| | | | | | | | | | |
+|----------------------------------|---|---|---|---|---|---|---|--------|--|
+| Bits | | | | | | | | Octets | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | |
+| X.45 DTE-DCE signalling messages | | | | | | | | | |
+| 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | | |
+| Protocol discriminator | | | | | | | | 1 | |
+
+FIGURE 11-2/X.45
+Protocol discriminator
+
+### 11.2.3 Message type
+
+The purpose of the message type is to identify the function of the message being sent.
+
+The message type is the first part of every message. The message type is coded as shown in Figure 11-3 and Table 11-9. Bit 8 is reserved for possible future use as an extension bit.
+
+
+
+Bits
+
+| | | | | | | | | |
+|---|--------------|---|---|---|---|---|---|--------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | Octets |
+| 0 | Message type | | | | | | | 1 |
+
+Diagram of the message type field structure showing bit 8 as 0 and bits 7-1 as the Message type field in Octet 1.
+
+FIGURE 11-3/X.45
+**Message type**
+
+TABLE 11-9/X.45
+**Message types**
+
+| Bits | | |
+|------|---------|--------------------------------|
+| 8765 | 4321 | |
+| 000- | - - - - | Virtual circuit set-up |
+| 0 | 0111 | Call confirmation |
+| 0 | 0101 | Call request |
+| 010- | - - - - | Virtual circuit clearing |
+| 0 | 0101 | Disconnect request |
+| 0 | 1101 | Disconnect confirmation |
+| 1 | 1010 | Call abort |
+| 0 | 0110 | Restart request |
+| 0 | 1110 | Restart confirmation |
+
+### 11.2.4 Information elements
+
+#### 11.2.4.1 Coding rules
+
+The coding of information elements follows the coding rules described below. These rules are formulated to allow each equipment which processes a message to find information elements important to it, and yet remain ignorant of information elements not important to that equipment.
+
+Two categories of information element are defined:
+
+- a) single octet information elements [see diagrams a) and b)] of Figure 11-4;
+- b) variable length information elements [see diagram c)] of Figure 11-4.
+
+
+
+**a) Single octet information element format (type 1)**
+
+| Bits | | | | | | | | Octets | |
+|------|--------------------------------|---|---|---|---|---|---------------------------------|--------|---|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | |
+| 1 | Information element identifier | | | | | | Contents of information element | | 1 |
+
+**b) Single octet information element format (type 2)**
+
+| Bits | | | | | | | | Octets |
+|------|--------------------------------|---|---|---|---|---|---|--------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| 1 | Information element identifier | | | | | | | 1 |
+
+**c) Variable length information element format**
+
+| Bits | | | | | | | | Octets |
+|----------------------------------------------------|--------------------------------|---|---|---|---|---|---|---------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| 0 | Information element identifier | | | | | | | 1 |
+| Length of contents of information element (octets) | | | | | | | | 2 |
+| Contents of information element | | | | | | | | 3, etc. |
+
+Figure 11-4/X.45: Formats of information elements. The diagram shows three bit-level diagrams (a, b, c) for information elements. Each diagram has a top row of bit positions (8 to 1) and a right column for octet counts. Diagram (a) shows a single octet format (type 1) with a 1-bit identifier and 7-bit contents. Diagram (b) shows a single octet format (type 2) with an 8-bit identifier. Diagram (c) shows a variable length format with a 1-bit identifier, a 2-octet length field, and a variable-length contents field.
+
+FIGURE 11-4/X.45
+**Formats of information elements**
+
+For the information elements listed below, the coding of the information element identifier bits is summarised in Table 11-10.
+
+There is a particular order of appearance for each information element in a message. The code values of the information element identifier for the variable length formats are assigned in ascending numerical order, according to the actual order of appearance of each information element in a message. This allows the receiving equipment to detect the presence or absence of a particular information element without scanning through the entire message.
+
+Single octet information elements may appear at any point in the message. Two types of single octet have been defined. Type 1 elements provide the information element identification in bit positions 7, 6, 5. The value “010” in these bit positions is reserved for Type 2 single octet elements.
+
+Where the description of information elements in this Recommendation contains spare bits, these bits are indicated as being set to “0”. In order to allow compatibility with future implementation, messages should not be rejected simply because a spare bit is set to “1”. Spare bits shall be sent set to “0” and not interpreted upon reception.
+
+TABLE 11-10/X.45
+Information element identifier coding
+
+| 8765 4321 | References | Max length (octets) (Note 1) |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------|------------------------------------|
+| 0 : : : : : : : : Variable length information elements | | |
+| 000 1000 Cause (Note 2) | 11.2.4.7 | 32 |
+| 001 1010 My VC identifier | 11.2.4.4 | 5 |
+| 001 1011 Your VC identifier | 11.2.4.5 | 5 |
+| 100 0010 End-to-end transit delay | 11.2.4.22 | 11 |
+| 100 0011 Transit delay selection and indication | 11.2.4.19 | 5 |
+| 100 0100 Packet layer binary parameters | 11.2.4.13 | 3 |
+| 100 0110 Packet size | 11.2.4.9 | 4 |
+| 100 0111 Closed user group | 11.2.4.11 | 7 |
+| 100 1010 Reverse charging / Charging information | 11.2.4.12 | (Note 3) |
+| 100 1011 VC-layer bound | 11.2.4.6 | 6 |
+| 100 1110 Throughput | 11.2.4.10 | 12 |
+| 100 1111 Protection | 11.2.4.24 | 255 |
+| 101 0000 X.213 priority | 11.2.4.23 | 8 |
+| 110 1100 Calling party number | 11.2.4.3 | (Note 3) |
+| 110 1101 Calling party subaddress | 11.2.4.20 | 23 |
+| 111 0000 Called party number | 11.2.4.2 | (Note 3) |
+| 111 0001 Called party subaddress | 11.2.4.21 | 23 |
+| 111 0010 NUI selection | 11.2.4.14 | (Note 3) |
+| 111 0100 Redirecting number | 11.2.4.17 | (Note 3) |
+| 111 0101 Called line address modified notification | 11.2.4.18 | 4 |
+| 111 0111 Call deflection selection | 11.2.4.16 | (Note 3) |
+| 111 1000 Transit network selection (Note 2) | 11.2.4.15 | (Note 3) |
+| 111 1110 User-user | 11.2.4.8 | 131 |
+| All other values are reserved. | | |
+| NOTE 1 – The length limits described for the variable length information elements below take into account only the present ITU-T standardised coding values (Future enhancements and expansions to this Recommendation may not be restricted to these limits). | | |
+| NOTE 2 – This information element may be repeated. | | |
+| NOTE 3 – The maximum length is network dependent. | | |
+
+The second octet of a variable length information element indicates the total length of the contents of that information element regardless of the coding of the first octet (i.e. the length starting with octet 3). It is the binary coding of the number of octets of the contents, with bit 1 as the least significant bit ( $2^0$ ).
+
+An optional variable-length information element may be present, but empty. For example a *call request* message may contain a called party number information element, the content of which is of zero length. This should be interpreted by the receiver as equivalent to that information element being absent. Similarly, an absent information element should be interpreted by the receiver as equivalent to that information element being empty.
+
+The following rules apply to the coding of variable length information elements (octets 3, etc.):
+
+- a) The first digit in the octet number identifies one octet or a group of octets.
+- b) Each octet group is a self contained entity. The internal structure of an octet group may be defined in alternative ways.
+
+- c) An octet group is formed by using some extension mechanism. The preferred extension mechanism is to extend an octet (N) through the next octet(s) (Na, Nb, etc.) by using bit 8 in each octet as an extension bit. The bit value "0" indicates that the octet continues through the next octet. The bit value "1", indicates that this octet is the last octet. If one octet (Nb) is present, also the preceding octets (N and Na) must be present.
+
+In the format description appearing in 11.2.4.2 etc., bit 8 is marked "0/1 ext.", if another octet follows. Bit 8 is marked "1 ext.", if this is the last octet of the extension domain.
+
+Additional octets may be defined later ("1 ext." changed to "0/1 ext.") and equipments shall be prepared to receive such additional octets although the equipment need not be able to interpret or act upon the content of these octets.
+
+- d) In addition to the extension mechanism defined above, an octet (N) may be extended through the next octet(s) (N1, N2 etc.) by indications in bits 7-1 (of octet N).
+- e) The mechanisms in c) and d) may be combined. Mechanism c) shall take priority in the ordering, such that all octets Na, Nb, etc. shall occur before octets N1, N2, etc. This rule shall apply even where the extension to octets N1, N2, etc., is indicated in one of the octet Na, Nb, etc.
+- f) Similar conventions even when mechanism d) is being repeated, i.e. octets N.1 shall occur before octets N.1.1, N.1.2, etc.
+- g) Optional octets are marked with asterisks (\*).
+
+NOTE 1 – It is not possible to use mechanism c) repeatedly, i.e. it is not possible to construct an octet 4a as this would become octet 4b.
+
+NOTE 2 – Protocol designers should exercise care in using multiple extension mechanism to ensure that a unique interpretation of the resultant is possible.
+
+NOTE 3 – For a number of information elements there is a field that defines the coding standard. When the coding standard defines a national standard, it is recommended that the national standard be structured similar to the information element defined in this Recommendation.
+
+#### 11.2.4.2 Called party number
+
+The purpose of the called party number information element is to identify the called party of a call.
+
+The called party number information element is coded as shown in Figure 11-5 and Table 11-11.
+
+The maximum length of this information element is network dependent.
+
+
+
+| Bits | | | | | | | | Octets |
+|----------------------------------------|--------------------------------|---|---|-------------------------------|---|---|---|---------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Called party number | | | | | | | | 1 |
+| 0 | 1 | 1 | 1 | 0 | | 0 | 0 | |
+| Information element identifier | | | | | | | | 2 |
+| Length of called party number contents | | | | | | | | |
+| 1 ext. | Type of number | | | Numbering plan identification | | | | 3 |
+| 0 spare | Number digits (T50 characters) | | | | | | | 4, etc. |
+
+FIGURE 11-5/X.45
+
+##### Called party number information element
+
+TABLE 11-11/X.45
+**Called party number information element**
+
+| | | |
+|---------------------------------------------------------------------------------------------------------------|--|--------------------------------------------------------------|
+| Type of number (octet 3) | | |
+| Bits | | |
+| 7 6 5 | | |
+| 0 0 0 | | Unknown => network dependent number |
+| 0 0 1 | | International number |
+| 0 1 0 | | National number |
+| 0 1 1 | | Network specific number (for private use only) |
+| 1 0 0 | | Complementary address without main address/subscriber number |
+| 1 0 1 | | Alternative address |
+| 1 1 1 | | Reserved for extension |
+| Other values | | Reserved |
+| Numbering plan (octet 3) | | |
+| Bits | | |
+| 4 3 2 1 | | |
+| 0 0 0 0 | | Unknown => network dependent number |
+| 0 0 0 1 | | Recommendation E.164 (digital) |
+| 0 0 1 0 | | Recommendation E.164 (analogue) |
+| 0 0 1 1 | | Recommendation X.121 |
+| 0 1 0 0 | | Recommendation F.69 (Telex numbering plan) |
+| 1 0 0 1 | | Private numbering plan (for private use only) |
+| 1 1 1 1 | | Reserved for extension |
+| Other values | | Reserved |
+| Numbering plan when interpreted as the alternative address coding authority (octet 3) | | |
+| Bits | | |
+| 4 3 2 1 | | |
+| 0 0 0 0 | | Mnemonic address coded as per Recommendation T.50 (IA5) |
+| 0 0 0 1 | | OSI NSAP address as per ITU-T Rec. X.213 ISO/IEC 8348 |
+| 0 0 1 0 | | MAC address as per ISO/IEC 8802 |
+| 0 0 1 1 | | Internet address coded per RFC 1166 |
+| Other values | | Reserved |
+| Number digits (octets 4, etc.) | | |
+| This field is coded with T50 characters, according to the format specified in the appropriate numbering plan. | | |
+
+#### 11.2.4.3 Calling party number
+
+The purpose of the calling party number information element is to identify the origin of a call.
+
+The calling party number information element is coded as shown in Figure 11-6 and Table 11-12.
+
+The maximum length of this information element is network dependent
+
+
+
+| | | | | | | | | |
+|-----------------------------------------|---|--------------------------------|---|---|-------------------------------|---|---|----------|
+| Bits | | | | | | | | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | Octets |
+| Calling party number | | | | | | | | |
+| 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
+| Information element identifier | | | | | | | | |
+| Length of calling party number contents | | | | | | | | 2 |
+| 1 ext. | | Type of number | | | Numbering plan identification | | | 3 |
+| 0 spare | | Number digits (T50 characters) | | | | | | 4*, etc. |
+
+FIGURE 11-6/X.45
+Calling party number information element
+
+TABLE 11-12/X.45
+Calling party number information element
+
+| | | | | |
+|---------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|--|--|--|
+| Type of number (octet 3) | | | | |
+| Bits | | | | |
+| 7 6 5 | | | | |
+| 0 0 0 | Unknown => network dependent number | | | |
+| 0 0 1 | International number | | | |
+| 0 1 0 | National number | | | |
+| 0 1 1 | Network specific number (for private use only) | | | |
+| 1 0 0 | Complementary address without main address/subscriber number | | | |
+| 1 1 1 | Reserved for extension | | | |
+| Other values | Reserved | | | |
+| Numbering plan (octet 3) | | | | |
+| Bits | | | | |
+| 4 3 2 1 | | | | |
+| 0 0 0 0 | Unknown => network dependent number | | | |
+| 0 0 0 1 | Recommendation E.164 (digital) | | | |
+| 0 0 1 0 | Recommendation E.164 (analogue) | | | |
+| 0 0 1 1 | Recommendation X.121 | | | |
+| 0 1 0 0 | Recommendation F.69 (Telex numbering plan) | | | |
+| 1 0 0 1 | Private numbering plan (private use only) | | | |
+| 1 1 1 1 | Reserved for extension | | | |
+| Other values | Reserved | | | |
+| Number digits (octets 4, etc.) | | | | |
+| This field is coded with T50 characters, according to the format specified in the appropriate numbering plan. | | | | |
+
+#### **11.2.4.4 My VC identifier**
+
+The purpose of the My VC-identifier information element is to convey to the peer entity the virtual circuit identifier that the peer entity has to use in the transmission direction.
+
+The My VC-identifier information element is coded as shown in Figure 11-7 and Table 11-13. The maximum length of this information element is 5 octets.
+
+| Bits | | | | | | | | Octets |
+|------------------------------------------------------|---|---|---|---|---|---|---|--------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| My VC identifier | | | | | | | | 1 |
+| 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | |
+| Information element identifier | | | | | | | | |
+| Length of My VC-identifier contents | | | | | | | | 2 |
+| My VC identifier (Most significant 8 bits) | | | | | | | | 3 |
+| My VC identifier (Second most significant 8 bits) | | | | | | | | 4 |
+| My VC identifier (Third most significant 8 bits) | | | | | | | | 5 |
+
+FIGURE 11-7/X.45
+**My VC-identifier information element**
+
+TABLE 11-13/X.45
+**My VC-identifier information element**
+
+| |
+|---------------------------------------------|
+| My VC identifier (octets 3, 4 and 5) |
+| My VC-identifier is coded in binary. |
+
+#### 11.2.4.5 Your VC identifier
+
+The purpose of the Your VC-identifier information element is to convey to the peer entiy the virtual circuit identifier that the entity has to use in the transmission direction.
+
+The Your VC-identifier information element is coded as shown in Figure 11-8 and Table 11-14. The maximum length of this information element is 5 octets.
+
+| Bits | | | | | | | | Octets |
+|--------------------------------------------------------|---|---|---|---|---|---|---|--------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Your VC identifier | | | | | | | | 1 |
+| 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | |
+| Information element identifier | | | | | | | | |
+| Length of Your VC-identifier contents | | | | | | | | 2 |
+| Your VC identifier (Most significant 8 bits) | | | | | | | | 3 |
+| Your VC identifier (Second most significant 8 bits) | | | | | | | | 4 |
+| Your VC identifier (Third most significant 8 bits) | | | | | | | | 5 |
+
+FIGURE 11-8/X.45
+**Your VC-identifier information element**
+
+TABLE 11-14/X.45
+**Your VC-identifier information element**
+
+| |
+|-----------------------------------------------|
+| Your VC identifier (octets 3, 4 and 5) |
+| Your VC identifier is coded in binary. |
+
+#### 11.2.4.6 VC-layer bound
+
+The purpose of the VC-layer bound information element is to convey to the peer entity the rank of the first segment that the entity is not ready to accept in reception for this virtual circuit.
+
+The VC-layer bound information element is coded as shown in Figure 11-9 and Table 11-15. The maximum length of this information element is 6 octets.
+
+| Bits | | | | | | | | Octets |
+|-------------------------------------------------------------------------|---|---|---|---|---|---|---|-----------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| VC-layer bound | | | | | | | | 1 |
+| 0 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | |
+| Information element identifier | | | | | | | | 2 |
+| Length of VC-layer bound contents | | | | | | | | |
+| VC-layer bound (Most significant 8 bits) | | | | | | | | 3 |
+| VC-layer bound (Second most significant 8 bits) | | | | | | | | 4 |
+| VC-layer bound (Third most significant 8 bits) | | | | | | | | 5* (Note) |
+| VC-layer bound (Least significant or second most significant 8 bits) | | | | | | | | 6* (Note) |
+
+NOTE – Octet 5\* and 6\* are both included when the extended format is used.
+
+FIGURE 11-9/X.45
+VC-layer bound information element
+
+TABLE 11-15/X.45
+VC-layer bound information element
+
+| |
+|------------------------------------------------|
+| VC-layer bound (octets 3, 4, 5* and 6*) |
+| VC-layer bound is coded in binary. |
+
+#### 11.2.4.7 Cause
+
+The purpose of the cause information element is to describe the reason for generating certain messages, to provide diagnostic information in the event of procedural errors and to indicate the location of the cause originator.
+
+The Cause information element is coded as shown in Figure 11-10 and Table 11-16. The maximum length of this information element is 32 octets.
+
+
+
+| | | | | | | | | |
+|--------------------------------|--------------------|---|------------|----------|---|---|---|--------|
+| Bits | | | | | | | | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | Octets |
+| Cause | | | | | | | | |
+| 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
+| Information element identifier | | | | | | | | |
+| Length of cause contents | | | | | | | | 2 |
+| 0/1 ext. | Coding standard | | 0 Spare | Location | | | | 3 |
+| 1 ext. | Recommendation | | | | | | | 3a |
+| 1 ext. | Cause value | | | | | | | 4 |
+| Diagnostic if any | | | | | | | | 5* |
+
+FIGURE 11-10/X.45
+Cause information element
+
+TABLE 11-16/X.45
+Cause information element
+
+| | |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|
+| Coding standard (octet 3) | |
+| Bits | |
+| 7 6 | |
+| 0 0 | ITU-T-standardised coding, as described below |
+| 0 1 | ISO/IEC standard (see Note 1) |
+| 1 0 | National standard (see Note 1) |
+| 1 1 | Standard specific to identified location (see Note 1) |
+| NOTE 1 – These other coding standards should be used only when the desired cause value cannot be represented with the ITU-T-standardised coding. | |
+| Location (octet 3) | |
+| Bits | |
+| 4 3 2 1 | |
+| 0 0 0 0 | DTE |
+| 0 0 0 1 | Private network serving the local DTE |
+| 0 0 1 0 | Public network serving the local DTE |
+| 0 0 1 1 | Transit network |
+| 0 1 0 0 | Public network serving the remote DTE |
+| 0 1 0 1 | Private network serving the remote DTE |
+| 0 1 1 1 | International network |
+| 1 0 1 0 | Network beyond interworking point |
+| All other values are reserved. | |
+| NOTE 2 – In case the same public (respectively private) network is serving both local and remote DTEs, then the network use only public (respectively private) network serving the local DTE value. | |
+| Recommendation (octet 3a) | |
+| Bits | |
+| 7 6 5 4 3 2 1 | |
+| 0 0 0 0 0 0 0 | Q.931 |
+| 0 0 0 0 0 1 1 | X.21 |
+| 0 0 0 0 1 0 0 | X.25 |
+| 0 0 0 0 1 0 1 | Public land mobile networks, Recommendations Q.1031 and Q.1051 |
+| 0 0 0 0 1 1 0 | X.45 |
+| All other values are reserved. | |
+| NOTE 3 – When required, this octet may be generated/processed at the interworking point if call clearing is initiated by/propagated to a “non-X.45” entity. | |
+| Cause value (octet 4) | |
+| When in Recommendation (octet 3a) either Recommendation X.25 or Recommendation X.45 is referred to, it implies that bits 7 to 1 are coded as bit 7 to 1 in Table 5-6/X.25. | |
+| Diagnostics (octet 5) | |
+| When in Recommendation (octet 3a), Recommendation X.25 is referred to, this field is coded as described in Annex E/X.25. | |
+| When in Recommendation (octet 3a), Recommendation X.45 is referred to, this field is coded as follows : | |
+| 8 7 6 5 4 3 2 1 | |
+| 0 0 0 0 0 0 0 0 | No additional information |
+| All other values are reserved and their use is for further study. | |
+
+#### 11.2.4.8 User-user
+
+The purpose of the user-user information element is to convey information between DTEs. This information is not interpreted by the network but is rather carried transparently and delivered to the remote DTE.
+
+The user-user information element is coded as shown in Figure 11-11 and Table 11-17. There are no restrictions on the content of the user information field.
+
+The maximum length of this information element is 131 octets.
+
+
+
+| Bits | | | | | | | | Octets |
+|--------------------------------|---|---|---|---|---|---|---|---------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| User-user | | | | | | | | 1 |
+| 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | |
+| Information element identifier | | | | | | | | 2 |
+| Length of user-user contents | | | | | | | | |
+| Protocol discriminator | | | | | | | | 3 |
+| User information | | | | | | | | 4, etc. |
+
+FIGURE 11-11/X.45
+User-user information element
+
+TABLE 11-17/X.45
+User-user information element
+
+| | |
+|-----------------------------------------|------------------------|
+| Protocol discriminator (octet 3) | |
+| Bits | |
+| 8 7 6 5 4 3 2 1 | |
+| 0 0 0 0 0 0 0 0 | User-specific protocol |
+| Other values | Reserved |
+
+#### 11.2.4.9 Packet size
+
+The purpose of the packet size information element is to indicate requested packet size values to be used for the virtual circuit. The values are encoded log 2. The packet size must be greater or equal to 64 octets.
+
+The packet size information element is coded as shown in Figure 11-12.
+
+The length of this information element is 4 octets.
+
+| Bits | | | | | | | | Octets |
+|--------------------------------|--------------------------------|---|---|---|---|---|---|--------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Packet size | | | | | | | | 1 |
+| 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | |
+| Information element identifier | | | | | | | | 2 |
+| Length of packet size contents | | | | | | | | |
+| 1 ext. | Forward value (Notes 1 and 2) | | | | | | | 3 |
+| 1 ext. | Backward value (Notes 1 and 2) | | | | | | | 4 |
+
+NOTE 1 – 000 0000 is reserved.
+
+NOTE 2 – The term “forward” is defined in the direction from calling DTE to called DTE. The term “backward” is defined in the direction from called DTE to calling DTE.
+
+FIGURE 11-12/X.45
+Packet size information element
+
+#### 11.2.4.10 Throughput
+
+The purpose of the throughput information element is to indicate requested throughput for the virtual circuit.
+
+The throughput information element is coded as shown in Figure 11-13 and Table 11-18. The maximum length of this information element is 12 octets.
+
+| Bits | | | | | | | | Octets | | | |
+|--------------------------------|-----------------------------|---|---|---|---------------------|---|---|-----------------|--|--|--|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | | | |
+| Throughput | | | | | | | | 1 | | | |
+| 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | | | | |
+| Information element identifier | | | | | | | | (Note 1) | | | |
+| Length of throughput contents | | | | | | | | 2 | | | |
+| Throughput | | | | | | | | 3* | | | |
+| 0 ext. | 0 | 0 | 0 | 1 | 0 | 1 | 0 | (Note 2) | | | |
+| 0 ext. | Outgoing magnitude | | | | Outgoing multiplier | | | 3a* | | | |
+| 0/1 ext. | Outgoing multiplier (cont.) | | | | | | | 3b* | | | |
+| 0 ext. | Incoming magnitude | | | | Incoming multiplier | | | 3c* | | | |
+| 1 ext. | Incoming multiplier (cont.) | | | | | | | 3d* | | | |
+| Minimum acceptable throughput | | | | | | | | 4* | | | |
+| 0 ext. | 0 | 0 | 0 | 1 | 0 | 1 | 1 | (Notes 3 and 4) | | | |
+| 0 ext. | Outgoing magnitude | | | | Outgoing multiplier | | | 4a* (Note 4) | | | |
+| 0/1 ext. | Outgoing multiplier (cont.) | | | | | | | 4b* (Note 4) | | | |
+| 0 ext. | Incoming magnitude | | | | Incoming multiplier | | | 4c* (Note 4) | | | |
+| 1 ext. | Incoming multiplier (cont.) | | | | | | | 4d* (Note 4) | | | |
+
+NOTE 1 – The throughput and minimal acceptable throughput are optional. When the throughput is not included, network default value will be used. The term “outgoing” is defined in the direction from calling DTE to called DTE. The term “incoming” is defined in the direction from called DTE to calling DTE.
+
+NOTE 2 – When octet 3 is present, octets 3a and 3b shall also be present. Additionally, octet groups 3c and 3d may also be included.
+
+NOTE 3 – When octets 4 is present, octets 4a and 4b shall also be present. Additionally octet groups 4c and 4d may also be included.
+
+NOTE 4 – Included only in the *call request* message.
+
+FIGURE 11-13/X.45
+Throughput information element
+
+TABLE 11-18/X.45
+
+##### **Throughput information element**
+
+*Throughput (octets 3, 3a, 3b, 3c and 3d)*
+
+The purpose of the throughput field is to negotiate the throughput for the call.
+
+This field, when present in the call request message, indicates requested throughput, which is the lesser of the throughput requested by the calling DTE and throughput available from the network(s), but is not less than the minimum acceptable throughput. When present in the call confirmation message, it indicates the agreed throughput, which is the throughput acceptable to the calling DTE, the called DTE and the network(s).
+
+If the throughput is asymmetrical (i.e. the values in the incoming and outgoing directions are different), octets 4a and 4b indicate throughput in the outgoing direction (from the calling DTE) and octets 4c and 4d indicate throughput in the incoming direction (to the calling DTE). If the throughput is symmetrical, octets 4a and 4b indicate throughput in both directions, and octets 4c and 4d are absent.
+
+Throughput is expressed as an order of magnitude (in powers of 10) and a three significant digit multiplier, the value of which is between 0.100 and 0.999. For example, a rate of 1920 kbit/s is expressed as $0.192 \times 10^7$ .
+
+*Magnitude (octets 3a and 3c)*
+
+This field indicates the magnitude of the throughput. This is expressed as a power of 10.
+
+Bits
+
+7 6 5 4
+
+| | |
+|---------|-----------|
+| 0 0 0 0 | $10^0$ |
+| 0 0 0 1 | $10^1$ |
+| 0 0 1 0 | $10^2$ |
+| 0 0 1 1 | $10^3$ |
+| 0 1 0 0 | $10^4$ |
+| 0 1 0 1 | $10^5$ |
+| 0 1 1 0 | $10^6$ |
+| 0 1 1 1 | $10^7$ |
+| 1 0 0 0 | $10^8$ |
+| 1 0 0 1 | $10^9$ |
+| 1 0 1 0 | $10^{10}$ |
+| 1 0 1 1 | $10^{11}$ |
+| 1 1 0 0 | $10^{12}$ |
+| 1 1 0 1 | $10^{13}$ |
+| 1 1 1 0 | $10^{14}$ |
+
+All other values are reserved.
+
+*Multiplier (octets 3a, 3b, 3c and 3d)*
+
+This field encodes in binary the equivalent integer to the first three significant digits of the multiplier expressed as a floating number. This means that value of the multiplier is between 0.100 and 0.999, but is coded as 100 up to 999 (hexadecimal: 64 up to 3E7). As an example 1920 kbit/s will be coded as $0.192 \times 10^7$ , magnitude: hexadecimal 7, multiplier: hexadecimal C0.
+
+*Minimum acceptable throughput*
+
+The purpose of the minimum acceptable throughput field is to negotiate the throughput for the call. Minimum acceptable throughput is the lowest throughput value that the calling user is willing to accept for the call. If the network or the called user is unable to support this throughput, the call shall be cleared.
+
+This field which is present only in the call request message, is carried unchanged through the network(s). Its value may not be greater than the requested throughput.
+
+If the minimum acceptable throughput is asymmetrical (i.e. the values in the incoming and outgoing directions are different) octets 4a and 4b indicate minimum acceptable throughput in the outgoing direction (from the calling DTE) and octets 4c and 4d indicate minimum acceptable throughput in the incoming direction (to the calling DTE). If the minimum acceptable throughput is symmetrical, octets 4a and 4b indicate throughput in both directions, and octets 4c and 4d are absent.
+
+Minimum acceptable throughput is expressed as an order of magnitude (in powers of 10) and a three significant digits multiplier, the value of which is between 0.100 and 0.999. For example, a rate of 1920 kbit/s is expressed as $0.192 \times 10^7$ .
+
+*Magnitude (octets 4a and 4c)*
+
+Same as octets 3a and 3c coding.
+
+*Multiplier (octets 4a, 4b, 4c and 4d)*
+
+Same as octets 3a, 3b, 3c and 3d coding.
+
+#### 11.2.4.11 Closed user group
+
+The purpose of the closed user group information element is to indicate the closed user group to be used for that virtual circuit.
+
+The closed user group information element is coded as shown in Figure 11-14 and Table 11-19.
+
+The maximum length of this information element is 7 octets.
+
+| Bits | | | | | | | | Octets |
+|--------------------------------------|---------------------------------|---|---|---|----------------|---|---|---------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Closed user group | | | | | | | | 1 |
+| 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | |
+| Information element identifier | | | | | | | | |
+| Length of closed user group contents | | | | | | | | 2 |
+| 1 | 0 | 0 | 0 | 0 | CUG indication | | | 3 |
+| ext. | Spare | | | | | | | |
+| 0 | CUG index code (T50 characters) | | | | | | | 4, etc. |
+| spare | | | | | | | | |
+
+FIGURE 11-14/X.45
+**Closed user group information element**
+
+TABLE 11-19/X.45
+**Closed user group information element**
+
+| | |
+|------------------------------------------------------------------------|----------------------------------------|
+| CUG indication (octet 3) | |
+| Bits | |
+| 3 2 1 | |
+| 0 0 1 | Closed user group |
+| 0 1 0 | Closed user group with outgoing access |
+| All other values are reserved. | |
+| CUG index code (octet 4 etc.) | |
+| Bits | |
+| 7 6 5 4 3 2 1 | |
+| 0 1 1 0 0 0 0 | 0 |
+| 0 1 1 0 0 0 1 | 1 |
+| 0 1 1 0 0 1 0 | 2 |
+| 0 1 1 0 0 1 1 | 3 |
+| 0 1 1 0 1 0 0 | 4 |
+| 0 1 1 0 1 0 1 | 5 |
+| 0 1 1 0 1 1 0 | 6 |
+| 0 1 1 0 1 1 1 | 7 |
+| 0 1 1 1 0 0 0 | 8 |
+| 0 1 1 1 0 0 1 | 9 |
+| The CUG index code should be represented by up to four T50 characters. | |
+
+#### 11.2.4.12 Reverse charging / Charging information
+
+The purpose of the reverse charging / Charging information information element is to indicate that reverse charging and/or charging information have been requested for that virtual circuit, and to provide charging information for that virtual circuit being cleared.
+
+The reverse charging / charging information information element is coded as shown in Figure 11-15 and Table 11-20.
+
+The maximum length of this information element is network dependent.
+
+| Bits | | | | | | | | Octets |
+|------------------------------------------------------------|---|---|---|----------------|--------------------------------|---|---|-----------------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Reverse charging / Charging information | | | | | | | | 1 |
+| 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | |
+| Information element identifier | | | | | | | | 2 |
+| Length of reverse charging / Charging information contents | | | | | | | | |
+| 1 ext. | 0 | 0 | 0 | Charg. inf. | Reverse charging Indication | | | 3 |
+| Monetary unit | | | | | | | | 4* |
+| 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | |
+| Length of charging | | | | | | | | 5* |
+| Charging | | | | | | | | 6*, etc. |
+| Charging segment count | | | | | | | | l* |
+| 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | |
+| Length of charging segment counts | | | | | | | | l + 1* |
+| Charging segment counts | | | | | | | | l + 2*, etc. |
+| Call duration | | | | | | | | m* |
+| 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | |
+| Length of call duration | | | | | | | | m + 1* |
+| Call durations | | | | | | | | m + 2*, etc. |
+
+FIGURE 11-15/X.45
+
+##### Reverse charging / Charging information information element
+
+TABLE 11-20/X.45
+
+##### **Reverse charging / Charging information information element**
+
+| | |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------|
+| Charging information (octet 3) | |
+| Bit | |
+| 4 | |
+| 0 | Charging information not requested / no meaning |
+| 1 | Charging information requested |
+| Reverse charging indication (octet 3) | |
+| Bits | |
+| 3 2 1 | |
+| 0 0 0 | Reverse charging not requested/no meaning |
+| 0 0 1 | Reverse charging requested |
+| All other values are reserved. | |
+| Charging (octets 6, etc.) | |
+| The coding of this parameter is for further study. | |
+| Charging segment counts [octets (l + 2), etc.] | |
+| This parameter has a length of $n \times 8$ where n is the number of different tariff periods managed by the network. | |
+| For each tariff period, the first four octets of the facility indicate the number of charging segments sent to the DTE. The following four octets indicate the number of charging segments received from the DTE. | |
+| Each digit is coded in a semi-octet in binary coded decimal and bit 1 or bit 5 of each semi-octet is the low order bit of each digit and bits 4 to 1 of the last octet represent the lowest order digit of the charging segment count. | |
+| Charging segment size and the specific packet types to be counted are a matter of the Administration in the case of national calls and are specified in Recommendation D.12 for international calls. | |
+| NOTE 1 – The relationship between a particular tariff period and its place in the parameter field is a national matter. The order is given by each Administration. | |
+| Call durations [octets (m + 2), etc.] | |
+| This parameter has a length of $n \times 4$ where n is the different tariff periods managed by the network. | |
+| For each tariff period, the first octet of the parameter indicates number of days, the second indicates number of hours, the third indicates number of minutes and the fourth indicates number of seconds. Each digit is coded in a semi-octet in binary coded decimal and bit 1 or bit 5 of each semi-octet is the low order bit of each digit. Bits 4 to 1 of each octet represent the low order digit. | |
+| NOTE 2 – The relationship between a particular tariff period and its place in the parameter field is a national matter. The order is given by each Administration. | |
+
+#### 11.2.4.13 Packet layer binary parameters
+
+The purpose of the packet layer binary parameters information element is to indicate requested layer 3 parameter values to be used for that virtual circuit.
+
+The packet layer binary parameters information element is coded as shown in Figure 11-16 and Table 11-21.
+
+The length of this information element is 3 octets.
+
+| Bits | | | | | | | | Octets |
+|---------------------------------------------------|---------|--------------|----------------|---|-----------|--------------|--------------|--------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Packet layer binary parameters | | | | | | | | 1 |
+| 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | |
+| Information element identifier | | | | | | | | 2 |
+| Length of packet layer binary parameters contents | | | | | | | | |
+| 1 ext. | 0 spare | n. ass. Data | Fast selection | | Exp. Data | 0 (not used) | 0 (not used) | 3 |
+
+FIGURE 11-16/X.45
+Packet layer binary parameters element
+
+TABLE 11-21/X.45
+Packet layer binary parameters information element
+
+| | | |
+|-----------------------------------|--|-------------------------------------------------------|
+| Non-assured data (octet 3) | | |
+| Bit | | |
+| 6 | | |
+| 0 | | No request/request denied |
+| 1 | | Request indicated/request accepted |
+| Fast select (octet 3) | | |
+| Bits | | |
+| 5 4 | | |
+| 0 0 | | Fast select not requested |
+| 0 1 | | Fast select not requested |
+| 1 0 | | Fast select requested with no restriction on response |
+| 1 1 | | Fast select requested with restriction on response |
+| Expedited data (octet 3) | | |
+| Bit | | |
+| 3 | | |
+| 0 | | No request/request denied |
+| 1 | | Request indicated/request accepted |
+
+#### 11.2.4.14 NUI selection
+
+The purpose of the NUI selection information element is to indicate to the network which network user identifier is to be used for the virtual circuit.
+
+The NUI selection information element is coded as shown in Figure 11-17 and Table 11-22. The maximum length of this information element is network dependent.
+
+
+
+| | | | | | | | | |
+|----------------------------------|---|---|---|------------------|---|------------------|---|----------------|
+| Bits | | | | | | | | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | Octets |
+| NUI selection | | | | | | | | |
+| 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 |
+| Information element identifier | | | | | | | | |
+| Length of NUI selection contents | | | | | | | | 2 |
+| NUI format | | V | 0 | NUI subfld. for. | | Verifying entity | | 3 |
+| Remaining octets of NUI | | | | | | | | 4, etc. |
+| ... | | | | | | | | |
+| Type | | | | 0 | 0 | 0 | 0 | i |
+| Subfield length | | | | | | | | i + 1 |
+| Subfield information | | | | | | | | i + 2 i + j |
+| ... | | | | | | | | |
+
+FIGURE 11-17/X.45
+NUI selection information element
+
+TABLE 11-22/X.45
+NUI selection element
+
+| | |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
+| NUI format (octet 3) | |
+| Bits | |
+| 8 7 | |
+| 1 1 | The remaining bits of octet 3 and the remaining octets of NUI are specified below [alternative (a)]. |
+| Other values | Neither the remaining bits of octet 3 nor the remaining octets of the NUI are constrained by this Recommendation [alternative (b)]. |
+| V(octet 3) | |
+| Bit | |
+| 6 | |
+| 0 | Only this value may be passed over an X.45 interface in the DTE to DCE direction. |
+| 1 | Left for further study. |
+| NUI subfield format (octet 3) | |
+| Bits | |
+| 4 3 | |
+| 0 0 | First subfield conforms to Recommendation E.118 and ISO 7812 (Note) |
+| 0 1 | No constraints on remaining octets of NUI |
+| 1 0 | Subfield format; no subfield information constraints (Note) |
+| 1 1 | Reserved |
+| NOTE – The remaining octets of NUI are divided into m subfields ( m greater or equal to 1), where each subfield is defined as described in Figure 11-17 from octet (i) to octet (i + j). | |
+| Verifying entity (octet 3) | |
+| Bits | |
+| 2 1 | |
+| 0 0 | Originating network, i.e. the network in which the call request phase is initiated |
+| 0 1 | Destination network, i.e. the network in which the call confirmation phase is initiated |
+| 1 0 | First transit network |
+| 1 1 | Other/not specified |
+| Type (octet i) | |
+| Bits | |
+| 8 7 6 5 | |
+| 1 1 0 1 | BCD semi octet |
+| 1 1 0 0 | IA5 (T50) with bit 8 = 0 |
+| 1 1 1 0 | Reserved for national use |
+| 1 1 1 1 | Network specific format |
+| Other values | For future definition |
+| Subfield length (octet i + 1) | |
+| Subfield length is the number of semi-octets of information in the subfield, and is encoded in binary. | |
+| For Type = 1101 (BCD), subfield length may be even or odd value. | |
+| Subfield information (octet i + 2 to octet i + j) | |
+| For Type = 1101 (BCD), an integral number of octets will be assured by inserting zeros in bits 4, 3, 2 and 1 of the last octet of the subfield when necessary. | |
+
+The DCE must be able to recognise and distinguish between the two format alternatives [(a) and (b)] specified above, but the network need not support both alternatives nor all of the format options specified for alternative (a) (if that alternative is supported). Support refers to the ability to accept and/or verify/use the NUI format alternative or option in question.
+
+A network may change the value of the V-bit received from a DTE to 1 only if it is the verifying entity. A network receiving a NUI value with the verifying entity bits set to “11” (other/not specified) may change the value of the verifying entity bits to one of the three specified values (and, depending on the value inserted, designate itself as the verifying entity). Other changes to the received value of the verifying entity bits are not permitted.
+
+#### **11.2.4.15 Transit network selection**
+
+The purpose of the Transit network selection information element is to identify one requested transit network. The Transit network selection information element may be repeated in a message to select a sequence of transit networks through which a virtual circuit must pass.
+
+The transit network selection information element is coded as shown in Figure 11-18 and Table 11-23. The maximum length of this information element is network dependent.
+
+
+
+| | | | | | | | | |
+|----------------------------------------------|-----------------------------------------|---|---|-----------------------------|---|---|---|---------|
+| Bits | | | | | | | | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | Octets |
+| Transit network selection | | | | | | | | |
+| 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 |
+| Information element identifier | | | | | | | | |
+| Length of transit network selection contents | | | | | | | | 2 |
+| 1 ext. | Type of network identification | | | Network identification plan | | | | 3 |
+| 0 spare | Network identification (T50 characters) | | | | | | | 4, etc. |
+
+FIGURE 11-18/X.45
+**Transit network selection information element**
+
+TABLE 11-23/X.45
+**Transit network selection information element**
+
+| | |
+|-------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
+| Type of network identification (octet 3) | |
+| Bits | |
+| 7 6 5 | |
+| 0 1 1 | International network identification |
+| Other values | Reserved |
+| Network identification plan (octet 3) | |
+| Bits | |
+| 4 3 2 1 | |
+| 0 0 0 1 | ISDN Network identification code (Recommendation E.164) |
+| 0 0 1 1 | Data network identification code (Recommendation X.121) |
+| Other values | Reserved |
+| Network identification (octets 4, etc.) | |
+| These T50 characters are organised according to the network identification plan specified in octet 3. | |
+
+#### 11.2.4.16 Call deflection selection
+
+The call deflection selection information element is used by the called DTE in the *disconnect request* message only in direct response to a *call request* message to specify the alternate DTE address to which the call is to be deflected.
+
+The call deflection selection information element is coded as shown in Figure 11-19 and Table 11-24. The maximum length of this information element is network dependent.
+
+
+
+| | | | | | | | | | | | | |
+|----------------------------------------------|--------------------------------|-----------------------|---|-------------------------------|---|---|---|---------|--|--|--|--|
+| Bits | | | | | | | | Octets | | | | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | | | | |
+| Call deflection selection | | | | | | | | 1 | | | | |
+| 0 | 1 | 1 | 1 | 0 | 1 | 1 | 1 | | | | | |
+| Information element identifier | | | | | | | | 2 | | | | |
+| Length of call deflection selection contents | | | | | | | | | | | | |
+| 1 ext. | Type of number | | | Numbering plan identification | | | | 3 | | | | |
+| 1 ext. | 0 spare | Reason for deflection | | | | | | 4 | | | | |
+| 0 spare | Number digits (T50 characters) | | | | | | | 5, etc. | | | | |
+
+FIGURE 11-19/X.45
+Call deflection selection information element
+
+TABLE 11-24/X.45
+Call deflection selection information element
+
+| | | | | |
+|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|--|--|--|
+| Type of number (octet 3) | | | | |
+| Bits | | | | |
+| 7 6 5 | | | | |
+| 0 0 0 | Unknown => network dependent number | | | |
+| 0 0 1 | International number | | | |
+| 0 1 0 | National number | | | |
+| 0 1 1 | Network specific number (for private use only) | | | |
+| 1 0 0 | Complementary address without main address/subscriber number | | | |
+| 1 0 1 | Alternative address | | | |
+| 1 1 1 | Reserved for extension | | | |
+| Other values | Reserved | | | |
+| Numbering plan (octet 3) | | | | |
+| Bits | | | | |
+| 4 3 2 1 | | | | |
+| 0 0 0 0 | Unknown => network dependent number | | | |
+| 0 0 0 1 | Recommendation E.164 (digital) | | | |
+| 0 0 1 0 | Recommendation E.164 (analogue) | | | |
+| 0 0 1 1 | Recommendation X.121 | | | |
+| 0 1 0 0 | Recommendation F.69 (Telex numbering plan) | | | |
+| 1 0 0 1 | Private numbering plan (for private use only) | | | |
+| 1 1 1 1 | Reserved for extension | | | |
+| Other values | Reserved | | | |
+| Numbering plan when interpreted as the alternative address coding authority (octet 3) | | | | |
+| Bits | | | | |
+| 4 3 2 1 | | | | |
+| 0 0 0 0 | Mnemonic address coded as per Recommendation T.50 (IA5) | | | |
+| 0 0 0 1 | OSI-NSAP address as per ITU-T Rec. X.213 ISO/IEC 8348 | | | |
+| 0 0 1 0 | MAC address as per ISO/IEC 8802 | | | |
+| 0 0 1 1 | Internet address coded per RFC 1166 | | | |
+| Other values | Reserved | | | |
+| Reason for deflection (octet 4) | | | | |
+| Bits | | | | |
+| 6 5 4 3 2 1 | | | | |
+| x x x x x x | Each x may be independently set to 0 or 1 by the called DTE and is passed transparently to the DTE to which the call is deflected. | | | |
+| Number digits (octets 5, etc.) | | | | |
+| This field is coded with T50 characters, according to the format specified in the appropriate numbering plan. | | | | |
+
+#### 11.2.4.17 Redirecting number
+
+The purpose of the redirecting number information element is to identify the originally called DTE and to indicate the reason for the call redirection or call deflection.
+
+The redirection number information element is coded as shown in Figure 11-20 and Table 11-25. The maximum length of this information element is network dependent.
+
+
+
+| | | | | | | | | | | | | | | |
+|---------------------------------------|--------------------------------|---|------------------|-------------------------------|---|---------------------|---|---------|--|--|--|--|--|--|
+| Bits | | | | | | | | Octets | | | | | | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | | | | | | |
+| Redirecting number | | | | | | | | 1 | | | | | | |
+| 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | | | | | | | |
+| Information element identifier | | | | | | | | | | | | | | |
+| Length of redirecting number contents | | | | | | | | | | | | | | |
+| 0 ext. | Type of number | | | Numbering plan identification | | | | 3 | | | | | | |
+| 0 ext. | Presentation indicator | | 0 | 0 | 0 | Screening indicator | | 3a | | | | | | |
+| 0 ext. | 0 | 0 | 0 | Reason for redirection | | | | 3b | | | | | | |
+| 1 ext. | 0 spare | | Reason extension | | | | | 3c* | | | | | | |
+| 0 spare | Number digits (T50 characters) | | | | | | | 4, etc. | | | | | | |
+
+FIGURE 11-20/X.45
+Redirecting number information element
+
+TABLE 11-25/X.45
+
+##### **Redirecting number information element**
+
+| | | | | |
+|------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--|--|--|
+| Type of number (octet 3) | | | | |
+| Bits | | | | |
+| 7 6 5 | | | | |
+| 0 0 0 | Unknown => network dependent number | | | |
+| 0 0 1 | International number | | | |
+| 0 1 0 | National number | | | |
+| 0 1 1 | Network specific number | | | |
+| 1 0 0 | Complementary address without main address/subscriber number | | | |
+| 1 0 1 | Alternative address | | | |
+| 1 1 1 | Reserved for extension | | | |
+| Other values | Reserved | | | |
+| Numbering plan (octet 3) | | | | |
+| Bits | | | | |
+| 4 3 2 1 | | | | |
+| 0 0 0 0 | Unknown => network dependent number | | | |
+| 0 0 0 1 | Recommendation E.164 (digital) | | | |
+| 0 0 1 0 | Recommendation E.164 (analogue) | | | |
+| 0 0 1 1 | Recommendation X.121 | | | |
+| 0 1 0 0 | Recommendation F.69 (Telex numbering plan) | | | |
+| 1 0 0 1 | Private numbering plan (for private use only) | | | |
+| 1 1 1 1 | Reserved for extension | | | |
+| Other values | Reserved | | | |
+| Presentation indicator (octet 3a) | | | | |
+| Its value is coded to binary 00 meaning Presentation allowed. Other defined code points are not used in this Recommendation. | | | | |
+| Screening indicator (octet 3a) | | | | |
+| Its value is coded to binary 01 meaning DTE provided verified and passed. Other defined code points are not used in this Recommendation. | | | | |
+| Reason for redirection (octet 3b) | | | | |
+| Bits | | | | |
+| 4 3 2 1 | | | | |
+| 0 0 0 1 | Call forwarding busy or called DTE busy | | | |
+| 0 1 1 0 | Calling DTE originated | | | |
+| 0 1 1 1 | Call distribution within a hunt group | | | |
+| 1 0 0 1 | Originally called DTE out of order | | | |
+| 1 0 1 0 | Call forwarding by the originally called DTE | | | |
+| 1 1 1 1 | Systematic call redirection | | | |
+| Reason extension (octet 3c) | | | | |
+| Bits | | | | |
+| 6 5 4 3 2 1 | | | | |
+| x x x x x x | When reason for redirection is calling DTE originated, each x may be independently set to 0 or 1 by the calling DTE and is passed transparently to the called DTE. When reason for redirection is call forwarding by the originally called DTE, the xs are those set by the originally called DTE in the call deflection selection information element | | | |
+| Number digits (octets 4, etc.) | | | | |
+| This field is coded with T50 characters, according to the format specified in the appropriate numbering plan. | | | | |
+
+#### 11.2.4.18 Called line address modified notification
+
+The purpose of the called line address modified notification information element is to indicate to the calling DTE the reason of call redirection or call deflection.
+
+The called line address modified notification information element is coded as shown in Figure 11-21 and Table 11-26. The maximum length of this information element is 4 octets.
+
+| Bits | | | | | | | | Octets |
+|--------------------------------------------------------------|---------|------------------|---|-------------|---|---|---|--------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Called line address modified notification | | | | | | | | 1 |
+| 0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 | |
+| Information element identifier | | | | | | | | 2 |
+| Length of called line address modified notification contents | | | | | | | | |
+| 0 | 0 | 0 | 0 | Reason for | | | | 3 |
+| ext. | Spare | | | redirection | | | | |
+| 1 ext. | 0 spare | Reason extension | | | | | | 3a* |
+
+FIGURE 11-21/X.45
+Called line address modified notification information element
+
+TABLE 11-26/X.45
+Called line address modified notification information element
+
+| | |
+|-----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Reason for redirection (octet 3) | |
+| Bits | |
+| 4 3 2 1 | |
+| 0 0 0 1 | Call redirection due to originally called DTE busy |
+| 0 1 1 0 | Called DTE originated |
+| 0 1 1 1 | Call distribution within a hunt group |
+| 1 0 0 1 | Call redirection due to originally called DTE out of order |
+| 1 0 1 0 | Call deflection by the originally called DTE |
+| 1 1 1 1 | Call redirection due to prior request from originally called DTE for systematic call redirection |
+| Reason extension (octet 3a) | |
+| Bits | |
+| 6 5 4 3 2 1 | |
+| x x x x x x | When reason for redirection is called DTE originated, each x may be independently set to 0 or 1 by the called DTE and is passed transparently to the calling DTE. When reason for redirection is call deflection by the originally called DTE, the xs are those set by the originally called DTE in the call deflection selection information element. |
+
+#### 11.2.4.19 Transit delay selection and indication
+
+The purpose of the transit delay selection and indication information element is to request the nominal maximum permissible transit delay applicable on a per call basis for that virtual circuit.
+
+The transit delay selection and indication information element is coded as shown in Figure 11-22 and Table 11-27. The maximum length of this information element is 5 octets.
+
+| Bits | | | | | | | | Octets | | | | | | | | |
+|-----------------------------------------------------------|------------------------------------------------------|---|---|---|---|--------------------------------------------------|---|--------|--|--|--|--|--|--|--|--|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | | | | | | | | |
+| Transit delay selection and indication | | | | | | | | 1 | | | | | | | | |
+| 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | | | | | | | | | |
+| Information element identifier | | | | | | | | 2 | | | | | | | | |
+| Length of transit delay selection and indication contents | | | | | | | | | | | | | | | | |
+| 0 ext. | 0 | 0 | 0 | 0 | 0 | Transit delay selection. and indication value | | 3 | | | | | | | | |
+| Spare | | | | | | | | 3a | | | | | | | | |
+| 0 ext. | Transit delay selection and indication value (cont.) | | | | | | | | | | | | | | | |
+| 1 ext. | Transit delay selection and indication value (cont.) | | | | | | | 3b | | | | | | | | |
+
+FIGURE 11-22/X.45
+Transit delay selection and indication information element
+
+TABLE 11-27/X.45
+Transit delay selection and indication information element
+
+| |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Transit delay selection and indication [octet 3 (bits 1-2), octets 3a and 3b] |
+| Transit delay value binary encoded in milliseconds. Bit 2 of octet 3 is the highest order bit and bit 1 of octet 3b is the lowest order bit. The transit delay value occupies 16 bits total. |
+
+#### 11.2.4.20 Calling part subaddress
+
+The purpose of the calling party subaddress information element is to identify a subaddress associated with the origin of a call.
+
+The calling part subaddress information element is coded as shown in Figure 11-23 and Table 11-28.
+
+The maximum length of this information element is 23 octets.
+
+
+
+| | | | | | | | | |
+|---------------------------------------------|--------------------|---|---|--------------------|-------|---|---|---------|
+| Bits | | | | | | | | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | Octets |
+| Calling party subaddress | | | | | | | | |
+| 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 1 |
+| Information element identifier | | | | | | | | |
+| Length of calling party subaddress contents | | | | | | | | 2 |
+| 1 | Type of subaddress | | | Odd/even indicator | 0 | 0 | 0 | 3 |
+| ext. | | | | | Spare | | | |
+| Subaddress information | | | | | | | | 4, etc. |
+
+FIGURE 11-23/X.45
+Calling party subaddress information element
+
+TABLE 11-28/X.45
+Calling party subaddress information element
+
+| | |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------|
+| Type of subaddress (octet 3) | |
+| Bits | |
+| 7 6 5 | |
+| 0 0 0 | NSAP (ITU-T Rec. X.213 ISO/IEC 8348 AD2) |
+| 0 1 0 | DTE specified |
+| Other values | Reserved |
+| Odd/even indicator (octet 3) | |
+| Bit | |
+| 4 | |
+| 0 | Even number of address signals |
+| 1 | Odd number of address signals |
+| NOTE – The odd/even indicator is used when the type of subaddress is “DTE specified” and the coding is BCD. | |
+| Subaddress information (octets 4, etc.) | |
+| The NSAP X.213 ISO/IEC 8348 AD2 address, shall be formatted as specified by octet 4 which contains the Authority and Format Identifier (AFI). The encoding is made according to the “preferred binary encoding” as defined in ITU-T Rec. X.213 ISO/IEC 8348 AD2. | |
+| For the DTE specified subaddress, each digit is coded in a semi-octet in binary coded decimal. | |
+
+#### 11.2.4.21 Called party subaddress
+
+The purpose of the called party subaddress information element is to identify the subaddress of the called party of the call. The network does not interpret this information.
+
+The called party subaddress information element is coded as shown in Figure 11-24 and Table 11-29.
+
+The maximum length of this information element is 23 octets.
+
+
+
+| | | | | | | | | | | | |
+|--------------------------------------------|--------------------|---|---|-----------|-------|---|---|---------|--|--|--|
+| Bits | | | | | | | | Octets | | | |
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | | | | |
+| Called party subaddress | | | | | | | | 1 | | | |
+| 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | | | | |
+| Information element identifier | | | | | | | | 2 | | | |
+| Length of called party subaddress contents | | | | | | | | | | | |
+| 1 | Type of subaddress | | | Odd/even | 0 | 0 | 0 | 3 | | | |
+| ext. | | | | indicator | Spare | | | | | | |
+| Subaddress information | | | | | | | | 4, etc. | | | |
+| | | | | | | | | | | | |
+
+FIGURE 11-24/X.45
+Called party subaddress information element
+
+TABLE 11-29/X.45
+Called party subaddress information element
+
+| | |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------|
+| Type of subaddress (octet 3) | |
+| Bits | |
+| 7 6 5 | |
+| 0 0 0 | NSAP (ITU-T Rec. X.213 ISO/CEI 8348 AD2) |
+| 0 1 0 | DTE specified |
+| Others values | Reserved |
+| Odd/even indicator (octet 3) | |
+| Bit | |
+| 4 | |
+| 0 | Even number of address signals |
+| 1 | Odd number of address signals |
+| NOTE – The odd/even indicator is used when the type of subaddress is “DTE specified” and the coding is BCD. | |
+| Subaddress information (octets 4, etc.) | |
+| The NSAP X.213 ISO/IEC 8348 AD2 address, shall be formatted as specified by octet 4 which contains the Authority and Format Identifier (AFI). The encoding is made according to the “preferred binary encoding” as defined in ITU-T Rec. X.213 ISO/IEC 8348 AD 2. | |
+| For the DTE specified subaddress, each digit is coded in a semi-octet in binary coded decimal. | |
+
+#### **11.2.4.22 End-to-end transit delay**
+
+The purpose of the end-to-end transit information element is to request and indicate the nominal maximum permissible transit delay applicable on a per call basis for that virtual circuit.
+
+The end-to-end transit delay information element is coded as shown in Figure 11-25 and Table 11-30. The maximum length of this information element is 11 octets.
+
+| Bits | | | | | | | | Octets |
+|-------------------------------------------------------------------------------|--------------------------------------------------|---|---|---|---|----------------------|---|----------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| End-to-end transit delay 0 1 0 0 0 0 1 0 Information element identifier | | | | | | | | 1 |
+| Length of end-to-end transit delay contents | | | | | | | | 2 |
+| 0 ext. | 0 | 0 | 0 | 0 | 0 | Cumulative transit | | 3 |
+| | Spare | | | | | delay value | | |
+| 0 ext. | Cumulative transit delay value (cont.) | | | | | | | 3a |
+| 1 ext. | Cumulative transit delay value (cont.) | | | | | | | 3b |
+| 0 ext. | 0 | 0 | 0 | 0 | 0 | Requested end-to-end | | 4* |
+| | Spare | | | | | transit delay value | | (Note 1) |
+| 0 ext. | Requested end-to-end transit delay value (cont.) | | | | | | | 4a* |
+| 1 ext. | Requested end-to-end transit delay value (cont.) | | | | | | | 4b* |
+| 0 ext. | 0 | 0 | 0 | 0 | 0 | Maximum end-to-end | | 5* |
+| | Spare | | | | | transit delay value | | (Note 2) |
+| 0 ext. | Maximum end-to-end transit delay value (cont.) | | | | | | | 5a* |
+| 1 ext. | Maximum end-to-end transit delay value (cont.) | | | | | | | 5b* |
+
+NOTE 1 – Octets 4, 4a, 4b are optional. If present, these octets are always interpreted as requested end-to-end transit delay.
+
+NOTE 2 – Octets 5, 5a, 5b are optional. If present, octets 4, 4a, 4b must also be present.
+
+FIGURE 11-25/X.45
+**End-to-end transit delay information element**
+
+TABLE 11-30/X.45
+**End-to-end transit delay information element**
+
+| |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Cumulative transit delay value [octets 3 (bits 1-2), octets 3a and 3b] Cumulative transit delay value binary encoded in milliseconds. Bit 2 of octet 3 is the highest order bit and bit 1 of octet 3b is the lowest order bit. The cumulative transit delay value occupies 16 bits total.
|
+| Requested end-to-end transit delay value [octets 4 (bits 1-2), octets 4a and 4b] Requested end-to-end transit delay value binary encoded in milliseconds. Bit 2 of octet 4 is the highest order bit and bit 1 of octet 4b is the lowest order bit. The requested end-to-end transit delay value occupies 16 bits total.
|
+| Maximum end-to-end transit delay value [octets 5 (bits 1-2), octets 5a and 5b] Maximum end-to-end transit delay value binary encoded in milliseconds. Bit 2 of octet 5 is the highest order bit and bit 1 of octet 5b is the lowest order bit. The maximum end-to-end transit delay value occupies 16 bits total.
|
+
+#### 11.2.4.23 X.213 priority
+
+The purpose of the X.213 priority information element is to allow the optional negotiation of priority for call in support of the OSI network service.
+
+The X.213 priority information element is coded as shown in Figure 11-26 and Table 11-31. The maximum length of this information element is 8 octets.
+
+| Bits | | | | | | | | Octets |
+|---------------------------------------|---|---|---|-------------------------------------------------------|---|---|---|--------------------------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| X.213 priority | | | | | | | | 1 |
+| 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |
+| Information element identifier | | | | | | | | 2 |
+| Length of the X.213 priority contents | | | | | | | | |
+| 0/1 ext. | 0 | 0 | 0 | Priority of data on a connection | | | | 3 |
+| 1 ext. | 0 | 0 | 0 | Lowest acceptable priority of data on a connection | | | | 3a* |
+| 0/1 ext. | 0 | 0 | 0 | Priority to gain a connection | | | | 4* (Notes 1 and 3) |
+| 1 ext. | 0 | 0 | 0 | Lowest acceptable priority to gain a connection | | | | 4a* |
+| 0/1 ext. | 0 | 0 | 0 | Priority to keep a connection | | | | 5* (Notes 2 and 3) |
+| 1 ext. | 0 | 0 | 0 | Lowest acceptable priority to keep a connection | | | | 5a* |
+
+NOTE 1 – Octets 4 and 4a are optional. If present, octet 3 must also be present.
+
+NOTE 2 – Octets 5 and 5a are optional. If present, octets 3 and 4 must also be present.
+
+NOTE 3 – Specification of a value in a particular octet requires that all preceding 0/1ext. octets be present although they may be considered optional; in such a case, the preceding octets would carry the value “unspecified”. A missing octet is equivalent to the value “unspecified”.
+
+FIGURE 11-26/X.45
+X.213 priority information element
+
+TABLE 11-31/X.45
+X.213 priority information element
+
+| |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| All priority parameters take a value in the range of 0 (lowest priority) to 14 (highest priority). The value 15 is to be used to indicate an “unspecified” priority value. |
+| If the subparameter(s) for all priority parameters are unspecified, then the information element is not transmitted. If the lowest acceptable is not specified, then (a) octet is omitted. |
+| All parameters are encoded as binary encoded values between 0 and 15. |
+
+#### 11.2.4.24 Protection
+
+The purpose of the protection information element is to convey security related informations including level of protection, authentication information and key information.
+
+The protection information element is coded as shown in Figure 11-27 and Table 11-32. The maximum length of this information element is 255 octets.
+
+
+
+| Bits | | | | | | | | Octets |
+|-----------------------------------------------------------|---|---|---|---|---|---|---|---------------|
+| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | |
+| Protection | | | | | | | | 1 |
+| 0 | 1 | 0 | 0 | 1 | 1 | 1 | 1 | |
+| Information element identifier | | | | | | | | |
+| Length of protection contents | | | | | | | | 2 |
+| Protection format | | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
+| Spare | | | | | | | | |
+| Length of level of protection contents (n) | | | | | | | | 4 |
+| Level of protection | | | | | | | | 5, etc. |
+| Length of lowest acceptable protection level contents (m) | | | | | | | | n + 6 |
+| Lowest acceptable protection level | | | | | | | | (n + 7), etc. |
+
+FIGURE 11-27/X.45
+Protection information element
+
+TABLE 11-32/X.45
+Protection information element
+
+| | |
+|----------------------------------------------------------------|------------------------------|
+| Protection format (octet 3) | |
+| Bits | |
+| 8 7 | |
+| 0 0 | Reserved |
+| 0 1 | Source address specific |
+| 1 0 | Destination address specific |
+| 1 1 | Globally unique |
+| Level protection (octet 5 to n + 5) | |
+| The precise field format is for further study. | |
+| Lowest acceptable protection level (octet n + 7 to n + m + 7). | |
+| The precise field format is for further study. | |
+
+## 11.3 Addressing
+
+Table 11-33 describes the possible types of address for calling party number, called party number and redirecting number information elements in *call request* message.
+
+TABLE 11-33/X.45
+
+**Type of address in call request message**
+
+| Information element | Calling DTE interface | Called DTE interface |
+|----------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
+| Calling party number | All defined values except alternative address | All defined values except alternative address and complementary address without main address |
+| Called party number | All defined values except complementary address without main address | All defined values except alternative address |
+| Redirecting number | All defined values except alternative address | All defined values except alternative address and complementary address without main address |
+
+Table 11-34 describes the possible types of address for called party number information element in *call confirmation* message.
+
+TABLE 11-34/X.45
+
+**Type of address in call confirmation message**
+
+| Information element | Calling DTE interface | Called DTE interface |
+|---------------------|----------------------------------------------------------------------------------------------|-----------------------------------------------|
+| Called party number | All defined values except alternative address and complementary address without main address | All defined values except alternative address |
+
+Table 11-35 describes the possible types of address for called party number and call deflection selection information elements in *disconnect request* message.
+
+TABLE 11-35/X.45
+
+**Type of address in disconnect request message**
+
+| Information element | Calling DTE interface | Called DTE interface |
+|---------------------------|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------|
+| Called party number | All defined values except alternative address and complementary address without main address | All defined values except alternative address |
+| Call deflection selection | Not applicable | All defined values except complementary address without main address |
+
+For called party number, calling party number, call deflection selection and redirecting number information elements, the possible combinations between type of address and numbering plan fields as well as the format of the address digits are given in Table 11-36.
+
+TABLE 11-36/X.45
+
+### **TOA/NP combinations / Format of address digits**
+
+| Type of Address | Numbering Plan | Format | Comments |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------|
+| Unknown => network dependent number | Unknown => network dependent number | – | The address digits are organised according to network numbering plan. |
+| International number | E.164 digital | CC + National Significant Number | Notes 1 and 2 |
+| | E.164 analogue | CC + National Significant Number | Notes 1 and 3 |
+| | X.121 | DNIC + Network Terminal Number | Note 1 |
+| | F.69 (Telex Plan) | TDC + National Telex Number | Note 1 |
+| National number | E.164 digital | National Significant Number | Notes 1 and 2 |
+| | E.164 analogue | National Significant Number | Notes 1 and 3 |
+| | X.121 | National Number (starting with 4 th digit of DNIC) or Network Terminal Number | Note 1 |
+| | F.69 (Telex plan) | National Telex Number | Note 1 |
+| Network specific number (for use in private network) | Private numbering plan | – | This combination is provided for private use only |
+| Complementary address without main address | Unknown => network dependent number | – | |
+| Alternative address | All code points defined when numbering plan is interpreted as the alternative address coding authority can be used | – | The address is organised according to the alternative address coding authority. |
+| NOTE 1 – Escape and prefix code shall not be present.
NOTE 2 – E.164 digital is used when a digital interface on the destination network (ISDN or integrated ISDN/PSTN) is requested and as the default when it is not required to differentiate the service type or when the service type is unknown.
NOTE 3 – E.164 analogue is used when an analogue interface on the destination network (PSTN or integrated ISDN/PSTN) is requested.
| | | |
+
+## **11.4 Handling of coding errors**
+
+### **11.4.1 Protocol discrimination error**
+
+When a message is received with a protocol discriminator coded other than "(number to be provided)", that message shall be ignored as if the message had never been received.
+
+### **11.4.2 Message too short**
+
+When a message is received that is too short to contain a complete message type information element, that message shall be ignored as if the message had never been received.
+
+### **11.4.3 General information element errors**
+
+#### **11.4.3.1 Information element out of sequence**
+
+A variable length information element which has a code value lower than the code value of the variable length information element preceding it shall be considered as an out of sequence information element.
+
+If an entity receives a message containing an out of sequence information element, it may ignore this information element and continue to process the message. If this information element is mandatory and the entity chooses to ignore
+
+this out of sequence information element, then the error handling procedure for missing mandatory information elements as specified in 11.4.4.1 shall be followed. If the ignored information element is non-mandatory, the receiving entity continues to process the message.
+
+#### **11.4.3.2 Duplicated information elements**
+
+If an information element is repeated in a message in which repetition of the information element is not permitted, only the contents of information element appearing first, shall be handled and all subsequent repetitions of the information element shall be ignored. When repetition of information elements is permitted, only the contents of permitted information elements shall be handled. If the limit on repetition of information elements is exceeded, the contents of information elements appearing first up to the limit of repetitions shall be handled and all subsequent repetitions of the information element shall be ignored.
+
+### **11.4.4 Mandatory information element errors**
+
+#### **11.4.4.1 Mandatory information element missing**
+
+When a message is received with My VC identifier and/or Your VC-identifier information element missing, so that the receiving entity is not able to relate that message to a particular virtual circuit, then that message shall be ignored as if it had never been received.
+
+When a *call request* message is received which has one or more mandatory information element missing, a *disconnect request* message with cause “mandatory information element is missing” shall be returned.
+
+When a *disconnect request* or *call abort* message is received with the cause information element missing, the actions taken shall be the same as if a *disconnect request* or *call abort* message with cause “normal/no additional information” was received.
+
+In all other cases, the received message shall be ignored as it had never been received.
+
+#### **11.4.4.2 Mandatory information element content error**
+
+When a *call request* message is received which has one or more mandatory information elements with invalid content, a *disconnect request* message with cause “invalid information element contents” shall be returned.
+
+When a *disconnect request* or *call abort* message is received with invalid content of the cause information element, the actions taken shall be the same as if a *disconnect request* or *call abort* message with cause “normal/no additional information” was received.
+
+Information elements with a length exceeding the maximum length shall be treated as if the length was equal to the maximum length (i.e. octets up to the maximum length are processed, following octet up to the actual length shall be ignored). This mechanism allows upward compatibility with future upgrades that will supersede the present maximum length.
+
+### **11.4.5 Non-mandatory information element errors**
+
+#### **11.4.5.1 Unrecognised information element**
+
+Any unrecognised information element shall be ignored as if it had never been included in the received message. Following information elements, if any, shall be normally processed.
+
+This procedure allows for upgrades and ensures upward compatibility.
+
+#### **11.4.5.2 Non-mandatory information element content error**
+
+When a message is received which has one or more non-mandatory information elements with invalid content, action shall be taken on the message and those information elements which are recognised and have valid content.
+
+Information elements with a length exceeding the maximum length shall be treated as if the length was equal to the maximum length (i.e. octets up to the maximum length are processed, following octet up to the actual length shall be ignored). This mechanism allows upward compatibility with future upgrades that will supersede the present maximum length.
+
+#### **11.4.5.3 Unexpected recognised information element**
+
+When a message is received with a recognised information element that is not defined to be contained in that message, the receiving entity shall ignore that information element as if it had never been included in the received message. Following information elements, if any, shall be normally processed.
+
+# 12 Procedures for permanent virtual circuit service
+
+For permanent virtual circuits there is no call set-up or clearing. The pairs of virtual circuit identifiers are assigned in agreement with the Network at the time of subscription to the service.
+
+The procedures for the control of packets between DTE and DCE while in the data transfer state are contained in clause 10.
+
+If a momentary failure occurs within the network, the DCE will reset the permanent virtual circuit as described in 10.15 with the cause "Network congestion", and then will continue to handle data traffic.
+
+If the network has a temporary inability to handle data traffic, the DCE will reset the permanent virtual circuit with the cause "Network out of order". When the network is again able to handle data traffic, the DCE should reset the permanent virtual circuit with the cause "Network operational".
+
+# 13 Signalling procedures for switched virtual circuits
+
+## 13.1 Set-up and clearing procedures
+
+The set-up and clearing procedures use signalling messages which are exchanged between the DTE and the DCE through the signalling virtual circuit (see 10.9.2).
+
+The encapsulation of the signalling messages in *data* packet(s) makes possible to carry out a flow control on the amount of signalling data (in particular *call request* message) that an entity receives by re-using the underlying flow control mechanisms of the signalling virtual circuit.
+
+### 13.1.1 Request of a virtual circuit set-up
+
+The procedure for setting up a virtual circuit is used to create a new connection in the packet mode between the DTE and a remote DTE.
+
+To request a virtual circuit set-up, the calling entity sends a *call request* message to the called entity. At the DTE/DCE interface of the calling DTE, the calling entity is on the DTE side, whereas at the DTE/DCE interface of the called DTE, the calling entity is on the DCE side.
+
+The *call request* message contains the following information:
+
+- Included in My VC-identifier information element, the virtual circuit identifier which will be used by the called entity to send packets to the calling entity. This virtual circuit identifier has local significance and may take any value which is not used.
+- The initial value of the VC credit allocated by the calling entity.
+- Other information pertaining to addressing, facilities and user data (see 11.1.2).
+
+If the calling entity indicates a zero value of its initial VC-credit allocation, then after receiving a *call confirmation* message from the called entity it has to send a *VC-flow control* packet with non-zero credit allocation. Then the called entity may transmit data across the interface.
+
+On the other hand, by indicating a non-zero value in its initial VC-credit allocation, the calling entity may authorise the called entity to transmit data across the interface as soon as it knows the call has been accepted. Thus, the time before first data cross the interface, may be reduced by one round trip across the DTE/DCE link. In this case the calling entity must be prepared to receive data before it has received the *call confirmation* message. This may occur in particular if the *call confirmation* message, although initially sent before data, has been hit by a transmission error and has to be retransmitted. In called entities, it is not necessary to guarantee that the *call confirmation* message always crosses the interface before the first data packets of the newly established virtual circuit.
+
+### 13.1.2 Acceptance of virtual circuit set-up
+
+The called entity indicates that the incoming call has been accepted by sending the calling entity a *call confirmation* message.
+
+The *call confirmation* message contains the following information:
+
+- Included in Your VC-identifier information element, the virtual circuit identifier received in the corresponding *call request* message sent by the calling entity.
+- Included in My VC-identifier information element, the virtual circuit identifier which will be used by the calling entity to send packets to the called entity. This virtual circuit identifier has local significance and may take any value which is not used.
+- The initial value of the VC credit allocated by the called entity.
+- Other information pertaining to addressing, facilities, and user data (see 11.1.3).
+
+After having sent the *call confirmation* message, the called DTE must be ready to receive data on the virtual circuit according to the number of VC credit it has allocated.
+
+### 13.1.3 Rejection of virtual circuit set-up
+
+The procedure for rejecting a virtual circuit set-up is used by the called entity to refuse a connection in response to a *call request* message.
+
+The called entity which wishes to reject virtual circuit set-up sends to the peer entity a *disconnect request* message and a *signalling synchronisation* packet.
+
+The *disconnect request* message contains the following information:
+
+- included in Your VC-identifier information element, the virtual circuit identifier received in the corresponding *call request* message;
+- other information pertaining to cause, diagnostic, addressing, facilities and user data (see 11.1.5).
+
+The *signalling synchronisation* packet is sent by the rejecting entity with the virtual circuit identifier received in the *call request* message. The NNI(S) field of this *signalling synchronisation* packet is set to 0.
+
+The calling entity, after it has received both the *disconnect request* message and the corresponding *signalling synchronisation* packet (not necessarily in this order), may re-use the virtual circuit identifier which they contain.
+
+### 13.1.4 Abort of virtual circuit set-up
+
+To abort a virtual circuit set-up in progress, the calling entity sends a *call abort* message to the peer entity.
+
+The *call abort* message contains the following information:
+
+- included in My VC-identifier information element, the virtual circuit identifier as previously sent in the corresponding *call request* message;
+- cause and diagnostic fields to explain the abort.
+
+If the entity which sent the *call abort* message receives a *call confirmation* message (a collision between call acceptance and call abortion having occurred), it ignores it and waits for the continuation of the abort procedure.
+
+The entity which receives the *call abort* message must confirm the call abort by sending a *disconnect confirmation* message and a *signalling synchronisation* packet.
+
+The *disconnect confirmation* message contains the following information:
+
+- Included in Your VC-identifier information element, the virtual circuit identifier received in the corresponding *call request* message.
+
+The *signalling synchronisation* packet is sent by the entity which receives the *call abort* message with the virtual circuit identifier received in the *call request* message. The NNI(S) field of this *signalling synchronisation* packet is set to 0.
+
+The calling entity, after it has received both the *disconnect confirmation* message and the corresponding *signalling synchronisation* packet (not necessarily in this order), may re-use the virtual circuit identifier which they contain.
+
+### 13.1.5 Normal clearing of a virtual circuit
+
+At any time, after virtual circuit set-up, i.e. after complete reception of a *call confirmation* message if the considered entity was the calling one or after sending the *call confirmation* message if the entity is the called one, an entity may indicate virtual circuit clearing by sending a *disconnect request* message and a *signalling synchronisation* packet to the peer entity.
+
+The *disconnect request* message contains the following information:
+
+- included in Your VC-identifier information element, the virtual circuit identifier of the virtual circuit being cleared (virtual circuit identifier received either in a *call request* message or in a *call confirmation* message);
+- other information pertaining to cause, diagnostic, addressing, facilities and user data (see 11.1.5).
+
+The *signalling synchronisation* packet is sent by the clearing entity with the virtual circuit identifier of the virtual circuit being cleared.
+
+The *signalling synchronisation* packet is the very last packet sent over the virtual circuit and must be re-transmitted if lost.
+
+The entity which receives the *disconnect request* message, must stop sending any packet over the concerned virtual circuit and confirm clearing by sending a *disconnect confirmation* message and a *signalling synchronisation* packet.
+
+The *disconnect confirmation* message contains the following information:
+
+- Included in Your VC-identifier information element, the virtual circuit identifier of the virtual circuit being cleared (virtual circuit identifier received either in a *call request* message or in a *call confirmation* message).
+
+The *signalling synchronisation* packet is sent by the cleared entity with the virtual circuit identifier of the virtual circuit being cleared. The *signalling synchronisation* packet is the very last packet sent over the virtual circuit and must be re-transmitted if lost. The cleared entity, after reception of both the *disconnect request* message and the corresponding *signalling synchronisation* packet (not necessarily in this order) may re-use the virtual circuit identifier they contain.
+
+The clearing entity, after reception of both the *disconnect confirmation* message and the corresponding *signalling synchronisation* packet (not necessarily in this order), may re-use the virtual circuit identifier they contain.
+
+### 13.1.6 Clear collision on a virtual circuit
+
+A clear collision occurs when both entities transmit *disconnect request* messages and *signalling synchronisation* packets, or when an entity sends a *call abort* message and the peer entity a *disconnect request* message and a *signalling synchronisation* packet (call abort on a virtual circuit which was going to be cleared).
+
+In both cases each entity does as though the message it has received in place of the expected *disconnect confirmation* message was a *disconnect confirmation* message.
+
+## 13.2 Procedure for restart
+
+The restart procedure is used to initialise or re-initialise the signalling path of the DTE/DCE interface. The restart procedure simultaneously clears all the switched virtual circuits at the DTE/DCE interface and overrides any pending signalling procedures such as set-up and clearing .
+
+The restart procedure uses *restart request* and *restart confirmation* messages exchanged between DTE and DCE.
+
+### 13.2.1 Normal restart
+
+An entity which wishes to re-initialise the signalling path of the DTE/DCE interface transmits a *restart request* message to the peer entity.
+
+The *restart request* message contains a cause information element to explain the restart.
+
+An entity which receives a *restart request* message considers that all established and pending switched virtual circuits are cleared and must confirm the restart by sending a *restart confirmation* message to the restarting entity.
+
+The restarting entity must wait for the reception of a *restart confirmation* message to consider that the signalling path of the DTE/DCE interface is definitely restarted.
+
+When the signalling path is restarted, messages may be sent again across the DTE/DCE interface.
+
+### **13.2.2 Restart collision**
+
+A restart collision occurs when both entities transmit a *restart request* message at the same time. Each entity considers that the restart procedure is completed. Neither waits nor sends a *restart confirmation* message.
+
+## **13.3 Effects of clearing and restart procedures on transfer of packets**
+
+All *data* and *interrupt* packets generated by a DTE (or the network) before initiation by the DTE or the DCE of a clearing or restart procedure at the local interface will either be delivered to the remote DTE before the DCE transmits the corresponding indication on the remote interface, or be discarded by the network.
+
+# **14 Procedures for user facilities**
+
+## **14.1 Incoming calls barred**
+
+Incoming calls barred is an optional user facility agreed for a period of time. This facility applies to the entire DTE/DCE interface for virtual circuits.
+
+This user facility, if subscribed to, prevents incoming virtual circuits from being presented to the DTE. The DTE may originate outgoing virtual circuits.
+
+## **14.2 Outgoing calls barred**
+
+Outgoing calls barred is an optional user facility agreed for a period of time. This facility applies to the entire DTE/DCE interface for virtual circuits.
+
+This user facility, if subscribed to, prevents the DCE from accepting outgoing virtual circuits from the DTE. The DTE may receive incoming virtual circuits.
+
+## **14.3 Packet size negotiation facility**
+
+Packet size negotiation facility permits negotiation on a per call basis of the maximum data field length of *data* packets for each direction of data transmission.
+
+The calling entity may request packet sizes for both directions of data transmission by including in the *call request* message the packet size information element (see 11.2.4.9). If particular packet sizes are not explicitly requested, the called entity will assume that the default packet sizes of that interface were requested for the concerned directions of data transmission.
+
+Default packet sizes are specified in 10.13.
+
+When the *call request* message includes a packet size information element, the called entity may select, for both directions of data transmission, packet sizes smaller or equal to those indicated in the packet size information element in the *call request* message, by including in the *call confirmation* message the packet size information element. In such a case the selected packet sizes are used on the virtual circuit. If the called entity does not include the packet size information element in the *call confirmation* message, it means that default packet sizes will be used for both directions of data transmission.
+
+When the *call request* message does not include a packet size information element, it means that default packet sizes will be used for both directions of data transmission. In this case the called entity must not include the packet size information element in the *call confirmation* message.
+
+## 14.4 Assured / non-assured data transfer negotiation facility
+
+The assured/non-assured data transfer negotiation facility allows for a given virtual circuit, *data* packets to be transferred either in the assured mode (i.e. upon loss due to error transmission, *data* packets are retransmitted) or in the non-assured mode (i.e. upon loss due to error transmission, *data* packets are not retransmitted, see 10.13.4 in case lost *data* packet belongs to a complete sequence).
+
+The non-assured data transfer mode may be chosen when a stable transit delay is preferred to a virtual circuit exempt from losses.
+
+Regarding transfer of *data* packets, the default mode for a virtual circuit is assured data transfer.
+
+### 14.4.1 Procedures for PVC
+
+If required, the non-assured data transfer facility is configured at subscription time.
+
+### 14.4.2 Procedures for SVC
+
+During the virtual circuit set-up phase, the calling DTE may request non-assured data transfer facility by setting to 1 the non-assured data transfer bit of the packet layer binary parameters information element in the *call request* message.
+
+If the network supports virtual circuits in the non-assured data transfer mode, this request is transparently transmitted to the called DTE. If not, the network forces to 0 the non-assured data transfer bit of the packet layer binary parameters information element in the *call request* message it delivers to the called DTE.
+
+The called DTE which receives a request for non-assured data transfer in a *call request* message may accept the request (alternatively reject the request) by setting to 1 (alternatively forcing to 0) the non-assured data transfer bit of the packet layer binary parameters information element in the *call confirmation* message.
+
+The called DTE which receives a *call request* message without request for non-assured data transfer, must set to 0 the non-assured data transfer bit if the packet layer binary parameters information element is included in the *call confirmation* message.
+
+When the calling DTE receives a *call confirmation* packet with the non-assured data transfer bit set to 1 (alternatively set to 0), the virtual circuit is in the non-assured data transfer mode (alternatively assured data transfer mode). The calling DTE will receive the non-assured data transfer bit set to 1 only if the calling DTE has requested non-assured data transfer, the network supports it and the called DTE has accepted the request.
+
+## 14.5 Throughput negotiation facilities
+
+Throughput negotiation facility permits negotiation on a per call basis of the throughput of virtual circuit for each direction of data transmission.
+
+The calling entity may request throughput for both directions of data transmission by including in the *call request* message the throughput information element (see 11.2.4.10). If particular throughputs are not explicitly requested, the called entity will assume that the default throughputs of that interface were requested for the concerned directions of data transmission.
+
+For each direction of data transmission on the interface, default throughput is equal to the maximum throughput of the link in this direction.
+
+When the *call request* message includes the throughput information element, the called entity may request, for both directions of data transmission, throughputs smaller or equal to those indicated explicitly (in the throughput information element) or implicitly (use of default values) in the *call request* message, by including in the *call confirmation* message the throughput information element. If the called entity does not include the throughput information element, the calling entity will assume that the called entity has accepted the throughputs for both directions of data transmission as proposed explicitly or implicitly in the *call request* message.
+
+The DCE always indicates explicitly throughputs for both directions of data transmission by including in the *call request* message and in the *call confirmation* message the throughput information element. The throughputs indicated by the DCE to the called DTE are less than or equal to the one requested either explicitly or implicitly at the calling DTE/DCE interface. The throughputs indicated by the DCE to the calling DTE are equal to the one accepted explicitly or implicitly by the called DTE.
+
+## **14.6 Closed user group related facilities**
+
+### **General**
+
+A set of Closed User Group (CUG) optional user facilities enables users to form groups of DTEs to and/or from which access is restricted. A DTE belonging only to one or several CUGs (i.e. not having the outgoing or incoming access described below) can only communicate with DTEs belonging also to one of these CUGs: the network will clear any call not fitting with this condition. On an administrative point of view, a DTE may subscribe to a given CUG only with the authorisation of the subscriber who is responsible for the CUG.
+
+The access for a CUG may be restricted to incoming or outgoing calls. These options are called outgoing call barred into the CUG and incoming call barred into the CUG, respectively.
+
+In addition to the CUGs, is defined the open part which is composed of all the DTEs which have not subscribed to any closed user group related facilities.
+
+A DTE having subscribed to outgoing access, may call the open part and DTEs having subscribed to incoming access.
+
+A DTE having subscribed to incoming access may be called by the open part and by DTEs having subscribed to the outgoing access.
+
+### **Subscription-time facilities**
+
+The DTE may subscribe either to simple CUG facility or to CUG selection facility.
+
+The simple CUG facility enables the DTE to belong to one CUG in a way that is completely transparent, i.e. without any specific signalling procedures.
+
+The CUG selection facility enables the DTE to belong to one or several CUGs and for each virtual circuit to select or to receive the information to which CUG the particular virtual circuit belongs to.
+
+For each CUG it belongs to, the DTE can subscribe to outgoing call barred into the CUG or to incoming call barred into the CUG options.
+
+In addition, the DTE may subscribe to outgoing access and or incoming access.
+
+### **Per call facilities**
+
+The CUG facilities defined on a per call basis are:
+
+- No CUG: It is equivalent to a call with called DTE in the open part or having subscribed to incoming access.
+- CUG specified.
+- CUG specified with outgoing access.
+
+### **14.6.1 Simple CUG**
+
+Simple CUG is an optional user facility agreed for a period of time and applies to the entire DTE/DCE interface for virtual circuits. This facility, if subscribed to enable the DTE to belong to a CUG in a way that is completely transparent. This facility is mutually exclusive of CUG selection facility.
+
+At subscription time the user indicates its CUG profile:
+
+- the CUG it wants to belong to (only one);
+- if outgoing calls are barred into this CUG or not;
+- if incoming calls are barred into this CUG or not;
+- the outgoing access or not;
+- the incoming access or not.
+
+In all these combinations, no closed user group information element is needed nor permitted in the *call request* messages received and transmitted by the DTE.
+
+#### 14.6.1.1 Call request message from the DTE to the DCE
+
+The *call request* message transmitted by the DTE does not contain any closed user group information element. If any closed user group information element is present in a *call request* message received from a DTE having subscribed to the simple CUG facility, the DCE must clear the virtual circuit.
+
+To determine whether or not the call can proceed, and if it can, the type of the call regarding CUG possibilities, the DCE processes the CUG profile of the calling DTE as described in Table 14-1.
+
+TABLE 14-1/X.45
+
+##### DCE check on outgoing calls for simple CUG
+
+| CUG profile of the calling DTE | Type of the call regarding CUG possibilities |
+|----------------------------------------------------------------|----------------------------------------------|
+| Simple CUG with outgoing calls barred | Call cleared |
+| Simple CUG with outgoing calls not barred | CUG specified |
+| Simple CUG with outgoing calls barred plus outgoing access | Call with no CUG |
+| Simple CUG with outgoing calls not barred plus outgoing access | CUG specified + OA |
+
+#### 14.6.1.2 Call request message from the DCE to the DTE
+
+To determine whether the call can be presented to the called DTE or must be cleared, the DCE processes the type of the call regarding CUG possibilities and the CUG profile of the called DTE as described in Table 14-2.
+
+The *call request* message transmitted by the DCE must not contain any closed user group information element.
+
+TABLE 14-2/X.45
+
+##### DCE check on incoming calls for simple CUG
+
+| CUG profile of the called DTE | Type of the call regarding CUG possibilities | | | | |
+|----------------------------------------------------------------|----------------------------------------------|---------------|---------------|------------------------------------|---------------|
+| | No CUG | CUG specified | | CUG specified with outgoing access | |
+| | | Matching | Wrong | Matching | Wrong |
+| Simple CUG with incoming calls barred | Access barred | Access barred | Access barred | Access barred | Access barred |
+| Simple CUG with incoming calls not barred | Access barred | Presented | Access barred | Presented | Access barred |
+| Simple CUG with incoming calls barred plus incoming access | Presented | Access barred | Access barred | Access barred | Presented |
+| Simple CUG with incoming calls not barred plus incoming access | Presented | Presented | Access barred | Presented | Presented |
+
+### 14.6.2 CUG selection
+
+CUG selection is an optional user facility agreed for a period of time and applies for the entire DTE/DCE interface for virtual circuits. This facility, if subscribed to, enables the DTE to belong to one or several CUGs and for each virtual circuit to select or to receive the information to which CUG the particular virtual circuit belongs to. This facility is mutually exclusive of simple CUG facility.
+
+At subscription, the user indicates its CUG profile:
+
+- the CUGs it wants to belong to;
+- for each CUG, if outgoing calls are barred or not;
+- for each CUG, if incoming calls are barred or not;
+- the outgoing access or not;
+- the incoming access or not.
+
+#### 14.6.2.1 Call request message from the DTE to the DCE
+
+The *call request* message transmitted by the DTE may contain or not the closed user group information element. To determine whether or not the call can proceed, and if it can, the type of the call regarding CUG possibilities, the DCE processes the content of the closed user group information element (if present) and the CUG profile of the calling DTE as described in Table 14-3.
+
+TABLE 14-3/X.45
+
+**DCE check on outgoing calls for CUG selection**
+
+| CUG profile of the calling DTE | Type of the call regarding CUG possibilities as encoded in the closed user group information element of the call request message | | | | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|-------------------------|--------------|------------------------------------|------------------|
+| | No CUG (Note) | CUG specified | | CUG specified with outgoing access | |
+| | | Matching | Wrong | Matching | Wrong |
+| CUG selection with outgoing calls barred into CUG x | Call cleared | Call cleared | Call cleared | Call cleared | Call cleared |
+| CUG selection with outgoing calls not barred into CUG x | Call cleared | Call with CUG specified | Call cleared | Call cleared | Call cleared |
+| CUG selection with outgoing calls barred into CUG x plus outgoing access | Call with no CUG | Call cleared | Call cleared | Call cleared | Call with no CUG |
+| CUG selection with outgoing calls not barred into CUG x plus outgoing access | Call with no CUG | Call with CUG specified | Call cleared | Call with CUG specified + OA | Call with no CUG |
+| NOTE – The presence of the closed user group information element with an empty index field is interpreted identically as the absence of this information element. | | | | | |
+
+#### 14.6.2.2 Call request message from the DCE to the DTE
+
+To determine whether the call can be presented to the called DTE or must be cleared, the DCE processes the type of the call regarding CUG possibilities and the CUG profile of the called DTE as described in Table 14-4. When the call can be presented, Table 14-4 provides also the CUG signalling to the DTE.
+
+### 14.6.3 No CUG
+
+In case DTEs have subscribed neither to simple CUG nor to CUG selection facilities, this subclause describes DCE check and signalling on outgoing and incoming calls.
+
+TABLE 14-4/X.45
+
+#### **DCE check and signalling on incoming calls for CUG selection**
+
+| CUG profile of the called DTE | Type of the call regarding CUG possibilities | | | | |
+|------------------------------------------------------------------------------|----------------------------------------------|-------------------------|---------------|------------------------------------|------------------|
+| | No CUG | CUG specified | | CUG specified with outgoing access | |
+| | | Matching | Wrong | Matching | Wrong |
+| CUG selection with incoming calls barred into CUG x | Access barred | Access barred | Access barred | Access barred | Access barred |
+| CUG selection with incoming calls not barred into CUG x | Access barred | Call with CUG specified | Access barred | Call with CUG specified | Access barred |
+| CUG selection with incoming calls barred into CUG x plus incoming access | Call with no CUG | Access barred | Access barred | Access barred | Call with no CUG |
+| CUG selection with incoming calls not barred into CUG x plus incoming access | Call with no CUG | Call with CUG specified | Access barred | Call with CUG specified + OA | Call with no CUG |
+
+#### **14.6.3.1 Call request message from the DTE to the DCE**
+
+The *call request* message transmitted by the DTE should not contain any closed user group information element. If any closed user group information element is present in a *call request* message received from a DTE having subscribed neither to simple CUG nor CUG selection facilities, the DCE must clear the virtual circuit.
+
+The per call facility used by such a DTE is call with no CUG.
+
+#### **14.6.3.2 Call request message from the DCE to the DTE**
+
+To determine whether the call can be presented to the called DTE or must be cleared, the DCE processes the type of the call regarding CUG possibilities and the fact that the called DTE has not subscribed to any CUG facilities, as described in Table 14-5.
+
+The *call request* message transmitted by the DCE must not contain any closed user group information element.
+
+TABLE 14-5/X.45
+
+##### **DCE check on incoming calls for no CUG**
+
+| CUG profile of the called DTE | Type of the call regarding CUG possibilities | | |
+|-------------------------------|----------------------------------------------|---------------|------------------------------------|
+| | No CUG | CUG specified | CUG specified with outgoing access |
+| No CUG | Call with no CUG | Access barred | Call with no CUG |
+
+## **14.7 Fast select**
+
+Fast select is a user facility used to request on a per call basis the no use or use with or no restriction on response of fast select.
+
+The calling entity may request either no fast select, fast select with no restriction on response, or fast select with restriction on response by including in the *call request* message the packet layer binary parameters information element (see 11.2.4.13). If packet layer binary parameters information element is not included in the *call request* message, the called entity will assume that the default mode was requested.
+
+The default mode is fast select not requested.
+
+If the called entity is not able to support the requested mode, the call shall be cleared. When the DCE supports the mode requested by the calling DTE, the DCE will request the same mode to the called DTE.
+
+If no fast select is requested in the *call request* message, it allows this message to contain a user-user information element of up to 16 octets in the user information field (see 11.2.4.8). *Call confirmation* or *disconnect request* messages transmitted in response by the called entity must contain no user-user information element.
+
+If fast select with no restriction on response is requested in the *call request* message (explicitly or implicitly), it allows this message to contain a user-user information element of up to 128 octets in the user information field (see 11.2.4.8), authorises the called entity to transmit in response to the *call request* message a *call confirmation* message or a *disconnect request* message with a user-user information element respectively of up to 128 octets in the user information field and authorises both entities to transmit after the virtual circuit is set up, a *disconnect request* message with a user-user information element respectively of up to 128 octets in the user information field.
+
+If fast select with restriction on response is requested in the *call request* message, it allows this message to contain a user-user information element of up to 128 octets in the user information field, authorises the called entity to transmit in response to the *call request* message a *disconnect request* message with a user-user information element of up to 128 octets in the user information field. The called entity would not be authorised to transmit a *call confirmation* message.
+
+## **14.8 Reverse charging**
+
+Reverse charging is an optional user facility which may be requested by a called DTE for a given virtual circuit by including in the *call request* message reverse charging / charging information element with the reverse charging indication field set to reverse charging requested (see 11.2.4.12).
+
+## **14.9 Reverse charging acceptance**
+
+Reverse charging acceptance is an optional user facility agreed for a period of time. This facility applies to the entire DTE/DCE interface for virtual circuits.
+
+This user facility, if subscribed to, authorises the DCE to present to the DTE incoming calls which request the reverse charging facility. In the absence of this facility, the DCE will not transmit to the DTE *call request* messages which request the reverse charging facility.
+
+## **14.10 Local charging prevention**
+
+Local charging prevention is an optional user facility agreed for a period of time. This facility applies to the entire DTE/DCE interface for virtual circuits.
+
+This user facility, when subscribed to, authorises the DCE to prevent the establishment of virtual calls which the subscriber must pay for by:
+
+- a) not transmitting to the DTE *call request* messages which request the reverse charging facility; and
+- b) ensuring that the charges are made to another party whenever a call is requested by the DTE. This other party can be determined by using a number of actions, both procedural and administrative. The procedural methods include:
+ - the use of reverse charging;
+ - identification of a third party using NUI subscription facility (see 14.11.1) and NUI selection facility (see 14.11.3).
+
+When the party to be charged has not been established for a virtual circuit set-up, the DCE that receives the *call request* message will apply reverse charging to this call.
+
+## **14.11 Network User Identification (NUI) related facilities**
+
+The set of Network User Identification (NUI) related facilities enables the DTE to provide information to the network for purposes of billing, security, network management, or to invoke subscribed facilities.
+
+This set is composed of two optional user facilities, NUI subscription facility (see 14.11.1) and NUI override facility (see 14.11.2) may be agreed for a period of time for virtual circuits. A DTE may subscribe to one or both of these facilities. When one or both of these facilities are subscribed to, one or several network user identifiers are also agreed for a period of time. A given network user identifier may be either specific or common to NUI subscription facility and NUI override facility. The network user identifier is transmitted by the DTE to the DCE in the NUI selection information element.
+
+Network user identifier is never transmitted to the remote DTE. The calling DTE address transmitted to the remote DTE in the calling party number information element should not be inferred from the network user identifier transmitted by the DTE in the NUI selection information element in the *call request* message.
+
+### **14.11.1 NUI subscription**
+
+NUI subscription is an optional user facility agreed for a period of time for virtual circuits. This facility, if subscribed to, enables the DTE to provide information to the network for billing, security or network management purposes on a per call basis. This information may be provided by the DTE in the *call request* message or in the *call confirmation* message by using the NUI selection facility (see 14.11.3). It may be used whether or not the DTE has also subscribed to the local charging prevention facility (see 14.10). If the DCE determines that the network user identifier is invalid or that the NUI selection information element is not present when required by the network, it will clear the call.
+
+### **14.11.2 NUI override**
+
+NUI override is an optional user facility agreed for a period of time for virtual circuits. When this facility is subscribed to, one or more network user identifiers are also agreed for a period of time. Associated with each network user identifier is a set of subscription-time optional user facilities. When one of these network user identifiers is provided in a *call request* message by means of the NUI selection facility (see 14.11.3), the set of subscription-time optional user facilities associated with it overrides the facilities which apply to the interface. This override does not apply to other existing virtual circuits or subsequent virtual circuits on the interface. It remains in effect for the duration of the particular call to which it applies.
+
+The optional user facilities that may be associated with a network identifier when the NUI override facility has been subscribed to are specified in Annex H/X.25. The optional user facilities which have been agreed for a period of time for the interface and which are not overridden by using the NUI override facility remain in effect.
+
+### **14.11.3 NUI selection**
+
+NUI selection is an optional user facility which may be requested by a DTE for a given virtual circuit by using the NUI selection information element (see 11.2.4.14). This user facility may be requested by a DTE only if it has subscribed to the NUI subscription facility (see 14.11.1) and/or the NUI override facility (see 14.11.2). NUI selection facility permits the DTE to specify which network user identifier is to be used in conjunction with the NUI subscription facility and/or the NUI override facility.
+
+NUI selection may be requested in a *call request* message if the selected network user identifier has been agreed in conjunction with the NUI subscription facility or the NUI override facility. NUI selection may be requested in the *call confirmation* message, if the selected network user identifier has been agreed in conjunction with the NUI subscription facility.
+
+If the network determines that the network user identifier is invalid or that any of the user facilities requested in the *call request* message are not allowed for the DTE, it will clear the virtual circuit.
+
+### **14.11.4 Charging information**
+
+Charging information is an optional user facility which may be either agreed for a period of time or requested by a DTE for a given virtual circuit.
+
+If the DTE is the DTE to be charged, the DTE can request the charging information facility on a per call basis by means of the reverse charging/charging information information element (see 11.2.4.12) in *call request* message or *call confirmation* message
+
+If the DTE subscribes to the charging information information for a contractual period, the facility is in effect for the DTE, whenever the DTE is the DTE to be charged, without sending the facility request in *call request* message or in *call confirmation* message.
+
+By including the reverse charging/charging information information element in the *disconnect request* or *disconnect confirmation* message, the DCE will send to the DTE information about the charge for that virtual circuit and/or other information which makes it possible for the user to calculate the charge.
+
+## **14.12 Transit network selection related facilities**
+
+The set of Transit network selection optional user facilities provides for the calling DTEs designation of a sequence of one or more transit network(s) within the originating country through which the virtual circuit is to be routed when more than one transit network exist at a sequence of one or more gateways. In the case of international calls, this capability includes the selection of an international transit network in the originating country.
+
+### **14.12.1 Transit network subscription**
+
+Transit network subscription is an optional user facility agreed for a period of time. This facility applies to the entire DTE/DCE interface for virtual circuits.
+
+This user facility, if subscribed to, applies (unless overridden for a single virtual circuit by the transit network selection facility) to all virtual circuits where more than one transit network exist at a sequence of one or more gateways. The transit network subscription facility provides a sequence of transit networks through which virtual circuits are to be routed. In the absence of both the transit network subscription facility and the transit network selection facility (see 14.12.2) no user designation of transit networks is in effect.
+
+### **14.12.2 Transit network selection**
+
+Transit network selection is an optional user facility which may be requested by a DTE for a given virtual circuit when including transit network selection information element(s). It is not necessary to subscribe to the transit network subscription facility in order to use this facility. This facility when used for a given virtual circuit, applies for this virtual circuit only where more than one transit network exist at a sequence of one or more gateways. The transit network selection facility provides a sequence of transit networks through which virtual circuits are to be routed. The presence of the corresponding transit network selection information element(s) in a *call request* message completely overrides the sequence of transit networks that may have been specified by the transit network subscription facility (see 14.12.1).
+
+## **14.13 Hunt group**
+
+Hunt group is an optional user facility agreed for a period of time. This user facility, if subscribed to, distributes incoming calls having an address associated with the hunt group across a designated grouping of DTE/DCE interfaces.
+
+Selection is performed for an incoming call if there is at least one virtual circuit identifier available for virtual circuits on any of the DTE/DCE interfaces in the group. Once a call is assigned to a DTE/DCE interface, it is treated as a regular call.
+
+When calls are placed to a hunt group address in the case that specific addresses have also been assigned to the individual DTE/DCE interfaces, the *disconnect request* message (when no *call confirmation* message has been transmitted) or the *call confirmation* message transferred to the calling DTE may contain the called DTE address of the selected DTE/DCE interface and the called line address modified notification information element (see 11.2.4.18) indicating the reason why the called DTE address is different from the originally requested.
+
+Calls may be originated by the DTEs on DTE/DCE interfaces belonging to the hunt group; these are handled in the normal manner. In particular, the calling DTE address transferred to the remote DTE in the *call request* message is the hunt group address unless the DTE/DCE interface has a specific address assigned. Permanent virtual circuits may be assigned to DTE/DCE interfaces belonging to the hunt group. These permanent virtual circuits are independent of the operation of the hunt group. Some networks may apply virtual circuit subscription time user facilities in common to all DTE/DCE interfaces in the hunt group, place a limit on the number of DTE/DCE interfaces in the hunt group, and/or constrain the size of the geographic region that can be served by a single hunt group.
+
+## **14.14 Call redirection and call deflection related facilities**
+
+The set of call redirection and call deflection optional user facilities enables the redirection or the deflection of calls destined to one DTE (the “originally called DTE”) to another DTE (the “alternate DTE”). The call redirection facility (see 14.14.1) allows the DCE, in specific circumstances, to redirect calls destined to the originally called DTE; no *call request* message is transmitted to the originally called DTE when such a redirection is performed. The call deflection selection (see 14.14.2) allows the originally called DTE to deflect individual incoming calls after reception of the *call request* message by this originally called DTE.
+
+When a virtual circuit to which the call redirection or call deflection facilities are applied is cleared, the clearing cause shall be that generated during the last attempt to reach a called DTE/DCE interface.
+
+The basic service is limited to one call redirection or call deflection. In addition, some networks may permit a chaining of several call redirections or call deflections. In all cases, networks will ensure that loops are avoided and that the connection establishment phase has a limited duration.
+
+When the call is redirected or deflected, the *disconnect request* message, when no call confirmation message has been transmitted by any DTE, or the *call confirmation* message transferred to the calling DTE will contain the called address of the alternate DTE and the called line address modified notification information element (see 11.2.4.18), indicating the reason why the called address is different from the one originally requested.
+
+When the call is redirected or deflected, some networks may indicate to the alternate DTE that the call was redirected or deflected, the reason for the redirection or deflection, and the address of the originally called DTE, using the call redirection or call deflection notification facility (see 14.14.3) in the *call request* message received by the alternate DTE.
+
+In addition, some networks may allow a DTE to indicate in a *call request* message (see 14.14.3) that the call was redirected or deflected, the reason for the redirection or deflection, and the address of the originally called DTE, using the call redirection or call deflection notification facility.
+
+### **14.14.1 Call redirection**
+
+Call redirection is an optional user facility agreed for a period of time. This facility applies to the entire DTE/DCE interface for virtual circuits.
+
+This user facility, if subscribed to, redirects calls destined to this DTE when:
+
+- 1) the DTE is out of order; or
+- 2) the DTE is busy.
+
+Some networks may provide call redirection only in case 1). Some networks may offer in addition:
+
+- 3) systematic call redirection due to a prior request by the subscriber according to a criteria other than 1) and 2) above, agreed to between the network and the subscriber.
+
+In addition to the basic service, some networks may offer either one of the following (mutually exclusive) capabilities:
+
+- 1) a list of alternate DTEs (C1, C2, etc.) is stored by the network of the originally called DTE (DTE-B). Consecutive attempts of call redirection are tried to each of these addresses, in the order of the list, up to the completion of the call;
+- 2) call redirections may be logically chained; if DTE-C has subscribed to call redirection to DTE-D, a virtual circuit redirected from DTE-B to DTE-C may be redirected to DTE-D; call redirections and call deflections may also be chained.
+
+The order of call set-up processing at the originally called DCE as well as the alternate DCE will be according to the sequence of call progress signals in Table 1/X.96. For those networks that provide systematic call redirection due to a prior request by the subscriber, the systematic call redirection request will have the highest priority in the call set-up processing sequence at the originally called DCE.
+
+### 14.14.2 Call deflection selection
+
+Call deflection selection facility allows a DTE to deflect an incoming call to another DTE after reception of the corresponding *call request* message by this originally called DTE.
+
+To use this facility the DTE includes the call deflection selection information element (see 11.2.4.16) in the *disconnect request* message only in direct response to a *call request* message to specify the alternate DTE address to which the call is to be deflected.
+
+If the call deflection selection information element is used in the *disconnect request* message, then the DTE may also include some or all of end-to-end transit delay, packet layer binary parameters, throughput, protection, X.213 priority, calling and called party subaddress and user-user information elements to be sent to the alternate DTE. These information elements in the *disconnect request* message are not dependent on the contents of the original *call request* message. The *disconnect request* message may contain a user-user information element of up to 16 octets in the user information field if the original virtual circuit was established without fast select and up to 128 octets if it was established with fast select. If no information elements of the above list are included in the *disconnect request* message, then there will be none in the *call request* message to the alternate DTE.
+
+When requested for a given virtual circuit, the network deflects the call to the alternate DTE and does not respond to the calling DTE as a result of the clearing of the called DTE/DCE interface. The information elements corresponding to facilities that are present in the *call request* message transmitted to the alternate DTE are those that would have been present in the *call request* packet if the call was a direct call from the calling DTE to the alternate DTE; moreover, the call redirection or call deflection notification facility (see 14.14.3) may also be used, if supported by the network.
+
+If the network offers only the basic service and if a call redirection or call deflection has already been performed, the DCE clears the virtual circuit when the call deflection selection facility is used.
+
+### 14.14.3 Call redirection or call deflection notification
+
+Call redirection or call deflection notification is a user facility used by the DCE to inform the alternate DTE that the call has been redirected or deflected, why the call was redirected or deflected, and the address of the originally called DTE.
+
+The corresponding information element is the redirecting number information element (see 11.2.4.17).
+
+When more than one address applies to a DTE/DCE interface, the call redirection or call deflection notification facility may also be used by the calling DTE to inform the called DTE that the call has been redirected or deflected in the calling DTE (which is supposed to be a packet switched private data network). When this facility is received from the DTE, the DCE will clear the virtual circuit if the contained address is not one of those applying to the interface.
+
+The following reasons can be indicated in the redirecting number information element:
+
+- 1) call redirection due to originally called DTE out of order:
+ - use of code point “Originally called DTE out of order”;
+
+- 2) call redirection due to originally called DTE busy:
+ - use of code point “Call forwarding busy or called DTE busy”;
+- 3) call redirection due to prior request from the originally called DTE for systematic call redirection:
+ - use of code point “Systematic call redirection”;
+- 4) call deflection by the originally called DTE:
+ - use of code point “Call forwarding by the originally called DTE”;
+- 5) call redirection or call deflection in the calling DTE (which is supposed to be a packet switched private data network):
+ - use of code point “Calling DTE originated”.
+
+Some networks may also use the following reason in network-dependent cases not described in this Recommendation:
+
+- 6) call distribution within a hunt group:
+ - use of code point “Call distribution within a hunt group”.
+
+## 14.15 Called line address modified notification
+
+Called line address modified notification is an optional user facility used by the DCE in the *call confirmation* message or *disconnect request* message to inform the calling DTE why the called DTE address in the message is different from that specified in the *call request* message transmitted by the calling DTE. The corresponding information element is called line address modified notification (see 11.2.4.18).
+
+When more than one address applies to a DTE/DCE interface, the called line address modified notification information element may be included by the called DTE in the *disconnect request* message (when no *call confirmation* message has been transmitted) or the *call confirmation* message, when the called DTE address is present in the message and different from that specified in the *call request* message. When this information element is received from the DTE, the DCE will clear the virtual circuit if the called DTE address is not one of those applying to the interface.
+
+NOTE – The DTE should be aware that a modification of any part of the called DTE address without notification by the called line address modified notification facility, may cause the virtual circuit to be cleared.
+
+The following reasons can be indicated with the use of the called line address modified notification information element in *call confirmation* or *disconnect request* messages transmitted to the calling DTE:
+
+- 1) call distribution within a hunt group;
+- 2) call redirection due to originally called DTE out of order;
+- 3) call redirection due to originally called DTE busy;
+- 4) call redirection due to a prior request from the originally called DTE according to criteria agreed to between the network and the subscriber;
+- 5) called DTE originated;
+- 6) call deflection by the originally called DTE.
+
+In *call confirmation* or *disconnect request* messages received from the DTE, the reason indicated in conjunction with the use of the called line address modified notification information element should be “called DTE originated”.
+
+When several reasons could apply to the same virtual circuit, the reason to be indicated by the network in the *call confirmation* message by means of the called line address modified notification facility is as specified below:
+
+- 1) the indication of a call redirection or call deflection in the network has precedence over the indication of distribution within a hunt group or over a called DTE originated indication;
+- 2) the called DTE originated indication has precedence over the indication of distribution within a hunt group;
+
+- 3) when several call redirections or call deflections have been performed, the first one has precedence over the others.
+
+The called DTE address indicated in the *call confirmation* or the *disconnect request* messages should correspond to the last DTE which has been reached or attempted.
+
+## 14.16 Transit delay selection and indication
+
+Transit delay selection and indication is an optional user facility which may be requested by a DTE for a given virtual circuit. This facility permits selection and indication, on a per virtual circuit basis, of the transit delay applicable to that virtual circuit.
+
+A DTE wishing to specify a desired transit delay for a virtual circuit indicates the desired value in the transit delay selection and indication information element (see 11.2.4.19) of the *call request* message transmitted to the DCE.
+
+The network when able to do so, should allocate resources and route the virtual circuit in a manner such that the transit delay applicable to that virtual circuit does not exceed the desired transit delay.
+
+The *call request* message transmitted to the called DTE and the *call confirmation* message transmitted to the calling DTE, will both contain in the transit delay selection and indication information element the indication of the transit delay applicable to the virtual circuit. This transit delay may be smaller than, equal to or greater than the desired transit delay requested by the calling DTE in the *call request* message.
+
+## 14.17 Alternative addressing facilities
+
+The set of alternative addressing related facilities enables a calling DTE to use an alternative address to identify the called DTE in order to establish a virtual circuit. An alternative address is defined as one that does not conform to the format defined in Recommendations X.121 and X.301. In particular the following alternative addresses may be supported:
+
+- a mnemonic address according to Recommendation T.50;
+- an OSI-NSAP address according to ITU-T Rec. X.213 | ISO/IEC 8348;
+- a LAN-MAC address according to ISO/IEC 8802;
+- an Internet address according to RFC 1166.
+
+When receiving a *call request* message containing an alternative address, the DCE shall translate the alternative address to the format defined in Recommendations X.121 and X.301 as the basis on which to route the virtual circuit. The translation of the address will depend on the rules determined at subscription time. A single alternative address could map to several X.121 addresses dependent on parameters such as time of day, etc. A single X.121 address could be reached by multiple alternative addresses.
+
+NOTE – The use of directories to resolve the translation of the alternative address is a matter for further study.
+
+When establishing a virtual circuit, an alternative address can only be present in the *call request* message transmitted by the DTE. The use of addresses in all other messages is unchanged by using an alternative address in the *call request* message. When an alternative address is used in a *call request* message transmitted by the DTE, the called DTE address of the call request and call confirmation messages, respectively received and transmitted by the called DTE, will conform to the format specified in Recommendations X.121 and X.301. However, it is a network option that the called DTE address of the *call confirmation* message received by the calling DTE can either conform to the format specified in Recommendations X.121 and X.301 or be absent.
+
+### 14.17.1 Alternative address registration related facilities
+
+The set of alternative address registration related facilities, when subscribed to, enables users to register alternative addresses. There are two facilities for registering an alternative address. Depending on which facility is subscribed to, the alternative address either will have global significance or will be interface specific.
+
+#### 14.17.1.1 Global alternative address registration
+
+Global alternative address registration is an optional user facility agreed for a period of time. Any DTE (both inside and outside a specific network) can register alternative address translations with an Administration. All such alternative addresses would require uniqueness with the network of registration and thus have network wide (global) significance.
+
+NOTE – It is envisaged that global translations will be registered for the benefit of any calling DTEs. In this case, the translation of the alternative address would be independent of the calling DTE. Organisations wishing the calling DTEs of a specific network to use the alternative address of a DTE rather than its X.121 number, will need to register such alternative addresses with the specific Administration.
+
+#### **14.17.1.2 Interface specific alternative address registration**
+
+Interface specific alternative address registration is an optional user facility agreed for a period of time. When subscribed to, alternative address translations that are specific to a DTE/DCE interface for use by a DTE when making a call, may be registered. In such cases, the rules for translation of the interface specific alternative addresses are given at registration time. The alternative address usage subscription facility (see 14.17.2) must also be subscribed to. When an interface specific alternative address is the same as a global alternative address, the interface specific alternative address takes precedence and the translation will be according to the rules defined for the specific DTE/DCE interface.
+
+### **14.17.2 Alternative address usage subscription**
+
+Alternative address usage subscription is an optional user facility which, when subscribed to by a DTE, allows the DTE to use an alternative address in the *call request* message. The decision to use an alternative address is made on a per call basis.
+
+Networks may support all or a sub-set of the formats listed in 14.17. The formats supported will be made known to subscribing DTEs. Which set is supported will determine how the alternative address may be carried in the call request message (see 14.17.3.1 and 14.17.3.2).
+
+Two network options are allowed for use by DTEs. The first option permits a DTE to use the called party number information element to carry any of the alternative address formats (see 14.17.3.1). The second option allows the DTE to use the called party subaddress information element to carry an OSI-NSAP address (i.e. an address conforming to ITU-T Rec. X.213 | ISO/IEC 8348) as an alternative address (see 14.17.3.2). Either or both of these options can be supported by Administrations.
+
+### **14.17.3 Alternative address selection**
+
+When the alternative address usage subscription facility (see 14.17.2) has been subscribed to, the DTE may identify a called DTE by using an alternative address in the *call request* message. In such cases the network would perform an analysis of the alternative address and derive an address conforming to the formats described in Recommendations X.121 and X.301 as the basis on which to route the virtual circuit.
+
+#### **14.17.3.1 Use of the called party number to carry an alternative address**
+
+If the first option of the alternative address usage subscription facility (see 14.17.2) applies to the DTE/DCE interface, then the alternative address is carried in the called party number information element (see 11.2.4.2) of the *call request* message.
+
+Within this information element, the type of number bits are coded as “alternative address” and the numbering plan bits encode the alternative address coding authority (see Table 11-11).
+
+#### **14.17.3.2 Use of the called party subaddress to carry an alternative address**
+
+If the second option of the alternative address usage subscription facility (see 14.17.2) applies to the DTE/DCE interface, then the alternative address is carried in the called party subaddress information element (see 11.2.4.21) of the *call request* message.
+
+The fact that the called party subaddress information element is being used to carry an alternative address is indicated by the absence of number digits in the called party number information element of the *call request* message transmitted by the calling DTE (i.e. the called party number information element length is three octets).
+
+NOTE 1 – The preferred method for using the called party subaddress is described above. However, some networks may allow the use of the called party subaddress to carry an alternative address without having no number digits in the called party number information element of the *call request* message transmitted by the calling DTE. In this case, the translation will apply for every *call request* message.
+
+The OSI-NSAP address carried in the called party subaddress information element would be passed unchanged between the two packet mode terminals involved.
+
+NOTE 2 – In those cases where the network does not support the analysis and translation of the OSI-NSAP address carried in the called party subaddress information element, the semantics of an NSAP address can be used as an alternative address and carried in the called party number information element of the *call request* message transmitted by the calling DTE in accordance with the coding specified in Table 11-11 (see also 14.17.3.1). However, in such cases when this format is used and the called OSI-NSAP address is also required by the called DTE, then the called OSI-NSAP address must also be included in the called party subaddress information element by the calling DTE.
+
+# **Annex A**
+
+## **Additional information for interworking between X.25 and X.45 protocols**
+
+This annex provides additional specifications to ensure exhaustively the interworking between X.25 and X.45 protocols.
+
+## **A.1 Throughput mapping**
+
+In X.45 to X.25 direction, an X.45 throughput indicated in the throughput information element is mapped to the immediately inferior throughput class (i.e. the greater X.25 throughput class that is smaller than or equal to the X.45 throughput).
+
+An X.45 throughput smaller than 75 bit/s, is mapped to the throughput class 75 bit/s.
+
+## **A.2 Data transfer option**
+
+Procedures described in 14.4 are applicable taking into account that on the X.25 DTE/DCE interface, only the assured data transfer can be used.
+
+## **A.3 Signalling coding mapping**
+
+This subclause describes the signalling coding mapping between X.25 and X.45 protocols.
+
+### **A.3.1 Called DTE address – Called party number**
+
+When present, X.25 type of address subfield and X.25 numbering plan identification subfield are mapped to X.45 type of number and X.45 numbering plan identification.
+
+X.25 called DTE address digits (BCD coding) are mapped to called party number digits (T50 characters).
+
+### **A.3.2 Calling DTE address – Calling party number**
+
+When present, X.25 type of address subfield and X.25 numbering plan identification subfield are mapped to X.45 type of number and X.45 numbering plan identification.
+
+X.25 calling DTE address digits (BCD coding) are mapped to calling party number digits (T50 characters).
+
+### **A.3.3 Call user data, called user data, clear user data – User-user**
+
+X.25 call user data, called user data, clear user data are mapped to user information (octet 4, etc.) of X.45 user-user information element.
+
+### **A.3.4 Cause, diagnostic – Cause**
+
+Table A.1 provides cause mapping specification X.25 to X.45 direction.
+
+TABLE A.1/X.45
+
+#### **Cause mapping in X.25 to X.45 direction**
+
+| X.25 cause | ➔ | X.45 cause | |
+|--------------------------------------|---|----------------------------------------|-------------|
+| | | Location field | Cause value |
+| 0 XXX XXX (except all X set to 0) | ➔ | Public network serving the remote DTE | XXX XXXX |
+| 1 XXX XXXX | ➔ | Private network serving the remote DTE | XXX XXXX |
+| 0 000 0000 | ➔ | DTE | 000 0000 |
+
+Table A.2 provides cause mapping specification X.45 to X.25 direction.
+
+X.25 diagnostic are included in octet 5\* of X.45 cause information element.
+
+TABLE A.2/X.45
+
+#### **Cause mapping in X.45 to X.25 direction**
+
+| X.45 cause | | ➔ | X.25 cause |
+|-----------------|-------------------------------------|---|--------------------------------------|
+| Location field | Cause value | | |
+| Public network | XXX XXXX | ➔ | 0 XXX XXX (except all X set to 0) |
+| Private network | XXX XXXX | ➔ | 1 XXX XXXX |
+| DTE | 000 0000 | ➔ | 000 0000 |
+| DTE | XXX XXXX (except all X set to 0) | ➔ | 1 XXX XXXX |
+
+### **A.3.5 Basic/extended throughput class negotiation – Throughput**
+
+X.25 throughput class from the called DTE is mapped to incoming throughput (octets 3c\* and 3d\*) of X.45 throughput information element.
+
+X.25 throughput class from the calling DTE is mapped to outgoing throughput (octets 3a\* and 3b\*) of X.45 throughput information element.
+
+Rules describe in A.1 are followed.
+
+### **A.3.6 Closed user group selection basic/extended format, closed user group selection with outgoing access selection basic/extended format – Closed user group**
+
+X.25 closed user group selection basic/extended format corresponds to closed user group information element with CUG indication (octet 3) set to closed user group.
+
+Closed user group selection with outgoing access selection basic/extended format corresponds to closed user group information element with CUG indication (octet 3) set to closed user group with outgoing access.
+
+### **A.3.7 Reverse charging – Reverse charging / Charging information**
+
+X.25 reverse charging is mapped to reverse charging indication (octet 3) of X.45 reverse charging / charging information element.
+
+### **A.3.8 Fast select – Packet layer binary parameters**
+
+X.25 fast select is mapped to fast select (octets 3) of X.45 packet layer binary parameters information element.
+
+### **A.3.9 NUI selection – NUI selection**
+
+The first octet of X.25 NUI selection facility parameter is mapped to octet 3 of X.45 NUI selection information element.
+
+The remaining octets of X.25 NUI selection facility parameter are mapped to octet 4, etc. of X.45 NUI selection information element.
+
+### **A.3.10 Charging information requesting service, Charging information receiving information: monetary unit, segment count, call duration – Reverse charging / Charging information**
+
+X.25 charging information requesting the service facility parameter is mapped to charging information (octet 3) of X.45 reverse charging / charging information information element.
+
+X.25 monetary unit is mapped to charging (octets 6\*, etc. ) of X.45 reverse charging / charging information information element.
+
+X.25 segment count is mapped to charging segment counts (octets 1 + 2, etc.) of X.45 reverse charging / charging information information element.
+
+X.25 call duration is mapped to call duration (octets m + 2, etc.) of X.45 reverse charging / charging information information element.
+
+### **A.3.11 ROA selection basic/extended format – Transit network selection**
+
+For each X.25 ROA transit network an X.45 transit network selection information element is coded. The network identification plan of X.45 transit network selection information element is set to data network identification code (see Recommendation X.121). Network identification (octet 4, etc.) of each X.45 transit network selection information element is set to the data network identification code of the particular ROA transit network.
+
+### **A.3.12 Call deflection selection – Call deflection selection**
+
+The X.25 reason for deflection (bits 6 to 1 of the first octet of the facility parameter field) is mapped to reason for deflection (octet 4) of X.45 call deflection selection information element.
+
+When present, X.25 type of address subfield and X.25 numbering plan identification subfield are mapped to X.45 type of number and X.45 numbering plan identification.
+
+X.25 alternate DTE address digits (BCD coding) are mapped to alternate party number digits (T50 characters).
+
+### **A.3.13 Call redirection or call deflection notification – Redirecting number**
+
+The X.25 reason for call redirection or call deflection notification (first octet of the facility parameter field) is mapped to reason for redirection (octet 3b) and when applicable to reason extension (octet 3c\*) of X.45 call deflection selection information element.
+
+When present, X.25 type of address subfield and X.25 numbering plan identification subfield are mapped to X.45 type of number and X.45 numbering plan identification.
+
+X.25 originally called DTE address digits (BCD coding) are mapped to originally called party number digits (T50 characters).
+
+### **A.3.14 Called line address modified notification – Called line address modified notification**
+
+X.25 reason for call redirection or call deflection (first octet if the facility parameter field) is mapped to reason for redirection (octet 3b) and when applicable to reason extension (octet 3c\*) of X.45 called line address modified notification information element.
+
+### **A.3.15 Transit delay selection and indication – Transit delay selection and indication**
+
+X.25 transit delay value (first and second octets of the facility parameter field) is mapped to transit delay selection and indication value (octets 3, 3a and 3b) of X.45 transit delay selection and indication information element.
+
+### **A.3.16 Calling address extension facility – Calling party subaddress**
+
+Use of the calling address extension as coded in bits 8 and 7 in the first octet of the X.25 calling address extension facility parameter field is mapped to type of subaddress (octet 3) of X.45 calling party subaddress information element.
+
+The number of semi octets as coded in bits 6 to 1 in the first octet of the X.25 calling address extension facility parameter field is mapped to the length of calling party subaddress contents (octet 2) and when applicable to the odd/even indicator (octet 3) of X.45 calling party subaddress information element.
+
+Calling address extension digits are mapped to subaddress information (octets 4, etc.).
+
+### **A.3.17 Called address extension facility – Called party subaddress**
+
+Use of the called address extension as coded in bits 8 and 7 in the first octet of the X.25 called address extension facility parameter field is mapped to type of subaddress (octet 3) of X.45 called party subaddress information element.
+
+The number of semi octets as coded in bits 6 to 1 in the first octet of the X.25 called address extension facility parameter field is mapped to the length of called party subaddress contents (octet 2) and when applicable to the odd/even indicator (octet 3) of X.45 called party subaddress information element.
+
+Called address extension digits are mapped to subaddress information (octets 4, etc.).
+
+### **A.3.18 Minimum throughput class basic/extended format – Throughput**
+
+X.25 minimum throughput class from the called DTE is mapped to minimum acceptable incoming throughput (octets 4c\* and 4d\*) of X.45 throughput information element.
+
+X.25 minimum throughput class from the calling DTE is mapped to minimum acceptable outgoing throughput (octets 4a\* and 4b\*) of X.45 throughput information element.
+
+Rules described in A.1 are followed.
+
+### **A.3.19 End-to-end transit delay – End-to-end transit delay**
+
+Cumulative transit delay (first and second octets) of X.25 end-to-end transit delay facility is mapped to cumulative transit delay value (octets 3, 3a and 3b) of X.45 end-to-end transit delay information element.
+
+When present, requested end-to-end transit delay (third and fourth octets) of X.25 end-to-end transit delay facility is mapped to requested end-to-end transit delay value (octets 4\*, 4a\* and 4b\*) of X.45 end-to-end transit delay information element.
+
+When present, maximum acceptable end-to-end transit delay (5th and 6th octets) of X.25 end-to-end transit delay facility is mapped to maximum end-to-end transit delay value (octets 5\*, 5a\* and 5b\*) of X.45 end-to-end transit delay information element.
+
+### **A.3.20 Priority – X.213 priority**
+
+Priority of data on connection (first octet) of X.25 priority facility is mapped to priority of data on a connection (octet 3) of X.45 X.213 priority information element.
+
+Priority to gain a connection (2nd octet) of X.25 priority facility is mapped to priority to gain a connection (octet 4\*) of X.45 X.213 priority information element.
+
+Priority to keep a connection (3rd octet) of X.25 priority facility is mapped to priority to keep a connection (octet 5\*) of X.45 X.213 priority information element.
+
+Lowest acceptable priority of data on connection (4th octet) of X.25 priority facility is mapped to lowest acceptable priority of data on a connection (octet 3a\*) of X.45 X.213 priority information element.
+
+Lowest acceptable priority to gain a connection (5th octet) of X.25 priority facility is mapped to lowest acceptable priority to gain a connection (octet 4a\*) of X.45 X.213 priority information element.
+
+Lowest acceptable priority to keep a connection (sixth octet) of X.25 priority facility is mapped to lowest acceptable priority to keep a connection (octet 5a\*) of X.45 X.213 priority information element.
+
+Unspecified value is identified by 255 in X.25 and by 15 in X.45 protocol.
+
+### **A.3.21 Protection – Protection**
+
+Protection format code (bits 8 and 7 of first octet) of X.25 protection facility is mapped to protection format (octet 3) of X.45 protection information element.
+
+Level of protection of X.25 protection facility is mapped to level of protection (octets 5 to n + 5) of X.45 protection information element.
+
+Lowest acceptable level of protection of X.25 protection facility is mapped to lowest acceptable level of protection (octets n + 7 to m + n + 7) of X.45 protection information element.
+
+### **A.3.22 Expedited data negotiation – Packet layer binary parameters**
+
+X.25 expedited data negotiation facility corresponds to expedited data (bit 3 of octet 3) in X.45 packet layer binary parameters information element.
+
+# **Appendix I**
+
+## **Subscription parameters**
+
+This appendix provides a list of parameters that needs to be specified when services described in this Recommendation are supported and subscribed to. When the network does not support a particular service, or when a particular service is not subscribed to, the corresponding parameters need simply to be ignored.
+
+## **I.1 Subscription parameters per interface**
+
+- Access rate(s);
+- Incoming calls barred or not;
+- Outgoing calls barred or not.
+- If subscribed to simple CUG (may not be subscribed in conjunction with CUG selection):
+ - a) CUG identification (only one);
+ - b) with/without outgoing calls barred out;
+ - c) with/without incoming calls barred out;
+ - d) with/without outgoing access;
+ - e) with/without incoming access.
+
+- If subscribed to CUG selection (may not be subscribed in conjunction with simple CUG):
+ - a) CUG identification(s), and for each CUG:
+ - i) with/without outgoing calls barred out;
+ - ii) with/without incoming calls barred out;
+ - b) with/without outgoing access;
+ - c) with/without incoming access;
+- Reverse charging acceptance;
+- Local charging prevention;
+- NUI subscription:
+ - Network user identifier(s);
+- NUI override:
+ - Network user identifier(s);
+- Charging information;
+- Transit network subscription:
+ - Transit network identification(s);
+- Hunt group;
+- Call redirection:
+ - Condition(s) to redirect calls;
+- Global alternative address registration;
+- Interface specific alternative address registration;
+- Alternative address usage subscription.
+
+## **I.2 Subscription parameters per PVC**
+
+- Virtual circuit identifiers: one for each direction of data transmission;
+- Maximum packet sizes: one for each direction of data transmission;
+- Throughputs: one for each direction of data transmission;
+- Assured / non-assured data transfer.
+
+
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|----------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Telephone network and ISDN |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media |
+| Series H | Transmission of non-telephone signals |
+| Series I | Integrated services digital network |
+| Series J | Transmission of sound-programme and television signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound-programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminal equipments and protocols for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communication |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.484-199906-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.484-199906-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..644b1e65caa6d6cd059338e3c3c55b972e6536d3
--- /dev/null
+++ b/marked/X/T-REC-X.484-199906-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7fa3d1e02f2049f89f8c72f6ae47d0ab9b9044ca9d814fed71751eabd89fde9d
+size 8301
diff --git a/marked/X/T-REC-X.5-199610-I_PDF-E/raw.md b/marked/X/T-REC-X.5-199610-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..6fd5ca2f1e60d6afb5e1949da2d927d5bbfbce44
--- /dev/null
+++ b/marked/X/T-REC-X.5-199610-I_PDF-E/raw.md
@@ -0,0 +1,824 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt striking the globe.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.5
+
+(10/96)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATION
+
+Public data networks – Services and facilities
+
+---
+
+**Facsimile Packet Assembly/Disassembly facility
+(FPAD) in a public data network**
+
+ITU-T Recommendation X.5
+
+(Previously «CCITT Recommendation»)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS AND OPEN SYSTEM COMMUNICATION
+
+| | |
+|-----------------------------------------------|------------------|
+| PUBLIC DATA NETWORKS | X.1-X.199 |
+| Services and facilities | X.1-X.19 |
+| Interfaces | X.20-X.49 |
+| Transmission, signalling and switching | X.50-X.89 |
+| Network aspects | X.90-X.149 |
+| Maintenance | X.150-X.179 |
+| Administrative arrangements | X.180-X.199 |
+| OPEN SYSTEM INTERCONNECTION | X.200-X.299 |
+| Model and notation | X.200-X.209 |
+| Service definitions | X.210-X.219 |
+| Connection-mode protocol specifications | X.220-X.229 |
+| Connectionless-mode protocol specification | X.230-X.239 |
+| PICS proformas | X.240-X.259 |
+| Protocol Identification | X.260-X.269 |
+| Security Protocols | X.270-X.279 |
+| Layer Managed Objects | X.280-X.289 |
+| Conformance testing | X.290-X.299 |
+| INTERWORKING BETWEEN NETWORKS | X.300-X.399 |
+| General | X.300-X.349 |
+| Satellite data transmission networks | X.350-X.399 |
+| MESSAGE HANDLING SYSTEMS | X.400-X.499 |
+| DIRECTORY | X.500-X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | X.600-X.699 |
+| Networking | X.600-X.629 |
+| Efficiency | X.630-X.649 |
+| Naming, Addressing and Registration | X.650-X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680-X.699 |
+| OSI MANAGEMENT | X.700-X.799 |
+| Systems Management framework and architecture | X.700-X.709 |
+| Management Communication Service and Protocol | X.710-X.719 |
+| Structure of Management Information | X.720-X.729 |
+| Management functions | X.730-X.799 |
+| SECURITY | X.800-X.849 |
+| OSI APPLICATIONS | X.850-X.899 |
+| Commitment, Concurrency and Recovery | X.850-X.859 |
+| Transaction processing | X.860-X.879 |
+| Remote operations | X.880-X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900-X.999 |
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# FOREWORD
+
+The ITU-T (Telecommunication Standardization Sector) is a permanent organ of the International Telecommunication Union (ITU). The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1 (Helsinki, March 1-12, 1993).
+
+ITU-T Recommendation X.5 was revised by ITU-T Study Group 7 (1993-1996) and was approved under the WTSC Resolution No. 1 procedure on the 5th of October 1996.
+
+# --- NOTE
+
+In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+© ITU 1996
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+# CONTENTS
+
+| | Page |
+|--------------------------------------------------------------------------------------|-------------|
+| Preface ..... | 1 |
+| 1 Introduction ..... | 1 |
+| 1.1 Scope ..... | 2 |
+| 1.2 Physical configurations ..... | 2 |
+| 1.2.1 G3 facsimile equipment/FPAD ..... | 2 |
+| 1.2.2 Operating environments ..... | 3 |
+| 1.3 Requirements ..... | 4 |
+| 1.3.1 G3 facsimile equipment requirements ..... | 4 |
+| 1.3.2 Requirements of an application DTE ..... | 4 |
+| 2 Description of the basic functions and user selectable functions of the FPAD ..... | 4 |
+| 2.1 Configuration of the FPAD by the G3 facsimile equipment ..... | 4 |
+| 2.2 FPAD parameters ..... | 4 |
+| 2.3 Functions of the FPAD ..... | 5 |
+| 2.3.1 Basic functions ..... | 5 |
+| 2.3.2 Optional functions ..... | 5 |
+| 2.4 Facsimile characteristics of the FPAD ..... | 5 |
+| 2.5 User selectable functions which may be provided by the FPAD ..... | 5 |
+| 2.5.1 Control of FPAD service signals ..... | 6 |
+| 3 Characteristics of FPAD parameters ..... | 6 |
+| 3.1 Characteristics of parameters ..... | 6 |
+| 3.2 Possible values of parameters ..... | 6 |
+| 3.3 Relationship with Recommendations X.38 and X.39 ..... | 7 |
+| 3.4 Determination of the values of FPAD parameters ..... | 7 |
+| 3.4.1 Initial values of FPAD parameters ..... | 7 |
+| 3.4.2 Current values of FPAD parameters ..... | 7 |
+| 4 List of FPAD parameters and possible values ..... | 7 |
+| 4.1 Control of FPAD service signals ..... | 7 |
+| Annex A – Alphabetical list of abbreviations used in this Recommendation ..... | 8 |
+| Annex B – Access to MHS ..... | 8 |
+| B.1 Introduction ..... | 8 |
+| B.2 References ..... | 8 |
+| B.3 Terms and definitions ..... | 9 |
+| B.4 Abbreviations ..... | 9 |
+| B.5 Conventions ..... | 9 |
+| B.6 Functional model ..... | 9 |
+| B.6.1 Functional model for access of a G3FE to MHS via FPAD ..... | 9 |
+| B.6.2 Networks and protocols involved ..... | 10 |
+| B.6.3 MHS elements of service for G3FE access to MHS via FPAD ..... | 10 |
+| B.6.4 MHS operations ..... | 11 |
+
+# **FACSIMILE PACKET ASSEMBLY/DISASSEMBLY FACILITY (FPAD) IN A PUBLIC DATA NETWORK**
+
+*(revised in 1992)*
+
+# **Preface**
+
+The establishment in various countries of public data networks providing packet switched data transmission services creates a need to produce standards to facilitate G3 facsimile equipment access from the public telephone network.
+
+The ITU-T,
+
+*considering*
+
+(a) that Recommendations X.1 and X.2 define the user classes of service and user facilities in public data networks, Recommendation X.96 defines call progress signals, Recommendation X.39 defines the procedures between a Facsimile Packet Assembly/Disassembly facility (FPAD) and a packet mode DTE or another FPAD, Recommendation X.38 defines the G3 facsimile equipment/DCE interface for a facsimile equipment accessing the FPAD;
+
+(b) that the logical control links for packet switched data transmission services are defined in Recommendation X.92, and that in particular Recommendation X.92 allows for incorporation of a PAD;
+
+(c) that G3 facsimile or associated equipments will send and receive network control information and user information in the form of dual-tone multi-frequency codes defined in Recommendation Q.23 or signals defined in Recommendations T.4 and T.30;
+
+(d) that DTEs operating in the packet mode will send and receive network control information and user information in the form of packets in accordance with Recommendation X.25;
+
+(e) that the packet mode DTE shall not be obliged to use the control procedures for FPAD functions, but that some packet mode DTEs may wish to control specific functions of the FPAD,
+
+*unanimously declares*
+
+(1) that the functions performed by, and operational characteristics of, the FPAD for the G3 facsimile equipment are described below in clause 2;
+
+(2) that the operation of FPAD for the G3 facsimile equipment should depend on the possible values of internal variables known as FPAD parameters which are described in clause 3;
+
+(3) that the FPAD parameters for the G3 facsimile equipment and their possible values are listed below in clause 4.
+
+# **1 Introduction**
+
+An FPAD is a facility which offers a G3 facsimile equipment the opportunity to use a public data network to convey facsimile control and image data to another G3 facsimile equipment or to an application DTE. The FPAD also allows an application DTE to establish a connection and to send control and image data to a G3 facsimile equipment.
+
+It is an underlying principle of the FPAD environment that to the degree possible, the performance and quality of the service of the two G3 facsimile equipments as available today utilizing the general switched telephone network are not negatively affected.
+
+NOTE – The term G3 facsimile equipment used here is slightly different from the T-Series Recommendations. In this Recommendation it is taken to be a G3 facsimile equipment which conforms to Recommendation T.4/T.30, along with the necessary ancillary control device as described in 2.1.1/X.38.
+
+## 1.1 Scope
+
+Support for the following cases is provided in the FPAD Series of Recommendations:
+
+- a) *A G3 facsimile equipment to a G3 facsimile equipment* – A G3 facsimile equipment establishes a call to a G3 facsimile equipment, dialling in one or two stages the number of the called G3 facsimile equipment:
+ - the calling G3 facsimile equipment transmits document(s) to the called G3 facsimile equipment;
+ - the called G3 facsimile equipment transmits document(s) to the calling G3 facsimile equipment.
+- b) *A G3 facsimile equipment to an application DTE* – A G3 facsimile equipment establishes a call to an application DTE, dialling in one or two stages the number of the called application DTE:
+ - the calling G3 facsimile equipment transmits document(s) to the called application DTE;
+ - the called application DTE transmits document(s) to the calling G3 facsimile equipment.
+- c) *An application DTE calling to a G3 facsimile equipment* – An application DTE establishes a call to a G3 facsimile equipment:
+ - the calling application equipment transmits document(s) to the called G3 facsimile;
+ - the called G3 facsimile equipment transmits document(s) to the calling application DTE.
+
+NOTE – Additional cases are for further study.
+
+## 1.2 Physical configurations
+
+### 1.2.1 G3 facsimile equipment/FPAD
+
+Two models are defined for the connection of a G3 facsimile equipment and an FPAD. These two models are illustrated in Figure 1.
+
+
+
+a) G3 facsimile equipment/FPAD connected via the general switched telephone network
+
+b) G3 facsimile equipment/FPAD connected directly
+
+Figure 1 illustrates two physical configurations for connecting G3 facsimile equipment and an FPAD. Model (a) shows the G3 facsimile equipment connected to the FPAD via the general switched telephone network (GSTN). Model (b) shows the G3 facsimile equipment connected directly to the FPAD.
+
+T0708100-90/d01
+
+FIGURE 1/X.5
+
+### 1.2.2 Operating environments
+
+Three scenarios are defined in which two G3 facsimile equipments or a G3 facsimile equipment and an application DTE may operate. These scenarios are illustrated in Figure 2.
+
+
+
+Diagram a) illustrates the connection between two G3 facsimile equipments. The sequence of components from left to right is: a triangle representing 'Calling G3 facsimile equipment', an oval labeled 'GSTN (Note 2)', a triangle representing 'Local FPAD', an oval labeled 'PSPDN (Note 1)', a triangle representing 'Remote FPAD', another oval labeled 'GSTN (Note 2)', and a final triangle representing 'Called G3 facsimile equipment'. All components are connected in a linear sequence.
+
+Diagram a) G3 facsimile equipment to G3 facsimile equipment
+
+a) G3 facsimile equipment to G3 facsimile equipment
+
+
+
+Diagram b) illustrates the connection from a G3 facsimile equipment to an application DTE. The sequence of components from left to right is: a triangle representing 'Calling G3 facsimile equipment', an oval labeled 'GSTN (Note 2)', a triangle representing 'Local FPAD', an oval labeled 'PSPDN (Note 1)', and a rectangle representing 'Called application (remote DTE)'. All components are connected in a linear sequence.
+
+Diagram b) G3 facsimile equipment to application DTE
+
+b) G3 facsimile equipment to application DTE
+
+
+
+Diagram c) illustrates the connection from an application DTE to a G3 facsimile equipment. The sequence of components from left to right is: a rectangle representing 'Calling application (local DTE)', an oval labeled 'PSPDN (Note 1)', a triangle representing 'Remote FPAD', an oval labeled 'GSTN (Note 2)', and a final triangle representing 'Called G3 facsimile equipment'. All components are connected in a linear sequence.
+
+Diagram c) Application DTE to G3 facsimile equipment
+
+c) Application DTE to G3 facsimile equipment
+
+T0708110-90/d02
+
+#### NOTES
+
+- 1 The FPAD and the PSPDN are shown as separate elements. This is for clarity only and should not imply that the FPAD is not, or could not be, an integral part of the PSPDN.
+- 2 The G3 facsimile equipment and the FPAD are shown connected by the general switched telephone network. In each case, the G3 facsimile equipment and FPAD may be directly connected.
+- 3 In this figure and throughout the FPAD Series of Recommendations, “local FPAD” or “local DTE” is the FPAD or DTE associated with the “calling” G3 facsimile equipment or application DTE. Similarly, “remote FPAD” or “remote DTE” is associated with the “called” G3 facsimile equipment or application DTE.
+- 4 The scenarios in this figure do not preclude the use of a single FPAD as a local or remote FPAD on a call-by-call basis.
+
+FIGURE 2/X.5
+
+## **1.3 Requirements**
+
+### **1.3.1 G3 facsimile equipment requirements**
+
+For a G3 facsimile equipment to operate in the context of an FPAD, the facsimile equipment must:
+
+- support all mandatory standard capabilities defined in Recommendation T.4; and
+- operate according to the procedures defined in Recommendation T.30.
+
+For the facsimile equipment to operate in the two-stage dialling mode, the facsimile equipment must provide a signalling method as defined in 2.1/X.38.
+
+The facsimile equipment may:
+
+- request any optional standard capability defined in Recommendations T.4 and T.30 (see Note 1);
+- request any non-standard capability; and
+- operate manually or automatically (see Note 2).
+
+#### **NOTES**
+
+1 Subclause 2.4 defines the optional standard capabilities that must be supported by an FPAD. If a G3 facsimile equipment requests one of these optional standard capabilities, the FPAD will relay the request for the optional standard capability unchanged. Similarly, if the G3 facsimile equipment requests an optional standard capability which is supported by the FPAD as an option (e.g. error correction mode), the FPAD will relay the request unchanged. If the G3 facsimile equipment requests an optional standard capability (or value of such capability) which is not supported by the FPAD, the FPAD will alter the coding of the request by:
+
+- replacing the capability value with the highest values available in the FPAD; or
+- “turning off” the request when no alternative value is available (e.g. error correction mode).
+
+2 Certain restrictions may apply in the case of a facsimile equipment operating automatically as the calling station. Refer to Recommendation X.38.
+
+### **1.3.2 Requirements of an application DTE**
+
+For an application DTE (either calling or called) to participate in the FPAD environment, it must emulate the public data interface of an FPAD as defined in Recommendation X.39.
+
+An application DTE may:
+
+- set and/or read the FPAD parameters of an FPAD;
+- enter into an interactive dialogue as defined in Recommendation X.38.
+
+# **2 Description of the basic functions and user selectable functions of the FPAD**
+
+## **2.1 Configuration of the FPAD by the G3 facsimile equipment**
+
+The FPAD performs a number of functions and exhibits operational characteristics. Some of the functions allow either or both the G3 facsimile equipment and the application DTE (or remote FPAD) to configure the FPAD so that its operation is adapted to the application.
+
+## **2.2 FPAD parameters**
+
+The operation of FPAD depends on the values of the set of internal variables called FPAD parameters. This set of parameters exists for each G3 facsimile equipment independently. The current value of each FPAD parameter defines the operational characteristics of its related functions.
+
+NOTE – The use of the plural in reference to FPAD parameters implies the existence of more than one parameter. However, only one FPAD parameter has so far been defined. The use of the plural has been continued throughout this and the other Recommendations of the Series as an indication that other FPAD parameters are for further study.
+
+## **2.3 Functions of the FPAD**
+
+### **2.3.1 Basic functions**
+
+Basic functions include:
+
+- assembly of facsimile image data into packets;
+- disassembly of the user data fields of packets;
+- handling of virtual call set-up and call clearing;
+- generation of service signals;
+- a mechanism for forwarding packets when the proper conditions exist, e.g. when a packet is full;
+- a mechanism for transmitting facsimile image data to G3 facsimile equipments; and
+- a mechanism for setting the current value of FPAD parameters.
+
+### **2.3.2 Optional functions**
+
+Optional functions (e.g. for profile selection), are for further study.
+
+## **2.4 Facsimile characteristics of the FPAD**
+
+The FPAD will support all mandatory standard capabilities of a G3 facsimile equipment as defined in Recommendation T.4.
+
+The FPAD will also support the following optional standard capabilities as defined in Recommendations T.4 and T.30:
+
+- a) *data signalling rate*
+ - 7200 bit/s as per Recommendation V.29;
+ - 9600 bit/s as per Recommendation V.29;
+- b) *vertical resolution*
+ - 7.7 line/mm;
+- c) *recording width capabilities*
+ - all valid values are supported;
+- d) *maximum recording length capability*
+ - all valid values are supported;
+- e) *minimum scan line time*
+ - all valid values are supported.
+
+NOTE – The explicit exclusion of additional optional standard capabilities (as defined in Recommendation T.4, e.g. 12.0, 14.4 kbit/s as per Recommendation V.17) within this Recommendation should not be construed as an indication that implementations may not offer these capabilities. Rather, that the above list represents the minimum set of capabilities required for FPAD operation. Further expansion may be undertaken.
+
+## **2.5 User selectable functions which may be provided by the FPAD**
+
+A number of packet-switched data network facilities may be available either on a subscription basis or on a per call basis to G3 facsimile equipments, as described in Recommendation X.2 for user class of service 29. In addition, the following features may be available on a subscription basis:
+
+- selection of an initial profile;
+- other operational characteristics of the G3 facsimile equipments.
+
+As defined in this Recommendation, parameters provide for functions which concern the management of the procedure between the G3 facsimile equipment and the FPAD.
+
+The method for the control of these functions is specified in Recommendation X.38 for the G3 facsimile equipment and in Recommendation X.39 for the application DTE or for another FPAD.
+
+Table 1 shows details of the valid values and combination of values of FPAD parameters. Other values and combinations are for further study.
+
+TABLE 1/X.5
+
+### **Possible values of FPAD parameters**
+
+| Parameter reference number | Parameter description | Selectable possible values | | FPAD parameter meaning | Remarks |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------|----------------------------|-----------------|------------------------------------------------------------------|----------------------------------------------------------------------------|
+| | | Mandatory | Optional (Note) | | |
+| 1 | Control of FPAD service signals (E) | 0 | | No service signals are transmitted to the G3 facsimile equipment | Additional values for working with ancillary devices are for further study |
+| | | 1 | | Tonal service signals are transmitted in the standard format | |
+| | | | 2 | Oral service signals are transmitted in the standard format | |
+| | | | 3 | DTMF service signals are transmitted in the standard format | |
+| | | | 8 | Service signals are transmitted in a network dependent format | |
+| E An essential parameter to be made available internationally NOTE – These parameter values provide additional user facilities which are not necessarily provided in all FPADs. | | | | | |
+
+### 2.5.1 Control of FPAD service signals
+
+This function provides the G3 facsimile equipment with the ability to decide whether or not and in what format FPAD service signals are transmitted.
+
+# 3 Characteristics of FPAD parameters
+
+## 3.1 Characteristics of parameters
+
+In this Recommendation FPAD parameters are identified by decimal numbers.
+
+## 3.2 Possible values of parameters
+
+In this Recommendation the possible values of parameters are represented by decimal numbers.
+
+## 3.3 Relationship with Recommendations X.38 and X.39
+
+Specific procedures, described in Recommendations X.38 and X.39 are available for initializing, reading and changing the values of FPAD parameters.
+
+## 3.4 Determination of the values of FPAD parameters
+
+### 3.4.1 Initial values of FPAD parameters
+
+On initialization, the initial value of each FPAD parameter is set according to a predetermined set of values called an initial standard profile. Table 1/X.38 gives details of the initial values of parameters for the standard profile which have been agreed by the CCITT.
+
+Networks may offer other standard profiles that provide different, predetermined sets of FPAD parameter values.
+
+### 3.4.2 Current values of FPAD parameters
+
+The current values of FPAD parameters are the values resulting from possible modifications by the FPAD, the G3 facsimile equipment and/or the application DTE (or remote FPAD).
+
+#### NOTES
+
+- 1 The need for a G3 facsimile equipment to read the value of a parameter on a local FPAD is for further study.
+- 2 The ability for a G3 facsimile equipment to set or read the value of a parameter on a remote FPAD is not currently provided. The need for this is for further study.
+
+# 4 List of FPAD parameters and possible values
+
+Restrictions on the permissible relationships between the values of the various parameters is a subject for further study.
+
+## 4.1 Control of FPAD service signals
+
+# *Reference 1*
+
+The parameter will have the following selectable values:
+
+| | |
+|------------------------------------------------------------------|--------------------------|
+| no service signals are transmitted to the G3 facsimile equipment | represented by decimal 0 |
+| tonal service signals are transmitted in the standard format | represented by decimal 1 |
+| oral service signals are transmitted in the standard format | represented by decimal 2 |
+| DTMF service signals are transmitted in the standard format | represented by decimal 3 |
+| service signals are transmitted in a network dependent format | represented by decimal 8 |
+
+### NOTES
+
+- 1 Tonal, oral, DTMF service signals are defined in 3.4.2/X.38.
+- 2 Additional values for other types of service signals (e.g. for working with ancillary devices), are for further study.
+- 3 The values of 9 are reserved for future extension.
+
+# Annex A
+
+## Alphabetical list of abbreviations used in this Recommendation
+
+(This annex forms an integral part of this Recommendation)
+
+| | |
+|------|------------------------------------------------|
+| DTE | Data Terminal Equipment |
+| DTMF | Dual-tone Multi-Frequency |
+| FPAD | Facsimile Packet Assembly/Disassembly facility |
+
+# Annex B
+
+## Access to MHS
+
+(This annex forms an integral part of this Recommendation)
+
+## B.1 Introduction
+
+This annex, Annex E/X.38 and Annex D/X.39 define together a new application of an FPAD, which may be used by a G3FE to access MHS (Message Handling System). MHS is defined in the X.400-Series Recommendations (see B.2, “References”).
+
+Access to MHS is an optional feature of FPAD. These annexes cover only IPMS access (Recommendations F.420 and F.423) of MHS. Access to “COMFAX” service (Recommendation F.162) through FPAD would be also possible in following the same principles described for IPMS access but is left for further study.
+
+This annex describes the principles and services for the access of a facsimile Group 3 equipment (G3FE) to Message Handling System (MHS) through FPAD devices.
+
+Annex E/X.38 specifies:
+
+- the definition and the format of the requests from the G3FE to MHS;
+- the various DTMF sequences to code these requests [at present, only the access by DTMF tones (dual-tone multi-frequency codes defined in Recommendation Q.23) is considered];
+- the particular service signals sent back by the FPAD to the G3FE upon MHS services requests.
+
+Annex D/X.39 specifies the format of the particular X.39 signals sent by the FPAD to the MHS and their mapping to MHS features.
+
+## B.2 References
+
+The following Recommendations and other references contain provisions which, through references in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; all users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published.
+
+- ITU-T Recommendation X.400/F.400 (1993), *Message handling services: Message handling system and service overview*.
+- CCITT Recommendation X.402 (1992), *Message handling systems: Overall architecture*.
+- CCITT Recommendation X.411 (1992), *Message handling systems: Message transfer system: Abstract service definition and procedures*.
+- CCITT Recommendation X.420 (1992), *Message handling systems: Interpersonal messaging system*.
+- CCITT Recommendation F.420 (1992), *Message handling services: The public interpersonal messaging service*.
+
+- CCITT Recommendation F.423 (1992), *Message handling services: Intercommunication between the interpersonal messaging service and the telefax service.*
+- CCITT Recommendation E.164 (1991), *Numbering plan for the ISDN era.*
+
+## B.3 Terms and definitions
+
+For the purpose of this annex, the following definition applies:
+
+**B.3.1 FPADAU:** An “FPAD Access Unit” is the part of a PFAXAU which has an interface with an FPAD to send facsimile messages to a G3FE.
+
+## B.4 Abbreviations
+
+For the purposes of this annex, the following abbreviations are used:
+
+| | |
+|--------|------------------------------------|
+| IPM-UA | InterPersonal Messaging User Agent |
+| MHS | Message Handling System |
+| MTA | Message Transfer Agent |
+| MTS | Message Transfer System |
+| PFAXAU | Public Telefax Access Unit |
+
+These abbreviations can also be found in Recommendations X.402 and F.400.
+
+## B.5 Conventions
+
+The terms in italicized characters used in this annex designate operations or arguments at the interfaces between a G3FE and an FPAD or between an FPAD and an IPM-UA (or FPADAU). They do not designate abstract operations or arguments as described in the X.400-Series Recommendations.
+
+## B.6 Functional model
+
+### B.6.1 Functional model for access of a G3FE to MHS via FPAD
+
+Figure B.1 provides a functional model for the access of a G3FE to MHS via FPAD. An FPAD cooperates with an IPM-UA to allow a G3FE to participate in the MHS as an MHS user.
+
+
+
+Figure B.1/X.5: Functional model for MHS access. The diagram shows a sequence of components connected by lines. On the left, a box labeled 'G3FE' with 'User' below it connects to a box labeled 'FPAD'. This 'FPAD' is inside a large oval labeled 'MHS'. Inside the 'MHS' oval, the 'FPAD' connects to a circle labeled 'IPM-UA'. The 'IPM-UA' connects to a circle labeled 'Optional MS', which in turn connects to a circle labeled 'MTS'. The 'MTS' connects to a box labeled 'FPADAU', which is inside a smaller oval labeled 'PFAXAU'. The 'FPADAU' connects to another box labeled 'FPAD', which then connects to a final box labeled 'G3FE' with 'User' below it. The 'FPADAU' and its associated 'FPAD' are also within the 'MHS' oval.
+
+T0724450-96/d03
+
+FIGURE B.1/X.5
+Functional model for MHS access
+
+Since an FPAD has the capability to exchange information for user identification between a G3FE and an IPM-UA and the capability to handle multiple G3FEs and IPM-UAs simultaneously, physical implementation of FPAD, IPM-UA and MTA may vary. However, a typical implementation may consist of one FPAD providing access for multiple G3FEs in an environment where IPM-UAs co-reside with an MTA.
+
+### B.6.2 Networks and protocols involved
+
+Figure B.2 describes the networks and the protocols involved in the communication defined in this annex.
+
+
+
+```
+
+graph LR
+ subgraph Top_Path [Facsimile message directions]
+ G3FE1[G3FE] -- "Rec. X.38
+Rec. T.30
+PSTN" --> FPAD1[FPAD]
+ FPAD1 -- "Rec. X.39
+Rec. X.25
+PSPDN" --> IPM-UA[IPM-UA]
+ IPM-UA -- "Rec. X.400" --> MTA[MTA]
+ end
+ subgraph Bottom_Path [Facsimile message direction]
+ G3FE2[G3FE] -- "Rec. X.38
+Rec. T.30
+PSTN" --> FPAD2[FPAD]
+ FPAD2 -- "Rec. X.39
+Rec. X.25
+PSPDN" --> FPADAU[FPADAU]
+ subgraph PFXAU [PFXAU]
+ FPADAU
+ end
+ MTA -- "Rec. X.400" --> FPADAU
+ FPADAU -- "Rec. X.400" --> MTA
+ end
+ style Top_Path fill:none,stroke:none
+ style Bottom_Path fill:none,stroke:none
+ style PFXAU fill:none,stroke:none
+
+```
+
+T0724460-96/d04
+
+Diagram illustrating the networks and protocols involved in facsimile message communication. The diagram shows two paths for facsimile message directions. The top path shows a G3FE connected to an FPAD via PSTN (Rec. X.38, Rec. T.30), the FPAD connected to an IPM-UA via PSPDN (Rec. X.39, Rec. X.25), and the IPM-UA connected to an MTA via Rec. X.400. The bottom path shows a G3FE connected to an FPAD via PSTN (Rec. X.38, Rec. T.30), and the FPAD connected to an FPADAU via PSPDN (Rec. X.39, Rec. X.25). The FPADAU is part of a PFXAU block, which is connected to the MTA via Rec. X.400. The MTA is also connected to the FPADAU via Rec. X.400. The diagram is labeled T0724460-96/d04.
+
+FIGURE B.2/X.5
+Networks and protocols involved
+
+### B.6.3 MHS elements of service for G3FE access to MHS via FPAD
+
+#### B.6.3.1 Elements of service belonging to the basic IPM service
+
+All the elements of service belonging to the basic IPM service (see 19.8/X.400) are offered in the scope of G3FE access to MHS via FPAD.
+
+The definition of the interfaces is limited to a minimum set so that it does not completely cover the whole protocol between a G3FE, an FPAD and an IPM-UA. The way to provide the service elements which are not defined in this annex is a local matter.
+
+#### B.6.3.2 IPM optional user facilities
+
+The elements of service belonging to the IPM optional user facilities (see 19.9/X.400) are offered according to the X.400-Series Recommendations in the scope of G3FE access to MHS via FPAD. However, this annex defines the way to provide only a part of IPM optional user facilities, as described in the following tables. The way to provide the facilities not defined in this annex is a local matter.
+
+### B.6.4 MHS operations
+
+#### B.6.4.1 List of the operations
+
+Table B.1 lists the operations supported by the G3FE access to MHS via FPAD and the corresponding X.400 abstract operations defined in Recommendations X.411 and X.420.
+
+TABLE B.1/X.5
+
+##### MHS Operations
+
+| Operation | Description | Status | Corresponding MHS operation |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|---------------------------------------------------|
+| Message-submission | Operation by which a G3FE originates a message to an IPM-UA to be submitted by the IPM-UA to the MTS for transfer and delivery to one or more MHS recipients | M | Originate IPM |
+| Message-delivery | Operation by which a G3FE receives a message from an IPM-UA or a PFAXAU | M | Receive IPM, etc. |
+| Command | Operation by which a G3FE instructs either an IPM-UA or the MTS to perform an action | O | Cancel-deferred-delivery, etc. |
+| Report | Operation by which either an IPM-UA or the MTS provides information to a G3FE related to one of the above operations | M | Receive report Receive RN, Receive NRN etc. |
+| NOTE – The “status” column in this table indicates whether support of the operation using the standardized protocols is mandatory (M) or optional (O). | | | |
+
+#### B.6.4.2 List of arguments
+
+Table B.2 shows the arguments used in the operations summarised in B.6.4.1.
+
+#### B.6.4.3 Message submission operation
+
+Figure B.3 describes the *Message-submission* operation. Procedures on the interfaces involved in this operation are summarised in Table B.3. Details of the procedures are defined in Annex E/X.38 and Annex D/X.39.
+
+The arguments used in Table B.3 are defined in Table B.2. They are used in Annex E/X.38 and Annex D/X.39. Conversion of information from these arguments to X.400 arguments to accomplish G3FE access to MHS via FPAD is defined in Annex D/X.39.
+
+The authentication of an IPM-UA by MTS is mandatory in the scope of MHS. The authentication of the IPM-UA by MTS is based on the authentication of a G3FE by the IPM-UA. Then, authentication of the G3FE by the IPM-UA via an FPAD is mandatory. Therefore, if *Fax-originator-name* and *Password* arguments are absent at interface 1 and 2, it is required to authenticate the G3FE by the IPM-UA by alternative means (e.g. authentication based on the networks).
+
+TABLE B.2/X.5
+
+##### **Arguments for G3FE access to MHS via FPAD**
+
+| Arguments for communication | Description | Supporting Operations |
+|------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|
+| Fax-originator-name | A name of the originator of a message which uniquely identifies the originator in MHS | Message-submission Message-delivery Command Report |
+| Fax-recipient-name | A name for recipient(s) of a message which either uniquely identifies the recipient(s) in MHS or identifies address(es) in another network, such as public telephone network, connected to MHS | Message-submission Message-delivery Command Report |
+| Originator-report-request | A value which indicates the type of the report request made by the originator of a message | Message-submission Message-delivery |
+| Delivery-time-request | A value which indicates the time which the originator of a message requests for delivery of the message | Message-submission Message-delivery Command Report |
+| Priority | A value which indicates the priority which is requested by the originator for a message | Message-submission Message-delivery |
+| Fax-content | The facsimile image of a message | Message-submission Message-delivery Report |
+| Recipient-fax-number | The GSTN number of the G3FE to which information is to be transmitted by the MTS via an FPAD (in the form of a facsimile message). This number is dialled by an FPAD | Message-delivery Report |
+| Fax-message-submission-identifier | A parameter used among a G3FE, an FPAD, an IPM-UA and MTS to uniquely identify a message | Message-submission Command Report |
+| Arguments for access | Description | Supporting Operations |
+| Password | A parameter which is used to identify a G3FE as a user of MHS either locally to an FPAD or remotely between an FPAD and MHS | Message-submission Command |
+
+
+
+```
+
+sequenceDiagram
+ participant G3FE as G3FE
+User
+ participant FPAD as FPAD
+ participant IPM-UA as IPM-UA
+ participant MTS as MTS
+ G3FE -- 1 --> FPAD
+ FPAD -- 2 --> IPM-UA
+ IPM-UA -- 3 --> MTS
+
+```
+
+T0724470-96/d05
+
+Sequence diagram showing the communication flow for message-submission operation: G3FE (User) ↔ FPAD ↔ IPM-UA ↔ MTS. Arrows are numbered 1, 2, and 3 respectively.
+
+FIGURE B.3/X.5
+
+##### **Communication involved in Message-submission operation**
+
+TABLE B.3/X.5
+
+##### **Description of Message-submission operation**
+
+| Interface | Procedure | Protocols involved (Rec.) | Arguments | Status |
+|---------------------------|--------------------------------------------------------------------------------------------------------------------------------------|---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------|
+| 1 | The G3FE transmits the arguments of the Message-submission operation to the FPAD and receives FPAD service signal in response | X.38 | Fax-originator-name | O |
+| | | | Fax-recipient-name | M |
+| | | | Originator-report-request | M |
+| | | | Delivery-time-request | O |
+| | | | Priority | O |
+| | | | Password | O |
+| | | | Fax-content | M |
+| 2 | The FPAD transmits the arguments of the Message-submission operation to the IPM-UA | X.39 | Same arguments as in interface 1 | Same status as in interface 1 |
+| 3 | The IPM-UA performs the Originate IPM abstract operation to the MTS | X.411 X.419 X.420 | The IPM-UA builds the Message Submission Envelope and the Heading of the IPM message. Mapping of arguments received from the FPAD to IPM arguments is specified in D.4/X.39 | As specified in X.400-Series Recs. |
+| M Mandatory O Optional | | | | |
+
+#### **B.6.4.4 Message-delivery operation**
+
+Figure B.4 describes the *Message-delivery* operation. Procedures on the interfaces involved in this operation are summarised in Table B.4. Details of the procedures are defined in Annex E/X.38 and Annex D/X.39.
+
+The arguments used in Table B.4 are defined in Table B.2. They are used in Annex E/X.38 and Annex D/X.39.
+
+There are two cases depending whether the recipient participates in MHS (direct MHS user with MHS address) or not (indirect MHS user).
+
+In the first case (direct user), the IPM-UA converts the MHS delivery operation into a fax transmission to a receiving G3FE. The address of the recipient is converted into the fax number of the G3FE. The actual transmission of the facsimile message to the G3FE may be performed by the IPM-UA either automatically or upon a specific request of the user. The format of such a request is a local matter (e.g. DTMF sequences with voice prompters).
+
+In the second case (indirect user), a PFXAU converts the MHS delivery operation into a fax transmission to a receiving G3FE. The fax number of the G3FE is the same as the Recipient-name defined in the X.400-Series Recommendations. The actual transmission of the facsimile message to the G3FE is performed automatically by the PFXAU.
+
+
+
+The diagram illustrates the communication involved in message delivery operation. It shows two paths: 'Delivery to direct user' and 'Delivery to indirect user'. Both paths involve MTS, IPM-UA, FPADAU, FPAD, and G3FE components. Arrows indicate the flow of data between these components, labeled 1a, 1b, 2, and 3.
+
+**Delivery to direct user:**
+
+- MTS (oval) connects to IPM-UA (oval) via arrow 1a.
+- IPM-UA connects to FPAD (rectangle) via arrow 2.
+- FPAD connects to G3FE (rectangle) via arrow 3.
+- G3FE is labeled 'User'.
+
+**Delivery to indirect user:**
+
+- MTS connects to FPADAU (rectangle) via arrow 1b.
+- FPADAU connects to FPAD (rectangle) via arrow 2.
+- FPAD connects to G3FE (rectangle) via arrow 3.
+- G3FE is labeled 'User'.
+- FPADAU and FPAD are grouped within an oval labeled 'PFAXAU'.
+
+T0724480-96/d06
+
+Diagram illustrating the communication involved in message delivery operation. It shows two paths: 'Delivery to direct user' and 'Delivery to indirect user'. Both paths involve MTS, IPM-UA, FPADAU, FPAD, and G3FE components. Arrows indicate the flow of data between these components, labeled 1a, 1b, 2, and 3.
+
+FIGURE B.4/X.5
+Communication involved in Message delivery operation
+
+TABLE B.4/X.5
+Description of Message delivery operation
+
+| Interface | Procedure | Protocols involved (Rec.) | Argument | Status |
+|-----------|-----------------------------------------------------------------------------------------------------|---------------------------|---------------------------------------------------------------------------------------------------|------------------------|
+| 1 | The MTS transmits the IPM facsimile message to the IPM-UA or the FPADAU for delivery | X.411 X.420 X.421 | As specified in X.400-Series Recs. for the following X.400 operations 1a delivery 1b export | |
+| 2 | The IPM-UA or FPADAU converts the IPM message into a facsimile message and transmits it to the FPAD | X.39 | Recipient-fax-number | M |
+| | | | Fax-content | M |
+| 3 | The FPAD transmits the facsimile message to the G3FE | X.38 | Same as in interface 2 | Same as in interface 2 |
+
+#### B.6.4.5 Command operation
+
+*Command* operation is an optional generic operation requested from a G3FE to MHS via FPAD. IPM-UA performs MHS operation to the MTS by converting the arguments of the *Command* operation received from an FPAD into MHS operation as defined in the X.400-Series Recommendations.
+
+Only one operation is standardized so far which makes use of the *Command* operation : “*Cancel-deferred-delivery*”. Other operations are for further study. *Cancel-deferred-delivery* is an optional operation which permits to cancel a *Message-submission* operation previously requested with the argument *Delivery-time-request* with *Deferred-delivery-time* designated.
+
+Figure B.5 describes the *Command* operation used for *Cancel-deferred-delivery*. Procedures on the interfaces involved in this operation are summarised in Table B.5. Details of the procedures are defined in Annex E/X.38 and Annex D/X.39.
+
+The arguments listed in Table B.5 are defined in Table B.2. They are used in Annex E/X.38 and Annex D/X.39. Conversion of information from these arguments to X.400 arguments to accomplish G3FE access to MHS via FPAD is defined in Annex D/X.39.
+
+
+
+```
+
+graph LR
+ G3FE[G3FE] -- 1 --> FPAD[FPAD]
+ FPAD -- 2 --> IPM-UA((IPM-UA))
+ IPM-UA -- 3 --> MTS((MTS))
+ subgraph User
+ G3FE
+ end
+ subgraph T0724490_96_d07
+ MTS
+ end
+
+```
+
+Diagram showing the communication flow for Cancel-deferred-delivery. It involves four entities: G3FE (User), FPAD, IPM-UA, and MTS (T0724490-96/d07). The flow is: 1. G3FE to FPAD; 2. FPAD to IPM-UA; 3. IPM-UA to MTS.
+
+FIGURE B.5/X.5
+Communication involved in Command operation for Cancel-deferred-delivery
+
+TABLE B.5/X.5
+Description of Command operation for Cancel-deferred-delivery
+
+| Interface | Procedure | Protocols involved (Rec.) | Arguments | Status |
+|---------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------|---------------------------------------------------------------------------------------|------------------------------------|
+| 1 | The G3FE transmits the arguments of the Command operation for Cancel-deferred-delivery and receives FPAD service signal in response | X.38 | Fax-originator-name | O |
+| | | | Fax-message-submission-identifier | M |
+| | | | Password | O |
+| 2 | The FPAD transmits the arguments of the Command operation for Cancel-deferred-delivery to the IPM-UA | X.39 | Same arguments as in interface 1 | Same status as in interface 1 |
+| 3 | The IPM-UA performs the Cancel-deferred-delivery-abstract-operation to the MTS | X.411 | Mapping of arguments received from the FPAD to MTS arguments is specified in D.4/X.39 | As specified in X.400-Series Recs. |
+| M Mandatory O Optional | | | | |
+
+The authentication of an IPM-UA by MTS is mandatory in the scope of MHS. The authentication of the IPM-UA by MTS is based on the authentication of a G3FE by the IPM-UA. Then, authentication of the G3FE by the IPM-UA via an FPAD is mandatory. Therefore, if *Fax-originator-name* and *Password* arguments are absent at interface 1 and 2, it is required to authenticate the G3FE by the IPM-UA by alternative means (e.g. authentication based on the networks).
+
+#### **B.6.4.6 Report operation**
+
+*Report* operation is a generic operation by which the MTS provides information to the G3FE. This operation is particularly used by the IPM-UA to send information to the FPAD related to a previous operation requested by a G3FE to MHS. When deferred delivery is requested during *Message-submission* or for the *Cancel-deferred-delivery* operation, return of result or error by using *Report* operation is mandatory.
+
+Reporting to a G3FE the content of Receive report, Receive RN and Receive NRN (as defined in Recommendation X.420) is an example where the IPM-UA makes use of the *Report* operation to send information to the G3FE through the FPAD. The IPM-UA converts the MHS parameters of the information into a facsimile message which is sent to the FPAD through User sequence signals as defined in Recommendation X.39.
+
+In case where the information refers to a previous operation requested by a G3FE to MHS (example report subsequent to a *Message-submission* operation), it shall include (in the *Fax-content*) the information required to uniquely identify the formal operation.
+
+Figure B.6 describes the *Report* operation.
+
+Procedures on the interfaces involved in this operation are summarised in Table B.6. Details of the procedures and the information transmitted are defined in Annex E/X.38 and Annex D/X.39.
+
+The two mandatory arguments for *Report* operation are: *Fax-content* and *Recipient-fax-number*. These arguments are defined in Table B.2. They are used in Annex E/X.38 and Annex D/X.39.
+
+
+
+```
+sequenceDiagram
+ participant G3FE as G3FE
+
+ participant FPAD as FPAD
+
+ participant IPM-UA as IPM-UA
+
+ participant MTS as MTS
+ Note over G3FE: User
+ Note over MTS: T0724500-96/d08
+ MTS->>IPM-UA: 1
+ IPM-UA->>FPAD: 2
+ FPAD->>G3FE: 3
+```
+
+Sequence diagram showing the communication flow for the Report operation. It involves four entities: G3FE (labeled 'User'), FPAD, IPM-UA, and MTS. The flow is as follows: 1. MTS sends information to IPM-UA. 2. IPM-UA sends a facsimile message to FPAD. 3. FPAD sends the facsimile message to G3FE.
+
+FIGURE B.6/X.5
+Communication involved in Report operation
+
+TABLE B.6/X.5
+Description of Report operation
+
+| Interface | Procedure | Protocols involved (Rec.) | Arguments | Status |
+|-----------|-------------------------------------------------------------------------------------------|---------------------------|-----------------------------|----------------------------|
+| 1 | The MTS transmits to the IPM-UA some information refering to a previous operation | X.420 | As specified in Rec. X.420 | As specified in Rec. X.420 |
+| 2 | The IPM-UA converts the information into a facsimile message and transmits it to the FPAD | X.39 | Recipient-fax-number | M |
+| | | | Fax-content | M |
+| 3 | The FPAD sends the facsimile message to the G3FE | X.38 | Same as in interface 2 | Same as in interface 2 |
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|----------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Telephone network and ISDN |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media |
+| Series H | Transmission of non-telephone signals |
+| Series I | Integrated services digital network |
+| Series J | Transmission of sound-programme and television signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound-programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminal equipments and protocols for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communication |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.50bis-198811-I_PDF-E/raw.md b/marked/X/T-REC-X.50bis-198811-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..9ef03de35f72b5ccba7cd0bf137a48420f002649
--- /dev/null
+++ b/marked/X/T-REC-X.50bis-198811-I_PDF-E/raw.md
@@ -0,0 +1,70 @@
+
+
+
+
+ITU logo: a globe with the letters ITU and a lightning bolt.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+***X.50 bis***
+
+**PUBLIC DATA NETWORKS**
+
+**TRANSMISSION, SIGNALLING AND SWITCHING**
+
+---
+
+**FUNDAMENTAL PARAMETERS OF A 48-kbit/s
+USER DATA SIGNALLING RATE
+TRANSMISSION SCHEME FOR THE
+INTERNATIONAL INTERFACE BETWEEN
+SYNCHRONOUS DATA NETWORKS**
+
+**ITU-T Recommendation *X.50 bis***
+
+(Extract from the *Blue Book*)
+
+---
+
+# NOTES
+
+1 ITU-T Recommendation X.50 *bis* was published in Fascicle VIII.3 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below).
+
+2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+# **FUNDAMENTAL PARAMETERS OF A 48-kbit/s USER DATA SIGNALLING RATE TRANSMISSION SCHEME FOR THE INTERNATIONAL INTERFACE BETWEEN SYNCHRONOUS DATA NETWORKS**
+
+*(Geneva, 1980)*
+
+## **1 General**
+
+1.1 This Recommendation sets out the fundamental parameters of a transmission scheme that should be used for 48-kbit/s data signalling rate for interworking of networks that make use of the following structures:
+
+- a) 8-bit envelope (see Explanatory Notes 1 and 2 of Recommendation X.50);
+- b) 10-bit envelope (see Explanatory Note 3 of Recommendation X.50); in the case where at least one of the networks is structured according to a).
+
+1.2 For interworking between two networks both of which utilize the 10-bit envelope structure as identified in § 1.1 b) above, Recommendation X.51 *bis* will apply.
+
+1.3 Paragraph 2 of this Recommendation deals with the basic parameters which shall be used in any application of this Recommendation and, in particular, for interworking between two networks, both of which utilize the 8-bit envelope structure.
+
+1.4 Paragraph 3 of this Recommendation, in addition to § 2, applies to the interworking of networks with different envelope structures.
+
+1.5 The use of the status bit, in addition to the indication given in this Recommendation, should comply with Recommendation X.21 and X.21 *bis*, together with Recommendation X.71 for connections using decentralized signalling and with Recommendation X.60 for connections using common channel signalling.
+
+## **2 Transmission scheme**
+
+2.1 The gross bit rate of 64 kbit/s should be standardized for international links.
+
+2.2 The signal element of the 64-kbit/s channel should be assembled in 8-bit envelopes in which bit 1 is the F bit, bits 2-7 are information bits and bit 8 is the status bit S.
+
+2.3 The use and the value to be assigned to the F bits of the 8-bit envelopes are under study.
+
+## **3 Interworking of networks with different envelope structures**
+
+The problem of interworking of networks with different envelope structures should be further studied taking into account the recommendations in § 4 of Recommendation X.50.
\ No newline at end of file
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/0af1ba85ab6e4e50befbef3d63e017dc_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/0af1ba85ab6e4e50befbef3d63e017dc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..908586f076b0b6483a9146dd6621ea5f458dd8db
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/0af1ba85ab6e4e50befbef3d63e017dc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c793d04274965cf09ef8d6233423d29d415bdc2e29ba1818c0f83b25b6f71829
+size 135699
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/15e4a144a88176b71ea3eff2722253b0_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/15e4a144a88176b71ea3eff2722253b0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..77cbd3280a4c1065040c83b69af8e9fa93b831b1
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/15e4a144a88176b71ea3eff2722253b0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:20d0cac0aa1fdd9f9f6f5e1b9081981f05063026478167abe46eff2bac7d2baa
+size 11452
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/1d7527f4316cfe2d342b08d1653d1592_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/1d7527f4316cfe2d342b08d1653d1592_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6ff01530b39f6e81acf1f91267bd985e5045f5a4
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/1d7527f4316cfe2d342b08d1653d1592_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c836206031b3148e96f07074cab319bfe49fbb68a32722e617dee0ddb4ad86a7
+size 6853
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/1ea7909aea2fb749a6fe98fbdb8cacae_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/1ea7909aea2fb749a6fe98fbdb8cacae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..16d290c0dcf7faf52e49aff9971b6c0285793445
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/1ea7909aea2fb749a6fe98fbdb8cacae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:660120a9814e3856cd60eb39d8b2270a8a1826a1553304e07fed70fe24c531d4
+size 60380
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/1ff2bf0c111f189bef30c0d6e84aeefe_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/1ff2bf0c111f189bef30c0d6e84aeefe_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2fec86d747d5e4f24c99a013c22d7ff073dbbe83
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/1ff2bf0c111f189bef30c0d6e84aeefe_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:76f1c32596dce7aa1e2a664299309df5a1fff00a657625ecfa579940331f2da5
+size 27798
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/36117e9cb27c58484cd8d3e5f9dc7ac3_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/36117e9cb27c58484cd8d3e5f9dc7ac3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a62d05606ae292dbfd65766c69c2a7a552b11eca
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/36117e9cb27c58484cd8d3e5f9dc7ac3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:81448fe4e7cb91546556afffa73dd4e9339ba0b5df0af947b594cd3561c1bbf6
+size 28567
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/3b281ef3b6cc5f8ba97cbc011bfaac79_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/3b281ef3b6cc5f8ba97cbc011bfaac79_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..47dbcb758e5e001f4a99c7bbb636c1b1a8a0f869
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/3b281ef3b6cc5f8ba97cbc011bfaac79_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:05b3da7fc9570c278e8004ff1f36e9fe18dabe6b61bf4f09e29ef52c0ed28979
+size 201533
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/471c91d9988fb84924ddb6b71bb16fa1_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/471c91d9988fb84924ddb6b71bb16fa1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bbc64070fdd84c472b4c3954ddf04ade86f06abe
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/471c91d9988fb84924ddb6b71bb16fa1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fedde5872f7cb878a0783fa31af1845224d5c02ee182c5014d8fd116311e70df
+size 19746
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/52c40e2f443985dc63f45dec57d90c8c_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/52c40e2f443985dc63f45dec57d90c8c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ab719534d45e34de33dcab47962d3019dff488f0
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/52c40e2f443985dc63f45dec57d90c8c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:86e590cd80c8d8dd71f508b57f9048a1c10dc4020ffab4a8336761fa908b4a20
+size 75631
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/5509e6ec160899dd306e462bb6a3643b_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/5509e6ec160899dd306e462bb6a3643b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8b2eef840abecf1272d2545d01593b9ffebb16b0
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/5509e6ec160899dd306e462bb6a3643b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d5d893f05d81069d20f765df640443b745325e84571f2bb9097590ac38c43022
+size 195773
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/5cf80bac69830ea773ac17c87e0ae24d_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/5cf80bac69830ea773ac17c87e0ae24d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c986d10c0c4cf323035291040b71cea242c0d55f
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/5cf80bac69830ea773ac17c87e0ae24d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:18f69efb6426c67bfa2a90fbe221043f1865a80abf609700101c67b9ae08a38a
+size 83733
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/5e9af8986a5845504f251d3079da8078_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/5e9af8986a5845504f251d3079da8078_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..cb6db73a548cfbd298257a31873566b5383eb24c
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/5e9af8986a5845504f251d3079da8078_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1e39d56c6c9780799883d1b0eeab4547a1ae4ce39029d632c9d9e57728bb318a
+size 75043
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e0ca2e550398d65174bb9d86650db5566f5200d2
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/67114ecf6da13c97a89aeff0d86885d5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:12b1a58501e511e0f3d1c33e25700883016fce346a1411187c59ab180244b3f7
+size 67674
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/6cc85a2b62fd8a2a3faab29730f20e81_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/6cc85a2b62fd8a2a3faab29730f20e81_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2661c261a510969a54d856fac6717b7c4d91a3e5
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/6cc85a2b62fd8a2a3faab29730f20e81_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bba88c8bb5c8e51074887804344889cf422b063d334b6954336426b83a3ab066
+size 67009
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/701f4311e49f346390759520fcd19af4_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/701f4311e49f346390759520fcd19af4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ae67179eedf0505e0d49823baf3b3192617f809c
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/701f4311e49f346390759520fcd19af4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c17320a16aa11ceac021ebdf9088cfbf84831ae72c426642bccecb3b0f073248
+size 143080
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/77464a47f104d0d647b2414591137b64_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/77464a47f104d0d647b2414591137b64_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..614985196c76a6b329ac0fbd240c6454e48e25a1
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/77464a47f104d0d647b2414591137b64_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:006e68aa30f6f38ec1824e084244af5950e36df888790b5f41e72c2abc025a1b
+size 31860
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/7d929ba1b7d09ea8e00b9e7abbbe50c9_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/7d929ba1b7d09ea8e00b9e7abbbe50c9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b0a374b5269aa665128df6e6d6dc3b6fbcaf761d
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/7d929ba1b7d09ea8e00b9e7abbbe50c9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a4929bf46e2f83e9599f23db3741d8e122290795d03f7c5c2114663f75ae5ab
+size 53644
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c26d9c6ba3a1f21d30ad083cf800ecaed4d68c93
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8d982b25a48f13ee87166c454518634d9cf0460c5c730c2323077ca575755e4d
+size 23345
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/868ee7df1ec851f132ccf8c390de76a8_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/868ee7df1ec851f132ccf8c390de76a8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6a1c8fcbf5f7141e984a3ca2c280278da52438b2
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/868ee7df1ec851f132ccf8c390de76a8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6e739c1ac6cee6963c0b02b7b079f0c9c632cf4f937ca3257b7988f3982bde41
+size 71089
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/886963464425186f4a465fa8155d2a3c_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/886963464425186f4a465fa8155d2a3c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..08842c7a64b59a42fa57b6ea1a0481381df2f785
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/886963464425186f4a465fa8155d2a3c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7b402fe9ff934fa304886bcc00342e1cfdcf03ef9a6cf1b00eb7174c6fa273a1
+size 72510
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/921f8fa0f7ce2c9956f20d33162c13a2_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/921f8fa0f7ce2c9956f20d33162c13a2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..f2c4280462d7a8e8c65dcc13c1352aa65babc90f
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/921f8fa0f7ce2c9956f20d33162c13a2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9d197adc1c5e900d98c90aa85fcd663ab5eaa48f5c2df449c7a9c7cb540b6bc6
+size 19446
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/9b6b5924b48bf2fd5f347f88f06f45b3_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/9b6b5924b48bf2fd5f347f88f06f45b3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..00d12140ba5f1e3a0c2b25bd4dcd7d14c3710068
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/9b6b5924b48bf2fd5f347f88f06f45b3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:54d2570b09ae580a21184d5a8ca977816442970fa8312a2fc0e3fe2a23ddaa22
+size 38823
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/9cd85f266cdb1fb3ad544eb3dd3bd5e4_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/9cd85f266cdb1fb3ad544eb3dd3bd5e4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..534e57ba034ae3577dee1f9e9f2cd2c939723732
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/9cd85f266cdb1fb3ad544eb3dd3bd5e4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:27a339b64a6637b64ae6db1cb19c630236ffab8293e260b808b5fc6cde39542d
+size 175700
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/9e8ebf03cae78f4f81b697548c2d7250_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/9e8ebf03cae78f4f81b697548c2d7250_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bc0b18d8b9bd6ff3847523567581975184e24e9a
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/9e8ebf03cae78f4f81b697548c2d7250_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8cf48d431c8af6fe5eb86405e8e60bdb615aae9a2e7b24f622a5b7cc63eb32e6
+size 210288
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/a49d2de328d172709cd326a374415d6d_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/a49d2de328d172709cd326a374415d6d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..630cede3847bd22d8e17d9393315451d79e34131
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/a49d2de328d172709cd326a374415d6d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:be31c17486689b4a1dd3fbbd216deec3383204c266a94371d8709b276ed0927e
+size 36439
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/b76d1b06cf06e1c28f844e68507b40ed_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/b76d1b06cf06e1c28f844e68507b40ed_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1267804d7122ce33d8320c26feabac668200db3d
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/b76d1b06cf06e1c28f844e68507b40ed_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0ec9fb70d4bd2ab5be2ee23d433f110725c6e019680dd1551c3823ddd3f67876
+size 135122
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/bf316d14a760a28869460fd9b0c9f616_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/bf316d14a760a28869460fd9b0c9f616_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..72c5ff858f42700be58efe7a32cb097067848eae
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/bf316d14a760a28869460fd9b0c9f616_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b4e623d483b9c194b0ff2282a611f0baa023fe027560d49a78e016f3add0bf6d
+size 78557
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e8100f20d515882bf66c9d12a293cbe47e235490
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/c85ded401105f62f2d6ff26b3b5eb4af_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f79473447b806f59205d07bebc2c0e555c9c23e0803bee0f124b9a3e95b18d6c
+size 22763
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/c9bcc9f954279dd8f99cdcb0f41fff4a_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/c9bcc9f954279dd8f99cdcb0f41fff4a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..abfdb0fd57ed9cc8cb4e8163f9e2bad3221ca86b
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/c9bcc9f954279dd8f99cdcb0f41fff4a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5159da370ae31cf04a3389f514973affa25b56aa0b1c908bae50065cb602d134
+size 31349
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/cc72b4769f15fe33763025416c1e274d_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/cc72b4769f15fe33763025416c1e274d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..00f60c1e420618c0fffed3ec46aa7953522516e4
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/cc72b4769f15fe33763025416c1e274d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:37da463c5f228929e99b07062efa064d0d8bd7b569a029a328e502a0d1264fa3
+size 203676
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/d2f4940093768001d427ab18d4e40cf1_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/d2f4940093768001d427ab18d4e40cf1_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7b7f2f26694cccfe7b7bc868b5bf5ff00707806e
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/d2f4940093768001d427ab18d4e40cf1_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ec7da4483405f93ac502d1deef16e949db76a4f15322098021ca7c3eed1a0fd5
+size 139035
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/dbd4bab54b57e8d1abf80e3de6471130_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/dbd4bab54b57e8d1abf80e3de6471130_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a08cd2aed7bb734fc06b64d39c5f335aa98168bc
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/dbd4bab54b57e8d1abf80e3de6471130_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:82b6050fd443af63bcf6167ae1a4823015ed5c2ad80e70e32c5bba34ae85356d
+size 65527
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/dbfe5a97dc7e71fd9ae813d4bb865e29_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/dbfe5a97dc7e71fd9ae813d4bb865e29_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0f4ed389458068ba151369a009dc3b920f90bd5c
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/dbfe5a97dc7e71fd9ae813d4bb865e29_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0a57d74c5116424f984dae1e3d5ccb6fec80c6b47801a403b1862e549ef18d09
+size 62586
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/e0627c8e3dfda5da1ee8d5a90c9f7489_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/e0627c8e3dfda5da1ee8d5a90c9f7489_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0193460bcf3ac49d355c6332a7e84c0c7b155a77
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/e0627c8e3dfda5da1ee8d5a90c9f7489_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fa4cdd6e677af4bcc9e6451b8e076268e02022e31364bffb76af639bd124cdc4
+size 143666
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/f4fdce3ce1c0fd291f31813f83d0d0d3_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/f4fdce3ce1c0fd291f31813f83d0d0d3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1463c9d00cb1b850cb40ee1aad13b183f05668cf
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/f4fdce3ce1c0fd291f31813f83d0d0d3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:33ec5a0a967352624b9bf1c5212b5a09ba58e05b9b57362a5cc8fd66f81f063c
+size 144804
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/fd3cbb53e991f8209ba17b398f426e13_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/fd3cbb53e991f8209ba17b398f426e13_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2cfe4fbf814b93f1f1dad28cb730198194d02dd7
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/fd3cbb53e991f8209ba17b398f426e13_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:43cc86b78942632d3a2e2028dbb7debb3b5ad84ee67fb96ff92a97af0cc10a4c
+size 107510
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/fd8369b549b3d1a5c848cbd83659cae9_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/fd8369b549b3d1a5c848cbd83659cae9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e506c955abd7751c9a0c2d9462b22f65223e4af4
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/fd8369b549b3d1a5c848cbd83659cae9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:64dcfaad49773fd4fb48bbce6f29375dc07620728ec6a5b96a195efd21ec21f9
+size 231311
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/fee87ee34f98efee162e918fbaeec613_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/fee87ee34f98efee162e918fbaeec613_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6c99de83630f550223e040b02915e59e157a71e4
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/fee87ee34f98efee162e918fbaeec613_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c7e73237f5e210405f7c35627120cab6211478b06b224b662a37afc9c493dc0d
+size 131724
diff --git a/marked/X/T-REC-X.518-201910-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg b/marked/X/T-REC-X.518-201910-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6d3c9eaa54ea5b29242af93771584261a0ebd5a6
--- /dev/null
+++ b/marked/X/T-REC-X.518-201910-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e1be70010f362c48356da9a84ce1659f5eb5fa9b4b77c3bdf7d8a0b388f67e7c
+size 29017
diff --git a/marked/X/T-REC-X.52-198811-I_PDF-E/raw.md b/marked/X/T-REC-X.52-198811-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..fa545f65a33cef479d9369e254dc310810e10517
--- /dev/null
+++ b/marked/X/T-REC-X.52-198811-I_PDF-E/raw.md
@@ -0,0 +1,126 @@
+
+
+
+
+ITU logo: a globe with the letters ITU and a lightning bolt symbol.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**X.52**
+
+**PUBLIC DATA NETWORKS**
+
+**TRANSMISSION, SIGNALLING AND SWITCHING**
+
+---
+
+**METHOD OF ENCODING ANISOCHRONOUS
+SIGNALS INTO A SYNCHRONOUS USER
+BEARER**
+
+**ITU-T Recommendation X.52**
+
+(Extract from the *Blue Book*)
+
+---
+
+# NOTES
+
+1 ITU-T Recommendation X.52 was published in Fascicle VIII.3 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below).
+
+2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## Recommendation X.52
+
+# METHOD OF ENCODING ANISOCHRONOUS SIGNALS INTO A SYNCHRONOUS USER BEARER1)
+
+(Geneva, 1980)
+
+The CCITT,
+
+*considering that*
+
+- (a) Recommendation X.1 defines the user classes of service in public data networks;
+- (b) Recommendation X.2 defines the international user facilities in public data networks;
+- (c) Recommendations X.21 and X.21 *bis* define the interface between data terminal equipment (DTE) and data circuit-terminating equipment (DCE) for synchronous operation;
+- (d) Recommendations X.50 and X.51 define the multiplexing scheme for the international interface between synchronous data networks;
+- (e) Recommendations X.60, X.61 and X.71 define the signalling system on international circuits between synchronous data networks;
+- (f) some circuits implementing synchronous data networks also will connect to those networks DTEs operating in user classes of service 1 and 2;
+
+*unanimously declares the following view:*
+
+## **1 Scope**
+
+1.1 In the case where two synchronous data networks offer service for DTEs in user classes of service 1 and 2, the transfer of the anisochronous signals between the networks shall be performed using a synchronous user channel of 600 bit/s in the standardized multiplexing schemes given in Recommendations X.50 and X.51 if one or both of the networks nationally use the synchronous user channel of 600 bit/s.
+
+1.2 In the case where two synchronous data networks offer service for DTEs in user classes of service 1 and 2 but do not provide the 600-bit/s rate, the transfer of the anisochronous signals between those two networks shall be performed using a synchronous user channel of 2400 bit/s in the standardized multiplexing schemes given in Recommendations X.50 and X.51.
+
+1.3 The method of encoding signals from DTEs in user classes of service 1 and 2 into the synchronous bearer shall be independent of the multiplexing scheme used.
+
+1.4 The method of encoding shall be as defined in this Recommendation.
+
+## **2 Encoding method**
+
+The encoding method implies that characters generated by DTEs in user classes of service 1 and 2 in accordance with Recommendation X.1 are transferred on international links as characters on a synchronous user channel, i.e. the transfer of characters on a synchronous user channel shall include the start signal as well as the stop signal with the following convention:
+
+start polarity = binary zero;
+
+---
+
+1) This Recommendation is only valid for interworking between synchronous data networks. For the interworking between anisochronous data networks the Series R Recommendations will apply.
+
+stop polarity = binary one.
+
+Between any two characters on synchronous user channel the value of the bits shall be binary one.
+
+The encoder and decoder shall be implemented in such a way that continuous start polarity (as well as continuous stop polarity) generated by a DTE can be transferred.
+
+On the multiplexed link there need not be any relation between characters and envelopes.
+
+The encoder shall be implemented in such a way that the time delay between the reception of a character at nominal speed and the start of sending the character on a synchronous user channel is less than 1 bit at the data signalling rate of the synchronous user channel used.
+
+
+
+Timing diagram showing the relationship between nominal speed and synchronous bearer. The diagram consists of two horizontal lines: 'Nominal speed' (top) and 'Synchronous bearer' (bottom). On the 'Nominal speed' line, three intervals of duration t1 are marked with double-headed arrows. On the 'Synchronous bearer' line, two intervals of duration t2 are marked with double-headed arrows. Dashed lines connect the start and end of the t1 intervals on the nominal speed line to the start and end of the t2 intervals on the synchronous bearer line. The time delay between the start of a t1 interval and the start of a t2 interval is marked as t3 with a double-headed arrow. The text 'CCITT-38 290' is located at the bottom right of the diagram.
+
+- t1 One character at nominal speed
+- t2 One character at synchronous signalling rate
+- t3 Time delay < 1.67 ms
+
+FIGURE 1/X.52
+
+## ANNEX A
+
+(to Recommendation X.52)
+
+### Location of the encoder
+
+The location of the encoder, e.g. in the DCE in question or at a control point in the network, is a national matter. The location however will have no impact on the method described in this Recommendation.
+
+When discussing the location of the encoder for harmonization reasons one should bear in mind that:
+
+- in the case of a DCE located encoder, no special features for handling asynchronous signals are needed in network components such as concentrators and multiplexers and that all maintenance functions, subscriber line signalling scheme, local network modems, etc. implemented for the synchronous user classes of service can be used without any changes;
+- if the encoder is placed at a central point, the data signalling rate on the local loop can be kept at the lowest possible rate allowing the use of a simple 2-wire modem and the sharing of conversion equipment at the central point by a number of subscribers.
+
+## ANNEX B
+
+(to Recommendation X.52)
+
+### Higher data signalling rates
+
+In the case where asynchronous DTEs operating at higher data signalling rates than given in Recommendation X.1 are connected to synchronous data networks, the same principle for encoding as given in the text of this Recommendation could be used and the relationship between data signalling rate and bearer channel rate shall be as shown in Table B-1/X.52.
+
+TABLE B-1/X.52
+
+| Data signalling rate | Bearer channel rate |
+|----------------------|---------------------|
+| 600 bit/s | 2400 bit/s |
+| 1200 bit/s | 2400 bit/s |
+| 2400 bit/s | 4800 bit/s |
+| 4800 bit/s | 9600 bit/s |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.55-198811-I_PDF-E/12a6537c92844d5b393104c02e8dfc2f_img.jpg b/marked/X/T-REC-X.55-198811-I_PDF-E/12a6537c92844d5b393104c02e8dfc2f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3092aff6641111cf3d1df05263b9e047ab1457bd
--- /dev/null
+++ b/marked/X/T-REC-X.55-198811-I_PDF-E/12a6537c92844d5b393104c02e8dfc2f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:972c16dafcbb40a6c9760e0415ee3a5c3f599e21162c9a813f0fdad0d12c66cf
+size 96658
diff --git a/marked/X/T-REC-X.55-198811-I_PDF-E/2763901b7a1fd1b5d704cdc450d12ed0_img.jpg b/marked/X/T-REC-X.55-198811-I_PDF-E/2763901b7a1fd1b5d704cdc450d12ed0_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bae70b195f21449d58954a95397ccb59dde1538b
--- /dev/null
+++ b/marked/X/T-REC-X.55-198811-I_PDF-E/2763901b7a1fd1b5d704cdc450d12ed0_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:47f45da21938b6f9a0e451abbf458efd7d926458f02b88ec48ce12bca0bf3971
+size 7236
diff --git a/marked/X/T-REC-X.55-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.55-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..66412856f54ae0b24854202e8f031f6a04b88ee0
--- /dev/null
+++ b/marked/X/T-REC-X.55-198811-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a7cafe25d563af62a326eb0e9930129524893e0fb16cb431aacd25f8ed54ed31
+size 7392
diff --git a/marked/X/T-REC-X.55-198811-I_PDF-E/raw.md b/marked/X/T-REC-X.55-198811-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..170b7bc5dfe1fe02548276c20447af46907bf34e
--- /dev/null
+++ b/marked/X/T-REC-X.55-198811-I_PDF-E/raw.md
@@ -0,0 +1,156 @@
+
+
+
+
+ITU logo: a globe with the letters ITU and a lightning bolt symbol.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+**ITU-T**
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+**X.55**
+
+**PUBLIC DATA NETWORKS**
+
+**TRANSMISSION, SIGNALLING AND SWITCHING**
+
+---
+
+**INTERFACE BETWEEN SYNCHRONOUS DATA
+NETWORKS USING A 6 + 2 ENVELOPE
+STRUCTURE AND SINGLE CHANNEL PER
+CARRIER (SCPC) SATELLITE CHANNELS**
+
+**ITU-T Recommendation X.55**
+
+(Extract from the *Blue Book*)
+
+---
+
+# NOTES
+
+1 ITU-T Recommendation X.55 was published in Fascicle VIII.3 of the *Blue Book*. This file is an extract from the *Blue Book*. While the presentation and layout of the text might be slightly different from the *Blue Book* version, the contents of the file are identical to the *Blue Book* version and copyright conditions remain unchanged (see below).
+
+2 In this Recommendation, the expression “Administration” is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## Recommendation X.55
+
+## INTERFACE BETWEEN SYNCHRONOUS DATA NETWORKS USING A 6 + 2 ENVELOPE STRUCTURE AND SINGLE CHANNEL PER CARRIER (SCPC) SATELLITE CHANNELS
+
+(Malaga-Torremolinos, 1984)
+
+The CCITT,
+
+*considering*
+
+- (a) that the bearer rate recognized by the CCITT is 64 kbit/s;
+- (b) that 64 kbit/s satellite channels on TDMA systems are not yet operational;
+- (c) that 64 kbit/s channels on SCPC systems are under investigation;
+- (d) that for an interim period only 48, 50 or 56 kbit/s channels via a satellite will be available in many cases;
+- (e) that there is a requirement to interface transmission systems using an 8-bit envelope structure with such satellite systems,
+
+*recommends*
+
+that the fundamental parameters for a multiplexing scheme using an 8-bit envelope structure for transmission via a 56-kbit/s SCPC satellite channel should be as described in this Recommendation.
+
+*Note* - In some cases, it may be necessary to adapt between 64 kbit/s and 56 kbit/s bearer rates.
+
+### **1 Gross bit rate**
+
+For transmission on the international digital satellite link, the multiplexed bit stream shall have a gross bit rate of 56 kbit/s. On the tributary, each transmitted and received tributary data stream has the 8-bit envelope structure as recommended by Recommendation X.50.
+
+The adaptation to the SCPC 56-kbit/s channel is achieved:
+
+- by suppressing the F bits (framing bits):
+- by using one out of 7 S bits (status bits) for framing.
+
+### **2 Fundamental multiplex**
+
+#### *2.1 System capacity*
+
+The capacity is the same as recommended in Recommendation X.50.
+
+*Note* - Further study is required to accommodate user classes 7 and 11.
+
+#### *2.2 Multiplex structure*
+
+The multiplex is based on envelopes of 7 bits.
+
+In a 7-bit envelope, bits 1-6 are information bits of the tributary channel and bit 7 is reserved for framing and signalling purposes (as described in Recommendation X.50) (see Figure 1/X.55).
+
+
+
+Diagram of a 7-bit envelope structure. It shows a horizontal bar divided into 7 segments. The first segment is labeled '1' and the last segment is labeled '7'. The middle five segments are labeled 'Information bits'. The last segment is also labeled 'S'. Below the bar, the text 'CCITT - 55700' is written.
+
+FIGURE 1/X.55
+
+##### **7-bit envelope**
+
+#### 2.3 *Framing pattern*
+
+One bit out of 7 S bits is used for framing purposes. The 72-bit framing pattern and the housekeeping bits ABCDEFGH as defined in Recommendation X.50 shall be used.
+
+The resulting framing scheme is shown in Figure 2/X.55.
+
+
+
+| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
+|------------|---|---|---|---|---|---|---|---|---|----|----|----|----|----|----|----|----|----|----|----|
+| 2400 bit/s | | | | | | | | | | | | | | | | | | | | |
+| 4800 bit/s | | | | | | | | | | | | | | | | | | | | |
+| 9600 bit/s | | | | | | | | | | | | | | | | | | | | |
+
+4 times to achieve 80 bits
+
+CCITT - 55710
+
+**F** → Distribution of F bits in the frame
+
+○ Channel No. 1 at 9600 bit/s ✱ Channel No. 1 at 4800 bit/s □ Channel No. 1 at 2400 bit/s
+
+Figure 2/X.55: Framing scheme. The diagram shows a table of bit positions for three different bit rates: 2400 bit/s, 4800 bit/s, and 9600 bit/s. Below the table, a series of horizontal lines represent the distribution of F bits in the frame. A legend at the bottom identifies symbols for Channel No. 1 at different bit rates: a circle for 9600 bit/s, a star for 4800 bit/s, and a square for 2400 bit/s. A note indicates that the first four lines are repeated 4 times to achieve 80 bits.
+
+FIGURE 2/X.55
+
+##### **Framing scheme**
+
+#### 2.4 *Framing strategy*
+
+##### 2.4.1 *Loss of frame alignment*
+
+The criterion for loss of frame alignment shall be the reception of 8 consecutive erroneous F bits.
+
+##### 2.4.2 *Reframing*
+
+The criterion for reframing shall be the detection of 8 consecutive F bits.
+
+##### 2.4.3 *Alarm and consequent action*
+
+When a loss of alignment is achieved:
+
+- the outgoing signals shall be set to all ones;
+- the state shall be signalled to the distant end as recommended in Recommendation X.50 via the housekeeping bit A.
+
+### 3 **Adaptation between 56 kbit/s and 64 kbit/s bearers (when used)**
+
+The 6 + 2 envelope structure of the 64 kbit/s bearer is described in Recommendation X.50.
+
+#### 3.1 *Insertion and deletion of F bits*
+
+#### 3.2 *Sharing of S bits between framing and signalling mechanism*
+
+##### a) At the transmit part:
+
+One S bit out of 7 S bits is suppressed to be replaced by an F bit.
+
+##### b) At the received part:
+
+The F bit is suppressed and replaced by the last value of the S bit of the tributary channel.
+
+*Note* - The mechanism, described above, is chosen due to the fact that the information on the S bit changes very slowly. The process will only bring a delay of 6 bits for the signal signalling transition when the corresponding S bit is affected.
+
+For each channel, only one out of 7 S bits is affected.
\ No newline at end of file
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/2ba086df3506f81bae3a9b53725dcfea_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/2ba086df3506f81bae3a9b53725dcfea_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e5b4befe2c9980052fc21838e83f166608cea0f2
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/2ba086df3506f81bae3a9b53725dcfea_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a2360df58afa8c1125d001b354d719d65cd99c68fb782035c85de890e5daf0b8
+size 47766
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/2bc39576969969ffe6d3f3d5264bba75_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/2bc39576969969ffe6d3f3d5264bba75_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..417c1cb23eb26cc69d16d4aa7b7060dbd21b7889
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/2bc39576969969ffe6d3f3d5264bba75_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ca472c84c2ea8dbc526c89cb22a665ca70fc75546f64d4512a772f0fb77b35f9
+size 79609
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/392a79ccd95e682ccd08f35ab2e64144_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/392a79ccd95e682ccd08f35ab2e64144_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bd5b94428ba8423b5018ddd57b4a1f46e65d28cc
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/392a79ccd95e682ccd08f35ab2e64144_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce667b8a3a10d559d0e6aff093671d009bcd4988cfd7b93cbad63fc306bd6ba3
+size 90598
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/421fc75480c21e7ebb25756826652367_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/421fc75480c21e7ebb25756826652367_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c518b4e007d183574f02be71a7affbcb17bcaee4
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/421fc75480c21e7ebb25756826652367_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:398fe32a64ff960ace709e06b72beaf858224f8e984dd7685d766ba534d9648f
+size 21384
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/73b5cce955ba9415a98791db7b0080ad_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/73b5cce955ba9415a98791db7b0080ad_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e976e9488d261e36116883c32767f33b11d728ef
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/73b5cce955ba9415a98791db7b0080ad_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e171697fb04eaa9fec36f7a5f1e71928ee07c3670820834928d4161a01871629
+size 25180
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5749aab7caf8c796851333f18e5cbea872bf4d08
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e6315114943d38ef21196619ec4c96789b29fef808fa2748c64aed7879f9cfb3
+size 83659
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c501b44b06d26c16269f59eca75e817eb76d5c56
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/7f25db95ce3916c0e09803b861a2f7bc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6db0f8afff96470cff6093df066008c0bea7b73d6f4fda07898803d407454364
+size 112411
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ac33fa3bce3416315e2b992dd8aa033645fef3a0
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:343009215fdf3b731a6f7527a11ee686de8ba7f698e4521e3ac53376624fdc0c
+size 7606
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/853f59c89931a666c07903b31d098277_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/853f59c89931a666c07903b31d098277_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1bd7ac74a6b027800bf4a2c0c0cbcb3914c94f18
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/853f59c89931a666c07903b31d098277_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:421aa3375d7e28685162fd147c314bf7de4c501fdede2b9b51638f77472559ad
+size 53944
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/a3953dce8dbd7ef15d61a314dbef2cf9_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/a3953dce8dbd7ef15d61a314dbef2cf9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8594d23472d4b24cb346aee8927bd40a317f4577
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/a3953dce8dbd7ef15d61a314dbef2cf9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8aa097ad74cba4a0b892cdf5f460290ff483a7f89e0d14d4eb06802129ed0db3
+size 43593
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/b2ea162a0f53d5e0504b7d28346e0754_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/b2ea162a0f53d5e0504b7d28346e0754_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..cb8a3f7e6117a49c58e917ddc8b849faaed97e0a
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/b2ea162a0f53d5e0504b7d28346e0754_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4319f56c70370c8312343e4d2c64f5623faa2e956399dfe1261801f203d8e4f8
+size 27730
diff --git a/marked/X/T-REC-X.604-201003-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg b/marked/X/T-REC-X.604-201003-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..91cc2547608e944414f947f9ad5610930e4914a5
--- /dev/null
+++ b/marked/X/T-REC-X.604-201003-I_PDF-E/ff7ce44f3fdd51bae7b231f34df07c6a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:710a881678ddf90db38b4835e266d68259a6f017db4944ee9f754b8dac5d78c7
+size 68719
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/1439cb942d9e363bbb3161b5540dd8c6_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/1439cb942d9e363bbb3161b5540dd8c6_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..394f9f263dabe16ff8dea68ce61ec1ef238da729
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/1439cb942d9e363bbb3161b5540dd8c6_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0bf82c10bc93fdde54c0df6bf4ac65144d50c7231bb8d4f2e2f8b874bdbf23dc
+size 30006
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bd7c24e83d75a6b1baa7fb4210f76345166390c9
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/14a22f23ced8ba1d63ece69861dbaacc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5866ab521163bd4f911ae6e27d0a1cf1f491c665e9b87b7d7076098a143f4bff
+size 3944
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0be66f2484bf8eb091230a91d3ddfd9ff55f9296
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:283f420a5c575d58602c9014884a5f29b6c55139f03b8011ea36717c0f32910a
+size 57014
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1d9f836b665a9b7c6f939b3aa0e845ec19c4f629
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c5933c27f8fa8eef8e4e1a3e171d1a37aa454002d413b0f58362f892860fb767
+size 65688
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..87a0650103fe4527a992afed5645409f7d5eb19c
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/af7916c89a458fdab6c3f443217388ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0b57424abd7b830954fd9e019ecad0f26773390f4a1c18e0c72513ee6e790946
+size 24989
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3f7439e6a3c2ec7c916cc17a2979c0731a7295e5
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:74af26cd4dbf79fe336c0fce10ac5ab145f315fbe3a162289ee8c3833f1c556d
+size 101276
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/bd671b21db63e6fdb2196e9b18502aac_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/bd671b21db63e6fdb2196e9b18502aac_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..96671b585e12180a14f7c266855c031c476194be
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/bd671b21db63e6fdb2196e9b18502aac_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bb5f1b3069cbebf42be0697d1cfadfeddcff9751ad89ba08051918ac18064cbf
+size 28988
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/cab0834804fb031b43865554cc8d06ab_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/cab0834804fb031b43865554cc8d06ab_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..3d44dc0f6c704bae1c8724ae679b8c99fc94a5fb
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/cab0834804fb031b43865554cc8d06ab_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:96ba1afe44c7d4b77087bd21fb2e31edc0dd1184e8462ee494cfba4811d29007
+size 32146
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0a8fabef985708b1bac455cac822241d5d255894
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/cfef993dcc8fb513de79eb1f93cf26ae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9b76fd54f3ffeaacac400afdf8abfd322dddec59b634da81d74f14b116ed3ed5
+size 35130
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/d26959f4514c26ca19c3d6f00da85956_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/d26959f4514c26ca19c3d6f00da85956_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0395cf28ae0c3b15162bc3c73d21c4a7606524d8
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/d26959f4514c26ca19c3d6f00da85956_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cfab1c088626295bc45a5705e17e242f2db2d1c307db432ac0a6bcc476333e68
+size 28861
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg b/marked/X/T-REC-X.609.5-202004-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..55ddb2cde2f714a013c3d13ef0d429449c99eebe
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8f12130e2faea7ead9d8db1dccae28e3d6b0f3be8530f7e0400c6fd42fa892fa
+size 29439
diff --git a/marked/X/T-REC-X.609.5-202004-I_PDF-E/raw.md b/marked/X/T-REC-X.609.5-202004-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..ffac2081843f06114555f6ef0a31ab0e57c640a4
--- /dev/null
+++ b/marked/X/T-REC-X.609.5-202004-I_PDF-E/raw.md
@@ -0,0 +1,1226 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.609.5
+
+(04/2020)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+OSI networking and system aspects – Networking
+
+# --- **Managed P2P communications: Overlay management protocol**
+
+Recommendation ITU-T X.609.5
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|-----------------------------------------------|--------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.379 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems management framework and architecture | X.700–X.709 |
+| Management communication service and protocol | X.710–X.719 |
+| Structure of management information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, concurrency and recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.889 |
+| Generic applications of ASN.1 | X.890–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | X.1000–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | X.1100–X.1199 |
+| CYBERSPACE SECURITY | X.1200–X.1299 |
+| SECURE APPLICATIONS AND SERVICES (2) | X.1300–X.1499 |
+| CYBERSECURITY INFORMATION EXCHANGE | X.1500–X.1599 |
+| CLOUD COMPUTING SECURITY | X.1600–X.1699 |
+| QUANTUM COMMUNICATION | X.1700–X.1729 |
+| DATA SECURITY | X.1750–X.1799 |
+| 5G SECURITY | X.1800–X.1819 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.609.5
+
+# Managed P2P communications: Overlay management protocol
+
+## Summary
+
+Recommendation ITU-T X.609.5 specifies an overlay management protocol (OMP) that runs on the interface among entities of managed peer-to-peer (P2P) communications. The management functionalities covered in this Recommendation include overlay network management including creation, modification, and termination and peer management including membership control and information maintenance. The protocol is applicable to various services such as multimedia streaming service and content distribution service over managed P2P communications. This Recommendation provides protocol operations and message formats.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.609.5 | 2018-01-13 | 11 | 11.1002/1000/13494 |
+| 2.0 | ITU-T X.609.5 | 2020-04-29 | 11 | 11.1002/1000/14247 |
+
+## Keywords
+
+Content distribution, managed P2P, multimedia streaming, overlay network management.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2020
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|-----------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 Overview ..... | 3 |
+| 7 Protocol operation..... | 4 |
+| 7.1 Overlay network management..... | 4 |
+| 7.2 Peer management..... | 6 |
+| 8 Messages..... | 9 |
+| 8.1 Resource element type..... | 9 |
+| 8.2 Message format ..... | 12 |
+| Bibliography..... | 24 |
+
+
+
+# Recommendation ITU-T X.609.5
+
+# Managed P2P communications: Overlay management protocol
+
+# 1 Scope
+
+This Recommendation specifies overlay management protocol for various services including multimedia streaming and content distribution over managed peer-to-peer infrastructure. This Recommendation describes the following details:
+
+- overview of overlay management protocol,
+- elements of protocol messages,
+- protocol messages and its parameters,
+- protocol behaviours including information flows.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.609] Recommendation ITU-T X.609 (2015), *Managed P2P communications: Functional architecture*.
+- [ITU-T X.609.1] Recommendation ITU-T X.609.1 (2016), *Managed P2P communications: Peer activity management protocol (PAMP)*.
+- [ITU-T X.609.2] Recommendation ITU-T X.609.2 (2016), *Managed P2P communications: Overlay resource control protocol (ORCP)*.
+- [ITU-T X.609.3] Recommendation ITU-T X.609.3 (2017), *Managed P2P communications: Multimedia streaming signalling requirements*.
+- [ITU-T X.609.4] Recommendation ITU-T X.609.4 (2018), *Managed P2P communications: Multimedia streaming peer protocol*.
+- [ITU-T X.609.6] Recommendation ITU-T X.609.6 (2018), *Managed P2P communications: Content distribution signalling requirements*.
+- [ITU-T X.609.7] Recommendation ITU-T X.609.7 (2018), *Managed P2P communications: Content distribution peer protocol*.
+- [IETF RFC 7159] IETF RFC 7159 (2014), *The JavaScript Object Notation (JSON) Data Interchange Format*.
+- [IETF RFC 7231] IETF RFC 7231 (2014), *Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content*.
+
+# 3 Definitions
+
+## 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 overlay network** [b-ITU-T X.1162]: An overlay network is a virtual network that runs on top of another network. Like any other network, the overlay network comprises a set of nodes and links between them. Because the links are logical ones, they may correspond to many physical links of the underlying network.
+
+**3.1.2 peer** [b-ITU-T X.1161]: Communication node on P2P network that functions simultaneously as both "client" and "server" to the other nodes on the network.
+
+**3.1.3 peer-to-peer (P2P)** [b-ITU-T Y.2206]: A system is considered to be P2P if the nodes of the system share their resources in order to provide the service the system supports. The nodes in the system both provide services to other nodes and request services from other nodes.
+
+NOTE – Peer is the node in a P2P system.
+
+**3.1.4 managed P2P** [b-ISO/IEC TR 20002]: P2P with manageability features to manage the P2P-based service and P2P network by the P2P participants such as P2P service provider, ISP and peer.
+
+**3.1.5 fragment** [ITU-T X.609]: A piece of the shared content.
+
+## **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following terms:
+
+**3.2.1 overlay ID:** An identifier of an overlay network. Each overlay network can be identified by own overlay ID.
+
+**3.2.2 peer ID:** An identifier of a peer. Each peer can be identified by own peer ID.
+
+**3.2.3 peer list:** A list of peer IDs which identifies the peers participating in an overlay network.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|---------------------------------------|
+| CS | Cache Server |
+| JSON | Javascript Object Notation |
+| MP2P | Managed Peer-to-Peer |
+| OMS | Overlay Management Server |
+| OMP | Overlay Management Protocol |
+| PAMS | Peer Activity Management Server |
+| MP2P | Managed Peer-to-Peer |
+| P2P | Peer-to-Peer |
+| REST | Representational State Transfer |
+| RS | Relay Server |
+| UMS | User Management Server |
+| UNIS | Underlying Network Information Server |
+
+# **5 Conventions**
+
+Resource elements in clause 8.1 are encoded in JavaScript object notation (JSON) [IETF RFC 7159], and the grammar used in representing objects defined in this Recommendation is as follows:
+
+- "STRING", "BOOLEAN", and "NUMBER" types are used to indicate string, boolean and number, respectively;
+
+- An array of collective values are enclosed in brackets "[ ]" with value separated by commas ",".
+- Selective options are separated by a vertical bar "|".
+
+# 6 Overview
+
+The framework of managed peer-to-peer (MP2P) communications is defined in [b-ISO/IEC TR 20002], and the details of the entities and the reference points among the entities are defined in [ITU-T X.609].
+
+![Figure 1 – Framework and reference points of MP2P [ITU-T X.609]](b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg)
+
+The diagram illustrates the MP2P framework across three distinct domains:
+1. **P2PSP domain** (shaded red): Contains the Overlay Management Server (OMS), Peer Activity Management Server (PAMS), User Management Server (UMS), Cache Server (CS), Relay Server (RS), and Index Server (IXS).
+2. **ISP domain** (shaded green): Contains the Underlying Network Information Server (UNIS).
+3. **User domain** (shaded blue): Contains Peer A and Peer B.
+Reference points (dashed lines) connect these entities: R1 (OMS to PAMS), R2 (PAMS to IXS), R3 (P2PSP domain to ISP domain), R4 (User domain to ISP domain), R5 (OMS to User domain), R6 (IXS to User domain), R7 (OMS to UMS), R8 (OMS to CS/RS), R9 (UMS to User domain), and R10 (Peer A to Peer B).
+
+X.609.5(18)\_F01
+
+UMS: user profile management server RS: relay server UNIS: underlying network information server
+OMS: overlay management server CS: cache server
+PAMS: peer activity management server IXS: index server
+
+Figure 1 – Framework and reference points of MP2P [ITU-T X.609]
+
+**Figure 1 – Framework and reference points of MP2P [ITU-T X.609]**
+
+Figure 1 shows the framework and reference points of MP2P communications. From the management point of view, the overlay management server (OMS) manages the information of established overlay networks and controls resources such as cache server (CS) and relay server (RS). A peer interacts with OMS to join a specific overlay network. The peer also interacts with OMS when it leaves the joined overlay network. This Recommendation defines the overlay management protocol (OMP) running over reference point R5, which is used for the management related to overlay network. OMS can interact with other entities such as peer activity management server (PAMS), underlying network information server (UNIS), and user management server (UMS) to form a well-organized overlay network, but those interactions are not part of this Recommendation.
+
+The basic service flow for overlay network management in MP2P communication is shown in Figure 2.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer
+ participant PeerSource as Peer (Source)
+ participant OMS
+ participant UMS
+ participant UNIS
+ participant PAMS
+
+ PeerSource->>OMS: OMP_CREATE request
+ OMS->>PeerSource: OMP_CREATE response
+ Note over OMS: Establish an overlay network as requested
+ Peer->>OMS: OMP_JOIN request
+ OMS->>Peer: OMP_JOIN response
+ Note over OMS, UMS, UNIS, PAMS: Interaction for peer list optimization
+ PeerSource->>Peer: Buffermap negotiation
+ PeerSource->>Peer: Request for sending fragment(s)
+
+```
+
+Legend:
+ □ Within the scope of this Recommendation
+ ■ Outside the scope of this Recommendation
+
+X.609.5(20)\_F02
+
+Sequence diagram showing the basic service flow of overlay network management between Peer, Peer (Source), OMS, UMS, UNIS, and PAMS. The diagram is divided into two background regions: white for 'Within the scope of this Recommendation' and grey for 'Outside the scope of this Recommendation'. Interactions include OMP\_CREATE request/response, OMP\_JOIN request/response, Buffermap negotiation, and peer list optimization.
+
+**Figure 2 – Basic service flow of overlay network management**
+
+A peer requests OMS to create a new overlay network. If the request is valid, OMS establishes a new overlay network as requested and responds with the information of the established overlay network such as the identifier of the overlay network. After an overlay network is created, peers can join the overlay network by interacting with OMS. A peer requests OMS to join a specific overlay network. As a response, OMS provides a peer list that contains contact information of peers participating in the overlay network. The peer list can be generated by OMS itself, or OMS can interact with other servers such as UMS, UNIS and PAMS to generate the optimized peer list. Upon receiving the response including peer list, the peer contacts other peers on the list and conducts rest processes for receiving various types of content such as multimedia streams or files.
+
+As depicted in Figure 2, this Recommendation covers the interactions between peer and OMS, which runs over reference point R5 shown in Figure 1. The interactions can be classified into two categories. The first category is overlay network management. Overlay network management is about creation, modification, and termination of an overlay network. The second category is peer management. Peer management is about joining and leaving a specific overlay network. In addition, the Recommendation includes the interaction for query which is within the scope of both categories. For instance, a peer can query the information of a specific overlay network or the peer list of a specific overlay network.
+
+# 7 Protocol operation
+
+## 7.1 Overlay network management
+
+### 7.1.1 Creation of overlay network
+
+A peer can request OMS to create a new overlay network. The request may specify parameters such as peer ID of the peer that sent the request or a list of peer IDs for closed group communication. Upon receiving the request, OMS checks whether the request is valid. If the request is valid, OMS creates an overlay network as requested. When OMS creates the overlay network, it should also generate a unique overlay ID for the overlay network since each overlay network is distinguished by own overlay ID. After completing creation, OMS responds with the overlay ID. This process is depicted in Figure 3. This Recommendation does not specify how the overlay ID is generated.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer
+ participant OMS
+ Peer->>OMS: OMP_CREATE request
+ OMS->>OMS: Check validity of the request
+ OMS->>OMS: Generate an overlay network as requested
+ OMS->>OMS: Generate an overlay ID for the created overlay network
+ OMS-->>Peer: OMP_CREATE response
+
+```
+
+X.609.5(20)\_F03
+
+Sequence diagram for overlay network creation showing Peer sending OMP\_CREATE request to OMS, OMS performing internal steps (Check validity, Generate overlay network, Generate overlay ID), and OMS sending OMP\_CREATE response back to Peer.
+
+**Figure 3 – Operations for overlay network creation**
+
+### 7.1.2 Modification of overlay network
+
+A peer can request OMS to modify information of the overlay network. To prevent unauthorized modification, OMS accepts the request only if the request is issued by the peer that requested OMS to create the overlay network. Any parameter configured when the overlay network is created can be modified, and new parameters can be newly configured by the modification operations. OMS checks validity of the request upon receiving the request and performs modifications as requested. When OMS completes the requested modification, it responds that modification has been successful. This process is depicted in Figure 4.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer
+ participant OMS
+ Peer->>OMS: OMP_UPDATE request
+ OMS->>OMS: Check validity of the request
+ OMS->>OMS: Modify the overlay network as requested
+ OMS-->>Peer: OMP_UPDATE response
+
+```
+
+X.609.5(20)\_F04
+
+Sequence diagram for overlay network modification showing Peer sending OMP\_UPDATE request to OMS, OMS performing internal steps (Check validity, Modify overlay network), and OMS sending OMP\_UPDATE response back to Peer.
+
+**Figure 4 – Operations for overlay network modification**
+
+### 7.1.3 Termination of overlay network
+
+A peer can request OMS to terminate the overlay network. To prevent unauthorized termination, OMS accepts the request only if the request is issued by the peer that requested OMS to create the overlay network. After checking validity of the request, OMS removes all data related to the overlay network from itself. When OMS completes the requested termination, it responds that termination has been successful. This process is depicted in Figure 5.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer
+ participant OMS
+ Peer->>OMS: OMP_TERMINATE request
+ OMS->>Oms: Check validity of the request
+ OMS->>Oms: Remove all data related to the overlay network
+ OMS-->>Peer: OMP_TERMINATE response
+
+```
+
+X.609.5(20)\_F05
+
+Sequence diagram for overlay network termination. A Peer sends an OMP\_TERMINATE request to an OMS. The OMS checks the validity of the request and removes all data related to the overlay network. The OMS then sends an OMP\_TERMINATE response back to the Peer.
+
+**Figure 5 – Operations for overlay network termination**
+
+### 7.1.4 Query of overlay network
+
+A peer can send OMS a query about the status of overlay networks. When the query includes a specific overlay ID, OMS responds with the status information of the corresponding overlay network. If the query does not specify any overlay network, OMS responds with the information of all the overlay networks that it manages. The query may also specify the peer ID of a specific peer. In such case, OMS responds with the information about the overlay network that the specified peer had created. This process is depicted in Figure 6.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer
+ participant OMS
+ Peer->>OMS: OMP_QUERY_OVERLAY request
+ OMS->>Oms: Check validity of the request
+ OMS->>Oms: Gather the queried information
+ OMS-->>Peer: OMP_QUERY_OVERLAY response
+
+```
+
+X.609.5(20)\_F06
+
+Sequence diagram for overlay network query. A Peer sends an OMP\_QUERY\_OVERLAY request to an OMS. The OMS checks the validity of the request and gathers the queried information. The OMS then sends an OMP\_QUERY\_OVERLAY response back to the Peer.
+
+**Figure 6 – Operations for overlay network query**
+
+## 7.2 Peer management
+
+### 7.2.1 Overlay network join
+
+To join a specific overlay network, a peer sends OMS a request to join the target overlay network. If the request is valid, OMS responds with a peer list that contains the contact information and peer ID of peers already participating in the overlay network. The request from the peer may include network information of the requesting peer so that OMS can manage the peer list of each overlay network. In addition, the request may additionally include an authentication key if authentication is needed to join the overlay network. This process is depicted in Figure 7.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer
+ participant OMS
+ Peer->>OMS: OMP_JOIN request
+ OMS->>OMS: Check validity of the request
+ OMS->>OMS: Proceed join
+ OMS-->>Peer: OMP_JOIN response
+
+```
+
+X.609.5(20)\_F07
+
+Sequence diagram for overlay network joining (Figure 7).
+
+**Figure 7 – Operations for overlay network joining**
+
+### 7.2.2 Peer information update
+
+After joining an overlay network, a peer can send a request for updating its information. The request can be considered as renewing the subscription so that OMS can keep the status of the requesting peer alive. As a response, OMS sends the latest version of the peer list. Then the requesting peer can communicate with peers on the peer list. This process is depicted in Figure 8.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer
+ participant OMS
+ Peer->>OMS: OMP_JOIN_UPDATE request
+ OMS->>OMS: Check validity of the request
+ OMS->>OMS: Update peer information
+ OMS->>OMS: Generate the latest peer list
+ OMS-->>Peer: OMP_JOIN_UPDATE response
+
+```
+
+X.609.5(20)\_F08
+
+Sequence diagram for peer information update (Figure 8).
+
+**Figure 8 – Operations for peer information update**
+
+### 7.2.3 Overlay network leave
+
+A peer can leave the joined overlay network anytime without the need to notify OMS. However, the peer may notify OMS of its leave for a graceful exit. The graceful exit helps OMS manage overlay networks precisely. OMS considers that a specific peer leaves if a specific peer does not send its peer information update request within a predefined period of time. This process is depicted in Figure 9.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer1
+ participant Peer2
+ participant OMS
+
+ Peer2->>OMS: OMP_LEAVE request
+ OMS->>OMS: Check validity of the request
+ OMS->>OMS: Remove the information of peer2
+ OMS->>Peer2: OMP_LEAVE response
+ Peer1->>OMS: OMP_JOIN_UPDATE request
+ OMS->>Peer2: OMP_JOIN_UPDATE response
+ OMS->>OMS: Predefined time for update
+ OMS->>OMS: Remove the information of peer1
+
+```
+
+The diagram illustrates the sequence of operations for an overlay network leave. Peer2 sends an OMP\_LEAVE request to OMS. OMS checks the validity of the request and removes the information of peer2. OMS then sends an OMP\_LEAVE response to Peer2. Peer1 sends an OMP\_JOIN\_UPDATE request to OMS, which responds to Peer2 with an OMP\_JOIN\_UPDATE response. After a predefined time for update, OMS removes the information of peer1.
+
+Sequence diagram for overlay network leave operations involving Peer1, Peer2, and OMS.
+
+**Figure 9 – Operations for overlay network leave**
+
+### 7.2.4 Peer list query
+
+A peer can request OMS to send peer list of a specific overlay network. The request may include conditions of querying so that OMS can find the corresponding peers and respond with them. The condition includes list of fragments or range of fragments. Then, OMS responds with the information about the corresponding peers which possesses the fragments specified in the request. This process is depicted in Figure 10.
+
+
+
+```
+
+sequenceDiagram
+ participant Peer
+ participant OMS
+
+ Peer->>OMS: OMP_QUERY_PEERLIST request
+ OMS->>OMS: Check validity of the request
+ OMS->>OMS: Gather the queried information
+ OMS->>Peer: OMP_QUERY_PEERLIST response
+
+```
+
+The diagram illustrates the sequence of operations for a peer list query. Peer sends an OMP\_QUERY\_PEERLIST request to OMS. OMS checks the validity of the request and gathers the queried information. OMS then sends an OMP\_QUERY\_PEERLIST response to Peer.
+
+Sequence diagram for peer list query operations involving Peer and OMS.
+
+**Figure 10 – Operations for peer list query**
+
+# 8 Messages
+
+## 8.1 Resource element type
+
+### 8.1.1 Peer information element
+
+The peer information element provides the information about peer. The peer information element is defined as follows:
+
+- Object {
+- STRING peer\_id;
+- network net\_info;
+- } peer\_info
+
+The description of the attributes is as follows:
+
+- *peer\_id* is an identifier of a peer;
+- *net\_info* is an object of network element.
+
+### 8.1.2 Network element
+
+The network element provides the information regarding network address. The network element is defined as follows:
+
+- Object {
+- STRING ip-address;
+- INTEGER port;
+- BOOLEAN public;
+- } network
+
+The description of the attributes is as follows:
+
+- *ip-address* is an IP address of a peer;
+- *port* is a port number of a peer;
+- *public* indicates whether ip-address is a public IP address. The value is set to TRUE, if ip-address is a public address.
+
+### 8.1.3 Peer list element
+
+The peer list element provides the information about peers and fragments. The peer list element is defined as follows:
+
+- Object {
+- peer\_info [peer\_info];
+- } peer\_list
+
+The description of the attributes is as follows:
+
+- *peer\_info* is an array of peer\_info objects.
+
+### 8.1.4 Overlay network information element
+
+The overlay network information element provides identification information of an overlay network.
+
+The overlay network information element is defined as follows:
+
+- Object {
+- STRING version;
+- STRING overlay-network-id;
+
+- STRING index-url;
+- STRING owner-id;
+- INTEGER expires;
+- pam\_conf\_info pam\_conf;
+- auth\_info auth;
+- overlay\_status status;
+- peer\_list peer\_list
+- } overlay\_network\_information;
+
+The description of the attributes is as follows:
+
+- *version* indicates the version of the overlay network identified by *overlay-network-id*;
+- *overlay-network-id* is an identifier of overlay network;
+- *index-url* is an URL address of index server;
+- *owner-id* is an identifier of peer which created the overlay network;
+- *expires* indicates expiration time. Peers belonging to the overlay network is required to update their information within the expiration time;
+- *pam\_conf* is an object of pam\_conf\_info element;
+- *auth* is an object of auth\_info element;
+- *status* is an object of overlay\_status element;
+- *peer\_list* is an object of peer\_list element.
+
+### 8.1.5 Overlay network list element
+
+The overlay network list element provides the information about overlay networks. The overlay network list element is defined as follows:
+
+- Object {
+- STRING [overlay\_network\_id];
+- } overlay\_network\_list
+
+The description of the attributes is as follows:
+
+- *overlay\_network\_id* is an array of identifiers of each overlay network. The array contains ordered list of overlay network identifiers.
+
+### 8.1.6 Fragment list element
+
+The fragment list element provides the information about fragments. The fragment list element is defined as follows:
+
+- Object {
+- NUMBER num\_of\_fragment;
+- NUMBER fragment\_size;
+- NUMBER [fragment];
+- } fragment\_list
+
+The description of the attributes is as follows:
+
+- *num\_of\_fragment* indicates the total number of fragments organizing the content shared in an overlay network;
+- *fragment\_size* indicates the size of fragment in kilobytes;
+
+- *fragment* is an array of identifiers of each fragment. *fragment\_list* element can include list of fragment IDs.
+
+### 8.1.7 Fragment range element
+
+The fragment range element provides the information about range of fragments. The fragment range element is defined as follows:
+
+- Object {
+- NUMBER *start\_fragment\_id*;
+- NUMBER *end\_fragment\_id*;
+- } *fragment\_range*
+
+The description of the attributes is as follows:
+
+- *start\_fragment\_id* is an identifier of the first fragment in the range of fragments;
+- *end\_fragment\_id* is an identifier of the last fragment in the range of fragments.
+
+### 8.1.8 Peer activity management configuration information element
+
+The peer activity management (PAM) configuration information element provides the configuration information about PAM. The PAM configuration information element is defined as follows:
+
+- Object {
+- BOOLEAN *pam\_enabled*;
+- STRING *pams\_url*;
+- INTERGER *report\_interval*;
+- } *pam\_conf\_info*
+
+The description of the attributes is as follows:
+
+- *pam\_enabled* indicates whether PAM function is enabled. If the value is set to *true*, PAM function is enabled;
+- *pams\_url* is a URL of PAMS. *pam\_url* is used to indicate the location of PAMS;
+- *report\_interval* is periodic interval in second for reporting dynamic status by peer.
+
+### 8.1.9 Authentication information element
+
+The authentication information element provides the information related to authentication required for an overlay network. The authentication information element is defined as follows:
+
+- Object {
+- STRING *closed*;
+- STRING *auth-key*;
+- STRING [*user\_id*];
+- } *auth\_info*
+
+The description of the attributes is as follows:
+
+- *closed* indicates whether an overlay network is closed group. The value is set to YES, if the overlay network is a closed group. In addition, user-id array should be specified in order to list members of the group. The value is set to NO, if the overlay network is not a closed group. The value can be set to AUTH if the overlay network is a closed group requiring a specific authentication key for joining the group;
+- *auth-key* is an authentication key. This attribute is set only if attribute *closed* is set to AUTH;
+- *user-id* is an array of identifiers of each peer. The array contains list of peer identifiers so that the listed peers can join the overlay network.
+
+### 8.1.10 Overlay status element
+
+The overlay status element provides the status of an overlay network. The overlay status element is defined as follows:
+
+- Object {
+- INTEGER num-of-seed;
+- INTEGER num-of-leech;
+- STRING time-of-start;
+- STRING time-of-last-activity;
+- } overlay\_status
+
+The description of the attributes is as follows:
+
+- *num-of-seed* is the number of seeds in an overlay network;
+- *num-of-leech* is the number of leeches in an overlay network;
+- *time-of-start* indicates the time when an overlay network is created;
+- *time-of-last-activity* indicates the time when the latest report from a peer is received.
+
+## 8.2 Message format
+
+This clause provides the format of messages for the operations explained in clause 7. All operations have request and response messages. For extensibility, OMP uses representational state transfer (REST)-ful architecture [b-REST].
+
+### 8.2.1 OMP\_CREATE
+
+OMP\_CREATE is initiated by a peer to create a new overlay network into OMS. On the basis of the request for OMP\_CREATE, OMS can create an overlay network.
+
+#### 8.2.1.1 Request
+
+The request message format for OMP\_CREATE is shown in Table 1.
+
+Table 1 – Request message format for OMP\_CREATE
+
+| | |
+|---------------------------------------------------------------|-------------------------------------------------------|
+| Method | POST |
+| URI | http://{OMS_ADDRESS} a) /overlay_networks/ |
+| Body | overlay_network_information (refer to clause 8.1.4) |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS | |
+
+An example HTTP request message for OMP\_CREATE is as follows:
+
+```
+POST /overlay_networks/ HTTP/1.1
+Host: www.exampleoms.com
+Content-Length: 122
+Content-Type: application/json
+Accept: application/json
+{
+ "overlay_network_information" : {
+ "version" : 1,
+ "owner-id" : "8djdhhd",
+ "expires" : 5,
+```
+
+```
+
+ "pam_conf" : {
+ "pam_enabled" : "TRUE"
+ },
+ "auth" : {
+ "closed" : "YES",
+ "auth-key" : "9i8u7y",
+ "user-id" : [7y6t5r, 9i8u7y52]
+ }
+}
+}
+
+```
+
+#### 8.2.1.2 Response
+
+The response to an OMP\_CREATE request uses a response code to indicate the result. Table 2 lists the response codes and semantics for OMP\_CREATE. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 2 – Response codes for OMP\_CREATE**
+
+| Response code and semantics | | Body |
+|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
+| 200 | OK The request is accepted and creation is done. | overlay_network_information (refer to clause 8.1.4) |
+| 401 | Unauthorized The request requires user authentication. A peer may repeat the request with a suitable Authorization in HTTP header. | N/A |
+
+An example HTTP response message for OMP\_CREATE is as follows:
+
+```
+
+HTTP/1.1 200 OK
+Content-Length: 118
+Content-Type: application/json
+Connection: Closed
+{
+ "overlay_network_information" : {
+ "version" : 1,
+ "overlay_network_id" : "12ekd4kd8",
+ "index-url" : "http://www.exampleidx.com/ 12ekd4kd8",
+ "owner-id" : "8djdhhd",
+ "expires" : 5,
+ "pam_conf" : {
+ "pam_enabled" : "TRUE",
+ "pams_url" : "http://www.examplepams.com/",
+ "report_interval" : 3
+ }
+ }
+}
+
+```
+
+```
+}
+}
+```
+
+### 8.2.2 OMP\_UPDATE
+
+OMP\_UPDATE is initiated by a peer to update the information of a specific overlay network. OMS allows the request only if the corresponding overlay network has been created by the requesting peer.
+
+#### 8.2.2.1 Request
+
+The request message format for OMP\_UPDATE is shown in Table 3.
+
+**Table 3 – Request message format for OMP\_UPDATE**
+
+| | |
+|-----------------------------------------------------|------------------------------------------------------------------------------------|
+| Method | PUT |
+| URI | http://{OMS_ADDRESS}a) /overlay_networks/{NID}b) |
+| Body | overlay_network_information (refer to clause 8.1.4) |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS. | |
+| b) {NID} refers to the ID of overlay network. | |
+
+An example HTTP request message for OMP\_UPDATE is as follows:
+
+```
+PUT /overlay_networks/12ekd4kd8/ HTTP/1.1
+Host: www.exampleoms.com
+Content-Length: 122
+Content-Type: application/json
+Accept: application/json
+{
+
+ "overlay_network_information" : {
+ "version" : 2,
+ "index-url" : "http://www.exampleixs.com/12ekd4kd8",
+ "owner-id" : "8djdhd",
+ "expires" : 5,
+ "auth" : {
+ "closed" : "NO"
+ }
+ }
+}
+```
+
+#### 8.2.2.2 Response
+
+The response to an OMP\_UPDATE request uses a response code to indicate the result. Table 4 lists the response codes and semantics for OMP\_UPDATE. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 4 – Response codes for OMP\_UPDATE**
+
+| Response code and semantics | | Body |
+|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------|------|
+| 200 | OK The request is accepted and creation is done. | N/A |
+| 401 | Unauthorized The request requires user authentication. A peer may repeat the request with a suitable Authorization in HTTP header. | N/A |
+
+### 8.2.3 OMP\_TERMINATE
+
+OMP\_TERMINATE is initiated by a peer to terminate a specific overlay network. OMS allows termination, only if the requesting peer created the overlay network.
+
+#### 8.2.3.1 Request
+
+The request message format for OMP\_TERMINATE is shown in Table 5.
+
+**Table 5 – Request message format for OMP\_TERMINATE**
+
+| | |
+|------------------------------------------------------------------------|------------------------------------------------------------------------------------|
+| Method | DELETE |
+| URL | http://{OMS_ADDRESS}a) overlay_networks/{NID}b) / |
+| Body | N/A |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS. | |
+| b) {NID} refers to the ID of overlay network to be deleted. | |
+
+#### 8.2.3.2 Response
+
+The response to an OMP\_TERMINATE request uses a response code to indicate the result. Table 6 lists response codes and semantics for OMP\_TERMINATE. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 6 – Response codes for OMP\_TERMINATE**
+
+| Response code and semantics | | Body |
+|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------|------|
+| 200 | OK The request is accepted and deregistration is done. | N/A |
+| 401 | Unauthorized The request requires user authentication. OMS may repeat the request with a suitable Authorization in HTTP header. | N/A |
+| 404 | Not Found The request is denied because there is no responding overlay network with the requested identifier. | N/A |
+
+### 8.2.4 OMP\_QUERY\_OVERLAY
+
+OMP\_QUERY\_OVERLAY is initiated by a peer to query the status of a specific overlay network.
+
+#### 8.2.4.1 Request
+
+The request message format for OMP\_QUERY\_OVERLAY is shown in Table 7.
+
+**Table 7 – Request message format for OMP\_QUERY\_OVERLAY**
+
+| | |
+|----------------------------------------------------------------|------------------------------------------------------------------------------------|
+| Method | GET |
+| URI | http://{OMS_ADDRESS}a) /overlay_networks/{NID}b) |
+| Body | N/A |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS. | |
+| b) {NID} refers to the ID of overlay network. | |
+
+#### 8.2.4.2 Response
+
+The response to an OMP\_QUERY\_OVERLAY request uses a response code to indicate the result. Table 8 lists response codes and semantics for OMP\_QUERY\_OVERLAY. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 8 – Response codes for OMP\_QUERY\_OVERLAY**
+
+| Response code and semantics | | Body |
+|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
+| 200 | OK The request is succeeded and this response contains peer list. | overlay_network_information (refer to clause 8.1.2) |
+| 401 | Unauthorized The request requires user authentication. Peer may repeat the request with a suitable Authorization in HTTP header | N/A |
+| 404 | Not Found The request is denied because there is no responding peer with the requested identifier. | N/A |
+
+An example HTTP response message for OMP\_QUERY\_OVERLAY is as follows:
+
+```
+HTTP/1.1 200 OK
+Content-Length: 255
+Content-Type: application/json
+{
+ "overlay_network_information" : {
+ "version" : 2,
+ "owner-id" : "8djdhhd",
+ "expires" : 5,
+ "auth" : {
+ "closed" : "NO"
+ }
+ },
+ "overlay_status" : {
+ "num-of-seed" : 3,
+ "num-of-leech" : 10,
+ "time-of-start" : "1d10m55s",
+```
+
+```
+
+ "time-of-last-activity" : "1s"
+ }
+}
+
+```
+
+### 8.2.5 OMP\_JOIN
+
+OMP\_JOIN is initiated by a peer to join a specific overlay network. OMS responds with the peer list containing the peers already participating in the overlay network.
+
+#### 8.2.5.1 Request
+
+The request message format for OMP\_JOIN is shown in Table 9.
+
+**Table 9 – Request message format for OMP\_JOIN**
+
+| | |
+|----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|
+| Method | POST |
+| URI | http://{OMS_ADDRESS}a) /overlay_networks/{NID}b) /peer/ |
+| Body | peer_information (refer to clause 8.1.1) |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS.b) {NID} refers to the ID of overlay network. | |
+
+An example HTTP request message for OMP\_JOIN is as follows:
+
+```
+
+POST /overlay_networks/12ekd4kd8/peer/ HTTP/1.1
+Host: www.exampleoms.com
+Content-Length: 117
+Content-Type: application/json
+Accept: application/json
+{
+ "peer_information" : {
+ "peer_id" : "8djdhd",
+ "net_info" : {
+ "ip-address" : "123.1.2.3",
+ "port" : 5241,
+ "public" : "YES"
+ }
+ }
+}
+
+```
+
+#### 8.2.5.2 Response
+
+The response to an OMP\_JOIN request uses a response code to indicate the result. Table 10 lists response codes and semantics for OMP\_JOIN. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 10 – Response codes for OMP\_JOIN**
+
+| Response code and semantics | | Body |
+|-----------------------------|---------------------------------------------------------|-----------------------------------------------------|
+| 200 | OK The request is accepted and registration is done. | overlay_network_information (refer to clause 8.1.4) |
+
+**Table 10 – Response codes for OMP\_JOIN**
+
+| Response code and semantics | | Body |
+|-----------------------------|------------------------------------------------------------------------------------------------------------------|------|
+| 404 | Not Found The request is denied because there is no responding overlay network with the requested identifier. | N/A |
+| 409 | Conflict The request is denied because peer with the same identifier is already joined. | N/A |
+
+An example HTTP response message for OMP\_JOIN is as follows:
+
+```
+
+HTTP/1.1 200 OK
+Content-Length: 118
+Content-Type: application/json
+{
+ "overlay_network_information" : {
+ "version" : 2,
+ "expires" : 5,
+ "pam_conf" : {
+ "pam_enabled" : "TRUE",
+ "pams_url" : "http://www.examplepams.com/",
+ "report_interval" : 3
+ },
+ "peer_list" : {
+ "peers" : ["peerd", "peerb", "peerc"]
+ }
+ }
+}
+
+```
+
+### 8.2.6 OMP\_JOIN\_UPDATE
+
+OMP\_JOIN\_UPDATE is initiated by a peer to renew its subscription regarding specific overlay networks. A peer periodically requests OMS to renew its subscription by sending an OMP\_JOIN\_UPDATE request.
+
+#### 8.2.6.1 Request
+
+The request message format for OMP\_JOIN\_UPDATE is shown in Table 11.
+
+**Table 11 – Request message format for OMP\_JOIN\_UPDATE**
+
+| | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|
+| Method | PUT |
+| URI | http://{OMS_ADDRESS}a) /overlay_networks/{NID}b) /peer/{PID}c) |
+| Body | peer_information (refer to clause 8.1.1), auth_info (refer to clause 8.1.9) |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS.b) {NID} refers to the ID of overlay network.c) {PID} refers to the ID of peer to be updated. | |
+
+An example HTTP request message for OMP\_JOIN\_UPDATE is as follows:
+
+```
+PUT /overlay_networks/12ekd4kd8/peer/8djdh HTTP/1.1
+Host: www.exampleaoms.com
+Content-Length: 117
+Content-Type: application/json
+Accept: application/json
+{
+ "peer_information" : {
+ "peer_id" : "8djdh"
+ },
+ "auth_info" : {
+ "auth-key" : "78ue3ee2"
+ }
+}
+```
+
+#### 8.2.6.2 Response
+
+The response to an OMP\_JOIN\_UPDATE request uses a response code to indicate the result. Table 12 lists response codes and semantics for OMP\_JOIN\_UPDATE. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 12 – Response codes for OMP\_JOIN\_UPDATE**
+
+| Response code and semantics | | Body |
+|-----------------------------|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
+| 200 | OK The request is accepted and registration is done. | overlay_network_information (refer to clause 8.1.4) |
+| 404 | Not Found The request is denied because there is no responding peer with the requested identifier. | N/A |
+
+An example HTTP response message for OMP\_JOIN\_UPDATE is as follows:
+
+```
+HTTP/1.1 200 OK
+Content-Length: 118
+Content-Type: application/json
+{
+ "overlay_network_information" : {
+ "expires" : 2
+ }
+}
+```
+
+### 8.2.7 OMP\_LEAVE
+
+OMP\_LEAVE is initiated by a peer to leave a specific overlay network.
+
+#### 8.2.7.1 Request
+
+The request message format for OMP\_LEAVE is shown in Table 13.
+
+**Table 13 – Request message format for OMP\_LEAVE**
+
+| | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|
+| Method | DELETE |
+| URI | http://{OMS_ADDRESS}a) /overlay_networks/{NID}b) /peer/{PID}c) |
+| Body | N/A |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS.b) {NID} refers to the ID of overlay network.c) {PID} refers to the ID of leaving peer. | |
+
+#### 8.2.7.2 Response
+
+The response to an OMP\_LEAVE request uses a response code to indicate the result. Table 14 lists response codes and semantics for OMP\_LEAVE. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 14 – Response codes for OMP\_LEAVE**
+
+| Response code and semantics | | Body |
+|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------|------|
+| 200 | OK The request is accepted and registration is done. | N/A |
+| 401 | Unauthorized The request requires user authentication. Peer may repeat the request with a suitable Authorization in HTTP header | N/A |
+| 404 | Not Found The request is denied because there is no responding peer with the requested identifier. | N/A |
+
+### 8.2.8 OMP\_QUERY\_PEER
+
+OMP\_QUERY\_PEER is initiated by a peer to query the status of a specific peer joining a specific overlay network.
+
+#### 8.2.8.1 Request
+
+The request message format for OMP\_QUERY\_PEER is shown in Table 15.
+
+**Table 15 – Request message format for OMP\_QUERY\_PEER**
+
+| | |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------|
+| Method | GET |
+| URI | http://{OMS_ADDRESS}a) /overlay_networks/{NID}b) /peer/{PID}c) |
+| Body | N/A |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS.b) {NID} refers to the ID of overlay network.c) {PID} refers to the ID of leaving peer. | |
+
+#### 8.2.8.2 Response
+
+The response to an OMP\_QUERY\_PEER request uses a response code to indicate the result. Table 16 lists response codes and semantics for OMP\_QUERY\_PEER. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 16 – Response codes for OMP\_QUERY\_PEER**
+
+| Response code and semantics | | Body |
+|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------|
+| 200 | OK The request is succeeded and this response contains peer list. | peer_information (refers to clause 8.1.1) |
+| 401 | Unauthorized The request requires user authentication. Peer may repeat the request with a suitable Authorization in HTTP header | N/A |
+| 404 | Not Found The request is denied because there is no responding peer with the requested identifier. | N/A |
+
+An example HTTP response message for OMP\_QUERY\_PEER is as follows:
+
+```
+HTTP/1.1 200 OK
+Content-Length: 145
+Content-Type: application/json
+{
+ "peer_information" : {
+ "peer_id" : "8djdh",
+ "net_ifo" : {
+ "ip-address" : "123.1.2.3",
+ "port" : 5241,
+ "public" : "TRUE"
+ }
+ }
+}
+```
+
+### 8.2.9 OMP\_QUERY\_PEERLIST
+
+OMP\_QUERY\_PEERLIST is initiated by a peer to request OMS to send a peer list of a specific overlay network. The body of the request message may include a query condition so that peers possessing a certain range of fragment can be queried.
+
+#### 8.2.9.1 Request
+
+The request message format for OMP\_QUERY\_PEERLIST is shown in Table 17.
+
+**Table 17 – Request message format for OMP\_QUERY\_PEERLIST**
+
+| | |
+|-----------------------------------------------------|------------------------------------------------------------------------------------------|
+| Method | GET |
+| URI | http://{OMS_ADDRESS}a) /overlay_networks/{NID}b) /peer/ |
+| Body | fragment_list (refer to clause 8.1.6), fragment_range (refer to clause 8.1.7) |
+| a) {OMS_ADDRESS} refers to the FQDN address of OMS. | |
+| b) {NID} refers to the ID of overlay network. | |
+
+An example HTTP request message for OMP\_QUERY\_PEERLIST is as follows:
+
+```
+GET /overlay_networks/12ekd4kd8/peer/8djdh HTTP/1.1
+Host: www.exampleaoms.com
+Content-Length: 73
+Content-Type: application/json
+Accept: application/json
+{
+ "fragment_range":
+ {
+ "start_fragment_id":0,
+ "end_fragment_id":99
+ }
+}
+```
+
+#### 8.2.9.2 Response
+
+The response to an OMP\_QUERY\_PEERLIST request uses a response code to indicate the result. Table 18 lists response codes and semantics for OMP\_QUERY\_PEERLIST. This Recommendation follows [IETF RFC 7231] for other response codes.
+
+**Table 18 – Response codes for OMP\_QUERY\_PEERLIST**
+
+| Response code and semantics | | Body |
+|-----------------------------|------------------------------------------------------------------------------------------------------------------------------------|------------------------------------|
+| 200 | OK The request is succeeded and this response contains peer list. | peer_list (refers to clause 8.1.3) |
+| 401 | Unauthorized The request requires user authentication. Peer may repeat the request with a suitable Authorization in HTTP header | N/A |
+| 404 | Not Found The request is denied because there is no responding peer with the requested identifier. | N/A |
+
+An example HTTP response message for OMP\_QUERY\_PEERLIST is as follows:
+
+```
+HTTP/1.1 200 OK
+Content-Length: 255
+Content-Type: application/json
+{
+ "peer_list" : {
+ "peers" : ["peerd", "peerb", "peerc"]
+ }
+ "fragment_list" : {
+ "fragment" : [100, 102]
+ },
+ "fragment_range":
+ {
+ "start_fragment_id":0,
+ "end_fragment_id":99
+ }
+}
+```
+
+## Bibliography
+
+- [b-ITU-T X.1161] Recommendation ITU-T X.1161 (2008), *Framework for secure peer-to-peer communications*.
+- [b-ITU-T X.1162] Recommendation ITU-T X.1162 (2008), *Security architecture and operations for peer-to-peer networks*.
+- [b-ITU-T Y.2206] Recommendation ITU-T Y.2206 (2010), *Requirements for distributed service networking capabilities*.
+- [b-REST] Fielding, R. (2000), *Architectural Styles and the Design of Network-based Software Architectures*, Doctoral Dissertation, University of California, Irvine, September.
+- [b-ISO/IEC TR 20002] ISO/IEC TR 20002 (2012), *Information technology – Telecommunications and information exchange between systems – Managed P2P: Framework*.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..4bbc16cfffa5bef6ac180c2fd2e28841a6fbf83c
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/1a827b10290f33d4fec04d0e8ef7a897_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d5723650f02f1f72ed54e76502464a554cec02f4d66598f7ecadf7ee3b5114e2
+size 57910
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/1a85642ed2356d183ce598f2c8b3ee8b_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/1a85642ed2356d183ce598f2c8b3ee8b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5b86a5cf09a2f7ade82a9292975f1444f50c140a
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/1a85642ed2356d183ce598f2c8b3ee8b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:affa22d59f3e801fb8db9b37e66b50cfeedff68502329801eb591dd793e18734
+size 41190
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8f438347d0fe614a7ee2881a945e3aa4d52a1210
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/33ed1f9b27c7c21c797aa928b0f06851_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:566c916800924a2d50be282c32252493a6f6e137970375bcf4d6f3bea8b0a33c
+size 99593
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9ffaf0867832972c23f8784e0bcc39e1d52e1134
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a4d7ec81997c039f15287812f3b332dee87ee2b95b8315a59ca60de37e0342da
+size 79381
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b48687733de1512e85e0ba8011e30053ca8df42f
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/5b8a756d9a71c35f17db8bcb90b438a3_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:928de80a247176c2f80585098c082b9db162a0d1c1d5b19c72251b554b5606d3
+size 63081
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..05a69081f20eb778ec53957ce92ed17bfc095ca6
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/75f0cb39f1cd165dfe4a6aa6c4d9388d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f0c907f8a4d02c2c0b25efda7633e0e72a77a624819e474e1e6fbce8decf36d6
+size 58171
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..de2ba47631c6589b2245a0ecad2f37a76317cb07
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/84a1d09fb489061482111515543b60dc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a6e3e571711673e03bcdbb5eb93f4154459772a1069b65fa22bf2f995ca832d
+size 6963
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7f92e4b93e4f7441d769c1bd840dd9cc306805e8
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/8fbdfc3d17fb1dae7b2d8f5a287fa9fc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c2f6069739d6c1ecaa0dc6474a6842376efd06d78ffd762613dcbeacf1d9002a
+size 59373
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7d2b406023a3413ad9f1bf7653561ceb967d18f1
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e1cf5ea83c37771c59490dc0a088e18885082e7f2d61b3f4bbe4abf8fcc1618a
+size 101751
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2ecbcdb025433b28c703bc38976be5ff90bce6a9
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:442ee78bccdf0d0a5456d77b89158a0ecaf712149446da392cb1b44e78f22380
+size 119303
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/df82d77a0d2637cbf2da9ea920a554fa_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/df82d77a0d2637cbf2da9ea920a554fa_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..239e48781f6f7cdf39996633bc4de304410df311
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/df82d77a0d2637cbf2da9ea920a554fa_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d3a13c992bf6873ef188f7c990c3cd9b5fa2831e5bdfd7be77374d71b3f3a17a
+size 56330
diff --git a/marked/X/T-REC-X.609.6-201812-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg b/marked/X/T-REC-X.609.6-201812-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b5fb33dced821c9cca9ada084840f5033b386fca
--- /dev/null
+++ b/marked/X/T-REC-X.609.6-201812-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8a6d15698d6d71fd5f26a5466396ac1f52ae96c7fb89492cf0bec21140de7f51
+size 96780
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/10781f43062bf3e9601a1e086710556c_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/10781f43062bf3e9601a1e086710556c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..beea052b1aea7e30a4128f865d079fae58fcb049
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/10781f43062bf3e9601a1e086710556c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0b6c7ea4a68b9df6de5da093df052eeaad35502db1fb02f40a7d86af60cbb7ec
+size 19236
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/28d75f39a24203712ee907b32cf0bbe5_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/28d75f39a24203712ee907b32cf0bbe5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c6595a4f79dae81d12b5fdf6519514960da1db81
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/28d75f39a24203712ee907b32cf0bbe5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7ee898ae2501d6893c4e63d6c1e453d50af4427c2a510c3042347e41f45ea8a6
+size 23985
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1bcec7bd9d87718f18066254e9f3c78688b9f40c
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6f01553c0181cb4d12b67f749242411b529106a990d794fd91b651bb8410ab79
+size 8389
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a3747b60244416addeec3b4872cfa4541b1a4ea7
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/33a8f3f01dfa8bce75d23017855a13c5_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8b6bbd2d31a0814f6c6edf22ae25112ef59897bb70808a91d8130343f022be46
+size 23734
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/356eb99ab9489bbd647223390a913903_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/356eb99ab9489bbd647223390a913903_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9c91dcb55f55d2044870000225a82cc6340eb2fa
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/356eb99ab9489bbd647223390a913903_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9705c9ce2a873eaf4a36890751445b59d53fa44704833ae875fa521a374fdca0
+size 29888
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/41a438d7e4adc17c3a4005e7c9500091_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/41a438d7e4adc17c3a4005e7c9500091_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7ed89e9c3e5e082581b6e2031a218c2cc950d957
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/41a438d7e4adc17c3a4005e7c9500091_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3ea17a8d09aaa80189c70d992ae3098354a25620a4be5ce81f4a906942034e79
+size 20347
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/4356776ca004ecba5d599667a155d7d4_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/4356776ca004ecba5d599667a155d7d4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9254f9311f65a83fc9a2d48a942c248320d3d2f1
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/4356776ca004ecba5d599667a155d7d4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f844e89fbb2befc9561a0335a869d000341514f994322a4456355afeff05c511
+size 60728
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/43837b056625d3d6ce615e4c02f163bb_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/43837b056625d3d6ce615e4c02f163bb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1e556724331002cee13ba657b1d11cb0d238e356
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/43837b056625d3d6ce615e4c02f163bb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6e1ca5ecf3b41142eaeeedff9dd3c3f87c4d8acf7048e387330b1c5542458a35
+size 38480
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2def74b6a9fdfcfc09dab819b9509ae178b9b448
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/4801720824e4b5e2361a5564f91cfb70_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1da1bb7c17d13e6fc319e5c53817edb2293616170447d02fa4b37c1bf07dd16a
+size 97691
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2c4cf1f7e991826f8db255c047f4b2efd252aa71
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/523ab7b925beb555f88b2e1e1336974f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:378059f5ca9048c07625dc4badd3e1b259c5361ef4f5437a84be08bdab8f826a
+size 24877
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/6ca05954842b17f14dfd52f26b9d43d2_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/6ca05954842b17f14dfd52f26b9d43d2_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..2346a1a730d47245a6bc549903f4fd0dd1cd1713
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/6ca05954842b17f14dfd52f26b9d43d2_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d598e9aa066d89da5fb33b93ad4373f4561d26c34b5bb56a69b7203198d84346
+size 34371
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/6ed175c791b5e156d9c98a8dbcc3318c_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/6ed175c791b5e156d9c98a8dbcc3318c_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..333ff2132dd9f7bd5d6861a5ff7e7a0ab5aa118e
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/6ed175c791b5e156d9c98a8dbcc3318c_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:5698b2976c14211ab457eab031a905c21aa8cb504e4e40fa9b7de60a05ae3402
+size 6082
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/7e1c9b51e067a48cd0fcc9748d8bd8d8_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/7e1c9b51e067a48cd0fcc9748d8bd8d8_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..5750d4e73ad5018592b6e01d2e1551cddb5d4fa8
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/7e1c9b51e067a48cd0fcc9748d8bd8d8_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:98d14cbbffc1b555bffb96b6e4720b0ac0b9490e6d44c911f21ed8c695138a99
+size 20887
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..814c88c3754e9b452fde317e2227694dcbdf9b0d
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/9167fa5ebcb66516d1bbb421ec9bba7b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:86f6c191ce204d845c42c7ae8516252cedac8ca1e6caaecd25bbd69e881b1321
+size 37668
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/a0739aaf13fa5a632d4faa830f6b2708_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/a0739aaf13fa5a632d4faa830f6b2708_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b4843eef34739905136b8bad94a238ddba7290c3
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/a0739aaf13fa5a632d4faa830f6b2708_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bb8e4c2f7702c1b951d64fb4f26c0fad6ba7be0e5e52eb4b80c5741aebeee840
+size 22189
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/a24e89a6fe9bb70c83f8bf5202baba95_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/a24e89a6fe9bb70c83f8bf5202baba95_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..0c2fa8b311a501eddc81e20bbda2b58b9de7c58e
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/a24e89a6fe9bb70c83f8bf5202baba95_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0a896553e15a21fb2b692833305219f28fd034193dc862efde20e602c444391f
+size 23240
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..07de53ff32435b848bdb779ec26c6d947b2ec7a9
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/a5ee5c23b6dc52ec1d724b76d5a5f58f_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:26ddc1d59eec1a77dbc405a01f83b5f7dfcfa9b7c8bd36d5683aff05ac908e73
+size 39282
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/a734898ce18e972938949637c32a34f4_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/a734898ce18e972938949637c32a34f4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..7f3ea0f8c02e41419b19c46f7717acefe91ceb01
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/a734898ce18e972938949637c32a34f4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8ac88d71adac75106c35917bc7d4b6b6f5ce85a92d2fb861e00b832f4b1b5bdc
+size 42436
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..bb072bc2dcec0c4ac53e6002f74e1a11bda19484
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/b3baf3a29b67c7425d2562ddbc52f0cc_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a0d398230eaf04188edac5b144d1c02a4511930bb7850412656a199dbe10b43e
+size 48723
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..311011039e098fe77d97f256bf2b5edc18a9a2f0
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/cfda9df1319e04207eb28bcefd1dab7b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:57aa48c4a131ef9607ceab060fbf5d4e4fc2290387b9fddf051f8e1a6d8c31d2
+size 41241
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..e4332aa4aa3c19e6a279a11d03c7764015e7fd36
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/d4af765160d04ecef538e5066006dc77_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:41750684ffe9c6d3e505a64ab8aec171378fc5c73275fc637a7479bad8725942
+size 179813
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/dd5771673aececa53d42ece89218299d_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/dd5771673aececa53d42ece89218299d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..002819bfb1f5595731caac9f7f59d72bffa86a08
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/dd5771673aececa53d42ece89218299d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9d35571c9b39837b4fc577bb08edd0dec049cfff9b75c17f0041aa02aa925b79
+size 26232
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/e180f2b5fcbe8001554a7c0677cd3f82_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/e180f2b5fcbe8001554a7c0677cd3f82_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9b16be230e1e18220bdbfd9a488fa71773002732
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/e180f2b5fcbe8001554a7c0677cd3f82_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8326662ea3a9ff565e4bdc221846388272df7a9de267db4711ad1197362fd5f8
+size 60867
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/e821c3d8a87ee2a9ff6b8644ffe6bdae_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/e821c3d8a87ee2a9ff6b8644ffe6bdae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..b017d1042d82ed0a2af1769e1a6cf10f9c726abc
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/e821c3d8a87ee2a9ff6b8644ffe6bdae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c2abd5738d264966caa47970f56b9fcc53b4296b2e49852e0cb78f0c63baebb2
+size 23026
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/e90987faabad6a6665cd8ed1151dc474_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/e90987faabad6a6665cd8ed1151dc474_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..87f75d08382729e8762da1bb3fc6fac317cf9091
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/e90987faabad6a6665cd8ed1151dc474_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c92be7986ac5db6d0b6d05409b34884fbfdc16ad462df28d72fdf0239a3cc052
+size 21398
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/eb03559a4d92ea9ebd63ea9be663c50a_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/eb03559a4d92ea9ebd63ea9be663c50a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..24b7c4974b15cb3502fbd49e7dcc1cdead191aec
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/eb03559a4d92ea9ebd63ea9be663c50a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d5ff3c8245a6aa549bf81c9a054dd9fe8e610e29dcfe0d82f55d5a575577652e
+size 74350
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..a9dd25996e166734e86dd026b7389eef2bd5012d
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/eb5677b570ab2a3e9d8f5d35ca5b8a4d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4163e27fe4c2bfd5ee4fd6578c62a50f56f156853e940e396fa59a6a1803ddd7
+size 26548
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..ac0979adf920d9b77e4e878c5af89e9d1fa4851d
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/ebff22fb5dd6f50a90e44dca0f82f285_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1a7b582a5e248988207d3d022fd39144bbe8921f58d1a2745efa74b16e1ccb3b
+size 27471
diff --git a/marked/X/T-REC-X.610-199209-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg b/marked/X/T-REC-X.610-199209-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..69e8ea77bd5d4e3d3e856bac748e3116dc63bcf1
--- /dev/null
+++ b/marked/X/T-REC-X.610-199209-I_PDF-E/f4fdd410cdb84df81274da55721e56fb_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:56255abbabd137790b5c3088c58b0c3879c7cb865ab0a059e6387aa0760595ca
+size 36136
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..fab8ede6ff33bd510053417b010e10d344083a4c
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/2dfa6ac3edfe874f68aa0cbccaa42322_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:163d64cf0089b8d022a5eb069ac3638a2c4055a49e4e28689e5747a509389bbf
+size 8240
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/51db757d054ce1ce83c436a3578b56ca_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/51db757d054ce1ce83c436a3578b56ca_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d493f07f1a38edbebc779cec079dcb358ac0ef17
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/51db757d054ce1ce83c436a3578b56ca_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8369449d03992fa6d8d2e322a8e7bf059b0541e64bee032207722ba73ba1b6b6
+size 39428
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/82b40cb8b2a5ac361973859400fa128a_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/82b40cb8b2a5ac361973859400fa128a_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..15601b7f8a8140694df50d623e317fa26924562e
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/82b40cb8b2a5ac361973859400fa128a_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ac7fb29d390a71689512f34d40c7da5e7b9a742b908328b06f1910e1a7aac83d
+size 41824
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/844077b3034f0030b404207db0ad76b4_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/844077b3034f0030b404207db0ad76b4_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..d79e1a7e9dd723128c8c0cbf0a64304eb6aa5eaf
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/844077b3034f0030b404207db0ad76b4_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:53f7d39b78858c6a228a38de4419a52423300fbc7310eae436484fdcd059aa88
+size 38625
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/a3953dce8dbd7ef15d61a314dbef2cf9_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/a3953dce8dbd7ef15d61a314dbef2cf9_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..db93f81a0fb380d576728efc6e1b86d5daffca10
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/a3953dce8dbd7ef15d61a314dbef2cf9_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:370d261691dd0cd774f43ec85f98cfe1f1c688e599b7970399a38c343300f545
+size 42608
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/cfb98c691c1af5befe32ff9442eea511_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/cfb98c691c1af5befe32ff9442eea511_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c8f57c3a734eae8baf48ec688ccc48e6d8541201
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/cfb98c691c1af5befe32ff9442eea511_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7ba8d609de6076bbe7800c122c4b18d00e905688ac89cb769a95f9bb2135dd73
+size 70945
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/e7c6a6e4c3047dac05a3b92e396e9794_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/e7c6a6e4c3047dac05a3b92e396e9794_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..9c911fb79bbfe8ca0b371add71f521f0452f58db
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/e7c6a6e4c3047dac05a3b92e396e9794_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6c82a72b0124b0d5c581907b2dab60eb95bcc834af1d6aaefe4cba5760f80aa1
+size 40122
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/e821c3d8a87ee2a9ff6b8644ffe6bdae_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/e821c3d8a87ee2a9ff6b8644ffe6bdae_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..1bdc60474b824c2c5347af5c4f778627155da000
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/e821c3d8a87ee2a9ff6b8644ffe6bdae_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e7ebec5dfb2c6c907fc8a704b71a85bface6209ee26db270c1f049152ad5bc08
+size 43208
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/f0b7abcb093621bb310bf61fbe0f0d2d_img.jpg b/marked/X/T-REC-X.642-199809-I_PDF-E/f0b7abcb093621bb310bf61fbe0f0d2d_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..8256f0bde74cada421b96befc628f1e3f16084d6
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/f0b7abcb093621bb310bf61fbe0f0d2d_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6c75e3a17ee0aa4b79c5cd6828fa11ee2131c5acab0a3567751a36d74381b5de
+size 57537
diff --git a/marked/X/T-REC-X.642-199809-I_PDF-E/raw.md b/marked/X/T-REC-X.642-199809-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..66f466aaac0a8ce822632090b65d2db617b9046c
--- /dev/null
+++ b/marked/X/T-REC-X.642-199809-I_PDF-E/raw.md
@@ -0,0 +1,1218 @@
+
+
+
+
+ITU logo: a globe with the letters ITU inside, and a lightning bolt symbol.
+
+INTERNATIONAL TELECOMMUNICATION UNION
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.642
+
+(09/98)
+
+SERIES X: DATA NETWORKS AND OPEN SYSTEM
+COMMUNICATIONS
+
+OSI networking and system aspects – Quality of service
+
+---
+
+**Information technology – Quality of Service –
+Guide to methods and mechanisms**
+
+ITU-T Recommendation X.642
+
+(Previously CCITT Recommendation)
+
+---
+
+# ITU-T X-SERIES RECOMMENDATIONS **DATA NETWORKS AND OPEN SYSTEM COMMUNICATIONS**
+
+# **PUBLIC DATA NETWORKS**
+
+| | |
+|----------------------------------------|-------------|
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+
+## **OPEN SYSTEMS INTERCONNECTION**
+
+| | |
+|---------------------------------------------|-------------|
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+
+## **INTERWORKING BETWEEN NETWORKS**
+
+| | |
+|---------|-------------|
+| General | X.300–X.349 |
+|---------|-------------|
+
+| | |
+|-------------------------------------|-------------|
+| Satellite data transmission systems | X.350–X.399 |
+|-------------------------------------|-------------|
+
+## **MESSAGE HANDLING SYSTEMS** X.400–X.499
+
+## **DIRECTORY** X.500–X.599
+
+## **OSI NETWORKING AND SYSTEM ASPECTS**
+
+| | |
+|------------|-------------|
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+
+### **Quality of service** X.640–X.649
+
+| | |
+|-------------------------------------|-------------|
+| Naming, Addressing and Registration | X.650–X.679 |
+|-------------------------------------|-------------|
+
+| | |
+|--------------------------------------|-------------|
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+|--------------------------------------|-------------|
+
+## **OSI MANAGEMENT**
+
+| | |
+|-----------------------------------------------|-------------|
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+
+## **SECURITY** X.800–X.849
+
+## **OSI APPLICATIONS**
+
+| | |
+|--------------------------------------|-------------|
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.899 |
+
+## **OPEN DISTRIBUTED PROCESSING** X.900–X.999
+
+*For further details, please refer to ITU-T List of Recommendations.*
+
+# **TECHNICAL REPORT 13243**
+
+# **ITU-T RECOMMENDATION X.642**
+
+# **INFORMATION TECHNOLOGY – QUALITY OF SERVICE – GUIDE TO METHODS AND MECHANISMS**
+
+## **Summary**
+
+This Recommendation | Technical Report promotes the use of common methods and mechanisms for managing Quality of Service in information technology and data communications services and protocols. These methods and mechanisms are consistent with the overall Quality of Service Framework given in ITU-T Rec. X.641 | ISO/IEC 13236.
+
+###### **Source**
+
+The ITU-T Recommendation X.642 was approved on the 25th of September 1998. The identical text is also published as ISO/IEC Technical Report 13243.
+
+## FOREWORD
+
+ITU (International Telecommunication Union) is the United Nations Specialized Agency in the field of telecommunications. The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of the ITU. The ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Conference (WTSC), which meets every four years, establishes the topics for study by the ITU-T Study Groups which, in their turn, produce Recommendations on these topics.
+
+The approval of Recommendations by the Members of the ITU-T is covered by the procedure laid down in WTSC Resolution No. 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+The ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. The ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, the ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementors are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database.
+
+© ITU 1999
+
+All rights reserved. No part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from the ITU.
+
+## CONTENTS
+
+| | Page |
+|--------------------------------------------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 Normative references ..... | 1 |
+| 2.1 Identical Recommendations International Standards ..... | 2 |
+| 3 Definitions ..... | 2 |
+| 3.1 QoS Framework definitions ..... | 2 |
+| 3.2 ODP definitions ..... | 2 |
+| 4 Abbreviations ..... | 3 |
+| 5 References to QoS from Recommendations, International Standards and other specifications ..... | 3 |
+| 5.1 QoS in collaborative ITU-T Recommendations and ISO/IEC International Standards ..... | 3 |
+| 5.2 QoS in ISO/IEC International Standardized Profiles ..... | 8 |
+| 5.3 QoS in ISO TC 184 standards ..... | 8 |
+| 5.4 QoS in ITU-T Recommendations ..... | 8 |
+| 5.5 QoS in specifications produced by other organizations ..... | 9 |
+| 5.6 Research on QoS management ..... | 10 |
+| 6 Methods and mechanisms for the prediction phase ..... | 10 |
+| 7 Methods and mechanisms for the establishment phase ..... | 10 |
+| 7.1 Methods of reaching QoS agreements ..... | 10 |
+| 7.2 Resource allocation mechanisms ..... | 23 |
+| 7.3 Initialization mechanisms ..... | 23 |
+| 8 Methods and mechanisms for the operational phase ..... | 23 |
+| 8.1 Monitoring mechanisms ..... | 23 |
+| 8.2 Maintenance mechanisms ..... | 24 |
+| 8.3 Filters ..... | 25 |
+| 8.4 Enquiry mechanisms ..... | 26 |
+| 8.5 Alert mechanisms ..... | 26 |
+| 9 QoS verification methods ..... | 27 |
+| 9.1 Introduction ..... | 27 |
+| 9.2 QoS verification at the design stage ..... | 27 |
+| 9.3 QoS verification at the testing stage ..... | 28 |
+| 9.4 QoS verification at the operation stage ..... | 28 |
+| 10 References to this Recommendation Technical Report ..... | 28 |
+
+# Introduction
+
+This Recommendation | Technical Report is intended to promote the use of common methods and mechanisms for managing Quality of Service (QoS) in a number of different communications and systems environments.
+
+The collaborative ITU-T and ISO/IEC JTC 1 project for coordination and harmonization of QoS-related initiatives is aimed at encouraging the use of the QoS Framework (see ITU-T Rec. X.641 | ISO/IEC 13236), facilitating the use of common QoS methods and mechanisms, and promoting consistency between different applications and systems in their treatment of QoS. The collaboration has been extended to include QoS in Open Distributed Processing. Efforts are being made to promote maximum consistency between this activity and the work on development of specifications for QoS in CORBA-based systems in the Object Management Group (OMG).
+
+Organizations developing methods or mechanisms for QoS management are encouraged to make use of the concepts and terms defined in the QoS Framework. Any developments that may be re-usable in other contexts should also be proposed for reference in this Recommendation | Technical Report by submitting a reference, together with explanatory text, to the ITU-T or JTC 1 Secretariat.
+
+It is expected that the convergence of QoS methods and mechanisms will be achieved in a stepwise fashion, using such submitted material as a basis. In its first edition, this Recommendation | Technical Report identifies and catalogues current standards and other widely available specifications that incorporate definitions of QoS characteristics and QoS methods and mechanisms; and it includes definitions of some methods and mechanisms that are considered to be widely applicable. These methods and mechanisms are derived from those used or under development in information technology standards, and have been formulated in a manner consistent with the QoS Framework, with the objective that they can be applied widely and, if appropriate, standardized. Subsequent editions of this Recommendation | Technical Report are expected to add further methods and mechanisms, likewise formulated in a manner consistent with the QoS Framework. Through this process, harmonization of QoS approaches and usage across a wide range of environments will be achieved.
+
+Since this Recommendation | Technical Report includes methods and mechanisms developed elsewhere, in cases of conflict between definitions in this Recommendation | Technical Report and definitions in the source specifications, the latter have precedence.
+
+# **TECHNICAL REPORT**
+
+## **ITU-T RECOMMENDATION**
+
+## **INFORMATION TECHNOLOGY – QUALITY OF SERVICE – GUIDE TO METHODS AND MECHANISMS**
+
+# **1 Scope**
+
+This Recommendation | Technical Report uses the concepts and terminology of the Quality of Service Framework, ITU-T Rec. X.641 | ISO/IEC 13236. It is intended to support those designing, testing and specifying Information Technology (IT) systems, data communications services and protocols, those defining QoS management functions and QoS mechanisms for particular data environments and technologies, and those engaged in other QoS-related activities such as system testing, by providing a source of reference material on QoS. To do this, it brings together references to methods and mechanisms from a variety of sources, and in some cases documents them in a style which will permit their use in many data different environments.
+
+The term "method" is used in a very general sense to include any process, function, etc., that is relevant to QoS at any stage in the life-cycle of a system.
+
+The criterion for reference to or inclusion of definitions or specifications of QoS methods and mechanisms in this Recommendation | Technical Report is that they are thought to be of potentially wider application than solely the environment for which they were originally developed, although still in a data context.
+
+Clause 5 identifies sources of definitions of QoS characteristics and related information. Clauses 6, 7 and 8 discuss methods and mechanisms appropriate to the phases of QoS activity that are defined in the QoS Framework: clause 6 deals with the prediction phase, clause 7 with the establishment phase and clause 8 with the operational phase. Clause 9 describes methods for verification of system behaviour related to QoS. Clause 10 covers the relationships between this Recommendation | Technical Report and Recommendations, International Standards or Technical Reports that reference it.
+
+This Recommendation | Technical Report contains detailed definitions of some QoS mechanisms. Some peer-to-peer QoS negotiation mechanisms are defined in 7.1.1. These involve two peer entities and in most cases also the provider of a communications service between them. Subclause 7.1.2 provides an initial specification of some QoS negotiation mechanisms for $1 \times N$ multicast connections, based on those in 7.1.1. Subclause 7.1.3 discusses QoS negotiation mechanisms for $M \times N$ multicast, some of which can make use of those in 7.1.2. Subclause 8.2.1 defines some QoS management mechanisms to support time-critical applications.
+
+This Recommendation | Technical Report does not include methods and mechanisms for security.
+
+# **2 Normative references**
+
+The following Recommendations and International Standards contain provisions which, through reference in this text, constitute provisions of this Recommendation | Technical Report. At the time of publication, the editions indicated were valid. All Recommendations and Standards are subject to revision, and parties to agreements based on this Recommendation | Technical Report are encouraged to investigate the possibility of applying the most recent edition of the Recommendations and Standards listed below. Members of IEC and ISO maintain registers of currently valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently valid ITU-T Recommendations.
+
+## 2.1 Identical Recommendations | International Standards
+
+- ITU-T Recommendation X.641 (1997) | ISO/IEC 13236:1998, *Information technology – Quality of Service: Framework*.
+- ITU-T Recommendation X.902 (1995) | ISO/IEC 10746-2:1996, *Information technology – Open distributed processing – Reference Model: Foundations*.
+
+# 3 Definitions
+
+For the purposes of this Recommendation | Technical Report, the following definitions apply.
+
+## 3.1 QoS Framework definitions
+
+This Recommendation | Technical Report uses the following terms drawn from the Quality of Service Framework, ITU-T Rec. X.641 | ISO/IEC 13236:
+
+- compulsory (level of agreement);
+- connection-wide (negotiation);
+- controlled highest quality;
+- establishment phase;
+- guaranteed (level of agreement);
+- highest quality attainable;
+- lowest quality acceptable;
+- operating target;
+- operational phase;
+- prediction phase;
+- QoS alert;
+- QoS characteristic;
+- QoS enquiry;
+- QoS filter;
+- QoS maintenance;
+- QoS measure;
+- QoS mechanism;
+- QoS monitoring;
+- QoS negotiation;
+- QoS parameter;
+- QoS threshold;
+- QoS verification;
+- receiver-selected (negotiation).
+
+## 3.2 ODP definitions
+
+This Recommendation | Technical Report uses the following term drawn from the Reference Model of Open Distributed Processing: Foundations, ITU-T Rec. X.902 | ISO/IEC 10746-2:
+
+- Quality of Service (QoS): A set of qualities related to the collective behaviour of one or more objects.
+
+# 4 Abbreviations
+
+For the purposes of this Recommendation | Technical Report, the following abbreviations apply:
+
+| | |
+|-------|-------------------------------------------------------------|
+| AGI | Active Group Identity |
+| CHQ | Controlled Highest Quality |
+| CORBA | Common Object Request Broker Architecture |
+| CW | Connection-Wide (negotiation) |
+| FDT | Formal Description Technique |
+| HQA | Highest Quality Attainable |
+| LQA | Lowest Quality Acceptable |
+| ODP | Open Distributed Processing |
+| OMG | Object Management Group |
+| PCO&M | Point of Control, Observation and Measurement |
+| PDU | Protocol Data Unit |
+| QoS | Quality of Service |
+| RFC | Request for Comment |
+| RSVP | Resource Reservation (setup) Protocol |
+| SUT | Service under Test |
+| TCNM | Network Management for Time Critical Communications Systems |
+
+# 5 References to QoS from Recommendations, International Standards and other specifications
+
+This clause identifies sources of definitions of QoS characteristics that have been developed by standards bodies and other organizations as an aid to those wishing to design QoS methods and mechanisms, together with sources of associated definitions and tutorial or other related information.
+
+NOTE – ITU-T and ISO maintain catalogues of their Recommendations and International Standards, together with other useful information, on their World Wide Web servers at and respectively. Readers are encouraged to consult these in order to ensure that they use the most up-to-date references.
+
+## 5.1 QoS in collaborative ITU-T Recommendations and ISO/IEC International Standards
+
+Standardization for various kinds of data transmission networks is undertaken within ITU-T and within ISO and IEC in ISO/IEC JTC 1. Frequently, the results of this effort are needed by both ITU-T and ISO/IEC and the work is therefore developed on a collaborative basis leading to identical or technically aligned ITU-T Recommendations and ISO/IEC International Standards. Both OSI and non-OSI environments are addressed, as are peer-to-peer and multipeer associations.
+
+### 5.1.1 ITU-T Recommendations and ISO/IEC International Standards that reference QoS for the lower layers
+
+The Recommendations and International Standards involved in this area cover service definitions, attachment standards and protocol specifications for a variety of technologies including:
+
+- circuit-switched networks (both analogue and digital);
+- packet-switched networks (e.g. those conforming to the ITU-T Rec. X.25);
+- local and metropolitan area networks following the ISO/IEC 8802 family of standards;
+- frame relay and broadband ISDN networks;
+- simple peer-to-peer and multipeer data-links.
+
+Many Recommendations | International Standards in this area make reference to various aspects of QoS. Table 5-1 lists the Recommendations | International Standards and shows which QoS characteristics they define or use. Table 5-2 provides a reverse index to the source documents: it lists the QoS characteristics or related QoS parameters that have been defined in the Recommendations | International Standards and identifies the documents in which they can be found. In addition, there is a *where-used* table in 7.1.1.2 (Table 7-1), which identifies the Recommendations | International Standards that utilize the QoS mechanisms defined in that subclause.
+
+Table 5-1 – QoS characteristics and parameters in joint ITU-T and ISO/IEC lower layer standards
+
+| Recommendation International Standard | Characteristic or parameter |
+|-------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| ITU-T Rec. X.25 and ISO/IEC 8208 (X.25 Packet Layer Protocol) | throughput class transit delay selection and indication minimum throughput class end-to-end transit delay priority protection |
+| ITU-T Rec. X.213 ISO/IEC 8348 (Connection-mode network service definition) | throughput transit delay priority protection |
+| ITU-T Rec. X.213 ISO/IEC 8348 (Connectionless-mode network service definition) | transit delay cost determinants |
+| ITU-T Rec. X.223 ISO/IEC 8878 (Use of X.25 to provide the connection-mode network service) | throughput transit delay priority |
+| ITU-T Rec. X.233 ISO/IEC 8473-1 (Protocol for providing the connectionless-mode network service) | sequencing vs. transit delay transit delay vs. cost residual error probability vs. transit delay residual error probability vs. cost. |
+| CCITT Rec. X.612 ISO/IEC 9574 (Connection-mode network service by packet-mode terminal connected to an ISDN) | throughput transit delay |
+| ITU-T Rec. X.622 ISO/IEC 8473-3 (Connectionless-mode network protocol over X.25) | priority transit delay and throughput |
+| ITU-T Rec. X.214 ISO/IEC 8072 (Transport service definition) | establishment delay establishment failure probability throughput transit delay residual error rate transfer failure probability release delay release failure probability protection priority resilience |
+| ITU-T Rec. X.224 ISO/IEC 8073 (Connection-mode transport protocol) | throughput residual error rate transit delay priority |
+| ITU-T Rec. X.234 ISO/IEC 8602 (Connectionless-mode transport protocol) | QoS parameter defined by connectionless-mode transport service |
+| ITU-T Rec. X.605 ISO/IEC 13252 (Enhanced communications transport service definition) | throughput transit delay transit delay jitter corrupted data unit error rate lost data unit error rate ordering protection precedence |
+
+Table 5-2 – Index to sources of definitions of QoS characteristics and parameters
+
+| Characteristic or parameter | Recommendation International Standard |
+|-----------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| transit delay | ITU-T Rec. X.25 and ISO/IEC 8208 ITU-T Rec. X.213 ISO/IEC 8348 – CO ITU-T Rec. X.213 ISO/IEC 8348 – CL ITU-T Rec. X.214 ISO/IEC 8072 ITU-T Rec. X.223 ISO/IEC 8878 ITU-T Rec. X.224 ISO/IEC 8073 ITU-T Rec. X.233 ISO/IEC 8473-1 ITU-T Rec. X.605 ISO/IEC 13252 CCITT Rec. X.612 ISO/IEC 9574 ITU-T Rec. X.622 ISO/IEC 8473-3 |
+| transit delay jitter | ITU-T Rec. X.605 ISO/IEC 13252 |
+| establishment delay | ITU-T Rec. X.214 ISO/IEC 8072 |
+| release delay | ITU-T Rec. X.214 ISO/IEC 8072 |
+| throughput | ITU-T Rec. X.25 and ISO/IEC 8208 ITU-T Rec. X.213 ISO/IEC 8348 – CO ITU-T Rec. X.214 ISO/IEC 8072 ITU-T Rec. X.223 ISO/IEC 8878 ITU-T Rec. X.224 ISO/IEC 8073 ITU-T Rec. X.605 ISO/IEC 13252 CCITT Rec. X.612 ISO/IEC 9574 ITU-T Rec. X.622 ISO/IEC 8473-3 |
+| protection | ITU-T Rec. X.25 and ISO/IEC 8208 ITU-T Rec. X.213 ISO/IEC 8348 – CO ITU-T Rec. X.214 ISO/IEC 8072 ITU-T Rec. X.605 ISO/IEC 13252 |
+| residual error rate | ITU-T Rec. X.214 ISO/IEC 8072 ITU-T Rec. X.224 ISO/IEC 8073 ITU-T Rec. X.233 ISO/IEC 8473-1 ITU-T Rec. X.605 ISO/IEC 13252 |
+| establishment failure probability | ITU-T Rec. X.214 ISO/IEC 8072 |
+| transfer failure probability | ITU-T Rec. X.214 ISO/IEC 8072 |
+| release failure probability | ITU-T Rec. X.214 ISO/IEC 8072 |
+| resilience | ITU-T Rec. X.214 ISO/IEC 8072 |
+| priority/precedence | ITU-T Rec. X.25 and ISO/IEC 8208 ITU-T Rec. X.213 ISO/IEC 8348 – CO ITU-T Rec. X.214 ISO/IEC 8072 ITU-T Rec. X.223 ISO/IEC 8878 ITU-T Rec. X.224 ISO/IEC 8073 ITU-T Rec. X.605 ISO/IEC 13252 ITU-T Rec. X.622 ISO/IEC 8473-3 |
+| ordering | ITU-T Rec. X.605 ISO/IEC 13252 |
+| sequencing | ITU-T Rec. X.233 ISO/IEC 8473-1 |
+| cost determinants | ITU-T Rec. X.213 ISO/IEC 8348 – CL ITU-T Rec. X.233 ISO/IEC 8473-1 |
+
+The following Recommendations | International Standards cover service definitions:
+
+- ITU-T Recommendation X.213 (1995) | ISO/IEC 8348:1996, *Information technology – Open Systems Interconnection – Network service definition.*
+- ITU-T Recommendation X.214 (1995) | ISO/IEC 8072:1996, *Information technology – Open Systems Interconnection – Transport service definition.*
+- ITU-T Recommendation X.605 (1998) | ISO/IEC 13252:1999, *Information technology – Enhanced communications transport service definition.*
+
+The following Recommendations | International Standards cover generalized protocol specifications:
+
+- ITU-T Recommendation X.25 (1996), *Interface between Data Terminal Equipment (DTE) and Data Circuit-terminating Equipment (DCE) for terminals operating in the packet mode and connected to public data networks by dedicated circuit.*
+- ISO/IEC 8208:1995, *Information technology – Data Communications – X.25 Packet Layer Protocol for Data Terminal Equipment.*
+- ITU-T Recommendation X.224 (1995) | ISO/IEC 8073:1997, *Information technology – Open Systems Interconnection – Protocol for providing the connection-mode transport service.*
+- ITU-T Recommendation X.233 (1997) | ISO/IEC 8473-1:1998, *Information technology – Protocol for providing the connectionless-mode network service: Protocol specification.*
+- ITU-T Recommendation X.234 (1994) | ISO/IEC 8602:1995, *Information technology – Protocol for providing the OSI connectionless-mode transport service.*
+
+The following Recommendations | International Standards cover protocol specifications for specific technologies:
+
+- ITU-T Recommendation X.223 (1993), *Use of X.25 to provide the OSI connection-mode network service for ITU-T applications.*
+ISO/IEC 8878:1992, *Information technology – Telecommunications and information exchange between systems – Use of X.25 to provide the OSI Connection-mode network Service.*
+- CCITT Recommendation X.612 (1992) | ISO/IEC 9574:1992, *Information technology – Provision of the OSI connection-mode network service by packet-mode terminal equipment connected to an Integrated Services Digital Network (ISDN).*
+- CCITT Recommendation X.613 (1992) | ISO/IEC 10588:1993, *Information technology – Use of X.25 Packet Layer Protocol in conjunction with X.21/X.21 bis to provide the OSI connection-mode Network service.*
+- CCITT Recommendation X.614 (1992) | ISO/IEC 10732:1993, *Information technology – Use of X.25 Packet Layer Protocol to provide the OSI connection-mode Network service over the telephone network.*
+- ITU-T Recommendation X.622 (1994) | ISO/IEC 8473-3:1995, *Information technology – Protocol for providing the connectionless-mode Network service: Provision of the underlying service by an X.25 subnetwork.*
+- ITU-T Recommendation X.623 (1994) | ISO/IEC 8473-4:1995, *Information technology – Protocol for providing the connectionless-mode network service: Provision of the underlying service by a subnetwork that provides the OSI Data Link service.*
+- ITU-T Recommendation X.625 (1996) | ISO/IEC 8473-5:1997, *Information technology – Protocol for providing the connectionless-mode Network service: Provision of the underlying service by ISDN circuit-switched B-channels.*
+
+### 5.1.2 ITU-T Recommendations and ISO/IEC International Standards that reference QoS for the upper layers
+
+The Recommendations | International Standards for OSI higher-layer service definitions and protocol specifications that make reference to QoS are:
+
+- ITU-T Recommendation X.215 (1995) | ISO/IEC 8326:1996, *Information technology – Open Systems Interconnection – Session service definition.*
+- ITU-T Recommendation X.216 (1994) | ISO/IEC 8822:1994, *Information technology – Open Systems Interconnection – Presentation service definition.*
+
+- ITU-T Recommendation X.217 (1995) | ISO/IEC 8649:1996, *Information technology – Open Systems Interconnection – Service definition for the Association Control Service Element.*
+- ITU-T Recommendation X.225 (1995) | ISO/IEC 8327-1:1996, *Information technology – Open Systems Interconnection – Connection-oriented session protocol: Protocol specification.*
+- ITU-T Recommendation X.226 (1994) | ISO/IEC 8823-1:1994, *Information technology – Open Systems Interconnection – Connection-oriented presentation protocol: Protocol specification.*
+- ITU-T Recommendation X.227 (1995) | ISO/IEC 8650-1:1996, *Information technology – Open Systems Interconnection – Connection-oriented protocol for the Association Control Service Element: Protocol specification.*
+- ITU-T Recommendation X.235 (1995) | ISO/IEC 9548-1:1996, *Information technology – Open Systems Interconnection – Connectionless session protocol: Protocol specification.*
+- ITU-T Recommendation X.236 (1995) | ISO/IEC 9576-1:1995, *Information technology – Open Systems Interconnection – Connectionless presentation protocol: Protocol specification.*
+- ITU-T Recommendation X.237 (1995) | ISO/IEC 10035-1:1995, *Information technology – Open Systems Interconnection – Connectionless protocol for the Association Control Service Element: Protocol specification.*
+
+The Recommendations | International Standards for Message Handling Systems (MHS) that make reference to QoS are:
+
+- ITU-T Recommendation X.400 series | ISO/IEC 10021 (all parts), *Information technology – Message Handling Systems (MHS).*
+
+The following Recommendations | International Standards for OSI systems management are specifications that support QoS management:
+
+- ITU-T Recommendation X.701 (1997) | ISO/IEC 10040:1998, *Information technology – Open Systems Interconnection – Systems management overview.*
+- ITU-T Recommendation X.710 (1997) | ISO/IEC 9595:1998, *Information technology – Open Systems Interconnection – Common management information service.*
+- ITU-T Recommendation X.711 (1997) | ISO/IEC 9596-1:1998, *Information technology – Open Systems Interconnection – Common management information protocol: Specification.*
+- ITU-T Recommendation X.72x series | ISO/IEC 10165 (all parts), *Information technology – Open Systems Interconnection – Structure of management information.*
+- ITU-T Recommendations X.730 to X.753 | ISO/IEC 10164 (all parts), *Information technology – Open Systems Interconnection – Systems management.*
+
+### 5.1.3 ITU-T Recommendations and ISO/IEC International Standards that reference QoS for Open Distributed Processing
+
+The following Recommendations | International Standards for ODP make reference to QoS:
+
+- ITU-T Recommendations X.901 to X.904 | ISO/IEC 10746 (Parts 1 to 4), *Information technology – Open distributed processing – Reference Model.*
+- ITU-T Recommendation X.950 (1997) | ISO/IEC 13235-1:1998, *Information technology – Open distributed processing – Trading function: Specification.*
+
+Work on QoS in ODP is under way to produce Recommendations | International Standards including:
+
+- a new part of the Reference Model of Open Distributed Processing; ITU-T Rec. X.90x | ISO/IEC 10746-x;
+- any necessary amendments to the other parts of the Reference Model of Open Distributed Processing, ITU-T Recs. X.901 to X.904 | ISO/IEC 10746 (Parts 1 to 4), to reference or summarize the new part and provide alignment;
+- other stand-alone Recommendations | International Standards for QoS in ODP as necessary.
+
+It is intended to develop these specifications in collaboration with the Object Management Group (OMG), which is extending its activities to include the specification of QoS in CORBA-based systems. It is expected that it will be possible to agree upon a significant amount of common text.
+
+## 5.2 QoS in ISO/IEC International Standardized Profiles
+
+International Standardized Profiles (ISPs) that reference the OSI protocol specifications listed above may place constraints on the treatment of QoS. The taxonomy of profiles is provided in ISO/IEC TR 10000, Framework and Taxonomy of Profiles.
+
+## 5.3 QoS in ISO TC 184 standards
+
+This subclause identifies ISO TC 184 documents that contain information on current areas of TC 184 work relating to QoS:
+
+- ISO TR 12178:1994, *Industrial automation – Time-critical communications architectures – User requirements.*
+
+References to further TC 184 standards dealing with QoS can be found in ISO TR 12178.
+
+## 5.4 QoS in ITU-T Recommendations
+
+This subclause identifies some ITU-T Recommendations that contain definitions of QoS characteristics and/or related information.
+
+### 5.4.1 QoS in G-series Recommendations – Transmission systems and media, digital systems and networks
+
+- ITU-T Recommendation G.826 (1996), *Error performance parameters and objectives for international, constant bit rate digital paths at or above the primary rate.*
+- ITU-T Recommendation G.827 (1996), *Availability parameters and objectives for path elements of international constant bit-rate digital paths at or above the primary rate.*
+
+### 5.4.2 QoS in I-series Recommendations – Integrated Services Digital Networks
+
+- ITU-T Recommendation I.350 (1993), *General aspects of quality of service and network performance in digital networks, including ISDNs.*
+- ITU-T Recommendation I.351 (1997), *Relationships among ISDN performance Recommendations.*
+- ITU-T Recommendation I.352 (1993), *Network performance objectives for connection processing delays in an ISDN.*
+- ITU-T Recommendation I.353 (1996), *Reference events for defining ISDN and B-ISDN performance parameters.*
+- ITU-T Recommendation I.354 (1993), *Network performance objectives for packet-mode communication in an ISDN.*
+- ITU-T Recommendation I.355 (1995), *ISDN 64 kbit/s connection type availability performance.*
+- ITU-T Recommendation I.356 (1996), *B-ISDN ATM layer cell transfer performance.*
+- ITU-T Recommendation I.357 (1996), *B-ISDN semi-permanent connection availability.*
+
+### 5.4.3 QoS in X-series Recommendations – Data networks and open system communication
+
+- CCITT Recommendation X.130 (1988), *Call processing delays in public data networks when providing international synchronous circuit-switched data services.*
+- CCITT Recommendation X.131 (1988), *Call blocking in public data networks when providing international synchronous circuit-switched data services.*
+- ITU-T Recommendation X.134 (1997), *Portion boundaries and packet layer reference events: Basis for defining packet-switched performance parameters.*
+- ITU-T Recommendation X.135 (1997), *Speed of service (delay and throughput) performance values for public data networks when providing international packet-switched services.*
+- ITU-T Recommendation X.136 (1997), *Accuracy and dependability performance values for public data networks when providing international packet-switched services.*
+- ITU-T Recommendation X.137 (1997), *Availability performance values for public data networks when providing international packet-switched services.*
+
+- ITU-T Recommendation X.138 (1997), *Measurement of performance values for public data networks when providing international packet-switched services.*
+- ITU-T Recommendation X.139 (1997), *Echo, drop, generator and test DTEs for measurement of performance values in public data networks when providing international packet-switched services.*
+- CCITT Recommendation X.140 (1992), *General quality of service parameters for communication via public data networks.*
+- CCITT Recommendation X.141 (1988), *General principles for the detection and correction of errors in public data networks.*
+- ITU-T Recommendation X.144 (1995), *User information transfer performance parameters for data networks providing international frame relay PVC service.*
+- ITU-T Recommendation X.145 (1996), *Performance for data networks providing international frame relay SVC service.*
+- ITU-T Recommendation X.146 (1998), *Performance objectives and quality of service classes applicable to frame relax.*
+
+## 5.5 QoS in specifications produced by other organizations
+
+### 5.5.1 Internet Engineering Task Force (IETF)
+
+Considerable interest is now being shown in introducing management of QoS into the Internet. The following Internet Requests for Comment (RFCs) make reference to QoS or are relevant to it:
+
+- RFC 1633 (June 1994), *Integrated Services in the Internet Architecture: An Overview.*
+- RFC 1819 (August 1994), *Internet Stream Protocol Version 2 (ST2) Protocol Specification – Version ST2+.*
+- RFC 1821 (August 1995), *Integration of Real-time Services in an IP-ATM Network Architecture.*
+- RFC 1883 (December 1995), *Internet Protocol, Version 6 (IPv6) Specification.*
+- RFC 1889 (January 1996), *RTP: A Transport Protocol for Real-Time Applications.*
+- RFC 2205 (September 1997), *Resource ReSerVation Protocol (RSVP) – Version 1 Functional Specification.*
+- RFC 2206 (September 1997), *RSVP Management Information Base using SMIPv2.*
+- RFC 2207 (September 1997), *RSVP Extensions for IPSEC Data Flows.*
+- RFC 2208 (September 1997), *Resource ReSerVation Protocol (RSVP) – Version 1 Applicability Statement Some Guidelines on Deployment.*
+- RFC 2209 (September 1997), *Resource ReSerVation Protocol (RSVP) – Version 1 Message Processing Rules.*
+- RFC 2210 (September 1997), *The Use of RSVP with IETF Integrated Services.*
+- RFC 2211 (September 1997), *Specification of the Controlled-Load Network Element Service.*
+- RFC 2212 (September 1997), *Specification of Guaranteed Quality of Service.*
+- RFC 2213 (September 1997), *Integrated Services Management Information Base using SMIPv2.*
+- RFC 2214 (September 1997), *Integrated Services Management Information Base Guaranteed Service Extensions using SMIPv2.*
+- RFC 2215 (September 1997), *General Characterization Parameters for Integrated Service Network Elements.*
+- RFC 2216 (September 1997), *Network Element Service Specification Template.*
+
+These and other RFCs are available from various directories, including the directory . Individual RFCs can be accessed using , where *nnnn* is the RFC number.
+
+Further information, including relevant Internet-Drafts, is available from the IETF Web pages at . More details on the various Internet Working Groups and the documents they have produced can be found at this site. The following Working Groups are of particular relevance to QoS management:
+
+- Benchmarking Methodology, concerned with performance measurement:
+;
+
+- Integrated Services, concerned with the transport of audio, video, real-time and classical data traffic within a single network infrastructure, and defining *best-effort*, *control load* and *guaranteed* services: ;
+- Integrated Services over Specific Link Layers: ;
+- QoS Routing: ;
+- Realtime Traffic Flow Measurement: ;
+- Resource Reservation Setup Protocol (RSVP): .
+
+There is also a Web page for RSVP at .
+
+## 5.6 Research on QoS management
+
+QoS management is now an important research topic for many universities, institutes, consortia and industrial organizations. The number of papers published on the subject is growing each year, to an extent that makes it impracticable for this Recommendation | Technical Report to give individual references. However, the proceedings of the annual *IFIP International Workshop on Quality of Service* (IWQoS) may be a useful starting point for those interested in research in QoS: the fifth IWQoS was held in May 1997. IWQoS has a Web page at .
+
+# 6 Methods and mechanisms for the prediction phase
+
+As defined in the QoS Framework, the QoS prediction phase includes the following activities:
+
+- enquiries of historical information on QoS measures which reflect previous levels of QoS achieved;
+- analysis of historical information on QoS measures which reflect previous levels of QoS achieved;
+- prediction of QoS characteristics in the system (e.g. completion time);
+- calculation of potential perturbation if specific QoS requirements are requested and granted;
+- evaluation of levels of QoS parameters to be requested in the establishment phase;
+- checking that requests will not conflict with admission control policies.
+
+Typically, such mechanisms are implemented by local or proprietary means, and no standards or publicly available specifications have been identified containing relevant specifications. Standard OSI or Internet Management can be used to support communications where needed as part of prediction phase activities.
+
+# 7 Methods and mechanisms for the establishment phase
+
+This clause identifies methods and mechanisms for the QoS establishment phase, as defined in the QoS Framework.
+
+Mechanisms for the establishment phase include:
+
+- methods of reaching QoS agreements, including negotiation mechanisms;
+- resource allocation mechanisms;
+- initialization mechanisms.
+
+## 7.1 Methods of reaching QoS agreements
+
+QoS agreements can be reached by a variety of means, including:
+
+- administration, e.g. as part of a subscription process;
+- imposition by one of the parties to the interaction;
+- negotiation;
+- management or security policy.
+
+The remainder of this subclause discusses QoS negotiation in the context of communications protocols, under the headings:
+
+- negotiating QoS in peer-to-peer communications;
+- negotiating QoS in $1 \times N$ multicast;
+- negotiating QoS in $M \times N$ multicast.
+
+### 7.1.1 Negotiating QoS in peer-to-peer communications
+
+The concepts of negotiation of QoS between two peer entities are discussed in the QoS Framework, ITU-T Rec. X.641 | ISO/IEC 13236, 7.3 and 8.3.2. Such negotiation may involve just the two peer entities alone, or may include the provider of a communications service between them. Many negotiation mechanisms have been developed for the lower layer communications protocols standardized jointly by ITU-T and ISO/IEC.
+
+Generalizing those mechanisms, this clause defines two basic three-party negotiation mechanisms involving two users and a provider that may be used to reach QoS agreements of the types defined in clause 7 of the QoS Framework. The first uses a single parameter, and permits negotiation down from proposed maximum or desirable QoS levels. The second permits the parties to specify ranges in which they are capable of operating, and enables them to agree upon a limit, an operating target or a threshold within those ranges.
+
+Multiple instances of the mechanisms defined in this clause may be operated in order to negotiate combinations of operating target, limits and/or thresholds. Thus, for example, agreements on high and low limits can be reached by operating two single-parameter negotiation mechanisms simultaneously.
+
+NOTE – However, in complex cases it may be better to define new combined mechanisms to achieve the same result more efficiently.
+
+Although each mechanism has a defined order of operation, with an initiating user proposing an initial value or values, which are then modified by the other parties, there is a degree of symmetry in that the outcome of the negotiation should be a value that is acceptable to all. However, there is an asymmetry in that some parties can exercise their choice of value within the acceptable region.
+
+The two mechanisms are defined in 7.1.1.1, and then 7.1.1.2 illustrates their use for reaching agreements of the kinds defined in the QoS Framework. Subclause 7.1.1.3 shows how the use of these mechanisms to negotiate various QoS characteristics has been specified in ITU-T Recommendations | ISO/IEC International Standards.
+
+It should be noted that, in this clause, mechanisms are described which include the negotiation of both upper and lower limits. Although these are included as examples of possible mechanisms, it is recognized that negotiation mechanisms which involve a single limit (either high or low) are likely, in general, to be found in real systems and networks.
+
+#### 7.1.1.1 Basic three-party negotiation mechanisms
+
+In the following, the terms increase, high value, better value and upper bound are all to be understood as in the direction of higher quality, and the terms decrease, low value, worse value and lower bound are to be understood as in the direction of lower quality. High quality values may be either high numerically (as in the case of throughput) or low (as in the case of transit delay).
+
+In the mechanism descriptions which follow, actions undertaken by a provider are described. These commonly involve selection by a provider, during the negotiation phase, of a new value for a QoS parameter and are often described in the following manner: the provider may select a new value $P'$ which is not better than the initiator-proposed value, i.e. such that $P' \leq P$ . These inequalities are chosen so that the negotiation mechanisms converge and terminate and the values $P'$ and $P$ represent the values actually exchanged as part of the negotiation mechanism. This does not preclude a provider from operating internally at a higher quality than $P$ , but this would not be signalled in the negotiation mechanism. It is recognized that many networks, for example, operate on a discrete number of settings for a particular QoS characteristic and that in practice, therefore, a higher quality than that requested for a particular characteristic may well be provided.
+
+The following definitions cover cases of normal operation. Other behaviour may occur in cases of equipment failure or sudden overload conditions.
+
+##### a) Single-parameter negotiation
+
+- 1) The initiating user supplies a proposed value $P$ to the provider.
+- 2) The provider may refuse the request. If the provider does not refuse the request, it may select a new proposed value $P'$ which is not better than the initiator-proposed value, i.e. such that $P' \leq P$ . The provider supplies the (possibly revised) proposed value to the responding user.
+- 3) The responding user may refuse the request. If the responding user does not refuse the request, it may select a new value $V$ which is not better than the provider proposed value, i.e. such that $V \leq P' \leq P$ .
+
+- 4) The provider shall leave the selected value $V$ unchanged.
+- 5) The selected value $V$ is returned to the initiating user. It is the "agreed" value.
+
+##### **b) Bounded negotiation**
+
+- 1) The initiating user specifies a desired operating range by supplying to the provider a lower bound $L$ and an upper bound $U$ , where $L \leq U$ . (Where an LQA limit is being negotiated, $L$ is the proposed LQA value. Where an operating target is being negotiated, $U$ is the proposed target value. Where a CHQ limit is being negotiated, $U$ is the proposed CHQ value.)
+- 2) The provider may refuse the request if it knows it cannot be met, i.e. if it cannot support at least the lower bound value $L$ . If the provider does not refuse the request, but cannot operate over the full range proposed by the initiating user, it may determine a new reduced value $U'$ for the upper bound: this reduced value may not be worse than the lower bound. Thus $L < U' \leq U$ . (It is possible that the provider may choose to operate internally at a higher quality, but it does not signal this fact to the responding user.)
+
+The provider may not alter the lower bound $L$ . The new upper bound $U'$ and the lower bound $L$ are supplied to the responding user.
+
+- 3) The responding user may refuse the request. If it accepts, it may select any value $V$ in the range between the lower and upper bounds supplied. Thus $L \leq V \leq U'$ . The selected value is returned to the provider.
+- 4) The provider shall leave the selected value $V$ unchanged.
+- 5) The selected value $V$ is returned to the initiating user. It is the "agreed" value.
+
+The two mechanisms are illustrated in Figure 7-1.
+
+The mechanisms may also be operated with some restrictions placed on the behaviour of one or more of the parties. For example, bilateral negotiation mechanisms correspond to restricted versions of the above where the provider is not permitted to modify any of the values it receives but must pass them unchanged to the other user. Also, thresholds may often be negotiated simply between one user and the provider, where that user wishes to be informed when QoS reaches a certain level but the provider's capability also has to be taken into account.
+
+
+
+```
+
+sequenceDiagram
+ participant Initiator
+ participant Provider
+ participant Responder
+
+ Initiator->>Provider: P
+ Provider->>Responder: P'
+ Responder->>Provider: V
+ Provider-->>Initiator: V
+ Note over Initiator, Provider: Single-parameter negotiation
+
+ Initiator->>Provider: U
+ Provider->>Responder: U'
+ Responder->>Provider: V
+ Provider-->>Initiator: V
+ Note over Initiator, Provider: Bounded negotiation
+
+```
+
+The diagram shows two negotiation scenarios. In the first, 'Single-parameter negotiation', the Initiator sends a value $P$ to the Provider, who then sends $P'$ to the Responder. The Responder sends a value $V$ back to the Provider, who then returns $V$ to the Initiator. In the second, 'Bounded negotiation', the Initiator sends a range $U$ (upper bound) and $L$ (lower bound) to the Provider. The Provider sends $U'$ (reduced upper bound) to the Responder. The Responder sends a value $V$ back to the Provider, who then returns $V$ to the Initiator.
+
+Sequence diagram illustrating three-party negotiation between an Initiator, Provider, and Responder.
+
+T0730930-98/d01
+
+NOTE – The provider and responding user may refuse to accept the proposed value(s) and thus abort the negotiation.
+
+**Figure 7-1 – Three-party negotiation**
+
+#### 7.1.1.2 Application of the negotiation mechanisms
+
+The mechanisms defined above can be used to negotiate QoS agreements on individual values relating to QoS characteristics. Specifically, such a QoS agreement includes:
+
+- the QoS characteristic to which it relates;
+- where applicable, whether it relates to a given direction of transfer, or to both directions equally;
+- the type of value negotiated, which may be an operating target, a limit or a threshold: these are defined in the QoS Framework (see 7.3.2);
+- the level of agreement: these are defined in the QoS Framework (see 7.3.2.4 in ITU-T Rec. X.641 | ISO/IEC 13236), and may be:
+ - best-efforts, for operating targets or thresholds;
+ - compulsory, for limits only;
+ - guaranteed, for limits only.
+
+In an environment where many different types of QoS agreement may be negotiated, it may be necessary to use several service or protocol QoS parameters to convey the precise intention of a negotiation step.
+
+Single-parameter negotiation is most appropriate to the negotiation of:
+
+- a Highest Quality Attainable (HQA) operating target, where the desire is to operate at the highest level acceptable to all parties, with best-effort semantics;
+- a Controlled Highest Quality (CHQ) limit, where the desire is to establish an upper limit on QoS, and the consequent agreement may have best-effort, compulsory or guaranteed semantics;
+- a high threshold value.
+
+Bounded negotiation is most appropriate to negotiation of:
+
+- a Highest Quality Attainable (HQA) operating target, where the desire is to operate at the highest level acceptable to all parties, with best-effort semantics, but with a lower bound on acceptable QoS;
+- a Controlled Highest Quality (CHQ) limit, where the desire is to establish an upper limit on QoS but with a lower bound on that limit, and the consequent agreement may have best-effort, compulsory or guaranteed semantics;
+- a Lowest Quality Acceptable (LQA) limit, where the desire is to establish a level below which the QoS should not fall, and the consequent agreement may have best-effort, compulsory or guaranteed semantics;
+- a high or low threshold value.
+
+Where bounded negotiation is used, there is the further question of where in the available range the responding user should select the final value [in step 3) of the definition of bounded negotiation in 7.1.1.1]. Typically, high final values would be appropriate when negotiating HQA, CHQ or high threshold values; and low values would be appropriate when negotiating LQA or low threshold values.
+
+#### 7.1.1.3 Usage of mechanisms mapped to lower layer ITU-T Recommendations | ISO/IEC International Standards
+
+Table 7-1 below identifies, for those standards which specify a particular mechanism for use in conjunction with a given QoS characteristic, which of the mechanisms defined in this clause is utilized. It also identifies cases where the standards state that a characteristic is not negotiated. If there is no specific entry in this table for a given standard, then that standard does not specify a particular mechanism, and relies upon a characteristic by characteristic mapping to take place from the upper service or protocol to its lower counterpart.
+
+NOTE 1 – In this *where-used* table, only an abbreviated form of title is given. For the full title, see the lists of Recommendations | International Standards in 5.1.1.
+
+NOTE 2 – Although Table 7-1 includes text extracted from, or a summary of, the Recommendations | International Standards or Recommendations | Technical Reports referenced, in the event of any conflict between the statements in this guide and those in the documents referenced, then the requirements as stated in the documents referenced shall take precedence.
+
+NOTE 3 – Owing to their complexity, the mechanisms developed for the Enhanced Communications Transport Service and Protocol are not included in Table 7-1. A brief discussion and references are given in 7.1.3.
+
+**Table 7-1 – Usage of mechanisms mapped to lower layer ITU-Recommendations |
+ISO/IEC International Standards**
+
+| Recommendation International Standard | Characteristic or parameter | Mechanism used | Notes |
+|----------------------------------------------------------------------------------------------|----------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|
+| ITU-T Rec. X.25 and ISO/IEC 8208 (X.25 Packet Layer Protocol) | throughput class | Single-parameter negotiation of an HQA operating target, with best-efforts semantics. | |
+| | transit delay selection and indication | 1) The initiating user supplies a proposed value. 2) The provider honours the request when it can do so. 3) The responding user and initiating user are informed of the value selected. It may be less than, equal to, or greater than the proposed value. | |
+| | minimum throughput class | 1) The initiating user supplies a proposed value. 2) The provider may refuse the request. If it does not do so it forwards the proposed value to the responding user. 3) The responding may refuse the request, or accept the proposed value. | |
+| | end-to-end transit delay | At the choice of the initiator, either bounded negotiation or single-parameter negotiation of an HQA operating target value, with best efforts semantics. | |
+| | priority | Bounded negotiation of an HQA operating target value, with best-efforts semantics. | |
+| | protection | Bounded negotiation of an HQA operating target value, with best-efforts semantics. | |
+| ITU-T Rec. X.213 ISO/IEC 8348 (Connection-mode network service definition) | throughput | At the choice of the initiator, either bounded negotiation or single-parameter negotiation of an HQA operating target value, with best efforts semantics. | |
+| | transit delay | Bounded negotiation or single-parameter negotiation of an HQA operating target value, with best efforts semantics. | 1 |
+| | priority | At the choice of the initiator, either bounded negotiation or single-parameter negotiation of an HQA operating target value, with best efforts semantics. | |
+| | protection | Not negotiated – A local matter controlled according to the security policy in force. See ITU-T Rec. X.802 ISO/IEC TR 13594 (Information technology – Lower Layers security model). | |
+| | transit delay cost determinants | Not a negotiation mechanism but based on the specific characteristics of the facilities which can be expected to be made available by the provider. | |
+| ITU-T Rec. X.214 ISO/IEC 8072 (Transport service definition) | all QoS parameters except protection | Single-parameter negotiation of an HQA operating target, with best-efforts semantics. | |
+| | protection | Not negotiated – A local matter controlled according to the security policy in force. See ITU-T Rec. X.802 ISO/IEC TR 13594 (Information technology – Lower Layers security model). | |
+| ITU-T Rec. X.223 ISO/IEC 8878 (Use of X.25 to provide the connection-mode network service) | throughput transit delay priority | At the choice of the initiator, either bounded negotiation or single-parameter negotiation of an HQA operating target value, with best efforts semantics. | |
+| ITU-T Rec. X.224 ISO/IEC 8073 (Connection-mode transport protocol) | throughput residual error rate transit delay | Bounded negotiation of an HQA operating target, with best-efforts semantics. | |
+| | priority | Single-parameter negotiation of an HQA operating target, with best-efforts semantics. | |
+
+Table 7-1 (concluded)
+
+| Recommendation International Standard | Characteristic or parameter | Mechanism used | Notes |
+|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|
+| ITU-T Rec. X.233 ISO/IEC 8473-1 (Protocol for providing the connectionless-mode network service) | sequencing vs. transit delay transit delay vs. cost residual error probability vs. transit delay residual error probability vs. cost | No negotiation – Decision taken on each individual data unit. Network entities in intermediate systems may, but are not required to, make use of this information as an aid in selecting a route when more than one route satisfying other routing criteria is available and the available routes are known to differ with respect to QoS. When this information is used, routing decisions should favour the QoS usage indicated by the user. | |
+| ITU-T Rec. X.234 ISO/IEC 8602 (Connectionless-mode transport protocol) | QoS parameter defined by connectionless-mode Transport service | For underlying connectionless-mode network service: QoS parameter derived from the a priori knowledge by the user of the QoS available on the association. For underlying connection-mode network service: QoS parameter derived from knowledge by the user of the QoS available from the network connection. | |
+| CCITT Rec. X.612 ISO/IEC 9574 (Connection-mode network service by packet-mode terminal connected to an ISDN) | throughput transit delay | Based on a priori knowledge – This knowledge may be modified by ITU-T Rec. Q.931 (ISDN user-network interface layer 3 specification for basic call control). | |
+| ITU-T Rec. X.622 ISO/IEC 8473-3 (Connectionless-mode network protocol over X.25) | priority | No negotiation mechanism | |
+| | transit delay and throughput | Uses ITU-T Rec. X.25 and ISO/IEC 8208 protocol negotiation mechanisms. | 2 |
+| NOTE 1 – For the transit delay case, a restricted form of the bounded negotiation mechanism is employed. In step 3), if the responding user accepts the request, then the supplied upper value (which corresponds to low transit delay) is to be used. It is not even conveyed in step 4), since the provider already knows the value that is to be used if the network-connection is set up. | | | |
+| NOTE 2 – See the entry for ITU-T Rec. X.25 and ISO/IEC 8208. | | | |
+
+### 7.1.2 Negotiating QoS in $1 \times N$ multicast
+
+A $1 \times N$ multicast connection is a special case of multipeer communications, namely a connection with one sender and $N$ receivers. In establishing a $1 \times N$ connection, there is in general an interaction between the negotiation of QoS and the selection of the participants in the connection. For example, a QoS requirement imposed by the sender may be beyond the capacity of the provider in some region, and hence some receivers may be excluded from participation in the connection. Receivers may also choose not to participate for reasons unrelated to QoS. The general treatment of $1 \times N$ connection establishment is outside the scope of this Recommendation | Technical Report; this subclause covers only the negotiation of QoS.
+
+NOTE 1 – Mechanisms for group selection for Enhanced Communications Transport Service (ECTS) are defined in ITU-T Rec. X.605 | ISO/IEC 13252.
+
+NOTE 2 – The terminology of "sender" and "receiver" in $1 \times N$ multicast is common, and is based on a typical application, namely broadcast transmission. However, this should not be taken to imply that the receivers cannot send data to the sender. In general, the possible transmission modes in $1 \times N$ multicast are: sender to receivers multicast, sender to a single receiver unicast, and receiver to sender unicast. The term "full duplex $1 \times N$ multicast" is used in cases where all these possibilities are exploited.
+
+When negotiating QoS for $1 \times N$ multicast connections, it is necessary to choose between two types of QoS negotiation mechanisms:
+
+- "connection-wide" QoS negotiation mechanisms, which negotiate the same value of a QoS characteristic for the sender, the service provider and all receivers; and
+- "receiver-selected" QoS negotiation mechanisms, which negotiate separate values of a QoS characteristic for each receiver, representing an agreement between the sender, the service provider and that particular receiver.
+
+Different types of negotiation mechanism can be chosen for different characteristics in the establishment of a single $1 \times N$ multicast connection. The choice for any particular characteristic may depend on the application: it is not necessarily an inherent property of the characteristic itself.
+
+Connection-wide negotiation mechanisms may be applied to QoS characteristics:
+
+- which by their very definition apply to the $1 \times N$ multicast connection as a whole, such as protection (for confidentiality); or
+- for which the value perceived by the receiver is dependent upon the behaviour of the sender or of the service provider as a whole, or for application reasons must be the same for all receivers. Examples could be throughput, in cases where data may not be lost; or transit delay, in cases where it is required to ensure synchronization across multiple receivers.
+
+Receiver-selected negotiation mechanisms may be applied to those QoS characteristics for which there exists no application requirement to agree on a connection-wide value. Examples could be transit delay; or throughput, if loss of data can be tolerated.
+
+Receiver-selected negotiation for a $1 \times N$ multicast connection is performed for each of the $N$ receivers independently. Hence the mechanisms defined in 7.1.1.1 for basic three-party QoS negotiation can be used for each such negotiation without change.
+
+For connection-wide negotiation mechanisms, however, it is necessary to extend the mechanisms defined in 7.1.1.1 to ensure that a single QoS agreement is negotiated that is common to all receivers, and that the negotiated value is consistent with any constraints identified during the negotiation process, such as a limit on provider capacity local to one of the receivers. The necessary extensions are defined in 7.1.2.1 below, which also identifies how they may be applied to reaching agreements of the kinds defined in the QoS Framework.
+
+Finally, 7.1.2.2 discusses the use of filters in $1 \times N$ multicast.
+
+#### **7.1.2.1 Mechanisms for connection-wide QoS negotiation in $1 \times N$ connections**
+
+When a QoS characteristic is to be negotiated connection-wide, it is necessary to inform all the participants of the result of the negotiation in a "three-way handshake". This adds a further step to the mechanisms of 7.1.1.1.
+
+Other modifications to the mechanisms are required in order to determine an agreed QoS value that is consistent with all the requirements and constraints expressed by the sender, provider and the $N$ receivers. In some cases, it will be possible to achieve a consistent value only by the exclusion of some receivers; when that happens, it may also be possible to achieve consistent values in different ways, with the exclusion of different sets of receivers. The choice of which receivers to exclude in such cases is outside the scope of this Recommendation | Technical Report.
+
+NOTE 1 – Where it is necessary to negotiate multiple limits, or an operating target together with one or more limits, it is possible to operate multiple instances of the mechanisms defined in this subclause. However, it may be better to define other mechanisms to deal with these cases more efficiently.
+
+As in 7.1.1.1, the terms increase and decrease are to be understood as meaning changes in the direction of improved or degraded quality respectively. In $1 \times N$ multicast, it is the multicast sender that is the initiating user, and the receivers are the responding users.
+
+The procedures defined below are those for normal operation. Other behaviour may occur in cases of equipment failure or sudden overload conditions.
+
+NOTE 2 –The definitions of the negotiation mechanisms that follow treat the "service-provider" as a single participant, even though in practice it may be composed of a number of communications providers.
+
+Five mechanisms are defined, as follows:
+
+- "single-parameter" negotiation, which is negotiation down from upper bounds provided by the parties in succession, with no lower bounds imposed;
+- bounded negotiation of a low limit or a low threshold;
+- bounded negotiation of a high limit or a high threshold;
+- bounded negotiation of an operating target;
+- combined negotiation of upper and lower limits.
+
+The term "bounded" is used to characterize negotiation mechanisms in which bounds are placed on how far values may be changed from those proposed. In some cases, the operation of the mechanism depends on the level of agreement desired.
+
+Thresholds may often be negotiated simply between one user and the provider, where that user wishes to be informed when QoS reaches a certain level but the provider's capability also has to be taken into account.
+
+##### **a) Single-parameter negotiation – Connection-wide**
+
+- 1) The initiating user supplies a proposed value $P$ .
+- 2) The provider may refuse the request. If the provider does not refuse the request, for each responding user it may select a new proposed value $P'_i$ which is not better than the initiator-proposed value. (These new values may differ between responding users, since the capacity of the provider may vary from responding user to responding user.) Thus, for all responding users $R_i$ , $P'_i \leq P$ . The provider supplies the proposed values to the responding users.
+- 3) Each responding user may refuse the request, in which case it takes no further part in the negotiation. If a responding user does not refuse the request, it may select a new proposed value $V_i$ which is not better than the value proposed by the provider. Thus for all responding users $R_i$ , $V_i \leq P'_i \leq P$ .
+- 4) The provider shall select the lowest of the values returned by the responding users, $V = \min V_i$ .
+- 5) The selected value $V$ is returned to the initiating user and to all the responding users. It becomes the "agreed" value, and is such that $V = \min V_i \leq V_i \leq P'_i \leq P$ .
+
+The mechanism is illustrated in Figure 7-2.
+
+
+
+Figure 7-2: Single-parameter negotiation (connection-wide). The diagram shows a sequence of events across five vertical lanes: Initiator, Provider, Responders, Provider, and All Parties. In the Initiator lane, a horizontal line labeled 'P' represents the initial proposal. An arrow points from 'P' to the Provider lane. In the Provider lane, two arrows branch out, labeled 'P'\_1' and 'P'\_2', pointing to two separate boxes in the Responders lane. From each of these boxes, an arrow points to the Provider lane, labeled 'V\_1' and 'V\_2' respectively. These two arrows enter a circle labeled 'min'. An arrow exits the 'min' circle and points to the All Parties lane, labeled 'V = min V\_i'.
+
+T0730940-98/d02
+
+**Figure 7-2 – Single-parameter negotiation (connection-wide)**
+
+##### **b) Bounded negotiation of a low limit or low threshold – Connection-wide**
+
+- 1) The initiating user specifies a desired operating range by supplying a lower bound $L$ and an upper bound $U$ , where $L \leq U$ . $L$ is its proposed low limit or low threshold value.
+- 2) The provider may refuse the request if it knows it cannot be met, i.e. if it cannot support at least the lower bound value $L$ . If the provider does not refuse the request, but cannot operate over the full range proposed by the initiating user, it may determine a new reduced value $U'_i$ for the upper bound for each responding user $R_i$ individually: this reduced value may not be worse than the lower bound. Thus $L \leq U'_i \leq U$ for all $i$ . (It is also possible that the provider may choose to operate internally at a higher quality, but it does not signal this fact to the responding user.)
+
+NOTE 3 – It may be appropriate for the provider to propose different upper bounds to different responding users because of different provider capabilities in different regions. The provider is not required to perform an initial arbitration to determine one upper bound common to all responding users, because at this stage it is not known which responding users will wish to participate in the connection, nor the values they would wish to propose in response.
+
+The provider may not alter the lower bound $L$ . The new upper bound $U'_i$ and the lower bound $L$ are supplied to each responding user $R_i$ .
+
+- 3) Each responding user may refuse the request, in which case it takes no further part in the negotiation. If it accepts, it may increase the lower bound to a new value $L'_i$ within the range up to the upper bound $U'_i$ supplied by the provider.
+
+Thus for each responding user $R_i$ , $L \leq L'_i \leq U'_i \leq U$ .
+
+The new lower and upper bound values $L'_i$ and $U'_i$ are returned to the provider.
+
+- 4) The provider examines the values returned from each responding user. Its behaviour will depend upon the level of agreement that is being negotiated.
+
+###### Compulsory or guaranteed level of agreement
+
+The provider must select a final connection-wide QoS value not worse than the highest lower bound of the responding users ( $L'_{\max} = \max L'_i$ ), yet it must be capable of operating at that value to all responding users. The possibility exists that that highest lower bound $L'_{\max}$ will be greater than its operating capability, as expressed by the upper bound $U'_i$ , to one or more responding users; in such a case, some responding users must be excluded so as to leave a feasible operating region between the highest lower bound of the remaining responding users and the lowest of its remaining upper bounds.
+
+Thus, it is a requirement for a feasible region that $L'_{\max} \leq U'_{\min}$ and responding users may need to be removed from the connection until this constraint is satisfied.
+
+Then the provider selects the connection-wide value $V$ within the range, i.e. such that $L'_{\max} \leq V \leq U'_{\min}$ . Typically $V$ will be close to $L'_{\max}$ .
+
+###### Best-efforts level of agreement
+
+The provider attempts to satisfy the same constraints as in the cases of compulsory or guaranteed levels of agreement, but does not exclude responding users if the constraints cannot all be satisfied. If there is a feasible region, i.e. $L'_{\max} \leq U'_{\min}$ , the connection-wide value $V$ selected by the provider will satisfy $L'_{\max} \leq V \leq U'_{\min}$ and typically be close to $L'_{\max}$ .
+
+- 5) The selected value $V$ is returned to the initiating user and to all (remaining) responding users. It becomes the "agreed" value. Except in the case of best-efforts level of agreement, this meets the requirements of all (remaining) parties since for all remaining responding users $R_i$ :
+
+$$L \leq L'_i \leq L'_{\max} \leq V \leq U'_{\min} \leq U'_i \leq U$$
+
+The mechanism is illustrated in Figure 7-3.
+
+![Figure 7-3: Bounded negotiation of a low value (connection-wide). The diagram shows a sequence of entities: Initiator, Provider, Responders, Provider, and All Parties. The Initiator sends a range [L, U] to the first Provider. The Provider then sends individual upper bounds U'_1, U'_2 to Responders. Responders send back their lower bounds L'_1, L'_2. The second Provider performs arbitration (arb) and selects a value V. This value V is then sent to All Parties. Vertical dashed lines separate the entities. A legend at the bottom left indicates 'arb Arbitration'. A reference code 'T0730950-98/d03' is at the bottom right.](a3953dce8dbd7ef15d61a314dbef2cf9_img.jpg)
+
+Figure 7-3: Bounded negotiation of a low value (connection-wide). The diagram shows a sequence of entities: Initiator, Provider, Responders, Provider, and All Parties. The Initiator sends a range [L, U] to the first Provider. The Provider then sends individual upper bounds U'\_1, U'\_2 to Responders. Responders send back their lower bounds L'\_1, L'\_2. The second Provider performs arbitration (arb) and selects a value V. This value V is then sent to All Parties. Vertical dashed lines separate the entities. A legend at the bottom left indicates 'arb Arbitration'. A reference code 'T0730950-98/d03' is at the bottom right.
+
+Figure 7-3 – Bounded negotiation of a low value (connection-wide)
+
+##### c) Bounded negotiation of a high limit or high threshold – Connection-wide
+
+- 1) The initiating user specifies a desired operating range by supplying a lower bound $L$ and an upper bound $U$ , where $L \leq U$ . $U$ is its proposed high limit or high threshold value.
+- 2) The provider may refuse the request if it knows it cannot be met, i.e. if it cannot support at least the lower bound value $L$ . If the provider does not refuse the request, but cannot operate over the full range proposed by the initiating user, it may determine a new reduced value $U'_i$ for the upper bound for each responding user $R_i$ individually: this reduced value may not be worse than the lower bound. Thus $L \leq U'_i \leq U$ for all $i$ . (It is also possible that the provider may choose to operate internally at a higher quality, but it does not signal this fact to the responding user.)
+
+NOTE 4 – It may be appropriate for the provider to propose different upper bounds to different responding users because of different provider capabilities in different regions. The provider is not required to perform an initial arbitration to determine one upper bound common to all responding users, because at this stage it is not known which responding users will wish to participate in the connection, nor the values they would wish to propose in response.
+
+The provider may not alter the lower bound $L$ . The new upper bound $U_i'$ and the lower bound $L$ are supplied to each responding user $R_i$ .
+
+- 3) Each responding user may refuse the request, in which case it takes no further part in the negotiation. If it accepts, it may decrease the upper bound to a new value $U_i''$ , within the bounds $L$ and $U_i'$ supplied by the provider.
+
+Thus for each responding user $R_i$ , $L \leq U_i'' \leq U_i' \leq U$ .
+
+The lower and new upper bound values $L$ and $U_i''$ are returned to the provider.
+
+- 4) The provider selects the final connection-wide QoS value $V = \min U_i''$ .
+- 5) The selected value $V$ is returned to the initiating user and to all responding users. It becomes the "agreed" value. This meets the requirements of all parties since for all responding users $R_i$ :
+
+$$L \leq V = U''_{\min} \leq U_i'' \leq U_i' \leq U$$
+
+The mechanism is illustrated in Figure 7-4.
+
+![Figure 7-4: Bounded negotiation of a high value (connection-wide). The diagram shows a sequence of five stages: Initiator, Provider, Responders, Provider, and All Parties. In the Initiator stage, a horizontal bar represents the range [L, U]. In the first Provider stage, two arrows originate from U: one goes to U1' and the other to U2'. Both arrows enter the Responders stage, which contains two overlapping rectangles representing different user groups. From these rectangles, two arrows exit: one labeled U1'' and the other U2''. These arrows enter the second Provider stage, where they meet at a circle labeled 'min'. An arrow from this circle points to the 'All Parties' stage, labeled 'V = min Ui'''. Vertical dotted lines separate the stages. A reference code 'T0730960-98/d04' is in the bottom right.](e7c6a6e4c3047dac05a3b92e396e9794_img.jpg)
+
+Figure 7-4: Bounded negotiation of a high value (connection-wide). The diagram shows a sequence of five stages: Initiator, Provider, Responders, Provider, and All Parties. In the Initiator stage, a horizontal bar represents the range [L, U]. In the first Provider stage, two arrows originate from U: one goes to U1' and the other to U2'. Both arrows enter the Responders stage, which contains two overlapping rectangles representing different user groups. From these rectangles, two arrows exit: one labeled U1'' and the other U2''. These arrows enter the second Provider stage, where they meet at a circle labeled 'min'. An arrow from this circle points to the 'All Parties' stage, labeled 'V = min Ui'''. Vertical dotted lines separate the stages. A reference code 'T0730960-98/d04' is in the bottom right.
+
+**Figure 7-4 – Bounded negotiation of a high value (connection-wide)**
+
+##### **d) Bounded negotiation of an operating target – Connection-wide**
+
+- 1) The initiating user specifies a desired operating range by supplying a lower bound $L$ and an upper bound $U$ , where $L \leq U$ .
+- 2) The provider may refuse the request if it knows it cannot be met, i.e. if it cannot support at least the lower bound value $L$ . If the provider does not refuse the request, but cannot operate over the full range proposed by the initiating user, it may determine a new reduced value $U_i'$ for the upper bound for each responding user $R_i$ individually: this reduced value may not be worse than the lower bound. Thus $L \leq U_i' \leq U$ for all $i$ . (It is also possible that the provider may choose to operate internally at a higher quality, but it does not signal this fact to the responding user.)
+
+NOTE 5 – It may be appropriate for the provider to propose different upper bounds to different responding users because of different provider capabilities in different regions. The provider is not required to perform an initial arbitration to determine one upper bound common to all responding users, because at this stage it is not known which responding users will wish to participate in the connection, nor the values they would wish to propose in response.
+
+The provider may not alter the lower bound $L$ . The new upper bound $U_i'$ and the lower bound $L$ are supplied to each responding user $R_i$ .
+
+- 3) Each responding user may refuse the request, in which case it takes no further part in the negotiation. If it accepts, it may increase the lower bound to a new value $L_i'$ and it may decrease the upper bound to a new value $U_i''$ , within the bounds $L$ and $U_i'$ supplied by the provider.
+
+Thus, for each responding user $R_i$ , $L \leq L_i' \leq U_i'' \leq U_i' \leq U$ .
+
+The new lower and new upper bound values $L_i'$ and $U_i''$ are returned to the provider.
+
+- 4) The provider examines the values returned from each responding user. The level of agreement that is being negotiated is best-efforts (since the others do not apply to operating targets).
+
+The provider selects a final connection-wide QoS value $V$ . If there is a feasible operating region within the ranges returned by all responding users, i.e. if the highest lower bound $L'_{\max}$ is less than or equal to the lowest upper bound $U''_{\min} = \min U_i''$ , then $V$ is selected in the feasible region, so that $L'_{\max} \leq V \leq U''_{\min}$ . However, this may not be possible.
+
+- 5) The selected value $V$ is returned to the initiating user and to all responding users. It becomes the "agreed" value.
+
+The mechanism is illustrated in Figure 7-5.
+
+![Figure 7-5: Bounded negotiation of an operating target (connection-wide). The diagram shows a sequence of entities: Initiator, Provider, Responders, Provider, and All Parties. The Initiator sends a range [U, L] to the first Provider. The Provider sends individual upper bounds U'_1 and U'_2 to Responders. Responders return individual lower bounds L'_1 and L'_2 and upper bounds U''_1 and U''_2. An arbitration (arb) circle receives these and outputs a final value V to All Parties.](e821c3d8a87ee2a9ff6b8644ffe6bdae_img.jpg)
+
+The diagram illustrates the bounded negotiation process across five stages: Initiator, Provider, Responders, Provider, and All Parties. In the first stage, the Initiator proposes a range with upper limit $U$ and lower limit $L$ . The first Provider stage shows the provider sending individual upper bounds $U'_1$ and $U'_2$ to the Responders. The Responders stage shows each responder returning their own lower bound ( $L'_1, L'_2$ ) and upper bound ( $U''_1, U''_2$ ). The second Provider stage shows an arbitration circle (arb) receiving all these values. Finally, in the All Parties stage, the agreed value $V$ is returned to everyone.
+
+Figure 7-5: Bounded negotiation of an operating target (connection-wide). The diagram shows a sequence of entities: Initiator, Provider, Responders, Provider, and All Parties. The Initiator sends a range [U, L] to the first Provider. The Provider sends individual upper bounds U'\_1 and U'\_2 to Responders. Responders return individual lower bounds L'\_1 and L'\_2 and upper bounds U''\_1 and U''\_2. An arbitration (arb) circle receives these and outputs a final value V to All Parties.
+
+**Figure 7-5 – Bounded negotiation of an operating target (connection-wide)**
+
+##### e) Combined negotiation of lower and upper limits – Connection-wide
+
+This mechanism differs from the preceding ones in that it is used to negotiate two values – a lower limit and an upper limit – whereas the others are used to negotiate single values.
+
+- 1) The initiating user proposes a lower limit $L$ and an upper limit $U$ , where $L \leq U$ .
+- 2) The provider may refuse the request if it knows it cannot be met, i.e. if it cannot support at least the lower bound value $L$ . If the provider does not refuse the request, but cannot operate over the full range proposed by the initiating user, it may determine a new reduced value $U'_i$ for the upper bound for each responding user $R_i$ individually: this reduced value may not be worse than the lower bound. Thus $L \leq U'_i \leq U$ for all $i$ . (It is also possible that the provider may choose to operate internally at a higher quality, but it does not signal this fact to the responding user.)
+
+NOTE 6 – It may be appropriate for the provider to propose different upper bounds to different responding users because of different provider capabilities in different regions. The provider is not required to perform an initial arbitration to determine one upper bound common to all responding users, because at this stage it is not known which responding users will wish to participate in the connection, nor the values they would wish to propose in response.
+
+The provider may not alter the lower bound $L$ . The new upper bound $U'_i$ and the lower bound $L$ are supplied to each responding user $R_i$ .
+
+- 3) Each responding user may refuse the request, in which case it takes no further part in the negotiation. If it accepts, it may increase the lower bound to a new value $L'_i$ and it may decrease the upper bound to a new value $U''_i$ , within the bounds $L$ and $U'_i$ supplied by the provider.
+
+Thus for each responding user $R_i$ , $L \leq L'_i \leq U''_i \leq U'_i \leq U$ .
+
+The new lower and new upper bound values $L'_i$ and $U''_i$ are returned to the provider.
+
+- 4) The provider examines the values returned from each responding user. Its behaviour will depend upon the level of agreement that is being negotiated.
+
+###### Compulsory or guaranteed level of agreement
+
+The provider must select a final connection-wide QoS lower limit $L_F$ and a final connection-wide QoS upper limit $U_F$ such that $L_F$ is not worse than the highest lower bound $L'_{\max} = \max L'_i$ and $U_F$ is not better than the lowest upper bound $U''_{\min} = \min U''_i$ .
+
+Thus, it is a requirement for a feasible region that $L'_{\max} \leq U''_{\min}$ , and responding users may need to be removed from the connection until this constraint is satisfied.
+
+Then the provider selects the connection-wide values $L_F$ and $U_F$ such that $L'_{\max} \leq L_F \leq U_F \leq U''_{\min}$ . Typically $L_F$ will be close to $L'_{\max}$ and $U_F$ will be close to $U''_{\min}$ .
+
+###### Best-efforts level of agreement
+
+The provider attempts to satisfy the same constraints as in the cases of compulsory or guaranteed levels of agreement, but does not exclude responding users if the constraints cannot all be satisfied. If there is a feasible region, i.e. if $L'_{\max} \leq U''_{\min}$ , the connection-wide values $L_F$ and $U_F$ selected by the provider will satisfy $L'_{\max} \leq L_F \leq U_F \leq U''_{\min}$ and typically $L_F$ will be close to $L'_{\max}$ and $U_F$ will be close to $U''_{\min}$ .
+
+- 5) The selected values $L_F$ and $U_F$ are returned to the initiating user and to all (remaining) responding users. They are the "agreed" values. Except in the case of best-efforts level of agreement, this meets the requirements of all (remaining) parties since for all remaining responding users $R_i$ :
+
+$$L \leq L'_i \leq L'_{\max} \leq L_F \leq U_F \leq U''_{\min} \leq U''_i \leq U'_i \leq U$$
+
+The mechanism is illustrated in Figure 7-6.
+
+
+
+Figure 7-6: Combined negotiation of lower and upper limits (connection-wide). The diagram shows a sequence of entities: Initiator, Provider, Responders, Provider, and All Parties. The Initiator sends an upper limit U and a lower limit L to the first Provider. The first Provider sends U'\_1 and U'\_2 to two Responders. The Responders send U''\_1 and U''\_2 back to the first Provider, and L'\_1 and L'\_2 to an arbitration (arb) circle. The arb circle sends the final upper limit U\_F and lower limit L\_F to the second Provider, which then sends them to All Parties. A legend at the bottom left shows 'arb' for Arbitration. A reference code 'T0730980-98/d06' is at the bottom right.
+
+Figure 7-6 – Combined negotiation of lower and upper limits (connection-wide)
+
+#### 7.1.2.2 Use of QoS filters in 1 × N multicast
+
+A complementary approach to the problem of dealing with receivers with different properties, in different environments, is to use QoS filters. A QoS filter can support different levels of QoS for different receivers in the same multipoint group. Filters are particularly valuable in dealing with continuous media information. The differences between receivers may relate to the end systems (compression boards, processing power, display devices, etc.), networks (throughput, delay, error rates, etc.) or to the user applications (quality required, frame rates, etc.).
+
+The QoS negotiation mechanisms described in 7.1.1.1 and 7.1.2.1 can be operated in configurations where filters are also present. It is possible for a filter mechanism to act as a proxy participant in connection-wide negotiations in order to allow a receiver to join a multicast connection it would not otherwise be able to.
+
+Subclause 8.3 discusses specific types of QoS filters that can support different values of QoS characteristics for different receivers in a multipoint group. QoS filters can be applied where different receiver-selected characteristics have been negotiated by receivers in the same 1 × N multicast connection. QoS filters enable a high level of QoS to be delivered to certain receivers, while supplying filtered information to other receivers with lower QoS requirements in the same 1 × N multicast connection. In such cases, knowledge of the properties of available filters needs to be taken into account during QoS negotiation.
+
+The source participant may not be aware that QoS filters are being used. The source would supply a data flow at a single QoS level, while the N receivers receive either the unfiltered flow or filtered flows at different QoS levels.
+
+### 7.1.3 Negotiating QoS in $M \times N$ multicast
+
+The term $M \times N$ multicast is used to denote a multicast communication between N stations, in which $M (\leq N)$ are intending to transmit multicast to the N. These M stations are termed "focal stations". Depending on the particular case, the N stations may be able to transmit in unicast mode to other stations. The QoS negotiated is that relating to the M multicasts.
+
+One of the focal stations is designated the "owner" of the multicast. Typically, the owner station has a special role in initiating and terminating multicast establishment procedures, in order to ensure that the group membership rules are correctly applied and that the procedures terminate correctly. Ownership is thus a management concept.
+
+The division between owner and non-owner stations, which concerns management roles, cuts across the division between users and provider, which reflects use and provision of communications services. In particular, an owner station will in general perform both user-level and provider-level functions, and distinctions between owner and non-owners may appear in both user-level and provider-level protocols.
+
+NOTE – Mechanisms for changing owners are beyond the scope of this Recommendation | Technical Report.
+
+Two kinds of procedure can be used to negotiate QoS characteristics in $M \times N$ multicast:
+
+- one composed of superimposed $1 \times N$ negotiations;
+- a single, simultaneous $M \times N$ negotiation.
+
+Mechanisms of these two kinds are defined in the Enhanced Communications Transport Service and Protocol, ECTS (ITU-T Rec. X.605 | ISO/IEC 13252) and ECTP (under development). ECTS and ECTP define:
+
+- a "Step-Wise Arbitration" procedure, which is composed of superimposed $1 \times N$ negotiations, and can make use of the mechanisms defined in 7.1.2;
+- an "Owner Arbitration" procedure, in which the owner station controls a single, simultaneous $M \times N$ negotiation.
+
+## 7.2 Resource allocation mechanisms
+
+As defined in the QoS Framework, the QoS establishment phase includes mechanisms for resource allocation. One such mechanism is Resource Reservation Protocol (RSVP). A reference is given in 5.5.1.
+
+## 7.3 Initialization mechanisms
+
+As defined in the QoS Framework, the QoS establishment phase includes the initialization of operational phase mechanisms. Typically this is achieved by local means that are not subject to standardization.
+
+# 8 Methods and mechanisms for the operational phase
+
+This clause identifies sources of methods and mechanisms for the QoS operational phase, as defined in the QoS Framework.
+
+Mechanisms for the operational phase include:
+
+- monitoring mechanisms;
+- maintenance mechanisms;
+- filters;
+- enquiry mechanisms;
+- alert mechanisms.
+
+## 8.1 Monitoring mechanisms
+
+As noted in the QoS Framework, monitoring mechanisms can be provided by general-purpose management techniques, such as those standardized in OSI management. References are given in 5.1.2.
+
+## 8.2 Maintenance mechanisms
+
+The purpose of maintenance mechanisms is to endeavour to meet desired or agreed levels of QoS. This may be achieved by a variety of means, used singly or in combination. Some categories of maintenance mechanisms are discussed in the QoS Framework, namely:
+
+- resource allocation;
+- admission control;
+- tuning.
+
+Subclause 8.2.1 defines particular maintenance mechanisms developed to meet QoS requirements on time windows.
+
+### 8.2.1 QoS management mechanisms for time-critical communications
+
+#### 8.2.1.1 Introduction
+
+This subclause presents definitions of QoS management mechanisms to support requirements for complete delivery of PDUs to their destinations within time constraints. These mechanisms are used in Network Management for Time Critical Communications Systems (TCNM).
+
+The management mechanisms use:
+
+- an identification function, which identifies an incoming PDU as a time-critical one and extracts from the PDU the required "completion time" ( $T_c$ ) before which the PDU must be delivered to its destination;
+- an information base, which contains expected transfer-times for forwarding PDUs via specified routes to their destinations;
+- an evaluation and processing function that can calculate an expected completion time, compare this calculated expected completion time with the required completion time attached to the PDU, determine whether the PDU can be delivered within the required completion time and, on that basis, decide whether to transfer the PDU or to abort the PDU transfer by discarding the PDU.
+
+These mechanisms can be applied at all relevant service boundaries in a time-critical communications network system in order to satisfy time window requirements, and to provide the appropriate degree of load-shedding.
+
+#### 8.2.1.2 Management mechanisms
+
+Three independent mechanisms are defined in this subclause. Various combinations of these three mechanisms may be used in practice, but such combined types are not defined here. The mechanisms are closely related to the Data Time Validity QoS characteristic. Specifically, in Time Critical Communications Systems, any data that could not be delivered within the specified time window is considered to be no longer of value to applications processes, and should be discarded in order to increase the efficient use of communications facilities.
+
+##### M.1 PDU discard and notification mechanism
+
+- 1) When the identification function receives a PDU, it examines part of the content of the PDU in order to determine whether the PDU is a time-critical one. If the PDU is a time-critical PDU, the identification function extracts the required time for completion of delivery to its destination ( $T_c$ ) and the specified transfer route contained within the PDU.
+- 2) The evaluation and processing function obtains from the information base the expected transfer-time necessary to forward a PDU via the specified route to its destination. The function then calculates the expected completion time over the specified route by adding the expected transfer-time to the current time, and compares the value obtained with the required completion time $T_c$ . If delivery cannot be guaranteed, then the PDU is discarded.
+- 3) If it decides to discard the PDU, the function generates a notification PDU reporting the discard condition and sends it to the initiator or original sender of the discarded PDU.
+
+##### M.2 PDU discard and notification mechanism with dynamic priority change
+
+This mechanism differs from the M.1 PDU discard and notification mechanism defined above in that it allows a dynamic change in the priority level attached to a time-critical PDU.
+
+- 1) When the identification function receives a PDU, it examines part of the content of the PDU in order to determine whether the PDU is a time-critical one. If the PDU is a time-critical PDU, the identification function extracts the required time for completion of delivery to its destination ( $T_c$ ), the specified transfer route contained within the PDU and the priority level of protocol processing associated with the content of this PDU.
+
+- 2) The evaluation and processing function obtains from the information base the expected transfer-time necessary to forward a PDU via appropriate route(s) to its destination. (The route to be taken may be indicated in the PDU, or alternatively the choice may be left open.) The function then calculates the expected completion time(s) over the appropriate route(s) by adding expected transfer-time(s) to current time, and compares the value(s) with the required completion time $T_c$ . If delivery cannot be guaranteed with the given priority level, then the evaluation and processing function determines whether delivery within the required time can be achieved by increasing the priority level to faster protocol processing. If it can, the priority level is increased as necessary. If delivery cannot be guaranteed, then the PDU is discarded.
+- 3) If it decides to discard the PDU, the function generates a notification PDU reporting the discard condition and sends it to the initiator or original sender of the discarded PDU.
+
+##### M.3 PDU discard and notification mechanism with dynamic route change
+
+This mechanism differs from M.1 PDU discard and notification and M.2 PDU discard and notification with dynamic priority change in that it allows dynamic change in transfer route for a time-critical PDU.
+
+- 1) When the identification function receives a PDU, it examines part of the content of the PDU in order to determine whether the PDU is a time-critical one. If the PDU is a time-critical PDU, the identification function extracts the required time for completion of delivery to its destination ( $T_c$ ) and the specified transfer route contained within the PDU.
+- 2) The evaluation and processing function obtains from the information base the expected transfer-time necessary to forward a PDU via appropriate route(s) to its destination. (The route to be taken may be indicated in the PDU, or alternatively the choice may be left open.) The function then calculates the expected completion time(s) over the appropriate route(s) by adding expected transfer-time(s) to current time, and compares the value(s) with the required completion time $T_c$ . If delivery cannot be guaranteed with the given route, then the evaluation and processing function determines whether delivery within the required time can be achieved by choosing a faster route. If it can, the route is changed. If delivery cannot be guaranteed, then the PDU is discarded.
+- 3) If it decides to discard the PDU, the function generates a notification PDU reporting the discard condition and sends it to the initiator or original sender of the discarded PDU.
+
+## 8.3 Filters
+
+A QoS filter is defined as a mechanism that transforms data in order to alter some properties related to QoS, for example the QoS needed to transfer the data or the value of one or more QoS characteristics of the service provider.
+
+QoS filters can be used in peer-to-peer communications and multipeer communications. QoS filters are suited to data containing information that can be discarded, is resilient to loss or is such that a number of levels of QoS can be made available from the same original data.
+
+This clause primarily describes the use and effects of filters during the transmission of media; negotiation of these mechanisms is discussed in 7.1.2.2.
+
+### 8.3.1 Generic filter types
+
+QoS filters are grouped into three types, as follows.
+
+#### 8.3.1.1 Intelligent media-discarding filter
+
+Intelligent media-discarding is a means of altering the QoS properties of a data flow by dynamically removing data from the ongoing flow. The data must be discarded intelligently to ensure the resultant data is not corrupted. Examples include a filter which removes colour information from a video flow leaving just grey-scale video.
+
+#### 8.3.1.2 Translation filter
+
+Translation filtering is a means of altering the QoS properties of a data flow by converting the data in the ongoing flow in some way. For example, data may be compressed or decompressed by such a filter.
+
+#### 8.3.1.3 Implicit filter
+
+Implicit filtering is a means whereby separate components of a data stream are transmitted in data flows on separate connections. The QoS properties of the overall data stream can be altered by establishing and breaking the various connections that comprise the whole data stream. An example is the use of the scaleable syntax.
+
+### 8.3.2 Objectives of filtering
+
+QoS filters are used to alter one or more QoS characteristics of a data flow. A filter may be used to make required changes to the following QoS characteristics.
+
+#### 8.3.2.1 Throughput
+
+A QoS filter can have significant effects on data throughput. By discarding PDUs destined for certain participants, it may be possible to satisfy throughput constraints imposed by some participants or by the provider of the communications service in certain regions. Media-discarding filters and filters performing compression are primarily intended to reduce the throughput requirements that particular participants may have for particular data flows.
+
+#### 8.3.2.2 Loss sensitivity
+
+A QoS filter can be used to translate data with high loss sensitivity to a form with improved error resilience (low loss sensitivity). This may be performed by implementing error detection and recovery schemes.
+
+#### 8.3.2.3 Delay
+
+The end-to-end delay may be decreased by reducing data throughput requirements and releasing network resources, as a result of a reduction of incurred queuing in the network fabric.
+
+#### 8.3.2.4 Jitter
+
+Jitter reduction may be achieved by resynchronizing time-stamped PDUs as part of the operation of a filter. A QoS filter that translates a variable bit-rate data flow to a constant bit-rate data flow is another type of translation filter that can be used to reduce jitter.
+
+### 8.3.3 Side effects of filtering on QoS characteristics
+
+The side effects of applying QoS filters may be that some QoS characteristics are adversely effected. Such effects include the following.
+
+#### 8.3.3.1 Throughput
+
+QoS filters that add information to a data flow increase the requirement for raw throughput of data, which if not accommodated may lead to a decrease in the throughput perceived by users. Such filters include decompression filters and those that increase error resilience by adding error detection and correction data.
+
+#### 8.3.3.2 Loss sensitivity
+
+Dependent on the type of media and encoding method, discarding information and removing redundancy may increase the loss sensitivity of a data flow.
+
+#### 8.3.3.3 Delay
+
+Performing intensive QoS filter operations, as in translation filtering, will increase the experienced end-to-end delay. The effect on delay is dependent on the filter implementation and filter processing device used. As noted above, the end-to-end delay may in some cases be decreased as a result of a reduction of throughput requirement.
+
+#### 8.3.3.4 Jitter
+
+The jitter of a data flow will be affected to a degree dependent on the type of media and encapsulation strategy used. Performing filtering on larger PDUs will cause larger delays, while filtering operations on smaller PDUs will cause smaller delays.
+
+## 8.4 Enquiry mechanisms
+
+As noted in the QoS Framework, enquiry mechanisms can be provided by general-purpose management techniques, such as those standardized in OSI or SNMP management. References are given in 5.1.2.
+
+## 8.5 Alert mechanisms
+
+As noted in the QoS Framework, alert mechanisms can be provided by general-purpose management techniques, such as those standardized in OSI or SNMP management. References are given in 5.1.2.
+
+# 9 QoS verification methods
+
+## 9.1 Introduction
+
+The QoS Framework examines QoS verification at different stages of the lifecycle of the implementation of a service. This clause defines some QoS verification methods for these stages.
+
+## 9.2 QoS verification at the design stage
+
+The service design phase of the service lifecycle starts from a set of requirements on the service and derives a complete system design. The design process is characterized by stepwise refinement, and involves a formalization of informal service requirements. At the end of the design phase, there is value in verification that the system (resulting from the design) actually meets the stated service requirements.
+
+Service requirements relate to the expected behaviour of the service, but also comprise non-functional aspects. Besides the sequential order of events, which determines the interaction of the service users with the service, there are also requirements on the timeliness, capacities or reliability for certain events to happen at a certain state.
+
+Figure 9-1 shows the main steps of a method for QoS verification during the design phase for a QoS enhanced design. The service designer starts from a set of requirements comprising functional and non-functional aspects. In the first step, the requirements are formalized to provide an abstract service model.
+
+
+
+```
+
+graph TD
+ SR[Service requirements] --> F[Functional]
+ SR --> NF[Non-functional]
+ subgraph ASM [Abstract Service Model]
+ F
+ NF
+ end
+ F --> SBS[Service behaviour specification]
+ NF --> QC[QoS characterization]
+ SBS --> SD[System design]
+ QC --> SD
+ SD --> PEM[Performance enhanced model]
+ PA[Performance assumptions] --> PEM
+ V[Verification task] --> PEM
+ SR -.-> F1[Formalize]
+ F1 -.-> R1[Refine]
+ R1 -.-> E1[Enhance]
+ E1 -.-> PEM
+
+```
+
+Flowchart of the QoS-based service design process. The process starts with 'Service requirements' at the top. Two arrows lead down to 'Functional' and 'Non-functional' boxes, which are part of a larger 'Abstract Service Model' container. From 'Functional', an arrow points down to 'Service behaviour specification'. From 'Non-functional', an arrow points down to 'QoS characterization'. Both 'Service behaviour specification' and 'QoS characterization' have arrows pointing down to 'System design'. 'System design' has an arrow pointing down to 'Performance enhanced model'. 'Performance assumptions' also has an arrow pointing down to 'Performance enhanced model'. A horizontal arrow labeled 'Verification task' points from left to right. On the right side, three vertical arrows labeled 'Formalize', 'Refine', and 'Enhance' indicate the progression of the process.
+
+T0730990-98/d07
+
+Figure 9-1 – QoS-based service design process
+
+In this method, a hybrid approach is used that separates the behavioural aspects of the service from the non-functional requirements relating to QoS. This separation of concerns is motivated by the different level of abstraction on which these types of requirements are expressed [e.g. time requirements generally relate to entire (long) sequences of events instead of being an attribute of a single event in relation to its single predecessor only]. By having separate specifications, it is also easier to do modifications that may arise in iterations during the design cycle.
+
+The abstract service behaviour is specified using a Formal Description Technique (FDT). By adding details (e.g. functional decomposition), the specification is then refined in correctness by preserving transformation steps that lead to a complete design. The consistency between the abstract service behaviour and its design solution can be verified by proving the equivalence of the observational behaviour between the specifications.
+
+Along with the formalization of the functional behaviour, there should be a formalization of the QoS-related requirements. In this process, the relevant QoS characteristics of the service have to be identified and their values must be selected such that they match the users' expectations of the service quality. The functional decomposition in the refinement process is paralleled by a decomposition of the global QoS requirements into QoS requirements of service components.
+
+With a detailed functional system specification, the designer is able to add performance information to the model. The performance assumptions are based on experience and on measurements of the underlying systems. Those values, of course, depend strongly on the chosen technology for the implementation. For some performance values there may be only estimates available that need refinement in further interaction cycles until the observed system performance is matched. The result of the process is a performance enhanced design model, from which parameter values on the supported QoS can be derived which allow a comparison with the required QoS constraints.
+
+For different types of specifications used within the design process, appropriate notations are needed. For functional behaviour, the standardized FDTs may be suitable. However, it is not a requirement that the FDT should be standardized.
+
+QoS description requires a notation that allows for defining the QoS characteristics. The notation is used to specify the constraints on these characteristics and to describe procedures for their measurement. The QoS characterization comprises the definition of boundary values, statistical aspects and performance conditions on the environment, under which certain QoS parameter values are required to hold, etc.
+
+## 9.3 QoS verification at the testing stage
+
+The objective of QoS verification at the testing stage is to verify that a service implementation fulfils its QoS requirements. The approach taken here is to use the methods of Protocol Conformance Testing (PCT) [see ITU-T Rec. X.290 series | ISO/IEC 9646 (all parts)] for QoS testing.
+
+Although the ITU-T Rec. X.290 series | ISO/IEC 9646 (all parts) has been extended to cover multiparty testing, it is possible that some generalization or enhancement of approach will be needed. Instead of a layered protocol stack, the tester has to interact with a multiparty service offered on a distributed platform which makes use of various resource services (e.g. communication services, data bases). Therefore, a distributed test environment is needed that is capable to measure, control and evaluate QoS.
+
+The testing of behaviour is mainly based on a stimulus-response principle, where a sequence of controlling and observed events have to be checked for conformity. QoS testing requires, in addition, measurement procedures for QoS characteristics. During the test operation it should be checked that the tested characteristics are within the required boundary values.
+
+For QoS measurement, clearly-defined measures of characteristics are needed and points must be defined where the measurement can be performed. Finally, a procedure must be defined how the measurement is effected.
+
+Certain theoretically derived characteristics which rely on idealistic assumptions have to be adopted to practical approximations, e.g. availability aspects have to be measured by suitable sample sizes. Also, it is necessary that the measurement itself does not interfere to such a degree that it falsifies the measured characteristics.
+
+For QoS characteristics, we can distinguish between directly measurable characteristics (e.g. time delay) and derived characteristics. A typical example for the latter is packet loss, which is computed from the difference between sent and received data units. The measurement technique for a certain characteristic may require support from the system and its environment. A delay can be defined as round-trip delay, which requires only a single point of measurement and local time, but depends on the cooperating responding behaviour at the receivers' end, while simple delays require synchronized clocks between sender and receiver and either a measurement point at the sender and the receiver side or a transmission of a time stamp on the sent data with only one measurement point at the receiver.
+
+Figure 9-2 presents a distributed architecture for QoS Testing. The Service Under Test (SUT) must have access to its required resource services. The role of the service users is played by a set of local testers. There must be points of measurement between SUT and the local testers for the measurement of the QoS provided by the service, and there must be measurement points between SUT and resource services for the measurement of the QoS received from the resource services. This information might be obtained from Management Information Bases (MIB), too. For the overall
+
+coordination of the test scenario, there is a central component controlling the distributed elements of the test environment. It is necessary to have a component responsible for the measurement of QoS characteristics of the SUT, and for the control of the QoS of the resource services (environment constraints). Typical elements that form part of the Control and Measurement Unit include traffic and error generators.
+
+
+
+The diagram illustrates the QoS-based service testing architecture. At the top is the **Test coordinator**, which has bidirectional communication with three **Local tester** components. On the left is the **Control and measurement** unit, which also has bidirectional communication with the Test coordinator. The Local testers and the Control and measurement unit are connected to a central **SUT** (System Under Test) block. Specifically, each Local tester connects to the SUT through a **PCO and M** (Point of control, observation and measurement) point, represented by an oval. The Control and measurement unit also connects to the SUT through a PCO and M point. Below the SUT are two **Resource** blocks, each connected to the SUT through a PCO and M point. The Control and measurement unit also has a direct connection to the Resources. A legend at the bottom indicates that the oval symbol represents the **PCO and M Point of control, observation and measurement**. The reference **T0731000-98/d08** is located in the bottom right corner of the diagram area.
+
+Figure 9-2 – QoS-based service testing architecture diagram
+
+**Figure 9-2 – QoS-based service testing architecture**
+
+## 9.4 QoS verification at the operation stage
+
+If a service offers QoS only on a best effort basis, it may be not capable of guaranteeing a certain level of QoS and, consequently, the resulting QoS as presented to the user may differ from the required value, e.g. the intermediate services that make use of basic resource services are engineered to optimize the utilization of the scarce resources and may require guaranteed QoS; e.g. constant bit rate compression service is favoured to make optimal use of a fixed allocated bandwidth.
+
+For a service offering a guaranteed level of QoS, there should be continuous monitoring of the QoS provided to the user and the QoS received from the underlying resource services. When certain threshold values are reached, actions according to a predefined policy (e.g. reservation of additional resources) could be taken and internal management mechanisms used to keep to the contracted level.
+
+# 10 References to this Recommendation | Technical Report
+
+Recommendations, International Standards or Technical Reports that reference methods or mechanisms defined in this Recommendation | Technical Report should state that they are "consistent" with this Recommendation | Technical Report. This means that the meaning of the definitions is not altered by the referencing Recommendation, International Standard or Technical Report.
+
+# ITU-T RECOMMENDATIONS SERIES
+
+| | |
+|-----------------|--------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of the ITU-T |
+| Series B | Means of expression: definitions, symbols, classification |
+| Series C | General telecommunication statistics |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | TMN and network maintenance: international transmission systems, telephone circuits, telegraphy, facsimile and leased circuits |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks and open system communications |
+| Series Y | Global information infrastructure |
+| Series Z | Programming languages |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.668-200805-I_PDF-E/7e670a2b556b53ea9002dfff3a420e08_img.jpg b/marked/X/T-REC-X.668-200805-I_PDF-E/7e670a2b556b53ea9002dfff3a420e08_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..6e3020919683d707eda16da3c80dfd5a814dabc3
--- /dev/null
+++ b/marked/X/T-REC-X.668-200805-I_PDF-E/7e670a2b556b53ea9002dfff3a420e08_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:87cdc5f35f1700b8118c6232fe120245401b2774040f70c40bcf5f8108f26614
+size 26160
diff --git a/marked/X/T-REC-X.668-200805-I_PDF-E/a3dc41dc3df86ea68d266af2bf95cf5b_img.jpg b/marked/X/T-REC-X.668-200805-I_PDF-E/a3dc41dc3df86ea68d266af2bf95cf5b_img.jpg
new file mode 100644
index 0000000000000000000000000000000000000000..c8bac4fe5f7ad1f5e3c7e863b0718c38c5e6ff46
--- /dev/null
+++ b/marked/X/T-REC-X.668-200805-I_PDF-E/a3dc41dc3df86ea68d266af2bf95cf5b_img.jpg
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9771fb8ccc777df2abb6c9c05a38c31d7eea48859bcde63409f40e79c9567d37
+size 3946
diff --git a/marked/X/T-REC-X.668-200805-I_PDF-E/raw.md b/marked/X/T-REC-X.668-200805-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..5ecc516ef44e7ce98ec66ef021bca52e4e185558
--- /dev/null
+++ b/marked/X/T-REC-X.668-200805-I_PDF-E/raw.md
@@ -0,0 +1,415 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.668
+
+(05/2008)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+OSI networking and system aspects – Naming,
+Addressing and Registration
+
+---
+
+**Information technology – Open Systems
+Interconnection – Procedures for the operation
+of OSI Registration Authorities: Registration of
+object identifier arcs for applications and
+services using tag-based identification**
+
+Recommendation ITU-T X.668
+
+# ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|-----------------------------------------------|--------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.379 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems Management framework and architecture | X.700–X.709 |
+| Management Communication Service and Protocol | X.710–X.719 |
+| Structure of Management Information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, Concurrency and Recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.889 |
+| Generic applications of ASN.1 | X.890–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| TELECOMMUNICATION SECURITY | X.1000– |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+## **Information technology – Open Systems Interconnection – Procedures for the operation of OSI Registration Authorities: Registration of object identifier arcs for applications and services using tag-based identification**
+
+# **Summary**
+
+In applications and services that use tag-based identification, it is necessary to minimize the length of the OID encoding. This Recommendation | International Standard provides for the registration of OID arcs which enable identification schemes for applications and services that use tag-based identification to be identified with an OID that encodes in two octets. Recommendation ITU-T X.668 | ISO/IEC 9834-9 specifies the information and justification to be provided when requesting an OID for such identification schemes, and the procedures for the operation of the Registration Authority.
+
+## **Source**
+
+Recommendation ITU-T X.668 was approved on 29 May 2008 by ITU-T Study Group 17 (2005-2008) under Recommendation ITU-T A.8 procedure. An identical text is also published as ISO/IEC 9834-9.
+
+## **Keywords**
+
+Identification scheme, OID, RFID, tag-based identification.
+
+# FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure e.g. interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+# INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2008
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+# CONTENTS
+
+| | Page |
+|-----------------------------------------------------------------|-------------|
+| 1 Scope ..... | 1 |
+| 2 Normative references ..... | 1 |
+| 2.1 Identical Recommendations International Standards ..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Imported definitions ..... | 1 |
+| 3.2 Additional definitions ..... | 2 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 General..... | 2 |
+| 6 Responsibilities of the RA ..... | 2 |
+| 7 Criteria for acceptance..... | 3 |
+| 8 Detailed procedures for the operation of the RA ..... | 3 |
+| 8.1 Registration application..... | 3 |
+| 8.2 Registration announcement ..... | 3 |
+| 8.3 Time-scale for processing applications and publication..... | 3 |
+| 8.4 Notice of rejection..... | 4 |
+| 8.5 Change of registration information ..... | 4 |
+| 8.6 Fees..... | 4 |
+| 9 Appeals process ..... | 4 |
+| 10 Re-appointment of the RA..... | 4 |
+| Bibliography ..... | 6 |
+
+# Introduction
+
+This Recommendation | International Standard enables the registration of object identifiers (OIDs) for applications and services using tag-based identification (see 3.2.) under the OID arc {**joint-iso-itu-t(2) tag-based(27)**}.
+
+NOTE – For historical reasons, the secondary identifier **nid** is a synonym for **tag-based** on arc 27.
+
+Tag-based applications and services may (if necessary) request from the Registration Authority an OID for their identification scheme that encodes in only two octets. This Recommendation | International Standard specifies the operation of the Registration Authority for the allocation of such OIDs.
+
+For tag-based applications and services, the OID is stored in a transponder which has limited memory size and the length of the OID encoding needs to be minimized.
+
+# **INTERNATIONAL STANDARD RECOMMENDATION ITU-T**
+
+## **Information technology – Open Systems Interconnection – Procedures for the operation of OSI Registration Authorities: Registration of object identifier arcs for applications and services using tag-based identification**
+
+# **1 Scope**
+
+This Recommendation | International Standard specifies the procedures for operating the Registration Authority for object identifiers under the arc {`joint-iso-itu-t(2) tag-based(27)`}, that supports tag-based applications and services.
+
+# **2 Normative references**
+
+The following Recommendations and International Standards contain provisions which, through reference in this text, constitute provisions of this Recommendation | International Standard. At the time of publication, the editions indicated were valid. All Recommendations and Standards are subject to revision, and parties to agreements based on this Recommendation | International Standard are encouraged to investigate the possibility of applying the most recent edition of the Recommendations and Standards listed below. Members of IEC and ISO maintain registers of currently valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently valid ITU-T Recommendations.
+
+## **2.1 Identical Recommendations | International Standards**
+
+- Recommendation ITU-T X.660 (2004) | ISO/IEC 9834-1:2005, *Information technology – Open Systems Interconnection – Procedures for the operation of OSI Registration Authorities: General procedures and top arcs of the ASN.1 Object Identifier tree.*
+- Recommendation ITU-T X.680 (2002) | ISO/IEC 8824-1:2002, *Information technology – Abstract Syntax Notation One (ASN.1): Specification of basic notation.*
+
+# **3 Definitions**
+
+For the purposes of this Recommendation | International Standard, the following definitions apply.
+
+## **3.1 Imported definitions**
+
+**3.1.1** This Recommendation | International Standard uses the following term defined in Rec. ITU-T X.680 | ISO/IEC 8824-1:
+
+- a) object identifier.
+
+**3.1.2** This Recommendation | International Standard uses the following terms defined in Rec. ITU-T X.660 | ISO/IEC 9834-1:
+
+- a) administrative role;
+- b) primary integer value;
+- c) registration;
+- d) registration authority;
+- e) registration procedures;
+- f) secondary value;
+- g) technical role.
+
+## 3.2 Additional definitions
+
+**3.2.1 relevant Rapporteur:** The ITU-T Rapporteur and/or the ISO/IEC Convenor responsible for the maintenance of this Recommendation | International Standard.
+
+**3.2.2 tag-based applications and services:** Applications or services which use tag-based identification.
+
+**3.2.3 tag-based identification:** An identification mechanism in which the identifier is stored in a memory-limited area of a tag.
+
+NOTE – The tag-based identifier is stored in the tag, and a reader/writer reads/writes the identifier from/to the tag via an optical scanner (read-only), camera (read-only), IrDA (read/write), RF technique (read/write) or other similar methods.
+
+# 4 Abbreviations and acronyms
+
+For the purposes of this Recommendation | International Standard, the following abbreviations apply.
+
+| | |
+|------|--------------------------------|
+| IrDA | Infrared Data Association |
+| OID | Object Identifier |
+| RA | Registration Authority |
+| RF | Radio Frequency |
+| RFID | Radio Frequency Identification |
+
+# 5 General
+
+**5.1** This Recommendation | International Standard defines procedures for an RA that allocates OIDs under the arc `{joint-iso-itu-t(2) tag-based(27)}` as the identifier for tag-based applications and services.
+
+**5.2** The Registration Authority whose operation is specified by this Recommendation | International Standard performs both an administrative and a technical role (see Rec. ITU-T X.660 | ISO/IEC 9834-1).
+
+**5.3** It is within the mandate of ITU-T | ISO/IEC to organize registration as specified in this Recommendation | International Standard. In order to do this, ITU-T | ISO/IEC appoints, according to their internal requirements and rules, an organization to act as the RA for this Recommendation | International Standard.
+
+NOTE 1 – The technical role is performed by the relevant Rapporteur.
+
+NOTE 2 – The administrative role is performed by the National Internet Development Agency of Korea (NIDA).
+
+NOTE 3 – NIDA can be contacted at: Phone Number (+82-2-2186-4668), E-mail Address ([RA-nid@nida.or.kr](mailto:RA-nid@nida.or.kr)), Postal Address (3F, 398, Seocho-ro, Seocho-gu, Seoul, Korea, 137-857), Web page ( ).
+
+**5.4** The RA is responsible for the assignment of primary values and secondary values to identification schemes for tag-based applications and services under the OID arc `{joint-iso-itu-t(2) tag-based(27)}`.
+
+**5.5** It is not expected that subsequent arcs will be added to arcs assigned by this Registration Authority, as this would be evidence that there is no requirement for the short OID that is provided by this Recommendation | International Standard.
+
+NOTE – There may be tag-based identification schemes where the scheme itself is based on a registration-hierarchical-name-tree, and can therefore be logically described as further nodes beneath the OID identifying the scheme, although this information is likely to be in a separate location in the transponder.
+
+# 6 Responsibilities of the RA
+
+**6.1** The Registration Authority shall maintain a Register of the primary integer value and secondary identifiers assigned to the arc identifying the tag-based application or service.
+
+**6.2** With regard to the initial assignment of primary values, the responsibilities of the Registration Authority shall be as follows:
+
+- a) to receive applications for the allocation of an arc (the required content of the application is specified in 8.1);
+- b) for each assigned arc, to keep a record of the assigned primary value, any secondary values and the specification of the identification scheme for tag-based applications and services that is being registered.
+
+**6.3** If the application is accepted according to the criteria of clause 7, the arc shall be allocated and a registration announcement shall be sent to the applicant as specified in 8.2.
+
+**6.4** If the application does not contain the information specified in 8.1, the application shall be rejected by sending a notice of rejection as specified in 8.4.
+
+**6.5** The permitted fee structure is specified in 8.6.
+
+# **7 Criteria for acceptance**
+
+**7.1** An application shall be accepted if, in the technical judgment of the relevant Rapporteur, the allocation requested is to be used for an identification scheme supporting one or more tag-based applications or services.
+
+**7.2** It is a requirement that the identification scheme be identified in a publicly available specification produced by a standardization body recognized by ITU-T, ISO or IEC, or by an internationally recognized consortium.
+
+NOTE – This excludes specifications produced by a single company or organization.
+
+**7.3** The applications shall identify the time-scale within which the relevant identification scheme is to be applied within applications or services. The application shall be rejected if the time-scale exceeds 12 months, and can be voided if it is not in use within that time-scale.
+
+NOTE – The primary integer value of a voided application shall not be reused within the next five years.
+
+**7.4** The applications or services for which the allocation is requested shall be applications or services which require interchange between multiple vendors in an open environment.
+
+**7.5** An application for registration, containing the information specified in 8.1 shall be sent to the organization providing the administrative role for the RA (see 5.3 Note 2). The application shall be submitted by the standardization body (recognized by ITU-T, ISO or IEC), or by the internationally recognized consortium (see 7.2).
+
+# **8 Detailed procedures for the operation of the RA**
+
+## **8.1 Registration application**
+
+The application shall include at least the following information:
+
+- a) name of the organization submitting the application;
+- b) name, postal mail address, e-mail address, and optionally telephone and fax numbers for the contact point within the requesting organization;
+- c) full identification of the person submitting the application (including their role in the organization);
+- d) a reference to an openly accessible specification (see 7.2) of the identification scheme for the tag-based application or service for which an arc is being requested; and
+- e) (optionally) desired secondary identifier(s).
+
+NOTE – The registration application can be made through the OID repository at (or by contacting NIDA – see 5.3). The use of the OID repository is recommended as the interface ensures that all required information is provided.
+
+## **8.2 Registration announcement**
+
+The Registration Authority shall send a registration announcement to an applicant when the assignment of a new arc has been agreed. The registration announcement shall include at least the following information:
+
+- a) the name of the organization submitting the application and the reference number of the application;
+- b) the name, postal/electronic mail address and telephone/facsimile number for the contact point within the requesting organization;
+- c) full identification of the person submitting the application (including their role in the organization);
+- d) the primary value assigned; and
+- e) any confirmed secondary identifier(s).
+
+## **8.3 Time-scale for processing applications and publication**
+
+**8.3.1** The technical evaluation by the relevant Rapporteur is expected to be completed within 8 weeks of receipt of the application by the RA and the allocation and the results of the application shall then be sent to the applicant and added to as an entry in the Register.
+
+**8.3.2** The RA shall make best efforts to provide a publicly available Web page detailing entries in the Register (see 6.2 b), with the email address protected against robot harvesting.
+
+NOTE – It is recommended that this be done using the OID repository at .
+
+## **8.4 Notice of rejection**
+
+The Registration Authority shall send a notice of rejection to an applicant when the assignment of a new arc has been rejected. The notice of rejection shall include at least the following information:
+
+- a) the name of the organization submitting the application and the reference number of the application;
+- b) the name, postal/electronic mail address and telephone/facsimile number for the contact point within the requesting organization;
+- c) full identification of the person submitting the application (including their role in the organization);
+- d) the desired secondary identifier(s); and
+- e) the reason for rejection.
+
+## **8.5 Change of registration information**
+
+The scheme identified by an allocated OID shall not change significantly from the scheme identified in the original application, but supporting information, such as the information provided in 8.1 b), may change from time to time. The RA shall be notified of all such changes, and shall update the Register, maintaining an audit trail of earlier information.
+
+NOTE – It is recommended that this be done using the OID repository at .
+
+## **8.6 Fees**
+
+**8.6.1** The organization providing this RA shall do so on a cost-recovery basis. The fee structure shall be designed to recover the expenses of operating the RA, to cover Web publication of registrations, to support enquiry requests, and to discourage frivolous and multiple requests.
+
+**8.6.2** The fee values shall be determined by the RA, subject to the approval of the relevant ITU-T Study Group | ISO/IEC JTC 1 Subcommittee. Fees can apply to:
+
+- a) registration;
+- b) inquiry request;
+- c) request for update.
+
+**8.6.3** Fees shall be independent, subject to exchange rate fluctuations, of the country that the application is made from.
+
+**8.6.4** Once the fee associated with making an initial register entry has been charged, there shall be no further charges for the maintenance of that entry or its Web publication.
+
+# **9 Appeals process**
+
+**9.1** In response to a notice of rejection, the applicant can submit to the RA a supplement to its original application that responds to the reason(s) for rejection.
+
+**9.2** Any subsequent appeal shall be resolved by the ITU-T Question and/or ISO/IEC Working Group responsible for the maintenance of this Recommendation | International Standard.
+
+# **10 Re-appointment of the RA**
+
+If the ITU-T Question and/or ISO/IEC Working Group responsible for the maintenance of this Recommendation | International Standard determine that the RA be discharged of its duties, it is expected that register entries held by the RA will be made available to any subsequently appointed RA.
+
+# Annex A
+
+## Example of tag-based applications and services
+
+(This annex does not form an integral part of this Recommendation | International Standard)
+
+Figure A.1 illustrates the operation of tag-based applications and services.
+
+
+
+```
+
+graph LR
+ Tag[Tag] -- ① ID --> Terminal[Terminal]
+ Terminal -- ② ID --> IDRS[ID Resolution Service]
+ IDRS -- ③ Content Location --> Terminal
+ Terminal -- ④ Content request --> SP[Service Provider]
+ SP -- ⑤ Content --> Terminal
+
+```
+
+Diagram illustrating the operation of tag-based applications and services. A Tag sends an ID (1) to a Terminal. The Terminal sends the ID (2) to an ID Resolution Service. The ID Resolution Service returns the Content Location (3) to the Terminal. The Terminal sends a Content request (4) to a Service Provider. The Service Provider returns the Content (5) to the Terminal.
+
+Figure A.1 – Operation of tag-based applications and services
+
+In tag-based applications and services, an identifier is associated with a service or content. This identifier is used as a key to access the related service or content.
+
+Typical tag-based applications and services are provided in three steps:
+
+- 1) Acquiring identifier: A user terminal reads the identifier from a tag.
+- 2) Identifier resolution: The user terminal sends the identifier to an identifier resolution server to get the location information for the service or content.
+- 3) Service access: The user terminal accesses the service or content.
+
+The identifier is stored in a tag and the user terminal reads this identifier from the tag using any data capturing technique. Currently the most popular data capturing technique is RFID, but any data capturing technique can be used (such as an optical scanner, IrDA, or camera) based on the kind of tag.
+
+The identifier should be unique within a specific identification scheme, and it should be uniquely identified from different identification schemes. For this purpose, OIDs are used.
+
+For example, OID {**joint-iso-itu-t(2) tag-based(27) scheme-A(m)**} could be used for identification scheme "A" and {**joint-iso-itu-t(2) tag-based(27) scheme-B(n)**} for identification scheme "B".
+
+In the RFID area, an identifier is always recorded with an OID into an RFID tag to identify what kind of identification scheme is used in this RFID tag.
+
+NOTE – The documents listed in the Bibliography (see [1], [2], [3], [4]) provide a more complete description of this architecture, and of tag-based applications and services.
+
+Most RFID tags have small memory sizes and require the use of a short OID for encoding into the tag. The OID defined in this Recommendation | International Standard can be used for any identification carrier which has a limited memory size (such as an RFID tag or a barcode). Such carriers have a requirement for root object identifiers that are as small as possible. Allocation of OID {**joint-iso-itu-t(2) tag-based(27)**} to this registration authority makes available object identifiers using only 2 octets to identify the tag-based identification scheme.
+
+# Bibliography
+
+- [1] ISO/IEC 15962:2004, *Information technology – Radio frequency identification (RFID) for item management – Data protocol: data encoding rules and logical memory functions.*
+- [2] Recommendation ITU-T Y.2213 (2008), *NGN service requirements and capabilities for network aspects of applications and services using tag-based identification.*
+- [3] Recommendation ITU-T F.771 (2008), *Service description and requirements for multimedia information access triggered by tag-based identification.*
+- [4] Recommendation ITU-T H.621 (2008), *Architecture of a system for multimedia information access triggered by tag-based identification.*
+
+
+
+# SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|---------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | General tariff principles |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects and next-generation networks |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.676-201811-I_PDF-E/raw.md b/marked/X/T-REC-X.676-201811-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..f742fb7ccd5182adab38866264ad1682cd0d2d29
--- /dev/null
+++ b/marked/X/T-REC-X.676-201811-I_PDF-E/raw.md
@@ -0,0 +1,530 @@
+
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+# X.676
+
+(11/2018)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+OSI networking and system aspects – Naming,
+Addressing and Registration
+
+# --- Object identifier-based resolution framework for IoT grouped services
+
+Recommendation ITU-T X.676
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+| | |
+|-----------------------------------------------|--------------------|
+| PUBLIC DATA NETWORKS | |
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+| OPEN SYSTEMS INTERCONNECTION | |
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+| INTERWORKING BETWEEN NETWORKS | |
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.379 |
+| MESSAGE HANDLING SYSTEMS | X.400–X.499 |
+| DIRECTORY | X.500–X.599 |
+| OSI NETWORKING AND SYSTEM ASPECTS | |
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+| OSI MANAGEMENT | |
+| Systems management framework and architecture | X.700–X.709 |
+| Management communication service and protocol | X.710–X.719 |
+| Structure of management information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+| SECURITY | X.800–X.849 |
+| OSI APPLICATIONS | |
+| Commitment, concurrency and recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.889 |
+| Generic applications of ASN.1 | X.890–X.899 |
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+| INFORMATION AND NETWORK SECURITY | X.1000–X.1099 |
+| SECURE APPLICATIONS AND SERVICES (1) | X.1100–X.1199 |
+| CYBERSPACE SECURITY | X.1200–X.1299 |
+| SECURE APPLICATIONS AND SERVICES (2) | X.1300–X.1499 |
+| CYBERSECURITY INFORMATION EXCHANGE | X.1500–X.1599 |
+| CLOUD COMPUTING SECURITY | X.1600–X.1699 |
+
+*For further details, please refer to the list of ITU-T Recommendations.*
+
+# Recommendation ITU-T X.676
+
+# Object identifier-based resolution framework for IoT grouped services
+
+## Summary
+
+Recommendation ITU-T X.676 specifies an object identifier (OID)-based resolution framework for identifying various services in IoT environments. OID is an identifier to name an object with a hierarchically assigned namespace. In Internet of things (IoT), thousands of IoT services based on heterogeneous resources will be provided as combinations of various services. For efficiency, various technologies, such as service binding, dynamic services or frequently switching services will be required, along with resolution and identification of grouped services. This Recommendation describes the concepts of IoT grouped services, considerations, architectures, and procedures for an OID-based resolution framework for IoT grouped services.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|----------------|------------|-------------|---------------------------------------------------------------------------|
+| 1.0 | ITU-T X.676 | 2018-11-29 | 17 | 11.1002/1000/13712 |
+
+## Keywords
+
+Grouped services, Internet of things (IoT), object identifiers, OID, OID resolution.
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had received notice of intellectual property, protected by patents, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the TSB patent database at .
+
+© ITU 2019
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## Table of Contents
+
+| | Page |
+|--------------------------------------------------------------------------|------|
+| 1 Scope..... | 1 |
+| 2 References..... | 1 |
+| 3 Definitions ..... | 1 |
+| 3.1 Terms defined elsewhere..... | 1 |
+| 3.2 Terms defined in this Recommendation..... | 2 |
+| 4 Abbreviations and acronyms ..... | 2 |
+| 5 Conventions ..... | 2 |
+| 6 Considerations on a resolution framework for IoT grouped services..... | 2 |
+| 7 Requirements for resolution framework of grouped services..... | 4 |
+| 7.1 Support for service grouping..... | 4 |
+| 7.2 Support for identification of service groups..... | 4 |
+| 7.3 Support for management of grouped services ..... | 4 |
+| 7.4 Support for heterogeneity of specific services ..... | 4 |
+| 8 OID-based resolution framework of grouped services..... | 4 |
+| 8.1 General architecture..... | 4 |
+| 8.2 Components..... | 5 |
+| 8.3 OID assignment..... | 6 |
+| 9 Procedures of OID-based resolution framework of grouped services..... | 6 |
+| 9.1 Registration procedure..... | 6 |
+| 9.2 Resolution procedures ..... | 7 |
+| 10 Security considerations..... | 8 |
+| Appendix I – Use cases for grouped services in IoT ..... | 9 |
+| I.1 Grouped services for a building on fire..... | 9 |
+| I.2 Grouped daily services at a smart home..... | 10 |
+| Bibliography..... | 12 |
+
+
+
+# Recommendation ITU-T X.676
+
+# Object identifier-based resolution framework for IoT grouped services
+
+# 1 Scope
+
+This Recommendation includes the following items:
+
+- overview of object identifier (OID)-based resolution framework for Internet of things (IoT) grouped services;
+- requirements for resolution framework for IoT grouped services; and
+- OID-based resolution framework and scenarios for IoT grouped services.
+
+# 2 References
+
+The following ITU-T Recommendations and other references contain provisions, which, through reference in this text, constitute provisions of this Recommendation. At the time of publication, the editions indicated were valid. All Recommendations and other references are subject to revision; users of this Recommendation are therefore encouraged to investigate the possibility of applying the most recent edition of the Recommendations and other references listed below. A list of the currently valid ITU-T Recommendations is regularly published. The reference to a document within this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
+
+- [ITU-T X.660] Recommendation ITU-T X.660 (2011) | ISO/IEC 9834-1:2012, *Information technology – Procedures for the operation of object identifier registration authorities: General procedures and top arcs of the international object identifier tree.*
+- [ITU-T X.672] Recommendation ITU-T X.672 (2010) | ISO/IEC 29168-1:2011, *Information technology – Open systems interconnection – Object identifier resolution system (ORS).*
+- [ITU-T X.675] Recommendation ITU-T X.675 (2015), *OID-based resolution framework for heterogeneous identifiers and locators.*
+- [ITU-T Y.4000] ITU-T Recommendation Y.4000/Y.2060 (2012), *Overview of the Internet of things.*
+
+# 3 Definitions
+
+### 3.1 Terms defined elsewhere
+
+This Recommendation uses the following terms defined elsewhere:
+
+**3.1.1 identifier** [b-ITU-T Y.2091]: An identifier is a series of digits, characters and symbols or any other form of data used to identify subscriber(s), user(s), network element(s), function(s), network entity(ies) providing services/applications, or other entities (e.g., physical or logical objects). Identifiers can be used for registration or authorization. They can be either public to all networks, shared between a limited number of networks or private to a specific network (private IDs are normally not disclosed to third parties).
+
+**3.1.2 Internet of things (IoT)** [ITU-T Y.4000]: A global infrastructure for the information society, enabling advanced services by interconnecting (physical and virtual) things based on existing and evolving interoperable information and communication technologies.
+
+NOTE 1 – Through the exploitation of identification, data capture, processing and communication capabilities, the IoT makes full use of things to offer services to all kinds of applications, whilst ensuring that security and privacy requirements are fulfilled.
+
+NOTE 2 – From a broader perspective, the IoT can be perceived as a vision with technological and societal implications.
+
+**3.1.3 OID resolution system** [ITU-T X.672]: Implementation of the OID resolution process.
+
+## **3.2 Terms defined in this Recommendation**
+
+This Recommendation defines the following term:
+
+**3.2.1 grouped services:** Two or more services that are assigned to the same group.
+
+NOTE – The services are provided sequentially or non-sequentially when the group is triggered.
+
+# **4 Abbreviations and acronyms**
+
+This Recommendation uses the following abbreviations and acronyms:
+
+| | |
+|------|---------------------------------------|
+| GRS | Group Service Resolution Server |
+| ID | Identifier |
+| IoT | Internet of Things |
+| LDAP | Lightweight Directory Access Protocol |
+| MIB | Management Information Base |
+| OID | Object Identifier |
+| ORS | Object Identifier Resolution Server |
+| SNMP | Simple Network Management Protocol |
+| SP | Service Provider |
+| SR | Service Registry |
+| URI | Uniform Resource Identifier |
+
+# **5 Conventions**
+
+None.
+
+# **6 Considerations on a resolution framework for IoT grouped services**
+
+OID consists of a node in a hierarchically-assigned namespace, formally defined using [ITU-T X.660]. OIDs have been used for various implementations. For example, OIDs serve to name almost every object type in ITU-T X.509 certificates in computer security. They are used within ITU-T X.500 directory schemas and protocols, to uniquely name each attribute type and object class, and other elements of schema. Within lightweight directory access protocol (LDAP) schemas, each object class and each attribute type has a unique OID. In computer networking, an OID, in the context of simple network management protocol (SNMP), consists of the object identifier for an object in a management information base (MIB). Health level seven international (HL7), digital imaging and communications in medicine (DICOM) and other healthcare related information interchange standards use OIDs for globally unique identifiers for both individual information objects as well as references to code systems and data element dictionaries.
+
+In IoT [ITU-T Y.4000], thousands of IoT services based on heterogeneous resources will be provided. In addition, in the future, IoT services are expected as complicated service provision systems by using grouped services. Therefore, service binding, dynamic services or frequently switching services can be required. If so, each IoT service could need identification.
+
+One of the solutions that OIDs can support is to identify IoT services. OIDs can identify not only tangible things (e.g., home appliances) but also intangible data (e.g., attribute types in ITU-T X.500 directory schemes and LDAP schemes). There are no technical problems in using OIDs for identifying intangible services. If OIDs are used for thousands of IoT services, performance could be raised as an issue for dynamically switching services and service bindings.
+
+Consequently, an OID-based resolution framework for identifying various services is required in IoT.
+
+
+
+Figure 1: Use case for emergency services. The illustration shows a sequence of four scenes from left to right: 1) Two people providing first aid to an injured person lying on the ground. 2) A person calling for help with '119' in a speech bubble while another person tends to the injured. 3) An ambulance with its lights on. 4) A hospital building with a red cross and a person standing outside.
+
+**Figure 1 – Use case for emergency services**
+
+Figure 1 shows a use case for emergency services. When a traffic accident occurs and people are seriously injured, many emergency services are rapidly required. For instance, first aid, ambulance, police (or 911), hospital notification, and so on. These services are heterogeneous; therefore, it is difficult for them to operate in an integrated approach. However, these services need a concept of service chaining for effective cooperation.
+
+
+
+X.676(18)\_F02
+
+Figure 2: Use case of smart building. A 3D wireframe diagram of a four-story building. Each floor contains a light bulb icon labeled 'Light \* 100'. Each floor is connected to a 'Gateway' device. These gateways connect wirelessly to a cell tower. The tower connects to a cloud icon labeled 'Internet'. The Internet cloud is connected to an 'M2M platform' (represented by servers) and a 'Control centre' (represented by a small house icon). A smartphone is also shown with a wireless signal icon near the building. The diagram is labeled X.676(18)\_F02 at the bottom right.
+
+**Figure 2 – Use case of smart building**
+
+Figure 2 (see [b-ITU-T TR UseCase]) depicts a smart building as one use case for IoT services. Smart building is a machine-to-machine (M2M) service that utilizes a collection of sensors, controllers, alerts, and gateways deployed in the correct places in a building combined with applications and servers that reside on the Internet to enable the automatic management of the building with limited human labour [b-ITU-T Y.4500.1]. In the smart building use case, there could be many heterogeneous IoT devices. One service provider (SP) platform can provide all the IoT devices, but multiple service providers will possibly provide them if their base resources are heterogeneous. If the devices are not
+
+controlled by one provider, it is required to control them by one system. When a customer enters the building, the customer needs integrated guidance toward a targeted location. For doing this, all devices (e.g., signs, notices, lamps, doors, windows, appliances, cameras) simultaneously cooperate. If the customer is revealed as a criminal, all devices should protect the building from the criminal in an integrated approach.
+
+If the concept of service grouping (or service chaining) is combined with such services, performance and efficiency can be improved. Appendix I shows other use cases for grouped services in IoT.
+
+# **7 Requirements for resolution framework of grouped services**
+
+The uniform resolution framework for IoT grouped services shall address the following requirements.
+
+## **7.1 Support for service grouping**
+
+In IoT, thousands of various services and applications will be provided, and some can be categorized into the same group because of similar characteristics. Even though they have different characteristics, they can have the same objectives. Services and applications that have the same objectives can belong to the same group. IoT services can be grouped and conducted together for specific events. For instance, when a traffic accident occurs, there are many emergency services required within a rapid period of time, such as first aid, ambulance, police (or 911), hospital notification and so on. These services are simultaneously conducted for the same objectives. Therefore, the resolution framework is required to support service grouping.
+
+## **7.2 Support for identification of service groups**
+
+The resolution framework is required to support a uniform identification scheme for service groups. A service group would be evoked by resolving an identifier representing the group when an event occurs. Therefore, the identifier for the group is resolved into identifiers of specific services.
+
+## **7.3 Support for management of grouped services**
+
+The service group can be dynamically managed according to changes in objectives. If a specific service is not required in a group, the group can delete the specific service or exchange it for another appropriate service. For example, if a 911 call covers both ambulance and hospital notification, then a separate ambulance call and hospital reservation notification can be withdrawn from the emergency service group.
+
+## **7.4 Support for heterogeneity of specific services**
+
+The identification scheme should be uniform, but identifiers for specific services in a group can be heterogeneous. The specific services would be based on different IoT resources. In addition, an identifier will only be exploited for its own specific service. The resolution framework is required to support heterogeneity of specific services.
+
+# **8 OID-based resolution framework of grouped services**
+
+## **8.1 General architecture**
+
+Figure 3 presents a general architecture of an OID-based resolution framework for IoT grouped services. In Figure 3, there are three types of components: object identifier resolution server (ORS), group service resolution server (GRS), and service registries operated by service providers. The key components of the framework are ORS and GRS. The ORS is interconnected with the GRS, and the GRS is interconnected with service registries of service providers to manage the information about groups of services. Each service registry manages the information of specific services provided by service providers.
+
+Service providers have their own identification schemes for providing specific services on their own, and they have a service registry to manage service-related information. The GRS manages information about groups of services and connects the user to the specific services that are required.
+
+
+
+Figure 3: General architecture of OID-based resolution framework for IoT grouped services. The diagram shows a central 'Internet' cloud connected to three service providers (A, B, and C) and two resolution servers. Service provider A (e.g., 911) has a 'Server' and a 'Service registry'. Service provider B (e.g., Hospital) has a 'Server' and a 'Service registry'. Service provider C (e.g., Police) has a 'Server' and a 'Service registry'. The 'Users' (e.g., Car accident) are connected to the 'Internet' cloud. The 'Group service resolution servers' and 'OID resolution servers' are also connected to the 'Internet' cloud. The diagram is labeled with 'X.676(18)\_F03'.
+
+**Figure 3 – General architecture of OID-based resolution framework for IoT grouped services**
+
+## 8.2 Components
+
+#### 8.2.1 Group service resolution server
+
+Group service resolution server plays the role of group management for IoT services and identification for groups. The GRS has a database including OIDs and corresponding group IDs. The OIDs in the GRS are also exploited as the key values to identify group IDs; thus, the GRS returns corresponding group IDs and an address of service registry. In addition, the GRS manages another mapping database for mapping group IDs and corresponding service IDs. Finally, the GRS requests to conduct a required IoT service to its SP by using the mapping database.
+
+#### 8.2.2 Object identifier resolution server
+
+An ORS [ITU-T X.672] plays the role of a centralized management and identification server for the GRS. The ORS includes databases of OIDs and uniform resource identifiers (URIs) (based on UINF [ITU-T X.672], see ) of the GRSs. OIDs are utilized as key values to identify GRSs. When a user sends an OID value to the ORS, the ORS returns the URI value of a corresponding GRS.
+
+#### 8.2.3 Service registry
+
+Service registry (SR) is a local resolution system to support specific services. A local SP has and manages one SR, and the SR manages a database(s) of service IDs and corresponding services. This database is used for the SR to lookup a service ID for a corresponding service, which its SP conducts. The service ID schemes can be heterogeneous according to SPs, so none of the service IDs need to be created with the same rule.
+
+## 8.3 OID assignment
+
+OIDs are predefined and have globally unique values, which are respectively assigned to all GRSs. This means that each group of IoT services can be identified by assigned OIDs because a group ID is assigned to only one GRS. OIDs are used as well-known values in public-like port numbers of transmission control protocol/Internet protocol (TCP/IP). Therefore, this enables all nodes to be aware of OID values related to a group of IoT services.
+
+# 9 Procedures of OID-based resolution framework of grouped services
+
+### 9.1 Registration procedure
+
+First, IoT services are required to be registered for grouping and management; furthermore, groups of IoT services are also required to be identified by OIDs. Therefore, the OID-based resolution framework provides a two-level registration approach, such as specific IoT services from service providers to GRSs and GRSs to ORS as shown in Figure 4. The OIDs (2.999.1.1, 2.999.1.2, 2.999.2.1) are used as examples.
+
+
+
+The diagram illustrates the registration procedure in a two-level framework. At the bottom, two service providers are shown: Service provider A (e.g., Police) and Service provider B (e.g., 911). Each provider has a 'Service registry' icon. Service provider A's registry contains: 'Service provider A: regID(a×01)' and '– sID(001): "call police" – sID(002): ...'. Service provider B's registry contains: 'Service provider B: regID(b×01)' and '– sID(00a): "call 911" – sID(00b): ...'. Blue arrows labeled 'Registration request (service ID, registry ID)' point from each provider's registry to a central 'Group service resolution server'. This server has a 'List of groups' box containing 'OID(2.999.1.1)-URI(..01)', '– OID(2.999.1.1): gID(01)', '– OID(2.999.1.2) – gID(02)', and '...'. It also has a 'Database' box containing '– gID(01): sID(001)-regID(a×01), sID(00a)-regID(b×01)', '– gID(02): ...'. Yellow arrows show a 'Registration request (group ID)' from the server to an 'OID resolution server' (represented by server icons) and a 'Registration reply (corresponding OID)' back. The 'OID resolution server' has a 'database of ORS' box containing '– OID(2.999.1.1): URI(..01)', '– OID(2.999.1.2): URI(..01)', '– OID(2.999.2.1): URI(..02)', and '...'. A blue arrow labeled 'Registration request (service ID, registry ID)' also points from the 'Group service resolution server' to the 'OID resolution server'. At the bottom right, the text 'X.676(18)\_F04' is present.
+
+Figure 4 – Service and OID registration procedure diagram
+
+Figure 4 – Service and OID registration procedure
+
+#### 9.1.1 Registration to group service resolution server
+
+To start, SPs have an SR, and the corresponding IoT service gets registered by the SPs. Next, a new service ID corresponding to the IoT service is created, and the two-tier information (service ID-IoT service) is stored in and managed by the SR. The service IDs can be created by different generation mechanisms with different ID formats; that is, different SPs can make service IDs with different ID
+
+formats. There is no problem in managing and identifying them by the GRS because the GRS utilizes additional pairing information, such as an SR ID with its service ID.
+
+All of the SRs are connected to the GRS. The SRs send their own IDs and service IDs to the GRS whenever any IoT service is registered or every regular time. Then the GRS manages a database including all the information of IoT services, such as service ID, its SR ID, its SP information and service-related details. In addition, the GRS manages another list including group IDs and corresponding OIDs. The group IDs is generated by the GRS on demand from GRS operators. If a group of IoT services is required, a group is made in the database, and an ID for the group is generated. However, the GRS cannot generate OIDs by itself, so when a group of IoT services is created, the GRS requests an OID to the ORS by sending its URI.
+
+#### 9.1.2 Registration to OID resolution server
+
+At this next stage, when the ORS is requested by the GRS, the ORS assigns an OID for the group ID reply to the assigned OID to the GRS. Finally, the GRS manages the pairing information of a group ID and its corresponding OID in the list of groups.
+
+## 9.2 Resolution procedures
+
+This clause presents OID-based resolution procedure for a group of IoT services as shown in Figure 5. This procedure assumes that all the components are interconnected for networking through the Internet and information for networking to the GRS and ORS is well known. In addition, these procedures are presented under the situation where an emergency (i.e., accident) occurs.
+
+
+
+The diagram illustrates the OID-based resolution procedure for a group of IoT services. It shows the following components and their interactions:
+
+- User:** Initiates the request with "I want to request 'Emergency service': e.g., OID(2.999.1.1)".
+- Group service resolution server (GRS):**
+ - Contains a **List of groups:**
+ - OID(2.999.1.1)-URI(..01)
+ - OID(2.999.1.1): gID(01)
+ - OID(2.999.1.2): gID(02)
+ - ...
+ - Contains a **Database:**
+ - gID(01): sID(001)-regID(a×01), sID(00a)-regID(b×01)
+ - gID(02): ...
+ - ...
+- OID resolution server (ORS):**
+ - Contains a **database of ORS:**
+ - OID(2.999.1.1): URI(..01)
+ - OID(2.999.1.2): URI(..01)
+ - OID(2.999.2.1): URI(..02)
+ - ...
+- Service provider A:**
+ - Contains a **Service registry:**
+ - regID(a×01)
+ - sID(001): "Call police"
+ - sID(002): ...
+- Service provider B:**
+ - Contains a **Service registry:**
+ - regID(b×01)
+ - sID(00a): "Call 911"
+ - sID(00b): ...
+
+The resolution procedure steps are as follows:
+
+- ①** The User sends the request to the ORS.
+- ②** The ORS returns the URI(..01) to the User.
+- ③** The User sends the request to the GRS.
+- ④** The GRS returns the gID(01), details to the User.
+- ⑤** The User sends the request to the Service providers (A and B).
+- ⑥** The Service providers (A and B) conduct the "Call police" or "Call 911" action.
+
+Figure 5: OID-based resolution procedure for a group of IoT services. The diagram illustrates the flow of information between a User, Group service resolution server (GRS), OID resolution server (ORS), and two Service providers (A and B) during an emergency request.
+
+Figure 5 – OID-based resolution procedure for a group of IoT services
+
+- 1) User sends OID (e.g., 2.999.1.1) to ORS.
+: An emergency (i.e., accident) occurs. One of the people nearby (i.e., the user) opens an application in their mobile phone to request a group of IoT services, "Emergency Service". When the user clicks a button for "Emergency Service", a corresponding OID (2.999.1.1) is sent to a designated ORS inside the application.
+- 2) The ORS retrieves a corresponding value (URI) of the OID (2.999.1.1) from its database, and the correct URI (e.g., 01) of a GRS is replied from the ORS to the user's application.
+- 3) The user sends the OID (2.999.1.1) to the GRS.
+: The user's application gets information for connection to the GRS from the replied URI (01) information. The user's application sends the OID (2.999.1.1) to the GRS for obtaining information about a group of IoT services of "Emergency Service".
+- 4) The GRS returns a group ID (e.g., 01) and information for "Emergency Service" to the user.
+: The GRS receives the OID (2.999.1.1) and retrieves a group ID with the OID (2.999.1.1) from its list of groups. Then the retrieved group ID (01) is exploited to look up information of IoT services which belong to the group. Finally, the group ID (01) and related information about SR and SP (e.g., a network address, specific service ID) is sent to the user's application.
+- 5) Each service ID (e.g., 001 and 00a) is separately sent to the SR.
+: The user receives all the information required for requesting the grouped services. The user separately requests the related IoT services of the group with service IDs (001 and 00a) to the corresponding SRs. When an SR receives the request from the GRS, the SP is notified for conducting a service.
+- 6) The SP initiates and conducts the services (i.e., "call police" and "call 911").
+: All the IoT services which belong to the group are conducted via a one-stop request.
+
+# 10 Security considerations
+
+The OID-based resolution framework is processed with the assumption that the GRS and ORS information is well known. If the information of the GRS and ORS is attacked by a third party, the IoT services and group management cannot be provided, and it also can have negative results for users. All of the input and output values of the GRS and ORS must be secured.
+
+## Appendix I
+
+### Use cases for grouped services in IoT
+
+(This appendix does not form an integral part of this Recommendation.)
+
+For understanding the key concepts of OID-based resolution framework for grouped services, this appendix introduces possible use cases for grouped services.
+
+Hundreds and thousands of IoT services will be provided based on heterogeneous resources in converged manners, and also some tightly coupled IoT services can have a common service plan and the same objective for higher efficiency than separate services as shown in Figure I.1. For these reasons, the tightly coupled services can be grouped and provided simultaneously as one service (e.g., one-stop-service).
+
+
+
+X.676(18)\_Fl.1
+
+A Venn diagram illustrating the convergence of IoT services across four domains: Smart city, Smart home, Smart transportation, and Smart community. The central intersection of all four domains is labeled 'A common IoT architecture'. The intersections between two domains contain shared services: Smart city and Smart home share 'Security and emergency' and 'Energy saving'; Smart city and Smart transportation share 'Goods monitoring', 'Smart supply chain', and 'Logistics'; Smart city and Smart community share 'Smart grid', 'Smart logistic centre', and 'Vehicle positioning and scheduling'; Smart home and Smart community share 'Window/door control', 'Gas/smoke detector', 'Air conditioner control', and 'infrared sensor'; Smart home and Smart transportation share 'Smart parking' and 'Patient positioning'; Smart transportation and Smart community share 'Vehicle positioning and scheduling' and 'Real time traffic monitoring'. The domains are labeled: Smart city (Electric vehicles, City car sharing, Infrastructure monitoring, Agriculture, Mining, Smart grid), Smart home (Home automation, Personal application, Healthcare, Remote control/emergency button, Tele medical care), Smart transportation (E-toll, Traffic light control, Navigation, Real time traffic monitoring, Traffic management), and Smart community (Smart parking, Patient positioning).
+
+Figure I.1 – Examples of common services among different domains
+
+### I.1 Grouped services for a building on fire
+
+There are many services which should be provided in a critical time period. For example, when a building is suddenly on fire, cooperative work and processes are required to rescue people and to rapidly fight the fire.
+
+
+
+A photograph of a tall building engulfed in flames, with thick black smoke billowing from the top. The building is surrounded by other modern skyscrapers in an urban setting.
+
+A photograph of a tall building engulfed in flames, with thick black smoke billowing from the top. The building is surrounded by other modern skyscrapers in an urban setting.
+
+**Figure I.2 – Building on fire**
+
+First, the building operators should activate fire alarms in the building, and 911 and police should be called. All built-in devices (e.g., doors, locks, lights, elevators) are operated together as an emergency evacuation system. If one button for emergency is clicked, all devices should cooperatively work to help people escape from inside the building. This can be done with an one-stop-service based on IoT technologies.
+
+## **I.2 Grouped daily services at a smart home**
+
+IoT technology is applied to many home services in smart homes. For instance, air-conditioning, security (locks), lighting, electronics, charging devices (e.g., car), wake-up calls, coffee-making, bath preparation, robot-cleaning, tracking (e.g., CCTV), laundry, delivery, and so on.
+
+All of these services are not always required 24 hours per day, but each service or some of them are temporarily required during certain situations. When people are sleeping at night, some appliances are activated to ensure the best conditions for sleeping (e.g., air-conditioning, door/window locking, lighting for proper sleep, electronics turned off). Home services are reorganized to make the optimized home conditions for different objectives.
+
+According to the objectives of a smart home, work can be grouped. Figure I.3 (a) shows an example grouping of smart home services, such as sleeping mode, going to work, being-out, returning home, and break time. Figure I.3 (b) also shows a real example of a smart phone app used to control home appliances according to the grouped services.
+
+
+
+**Daily life at smart home**
+
+**Break time**
+
+- Community services On
+- Lighting and electronics On
+
+**Sleeping mode**
+
+- Air-conditioning
+- Security (locks)
+- Lighting (sleep mode)
+- Electronics (night mode)
+
+**Going to work**
+
+- Wake-up call
+- Coffee-making
+- Bath preparation
+
+**Being-out**
+
+- Security (locks and visitor check)
+- Security (locks and visitor check, CCTV...)
+- Robot-cleaning
+- Lighting and electronics off
+
+**Returning home**
+
+- Bath preparation
+- Air-conditioning
+- Delivery services (food, laundry,...)
+
+a)
+
+**Smart Home App Interface**
+
+Group of services:
+Going out, Coming home, Good night, Good morning
+
+Air purifier: Good
+
+Chat control
+Not chat history.
+
+Add service
+
+b)
+
+X.676(18)\_FI.3
+
+Figure I.3 – Grouped services in a smart home. (a) A circular diagram titled 'Daily life at smart home' showing five main activity periods: Break time, Sleeping mode, Going to work, Being-out, and Returning home, each with associated services. (b) A screenshot of a smart home app interface showing a service group for 'Going out', 'Coming home', 'Good night', and 'Good morning'.
+
+**Figure I.3 – Grouped services in a smart home**
+
+## Bibliography
+
+- [b-ITU-T Y.2091] Recommendation ITU-T Y.2091 (2011), *Terms and definitions for next generation networks*.
+- [b-ITU-T Y.4500.1] Recommendation ITU-T Y.4500.1 (2018), *oneM2M – Functional architecture*.
+- [b-ITU-T TR UseCase] Technical Report ITU-T YSTR-M2M-UseCase (2017), *oneM2M – Use case collection*.
+
+
+
+## SERIES OF ITU-T RECOMMENDATIONS
+
+| | |
+|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Series A | Organization of the work of ITU-T |
+| Series D | Tariff and accounting principles and international telecommunication/ICT economic and policy issues |
+| Series E | Overall network operation, telephone service, service operation and human factors |
+| Series F | Non-telephone telecommunication services |
+| Series G | Transmission systems and media, digital systems and networks |
+| Series H | Audiovisual and multimedia systems |
+| Series I | Integrated services digital network |
+| Series J | Cable networks and transmission of television, sound programme and other multimedia signals |
+| Series K | Protection against interference |
+| Series L | Environment and ICTs, climate change, e-waste, energy efficiency; construction, installation and protection of cables and other elements of outside plant |
+| Series M | Telecommunication management, including TMN and network maintenance |
+| Series N | Maintenance: international sound programme and television transmission circuits |
+| Series O | Specifications of measuring equipment |
+| Series P | Telephone transmission quality, telephone installations, local line networks |
+| Series Q | Switching and signalling, and associated measurements and tests |
+| Series R | Telegraph transmission |
+| Series S | Telegraph services terminal equipment |
+| Series T | Terminals for telematic services |
+| Series U | Telegraph switching |
+| Series V | Data communication over the telephone network |
+| Series X | Data networks, open system communications and security |
+| Series Y | Global information infrastructure, Internet protocol aspects, next-generation networks, Internet of Things and smart cities |
+| Series Z | Languages and general software aspects for telecommunication systems |
\ No newline at end of file
diff --git a/marked/X/T-REC-X.680-202102-I_PDF-E/raw.md b/marked/X/T-REC-X.680-202102-I_PDF-E/raw.md
new file mode 100644
index 0000000000000000000000000000000000000000..b412a0e8ccbda4cb269b57496ed7de3203b5f3c0
--- /dev/null
+++ b/marked/X/T-REC-X.680-202102-I_PDF-E/raw.md
@@ -0,0 +1,10995 @@
+
+
+I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n U n i o n
+
+# ITU-T
+
+TELECOMMUNICATION
+STANDARDIZATION SECTOR
+OF ITU
+
+## X.680
+
+(02/2021)
+
+SERIES X: DATA NETWORKS, OPEN SYSTEM
+COMMUNICATIONS AND SECURITY
+
+OSI networking and system aspects – Abstract Syntax
+Notation One (ASN.1)
+
+# --- **Information technology – Abstract Syntax Notation One (ASN.1): Specification of basic notation**
+
+Recommendation ITU-T X.680
+
+## ITU-T X-SERIES RECOMMENDATIONS DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY
+
+## PUBLIC DATA NETWORKS
+
+| | |
+|----------------------------------------|-------------|
+| Services and facilities | X.1–X.19 |
+| Interfaces | X.20–X.49 |
+| Transmission, signalling and switching | X.50–X.89 |
+| Network aspects | X.90–X.149 |
+| Maintenance | X.150–X.179 |
+| Administrative arrangements | X.180–X.199 |
+
+## OPEN SYSTEMS INTERCONNECTION
+
+| | |
+|---------------------------------------------|-------------|
+| Model and notation | X.200–X.209 |
+| Service definitions | X.210–X.219 |
+| Connection-mode protocol specifications | X.220–X.229 |
+| Connectionless-mode protocol specifications | X.230–X.239 |
+| PICS proformas | X.240–X.259 |
+| Protocol Identification | X.260–X.269 |
+| Security Protocols | X.270–X.279 |
+| Layer Managed Objects | X.280–X.289 |
+| Conformance testing | X.290–X.299 |
+
+## INTERWORKING BETWEEN NETWORKS
+
+| | |
+|-------------------------------------|-------------|
+| General | X.300–X.349 |
+| Satellite data transmission systems | X.350–X.369 |
+| IP-based networks | X.370–X.379 |
+
+## MESSAGE HANDLING SYSTEMS
+
+| | |
+|-----------|-------------|
+| DIRECTORY | X.400–X.499 |
+| | X.500–X.599 |
+
+## OSI NETWORKING AND SYSTEM ASPECTS
+
+| | |
+|-------------------------------------|-------------|
+| Networking | X.600–X.629 |
+| Efficiency | X.630–X.639 |
+| Quality of service | X.640–X.649 |
+| Naming, Addressing and Registration | X.650–X.679 |
+
+| | |
+|---------------------------------------------|--------------------|
+| Abstract Syntax Notation One (ASN.1) | X.680–X.699 |
+|---------------------------------------------|--------------------|
+
+## OSI MANAGEMENT
+
+| | |
+|-----------------------------------------------|-------------|
+| Systems management framework and architecture | X.700–X.709 |
+| Management communication service and protocol | X.710–X.719 |
+| Structure of management information | X.720–X.729 |
+| Management functions and ODMA functions | X.730–X.799 |
+
+| | |
+|----------|-------------|
+| SECURITY | X.800–X.849 |
+|----------|-------------|
+
+## OSI APPLICATIONS
+
+| | |
+|--------------------------------------|-------------|
+| Commitment, concurrency and recovery | X.850–X.859 |
+| Transaction processing | X.860–X.879 |
+| Remote operations | X.880–X.889 |
+| Generic applications of ASN.1 | X.890–X.899 |
+
+| | |
+|-----------------------------|-------------|
+| OPEN DISTRIBUTED PROCESSING | X.900–X.999 |
+|-----------------------------|-------------|
+
+| | |
+|----------------------------------|---------------|
+| INFORMATION AND NETWORK SECURITY | X.1000–X.1099 |
+|----------------------------------|---------------|
+
+| | |
+|--------------------------------------|---------------|
+| SECURE APPLICATIONS AND SERVICES (1) | X.1100–X.1199 |
+|--------------------------------------|---------------|
+
+| | |
+|---------------------|---------------|
+| CYBERSPACE SECURITY | X.1200–X.1299 |
+|---------------------|---------------|
+
+| | |
+|--------------------------------------|---------------|
+| SECURE APPLICATIONS AND SERVICES (2) | X.1300–X.1499 |
+|--------------------------------------|---------------|
+
+| | |
+|------------------------------------|---------------|
+| CYBERSECURITY INFORMATION EXCHANGE | X.1500–X.1599 |
+|------------------------------------|---------------|
+
+| | |
+|--------------------------|---------------|
+| CLOUD COMPUTING SECURITY | X.1600–X.1699 |
+|--------------------------|---------------|
+
+| | |
+|-----------------------|---------------|
+| QUANTUM COMMUNICATION | X.1700–X.1729 |
+|-----------------------|---------------|
+
+| | |
+|---------------|---------------|
+| DATA SECURITY | X.1750–X.1799 |
+|---------------|---------------|
+
+| | |
+|-------------|---------------|
+| 5G SECURITY | X.1800–X.1819 |
+|-------------|---------------|
+
+For further details, please refer to the list of ITU-T Recommendations.
+
+# **Information technology – Abstract Syntax Notation One (ASN.1):** **Specification of basic notation**
+
+## Summary
+
+Recommendation ITU-T X.680 | ISO/IEC 8824-1 provides a notation called Abstract Syntax Notation One (ASN.1) for defining the syntax of information data. It defines a number of simple data types and specifies a notation for referencing these types and for specifying values of these types.
+
+The ASN.1 notations can be applied whenever it is necessary to define the abstract syntax of information without constraining in any way how the information is encoded for transmission.
+
+## History
+
+| Edition | Recommendation | Approval | Study Group | Unique ID* |
+|---------|-------------------------------------------|------------|-------------|------------------------------------|
+| 1.0 | ITU-T X.680 | 1994-07-01 | 7 | 11.1002/1000/3040 |
+| 1.1 | ITU-T X.680 (1994) Amd. 1 | 1995-04-10 | 7 | 11.1002/1000/3041 |
+| 1.2 | ITU-T X.680 (1994) Technical Cor. 1 | 1995-11-21 | 7 | 11.1002/1000/3282 |
+| 1.3 | ITU-T X.680 (1994) Technical Cor. 2 | 1997-12-12 | 7 | 11.1002/1000/4180 |
+| 1.4 | ITU-T X.680 (1994) Amd. 1/Technical Cor.1 | 1997-12-12 | 7 | 11.1002/1000/4179 |
+| 1.5 | ITU-T X.680 (1994) Amd. 2 | 1997-12-12 | 7 | 11.1002/1000/4181 |
+| 2.0 | ITU-T X.680 | 1997-12-12 | 7 | 11.1002/1000/4449 |
+| 2.1 | ITU-T X.680 (1997) Technical Cor. 1 | 1999-06-18 | 7 | 11.1002/1000/4700 |
+| 2.2 | ITU-T X.680 (1997) Amd. 1 | 1999-06-18 | 7 | 11.1002/1000/4698 |
+| 2.3 | ITU-T X.680 (1997) Amd. 2 | 1999-06-18 | 7 | 11.1002/1000/4699 |
+| 2.4 | ITU-T X.680 (1997) Technical Cor. 2 | 2000-03-31 | 7 | 11.1002/1000/5046 |
+| 2.5 | ITU-T X.680 (1997) Technical Cor. 3 | 2001-02-02 | 7 | 11.1002/1000/5331 |
+| 2.6 | ITU-T X.680 (1997) Technical Cor. 4 | 2001-03-15 | 7 | 11.1002/1000/5332 |
+| 2.7 | ITU-T X.680 (1997) Amd. 3 | 2001-10-29 | 7 | 11.1002/1000/5562 |
+| 2.8 | ITU-T X.680 (1997) Amd. 4 | 2001-10-29 | 7 | 11.1002/1000/5563 |
+| 3.0 | ITU-T X.680 | 2002-07-14 | 17 | 11.1002/1000/6085 |
+| 3.1 | ITU-T X.680 (2002) Amd. 1 | 2003-10-29 | 17 | 11.1002/1000/7019 |
+| 3.2 | ITU-T X.680 (2002) Amd. 2 | 2004-08-29 | 17 | 11.1002/1000/7291 |
+| 3.3 | ITU-T X.680 (2002) Technical Cor. 1 | 2005-05-14 | 17 | 11.1002/1000/8512 |
+| 3.4 | ITU-T X.680 (2002) Amd. 3 | 2006-06-13 | 17 | 11.1002/1000/8836 |
+| 3.5 | ITU-T X.680 (2002) Amd. 4 | 2007-05-29 | 17 | 11.1002/1000/9105 |
+| 4.0 | ITU-T X.680 | 2008-11-13 | 17 | 11.1002/1000/9604 |
+| 4.1 | ITU-T X.680 (2008) Cor. 1 | 2011-10-14 | 17 | 11.1002/1000/11376 |
+| 4.2 | ITU-T X.680 (2008) Cor. 2 | 2014-03-01 | 17 | 11.1002/1000/12144 |
+| 5.0 | ITU-T X.680 | 2015-08-13 | 17 | 11.1002/1000/12479 |
+| 5.1 | ITU-T X.680 (2015) Cor. 1 | 2017-05-14 | 17 | 11.1002/1000/13257 |
+| 5.2 | ITU-T X.680 (2015) Cor. 2 | 2017-10-14 | 17 | 11.1002/1000/13361 |
+| 5.3 | ITU-T X.680 (2015) Cor. 3 | 2018-05-14 | 17 | 11.1002/1000/13598 |
+| 5.4 | ITU-T X.680 (2015) Amd. 1 | 2018-05-14 | 17 | 11.1002/1000/13597 |
+| 6.0 | ITU-T X.680 | 2021-02-13 | 17 | 11.1002/1000/14468 |
+
+---
+
+\* To access the Recommendation, type the URL in the address field of your web browser, followed by the Recommendation's unique ID. For example, .
+
+## FOREWORD
+
+The International Telecommunication Union (ITU) is the United Nations specialized agency in the field of telecommunications, information and communication technologies (ICTs). The ITU Telecommunication Standardization Sector (ITU-T) is a permanent organ of ITU. ITU-T is responsible for studying technical, operating and tariff questions and issuing Recommendations on them with a view to standardizing telecommunications on a worldwide basis.
+
+The World Telecommunication Standardization Assembly (WTSA), which meets every four years, establishes the topics for study by the ITU-T study groups which, in turn, produce Recommendations on these topics.
+
+The approval of ITU-T Recommendations is covered by the procedure laid down in WTSA Resolution 1.
+
+In some areas of information technology which fall within ITU-T's purview, the necessary standards are prepared on a collaborative basis with ISO and IEC.
+
+## NOTE
+
+In this Recommendation, the expression "Administration" is used for conciseness to indicate both a telecommunication administration and a recognized operating agency.
+
+Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some other obligatory language such as "must" and the negative equivalents are used to express requirements. The use of such words does not suggest that compliance with the Recommendation is required of any party.
+
+## INTELLECTUAL PROPERTY RIGHTS
+
+ITU draws attention to the possibility that the practice or implementation of this Recommendation may involve the use of a claimed Intellectual Property Right. ITU takes no position concerning the evidence, validity or applicability of claimed Intellectual Property Rights, whether asserted by ITU members or others outside of the Recommendation development process.
+
+As of the date of approval of this Recommendation, ITU had not received notice of intellectual property, protected by patents/software copyrights, which may be required to implement this Recommendation. However, implementers are cautioned that this may not represent the latest information and are therefore strongly urged to consult the appropriate ITU-T databases available via the ITU-T website at .
+
+© ITU 2021
+
+All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the prior written permission of ITU.
+
+## CONTENTS
+
+| | Page |
+|---------------------------------------------------------------|-------------|
+| Introduction ..... | viii |
+| 1 Scope ..... | 1 |
+| 2 Normative references ..... | 1 |
+| 2.1 Identical Recommendations International Standards ..... | 1 |
+| 2.2 Additional references ..... | 2 |
+| 3 Definitions ..... | 2 |
+| 3.1 International Object Identifier tree specification ..... | 2 |
+| 3.2 Information object specification ..... | 2 |
+| 3.3 Constraint specification ..... | 3 |
+| 3.4 Parameterization of ASN.1 specification ..... | 3 |
+| 3.5 Structure for identification of organizations ..... | 3 |
+| 3.6 Universal Multiple-Octet Coded Character Set (UCS) ..... | 3 |
+| 3.7 Representation of dates and times ..... | 3 |
+| 3.8 Additional definitions ..... | 4 |
+| 4 Abbreviations ..... | 9 |
+| 5 Notation ..... | 9 |
+| 5.1 General ..... | 9 |
+| 5.2 Productions ..... | 10 |
+| 5.3 The alternative collections ..... | 10 |
+| 5.4 Non-spacing indicator ..... | 10 |
+| 5.5 Example of a production ..... | 10 |
+| 5.6 Layout ..... | 10 |
+| 5.7 Recursion ..... | 11 |
+| 5.8 References to permitted sequences of lexical items ..... | 11 |
+| 5.9 References to a lexical item ..... | 11 |
+| 5.10 Short-hand notations ..... | 11 |
+| 5.11 Value references and the typing of values ..... | 12 |
+| 6 The ASN.1 model of type extension ..... | 12 |
+| 7 Extensibility requirements on encoding rules ..... | 12 |
+| 8 Tags ..... | 13 |
+| 9 Encoding instructions ..... | 14 |
+| 10 Use of the ASN.1 notation ..... | 15 |
+| 11 The ASN.1 character set ..... | 15 |
+| 12 ASN.1 lexical items ..... | 16 |
+| 12.1 General rules ..... | 16 |
+| 12.2 Type references ..... | 17 |
+| 12.3 Identifiers ..... | 17 |
+| 12.4 Value references ..... | 17 |
+| 12.5 Module references ..... | 17 |
+| 12.6 Comments ..... | 17 |
+| 12.7 Empty lexical item ..... | 18 |
+| 12.8 Numbers ..... | 18 |
+| 12.9 Real numbers ..... | 18 |
+| 12.10 Binary strings ..... | 18 |
+| 12.11 XML binary string item ..... | 18 |
+| 12.12 Hexadecimal strings ..... | 18 |
+| 12.13 XML hexadecimal string item ..... | 19 |
+| 12.14 Character strings ..... | 19 |
+| 12.15 XML character string item ..... | 20 |
+| 12.16 The simple character string lexical item ..... | 22 |
+
+| | | |
+|-------|--------------------------------------------------------------------------------|----|
+| 12.17 | Time value character strings ..... | 22 |
+| 12.18 | XML time value character string item ..... | 22 |
+| 12.19 | The property and setting names lexical item ..... | 22 |
+| 12.20 | Assignment lexical item ..... | 22 |
+| 12.21 | Range separator ..... | 22 |
+| 12.22 | Ellipsis ..... | 22 |
+| 12.23 | Left version brackets ..... | 23 |
+| 12.24 | Right version brackets ..... | 23 |
+| 12.25 | Encoding references ..... | 23 |
+| 12.26 | Integer-valued Unicode labels ..... | 23 |
+| 12.27 | Non-integer Unicode labels ..... | 23 |
+| 12.28 | XML end tag start item ..... | 23 |
+| 12.29 | XML single tag end item ..... | 23 |
+| 12.30 | XML boolean true item ..... | 23 |
+| 12.31 | XML boolean extended-true item ..... | 24 |
+| 12.32 | XML boolean false item ..... | 24 |
+| 12.33 | XML boolean extended-false item ..... | 24 |
+| 12.34 | XML real not-a-number item ..... | 24 |
+| 12.35 | XML real infinity item ..... | 24 |
+| 12.36 | XML tag names for ASN.1 types ..... | 25 |
+| 12.37 | Single character lexical items ..... | 26 |
+| 12.38 | Reserved words ..... | 26 |
+| 13 | Module definition ..... | 27 |
+| 14 | Referencing type and value definitions ..... | 31 |
+| 15 | Notation to support references to ASN.1 components ..... | 32 |
+| 16 | Assigning types and values ..... | 33 |
+| 17 | Definition of types and values ..... | 35 |
+| 18 | Notation for the boolean type ..... | 38 |
+| 19 | Notation for the integer type ..... | 38 |
+| 20 | Notation for the enumerated type ..... | 39 |
+| 21 | Notation for the real type ..... | 41 |
+| 22 | Notation for the bitstring type ..... | 42 |
+| 23 | Notation for the octetstring type ..... | 44 |
+| 24 | Notation for the null type ..... | 44 |
+| 25 | Notation for sequence types ..... | 45 |
+| 26 | Notation for sequence-of types ..... | 48 |
+| 27 | Notation for set types ..... | 50 |
+| 28 | Notation for set-of types ..... | 51 |
+| 29 | Notation for choice types ..... | 52 |
+| 30 | Notation for selection types ..... | 54 |
+| 31 | Notation for prefixed types ..... | 54 |
+| | 31.1 General ..... | 54 |
+| | 31.2 The tagged type ..... | 55 |
+| | 31.3 The encoding prefixed type ..... | 55 |
+| 32 | Notation for the object identifier type ..... | 56 |
+| 33 | Notation for the relative object identifier type ..... | 58 |
+| 34 | Notation for the OID internationalized resource identifier type ..... | 59 |
+| 35 | Notation for the relative OID internationalized resource identifier type ..... | 60 |
+| 36 | Notation for the embedded-pdv type ..... | 60 |
+| 37 | Notation for the external type ..... | 62 |
+
+| | | |
+|-------|-------------------------------------------------------------------------------------------------------------|-----|
+| 38 | The time type..... | 63 |
+| 38.1 | General..... | 63 |
+| 38.2 | Time properties and settings of time abstract values..... | 63 |
+| 38.3 | Basic value notation and XML value notation for time abstract values with specified property settings ..... | 67 |
+| 38.4 | Useful time types..... | 71 |
+| 39 | The character string types..... | 72 |
+| 40 | Notation for character string types ..... | 73 |
+| 41 | Definition of restricted character string types ..... | 73 |
+| 42 | Naming characters, collections and property category sets ..... | 77 |
+| 43 | Canonical order of characters..... | 81 |
+| 44 | Definition of unrestricted character string types ..... | 82 |
+| 45 | Notation for types defined in clauses 46 to 48 ..... | 83 |
+| 46 | Generalized time..... | 83 |
+| 47 | Universal time ..... | 84 |
+| 48 | The object descriptor type ..... | 85 |
+| 49 | Constrained types ..... | 86 |
+| 50 | Element set specification..... | 87 |
+| 51 | Subtype elements..... | 89 |
+| 51.1 | General..... | 89 |
+| 51.2 | Single value..... | 90 |
+| 51.3 | Contained subtype..... | 90 |
+| 51.4 | Value range ..... | 90 |
+| 51.5 | Size constraint..... | 91 |
+| 51.6 | Type constraint..... | 91 |
+| 51.7 | Permitted alphabet..... | 91 |
+| 51.8 | Inner subtyping..... | 92 |
+| 51.9 | Pattern constraint..... | 93 |
+| 51.10 | Property settings..... | 93 |
+| 51.11 | Duration range..... | 94 |
+| 51.12 | Time point range ..... | 95 |
+| 51.13 | Recurrence range..... | 95 |
+| 52 | The extension marker ..... | 95 |
+| 53 | The exception identifier..... | 97 |
+| 54 | Encoding control sections..... | 98 |
+| A.1 | Definition ..... | 99 |
+| A.2 | Metacharacters ..... | 99 |
+| B.1 | General..... | 103 |
+| B.2 | The ASN.1 defined time types module ..... | 103 |
+| C.1 | The need for the value mapping concept (tutorial introduction) ..... | 108 |
+| C.2 | Value mappings..... | 110 |
+| C.3 | Identical type definitions..... | 111 |
+| C.4 | Specification of value mappings ..... | 113 |
+| C.5 | Additional value mappings defined for the character string types ..... | 113 |
+| C.6 | Specific type and value compatibility requirements..... | 114 |
+| C.7 | Examples..... | 115 |
+| C.7.2 | Example 1 ..... | 115 |
+| C.7.3 | Example 2 ..... | 115 |
+| C.7.4 | Example 3 ..... | 115 |
+| C.7.5 | Example 4 ..... | 115 |
+| C.7.6 | Example 5 ..... | 115 |
+| C.7.7 | Example 6 ..... | 116 |
+
+| | | |
+|--------|-----------------------------------------------------------------------------------------------------------------------|-----|
+| D.1 | Values assigned in this Recommendation International Standard ..... | 117 |
+| D.2 | Object identifiers in the ASN.1 and encoding rules standards ..... | 117 |
+| F.1 | General ..... | 120 |
+| F.2 | Use of the International Object Identifier tree by the object identifier (OBJECT IDENTIFIER) type ..... | 120 |
+| F.3 | Use of the International Object Identifier tree by the OID internationalized resource identifier (OID-IRI) type ..... | 120 |
+| G.1 | Example of a personnel record ..... | 121 |
+| G.1.1 | Informal description of Personnel Record ..... | 121 |
+| G.1.2 | ASN.1 description of the record structure ..... | 121 |
+| G.1.3 | ASN.1 description of a record value ..... | 122 |
+| G.2 | Guidelines for use of the notation ..... | 122 |
+| G.2.1 | Boolean ..... | 123 |
+| G.2.2 | Integer ..... | 123 |
+| G.2.3 | Enumerated ..... | 123 |
+| G.2.4 | Real ..... | 124 |
+| G.2.5 | Bit string ..... | 124 |
+| G.2.6 | Octet string ..... | 126 |
+| G.2.7 | UniversalString, BMPString and UTF8String ..... | 126 |
+| G.2.8 | CHARACTER STRING ..... | 127 |
+| G.2.9 | Null ..... | 128 |
+| G.2.10 | Sequence and sequence-of ..... | 128 |
+| G.2.11 | Set and set-of ..... | 130 |
+| G.2.12 | Tagged ..... | 132 |
+| G.2.13 | Choice ..... | 133 |
+| G.2.14 | Selection type ..... | 135 |
+| G.2.16 | Embedded-pdv ..... | 136 |
+| G.2.17 | External ..... | 136 |
+| G.2.18 | Instance-of ..... | 136 |
+| G.2.19 | Object identifier ..... | 137 |
+| G.2.20 | OID internationalized resource identifier ..... | 137 |
+| G.2.21 | Relative object identifier ..... | 137 |
+| G.3 | Value notation and property settings (TIME type and useful time types) ..... | 137 |
+| G.3.1 | Date ..... | 137 |
+| G.3.2 | Time of day ..... | 138 |
+| G.3.3 | Date and time of day ..... | 138 |
+| G.3.4 | Time interval ..... | 139 |
+| G.3.5 | Recurring interval ..... | 140 |
+| G.4 | Identifying abstract syntaxes ..... | 140 |
+| G.5 | Subtypes ..... | 141 |
+| H.1 | Character string support in ASN.1 ..... | 145 |
+| H.2 | The UniversalString, UTF8String and BMPString types ..... | 145 |
+| H.3 | On ISO/IEC 10646 conformance requirements ..... | 146 |
+| H.4 | Recommendations for ASN.1 users on ISO/IEC 10646 conformance ..... | 146 |
+| H.5 | Adopted subsets as parameters of the abstract syntax ..... | 147 |
+| H.6 | The CHARACTER STRING type ..... | 147 |
+| I.1 | Overview ..... | 148 |
+| I.2 | Meaning of version numbers ..... | 149 |
+| I.3 | Requirements on encoding rules ..... | 150 |
+| I.4 | Combination of (possibly extensible) constraints ..... | 150 |
+| I.4.1 | Model ..... | 150 |
+| I.4.2 | Serial application of constraints ..... | 150 |
+| I.4.3 | Use of set arithmetic ..... | 151 |
+| I.4.4 | Use of the Contained Subtype notation ..... | 152 |
+| J.1 | The collections of ASN.1 types for times and dates ..... | 153 |
+| J.2 | ISO 8601 key concepts ..... | 153 |
+| J.3 | Abstract values of the TIME type ..... | 154 |
+| J.4 | Time properties of the time abstract values ..... | 155 |
+| J.5 | Value notation ..... | 155 |
+
+| | | |
+|-----|-----------------------------------------------------|-----|
+| J.6 | Use of the ASN.1 subtype notation ..... | 156 |
+| J.7 | The property settings subtype notation ..... | 156 |
+| K.1 | General ..... | 158 |
+| K.2 | Analyzing the full string..... | 158 |
+| K.3 | Analysis of a string containing an interval ..... | 159 |
+| K.4 | Analysis of a string containing a date ..... | 159 |
+| K.5 | Analysis of a string containing a year ..... | 160 |
+| K.6 | Analysis of a string containing a century ..... | 160 |
+| K.7 | Analysis of a string containing a time ..... | 160 |
+| K.8 | Analysis of a string containing a simple time ..... | 161 |
+
+# Introduction
+
+This Recommendation | International Standard presents a standard notation for the definition of data types and values. A *data type* (or *type* for short) is a category of information (for example, numeric, textual, still image or video information). A *data value* (or *value* for short) is an instance of such a type. This Recommendation | International Standard defines several basic types and their corresponding values, and rules for combining them into more complex types and values.
+
+In some protocol architectures, each message is specified as the binary value of a sequence of octets. However, standards-writers need to define quite complex data types to carry their messages, without concern for their binary representation. In order to specify these data types, they require a notation that does not necessarily determine the representation of each value. ASN.1 is such a notation. This notation is supplemented by the specification of one or more algorithms called *encoding rules* that determine the value of the octets that carry the application semantics (called the *transfer syntax*). Rec. ITU-T X.690 | ISO/IEC 8825-1, Rec. ITU-T X.691 | ISO/IEC 8825-2 and Rec. ITU-T X.693 | ISO/IEC 8825-4 specify three families of standardized encoding rules, called *Basic Encoding Rules (BER)*, *Packed Encoding Rules (PER)*, and *XML Encoding Rules (XER)*.
+
+Some users wish to redefine their legacy protocols using ASN.1, but cannot use standardized encoding rules because they need to retain their existing binary representations. Other users wish to have more complete control over the exact layout of the bits on the wire (the transfer syntax). These requirements are addressed by Rec. ITU-T X.692 | ISO/IEC 8825-3 which specifies an *Encoding Control Notation (ECN)* for ASN.1. ECN enables designers to formally specify the abstract syntax of a protocol using ASN.1, but to then (if they so wish) take complete or partial control of the bits on the wire by writing an accompanying ECN specification (which may reference standardized Encoding Rules for some parts of the encoding).
+
+A very general technique for defining a complicated type at the abstract level is to define a small number of *simple types* by defining all possible values of the simple types, then combining these simple types in various ways. Some of the ways of defining new types are as follows:
+
+- a) given an (ordered) list of existing types, a value can be formed as an (ordered) sequence of values, one from each of the existing types; the collection of all possible values obtained in this way is a new type (if the existing types in the list are all distinct, this mechanism can be extended to allow omission of some values from the list);
+- b) given an unordered set of (distinct) existing types, a value can be formed as an (unordered) set of values, one from each of the existing types; the collection of all possible unordered sets of values obtained in this way is a new type (the mechanism can again be extended to allow omission of some values);
+- c) given a single existing type, a value can be formed as an (ordered) list or (unordered) set of zero, one or more values of the existing type; the collection of all possible lists or sets of values obtained in this way is a new type;
+- d) given a list of (distinct) types, a value can be chosen from any one of them; the set of all possible values obtained in this way is a new type;
+- e) given a type, a new type can be formed as a subset of it by using some structure or order relationship among the values.
+
+An important aspect of combining types in this way is that encoding rules should recognize the combining constructs, providing unambiguous encodings of the collection of values of the basic types. Thus, every basic type defined using the notation specified in this Recommendation | International Standard is assigned a *tag* to aid in the unambiguous encoding of values.
+
+Tags are mainly intended for machine use, and are not essential for the human notation defined in this Recommendation | International Standard. Where, however, it is necessary to require that certain types be distinct, this is expressed by requiring that they have distinct tags. The allocation of tags is therefore an important part of the use of this notation, but (since 1994) it is possible to specify the automatic allocation of tags.
+
+NOTE 1 – Within this Recommendation | International Standard, tag values are assigned to all simple types and construction mechanisms. The restrictions placed on the use of the notation ensure that tags can be used in transfer for unambiguous identification of values.
+
+It is also possible to assign encoding instructions to a type in order to affect the encoding of that type. This can be done either by a type prefix placed before a type definition or use of a type reference, or by an encoding control section placed at the end of an ASN.1 module. The generic syntax of type prefixes and encoding control sections is specified in this Recommendation | International Standard, and includes an encoding reference to identify the encoding rules that are modified by the encoding instruction. The semantics and detailed syntax of encoding instructions are specified in the encoding rules Recommendation | International Standard identified by the encoding reference.
+
+An ASN.1 specification will initially be produced with a set of fully defined ASN.1 types. At a later stage, however, it may be necessary to change those types (usually by the addition of extra components in a sequence or set type). If this is to be possible in such a way that implementations using the old type definitions can interwork with implementations using the new type definitions in a defined way, encoding rules need to provide appropriate support. The ASN.1 notation supports the inclusion of an *extension marker* on a number of types. This signals to encoding rules the intention of the designer that this type is one of a series of related types (i.e., versions of the same initial type) called an *extension series*, and that the encoding rules are required to enable information transfer between implementations using different types that are related by being part of the same extension series.
+
+Clauses 11 to 33 (inclusive) define the simple types supported by ASN.1, and specify the notation to be used for referencing simple types and for defining new types using them. Clauses 11 to 33 also specify notations to be used for specifying values of types defined using ASN.1. Two value notations are provided. The first is called the basic ASN.1 value notation, and has been part of the ASN.1 notation since its first introduction. The second is called the XML ASN.1 Value Notation, and provides a value notation using Extensible Markup Language (XML).
+
+NOTE 2 – The XML Value Notation provides a means of representing ASN.1 values using XML. Thus, an ASN.1 type definition also specifies the structure and content of an XML element. This makes ASN.1 a simple schema language for XML.
+
+Clauses 36 to 37 (inclusive) define the types supported by ASN.1 for carrying within them the complete encoding of ASN.1 types.
+
+Clause 38 and Annex B define the types that provide support for ISO 8601.
+
+Clauses 39 to 44 (inclusive) define the character string types.
+
+Clauses 45 to 48 (inclusive) define certain types which are considered to be of general utility, but which require no additional encoding rules.
+
+Clauses 49 to 51 (inclusive) define a notation which enables subtypes to be defined from the values of a parent type.
+
+Clause 52 defines a notation which allows ASN.1 types specified in a "version 1" specification to be identified as likely to be extended in "version 2", and for additions made in subsequent versions to be separately listed and identified with their version number.
+
+Clause 53 defines a notation which allows ASN.1 type definitions to contain an indication of the intended error handling if encodings are received for values which lie outside those specified in the current standardized definition.
+
+Annex A forms an integral part of this Recommendation | International Standard, and specifies ASN.1 regular expressions.
+
+Annex B forms an integral part of this Recommendation | International Standard, and defines an ASN.1 module containing the definition of a set of time types providing the full functionality of ISO 8601. These types can be imported from this ASN.1 module by an application designer if the useful time types specified in clause 38 are not adequate for the application.
+
+Annex C forms an integral part of this Recommendation | International Standard, and specifies rules for type and value compatibility.
+
+Annex D forms an integral part of this Recommendation | International Standard, and records object identifier and object descriptor values assigned in the ASN.1 series of Recommendations | International Standards.
+
+Annex E forms an integral part of this Recommendation | International Standard and specifies the currently defined encoding references and the Recommendation | International Standard that defines the semantics and detailed syntax of encoding instructions with those encoding references.
+
+Annex F does not form an integral part of this Recommendation | International Standard, and references the specification of the top-level arcs of the International Object Identifier tree and the use of that tree to form an OID internationalized resource identifier which can be used as an IRI or URI registered as the "oid" scheme with IANA.
+
+Annex G does not form an integral part of this Recommendation | International Standard, and provides examples and hints on the use of the ASN.1 notation.
+
+Annex H does not form an integral part of this Recommendation | International Standard, and provides a tutorial on ASN.1 character strings.
+
+Annex I does not form an integral part of this Recommendation | International Standard, and provides a tutorial on the ASN.1 model of type extension.
+
+Annex J does not form an integral part of this Recommendation | International Standard and provides a tutorial introduction to ISO 8601 and to the **TIME** type. It is recommended that this be read before the normative text.
+
+Annex K does not form an integral part of this Recommendation | International Standard and provides information on how to identify the time properties of an abstract value from an instance of value notation.
+
+Annex L does not form an integral part of this Recommendation | International Standard, and provides a summary of ASN.1 using the notation of clause 5.
+
+###### **INTERNATIONAL STANDARD ITU-T RECOMMENDATION**
+
+# **Information technology – Abstract Syntax Notation One (ASN.1): Specification of basic notation**
+
+# **1 Scope**
+
+This Recommendation | International Standard provides a standard notation called Abstract Syntax Notation One (ASN.1) that is used for the definition of data types, values, and constraints on data types.
+
+This Recommendation | International Standard:
+
+- defines a number of simple types, with their tags, and specifies a notation for referencing these types and for specifying values of these types;
+- defines mechanisms for constructing new types from more basic types, and specifies a notation for defining such types and assigning them tags, and for specifying values of these types;
+- defines character sets (by reference to other Recommendations and/or International Standards) for use within ASN.1.
+
+The ASN.1 notation can be applied whenever it is necessary to define the abstract syntax of information.
+
+The ASN.1 notation is referenced by other standards which define encoding rules for the ASN.1 types.
+
+# **2 Normative references**
+
+The following Recommendations and International Standards contain provisions which, through reference in this text, constitute provisions of this Recommendation | International Standard. At the time of publication, the editions indicated were valid. All Recommendations and Standards are subject to revision, and parties to agreements based on this Recommendation | International Standard are encouraged to investigate the possibility of applying the most recent edition of the Recommendations and Standards listed below. Members of IEC and ISO maintain registers of currently valid International Standards. The Telecommunication Standardization Bureau of the ITU maintains a list of currently valid ITU-T Recommendations.
+
+NOTE – This Recommendation | International Standard is based on ISO/IEC 10646:2003 and the Unicode standard version 3.2.0:2002. It cannot be applied using later versions of these two standards.
+
+## **2.1 Identical Recommendations | International Standards**
+
+- Recommendation ITU-T X.660 (2011) | ISO/IEC 9834-1:2012, *Information technology – Open Systems Interconnection – Procedures for the operation of OSI Registration Authorities: General procedures and top arcs of the ASN.1 International Object Identifier tree.*
+- Recommendation ITU-T X.681 (2021) | ISO/IEC 8824-2:2021, *Information technology – Abstract Syntax Notation One (ASN.1): Information object specification.*
+- Recommendation ITU-T X.682 (2021) | ISO/IEC 8824-3:2021, *Information technology – Abstract Syntax Notation One (ASN.1): Constraint specification.*
+- Recommendation ITU-T X.683 (2021) | ISO/IEC 8824-4:2021, *Information technology – Abstract Syntax Notation One (ASN.1): Parameterization of ASN.1 specifications.*
+- Recommendation ITU-T X.690 (2021) | ISO/IEC 8825-1:2021, *Information technology – ASN.1 encoding Rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER).*
+- Recommendation ITU-T X.691 (2021) | ISO/IEC 8825-2:2021, *Information technology – ASN.1 encoding rules: Specification of Packed Encoding Rules (PER).*
+- Recommendation ITU-T X.692 (2021) | ISO/IEC 8825-3:2021, *Information technology – ASN.1 encoding rules: Specification of Encoding Control Notation (ECN).*
+- Recommendation ITU-T X.693 (2021) | ISO/IEC 8825-4:2021, *Information technology – ASN.1 encoding rules: XML Encoding Rules (XER).*
+
+- Recommendation ITU-T X.695 (2021) | ISO/IEC 8825-6:2021, *Information technology – ASN.1 encoding rules: Registration and application of PER encoding instructions*.
+
+NOTE – The references above shall be interpreted as references to the identified Recommendations | International Standards together with all their published amendments and technical corrigenda.
+
+## 2.2 Additional references
+
+- Recommendation ITU-R TF.460-6 (2002), *Standard-frequency and time-signal emissions*.
+- CCITT Recommendation T.100 (1988), *International information exchange for interactive Videotex*.
+- Recommendation ITU-T T.101 (1994), *International interworking for Videotex services*.
+- ISO *International Register of Coded Character Sets to be used with Escape Sequences*.
+- ISO/IEC 646:1991, *Information technology – ISO 7-bit coded character set for information interchange*.
+- ISO/IEC 2022:1994, *Information technology – Character code structure and extension techniques*.
+- ISO/IEC 6523:1998, *Data interchange – Structures for the identification of organizations and organization parts*.
+- ISO/IEC 7350:1991, *Information technology – Registration of repertoires of graphic characters from ISO/IEC 10367*.
+- ISO 8601:2019, *Date and time – Representations for information interchange*.
+- ISO/IEC 10646:2003, *Information technology – Universal Multiple-Octet Coded Character Set (UCS)*.
+- The Unicode Standard, Version 3.2.0:2002. The Unicode Consortium. (Reading, MA, Addison-Wesley)
+NOTE 1 – The above reference is included because it provides names for control characters and specifies categories of characters.
+- W3C XML 1.0:2008, *Extensible Markup Language (XML) 1.0 (Fifth Edition)*, *W3C Recommendation*, Copyright ©2008 W3C, (MIT, ERCIM, Keio), .
+
+NOTE – The reference to a document within this Recommendation | International Standard does not give it, as a stand-alone document, the status of a Recommendation or International Standard.
+
+# 3 Definitions
+
+For the purposes of this Recommendation | International Standard, the following definitions apply.
+
+## 3.1 International Object Identifier tree specification
+
+This Recommendation | International Standard uses the following terms defined in Rec. ITU-T X.660 | ISO/IEC 9834-1:
+
+- a) integer-valued Unicode label;
+- b) international object identifier tree;
+- c) OID internationalized resource identifier;
+- d) long arc;
+- e) object identifier;
+- f) primary integer value;
+- g) secondary identifier;
+- h) Unicode label.
+
+## 3.2 Information object specification
+
+This Recommendation | International Standard uses the following terms defined in Rec. ITU-T X.681 | ISO/IEC 8824-2:
+
+- a) information object;
+- b) information object class;
+- c) information object set;
+- d) instance-of type;
+- e) object class field type.
+
+## 3.3 Constraint specification
+
+This Recommendation | International Standard uses the following terms defined in Rec. ITU-T X.682 | ISO/IEC 8824-3:
+
+- a) component relation constraint;
+- b) table constraint.
+
+## 3.4 Parameterization of ASN.1 specification
+
+This Recommendation | International Standard uses the following terms defined in Rec. ITU-T X.683 | ISO/IEC 8824-4:
+
+- a) parameterized type;
+- b) parameterized value.
+
+## 3.5 Structure for identification of organizations
+
+This Recommendation | International Standard uses the following terms defined in ISO/IEC 6523:
+
+- a) issuing organization;
+- b) organization code;
+- c) International Code Designator.
+
+## 3.6 Universal Multiple-Octet Coded Character Set (UCS)
+
+This Recommendation | International Standard uses the following terms defined in ISO/IEC 10646:
+
+- a) Basic Multilingual Plane (BMP);
+- b) cell;
+- c) combining character;
+- d) graphic symbol;
+- e) group;
+- f) limited subset;
+- g) plane;
+- h) row;
+- i) selected subset.
+
+## 3.7 Representation of dates and times
+
+This Recommendation | International Standard uses the following terms defined in ISO 8601:
+
+- a) basic format;
+- b) calendar date;
+- c) common year;
+- d) duration;
+- e) extended format;
+- f) Gregorian calendar;
+- g) instant;
+- h) leap second;
+- i) leap year;
+- j) local time of day;
+- k) ordinal date;
+- l) recurring time interval
+- m) time axis;
+- n) time interval;
+- o) time;
+- p) time-scale;
+- q) UTC;
+
+r) week date.
+
+## 3.8 Additional definitions
+
+**3.8.1 abstract character:** An abstract value which is used for the organization, control or representation of textual data.
+
+NOTE – Annex H provides a more complete description of the term abstract character.
+
+**3.8.2 abstract value:** A value whose definition is based only on the type used to carry some semantics, independently of how it is represented in any encoding.
+
+NOTE – Examples of abstract values are the values of the integer type, the boolean type, a character string type, or of a type which is a sequence (or a choice) of an integer and a boolean.
+
+**3.8.3 additional time type:** A type defined as a subtype of the time type (see 3.8.83) by applying the property setting subtype notation to the time type or to a useful or defined time type.
+
+**3.8.4 ASN.1 character set:** The set of characters, specified in clause 11, used in the ASN.1 notation.
+
+**3.8.5 ASN.1 specification:** A collection of one or more ASN.1 modules.
+
+**3.8.6 associated type:** A type which is used only for defining the value and subtype notation for a type.
+
+NOTE – Associated types are defined in this Recommendation | International Standard when it is necessary to make it clear that there may be a significant difference between how the type is defined in ASN.1 and how it is encoded. Associated types do not appear in user specifications.
+
+**3.8.7 bitstring type:** A simple type whose distinguished values are an ordered sequence of zero, one or more bits.
+
+NOTE – Where there is a need to carry embedded encodings of an abstract value, the use of a bitstring (or an octetstring) type without a contents constraint (see Rec. ITU-T X.682 | ISO/IEC 8824-3, clause 11) is deprecated. Otherwise, the use of the embedded-pdv type (see clause 36) provides a more flexible mechanism, allowing the announcement of the abstract syntax and of the encoding of the abstract value that is embedded.
+
+**3.8.8 boolean type:** A simple type with two distinguished values.
+
+**3.8.9 character property:** The set of information associated with a cell in a table defining a character repertoire.
+
+NOTE – The information will normally include some or all of the following items:
+
+- a) a graphic symbol;
+- b) a character name;
+- c) the definition of functions associated with the character when used in particular environments;
+- d) whether it represents a digit;
+- e) an associated character differing only in (upper/lower) case.
+
+**3.8.10 character abstract syntax:** Any abstract syntax whose values are specified as the set of character strings of zero, one or more characters from some specified collection of characters.
+
+**3.8.11 character repertoire:** The characters in a character set without any implication on how such characters are encoded.
+
+**3.8.12 character string types:** Simple types whose values are strings of characters from some defined character set.
+
+**3.8.13 character transfer syntax:** Any transfer syntax for a character abstract syntax.
+
+**3.8.14 choice types:** Types defined by referencing a list of distinct types; each value of the choice type is derived from the value of one of the component types.
+
+**3.8.15 component type:** One of the types referenced when defining a **CHOICE**, **SET**, **SEQUENCE**, **SET OF**, or **SEQUENCE OF**.
+
+**3.8.16 constraint:** A notation which can be used in association with a type, to define a subtype of that type.
+
+**3.8.17 contents constraint:** A constraint on a bit string or octet string type that specifies either that the contents are to be an encoding of a specified ASN.1 type, or that specified procedures are to be used to produce and process the contents.
+
+**3.8.18 control characters:** Characters appearing in some character repertoires that have been given a name (and perhaps a defined function in relation to certain environments) but which have not been assigned a graphic symbol, and which are not spacing characters.
+
+NOTE – HORIZONTAL TABULATION (9) and LINE FEED (10) are examples of control characters that have been assigned a formatting function in a printing environment. DATA LINK ESCAPE (16) is an example of a control character that has been assigned a function in a communication environment.
+
+**3.8.19 Coordinated Universal Time (UTC):** The time scale maintained by the Bureau International de l'Heure (International Time Bureau) that forms the basis of a coordinated dissemination of standard frequencies and time signals.
+
+NOTE 1 – The source of this definition is Rec. ITU-R TF.460-5. ITU-R has also defined the acronym for Coordinated Universal Time as UTC.
+
+NOTE 2 – UTC and Greenwich Mean Time (GMT) are two alternative time standards which for most practical purposes determine the same time.
+
+**3.8.20 default encoding reference (for a module):** An encoding reference that is specified in the module header and is assumed in all type prefixes which do not contain an encoding reference.
+
+NOTE – If a default encoding reference is not specified in the module header, then all type prefixes which do not contain an encoding reference are assigning tags.
+
+**3.8.21 defined time type:** A type defined in Annex B as a subtype of the time type (see 3.8.83) that is intended for importation by application designers when needed for their application.
+
+**3.8.22 element:** A value of a governing type or an information object of a governing information object class, distinguishable from all other values of the same type or information objects of the same class, respectively.
+
+**3.8.23 element set:** A set of elements, all of which are values of a governing type, or information objects of a governing class.
+
+NOTE – Governing class is defined in Rec. ITU-T X.681 | ISO/IEC 8824-2, 3.4.7.
+
+**3.8.24 embedded-pdv type:** A type whose set of values is formally the union of the sets of values in all possible abstract syntaxes. This type can be used in an ASN.1 specification that wishes to carry in its protocol an abstract value whose type may be defined externally to that ASN.1 specification. It carries an identification of the abstract syntax (the type) of the abstract value being carried, as well as an identification of the encoding rules used to encode that abstract value.
+
+**3.8.25 encoding:** The bit-pattern resulting from the application of a set of encoding rules to an abstract value.
+
+**3.8.26 encoding control section:** Part of an ASN.1 module that enables encoding instructions to be assigned to types defined or used within that ASN.1 module.
+
+**3.8.27 encoding instruction:** Information which can be associated with a type using a type prefix or an encoding control section, and which affects the encoding of that type by one or more ASN.1 encoding rules.
+
+NOTE – An encoding instruction does not affect the abstract values of a type, and is not expected to be visible to an application.
+
+**3.8.28 encoding reference:** A name (see Annex E) that identifies which encoding rules are affected by an encoding instruction in a type prefix or an encoding control section.
+
+NOTE – The encoding reference **TAG** can be used to specify that a type prefix is assigning a tag rather than an encoding instruction (see 31.2).
+
+**3.8.29 (ASN.1) encoding rules:** Rules which specify the representation during transfer of the values of ASN.1 types. Encoding rules also enable the values to be recovered from the representation, given knowledge of the type.
+
+NOTE – For the purpose of specifying encoding rules, the various referenced type (and value) notations, which can provide alternative notations for built-in types (and values), are not relevant.
+
+**3.8.30 enumerated types:** Simple types whose values are given distinct identifiers as part of the type notation.
+
+**3.8.31 extension addition:** One of the added notations in an extension series. For set, sequence and choice types, each extension addition is the addition of either a single extension addition group or a single component type. For enumerated types it is the addition of a single further enumeration. For a constraint it is the addition of (only) one subtype element.
+
+NOTE – Extension additions are both textually ordered (following the extension marker) and logically ordered (having increasing enumeration values, and, in the case of **CHOICE** alternatives, increasing tags).
+
+**3.8.32 extension addition group:** One or more components of a set, sequence or choice type grouped within version brackets. An extension addition group is used to clearly identify the components of a set, sequence or choice type that were added in a particular version of an ASN.1 module, and can identify that version with a simple integer.
+
+**3.8.33 extension addition type:** A type contained within an extension addition group or a single component type that is itself an extension addition (in such a case it is not contained within an extension addition group).
+
+**3.8.34 extensible constraint:** A subtype constraint with an extension marker at the outer level, or that is extensible through the use of set arithmetic with extensible sets of values.
+
+**3.8.35 extension insertion point (or insertion point):** The location within a type definition where extension additions are inserted. This location is the end of the type notation of the immediately preceding type in the extension series if there is a single ellipsis in the type definition, or immediately before the second ellipsis if there is an extension marker pair in the definition of the type.
+
+NOTE – There can be at most one insertion point within the components of any choice, sequence, or set type.
+
+**3.8.36 extension marker:** A syntactic flag (an ellipsis) that is included in all types that form part of an extension series.
+
+**3.8.37 extension marker pair:** A pair of extension markers between which extension additions are inserted.
+
+**3.8.38 extension-related:** Two types that have the same extension root, where one was created by adding zero or more extension additions to the other.
+
+**3.8.39 extension root:** An extensible type that is the first type in an extension series. It carries either the extension marker with no additional notation other than comments and white-space between the extension marker and the matching "}" or ")", or an extension marker pair with no additional notation other than a single comma, comments and white-space between the extension markers.
+
+NOTE – Only an extension root can be the first type in an extension series.
+
+**3.8.40 extension series:** A series of ASN.1 types which can be ordered in such a way that each successive type in the series is formed by the addition of text at the extension insertion point.
+
+**3.8.41 extensible type:** A type with an extension marker, or to which an extensible constraint has been applied.
+
+NOTE – An extension marker can be textually present or can be inserted by an EXTENSIBILITY-IMPLIED (see 13.4).
+
+**3.8.42 external reference:** A type reference, value reference, information object class reference, information object reference, or information object set reference (which may be parameterized), that is defined in some other module than the one in which it is being referenced, and which is being referred to by prefixing the module name to the referenced item.
+
+EXAMPLE – `ModuleName.TypeReference`
+
+**3.8.43 external type:** A type which is a part of an ASN.1 specification that carries a value whose type may be defined externally to that ASN.1 specification. It also carries an identification of the type of the value being carried.
+
+**3.8.44 false:** One of the distinguished values of the boolean type (see also "true").
+
+**3.8.45 governing (type); governor:** A type definition or reference which affects the interpretation of a part of the ASN.1 syntax, requiring that part of the ASN.1 syntax to reference values in the governing type.
+
+**3.8.46 identical type definitions:** Two instances of the ASN.1 "Type" production (see clause 17) are defined as identical type definitions if, after performing the transformations specified in Annex C, they are identical ordered lists of identical lexical items (see clause 12).
+
+**3.8.47 OID internationalized resource identifier type:** The set of all OID internationalized resource identifiers.
+
+NOTE 1 – This is a simple type whose values are a sequence of Unicode labels that identify a series of arcs leading from the root to a node of the International Object Identifier tree, as specified by the Rec. ITU-T X.660 | ISO/IEC 9834-series.
+
+NOTE 2 – The rules of Rec. ITU-T X.660 | ISO/IEC 9834-1 permit a wide range of authorities to independently associate Unicode labels with an arc of the tree.
+
+**3.8.48 integer type:** A simple type with distinguished values which are the positive and negative whole numbers, including zero (as a single value).
+
+NOTE – When particular encoding rules limit the range of an integer, such limitations are chosen so as not to affect any user of ASN.1.
+
+**3.8.49 lexical item:** A named sequence of characters from the ASN.1 character set, specified in clause 12, which is used in forming the ASN.1 notation.
+
+**3.8.50 module:** One or more instances of the use of the ASN.1 notation for type, value, value set, information object class, information object, and information object set (as well as the parameterized variant of those), encapsulated using the ASN.1 module notation (see clause 13).
+
+NOTE – The terms information object class (etc.) are specified in Rec. ITU-T X.681 | ISO/IEC 8824-2, and parameterization is specified in Rec. ITU-T X.683 | ISO/IEC 8824-4.
+
+**3.8.51 null type:** A simple type consisting of a single value, also called null.
+
+**3.8.52 object:** A well-defined piece of information, definition, or specification which requires a name in order to identify its use in an instance of communication.
+
+NOTE – Such an object may be an information object as defined in Rec. ITU-T X.681 | ISO/IEC 8824-2.
+
+**3.8.53 object descriptor type:** A type whose distinguished values are human-readable text providing a brief description of an object (see 3.8.52).
+
+NOTE – An object descriptor value is usually associated with a single object. Only an object identifier value unambiguously identifies an object.
+
+**3.8.54 object identifier type:** A simple type whose values are a sequence of primary integer values that identify a series of arcs leading from the root to a node of the International Object Identifier tree, as specified by the Rec. ITU-T X.660 | ISO/IEC 9834 series.
+
+NOTE 1 – The rules of Rec. ITU-T X.660 | ISO/IEC 9834-1 permit a wide range of authorities to independently associate a primary integer value with an arc of the tree.
+
+NOTE 2 – In the value notation for the object identifier type (and in XML encodings of that type) it is possible to include secondary identifiers for arcs.
+
+**3.8.55 octetstring type:** A simple type whose distinguished values are an ordered sequence of zero, one or more octets, each octet being an ordered sequence of eight bits.
+
+**3.8.56 open systems interconnection:** An architecture for computer communication which provides a number of terms which are used in this Recommendation | International Standard preceded by the abbreviation "OSI".
+
+NOTE – The meaning of such terms can be obtained from the Rec. ITU-T X.200 series and equivalent ISO/IEC Standards if needed. The terms are only applicable if ASN.1 is used in an OSI environment.
+
+**3.8.57 open type notation:** An ASN.1 notation used to denote a set of values from more than one ASN.1 type.
+
+NOTE 1 – The term "open type" is used synonymously with "open type notation" in the body of this Recommendation | International Standard.
+
+NOTE 2 – All ASN.1 encoding rules provide unambiguous encodings for the values of a single ASN.1 type. They do not necessarily provide unambiguous encodings for "open type notation", which carries values from ASN.1 types that are not normally determined at specification time. Knowledge of the type of the value being encoded in the "open type notation" is needed before the abstract value for that field can be unambiguously determined.
+
+NOTE 3 – The only notation in this Recommendation | International Standard which is an open type notation is the "ObjectClassFieldType" specified in Rec. ITU-T X.681 | ISO/IEC 8824-2, clause 14, where the "FieldName" denotes either a type field or a variable-type value field.
+
+**3.8.58 parent type (of a subtype):** The type that is being constrained when defining a subtype, and which governs the subtype notation.
+
+NOTE – The parent type may itself be a subtype of some other type.
+
+**3.8.59 production:** A part of the formal notation (also called grammar or Backus-Naur Form, BNF) used to specify ASN.1.
+
+**3.8.60 real type:** A simple type whose distinguished values (specified in clause 21) include the set of real numbers (numerical real numbers) together with special values such as **NOT-A-NUMBER**.
+
+**3.8.61 recursive definition (of a type):** A set of ASN.1 definitions which cannot be reordered so that all types used in a construction are defined before the definition of the construction.
+
+NOTE – Recursive definitions are allowed in ASN.1: the user of the notation has the responsibility for ensuring that those values (of the resulting types) which are used have a finite representation and that the value set associated with the type contains at least one value.
+
+**3.8.62 relative OID internationalized resource identifier type:** A value which identifies an object by its position relative to some known OID internationalized resource identifier.
+
+**3.8.63 relative object identifier:** A value which identifies an object by its position relative to some known object identifier.
+
+**3.8.64 relative object identifier type:** A simple type whose values are the set of all possible relative object identifiers.
+
+**3.8.65 restricted character string type:** A character string type whose characters are taken from a fixed character repertoire identified in the type specification.
+
+**3.8.66 selection types:** Types defined by reference to a component type of a choice type, and whose values are precisely the values of that component type.
+
+**3.8.67 sequence types:** Types defined by referencing a fixed, ordered list of types (some of which may be declared to be optional); each value of the sequence type is an ordered list of values, one from each component type.
+
+NOTE – Where a component type is declared to be optional, a value of the sequence type need not contain a value of that component type.
+
+**3.8.68 sequence-of types:** Types defined by referencing a single component type; each value in the sequence-of type is an ordered list of zero, one or more values of the component type.
+
+**3.8.69 serial application (of constraints):** The application of a constraint to a parent type which is already constrained.
+
+**3.8.70 set arithmetic:** The formation of new sets of values or information objects using the operations of union, intersection and set difference (use of **EXCEPT**) as specified in 50.2.
+
+NOTE – The result of serial application of constraints is not covered by the term "set arithmetic".
+
+**3.8.71 setting (of a time property):** One of a number of values that can be associated with a given time property (see 3.8.82 and the note in J.4.2).
+
+NOTE – Any time property that applies to a particular time abstract value has only a single setting (see Table 6).
+
+**3.8.72 set types:** Types defined by referencing a fixed, unordered, list of types (some of which may be declared to be optional); each value in the set type is an unordered list of values, one from each component type.
+
+NOTE – Where a component type is declared to be optional, a value of the set type need not contain a value of that component type.
+
+**3.8.73 set-of types:** Types defined by referencing a single component type; each value in the set-of type is an unordered list of zero, one or more values of the component type.
+
+**3.8.74 simple types:** Types defined by directly specifying the set of their values.
+
+**3.8.75 spacing character:** A character in a character repertoire which is intended for inclusion with graphic characters in the printing of a character string but which is represented in the physical rendition by empty space; it is not normally considered to be a control character (see 3.8.18).
+
+NOTE – There may be a single spacing character in the character repertoire, or there may be multiple spacing characters with varying widths.
+
+**3.8.76 subtype (of a parent type):** A type whose values are a subset (or the complete set) of the values of some other type (the parent type).
+
+**3.8.77 tag:** Additional information, separate from the abstract values of the type, which is associated with every ASN.1 type and which can be changed or augmented by a type prefix.
+
+NOTE – Tag information is used in some encoding rules to ensure that encodings are not ambiguous. Tag information differs from encoding instructions because tag information is associated with all ASN.1 types, even if they do not have a type prefix.
+
+**3.8.78 tagged types:** A type defined by referencing a single existing type and a tag; the new type is isomorphic to the existing type, but is distinct from it.
+
+**3.8.79 tagging:** Assigning a new tag to a type, replacing or adding to the existing (possibly the default) tag.
+
+**3.8.80 time abstract value:** An abstract value of the time type.
+
+**3.8.81 time component:** Part of the definition of a time abstract value that specifies a part of that abstract value.
+
+NOTE – Examples of time components are a date component (that would have a year component), a time-of-day component, or a time difference component.
+
+**3.8.82 time property (of a time abstract value):** One of a number of terms used to describe a time abstract value (see 3.8.80).
+
+NOTE – The time properties that can be used to describe a time abstract value often depend on the setting of some other time property of that abstract value. The time properties are listed in Table 6, column 1.
+
+**3.8.83 time type:** The **TIME** type that supports all the abstract values implicitly defined by ISO 8601.
+
+**3.8.84 transfer syntax:** The set of bit strings used to exchange the abstract values in an abstract syntax, usually obtained by application of encoding rules to an abstract syntax.
+
+NOTE – The term "transfer syntax" is synonymous with "encoding".
+
+**3.8.85 true:** One of the distinguished values of the boolean type (see also "false").
+
+**3.8.86 type:** A named set of values.
+
+**3.8.87 type prefix:** Part of the ASN.1 notation that can be used to assign an encoding instruction or a tag to a type.
+
+**3.8.88 type reference name:** A name associated uniquely with a type within some context.
+
+NOTE – Reference names are assigned to the types defined in this Recommendation | International Standard; these are universally available within ASN.1. Other reference names are defined in other Recommendations | International Standards, and are applicable only in the context of that Recommendation | International Standard.
+
+**3.8.89 unrestricted character string type:** A type whose abstract values are values from a character abstract syntax, together with an identification of the character abstract syntax and of the character transfer syntax to be used in its encoding.
+
+**3.8.90 useful time type:** A built-in type defined as a subtype of the time type (see 3.8.83) that is intended for direct use by application designers.
+
+**3.8.91 user (of ASN.1):** The individual or organization that defines the abstract syntax of a particular piece of information using ASN.1.
+
+**3.8.92 value mapping:** A 1-1 relationship between values in two types that enables a reference to one of those values to be used as a reference to the other value. This can, for example, be used in specifying subtypes and default values (see Annex C).
+
+**3.8.93 value reference name:** A name associated uniquely with a value within some context.
+
+**3.8.94 value set:** A collection of values of a type. Semantically equivalent to a subtype.
+
+**3.8.95 version brackets:** A pair of adjacent left and right brackets ("[" or "]") used to delineate the start and end of an extension addition group. The pair of left brackets can optionally be followed by a number giving a version number for the extension addition group.
+
+**3.8.96 version number:** A number which can be associated with a version bracket (see I.1.8).
+
+NOTE – A version number cannot be added to an extension addition which is not part of an extension addition group, nor to extension additions to any type other than choice, sequence, or set.
+
+**3.8.97 white-space:** Any formatting action that yields a space on a printed page, such as spaces or tabs.
+
+# 4 Abbreviations
+
+For the purposes of this Recommendation | International Standard, the following abbreviations apply:
+
+| | |
+|-------|----------------------------------------------|
+| ASN.1 | Abstract Syntax Notation One |
+| BER | Basic Encoding Rules of ASN.1 |
+| BMP | Basic Multilingual Plane |
+| DCC | Data Country Code |
+| DNIC | Data Network Identification Code |
+| ECN | Encoding Control Notation of ASN.1 |
+| ICD | International Code Designator |
+| IRI | Internationalized Resource Identifier |
+| OID | Object Identifier |
+| OSI | Open Systems Interconnection |
+| PER | Packed Encoding Rules of ASN.1 |
+| ROA | Recognized Operating Agency |
+| UCS | Universal Multiple-Octet Coded Character Set |
+| URI | Universal Resource Identifier |
+| UTC | Coordinated Universal Time |
+| XML | Extensible Markup Language |
+
+# 5 Notation
+
+## 5.1 General
+
+**5.1.1** The ASN.1 notation consists of a sequence of characters from the ASN.1 character set specified in clause 11.
+
+**5.1.2** Each use of the ASN.1 notation contains characters from the ASN.1 character set grouped into lexical items. Clause 12 specifies all the sequences of characters forming lexical items, and names each item.
+
+**5.1.3** The ASN.1 notation is specified in clause 13 (and following clauses) by specifying and naming those sequences of lexical items which form valid instances of the ASN.1 notation, and by specifying the ASN.1 semantics of each sequence.
+
+**5.1.4** In order to specify the permitted sequences of lexical items, this Recommendation | International Standard uses a formal notation defined in the following subclauses.
+
+## 5.2 Productions
+
+**5.2.1** All lexical items are named (see clause 12), and permitted sequences of lexical items are named.
+
+**5.2.2** A new (more complex) permitted sequence of lexical items is defined by means of a production. This uses the names of lexical items and of permitted sequences of lexical items and forms a new named permitted sequence of lexical items.
+
+**5.2.3** Each production consists of the following parts, on one or several lines, in order:
+
+- a) a name for the new permitted sequence of lexical items;
+- b) the characters
+
+::=
+
+- c) one or more alternative sequences of lexical items, as defined in 5.3, separated by the character
+
+|
+
+**5.2.4** A sequence of lexical items is present in the new permitted sequence of lexical items if it is present in one or more of the alternatives. The new permitted sequence of lexical items is referenced in this Recommendation | International Standard by the name in 5.2.3 a) above.
+
+NOTE – If the same sequence of lexical items appears in more than one alternative, any semantic ambiguity in the resulting notation is resolved by associated text.
+
+## 5.3 The alternative collections
+
+**5.3.1** Each alternative in a production (see 5.2.3.c) is specified by a list of names. Each name is either the name of a lexical item, or is the name of a permitted sequence of lexical items defined and named by some other production.
+
+**5.3.2** The permitted sequence of lexical items defined by each alternative consists of all sequences obtained by taking any one of the sequences (or the lexical item) associated with the first name, in combination with (and followed by) any one of the sequences (or lexical item) associated with the second name, in combination with (and followed by) any one of the sequences (or lexical item) associated with the third name, and so on up to and including the last name (or lexical item) in the alternative.
+
+### 5.4 Non-spacing indicator
+
+If the non-spacing indicator "&" (AMPERSAND) is inserted between these items in production sequences, then the lexical item that precedes it and the lexical item that follows it shall not be separated by white-space.
+
+NOTE – This indicator is only used in productions that describe the XML value notation. For example, it is used to specify that the lexical item "<" is to be immediately followed by an XML tag name.
+
+### 5.5 Example of a production
+
+**5.5.1** The production:
+
+```
+
+ExampleProduction ::=
+ bstring
+ | hstring
+ | "{" IdentifierList "}"
+
+```
+
+associates the name "ExampleProduction" with the following sequences of lexical items:
+
+- a) any "bstring" (a lexical item); or
+- b) any "hstring" (a lexical item); or
+- c) any sequence of lexical items associated with "IdentifierList", preceded by a "{" and followed by a "}".
+
+NOTE – "{" and "}" are the names of lexical items containing the single characters { and } (see 12.37).
+
+**5.5.2** In this example, "IdentifierList" would be defined by a further production, either before or after the production defining "ExampleProduction".
+
+### 5.6 Layout
+
+Each production used in this Recommendation | International Standard is preceded and followed by an empty line. Empty lines do not appear within productions. The production may be on a single line, or may be spread over several lines. Layout is not significant.
+
+### 5.7 Recursion
+
+The productions in this Recommendation | International Standard are frequently recursive. In this case the productions are to be continuously reapplied until no new sequences are generated.
+
+NOTE – In many cases, such reapplication results in an infinite set of permitted sequences of lexical items. Some or all of the sequences in the set may themselves contain an unbounded number of lexical items. This is not an error.
+
+### 5.8 References to permitted sequences of lexical items
+
+This Recommendation | International Standard references a permitted sequence of lexical items (part of the ASN.1 notation) by referencing the name that appears before the "::<=" in a production; the name is surrounded by the QUOTATION MARK (34) character (") to distinguish it from natural language text, unless it appears as part of a production.
+
+## 5.9 References to a lexical item
+
+This Recommendation | International Standard references a lexical item by using the name of the lexical item; when the name appears in natural language text, and could be confused with such text, then it is surrounded by the QUOTATION MARK (34) character (").
+
+### 5.10 Short-hand notations
+
+In order to make productions more concise and more readable, the following short-hand notations are used in the definition of permitted sequences of lexical items in this Recommendation | International Standard and also in Rec. ITU-T X.681 | ISO/IEC 8824-2, Rec. ITU-T X.682 | ISO/IEC 8824-3 and Rec. ITU-T X.683 | ISO/IEC 8824-4:
+
+- a) An asterisk (\*) following two names, "A" and "B", denotes the "empty" lexical item (see 12.7), or one of the permitted sequences of lexical items associated with "A", or an alternating series of one of the sequences of lexical items associated with "A" and one of the sequences of lexical items associated with "B", both starting and finishing with one associated with "A". Thus:
+
+**C ::= A B \***
+
+is equivalent to:
+
+**C ::= D | empty**
+**D ::= A | A B D**
+
+"D" being an auxiliary name not appearing elsewhere in the productions.
+
+EXAMPLE – "C ::= A B \*" is the shorthand notation for the following alternatives of C:
+
+**empty**
+**A**
+**A B A**
+**A B A B A**
+**A B A B A B A**
+ ...
+
+- b) A plus sign (+) is similar to the asterisk in a), except that the "empty" lexical item is excluded. Thus:
+
+**E ::= A B +**
+
+is equivalent to:
+
+**E ::= A | A B E**
+
+EXAMPLE – "E ::= A B +" is the shorthand notation for the following alternatives of E:
+
+**A**
+**A B A**
+**A B A B A**
+**A B A B A B A**
+ ...
+
+- c) A question mark (?) following a name denotes either the "empty" lexical item (see 12.7) or a permitted sequence of lexical items associated with "A". Thus:
+
+**F ::= A ?**
+
+is equivalent to:
+
+**F ::= empty | A**
+
+NOTE – These short-hand notations take precedence over the juxtaposition of lexical items in production sequences (see 5.2.2).
+
+### 5.11 Value references and the typing of values
+
+**5.11.1** The ASN.1 value assignment notation enables a name to be given to a value of a specified type. This name can be used wherever a reference to that value is needed. Annex C describes and specifies the value mapping mechanism that allows a value reference name for a value of one type to identify a value of a second (similar) type. Thus, a reference to the first value can be used wherever a reference to a value in the second type is required.
+
+**5.11.2** In the body of the ASN.1 standards normal English text is used to specify legality (or otherwise) of constructs where more than one type is involved. These legality specifications generally require that two or more types be "compatible". For example, the type used in defining a value reference is required to be "compatible with" the governing type when the value reference is used. The normative Annex C uses the value mapping concept to give a precise statement about whether any given ASN.1 construct is legal or not.
+
+## 6 The ASN.1 model of type extension
+
+When decoding an extensible type, a decoder may detect:
+
+- a) the absence of expected extension additions in a sequence or set type; or
+- b) the presence of arbitrary unexpected extension additions above those defined (if any) in a sequence or set type, or of an unknown alternative in a choice type, or an unknown enumeration in an enumerated type, or of an unexpected length or value of a type whose constraint is extensible.
+
+In formal terms, an abstract syntax defined by the extensible type **x** contains not only the values of type **x**, but also the values of all types that are extension-related to **x**. Thus, the decoding process never signals an error when either of the above situations (a or b) is detected. The action that is taken in each situation is determined by the ASN.1 specifier.
+
+NOTE – Frequently the action will be to ignore the presence of unexpected additional extensions, and to use a default value or a "missing" indicator for expected extension additions that are absent.
+
+Unexpected extension additions detected by a decoder in an extensible type can later be included in a subsequent encoding of that type (for transmission back to the sender, or to some third party), provided that the same transfer syntax is used on the subsequent transmission.
+
+# 7 Extensibility requirements on encoding rules
+
+NOTE – These requirements apply to standardized encoding rules. They do not apply to encoding rules defined using ECN (see Rec. ITU-T X.692 | ISO/IEC 8825-3).
+
+**7.1** All ASN.1 encoding rules shall allow the encoding of values of an extensible type **x** in such a way that they can be decoded using an extensible type **y** that is extension-related to **x**. Further, the encoding rules shall allow the values that were decoded using **y** to be re-encoded (using **y**) and decoded using a third extensible type **z** that is extension related to **y** (and hence **x** also).
+
+NOTE – Types **x**, **y** and **z** may appear in any order in the extension series.
+
+If a value of an extensible type **x** is encoded and then relayed (directly or through a relaying application using extension-related type **z**) to another application that decodes the value using extensible type **y** that is extension-related to **x**, then the decoder using type **y** obtains an abstract value composed of:
+
+- a) an abstract value of the extension root type;
+- b) an abstract value of each extension addition that is present in both **x** and **y**;
+- c) delimited encoding for each extension addition (if any) that is in **x** but not in **y**.
+
+The encodings in c) shall be capable of being included in a later encoding of a value of **y**, if so required by the application. That encoding shall be a valid encoding of a value of **x**.
+
+**Tutorial example:** If system A is using an extensible root type (type **x**) that is a sequence type or a set type with an extension addition of an optional integer type, while system B is using an extension-related type (type **y**) that has two extension additions where each is an optional integer type, then transmission by B of a value of **y** which omits the integer value of the first extension addition and includes the second must not be confused by A with the presence of the first (only) extension addition of **x** that it knows about. Moreover, A must be able to re-encode the value of **x** with a
+
+value present for the first integer type, followed by the second integer value received from B, if so required by the application protocol.
+
+**7.2** All ASN.1 encoding rules shall specify the encoding and decoding of the value of an enumerated type and a choice type in such a way that if a transmitted value is in the set of extension additions held in common by the encoder and the decoder, then it is successfully decoded; otherwise, it shall be possible for the decoder to delimit the encoding of it and to identify it as a value of an (unknown) extension addition.
+
+**7.3** All ASN.1 encoding rules shall specify the encoding and decoding of types with extensible constraints in such a way that if a transmitted value is in the set of extension additions held in common by the encoder and the decoder, then it is successfully decoded, otherwise it shall be possible for the decoder to delimit the encoding of and to identify it as a value of an (unknown) extension addition.
+
+In all cases, the presence of extension additions shall not affect the ability to recognize later material when a type with an extension marker is nested inside some other type.
+
+NOTE 1 – All variants of the Basic Encoding Rules of ASN.1 and the Packed Encoding Rules of ASN.1 satisfy all these requirements. Encoding rules defined using ECN do not necessarily satisfy all these requirements, but may do so.
+
+NOTE 2 – PER and BER do not identify the version number in the encoding of an extension addition. Encodings specified using ECN may or may not provide such identification.
+
+## 8 Tags
+
+**8.1** A tag is specified (either within the text of this Recommendation | International Standard or by using a type prefix) by giving a class and a number within the class. The class is one of:
+
+- universal;
+- application;
+- private;
+- context-specific.
+
+**8.2** The number is a non-negative integer, specified in decimal notation.
+
+**8.3** Restrictions on tags assigned by the user of ASN.1 are specified in 31.2.
+
+NOTE – Subclause 31.2 includes the restriction that users of this notation are not allowed to explicitly specify universal class tags in their ASN.1 specifications. There is no formal difference between use of tags from the other three classes. Where application class tags are employed, a private or context-specific class tag could generally be applied instead, as a matter of user choice and style. The presence of the three classes is largely for historical reasons, but guidance is given in G.2.12 on the way in which the classes are usually employed.
+
+**8.4** Table 1 summarizes the assignment of tags in the universal class which are specified in this Recommendation | International Standard.
+
+**8.5** Some encoding rules require a canonical order for tags. To provide uniformity, a canonical order for tags is defined in 8.6.
+
+**8.6** The canonical order for tags is based on the outermost tag of each type and is defined as follows:
+
+- a) those elements or alternatives with universal class tags shall appear first, followed by those with application class tags, followed by those with context-specific tags, followed by those with private class tags;
+- b) within each class of tags, the elements or alternatives shall appear in ascending order of their tag numbers.
+
+Table 1 – Universal class tag assignments
+
+| | |
+|------------------------|--------------------------------------------------------------------------------------|
+| UNIVERSAL 0 | Reserved for use by the encoding rules |
+| UNIVERSAL 1 | Boolean type |
+| UNIVERSAL 2 | Integer type |
+| UNIVERSAL 3 | Bitstring type |
+| UNIVERSAL 4 | Octetstring type |
+| UNIVERSAL 5 | Null type |
+| UNIVERSAL 6 | Object identifier type |
+| UNIVERSAL 7 | Object descriptor type |
+| UNIVERSAL 8 | External type and Instance-of type |
+| UNIVERSAL 9 | Real type |
+| UNIVERSAL 10 | Enumerated type |
+| UNIVERSAL 11 | Embedded-pdv type |
+| UNIVERSAL 12 | UTF8String type |
+| UNIVERSAL 13 | Relative object identifier type |
+| UNIVERSAL 14 | The time type |
+| UNIVERSAL 15 | Reserved for future editions of this Recommendation International Standard |
+| UNIVERSAL 16 | Sequence and Sequence-of types |
+| UNIVERSAL 17 | Set and Set-of types |
+| UNIVERSAL 18-22, 25-30 | Character string types |
+| UNIVERSAL 23-24 | UTCTime and GeneralizedTime |
+| UNIVERSAL 31-34 | DATE , TIME-OF-DAY , DATE-TIME and DURATION respectively |
+| UNIVERSAL 35 | OID internationalized resource identifier type |
+| UNIVERSAL 36 | Relative OID internationalized resource identifier type |
+| UNIVERSAL 37-... | Reserved for addenda to this Recommendation International Standard |
+
+## 9 Encoding instructions
+
+**9.1** An encoding instruction is assigned to a type using either a type prefix (see 31.3) or an encoding control section (see clause 54).
+
+**9.2** A type prefix may contain an encoding reference. If it does not, the encoding reference is determined by the default encoding reference for the module (see 13.5).
+
+**9.3** An encoding control section always contains an encoding reference. There may be multiple encoding control sections, but each encoding control section shall have a distinct encoding reference.
+
+**9.4** An encoding instruction consists of a sequence of lexical items specified in the Recommendation | International Standard determined by the encoding reference (see Annex E).
+
+**9.5** Multiple encoding instructions with the same or with different encoding references may be assigned to a type (using either or both of type prefixes and an encoding control section). Encoding instructions assigned with a given encoding reference are independent from those assigned with a different encoding reference, and from any use of a type prefix to perform tagging.
+
+**9.6** The effect of assigning several encoding instructions with the same encoding reference (using either or both of type prefixes and an encoding control section) is specified in the Recommendation | International Standard determined by the encoding reference (see Annex E), and is not specified in this Recommendation | International Standard.
+
+**9.7** If an encoding instruction is assigned to the "Type" in a "TypeAssignment", it becomes associated with the type, and is applied wherever the "typereference" of the "TypeAssignment" is used. This includes use in other modules through the export and import statements.
+
+## 10 Use of the ASN.1 notation
+
+**10.1** The ASN.1 notation for a type definition shall be "Type" (see 17.1).
+
+**10.2** The ASN.1 notation for a value of a type shall be "Value" (see 17.7).
+
+NOTE – It is not in general possible to interpret the value notation without knowledge of the type.
+
+**10.3** The ASN.1 notation for assigning a type to a type reference name shall be either "TypeAssignment" (see 16.1), "ValueSetTypeAssignment" (see 16.6), "ParameterizedTypeAssignment" (see Rec. ITU-T X.683 | ISO/IEC 8824-4, 8.2), or "ParameterizedValueSetTypeAssignment" (see Rec. ITU-T X.683 | ISO/IEC 8824-4, 8.2).
+
+**10.4** The ASN.1 notation for assigning a value to a value reference name shall be either "ValueAssignment" (see 16.2) or "ParameterizedValueAssignment" (see Rec. ITU-T X.683 | ISO/IEC 8824-4, 8.2).
+
+**10.5** The production alternatives of the notation "Assignment" shall only be used within the notation "ModuleDefinition" (except as specified in NOTE 2 of 13.1).
+
+## 11 The ASN.1 character set
+
+**11.1** A lexical item shall consist of a sequence of the characters listed in Table 2 except as specified in 11.2, 11.3 and 11.4. In Table 2, characters are identified by the names they are given in ISO/IEC 10646.
+
+**Table 2 – ASN.1 characters**
+
+| | |
+|---------------|----------------------------------------------------|
+| A to Z | (LATIN CAPITAL LETTER A to LATIN CAPITAL LETTER Z) |
+| a to z | (LATIN SMALL LETTER A to LATIN SMALL LETTER Z) |
+| 0 to 9 | (DIGIT ZERO to DIGIT 9) |
+| ! | (EXCLAMATION MARK) |
+| " | (QUOTATION MARK) |
+| & | (AMPERSAND) |
+| ' | (APOSTROPHE) |
+| ( | (LEFT PARENTHESIS) |
+| ) | (RIGHT PARENTHESIS) |
+| * | (ASTERISK) |
+| , | (COMMA) |
+| – | (HYPHEN-MINUS) |
+| . | (FULL STOP) |
+| / | (SOLIDUS) |
+| : | (COLON) |
+| ; | (SEMICOLON) |
+| < | (LESS-THAN SIGN) |
+| = | (EQUALS SIGN) |
+| > | (GREATER-THAN SIGN) |
+| @ | (COMMERCIAL AT) |
+| [ | (LEFT SQUARE BRACKET) |
+| ] | (RIGHT SQUARE BRACKET) |
+| ^ | (CIRCUMFLEX ACCENT) |
+| _ | (LOW LINE) |
+| { | (LEFT CURLY BRACKET) |
+| | (VERTICAL LINE) |
+| } | (RIGHT CURLY BRACKET) |
+| – | (NON-BREAKING HYPHEN) |
+
+NOTE – Where equivalent derivative standards are developed by national standards bodies, additional characters may appear in the following lexical items:
+
+- typereference (see 12.2);
+- identifier (see 12.3);
+- valuereference (see 12.4);
+- modulereference (see 12.5).
+
+When additional characters are introduced to accommodate a language in which the distinction between upper-case and lower-case letters is without meaning, the syntactic distinction achieved by dictating the case of the first character of certain of the above lexical items has to be achieved in some other way. This is to allow valid ASN.1 specifications to be written in various languages.
+
+**11.2** Where the notation is used to specify the value of a character string type, all characters for the defined character set can appear in the ASN.1 notation, surrounded by the QUOTATION MARK (34) characters (") (see 12.14).
+
+**11.3** Additional (arbitrary) graphic symbols may appear in the "comment" lexical item (see 12.6).
+
+**11.4** Where the notation is used to specify the value of a Unicode label, all characters allowed in a Unicode label can appear in ASN.1 notation.
+
+**11.5** There shall be no significance placed on the typographical style, size, colour, intensity, or other display characteristics.
+
+**11.6** The upper-case and lower-case letters shall be regarded as distinct.
+
+**11.7** ASN.1 definitions can also contain white-space characters (see 12.1.6) between lexical items.
+
+**11.8** The NON-BREAKING HYPHEN and the HYPHEN-MINUS should be treated as identical in all names (including reserved words).
+
+NOTE – A name such as My-Type is the same name whether it contains a HYPHEN-MINUS or a NON-BREAKING HYPHEN.
+
+# 12 ASN.1 lexical items
+
+## 12.1 General rules
+
+**12.1.1** The following subclauses specify the characters in lexical items. In each case the name of the lexical item is given, together with the definition of the character sequences which form the lexical item.
+
+**12.1.2** The lexical items specified in the subclauses of this clause 12 (except multiple-line "comment", "bstring", "xmlbstring", "hstring", "xmlhstring", "cstring", "xmlcstring" and "simplestring") shall not contain white-space (see 12.6, 12.10, 12.11, 12.12, 12.13, 12.14, 12.15 and 12.16). A single-line "comment" shall not contain "new-line" characters. The "non-integerUnicodeLabel" lexical item may include the NON-BREAKING-SPACE character.
+
+**12.1.3** The length of a line is not restricted.
+
+**12.1.4** Lexical items may be separated by one or more occurrences of white-space (see 12.1.6) or comments (see 12.6) except when the non-spacing indicator "&" (see 5.4) is used. Within an "XMLTypedValue" production (see 16.2), white-space may appear between lexical items, but the "comment" lexical item shall not be present.
+
+NOTE – This is to avoid ambiguity resulting from the presence of adjacent hyphens or asterisk and solidus within an "xmlcstring" lexical item. Such characters never indicate the start of a "comment" lexical item when they appear within an "XMLTypedValue" production.
+
+**12.1.5** A lexical item shall be separated from a following lexical item by one or more instances of white-space or comment if the initial character (or characters) of the following lexical item is a permitted character (or characters) for inclusion at the end of the characters in the earlier lexical item.
+
+**12.1.6** This Recommendation | International Standard uses the terms "newline", and "white-space". In representing white-space and newline (end of line) in machine-readable specifications, any one or more of the following characters may be used in any combination (for each character, the character name and character code specified in The Unicode Standard are given):
+
+For white-space:
+
+HORIZONTAL TABULATION (9)
+
+LINE FEED (10)
+
+VERTICAL TABULATION (11)
+
+FORM FEED (12)
+
+CARRIAGE RETURN (13)
+
+SPACE (32)
+
+NO-BREAK SPACE ({0,0,0,160})
+
+For newline:
+
+LINE FEED (10)
+
+VERTICAL TABULATION (11)
+
+FORM FEED (12)
+
+CARRIAGE RETURN (13)
+
+NOTE – Any character or character sequence that is a valid newline is also a valid white-space.
+
+## 12.2 Type references
+
+Name of lexical item – typereference
+
+**12.2.1** A "typereference" shall consist of an arbitrary number (one or more) of letters, digits, and hyphens. The initial character shall be an upper-case letter. A hyphen shall not be the last character. A hyphen shall not be immediately followed by another hyphen.
+
+NOTE – The rules concerning hyphen are designed to avoid ambiguity with (possibly following) comment.
+
+**12.2.2** A "typereference" shall not be one of the reserved character sequences listed in 12.38.
+
+## 12.3 Identifiers
+
+Name of lexical item – identifier
+
+An "identifier" shall consist of an arbitrary number (one or more) of letters, digits, and hyphens. The initial character shall be a lower-case letter. A hyphen shall not be the last character. A hyphen shall not be immediately followed by another hyphen.
+
+NOTE – The rules concerning hyphen are designed to avoid ambiguity with (possibly following) comment.
+
+### 12.4 Value references
+
+Name of lexical item – valuereference
+
+A "valuereference" shall consist of the sequence of characters specified for an "identifier" in 12.3. In analyzing an instance of use of this notation, a "valuereference" is distinguished from an "identifier" by the context in which it appears.
+
+### 12.5 Module references
+
+Name of lexical item – modulereference
+
+A "modulereference" shall consist of the sequence of characters specified for a "typereference" in 12.2. In analyzing an instance of use of this notation, a "modulereference" is distinguished from a "typereference" by the context in which it appears.
+
+### 12.6 Comments
+
+Name of lexical item – comment
+
+**12.6.1** A "comment" is not referenced in the definition of the ASN.1 notation. It may, however, appear at any time between other lexical items, and has no syntactic significance.
+
+NOTE – Nonetheless, in the context of a Recommendation | International Standard that uses ASN.1, an ASN.1 comment may contain normative text related to the application semantics, or constraints on the syntax.
+
+**12.6.2** The lexical item "comment" can have two forms:
+
+- a) One-line comments which begin with "--" as defined in 12.6.3;
+- b) Multiple-line comments which begin with "/\*" as defined in 12.6.4.
+
+**12.6.3** Whenever a "comment" begins with a pair of adjacent hyphens, it shall end with the next pair of adjacent hyphens or at the end of the line, whichever occurs first. A comment shall not contain a pair of adjacent hyphens other than the pair which starts it and the pair, if any, which ends it. If a comment beginning with "--" includes the adjacent characters "/" or "/\*", these have no special meaning and are considered part of the comment. The comment may include graphic symbols which are not in the character set specified in 11.1 (see 11.3).
+
+**12.6.4** Whenever a "comment" begins with "/\*", it shall end with a corresponding "\*/", whether this "\*/" is on the same line or not. If another "/\*" is found before a "\*/", then the comment terminates when a matching "\*/" has been found for each "/\*". If a comment beginning with "/\*" includes two adjacent hyphens "--", these hyphens have no special meaning and are considered part of the comment. The comment may include graphic symbols which are not in the character set specified in 11.1 (see 11.3).
+
+NOTE – This allows the user to comment parts of an ASN.1 module that already contain comments (whether they begin with "--" or "/\*") by simply inserting "/\*" at the beginning of the part to be commented and "\*/" at its end, provided there are no character string values within the part to be commented out that contain "/\*" or "\*/".
+
+### 12.7 Empty lexical item
+
+Name of lexical item – empty
+
+The "empty" item contains no characters. It is used in the notation of clause 5 when alternative sets of production sequences are specified, to indicate that absence of all alternatives is possible.
+
+### 12.8 Numbers
+
+Name of lexical item – number
+
+A "number" shall consist of one or more digits. The first digit shall not be zero unless the "number" is a single digit.
+
+NOTE – The "number" lexical item is always mapped to an integer value by interpreting it as decimal notation.
+
+## 12.9 Real numbers
+
+Name of lexical item – realnumber
+
+A "realnumber" shall consist of an integer part that is a series of one or more digits, and optionally a decimal point (.). The decimal point can optionally be followed by a fractional part which is one or more digits. The integer part, decimal point or fractional part (whichever is last present) can optionally be followed by an e or E and an optionally-signed exponent which is one or more digits. The leading digit of the "realnumber" shall not be zero unless it is either the only digit or is immediately followed by a decimal point followed by a fractional part of which at least one digit is not zero.
+
+A "number" is also a valid instance of "realnumber". In analyzing an instance of use of this notation, a "realnumber" is distinguished from a "number" by the context in which it appears.
+
+### 12.10 Binary strings
+
+Name of lexical item – bstring
+
+A "bstring" shall consist of an arbitrary number (possibly zero) of the characters:
+
+0 1
+
+possibly intermixed with white-space, preceded by an APOSTROPHE (39) character (') and followed by the pair of characters:
+
+'B
+
+EXAMPLE – '01101100'B
+
+Occurrences of white-space within a binary string lexical item have no significance.
+
+### 12.11 XML binary string item
+
+Name of item – xmlbstring
+
+An "xmlbstring" shall consist of an arbitrary number (possibly zero) of zeros, ones or white-space. Any white-space characters that appear within a binary string item have no significance.
+
+EXAMPLE – 01101100
+
+This sequence of characters is also a valid instance of "xmlhstring" and "xmlestring". In analyzing an instance of use of this notation, an "xmlbstring" is distinguished from an "xmlhstring" or "xmlestring" by the context in which it appears.
+
+### 12.12 Hexadecimal strings
+
+Name of lexical item – hstring
+
+**12.12.1** An "hstring" shall consist of an arbitrary number (possibly zero) of the characters:
+
+**A B C D E F 0 1 2 3 4 5 6 7 8 9**
+
+possibly intermixed with white-space, preceded by an APOSTROPHE (39) character (') and followed by the pair of characters:
+
+**'H**
+
+**EXAMPLE – 'AB0196'H**
+
+Occurrences of white-space within a hexadecimal string lexical item have no significance.
+
+**12.12.2** Each character is used to denote the value of a semi-octet using a hexadecimal representation.
+
+### **12.13 XML hexadecimal string item**
+
+Name of item – xmlhstring
+
+**12.13.1** An "xmlhstring" shall consist of an arbitrary number (possibly zero) of the characters:
+
+**0 1 2 3 4 5 6 7 8 9 A B C D E F a b c d e f**
+
+or white-space. Any white-space characters that appear within a hexadecimal string item have no significance.
+
+**EXAMPLE – Ab0196**
+
+**12.13.2** Each character is used to denote the value of a semi-octet using a hexadecimal representation.
+
+**12.13.3** All instances of "xmlhstring" are also valid instances of "xmlestring", and some instances are also valid instances of "xmlbstring". In analyzing an instance of use of this notation, an "xmlhstring" is distinguished from an "xmlbstring" or "xmlestring" by the context in which it appears.
+
+### **12.14 Character strings**
+
+Name of lexical item – cstring
+
+**12.14.1** A "cstring" shall consist of an arbitrary number (possibly zero) of graphic symbols and spacing characters from the character set referenced by the character string type, preceded and followed by a QUOTATION MARK (34) character ("). If the character set includes a QUOTATION MARK (34) character, this character (if present in the character string being represented by the "cstring") shall be represented in the "cstring" by a pair of QUOTATION MARK (34) characters on the same line with no intervening spacing character. The "cstring" may span more than one line of text, in which case the character string being represented shall not include spacing characters in the position prior to or following the end of line in the "cstring". Any spacing characters that appear immediately prior to or following the end of line in the "cstring" have no significance.
+
+NOTE 1 – The "cstring" can only be used to unambiguously represent (on a printed page) character strings for which every character in the string being represented has either been assigned a graphic symbol, or is a spacing character. Where a character string containing control characters needs to be denoted in a printed representation, alternative ASN.1 syntax is available (see clause 39).
+
+NOTE 2 – The character string represented by a "cstring" consists of the characters associated with the graphic symbols and spacing characters. Spacing characters immediately preceding or following any end of line in the "cstring" are not part of the character string being represented (they are ignored). Where spacing characters are included in the "cstring", or where the graphic symbols in the character repertoire are not unambiguous in a printed representation, the character string denoted by "cstring" may be ambiguous in that printed representation.
+
+**EXAMPLE 1 – „屎 屍 市 弑 „**
+
+**EXAMPLE 2 – The "cstring":**
+
+**"ABCDE FGH**
+
+**IJK"XYZ"**
+
+can be used to represent a character string value of type **IA5String**. The value represented consists of the characters:
+
+**ABCDE FGH IJK"XYZ**
+
+where the precise number of spaces intended between **E** and **F** can be ambiguous in a printed representation if a proportional spacing font (such as is used above) is used in the printed specification, or if the character repertoire contains multiple spacing characters of different widths.
+
+**12.14.2** When a character is a combining character (see Annex H) it shall be denoted in a printed representation of the "cstring" as an individual character. It shall not be overprinted with the characters with which it combines. (This ensures that the order of combining characters in the string value is unambiguously defined in the printed version.)
+
+EXAMPLE – Lower-case "e" and the accent combining character are two characters in ISO/IEC 10646, and thus a corresponding "cstring" should be printed as two characters and not as the single character é.
+
+### 12.15 XML character string item
+
+Name of item – xmlcstring
+
+**12.15.1** An "xmlcstring" shall consist of an arbitrary number (possibly zero) of the following ISO/IEC 10646 characters:
+
+- a) HORIZONTAL TABULATION (9);
+- b) LINE FEED (10);
+- c) CARRIAGE RETURN (13);
+- d) any character whose ISO/IEC 10646 character code is in the range 32 (20 hex) to 55295 (D7FF hex), inclusive;
+- e) any character whose ISO/IEC 10646 character code is in the range 57344 (E000 hex) to 65533 (FFFD hex), inclusive;
+- f) any character whose ISO/IEC 10646 character code is in the range 65536 (10000 hex) to 1114111 (10FFFF hex), inclusive.
+
+NOTE – Additional restrictions are imposed by the requirement that the "xmlcstring", in an instance of use, shall contain only characters permitted by the governing character string type.
+
+**12.15.2** The characters "&" (AMPERSAND), "<" (LESS-THAN SIGN) or ">" (GREATER-THAN SIGN) shall appear only as part of one of the character sequences specified in 12.15.4 or 12.15.5.
+
+**12.15.3** An "xmlcstring" is used to represent the value of a restricted character string (see 41.9), and can be used to represent all combinations of ISO/IEC 10646 characters, either directly, or by using the escape sequences specified below.
+
+NOTE 1 – An "xmlcstring" cannot be used to represent characters that are not present in ISO/IEC 10646, such as some of the control characters which can appear in **GeneralString**, nor can it represent characters which might be defined with ISO/IEC 10646 character codes above 10FFFF hex.
+
+NOTE 2 – The characters LINE FEED (10) and CARRIAGE RETURN (13) and the pair CARRIAGE RETURN + LINE FEED are not distinguished when processed by conforming XML processors.
+
+**12.15.4** If the characters "&" (AMPERSAND), "<" (LESS-THAN SIGN) or ">" (GREATER-THAN SIGN) are present in an abstract character string value being represented by "xmlcstring" (see 41.9), they shall be represented in the "xmlcstring" by either
+
+- a) the escape sequences specified in 12.15.8; or
+- b) the escape sequences "&"; "<"; or ">"; respectively. These escape sequences shall not contain white-space (see 12.1.6).
+
+**12.15.5** If a character with an ISO/IEC 10646 character code in column 1 of Table 3 is present in the abstract character string value being represented by the "xmlcstring" (see 41.9), it shall be represented by the character sequence in column 2 of Table 3. These character sequences shall not contain white-space (see 12.1.6).
+
+NOTE – This does not include characters with decimal character codes 9, 10, and 13, and all the letters in these character sequences are lower-case.
+
+Table 3 – Escape sequences for control characters in an "xmlcstring"
+
+| ISO/IEC 10646 character code | "xmlcstring" representation | ISO/IEC 10646 character code | "xmlcstring" representation |
+|------------------------------|-----------------------------|------------------------------|-----------------------------|
+| 0 (0 hex) | | 17 (11 hex) | |
+| 1 (1 hex) | | 18 (12 hex) | |
+| 2 (2 hex) | | 19 (13 hex) | |
+| 3 (3 hex) | | 20 (14 hex) | |
+| 4 (4 hex) | | 21 (15 hex) | |
+| 5 (5 hex) | | 22 (16 hex) | |
+| 6 (6 hex) | | 23 (17 hex) | |
+| 7 (7 hex) | | 24 (18 hex) | |
+| 8 (8 hex) | | 25 (19 hex) | |
+| 11 (B hex) | | 26 (1A hex) | |
+| 12 (C hex) | | 27 (1B hex) | |
+| 14 (E hex) | | 28 (1C hex) | |
+| 15 (F hex) | | 29 (1D hex) | |
+| 16 (10 hex) | | 30 (1E hex) | |
+| | | 31 (1F hex) | |
+
+**12.15.6** When "xmlcstring" is used within an "XMLTypedValue" (see 16.2) forming part of an XER encoding (see Rec. ITU-T X.693 | ISO/IEC 8825-4), it may contain adjacent HYPHEN-MINUS (45) characters. When used within an instance of XML value notation in an ASN.1 module, it shall not contain two adjacent HYPHEN-MINUS characters. If this character sequence is present in an abstract character string value being represented by the "xmlcstring" in an ASN.1 module, then at least one of the adjacent HYPHEN-MINUS characters shall be represented by the escape sequences specified in 12.15.8.
+
+**12.15.7** When "xmlcstring" is used within an "XMLTypedValue" forming part of an XER encoding (see Rec. ITU-T X.693 | ISO/IEC 8825-4), it may contain adjacent ASTERISK (42) and SOLIDUS (47) characters in any order. When used within an instance of XML value notation in an ASN.1 module, it shall not contain adjacent ASTERISK and SOLIDUS characters (in any order). If this character sequence is present in an abstract character string value being represented by the "xmlcstring", then at least one of the adjacent ASTERISK and SOLIDUS characters shall be represented by the escape sequences specified in 12.15.8.
+
+**12.15.8** Any character that can appear directly in an "xmlcstring" can also be represented in the "xmlcstring" by an escape sequence of the form "n;" (where n is the ISO/IEC 10646 character code in decimal notation) or of the form "n;" (where n is the ISO/IEC 10646 character code in hexadecimal notation). These escape sequences shall not contain white-space (see 12.1.6).
+
+NOTE 1 – Leading zeros are permitted in the decimal and hexadecimal values of "n" and both lower-case and upper-case letters "A"-"F" can be used in the hexadecimal value.
+
+NOTE 2 – If the escape sequences "n" and "n" are used for ISO/IEC 10646 characters which are not in the Basic Multilingual Plane (BMP), the value of "n" will be greater than 65535 (FFFF hex).
+
+EXAMPLE – The "xmlcstring":
+
+ABCDé FGHîJK&XYZ
+
+can be used to represent a character string value of type UTF8String. The value represented consists of the characters:
+
+ABCDé FGHîJK&XYZ
+
+where the precise space characters between é and F can be ambiguous in print media if a proportional spacing font (such as above) is used in the specification.
+
+### 12.16 The simple character string lexical item
+
+Name of item – simplestring
+
+A "simplestring" shall consist of one or more ISO/IEC 10646 characters whose character code is in the range 32 to 126, preceded and followed by a QUOTATION MARK (34) character ("). It shall not contain a QUOTATION MARK (34) character ("). The "simplestring" may span more than one line of text, in which case any characters representing end-of-line shall be treated as spacing characters. In analyzing an instance of use of this notation, a "simplestring" is distinguished from a "cstring" by the context in which it appears.
+
+NOTE – The "simplestring" lexical item is only used in the subtype notation of the time type.
+
+### 12.17 Time value character strings
+
+Name of item – tstring
+
+A "tstring" shall consist of one or more of the characters:
+
+0 1 2 3 4 5 6 7 8 9 + - : . , / C D H M R P S T W Y Z
+
+preceded and followed by a QUOTATION MARK (34) character (").
+
+NOTE – The "tstring" lexical item is only used in the value notation for the time type.
+
+### 12.18 XML time value character string item
+
+Name of item – xmltstring
+
+An "xmltstring" shall consist of one or more of the characters:
+
+0 1 2 3 4 5 6 7 8 9 + - : . , / C D H M R P S T W Y Z
+
+NOTE – The "xmltstring" lexical item is only used in the XML value notation of the time type.
+
+### 12.19 The property and setting names lexical item
+
+Name of item – psname
+
+A "psname" shall consist of an arbitrary number (one or more) of letters, digits and hyphens. The initial character shall be an upper-case letter. A hyphen shall not be the last character. A hyphen shall not be immediately followed by another hyphen.
+
+NOTE – The "psname" lexical item is only used in the contents of the "simplestring" used in the subtype notation for the time type.
+
+### 12.20 Assignment lexical item
+
+Name of lexical item – " : :="
+
+This lexical item shall consist of the sequence of characters:
+
+: :=
+
+NOTE – This sequence does not contain white-space (see 12.1.2).
+
+### 12.21 Range separator
+
+Name of lexical item – ". ."
+
+This lexical item shall consist of the sequence of characters:
+
+. .
+
+NOTE – This sequence does not contain white-space (see 12.1.2).
+
+### 12.22 Ellipsis
+
+Name of lexical item – "..."
+
+This lexical item shall consist of the sequence of characters:
+
+...
+
+NOTE – This sequence does not contain white-space (see 12.1.2).
+
+### **12.23 Left version brackets**
+
+Name of lexical item – "[["
+
+This lexical item shall consist of the sequence of characters:
+
+[["
+
+NOTE – This sequence does not contain white-space (see 12.1.2).
+
+### **12.24 Right version brackets**
+
+Name of lexical item – "]]"
+
+This lexical item shall consist of the sequence of characters:
+
+]]
+
+NOTE – This sequence does not contain white-space (see 12.1.2).
+
+### **12.25 Encoding references**
+
+Name of item – encodingreference
+
+An "encodingreference" shall consist of a sequence of characters as specified for a "typereference" in 12.2, except that no lower-case letters shall be included.
+
+NOTE – Currently defined encoding references are listed in Annex E with the Recommendation | International Standard that specifies the syntax and semantics of the corresponding encoding instructions. The "encodingreference" shall consist only of the sequences listed in Annex E in this or in future versions of this Recommendation | International Standard.
+
+### **12.26 Integer-valued Unicode labels**
+
+Name of lexical item – integerUnicodeLabel
+
+This lexical item shall consist of an arbitrarily long sequence of ISO/IEC 10646 characters in the range 0 (DIGIT ZERO) to 9 (DIGIT NINE) that identify an arc of the International Object Identifier tree. It shall not commence with a 0 (DIGIT ZERO) character unless it has only a single character and the primary integer value of the associated arc of the International Object Identifier tree is zero.
+
+### **12.27 Non-integer Unicode labels**
+
+Name of lexical item – non-integerUnicodeLabel
+
+This lexical item shall consist of an arbitrarily long sequence of ISO/IEC 10646 characters that satisfies the constraints specified in Rec. ITU-T X.660 | ISO 9834-1, 7.5 and identifies an arc of the International Object Identifier tree. For lexical parsing purposes, it shall not consist only of characters that would enable it to be identified as an "integerUnicodeLabel".
+
+### **12.28 XML end tag start item**
+
+Name of item – "<"
+
+This item shall consist of the sequence of characters:
+
+<
+
+NOTE – This sequence does not contain any white-space characters (see 12.1.2).
+
+### **12.29 XML single tag end item**
+
+Name of item – ">"
+
+This item shall consist of the sequence of characters:
+
+>
+
+NOTE – This sequence does not contain any white-space characters (see 12.1.2).
+
+### **12.30 XML boolean true item**
+
+Name of item – "true"
+
+**12.30.1** This item shall consist of the sequence of characters:
+
+true
+
+**12.30.2** In analyzing an instance of use of this notation, a "true" is distinguished from a "valuereference" or an "identifier" or an instance of XML boolean "extended-true" by the context in which it appears.
+
+NOTE – This sequence does not contain any white-space characters (see 12.1.2).
+
+### **12.31 XML boolean extended-true item**
+
+Name of item – extended-true
+
+**12.31.1** This item shall consist of either the sequence of characters:
+
+true
+
+or of the single character:
+
+1 (DIGIT ONE)
+
+**12.31.2** In analyzing an instance of use of this notation, an "extended-true" is distinguished from a "valuereference" or an "identifier" or an instance of XML boolean "true" by the context in which it appears.
+
+NOTE – This sequence does not contain any white-space characters (see 12.1.2).
+
+### **12.32 XML boolean false item**
+
+Name of item – "false"
+
+**12.32.1** This item shall consist of the sequence of characters:
+
+false
+
+**12.32.2** In analyzing an instance of use of this notation, a "false" is distinguished from a "valuereference" or an "identifier" or an instance of XML boolean "extended-false" by the context in which it appears.
+
+NOTE – This sequence does not contain any white-space characters (see 12.1.2).
+
+### **12.33 XML boolean extended-false item**
+
+Name of item – extended-false
+
+**12.33.1** This item shall consist of either the sequence of characters:
+
+false
+
+or of the single character:
+
+0 (DIGIT ZERO)
+
+**12.33.2** In analyzing an instance of use of this notation, a "false" is distinguished from a "valuereference" or an "identifier" or an instance of XML boolean "false" by the context in which it appears.
+
+NOTE – This sequence does not contain any white-space characters (see 12.1.2).
+
+### **12.34 XML real not-a-number item**
+
+Name of item – "NaN"
+
+**12.34.1** This item shall consist of the sequence of characters:
+
+NaN
+
+**12.34.2** In analyzing an instance of use of this notation, a "NaN" is distinguished from any other lexical item commencing with an upper-case letter by the context in which it appears.
+
+NOTE – This sequence does not contain any white-space characters (see 12.1.2).
+
+### **12.35 XML real infinity item**
+
+Name of item – "INF"
+
+**12.35.1** This item shall consist of the sequence of characters:
+
+INF
+
+**12.35.2** In analyzing an instance of use of this notation, an "INF" is distinguished from any other lexical item commencing with an upper-case letter by the context in which it appears.
+
+NOTE – This sequence does not contain any white-space characters (see 12.1.2).
+
+### 12.36 XML tag names for ASN.1 types
+
+Name of item – `xmlasn1typename`
+
+**12.36.1** This Recommendation | International Standard uses the item "`xmlasn1typename`" when ASN.1 built-in types are to be used as XML tag names.
+
+**12.36.2** Table 4 lists the character sequences that are to form the "`xmlasn1typename`" for each of the ASN.1 built-in types listed in 17.2. The ASN.1 built-in type is identified in column 1 of Table 4 by its production name. The character sequence which shall be used for "`xmlasn1typename`" is identified in column 2 of Table 4, with no white-space before or after these character sequences.
+
+**12.36.3** The "`xmlasn1typename`" for the "UsefulType"s (see 45.1) shall be the "typereference" used in their definition.
+
+**12.36.4** The character sequence in the "`xmlasn1typename`" item for the "ObjectClassFieldType" and for the "InstanceOfType" are specified in Rec. ITU-T X.681 | ISO/IEC 8824-2, 14.1 and Annex C.
+
+**12.36.5** If the ASN.1 built-in type is a "PrefixedType" then the type which determines the "`xmlasn1typename`" shall be "Type" in the "PrefixedType" (see 31.1.5). If this is itself a "PrefixedType", then this subclause 12.36.5 shall be recursively applied.
+
+NOTE – The subclauses of 26.10 specify the "Type" to be used for a "SelectionType" and a "ConstrainedType".
+
+**Table 4 – Characters in `xmlasn1typename`**
+
+| ASN.1 type production name | Characters in xmlasn1typename |
+|---------------------------------|---------------------------------------------------------------|
+| BitStringType | BIT_STRING |
+| BooleanType | BOOLEAN |
+| ChoiceType | CHOICE |
+| DateType | DATE |
+| DateTimeType | DATE_TIME |
+| DurationType | DURATION |
+| EmbeddedPDVType | SEQUENCE |
+| EnumeratedType | ENUMERATED |
+| ExternalType | SEQUENCE |
+| InstanceOfType | SEQUENCE |
+| IntegerType | INTEGER |
+| IRIType | OID_IRI |
+| NullType | NULL |
+| ObjectClassFieldType | See Rec. ITU-T X.681 ISO/IEC 8824-2, 14.10 and 14.11 |
+| ObjectIdentifierType | OBJECT_IDENTIFIER |
+| OctetStringType | OCTET_STRING |
+| PrefixedType | See 12.36.5 |
+| RealType | REAL |
+| RelativeIRIType | RELATIVE_OID_IRI |
+| RelativeOIDType | RELATIVE_OID |
+| RestrictedCharacterStringType | The type name (e.g. IA5String) |
+| SequenceType | SEQUENCE |
+| SequenceOfType | SEQUENCE_OF |
+| SetType | SET |
+| SetOfType | SET_OF |
+| TimeType | TIME |
+| TimeOfDayType | TIME_OF_DAY |
+| UnrestrictedCharacterStringType | SEQUENCE |
+
+### **12.37 Single character lexical items**
+
+Names of lexical items –
+
+```
+
+"{"
+"}"
+"<"
+">"
+" "
+"?"
+"."
+"/"
+"("
+")"
+"["
+"]"
+"_" (HYPHEN-MINUS)
+":"
+"="
+"'" (QUOTATION MARK)
+"'" (APOSTROPHE)
+".."
+"@"
+"|"
+"!"
+"^"
+
+```
+
+A lexical item with any of the names listed above shall consist of the single character without the quotation marks.
+
+### **12.38 Reserved words**
+
+Names of reserved words –
+
+| | | | |
+|-----------------|------------------|------------------|-----------------|
+| ABSENT | ENCODED | INTERSECTION | SEQUENCE |
+| ABSTRACT-SYNTAX | ENCODING-CONTROL | ISO646String | SET |
+| ALL | END | MAX | SETTINGS |
+| APPLICATION | ENUMERATED | MIN | SIZE |
+| AUTOMATIC | EXCEPT | MINUS-INFINITY | STRING |
+| BEGIN | EXPLICIT | NOT-A-NUMBER | SYNTAX |
+| BIT | EXPORTS | NULL | T61String |
+| BMPString | EXTENSIBILITY | NumericString | TAGS |
+| BOOLEAN | EXTERNAL | OBJECT | TeletexString |
+| BY | FALSE | ObjectDescriptor | TIME |
+| CHARACTER | FROM | OCTET | TIME-OF-DAY |
+| CHOICE | GeneralizedTime | OF | TRUE |
+| CLASS | GeneralString | OID-IRI | TYPE-IDENTIFIER |
+| COMPONENT | GraphicString | OPTIONAL | UNION |
+| COMPONENTS | IA5String | PATTERN | UNIQUE |
+| CONSTRAINED | IDENTIFIER | PDV | UNIVERSAL |
+| CONTAINING | IMPLICIT | PLUS-INFINITY | UniversalString |
+| DATE | IMPLIED | PRESENT | UTCtime |
+| DATE-TIME | IMPORTS | PrintableString | UTF8String |
+| DEFAULT | INCLUDES | PRIVATE | VideotexString |
+| DEFINITIONS | INSTANCE | REAL | VisibleString |
+| DURATION | INSTRUCTIONS | RELATIVE-OID | WITH |
+| EMBEDDED | INTEGER | RELATIVE-OID-IRI | |
+
+Lexical items with the above names shall consist of the sequence of characters in the name, and are reserved character sequences.
+
+NOTE 1 – White-space does not occur in these sequences.
+
+NOTE 2 – The keywords **CLASS**, **CONSTRAINED**, **CONTAINING**, **ENCODED**, **INSTANCE**, **SYNTAX** and **UNIQUE** are not used in this Recommendation | International Standard; they are used in Rec. ITU-T X.681 | ISO/IEC 8824-2, Rec. ITU-T X.682 | ISO/IEC 8824-3 and Rec. ITU-T X.683 | ISO/IEC 8824-4.
+
+## 13 Module definition
+
+13.1 A "ModuleDefinition" is specified by the following productions:
+
+```
+
+ModuleDefinition ::=
+ ModuleIdentifier
+ DEFINITIONS
+ EncodingReferenceDefault
+ TagDefault
+ ExtensionDefault
+ " : : ="
+ BEGIN
+ ModuleBody
+ EncodingControlSections
+ END
+
+ModuleIdentifier ::=
+ modulereference
+ DefinitiveIdentification
+
+DefinitiveIdentification ::=
+ DefinitiveOID
+ | DefinitiveOIDandIRI
+ | empty
+
+DefinitiveOID ::=
+ "{ " DefinitiveObjIdComponentList " } "
+
+DefinitiveOIDandIRI ::=
+ DefinitiveOID
+ IRIValue
+
+DefinitiveObjIdComponentList ::=
+ DefinitiveObjIdComponent
+ | DefinitiveObjIdComponent DefinitiveObjIdComponentList
+
+DefinitiveObjIdComponent ::=
+ NameForm
+ | DefinitiveNumberForm
+ | DefinitiveNameAndNumberForm
+
+DefinitiveNumberForm ::= number
+
+DefinitiveNameAndNumberForm ::= identifier " ( " DefinitiveNumberForm " ) "
+
+EncodingReferenceDefault ::=
+ encodingreference INSTRUCTIONS
+ | empty
+
+TagDefault ::=
+ EXPLICIT TAGS
+ | IMPLICIT TAGS
+ | AUTOMATIC TAGS
+ | empty
+
+ExtensionDefault ::=
+ EXTENSIBILITY IMPLIED
+ | empty
+
+ModuleBody ::=
+ Exports Imports AssignmentList
+
+```
+
+```
+
+| empty
+
+Exports ::=
+ EXPORTS SymbolsExported ";"
+| EXPORTS ALL ";"
+| empty
+
+SymbolsExported ::=
+ SymbolList
+| empty
+
+Imports ::=
+ IMPORTS SymbolsImported ";"
+| empty
+
+SymbolsImported ::=
+ SymbolsFromModuleList
+| empty
+
+SymbolsFromModuleList ::=
+ SymbolsFromModule
+| SymbolsFromModuleList SymbolsFromModule
+
+SymbolsFromModule ::=
+ SymbolList FROM GlobalModuleReference SelectionOption
+
+SelectionOption ::=
+ empty
+| WITH "SUCCESSORS"
+| WITH "DESCENDANTS"
+
+GlobalModuleReference ::=
+ modulereference AssignedIdentifier
+
+AssignedIdentifier ::=
+ ObjectIdentifierValue
+| DefinedValue
+| empty
+
+SymbolList ::=
+ Symbol
+| SymbolList "," Symbol
+
+Symbol ::=
+ Reference
+| ParameterizedReference
+
+Reference ::=
+ typereference
+| valuereference
+| objectclassreference
+| objectreference
+| objectsetreference
+
+AssignmentList ::=
+ Assignment
+| AssignmentList Assignment
+
+Assignment ::=
+ TypeAssignment
+| ValueAssignment
+| XMLValueAssignment
+| ValueSetTypeAssignment
+| ObjectClassAssignment
+| ObjectAssignment
+| ObjectSetAssignment
+| ParameterizedAssignment
+
+```
+
+NOTE 1 – The use of a "ParameterizedReference" in the "Exports" and "Imports" lists is specified in Rec. ITU-T X.683 | ISO/IEC 8824-4.
+
+NOTE 2 – For examples (and for the definition in this Recommendation | International Standard of types with universal class tags), the "ModuleBody" can be used outside of a "ModuleDefinition".
+
+NOTE 3 – "TypeAssignment", "ValueAssignment", "XMLValueAssignment" and "ValueSetTypeAssignment" productions are specified in clause 16.
+
+NOTE 4 – The value of "TagDefault" for the module definition affects only those types defined explicitly in the module. It does not affect the interpretation of imported types.
+
+NOTE 5 – The character semicolon does not appear in the assignment list specification or any of its subordinate productions, and is reserved for use by ASN.1 tool developers.
+
+**13.2** The "TagDefault" is taken as **EXPLICIT TAGS** if it is "empty".
+
+NOTE – Subclause 31.2 gives the meaning of **EXPLICIT TAGS**, **IMPLICIT TAGS**, and **AUTOMATIC TAGS**.
+
+**13.3** When the **AUTOMATIC TAGS** alternative of "TagDefault" is selected, automatic tagging is said to be selected for the module, otherwise it is said to be not selected. Automatic tagging is a syntactical transformation which is applied (with additional conditions) to the "ComponentTypeLists" and "AlternativeTypeLists" productions occurring within the definition of the module. This transformation is formally specified by 25.8 to 25.10, 27.3 and 29.2 to 29.5 regarding the notations for sequence types, set types and choice types, respectively.
+
+**13.4** The **EXTENSIBILITY IMPLIED** option is equivalent to the textual insertion of an extension marker ("...") in the definition of each type in the module for which it is permitted. The location of the implied extension marker is the last position in the type where an explicitly specified extension marker is allowed. The absence of **EXTENSIBILITY IMPLIED** means that extensibility is only provided for those types within the module where an extension marker is explicitly present.
+
+NOTE – **EXTENSIBILITY IMPLIED** affects only types. It has no effect on object sets and subtype constraints.
+
+**13.5** The "EncodingReferenceDefault" specifies that the "encodingreference" is the default encoding reference for the module. If the "EncodingReferenceDefault" is "empty", then the default encoding reference for the module is **TAG**.
+
+NOTE – Annex E contains a list of allowed encoding references, together with the Recommendation | International Standard which specifies the form and meaning of the corresponding encoding instructions.
+
+**13.6** The "modulereference" appearing in the "ModuleIdentifier" production is called the module name.
+
+NOTE – The possibility of defining a single ASN.1 module by the use of several occurrences of "ModuleBody" assigned the same "modulereference" was (arguably) permitted in earlier specifications. It is not permitted by this Recommendation | International Standard.
+
+**13.7** Module names shall be used only once (except as specified in 13.10) within the sphere of interest of the definition of the module.
+
+**13.8** If the "DefinitiveIdentification" is not empty, the denoted object identifier, and any optional "IRIValue", value unambiguously and uniquely identify the same node of the OID tree that identifies the module being defined. No defined value may be used in defining the object identifier value. The "IRIValue" production is specified in 34.3.
+
+NOTE 1 – It is strongly recommended that at least an object identifier value (and preferably an object identifier value plus an OID internationalized resource identifier value) be assigned to the module so that others can unambiguously refer to the module.
+
+NOTE 2 – The question of what changes to a module require a new "DefinitiveIdentification" is not addressed in this Recommendation | International Standard.
+
+**13.9** If the "AssignedIdentifier" is not empty, the "ObjectIdentifierValue" and the "DefinedValue" alternatives unambiguously and uniquely identify the module from which reference names are being imported. When the "DefinedValue" alternative of "AssignedIdentifier" is used, it shall be a value of type object identifier. Each "valuereference" which textually appears within an "AssignedIdentifier" shall satisfy one of the following rules:
+
+- a) It is defined in the "AssignmentList" of the module being defined, and all "valuereference"s which textually appear on the right side of the assignment statement also satisfy this rule (rule "a") or the next rule (rule "b").
+- b) It appears as a "Symbol" in a "SymbolsFromModule" whose "AssignedIdentifier" does not textually contain any "valuereference"s.
+
+NOTE 1 – It is recommended that an object identifier be assigned so that others can unambiguously refer to the module.
+
+NOTE 2 – This syntax does not provide for the inclusion of an OID internationalized resource reference (if assigned) to the referenced module, but it is recommended that this be included in an ASN.1 comment.
+
+**13.10** The "GlobalModuleReference" in a "SymbolsFromModule" shall appear in the "ModuleDefinition" of another module, except that if it includes a non-empty "DefinitiveIdentification", the "modulereference" may differ in the two cases.
+
+NOTE – A different "modulereference" from that used in the other module should only be used when symbols are to be imported from two modules with the same name (the modules being named in disregard of 13.7). The use of alternative distinct names makes these names available for use in the body of the module (see 13.16).
+
+**13.11** When both a "modulereference" and a non-empty "AssignedIdentifier" are used in referencing a module, the latter shall be considered definitive.
+
+**13.12** When the referenced module has a non-empty "DefinitiveIdentification", the "GlobalModuleReference" referencing that module shall not have an empty "AssignedIdentifier".
+
+**13.13** When the "SymbolsExported" alternative of "Exports" is selected:
+
+- a) each "Symbol" in "SymbolsExported" shall satisfy one and only one of the following conditions:
+ - i) is only defined in the module being constructed; or
+ - ii) appears exactly once in the "SymbolsImported" alternative of "Imports";
+- b) every "Symbol" to which reference from outside the module is appropriate shall be included in the "SymbolsExported" and only these "Symbol"s may be referenced from outside the module (subject to the relaxation specified in 13.14); and
+- c) if there are no such "Symbol"s, then the empty alternative of "SymbolsExported" (not of "Exports") shall be selected.
+
+**13.14** When either the "empty" alternative or the **EXPORTS ALL** alternative of "Exports" is selected, every "Symbol" defined in the module or imported by the module may be referenced from other modules subject to the restriction specified in 13.13 a).
+
+NOTE – The "empty" alternative of "Exports" is included for backwards compatibility.
+
+**13.15** Identifiers that appear in a "NamedNumberList", "Enumeration" or "NamedBitList" are implicitly exported if the typereference that defines them is exported or appears as a component (or subcomponent) within an exported type.
+
+**13.16** When the "SymbolsImported" alternative of "Imports" is selected:
+
+- a) Each "Symbol" in "SymbolsFromModule" shall either be defined in the module body, or be present in the "Imports" clause, of the module denoted by the "GlobalModuleReference" in "SymbolsFromModule". Importing a "Symbol" present in the "Imports" clause of the referenced module is only allowed if there is only one occurrence of the "Symbol" in that clause, and the "Symbol" is not defined in the referenced module.
+
+NOTE 1 – This does not prohibit the same symbol name defined in two different modules from being imported into another module. However, if the same "Symbol" name appears more than once in the "Imports" clause of module A, that "Symbol" name cannot be exported from A for import to another module B.
+
+- b) If the "SymbolsExported" alternative of "Exports" is selected in the definition of the module denoted by the "GlobalModuleReference" in "SymbolsFromModule" the "Symbol" shall appear in its "SymbolsExported".
+- c) Only those "Symbol"s that appear amongst the "SymbolList" of a "SymbolsFromModule" may appear as the symbol in any "ExternalReference" which has the "modulereference" denoted by the "GlobalModuleReference" of that "SymbolsFromModule" (where is "Value", "Type", "Object", "Objectclass", or "Objectset").
+- d) If there are no such "Symbol"s, then the "empty" alternative of "SymbolsImported" shall be selected.
+
+
+NOTE 2 – An effect of c) and d) is that the statement **IMPORTS**; implies that the module cannot contain an "ExternalReference".
+- e) All the "SymbolsFromModule" in the "SymbolsFromModuleList" shall include occurrences of "GlobalModuleReference" such that:
+ - i) the "modulereference" in them are all different from each other and from the "modulereference" associated with the referencing module; and
+ - ii) the "AssignedIdentifier", when non-empty, denotes object identifier values which are all different from each other and from the object identifier value (if any) associated with the referencing module.
+- f) If the "SymbolsFromModule" has a non-empty "SelectionOption", the "AssignedIdentifier" in the "GlobalModuleReference" shall not be empty, and the referenced module shall be determined as follows:
+ - i) If the "SelectionOption" is **WITH SUCCESSORS**, the module denoted by the "GlobalModuleReference" is the one that has a DefinitiveIdentification with an object identifier whose last node may be incremented zero or more times. If multiple modules meet this criterion, the denoted module is the one whose object identifier has the last node with the greatest number of increments.
+
+- ii) If the "SelectionOption" is **WITH DESCENDANTS**, the module denoted by the "GlobalModuleReference" is the one that has a DefinitiveIdentification that identifies the node identified by the "GlobalModuleReference" or one of its subordinates. If multiple modules meet this criterion, the denoted module is the one with the largest object identifier. For this comparison, the arcs are compared successively until one arc is different (selecting the largest arc) or the end of one object identifier is reached (selecting the longer object identifier).
+
+**13.17** When the "empty" alternative of "Imports" is selected, the module may still reference "Symbols" defined in other modules by means of an "ExternalReference".
+
+NOTE – The "empty" alternative of "Imports" is included for backwards compatibility.
+
+**13.18** Identifiers that appear in a "NamedNumberList", "Enumeration" or "NamedBitList" are implicitly imported if the typereference that defines them is imported or appears as a component (or subcomponent) within an imported type.
+
+**13.19** A "Symbol" in a "SymbolsFromModule" may appear in "ModuleBody" as a "Reference". The meaning associated with the "Symbol" is that which it has in the module denoted by the corresponding "GlobalModuleReference".
+
+**13.20** Where the "Symbol" also appears in an "AssignmentList" (deprecated), or appears in one or more other instances of "SymbolsFromModule", it shall only be used in an "ExternalReference". Where it does not so appear, it shall be used directly as a "Reference".
+
+**13.21** The various alternatives for "Assignment" are defined in the following clauses in this Recommendation | International Standard, except as noted otherwise:
+
+| Assignment alternative | Defining subclause |
+|-------------------------------|-----------------------------------------|
+| "TypeAssignment" | 16.1 |
+| "ValueAssignment" | 16.2 |
+| "XMLValueAssignment" | 16.2 |
+| "ValueSetTypeAssignment" | 16.6 |
+| "ObjectClassAssignment" | Rec. ITU-T X.681 ISO/IEC 8824-2, 9.1 |
+| "ObjectAssignment" | Rec. ITU-T X.681 ISO/IEC 8824-2, 11.1 |
+| "ObjectSetAssignment" | Rec. ITU-T X.681 ISO/IEC 8824-2, 12.1 |
+| "ParameterizedAssignment" | Rec. ITU-T X.683 ISO/IEC 8824-4, 8.1 |
+
+The first symbol of every "Assignment" is one of the alternatives of "Reference", denoting the reference name being defined. In no two assignments within an "AssignmentList" shall the reference names be the same.
+
+**13.22** "EncodingControlSections" is specified in clause 54.
+
+# 14 Referencing type and value definitions
+
+**14.1** The defined type and value productions:
+
+```
+
+DefinedType ::=
+ ExternalTypeReference
+ | typereference
+ | ParameterizedType
+ | ParameterizedValueSetType
+
+DefinedValue ::=
+ ExternalValueReference
+ | valuereference
+ | ParameterizedValue
+
+```
+
+specify the sequences which shall be used to reference type and value definitions. The type identified by a "ParameterizedType" and "ParameterizedValueSetType", and the value identified by a "ParameterizedValue" are specified in Rec. ITU-T X.683 | ISO/IEC 8824-4.
+
+**14.2** The "NonParameterizedTypeName" production:
+
+```
+
+NonParameterizedTypeName ::=
+ ExternalTypeReference
+ | typereference
+
+```
+
+###### | **xmlasn1typename**
+
+is used when an XML tag name is needed to represent an ASN.1 type. If the resulting XML tag name begins with the letters "XML", then a LOW LINE (95) shall be pre-pended to form the "NonParameterizedTypeName".
+
+**14.3** The third alternative shall not be used as the "NonParameterizedTypeName" in the "XMLTypedValue" of "XMLValueAssignment" (see 16.2) or of "XMLOpenTypeFieldVal" (see Rec. ITU-T X.681 | ISO/IEC 8824-2, 14.6) when the XML value notation is used in an ASN.1 module if the "xmlasn1typename" is "CHOICE", "ENUMERATED", "SEQUENCE", "SEQUENCE\_OF", "SET" or "SET\_OF".
+
+NOTE – This restriction is imposed in XML value notation used in an ASN.1 module because these "xmlasn1typename"s do not define an ASN.1 type. The restriction is not present for use of this notation in encoding rules (such as XER, see Rec. ITU-T X.693 | ISO/IEC 8825-4) because XML tag names formed from "xmlasn1typename"s are not used to determine the types that are being encoded.
+
+**14.4** Except as specified in 13.19, the "typereference", "valuereference", "ParameterizedType", "ParameterizedValueSetType" or "ParameterizedValue" alternatives shall not be used unless the reference is within the "ModuleBody" in which a type or value is assigned (see 16.1 and 16.2) to the "typereference" or "valuereference".
+
+**14.5** The "ExternalTypeReference" and "ExternalValueReference" shall not be used unless the corresponding "typereference" or "valuereference":
+
+- a) has been assigned a type or value respectively (see 16.1 and 16.2); or
+- b) are present in the "Imports" clause,
+
+within the "ModuleBody" used to define the corresponding "modulereference". Referencing a name in the "Imports" clause of another module shall only be allowed if there is no more than one occurrence of the "Symbol" in that clause.
+
+NOTE – This does not prohibit the same "Symbol" defined in two different modules from being imported into another module. However, if the same "Symbol" appears more than once in the **IMPORTS** clause of a module **A**, then that "Symbol" cannot be referenced using module **A** in an external reference.
+
+**14.6** An external reference shall be used in a module only to refer to a reference name which is defined in a different module, and is specified by the following productions:
+
+**ExternalTypeReference ::=**
+
+**modulereference**
+
+**" . "**
+
+**typereference**
+
+**ExternalValueReference ::=**
+
+**modulereference**
+
+**" . "**
+
+**valuereference**
+
+NOTE – Additional external reference productions ("ExternalClassReference", "ExternalObjectReference" and "ExternalObjectSetReference") are specified in Rec. ITU-T X.681 | ISO/IEC 8824-2.
+
+**14.7** When the referencing module is defined using the "SymbolsImported" alternative of "Imports", the "modulereference" in the external reference shall appear in the "GlobalModuleReference" of exactly one of the "SymbolsFromModule" in the "SymbolsImported". When the referencing module is defined using the "empty" alternative of "Imports", the "modulereference" in the external reference shall appear in the "ModuleDefinition" of the module (different from the referencing module) where the "Reference" is defined.
+
+**14.8** Where a "DefinedType" is used as part of notation governed by a "Type" (for example, in a "SubtypeConstraint") then the "DefinedType" shall be compatible with the governing "Type" as specified in clause C.6.2.
+
+**14.9** Every occurrence within an ASN.1 specification of a "DefinedValue" is governed by a "Type", and that "DefinedValue" shall reference a value of a type that is compatible with the governing "Type" as specified in clause C.6.2.
+
+## **15 Notation to support references to ASN.1 components**
+
+**15.1** There is a requirement for formal reference to components of ASN.1 types, values, etc. for many purposes. One such instance is the need to write text to identify a specific type within some ASN.1 module. This clause defines a notation which can be used to provide such references.
+
+**15.2** The notation enables any component of a set or sequence type (which is either mandatorily or optionally present in the type) to be identified.
+
+**15.3** Any part of any ASN.1 type definition can be referenced by use of the "AbsoluteReference" syntactic construct:
+
+```
+
+AbsoluteReference ::=
+ "@" ModuleIdentifier
+ "."
+ ItemSpec
+
+ItemSpec ::=
+ typereference
+ | ItemId "." ComponentId
+
+ItemId ::= ItemSpec
+
+ComponentId ::=
+ identifier
+ | number
+ | "*"
+
+```
+
+NOTE – The AbsoluteReference production is not used elsewhere in this Recommendation | International Standard. It is provided for the purposes stated in 15.1.
+
+**15.4** The "ModuleIdentifier" identifies an ASN.1 module (see 13.1).
+
+**15.5** When the first or second alternative of "DefinitiveIdentification" is used as part of the "ModuleIdentifier", the "DefinitiveIdentification" unambiguously and uniquely identifies the module from which a name is being referenced.
+
+**15.6** The "typereference" references any ASN.1 type defined in the module identified by "ModuleIdentifier".
+
+**15.7** The "ComponentId" in each "ItemSpec" identifies a component of the type which has been identified by the "ItemId". It shall be the last "ComponentId" if the component it identifies is not a set, sequence, set-of, sequence-of, or choice type.
+
+**15.8** The "identifier" form of "ComponentId" can be used if the parent "ItemId" is a set or sequence type, and is required to be one of the "identifier"s of the "NamedType" in the "ComponentTypeLists" of that set or sequence. It can also be used if the "ItemId" identifies a choice type, and is then required to be one of the "identifier"s of a "NamedType" in the "AlternativeTypeLists" of that choice type. It cannot be used in any other circumstance.
+
+**15.9** The number form of "ComponentId" can be used only if the "ItemId" is a sequence-of or set-of type. The value of the number identifies the instance of the type in the sequence-of or set-of, with the value "1" identifying the first instance of the type. The value zero identifies a conceptual integer type component (not explicitly present in transfer) that contains a count of the number of instances of the type in the sequence-of or set-of that are present in the value of the enclosing type.
+
+**15.10** The "\*" form of "ComponentId" can be used only if the "ItemId" is a sequence-of or set-of. Any semantics associated with the use of the "\*" form of "ComponentId" apply to all components of the sequence-of and set-of.
+
+NOTE – In the following example:
+
+```
+
+M DEFINITIONS ::= BEGIN
+T ::= SEQUENCE {
+ a BOOLEAN,
+ b SET OF INTEGER
+}
+END
+
+```
+
+the components of "T" could be referenced by text outside an ASN.1 module (or in a comment), such as:
+
+```
+
+-- if (@M.T.b.0 is odd) then:
+-- (@M.T.b.* shall be an odd integer)
+
+```
+
+which is used to state that if the number of components in **b** is odd, all components of **b** must be odd.
+
+## 16 Assigning types and values
+
+**16.1** A "typereference" shall be assigned a type by the notation specified by the "TypeAssignment" production:
+
+```
+
+TypeAssignment ::=
+ typereference
+ ":" ::=
+ Type
+
+```
+
+The "typereference" shall not be an ASN.1 reserved word (see 12.38).
+
+**16.2** A "valuereference" shall be assigned a value by the notation specified by either the "ValueAssignment" or "XMLValueAssignment" productions:
+
+```
+
+ValueAssignment ::=
+ valuereference
+ Type
+ " : : ="
+ Value
+
+XMLValueAssignment ::=
+ valuereference
+ " : : ="
+ XMLTypedValue
+
+XMLTypedValue ::=
+ "<" & NonParameterizedTypeName ">"
+ XMLValue
+ "" & NonParameterizedTypeName ">"
+ |
+ "<" & NonParameterizedTypeName ">"
+
+```
+
+The value being assigned to the "valuereference" in the "ValueAssignment" is "Value", and is governed by "Type" and shall be a notation for a value of the type defined by "Type" (as specified in 16.3). The value being assigned to the "valuereference" in the "XMLValueAssignment" is "XMLValue" (see 17.7), and shall be a notation for a value of the type defined by "NonParameterizedTypeName" (as specified in 16.4). If this is the "xmlasn1typename" item, then it identifies the ASN.1 built-in type in the corresponding row of Table 4 (see also 14.3). Whitespace is permitted around "XMLValue" in "XMLTypedValue" except where explicitly forbidden (see 41.9 and Rec. ITU-T X.693 | ISO/IEC 8825-4, 31.3.4.1).
+
+**16.3** "Value" is a notation for a value of a type as specified in 17.7.
+
+**16.4** "XMLValue" is a notation for a value of a type if "XMLValue" is an "XMLBuiltinValue" notation for the type (see 17.10).
+
+**16.5** The second alternative of "XMLTypedValue" (use of an XML empty-element tag) can be used only if an instance of the "XMLValue" production is empty.
+
+NOTE – If the "XMLValue" production was an "xmlcstring" containing only white-space, this would not be empty, and the second alternative could not be used.
+
+**16.6** A "typereference" can be assigned a value set by the notation specified by the "ValueSetTypeAssignment" production:
+
+```
+
+ValueSetTypeAssignment ::=
+ typereference
+ Type
+ " : : ="
+ ValueSet
+
+```
+
+This notation assigns to "typereference" the type defined as a subtype of the type denoted by "Type" and which contains exactly the values which are specified in or allowed by "ValueSet". The "typereference" shall not be an ASN.1 reserved word (see 12.38), and may be referenced as a type. "ValueSet" is defined in 16.7.
+
+**16.7** A value set governed by some type shall be specified by the notation "ValueSet":
+
+```
+
+ValueSet ::= " { " ElementSetSpecs " } "
+
+```
+
+The value set comprises all of the values, of which there shall be at least one, specified by "ElementSetSpecs" (see clause 50).
+
+**16.8** The "ValueSetTypeAssignment" production expands into:
+
+```
+
+ typereference
+ Type
+ " : : ="
+ " { " ElementSetSpecs " } "
+
+```
+
+For all purposes, including the application of encoding rules, this is defined to be exactly equivalent to the use of the production:
+
+```
+
+typereference
+": :="
+Type
+" (" ElementSetSpecs ") "
+
+```
+
+with the same "Type" and "ElementSetSpecs" specifications.
+
+## 17 Definition of types and values
+
+17.1 A type shall be specified by the notation "Type":
+
+**Type ::= BuiltinType | ReferencedType | ConstrainedType**
+
+17.2 The built-in types of ASN.1 are specified by the notation "BuiltinType", defined as follows:
+
+```
+
+BuiltinType ::=
+| BitStringType
+| BooleanType
+| CharacterStringType
+| ChoiceType
+| DateType
+| DateTimeType
+| DurationType
+| EmbeddedPDVType
+| EnumeratedType
+| ExternalType
+| InstanceOfType
+| IntegerType
+| IRIType
+| NullType
+| ObjectClassFieldType
+| ObjectIdentifierType
+| OctetStringType
+| RealType
+| RelativeIRIType
+| RelativeOIDType
+| SequenceType
+| SequenceOfType
+| SetType
+| SetOfType
+| PrefixedType
+| TimeType
+| TimeOfDayType
+
+```
+
+The various "BuiltinType" notations are defined in the following clauses (in this Recommendation | International Standard unless otherwise stated):
+
+| | |
+|----------------------|--------------------------------------------|
+| BitStringType | 22 |
+| BooleanType | 18 |
+| CharacterStringType | 40 |
+| ChoiceType | 29 |
+| DateType | 38.4.1 |
+| DateTimeType | 38.4.3 |
+| DurationType | 38.4.4 |
+| EmbeddedPDVType | 36 |
+| EnumeratedType | 20 |
+| ExternalType | 37 |
+| InstanceOfType | Rec. ITU-T X.681 ISO/IEC 8824-2, Annex C |
+| IntegerType | 19 |
+| IRIType | 34 |
+| NullType | 24 |
+| ObjectClassFieldType | Rec. ITU-T X.681 ISO/IEC 8824-2, 14.1 |
+| ObjectIdentifierType | 32 |
+| OctetStringType | 23 |
+
+| | |
+|-----------------|--------|
+| RealType | 21 |
+| RelativeIRType | 35 |
+| RelativeOIDType | 33 |
+| SequenceType | 25 |
+| SequenceOfType | 26 |
+| SetType | 27 |
+| SetOfType | 28 |
+| PrefixedType | 31 |
+| TimeType | 38.1.1 |
+| TimeOfDayType | 38.4.2 |
+
+**17.3** The referenced types of ASN.1 are specified by the notation "ReferencedType":
+
+**ReferencedType ::=**
+**DefinedType**
+ | **UsefulType**
+ | **SelectionType**
+ | **TypeFromObject**
+ | **ValueSetFromObjects**
+
+The "ReferencedType" notation provides an alternative means of referring to some other type (and ultimately to a built-in type). The various "ReferencedType" notations, and the way in which the type to which they refer is determined, are specified in the following places in this Recommendation | International Standard unless otherwise stated:
+
+| | |
+|---------------------|----------------------------------------------|
+| DefinedType | 14.1 |
+| UsefulType | 45.1 |
+| SelectionType | 30 |
+| TypeFromObject | Rec. ITU-T X.681 ISO/IEC 8824-2, clause 15 |
+| ValueSetFromObjects | Rec. ITU-T X.681 ISO/IEC 8824-2, clause 15 |
+
+**17.4** The "ConstrainedType" is defined in clause 49.
+
+**17.5** This Recommendation | International Standard requires the use of the notation "NamedType" in specifying the components of the set types, sequence types and choice types. The notation for "NamedType" is:
+
+**NamedType ::= identifier Type**
+
+**17.6** The "identifier" is used to unambiguously refer to components of a set type, sequence type or choice type in the value notation, in inner subtype constraints and in component relation constraints (see Rec. ITU-T X.682 | ISO/IEC 8824-3). It is not part of the type, and has no effect on the type.
+
+**17.7** A value of some type shall be specified by the notation "Value" or by the notation "XMLValue":
+
+**Value ::=**
+**BuiltinValue**
+ | **ReferencedValue**
+ | **ObjectClassFieldValue**
+
+**XMLValue ::=**
+**XMLBuiltinValue**
+ | **XMLObjectClassFieldValue**
+
+NOTE 1 – "ObjectClassFieldValue" and "XMLObjectClassFieldValue" are defined in Rec. ITU-T X.681 | ISO/IEC 8824-2, 14.6.
+
+NOTE 2 – "XMLValue" is only used in "XMLTypedValue".
+
+**17.8** If any part of the "XMLValue" production results in an XML start-tag immediately followed by an XML end-tag, possibly separated by white-space inserted as permitted by 12.1.4 (for example, ), these two XML tags, and any intervening white-space, can be replaced by a single XML empty-element tag ( ).
+
+NOTE – If any white-space character, except white-space inserted as permitted by 12.1.4, is present between the final ">" character of the start tag and the initial "<" character of the end-tag, the condition above is not satisfied.
+
+**17.9** Values of the built-in types of ASN.1 can be specified by the notation "XMLBuiltinValue" (see 17.10) or "BuiltinValue", defined as follows:
+
+**BuiltinValue ::=**
+**BitStringValue**
+ | **BooleanValue**
+ | **CharacterStringValue**
+ | **ChoiceValue**
+
+| | |
+|--|------------------------------|
+| | EmbeddedPDVValue |
+| | EnumeratedValue |
+| | ExternalValue |
+| | InstanceOfValue |
+| | IntegerValue |
+| | IRIValue |
+| | NullValue |
+| | ObjectIdentifierValue |
+| | OctetStringValue |
+| | RealValue |
+| | RelativeIRIValue |
+| | RelativeOIDValue |
+| | SequenceValue |
+| | SequenceOfValue |
+| | SetValue |
+| | SetOfValue |
+| | PrefixedValue |
+| | TimeValue |
+
+Each of the various "BuiltinValue" notations is defined in the same subclause as the corresponding "BuiltinType" notation, as listed in 17.2.
+
+**17.10** "XMLBuiltinValue" is defined as follows:
+
+| | |
+|--|---------------------------------|
+| | XMLBuiltinValue ::= |
+| | XMLBitStringValue |
+| | XMLBooleanValue |
+| | XMLCharacterStringValue |
+| | XMLChoiceValue |
+| | XMLEmbeddedPDVValue |
+| | XMLEnumeratedValue |
+| | XMLExternalValue |
+| | XMLInstanceOfValue |
+| | XMLIntegerValue |
+| | XMLIRIValue |
+| | XMLNullValue |
+| | XMLObjectIdentifierValue |
+| | XMLOctetStringValue |
+| | XMLRealValue |
+| | XMLRelativeIRIValue |
+| | XMLRelativeOIDValue |
+| | XMLSequenceValue |
+| | XMLSequenceOfValue |
+| | XMLSetValue |
+| | XMLSetOfValue |
+| | XMLPrefixedValue |
+| | XMLTimeValue |
+
+Each of the various "XMLBuiltinValue" notations is defined in the same clause as the corresponding "BuiltinType" notation, as listed in 17.2 above.
+
+**17.11** The referenced values of ASN.1 are specified by the notation "ReferencedValue":
+
+| | |
+|--|----------------------------|
+| | ReferencedValue ::= |
+| | DefinedValue |
+| | ValueFromObject |
+
+The "ReferencedValue" notation provides an alternative means of referring to some other value (and ultimately to a built-in value). The various "ReferencedValue" notations, and the way in which the value to which they refer is determined, are specified in the following places (in this Recommendation | International Standard unless otherwise stated):
+
+| | |
+|-----------------|----------------------------------------------|
+| DefinedValue | 14.1 |
+| ValueFromObject | Rec. ITU-T X.681 ISO/IEC 8824-2, clause 15 |
+
+**17.12** Regardless of whether or not a type is a "BuiltinType", "ReferencedType" or "ConstrainedType", its values can be specified by either a "BuiltinValue" or "ReferencedValue" of that type.
+
+**17.13** The value of a type referenced using the "NamedType" notation shall be defined by the notation "NamedValue", or when used as part of an "XMLValue", by the notation "XMLNamedValue". These productions are:
+
+**NamedValue ::= identifier Value**
+
+**XMLNamedValue ::= "<" & identifier ">" XMLValue "" & identifier ">"**
+
+where the "identifier" is the same as that used in the "NamedType" notation.
+
+NOTE – The "identifier" is part of the notation, it does not form part of the value itself. It is used to unambiguously refer to the components of a set type, sequence type or choice type.
+
+**17.14** The implied (see 13.4) or explicit presence of an extension marker (see clause 6) in the definition of a type has no effect on the value notation. That is, the value notation for a type with an extension marker is exactly the same as if the extension marker was absent.
+
+NOTE – Subclause 50.11 prohibits value notation used in a subtype constraint from referencing a value that is not in the extension root of the parent type.
+
+## 18 Notation for the boolean type
+
+**18.1** The boolean type (see 3.8.8) shall be referenced by the notation "BooleanType":
+
+**BooleanType ::= BOOLEAN**
+
+**18.2** The tag for types defined by this notation is universal class, number 1.
+
+**18.3** The value of a boolean type (see 3.8.85 and 3.8.44) shall be defined by the notation "BooleanValue", or when used as an "XMLValue", by the notation "XMLBooleanValue". These productions are:
+
+**BooleanValue ::= TRUE | FALSE**
+
+**XMLBooleanValue ::=**
+**EmptyElementBoolean**
+**| TextBoolean**
+
+**EmptyElementBoolean ::=**
+**"<" & "true" ">"**
+**| "<" & "false" ">"**
+
+**TextBoolean ::=**
+**extended-true**
+**| extended-false**
+
+**18.4** If an "EmptyElementBoolean" appears in an "XMLValueAssignment", then there shall be no occurrence of "TextBoolean" in that "XMLValueAssignment".
+
+## 19 Notation for the integer type
+
+**19.1** The integer type (see 3.8.48) shall be referenced by the notation "IntegerType":
+
+**IntegerType ::=**
+**INTEGER**
+**| INTEGER "{ " NamedNumberList " } "**
+
+**NamedNumberList ::=**
+**NamedNumber**
+**| NamedNumberList ", " NamedNumber**
+
+**NamedNumber ::=**
+**identifier " ( " SignedNumber " ) "**
+**| identifier " ( " DefinedValue " ) "**
+
+**SignedNumber ::=**
+**number**
+**| "-" number**
+
+**19.2** The second alternative of "SignedNumber" shall not be used if the "number" is zero.
+
+**19.3** The "NamedNumberList" is not significant in the definition of a type. It is used solely in the value notation specified in 19.9.
+
+**19.4** The "valuereference" in "DefinedValue" shall be of type integer.
+
+NOTE – Since an "identifier" cannot be used to specify the value associated with "NamedNumber", the "DefinedValue" can never be misinterpreted as an "IntegerValue". Therefore in the following case
+
+```
+
+a INTEGER ::= 1
+T1 ::= INTEGER { a(2) }
+T2 ::= INTEGER { a(3), b(a) }
+c T2 ::= b
+d T2 ::= a
+
+```
+
+c denotes the value 1, since it cannot be a reference to the second nor the third occurrence of a, and d denotes the value 3.
+
+**19.5** The value of each "SignedNumber" or "DefinedValue" appearing in the "NamedNumberList" shall be different, and represents a distinguished value of the integer type.
+
+**19.6** Each "identifier" appearing in the "NamedNumberList" shall be different.
+
+**19.7** The order of the "NamedNumber"s in the "NamedNumberList" is not significant.
+
+**19.8** The tag for types defined by this notation is universal class, number 2.
+
+**19.9** The value of an integer type shall be defined by the notation "IntegerValue", or when used as an "XMLValue", by the notation "XMLIntegerValue". These productions are:
+
+```
+
+IntegerValue ::=
+ SignedNumber
+| identifier
+
+XMLIntegerValue ::=
+ XMLSignedNumber
+| EmptyElementInteger
+| TextInteger
+
+XMLSignedNumber ::=
+ number
+| "-" & number
+
+EmptyElementInteger ::=
+ "<" & identifier ">"
+
+TextInteger ::=
+ identifier
+
+```
+
+**19.10** If an "EmptyElementInteger" appears in an "XMLValueAssignment", then there shall be no occurrence of "TextInteger" in that "XMLValueAssignment".
+
+**19.11** The "identifier" in "IntegerValue" and in the last two alternatives for "XMLIntegerValue" shall be one of the "identifier"s in the "IntegerType" with which the value is associated, and shall represent the corresponding number.
+
+NOTE – When referencing an integer value for which an "identifier" has been defined, use of the "identifier" form of "IntegerValue" and one of the "identifier" forms of "XMLIntegerValue" should be preferred.
+
+**19.12** Within an instance of value notation for an integer type with a "NamedNumberList", any occurrence of a name that is both an "identifier" from the "NamedNumberList" and a reference name shall be interpreted as the "identifier".
+
+**19.13** The second alternative of "XMLSignedNumber" shall not be used if the "number" is zero.
+
+## 20 Notation for the enumerated type
+
+**20.1** The enumerated type (see 3.8.30) shall be referenced by the notation "EnumeratedType":
+
+```
+
+EnumeratedType ::=
+ ENUMERATED "{ Enumerations }"
+
+Enumerations ::=
+ RootEnumeration
+| RootEnumeration "," "... ExceptionSpec
+| RootEnumeration "," "... ExceptionSpec "," AdditionalEnumeration
+
+```
+
+**RootEnumeration ::= Enumeration**
+
+**AdditionalEnumeration ::= Enumeration**
+
+**Enumeration ::= EnumerationItem | EnumerationItem "," Enumeration**
+
+**EnumerationItem ::= identifier | NamedNumber**
+
+NOTE 1 – Each value of an "EnumeratedType" has an identifier which is associated with a distinct integer. However, the values themselves are not expected to have any integer semantics. Specifying the "NamedNumber" alternative of "EnumerationItem" provides control of the representation of the value in order to facilitate compatible extensions.
+
+NOTE 2 – The numeric values inside the "NamedNumber"s in the "RootEnumeration" are not necessarily ordered or contiguous, and the numeric values inside the "NamedNumber"s in the "AdditionalEnumeration" are ordered but not necessarily contiguous.
+
+**20.2** For each "NamedNumber", the "identifier" and the "SignedNumber" shall be distinct from all other "identifier"s and "SignedNumber"s in the "Enumeration". Subclauses 19.2 and 19.4 also apply to each "NamedNumber".
+
+**20.3** Each "EnumerationItem" (in an "EnumeratedType") which is an "identifier" is successively assigned a distinct non-negative integer. For the "RootEnumeration", the successive integers starting with 0, but excluding any which are employed in "EnumerationItem"s which are "NamedNumber"s, are assigned.
+
+NOTE – An integer value is associated with an "EnumerationItem" to assist in the definition of encoding rules. It is not otherwise used in the ASN.1 specification.
+
+**20.4** The value of each new "EnumerationItem" shall be greater than all previously defined "AdditionalEnumeration"s in the type.
+
+**20.5** When a "NamedNumber" is used in defining an "EnumerationItem" in the "AdditionalEnumeration", the value associated with it shall be different from the value of all previously defined "EnumerationItem"s (in this type) regardless of whether the previously defined "EnumerationItem"s occur in the enumeration root or not. For example:
+
+```
+A ::= ENUMERATED {a, b, ..., c(0)} -- invalid, since both 'a' and 'c' equal 0
+B ::= ENUMERATED {a, b, ..., c, d(2)} -- invalid, since both 'c' and 'd' equal 2
+C ::= ENUMERATED {a, b(3), ..., c(1)} -- valid, 'c' = 1
+D ::= ENUMERATED {a, b, ..., c(2)} -- valid, 'c' = 2
+```
+
+**20.6** The value associated with the first "EnumerationItem" in the "AdditionalEnumeration" alternative that is an "identifier" (not a "NamedNumber") shall be the smallest value for which an "EnumerationItem" is not defined in the "RootEnumeration" and all preceding "EnumerationItem"s in the "AdditionalEnumeration" (if any) are smaller. For example, the following are all valid:
+
+```
+A ::= ENUMERATED {a, b, ..., c} -- c = 2
+B ::= ENUMERATED {a, b, c(0), ..., d} -- d = 3
+C ::= ENUMERATED {a, b, ..., c(3), d} -- d = 4
+D ::= ENUMERATED {a, z(25), ..., d} -- d = 1
+```
+
+**20.7** The enumerated type has a tag which is universal class, number 10.
+
+**20.8** The value of an enumerated type shall be defined by the notation "EnumeratedValue", or when used as an "XMLValue", by the notation "XMLEnumeratedValue". These productions are:
+
+**EnumeratedValue ::= identifier**
+
+**XMLEnumeratedValue ::=**
+
+**EmptyElementEnumerated**
+**| TextEnumerated**
+
+**EmptyElementEnumerated ::= "<" & identifier ">"**
+
+**TextEnumerated ::= identifier**
+
+**20.9** If an "EmptyElementEnumerated" appears in an "XMLValueAssignment", then there shall be no occurrence of "TextEnumerated" in that "XMLValueAssignment".
+
+**20.10** The "identifier" in "EnumeratedValue" and in the two alternatives of "XMLEnumeratedValue" shall be equal to that of an "identifier" in the "EnumeratedType" sequence with which the value is associated.
+
+**20.11** Within an instance of value notation for an enumerated type, any occurrence of a name that is both an "identifier" from the "Enumeration" and a reference name shall be interpreted as the "identifier".
+
+## 21 Notation for the real type
+
+21.1 The real type (see 3.8.60) shall be referenced by the notation "RealType":
+
+**RealType ::= REAL**
+
+21.2 The real type has a tag which is universal class, number 9.
+
+21.3 The abstract values of the real type are the special values **PLUS-INFINITY**, **MINUS-INFINITY**, and **NOT-A-NUMBER** together with numeric real numbers consisting of either plus zero or minus zero, or capable of being specified by the following formula involving three integers, M, B and E:
+
+$$M \times B^E$$
+
+where M (non-zero) is called the mantissa, B (either 2 or 10) the base, and E the exponent. Values with B = 2 ("**base**" 2 abstract values) and B = 10 ("**base**" 10 abstract values) are defined as distinct abstract values. Otherwise, values of $M \times B^E$ which evaluate to the same numerical value are a single abstract value.
+
+NOTE – Minus zero and plus zero are two distinct abstract values for a mathematical zero, and the "**base**" 2 and "**base**" 10 abstract values are distinct abstract values for all other numeric real numbers.
+
+21.4 The real type has an associated type which is used to support the value and subtype notations for numeric values of the real type (in addition to the notation for the special values of the real type and for plus zero and minus zero).
+
+NOTE – Encoding rules may define a different type which is used to specify encodings, or may specify encodings without reference to the associated type. In particular, the encoding in BER and PER provides a Binary-Coded Decimal (BCD) encoding if "**base**" is 10, and an encoding which permits efficient transformation to and from hardware floating point representations if "**base**" is 2.
+
+21.5 The associated type for value definition (and for subtyping purposes) of the numeric values is (with normative comments):
+
+```
+SEQUENCE {
+ mantissa INTEGER,
+ base INTEGER (2|10),
+ exponent INTEGER
+ -- The associated mathematical real number is "mantissa"
+ -- multiplied by "base" raised to the power "exponent"
+}
+```
+
+NOTE 1 – Values represented by "**base**" 2 and by "**base**" 10 are considered to be distinct abstract values even if they evaluate to the same real number value, and may carry different application semantics.
+
+NOTE 2 – The notation **REAL (WITH COMPONENTS { ... , base (10) })** can be used to restrict the set of values to the "**base**" 10 numeric values (and similarly for "**base**" 2 numeric values). This notation does not include the values (special real values and plus and minus zero) that cannot be represented by the associated type. If required, these can be added using set arithmetic.
+
+NOTE 3 – This type is capable of carrying an exact finite representation of any number which can be stored in typical floating point hardware, and of any number with a finite character-decimal representation.
+
+21.6 The value of a real type shall be defined by the notation "RealValue", or when used in an "XMLValue", by the notation "XMLRealValue":
+
+```
+RealValue ::=
+ NumericRealValue
+| SpecialRealValue
+
+NumericRealValue ::=
+ realnumber
+| "-" realnumber
+| SequenceValue
+
+SpecialRealValue ::=
+ PLUS-INFINITY
+| MINUS-INFINITY
+| NOT-A-NUMBER
+```
+
+NOTE – The third alternative of "NumericRealValue" cannot be used for plus zero or minus zero values. These abstract values are specified using either the first or the second alternative respectively, with a single "0" character for "realnumber".
+
+```
+XMLRealValue ::=
+ XMLNumericRealValue | XMLSpecialRealValue
+```
+
+```
+
+XMLNumericRealValue ::=
+ realnumber
+| "-" & realnumber
+
+XMLSpecialRealValue ::=
+ EmptyElementReal
+| TextReal
+
+EmptyElementReal ::=
+ "<" & PLUS-INFINITY ">"
+| "<" & MINUS-INFINITY ">"
+| "<" & NOT-A-NUMBER ">"
+
+TextReal ::=
+ "INF"
+| "-" & "INF"
+| "NaN"
+
+```
+
+**21.7** If an "EmptyElementReal" appears in an "XMLValueAssignment", then there shall be no occurrence of "TextReal" in that "XMLValueAssignment".
+
+**21.8** When the "realnumber" notation is used, it identifies the corresponding "**base**" 10 abstract value, or plus zero. When a "realnumber" value is preceded by "-", it identifies the corresponding "**base**" 10 abstract values that are negative numbers, or minus zero. If the "RealType" is constrained to "**base**" 2, the "realnumber" or "-" "realnumber" identifies the "**base**" 2 abstract value corresponding either to the decimal value specified by the "realnumber" or to a locally-defined precision if an exact representation is not possible.
+
+## 22 Notation for the bitstring type
+
+**22.1** The bitstring type (see 3.8.7) shall be referenced by the notation "BitStringType":
+
+```
+
+BitStringType ::=
+ BIT STRING
+| BIT STRING "{" NamedBitList "}"
+
+NamedBitList ::=
+ NamedBit
+| NamedBitList "," NamedBit
+
+NamedBit ::=
+ identifier "(" number ")"
+| identifier "(" DefinedValue ")"
+
+```
+
+**22.2** The first bit in a bit string is called the leading bit. The final bit in a bit string is called the trailing bit.
+
+NOTE – This terminology is used in specifying the value notation and in defining encoding rules.
+
+**22.3** The "DefinedValue" shall be a reference to a non-negative value of type integer.
+
+**22.4** The value of each "number" or "DefinedValue" appearing in the "NamedBitList" shall be different, and is the number of a distinguished bit in a bitstring value. The leading bit of the bit string is identified by the "number" zero, with succeeding bits having successive values.
+
+**22.5** Each "identifier" appearing in the "NamedBitList" shall be different.
+
+NOTE 1 – The order of the "NamedBit" production sequences in the "NamedBitList" is not significant.
+
+NOTE 2 – Since an "identifier" that appears within the "NamedBitList" cannot be used to specify the value associated with a "NamedBit", the "DefinedValue" can never be misinterpreted as an "IntegerValue". Therefore in the following case:
+
+```
+
+a INTEGER ::= 1
+T1 ::= INTEGER { a(2) }
+T2 ::= BIT STRING { a(3), b(a) }
+
+```
+
+the last occurrence of **a** denotes the value 1, as it cannot be a reference to the second nor the third occurrence of **a**.
+
+**22.6** The presence of a "NamedBitList" has no effect on the set of abstract values of this type. Values containing 1 bits other than the named bits are permitted.
+
+**22.7** When a "NamedBitList" is used in defining a bitstring type ASN.1 encoding rules are free to add (or remove) arbitrarily any trailing 0 bits to (or from) values that are being encoded or decoded. Application designers should
+
+therefore ensure that different semantics are not associated with such values which differ only in the number of trailing 0 bits.
+
+**22.8** This type has a tag which is universal class, number 3.
+
+**22.9** The value of a bitstring type shall be defined by the notation "BitStringValue", or when used as an "XMLValue", by the notation "XMLBitStringValue". These productions are:
+
+```
+
+BitStringValue ::=
+ bstring
+ | hstring
+ | "{" IdentifierList "}"
+ | "{" "}"
+ | CONTAINING Value
+
+IdentifierList ::=
+ identifier
+ | IdentifierList "," identifier
+
+XMLBitStringValue ::=
+ XMLTypedValue
+ | xmlbstring
+ | XMLIdentifierList
+ | empty
+
+XMLIdentifierList ::=
+ EmptyElementList
+ | TextList
+
+EmptyElementList ::=
+ "<" & identifier ">"
+ | EmptyElementList "<" & identifier ">"
+
+TextList ::=
+ identifier
+ | TextList identifier
+
+```
+
+**22.10** If an "EmptyElementList" appears in an "XMLValueAssignment", then there shall be no occurrence of "TextList" in that "XMLValueAssignment".
+
+**22.11** The "XMLTypedValue" alternative shall not be used unless the bitstring has a contents constraint which includes an ASN.1 type and does not include an **ENCODED BY**. If this alternative is used, the "XMLTypedValue" shall be a value of the ASN.1 type in the contents constraint.
+
+**22.12** The "XMLIdentifierList" alternative shall not be used unless the bitstring has a "NamedBitList".
+
+**22.13** Each "identifier" in "BitStringValue" or in the alternatives of "XMLBitStringValue" shall be the same as an "identifier" in the "BitStringType" production sequence with which the value is associated.
+
+**22.14** The "empty" alternative denotes a bitstring with no bits.
+
+**22.15** If the bitstring has named bits, the "BitStringValue" or "XMLBitStringValue" notation denotes a bitstring value with ones in the bit positions specified by the numbers corresponding to the "identifier"s, and with all other bits zero.
+
+NOTE – For a "BitStringType" that has a "NamedBitList", the "{" "}" production sequence in "BitStringValue" and the "empty" in "XMLBitStringValue" are used to denote the bitstring which contains no one bits.
+
+**22.16** When using the "bstring" or "xmlbstring" notation, the leading bit of the bitstring value is on the left, and the trailing bit of the bitstring value is on the right.
+
+**22.17** When using the "hstring" notation, the most significant bit of each hexadecimal digit corresponds to the leftmost bit in the bitstring.
+
+NOTE – This notation does not, in any way, constrain the way encoding rules place a bitstring into octets for transfer.
+
+**22.18** The "hstring" notation shall not be used unless the bitstring value consists of a multiple of four bits.
+
+EXAMPLE
+
+'A98A'H
+
+and
+
+'1010100110001010'B
+
+are alternative notations for the same bitstring value. If the type was defined using a "NamedBitList", the (single) trailing zero does not form part of the value, which is thus 15 bits in length. If the type was defined without a "NamedBitList", the trailing zero does form part of the value, which is thus 16 bits in length.
+
+**22.19** The **CONTAINING** alternative can only be used if there is a contents constraint on the bitstring type which includes **CONTAINING**. The "Value" shall then be value notation for a value of the "Type" in the "ContentsConstraint" (see Rec. ITU-T X.682 | ISO/IEC 8824-3, clause 11).
+
+NOTE – This value notation can never appear in a subtype constraint because Rec. ITU-T X.682 | ISO/IEC 8824-3, clause 11.3 forbids further constraints after a "ContentsConstraint", and the above text forbids its use unless the governor has a "ContentsConstraint".
+
+**22.20** The **CONTAINING** alternative shall be used if there is a contents constraint on the bitstring type which does not contain **ENCODED BY**.
+
+## 23 Notation for the octetstring type
+
+**23.1** The octetstring type (see 3.8.55) shall be referenced by the notation "OctetStringType":
+
+**OctetStringType ::= OCTET STRING**
+
+**23.2** This type has a tag which is universal class, number 4.
+
+**23.3** The value of an octetstring type shall be defined by the notation "OctetStringValue", or when used as an "XMLValue", by the notation "XMLOctetStringValue". These productions are:
+
+```
+OctetStringValue ::=
+ bstring
+ | hstring
+ | CONTAINING Value
+
+XMLOctetStringValue ::=
+ XMLTypedValue
+ | xmlhstring
+```
+
+**23.4** The "XMLTypedValue" alternative shall not be used unless the octetstring has a contents constraint which includes an ASN.1 type and does not include an **ENCODED BY**. If this alternative is used, the "XMLTypedValue" shall be a value of the ASN.1 type in the contents constraint.
+
+**23.5** In specifying the encoding rules for an octetstring, the octets are referenced by the terms first octet and trailing octet, and the bits within an octet are referenced by the terms most significant bit and least significant bit.
+
+**23.6** When using the "bstring" notation, the left-most bit of the "bstring" notation shall be the most significant bit of the first octet of the octetstring value. If the "bstring" is not a multiple of eight bits, it shall be interpreted as if it contained additional zero trailing bits to make it the next multiple of eight.
+
+**23.7** When using the "hstring" or "xmlhstring" notation, the left-most hexadecimal digit shall be the most significant semi-octet of the first octet.
+
+**23.8** If the "hstring" is an odd number of hexadecimal digits, it shall be interpreted as if it contained a single additional trailing zero hexadecimal digit. The "xmlhstring" shall not be an odd number of hexadecimal digits.
+
+**23.9** The **CONTAINING** alternative can only be used if there is a contents constraint on the octetstring type which includes **CONTAINING**. The "Value" shall then be value notation for a value of the "Type" in the "ContentsConstraint" (see Rec. ITU-T X.682 | ISO/IEC 8824-3, clause 11).
+
+NOTE – This value notation can never appear in a subtype constraint because Rec. ITU-T X.682 | ISO/IEC 8824-3, clause 11.3 forbids further constraints after a "ContentsConstraint", and the above text forbids its use unless the governor has a "ContentsConstraint".
+
+**23.10** The **CONTAINING** alternative shall be used if there is a contents constraint on the octetstring type which does not contain **ENCODED BY**.
+
+### 24 Notation for the null type
+
+**24.1** The null type (see 3.8.51) shall be referenced by the notation "NullType":
+
+**NullType ::= NULL**
+
+**24.2** This type has a tag which is universal class, number 5.
+
+**24.3** The value of a null type shall be referenced by the notation "NullValue", or when used as an "XMLValue", by the notation "XMLNullValue". These productions are:
+
+**NullValue ::= NULL**
+
+**XMLNullValue ::= empty**
+
+## **25 Notation for sequence types**
+
+**25.1** The notation for defining a sequence type (see 3.8.67) shall be the "SequenceType":
+
+**SequenceType ::=**
+
+**SEQUENCE "{" " }"**
+**| SEQUENCE "{" ExtensionAndException OptionalExtensionMarker "}"**
+**| SEQUENCE "{" ComponentTypeLists "}"**
+
+**ExtensionAndException ::= "... " | "... " ExceptionSpec**
+
+**OptionalExtensionMarker ::= "," "... " | empty**
+
+**ComponentTypeLists ::=**
+
+**RootComponentTypeList**
+**| RootComponentTypeList "," ExtensionAndException ExtensionAdditions**
+**OptionalExtensionMarker**
+**| RootComponentTypeList "," ExtensionAndException ExtensionAdditions**
+**ExtensionEndMarker "," RootComponentTypeList**
+**| ExtensionAndException ExtensionAdditions ExtensionEndMarker ","**
+**RootComponentTypeList**
+**| ExtensionAndException ExtensionAdditions OptionalExtensionMarker**
+
+**RootComponentTypeList ::= ComponentTypeList**
+
+**ExtensionEndMarker ::= "," "... "**
+
+**ExtensionAdditions ::=**
+
+**"," ExtensionAdditionList**
+**| empty**
+
+**ExtensionAdditionList ::=**
+
+**ExtensionAddition**
+**| ExtensionAdditionList "," ExtensionAddition**
+
+**ExtensionAddition ::=**
+
+**ComponentType**
+**| ExtensionAdditionGroup**
+
+**ExtensionAdditionGroup ::= "[" VersionNumber ComponentTypeList "]"**
+
+**VersionNumber ::= empty | number ":"**
+
+**ComponentTypeList ::=**
+
+**ComponentType**
+**| ComponentTypeList "," ComponentType**
+
+**ComponentType ::=**
+
+**NamedType**
+**| NamedType OPTIONAL**
+**| NamedType DEFAULT Value**
+**| COMPONENTS OF Type**
+
+**25.2** For the purposes of the following clauses, a "PrefixedType" is defined to be a textually tagged type if either:
+
+- a) the "PrefixedType" is a "TaggedType"; or
+- b) the "Type" in the "PrefixedType" is a textually tagged type.
+
+**25.3** When the "ComponentTypeLists" production occurs within the definition of a module for which automatic tagging is selected (see 13.3), and none of the occurrences of "NamedType" in any of the first three alternatives for "ComponentType" is a textually tagged type (see 25.2), then the automatic tagging transformation is selected for the entire "ComponentTypeLists", otherwise it is not.
+
+NOTE 1 – The use of the "TaggedType" notation within the definition of the list of components for a sequence type gives control of tags to the specifier, as opposed to automatic assignment by the automatic tagging mechanism. Therefore, in the following case:
+
+**T ::= SEQUENCE { a INTEGER, b [1] BOOLEAN, c OCTET STRING }**
+
+no automatic tagging is applied to the list of components **a**, **b**, **c**, even if this definition of sequence type **T** occurs within a module for which automatic tagging is selected.
+
+NOTE 2 – Only those occurrences of the "ComponentTypeLists" production appearing within a module where automatic tagging is selected are candidates for transformation by automatic tagging.
+
+**25.4** The decision to apply the automatic tagging transformation is taken individually for each occurrence of "ComponentTypeLists" and *prior* to the **COMPONENTS OF** transformation specified by 25.5. However, as specified in 25.8 to 25.10, the automatic tagging transformation (if applied) is applied *after* the **COMPONENTS OF** transformation.
+
+NOTE – The effect of this is that the application of automatic tags is suppressed by tags textually present in the "ComponentTypeLists", but not by tags present in the "Type" following **COMPONENTS OF**.
+
+**25.5** "Type" in the "**COMPONENTS OF** Type" notation shall be a sequence type. The "**COMPONENTS OF** Type" notation shall be used to define the inclusion, at this point in the list of components, of all the component types (of which there shall be at least one) of the referenced type, except for any extension marker and extension additions that may be present in the "Type". (Only the "RootComponentTypeList" of the "Type" in the "**COMPONENTS OF** Type" is included; extension markers and extension additions, if any, are ignored by the "**COMPONENTS OF** Type" notation.) Any subtype constraint applied to the referenced type is ignored by this transformation.
+
+NOTE – This transformation is logically completed prior to the satisfaction of the requirements in the following subclauses.
+
+**25.6** The following subclauses each identify a series of occurrences of "ComponentType" in either the root or the extension additions or both. The rule of 25.6.1 shall apply to all such series.
+
+**25.6.1** Where there are one or more consecutive occurrences of "ComponentType" that are all marked **OPTIONAL** or **DEFAULT**, the tags of those "ComponentType"s and of any immediately following component type in the series shall be distinct (see 31.2). If automatic tagging was selected, the requirement that tags be distinct applies only after automatic tagging has been performed, and will always be satisfied.
+
+**25.6.2** Subclause 25.6.1 shall apply to the series of "ComponentType"s in the root.
+
+**25.6.3** Subclause 25.6.1 shall apply to the complete series of "ComponentType"s in the root or in the extension additions, in the textual order of their occurrence in the type definition (ignoring all version brackets and ellipsis notation). (See also 52.7.)
+
+**25.7** When the third or fourth alternative of "ComponentTypeLists" is used, all "ComponentType"s in extension additions shall have tags which are distinct from the tags of the textually following "ComponentType"s up to and including the first such "ComponentType" that is not marked **OPTIONAL** or **DEFAULT** in the trailing "RootComponentTypeList", if any. (See also 52.7.)
+
+**25.8** The automatic tagging transformation of an occurrence of "ComponentTypeLists" is logically performed *after* the transformation specified by 25.5, but only if 25.3 determines that it shall apply to that occurrence of "ComponentTypeLists". Automatic tagging transformation impacts each "ComponentType" of the "ComponentTypeLists" by replacing the "Type" originally in the "NamedType" production with a replacement "TaggedType" occurrence specified in 25.10.
+
+**25.9** If automatic tagging is in effect and the "ComponentType"s in the extension root have no tags, then no "ComponentType" within the "ExtensionAdditionList" shall be a textually tagged type.
+
+**25.10** If automatic tagging is in effect, the replacement "TaggedType" is specified as follows:
+
+- a) the replacement "TaggedType" notation uses the "Tag Type" alternative;
+- b) the "Class" of the replacement "TaggedType" is empty (i.e., tagging is context-specific);
+- c) the "ClassNumber" in the replacement "TaggedType" is tag value zero for the first "ComponentType" in the "RootComponentTypeList", one for the second, and so on, proceeding with increasing tag numbers;
+- d) the "ClassNumber" in the replacement "TaggedType" of the first "ComponentType" in the "ExtensionAdditionList" is zero if the "RootComponentTypeList" is missing, else it is one greater than the largest "ClassNumber" in the "RootComponentTypeList", with the next "ComponentType" in the "ExtensionAdditionList" having a "ClassNumber" one greater than the first, and so on, proceeding with increasing tag numbers;
+
+- e) the "Type" in the replacement "TaggedType" is the original "Type" being replaced.
+
+NOTE 1 – The rules governing specification of implicit tagging or explicit tagging for replacement "TaggedType"s are provided by 31.2.7. Automatic tagging is always implicit tagging unless the "Type" is a choice type or an open type notation, or a "DummyReference" (see Rec. ITU-T X.683 | ISO/IEC 8824-4, 8.3), in which case it is explicit tagging.
+
+NOTE 2 – Once 25.8 is satisfied, the tags of the components are completely determined, and are not modified even when the sequence type is referenced in the definition of a component within another "ComponentTypeLists" for which automatic tagging transformation applies. Thus, in the following case:
+
+```
+T ::= SEQUENCE { a Ta, b Tb, c Tc }
+E ::= SEQUENCE { f1 E1, f2 T, f3 E3 }
+```
+
+automatic tagging applied to the components of **E** never affects the tags attached to components **a**, **b** and **c** of **T**, whatever the tagging environment of **T**. If **T** is defined in an automatic tagging environment and **E** is not in an automatic tagging environment, automatic tagging is still applied to components **a**, **b** and **c** of **T**.
+
+NOTE 3 – When a sequence type appears as the "Type" in "COMPONENTS OF Type", each occurrence of "ComponentType" in it is duplicated by the application of 25.5 prior to the possible application of automatic tagging to the referencing sequence type. Thus, in the following case:
+
+```
+T ::= SEQUENCE { a Ta, b SEQUENCE { b1 T1, b2 T2, b3 T3 }, c Tc }
+W ::= SEQUENCE { x Wx, COMPONENTS OF T, y Wy }
+```
+
+the tags of **a**, **b**, and **c** within **T** need not be the same as the tags of **a**, **b**, and **c** within **W** if **W** has been defined in an automatic tagging environment, but the tags of **b1**, **b2** and **b3** are the same in both **T** and **W**. In other words, the automatic tagging transformation is only applied once to a given "ComponentTypeLists".
+
+NOTE 4 – Subtyping has no impact on automatic tagging.
+
+NOTE 5 – When automatic tagging is in place, insertion of new components at any location other than the extension insertion point (see 3.8.35) may result in changes to other components due to the side effect of modifying the tags thus causing interworking problems with an older version of the specification.
+
+**25.11** If **OPTIONAL** or **DEFAULT** are present, the corresponding value may be omitted from a value of the new type.
+
+**25.12** If **DEFAULT** occurs, the omission of a value for that type shall be exactly equivalent to the insertion of the value defined by "Value", which shall be a value notation for a value of the type defined by "Type" in the "NamedType" production sequence.
+
+**25.13** The value corresponding to an "ExtensionAdditionGroup" (all components together) is optional. However, if such a value is present, then the value corresponding to the components within the bracketed "ComponentTypeList" that are not marked **OPTIONAL** or **DEFAULT** shall be present.
+
+**25.14** The "identifier"s in all "NamedType" production sequences of the "ComponentTypeLists" (together with those obtained by expansion of **COMPONENTS OF**) shall all be distinct.
+
+**25.15** A value for a given extension addition type shall not be specified unless there are values specified for all extension addition types not marked **OPTIONAL** or **DEFAULT** that lie logically between the extension addition type and the extension root.
+
+NOTE 1 – Where the type has grown from the extension root (version 1) through version 2 to version 3 by the addition of extension additions, the presence in an encoding of any addition from version 3 requires the presence of an encoding of all additions in version 2 that are not marked **OPTIONAL** or **DEFAULT**.
+
+NOTE 2 – "ComponentType"s that are extension additions but not contained within an "ExtensionAdditionGroup" should always be encoded if they are not marked **OPTIONAL** or **DEFAULT**, except when the abstract value is being relayed from a sender that is using an earlier version of the abstract syntax in which the "ComponentType" is not defined.
+
+NOTE 3 – Use of the "ExtensionAdditionGroup" production is recommended because:
+
+- it can result in more compact encodings depending on the encoding rules (e.g., PER);
+- the syntax is more precise in that it clearly indicates that a value of a type defined in the "ExtensionAdditionList" and not marked **OPTIONAL** or **DEFAULT** should always be present in an encoding if the extension addition group in which it is defined is encoded (compare with Note 1);
+- the syntax makes it clear which types in an "ExtensionAdditionList" must as a group be supported by an application.
+
+**25.16** A "VersionNumber" shall be used only if all "ExtensionAdditions"s and "ExtensionAdditionAlternatives", within the module are "ExtensionAdditionGroup"s or "ExtensionAdditionAlternativesGroup"s with "VersionNumber"s. The "number" in each "VersionNumber" of an "ExtensionAdditionGroup" shall be greater than or equal to two, and shall be greater than the "number" in any preceding "ExtensionAdditionGroup" within an insertion point.
+
+NOTE 1 – The convention used here is that the specification with no extension addition groups is version 1, thus the first added extension addition group will have a number greater than or equal to 2. Where a single "ExtensionAddition" is needed for an "ExtensionAdditions", an "ExtensionAdditionGroup" can be used with a single "ExtensionAddition".
+
+NOTE 2 – The restrictions on use of "VersionNumber" apply only within a single module and impose no constraints on imported types.
+
+**25.17** All sequence types have a tag which is universal class, number 16.
+
+NOTE – Sequence-of types have the same tag as sequence types (see 26.2).
+
+**25.18** The notation for defining a value of a sequence type shall be "SequenceValue", or when used as an "XMLValue", "XMLSequenceValue". These productions are:
+
+```
+
+SequenceValue ::=
+ "{" ComponentValueList "}"
+| "{" "}"
+
+ComponentValueList ::=
+ NamedValue
+| ComponentValueList "," NamedValue
+
+XMLSequenceValue ::=
+ XMLComponentValueList
+| empty
+
+XMLComponentValueList ::=
+ XMLNamedValue
+| XMLComponentValueList XMLNamedValue
+
+```
+
+**25.19** The "{" "}" or "empty" notation shall only be used if:
+
+- a) all "ComponentType" sequences in the "SequenceType" are marked **DEFAULT** or **OPTIONAL**, and all values are omitted; or
+- b) the type notation was **SEQUENCE{}**.
+
+**25.20** There shall be one "NamedValue" or "XMLNamedValue" for each "NamedType" in the "SequenceType" which is not marked **OPTIONAL** or **DEFAULT**, and the values shall be in the same order as the corresponding "NamedType" sequences.
+
+## 26 Notation for sequence-of types
+
+**26.1** The notation for defining a sequence-of type (see 3.8.68) from another type shall be the "SequenceOfType".
+
+```
+
+SequenceOfType ::= SEQUENCE OF Type | SEQUENCE OF NamedType
+
+```
+
+NOTE – If an initial letter which is upper-case is needed for an XML tag name used in XML Value Notation for the "SequenceOfType", then the first alternative should be used. (The XML tag name is then formed from the name of the "Type".)
+
+**26.2** All sequence-of types have a tag which is universal class, number 16.
+
+NOTE – Sequence types have the same tag as sequence-of types (see 25.17).
+
+**26.3** The notation for defining a value of a sequence-of type shall be the "SequenceOfValue", or when used as an "XMLValue", "XMLSequenceOfValue". These productions are:
+
+```
+
+SequenceOfValue ::=
+ "{" ValueList "}"
+| "{" NamedValueList "}"
+| "{" "}"
+
+ValueList ::=
+ Value
+| ValueList "," Value
+
+NamedValueList ::=
+ NamedValue
+| NamedValueList "," NamedValue
+
+XMLSequenceOfValue ::=
+ XMLValueList
+| XMLDelimitedItemList
+| empty
+
+XMLValueList ::=
+ XMLValueOrEmpty
+| XMLValueOrEmpty XMLValueList
+
+```
+
+```
+
+XMLValueOrEmpty ::=
+ XMLValue
+ | "<" & NonParameterizedTypeName ">"
+
+XMLDelimitedItemList ::=
+ XMLDelimitedItem
+ | XMLDelimitedItem XMLDelimitedItemList
+
+XMLDelimitedItem ::=
+ "<" & NonParameterizedTypeName ">" XMLValue
+ "" & NonParameterizedTypeName ">"
+ | "<" & identifier ">" XMLValue "" & identifier ">"
+
+```
+
+The "{" "}" or "empty" notation is used when the "SequenceOfValue" or "XMLSequenceOfValue" is an empty list.
+
+NOTE – Semantic significance may be placed on the order of these values.
+
+**26.4** If the "XMLValue" for the component is "empty", then the second alternative of "XMLValueOrEmpty" shall be chosen to represent that value of the component.
+
+NOTE – This occurs only for **SEQUENCE OF NULL**.
+
+**26.5** The "XMLValueList" or "XMLDelimitedItemList" productions shall be used in accordance with column 2 of Table 5, where the "Type" of the component is listed in column 1.
+
+**Table 5 – "XMLSequenceOfValue" and "XMLSetOfValue" notation for ASN.1 types**
+
+| ASN.1 type | XML value notation |
+|-------------------------------|--------------------------------------------------------|
+| BitStringType | XMLDelimitedItemList |
+| BooleanType | See 26.6 |
+| CharacterStringType | XMLDelimitedItemList |
+| ChoiceType | XMLValueList |
+| EmbeddedPDVType | XMLDelimitedItemList |
+| EnumeratedType | See 26.7 |
+| ExternalType | XMLDelimitedItemList |
+| InstanceOfType | See Rec. ITU-T X.681 ISO/IEC 8824-2, C.9 |
+| IntegerType | XMLDelimitedItemList |
+| IRIType | XMLDelimitedItemList |
+| NullType | XMLValueList |
+| ObjectClassFieldType | See Rec. ITU-T X.681 ISO/IEC 8824-2, 14.10 and 14.11 |
+| ObjectIdentifierType | XMLDelimitedItemList |
+| OctetStringType | XMLDelimitedItemList |
+| RealType | XMLDelimitedItemList |
+| RelativeIRIType | XMLDelimitedItemList |
+| RelativeOIDType | XMLDelimitedItemList |
+| SequenceType | XMLDelimitedItemList |
+| SequenceOfType | XMLDelimitedItemList |
+| SetType | XMLDelimitedItemList |
+| SetOfType | XMLDelimitedItemList |
+| PrefixedType | See 26.10.1 |
+| UsefulType (GeneralizedTime) | XMLDelimitedItemList |
+| UsefulType (UTCTime) | XMLDelimitedItemList |
+| UsefulType (ObjectDescriptor) | XMLDelimitedItemList |
+| TypeFromObject | See Rec. ITU-T X.681 ISO/IEC 8824-2, 15.6 |
+| ValueSetFromObjects | See Rec. ITU-T X.681 ISO/IEC 8824-2, 15.6 |
+
+**26.6** If "EmptyElementBoolean" is used for the value of a boolean type, then "XMLValueList" shall be used; otherwise, "XMLDelimitedItemList" shall be used.
+
+**26.7** If "EmptyElementEnumerated" is used for the value of an enumerated type, then "XMLValueList" shall be used; otherwise, "XMLDelimitedItemList" shall be used.
+
+**26.8** If the "Type" of the component is a "DefinedType" then the type which determines the "XMLSequenceOfValue" notation shall be the type referenced by the "DefinedType" (see 14.1).
+
+**26.9** The second alternative of "XMLDelimitedItem" shall be used if and only if the "SequenceOfType" contains an "identifier", and the "identifier" in the "XMLDelimitedItem" shall be that "identifier".
+
+**26.10** If the first alternative of "XMLDelimitedItem" is used, then if the component of the sequence-of type (after ignoring any occurrences of "TypePrefix") is a "typereference" or an "ExternalTypeReference", then the "NonParameterizedTypeName" shall be the "typereference" or the "typereference" in the "ExternalTypeReference", respectively; otherwise it shall be the "xmlas1typename" specified in Table 4 corresponding to the built-in type of the component.
+
+**26.10.1** If the "Type" of the component is a "PrefixedType", then the type which determines the "XMLSequenceOfValue" alternative and the "xmlas1typename" (if required) shall be the "Type" in the "PrefixedType" (see 31.1.5). If this is itself a "PrefixedType", a "ConstrainedType" or a "SelectionType", then these subclauses of 26.10 shall be recursively applied.
+
+**26.10.2** If the "Type" of the component is a "ConstrainedType", then the type which determines the "XMLSequenceOfValue" alternative and the "xmlas1typename" (if required) shall be the "Type" in the "ConstrainedType" (see 49.1). If this is itself a "PrefixedType", a "ConstrainedType" or a "SelectionType", then these subclauses of 26.10 shall be recursively applied.
+
+**26.10.3** If the "Type" of the component is a "SelectionType", then the type which determines the "XMLSequenceOfValue" alternative and the "xmlas1typename" (if required) notation shall be the type referenced by the "SelectionType" (see clause 30). If this is itself a "PrefixedType", a "ConstrainedType" or a "SelectionType", then these subclauses of 26.10 shall be recursively applied.
+
+**26.11** If the first alternative of "SequenceOfType" is used, then the first alternative of "SequenceOfValue" shall be used. Each "Value" in the "ValueList" of "SequenceOfValue", and each "XMLValue" in the alternatives of "XMLSequenceOfValue" shall be of the type specified in the "SequenceOfType".
+
+**26.12** If the second alternative of "SequenceOfType" is used, then the second alternative of "SequenceOfValue" shall be used, and each "NamedValue" in the "NamedValueList" shall contain a "Value" of the type specified in the "NamedType" of the "SequenceOfType". The "identifier" in the "NamedValue"s shall be the "identifier" in the "NamedType" of the "SequenceOfType".
+
+## 27 Notation for set types
+
+**27.1** The notation for defining a set type (see 3.8.72) from other types shall be the "SetType":
+
+```
+SetType ::=
+ SET "{" "}"
+ | SET "{" ExtensionAndException OptionalExtensionMarker "}"
+ | SET "{" ComponentTypeLists "}"
+```
+
+"ComponentTypeLists", "ExtensionAndException" and "OptionalExtensionMarker" are specified in 25.1.
+
+**27.2** "Type" in the "COMPONENTS OF Type" notation shall be a set type. The "COMPONENTS OF Type" notation shall be used to define the inclusion, at this point in the list of components, of all the component types of the referenced type, except for any extension marker and extension additions that may be present in the "Type". (Only the "RootComponentTypeList" of the "Type" in the "COMPONENTS OF Type" is included; extension markers and extension additions, if any, are ignored by the "COMPONENTS OF Type" notation.) Any subtype constraint applied to the referenced type is ignored by this transformation.
+
+NOTE – This transformation is logically completed prior to the satisfaction of the requirements in the following subclauses.
+
+**27.3** The "ComponentType" types in a set type shall all have different tags (see 31.2). The tag of each new "ComponentType" added to the "ExtensionAdditions" shall be canonically greater (see 8.6) than those of the other components in the "ExtensionAdditions".
+
+NOTE – Where the "TagDefault" for the module in which this notation appears is **AUTOMATIC TAGS**, this is achieved regardless of the actual "ComponentType"s, as a result of the application of 25.8. (See also 52.7.)
+
+**27.4** Subclauses 25.3 and 25.8 to 25.14 also apply to set types.
+
+**27.5** All set types have a tag which is universal class, number 17.
+
+NOTE – Set-of types have the same tag as set types (see 28.2).
+
+**27.6** There shall be no semantics associated with the order of values in a set type.
+
+27.7 The notation for defining the value of a set type shall be "SetValue", or when used as an "XMLValue", "XMLSetValue". These productions are:
+
+```
+
+SetValue ::=
+ "{" ComponentValueList "}"
+| "{" "}"
+
+XMLSetValue ::=
+ XMLComponentValueList
+| empty
+
+```
+
+"ComponentValueList" and "XMLComponentValueList" are specified in 25.18.
+
+27.8 The "SetValue" and "XMLSetValue" shall only be "{" "}" and "empty" respectively if:
+
+- a) all "ComponentType" sequences in the "SetType" are marked **DEFAULT** or **OPTIONAL**, and all values are omitted; or
+- b) the type notation was **SET{ }**.
+
+27.9 There shall be one "NamedValue" or "XMLNamedValue" for each "NamedType" in the "SetType" which is not marked **OPTIONAL** or **DEFAULT**.
+
+NOTE – These "NamedValue"s or "XMLNamedValue"s may appear in any order.
+
+## 28 Notation for set-of types
+
+28.1 The notation for defining a set-of type (see 3.8.73) from another type shall be the "SetOfType":
+
+```
+
+SetOfType ::=
+ SET OF Type
+| SET OF NamedType
+
+```
+
+NOTE – If an initial letter which is upper-case is needed for an XML tag name used in XML Value Notation for the "SetOfType", then the first alternative should be used. (The XML tag name is then formed from the name of the "Type".)
+
+28.2 All set-of types have a tag which is universal class, number 17.
+
+NOTE – Set types have the same tag as set-of types (see 27.5).
+
+28.3 The notation for defining a value of a set-of type shall be the "SetOfValue", or when used as an "XMLValue", "XMLSetOfValue". These productions are:
+
+```
+
+SetOfValue ::=
+ "{" ValueList "}"
+| "{" NamedValueList "}"
+| "{" "}"
+
+XMLSetOfValue ::=
+ XMLValueList
+| XMLDelimitedItemList
+| empty
+
+```
+
+"ValueList", "NamedValueList" and the alternatives of "XMLSetOfValue" are specified in 26.3, and the choice of alternative is the same as if "XMLSequenceOfValue" had been used. The "{" "}" or "empty" notation is used when the "SetOfValue" or "XMLSetOfValue" is an empty list.
+
+NOTE 1 – Semantic significance should not be placed on the order of these values.
+
+NOTE 2 – Encoding rules are not required to preserve the order of these values.
+
+NOTE 3 – The set-of type is not a mathematical set of values, thus, as an example, for **SET OF INTEGER** the values { 1 } and { 1 1 } are distinct.
+
+28.4 If the first alternative of "SetOfType" is used, then the first alternative of "SetOfValue" shall be used. Each "Value" in the "ValueList" of "SetOfValue", and each "XMLValue" in the alternatives of "XMLSetOfValue" shall be of the type specified in the "SetOfType".
+
+28.5 If the second alternative of "SetOfType" is used, then the second alternative of "SetOfValue" shall be used, and each "NamedValue" sequence in the "NamedValueList" shall contain a "Value" of the type specified in the "NamedType" of the "SetOfType". The "identifier" in the "NamedValue"s shall be the "identifier" in the "NamedType" of the "SetOfType".
+
+## 29 Notation for choice types
+
+29.1 The notation for defining a choice type (see 3.8.14) from other types shall be the "ChoiceType":
+
+```
+
+ChoiceType ::= CHOICE "{ " AlternativeTypeLists " }"
+
+AlternativeTypeLists ::=
+ RootAlternativeTypeList
+ | RootAlternativeTypeList ", "
+ ExtensionAndException ExtensionAdditionAlternatives
+ OptionalExtensionMarker
+
+RootAlternativeTypeList ::= AlternativeTypeList
+
+ExtensionAdditionAlternatives ::=
+ ", " ExtensionAdditionAlternativesList
+ | empty
+
+ExtensionAdditionAlternativesList ::=
+ ExtensionAdditionAlternative
+ | ExtensionAdditionAlternativesList ", " ExtensionAdditionAlternative
+
+ExtensionAdditionAlternative ::=
+ ExtensionAdditionAlternativesGroup
+ | NamedType
+
+ExtensionAdditionAlternativesGroup ::=
+ "[ " VersionNumber AlternativeTypeList "]"
+
+AlternativeTypeList ::=
+ NamedType
+ | AlternativeTypeList ", " NamedType
+
+```
+
+NOTE – "T ::= CHOICE { a A }" and A are not the same type, and may be encoded differently by encoding rules.
+
+29.2 When the "AlternativeTypeLists" production occurs within the definition of a module for which automatic tagging is selected (see 13.3), and none of the occurrences of "NamedType" in any "AlternativeTypeList" is a textually tagged type (see 25.2), the automatic tagging transformation is selected for the entire "AlternativeTypeLists", otherwise it is not.
+
+29.3 The types defined in the "AlternativeTypeList" productions in an "AlternativeTypeLists" shall have distinct tags (see 31.2, and 52.7). If automatic tagging was selected, the requirement that tags be distinct applies only after automatic tagging has been performed, and will always be satisfied.
+
+29.4 If automatic tagging is in effect and the "NamedType"s in the extension root have no tags, then no "NamedType" within the "ExtensionAdditionAlternativesList" shall be a textually tagged type.
+
+29.5 The automatic tagging transformation impacts each "NamedType" of the "AlternativeTypeLists" by replacing the "Type" originally in the "NamedType" production with a replacement "TaggedType". The replacement "TaggedType" is specified as follows:
+
+- a) the replacement "TaggedType" notation uses the "Tag Type" alternative;
+- b) the "Class" of the replacement "TaggedType" is empty (i.e., tagging is context-specific);
+- c) the "ClassNumber" in the replacement "TaggedType" is tag value zero for the first "NamedType" in the "RootAlternativeTypeList", one for the second, and so on, proceeding with increasing tag numbers;
+- d) the "ClassNumber" in the replacement "TaggedType" of the first "NamedType" in the "ExtensionAdditionAlternativesList" is one greater than the largest "ClassNumber" in the "RootAlternativeTypeList", with the next "NamedType" in the "ExtensionAdditionAlternativesList" having a "ClassNumber" one greater than the first, and so on, proceeding with increasing tag numbers;
+- e) the "Type" in the replacement "TaggedType" is the original "Type" being replaced.
+
+NOTE 1 – The rules governing specification of implicit tagging or explicit tagging for replacement "TaggedType"s are provided by 31.2.7. Automatic tagging is always implicit tagging unless the "Type" is an untagged choice type or an untagged open type notation, or an untagged "DummyReference" (see Rec. ITU-T X.683 | ISO/IEC 8824-4, 8.3), in which case it is explicit tagging.
+
+NOTE 2 – Once automatic tagging has been applied, the tags of the components are completely determined, and are not modified even when the choice type is referenced in the definition of an alternative within another "AlternativeTypeLists" for which automatic tagging transformation applies. Thus, in the following case:
+
+```
+
+T ::= CHOICE { a Ta, b Tb, c Tc }
+E ::= CHOICE { f1 E1, f2 T, f3 E3 }
+
+```
+
+automatic tagging applied to the components of **E** never affects the tags attached to components **a**, **b** and **c** of **T**, whatever the tagging environment of **T**. If **T** is defined in an automatic tagging environment and **E** is not in an automatic tagging environment, automatic tagging is still applied to components **a**, **b** and **c** of **T**.
+
+NOTE 3 – Subtyping does not affect automatic tagging.
+
+NOTE 4 – When automatic tagging is in place, insertion of new alternatives at any location other than the extension insertion point (see 3.8.35) may result in changes to other alternatives due to the side effect of modifying the tags thus causing interworking problems with an older version of the specification.
+
+**29.6** "VersionNumber" is defined in 25.1, and the restrictions on consistent use of "VersionNumber" throughout a module that are specified in 25.16 shall apply to the use of "number"s within this production.
+
+**29.7** The tag of each new "NamedType" added to the "ExtensionAdditionAlternativesList" shall be canonically greater (see 8.6) than those of the other alternatives in the "ExtensionAdditionAlternativesList", and shall be the last "NamedType" in the "ExtensionAdditionAlternativesList".
+
+**29.8** The choice type contains values which do not all have the same tag. (The tag depends on the alternative which contributed the value to the choice type.)
+
+**29.9** When this type does not have an extension marker and is used in a place where this Recommendation | International Standard requires the use of types with distinct tags (see 29.3), all possible tags of values of the choice type shall be considered in such requirement. The following examples which assume that the "TagDefault" is not **AUTOMATIC TAGS** illustrate this requirement.
+
+#### EXAMPLES
+
+```
+
+1 A ::= CHOICE {
+b B,
+c NULL}
+
+ B ::= CHOICE {
+d [0] NULL,
+e [1] NULL}
+
+2 A ::= CHOICE {
+b B,
+c C}
+
+ B ::= CHOICE {
+d [0] NULL,
+e [1] NULL}
+
+ C ::= CHOICE {
+f [2] NULL,
+g [3] NULL}
+
+3 (Incorrect)
+ A ::= CHOICE {
+b B,
+c C}
+
+ B ::= CHOICE {
+d [0] NULL,
+e [1] NULL}
+
+ C ::= CHOICE {
+f [0] NULL,
+g [1] NULL}
+
+```
+
+Examples 1 and 2 are correct uses of the notation. Example 3 is incorrect without automatic tagging, as the tags for types **d** and **f** are identical, as well as for **e** and **g**.
+
+**29.10** The "identifier"s of all "NamedType"s in the "AlternativeTypeLists" shall differ from those of the other "NamedType"s in that list.
+
+**29.11** The notation for defining the value of a choice type shall be the "ChoiceValue", or when used as an "XMLValue", "XMLChoiceValue". These productions are:
+
+**ChoiceValue ::= identifier " : " Value**
+
+**XMLChoiceValue ::= "<" & identifier ">" XMLValue "" & identifier ">"**
+
+**29.12** "Value" or "XMLValue" shall be a notation for a value of the type in the "AlternativeTypeLists" that is named by the "identifier".
+
+### 30 Notation for selection types
+
+**30.1** The notation for defining a selection type (see 3.8.66) shall be "SelectionType":
+
+**SelectionType ::= identifier "<" Type**
+
+where "Type" denotes a choice type, and "identifier" is that of some "NamedType" appearing in the "AlternativeTypeLists" of the definition of that choice type.
+
+**30.2** When "Type" denotes a constrained type, the selection is performed on the parent type, ignoring any subtype constraint on the parent type.
+
+**30.3** Where the "SelectionType" is used as a "NamedType", the "identifier" of the "NamedType" is present, as well as the "identifier" of the "SelectionType".
+
+**30.4** Where the "SelectionType" is used as a "Type", the "identifier" is retained and the type denoted is that of the selected alternative.
+
+**30.5** The notation for a value of a selection type shall be the notation for a value of the type referenced by the "SelectionType".
+
+### 31 Notation for prefixed types
+
+#### 31.1 General
+
+**31.1.1** A prefixed type (see 3.8.78) is a new type which is isomorphic with an old type, but which has a different or additional tag and may have a different or additional associated encoding instructions.
+
+**31.1.2** A prefixed type is either a "TaggedType" or an "EncodingPrefixedType".
+
+**31.1.3** A prefixed type which is a tagged type is mainly of use where this Recommendation | International Standard requires the use of types with distinct tags (see 25.6 to 25.7, 27.3 and 29.3). The use of a "TagDefault" of **AUTOMATIC TAGS** in a module allows this to be accomplished without the explicit appearance of "TaggedType" in that module.
+
+NOTE – Where a protocol determines that values from several data types may be transmitted at any moment in time, distinct tags may be needed to enable the recipient to correctly decode the value.
+
+**31.1.4** The assignment of an encoding instruction using an "EncodingPrefixedType" is only relevant to the encodings identified by the associated encoding reference and has no effect on the abstract values of the type.
+
+**31.1.5** The notation for a prefixed type shall be "PrefixedType":
+
+**PrefixedType ::=**
+ **TaggedType**
+ | **EncodingPrefixedType**
+
+NOTE – Specification of the syntax for "PrefixedType" would be simpler and clearer if tagging was described as the assignment of an encoding instruction. However, historically, tagging was introduced in the earliest versions of the ASN.1 specifications, and can affect the legality of a type definition. Minimum changes to the concepts of tagging (and the associated syntactic descriptions) were made when encoding prefixed types were introduced. Tagging also differs syntactically from assignment of encoding instructions: the specification that tagging is **EXPLICIT** or **IMPLICIT** occurs following the closing "]" of the tag, it is not contained within the paired "[" and "]" as is the case with normal encoding instructions.
+
+**31.1.6** The notation for a value of a "PrefixedType" shall be "PrefixedValue", or when used as an "XMLValue", "XMLPrefixedValue". These productions are:
+
+**PrefixedValue ::= Value**
+
+**XMLPrefixedValue ::= XMLValue**
+
+where "Value" or "XMLValue" is a notation for a value of the "Type" in the "TaggedType" or the "EncodingPrefixedType" of the "PrefixedType".
+
+NOTE 1 – Neither the "Tag" nor any part of the "EncodingPrefix" appears in this notation.
+
+NOTE 2 – Encoding instructions can also be assigned to a type in an encoding control section (see clause 54). Such an assignment has no effect on the value notation for a type.
+
+## 31.2 The tagged type
+
+31.2.1 The notation for a tagged type shall be "TaggedType":
+
+```
+
+TaggedType ::=
+ Tag Type
+ | Tag IMPLICIT Type
+ | Tag EXPLICIT Type
+
+Tag ::= "[" EncodingReference Class ClassNumber "]"
+
+EncodingReference ::=
+ encodingreference ":"
+ | empty
+
+ClassNumber ::=
+ number
+ | DefinedValue
+
+Class ::=
+ UNIVERSAL
+ | APPLICATION
+ | PRIVATE
+ | empty
+
+```
+
+31.2.2 When used in "Tag", the "encodingreference" shall be **TAG**. The "EncodingReference" in "Tag" shall not be "empty" unless the default encoding reference for the module is **TAG** (see 13.5).
+
+31.2.3 The "valuereference" in "DefinedValue" shall be of type integer, and assigned a non-negative value.
+
+31.2.4 The new type is isomorphic with the old type, but has a tag with class "Class" and number "ClassNumber", except when "Class" is "empty", in which case the tag is context-specific class and number is "ClassNumber".
+
+31.2.5 The "Class" shall not be **UNIVERSAL** except for types defined in this Recommendation | International Standard.
+
+NOTE 1 – Use of universal class tags are agreed from time-to-time by ITU-T and ISO.
+
+NOTE 2 – Subclause G.2.12 contains guidance and hints on stylistic use of tag classes.
+
+31.2.6 All application of tags is either implicit tagging or explicit tagging. Implicit tagging indicates, for those encoding rules which provide the option, that explicit identification of the original tag of the "Type" in the "TaggedType" is not needed during transfer.
+
+NOTE – It can be useful to retain the old tag where this was universal class, and hence unambiguously identifies the old type without knowledge of the ASN.1 definition of the new type. Minimum transfer octets is, however, normally achieved by the use of **IMPLICIT**. An example of an encoding using **IMPLICIT** is given in Rec. ITU-T X.690 | ISO/IEC 8825-1.
+
+31.2.7 The tagging construction specifies explicit tagging if any of the following holds:
+
+- the "Tag **EXPLICIT** Type" alternative is used;
+- the "Tag Type" alternative is used and the value of "TagDefault" for the module is either **EXPLICIT TAGS** or is empty;
+- the "Tag Type" alternative is used and the value of "TagDefault" for the module is **IMPLICIT TAGS** or **AUTOMATIC TAGS**, but the type defined by "Type" is an untagged choice type, an untagged open type, or an untagged "DummyReference" (see Rec. ITU-T X.683 | ISO/IEC 8824-4, 8.3).
+
+The tagging construction specifies implicit tagging otherwise.
+
+31.2.8 If the "Class" is "empty", there are no restrictions on the use of "Tag", other than those implied by the requirement for distinct tags in 25.6 to 25.7, 27.3 and 29.3.
+
+31.2.9 The **IMPLICIT** alternative shall not be used if the type defined by "Type" is an untagged choice type or an untagged open type or an untagged "DummyReference" (see Rec. ITU-T X.683 | ISO/IEC 8824-4, 8.3).
+
+## 31.3 The encoding prefixed type
+
+31.3.1 The notation for an encoding prefixed type shall be "EncodingPrefixedType":
+
+```
+
+EncodingPrefixedType ::=
+ EncodingPrefix Type
+
+```
+
+**EncodingPrefix ::=**
+**"[" EncodingReference EncodingInstruction "]"**
+
+"EncodingReference" is defined in 31.2.1.
+
+**31.3.2** The "EncodingInstruction" production is specified in the Recommendation | International Standard identified by the "EncodingReference" (see Annex E) and can consist of any sequence of ASN.1 lexical items (including comment, cstring and white-space).
+
+NOTE 1 – The "[" and "]" lexical items never appear in "EncodingInstruction".
+
+NOTE 2 – Future versions of this Recommendation | International Standard may add further encoding references to Annex E. It is recommended that ASN.1 tools provide (only) warnings if an "encodingreference" is not one of those specified in Annex E and then ignore the whole "EncodingPrefix" using a "]" as the terminator (see Note 1 above).
+
+**31.3.3** If the "EncodingReference" is empty, then the encoding reference for the encoding prefix is the default encoding reference for the module.
+
+NOTE – If the default encoding reference for the module is **TAG** (see 31.2.2) and the "EncodingReference" is "empty", then the "PrefixedType" is a "TaggedType", not an "EncodingPrefixedType".
+
+**31.3.4** There are in general restrictions on the encoding instructions (with the same encoding reference) that can be used in combination, and on the types to which particular instructions or combinations of instructions can be applied. These restrictions are specified in the Recommendation | International Standard associated with the encoding reference (see Annex E), and are not specified in this Recommendation | International Standard.
+
+## 32 Notation for the object identifier type
+
+**32.1** The object identifier type (see 3.8.54) shall be referenced by the notation "ObjectIdentifierType":
+
+**ObjectIdentifierType ::=**
+**OBJECT IDENTIFIER**
+
+**32.2** This type has a tag which is universal class, number 6.
+
+**32.3** The value notation for an object identifier shall be "ObjectIdentifierValue", or when used as an "XMLValue", "XMLObjectIdentifierValue". These productions are:
+
+**ObjectIdentifierValue ::=**
+**"{" ObjIdComponentsList "}"**
+**|** **"{" DefinedValue ObjIdComponentsList "}"**
+
+**ObjIdComponentsList ::=**
+**ObjIdComponents**
+**|** **ObjIdComponents ObjIdComponentsList**
+
+**ObjIdComponents ::=**
+**NameForm**
+**|** **NumberForm**
+**|** **NameAndNumberForm**
+**|** **DefinedValue**
+
+**NameForm ::= identifier**
+
+**NumberForm ::= number | DefinedValue**
+
+**NameAndNumberForm ::=**
+**identifier "(" NumberForm ") "**
+
+**XMLObjectIdentifierValue ::=**
+**XMLObjIdComponentList**
+
+**XMLObjIdComponentList ::=**
+**XMLObjIdComponent**
+**|** **XMLObjIdComponent & "." & XMLObjIdComponentList**
+
+**XMLObjIdComponent ::=**
+**NameForm**
+**|** **XMLNumberForm**
+**|** **XMLNameAndNumberForm**
+
+**XMLNumberForm ::= number**
+
+**XMLNameAndNumberForm ::=
+identifier & "(" & XMLNumberForm & ")"**
+
+**32.4** The "valuereference" in "DefinedValue" of "NumberForm" shall be of type integer, and assigned a non-negative value.
+
+**32.5** The "valuereference" in "DefinedValue" of "ObjectIdentifierValue" shall be of type object identifier.
+
+**32.6** The "DefinedValue" of "ObjIdComponents" shall be of type relative object identifier, and shall identify an ordered set of arcs from some starting node in the object identifier tree to some later node in the object identifier tree. The starting node is identified by the earlier "ObjIdComponents"s, and later "ObjIdComponents"s (if any) identify arcs from the later node. The starting node is required to be neither the root, nor a node immediately beneath the root.
+
+NOTE – A relative object identifier value has to be associated with a specific object identifier value so as to unambiguously identify an object. Object identifier values are required (see 32.11) to have at least two components. This is why there is a restriction on the starting node.
+
+**32.7** The "NameForm" shall be used only for those object identifier components whose numeric value and identifier are specified in Rec. ITU-T X.660 | ISO/IEC 9834-1, Annex A (see also Annex F of this Recommendation | International Standard), and shall be one of the identifiers specified in Rec. ITU-T X.660 | ISO/IEC 9834-1, Annexes A to C.
+
+NOTE – Where the "NameForm" is allowed, the use of the "NameAndNumberForm" instead has been recommended in some circumstances by Rec. ITU-T X.660 | ISO/IEC 9834-1, A.1.2.
+
+**32.8** Where Rec. ITU-T X.660 | ISO/IEC 9834-1 specifies synonymous identifiers, synonyms may be used under conditions established when the synonym was registered in accordance with Rec. ITU-T X.660 | ISO/IEC 9834-1. Where the same name is both an identifier specified in Rec. ITU-T X.660 | ISO/IEC 9834-1 and an ASN.1 value reference within the module containing the "NameForm", the name within the object identifier value shall be treated as an Rec. ITU-T X.660 | ISO/IEC 9834-1 identifier.
+
+**32.9** The "number" in the "NumberForm" and "XMLNumberForm" shall be the numeric value assigned to the object identifier component.
+
+**32.10** There is flexibility in the "identifier"s that can be used in the "NameAndNumberForm" and "XMLNameAndNumberForm" beneath the three top-level arcs. These identifiers are not included in encodings, and may change over time. This is in recognition that the names of organizations can change. Identifiers for arcs should normally be agreed between the Registration Authority responsible for the node above an arc, and the Registration Authority to which responsibility for subsequent arcs has been assigned.
+
+NOTE – The Registration Authorities responsible for arcs beneath the three top-level arcs are identified in Rec. ITU-T X.660 | ISO/IEC 9834-1.
+
+**32.11** The semantics associated with an object identifier value are specified in Rec. ITU-T X.660 | ISO/IEC 9834-1.
+
+NOTE – Rec. ITU-T X.660 | ISO/IEC 9834-1 requires that an object identifier value shall contain at least two arcs.
+
+**32.12** The significant part of the object identifier component is the "NameForm" or "NumberForm" or "XMLNumberForm" which it reduces to, and which provides the numeric value for the object identifier component. Except for the arcs specified in Rec. ITU-T X.660 | ISO/IEC 9834-1, Annexes A to C (see also Annex F of this Recommendation | International Standard), the numeric value of the object identifier component is always present in an instance of object identifier value notation.
+
+**32.13** Where the "ObjectIdentifierValue" includes a "DefinedValue" for an object identifier value, the list of object identifier components to which it refers is prefixed to the components explicitly present in the value.
+
+NOTE – Rec. ITU-T X.660 | ISO/IEC 9834-1 recommends that whenever an object identifier value is assigned to identify an object, an object descriptor value is also assigned.
+
+## EXAMPLES
+
+With identifiers assigned as specified in Rec. ITU-T X.660 | ISO/IEC 9834-1, the values:
+
+**{ iso standard 8571 application-context (1) }**
+and
+
+**{ 1 0 8571 1 }**
+
+would each identify an object, **application-context**, defined in ISO 8571, as would
+
+**iso.standard.8571.application-context(1)**
+
+and
+
+## 1.0.8571.1
+
+in an "XMLObjectIdentifierValue".
+
+With the following additional definition:
+
+**ftam OBJECT IDENTIFIER ::= { iso standard 8571 }**
+
+the following value is equivalent to those above:
+
+**{ ftam application-context(1) }**
+
+### 33 Notation for the relative object identifier type
+
+**33.1** The relative object identifier type (see 3.8.64) shall be referenced by the notation "RelativeOIDType":
+
+**RelativeOIDType ::= RELATIVE-OID**
+
+**33.2** This type has a tag which is universal class, number 13.
+
+**33.3** The value notation for a relative object identifier shall be "RelativeOIDValue", or when used as "XMLValue", "XMLRelativeOIDValue". These productions are:
+
+**RelativeOIDValue ::=**
+
+**"{ " RelativeOIDComponentsList " }"**
+
+**RelativeOIDComponentsList ::=**
+
+**RelativeOIDComponents**
+| **RelativeOIDComponents RelativeOIDComponentsList**
+
+**RelativeOIDComponents ::=**
+
+**NumberForm**
+| **NameAndNumberForm**
+| **DefinedValue**
+
+**XMLRelativeOIDValue ::=**
+
+**XMLRelativeOIDComponentList**
+
+**XMLRelativeOIDComponentList ::=**
+
+**XMLRelativeOIDComponent**
+| **XMLRelativeOIDComponent & ". " & XMLRelativeOIDComponentList**
+
+**XMLRelativeOIDComponent ::=**
+
+**XMLNumberForm**
+| **XMLNameAndNumberForm**
+
+**33.4** The productions "NumberForm", "NameAndNumberForm", "XMLNumberForm", "XMLNameAndNumberForm", and their semantics, are defined in subclauses 32.3 to 32.12.
+
+**33.5** The "DefinedValue" of "RelativeOIDComponents" shall be of type relative object identifier, and shall identify an ordered set of arcs from some starting node in the object identifier tree to some later node in the object identifier tree. The starting node is identified by the earlier "RelativeOIDComponents"s (if any), and later "RelativeOIDComponents"s (if any) identify arcs from the later nodes.
+
+**33.6** The first "RelativeOIDComponents" or "XMLRelativeOIDComponent" identifies one or more arcs from some starting node in the object identifier tree to some later node in the object identifier tree. The starting point can be defined by comments associated with the type definition. If there is no definition of the starting node within comments associated with the type definition, then it needs to be transmitted as an object identifier value in an instance of communication (see G.2.21). The starting node is required to be neither the root, nor a node immediately beneath the root.
+
+NOTE – A relative object identifier value has to be associated with a specific object identifier value so as to unambiguously identify an object. Object identifier values are required (see 32.11) to have at least two components. This is why there is a restriction on the starting node.
+
+#### EXAMPLE
+
+With the following definitions:
+
+**thisUniversity OBJECT IDENTIFIER ::=**
+**{joint-iso-itu-t example(999) universities(56) thisuni(32)}**
+
+**firstgroup RELATIVE-OID ::= {science-fac(4) maths-dept(3)}**
+
+or in XML value notation:
+
+**thisUniversity ::= 2.999.56.32 **
+
+**firstgroup ::= 4.3 **
+
+the relative object identifier:
+
+**relOID RELATIVE-OID ::= {firstgroup room(4) socket(6)}**
+
+or in XML value notation:
+
+**relOID ::= 4.3.4.6 **
+
+can be used instead of the **OBJECT\_IDENTIFIER** value {2 999 56 32 4 3 4 6} if the current root (known by the application or transmitted by the application) is **thisUniversity**.
+
+## 34 Notation for the OID internationalized resource identifier type
+
+**34.1** The OID internationalized resource identifier type (see 3.8.47) shall be referenced by the notation "IRIType":
+
+**IRIType ::= OID-IRI**
+
+**34.2** This type has a tag which is universal class, number 35.
+
+**34.3** The value notation for an OID internationalized resource identifier shall be "IRIValue", or when used as an "XMLValue", "XMLIRIValue". These productions are:
+
+**IRIValue ::=**
+
+**" "**
+
+**FirstArcIdentifier**
+
+**SubsequentArcIdentifier**
+
+**" "**
+
+**FirstArcIdentifier ::=**
+
+**"/" ArcIdentifier**
+
+**SubsequentArcIdentifier ::=**
+
+**"/" ArcIdentifier SubsequentArcIdentifier**
+
+**| empty**
+
+**ArcIdentifier ::=**
+
+**integerUnicodeLabel**
+
+**| non-integerUnicodeLabel**
+
+**XMLIRIValue ::=**
+
+**FirstArcIdentifier**
+
+**SubsequentArcIdentifier**
+
+**34.4** The "FirstArcIdentifier" shall identify an arc (possibly a long arc) from the root of the OID tree.
+
+**34.5** Each "SubsequentArcIdentifier" shall identify an arc from the preceding "ArcIdentifier".
+
+### EXAMPLES
+
+With identifiers assigned as specified in Rec. ITU-T X.660 | ISO/IEC 9834-1 and ISO/IEC 19785 the object identified by:
+
+**{iso registration-authority cbeff (19785) organizations(0) jtc1-sc37(257) patron-formats(1) tlv-encoded (5)}**
+
+or in XML value notation:
+
+**1.1.19785.0.257.1.5 **
+
+which identifies a TLV-encoded CBEFF Patron Format, could also have an ASN.1 OID-IRI identification of
+
+**"/ISO/Registration\_Authority/19785.CBEFF/Organizations/JTC1-SC37/Patron-formats/TLV-encoded"**
+
+Or, in XML value notation:
+
+**/ISO/Registration\_Authority/19785.CBEFF/Organizations/JTC1-SC37/Patron-formats/TLV-encoded **
+
+### 35 Notation for the relative OID internationalized resource identifier type
+
+**35.1** The relative OID internationalized resource identifier type (see 3.8.62) shall be referenced by the notation "RelativeIRIType":
+
+**RelativeIRIType** ::= RELATIVE-OID-IRI
+
+**35.2** This type has a tag which is universal class, number 36.
+
+**35.3** The value notation for a relative OID internationalized resource identifier shall be "RelativeIRIValue", or when used as an "XMLValue", "XMLRelativeIRIValue". These productions are:
+
+**RelativeIRIValue** ::=
+""
+
+**FirstRelativeArcIdentifier**
+**SubsequentArcIdentifier**
+""
+
+**FirstRelativeArcIdentifier** ::=
+**ArcIdentifier**
+
+**XMLRelativeIRIValue** ::=
+**FirstRelativeArcIdentifier**
+**SubsequentArcIdentifier**
+
+**35.4** The "FirstRelativeArcIdentifier" shall identify an arc from some starting node in the object identifier tree to some later node in the object identifier tree. The starting point can be defined by comments associated with the type definition. If there is no definition of the starting node within comments associated with the type definition, then it needs to be transmitted as an OID internationalized resource identifier value in an instance of communication.
+
+NOTE – A relative OID internationalized resource identifier value has to be associated with a specific OID internationalized reference identifier value so as to unambiguously identify a resource.
+
+#### EXAMPLE
+
+With the following identified node:
+
+**cbeffPatronFormats** **OID-IRI** ::=
+
+"/ISO/Registration\_Authority/19785.CBEFF/Patron-formats"
+
+the relative OID internationalized resource identifier:
+
+**tlv-encoded** **RELATIVE-OID-IRI** ::= "TLV-encoded"
+
+identifies the TLV-encoded Patron Format.
+
+### 36 Notation for the embedded-pdv type
+
+**36.1** The embedded-pdv type (see 3.8.24) shall be referenced by the notation "EmbeddedPDVType":
+
+**EmbeddedPDVType** ::= EMBEDDED PDV
+
+NOTE – The term "Embedded PDV" means an abstract value from a possibly different abstract syntax (essentially, the value and encoding of a message defined in a separate – and identified – protocol) that is embedded in a message. Historically, it meant "Embedded Presentation Data Value" from its use in the OSI Presentation Layer, but this expansion is not used today, and it should be interpreted as "embedded value".
+
+**36.2** This type has a tag which is universal class, number 11.
+
+**36.3** The type consists of values representing:
+
+- a) an encoding of a single data value that may, but need not, be the value of an ASN.1 type; and
+- b) identification (separately or together) of:
+ - 1) an abstract syntax; and
+ - 2) the transfer syntax.
+
+NOTE 1 – The data value may be the value of an ASN.1 type, or may, for example, be the encoding of a still image or a moving picture. The identification consists of either one or two object identifiers, or (in an OSI environment) references an OSI presentation context identifier which specifies the abstract and transfer syntaxes.
+
+NOTE 2 – The identification of the abstract syntax and/or the encoding may also be determined by the application designer as a fixed value, in which case it is not encoded in an instance of communication.
+
+**36.4** The embedded-pdv type has an associated type. This associated type is used to support the value and subtype notations of the embedded-pdv type.
+
+**36.5** The associated type for value definition and subtyping, assuming an automatic tagging environment, is (with normative comments):
+
+```
+SEQUENCE {
+ identification
+ CHOICE {
+ syntaxes
+ SEQUENCE {
+ abstract OBJECT IDENTIFIER,
+ transfer OBJECT IDENTIFIER }
+ -- Abstract and transfer syntax object identifiers --,
+
+ syntax OBJECT IDENTIFIER
+ -- A single object identifier for identification of the abstract
+ -- and transfer syntaxes --,
+
+ presentation-context-id INTEGER
+ -- (Applicable only to OSI environments)
+ -- The negotiated OSI presentation context identifies the
+ -- abstract and transfer syntaxes --,
+
+ context-negotiation SEQUENCE {
+ presentation-context-id INTEGER,
+ transfer-syntax OBJECT IDENTIFIER }
+ -- (Applicable only to OSI environments)
+ -- Context-negotiation in progress, presentation-context-id
+ -- identifies only the abstract syntax
+ -- so the transfer syntax shall be specified --,
+
+ transfer-syntax OBJECT IDENTIFIER
+ -- The type of the value (for example, specification that it is
+ -- the value of an ASN.1 type)
+ -- is fixed by the application designer (and hence known to both
+ -- sender and receiver). This
+ -- case is provided primarily to support
+ -- selective-field-encryption (or other encoding
+ -- transformations) of an ASN.1 type --,
+
+ fixed NULL
+ -- The data value is the value of a fixed ASN.1 type (and hence
+ -- known to both sender
+ -- and receiver) -- },
+
+ data-value-descriptor ObjectDescriptor OPTIONAL
+ -- This provides human-readable identification of the class of the
+ -- value --,
+ }
+ data-value OCTET STRING }
+( WITH COMPONENTS {
+ ...,
+ data-value-descriptor ABSENT } )
+```
+
+NOTE – The embedded-pdv type does not allow the inclusion of a **data-value-descriptor** value. However, the definition of the associated type provided here underlies the commonalities which exist between the embedded-pdv type, the external type and the unrestricted character string type.
+
+**36.6** The **presentation-context-id** alternative is only applicable in an OSI environment, when the integer value shall be an OSI presentation context identifier in the OSI defined context set. This alternative shall not be used during OSI context negotiation.
+
+**36.7** The **context-negotiation** alternative is only applicable in an OSI environment, and shall only be used during OSI context negotiation. The integer value shall be an OSI presentation context identifier proposed for addition to the OSI defined context set. The object identifier **transfer-syntax** shall identify a proposed transfer syntax for that OSI presentation context which is to be used to encode the value.
+
+**36.8** The notation for a value of the embedded-pdv type shall be the value notation for the associated type defined in 36.5, where the value of the **data-value** component of type **OCTET STRING** represents an encoding using the transfer syntax specified in **identification**.
+
+**EmbeddedPDVValue ::= SequenceValue**
+
+**XMLEmbeddedPDVValue ::= XMLSequenceValue**
+
+EXAMPLE – If a single option is to be enforced, such as use of **syntaxes**, then this can be done by writing:
+
+```
+EMBEDDED PDV (WITH COMPONENTS {
+ ...,
+ identification (WITH COMPONENTS {
+ syntaxes PRESENT } ) } )
+```
+
+## 37 Notation for the external type
+
+**37.1** The external type (see 3.8.43) shall be referenced by the notation "ExternalType":
+
+**ExternalType ::= EXTERNAL**
+
+**37.2** This type has a tag which is universal class, number 8.
+
+**37.3** The type consists of values representing:
+
+- a) an encoding of a single data value that may, but need not, be the value of an ASN.1 type; and
+- b) identification of:
+ - 1) an abstract syntax; and
+ - 2) the transfer syntax; and
+- c) (optionally) an object descriptor which provides a human-readable description of the category of the data value. The optional object descriptor shall not be present unless explicitly permitted by comment associated with use of the "ExternalType" notation.
+
+NOTE – Note 1 in 36.3 also applies to the external type.
+
+**37.4** The external type has an associated type. This type is used to give precision to the definition of the abstract values of the external type and is also used to support the value and subtype notations of the external type.
+
+NOTE – Encoding rules may define a different type which is used to derive encodings, or may specify encodings without reference to any associated type. For example, the encoding in BER uses a different sequence type for historical reasons.
+
+**37.5** The associated type for value definition and subtyping, assuming an automatic tagging environment, is (with normative comments):
+
+```
+SEQUENCE {
+ identification
+ syntaxes
+ abstract
+ transfer
+ -- Abstract and transfer syntax object identifiers --,
+ syntax
+ -- A single object identifier for identification of the abstract
+ -- and transfer syntaxes --,
+ presentation-context-id
+ -- (Applicable only to OSI environments)
+ -- The negotiated OSI presentation context identifies the
+ -- abstract and transfer syntaxes --,
+ context-negotiation
+ presentation-context-id
+ transfer-syntax
+ -- (Applicable only to OSI environments)
+ -- Context-negotiation in progress, presentation-context-id
+ -- identifies only the abstract syntax
+ -- so the transfer syntax shall be specified --,
+ transfer-syntax
+ OBJECT IDENTIFIER
+ -- The type of the value (for example, specification that it is
+```
+
+-- the value of an ASN.1 type)
+ -- is fixed by the application designer (and hence known to both
+ -- sender and receiver). This
+ -- case is provided primarily to support
+ -- selective-field-encryption (or other encoding
+ -- transformations) of an ASN.1 type --,
+
+**fixed** **NULL**
+ -- The data value is the value of a fixed ASN.1 type (and hence
+ -- known to both sender
+ -- and receiver) -- },
+
+**data-value-descriptor** **ObjectDescriptor OPTIONAL**
+ -- This provides human-readable identification of the class of
+ -- the value --,
+
+**data-value** **OCTET STRING }**
+**( WITH COMPONENTS {**
+ ...,
+**identification (WITH COMPONENTS {**
+ ...,
+**syntaxes** **ABSENT,**
+**transfer-syntax** **ABSENT,**
+**fixed** **ABSENT } } )**
+
+NOTE – For historical reasons, the external type does not allow the **syntaxes**, **transfer-syntax** or **fixed** alternatives of **identification**. Application designers requiring these options should use the embedded-pdv type. The definition of the associated type provided here underlies the commonalities which exist between the external type, the unrestricted character string type and the embedded-pdv type.
+
+**37.6** The text of 36.6 and 36.7 also applies to the external type.
+
+**37.7** The notation for a value of the external type shall be the value notation for the associated type defined in 37.5, where the value of the **data-value** component of type **OCTET STRING** represents an encoding using the transfer syntax specified in **identification**.
+
+**ExternalValue ::= SequenceValue**
+
+**XMLExternalValue ::= XMLSequenceValue**
+
+NOTE – For historical reasons, encoding rules are able to transfer embedded values in **EXTERNAL** whose encodings are not an exact multiple of eight bits. Such values cannot be represented in value notation using the above associated type.
+
+## **38 The time type**
+
+### **38.1 General**
+
+**38.1.1** The time type (see 3.8.83) shall be referenced by the notation "TimeType":
+
+**TimeType ::= TIME**
+
+**38.1.2** The tag for types defined by this notation is universal class, number 14.
+
+**38.1.3** The value of a time type shall be defined by the notation "TimeValue", or when used as an "XMLValue", by the notation "XMLTimeValue". The syntax of these notations is defined in 38.3 as the contents of a "simplestring", using notation defined in ISO 8601, 3.4.
+
+### **38.2 Time properties and settings of time abstract values**
+
+**38.2.1** Table 6 specifies in column 1 the description and names of the time properties of time abstract values. In column 2, it specifies the names of the possible time property settings for the column 1 time property. Column 3 specifies (generally by reference to ISO 8601) the abstract values to which the time property is applicable, and that have the corresponding time property settings.
+
+NOTE 1 – ASN.1 does not specify abstract values that are not supported by ISO 8601 representations.
+
+NOTE 2 – The names of time properties and of their settings appear in the property assertions of the property settings subtype notation (see clause 51).
+
+NOTE 3 – ASN.1 recognizes an order relationship between TIME abstract values if they have the same properties and the same settings of those properties. For those abstract values that include a time difference, an order relationship is only recognized between abstract values with the same time difference.
+
+Table 6 – Properties and settings for time abstract values
+
+| Time property | Names of property settings | Abstract values that have this property setting |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|----------------------------------------------------------------------------------------------------------|
+| Basic nature of the abstract value Name: Basic Comment: The setting of this property identifies the basic nature of the abstract value. All time abstract values have this property. | Date | See ISO 8601, 4.1. All abstract values that are dates only. |
+| | Time | See ISO 8601, 4.2. All abstract values that are a time-of-day only. |
+| | Date-Time | See ISO 8601, 4.3. All abstract values that are a date and a time-of-day. |
+| | Interval | See ISO 8601, 4.4. All the time interval abstract values. |
+| | Rec-Interval | See ISO 8601, 4.5. All the recurring interval abstract values. |
+| Time scale and accuracy for a date Name: Date Comment: This applies only to an abstract value that includes identification of a date. It identifies the time scale and accuracy of that date. NOTE – Any abstract value identifying more than one date (for example, an interval) has a single setting for Date that applies to both dates. | C (Century) | See ISO 8601, 4.1.2.3 c). All abstract values containing a date that represents only a century. |
+| | Y (Year only) | See ISO 8601, 4.1.2.3 b). All abstract values containing a date that represents only a year. |
+| | YM (Year-Month) | See ISO 8601, 4.1.2.3 a). All abstract values containing a date that uses the year-month time scale. |
+| | YMD (Year-Month-Day) | See ISO 8601, 4.1.2.2. All abstract values containing a date that uses the year-month-day time scale. |
+| | YD (Year-Day) | See ISO 8601, 4.1.3.2. All abstract values containing a date that uses the year-day time scale. |
+| | YW (Year-Week) | See ISO 8601, 4.1.4.3. All abstract values containing a date that uses the year-week time scale. |
+| | YWD (Year-Week-Day) | See ISO 8601, 4.1.4.2. All abstract values containing a date that uses the year-week-day time scale. |
+
+Table 6 – Properties and settings for time abstract values
+
+| Time property | Names of property settings | Abstract values that have this property setting |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Type of associated year Name: Year Comment: This applies only to an abstract value that includes identification of one or more years or centuries. Its setting identifies whether the year (or century) identification is a "normal" year, a year in the proleptic Gregorian Calendar (see J.2.2), a year that is negative, or a year that requires more than four digits to represent it.NOTE – Any abstract value involving more than one year (for example, an interval) has a single setting for Year that applies to both years. | Basic | All abstract values containing a year in the range 1582 to 9999 (or a century in the range 15 to 99). |
+| | Proleptic | All abstract values containing a year in the range 0 to 1581 (or a century in the range 00 to 14).NOTE – In the proleptic Gregorian calendar, a year value of zero has a meaning which roughly corresponds to the year 1 BC (see J.2.2). |
+| | Negative | All abstract values containing a year in the range –9999 to –0001 (or a century in the range –99 to –01). |
+| | L5, L6, L7, etc., to infinity (Large) | All abstract values containing a year whose decimal representation requires 5, 6, 7, etc., digits (or a century whose decimal representation requires 3, 4, 5, etc., digits) respectively, whether positive or negative. |
+| Accuracy for a time Name: Time Comment: This applies only to an abstract value that includes identification of a time-of-day. It identifies the accuracy of that time-of-day.NOTE – Any abstract value identifying more than one time-of-day (for example, an interval) has a single setting for Time that applies to both the time-of-days. | H (Hour) | See ISO 8601, 4.2.2.3 b). All abstract values containing a time-of-day to an accuracy of hours. |
+| | HM (Hour-Minute) | See ISO 8601, 4.2.2.3 a). All abstract values containing a time-of-day to an accuracy of minutes. |
+| | HMS (Hour-Minute-Second) | See ISO 8601, 4.2.2.2. All abstract values containing a time-of-day to an accuracy of seconds. |
+| | HF1, HF2, HF3, etc., to infinity (Hour-decimal-fraction) | See ISO 8601, 4.2.2.4 c). All abstract values containing a time-of-day to an accuracy of hours to 1, 2, 3, etc., decimal places. |
+| | HMF1, HMF2, HMF3, etc., to infinity (Hour-Minute-fraction) | See ISO 8601, 4.2.2.4 b). All abstract values containing a time-of-day to an accuracy of minutes to 1, 2, 3, etc., decimal places. |
+| | HMSF1, HMSF2, HMSF3, etc., to infinity (Hour-Minute-Second-Fraction) | See ISO 8601, 4.2.2.4 a). All abstract values containing a time-of-day to an accuracy of seconds to 1, 2, 3, etc., decimal places. |
+
+Table 6 – Properties and settings for time abstract values
+
+| Time property | Names of property settings | Abstract values that have this property setting |
+|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Local or UTC time scale for a time Name: Local-or-UTC Comment: This applies only to an abstract value that includes identification of a time. It identifies the time scale of that time (local time of day, UTC, or local time of day plus the difference from UTC). Time differences are determined by local administrations. ASN.1 supports time differences in the range –15 hours to +15 hours. The difference is positive if the local time of day is ahead of or equal to UTC (see ISO 8601, 4.2.5.1). See also J.2.11.NOTE – Any abstract value identifying more than one time (for example, an interval) has a single setting for Local-or-UTC that applies to both times. | L (Local time of day only) | See 38.2.2 and ISO 8601, 4.2.2 and 4.2.3. All abstract values containing a time-of-day that specifies local time of day only. |
+| | Z (UTC only) | See ISO 8601, 4.2.4. All abstract values containing a time-of-day that specifies UTC and not local time of day. |
+| | LD (Local time of day and the difference from UTC) | See ISO 8601, 4.2.5. All abstract values containing a time-of-day that specifies local time of day and the time (which may be negative) added to UTC to obtain local time of day. |
+| Form of interval specification Name: Interval-type Comment: This applies only to an abstract value that is an interval or a recurring interval. It identifies the form of interval specification (a start and an end point, a duration, a start point and a duration, or a duration with an end point). | SE (Start and end points) | See ISO 8601, 4.4.1 a). All abstract values that specify an interval using a start and an end point. |
+| | D (Duration only) | See ISO 8601, 4.4.1 b) and 4.4.3. All abstract values that specify an interval using only a duration. |
+| | SD (Start point and duration) | See ISO 8601, 4.4.1 c). All abstract values that specify an interval using a start point and a duration. |
+| | DE (Duration and end point) | See ISO 8601, 4.4.1 d). All abstract values that specify an interval using a duration and an end point. |
+| Nature of the start and/or end point specification Name: SE-point Comment: This applies only to intervals or recurring intervals using a start point or an end point or both. The setting of this property identifies the nature of the start point and/or end point that forms part of this abstract value.NOTE – All interval abstract values with both a start point and an end point have a single setting for this property, and for any associated properties related to date or time-of-day. There are no interval abstract values that have different forms of start point and end point. Thus all abstract values with both an interval start point and an interval end point have the same set of time components for the start point and the end point (but see Table 7 for value notation for the end-point). This is a difference from ISO 8601. | Date | See ISO 8601, 4.1. All abstract values that specify start and/or end points using dates only. |
+| | Time | See ISO 8601, 4.2. All abstract values that specify start and/or end points using time-of-day only. |
+| | Date-Time | See ISO 8601, 4.3. All abstract values that specify start and/or end points using a date and a time-of-day. |
+| Recurrence specification Name: Recurrence Comment: This applies only to an abstract value that is a recurring interval. It identifies the agreed limits on the number of recurrences (or unlimited). | Unlimited (No limit on the number of recurrences, expressed with an empty string for the number of recurrences) | See ISO 8601, 4.5. All abstract values representing an unlimited number of recurrences of an interval. |
+| | R1, R2, R3, etc., to infinity (Number of recurrence digits) | See ISO 8601, 4.5. All abstract values representing recurrences of an interval that require 1, 2, 3, etc. digits, respectively, to express the number of recurrences. |
+
+Table 6 – Properties and settings for time abstract values
+
+| Time property | Names of property settings | Abstract values that have this property setting |
+|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|----------------------------------------------------------------------------------------------------------------|
+| Midnight start or end of a day Name: Midnight Comment: This applies only to an abstract value that contains a time that represents midnight. It identifies whether this midnight value is the start of a day (often represented as 00:00:00) or the end of a day (often represented as 24:00:00). | Start (Start-of-day) | See ISO 8601, 4.2.3 a). An abstract value containing a time that represents midnight at the start of a day. |
+| | End (End-of-day) | See ISO 8601, 4.2.3 b). An abstract value containing a time that represents midnight at the end of a day. |
+| NOTE – ASN.1 does not support the use of start and end points of intervals that have different time properties, as there is only a single SE-point setting that governs the syntax of both the start point and the end-point. The start and end points are required to use the same time format. This is a difference from ISO 8601. | | |
+
+**38.2.2** ISO 8601 provides two basic representations for midnight: "2400" for midnight at the end of a day and "0000" for midnight at the start of a day (with any second or fractional part of a second containing only zero digits). These are not considered different representations for a single abstract value, but as distinct abstract values.
+
+NOTE 1 – This is because as a stand-alone time, they are clearly distinct and represent start of a day and end of a day. When used in conjunction with a day, "2400" on day x should be considered less than "0000" on day x+1, despite having exactly the same position on the time axis.
+
+NOTE 2 – They have, respectively, the time property setting "**Midnight=End**" and "**Midnight=Start**".
+
+NOTE 3 – As with other times, there are infinitely many distinct abstract values that are midnight at the start and end of any particular day, depending on the accuracy of the seconds and fractional part of seconds. There are also further infinite sets of midnight abstract values based on the use of fractions of an hour or of a minute rather than of seconds. (All these fractional parts will be zero to various different accuracies if the abstract value is a midnight value.)
+
+**38.2.3** ISO 8601 provides two basic representations for duration (either weeks, or some combination of years, months, days, hours, minutes and seconds) as a component of time intervals and recurring time intervals. Different strings representing durations in ISO 8601 are considered to represent different abstract values in ASN.1, except where the only difference is the omission or inclusion of a zero time component that does not change the duration (including the accuracy of the duration) being represented. Inclusion or omission of zero time components is fully specified in canonical encoding rules, and in all the encoding rules of Rec. ITU-T X.691 | ISO/IEC 8825-2. There are no time properties (other than "**Basic=Interval Interval-type=D**") associated with a duration, but restrictions can be applied to the time components of a duration, requiring them to be absent or limiting their value (see 38.4.4).
+
+NOTE 1 – There is an ISO 8601 requirement for prior agreement on the size of components (and particularly of fractional parts). This is normally handled by property settings for the different accuracies. However, in the case of **DURATION**, for simplicity, property settings were not introduced to determine the accuracy of the components. Instead, inner subtyping constraints on the equivalent sequence type can be applied, as specified in 38.4.4, to record prior agreements on the components of a **DURATION**.
+
+NOTE 2 – ISO 8601 requires that use of a weeks component shall not be combined with the use of any other date component (years, months, days), nor with the use of an hours, minutes, or seconds time component. This restriction is also applied in ASN.1 for consistency with ISO 8601.
+
+**38.2.4** There is no defined order relation between the different **DURATION** abstract values unless they are expressed using a single time element (for example, weeks or months or days only), as there is no agreed international definition of a duration of one month or one year in terms of seconds.
+
+### 38.3 Basic value notation and XML value notation for time abstract values with specified property settings
+
+**38.3.1** All time abstract values with the same time property settings have the same value notation, varied only by the values of year, month, week, day, hour, minute, second, etc. (on the associated time scale) that are used to distinguish that abstract value from others with the same property settings.
+
+**38.3.2** The value notations for the time type shall be "TimeValue" and "XMLTimeValue":
+
+**TimeValue ::= tstring**
+
+**XMLTimeValue ::= xmltstring**
+
+The content of the "tstring" and of the "xmltstring" is defined in 38.3.4 using the time component syntax that is defined in column 3 of Table 7. Table 7 defines a number of possible notations for the different components (for example, the year component). The precise notation to be used depends on the property settings of the abstract value specified in
+
+column 2. Properties not listed in column 2 have no effect on the notation to be used for the component. These time component notations are normally defined by reference to an ISO 8601 representation (with which they are conformant), but in order to avoid ambiguity in value notation, an additional **c** character is added to time components that designate a century and not a full year, as specified in column 3 of Table 7.
+
+**38.3.3** Table 7 specifies (in column 3) the value notation and XML value notation for time components (listed in column 1). Column 1 identifies a time component. Column 2 specifies the conditions in which a particular row is applicable, in terms of the settings of properties associated with abstract values. Column 3 specifies the notation to be used for that time component. The notation used in column 3 is that defined in ISO 8601, 3.4, with the addition of **c** as a century designator.
+
+NOTE 1 – The ISO 8601 notation used in column 3 can be summarized as: Y is a year digit, M is a month digit or month designator, D is a day digit, w is a week digit, h is an hour digit, m is a minute digit, s is a second digit, n is any of 0 to 9, ± is plus or minus, and underline represents zero or more repetitions (for example "±YYYYY"). The ISO 8601 notation is used in preference to any other notation used in this Recommendation | International Standard in order to make the linkage to ISO 8601 clear.
+
+NOTE 2 – Clause J.2 provides a tutorial on ISO 8601 key concepts that will help in understanding this notation. See also clause G.3 for examples of the resulting value notation.
+
+**Table 7 – Value notation for time abstract values with specific properties and settings**
+
+| Time component | Property | Value notation syntax |
+|-----------------|----------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Year component | "Year=Basic" and "Date=C" or "Year=Proleptic" and "Date=C" | ISO 8601, 4.1.2.3 c) followed by the character LATIN CAPITAL LETTER C: [YYC] |
+| Year component | "Year=Negative" and "Date=C" or "Year=Ln" and "Date=C" | ISO 8601, 4.1.2.4 d) followed by the character LATIN CAPITAL LETTER C: [± Y YYC] The number of repetitions of Y shall be zero for "Year=Negative" and equal to n -4 for "Year=Ln". |
+| Year component | "Year=Basic" and Date is not C or "Year=Proleptic" and Date is not C | ISO 8601, 4.1.2.2: [YYYY] |
+| Year component | "Year=Negative" and Date is not C or "Year=Ln" and Date is not C | ISO 8601, 4.1.2.4 c): [± Y YYYY] The number of repetitions of Y shall be zero for "Year=Negative" and equal to n -4 for "Year=Ln". |
+| Month component | Any | ISO 8601, 4.1.2.3 a): [-MM] |
+| Week component | Any | ISO 8601, 4.1.4.3: [-Www] |
+| Day component | "Year=YMD" | ISO 8601, 4.1.2.2 Extended format: [-DD] |
+| Day component | "Year=YD" | ISO 8601, 4.1.3.2 Extended format: [-DDD] |
+| Day component | "Year=YWD" | ISO 8601, 4.1.4.2 Extended format: [-D] |
+| Hours component | "Basic=Time" or "Basic=Interval" and "SE-point=Time" or "Basic=Rec-Interval" and "SE-point=Time" | ISO 8601, 4.2.2.3 b): [hh] The hours component value notation 24 shall always be used for the abstract value "midnight at end of day" and the hours component value notation 00 for "midnight at start of day". |
+
+Table 7 – Value notation for time abstract values with specific properties and settings
+
+| Time component | Property | Value notation syntax |
+|-----------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Hours component | " Basic=Date-Time " or " Basic=Interval " and " SE-point=Date-Time " or " Basic=Rec-Interval " and " SE-point=Date-Time " | ISO 8601, 4.3.2 Extended format: [Thh] The value notation T24 shall always be used for the hours component of the abstract value "midnight at end of day" and the value notation T00 for "midnight at start of day". |
+| Minutes component | Any | ISO 8601, 4.3.2 Extended format: [:mm] |
+| Seconds component | Any | ISO 8601, 4.3.2 Extended format: [:ss] |
+| Decimal fraction component of hour, minute, or second | Any | ISO 8601, 4.2.2.4: [,hh] or [,hh], [,mm] or [,mm], or [,ss] or [,ss] NOTE – It is recommended that in any given ASN.1 module, the comma or full stop be consistently used for the decimal sign. |
+| Decimal fraction component of year, month, week, or day in a duration (see J.2.6, Note) | " Basic=Interval " and " Interval-type=D " or " Basic=Interval " and " Interval-type=SD " or " Basic=Interval " and " Interval-type=DE " | ISO 8601, 4.4.3.2: [,nn] or [,nn] NOTE – It is recommended that in any given ASN.1 module, the comma or full stop be consistently used for the decimal sign. |
+| UTC designator component | " Local-or-UTC=Z " | ISO 8601, 4.2.4: [Z] |
+| Time difference component | " Local-or-UTC=LD " | ISO 8601, 4.2.5.2 Extended format: [±hh] or [±hh:mm] The time difference component shall be the exact time difference in minutes if it is not an exact multiple of hours. NOTE – This means that the minutes component has to be present unless the difference between local time of day and UTC is an integral number of hours. |
+| Duration component | " Interval-type=D " or " Interval-type=SD " or " Interval-type=DE " | ISO 8601, 4.4.3.2: see 38.3.6 |
+| Time interval | " Interval-type=SE " or " Interval-type=SD " or " Interval-type=DE " | ISO 8601, 4.4 Extended formats: Start point component (" Interval-type=SE " or " Interval-type=SD ") or duration component (" Interval-type=DE "), followed by [/], followed by duration component (" Interval-type=SD ") or end point component (" Interval-type=SE " or " Interval-type=DE "). |
+| Start point component | Depends on SE-point setting | This is determined by the setting of SE-point , which shall be interpreted as a setting of the Basic property for representing this component. The Date , Year , Time , and Local-or-UTC property settings shall then be used to determine the format of the start point component. |
+
+Table 7 – Value notation for time abstract values with specific properties and settings
+
+| Time component | Property | Value notation syntax |
+|--------------------------|------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| End point component | Depends on SE-point setting | This is determined by the setting of SE-point , which shall be interpreted as a setting of the Basic property for representing this component. The Date , Year , Time , and Local-or-UTC property settings shall then be used to determine the format of the end point component. It is permissible (optionally) to omit the time difference component if the difference between UTC and local time of day for the end point is the same as the difference for the start point. NOTE – This is not as general as ISO 8601, but is restricted to these cases for simplicity. |
+| Recurring time intervals | " Recurrence=Unlimited " | ISO 8601, 4.5 Extended format: [R/] followed by the time interval component. |
+| Recurring time intervals | " Recurrence=R1 ", " Recurrence=R2 ", " Recurrence=R3 ", etc. | ISO 8601, 4.5 Extended format: [Rnn/] followed by the time interval component. |
+
+**38.3.4** The value of the "tstring" shall be the concatenation of the character encodings of the time components (determined by the settings of their properties in accordance with Table 6), preceded and followed by a QUOTATION MARK (34) character (") as specified in 12.17. The value of the "xmltstring" shall be the concatenation of the character encodings of the time components (determined by the settings of their properties in accordance with Table 6), without surrounding QUOTATION MARK characters.
+
+NOTE 1 – The value notation and XML value notation are canonical except for:
+
+- a) the varying representations of duration; and
+- b) the varying use of comma or full stop for the decimal separator; and
+- c) the varying use of hours and minutes or hours only for time difference components that are an integral number of hours; and
+- d) the inclusion or omission of a time difference component in the end point of an interval (with both a start point and an end point) when the time difference in the end point is the same as the time difference in the start point.
+
+NOTE 2 – Examples of the value notation are provided in G.3.
+
+**38.3.5** The notations for the time components shall be concatenated in the order specified in ISO 8601.
+
+NOTE – This means the most significant time component first and the zone designator (time difference component or **z**) last.
+
+**38.3.6** The basic value notation and the XML value notation for the duration component are specified in the following subclauses.
+
+**38.3.6.1** The value notation shall be [P] (see ISO 8601, 4.4.3) followed by either:
+
+- a) a year-month-day designation (see 38.3.6.2) optionally followed by an hours-mins-sec designation (see 38.3.6.3); or
+- b) a week designation (see 38.3.6.4); or
+- c) an hours-mins-sec designation (see 38.3.6.3).
+
+**38.3.6.2** A year-month-day designation shall be one or more (in order) of:
+
+- a) a year designation (see 38.3.6.5);
+- b) a month designation (see 38.3.6.6);
+- c) a day designation (see 38.3.6.7).
+
+**38.3.6.3** An hours-mins-secs designation shall be [T] followed by one or more (in order) of:
+
+- a) an hours designation (see 38.3.6.8); or
+- b) a minutes designation (see 38.3.6.9); or
+- c) a seconds designation (see 38.3.6.10).
+
+**38.3.6.4** A week designation shall consist of one or more digits optionally followed by a fractional part (see 38.3.6.12) followed by [W].
+
+**38.3.6.5** A year designation shall consist of one or more digits optionally followed by a fractional part (see 38.3.6.12) followed by [Y].
+
+**38.3.6.6** A month designation shall consist of one or more digits optionally followed by a fractional part (see 38.3.6.12) followed by [M].
+
+**38.3.6.7** A day designation shall consist of one or more digits optionally followed by a fractional part (see 38.3.6.12) followed by [D].
+
+**38.3.6.8** An hours designation shall consist of one or more digits optionally followed by a fractional part (see 38.3.6.12) followed by [H].
+
+**38.3.6.9** A minutes designation shall consist of one or more digits optionally followed by a fractional part (see 38.3.6.12) followed by [M].
+
+**38.3.6.10** A seconds designation shall consist of one or more digits optionally followed by a fractional part (see 38.3.6.12) followed by [S].
+
+**38.3.6.11** The integral part of a designation shall not contain leading zeros unless it is the single digit zero, optionally followed by a fractional part. There shall be at least one digit in the integral part if there is a following fractional part.
+
+**38.3.6.12** A fractional part shall consist of a decimal separator (which shall be either a full stop or a comma), followed by one or more decimal digits.
+
+**38.3.6.13** If a designation contains a fractional part, there shall be no following designation.
+
+**38.3.6.14** Value notations expressing a duration to different accuracies represent different abstract values.
+
+EXAMPLE 1: The following value notations all represent different abstract values:
+
+- a) **P29M** (or **P0Y29M**) -- 0 years, 29 months to an accuracy of 1 month.
+- b) **P29M0D** (or **P0Y29M0D**) -- 0 years, 29 months, 0 days to an accuracy of 1 day.
+- c) **P29MT0S** (or **P0Y29M0DT0H0M0S**) -- 0 years, 29 months, 0 days, 0 hours, 0 minutes, 0 seconds, to an accuracy of 1 second.
+- d) **P29MT0.00H** (or **P0Y29M0DT0.00H**) -- 0 years, 29 months, 0 days, 0 hours, to an accuracy of one-hundredth of an hour.
+- e) **P29MT0.000S** (or **P0Y29M0DT0H0M0.000S**) -- 0 years, 29 months, 0 days, 0 hours, 0 minutes, 0 seconds, to an accuracy of 1 millisecond.
+
+EXAMPLE 2: The following value notations all represent the same abstract value (0 years, 29 months, 0 days, 0 hours, 0 minutes) to an accuracy of one-hundredth of a minute:
+
+- a) **P0Y29M0DT0H0.00M**
+- b) **P0Y29M0DT0.00M**
+- c) **P0Y29MT0H0.00M**
+- d) **P0Y29MT0.00M**
+- e) **P29M0DT0H0.00M**
+- f) **P29M0DT0.00M**
+- g) **P29MT0H0.00M**
+- h) **P29MT0.00M**
+
+## 38.4 Useful time types
+
+The following useful time types are defined, and are expected to cover most normal requirements of application designers.
+
+NOTE – These definitions use the property setting subtype notation specified in clause 51. Where alternative time scales are required, for example, use of a Year and Day calendar, defined time types (see Annex B) can be used, or the property setting subtype notation can be used to define additional subtypes of the **TIME** type (see G.3 for examples of properties and settings that can be used).
+
+**38.4.1** The date type shall be referenced by the notation:
+
+**DateType ::= DATE**
+
+and is defined as:
+
+**DATE ::= [UNIVERSAL 31] IMPLICIT TIME**
+(SETTINGS "Basic=Date Date=YMD Year=Basic")
+
+**38.4.2** The time-of-day type shall be referenced by the notation:
+
+**TimeOfDayType ::= TIME-OF-DAY**
+
+and is defined as:
+
+**TIME-OF-DAY ::= [UNIVERSAL 32] IMPLICIT TIME**
+(SETTINGS "Basic=Time Time=HMS Local-or-UTC=L")
+
+NOTE – This type allows midnight at start of day (00:00:00) as well as midnight at end of day (24:00:00).
+
+**38.4.3** The date-time type shall be referenced by the notation:
+
+**DateTimeType ::= DATE-TIME**
+
+and is defined as:
+
+**DATE-TIME ::= [UNIVERSAL 33] IMPLICIT TIME**
+(SETTINGS "Basic=Date-Time Date=YMD Year=Basic Time=HMS
+Local-or-UTC=L")
+
+NOTE – This type allows midnight at start of day (00:00:00) as well as midnight at end of day (24:00:00).
+
+**38.4.4** The duration type shall be referenced by the notation:
+
+**DurationType ::= DURATION**
+
+and is defined as:
+
+**DURATION ::= [UNIVERSAL 34] IMPLICIT TIME**
+(SETTINGS "Basic=Interval Interval-type=D")
+
+Any subset of the **TIME** type, all of whose abstract values have the property settings "**Basic=Interval Interval-type=D**" (whether **UNIVERSAL 34** or **UNIVERSAL 14**), is called a duration subtype. This type can be constrained in accordance with the following subclauses.
+
+**38.4.4.1** Inner subtyping constraints can be applied to any duration subtype using an equivalent sequence type (see 38.4.4.2).
+
+NOTE – The inner subtyping constraint applied to the equivalent sequence type can be used to forbid or to require particular time components in the duration type, or to place range constraints on the values of some or all time components of the duration type (see also 51.11.2).
+
+**38.4.4.2** The **DURATION-EQUIVALENT** equivalent sequence type is:
+
+**DURATION-EQUIVALENT ::= SEQUENCE {**
+ **years** **INTEGER (0..MAX) OPTIONAL,**
+ **months** **INTEGER (0..MAX) OPTIONAL,**
+ **weeks** **INTEGER (0..MAX) OPTIONAL,**
+ **days** **INTEGER (0..MAX) OPTIONAL,**
+ **hours** **INTEGER (0..MAX) OPTIONAL,**
+ **minutes** **INTEGER (0..MAX) OPTIONAL,**
+ **seconds** **INTEGER (0..MAX) OPTIONAL,**
+ **fractional-part SEQUENCE {**
+ **number-of-digits** **INTEGER(1..MAX),**
+ **fractional-value** **INTEGER(0..MAX) } OPTIONAL }**
+
+where the years component of the equivalent sequence type corresponds to the years time component of the abstract value of the duration type, and so on.
+
+**38.4.4.3** Constraints placed on the components of the equivalent sequence type are constraints on the corresponding time components of the duration type.
+
+NOTE 1 – The rules for duration types require that at least one of the time components be present (see 38.2.3), but that no other time components be present when the week is present. Use of an inner subtyping constraint that violated these rules would be an illegal specification.
+
+NOTE 2 – The fractional-part always applies to the least significant time component that is present in the abstract value.
+
+**38.4.5** The basic value notation and the XML value notation for all the useful time types shall be the value notation for the **TIME** type (see 38.3.2), restricted to notation for those abstract values that are present in the useful time type.
+
+## 39 The character string types
+
+These types consist of strings of characters from some specified character repertoire. It is normal to define a character repertoire and its encoding by use of cells in one or more tables, each cell corresponding to a character in the repertoire.
+
+A graphic symbol and a character name are also usually assigned to each cell, although in some repertoires, cells are left empty, or have names but no shapes (examples of cells with names but no shape include control characters such as EOF in ISO/IEC 646 and spacing characters such as THIN-SPACE and EN-SPACE in ISO/IEC 10646).
+
+In general, the information associated with a cell denotes a distinct abstract character in the repertoire even if that information is null (no graphic symbol or name is assigned to that cell).
+
+The ASN.1 basic value notation for character string types has three variants (which can be combined), specified formally below:
+
+- a) A representation of the characters in the string using assigned graphic symbols, possibly including spacing characters; this is the "cstring" notation.
+ NOTE 1 – Such a representation can be ambiguous in a printed representation when the same graphic symbol is used for more than one character in the repertoire.
+ NOTE 2 – Such a representation can be ambiguous in a printed representation when spacing characters of different widths are present in the repertoire or the specification is printed with a proportional-spacing font.
+- b) A listing of the characters in the character string value by giving a series of ASN.1 value references that have been assigned the character; a set of such value references is defined in the module **ASN1-CHARACTER-MODULE** in clause 42 for the ISO/IEC 10646 character repertoire and for the **IA5String** character repertoire; this form is not available for other character repertoires unless the user assigns to such value references using the value notation described in a) above or c) below.
+- c) A listing of the characters in the character string value by identifying each abstract character by the position of its cell in the character repertoire table(s); this form is available only for **IA5String**, **UniversalString**, **UTF8String** and **BMPString**.
+
+The ASN.1 XML value notation for character string types uses the "xmlestring" notation, which includes the ability to use escape sequences for certain special characters, and for specification of characters using decimal or hexadecimal (see 12.15).
+
+## 40 Notation for character string types
+
+40.1 The notation for referencing a character string type (see 3.8.12) shall be:
+
+```
+CharacterStringType ::=
+ RestrictedCharacterStringType
+| UnrestrictedCharacterStringType
+```
+
+"RestrictedCharacterStringType" is the notation for a restricted character string type and is defined in clause 41. "UnrestrictedCharacterStringType" is the notation for the unrestricted character string type and is defined in 44.1.
+
+40.2 The tag of each restricted character string type is specified in 41.1. The tag of the unrestricted character string type is specified in 44.2.
+
+40.3 The notation for a character string value shall be:
+
+```
+CharacterStringValue ::=
+ RestrictedCharacterStringValue
+| UnrestrictedCharacterStringValue
+
+XMLCharacterStringValue ::=
+ XMLRestrictedCharacterStringValue
+| XMLUnrestrictedCharacterStringValue
+```
+
+"RestrictedCharacterStringValue" and "XMLRestrictedCharacterStringValue" are defined in 41.8 and 41.9 respectively. "UnrestrictedCharacterStringValue" and "XMLUnrestrictedCharacterStringValue" are notations for an unrestricted character string value and they are defined in 44.7.
+
+## 41 Definition of restricted character string types
+
+This clause defines types whose values are restricted to sequences of zero, one or more characters from some specified collection of characters. The notation for referencing a restricted character string type shall be "RestrictedCharacterStringType":
+
+```
+RestrictedCharacterStringType ::=
+ BMPString
+| GeneralString
+```
+
+| | |
+|--|------------------------|
+| | GraphicString |
+| | IA5String |
+| | ISO646String |
+| | NumericString |
+| | PrintableString |
+| | TeletexString |
+| | T61String |
+| | UniversalString |
+| | UTF8String |
+| | VideotexString |
+| | VisibleString |
+
+Each "RestrictedCharacterStringType" alternative is defined by specifying:
+
+- the tag assigned to the type; and
+- a name (e.g., **NumericString**) by which the type is referenced; and
+- the characters in the collection of characters used in defining the type, by reference to a table listing the character graphics or by reference to a registration number in the ISO International Register of Coded Character Sets (see *ISO International Register of Coded Character Sets to be used with Escape Sequences*), or by reference to ISO/IEC 10646.
+
+**Table 8 – List of restricted character string types**
+
+| Name for referencing the type | Universal class number | Defining registration number a) , table number, or Rec. ITU-T X.680 ISO/IEC 8824-1 clause | Notes |
+|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------|--------------------------------------------------------------------------------------------------------|----------|
+| UTF8String | 12 | Subclause 41.16 | |
+| NumericString | 18 | Table 9 | (Note 1) |
+| PrintableString | 19 | Table 10 | (Note 1) |
+| TeletexString (T61String) | 20 | 6, 87, 102, 103, 106, 107, 126, 144, 150, 153, 156, 164, 165, 168 + SPACE + DELETE | (Note 2) |
+| VideotexString | 21 | 1, 13, 72, 73, 87, 89, 102, 108, 126, 128, 129, 144, 150, 153, 164, 165, 168 + SPACE + DELETE | (Note 3) |
+| IA5String | 22 | 1, 6 + SPACE + DELETE | |
+| GraphicString | 25 | All G sets + SPACE | |
+| VisibleString (ISO646String) | 26 | 6 + SPACE | |
+| GeneralString | 27 | All G and all C sets + SPACE + DELETE | |
+| UniversalString | 28 | See 41.6 | |
+| BMPString | 30 | See 41.15 | |
+| a) The defining registration numbers are listed in ISO International Register of Coded Character Sets to be used with Escape Sequences.
NOTE 1 – The type-style, size, colour, intensity, or other display characteristics are not significant.
NOTE 2 – Register entries 6 and 156 can be used instead of 102 and 103.
NOTE 3 – The entries corresponding to these registration numbers provide the functionality of CCITT Rec. T.100 and Rec. ITU-T T.101.
| | | |
+
+**41.1** Table 8 lists the name by which each restricted character string type is referenced, the number of the universal class tag assigned to the type, the defining registration number or table, or the defining text clause, and, where necessary, identification of a Note relating to the entry in the table. Where a synonymous name is defined in the notation, this is listed in parentheses.
+
+**41.2** Table 9 lists the characters which can appear in the **NumericString** type and **NumericString** character abstract syntax.
+
+Table 9 – NumericString
+
+| Name | Graphic |
+|--------|-------------|
+| Digits | 0, 1, ... 9 |
+| Space | (space) |
+
+**41.3** The following object identifier, OID internationalized resource identifier and object descriptor values are assigned to identify and describe the **NumericString** character abstract syntax:
+
+**{ joint-iso-itu-t asn1(1) specification(0) characterStrings(1) numericString(0) }**
+
+**"/Joint-ISO-ITU-T/ASN.1/Specification/Character\_Strings/Numeric\_String"**
+
+and
+
+**"NumericString character abstract syntax"**
+
+NOTE 1 – This object identifier value can be used in **CHARACTER STRING** values and in other cases where there is a need to carry the identification of the character string type separate from the value.
+
+NOTE 2 – A value of a **NumericString** character abstract syntax may be encoded by:
+
+- One of the rules given in ISO/IEC 10646 for encoding the abstract characters. In this case the character transfer syntax is identified by the object identifier associated with those rules in ISO/IEC 10646, Annex N.
+- The ASN.1 encoding rules for the built-in type **NumericString**. In this case the character transfer syntax is identified by the object identifier value **{ joint-iso-itu-t asn1(1) basic-encoding(1) }**.
+
+**41.4** Table 10 lists the characters which can appear in the **PrintableString** type and **PrintableString** character abstract syntax.
+
+Table 10 – PrintableString
+
+| Name | Graphic |
+|-----------------------|-------------|
+| Latin capital letters | A, B, ... Z |
+| Latin small letters | a, b, ... z |
+| Digits | 0, 1, ... 9 |
+| SPACE | (space) |
+| APOSTROPHE | ' |
+| LEFT PARENTHESIS | ( |
+| RIGHT PARENTHESIS | ) |
+| PLUS SIGN | + |
+| COMMA | , |
+| HYPHEN-MINUS | - |
+| FULL STOP | . |
+| SOLIDUS | / |
+| COLON | : |
+| EQUALS SIGN | = |
+| QUESTION MARK | ? |
+
+**41.5** The following object identifier, OID internationalized resource identifier and object descriptor values are assigned to identify and describe the **PrintableString** character abstract syntax:
+
+**{ joint-iso-itu-t asn1(1) specification(0) characterStrings(1) printableString(1) }**
+
+**"/Joint-ISO-ITU-T/ASN.1/Specification/Character\_Strings/Printable\_String"**
+
+and
+
+**"PrintableString character abstract syntax"**
+
+NOTE 1 – This object identifier value can be used in **CHARACTER STRING** values and in other cases where there is a need to carry the identification of the character string type separate from the value.
+
+NOTE 2 – A value of a **PrintableString** character abstract syntax may be encoded by:
+
+- One of the rules given in ISO/IEC 10646 for encoding the abstract characters. In this case the character transfer syntax is identified by the object identifier associated with those rules in ISO/IEC 10646, Annex N.
+- The ASN.1 encoding rules for the built-in type **PrintableString**. In this case the character transfer syntax is identified by the object identifier **{ joint-iso-itu-t asn1(1) basic-encoding(1) }**.
+
+**41.6** The characters which can appear in the **UniversalString** type are any of the characters allowed by ISO/IEC 10646.
+
+**41.7** Use of this type invokes the conformance requirements specified in ISO/IEC 10646.
+
+NOTE – Clause 42 defines an ASN.1 module containing a number of subtypes of this type for the "Collections of graphics characters for subsets" defined in ISO/IEC 10646, Annex A.
+
+**41.8** The "RestrictedCharacterStringValue" notation for the restricted character string types shall be "cstring" (see 12.14), "CharacterStringList", "Quadruple", or "Tuple". "Quadruple" is only capable of defining a character string of length one, and can only be used in value notation for **UniversalString**, **UTF8String** or **BMPString** types. "Tuple" is only capable of defining a character string of length one, and can only be used in value notation for **IA5String** types.
+
+```
+
+RestrictedCharacterStringValue ::=
+ cstring
+ | CharacterStringList
+ | Quadruple
+ | Tuple
+
+CharacterStringList ::= "{" CharSyms "}"
+
+CharSyms ::=
+ CharsDefn
+ | CharSyms "," CharsDefn
+
+CharsDefn ::=
+ cstring
+ | Quadruple
+ | Tuple
+ | DefinedValue
+
+Quadruple ::= "{" Group "," Plane "," Row "," Cell "}"
+
+Group ::= number
+
+Plane ::= number
+
+Row ::= number
+
+Cell ::= number
+
+Tuple ::= "{" TableColumn "," TableRow "}"
+
+TableColumn ::= number
+
+TableRow ::= number
+
+```
+
+NOTE 1 – The "cstring" notation can only be used unambiguously on a medium capable of displaying the graphic symbols for the characters which are present in the value. Conversely, if the medium has no such capability, the only means of unambiguously specifying a character string value that uses such graphic symbols is by means of the "CharacterStringList" notation, and only if the type is **UniversalString**, **UTF8String**, **BMPString** or **IA5String**, and the "DefinedValue" alternative of "CharsDefn" is used (see 42.1.2).
+
+NOTE 2 – Clause 42 defines a number of "valuereference"s which denote single characters (strings of size 1) of type **BMPString** (and hence **UniversalString** and **UTF8String**) and **IA5String**.
+
+EXAMPLE – Suppose that one wishes to specify a value of "abcΣdef" for a **UniversalString** where the character "Σ" is not representable on the available medium, this value can also be expressed as:
+
+```
+
+IMPORTS BasicLatin, greekCapitalLetterSigma FROM ASN1-CHARACTER-MODULE
+{ joint-iso-itu-t asn1(1) specification(0) modules(0) iso10646(0) };
+
+```
+
+```
+
+MyAlphabet ::= UniversalString (FROM (BasicLatin | greekCapitalLetterSigma))
+
+```
+
+```
+
+mystring MyAlphabet ::= { "abc" , greekCapitalLetterSigma , "def" }
+
+```
+
+NOTE 3 – When specifying the value of a **UniversalString**, **UTF8String** or **BMPString** type, the "cstring" notation should not be used unless ambiguities arising from different graphic characters with similar shapes have been resolved.
+
+EXAMPLE – The following "cstring" notation should not be used because the graphic symbols 'H', 'O', 'P' and 'E' occur in the BASIC LATIN, CYRILLIC and BASIC GREEK alphabets and thus are ambiguous.
+
+```
+
+IMPORTS BasicLatin, Cyrillic, BasicGreek FROM ASN1-CHARACTER-MODULE
+{ joint-iso-itu-t asn1(1) specification(0) modules(0) iso10646(0) };
+
+```
+
+```
+
+MyAlphabet ::= UniversalString (FROM (BasicLatin | Cyrillic | BasicGreek))
+
+```
+
+**mystring MyAlphabet ::= "HOPE"**
+
+An alternative unambiguous definition of **mystring** would be:
+
+**mystring MyAlphabet(BasicLatin) ::= "HOPE"**
+
+Formally, **mystring** is a value reference to a value of a subset of **MyAlphabet**, but it can, by the value mapping rules of Annex C, be used wherever a value reference is needed to this value within **MyAlphabet**.
+
+**41.9** The "XMLRestrictedCharacterStringValue" notation is:
+
+**XMLRestrictedCharacterStringValue ::= xmlcstring**
+
+Whitespace shall not occur around "XMLValue" in "XMLTypedValue" (see 16.2) for an "XMLRestrictedCharacterStringValue" except where this notation is used in an encoding and the encoding rules explicitly allow the whitespace (see Rec. ITU-T X.693 | ISO/IEC 8825-4, 39.3.2).
+
+**41.10** There are characters which cannot be directly represented in "xmlcstring". These shall be represented using the escape sequences specified in 12.15.
+
+NOTE – If the restricted character string value contains characters which are not ISO/IEC 10646 characters specified in 12.15.1, these cannot be represented in "xmlcstring", and such values cannot be transferred using XML Encoding Rules (see Rec. ITU-T X.693 | ISO/IEC 8825-4).
+
+**41.11** The "DefinedValue" in "CharsDefn" shall be a reference to a value of that type.
+
+**41.12** The "number" in the "Plane", "Row" and "Cell" productions shall be less than 256, and in the "Group" production it shall be less than 128.
+
+**41.13** The "Group" specifies a group in the coding space of the UCS, the "Plane" specifies a plane within the group, the "Row" specifies a row within the plane, and the "Cell" specifies a cell within the row. The abstract character identified by this notation is the abstract character for the cell specified by the "Group", "Plane", "Row", and "Cell" values. In all cases, the set of permitted characters may be restricted by subtyping.
+
+NOTE – Application designers should consider carefully the conformance implications when using open-ended character string types such as **GeneralString**, **GraphicString**, and **UniversalString** without the application of constraints. Careful text on conformance is also needed for bounded but large character string types such as **TeletexString**.
+
+**41.14** The "number" in the "TableColumn" production shall be in the range zero to seven, and the "number" in the "TableRow" production shall be in the range zero to fifteen. The "TableColumn" specifies a column and the "TableRow" specifies a row of a character code table in accordance with Figure 1 of ISO/IEC 2022. This notation is used only for **IA5String** when the code table contains Register Entry 1 in columns 0 and 1 and Register Entry 6 in columns 2 to 7 (see the *ISO International Register of Coded Character Sets to be used with Escape Sequences*).
+
+**41.15** **BMPString** is a subtype of **UniversalString** that has its own unique tag and contains only the characters in the Basic Multilingual Plane (those corresponding to the first 64K-2 cells, less cells whose encoding is used to address characters outside the Basic Multilingual Plane) of ISO/IEC 10646. It has an associated type defined as:
+
+**UniversalString (Bmp)**
+
+where **Bmp** is defined in the ASN.1 module **ASN1-CHARACTER-MODULE** (see clause 42) as the subtype of **UniversalString** corresponding to the "BMP" collection name defined in ISO/IEC 10646, Annex A.
+
+NOTE 1 – Since **BMPString** is a built-in type, it is not defined in **ASN1-CHARACTER-MODULE**.
+
+NOTE 2 – The purpose of defining **BMPString** as a built-in type is to enable encoding rules (such as BER) that do not take account of constraints to use 16-bit rather than 32-bit encodings.
+
+NOTE 3 – In the value notation all **BMPString** values are valid **UniversalString** and **UTF8String** values.
+
+**41.16** **UTF8String** is synonymous with **UniversalString** at the abstract level and can be used wherever **UniversalString** is used (subject to rules requiring distinct tags) but has a different tag and is a distinct type.
+
+NOTE – The encoding of **UTF8String** used by BER and PER is different from that of **UniversalString**, and for most text will be less verbose.
+
+## **42 Naming characters, collections and property category sets**
+
+This clause specifies an ASN.1 built-in module which contains the definition of a value reference name for each character from ISO/IEC 10646, where each name references a **UniversalString** value of size 1. This module also contains the definition of a type reference name for each collection of characters from ISO/IEC 10646, where each name references a subset of the **UniversalString** type. Finally, it contains the definition of a "typereference" name for the set of characters in each general category of character properties that are listed in 4.5 of The Unicode Standard, where each name references a subset of the **UniversalString** type.
+
+NOTE – These values are available for use in the value notation of the **UniversalString** type and types derived from it. All of the value and type references defined in the module specified in 42.1 are exported and must be imported by any module that uses them.
+
+## 42.1 Specification of the ASN.1 Module "ASN1-CHARACTER-MODULE"
+
+The module is not printed here in full. Instead, the means by which it is defined is specified.
+
+NOTE – This Recommendation | International Standard is based on ISO/IEC 10646:2003. It cannot be applied using later versions of this standard. The specification of the means by which the "ASN1-CHARACTER-MODULE" is defined can only be applied with ISO/IEC 10646:2003.
+
+### 42.1.1 The module begins as follows:
+
+```
+ASN1-CHARACTER-MODULE { joint-iso-itu-t asn(1) specification(0) modules(0) iso10646(0) }
+"/Joint-ISO-ITU-T/ASN.1/Specification/Modules/ISO_10646"
+```
+
+```
+DEFINITIONS ::= BEGIN
+```
+
+```
+-- All of the value references and type references defined within this
+-- module are implicitly exported, and are available for import by any module.
+-- ISO/IEC 646 control characters:
+```
+
+```
+ nul IA5String ::= {0, 0}
+soh IA5String ::= {0, 1}
+stx IA5String ::= {0, 2}
+etx IA5String ::= {0, 3}
+eot IA5String ::= {0, 4}
+enq IA5String ::= {0, 5}
+ack IA5String ::= {0, 6}
+bel IA5String ::= {0, 7}
+bs IA5String ::= {0, 8}
+ht IA5String ::= {0, 9}
+lf IA5String ::= {0,10}
+vt IA5String ::= {0,11}
+ff IA5String ::= {0,12}
+cr IA5String ::= {0,13}
+so IA5String ::= {0,14}
+si IA5String ::= {0,15}
+dle IA5String ::= {1, 0}
+dc1 IA5String ::= {1, 1}
+dc2 IA5String ::= {1, 2}
+dc3 IA5String ::= {1, 3}
+dc4 IA5String ::= {1, 4}
+nak IA5String ::= {1, 5}
+syn IA5String ::= {1, 6}
+etb IA5String ::= {1, 7}
+can IA5String ::= {1, 8}
+em IA5String ::= {1, 9}
+sub IA5String ::= {1,10}
+esc IA5String ::= {1,11}
+is4 IA5String ::= {1,12}
+is3 IA5String ::= {1,13}
+is2 IA5String ::= {1,14}
+is1 IA5String ::= {1,15}
+del IA5String ::= {7,15}
+```
+
+### 42.1.2 For each entry in each list of character names for the graphic characters (glyphs) shown in clauses 24 and 25 of ISO/IEC 10646, the module includes a statement of the form:
+
+```
+ BMPString ::=
+-- represents the character , see ISO/IEC 10646
+```
+
+where:
+
+- * is the character name derived from one listed in ISO/IEC 10646;
+- * is a string obtained by applying to ** the procedures specified in 42.2;
+- * is the glyph in the table cell in ISO/IEC 10646 corresponding to the list entry.
+
+EXAMPLE
+
+```
+latinCapitalLetterA BMPString ::= {0, 0, 0, 65}
+```
+
+-- represents the character LATIN CAPITAL LETTER A, see ISO/IEC 10646
+
+**greekCapitalLetterSigma BMPString ::= {0, 0, 3, 163}**
+
+-- represents the character GREEK CAPITAL LETTER SIGMA, see ISO/IEC 10646
+
+**42.1.3** For each name for a collection of graphic characters specified in ISO/IEC 10646, Annex A, a statement is included in the module of the form:
+
+```
+ ::= BMPString
+(FROM ())
+ -- represents the collection of characters ,
+ -- see ISO/IEC 10646.
+```
+
+where:
+
+- a) is the name for the collection of characters assigned in ISO/IEC 10646;
+- b) is formed by applying to the procedures of 42.3;
+- c) is formed by using the s as generated in 42.2 for each of the characters specified by ISO/IEC 10646.
+
+The resulting type reference, , forms a limited subset. (See the tutorial in Annex H.)
+
+NOTE – A limited subset is a list of characters in a specified subset. Contrast this to a selected subset, which is a collection of characters listed in ISO/IEC 10646, Annex A, plus the BASIC LATIN collection.
+
+EXAMPLE (partial)
+
+```
+ space BMPString ::= {0, 0, 0, 32}
+ exclamationMark BMPString ::= {0, 0, 0, 33}
+ quotationMark BMPString ::= {0, 0, 0, 34}
+ ... -- and so on
+ tilde BMPString ::= {0, 0, 0, 126}
+```
+
+```
+ BasicLatin ::= BMPString
+ (FROM (space
+ | exclamationMark
+ | quotationMark
+ | ... -- and so on
+ | tilde)
+ )
+```
+
+-- represents the collection of characters BASIC LATIN, see ISO/IEC 10646.
+
+-- The ellipsis in this example is used for brevity and means "and so on";
+
+-- you cannot use this in an actual ASN.1 module.
+
+**42.1.4** ISO/IEC 10646 defines three levels of implementation. By default all types defined in **ASN1-CHARACTER-MODULE**, except for **Level1** and **Level2** conform to implementation level 3, since such types have no restriction on use of combining characters. **Level1** indicates that implementation level 1 is required, **Level2** indicates that implementation level 2 is required, and **Level3** indicates that implementation level 3 is required. Thus, the following are defined in **ASN1-CHARACTER-MODULE**:
+
+**Level1 ::= BMPString (FROM (BMPString(SIZE(1)) EXCEPT CombiningCharacters))**
+
+**Level2 ::= BMPString (FROM (BMPString(SIZE(1)) EXCEPT CombiningCharactersType-2))**
+
+**Level3 ::= BMPString**
+
+NOTE 1 – **CombiningCharacters** and **CombiningCharactersType-2** are the s corresponding to "COMBINING CHARACTERS" and "COMBINING CHARACTERS B-2", respectively, defined in ISO/IEC 10646, Annex A.
+
+NOTE 2 – **Level1** and **Level2** will be used either following an "IntersectionMark" (see clause 50) or as the only constraint in a "ConstraintSpec". (See G.2.7.1 for an example.)
+
+NOTE 3 – See H.2.5 for more information on this topic.
+
+**42.1.5** For each abbreviation and each description listed in The Unicode Standard, Table 4-5, two statements are included in the module of the form:
+
+```
+ ::= UniversalString (FROM ())
+ -- represents the set of characters with the property
+ -- category .
+
+ UniversalString ::=
+```
+
+where:
+
+- a) `` is the abbreviation for the general category of character properties listed in The Unicode Standard, Table 4-5 (for example, **Lu** or **Nd** or **Pi**);
+- b) `` is the description for the same general category of characters, with the initial letter of all words uppercased, the comma and all spaces removed, and all description in parentheses removed (for example, **LetterUppercase** or **NumericDigit** or **PunctuationInitialQuote**);
+- c) The `` for each `` is a list of the `` names produced by 42.2 for each of the characters listed in The Unicode Character Database (version 3.2.0) of The Unicode Standard that have the corresponding ``.
+
+NOTE – The Unicode name for a character is the same as the `` for that character.
+
+**42.1.6** For the initial letter of each abbreviation listed in The Unicode Standard, Table 4-5, two statements are included in the module of the form:
+
+```
+ ::= UniversalString (FROM ())
+-- represents the set of characters with any category property
+-- with the initial letter .
+
+ UniversalString ::=
+```
+
+where:
+
+- a) `` is the first letter of the abbreviation for the general category of character properties listed in The Unicode Standard, Table 4-5 (for example, **L** or **N** or **P**);
+- b) `` is the first word of the description for the same general category of characters (for example, **Letter** or **Numeric** or **Punctuation**);
+- c) The `` for each `` is a list of the `` names produced by 42.2 for each of the characters listed in The Unicode Character Database (version 3.2.0) of The Unicode Standard that have the corresponding ``.
+
+NOTE – The Unicode name for a character is the same as the `` for that character.
+
+**42.1.7** The module is terminated by the statement:
+
+**END**
+
+**42.1.8** A user-defined equivalent of the example in 42.1.3 is:
+
+```
+BasicLatin ::= BMPString (FROM (space..tilde))
+-- represents the collection of characters BASIC LATIN,
+-- see ISO/IEC 10646.
+```
+
+**42.2** A `` is the string obtained by taking an `` (see 42.1.2) and applying the following algorithm:
+
+- a) each upper-case letter of the `