summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <quax@moccu.com>2015-10-29 21:42:01 +0100
committerDimitri Sokolyuk <quax@moccu.com>2015-10-29 21:42:01 +0100
commit9654cf5d6fe794d8abc4164d2460e08775e7b2e1 (patch)
tree0c13b1008ef2f2f105c19bee56056ad2dfa78f4f
parentcd5c2c85120139494fd520e27e57ad3f3e78a865 (diff)
Get rebar working
-rw-r--r--asn1/InformationFramework.asn (renamed from asn1/InformationFramework.asn1)0
-rw-r--r--asn1/Remote-Operations-Generic-ROS-PDUs.asn117
-rw-r--r--asn1/SchemaAdministration.asn1260
-rw-r--r--asn1include/ACSE-1.asn253
-rw-r--r--asn1include/AttributeCertificateDefinitions.asn (renamed from asn1/AttributeCertificateDefinitions.asn1)0
-rw-r--r--asn1include/AuthenticationFramework.asn (renamed from asn1/AuthenticationFramework.asn1)0
-rw-r--r--asn1include/BasicAccessControl.asn (renamed from asn1/BasicAccessControl.asn1)0
-rw-r--r--asn1include/CertificateExtensions.asn (renamed from asn1/CertificateExtensions.asn1)0
-rw-r--r--asn1include/DSAOperationalAttributeTypes.asn (renamed from asn1/DSAOperationalAttributeTypes.asn1)0
-rw-r--r--asn1include/DirectoryAbstractService.asn (renamed from asn1/DirectoryAbstractService.asn1)0
-rw-r--r--asn1include/DirectoryAccessProtocol.asn (renamed from asn1/DirectoryAccessProtocol.asn1)0
-rw-r--r--asn1include/DirectoryInformationShadowProtocol.asn (renamed from asn1/DirectoryInformationShadowProtocol.asn1)0
-rw-r--r--asn1include/DirectoryOperationalBindingManagementProtocol.asn (renamed from asn1/DirectoryOperationalBindingManagementProtocol.asn1)0
-rw-r--r--asn1include/DirectoryOperationalBindingTypes.asn (renamed from asn1/DirectoryOperationalBindingTypes.asn1)0
-rw-r--r--asn1include/DirectoryShadowAbstractService.asn (renamed from asn1/DirectoryShadowAbstractService.asn1)0
-rw-r--r--asn1include/DirectorySystemProtocol.asn (renamed from asn1/DirectorySystemProtocol.asn1)0
-rw-r--r--asn1include/DistributedOperations.asn (renamed from asn1/DistributedOperations.asn1)0
-rw-r--r--asn1include/EnhancedSecurity.asn (renamed from asn1/EnhancedSecurity.asn1)0
-rw-r--r--asn1include/HierarchicalOperationalBindings.asn (renamed from asn1/HierarchicalOperationalBindings.asn1)0
-rw-r--r--asn1include/IPMSExtendedBodyPartTypes.asn (renamed from asn1/IPMSExtendedBodyPartTypes.asn1)0
-rw-r--r--asn1include/IPMSExtendedBodyPartTypes2.asn (renamed from asn1/IPMSExtendedBodyPartTypes2.asn1)0
-rw-r--r--asn1include/IPMSExtendedVoiceBodyPartType.asn (renamed from asn1/IPMSExtendedVoiceBodyPartType.asn1)0
-rw-r--r--asn1include/IPMSFileTransferBodyPartType.asn (renamed from asn1/IPMSFileTransferBodyPartType.asn1)0
-rw-r--r--asn1include/IPMSForwardedContentBodyPartType.asn (renamed from asn1/IPMSForwardedContentBodyPartType.asn1)0
-rw-r--r--asn1include/IPMSForwardedReportBodyPartType.asn (renamed from asn1/IPMSForwardedReportBodyPartType.asn1)0
-rw-r--r--asn1include/IPMSHeadingExtensions.asn (renamed from asn1/IPMSHeadingExtensions.asn1)0
-rw-r--r--asn1include/IPMSInformationObjects.asn (renamed from asn1/IPMSInformationObjects.asn1)0
-rw-r--r--asn1include/IPMSObjectIdentifiers.asn (renamed from asn1/IPMSObjectIdentifiers.asn1)0
-rw-r--r--asn1include/IPMSSecurityExtensions.asn (renamed from asn1/IPMSSecurityExtensions.asn1)0
-rw-r--r--asn1include/IPMSUpperBounds.asn (renamed from asn1/IPMSUpperBounds.asn1)0
-rw-r--r--asn1include/ISO8571-FTAM.asn (renamed from asn1/ISO8571-FTAM.asn1)0
-rw-r--r--asn1include/Interchange-Data-Elements.asn (renamed from asn1/Interchange-Data-Elements.asn1)0
-rw-r--r--asn1include/MHSObjectIdentifiers.asn (renamed from asn1/MHSObjectIdentifiers.asn1)0
-rw-r--r--asn1include/MHSProtocolObjectIdentifiers.asn (renamed from asn1/MHSProtocolObjectIdentifiers.asn1)0
-rw-r--r--asn1include/MSAbstractService.asn (renamed from asn1/MSAbstractService.asn1)0
-rw-r--r--asn1include/MSAccessProtocol.asn (renamed from asn1/MSAccessProtocol.asn1)0
-rw-r--r--asn1include/MSGeneralAttributeTypes.asn (renamed from asn1/MSGeneralAttributeTypes.asn1)0
-rw-r--r--asn1include/MSGeneralAutoActionTypes.asn (renamed from asn1/MSGeneralAutoActionTypes.asn1)0
-rw-r--r--asn1include/MSMatchingRules.asn (renamed from asn1/MSMatchingRules.asn1)0
-rw-r--r--asn1include/MSObjectIdentifiers.asn (renamed from asn1/MSObjectIdentifiers.asn1)0
-rw-r--r--asn1include/MSUpperBounds.asn (renamed from asn1/MSUpperBounds.asn1)0
-rw-r--r--asn1include/MTAAbstractService.asn (renamed from asn1/MTAAbstractService.asn1)0
-rw-r--r--asn1include/MTSAbstractService.asn (renamed from asn1/MTSAbstractService.asn1)0
-rw-r--r--asn1include/MTSAbstractService88.asn (renamed from asn1/MTSAbstractService88.asn1)0
-rw-r--r--asn1include/MTSAccessProtocol.asn (renamed from asn1/MTSAccessProtocol.asn1)0
-rw-r--r--asn1include/MTSObjectIdentifiers.asn (renamed from asn1/MTSObjectIdentifiers.asn1)0
-rw-r--r--asn1include/MTSUpperBounds.asn (renamed from asn1/MTSUpperBounds.asn1)0
-rw-r--r--asn1include/OperationalBindingManagement.asn (renamed from asn1/OperationalBindingManagement.asn1)0
-rw-r--r--asn1include/PKCS7.asn (renamed from asn1/PKCS7.asn1)0
-rw-r--r--asn1include/PKCS7BodyPartType.asn (renamed from asn1/PKCS7BodyPartType.asn1)0
-rw-r--r--asn1include/PKIX1Implicit93.asn (renamed from asn1/PKIX1Implicit93.asn1)0
-rw-r--r--asn1include/ProtocolObjectIdentifiers.asn (renamed from asn1/ProtocolObjectIdentifiers.asn1)0
-rw-r--r--asn1include/Reliable-Transfer-APDU.asn (renamed from asn1/Reliable-Transfer-APDU.asn1)0
-rw-r--r--asn1include/Remote-Operations-Abstract-Syntaxes.asn (renamed from asn1/Remote-Operations-Abstract-Syntaxes.asn1)0
-rw-r--r--asn1include/Remote-Operations-Generic-ROS-PDUs.asn162
-rw-r--r--asn1include/Remote-Operations-Information-Objects-extensions.asn (renamed from asn1/Remote-Operations-Information-Objects-extensions.asn1)0
-rw-r--r--asn1include/Remote-Operations-Information-Objects.asn123
-rw-r--r--asn1include/Remote-Operations-Realizations.asn (renamed from asn1/Remote-Operations-Realizations.asn1)0
-rw-r--r--asn1include/Remote-Operations-Useful-Definitions.asn95
-rw-r--r--asn1include/SelectedAttributeTypes.asn (renamed from asn1/SelectedAttributeTypes.asn1)0
-rw-r--r--asn1include/ServiceAdministration.asn (renamed from asn1/ServiceAdministration.asn1)0
-rw-r--r--asn1include/SpkmGssTokens.asn (renamed from asn1/SpkmGssTokens.asn1)0
-rw-r--r--asn1include/UpperBounds.asn (renamed from asn1/UpperBounds.asn1)0
-rw-r--r--asn1include/UsefulDefinitions.asn (renamed from asn1/UsefulDefinitions.asn1)0
-rw-r--r--rebar.config1
65 files changed, 643 insertions, 268 deletions
diff --git a/asn1/InformationFramework.asn1 b/asn1/InformationFramework.asn
index 51a70ff..51a70ff 100644
--- a/asn1/InformationFramework.asn1
+++ b/asn1/InformationFramework.asn
diff --git a/asn1/Remote-Operations-Generic-ROS-PDUs.asn1 b/asn1/Remote-Operations-Generic-ROS-PDUs.asn1
index 8f12af1..e55ea3c 100644
--- a/asn1/Remote-Operations-Generic-ROS-PDUs.asn1
+++ b/asn1/Remote-Operations-Generic-ROS-PDUs.asn1
@@ -1,4 +1,5 @@
-- Module Remote-Operations-Generic-ROS-PDUs (X.880:07/1994)
+
Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t remote-operations(4)
generic-ROS-PDUs(6) version1(0)} DEFINITIONS IMPLICIT TAGS ::=
BEGIN
@@ -7,7 +8,7 @@ BEGIN
IMPORTS
OPERATION, ERROR
FROM Remote-Operations-Information-Objects {joint-iso-itu-t
- remote-operations(4) informationObjects(5) version2(1)};
+ remote-operations(4) informationObjects(5) version1(0)};
ROS{InvokeId:InvokeIdSet, OPERATION:Invokable, OPERATION:Returnable} ::=
CHOICE {
@@ -22,7 +23,7 @@ ROS{InvokeId:InvokeIdSet, OPERATION:Invokable, OPERATION:Returnable} ::=
Invoke{InvokeId:InvokeIdSet, OPERATION:Operations} ::= SEQUENCE {
invokeId
InvokeId(InvokeIdSet)
- (CONSTRAINED BY {-- must be unambiguous -- } !
+ (CONSTRAINED BY { -- must be unambiguous --} !
RejectProblem:invoke-duplicateInvocation),
linkedId
CHOICE {present [0] IMPLICIT present < InvokeId,
@@ -56,14 +57,14 @@ Invoke{InvokeId:InvokeIdSet, OPERATION:Operations} ::= SEQUENCE {
ReturnResult{OPERATION:Operations} ::= SEQUENCE {
invokeId
InvokeId
- (CONSTRAINED BY {-- must be that for an outstanding operation -- } !
+ (CONSTRAINED BY { -- must be that for an outstanding operation --} !
RejectProblem:returnResult-unrecognizedInvocation)
- (CONSTRAINED BY {-- which returns a result -- } !
+ (CONSTRAINED BY { -- which returns a result --} !
RejectProblem:returnResult-resultResponseUnexpected),
result
SEQUENCE {opcode
OPERATION.&operationCode({Operations})
- (CONSTRAINED BY {-- identified by invokeId -- } !
+ (CONSTRAINED BY { -- identified by invokeId --} !
RejectProblem:returnResult-unrecognizedInvocation),
result
OPERATION.&ResultType
@@ -76,13 +77,13 @@ ReturnResult{OPERATION:Operations} ::= SEQUENCE {
ReturnError{ERROR:Errors} ::= SEQUENCE {
invokeId
InvokeId
- (CONSTRAINED BY {-- must be that for an outstanding operation -- } !
+ (CONSTRAINED BY { -- must be that for an outstanding operation --} !
RejectProblem:returnError-unrecognizedInvocation)
- (CONSTRAINED BY {-- which returns an error -- } !
+ (CONSTRAINED BY { -- which returns an error --} !
RejectProblem:returnError-errorResponseUnexpected),
errcode
ERROR.&errorCode({Errors} !RejectProblem:returnError-unrecognizedError)
- (CONSTRAINED BY {-- must be in the &Errors field of the associated operation --
+ (CONSTRAINED BY { -- must be in the &Errors field of the associated operation --
} !RejectProblem:returnError-unexpectedError),
parameter
ERROR.&ParameterType
diff --git a/asn1/SchemaAdministration.asn1 b/asn1/SchemaAdministration.asn1
deleted file mode 100644
index 65210f2..0000000
--- a/asn1/SchemaAdministration.asn1
+++ /dev/null
@@ -1,260 +0,0 @@
--- Module SchemaAdministration (X.501:02/2001)
-SchemaAdministration {joint-iso-itu-t ds(5) module(1) schemaAdministration(23)
- 4} DEFINITIONS ::=
-BEGIN
-
--- EXPORTS All
--- The types and values defined in this module are exported for use in the other ASN.1 modules contained
--- within the Directory Specifications, and for the use of other applications which will use them to access
--- Directory services. Other applications may use them for their own purposes, but this will not constrain
--- extensions and modifications needed to maintain or improve the Directory service.
-IMPORTS
- -- from ITU-T Rec. X.501 | ISO/IEC 9594-2
- id-soa, id-soc, informationFramework, selectedAttributeTypes, upperBounds
- FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1)
- usefulDefinitions(0) 4}
- ATTRIBUTE, AttributeUsage, CONTEXT, DITContentRule, DITStructureRule,
- MATCHING-RULE, NAME-FORM, OBJECT-CLASS, ObjectClassKind,
- objectIdentifierMatch
- FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
- informationFramework(1) 4}
- -- from ITU-T Rec. X.520 | ISO/IEC 9594-6
- DirectoryString{}, integerFirstComponentMatch, integerMatch,
- objectIdentifierFirstComponentMatch
- FROM SelectedAttributeTypes {joint-iso-itu-t ds(5) module(1)
- selectedAttributeTypes(5) 4}
- ub-schema
- FROM UpperBounds {joint-iso-itu-t ds(5) module(1) upperBounds(10) 4};
-
--- types
-DITStructureRuleDescription ::= SEQUENCE {
- COMPONENTS OF DITStructureRule,
- name [1] SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE
-}
-
-DITContentRuleDescription ::= SEQUENCE {
- COMPONENTS OF DITContentRule,
- name [4] SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE
-}
-
-MatchingRuleDescription ::= SEQUENCE {
- identifier MATCHING-RULE.&id,
- name SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE,
- information [0] DirectoryString{ub-schema} OPTIONAL
-}
-
--- describes the ASN.1 syntax
-AttributeTypeDescription ::= SEQUENCE {
- identifier ATTRIBUTE.&id,
- name SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE,
- information [0] AttributeTypeInformation
-}
-
-AttributeTypeInformation ::= SEQUENCE {
- derivation [0] ATTRIBUTE.&id OPTIONAL,
- equalityMatch [1] MATCHING-RULE.&id OPTIONAL,
- orderingMatch [2] MATCHING-RULE.&id OPTIONAL,
- substringsMatch [3] MATCHING-RULE.&id OPTIONAL,
- attributeSyntax [4] DirectoryString{ub-schema} OPTIONAL,
- multi-valued [5] BOOLEAN DEFAULT TRUE,
- collective [6] BOOLEAN DEFAULT FALSE,
- userModifiable [7] BOOLEAN DEFAULT TRUE,
- application AttributeUsage DEFAULT userApplications
-}
-
-ObjectClassDescription ::= SEQUENCE {
- identifier OBJECT-CLASS.&id,
- name SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE,
- information [0] ObjectClassInformation
-}
-
-ObjectClassInformation ::= SEQUENCE {
- subclassOf SET SIZE (1..MAX) OF OBJECT-CLASS.&id OPTIONAL,
- kind ObjectClassKind DEFAULT structural,
- mandatories [3] SET SIZE (1..MAX) OF ATTRIBUTE.&id OPTIONAL,
- optionals [4] SET SIZE (1..MAX) OF ATTRIBUTE.&id OPTIONAL
-}
-
-NameFormDescription ::= SEQUENCE {
- identifier NAME-FORM.&id,
- name SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE,
- information [0] NameFormInformation
-}
-
-NameFormInformation ::= SEQUENCE {
- subordinate OBJECT-CLASS.&id,
- namingMandatories SET OF ATTRIBUTE.&id,
- namingOptionals SET SIZE (1..MAX) OF ATTRIBUTE.&id OPTIONAL
-}
-
-MatchingRuleUseDescription ::= SEQUENCE {
- identifier MATCHING-RULE.&id,
- name SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE,
- information [0] SET OF ATTRIBUTE.&id
-}
-
-ContextDescription ::= SEQUENCE {
- identifier CONTEXT.&id,
- name SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE,
- information [0] ContextInformation
-}
-
-ContextInformation ::= SEQUENCE {
- syntax DirectoryString{ub-schema},
- assertionSyntax DirectoryString{ub-schema} OPTIONAL
-}
-
-DITContextUseDescription ::= SEQUENCE {
- identifier ATTRIBUTE.&id,
- name SET SIZE (1..MAX) OF DirectoryString{ub-schema} OPTIONAL,
- description DirectoryString{ub-schema} OPTIONAL,
- obsolete BOOLEAN DEFAULT FALSE,
- information [0] DITContextUseInformation
-}
-
-DITContextUseInformation ::= SEQUENCE {
- mandatoryContexts [1] SET SIZE (1..MAX) OF CONTEXT.&id OPTIONAL,
- optionalContexts [2] SET SIZE (1..MAX) OF CONTEXT.&id OPTIONAL
-}
-
--- object classes
-subschema OBJECT-CLASS ::= {
- KIND auxiliary
- MAY CONTAIN
- {dITStructureRules | nameForms | dITContentRules | objectClasses |
- attributeTypes | contextTypes | dITContextUse | matchingRules |
- matchingRuleUse}
- ID id-soc-subschema
-}
-
--- attributes
-dITStructureRules ATTRIBUTE ::= {
- WITH SYNTAX DITStructureRuleDescription
- EQUALITY MATCHING RULE integerFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-dITStructureRule
-}
-
-dITContentRules ATTRIBUTE ::= {
- WITH SYNTAX DITContentRuleDescription
- EQUALITY MATCHING RULE objectIdentifierFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-dITContentRules
-}
-
-matchingRules ATTRIBUTE ::= {
- WITH SYNTAX MatchingRuleDescription
- EQUALITY MATCHING RULE objectIdentifierFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-matchingRules
-}
-
-attributeTypes ATTRIBUTE ::= {
- WITH SYNTAX AttributeTypeDescription
- EQUALITY MATCHING RULE objectIdentifierFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-attributeTypes
-}
-
-objectClasses ATTRIBUTE ::= {
- WITH SYNTAX ObjectClassDescription
- EQUALITY MATCHING RULE objectIdentifierFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-objectClasses
-}
-
-nameForms ATTRIBUTE ::= {
- WITH SYNTAX NameFormDescription
- EQUALITY MATCHING RULE objectIdentifierFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-nameForms
-}
-
-matchingRuleUse ATTRIBUTE ::= {
- WITH SYNTAX MatchingRuleUseDescription
- EQUALITY MATCHING RULE objectIdentifierFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-matchingRuleUse
-}
-
-structuralObjectClass ATTRIBUTE ::= {
- WITH SYNTAX OBJECT IDENTIFIER
- EQUALITY MATCHING RULE objectIdentifierMatch
- SINGLE VALUE TRUE
- NO USER MODIFICATION TRUE
- USAGE directoryOperation
- ID id-soa-structuralObjectClass
-}
-
-governingStructureRule ATTRIBUTE ::= {
- WITH SYNTAX INTEGER
- EQUALITY MATCHING RULE integerMatch
- SINGLE VALUE TRUE
- NO USER MODIFICATION TRUE
- USAGE directoryOperation
- ID id-soa-governingStructureRule
-}
-
-contextTypes ATTRIBUTE ::= {
- WITH SYNTAX ContextDescription
- EQUALITY MATCHING RULE objectIdentifierFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-contextTypes
-}
-
-dITContextUse ATTRIBUTE ::= {
- WITH SYNTAX DITContextUseDescription
- EQUALITY MATCHING RULE objectIdentifierFirstComponentMatch
- USAGE directoryOperation
- ID id-soa-dITContextUse
-}
-
--- object identifier assignments
--- schema object classes
-id-soc-subschema OBJECT IDENTIFIER ::=
- {id-soc 1}
-
--- schema operational attributes
-id-soa-dITStructureRule OBJECT IDENTIFIER ::=
- {id-soa 1}
-
-id-soa-dITContentRules OBJECT IDENTIFIER ::= {id-soa 2}
-
-id-soa-matchingRules OBJECT IDENTIFIER ::= {id-soa 4}
-
-id-soa-attributeTypes OBJECT IDENTIFIER ::= {id-soa 5}
-
-id-soa-objectClasses OBJECT IDENTIFIER ::= {id-soa 6}
-
-id-soa-nameForms OBJECT IDENTIFIER ::= {id-soa 7}
-
-id-soa-matchingRuleUse OBJECT IDENTIFIER ::= {id-soa 8}
-
-id-soa-structuralObjectClass OBJECT IDENTIFIER ::= {id-soa 9}
-
-id-soa-governingStructureRule OBJECT IDENTIFIER ::= {id-soa 10}
-
-id-soa-contextTypes OBJECT IDENTIFIER ::= {id-soa 11}
-
-id-soa-dITContextUse OBJECT IDENTIFIER ::= {id-soa 12}
-
-END -- SchemaAdministration
-
--- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
-
diff --git a/asn1include/ACSE-1.asn b/asn1include/ACSE-1.asn
new file mode 100644
index 0000000..baa680a
--- /dev/null
+++ b/asn1include/ACSE-1.asn
@@ -0,0 +1,253 @@
+-- Module ACSE-1 (X.227:04/1995)
+ACSE-1 {joint-iso-itu-t association-control(2) modules(0) apdus(0) version1(1)}
+-- ACSE-1 refers to ACSE version 1
+DEFINITIONS ::=
+BEGIN
+
+EXPORTS
+ acse-as-id, ACSE-apdu, aCSE-id, Application-context-name, AP-title,
+ AE-qualifier, AE-title, AP-invocation-identifier, AE-invocation-identifier,
+ Mechanism-name, Authentication-value, ACSE-requirements, ObjectSet;
+
+IMPORTS
+ Name, RelativeDistinguishedName
+ FROM InformationFramework {joint-iso-itu-t ds(5) module(1)
+ informationFramework(1) 3};
+
+-- The data types Name and RelativeDistinguishedName are imported from ISO/IEC 9594-2.
+-- object identifier assignments
+acse-as-id OBJECT IDENTIFIER ::=
+ {joint-iso-itu-t association-control(2) abstract-syntax(1) apdus(0)
+ version1(1)}
+
+-- may be used to reference the abstract syntax of the ACSE APDUs
+aCSE-id OBJECT IDENTIFIER ::=
+ {joint-iso-itu-t association-control(2) ase-id(3) acse-ase(1) version(1)}
+
+-- may be used to identify the Association Control ASE.
+-- top level CHOICE
+ACSE-apdu ::= CHOICE {
+ aarq AARQ-apdu,
+ aare AARE-apdu,
+ rlrq RLRQ-apdu,
+ rlre RLRE-apdu,
+ abrt ABRT-apdu,
+ ...
+}
+
+AARQ-apdu ::= [APPLICATION 0] IMPLICIT SEQUENCE {
+ protocol-version
+ [0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
+ application-context-name [1] Application-context-name,
+ called-AP-title [2] AP-title OPTIONAL,
+ called-AE-qualifier [3] AE-qualifier OPTIONAL,
+ called-AP-invocation-identifier [4] AP-invocation-identifier OPTIONAL,
+ called-AE-invocation-identifier [5] AE-invocation-identifier OPTIONAL,
+ calling-AP-title [6] AP-title OPTIONAL,
+ calling-AE-qualifier [7] AE-qualifier OPTIONAL,
+ calling-AP-invocation-identifier [8] AP-invocation-identifier OPTIONAL,
+ calling-AE-invocation-identifier [9] AE-invocation-identifier OPTIONAL,
+ -- The following field shall not be present if only the Kernel is used.
+ sender-acse-requirements [10] IMPLICIT ACSE-requirements OPTIONAL,
+ -- The following field shall only be present if the Authentication functional unit is selected.
+ mechanism-name [11] IMPLICIT Mechanism-name OPTIONAL,
+ -- The following field shall only be present if the Authentication functional unit is selected.
+ calling-authentication-value [12] EXPLICIT Authentication-value OPTIONAL,
+ application-context-name-list
+ [13] IMPLICIT Application-context-name-list OPTIONAL,
+ -- The above field shall only be present if the Application Context Negotiation functional unit is selected
+ implementation-information [29] IMPLICIT Implementation-data OPTIONAL,
+ ...,
+ ...,
+ user-information
+ [30] IMPLICIT Association-information OPTIONAL
+}
+
+AARE-apdu ::= [APPLICATION 1] IMPLICIT SEQUENCE {
+ protocol-version
+ [0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1},
+ application-context-name [1] Application-context-name,
+ result [2] Associate-result,
+ result-source-diagnostic [3] Associate-source-diagnostic,
+ responding-AP-title [4] AP-title OPTIONAL,
+ responding-AE-qualifier [5] AE-qualifier OPTIONAL,
+ responding-AP-invocation-identifier [6] AP-invocation-identifier OPTIONAL,
+ responding-AE-invocation-identifier [7] AE-invocation-identifier OPTIONAL,
+ -- The following field shall not be present if only the Kernel is used.
+ responder-acse-requirements [8] IMPLICIT ACSE-requirements OPTIONAL,
+ -- The following field shall only be present if the Authentication functional unit is selected.
+ mechanism-name [9] IMPLICIT Mechanism-name OPTIONAL,
+ -- This following field shall only be present if the Authentication functional unit is selected.
+ responding-authentication-value
+ [10] EXPLICIT Authentication-value OPTIONAL,
+ application-context-name-list
+ [11] IMPLICIT Application-context-name-list OPTIONAL,
+ -- The above field shall only be present if the Application Context Negotiation functional unit is selected
+ implementation-information
+ [29] IMPLICIT Implementation-data OPTIONAL,
+ ...,
+ ...,
+ user-information
+ [30] IMPLICIT Association-information OPTIONAL
+}
+
+RLRQ-apdu ::= [APPLICATION 2] IMPLICIT SEQUENCE {
+ reason [0] IMPLICIT Release-request-reason OPTIONAL,
+ ...,
+ ...,
+ user-information [30] IMPLICIT Association-information OPTIONAL
+}
+
+RLRE-apdu ::= [APPLICATION 3] IMPLICIT SEQUENCE {
+ reason [0] IMPLICIT Release-response-reason OPTIONAL,
+ ...,
+ ...,
+ user-information [30] IMPLICIT Association-information OPTIONAL
+}
+
+ABRT-apdu ::= [APPLICATION 4] IMPLICIT SEQUENCE {
+ abort-source [0] IMPLICIT ABRT-source,
+ abort-diagnostic [1] IMPLICIT ABRT-diagnostic OPTIONAL,
+ -- This field shall not be present if only the Kernel is used.
+ ...,
+ ...,
+ user-information [30] IMPLICIT Association-information OPTIONAL
+}
+
+ABRT-diagnostic ::= ENUMERATED {
+ no-reason-given(1), protocol-error(2),
+ authentication-mechanism-name-not-recognized(3),
+ authentication-mechanism-name-required(4), authentication-failure(5),
+ authentication-required(6), ...
+ }
+
+ABRT-source ::= INTEGER {acse-service-user(0), acse-service-provider(1)
+}(0..1, ...)
+
+ACSE-requirements ::= BIT STRING {
+ authentication(0), application-context-negotiation(1)}
+
+Application-context-name-list ::= SEQUENCE OF Application-context-name
+
+Application-context-name ::= OBJECT IDENTIFIER
+
+-- Application-entity title productions follow (not in alphabetical order)
+AP-title ::= CHOICE {
+ ap-title-form1 AP-title-form1,
+ ap-title-form2 AP-title-form2,
+ ...
+}
+
+AE-qualifier ::= CHOICE {
+ ae-qualifier-form1 AE-qualifier-form1,
+ ae-qualifier-form2 AE-qualifier-form2,
+ ...
+}
+
+-- When both AP-title and AE-qualifier data values are present in an AARQ or AARE APDU, both must
+-- have the same form to allow the construction of an AE-title as discussed in CCITT Rec. X.665 |
+-- ISO/IEC 9834-6.
+AP-title-form1 ::=
+ Name
+
+-- The value assigned to AP-title-form1 is The Directory Name of an application-process title.
+AE-qualifier-form1 ::=
+ RelativeDistinguishedName
+
+-- The value assigned to AE-qualifier-form1 is the relative distinguished name of a particular
+-- application-entity of the application-process identified by AP-title-form1.
+AP-title-form2 ::= OBJECT IDENTIFIER
+
+AE-qualifier-form2 ::= INTEGER
+
+AE-title ::= CHOICE {
+ ae-title-form1 AE-title-form1,
+ ae-title-form2 AE-title-form2,
+ ...
+}
+
+-- As defined in CCITT Rec. X.650 | ISO 7498-3, an application-entity title is composed of an application-
+-- process title and an application-entity qualifier. The ACSE protocol provides for the transfer of an
+-- application-entity title value by the transfer of its component values. However, the following data type
+-- is provided for International Standards that reference a single syntactic structure for AE titles.
+AE-title-form1 ::=
+ Name
+
+-- For access to The Directory (ITU-T Rec. X.500-Series | ISO/IEC 9594), an AE title has AE-title-form1.
+-- This value can be constructed from AP-title-form1 and AE-qualifier-form1 values contained in an
+-- AARQ or AARE APDU. A discussion of forming an AE-title-form1 from AP-title-form1 and AE-qualifier-
+-- form1 may be found in CCITT Rec. X.665 | ISO/IEC 9834-6.
+AE-title-form2 ::= OBJECT IDENTIFIER
+
+-- A discussion of forming an AE-title-form2 from AP-title-form2 and AE-qualifier-form2 may be
+-- found in CCITT Rec. X.665 | ISO/IEC 9834-6.
+AE-invocation-identifier ::= INTEGER
+
+AP-invocation-identifier ::= INTEGER
+
+-- End of Application-entity title productions
+Associate-result ::= INTEGER {
+ accepted(0), rejected-permanent(1), rejected-transient(2)}(0..2, ...)
+
+Associate-source-diagnostic ::= CHOICE {
+ acse-service-user
+ [1] INTEGER {null(0), no-reason-given(1),
+ application-context-name-not-supported(2),
+ calling-AP-title-not-recognized(3),
+ calling-AP-invocation-identifier-not-recognized(4),
+ calling-AE-qualifier-not-recognized(5),
+ calling-AE-invocation-identifier-not-recognized(6),
+ called-AP-title-not-recognized(7),
+ called-AP-invocation-identifier-not-recognized(8),
+ called-AE-qualifier-not-recognized(9),
+ called-AE-invocation-identifier-not-recognized(10),
+ authentication-mechanism-name-not-recognized(11),
+ authentication-mechanism-name-required(12),
+ authentication-failure(13), authentication-required(14)}
+ (0..14, ...),
+ acse-service-provider
+ [2] INTEGER {null(0), no-reason-given(1), no-common-acse-version(2)}
+ (0..2, ...)
+}
+
+Association-information ::= SEQUENCE SIZE (1, ..., 0 | 2..MAX) OF EXTERNAL
+
+Authentication-value ::= CHOICE {
+ charstring [0] IMPLICIT GraphicString,
+ bitstring [1] IMPLICIT BIT STRING,
+ external [2] IMPLICIT EXTERNAL,
+ other
+ [3] IMPLICIT SEQUENCE {other-mechanism-name
+ MECHANISM-NAME.&id({ObjectSet}),
+ other-mechanism-value
+ MECHANISM-NAME.&Type
+ ({ObjectSet}{@.other-mechanism-name})}
+}
+
+-- The abstract syntax of (calling/responding) authentication-value is determined by the authentication
+-- mechanism used during association establishment. The authentication mechanism is either explicitly
+-- denoted by the &id field (of type OBJECT IDENTIFIER) for a mechanism belonging to the class
+-- MECHANISM-NAME, or it is known implicitly by
+-- prior agreement between the communicating partners. If the "other" component is chosen, then
+-- the "mechanism-name" component must be present in accordance with
+-- ITU-T Rec. X.680 | ISO/IEC 8824. If the value "mechanism-name" occurs in the AARQ-apdu or the
+-- AARE-apdu, then that value must be the same as the value for "other-mechanism-name"
+Implementation-data ::= GraphicString
+
+Mechanism-name ::= OBJECT IDENTIFIER
+
+MECHANISM-NAME ::= TYPE-IDENTIFIER
+
+ObjectSet MECHANISM-NAME ::=
+ {...}
+
+Release-request-reason ::= INTEGER {normal(0), urgent(1), user-defined(30)
+}(0 | 1 | 30, ...)
+
+Release-response-reason ::= INTEGER {
+ normal(0), not-finished(1), user-defined(30)}(0 | 1 | 30, ...)
+
+END
+
+-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
+
diff --git a/asn1/AttributeCertificateDefinitions.asn1 b/asn1include/AttributeCertificateDefinitions.asn
index d976ed9..d976ed9 100644
--- a/asn1/AttributeCertificateDefinitions.asn1
+++ b/asn1include/AttributeCertificateDefinitions.asn
diff --git a/asn1/AuthenticationFramework.asn1 b/asn1include/AuthenticationFramework.asn
index 35b8164..35b8164 100644
--- a/asn1/AuthenticationFramework.asn1
+++ b/asn1include/AuthenticationFramework.asn
diff --git a/asn1/BasicAccessControl.asn1 b/asn1include/BasicAccessControl.asn
index 9877227..9877227 100644
--- a/asn1/BasicAccessControl.asn1
+++ b/asn1include/BasicAccessControl.asn
diff --git a/asn1/CertificateExtensions.asn1 b/asn1include/CertificateExtensions.asn
index aeb5125..aeb5125 100644
--- a/asn1/CertificateExtensions.asn1
+++ b/asn1include/CertificateExtensions.asn
diff --git a/asn1/DSAOperationalAttributeTypes.asn1 b/asn1include/DSAOperationalAttributeTypes.asn
index e8146cd..e8146cd 100644
--- a/asn1/DSAOperationalAttributeTypes.asn1
+++ b/asn1include/DSAOperationalAttributeTypes.asn
diff --git a/asn1/DirectoryAbstractService.asn1 b/asn1include/DirectoryAbstractService.asn
index b098ae0..b098ae0 100644
--- a/asn1/DirectoryAbstractService.asn1
+++ b/asn1include/DirectoryAbstractService.asn
diff --git a/asn1/DirectoryAccessProtocol.asn1 b/asn1include/DirectoryAccessProtocol.asn
index fbe1a90..fbe1a90 100644
--- a/asn1/DirectoryAccessProtocol.asn1
+++ b/asn1include/DirectoryAccessProtocol.asn
diff --git a/asn1/DirectoryInformationShadowProtocol.asn1 b/asn1include/DirectoryInformationShadowProtocol.asn
index 2165917..2165917 100644
--- a/asn1/DirectoryInformationShadowProtocol.asn1
+++ b/asn1include/DirectoryInformationShadowProtocol.asn
diff --git a/asn1/DirectoryOperationalBindingManagementProtocol.asn1 b/asn1include/DirectoryOperationalBindingManagementProtocol.asn
index cee035b..cee035b 100644
--- a/asn1/DirectoryOperationalBindingManagementProtocol.asn1
+++ b/asn1include/DirectoryOperationalBindingManagementProtocol.asn
diff --git a/asn1/DirectoryOperationalBindingTypes.asn1 b/asn1include/DirectoryOperationalBindingTypes.asn
index 1d1d4d8..1d1d4d8 100644
--- a/asn1/DirectoryOperationalBindingTypes.asn1
+++ b/asn1include/DirectoryOperationalBindingTypes.asn
diff --git a/asn1/DirectoryShadowAbstractService.asn1 b/asn1include/DirectoryShadowAbstractService.asn
index 27f04fc..27f04fc 100644
--- a/asn1/DirectoryShadowAbstractService.asn1
+++ b/asn1include/DirectoryShadowAbstractService.asn
diff --git a/asn1/DirectorySystemProtocol.asn1 b/asn1include/DirectorySystemProtocol.asn
index 664e7fc..664e7fc 100644
--- a/asn1/DirectorySystemProtocol.asn1
+++ b/asn1include/DirectorySystemProtocol.asn
diff --git a/asn1/DistributedOperations.asn1 b/asn1include/DistributedOperations.asn
index a6da31b..a6da31b 100644
--- a/asn1/DistributedOperations.asn1
+++ b/asn1include/DistributedOperations.asn
diff --git a/asn1/EnhancedSecurity.asn1 b/asn1include/EnhancedSecurity.asn
index 3879987..3879987 100644
--- a/asn1/EnhancedSecurity.asn1
+++ b/asn1include/EnhancedSecurity.asn
diff --git a/asn1/HierarchicalOperationalBindings.asn1 b/asn1include/HierarchicalOperationalBindings.asn
index 490fe89..490fe89 100644
--- a/asn1/HierarchicalOperationalBindings.asn1
+++ b/asn1include/HierarchicalOperationalBindings.asn
diff --git a/asn1/IPMSExtendedBodyPartTypes.asn1 b/asn1include/IPMSExtendedBodyPartTypes.asn
index 9805a61..9805a61 100644
--- a/asn1/IPMSExtendedBodyPartTypes.asn1
+++ b/asn1include/IPMSExtendedBodyPartTypes.asn
diff --git a/asn1/IPMSExtendedBodyPartTypes2.asn1 b/asn1include/IPMSExtendedBodyPartTypes2.asn
index b39e03c..b39e03c 100644
--- a/asn1/IPMSExtendedBodyPartTypes2.asn1
+++ b/asn1include/IPMSExtendedBodyPartTypes2.asn
diff --git a/asn1/IPMSExtendedVoiceBodyPartType.asn1 b/asn1include/IPMSExtendedVoiceBodyPartType.asn
index 171f4b4..171f4b4 100644
--- a/asn1/IPMSExtendedVoiceBodyPartType.asn1
+++ b/asn1include/IPMSExtendedVoiceBodyPartType.asn
diff --git a/asn1/IPMSFileTransferBodyPartType.asn1 b/asn1include/IPMSFileTransferBodyPartType.asn
index 59de6d1..59de6d1 100644
--- a/asn1/IPMSFileTransferBodyPartType.asn1
+++ b/asn1include/IPMSFileTransferBodyPartType.asn
diff --git a/asn1/IPMSForwardedContentBodyPartType.asn1 b/asn1include/IPMSForwardedContentBodyPartType.asn
index 57faac6..57faac6 100644
--- a/asn1/IPMSForwardedContentBodyPartType.asn1
+++ b/asn1include/IPMSForwardedContentBodyPartType.asn
diff --git a/asn1/IPMSForwardedReportBodyPartType.asn1 b/asn1include/IPMSForwardedReportBodyPartType.asn
index 4e46c76..4e46c76 100644
--- a/asn1/IPMSForwardedReportBodyPartType.asn1
+++ b/asn1include/IPMSForwardedReportBodyPartType.asn
diff --git a/asn1/IPMSHeadingExtensions.asn1 b/asn1include/IPMSHeadingExtensions.asn
index 752e8d0..752e8d0 100644
--- a/asn1/IPMSHeadingExtensions.asn1
+++ b/asn1include/IPMSHeadingExtensions.asn
diff --git a/asn1/IPMSInformationObjects.asn1 b/asn1include/IPMSInformationObjects.asn
index 3fb0463..3fb0463 100644
--- a/asn1/IPMSInformationObjects.asn1
+++ b/asn1include/IPMSInformationObjects.asn
diff --git a/asn1/IPMSObjectIdentifiers.asn1 b/asn1include/IPMSObjectIdentifiers.asn
index 6e5c01a..6e5c01a 100644
--- a/asn1/IPMSObjectIdentifiers.asn1
+++ b/asn1include/IPMSObjectIdentifiers.asn
diff --git a/asn1/IPMSSecurityExtensions.asn1 b/asn1include/IPMSSecurityExtensions.asn
index 8c692cc..8c692cc 100644
--- a/asn1/IPMSSecurityExtensions.asn1
+++ b/asn1include/IPMSSecurityExtensions.asn
diff --git a/asn1/IPMSUpperBounds.asn1 b/asn1include/IPMSUpperBounds.asn
index 27324f6..27324f6 100644
--- a/asn1/IPMSUpperBounds.asn1
+++ b/asn1include/IPMSUpperBounds.asn
diff --git a/asn1/ISO8571-FTAM.asn1 b/asn1include/ISO8571-FTAM.asn
index 5458350..5458350 100644
--- a/asn1/ISO8571-FTAM.asn1
+++ b/asn1include/ISO8571-FTAM.asn
diff --git a/asn1/Interchange-Data-Elements.asn1 b/asn1include/Interchange-Data-Elements.asn
index 5375252..5375252 100644
--- a/asn1/Interchange-Data-Elements.asn1
+++ b/asn1include/Interchange-Data-Elements.asn
diff --git a/asn1/MHSObjectIdentifiers.asn1 b/asn1include/MHSObjectIdentifiers.asn
index 187c3c8..187c3c8 100644
--- a/asn1/MHSObjectIdentifiers.asn1
+++ b/asn1include/MHSObjectIdentifiers.asn
diff --git a/asn1/MHSProtocolObjectIdentifiers.asn1 b/asn1include/MHSProtocolObjectIdentifiers.asn
index 0b83d7b..0b83d7b 100644
--- a/asn1/MHSProtocolObjectIdentifiers.asn1
+++ b/asn1include/MHSProtocolObjectIdentifiers.asn
diff --git a/asn1/MSAbstractService.asn1 b/asn1include/MSAbstractService.asn
index d81468d..d81468d 100644
--- a/asn1/MSAbstractService.asn1
+++ b/asn1include/MSAbstractService.asn
diff --git a/asn1/MSAccessProtocol.asn1 b/asn1include/MSAccessProtocol.asn
index 14751d9..14751d9 100644
--- a/asn1/MSAccessProtocol.asn1
+++ b/asn1include/MSAccessProtocol.asn
diff --git a/asn1/MSGeneralAttributeTypes.asn1 b/asn1include/MSGeneralAttributeTypes.asn
index 4138105..4138105 100644
--- a/asn1/MSGeneralAttributeTypes.asn1
+++ b/asn1include/MSGeneralAttributeTypes.asn
diff --git a/asn1/MSGeneralAutoActionTypes.asn1 b/asn1include/MSGeneralAutoActionTypes.asn
index eceae4a..eceae4a 100644
--- a/asn1/MSGeneralAutoActionTypes.asn1
+++ b/asn1include/MSGeneralAutoActionTypes.asn
diff --git a/asn1/MSMatchingRules.asn1 b/asn1include/MSMatchingRules.asn
index 37c894d..37c894d 100644
--- a/asn1/MSMatchingRules.asn1
+++ b/asn1include/MSMatchingRules.asn
diff --git a/asn1/MSObjectIdentifiers.asn1 b/asn1include/MSObjectIdentifiers.asn
index df194f8..df194f8 100644
--- a/asn1/MSObjectIdentifiers.asn1
+++ b/asn1include/MSObjectIdentifiers.asn
diff --git a/asn1/MSUpperBounds.asn1 b/asn1include/MSUpperBounds.asn
index 6494fbd..6494fbd 100644
--- a/asn1/MSUpperBounds.asn1
+++ b/asn1include/MSUpperBounds.asn
diff --git a/asn1/MTAAbstractService.asn1 b/asn1include/MTAAbstractService.asn
index 38035c7..38035c7 100644
--- a/asn1/MTAAbstractService.asn1
+++ b/asn1include/MTAAbstractService.asn
diff --git a/asn1/MTSAbstractService.asn1 b/asn1include/MTSAbstractService.asn
index 033ffdd..033ffdd 100644
--- a/asn1/MTSAbstractService.asn1
+++ b/asn1include/MTSAbstractService.asn
diff --git a/asn1/MTSAbstractService88.asn1 b/asn1include/MTSAbstractService88.asn
index f66d117..f66d117 100644
--- a/asn1/MTSAbstractService88.asn1
+++ b/asn1include/MTSAbstractService88.asn
diff --git a/asn1/MTSAccessProtocol.asn1 b/asn1include/MTSAccessProtocol.asn
index 5a4a812..5a4a812 100644
--- a/asn1/MTSAccessProtocol.asn1
+++ b/asn1include/MTSAccessProtocol.asn
diff --git a/asn1/MTSObjectIdentifiers.asn1 b/asn1include/MTSObjectIdentifiers.asn
index 1615b24..1615b24 100644
--- a/asn1/MTSObjectIdentifiers.asn1
+++ b/asn1include/MTSObjectIdentifiers.asn
diff --git a/asn1/MTSUpperBounds.asn1 b/asn1include/MTSUpperBounds.asn
index 10eac96..10eac96 100644
--- a/asn1/MTSUpperBounds.asn1
+++ b/asn1include/MTSUpperBounds.asn
diff --git a/asn1/OperationalBindingManagement.asn1 b/asn1include/OperationalBindingManagement.asn
index 957e084..957e084 100644
--- a/asn1/OperationalBindingManagement.asn1
+++ b/asn1include/OperationalBindingManagement.asn
diff --git a/asn1/PKCS7.asn1 b/asn1include/PKCS7.asn
index ac449b5..ac449b5 100644
--- a/asn1/PKCS7.asn1
+++ b/asn1include/PKCS7.asn
diff --git a/asn1/PKCS7BodyPartType.asn1 b/asn1include/PKCS7BodyPartType.asn
index 525ee3c..525ee3c 100644
--- a/asn1/PKCS7BodyPartType.asn1
+++ b/asn1include/PKCS7BodyPartType.asn
diff --git a/asn1/PKIX1Implicit93.asn1 b/asn1include/PKIX1Implicit93.asn
index 8062cda..8062cda 100644
--- a/asn1/PKIX1Implicit93.asn1
+++ b/asn1include/PKIX1Implicit93.asn
diff --git a/asn1/ProtocolObjectIdentifiers.asn1 b/asn1include/ProtocolObjectIdentifiers.asn
index 9b5cc13..9b5cc13 100644
--- a/asn1/ProtocolObjectIdentifiers.asn1
+++ b/asn1include/ProtocolObjectIdentifiers.asn
diff --git a/asn1/Reliable-Transfer-APDU.asn1 b/asn1include/Reliable-Transfer-APDU.asn
index 20669de..20669de 100644
--- a/asn1/Reliable-Transfer-APDU.asn1
+++ b/asn1include/Reliable-Transfer-APDU.asn
diff --git a/asn1/Remote-Operations-Abstract-Syntaxes.asn1 b/asn1include/Remote-Operations-Abstract-Syntaxes.asn
index 8ad20d8..8ad20d8 100644
--- a/asn1/Remote-Operations-Abstract-Syntaxes.asn1
+++ b/asn1include/Remote-Operations-Abstract-Syntaxes.asn
diff --git a/asn1include/Remote-Operations-Generic-ROS-PDUs.asn b/asn1include/Remote-Operations-Generic-ROS-PDUs.asn
new file mode 100644
index 0000000..8f12af1
--- /dev/null
+++ b/asn1include/Remote-Operations-Generic-ROS-PDUs.asn
@@ -0,0 +1,162 @@
+-- Module Remote-Operations-Generic-ROS-PDUs (X.880:07/1994)
+Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t remote-operations(4)
+ generic-ROS-PDUs(6) version1(0)} DEFINITIONS IMPLICIT TAGS ::=
+BEGIN
+
+-- exports everything
+IMPORTS
+ OPERATION, ERROR
+ FROM Remote-Operations-Information-Objects {joint-iso-itu-t
+ remote-operations(4) informationObjects(5) version2(1)};
+
+ROS{InvokeId:InvokeIdSet, OPERATION:Invokable, OPERATION:Returnable} ::=
+ CHOICE {
+ invoke [1] Invoke{{InvokeIdSet}, {Invokable}},
+ returnResult [2] ReturnResult{{Returnable}},
+ returnError [3] ReturnError{{Errors {{Returnable}}}},
+ reject [4] Reject
+}
+(CONSTRAINED BY { -- must conform to the above definition --} !
+ RejectProblem:general-unrecognizedPDU)
+
+Invoke{InvokeId:InvokeIdSet, OPERATION:Operations} ::= SEQUENCE {
+ invokeId
+ InvokeId(InvokeIdSet)
+ (CONSTRAINED BY {-- must be unambiguous -- } !
+ RejectProblem:invoke-duplicateInvocation),
+ linkedId
+ CHOICE {present [0] IMPLICIT present < InvokeId,
+ absent [1] IMPLICIT NULL
+ }
+ (CONSTRAINED BY { -- must identify an outstanding operation --} !
+ RejectProblem:invoke-unrecognizedLinkedId)
+ (CONSTRAINED BY { -- which has one or more linked operations--} !
+ RejectProblem:invoke-linkedResponseUnexpected) OPTIONAL,
+ opcode
+ OPERATION.&operationCode
+ ({Operations} !RejectProblem:invoke-unrecognizedOperation),
+ argument
+ OPERATION.&ArgumentType
+ ({Operations}{@opcode} !RejectProblem:invoke-mistypedArgument) OPTIONAL
+}
+(CONSTRAINED BY { -- must conform to the above definition --} !
+ RejectProblem:general-mistypedPDU)
+(WITH COMPONENTS {
+ ...,
+ linkedId ABSENT
+ } |
+ WITH COMPONENTS {
+ ...,
+ linkedId PRESENT,
+ opcode (CONSTRAINED BY { -- must be in the &Linked field of the associated operation --
+ } !RejectProblem:invoke-unexpectedLinkedOperation)
+ })
+
+-- continued on the next page
+ReturnResult{OPERATION:Operations} ::= SEQUENCE {
+ invokeId
+ InvokeId
+ (CONSTRAINED BY {-- must be that for an outstanding operation -- } !
+ RejectProblem:returnResult-unrecognizedInvocation)
+ (CONSTRAINED BY {-- which returns a result -- } !
+ RejectProblem:returnResult-resultResponseUnexpected),
+ result
+ SEQUENCE {opcode
+ OPERATION.&operationCode({Operations})
+ (CONSTRAINED BY {-- identified by invokeId -- } !
+ RejectProblem:returnResult-unrecognizedInvocation),
+ result
+ OPERATION.&ResultType
+ ({Operations}{@.opcode} !
+ RejectProblem:returnResult-mistypedResult)} OPTIONAL
+}
+(CONSTRAINED BY { -- must conform to the above definition --} !
+ RejectProblem:general-mistypedPDU)
+
+ReturnError{ERROR:Errors} ::= SEQUENCE {
+ invokeId
+ InvokeId
+ (CONSTRAINED BY {-- must be that for an outstanding operation -- } !
+ RejectProblem:returnError-unrecognizedInvocation)
+ (CONSTRAINED BY {-- which returns an error -- } !
+ RejectProblem:returnError-errorResponseUnexpected),
+ errcode
+ ERROR.&errorCode({Errors} !RejectProblem:returnError-unrecognizedError)
+ (CONSTRAINED BY {-- must be in the &Errors field of the associated operation --
+ } !RejectProblem:returnError-unexpectedError),
+ parameter
+ ERROR.&ParameterType
+ ({Errors}{@errcode} !RejectProblem:returnError-mistypedParameter)
+ OPTIONAL
+}
+(CONSTRAINED BY { -- must conform to the above definition --} !
+ RejectProblem:general-mistypedPDU)
+
+Reject ::= SEQUENCE {
+ invokeId InvokeId,
+ problem
+ CHOICE {general [0] GeneralProblem,
+ invoke [1] InvokeProblem,
+ returnResult [2] ReturnResultProblem,
+ returnError [3] ReturnErrorProblem}
+}
+(CONSTRAINED BY { -- must conform to the above definition --} !
+ RejectProblem:general-mistypedPDU)
+
+GeneralProblem ::= INTEGER {
+ unrecognizedPDU(0), mistypedPDU(1), badlyStructuredPDU(2)}
+
+-- continued on the next page
+InvokeProblem ::= INTEGER {
+ duplicateInvocation(0), unrecognizedOperation(1), mistypedArgument(2),
+ resourceLimitation(3), releaseInProgress(4), unrecognizedLinkedId(5),
+ linkedResponseUnexpected(6), unexpectedLinkedOperation(7)}
+
+ReturnResultProblem ::= INTEGER {
+ unrecognizedInvocation(0), resultResponseUnexpected(1), mistypedResult(2)
+}
+
+ReturnErrorProblem ::= INTEGER {
+ unrecognizedInvocation(0), errorResponseUnexpected(1), unrecognizedError(2),
+ unexpectedError(3), mistypedParameter(4)}
+
+RejectProblem ::= INTEGER {
+ general-unrecognizedPDU(0), general-mistypedPDU(1),
+ general-badlyStructuredPDU(2), invoke-duplicateInvocation(10),
+ invoke-unrecognizedOperation(11), invoke-mistypedArgument(12),
+ invoke-resourceLimitation(13), invoke-releaseInProgress(14),
+ invoke-unrecognizedLinkedId(15), invoke-linkedResponseUnexpected(16),
+ invoke-unexpectedLinkedOperation(17),
+ returnResult-unrecognizedInvocation(20),
+ returnResult-resultResponseUnexpected(21), returnResult-mistypedResult(22),
+ returnError-unrecognizedInvocation(30),
+ returnError-errorResponseUnexpected(31), returnError-unrecognizedError(32),
+ returnError-unexpectedError(33), returnError-mistypedParameter(34)}
+
+InvokeId ::= CHOICE {present INTEGER,
+ absent NULL
+}
+
+noInvokeId InvokeId ::= absent:NULL
+
+NoInvokeId InvokeId ::= {noInvokeId}
+
+Errors{OPERATION:Operations} ERROR ::= {Operations.&Errors}
+
+-- continued on the next page
+Bind{OPERATION:operation} ::= CHOICE {
+ bind-invoke [16] OPERATION.&ArgumentType({operation}),
+ bind-result [17] OPERATION.&ResultType({operation}),
+ bind-error [18] OPERATION.&Errors.&ParameterType({operation})
+}
+
+Unbind{OPERATION:operation} ::= CHOICE {
+ unbind-invoke [19] OPERATION.&ArgumentType({operation}),
+ unbind-result [20] OPERATION.&ResultType({operation}),
+ unbind-error [21] OPERATION.&Errors.&ParameterType({operation})
+}
+
+END -- end of generic ROS PDU definitions
+
+-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
+
diff --git a/asn1/Remote-Operations-Information-Objects-extensions.asn1 b/asn1include/Remote-Operations-Information-Objects-extensions.asn
index 671cf0e..671cf0e 100644
--- a/asn1/Remote-Operations-Information-Objects-extensions.asn1
+++ b/asn1include/Remote-Operations-Information-Objects-extensions.asn
diff --git a/asn1include/Remote-Operations-Information-Objects.asn b/asn1include/Remote-Operations-Information-Objects.asn
new file mode 100644
index 0000000..b497e41
--- /dev/null
+++ b/asn1include/Remote-Operations-Information-Objects.asn
@@ -0,0 +1,123 @@
+-- Module Remote-Operations-Information-Objects (X.880:07/1994)
+
+Remote-Operations-Information-Objects {joint-iso-itu-t remote-operations(4)
+ informationObjects(5) version1(0)} DEFINITIONS ::=
+BEGIN
+
+-- exports everything
+IMPORTS
+ emptyBind, emptyUnbind
+ FROM Remote-Operations-Useful-Definitions {joint-iso-itu-t
+ remote-operations(4) useful-definitions(7) version1(0)};
+
+OPERATION ::= CLASS {
+ &ArgumentType OPTIONAL,
+ &argumentTypeOptional BOOLEAN OPTIONAL,
+ &returnResult BOOLEAN DEFAULT TRUE,
+ &ResultType OPTIONAL,
+ &resultTypeOptional BOOLEAN OPTIONAL,
+ &Errors ERROR OPTIONAL,
+ &Linked OPERATION OPTIONAL,
+ &synchronous BOOLEAN DEFAULT FALSE,
+ &alwaysReturns BOOLEAN DEFAULT TRUE,
+ &InvokePriority Priority OPTIONAL,
+ &ResultPriority Priority OPTIONAL,
+ &operationCode Code UNIQUE OPTIONAL
+}
+WITH SYNTAX {
+ [ARGUMENT &ArgumentType
+ [OPTIONAL &argumentTypeOptional]]
+ [RESULT &ResultType
+ [OPTIONAL &resultTypeOptional]]
+ [RETURN RESULT &returnResult]
+ [ERRORS &Errors]
+ [LINKED &Linked]
+ [SYNCHRONOUS &synchronous]
+ [ALWAYS RESPONDS &alwaysReturns]
+ [INVOKE PRIORITY &InvokePriority]
+ [RESULT-PRIORITY &ResultPriority]
+ [CODE &operationCode]
+}
+
+ERROR ::= CLASS {
+ &ParameterType OPTIONAL,
+ &parameterTypeOptional BOOLEAN OPTIONAL,
+ &ErrorPriority Priority OPTIONAL,
+ &errorCode Code UNIQUE OPTIONAL
+}
+WITH SYNTAX {
+ [PARAMETER &ParameterType
+ [OPTIONAL &parameterTypeOptional]]
+ [PRIORITY &ErrorPriority]
+ [CODE &errorCode]
+}
+
+OPERATION-PACKAGE ::= CLASS {
+ &Both OPERATION OPTIONAL,
+ &Consumer OPERATION OPTIONAL,
+ &Supplier OPERATION OPTIONAL,
+ &id OBJECT IDENTIFIER UNIQUE OPTIONAL
+}
+-- continued on the next page
+WITH SYNTAX {
+ [OPERATIONS &Both]
+ [CONSUMER INVOKES &Supplier]
+ [SUPPLIER INVOKES &Consumer]
+ [ID &id]
+}
+
+CONNECTION-PACKAGE ::= CLASS {
+ &bind OPERATION DEFAULT emptyBind,
+ &unbind OPERATION DEFAULT emptyUnbind,
+ &responderCanUnbind BOOLEAN DEFAULT FALSE,
+ &unbindCanFail BOOLEAN DEFAULT FALSE,
+ &id OBJECT IDENTIFIER UNIQUE OPTIONAL
+}
+WITH SYNTAX {
+ [BIND &bind]
+ [UNBIND &unbind]
+ [RESPONDER UNBIND &responderCanUnbind]
+ [FAILURE TO UNBIND &unbindCanFail]
+ [ID &id]
+}
+
+CONTRACT ::= CLASS {
+ &connection CONNECTION-PACKAGE OPTIONAL,
+ &OperationsOf OPERATION-PACKAGE OPTIONAL,
+ &InitiatorConsumerOf OPERATION-PACKAGE OPTIONAL,
+ &InitiatorSupplierOf OPERATION-PACKAGE OPTIONAL,
+ &id OBJECT IDENTIFIER UNIQUE OPTIONAL
+}
+WITH SYNTAX {
+ [CONNECTION &connection]
+ [OPERATIONS OF &OperationsOf]
+ [INITIATOR CONSUMER OF &InitiatorConsumerOf]
+ [RESPONDER CONSUMER OF &InitiatorSupplierOf]
+ [ID &id]
+}
+
+ROS-OBJECT-CLASS ::= CLASS {
+ &Is ROS-OBJECT-CLASS OPTIONAL,
+ &Initiates CONTRACT OPTIONAL,
+ &Responds CONTRACT OPTIONAL,
+ &InitiatesAndResponds CONTRACT OPTIONAL,
+ &id OBJECT IDENTIFIER UNIQUE
+}
+WITH SYNTAX {
+ [IS &Is]
+ [BOTH &InitiatesAndResponds]
+ [INITIATES &Initiates]
+ [RESPONDS &Responds]
+ ID &id
+}
+
+Code ::= CHOICE {local INTEGER,
+ global OBJECT IDENTIFIER
+}
+
+Priority ::= INTEGER(0..MAX)
+
+END -- end of Information Object specifications
+
+-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
+
diff --git a/asn1/Remote-Operations-Realizations.asn1 b/asn1include/Remote-Operations-Realizations.asn
index 66bca14..66bca14 100644
--- a/asn1/Remote-Operations-Realizations.asn1
+++ b/asn1include/Remote-Operations-Realizations.asn
diff --git a/asn1include/Remote-Operations-Useful-Definitions.asn b/asn1include/Remote-Operations-Useful-Definitions.asn
new file mode 100644
index 0000000..e526ff4
--- /dev/null
+++ b/asn1include/Remote-Operations-Useful-Definitions.asn
@@ -0,0 +1,95 @@
+-- Module Remote-Operations-Useful-Definitions (X.880:07/1994)
+
+Remote-Operations-Useful-Definitions {joint-iso-itu-t remote-operations(4)
+ useful-definitions(7) version1(0)} DEFINITIONS IMPLICIT TAGS ::=
+BEGIN
+
+-- exports everything
+IMPORTS
+ OPERATION, ERROR, OPERATION-PACKAGE, Code
+ FROM Remote-Operations-Information-Objects {joint-iso-itu-t
+ remote-operations(4) informationObjects(5) version1(0)}
+ InvokeId, ROS{}
+ FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t
+ remote-operations(4) generic-ROS-PDUs(6) version1(0)};
+
+emptyBind OPERATION ::= {ERRORS {refuse}
+ SYNCHRONOUS TRUE
+}
+
+emptyUnbind OPERATION ::= {SYNCHRONOUS TRUE
+}
+
+refuse ERROR ::= {CODE local:-1
+}
+
+no-op OPERATION ::= {ALWAYS RESPONDS FALSE
+ CODE local:-1
+}
+
+Forward{OPERATION:OperationSet} OPERATION ::=
+ {OperationSet | OperationSet.&Linked.&Linked |
+ OperationSet.&Linked.&Linked.&Linked.&Linked}
+
+Reverse{OPERATION:OperationSet} OPERATION ::= {Forward{{OperationSet.&Linked}}}
+
+ConsumerPerforms{OPERATION-PACKAGE:package} OPERATION ::=
+ {Forward{{package.&Consumer}} | Forward{{package.&Both}} |
+ Reverse{{package.&Supplier}} | Reverse{{package.&Both}}}
+
+SupplierPerforms{OPERATION-PACKAGE:package} OPERATION ::=
+ {Forward{{package.&Supplier}} | Forward{{package.&Both}} |
+ Reverse{{package.&Consumer}} | Reverse{{package.&Both}}}
+
+AllOperations{OPERATION-PACKAGE:package} OPERATION ::=
+ {ConsumerPerforms{package} | SupplierPerforms{package}}
+
+-- continued on the next page
+recode{OPERATION:operation, Code:code} OPERATION ::= {
+ ARGUMENT operation.&ArgumentType
+ OPTIONAL operation.&argumentTypeOptional
+ RESULT operation.&ResultType
+ OPTIONAL operation.&resultTypeOptional
+ RETURN RESULT operation.&returnResult
+ ERRORS {operation.&Errors}
+ LINKED {operation.&Linked}
+ SYNCHRONOUS operation.&synchronous
+ ALWAYS RESPONDS operation.&alwaysReturns
+ INVOKE PRIORITY {operation.&InvokePriority}
+ RESULT-PRIORITY {operation.&ResultPriority}
+ CODE code
+}
+
+switch{OPERATION-PACKAGE:package, OBJECT IDENTIFIER:id} OPERATION-PACKAGE ::=
+{
+ OPERATIONS {package.&Both}
+ CONSUMER INVOKES {package.&Consumer}
+ SUPPLIER INVOKES {package.&Supplier}
+ ID id
+}
+
+combine{OPERATION-PACKAGE:ConsumerConsumes, OPERATION-PACKAGE:ConsumerSupplies,
+ OPERATION-PACKAGE:base} OPERATION-PACKAGE ::= {
+ OPERATIONS {ConsumerConsumes.&Both | ConsumerSupplies.&Both}
+ CONSUMER INVOKES {ConsumerConsumes.&Consumer | ConsumerSupplies.&Supplier}
+ SUPPLIER INVOKES {ConsumerConsumes.&Supplier | ConsumerSupplies.&Consumer}
+ ID base.&id
+}
+
+ROS-SingleAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
+ ROS{{InvokeIdSet}, {AllOperations {package}}, {AllOperations {package}}}
+
+ROS-ConsumerAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
+ ROS
+ {{InvokeIdSet}, {ConsumerPerforms {package}},
+ {SupplierPerforms {package}}}
+
+ROS-SupplierAS{InvokeId:InvokeIdSet, OPERATION-PACKAGE:package} ::=
+ ROS
+ {{InvokeIdSet}, {SupplierPerforms {package}},
+ {ConsumerPerforms {package}}}
+
+END -- end of useful definitions.
+
+-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
+
diff --git a/asn1/SelectedAttributeTypes.asn1 b/asn1include/SelectedAttributeTypes.asn
index 0e74a23..0e74a23 100644
--- a/asn1/SelectedAttributeTypes.asn1
+++ b/asn1include/SelectedAttributeTypes.asn
diff --git a/asn1/ServiceAdministration.asn1 b/asn1include/ServiceAdministration.asn
index 27b976d..27b976d 100644
--- a/asn1/ServiceAdministration.asn1
+++ b/asn1include/ServiceAdministration.asn
diff --git a/asn1/SpkmGssTokens.asn1 b/asn1include/SpkmGssTokens.asn
index 02205bd..02205bd 100644
--- a/asn1/SpkmGssTokens.asn1
+++ b/asn1include/SpkmGssTokens.asn
diff --git a/asn1/UpperBounds.asn1 b/asn1include/UpperBounds.asn
index b2e8fb3..b2e8fb3 100644
--- a/asn1/UpperBounds.asn1
+++ b/asn1include/UpperBounds.asn
diff --git a/asn1/UsefulDefinitions.asn1 b/asn1include/UsefulDefinitions.asn
index 78c50fa..78c50fa 100644
--- a/asn1/UsefulDefinitions.asn1
+++ b/asn1include/UsefulDefinitions.asn
diff --git a/rebar.config b/rebar.config
new file mode 100644
index 0000000..a3f3e9d
--- /dev/null
+++ b/rebar.config
@@ -0,0 +1 @@
+{erl_opts, [{i, "asn1include"}]}.