├── .github └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── LICENCE-APACHE ├── LICENCE-MIT ├── README.md ├── rasn-compiler-derive ├── CHANGELOG.md ├── Cargo.toml └── src │ └── lib.rs ├── rasn-compiler-tests ├── Cargo.toml ├── src │ ├── helpers │ │ └── mod.rs │ └── lib.rs └── tests │ ├── edge_cases.rs │ ├── information_objects.rs │ ├── modules │ ├── IVIM.asn1 │ ├── ietf_rfc_rfc2025_SpkmGssTokens.asn1 │ ├── ietf_rfc_rfc2251_Lightweight-Directory-Access-Protocol-V3.asn1 │ ├── ietf_rfc_rfc2459_PKIX1Explicit93.asn1 │ ├── ietf_rfc_rfc2459_PKIX1Implicit93.asn1 │ ├── ietf_rfc_rfc2630_CryptographicMessageSyntax.asn1 │ ├── ietf_rfc_rfc3280_PKIX1Explicit88.asn1 │ ├── ietf_rfc_rfc3280_PKIX1Implicit88.asn1 │ ├── ietf_rfc_rfc3281_PKIXAttributeCertificate.asn1 │ ├── ietf_rfc_rfc3852_AttributeCertificateVersion1.asn1 │ ├── ietf_rfc_rfc3852_CryptographicMessageSyntax2004.asn1 │ ├── ietf_rfc_rfc4511_Lightweight-Directory-Access-Protocol-V3.asn1 │ ├── iso_10031-2_1991_DOR-definition.asn1 │ ├── iso_10589_2002_CommonMgt.asn1 │ ├── iso_10589_2002_ISIS.asn1 │ ├── iso_19785-3_2007_CBEFF-DATA-ELEMENTS.asn1 │ ├── iso_19785-3_2007_CBEFF-SMARTCARD-BIDO.asn1 │ ├── iso_24761_2009_AuthenticationContextForBiometrics.asn1 │ ├── iso_8571-4_1988_ISO8571-FTAM.asn1 │ ├── iso_9541-2_1991_ISO-STANDARD-9541-FONT-ATTRIBUTE-SET.asn1 │ ├── iso_9541-2_1991_ISO-STANDARD-9541-FONT-RESOURCE.asn1 │ ├── iso_9541-2_1991_ISO9541-SN.asn1 │ ├── itu-t_e_e115_1995_E115DirectoryMessages.asn1 │ ├── itu-t_e_e115_2006_E115v1.asn1 │ ├── itu-t_e_e115_2006_E115v2.asn1 │ ├── itu-t_e_e115_2007_E115v1.asn1 │ ├── itu-t_e_e115_2007_E115v2.asn1 │ ├── itu-t_e_e115_2008_E115v1.asn1 │ ├── itu-t_e_e115_2008_E115v2.00.asn1 │ ├── itu-t_e_e115_2008_E115v2.01.asn1 │ ├── itu-t_e_e115_2010_E115v1.asn1 │ ├── itu-t_e_e115_2010_E115v2.00.asn1 │ ├── itu-t_e_e115_2010_E115v2.01.asn1 │ ├── itu-t_e_e115_2010_E115v2.10.asn1 │ ├── itu-t_f_f515_2003_Uds.asn1 │ ├── itu-t_f_f515_2003_Uds2.asn1 │ ├── itu-t_f_f515_2003_Xml.asn1 │ ├── itu-t_g_g774.10_2001_SDHMSSPRASN1.asn1 │ ├── itu-t_g_g774.1_2001_SDHPMASN1.asn1 │ ├── itu-t_g_g774.2_2001_SDHConfASN1.asn1 │ ├── itu-t_g_g774.3_2001_SDHProtASN1.asn1 │ ├── itu-t_g_g774.4_2001_SDHSNCPASN1.asn1 │ ├── itu-t_g_g774.5_2001_SDHCSASN1.asn1 │ ├── itu-t_g_g774.6_2001_SDHPMUNIASN1.asn1 │ ├── itu-t_g_g774.7_2001_SDHPTLASN1.asn1 │ ├── itu-t_g_g774.8_2001_SDHRadioManagement.asn1 │ ├── itu-t_g_g774.8_2001_SDHRadioProtASN1.asn1 │ ├── itu-t_g_g774.8_2001_SDHRadioTpASN1.asn1 │ ├── itu-t_g_g774.9_2001_SDHProtCoordASN1.asn1 │ ├── itu-t_g_g774_2001_SDH.asn1 │ ├── itu-t_g_g855.1_1999_G85501-ASN1TypeModule.asn1 │ ├── itu-t_h_h225-0_1998_H323-MESSAGES.asn1 │ ├── itu-t_h_h225-0_1999_ANNEXG-MESSAGES.asn1 │ ├── itu-t_h_h225-0_1999_H323-MESSAGES.asn1 │ ├── itu-t_h_h225-0_2000_H323-MESSAGES.asn1 │ ├── itu-t_h_h225-0_2003_H323-MESSAGES.asn1 │ ├── itu-t_h_h225-0_2006-amd1_H323-MESSAGES.asn1 │ ├── itu-t_h_h225-0_2006_H323-MESSAGES.asn1 │ ├── itu-t_h_h225-0_2009_H323-MESSAGES.asn1 │ ├── itu-t_h_h235.0_2005_H235-SECURITY-MESSAGES.asn1 │ ├── itu-t_h_h235.0_2014_H235-SECURITY-MESSAGES.asn1 │ ├── itu-t_h_h235.8_2005_H235-SRTP.asn1 │ ├── itu-t_h_h235_1998_H235-SECURITY-MESSAGES.asn1 │ ├── itu-t_h_h235_2000_H235-SECURITY-MESSAGES.asn1 │ ├── itu-t_h_h235_2003-amd1_H235-SECURITY-MESSAGES.asn1 │ ├── itu-t_h_h235_2003_H235-SECURITY-MESSAGES.asn1 │ ├── itu-t_h_h245_1998v03_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_1998v04_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2001_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2003v09_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2003v10_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2005v11_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2005v12_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2006v13_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2008v14_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2009v15_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h245_2011v16_MULTIMEDIA-SYSTEM-CONTROL.asn1 │ ├── itu-t_h_h248.1_2002_MEDIA-GATEWAY-CONTROL.asn1 │ ├── itu-t_h_h248.1_2005-Amd1_MEDIA-GATEWAY-CONTROL.asn1 │ ├── itu-t_h_h248.1_2005-Amd2_MEDIA-GATEWAY-CONTROL.asn1 │ ├── itu-t_h_h248.1_2005_MEDIA-GATEWAY-CONTROL.asn1 │ ├── itu-t_h_h248.1_2013_MEDIA-GATEWAY-CONTROL.asn1 │ ├── itu-t_h_h282_1999_RDC-PROTOCOL.asn1 │ ├── itu-t_h_h283_1999_LCT-PROTOCOL.asn1 │ ├── itu-t_h_h310_1998_H310-TERMINAL-MANAGEMENT.asn1 │ ├── itu-t_h_h323_2003-amd2_RAS-PROTOCOL-TUNNEL.asn1 │ ├── itu-t_h_h323_2006_RAS-PROTOCOL-TUNNEL.asn1 │ ├── itu-t_h_h323_2009_RAS-PROTOCOL-TUNNEL.asn1 │ ├── itu-t_h_h350.1_2011_H323Identity.asn1 │ ├── itu-t_h_h350.2_2011_H235Identity.asn1 │ ├── itu-t_h_h350.3_2011_H320Identity.asn1 │ ├── itu-t_h_h350.4_2011_SipIdentity.asn1 │ ├── itu-t_h_h350.5_2011_GenericIdentity.asn1 │ ├── itu-t_h_h350.6_2004_CallPreferenceURIObject.asn1 │ ├── itu-t_h_h350.6_2011_CallPreferenceURIObject.asn1 │ ├── itu-t_h_h350_2006_CommObject.asn1 │ ├── itu-t_h_h350_2006_CommURI.asn1 │ ├── itu-t_h_h350_2006_GenericIdentity.asn1 │ ├── itu-t_h_h350_2006_H235Identity.asn1 │ ├── itu-t_h_h350_2006_H320Identity.asn1 │ ├── itu-t_h_h350_2006_H323Identity.asn1 │ ├── itu-t_h_h350_2006_SipIdentity.asn1 │ ├── itu-t_h_h350_2011_CommObject.asn1 │ ├── itu-t_h_h350_2011_CommURI.asn1 │ ├── itu-t_h_h450.10_2001_Call-Offer-Operations.asn1 │ ├── itu-t_h_h450.11_2001_Call-Intrusion-Operations.asn1 │ ├── itu-t_h_h450.12_2001_Common-Information-Operations.asn1 │ ├── itu-t_h_h450.1_1998_Addressing-Data-Elements.asn1 │ ├── itu-t_h_h450.1_1998_H225-generic-parameters-definition.asn1 │ ├── itu-t_h_h450.1_1998_H4501-General-Error-List.asn1 │ ├── itu-t_h_h450.1_1998_H4501-Supplementary-ServiceAPDU-Structure.asn1 │ ├── itu-t_h_h450.1_1998_Manufacturer-specific-service-extension-definition.asn1 │ ├── itu-t_h_h450.1_1998_Remote-Operations-Apdus.asn1 │ ├── itu-t_h_h450.1_2011_Addressing-Data-Elements.asn1 │ ├── itu-t_h_h450.1_2011_H225-generic-parameters-definition.asn1 │ ├── itu-t_h_h450.1_2011_H4501-General-Error-List.asn1 │ ├── itu-t_h_h450.1_2011_H4501-Supplementary-ServiceAPDU-Structure.asn1 │ ├── itu-t_h_h450.1_2011_Manufacturer-specific-service-extension-definition.asn1 │ ├── itu-t_h_h450.1_2011_Remote-Operations-Apdus.asn1 │ ├── itu-t_h_h450.2_1998_Call-Transfer-Operations.asn1 │ ├── itu-t_h_h450.2_2011_Call-Transfer-Operations.asn1 │ ├── itu-t_h_h450.3_1998_Call-Diversion-Operations.asn1 │ ├── itu-t_h_h450.3_2011_Call-Diversion-Operations.asn1 │ ├── itu-t_h_h450.4_1999_Call-Hold-Operations.asn1 │ ├── itu-t_h_h450.4_2013_Call-Hold-Operations.asn1 │ ├── itu-t_h_h450.5_1999_Call-Park-Pickup-Operations.asn1 │ ├── itu-t_h_h450.5_2013_Call-Park-Pickup-Operations.asn1 │ ├── itu-t_h_h450.6_1999_Call-Waiting-Operations.asn1 │ ├── itu-t_h_h450.7_1999_Message-Waiting-Indication-Operations.asn1 │ ├── itu-t_h_h450.8_2000_Name-Operations.asn1 │ ├── itu-t_h_h450.8_2013_Name-Operations.asn1 │ ├── itu-t_h_h450.9_2000_Call-Completion-Operations.asn1 │ ├── itu-t_h_h460.10_2004_CALL-PARTY-CATEGORY.asn1 │ ├── itu-t_h_h460.14_2004_MLPP.asn1 │ ├── itu-t_h_h460.15_2004_SIGNALLING-CHANNEL-SUSPEND-REDIRECT.asn1 │ ├── itu-t_h_h460.18_2005_SIGNALLING-TRAVERSAL.asn1 │ ├── itu-t_h_h460.18_2013_SIGNALLING-TRAVERSAL.asn1 │ ├── itu-t_h_h460.19_2005_MEDIA-TRAVERSAL.asn1 │ ├── itu-t_h_h460.19_2013_MEDIA-TRAVERSAL.asn1 │ ├── itu-t_h_h460.21_2006_MESSAGE-BROADCAST.asn1 │ ├── itu-t_h_h460.24_2011-amd1_MEDIA-TRAVERSAL.asn1 │ ├── itu-t_h_h460.24_2011-amd2_MEDIA-TRAVERSAL.asn1 │ ├── itu-t_h_h460.26_2012_MEDIA-OVER-H2250.asn1 │ ├── itu-t_h_h460.2_2001_NUMBER-PORTABILITY.asn1 │ ├── itu-t_h_h460.2_2013_NUMBER-PORTABILITY.asn1 │ ├── itu-t_h_h460.3_2002_CIRCUIT-STATUS-MAP.asn1 │ ├── itu-t_h_h460.4_2002_CALL-PRIORITY.asn1 │ ├── itu-t_h_h460.4_2007_CALL-PRIORITY.asn1 │ ├── itu-t_h_h460.9_2002_QOS-MONITORING-EXTENDED-VOIP-REPORT.asn1 │ ├── itu-t_h_h460.9_2002_QOS-MONITORING-REPORT.asn1 │ ├── itu-t_h_h501_2002_H501-MESSAGES.asn1 │ ├── itu-t_i_i751_1996_AtmMIBMod.asn1 │ ├── itu-t_j_j1003_2014_CASS-CAM-MESSAGE-FORMAT.asn1 │ ├── itu-t_m_m3100_1995-amd1-amd7_M3100ASN1Module3.asn1 │ ├── itu-t_m_m3100_1995-amd1-amd8_M3100ASN1Module3.asn1 │ ├── itu-t_m_m3100_1995_ASN1DefinedTypesModule.asn1 │ ├── itu-t_m_m3100_1995_M3100ASN1Module3.asn1 │ ├── itu-t_m_m3100_1995_M3100ASN1TypeModule2.asn1 │ ├── itu-t_m_m3100_1995_M3100ASN1TypeModule4.asn1 │ ├── itu-t_m_m3100_1995_M3100ASN1TypeModule5.asn1 │ ├── itu-t_m_m3100_1995_M3100ASN1TypeModule6.asn1 │ ├── itu-t_m_m3100_2005_ASN1DefinedTypesModule.asn1 │ ├── itu-t_m_m3100_2005_M3100ASN1Module3.asn1 │ ├── itu-t_m_m3100_2005_M3100ASN1TypeModule2.asn1 │ ├── itu-t_m_m3100_2005_M3100ASN1TypeModule4.asn1 │ ├── itu-t_m_m3100_2005_M3100ASN1TypeModule5.asn1 │ ├── itu-t_m_m3100_2005_M3100ASN1TypeModule6.asn1 │ ├── itu-t_m_m3100_2005_M3100ASN1TypeModule7.asn1 │ ├── itu-t_m_m3108.1_1999-tc1_M3108Part1ASN1Module.asn1 │ ├── itu-t_m_m3108.2_2000_M3108Part2ASN1Module.asn1 │ ├── itu-t_m_m3108.3_2001_M3108PartVPNASN1Module.asn1 │ ├── itu-t_m_m3611_1997_M3611-ASN1Module.asn1 │ ├── itu-t_m_m3640_1992_ASN1TypeModule.asn1 │ ├── itu-t_m_m3641_1994_ASN1TypeModule.asn1 │ ├── itu-t_m_m3650_1997_ASN1TypeModule.asn1 │ ├── itu-t_q_q1218_1995_IN-CS-1-Codes-appendix.asn1 │ ├── itu-t_q_q1218_1995_IN-CS-1-Codes.asn1 │ ├── itu-t_q_q1218_1995_IN-CS-1-DataTypes-appendix.asn1 │ ├── itu-t_q_q1218_1995_IN-CS-1-Datatypes.asn1 │ ├── itu-t_q_q1218_1995_IN-CS-1-Errors-appendix.asn1 │ ├── itu-t_q_q1218_1995_IN-CS-1-Errors.asn1 │ ├── itu-t_q_q1218_1995_IN-CS-1-Operations-appendix.asn1 │ ├── itu-t_q_q1218_1995_IN-CS-1-Operations.asn1 │ ├── itu-t_q_q1218_1995_IN-Contexts.asn1 │ ├── itu-t_q_q1218_1995_INDirectoryAccessProtocol.asn1 │ ├── itu-t_q_q1218_1995_SDFProtocolObjectIdentifiers.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SCF-CUSF-ops-args.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SCF-CUSF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SCF-SCF-ops-args.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SCF-SCF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SCF-SDF-Operations.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SCF-SDF-Protocol.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SCF-SRF-ops-args.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SCF-SRF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SDF-BasicAccessControl.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SDF-InformationFramework.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SDF-SDF-Protocol.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SSF-SCF-ops-args.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-SSF-SCF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-classes.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-datatypes.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-errorcodes.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-errortypes.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-object-identifiers.asn1 │ ├── itu-t_q_q1228_1997_IN-CS2-operationcodes.asn1 │ ├── itu-t_q_q1238.1_2000_IN-CS3-common-classes.asn1 │ ├── itu-t_q_q1238.1_2000_IN-CS3-common-datatypes.asn1 │ ├── itu-t_q_q1238.1_2000_IN-CS3-errorcodes.asn1 │ ├── itu-t_q_q1238.1_2000_IN-CS3-errortypes.asn1 │ ├── itu-t_q_q1238.1_2000_IN-CS3-object-identifiers.asn1 │ ├── itu-t_q_q1238.1_2000_IN-CS3-operationcodes.asn1 │ ├── itu-t_q_q1238.2_2000_IN-CS3-SSF-SCF-Classes.asn1 │ ├── itu-t_q_q1238.2_2000_IN-CS3-SSF-SCF-datatypes.asn1 │ ├── itu-t_q_q1238.2_2000_IN-CS3-SSF-SCF-ops-args.asn1 │ ├── itu-t_q_q1238.2_2000_IN-CS3-SSF-SCF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1238.3_2000_IN-CS3-SCF-SRF-classes.asn1 │ ├── itu-t_q_q1238.3_2000_IN-CS3-SCF-SRF-datatypes.asn1 │ ├── itu-t_q_q1238.3_2000_IN-CS3-SCF-SRF-ops-args.asn1 │ ├── itu-t_q_q1238.3_2000_IN-CS3-SCF-SRF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1238.4_2000_IN-CS3-SCF-SDF-Additional-Definitions.asn1 │ ├── itu-t_q_q1238.4_2000_IN-CS3-SCF-SDF-Classes.asn1 │ ├── itu-t_q_q1238.4_2000_IN-CS3-SCF-SDF-Operations.asn1 │ ├── itu-t_q_q1238.4_2000_IN-CS3-SCF-SDF-Protocol.asn1 │ ├── itu-t_q_q1238.4_2000_IN-CS3-SCF-SDF-datatypes.asn1 │ ├── itu-t_q_q1238.5_2000_IN-CS3-SDF-SDF-Operations.asn1 │ ├── itu-t_q_q1238.5_2000_IN-CS3-SDF-SDF-Protocol.asn1 │ ├── itu-t_q_q1238.6_2000_IN-CS3-SCF-SCF-Classes.asn1 │ ├── itu-t_q_q1238.6_2000_IN-CS3-SCF-SCF-datatypes.asn1 │ ├── itu-t_q_q1238.6_2000_IN-CS3-SCF-SCF-ops-args.asn1 │ ├── itu-t_q_q1238.6_2000_IN-CS3-SCF-SCF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1238.7_2000_IN-CS3-SCF-CUSF-Classes.asn1 │ ├── itu-t_q_q1238.7_2000_IN-CS3-SCF-CUSF-Datatypes.asn1 │ ├── itu-t_q_q1238.7_2000_IN-CS3-SCF-CUSF-Operations.asn1 │ ├── itu-t_q_q1238.7_2000_IN-CS3-SCF-CUSF-Protocol.asn1 │ ├── itu-t_q_q1248.1_2001_IN-common-classes.asn1 │ ├── itu-t_q_q1248.1_2001_IN-common-datatypes.asn1 │ ├── itu-t_q_q1248.1_2001_IN-errorcodes.asn1 │ ├── itu-t_q_q1248.1_2001_IN-errortypes.asn1 │ ├── itu-t_q_q1248.1_2001_IN-object-identifiers.asn1 │ ├── itu-t_q_q1248.1_2001_IN-operationcodes.asn1 │ ├── itu-t_q_q1248.2_2001_IN-SSF-SCF-Classes.asn1 │ ├── itu-t_q_q1248.2_2001_IN-SSF-SCF-datatypes.asn1 │ ├── itu-t_q_q1248.2_2001_IN-SSF-SCF-ops-args.asn1 │ ├── itu-t_q_q1248.2_2001_IN-SSF-SCF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1248.3_2001_IN-SCF-SRF-Classes.asn1 │ ├── itu-t_q_q1248.3_2001_IN-SCF-SRF-datatypes.asn1 │ ├── itu-t_q_q1248.3_2001_IN-SCF-SRF-ops-args.asn1 │ ├── itu-t_q_q1248.3_2001_IN-SCF-SRF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1248.4_2001_IN-SCF-SDF-Additional-Definitions.asn1 │ ├── itu-t_q_q1248.4_2001_IN-SCF-SDF-Classes.asn1 │ ├── itu-t_q_q1248.4_2001_IN-SCF-SDF-Protocol.asn1 │ ├── itu-t_q_q1248.4_2001_IN-SCF-SDF-datatypes.asn1 │ ├── itu-t_q_q1248.4_2001_IN-SCF-SDF-operations.asn1 │ ├── itu-t_q_q1248.5_2001_IN-SDF-SDF-Operations.asn1 │ ├── itu-t_q_q1248.5_2001_IN-SDF-SDF-Protocol.asn1 │ ├── itu-t_q_q1248.6_2001_IN-SCF-SCF-Classes.asn1 │ ├── itu-t_q_q1248.6_2001_IN-SCF-SCF-datatypes.asn1 │ ├── itu-t_q_q1248.6_2001_IN-SCF-SCF-ops-args.asn1 │ ├── itu-t_q_q1248.6_2001_IN-SCF-SCF-pkgs-contracts-acs.asn1 │ ├── itu-t_q_q1248.7_2001_IN-SCF-CUSF-Classes.asn1 │ ├── itu-t_q_q1248.7_2001_IN-SCF-CUSF-Datatypes.asn1 │ ├── itu-t_q_q1248.7_2001_IN-SCF-CUSF-Operations.asn1 │ ├── itu-t_q_q1248.7_2001_IN-SCF-CUSF-Protocol.asn1 │ ├── itu-t_q_q1551_1997_UPT-DataModel.asn1 │ ├── itu-t_q_q1902.3_2001_ComponentOfISUPRemoteOperations.asn1 │ ├── itu-t_q_q2724.1_1996_LookAheadParameters.asn1 │ ├── itu-t_q_q2724.1_1996_LookAheadProtocol.asn1 │ ├── itu-t_q_q2751.1_1997_Q2751DefinedTypesModule.asn1 │ ├── itu-t_q_q2763_1995-Amd1_B-ISUPInformationElementHeaders.asn1 │ ├── itu-t_q_q2763_1995-Amd1_B-ISUPMessages.asn1 │ ├── itu-t_q_q2763_1995-Amd1_B-ISUPParameterConstructions.asn1 │ ├── itu-t_q_q2763_1995-Amd1_B-ISUPParameterElements.asn1 │ ├── itu-t_q_q2763_1995-Amd1_B-ISUPParameterIndicators.asn1 │ ├── itu-t_q_q2763_1995-Amd1_B-ISUPParameters.asn1 │ ├── itu-t_q_q2932.1_1996_Embedded-DSS2Types.asn1 │ ├── itu-t_q_q2932.1_1996_Revised-Facility-Information-Element-Components.asn1 │ ├── itu-t_q_q2964.1_1996_Look-Ahead-Procedure.asn1 │ ├── itu-t_q_q2981_1999_CC-operations.asn1 │ ├── itu-t_q_q2981_1999_Call-Control-Object-Super-Class.asn1 │ ├── itu-t_q_q2981_1999_Call-Object-Class-Definitions.asn1 │ ├── itu-t_q_q2984_1999_Prenegotiation-Operations-and-Errors.asn1 │ ├── itu-t_q_q733.3_1997_CCBS-Protocol.asn1 │ ├── itu-t_q_q733.5_1999_CCNR-Protocol.asn1 │ ├── itu-t_q_q736.1_1995_ITCCOperations.asn1 │ ├── itu-t_q_q736.3_1995_Q736-Reverse-Charging.asn1 │ ├── itu-t_q_q751.1_1995_MTPDefinedTypesModule.asn1 │ ├── itu-t_q_q751.2_1997_SCCPDefinedTypesModule.asn1 │ ├── itu-t_q_q751.3_1997_AccountingDefinedTypesModule.asn1 │ ├── itu-t_q_q751.3_1997_MtpAccountingDefinedTypesModule.asn1 │ ├── itu-t_q_q751.4_1998_SccpAccountingDefinedTypesModule.asn1 │ ├── itu-t_q_q753_1997_MP.asn1 │ ├── itu-t_q_q754_1997_OMASE.asn1 │ ├── itu-t_q_q755.2_1997_TC-TMP.asn1 │ ├── itu-t_q_q755.2_1997_TC-Testing-User.asn1 │ ├── itu-t_q_q765.1_1998_COPSS1-Protocol.asn1 │ ├── itu-t_q_q765.4_2000_COGAT-Protocol.asn1 │ ├── itu-t_q_q773_1997_DialoguePDUs.asn1 │ ├── itu-t_q_q773_1997_TCAPMessages.asn1 │ ├── itu-t_q_q773_1997_UnidialoguePDUs.asn1 │ ├── itu-t_q_q775_1997_TC-Notation-Extensions.asn1 │ ├── itu-t_q_q775_1997_TCAP-Examples.asn1 │ ├── itu-t_q_q775_1997_TCAP-Tools.asn1 │ ├── itu-t_q_q813_1998_STASE-A-ASSOCIATE-Information.asn1 │ ├── itu-t_q_q813_1998_STASE-ROSE-Authentication-value.asn1 │ ├── itu-t_q_q813_1998_Secure-Remote-Operations-APDUs.asn1 │ ├── itu-t_q_q814_2000_InteractiveAgent.asn1 │ ├── itu-t_q_q815_2000_SecurityModule.asn1 │ ├── itu-t_q_q821_2000_Q821-ASN1Module.asn1 │ ├── itu-t_q_q822_1994_Q822-PM-ASN1Module.asn1 │ ├── itu-t_q_q823_1996_Q823-TM-ASN1Module.asn1 │ ├── itu-t_q_q824.0_1995_CACommonModule.asn1 │ ├── itu-t_q_q824.1_1995_CAISDNModule.asn1 │ ├── itu-t_q_q824.2_1995_CAISDNSSModule.asn1 │ ├── itu-t_q_q824.3_1995_CAISDNOUFModule.asn1 │ ├── itu-t_q_q824.4_1995_CAISDNTSModule.asn1 │ ├── itu-t_q_q824.5_1997-TC1_ASN1CMANTypeModule.asn1 │ ├── itu-t_q_q824.5_1997-TC1_ASN1CMLETypeModule.asn1 │ ├── itu-t_q_q824.6_1998_Q824-6ASN1DefinedTypesModule.asn1 │ ├── itu-t_q_q824.7_2000_Q824-7Asn1Module.asn1 │ ├── itu-t_q_q825_1998_ASN1DefinedTypesModuleNew.asn1 │ ├── itu-t_q_q825_1998_Q825-CDR-ASN1Module.asn1 │ ├── itu-t_q_q826_2000_ASN1TypeModule.asn1 │ ├── itu-t_q_q831_1997-tc1_ASN1FPLETypeModule.asn1 │ ├── itu-t_q_q832.1_1998-TC1_Q832-1ASN1DefinedTypesModule.asn1 │ ├── itu-t_q_q832.2_1999_Q832-2ASN1Module.asn1 │ ├── itu-t_q_q832.3_2001_Q832-3ASN1DefinedTypesModule.asn1 │ ├── itu-t_q_q833.1_2001_AdslfMIBMod.asn1 │ ├── itu-t_q_q835_1999-TC1_ASN1LLCTTypeModule.asn1 │ ├── itu-t_q_q860_2000_GAT-PDU.asn1 │ ├── itu-t_q_q932_1998-Amd1_Addressing-Data-Elements.asn1 │ ├── itu-t_q_q932_1998-Amd1_Embedded-Q931-Types.asn1 │ ├── itu-t_q_q932_1998-Amd1_Explicit-Network-Controlled-Channel-Reservation.asn1 │ ├── itu-t_q_q932_1998-Amd1_Facility-Information-Element-Components.asn1 │ ├── itu-t_q_q932_1998-Amd1_Flow-Control.asn1 │ ├── itu-t_q_q932_1998-Amd1_Interpretation-component.asn1 │ ├── itu-t_q_q932_1998-Amd1_Network-Facility-Extension.asn1 │ ├── itu-t_q_q932_1998-Amd1_Network-Protocol-Profile-component.asn1 │ ├── itu-t_q_q932_1998-Amd1_Notification-Indicator-IE-Data-Structure.asn1 │ ├── itu-t_q_q950_2000_General-Error-List.asn1 │ ├── itu-t_q_q951.7_1997_McidOperations.asn1 │ ├── itu-t_q_q952.7_1997_Explicit-Call-Transfer-Operations-and-Errors.asn1 │ ├── itu-t_q_q953.3_1997_CCBS-Operation-and-Errors.asn1 │ ├── itu-t_q_q953.3_1997_CCBS-private-networks-operations-and-errors.asn1 │ ├── itu-t_q_q954.1_1993_Conference-Add-On-Operations.asn1 │ ├── itu-t_q_q954.1_1993_Conference-Add-on-Notifications.asn1 │ ├── itu-t_q_q954.2_1995_Three-Party-Operations.asn1 │ ├── itu-t_q_q956.2_1995_Advice-of-Charge-Operations.asn1 │ ├── itu-t_q_q956.3_1995_Reverse-Charging-Service-Operations-and-Errors.asn1 │ ├── itu-t_q_q956.3_1995_Reverse-Charging-Service-Private-Networks-Operation.asn1 │ ├── itu-t_q_q957.1_1996_User-to-user-Signalling.asn1 │ ├── itu-t_t_t101_1994_Terminal-to-Host-interworking-commands.asn1 │ ├── itu-t_t_t101_1994_Videotex-Coding-Attributes.asn1 │ ├── itu-t_t_t123_1999_CNP-PROTOCOL.asn1 │ ├── itu-t_t_t124_1998_GCC-PROTOCOL.asn1 │ ├── itu-t_t_t124_2007_GCC-PROTOCOL.asn1 │ ├── itu-t_t_t125_1998_MAP-PROTOCOL.asn1 │ ├── itu-t_t_t125_1998_MCS-PROTOCOL-3.asn1 │ ├── itu-t_t_t125_1998_MCS-PROTOCOL.asn1 │ ├── itu-t_t_t126_1997_SI-PROTOCOL.asn1 │ ├── itu-t_t_t126_2007_SI-PROTOCOL.asn1 │ ├── itu-t_t_t127_1995_MBFT-PROTOCOL.asn1 │ ├── itu-t_t_t127_2007_MBFT-PROTOCOL.asn1 │ ├── itu-t_t_t128_2008_AS-PROTOCOL-for-PER-encoding.asn1 │ ├── itu-t_t_t128_2008_AS-PROTOCOL-for-legacy-mode.asn1 │ ├── itu-t_t_t134_1998_CHAT-PROTOCOL.asn1 │ ├── itu-t_t_t135_2007_URST-PROTOCOL.asn1 │ ├── itu-t_t_t172_1998_ISO13522-MHEG-5.asn1 │ ├── itu-t_t_t173_1997_ISOMHEG-sir.asn1 │ ├── itu-t_t_t192_1998_Initial-Information.asn1 │ ├── itu-t_t_t38_1998_T38.asn1 │ ├── itu-t_t_t38_2002-Amd1_T38.asn1 │ ├── itu-t_t_t38_2002_T38.asn1 │ ├── itu-t_t_t38_2004_T38(1998).asn1 │ ├── itu-t_t_t38_2004_T38(2002).asn1 │ ├── itu-t_t_t38_2005_T38(1998).asn1 │ ├── itu-t_t_t38_2005_T38(2002).asn1 │ ├── itu-t_t_t38_2007_T38(1998).asn1 │ ├── itu-t_t_t38_2007_T38(2002).asn1 │ ├── itu-t_t_t38_2010_T38(1998).asn1 │ ├── itu-t_t_t38_2010_T38(2002).asn1 │ ├── itu-t_t_t38_2015_T38(1998).asn1 │ ├── itu-t_t_t38_2015_T38(2002).asn1 │ ├── itu-t_t_t411_1993_IPMSExtendedBodyPartTypeOda.asn1 │ ├── itu-t_t_t413_1994_Abstract-Operations.asn1 │ ├── itu-t_t_t415_1993_Colour-Attributes.asn1 │ ├── itu-t_t_t415_1993_Default-Value-Lists.asn1 │ ├── itu-t_t_t415_1993_Document-Profile-Descriptor.asn1 │ ├── itu-t_t_t415_1993_Identifiers-and-Expressions.asn1 │ ├── itu-t_t_t415_1993_Interchange-Data-Elements.asn1 │ ├── itu-t_t_t415_1993_Layout-Descriptors.asn1 │ ├── itu-t_t_t415_1993_Logical-Descriptors.asn1 │ ├── itu-t_t_t415_1993_Protected-Part-Descriptors.asn1 │ ├── itu-t_t_t415_1993_Style-Descriptors.asn1 │ ├── itu-t_t_t415_1993_Text-Units.asn1 │ ├── itu-t_t_t416_1993_Character-Coding-Attributes.asn1 │ ├── itu-t_t_t416_1993_Character-Presentation-Attributes.asn1 │ ├── itu-t_t_t416_1993_Character-Profile-Attributes.asn1 │ ├── itu-t_t_t417_1993_Raster-Gr-Coding-Attributes.asn1 │ ├── itu-t_t_t417_1993_Raster-Gr-Presentation-Attributes.asn1 │ ├── itu-t_t_t417_1993_Raster-Gr-Profile-Attributes.asn1 │ ├── itu-t_t_t418_1993_Geo-Gr-Coding-Attributes.asn1 │ ├── itu-t_t_t418_1993_Geo-Gr-Presentation-Attributes.asn1 │ ├── itu-t_t_t418_1993_Geo-Gr-Profile-Attributes.asn1 │ ├── itu-t_t_t419_1995_Audio-Coding-Attributes.asn1 │ ├── itu-t_t_t419_1995_Audio-Document-Profile-Attributes.asn1 │ ├── itu-t_t_t419_1995_Audio-Presentation-Attributes.asn1 │ ├── itu-t_t_t419_1995_Audio-Profile-Attributes.asn1 │ ├── itu-t_t_t422_1995_External-References.asn1 │ ├── itu-t_t_t422_1995_Location-Expressions.asn1 │ ├── itu-t_t_t422_1995_Subprofiles.asn1 │ ├── itu-t_t_t424_1996_Document-Set-Descriptor.asn1 │ ├── itu-t_t_t424_1996_Document-Set-Profile-Descriptor.asn1 │ ├── itu-t_t_t424_1996_Link-Descriptors.asn1 │ ├── itu-t_t_t424_1996_Temporal-Relationships.asn1 │ ├── itu-t_t_t434_1999_BFT-FORMAT.asn1 │ ├── itu-t_t_t502_1994_FOD-DAPSpecification.asn1 │ ├── itu-t_t_t505_1994_FOD-DAPSpecification.asn1 │ ├── itu-t_t_t506_1993_FOD-DAPSpecification.asn1 │ ├── itu-t_v_V59_2000_V59.asn1 │ ├── itu-t_v_v140_1998_HDISPATCH.asn1 │ ├── itu-t_v_v140_2005_HDISPATCH.asn1 │ ├── itu-t_v_v150.1_2003_V150MOIP-CAPABILITY.asn1 │ ├── itu-t_v_v151_2006-Amd1_V151SPRT-CAPABILITY.asn1 │ ├── itu-t_x_x1080.0_2017-Cor1_CmsTelebiometric.asn1 │ ├── itu-t_x_x1080.0_2017-Cor1_Pbact-access.asn1 │ ├── itu-t_x_x1080.0_2017_CmsTelebiometric.asn1 │ ├── itu-t_x_x1080.0_2017_Pbact-access.asn1 │ ├── itu-t_x_x1080.1_2011_COMMAND-RESPONSE-EXAMPLE.asn1 │ ├── itu-t_x_x1080.1_2011_E-health-Data-Message.asn1 │ ├── itu-t_x_x1080.1_2011_E-health-command-response.asn1 │ ├── itu-t_x_x1080.1_2011_E-health-identification.asn1 │ ├── itu-t_x_x1080.1_2011_E-health-quantities-and-units.asn1 │ ├── itu-t_x_x1080.1_2011_E-health-send-and-ack.asn1 │ ├── itu-t_x_x1080.1_2011_E-health-setup.asn1 │ ├── itu-t_x_x1080.1_2018_E-health-common.asn1 │ ├── itu-t_x_x1080.1_2018_E-health-identification.asn1 │ ├── itu-t_x_x1080.1_2018_Telebiometrics.asn1 │ ├── itu-t_x_x1081_2004-amd1_Telebiometrics.asn1 │ ├── itu-t_x_x1081_2011_Telebiometrics.asn1 │ ├── itu-t_x_x1082_2007-Amd1_Human-Physiology.asn1 │ ├── itu-t_x_x1083_2007_BIP-DISCOVERY.asn1 │ ├── itu-t_x_x1083_2007_BIP-TCPIP.asn1 │ ├── itu-t_x_x1083_2007_BIP.asn1 │ ├── itu-t_x_x1084_2008_TSM-extended.asn1 │ ├── itu-t_x_x1084_2008_TSM.asn1 │ ├── itu-t_x_x1085_2016_XBHSM.asn1 │ ├── itu-t_x_x1089_2008_TAI.asn1 │ ├── itu-t_x_x1125_2008_X0-0-22-crs.asn1 │ ├── itu-t_x_x1243_2010_SCPP-MESSAGES.asn1 │ ├── itu-t_x_x1303_2007_CAP-1-1.asn1 │ ├── itu-t_x_x1303bis_2014_CAP-1-2.asn1 │ ├── itu-t_x_x1341_2015_CMAIL.asn1 │ ├── itu-t_x_x162_2000_CnmAsn1Module.asn1 │ ├── itu-t_x_x226_1994-Amd1-Amd2_ISO8823-PRESENTATION.asn1 │ ├── itu-t_x_x227_1995_ACSE-1.asn1 │ ├── itu-t_x_x227bis_1998_ACSE-1.asn1 │ ├── itu-t_x_x228_1988_Reliable-Transfer-APDU.asn1 │ ├── itu-t_x_x237_1995_Connectionless-ACSE-1.asn1 │ ├── itu-t_x_x237bis_1998_Connectionless-ACSE-1.asn1 │ ├── itu-t_x_x281_1999_PHLM.asn1 │ ├── itu-t_x_x282_1999_AttributeModule.asn1 │ ├── itu-t_x_x282_1999_DLM.asn1 │ ├── itu-t_x_x283_1997_NLM.asn1 │ ├── itu-t_x_x284_1997_TLM.asn1 │ ├── itu-t_x_x287_1999_UL-AttributeModule.asn1 │ ├── itu-t_x_x402_1999_MHSDirectoryObjectsAndAttributes.asn1 │ ├── itu-t_x_x402_1999_MHSObjectIdentifiers.asn1 │ ├── itu-t_x_x411_1999_MTAAbstractService.asn1 │ ├── itu-t_x_x411_1999_MTSAbstractService.asn1 │ ├── itu-t_x_x411_1999_MTSAbstractService88.asn1 │ ├── itu-t_x_x411_1999_MTSObjectIdentifiers.asn1 │ ├── itu-t_x_x411_1999_MTSUpperBounds.asn1 │ ├── itu-t_x_x412_1999_MHSRoutingDirectoryObjects.asn1 │ ├── itu-t_x_x412_1999_MHSRoutingORAddressSubtree.asn1 │ ├── itu-t_x_x412_1999_MHSRoutingObjectIdentifiers.asn1 │ ├── itu-t_x_x413_1999_MSAbstractService.asn1 │ ├── itu-t_x_x413_1999_MSGeneralAttributeTypes.asn1 │ ├── itu-t_x_x413_1999_MSGeneralAutoActionTypes.asn1 │ ├── itu-t_x_x413_1999_MSMatchingRules.asn1 │ ├── itu-t_x_x413_1999_MSObjectIdentifiers.asn1 │ ├── itu-t_x_x413_1999_MSUpperBounds.asn1 │ ├── itu-t_x_x419_1999_MHSProtocolObjectIdentifiers.asn1 │ ├── itu-t_x_x419_1999_MSAccessProtocol.asn1 │ ├── itu-t_x_x419_1999_MTSAccessProtocol.asn1 │ ├── itu-t_x_x419_1999_MTSTransferProtocol.asn1 │ ├── itu-t_x_x420_1999_IPMSAbstractService.asn1 │ ├── itu-t_x_x420_1999_IPMSAutoActionTypes.asn1 │ ├── itu-t_x_x420_1999_IPMSExtendedBodyPartTypes.asn1 │ ├── itu-t_x_x420_1999_IPMSExtendedBodyPartTypes2.asn1 │ ├── itu-t_x_x420_1999_IPMSExtendedVoiceBodyPartType.asn1 │ ├── itu-t_x_x420_1999_IPMSFileTransferBodyPartType.asn1 │ ├── itu-t_x_x420_1999_IPMSForwardedContentBodyPartType.asn1 │ ├── itu-t_x_x420_1999_IPMSForwardedReportBodyPartType.asn1 │ ├── itu-t_x_x420_1999_IPMSFunctionalObjects.asn1 │ ├── itu-t_x_x420_1999_IPMSHeadingExtensions.asn1 │ ├── itu-t_x_x420_1999_IPMSInformationObjects.asn1 │ ├── itu-t_x_x420_1999_IPMSMessageStoreAttributes.asn1 │ ├── itu-t_x_x420_1999_IPMSObjectIdentifiers.asn1 │ ├── itu-t_x_x420_1999_IPMSObjectIdentifiers2.asn1 │ ├── itu-t_x_x420_1999_IPMSSecurityExtensions.asn1 │ ├── itu-t_x_x420_1999_IPMSUpperBounds.asn1 │ ├── itu-t_x_x420_1999_PKCS7.asn1 │ ├── itu-t_x_x420_1999_PKCS7BodyPartType.asn1 │ ├── itu-t_x_x435_1999_EDIMSAbstractService.asn1 │ ├── itu-t_x_x435_1999_EDIMSAutoActionTypes.asn1 │ ├── itu-t_x_x435_1999_EDIMSFunctionalObjects.asn1 │ ├── itu-t_x_x435_1999_EDIMSInformationObjects.asn1 │ ├── itu-t_x_x435_1999_EDIMSMessageStoreAttributes.asn1 │ ├── itu-t_x_x435_1999_EDIMSObjectIdentifiers.asn1 │ ├── itu-t_x_x435_1999_EDIMSUpperBounds.asn1 │ ├── itu-t_x_x435_1999_EDIMUseOfDirectory.asn1 │ ├── itu-t_x_x462_1996_MhsAcctAsn1Module.asn1 │ ├── itu-t_x_x462_1996_MhsAcctObjectIdentifiers.asn1 │ ├── itu-t_x_x467_1996_MhsMTAAsn1Module.asn1 │ ├── itu-t_x_x467_1996_MhsMTAObjectIdentifiers.asn1 │ ├── itu-t_x_x501_1997-TC1_BasicAccessControl.asn1 │ ├── itu-t_x_x501_1997-TC1_DSAOperationalAttributeTypes.asn1 │ ├── itu-t_x_x501_1997-TC1_EnhancedSecurity.asn1 │ ├── itu-t_x_x501_1997-TC1_InformationFramework.asn1 │ ├── itu-t_x_x501_1997-TC1_OperationalBindingManagement.asn1 │ ├── itu-t_x_x501_1997-TC1_SchemaAdministration.asn1 │ ├── itu-t_x_x501_1997-TC1_UsefulDefinitions.asn1 │ ├── itu-t_x_x501_1997-TC2_BasicAccessControl.asn1 │ ├── itu-t_x_x501_1997-TC2_DSAOperationalAttributeTypes.asn1 │ ├── itu-t_x_x501_1997-TC2_EnhancedSecurity.asn1 │ ├── itu-t_x_x501_1997-TC2_InformationFramework.asn1 │ ├── itu-t_x_x501_1997-TC2_OperationalBindingManagement.asn1 │ ├── itu-t_x_x501_1997-TC2_SchemaAdministration.asn1 │ ├── itu-t_x_x501_1997-TC2_UsefulDefinitions.asn1 │ ├── itu-t_x_x501_2001_BasicAccessControl.asn1 │ ├── itu-t_x_x501_2001_DSAOperationalAttributeTypes.asn1 │ ├── itu-t_x_x501_2001_EnhancedSecurity.asn1 │ ├── itu-t_x_x501_2001_InformationFramework.asn1 │ ├── itu-t_x_x501_2001_OperationalBindingManagement.asn1 │ ├── itu-t_x_x501_2001_SchemaAdministration.asn1 │ ├── itu-t_x_x501_2001_ServiceAdministration.asn1 │ ├── itu-t_x_x501_2001_UsefulDefinitions.asn1 │ ├── itu-t_x_x501_2005_BasicAccessControl.asn1 │ ├── itu-t_x_x501_2005_DSAOperationalAttributeTypes.asn1 │ ├── itu-t_x_x501_2005_EnhancedSecurity.asn1 │ ├── itu-t_x_x501_2005_InformationFramework.asn1 │ ├── itu-t_x_x501_2005_OperationalBindingManagement.asn1 │ ├── itu-t_x_x501_2005_SchemaAdministration.asn1 │ ├── itu-t_x_x501_2005_ServiceAdministration.asn1 │ ├── itu-t_x_x501_2005_UsefulDefinitions.asn1 │ ├── itu-t_x_x501_2008_BasicAccessControl.asn1 │ ├── itu-t_x_x501_2008_DSAOperationalAttributeTypes.asn1 │ ├── itu-t_x_x501_2008_EnhancedSecurity.asn1 │ ├── itu-t_x_x501_2008_InformationFramework.asn1 │ ├── itu-t_x_x501_2008_OperationalBindingManagement.asn1 │ ├── itu-t_x_x501_2008_SchemaAdministration.asn1 │ ├── itu-t_x_x501_2008_ServiceAdministration.asn1 │ ├── itu-t_x_x501_2008_UsefulDefinitions.asn1 │ ├── itu-t_x_x501_2012_BasicAccessControl.asn1 │ ├── itu-t_x_x501_2012_DSAOperationalAttributeTypes.asn1 │ ├── itu-t_x_x501_2012_EnhancedSecurity.asn1 │ ├── itu-t_x_x501_2012_InformationFramework.asn1 │ ├── itu-t_x_x501_2012_LdapSystemSchema.asn1 │ ├── itu-t_x_x501_2012_OperationalBindingManagement.asn1 │ ├── itu-t_x_x501_2012_SchemaAdministration.asn1 │ ├── itu-t_x_x501_2012_ServiceAdministration.asn1 │ ├── itu-t_x_x501_2012_UsefulDefinitions.asn1 │ ├── itu-t_x_x501_2016_BasicAccessControl.asn1 │ ├── itu-t_x_x501_2016_DSAOperationalAttributeTypes.asn1 │ ├── itu-t_x_x501_2016_EnhancedSecurity.asn1 │ ├── itu-t_x_x501_2016_InformationFramework.asn1 │ ├── itu-t_x_x501_2016_LdapSystemSchema.asn1 │ ├── itu-t_x_x501_2016_OperationalBindingManagement.asn1 │ ├── itu-t_x_x501_2016_SchemaAdministration.asn1 │ ├── itu-t_x_x501_2016_ServiceAdministration.asn1 │ ├── itu-t_x_x501_2016_UsefulDefinitions.asn1 │ ├── itu-t_x_x501_2019_BasicAccessControl.asn1 │ ├── itu-t_x_x501_2019_DSAOperationalAttributeTypes.asn1 │ ├── itu-t_x_x501_2019_EnhancedSecurity.asn1 │ ├── itu-t_x_x501_2019_InformationFramework.asn1 │ ├── itu-t_x_x501_2019_LdapSystemSchema.asn1 │ ├── itu-t_x_x501_2019_SchemaAdministration.asn1 │ ├── itu-t_x_x501_2019_ServiceAdministration.asn1 │ ├── itu-t_x_x501_2019_UsefulDefinitions.asn1 │ ├── itu-t_x_x509_1997_AlgorithmObjectIdentifiers.asn1 │ ├── itu-t_x_x509_1997_AuthenticationFramework.asn1 │ ├── itu-t_x_x509_1997_CertificateExtensions.asn1 │ ├── itu-t_x_x509_2000_AlgorithmObjectIdentifiers.asn1 │ ├── itu-t_x_x509_2000_AttributeCertificateDefinitions.asn1 │ ├── itu-t_x_x509_2000_AuthenticationFramework.asn1 │ ├── itu-t_x_x509_2000_CertificateExtensions.asn1 │ ├── itu-t_x_x509_2005_AlgorithmObjectIdentifiers.asn1 │ ├── itu-t_x_x509_2005_AttributeCertificateDefinitions.asn1 │ ├── itu-t_x_x509_2005_AuthenticationFramework.asn1 │ ├── itu-t_x_x509_2005_CertificateExtensions.asn1 │ ├── itu-t_x_x509_2008_AlgorithmObjectIdentifiers.asn1 │ ├── itu-t_x_x509_2008_AttributeCertificateDefinitions.asn1 │ ├── itu-t_x_x509_2008_AuthenticationFramework.asn1 │ ├── itu-t_x_x509_2008_CertificateExtensions.asn1 │ ├── itu-t_x_x509_2008_MTSAbstractService.asn1 │ ├── itu-t_x_x509_2008_PKIX1Implicit93.asn1 │ ├── itu-t_x_x509_2012_AlgorithmObjectIdentifiers.asn1 │ ├── itu-t_x_x509_2012_AttributeCertificateDefinitions.asn1 │ ├── itu-t_x_x509_2012_AuthenticationFramework.asn1 │ ├── itu-t_x_x509_2012_CertificateExtensions.asn1 │ ├── itu-t_x_x509_2012_MTSAbstractService.asn1 │ ├── itu-t_x_x509_2012_PKIX1Implicit93.asn1 │ ├── itu-t_x_x509_2016_AlgorithmObjectIdentifiers.asn1 │ ├── itu-t_x_x509_2016_AttributeCertificateDefinitions.asn1 │ ├── itu-t_x_x509_2016_AuthenticationFramework.asn1 │ ├── itu-t_x_x509_2016_CertificateExtensions.asn1 │ ├── itu-t_x_x509_2016_ExtensionAttributes.asn1 │ ├── itu-t_x_x509_2016_PkiPMIProtocolSpecifications.asn1 │ ├── itu-t_x_x509_2016_PkiPmiExternalDataTypes.asn1 │ ├── itu-t_x_x509_2016_PkiPmiWrapper.asn1 │ ├── itu-t_x_x509_2019_AlgorithmObjectIdentifiers.asn1 │ ├── itu-t_x_x509_2019_AttributeCertificateDefinitions.asn1 │ ├── itu-t_x_x509_2019_AuthenticationFramework.asn1 │ ├── itu-t_x_x509_2019_CertificateExtensions.asn1 │ ├── itu-t_x_x509_2019_ExtensionAttributes.asn1 │ ├── itu-t_x_x509_2019_PkiPmiExternalDataTypes.asn1 │ ├── itu-t_x_x511_1997-TC1_DirectoryAbstractService.asn1 │ ├── itu-t_x_x511_1997-TC2_DirectoryAbstractService.asn1 │ ├── itu-t_x_x511_2001_DirectoryAbstractService.asn1 │ ├── itu-t_x_x511_2005_DirectoryAbstractService.asn1 │ ├── itu-t_x_x511_2008_DirectoryAbstractService.asn1 │ ├── itu-t_x_x511_2008_SpkmGssTokens.asn1 │ ├── itu-t_x_x511_2012_DirectoryAbstractService.asn1 │ ├── itu-t_x_x511_2012_SpkmGssTokens.asn1 │ ├── itu-t_x_x511_2016_DirectoryAbstractService.asn1 │ ├── itu-t_x_x511_2016_SpkmGssTokens.asn1 │ ├── itu-t_x_x511_2019_DirectoryAbstractService.asn1 │ ├── itu-t_x_x511_2019_SpkmGssTokens.asn1 │ ├── itu-t_x_x518_1997-TC1_DistributedOperations.asn1 │ ├── itu-t_x_x518_1997-TC1_HierarchicalOperationalBindings.asn1 │ ├── itu-t_x_x518_1997-TC2_DistributedOperations.asn1 │ ├── itu-t_x_x518_1997-TC2_HierarchicalOperationalBindings.asn1 │ ├── itu-t_x_x518_2001_DistributedOperations.asn1 │ ├── itu-t_x_x518_2001_HierarchicalOperationalBindings.asn1 │ ├── itu-t_x_x518_2005_DistributedOperations.asn1 │ ├── itu-t_x_x518_2005_HierarchicalOperationalBindings.asn1 │ ├── itu-t_x_x518_2008_DistributedOperations.asn1 │ ├── itu-t_x_x518_2008_HierarchicalOperationalBindings.asn1 │ ├── itu-t_x_x518_2012_DistributedOperations.asn1 │ ├── itu-t_x_x518_2012_HierarchicalOperationalBindings.asn1 │ ├── itu-t_x_x518_2016_DistributedOperations.asn1 │ ├── itu-t_x_x518_2016_HierarchicalOperationalBindings.asn1 │ ├── itu-t_x_x518_2019_DistributedOperations.asn1 │ ├── itu-t_x_x518_2019_HierarchicalOperationalBindings.asn1 │ ├── itu-t_x_x519_1997-TC2_DirectoryAccessProtocol.asn1 │ ├── itu-t_x_x519_1997-TC2_DirectoryInformationShadowProtocol.asn1 │ ├── itu-t_x_x519_1997-TC2_DirectoryOperationalBindingManagementProtocol.asn1 │ ├── itu-t_x_x519_1997-TC2_DirectoryOperationalBindingTypes.asn1 │ ├── itu-t_x_x519_1997-TC2_DirectorySystemProtocol.asn1 │ ├── itu-t_x_x519_1997-TC2_ProtocolObjectIdentifiers.asn1 │ ├── itu-t_x_x519_1997_DirectoryAccessProtocol.asn1 │ ├── itu-t_x_x519_1997_DirectoryInformationShadowProtocol.asn1 │ ├── itu-t_x_x519_1997_DirectoryOperationalBindingManagementProtocol.asn1 │ ├── itu-t_x_x519_1997_DirectoryOperationalBindingTypes.asn1 │ ├── itu-t_x_x519_1997_DirectorySecurityExchanges.asn1 │ ├── itu-t_x_x519_1997_DirectorySystemProtocol.asn1 │ ├── itu-t_x_x519_1997_ProtocolObjectIdentifiers.asn1 │ ├── itu-t_x_x519_2001_DirectoryAccessProtocol.asn1 │ ├── itu-t_x_x519_2001_DirectoryIDMProtocols.asn1 │ ├── itu-t_x_x519_2001_DirectoryInformationShadowProtocol.asn1 │ ├── itu-t_x_x519_2001_DirectoryOperationalBindingManagementProtocol.asn1 │ ├── itu-t_x_x519_2001_DirectoryOperationalBindingTypes.asn1 │ ├── itu-t_x_x519_2001_DirectorySystemProtocol.asn1 │ ├── itu-t_x_x519_2001_IDMProtocolSpecification.asn1 │ ├── itu-t_x_x519_2001_ProtocolObjectIdentifiers.asn1 │ ├── itu-t_x_x519_2005_CommonProtocolSpecification.asn1 │ ├── itu-t_x_x519_2005_DirectoryIDMProtocols.asn1 │ ├── itu-t_x_x519_2005_DirectoryOSIProtocols.asn1 │ ├── itu-t_x_x519_2005_DirectoryOperationalBindingTypes.asn1 │ ├── itu-t_x_x519_2005_IDMProtocolSpecification.asn1 │ ├── itu-t_x_x519_2005_OSIProtocolSpecification.asn1 │ ├── itu-t_x_x519_2008_CommonProtocolSpecification.asn1 │ ├── itu-t_x_x519_2008_DirectoryIDMProtocols.asn1 │ ├── itu-t_x_x519_2008_DirectoryOSIProtocols.asn1 │ ├── itu-t_x_x519_2008_DirectoryOperationalBindingTypes.asn1 │ ├── itu-t_x_x519_2008_IDMProtocolSpecification.asn1 │ ├── itu-t_x_x519_2008_OSIProtocolSpecification.asn1 │ ├── itu-t_x_x519_2012_CommonProtocolSpecification.asn1 │ ├── itu-t_x_x519_2012_DirectoryIDMProtocols.asn1 │ ├── itu-t_x_x519_2012_DirectoryOSIProtocols.asn1 │ ├── itu-t_x_x519_2012_DirectoryOperationalBindingTypes.asn1 │ ├── itu-t_x_x519_2012_IDMProtocolSpecification.asn1 │ ├── itu-t_x_x519_2012_OSIProtocolSpecification.asn1 │ ├── itu-t_x_x519_2016_CommonProtocolSpecification.asn1 │ ├── itu-t_x_x519_2016_DirectoryIDMProtocols.asn1 │ ├── itu-t_x_x519_2016_DirectoryOSIProtocols.asn1 │ ├── itu-t_x_x519_2016_DirectoryOperationalBindingTypes.asn1 │ ├── itu-t_x_x519_2016_IDMProtocolSpecification.asn1 │ ├── itu-t_x_x519_2016_OSIProtocolSpecification.asn1 │ ├── itu-t_x_x519_2019_CommonProtocolSpecification.asn1 │ ├── itu-t_x_x519_2019_DirectoryIDMProtocols.asn1 │ ├── itu-t_x_x519_2019_DirectoryOSIProtocols.asn1 │ ├── itu-t_x_x519_2019_DirectoryOperationalBindingTypes.asn1 │ ├── itu-t_x_x519_2019_IDMProtocolSpecification.asn1 │ ├── itu-t_x_x519_2019_OSIProtocolSpecification.asn1 │ ├── itu-t_x_x520_1997_SelectedAttributeTypes.asn1 │ ├── itu-t_x_x520_1997_UpperBounds.asn1 │ ├── itu-t_x_x520_2001_SelectedAttributeTypes.asn1 │ ├── itu-t_x_x520_2001_UpperBounds.asn1 │ ├── itu-t_x_x520_2005_SelectedAttributeTypes.asn1 │ ├── itu-t_x_x520_2005_UpperBounds.asn1 │ ├── itu-t_x_x520_2008_OidDirectoryNameDef.asn1 │ ├── itu-t_x_x520_2008_SelectedAttributeTypes.asn1 │ ├── itu-t_x_x520_2008_UpperBounds.asn1 │ ├── itu-t_x_x520_2012_SelectedAttributeTypes.asn1 │ ├── itu-t_x_x520_2016_PasswordPolicy.asn1 │ ├── itu-t_x_x520_2016_SelectedAttributeTypes.asn1 │ ├── itu-t_x_x520_2016_UpperBounds.asn1 │ ├── itu-t_x_x520_2019_PasswordPolicy.asn1 │ ├── itu-t_x_x520_2019_SelectedAttributeTypes.asn1 │ ├── itu-t_x_x520_2019_UpperBounds.asn1 │ ├── itu-t_x_x521_1997_SelectedObjectClasses.asn1 │ ├── itu-t_x_x521_2001_SelectedObjectClasses.asn1 │ ├── itu-t_x_x521_2005_SelectedObjectClasses.asn1 │ ├── itu-t_x_x521_2008_SelectedObjectClasses.asn1 │ ├── itu-t_x_x521_2012_SelectedObjectClasses.asn1 │ ├── itu-t_x_x521_2016_SelectedObjectClasses.asn1 │ ├── itu-t_x_x521_2019_SelectedObjectClasses.asn1 │ ├── itu-t_x_x525_1997-TC1_DirectoryShadowAbstractService.asn1 │ ├── itu-t_x_x525_1997-TC2_DirectoryShadowAbstractService.asn1 │ ├── itu-t_x_x525_2001_DirectoryShadowAbstractService.asn1 │ ├── itu-t_x_x525_2005_DirectoryShadowAbstractService.asn1 │ ├── itu-t_x_x525_2008_DirectoryShadowAbstractService.asn1 │ ├── itu-t_x_x525_2012_DirectoryShadowAbstractService.asn1 │ ├── itu-t_x_x525_2016_DirectoryShadowAbstractService.asn1 │ ├── itu-t_x_x525_2019_DirectoryShadowAbstractService.asn1 │ ├── itu-t_x_x530_1997_DirectoryManagement.asn1 │ ├── itu-t_x_x530_2001_DirectoryManagement.asn1 │ ├── itu-t_x_x530_2005_DirectoryManagement.asn1 │ ├── itu-t_x_x530_2008_DirectoryManagement.asn1 │ ├── itu-t_x_x660_2004_OidDirectoryNameDef.asn1 │ ├── itu-t_x_x660_2008_OidDirectoryNameDef.asn1 │ ├── itu-t_x_x672_2010_CINF-module.asn1 │ ├── itu-t_x_x672_2010_RINF-module.asn1 │ ├── itu-t_x_x680_2002_ASN1-CHARACTER-MODULE.asn1 │ ├── itu-t_x_x680_2002_ASN1-Object-Identifier-Module.asn1 │ ├── itu-t_x_x680_2008_ASN1-Object-Identifier-Module.asn1 │ ├── itu-t_x_x680_2008_DefinedTimeTypes.asn1 │ ├── itu-t_x_x683_2002_M1.asn1 │ ├── itu-t_x_x683_2002_M2.asn1 │ ├── itu-t_x_x683_2002_M3.asn1 │ ├── itu-t_x_x683_2008_M1.asn1 │ ├── itu-t_x_x683_2008_M2.asn1 │ ├── itu-t_x_x683_2008_M3.asn1 │ ├── itu-t_x_x692_2002_Example1-ASN1-Module.asn1 │ ├── itu-t_x_x692_2002_Example1-EDM.asn1 │ ├── itu-t_x_x692_2002_Example1-ELM.asn1 │ ├── itu-t_x_x692_2002_Example2-ASN1-Module.asn1 │ ├── itu-t_x_x692_2002_Example2-EDM.asn1 │ ├── itu-t_x_x692_2002_Example2-ELM.asn1 │ ├── itu-t_x_x692_2002_Example3-ASN1-Module.asn1 │ ├── itu-t_x_x692_2002_Example3-EDM.asn1 │ ├── itu-t_x_x692_2002_Example3-ELM.asn1 │ ├── itu-t_x_x692_2002_LegacyProtocol-ASN1-Module.asn1 │ ├── itu-t_x_x692_2002_LegacyProtocol-EDM-Module.asn1 │ ├── itu-t_x_x692_2002_LegacyProtocol-ELM-Module.asn1 │ ├── itu-t_x_x692_2008_Example1-ASN1-Module.asn1 │ ├── itu-t_x_x692_2008_Example2-ASN1-Module.asn1 │ ├── itu-t_x_x692_2008_Example3-ASN1-Module.asn1 │ ├── itu-t_x_x692_2008_Example4-ASN1-Module.asn1 │ ├── itu-t_x_x692_2008_Example6-ASN1-Module.asn1 │ ├── itu-t_x_x692_2008_LegacyProtocol-ASN1-Module.asn1 │ ├── itu-t_x_x694_2004-Amd1_ABC.asn1 │ ├── itu-t_x_x694_2004-Amd1_EXAMPLES.asn1 │ ├── itu-t_x_x694_2004-Amd1_XSDv1.asn1 │ ├── itu-t_x_x694_2004-Amd1_XSDv2.asn1 │ ├── itu-t_x_x694_2004-Amd1_XYZ.asn1 │ ├── itu-t_x_x694_2004_ABC.asn1 │ ├── itu-t_x_x694_2004_EXAMPLES.asn1 │ ├── itu-t_x_x694_2004_XSD.asn1 │ ├── itu-t_x_x694_2004_XYZ.asn1 │ ├── itu-t_x_x694_2008_ABC.asn1 │ ├── itu-t_x_x694_2008_EXAMPLES.asn1 │ ├── itu-t_x_x694_2008_XSDv1.asn1 │ ├── itu-t_x_x694_2008_XSDv2.asn1 │ ├── itu-t_x_x694_2008_XYZ.asn1 │ ├── itu-t_x_x694_2015_ABC.asn1 │ ├── itu-t_x_x694_2015_EXAMPLES.asn1 │ ├── itu-t_x_x694_2015_XSDv1.asn1 │ ├── itu-t_x_x694_2015_XSDv2.asn1 │ ├── itu-t_x_x694_2015_XYZ.asn1 │ ├── itu-t_x_x695_2007_SignatureSignRecordFormatModule.asn1 │ ├── itu-t_x_x695_2007_SignatureSignRecordFormatModuleSample.asn1 │ ├── itu-t_x_x695_2008_SignatureSignRecordFormatModule.asn1 │ ├── itu-t_x_x695_2008_SignatureSignRecordFormatModuleSample.asn1 │ ├── itu-t_x_x701_1997_SMASE-A-ASSOCIATE-Information.asn1 │ ├── itu-t_x_x711_1997_CMIP-1.asn1 │ ├── itu-t_x_x711_1997_CMIP-A-ABORT-Information.asn1 │ ├── itu-t_x_x711_1997_CMIP-A-ASSOCIATE-Information.asn1 │ ├── itu-t_x_x721_1992_Attribute-ASN1Module.asn1 │ ├── itu-t_x_x721_1992_ManagedObjectClassesDefinitions.asn1 │ ├── itu-t_x_x721_1992_Notification-ASN1Module.asn1 │ ├── itu-t_x_x721_1992_Parameter-ASN1Module.asn1 │ ├── itu-t_x_x722_1992_ActionModule.asn1 │ ├── itu-t_x_x722_1992_AttributeModule.asn1 │ ├── itu-t_x_x722_1992_NotificationModule.asn1 │ ├── itu-t_x_x722_1992_ParameterModule.asn1 │ ├── itu-t_x_x722_1992_SMModule.asn1 │ ├── itu-t_x_x723_1993_GMI-AttributeModule.asn1 │ ├── itu-t_x_x725_1995_GRM-ASN1Module.asn1 │ ├── itu-t_x_x725_1995_GRMD.asn1 │ ├── itu-t_x_x725_1995_GRMExample.asn1 │ ├── itu-t_x_x727_1999_CMISE-ROSE-SMASE-ASN1Module.asn1 │ ├── itu-t_x_x737_1995_TestCategories-ASN1Module.asn1 │ ├── itu-t_x_x738_1993_SummarizationASN1Productions.asn1 │ ├── itu-t_x_x739_1993_MetricModule.asn1 │ ├── itu-t_x_x740_1992_SecurityAuditTrail-ASN1Module.asn1 │ ├── itu-t_x_x740_1992_SecurityAuditTrailDefinitions.asn1 │ ├── itu-t_x_x741_1995_AccessControl-ASN1Module.asn1 │ ├── itu-t_x_x741_1995_AccessControlDefinitions.asn1 │ ├── itu-t_x_x742_1995_UMFObjId.asn1 │ ├── itu-t_x_x742_1995_UsageMeteringDataInfo.asn1 │ ├── itu-t_x_x742_1995_UsageMeteringFunction.asn1 │ ├── itu-t_x_x743_1998-TC1_TimeMF.asn1 │ ├── itu-t_x_x743_1998-TC1_TimeRepresentation.asn1 │ ├── itu-t_x_x744_1996_BackupRestoreASN1Module.asn1 │ ├── itu-t_x_x744_1996_SWMF.asn1 │ ├── itu-t_x_x745_1993_Test-ASN1Module.asn1 │ ├── itu-t_x_x746_2000_Schedulerev1-ASN1Module.asn1 │ ├── itu-t_x_x748_1999_RTMModule.asn1 │ ├── itu-t_x_x749_1997_MDMPMF.asn1 │ ├── itu-t_x_x749_1997_MdmpmfASN1Module.asn1 │ ├── itu-t_x_x750_1996_DefinitionASN1Module.asn1 │ ├── itu-t_x_x750_1996_DefinitionDirectoryASN1Module.asn1 │ ├── itu-t_x_x750_1996_DiscoveryASN1Module.asn1 │ ├── itu-t_x_x750_1996_GrmAttributeDefinitionModule.asn1 │ ├── itu-t_x_x750_1996_GrmDefinitionDirectoryASN1Module.asn1 │ ├── itu-t_x_x750_1996_MKMD.asn1 │ ├── itu-t_x_x750_1996_RepertoireASN1Module.asn1 │ ├── itu-t_x_x750_1996_RepertoireDirectoryASN1Module.asn1 │ ├── itu-t_x_x751_1995_ChangeOverASN1Productions.asn1 │ ├── itu-t_x_x753_1997_CSModule.asn1 │ ├── itu-t_x_x754_2000_ASN1DefinedTypesModule.asn1 │ ├── itu-t_x_x790_1995-TC1-TC2_X790ASN1Module.asn1 │ ├── itu-t_x_x792_1999_AuditASN1FileModule.asn1 │ ├── itu-t_x_x792_1999_AuditASN1Module.asn1 │ ├── itu-t_x_x830_1995_DirectoryProtectionMappings.asn1 │ ├── itu-t_x_x830_1995_GULSProtectionMappings.asn1 │ ├── itu-t_x_x830_1995_GulsSecurityExchanges.asn1 │ ├── itu-t_x_x830_1995_GulsSecurityTransformations.asn1 │ ├── itu-t_x_x830_1995_Notation.asn1 │ ├── itu-t_x_x830_1995_ObjectIdentifiers.asn1 │ ├── itu-t_x_x832_1995_SeseAPDUs.asn1 │ ├── itu-t_x_x833_1995_GenericProtectingTransferSyntax.asn1 │ ├── itu-t_x_x841_2000_SIOsAccessControl-MODULE.asn1 │ ├── itu-t_x_x843_2000_CRMF.asn1 │ ├── itu-t_x_x843_2000_GeneralModule.asn1 │ ├── itu-t_x_x843_2000_OCSP.asn1 │ ├── itu-t_x_x852_1997_CCR.asn1 │ ├── itu-t_x_x880_1994-TC1-Amd1_Remote-Operations-Generic-ROS-PDUs.asn1 │ ├── itu-t_x_x880_1994-TC1-Amd1_Remote-Operations-Information-Objects.asn1 │ ├── itu-t_x_x880_1994-TC1-Amd1_Remote-Operations-Useful-Definitions.asn1 │ ├── itu-t_x_x880_1994-TC1_Remote-Operations-Generic-ROS-PDUs.asn1 │ ├── itu-t_x_x880_1994-TC1_Remote-Operations-Information-Objects.asn1 │ ├── itu-t_x_x880_1994-TC1_Remote-Operations-Useful-Definitions.asn1 │ ├── itu-t_x_x881_1994-Amd1_Remote-Operations-Information-Objects-extensions.asn1 │ ├── itu-t_x_x881_1994_Remote-Operations-Information-Objects-extensions.asn1 │ ├── itu-t_x_x882_1994-TC1-Amd1_Remote-Operations-Abstract-Syntaxes.asn1 │ ├── itu-t_x_x882_1994-TC1-Amd1_Remote-Operations-Realizations.asn1 │ ├── itu-t_x_x882_1994-TC1_Remote-Operations-Abstract-Syntaxes.asn1 │ ├── itu-t_x_x882_1994-TC1_Remote-Operations-Realizations.asn1 │ ├── itu-t_x_x891_2005_FastInfoset.asn1 │ ├── itu-t_x_x892_2005_ASN1SOAP.asn1 │ ├── itu-t_x_x894_2018-cor1_ANSI-X9-42.asn1 │ ├── itu-t_x_x894_2018-cor1_ANSI-X9-62.asn1 │ ├── itu-t_x_x894_2018-cor1_AlgorithmInformation-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_AttributeCertificateVersion1-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_CMSCKMKeyManagement.asn1 │ ├── itu-t_x_x894_2018-cor1_CMSDBKeyManagement.asn1 │ ├── itu-t_x_x894_2018-cor1_CMSObjectIdentifiers.asn1 │ ├── itu-t_x_x894_2018-cor1_CMSProfileAttributes.asn1 │ ├── itu-t_x_x894_2018-cor1_CMSSigncryption.asn1 │ ├── itu-t_x_x894_2018-cor1_CryptographicMessageSyntax-2010.asn1 │ ├── itu-t_x_x894_2018-cor1_CryptographicMessageSyntaxAlgorithms-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_PKIX-CommonTypes-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_PKIX-X400Address-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_PKIX1-PSS-OAEP-Algorithms-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_PKIX1Explicit-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_PKIX1Implicit-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_PKIXAlgs-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_PKIXAttributeCertificate-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_SecureMimeMessageV3dot1-2009.asn1 │ ├── itu-t_x_x894_2018-cor1_TokenizationManifest.asn1 │ ├── itu-t_x_x894_2018-cor1_TransientKey.asn1 │ ├── itu-t_x_x894_2018-cor1_TrustedTimeStamp.asn1 │ ├── itu-t_x_x952_1997_PrinterServiceOfferDefinitions.asn1 │ ├── itu-t_x_x952_1997_TraderDefinitions.asn1 │ ├── oasis_X9.84-CMS_2003_X9-84-Biometrics.asn1 │ ├── oasis_X9.84-CMS_2003_X9-84-CMS.asn1 │ ├── oasis_X9.84-CMS_2003_X9-84-Identifiers.asn1 │ ├── v2x.asn1 │ └── v2x_cam.asn1 │ ├── nested_types.rs │ ├── parameterization.rs │ ├── parse_test.rs │ ├── rasn_kerberos_tests.rs │ ├── simple_types.rs │ ├── structured_types.rs │ └── system_tests.rs └── rasn-compiler ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── README.md ├── internal-macros ├── Cargo.toml └── src │ └── lib.rs └── src ├── bin.rs ├── cli.rs ├── common.rs ├── error.rs ├── generator ├── error.rs ├── mod.rs ├── rasn │ ├── builder.rs │ ├── mod.rs │ ├── template.rs │ └── utils.rs ├── tests.rs └── typescript │ ├── builder.rs │ ├── mod.rs │ ├── template.rs │ └── utils.rs ├── input.rs ├── intermediate ├── constraints.rs ├── encoding_rules │ ├── mod.rs │ └── per_visible.rs ├── error.rs ├── information_object.rs ├── mod.rs ├── parameterization.rs ├── types.rs └── utils.rs ├── lexer ├── bit_string.rs ├── boolean.rs ├── character_string.rs ├── choice.rs ├── common.rs ├── constraint.rs ├── embedded_pdv.rs ├── enumerated.rs ├── error.rs ├── external.rs ├── information_object_class.rs ├── integer.rs ├── mod.rs ├── module_reference.rs ├── null.rs ├── object_identifier.rs ├── octet_string.rs ├── parameterization.rs ├── real.rs ├── sequence.rs ├── sequence_of.rs ├── set.rs ├── set_of.rs ├── tests │ └── mod.rs ├── time.rs └── util.rs ├── lib.rs ├── tests.rs └── validator ├── error.rs ├── linking ├── constraints.rs ├── information_object.rs ├── mod.rs ├── types.rs └── utils.rs ├── mod.rs └── tests └── mod.rs /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: release 2 | 3 | permissions: 4 | pull-requests: write 5 | contents: write 6 | 7 | on: 8 | push: 9 | branches: 10 | - main 11 | 12 | jobs: 13 | release-rasn-compiler: 14 | name: Release rasn compiler 15 | runs-on: ubuntu-latest 16 | steps: 17 | - name: Checkout repository 18 | uses: actions/checkout@v4 19 | with: 20 | fetch-depth: 0 21 | 22 | - name: Install Rust toolchain 23 | uses: dtolnay/rust-toolchain@stable 24 | 25 | - name: Release-plz compiler 26 | uses: MarcoIeni/release-plz-action@v0.5 27 | with: 28 | manifest_path: rasn-compiler/Cargo.toml 29 | env: 30 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 31 | CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: Test 2 | 3 | on: 4 | push: 5 | branches: [ "main" ] 6 | pull_request: 7 | 8 | env: 9 | CARGO_TERM_COLOR: always 10 | 11 | jobs: 12 | test: 13 | 14 | runs-on: ubuntu-latest 15 | 16 | steps: 17 | - name: Checkout source code 18 | uses: actions/checkout@v2 19 | 20 | - name: Install Rust 21 | uses: actions-rs/toolchain@v1 22 | with: 23 | toolchain: stable 24 | 25 | - name: Build 26 | uses: actions-rs/cargo@v1 27 | with: 28 | command: build 29 | 30 | - name: Build CLI 31 | uses: actions-rs/cargo@v1 32 | with: 33 | command: build 34 | args: --bin rasn_compiler_cli --features=cli 35 | 36 | - name: Install WASM target 37 | uses: actions-rs/toolchain@v1 38 | with: 39 | toolchain: stable 40 | target: wasm32-unknown-unknown 41 | 42 | - name: Build 43 | uses: actions-rs/cargo@v1 44 | with: 45 | command: build 46 | args: --target wasm32-unknown-unknown 47 | 48 | - name: Test 49 | uses: actions-rs/cargo@v1 50 | with: 51 | command: test 52 | args: --workspace 53 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | *.asn 3 | /.vscode 4 | generated.* 5 | test_asn1 6 | .DS_Store 7 | parse_test_results.txt 8 | tarpaulin-report.html -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [workspace] 2 | resolver = "2" 3 | members = [ 4 | "rasn-compiler", 5 | "rasn-compiler-derive", 6 | "rasn-compiler-tests", 7 | "rasn-compiler/internal-macros" 8 | ] 9 | 10 | [workspace.package] 11 | edition = "2021" 12 | license = "MIT/Apache-2.0" 13 | version = "0.10.1" 14 | repository = "https://github.com/librasn/compiler.git" 15 | homepage = "https://librasn.github.io/" 16 | -------------------------------------------------------------------------------- /LICENCE-APACHE: -------------------------------------------------------------------------------- 1 | Copyright 2024 Kevin Westphal 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. -------------------------------------------------------------------------------- /LICENCE-MIT: -------------------------------------------------------------------------------- 1 | MIT License (MIT) 2 | 3 | Copyright (c) 2024 Kevin Westphal 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. -------------------------------------------------------------------------------- /rasn-compiler-derive/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | All notable changes to this project will be documented in this file. 3 | 4 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 5 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6 | 7 | ## [Unreleased] 8 | 9 | ## [0.10.0](https://github.com/librasn/compiler/compare/rasn-compiler-derive-v0.9.0...rasn-compiler-derive-v0.10.0) - 2025-05-16 10 | 11 | ### Added 12 | 13 | - add support for tagged sequence of items 14 | 15 | ## [0.5.0](https://github.com/librasn/compiler/compare/rasn-compiler-derive-v0.4.0...rasn-compiler-derive-v0.5.0) - 2024-09-19 16 | 17 | ### Added 18 | 19 | - consider tagging and extensibility environments 20 | -------------------------------------------------------------------------------- /rasn-compiler-derive/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rasn-compiler-derive" 3 | workspace = ".." 4 | version.workspace = true 5 | edition.workspace = true 6 | repository.workspace = true 7 | homepage.workspace = true 8 | license.workspace = true 9 | readme.workspace = true 10 | description = "Macros producing bindings for the rasn framework" 11 | keywords = ["macros", "compiler", "asn1", "rasn"] 12 | categories = ["compilers", "parser-implementations", "wasm", "encoding"] 13 | authors = ["Kevin Westphal"] 14 | 15 | [lib] 16 | proc-macro = true 17 | 18 | [dependencies] 19 | rasn-compiler = { path = "../rasn-compiler", version = "0.10.1" } 20 | proc-macro2 = "1" 21 | syn= "2" 22 | -------------------------------------------------------------------------------- /rasn-compiler-derive/src/lib.rs: -------------------------------------------------------------------------------- 1 | extern crate proc_macro; 2 | 3 | use proc_macro::TokenStream; 4 | use rasn_compiler::prelude::RasnBackend; 5 | use syn::{parse::Parse, parse_macro_input, LitStr}; 6 | 7 | const DUMMY_HEADER: &str = r#"asn1 { dummy(999) header(999) } 8 | 9 | DEFINITIONS AUTOMATIC TAGS::= BEGIN 10 | "#; 11 | const DUMMY_FOOTER: &str = r#"END"#; 12 | 13 | struct MacroInput { 14 | asn: LitStr, 15 | } 16 | 17 | impl Parse for MacroInput { 18 | fn parse(input: syn::parse::ParseStream) -> syn::Result { 19 | Ok(Self { 20 | asn: input.parse()?, 21 | }) 22 | } 23 | } 24 | 25 | #[proc_macro] 26 | pub fn asn1(input: TokenStream) -> TokenStream { 27 | let config = parse_macro_input!(input as MacroInput); 28 | 29 | let literal_asn1 = match config.asn.value() { 30 | v if v.contains("BEGIN") => v, 31 | v => String::from(DUMMY_HEADER) + &v + DUMMY_FOOTER, 32 | }; 33 | 34 | rasn_compiler::Compiler::::new() 35 | .add_asn_literal(literal_asn1) 36 | .compile_to_string() 37 | .unwrap() 38 | .generated 39 | .parse() 40 | .unwrap() 41 | } 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rasn-compiler-tests" 3 | workspace = ".." 4 | publish = false 5 | version.workspace = true 6 | edition.workspace = true 7 | repository.workspace = true 8 | homepage.workspace = true 9 | license.workspace = true 10 | readme.workspace = true 11 | 12 | [lib] 13 | 14 | [dependencies] 15 | rasn-compiler-derive = { path = "../rasn-compiler-derive" } 16 | rasn-compiler = { path = "../rasn-compiler" } 17 | rasn = { version = "0.26" } 18 | 19 | [dev-dependencies] 20 | bitvec = { version = "1" } 21 | bitvec-nom = { version = "0.2" } 22 | rasn-kerberos = "0.26" 23 | bytes = "1.10.0" 24 | num-bigint = "0.4.6" 25 | lazy_static = "1.5.0" 26 | -------------------------------------------------------------------------------- /rasn-compiler-tests/src/lib.rs: -------------------------------------------------------------------------------- 1 | pub mod helpers; 2 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/iso_9541-2_1991_ISO9541-SN.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -- Module ISO9541-SN (ISO/IEC 9541-2:1991) 6 | -- See also ITU-T formal description search tool 7 | -- See also the index of all ASN.1 assignments needed in this Recommendation 8 | 9 | -- 10 | -- Copyright © ISO/IEC 1991. This version of 11 | -- this ASN.1 module is part of ISO/IEC 9541-2:1991; 12 | -- see the ISO|IEC text itself for full legal notices. 13 | -- 14 | ISO9541-SN {1 0 9541 2 3} DEFINITIONS ::= 15 | BEGIN 16 | 17 | EXPORTS Structured-Name, Owner-Name, Object-Name-Component; 18 | 19 | Structured-Name ::= SEQUENCE { 20 | owner-name [0] IMPLICIT Owner-Name OPTIONAL, 21 | -- length restricted to 120 characters 22 | owner-description [1] Message OPTIONAL, 23 | object-name [2] SEQUENCE OF Object-Name-Component OPTIONAL, 24 | -- length restricted to 100 characters 25 | object-description [3] Message OPTIONAL 26 | } 27 | 28 | Owner-Name ::= SEQUENCE { 29 | objectIdentifier [0] IMPLICIT OBJECT IDENTIFIER OPTIONAL, 30 | ownerNameComponent [1] SEQUENCE OF Owner-Name-Component OPTIONAL 31 | } 32 | 33 | Owner-Name-Component ::= [0] VisibleString 34 | 35 | -- except for "//" and "::" 36 | Object-Name-Component ::= [0] VisibleString 37 | 38 | -- only characters from the following 39 | -- repertoire: "A-Z", "a-z", "0-9", 40 | -- Hyphen, and Period. If the name 41 | -- component is a numeric value, 42 | -- the first digit is in the range 43 | -- of 1 to 9 44 | Message ::= CHOICE { 45 | numeric [0] NumericString, 46 | printable [1] PrintableString, 47 | teletex [2] TeletexString, 48 | videotex [3] VideotexString, 49 | visible [4] VisibleString, 50 | ia5 [5] IA5String, 51 | graphic [6] GraphicString, 52 | general [7] GeneralString 53 | } 54 | 55 | END 56 | 57 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 58 | 59 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_f_f515_2003_Xml.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Xml (F.515:04/2003) 9 | -- See also ITU-T F.515 (04/2003) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Xml DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | IMPORTS 16 | AnyURI, NCName, Language 17 | FROM XSD; -- The XSD module is defined in the ASN.1 standards. 18 | 19 | Lang ::= Language 20 | 21 | Space ::= ENUMERATED {default, preserve} 22 | 23 | Base ::= AnyURI 24 | 25 | SpecialAttrs ::= SEQUENCE { 26 | base Base OPTIONAL, 27 | lang Lang OPTIONAL, 28 | space Space OPTIONAL 29 | } 30 | 31 | /* 32 | 33 | ENCODING-CONTROL XER 34 | ATTRIBUTE ALL IN SpecialAttrs, Space, Lang, Base 35 | TEXT Space 36 | 37 | */ 38 | END 39 | 40 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 41 | 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_g_g774.1_2001_SDHPMASN1.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SDHPMASN1 (G.774.1:02/2001) 9 | -- See also ITU-T G.774.1 (02/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SDHPMASN1 {itu-t(0) recommendation(0) g(7) g774(774) dot(127) part1(1) 13 | informationModel(0) asn1Module(2) sdhpm(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS everything 17 | IMPORTS 18 | ProbableCause 19 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 20 | asn1Module(2) 1} 21 | TimePeriod 22 | FROM MetricModule {joint-iso-itu-t ms(9) function(2) part11(11) 23 | asn1Module(2) 0}; 24 | 25 | sdhPM OBJECT IDENTIFIER ::= 26 | {itu-t(0) recommendation(0) g(7) g774(774) dot(127) part1(1) 27 | informationModel(0)} 28 | 29 | g774-01MObjectClass OBJECT IDENTIFIER ::= {sdhPM managedObjectClass(3)} 30 | 31 | g774-01Attribute OBJECT IDENTIFIER ::= {sdhPM attribute(7)} 32 | 33 | g774-01NameBinding OBJECT IDENTIFIER ::= {sdhPM nameBinding(6)} 34 | 35 | g774-01Package OBJECT IDENTIFIER ::= {sdhPM package(4)} 36 | 37 | Integer ::= INTEGER 38 | 39 | CSES ::= SET OF SEQUENCE {eventTime GeneralizedTime, 40 | nCSES NCSESRange} 41 | 42 | NCSESRange ::= Integer(2..9) 43 | 44 | SDHGranularityPeriod ::= 45 | TimePeriod(WITH COMPONENTS { 46 | minutes (15), 47 | days (1) 48 | }) 49 | 50 | SDHPVGranularityPeriod ::= TimePeriod(WITH COMPONENTS { 51 | minutes (15) 52 | }) 53 | 54 | END -- end of SDHPMASN1 55 | 56 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 57 | 58 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_g_g774.5_2001_SDHCSASN1.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SDHCSASN1 (G.774.5:02/2001) 9 | -- See also ITU-T G.774.5 (02/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SDHCSASN1 {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) cs(5) 13 | informationModel(0) asn1Module(2) sdhcs(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS Everything 17 | IMPORTS 18 | PathTrace 19 | FROM SDH {itu-t(0) recommendation(0) g(7) sdhm(774) informationModel(0) 20 | asn1Module(2) sdh(0)}; 21 | 22 | sdhCS OBJECT IDENTIFIER ::= 23 | {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) cs(5) 24 | informationModel(0)} 25 | 26 | g774-05MObjectClass OBJECT IDENTIFIER ::= {sdhCS managedObjectClass(3)} 27 | 28 | g774-05Package OBJECT IDENTIFIER ::= {sdhCS package(4)} 29 | 30 | g774-05NameBinding OBJECT IDENTIFIER ::= {sdhCS nameBinding(6)} 31 | 32 | g774-05Attribute OBJECT IDENTIFIER ::= {sdhCS attribute(7)} 33 | 34 | Boolean ::= BOOLEAN 35 | 36 | defaultNull Null ::= NULL 37 | 38 | Null ::= NULL 39 | 40 | PathTraceRS ::= GraphicString 41 | 42 | END 43 | 44 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 45 | 46 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_g_g774.6_2001_SDHPMUNIASN1.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SDHPMUNIASN1 (G.774.6:02/2001) 9 | -- See also ITU-T G.774.6 (02/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SDHPMUNIASN1 {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) pmUni(6) 13 | informationModel(0) asn1Module(2) sdhpmUni(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS everything 17 | IMPORTS 18 | SDHGranularityPeriod, SDHPVGranularityPeriod 19 | FROM SDHPMASN1 {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) 20 | pm(1) informationModel(0) asn1Module(2) sdhpm(0)} 21 | TimePeriod 22 | FROM MetricModule {joint-iso-itu-t ms(9) function(2) part11(11) 23 | asn1Module(2) 0}; 24 | 25 | sdhPMUni OBJECT IDENTIFIER ::= 26 | {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) pmUni(6) 27 | informationModel(0)} 28 | 29 | g774-6MObjectClass OBJECT IDENTIFIER ::= {sdhPMUni managedObjectClass(3)} 30 | 31 | g774-6Attribute OBJECT IDENTIFIER ::= {sdhPMUni attribute(7)} 32 | 33 | g774-6NameBinding OBJECT IDENTIFIER ::= {sdhPMUni nameBinding(6)} 34 | 35 | g774-6Package OBJECT IDENTIFIER ::= {sdhPMUni package(4)} 36 | 37 | sdhPM OBJECT IDENTIFIER ::= 38 | {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) pm(1) 39 | informationModel(0)} 40 | 41 | g774-01MObjectClass OBJECT IDENTIFIER ::= {sdhPM managedObjectClass(3)} 42 | 43 | g774-01Attribute OBJECT IDENTIFIER ::= {sdhPM attribute(7)} 44 | 45 | g774-01NameBinding OBJECT IDENTIFIER ::= {sdhPM nameBinding(6)} 46 | 47 | g774-01Package OBJECT IDENTIFIER ::= {sdhPM package(4)} 48 | 49 | END -- end of SDHPMUNIASN1 50 | 51 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 52 | 53 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_g_g774.7_2001_SDHPTLASN1.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SDHPTLASN1 (G.774.7:02/2001) 9 | -- See also ITU-T G.774.7 (02/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SDHPTLASN1 {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) ptl(7) 13 | informationModel(0) asn1Module(2) sdhptl(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS everything 17 | sdhPTL OBJECT IDENTIFIER ::= 18 | {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) ptl(7) 19 | informationModel(0)} 20 | 21 | g774-7ObjectClass OBJECT IDENTIFIER ::= {sdhPTL managedObjectClass(3)} 22 | 23 | g774-7Action OBJECT IDENTIFIER ::= {sdhPTL action(9)} 24 | 25 | g774-7NameBinding OBJECT IDENTIFIER ::= {sdhPTL nameBinding(6)} 26 | 27 | g774-7Parameter OBJECT IDENTIFIER ::= {sdhPTL parameter(5)} 28 | 29 | g774-7Notification OBJECT IDENTIFIER ::= {sdhPTL notification(10)} 30 | 31 | g774-7Package OBJECT IDENTIFIER ::= {sdhPTL package(4)} 32 | 33 | g774-7Attribute OBJECT IDENTIFIER ::= {sdhPTL attribute(7)} 34 | 35 | nullDefault Null ::= NULL 36 | 37 | Null ::= NULL 38 | 39 | END 40 | 41 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 42 | 43 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_g_g774.8_2001_SDHRadioManagement.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SDHRadioManagement (G.774.8:02/2001) 9 | -- See also ITU-T G.774.8 (02/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SDHRadioManagement {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) 13 | sdhRadioIM(8)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS Everything 17 | sdhRadioManagement OBJECT IDENTIFIER ::= 18 | {itu-t(0) recommendation(0) g(7) g774(774) hyphen(127) sdhRadioIM(8) 19 | informationModel(0)} 20 | 21 | g774-8ObjectClass OBJECT IDENTIFIER ::= 22 | {sdhRadioManagement managedObjectClass(3)} 23 | 24 | g774-8Attribute OBJECT IDENTIFIER ::= {sdhRadioManagement attribute(7)} 25 | 26 | g774-8NameBinding OBJECT IDENTIFIER ::= {sdhRadioManagement nameBinding(6)} 27 | 28 | g774-8Action OBJECT IDENTIFIER ::= {sdhRadioManagement action(9)} 29 | 30 | g774-8Notification OBJECT IDENTIFIER ::= {sdhRadioManagement notification(10)} 31 | 32 | g774-8Package OBJECT IDENTIFIER ::= {sdhRadioManagement package(4)} 33 | 34 | g774-8Parameter OBJECT IDENTIFIER ::= {sdhRadioManagement parameter(5)} 35 | 36 | END 37 | 38 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 39 | 40 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_g_g774_2001_SDH.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SDH (G.774:02/2001) 9 | -- See also ITU-T G.774 (02/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SDH {itu-t(0) recommendation(0) g(7) sdhm(774) informationModel(0) 13 | asn1Module(2) sdh(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | NameType -- Recommendation M.3100 18 | FROM ASN1DefinedTypesModule {itu-t(0) recommendation(0) m(13) gnm(3100) 19 | informationModel(0) asn1Modules(2) asn1DefinedTypeModule(0)}; 20 | 21 | g774 OBJECT IDENTIFIER ::= 22 | {itu-t(0) recommendation(0) g(7) sdhm(774) informationModel(0)} 23 | 24 | g774ObjectClass OBJECT IDENTIFIER ::= {g774 managedObjectClass(3)} 25 | 26 | g774Attribute OBJECT IDENTIFIER ::= {g774 attribute(7)} 27 | 28 | g774NameBinding OBJECT IDENTIFIER ::= {g774 nameBinding(6)} 29 | 30 | Boolean ::= BOOLEAN 31 | 32 | C2SignalLabel ::= INTEGER(0..255) 33 | 34 | defaultNull Null ::= NULL 35 | 36 | Null ::= NULL 37 | 38 | Integer ::= INTEGER 39 | 40 | OpticalReach ::= ENUMERATED {intraOffice(0), shortHaul(1), longHaul(2)} 41 | 42 | OpticalWavelength ::= ENUMERATED {wl1310(0), wl1550(1)} 43 | 44 | PathTrace ::= CHOICE {null NULL, 45 | pathtrace [1] GraphicString 46 | } 47 | 48 | -- Reffering to PointerSinkType. The ENUMERATED value of invalidPointer(2) 49 | -- should be used when a LOP condition exists or if the pointer value is unknown. 50 | PointerSinkType ::= ENUMERATED { 51 | normalPointer(0), concatenationIndication(1), invalidPointer(2)} 52 | 53 | PointerSourceType ::= ENUMERATED {normalPointer(0), concatenationIndication(1)} 54 | 55 | TrailTraceReceiveSend ::= GraphicString 56 | 57 | V5SignalLabel ::= INTEGER(0..7) 58 | 59 | END 60 | 61 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 62 | 63 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h235.8_2005_H235-SRTP.asn1: -------------------------------------------------------------------------------- 1 | 2 | -- Module H235-SRTP (H.235.8:09/2005) 3 | -- See also ITU-T H.235.8 (09/2005) 4 | -- See also the index of all ASN.1 assignments needed in this Recommendation 5 | 6 | H235-SRTP DEFINITIONS AUTOMATIC TAGS ::= 7 | BEGIN 8 | 9 | IMPORTS GenericData 10 | FROM H323-MESSAGES; 11 | 12 | SrtpCryptoCapability ::= 13 | SEQUENCE OF SrtpCryptoInfo -- used in H.245 genericH235SecurityCapability 14 | 15 | SrtpCryptoInfo ::= SEQUENCE { 16 | cryptoSuite OBJECT IDENTIFIER OPTIONAL, 17 | sessionParams SrtpSessionParameters OPTIONAL, 18 | allowMKI BOOLEAN OPTIONAL, 19 | ... 20 | } 21 | 22 | SrtpKeys ::= SEQUENCE OF SrtpKeyParameters -- used in H.235 V3KeySyncMaterial 23 | 24 | SrtpKeyParameters ::= SEQUENCE { 25 | masterKey OCTET STRING, 26 | masterSalt OCTET STRING, 27 | lifetime CHOICE {powerOfTwo INTEGER, 28 | specific INTEGER, 29 | ...} OPTIONAL, 30 | mki SEQUENCE {length INTEGER(1..128), 31 | value OCTET STRING, 32 | ...} OPTIONAL, 33 | ... 34 | } 35 | 36 | SrtpSessionParameters ::= SEQUENCE { 37 | kdr INTEGER(0..24) OPTIONAL, -- power of 2 38 | unencryptedSrtp BOOLEAN OPTIONAL, 39 | unencryptedSrtcp BOOLEAN OPTIONAL, 40 | unauthenticatedSrtp BOOLEAN OPTIONAL, 41 | fecOrder FecOrder OPTIONAL, 42 | windowSizeHint INTEGER(64..65535) OPTIONAL, 43 | newParameter SEQUENCE OF GenericData OPTIONAL, 44 | ... 45 | } 46 | 47 | FecOrder ::= SEQUENCE { 48 | fecBeforeSrtp NULL OPTIONAL, 49 | fecAfterSrtp NULL OPTIONAL, 50 | ... 51 | } 52 | 53 | END 54 | 55 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 56 | 57 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h323_2003-amd2_RAS-PROTOCOL-TUNNEL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module RAS-PROTOCOL-TUNNEL (H.323:07/2003) 9 | -- See also ITU-T H.323 (2003) Amend. 2 (01/2005) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | RAS-PROTOCOL-TUNNEL DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | IMPORTS TunnelledProtocol, NonStandardParameter 16 | FROM H323-MESSAGES; 17 | 18 | RasTunnelledSignallingMessage ::= SEQUENCE { 19 | tunnelledProtocolID TunnelledProtocol, -- tunnelled signalling protocol ID 20 | messageContent SEQUENCE OF OCTET STRING, -- sequence of entire message(s) 21 | tunnellingRequired NULL OPTIONAL, 22 | nonStandardData NonStandardParameter OPTIONAL, 23 | ... 24 | } 25 | 26 | END 27 | 28 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 29 | 30 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h323_2006_RAS-PROTOCOL-TUNNEL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module RAS-PROTOCOL-TUNNEL (H.323:06/2006) 9 | -- See also ITU-T H.323 (06/2006) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | RAS-PROTOCOL-TUNNEL DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | IMPORTS TunnelledProtocol, NonStandardParameter 16 | FROM H323-MESSAGES; 17 | 18 | RasTunnelledSignallingMessage ::= SEQUENCE { 19 | tunnelledProtocolID TunnelledProtocol, -- tunnelled signalling protocol ID 20 | messageContent SEQUENCE OF OCTET STRING, -- sequence of entire message(s) 21 | tunnellingRequired NULL OPTIONAL, 22 | nonStandardData NonStandardParameter OPTIONAL, 23 | ... 24 | } 25 | 26 | END 27 | 28 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 29 | 30 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h323_2009_RAS-PROTOCOL-TUNNEL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | RAS-PROTOCOL-TUNNEL DEFINITIONS AUTOMATIC TAGS ::= 8 | BEGIN 9 | 10 | IMPORTS 11 | TunnelledProtocol, NonStandardParameter 12 | FROM H323-MESSAGES; 13 | 14 | RasTunnelledSignallingMessage ::= SEQUENCE { 15 | tunnelledProtocolID TunnelledProtocol, -- tunnelled signalling protocol ID 16 | messageContent SEQUENCE OF OCTET STRING, -- sequence of entire message(s) 17 | tunnellingRequired NULL OPTIONAL, 18 | nonStandardData NonStandardParameter OPTIONAL, 19 | ... 20 | } 21 | 22 | END 23 | 24 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 25 | 26 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h450.1_1998_H225-generic-parameters-definition.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module H225-generic-parameters-definition (H.450.1:02/1998) 9 | -- See also ITU-T H.450.1 (02/1998) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | H225-generic-parameters-definition {itu-t recommendation h 450 1 version1(0) 13 | h225-generic-parameters(6)} DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | H225InformationElement ::= OCTET STRING 17 | 18 | END -- of H225 Generic parameters definition 19 | 20 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 21 | 22 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h450.1_1998_Manufacturer-specific-service-extension-definition.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Manufacturer-specific-service-extension-definition (H.450.1:02/1998) 9 | -- See also ITU-T H.450.1 (02/1998) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Manufacturer-specific-service-extension-definition {itu-t recommendation 13 | h 450 1 version1(0) msi-definition(18)} DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | EXTENSION ::= CLASS {&ArgumentType , 17 | &extensionId OBJECT IDENTIFIER 18 | }WITH SYNTAX {ARGUMENT &ArgumentType 19 | IDENTIFIER &extensionId 20 | } 21 | 22 | Extension{EXTENSION:ExtensionSet} ::= SEQUENCE { 23 | extensionId EXTENSION.&extensionId({ExtensionSet}), 24 | extensionArgument EXTENSION.&ArgumentType({ExtensionSet}{@extensionId}) 25 | } 26 | 27 | -- ExtensionSet is a set of objects of class EXTENSION. 28 | -- Actual values of ExtensionSet are defined by the individual manufacturers. 29 | -- Element extensionId is constrained to be the identifier of an object from that set. 30 | -- Element extensionArgument is constrained to be the argument type for that particular 31 | -- object. 32 | END -- of Manufacturer-specific-service-extension-definition 33 | 34 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 35 | 36 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h450.1_2011_H225-generic-parameters-definition.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module H225-generic-parameters-definition (H.450.1:05/2011) 10 | -- See also ITU-T H.450.1 (05/2011) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | H225-generic-parameters-definition {itu-t recommendation h 450 1 version2(1) 14 | h225-generic-parameters(6)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | H225InformationElement ::= OCTET STRING 18 | 19 | END -- of H225 Generic parameters definition 20 | 21 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 22 | 23 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h450.1_2011_Manufacturer-specific-service-extension-definition.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Manufacturer-specific-service-extension-definition (H.450.1:05/2011) 10 | -- See also ITU-T H.450.1 (05/2011) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Manufacturer-specific-service-extension-definition {itu-t recommendation 14 | h 450 1 version2(1) msi-definition(18)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | EXTENSION ::= CLASS {&ArgumentType , 18 | &extensionId OBJECT IDENTIFIER 19 | }WITH SYNTAX {ARGUMENT &ArgumentType 20 | IDENTIFIER &extensionId 21 | } 22 | 23 | Extension{EXTENSION:ExtensionSet} ::= SEQUENCE { 24 | extensionId EXTENSION.&extensionId({ExtensionSet}), 25 | extensionArgument EXTENSION.&ArgumentType({ExtensionSet}{@extensionId}) 26 | } 27 | 28 | -- ExtensionSet is a set of objects of class EXTENSION. 29 | -- Actual values of ExtensionSet are defined by the individual manufacturers. 30 | -- Element extensionId is constrained to be the identifier of an object from that set. 31 | -- Element extensionArgument is constrained to be the argument type for that particular 32 | -- object. 33 | END -- of Manufacturer-specific-service-extension-definition 34 | 35 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 36 | 37 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h450.6_1999_Call-Waiting-Operations.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Call-Waiting-Operations (H.450.6:05/1999) 9 | -- See also ITU-T H.450.6 (05/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Call-Waiting-Operations {itu-t recommendation h 450 6 version1(0) 13 | call-waiting-operations(0)} DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | OPERATION, ERROR 18 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 19 | remote-operations(4) informationObjects(5) version1(0)} 20 | EXTENSION, Extension{} 21 | FROM Manufacturer-specific-service-extension-definition {itu-t 22 | recommendation h 450 1 version1(0) msi-definition(18)} 23 | MixedExtension 24 | FROM Call-Hold-Operations {itu-t recommendation h 450 4 version1(0) 25 | call-hold-operations(0)}; 26 | 27 | CallWaitingOperations OPERATION ::= {callWaiting} 28 | 29 | callWaiting OPERATION ::= 30 | { -- sent from served endpoint to the calling endpoint in ALERTING message 31 | ARGUMENT CallWaitingArg 32 | OPTIONAL TRUE 33 | RETURN RESULT FALSE 34 | ALWAYS RESPONDS FALSE 35 | CODE local:105 36 | } 37 | 38 | CallWaitingArg ::= SEQUENCE { 39 | nbOfAddWaitingCalls INTEGER(0..255) OPTIONAL, 40 | -- indicates the number of waiting calls at the served user 41 | -- in addition to the call to which this operation applies. 42 | extensionArg SEQUENCE SIZE (0..255) OF MixedExtension OPTIONAL, 43 | ... 44 | } 45 | 46 | END -- of Call-Waiting-Operations 47 | 48 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 49 | 50 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.10_2004_CALL-PARTY-CATEGORY.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module CALL-PARTY-CATEGORY (H.460.10:03/2004) 9 | -- See also ITU-T H.460.10 (03/2004) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | CALL-PARTY-CATEGORY DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | CallPartyCategoryInfo ::= SEQUENCE { 16 | callPartyCategory CallPartyCategory OPTIONAL, 17 | originatingLineInfo OriginatingLineInfo OPTIONAL, 18 | ... 19 | } 20 | 21 | CallPartyCategory ::= INTEGER(0..255) 22 | 23 | OriginatingLineInfo ::= INTEGER(0..255) 24 | 25 | END 26 | 27 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.14_2004_MLPP.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module MLPP (H.460.14:03/2004) 9 | -- See also ITU-T H.460.14 (03/2004) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | MLPP DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | IMPORTS 16 | CallIdentifier, AliasAddress 17 | FROM H323-MESSAGES; -- defined in H.225.0, Annex H 18 | 19 | MLPPInfo ::= SEQUENCE -- root for MLPP data ASN.1 20 | { 21 | precedence MlppPrecedence OPTIONAL, 22 | mlppReason MlppReason OPTIONAL, 23 | mlppNotification MlppNotification OPTIONAL, 24 | alternateParty AlternateParty OPTIONAL, 25 | releaseCall ReleaseCall OPTIONAL, 26 | ... 27 | } 28 | 29 | MlppPrecedence ::= ENUMERATED { 30 | flashOveride(0), flash(1), immediate(2), priority(3), routine(4), ... 31 | } 32 | 33 | MlppReason ::= 34 | ENUMERATED -- Indicates reasons that call is refused or released. 35 | {preemptionNoReservation(8), preemptionReservation(9), callBlocked(46), ... 36 | } 37 | 38 | MlppNotification ::= 39 | CHOICE 40 | -- Provides various notification events in Call Signalling messages 41 | { 42 | preemptionPending NULL, 43 | preemptionInProgress NULL, 44 | preemptionEnd NULL, 45 | preemptionComplete NULL, 46 | ... 47 | } 48 | 49 | AlternateParty ::= SEQUENCE { 50 | altID AliasAddress, 51 | altTimer INTEGER(0..255) OPTIONAL, --seconds 52 | ... 53 | } 54 | 55 | ReleaseCall ::= SEQUENCE 56 | -- Identifies other call to be preempted first 57 | { 58 | preemptCallID CallIdentifier, 59 | releaseReason MlppReason, 60 | releaseDelay INTEGER(0..255) OPTIONAL, --seconds to wait 61 | ... 62 | } 63 | 64 | END 65 | 66 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 67 | 68 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.15_2004_SIGNALLING-CHANNEL-SUSPEND-REDIRECT.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SIGNALLING-CHANNEL-SUSPEND-REDIRECT (H.460.15:03/2004) 9 | -- See also ITU-T H.460.15 (03/2004) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SIGNALLING-CHANNEL-SUSPEND-REDIRECT DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | IMPORTS TransportAddress 16 | FROM H323-MESSAGES; 17 | 18 | SignallingChannelData ::= SEQUENCE { 19 | signallingChannelData 20 | CHOICE {channelSuspendRequest ChannelSuspendRequest, 21 | channelSuspendResponse ChannelSuspendResponse, 22 | channelSuspendConfirm ChannelSuspendConfirm, 23 | channelSuspendCancel ChannelSuspendCancel, 24 | channelResumeRequest ChannelResumeRequest, 25 | channelResumeResponse ChannelResumeResponse, 26 | ...}, 27 | ... 28 | } 29 | 30 | ChannelSuspendRequest ::= SEQUENCE { 31 | channelResumeAddress SEQUENCE OF TransportAddress, 32 | immediateResume BOOLEAN, 33 | resetH245 NULL OPTIONAL, 34 | ... 35 | } 36 | 37 | ChannelSuspendResponse ::= SEQUENCE { 38 | okToSuspend BOOLEAN, 39 | channelResumeAddress SEQUENCE OF TransportAddress, 40 | ... 41 | } 42 | 43 | ChannelSuspendConfirm ::= SEQUENCE {... 44 | } 45 | 46 | ChannelSuspendCancel ::= SEQUENCE {... 47 | } 48 | 49 | ChannelResumeRequest ::= SEQUENCE { 50 | randomNumber INTEGER(0..4294967295), 51 | resetH245 NULL OPTIONAL, 52 | ... 53 | } 54 | 55 | ChannelResumeResponse ::= SEQUENCE {... 56 | } 57 | 58 | END -- of ASN.1 59 | 60 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 61 | 62 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.18_2005_SIGNALLING-TRAVERSAL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SIGNALLING-TRAVERSAL (H.460.18:09/2005) 9 | -- See also ITU-T H.460.18 (09/2005) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SIGNALLING-TRAVERSAL {itu-t(0) recommendation(0) h(8) 460 18 version(0) 1} 13 | DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS CallIdentifier, TimeToLive, TransportAddress 17 | FROM H323-MESSAGES; 18 | 19 | IncomingCallIndication ::= SEQUENCE { 20 | callSignallingAddress TransportAddress, 21 | callID CallIdentifier, 22 | ... 23 | } 24 | 25 | LRQKeepAliveData ::= SEQUENCE { 26 | lrqKeepAliveInterval TimeToLive, -- keep-alive interval (seconds) 27 | ... 28 | } 29 | 30 | END 31 | 32 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 33 | 34 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.18_2013_SIGNALLING-TRAVERSAL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module SIGNALLING-TRAVERSAL (H.460.18:03/2013) 10 | -- See also ITU-T H.460.18 (03/2013) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | SIGNALLING-TRAVERSAL {itu-t(0) recommendation(0) h(8) 460 18 version(0) 1} 14 | DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | IMPORTS CallIdentifier, TimeToLive, TransportAddress 18 | FROM H323-MESSAGES; 19 | 20 | IncomingCallIndication ::= SEQUENCE { 21 | callSignallingAddress TransportAddress, 22 | callID CallIdentifier, 23 | ... 24 | } 25 | 26 | LRQKeepAliveData ::= SEQUENCE { 27 | lrqKeepAliveInterval TimeToLive, -- keep-alive interval (seconds) 28 | ... 29 | } 30 | 31 | END -- of ASN.1 32 | 33 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 34 | 35 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.19_2005_MEDIA-TRAVERSAL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module MEDIA-TRAVERSAL (H.460.19:09/2005) 9 | -- See also ITU-T H.460.19 (09/2005) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | MEDIA-TRAVERSAL {itu-t(0) recommendation(0) h(8) 460 19 version(0) 1} 13 | DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | TimeToLive 18 | FROM H323-MESSAGES 19 | TransportAddress 20 | FROM MULTIMEDIA-SYSTEM-CONTROL; 21 | 22 | TraversalParameters ::= SEQUENCE { 23 | multiplexedMediaChannel TransportAddress OPTIONAL, 24 | multiplexedMediaControlChannel TransportAddress OPTIONAL, 25 | multiplexID INTEGER(0..4294967295) OPTIONAL, 26 | keepAliveChannel TransportAddress OPTIONAL, 27 | keepAlivePayloadType INTEGER(0..127) OPTIONAL, 28 | keepAliveInterval TimeToLive OPTIONAL, 29 | ... 30 | } 31 | 32 | END 33 | 34 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 35 | 36 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.19_2013_MEDIA-TRAVERSAL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module MEDIA-TRAVERSAL (H.460.19:03/2013) 10 | -- See also ITU-T H.460.19 (03/2013) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | MEDIA-TRAVERSAL {itu-t(0) recommendation(0) h(8) 460 19 version(0) 1} 14 | DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | TimeToLive 19 | FROM H323-MESSAGES 20 | TransportAddress 21 | FROM MULTIMEDIA-SYSTEM-CONTROL; 22 | 23 | TraversalParameters ::= SEQUENCE { 24 | multiplexedMediaChannel TransportAddress OPTIONAL, 25 | multiplexedMediaControlChannel TransportAddress OPTIONAL, 26 | multiplexID INTEGER(0..4294967295) OPTIONAL, 27 | keepAliveChannel TransportAddress OPTIONAL, 28 | keepAlivePayloadType INTEGER(0..127) OPTIONAL, 29 | keepAliveInterval TimeToLive OPTIONAL, 30 | ... 31 | } 32 | 33 | END 34 | 35 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 36 | 37 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.21_2006_MESSAGE-BROADCAST.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module MESSAGE-BROADCAST (H.460.21:05/2006) 9 | -- See also ITU-T H.460.21 (05/2006) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | MESSAGE-BROADCAST DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | IMPORTS 16 | MulticastAddress, UnicastAddress, Capability 17 | FROM MULTIMEDIA-SYSTEM-CONTROL; 18 | 19 | CapabilityAdvertisement ::= SEQUENCE { 20 | receiveCapabilities ReceiveCapabilities OPTIONAL, 21 | transmitCapabilities SEQUENCE SIZE (1..256) OF TransmitCapabilities OPTIONAL, 22 | ... 23 | } 24 | 25 | ReceiveCapabilities ::= SEQUENCE { 26 | capabilities SEQUENCE SIZE (1..256) OF Capability, 27 | maxGroups INTEGER(1..65535), 28 | ... 29 | } 30 | 31 | GloballyUniqueID ::= OCTET STRING(SIZE (16)) 32 | 33 | TransmitCapabilities ::= SEQUENCE { 34 | groupIdentifer GloballyUniqueID, 35 | capability Capability, 36 | sourceAddress UnicastAddress, 37 | ... 38 | } 39 | 40 | MessageBroadcastGroups ::= SEQUENCE SIZE (1..256) OF GroupAttributes 41 | 42 | GroupAttributes ::= SEQUENCE { 43 | priority INTEGER(0..255), -- 0 = high, 255 = low 44 | groupIdentifer GloballyUniqueID OPTIONAL, 45 | capability Capability, 46 | groupAddress MulticastAddress, 47 | sourceAddress UnicastAddress OPTIONAL, 48 | alertUser BOOLEAN, 49 | ... 50 | } 51 | 52 | END 53 | 54 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 55 | 56 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.24_2011-amd1_MEDIA-TRAVERSAL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module MEDIA-TRAVERSAL (H.460.24:05/2011) 10 | -- See also ITU-T H.460.24 (2009) Amd. 1 (05/2011) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | MEDIA-TRAVERSAL {itu-t(0) recommendation(0) h(8) 460 24 2 asn1-module(1)} 14 | DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | TransportAddress 19 | FROM MULTIMEDIA-SYSTEM-CONTROL {itu-t(0) recommendation(0) h(8) h245(245) 20 | version(0) 15 multimedia-system-control(0)}; -- See Rec. ITU-T H.245 21 | 22 | AlternateAddresses ::= SEQUENCE {addresses SEQUENCE OF AlternateAddress, 23 | ... 24 | } 25 | 26 | AlternateAddress ::= SEQUENCE { 27 | sessionID INTEGER(0..255), 28 | sessionCUI IA5String OPTIONAL, 29 | rtpAddress TransportAddress OPTIONAL, 30 | rtcpAddress TransportAddress OPTIONAL, 31 | ... 32 | } 33 | 34 | END 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.24_2011-amd2_MEDIA-TRAVERSAL.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module MEDIA-TRAVERSAL (H.406.24:03/2013) 10 | -- See also ITU-T H.460.24 (2009) Amd. 2 (03/2013) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | MEDIA-TRAVERSAL {itu-t(0) recommendation(0) h(8) 460 24 2 asn1-module(1)} 14 | DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | IMPORTS TransportAddress 18 | FROM MULTIMEDIA-SYSTEM-CONTROL -- See Rec. ITU-T H.245 19 | ; 20 | 21 | AlternateAddresses ::= SEQUENCE {addresses SEQUENCE OF AlternateAddress, 22 | ... 23 | } 24 | 25 | AlternateAddress ::= SEQUENCE { 26 | sessionID INTEGER(0..255), 27 | sessionCUI IA5String OPTIONAL, 28 | rtpAddress TransportAddress OPTIONAL, 29 | rtcpAddress TransportAddress OPTIONAL, 30 | ..., 31 | multiplexID INTEGER(0..4294967295) OPTIONAL 32 | } 33 | 34 | END 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.26_2012_MEDIA-OVER-H2250.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module MEDIA-OVER-H2250 (H.460.26:06/2012) 10 | -- See also ITU-T H.460.26 (06/2012) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | MEDIA-OVER-H2250 {itu-t(0) recommendation(0) h(8) 460 26 version(0) 1 14 | media-over-h2250(0)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | FrameData ::= CHOICE { 18 | rtp OCTET STRING(SIZE (12..1500)), 19 | rtcp OCTET STRING(SIZE (1..1500)) 20 | } 21 | 22 | UDPFrame ::= SEQUENCE { 23 | sessionId INTEGER(0..255), 24 | dataFrame BOOLEAN, 25 | frame SEQUENCE OF FrameData 26 | } 27 | 28 | END 29 | 30 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 31 | 32 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.2_2001_NUMBER-PORTABILITY.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module NUMBER-PORTABILITY (H.460.2:07/2001) 9 | -- See also ITU-T H.460.2 (07/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | NUMBER-PORTABILITY DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | IMPORTS 16 | PublicTypeOfNumber, PrivateTypeOfNumber, AliasAddress 17 | FROM H323-MESSAGES; 18 | 19 | NumberPortabilityInfo ::= CHOICE { 20 | numberPortabilityRejectReason NumberPortabilityRejectReason, 21 | nUMBERPORTABILITYDATA 22 | SEQUENCE {addressTranslated NULL OPTIONAL, 23 | portedAddress PortabilityAddress OPTIONAL, 24 | routingAddress PortabilityAddress OPTIONAL, 25 | regionalParams RegionalParameters OPTIONAL, 26 | ...}, 27 | ... 28 | } 29 | 30 | NumberPortabilityRejectReason ::= CHOICE { 31 | unspecified NULL, 32 | qorPortedNumber NULL, 33 | ... 34 | } 35 | 36 | PortabilityAddress ::= SEQUENCE { 37 | aliasAddress AliasAddress, 38 | typeOfAddress NumberPortabilityTypeOfNumber OPTIONAL, 39 | ... 40 | } 41 | 42 | NumberPortabilityTypeOfNumber ::= CHOICE { 43 | publicTypeOfNumber PublicTypeOfNumber, 44 | privateTypeOfNumber PrivateTypeOfNumber, 45 | portabilityTypeOfNumber PortabilityTypeOfNumber, 46 | ... 47 | } 48 | 49 | PortabilityTypeOfNumber ::= CHOICE { 50 | portedNumber NULL, 51 | routingNumber NULL, 52 | concatenatedNumber NULL, 53 | ... 54 | } 55 | 56 | RegionalParameters ::= SEQUENCE { 57 | t35CountryCode INTEGER(0..255), 58 | t35Extension INTEGER(0..255), 59 | variantIdentifier INTEGER(1..255) OPTIONAL, 60 | regionalData OCTET STRING, 61 | ... 62 | } 63 | 64 | END 65 | 66 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 67 | 68 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.2_2013_NUMBER-PORTABILITY.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module NUMBER-PORTABILITY (H.460.2:03/2013) 10 | -- See also ITU-T H.460.2 (03/2013) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | NUMBER-PORTABILITY DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | PublicTypeOfNumber, PrivateTypeOfNumber, AliasAddress 18 | FROM H323-MESSAGES; 19 | 20 | NumberPortabilityInfo ::= CHOICE { 21 | numberPortabilityRejectReason NumberPortabilityRejectReason, 22 | nUMBERPORTABILITYDATA 23 | SEQUENCE {addressTranslated NULL OPTIONAL, 24 | portedAddress PortabilityAddress OPTIONAL, 25 | routingAddress PortabilityAddress OPTIONAL, 26 | regionalParams RegionalParameters OPTIONAL, 27 | ...}, 28 | ... 29 | } 30 | 31 | NumberPortabilityRejectReason ::= CHOICE { 32 | unspecified NULL, 33 | qorPortedNumber NULL, 34 | ... 35 | } 36 | 37 | PortabilityAddress ::= SEQUENCE { 38 | aliasAddress AliasAddress, 39 | typeOfAddress NumberPortabilityTypeOfNumber OPTIONAL, 40 | ... 41 | } 42 | 43 | NumberPortabilityTypeOfNumber ::= CHOICE { 44 | publicTypeOfNumber PublicTypeOfNumber, 45 | privateTypeOfNumber PrivateTypeOfNumber, 46 | portabilityTypeOfNumber PortabilityTypeOfNumber, 47 | ... 48 | } 49 | 50 | PortabilityTypeOfNumber ::= CHOICE { 51 | portedNumber NULL, 52 | routingNumber NULL, 53 | concatenatedNumber NULL, 54 | ... 55 | } 56 | 57 | RegionalParameters ::= SEQUENCE { 58 | t35CountryCode INTEGER(0..255), 59 | t35Extension INTEGER(0..255), 60 | variantIdentifier INTEGER(1..255) OPTIONAL, 61 | regionalData OCTET STRING, 62 | ... 63 | } 64 | 65 | END 66 | 67 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 68 | 69 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.3_2002_CIRCUIT-STATUS-MAP.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module CIRCUIT-STATUS-MAP (H.460.3:11/2002) 9 | -- See also ITU-T H.460.3 (11/2002) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | CIRCUIT-STATUS-MAP DEFINITIONS AUTOMATIC TAGS ::= 13 | BEGIN 14 | 15 | IMPORTS CircuitIdentifier 16 | FROM H323-MESSAGES; 17 | 18 | CircuitStatus ::= SEQUENCE -- root for Circuit Status Map ASN.1 19 | { 20 | circuitStatusMap SEQUENCE OF CircuitStatusMap OPTIONAL, 21 | ... 22 | } 23 | 24 | CircuitStatusMap ::= SEQUENCE { 25 | statusType CircuitStatusType, 26 | baseCircuitID CircuitIdentifier, 27 | range INTEGER(0..4095), 28 | status OCTET STRING, 29 | ... 30 | } 31 | 32 | CircuitStatusType ::= CHOICE { 33 | serviceStatus NULL, -- status: 0 = out-of-service, 1 = in-service 34 | busyStatus NULL, -- status: 0 = free, 1 = in-use 35 | ... 36 | } 37 | 38 | END 39 | 40 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 41 | 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_h_h460.4_2002_CALL-PRIORITY.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module CALL-PRIORITY (H.460.4:11/2002) 9 | -- See also ITU-T H.460.4 (11/2002) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | CALL-PRIORITY {itu-t(0) recommendation(0) h(8) 460 4 version(0)} DEFINITIONS 13 | AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS ClearToken, CryptoToken 17 | FROM H235-SECURITY-MESSAGES; 18 | 19 | CallPriorityInfo ::= SEQUENCE -- root for Call Priority related asn.1 20 | { 21 | priorityValue 22 | CHOICE {emergencyAuthorized NULL, 23 | emergencyPublic NULL, 24 | high NULL, 25 | normal NULL, 26 | ...}, 27 | priorityExtension INTEGER(0..255) OPTIONAL, 28 | tokens SEQUENCE OF ClearToken OPTIONAL, 29 | cryptoTokens SEQUENCE OF CryptoToken OPTIONAL, 30 | rejectReason 31 | CHOICE {priorityUnavailable NULL, 32 | priorityUnauthorized NULL, 33 | priorityValueUnknown NULL, 34 | ...} OPTIONAL, -- Only used in CallPriorityConfirm 35 | ... 36 | } 37 | 38 | END -- of ASN.1 39 | 40 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 41 | 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_m_m3100_1995_M3100ASN1TypeModule5.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module M3100ASN1TypeModule5 (M.3100:07/1995) 9 | -- See also ITU-T M.3100 (07/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | M3100ASN1TypeModule5 {itu-t recommendation m gnm(3100) informationModel(0) 13 | asn1Modules(2) asn1Module5(4)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS everything 17 | IMPORTS 18 | ObjectInstance 19 | FROM CMIP-1 {joint-iso-itu-t ms(9) cmip(1) modules(0) protocol(3)} 20 | ManagementExtension, AdditionalInformation 21 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 22 | asn1Module(2) 1} 23 | Failed, PointerOrNull 24 | FROM ASN1DefinedTypesModule {itu-t recommendation m gnm(3100) 25 | informationModel(0) asn1Modules(2) asn1DefinedTypesModule(0)}; 26 | 27 | BridgeRollArg ::= 28 | SEQUENCE OF 29 | SEQUENCE {xc ObjectInstance, 30 | bridgeRollFromTp ObjectInstance, 31 | bridgeRollToTp ObjectInstance, 32 | bridgeRollOperation 33 | ENUMERATED {bridge(0), roll(1), releaseBridge(2), ... 34 | }, 35 | additionalInfo SET OF ManagementExtension OPTIONAL 36 | } 37 | 38 | BridgeRollReply ::= 39 | SEQUENCE OF 40 | CHOICE {bridgeFailed [0] Failed, 41 | bridgeRollResult [1] PointerOrNull} 42 | 43 | END 44 | 45 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 46 | 47 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_m_m3100_2005_M3100ASN1TypeModule5.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module M3100ASN1TypeModule5 (M.3100:04/2005) 9 | -- See also ITU-T M.3100 (04/2005) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | M3100ASN1TypeModule5 {itu-t recommendation m gnm(3100) informationModel(0) 13 | asn1Modules(2) asn1Module5(4)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS everything 17 | IMPORTS 18 | ObjectInstance 19 | FROM CMIP-1 {joint-iso-itu-t ms(9) cmip(1) modules(0) protocol(3)} 20 | ManagementExtension, AdditionalInformation 21 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 22 | asn1Module(2) 1} 23 | Failed, PointerOrNull 24 | FROM ASN1DefinedTypesModule {itu-t recommendation m gnm(3100) 25 | informationModel(0) asn1Modules(2) asn1DefinedTypesModule(0)}; 26 | 27 | BridgeRollArg ::= 28 | SEQUENCE OF 29 | SEQUENCE {xc ObjectInstance, 30 | bridgeRollFromTp ObjectInstance, 31 | bridgeRollToTp ObjectInstance, 32 | bridgeRollOperation 33 | ENUMERATED {bridge(0), roll(1), releaseBridge(2), ... 34 | }, 35 | additionalInfo SET OF ManagementExtension OPTIONAL 36 | } 37 | 38 | BridgeRollReply ::= 39 | SEQUENCE OF 40 | CHOICE {bridgeFailed [0] Failed, 41 | bridgeRollResult [1] PointerOrNull} 42 | 43 | END 44 | 45 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 46 | 47 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_m_m3100_2005_M3100ASN1TypeModule7.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module M3100ASN1TypeModule7 (M.3100:04/2005) 9 | -- See also ITU-T M.3100 (04/2005) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | M3100ASN1TypeModule7 {itu-t recommendation m gnm(3100) informationModel(0) 13 | asn1Modules(2) asn1Module7(6)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS everything 17 | -- IMPORTS nothing 18 | AttributeChoiceInteger ::= SEQUENCE { 19 | attributeName GraphicString, 20 | minimumValue INTEGER, 21 | maximumValue INTEGER, 22 | granularity INTEGER 23 | } 24 | 25 | AttributeChoiceReal ::= SEQUENCE { 26 | attributeName GraphicString, 27 | minimumValue REAL, 28 | maximumValue REAL 29 | } 30 | 31 | Kind ::= GraphicString 32 | 33 | ManagedElementType ::= 34 | SET OF CHOICE {meTypeString GraphicString, 35 | meTypeOID OBJECT IDENTIFIER} 36 | 37 | ModelCode ::= GraphicString 38 | 39 | NeAliases ::= SET OF GraphicString 40 | 41 | PortIDType ::= SEQUENCE { 42 | managedElement [0] GraphicString, 43 | bay [1] GraphicString OPTIONAL, 44 | shelf [2] GraphicString OPTIONAL, 45 | drawer [3] GraphicString OPTIONAL, 46 | slot [4] GraphicString OPTIONAL, 47 | port [5] GraphicString 48 | } 49 | 50 | Ranges ::= 51 | SET OF 52 | CHOICE {integerRange [0] AttributeChoiceInteger, 53 | realRange [1] AttributeChoiceReal} 54 | 55 | END 56 | 57 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 58 | 59 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1218_1995_IN-CS-1-Codes-appendix.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IN-CS-1-Codes-appendix (Q.1218:10/1995) 9 | -- See also ITU-T Q.1218 (10/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IN-CS-1-Codes-appendix {itu-t recommendation q 1218 modules(0) 13 | cs-1-codes-app(7) version1(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- OPERATION AND ERROR CODE ASSIGNMENTS FOR THE IN CS-1 PROTOCOL FOLLOW 17 | IMPORTS 18 | OPERATION, Code 19 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 20 | remote-operations(4) informationObjects(5) version1(0)}; 21 | 22 | -- OPERATION AND ERROR CODE DEFINITION 23 | -- Code point values are for further study. The operations are grouped by the identified ASEs. 24 | -- Call party handling ASE 25 | op-addParty Code ::= 26 | local:1 27 | 28 | op-changeParties Code ::= local:2 29 | 30 | op-holdCallPartyConnection Code ::= local:3 31 | 32 | op-reconnect Code ::= local:4 33 | 34 | op-releaseCallPartyConnection Code ::= local:5 35 | 36 | op-attach Code ::= local:6 37 | 38 | op-detach Code ::= local:7 39 | 40 | -- ERROR codes 41 | err-tooLate Code ::= local:19 42 | 43 | err-legIDAlreadyAssigned Code ::= local:20 44 | 45 | err-dataunavailable Code ::= local:21 46 | 47 | err-dataAlreadyExists Code ::= local:22 48 | 49 | END 50 | 51 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 52 | 53 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1218_1995_IN-CS-1-Errors-appendix.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IN-CS-1-Errors-appendix (Q.1218:10/1995) 9 | -- See also ITU-T Q.1218 (10/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IN-CS-1-Errors-appendix {itu-t recommendation q 1218 modules(0) 13 | cs-1-errors-app(5) version1(0)} 14 | -- This module contains additional type definitions for the IN CS-1 errors. 15 | DEFINITIONS IMPLICIT TAGS ::= 16 | BEGIN 17 | 18 | IMPORTS 19 | ERROR 20 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 21 | remote-operations(4) informationObjects(5) version1(0)} 22 | -- err codes 23 | err-legIDAlreadyAssigned, err-tooLate, err-dataunavailable, 24 | err-dataAlreadyExists 25 | FROM IN-CS-1-Codes-appendix {itu-t recommendation q 1218 modules(0) 26 | cs-1-codes-app(7) version1(0)}; 27 | 28 | -- TYPE DEFINITION FOR IN CS-1 ERRORS FOLLOWS 29 | legIDAlreadyAssigned ERROR ::= {CODE err-legIDAlreadyAssigned 30 | } 31 | 32 | -- Indicates that a legID has already been assigned with the requested value. 33 | tooLate ERROR ::= {CODE err-tooLate 34 | } 35 | 36 | dataUnavailable ERROR ::= {CODE err-dataunavailable 37 | } 38 | 39 | dataAlreadyExists ERROR ::= {CODE err-dataAlreadyExists 40 | } 41 | 42 | -- Indicates that the operation could not be performed in a timely manner. 43 | -- UnknownLegID ERROR ::= { 44 | -- CODE err-unknownLegID 45 | -- } 46 | -- Indicates that the legID does not exist. Already defined in IN-CS-1-Errors... 47 | END 48 | 49 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 50 | 51 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1218_1995_IN-Contexts.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IN-Contexts (Q.1218:10/1995) 9 | -- See also ITU-T Q.1218 (10/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IN-Contexts {itu-t recommendation q 1218 modules(0) contexts(8) 13 | selectedContexts(1) version(1)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | ub-international-isdn-number 18 | FROM UpperBounds {joint-iso-itu-t ds(5) module(1) upperBounds(10) 3} 19 | informationFramework 20 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 21 | usefulDefinitions(0) 3} 22 | CONTEXT 23 | FROM InformationFramework {joint-iso-itu-t ds(5) module(1) 24 | informationFramework(1) 3}; 25 | 26 | basicServiceContext CONTEXT ::= { 27 | WITH SYNTAX BasicService 28 | ID id-avc-basicService 29 | } 30 | 31 | BasicService ::= INTEGER { 32 | telephony(1), faxGroup2-3(2), faxGroup4(3), teletexBasicAndMixed(4), 33 | teletexBasicAndProcessable(5), teletexBasic(6), syntaxBasedVideotex(7), 34 | internationalVideotex(8), telex(9), messageHandlingSystems(10), 35 | osiApplication(11), audioVisual(12)} 36 | 37 | lineIdentityContext CONTEXT ::= { 38 | WITH SYNTAX IsdnAddress 39 | ID id-avc-lineIdentity 40 | } 41 | 42 | AddressString{INTEGER:ub-max-value} ::= NumericString(SIZE (1..ub-max-value)) 43 | 44 | IsdnAddress ::= AddressString{ub-international-isdn-number} 45 | 46 | id-avc-basicService OBJECT IDENTIFIER ::= {id-avc 30} 47 | 48 | id-avc-lineIdentity OBJECT IDENTIFIER ::= {id-avc 31} 49 | 50 | id-avc OBJECT IDENTIFIER ::= {itu-t recommendation q 1218 contexts(8)} 51 | 52 | END 53 | 54 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 55 | 56 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1218_1995_SDFProtocolObjectIdentifiers.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module SDFProtocolObjectIdentifiers (Q.1218:10/1995) 9 | -- See also ITU-T Q.1218 (10/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | SDFProtocolObjectIdentifiers {itu-t recommendation q 1218 module(0) 13 | sdfProtocolObjectIdentifiers(10) version1(0)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | -- EXPORTS All 17 | IMPORTS ; 18 | 19 | -- useful definitions 20 | in-ds OBJECT IDENTIFIER ::= 21 | {itu-t recommendation q 1218 sdf-objects(10)} 22 | 23 | id-rosObject OBJECT IDENTIFIER ::= {in-ds 25} 24 | 25 | id-contract OBJECT IDENTIFIER ::= {in-ds 26} 26 | 27 | id-package OBJECT IDENTIFIER ::= {in-ds 27} 28 | 29 | id-ac OBJECT IDENTIFIER ::= {in-ds 3} 30 | 31 | id-as OBJECT IDENTIFIER ::= {in-ds 5} 32 | 33 | -- ROS Objects 34 | id-rosObject-dua OBJECT IDENTIFIER ::= {id-rosObject 1} 35 | 36 | id-rosObject-directory OBJECT IDENTIFIER ::= {id-rosObject 2} 37 | 38 | id-rosObject-dapDSA OBJECT IDENTIFIER ::= {id-rosObject 3} 39 | 40 | -- contracts 41 | id-contract-dap OBJECT IDENTIFIER ::= {id-contract 1} 42 | 43 | -- packages 44 | id-package-search OBJECT IDENTIFIER ::= {id-package 2} 45 | 46 | id-package-modify OBJECT IDENTIFIER ::= {id-package 3} 47 | 48 | id-package-dapConnection OBJECT IDENTIFIER ::= {id-package 10} 49 | 50 | -- application contexts 51 | id-ac-directoryAccessAC OBJECT IDENTIFIER ::= 52 | {id-ac 1} 53 | 54 | -- abstract syntaxes 55 | id-as-directoryOperationsAS OBJECT IDENTIFIER ::= 56 | {id-as 1} 57 | 58 | id-as-directoryBindingAS OBJECT IDENTIFIER ::= {id-as 2} 59 | 60 | END 61 | 62 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 63 | 64 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1228_1997_IN-CS2-errorcodes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IN-CS2-errorcodes (Q.1228:09/1997) 9 | -- See also ITU-T Q.1228 (09/1997) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IN-CS2-errorcodes {itu-t recommendation q 1228 modules(0) in-cs2-errorcodes(3) 13 | version1(0)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | ros-InformationObjects 18 | FROM IN-CS2-object-identifiers {itu-t recommendation q 1228 modules(0) 19 | in-cs2-object-identifiers(17) version1(0)} 20 | Code 21 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 22 | remote-operations(4) informationObjects(5) version1(0)}; 23 | 24 | errcode-cancelled Code ::= local:0 25 | 26 | errcode-cancelFailed Code ::= local:1 27 | 28 | errcode-eTCFailed Code ::= local:3 29 | 30 | errcode-improperCallerResponse Code ::= local:4 31 | 32 | errcode-missingCustomerRecord Code ::= local:6 33 | 34 | errcode-missingParameter Code ::= local:7 35 | 36 | errcode-parameterOutOfRange Code ::= local:8 37 | 38 | errcode-requestedInfoError Code ::= local:10 39 | 40 | errcode-systemFailure Code ::= local:11 41 | 42 | errcode-taskRefused Code ::= local:12 43 | 44 | errcode-unavailableResource Code ::= local:13 45 | 46 | errcode-unexpectedComponentSequence Code ::= local:14 47 | 48 | errcode-unexpectedDataValue Code ::= local:15 49 | 50 | errcode-unexpectedParameter Code ::= local:16 51 | 52 | errcode-unknownLegID Code ::= local:17 53 | 54 | errcode-unknownResource Code ::= local:18 55 | 56 | -- Error codes for the new IN CS-2 error types follows 57 | errcode-scfReferral Code ::= 58 | local:21 59 | 60 | errcode-scfTaskRefused Code ::= local:22 61 | 62 | errcode-chainingRefused Code ::= local:23 63 | 64 | END 65 | 66 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 67 | 68 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1238.1_2000_IN-CS3-common-datatypes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IN-CS3-common-datatypes (Q.1238.1:06/2000) 9 | -- See also ITU-T Q.1238.1 (06/2000) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IN-CS3-common-datatypes {itu-t recommendation q 1238 modules(1) 13 | in-cs3-common-datatypes(1) version1(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | common-classes 18 | FROM IN-CS3-object-identifiers {itu-t recommendation q 1238 modules(1) 19 | in-cs3-object-identifiers(0) version1(0)} 20 | EXTENSION, COMMON-BOUNDS, SupportedExtensions 21 | FROM IN-CS3-common-classes {itu-t recommendation q 1238 modules(1) 22 | in-cs3-common-classes(5) version1(0)}; 23 | 24 | CriticalityType ::= ENUMERATED {ignore(0), abort(1)} 25 | 26 | Extensions{COMMON-BOUNDS:b1} ::= 27 | SEQUENCE SIZE (1..b1.&numOfExtensions) OF ExtensionField 28 | 29 | ExtensionField ::= SEQUENCE { 30 | type EXTENSION.&id({SupportedExtensions}), 31 | -- shall identify the value of an EXTENSION type 32 | criticality CriticalityType DEFAULT ignore, 33 | value [1] EXTENSION.&ExtensionType({SupportedExtensions}{@type}) 34 | } 35 | 36 | --This parameter indicates an extension of an argument data type. Its content is network operator specific 37 | Integer4 ::= INTEGER(0..2147483647) 38 | 39 | InvokeID ::= INTEGER(-128..127) 40 | 41 | UnavailableNetworkResource ::= ENUMERATED { 42 | unavailableResources(0), componentFailure(1), 43 | basicCallProcessingException(2), resourceStatusFailure(3), endUserFailure(4), 44 | screening(5)} 45 | 46 | -- Indicates the network resource that failed 47 | -- Note that in IN CS3 the screening value can only be used by the SCF. 48 | END 49 | 50 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 51 | 52 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1248.1_2001_IN-common-datatypes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IN-common-datatypes (Q.1248.1:07/2001) 9 | -- See also ITU-T Q.1248.1 (07/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IN-common-datatypes {itu-t recommendation q 1248 modules(1) 13 | in-common-datatypes(1) version1(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | common-classes 18 | FROM IN-object-identifiers {itu-t recommendation q 1248 modules(1) 19 | in-object-identifiers(0) version1(0)} 20 | EXTENSION, COMMON-BOUNDS, SupportedExtensions 21 | FROM IN-common-classes common-classes; 22 | 23 | CriticalityType ::= ENUMERATED {ignore(0), abort(1)} 24 | 25 | Extensions{COMMON-BOUNDS:b1} ::= 26 | SEQUENCE SIZE (1..b1.&numOfExtensions) OF ExtensionField 27 | 28 | ExtensionField ::= SEQUENCE { 29 | type EXTENSION.&id({SupportedExtensions}), 30 | -- shall identify the value of an EXTENSION type 31 | criticality CriticalityType DEFAULT ignore, 32 | value [1] EXTENSION.&ExtensionType({SupportedExtensions}{@type}) 33 | } 34 | 35 | --This parameter indicates an extension of an argument data type. Its content is network operator specific 36 | Integer4 ::= INTEGER(0..2147483647) 37 | 38 | InvokeID ::= INTEGER(-128..127) 39 | 40 | UnavailableNetworkResource ::= ENUMERATED { 41 | unavailableResources(0), componentFailure(1), 42 | basicCallProcessingException(2), resourceStatusFailure(3), endUserFailure(4), 43 | screening(5)} 44 | 45 | -- Indicates the network resource that failed 46 | -- Note that in IN CS4 the screening value can only be used by the SCF. 47 | END 48 | 49 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 50 | 51 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1248.1_2001_IN-errorcodes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IN-errorcodes (Q.1248.1:07/2001) 9 | -- See also ITU-T Q.1248.1 (07/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IN-errorcodes {itu-t recommendation q 1248 modules(1) in-errorcodes(4) 13 | version1(0)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | ros-InformationObjects 18 | FROM IN-object-identifiers {itu-t recommendation q 1248 modules(1) 19 | in-object-identifiers(0) version1(0)} 20 | Code 21 | FROM Remote-Operations-Information-Objects ros-InformationObjects; 22 | 23 | errcode-canceled Code ::= local:0 24 | 25 | errcode-cancelFailed Code ::= local:1 26 | 27 | errcode-eTCFailed Code ::= local:3 28 | 29 | errcode-improperCallerResponse Code ::= local:4 30 | 31 | errcode-missingCustomerRecord Code ::= local:6 32 | 33 | errcode-missingParameter Code ::= local:7 34 | 35 | errcode-parameterOutOfRange Code ::= local:8 36 | 37 | errcode-requestedInfoError Code ::= local:10 38 | 39 | errcode-systemFailure Code ::= local:11 40 | 41 | errcode-taskRefused Code ::= local:12 42 | 43 | errcode-unavailableResource Code ::= local:13 44 | 45 | errcode-unexpectedComponentSequence Code ::= local:14 46 | 47 | errcode-unexpectedDataValue Code ::= local:15 48 | 49 | errcode-unexpectedParameter Code ::= local:16 50 | 51 | errcode-unknownLegID Code ::= local:17 52 | 53 | errcode-unknownResource Code ::= local:18 54 | 55 | -- Error codes for the IN CS2 error types follow 56 | errcode-scfReferral Code ::= 57 | local:21 58 | 59 | errcode-scfTaskRefused Code ::= local:22 60 | 61 | errcode-chainingRefused Code ::= local:23 62 | 63 | errcode-executionError Code ::= local:10 64 | 65 | END 66 | 67 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 68 | 69 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q1902.3_2001_ComponentOfISUPRemoteOperations.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module ComponentOfISUPRemoteOperations (Q.1902.3:07/2001) 9 | -- See also ITU-T Q.1902.3 (07/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | ComponentOfISUPRemoteOperations {itu-t recommendation q 763 moduleB(1)} 13 | DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- EXPORTS everything 17 | IMPORTS 18 | ROS{}, InvokeId 19 | FROM Remote-Operations-Generic-ROS-PDUs {joint-iso-itu-t 20 | remote-operations(4) generic-ROS-PDUs(6) version1(0)} 21 | OPERATION 22 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 23 | remote-operations(4) informationObjects(5) version1(0)}; 24 | 25 | Component{OPERATION:Invokable, OPERATION:Returnable} ::= CHOICE { 26 | basicROS ROS{{ISUPROSInvokeIDSet}, {Invokable}, {Returnable}} 27 | } 28 | 29 | ISUPROSInvokeIDSet ::= InvokeId(WITH COMPONENTS { 30 | present (-128..127) 31 | }) 32 | 33 | END -- end of ComponentOfISUPRemoteOperations Module. 34 | 35 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 36 | 37 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q2932.1_1996_Embedded-DSS2Types.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Embedded-DSS2Types (Q.2932.1.:07/1996) 9 | -- See also ITU-T Q.2932.1 (07/1996) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Embedded-DSS2Types {itu-t recommendation q 2932 embedded-dSS2-types(7)} 13 | DEFINITIONS EXPLICIT TAGS ::= 14 | BEGIN 15 | 16 | EXPORTS DSS2InformationElement; 17 | 18 | DSS2InformationElement ::= [APPLICATION 0] IMPLICIT OCTET STRING 19 | 20 | END -- of Embedded-dSS2Types 21 | 22 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 23 | 24 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q2981_1999_Call-Control-Object-Super-Class.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Call-Control-Object-Super-Class (Q.2981:12/1999) 9 | -- See also ITU-T Q.2981 (12/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Call-Control-Object-Super-Class {itu-t recommendation q 2981 13 | call-control-object-super-class(4)} DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | EXPORTS CALLCONTROLOBJECTCLASS; 17 | 18 | CALLCONTROLOBJECTCLASS ::= CLASS { 19 | &ArgumentType OPTIONAL, 20 | &argumentTypeOptional BOOLEAN OPTIONAL, 21 | &objectClassIdentifier OBJECT IDENTIFIER UNIQUE 22 | } 23 | WITH SYNTAX { 24 | [ARGUMENT &ArgumentType 25 | [OPTIONAL &argumentTypeOptional]] 26 | IDENTIFIER &objectClassIdentifier 27 | } 28 | 29 | END -- Call-Control-Object-Super-Class 30 | 31 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 32 | 33 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q773_1997_UnidialoguePDUs.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module UnidialoguePDUs (Q.773:06/1997)-- See also ITU-T Q.773 (06/1997)-- See also the index of all ASN.1 assignments needed in this Recommendation 9 | 10 | UnidialoguePDUs {itu-t recommendation q 773 modules(2) unidialoguePDUs(3) 11 | version1(1)} DEFINITIONS ::= 12 | BEGIN 13 | 14 | EXPORTS uniDialogue-as-id, UniDialoguePDU; 15 | 16 | -- Abstract syntax name for unstructured dialogue APDUs 17 | uniDialogue-as-id OBJECT IDENTIFIER ::= 18 | {itu-t recommendation q 773 as(1) unidialogue-as(2) version1(1)} 19 | 20 | UniDialoguePDU ::= CHOICE {unidialoguePDU AUDT-apdu 21 | } 22 | 23 | AUDT-apdu ::= [APPLICATION 0] IMPLICIT SEQUENCE { 24 | protocol-version 25 | [0] IMPLICIT BIT STRING {version1(0)} DEFAULT {version1}, 26 | application-context-name [1] OBJECT IDENTIFIER, 27 | user-information [30] IMPLICIT SEQUENCE OF EXTERNAL OPTIONAL 28 | } 29 | 30 | END -- UNIDialoguePDU 31 | 32 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 33 | 34 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q775_1997_TCAP-Tools.asn1: -------------------------------------------------------------------------------- 1 | 2 | TCAP-Tools {itu-t recommendation q 775 modules(2) tools(1) version1(1)} 3 | DEFINITIONS ::= 4 | BEGIN 5 | 6 | EXPORTS cancel, cancelFailed, cancelled; 7 | 8 | IMPORTS 9 | OPERATION, ERROR 10 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 11 | remote-operations(4) informationObjects(5) version1(0)} 12 | TCInvokeIdSet 13 | FROM TCAPMessages {itu-t recommendation q 773 modules(2) messages(1) 14 | version3(3)}; 15 | 16 | cancel OPERATION ::= { 17 | ARGUMENT present < TCInvokeIdSet 18 | -- a TC-user may redefine this type to include 19 | -- an empty result so that it becomes a Class 1 operation 20 | ERRORS {cancelFailed} 21 | } 22 | 23 | -- timer = 15 s 24 | cancelFailed ERROR ::= { 25 | PARAMETER 26 | SET {problem [0] CancelProblem, 27 | invokeId [1] present < TCInvokeIdSet} 28 | } 29 | 30 | CancelProblem ::= ENUMERATED { 31 | unknownInvocation(0), tooLate(1), notCancellable(2)} 32 | 33 | -- a TC-user may redefine this type to include application-specific problems 34 | cancelled ERROR ::= 35 | {} 36 | 37 | -- an error of this type should be included in the error list of cancellable operations 38 | END 39 | 40 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 41 | 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q813_1998_STASE-ROSE-Authentication-value.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module STASE-ROSE-Authentication-value (Q.813:06/1998) 9 | -- See also ITU-T Q.813 (06/1998) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | STASE-ROSE-Authentication-value {itu-t recommendation q(17) q813(813) 13 | stase(1) abstractSyntax(1) stase-authentication-value(0)} DEFINITIONS 14 | IMPLICIT TAGS ::= 15 | BEGIN 16 | 17 | -- EXPORTS everything 18 | IMPORTS 19 | SenderId, ReceiverId, Signature, SignatureCertificate 20 | FROM Secure-Remote-Operations-APDUs {itu-t recommendation q(17) q813(813) 21 | stase(1) stase-pci(0) stase-data(2)}; 22 | 23 | Authentication-value ::= CHOICE { 24 | explicit [0] ExplicitAuthenticator, 25 | gssAuthenticator [1] GssAuthenticator, 26 | -- to be used only if the two communicating entities use GSS-API 27 | ... 28 | } 29 | 30 | ExplicitAuthenticator ::= SEQUENCE { 31 | senderId [0] SenderId, 32 | receiverId [1] ReceiverId, 33 | time [3] GeneralizedTime, 34 | encryptedSymmetricKey [4] INTEGER OPTIONAL, 35 | -- a symmetric encryption key encrypted with the receiver's public key 36 | signature [5] Signature, 37 | -- the sender's signature of the preceding fields encoded as ASCII characters 38 | certificate [6] SignatureCertificate OPTIONAL 39 | -- the sender's public key certificate for the key used for the signature 40 | } 41 | 42 | GssAuthenticator ::= SEQUENCE { 43 | gssMechanism [0] OBJECT IDENTIFIER OPTIONAL, 44 | gssInitialContextToken [1] OCTET STRING 45 | } 46 | 47 | END 48 | 49 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 50 | 51 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q814_2000_InteractiveAgent.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module InteractiveAgent (Q.814:02/2000)-- See also ITU-T Q.814 (02/2000)-- See also the index of all ASN.1 assignments needed in this Recommendation 9 | 10 | InteractiveAgent {itu-t(0) recommendation(0) q(17) q814(814) ia(0) messages(0)} 11 | DEFINITIONS IMPLICIT TAGS ::= 12 | BEGIN 13 | 14 | -- EXPORTS everything 15 | IaMessage ::= CHOICE { 16 | basicMessage BasicMessage, -- Basic Message 17 | iaStatusMessage IaStatusMessage, -- IA Status/Control Message 18 | enhancedMessage EnhancedMessage -- Security Module Enhanced Message 19 | } 20 | 21 | BasicMessage ::= CHOICE {basicMessage1 GeneralString, 22 | basicMessage2 IA5String 23 | } 24 | 25 | IaStatusMessage ::= BIT STRING(SIZE (32)) 26 | 27 | EnhancedMessage ::= OCTET STRING -- Security Module Enhanced Message 28 | 29 | END 30 | 31 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 32 | 33 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q932_1998-Amd1_Embedded-Q931-Types.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Embedded-Q931-Types (Q.932:05/1998) 9 | -- See also ITU-T Q.932 (1998) Amend. 1 (06/2000) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Embedded-Q931-Types {itu-t recommendation q 932 embedded-q931-types(5)} 13 | DEFINITIONS EXPLICIT TAGS ::= 14 | BEGIN 15 | 16 | EXPORTS Q931InformationElement; 17 | 18 | Q931InformationElement ::= [APPLICATION 0] IMPLICIT OCTET STRING 19 | 20 | END -- of Embedded-Q931-Types 21 | 22 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 23 | 24 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q932_1998-Amd1_Flow-Control.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Flow-Control (Q.932:05/1998) 9 | -- See also ITU-T Q.932 (1998) Amend. 1 (06/2000) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Flow-Control {itu-t recommendation q 932 flow-control(8)} DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS flowControl; 16 | 17 | IMPORTS 18 | OPERATION 19 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t(2) 20 | remote-operations(4) informationObjects(5) version1(0)}; 21 | 22 | flowControl OPERATION ::= { 23 | ARGUMENT 24 | SEQUENCE {controlReceiver 25 | ENUMERATED {receiverNotReady(0), receiverReady(1)}, 26 | maximumNumberOfMessages [0] IMPLICIT INTEGER(1..255) OPTIONAL, 27 | replenishmentParameter [1] IMPLICIT INTEGER(1..255) OPTIONAL, 28 | timerT [2] IMPLICIT INTEGER(1..30) OPTIONAL 29 | } 30 | CODE global:{itu-t recommendation q 932 flow-control(8) operation(1)} 31 | 32 | 33 | -- When the receiverReady coding is sent in FACILITY message, the 34 | -- maximumNumberOfMessages and timerT data elements may optionally 35 | -- be included. The MaximumNumberOfMessages is an integer that specifies 36 | -- the number of messages that may be sent in the time interval specifed by 37 | -- timerT for the call reference identified in the FACILITY message and these 38 | -- may optionally be included when the receiverReady coding is sent. The 39 | -- replenishmentParameter indicates the number of additional messages that 40 | -- may be sent at the end of timer interval timerT. 41 | } 42 | 43 | -- This operation is a Class 5 operation 44 | END -- of Flow Control 45 | 46 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 47 | 48 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q932_1998-Amd1_Interpretation-component.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Interpretation-component (Q.932:05/1998) 9 | -- See also ITU-T Q.932 (1998) Amend. 1 (06/2000) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Interpretation-component {iso(1) standard(0) pss1-generic-procedures(11582) 13 | interpretation-component(3)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | EXPORTS InterpretationComponent; 17 | 18 | InterpretationComponent ::= [11] IMPLICIT ENUMERATED { 19 | discardAnyUnrecognisedInvokePdu(0), clearCallIfAnyInvokePduNotRecognised(1), 20 | rejectAnyUnrecognisedInvokePdu(2) 21 | -- this coding is implied by the absence of an 22 | -- Interpretation Component. 23 | } 24 | 25 | END -- component 26 | 27 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q932_1998-Amd1_Network-Facility-Extension.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Network-Facility-Extension (Q.932:05/1998) 9 | -- See also ITU-T Q.932 (1998) Amend. 1 (06/2000) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Network-Facility-Extension {iso(1) standard(0) pss1-generic-procedures(11582) 13 | network-facility-extension(2)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | EXPORTS NetworkFacilityExtension; 17 | 18 | IMPORTS 19 | PartyNumber 20 | FROM Addressing-Data-Elements {itu-t recommendation q 932 21 | addressing-data-elements(7)}; 22 | 23 | NetworkFacilityExtension ::= [10] IMPLICIT SEQUENCE { 24 | sourceEntity [0] IMPLICIT EntityType, 25 | sourceEntityAddress [1] AddressInformation OPTIONAL, 26 | destinationEntity [2] IMPLICIT EntityType, 27 | destinationEntityAddress [3] AddressInformation OPTIONAL 28 | } 29 | 30 | EntityType ::= ENUMERATED {endPINX(0), anyTypeOfPINX(1)} 31 | 32 | AddressInformation ::= PartyNumber 33 | 34 | END -- of Network Facility Extension 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q932_1998-Amd1_Network-Protocol-Profile-component.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Network-Protocol-Profile-component (Q.932:05/1998) 9 | -- See also ITU-T Q.932 (1998) Amend. 1 (06/2000) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Network-Protocol-Profile-component {iso(1) standard(0) 13 | pss1-generic-procedures(11582) network-protocol-profile-component(8)} 14 | DEFINITIONS ::= 15 | BEGIN 16 | 17 | EXPORTS NetworkProtocolProfile; 18 | 19 | NetworkProtocolProfile ::= [18] IMPLICIT INTEGER {acse(19), dse(32)}(0..254) 20 | 21 | END -- of Network-Protocol-Profile-component 22 | 23 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 24 | 25 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q932_1998-Amd1_Notification-Indicator-IE-Data-Structure.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Notification-Indicator-IE-Data-Structure (Q.932:05/1998) 9 | -- See also ITU-T Q.932 (1998) Amend. 1 (06/2000) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Notification-Indicator-IE-Data-Structure {itu-t recommendation q 932 13 | notification-data-structure(6)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | EXPORTS NOTIFICATION; 17 | 18 | NOTIFICATION ::= CLASS { 19 | &ArgumentType OPTIONAL, 20 | &operationCode Code UNIQUE OPTIONAL 21 | }WITH SYNTAX {[ARGUMENT &ArgumentType] 22 | [CODE &operationCode] 23 | } 24 | 25 | Code ::= CHOICE {local INTEGER, 26 | global OBJECT IDENTIFIER 27 | } 28 | 29 | NotificationDataStructure ::= SEQUENCE { 30 | opcode NOTIFICATION.&operationCode, 31 | argument NOTIFICATION.&ArgumentType 32 | } 33 | 34 | END -- of Notification-Indicator-IE-Data-Structure 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q951.7_1997_McidOperations.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module McidOperations (Q.951.7:06/1997) 9 | -- See also ITU-T Q.951.7 (06/1997) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | McidOperations {itu-t recommendation q 951 mcid(7) operations-and-errors(1)} 13 | DEFINITIONS ::= 14 | BEGIN 15 | 16 | EXPORTS mcidRequest; 17 | 18 | IMPORTS 19 | OPERATION 20 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 21 | remote-operations(4) informationObjects(5) version1(0)} 22 | notAvailable, userNotSubscribed, invalidCallState, notIncomingCall, 23 | supplementaryServiceInteractionNotAllowed 24 | FROM General-Error-List {itu-t recommendation q 950 general-error-list(1)}; 25 | 26 | mcidRequest OPERATION ::= { 27 | ERRORS 28 | {notAvailable | userNotSubscribed | invalidCallState | 29 | supplementaryServiceInteractionNotAllowed | notIncomingCall} 30 | CODE local:3 31 | } 32 | 33 | END 34 | 35 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 36 | 37 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q954.1_1993_Conference-Add-on-Notifications.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Conference-Add-on-Notifications (Q.954.1:03/1993) 9 | -- See also ITU-T Q.954.1 (03/1993) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Conference-Add-on-Notifications {itu-t(0) recommendation(0) q(17) q954(954) 13 | part1(1) extended-notifications(2)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | EXPORTS partyIdNotification; 17 | 18 | IMPORTS 19 | NOTIFICATION 20 | FROM Notification-Indicator-IE-Data-Structure {itu-t recommendation q 21 | 932 notification-data-structure(6)} 22 | PartyId 23 | FROM Conference-Add-On-Operations {itu-t(0) recommendation(0) q(17) 24 | q954(954) part1(1) operations-and-errors(1)}; 25 | 26 | partyIdNotification NOTIFICATION ::= {ARGUMENT PartyId 27 | CODE local:1 28 | } 29 | 30 | END -- of Conference-Add-On-Notifications 31 | 32 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 33 | 34 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q954.2_1995_Three-Party-Operations.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Three-Party-Operations (Q.954.2:10/1995) 9 | -- See also ITU-T Q.954.2 (10/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Three-Party-Operations {itu-t(0) recommendation(0) q(17) q954(954) part2(2) 13 | operations-and-errors(1)} DEFINITIONS EXPLICIT TAGS ::= 14 | BEGIN 15 | 16 | EXPORTS begin3PTY, end3PTY; 17 | 18 | IMPORTS 19 | OPERATION 20 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 21 | remote-operations(4) informationObjects(5) version1(0)} 22 | userNotSubscribed, notAvailable, invalidCallState, resourceUnavailable, 23 | supplementaryServiceInteractionNotAllowed 24 | FROM General-Error-List {itu-t recommendation q 950 general-error-list(1)}; 25 | 26 | begin3PTY OPERATION ::= { 27 | ERRORS 28 | {userNotSubscribed | notAvailable | invalidCallState | resourceUnavailable 29 | | supplementaryServiceInteractionNotAllowed} 30 | CODE local:4 31 | } 32 | 33 | -- This Recommendation does not provide procedures for the generation of the error "notAvailable" 34 | end3PTY OPERATION ::= {ERRORS {invalidCallState} 35 | CODE local:5 36 | } 37 | 38 | END 39 | 40 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 41 | 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q956.3_1995_Reverse-Charging-Service-Operations-and-Errors.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Reverse-Charging-Service-Operations-and-Errors (Q.956.3:10/1995) 9 | -- See also ITU-T Q.956.3 (10/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Reverse-Charging-Service-Operations-and-Errors {itu-t recommendation 13 | q 956 reverse-charging(3) operations-and-errors(1)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | EXPORTS requestREV, rEVIndication, userIgnored, rEVIsAlreadyRunning; 17 | 18 | IMPORTS 19 | OPERATION, ERROR 20 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 21 | remote-operations(4) informationObjects(5) version1(0)} 22 | userNotSubscribed, rejectedByNetwork, rejectedByUser, notAvailable, 23 | invalidCallState, basicServiceNotProvided, 24 | supplementaryServiceInteractionNotAllowed, resourceUnavailable, 25 | proceduralError 26 | FROM General-Error-List {itu-t recommendation q 950 general-error-list(1)}; 27 | 28 | requestREV OPERATION ::= { 29 | ARGUMENT Case 30 | ERRORS 31 | {userNotSubscribed | rejectedByNetwork | rejectedByUser | notAvailable | 32 | invalidCallState | basicServiceNotProvided | 33 | supplementaryServiceInteractionNotAllowed | resourceUnavailable | 34 | proceduralError | userIgnored | rEVIsAlreadyRunning} 35 | CODE local:60 36 | } 37 | 38 | rEVIndication OPERATION ::= {CODE local:61 39 | } 40 | 41 | Case ::= ENUMERATED {caseA(1), caseB(2), caseC(3)} 42 | 43 | userIgnored ERROR ::= {CODE local:45 44 | } 45 | 46 | rEVIsAlreadyRunning ERROR ::= {CODE local:49 47 | } 48 | 49 | END -- of Reverse-Charging-Service-Operations 50 | 51 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 52 | 53 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q956.3_1995_Reverse-Charging-Service-Private-Networks-Operation.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Reverse-Charging-Service-Private-Networks-Operation (Q.956.3:10/1995) 9 | -- See also ITU-T Q.956.3 (10/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Reverse-Charging-Service-Private-Networks-Operation {itu-t recommendation 13 | q 956 reverse-charging(3) private-networks-operation(2)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | EXPORTS rEV-T-Status; 17 | 18 | IMPORTS 19 | OPERATION, ERROR 20 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 21 | remote-operations(4) informationObjects(5) version1(0)}; 22 | 23 | rEV-T-Status OPERATION ::= {ARGUMENT Status 24 | CODE local:62 25 | } 26 | 27 | Status ::= ENUMERATED {wholeCall(1), forTheRestOfTheCall(2)} 28 | 29 | END -- of Reverse-Charging-Service-Private-Networks-Operation 30 | 31 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 32 | 33 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_q_q957.1_1996_User-to-user-Signalling.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module User-to-user-Signalling (Q.957.1:07/1996) 9 | -- See also ITU-T Q.957.1 (07/1996) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | User-to-user-Signalling {itu-t(0) recommendation(0) q(17) q957(957) part1(1) 13 | operations-and-errors(1)} DEFINITIONS ::= 14 | BEGIN 15 | 16 | EXPORTS userUserService; 17 | 18 | IMPORTS 19 | OPERATION, ERROR 20 | --FROM Remote-Operation-Notation {joint-iso-itu-t remote-operations (4) notations} 21 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 22 | remote-operations(4) informationObjects(5) version1(0)} 23 | rejectedByNetwork, rejectedByUser 24 | FROM General-Error-List {itu-t recommendation q 950 general-error-list(1)}; 25 | 26 | userUserService OPERATION ::= { 27 | ARGUMENT 28 | SEQUENCE {service [1] IMPLICIT Service, 29 | preferred [2] IMPLICIT Preferred} 30 | ERRORS {rejectedByNetwork | rejectedByUser} 31 | CODE local:1 32 | } 33 | 34 | uUSRequest OPERATION ::= { 35 | ARGUMENT 36 | SEQUENCE {service [1] IMPLICIT Service, 37 | preferred [2] IMPLICIT Preferred} 38 | CODE local:66 39 | } 40 | 41 | Service ::= INTEGER {service1(1), service2(2), service3(3)}(1..3) 42 | 43 | Preferred ::= BOOLEAN 44 | 45 | preferred Preferred ::= TRUE 46 | 47 | required Preferred ::= FALSE 48 | 49 | END 50 | 51 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 52 | 53 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t101_1994_Videotex-Coding-Attributes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Videotex-Coding-Attributes (T.101:11/1994) 9 | -- See also ITU-T T.101 (11/1994) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Videotex-Coding-Attributes DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Videotex-Coding-Attributes; 16 | 17 | Videotex-Coding-Attributes ::= SET { 18 | subset [0] IMPLICIT Subset OPTIONAL, 19 | rank [1] IMPLICIT Rank OPTIONAL, 20 | profile [2] IMPLICIT Profile OPTIONAL 21 | } 22 | 23 | Subset ::= INTEGER { 24 | undefined(0), rank1(1), rank2(2), rank3(3), rank4(4), rank5(5), profile1(81), 25 | profile2(82), profile3(83), profile4(84), profileX1-1(85), profileX1-2(86), 26 | profileX1-3(87), profileX1-4(88), profileX2-1(89), profileX2-2(90), 27 | profileX2-3(91), profileX2-4(92)} 28 | 29 | Rank ::= INTEGER { 30 | undefined(0), rank1(1), rank2(2), rank3(3), rank4(4), rank5(5)} 31 | 32 | Profile ::= INTEGER { 33 | undefined(0), profile1(81), profile2(82), profile3(83), profile4(84), 34 | profileX1-1(85), profileX1-2(86), profileX1-3(87), profileX1-4(88), 35 | profileX2-1(89), profileX2-2(90), profileX2-3(91), profileX2-4(92)} 36 | 37 | END 38 | 39 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 40 | 41 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t38_2015_T38(1998).asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -- Module T38(1998) (T.38:11/2015) 5 | -- See also ITU-T T.38 (11/2015) 6 | T38 DEFINITIONS AUTOMATIC TAGS ::= 7 | BEGIN 8 | 9 | IFPPacket ::= SEQUENCE { 10 | type-of-msg Type-of-msg, 11 | data-field Data-Field OPTIONAL 12 | } 13 | 14 | Type-of-msg ::= CHOICE { 15 | t30-indicator 16 | ENUMERATED {no-signal, cng, ced, v21-preamble, v27-2400-training, 17 | v27-4800-training, v29-7200-training, v29-9600-training, 18 | v17-7200-short-training, v17-7200-long-training, 19 | v17-9600-short-training, v17-9600-long-training, 20 | v17-12000-short-training, v17-12000-long-training, 21 | v17-14400-short-training, v17-14400-long-training, ... 22 | }, 23 | data 24 | ENUMERATED {v21, v27-2400, v27-4800, v29-7200, v29-9600, v17-7200, 25 | v17-9600, v17-12000, v17-14400, ... 26 | } 27 | } 28 | 29 | Data-Field ::= 30 | SEQUENCE OF 31 | SEQUENCE {field-type 32 | ENUMERATED {hdlc-data, hdlc-sig-end, hdlc-fcs-OK, hdlc-fcs-BAD, 33 | hdlc-fcs-OK-sig-end, hdlc-fcs-BAD-sig-end, 34 | t4-non-ecm-data, t4-non-ecm-sig-end}, 35 | field-data OCTET STRING(SIZE (1..65535)) OPTIONAL} 36 | 37 | UDPTLPacket ::= SEQUENCE { 38 | sE-NUMBER INTEGER(0..65535), 39 | primary-ifp-packet TYPE-IDENTIFIER.&Type(IFPPacket), 40 | error-recovery 41 | CHOICE {secondary-ifp-packets 42 | SEQUENCE OF TYPE-IDENTIFIER.&Type(IFPPacket), 43 | fec-info 44 | SEQUENCE {fec-npackets INTEGER, 45 | fec-data SEQUENCE OF OCTET STRING}} 46 | } 47 | 48 | END 49 | 50 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 51 | 52 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t416_1993_Character-Coding-Attributes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Character-Coding-Attributes (T.416:03/1993) 9 | -- See also ITU-T T.416 (03/1993) 10 | -- See also the index of all ASN.1 assignments needed in this Recommendation 11 | 12 | Character-Coding-Attributes {2 8 1 6 3} DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Character-Coding-Attributes; 16 | 17 | Character-Coding-Attributes ::= SET { 18 | } 19 | 20 | -- no character coding attributes 21 | -- are defined in this part of 22 | -- ITU-T Rec. T.410-Series | ISO/IEC 8613 23 | END 24 | 25 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 26 | 27 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t418_1993_Geo-Gr-Coding-Attributes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Geo-Gr-Coding-Attributes (T.418:03/1993) 9 | -- See also ITU-T T.418 (03/1993) 10 | -- See also the index of all ASN.1 assignments needed in this Recommendation 11 | 12 | Geo-Gr-Coding-Attributes {2 8 1 8 3} DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Geo-Gr-Coding-Attributes; 16 | 17 | Geo-Gr-Coding-Attributes ::= SET { 18 | } 19 | 20 | -- no geometric graphics coding attributes are defined 21 | -- in this Specification 22 | END 23 | 24 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 25 | 26 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t419_1995_Audio-Coding-Attributes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Audio-Coding-Attributes (T.419:08/1995) 9 | -- See also ITU-T T.419 (08/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Audio-Coding-Attributes {2 8 1 9 3} DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Audio-Coding-Attributes; 16 | 17 | IMPORTS 18 | Character-Data 19 | FROM Document-Profile-Descriptor {2 8 1 5 6}; -- see ITU-T Rec. T.415 | ISO/IEC 8613-5 20 | 21 | Audio-Coding-Attributes ::= SET { 22 | marker [0] IMPLICIT SEQUENCE OF Marker OPTIONAL 23 | } 24 | 25 | Marker ::= SEQUENCE { 26 | time-offset [0] IMPLICIT INTEGER, 27 | marker-label 28 | CHOICE {unique-label [0] IMPLICIT OBJECT IDENTIFIER, 29 | description [1] IMPLICIT Character-Data} 30 | } 31 | 32 | END 33 | 34 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 35 | 36 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t419_1995_Audio-Document-Profile-Attributes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Audio-Document-Profile-Attributes (T.419:08/1995) 9 | -- See also ITU-T T.419 (08/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Audio-Document-Profile-Attributes {2 8 1 9 1} DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Reference-recording-level; 16 | 17 | Reference-recording-level ::= REAL 18 | 19 | END 20 | 21 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 22 | 23 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t419_1995_Audio-Profile-Attributes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Audio-Profile-Attributes (T.419:08/1995) 9 | -- See also ITU-T T.419 (08/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Audio-Profile-Attributes {2 8 1 9 4} DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS 16 | Audio-Presentation-Feature, Audio-Coding-Attribute, Audio-Content-Defaults; 17 | 18 | IMPORTS 19 | Audio-Attributes 20 | FROM Audio-Presentation-Attributes {2 8 1 9 2}; -- see 11.3 21 | 22 | Audio-Presentation-Feature ::= NULL 23 | 24 | -- no audio non-basic features are defined in this 25 | -- Recommendation | International Standard 26 | Audio-Coding-Attribute ::= NULL 27 | 28 | -- no audio non-basic coding attributes are defined in this 29 | -- Recommendation | International Standard 30 | Audio-Content-Defaults ::= 31 | Audio-Attributes 32 | 33 | END 34 | 35 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 36 | 37 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t422_1995_External-References.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module External-References (T.422:08/1995) 9 | -- See also ITU-T T.422 (08/1995) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | External-References {2 8 1 12 1} DEFINITIONS IMPLICIT TAGS ::= 13 | BEGIN 14 | 15 | EXPORTS External-References-List, Reference-Name; 16 | 17 | IMPORTS 18 | Location-Expression 19 | FROM Location-Expressions {2 8 1 12 0} 20 | -- see 7.4 21 | DOR 22 | FROM DOR-definition {2 4 0} 23 | -- see ISO/IEC 10031-2 24 | DistinguishedName 25 | FROM InformationFramework {joint-iso-itu-t ds(5) module(1) 26 | informationFramework(1) 3}; 27 | 28 | -- see ITU-T Rec. X.501 ¦ ISO/IEC 9594-2 29 | External-References-List ::= 30 | SET OF 31 | SET {reference-name [1] Reference-Name, 32 | external-entity [2] External-Entity, 33 | location-rule [3] Location-Expression OPTIONAL} 34 | 35 | Reference-Name ::= PrintableString 36 | 37 | External-Entity ::= CHOICE { 38 | external-info [0] External-Information-Name, 39 | object-id [1] OBJECT IDENTIFIER, 40 | dor [2] DOR, 41 | distinguished [3] DistinguishedName, 42 | associated-info [4] Associated-Information-Name 43 | } 44 | 45 | External-Information-Name ::= SEQUENCE { 46 | string [0] PrintableString, 47 | object-id [1] OBJECT IDENTIFIER OPTIONAL 48 | } 49 | 50 | Associated-Information-Name ::= SEQUENCE { 51 | string [0] PrintableString, 52 | object-id [1] OBJECT IDENTIFIER OPTIONAL 53 | } 54 | 55 | END 56 | 57 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 58 | 59 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t424_1996_Document-Set-Descriptor.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module Document-Set-Descriptor (T.424:07/1996) 9 | -- See also ITU-T T.424 (07/1996) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | Document-Set-Descriptor {2 8 1 14 1} DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Document-Set; 16 | 17 | IMPORTS 18 | Interchange-Data-Element 19 | FROM Interchange-Data-Elements {2 8 1 5 5} 20 | -- see ITU-T Rec. T.415 | ISO/IEC 8613-5 21 | Document-Set-Profile-Descriptor 22 | FROM Document-Set-Profile-Descriptor 23 | 24 | -- see 8.11.2 25 | Link-Class-Descriptor, Link-Descriptor, Enciphered-Link-Descriptor 26 | FROM Link-Descriptors; 27 | 28 | -- see 8.11.3 29 | Document-Set ::= SEQUENCE { 30 | profile Document-Set-Profile-Descriptor, 31 | link-classes [0] SET OF Link-Class-Descriptor OPTIONAL, 32 | links [1] SET OF Link-Descriptor OPTIONAL, 33 | nodes [2] SET OF Interchange-Data-Element OPTIONAL, 34 | enciphered-links [3] SET OF Enciphered-Link-Descriptor OPTIONAL 35 | } 36 | 37 | END 38 | 39 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 40 | 41 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t502_1994_FOD-DAPSpecification.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module FOD-DAPSpecification (T.502:11/1994) 9 | -- See also ITU-T T.502 (11/1994) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | FOD-DAPSpecification DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Appl-Comm-Encoding; 16 | 17 | Appl-Comm-Encoding ::= SEQUENCE { 18 | constraint-name [0] IMPLICIT PrintableString OPTIONAL, 19 | external-data [1] IMPLICIT OCTET STRING OPTIONAL 20 | } 21 | 22 | END 23 | 24 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 25 | 26 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t505_1994_FOD-DAPSpecification.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module FOD-DAPSpecification (T.505:11/1994) 9 | -- See also ITU-T T.505 (11/1994) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | FOD-DAPSpecification DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Appl-Comm-Encoding; 16 | 17 | Appl-Comm-Encoding ::= SEQUENCE { 18 | constraint-name [0] IMPLICIT PrintableString OPTIONAL, 19 | external-data [1] IMPLICIT OCTET STRING OPTIONAL 20 | } 21 | 22 | END 23 | 24 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 25 | 26 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_t_t506_1993_FOD-DAPSpecification.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module FOD-DAPSpecification (T.506:08/1993) 9 | -- See also ITU-T T.506 (08/1993) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | FOD-DAPSpecification DEFINITIONS ::= 13 | BEGIN 14 | 15 | EXPORTS Appl-Comm-Encoding; 16 | 17 | Appl-Comm-Encoding ::= SEQUENCE { 18 | constraint-namE [0] IMPLICIT PrintableString OPTIONAL, 19 | external-data [1] IMPLICIT OCTET STRING OPTIONAL 20 | } 21 | 22 | END 23 | 24 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 25 | 26 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_v_v151_2006-Amd1_V151SPRT-CAPABILITY.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module V151SPRT-CAPABILITY (V.151:05/2006) 10 | -- See also ITU-T V.151 (2006) Amend. 1 (08/2007) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | V151SPRT-CAPABILITY DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS NonStandardParameter 17 | FROM MULTIMEDIA-SYSTEM-CONTROL; 18 | 19 | V150MoIPCapability ::= SEQUENCE { 20 | nonStandard SEQUENCE OF NonStandardParameter OPTIONAL, 21 | sprtParameters 22 | SEQUENCE {maxPayloadSizeChannel0 INTEGER(140..256) OPTIONAL, -- Default 140-- 23 | maxPayloadSizeChannel1 INTEGER(132..256) OPTIONAL, -- Default 132-- 24 | maxWindowSizeChannel1 INTEGER(32..96) OPTIONAL, -- Default 32-- 25 | maxPayloadSizeChannel2 INTEGER(132..256) OPTIONAL, -- Default 132-- 26 | maxWindowSizeChannel2 INTEGER(8..32) OPTIONAL, -- Default 8,-- 27 | maxPayloadSizeChannel3 INTEGER(140..256) OPTIONAL, -- Default 140-- 28 | ...} OPTIONAL, 29 | ... 30 | } 31 | 32 | END 33 | 34 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 35 | 36 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x1083_2007_BIP-DISCOVERY.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module BIP-DISCOVERY (X.1083:11/2007) 9 | -- See also ITU-T X.1083 (11/2007) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | BIP-DISCOVERY {joint-iso-itu-t bip(41) modules(0) bip-discovery(2) version1(1)} 13 | DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | Discovery ::= SEQUENCE { 17 | protocolVersion ProtocolVersion, 18 | masterEndpointAddress IPAddress, 19 | masterEndPort Port DEFAULT 4376, 20 | ... 21 | } 22 | 23 | Announcement ::= SEQUENCE { 24 | protocolVersion ProtocolVersion, 25 | slaveEndpointIPAddress IPAddress, 26 | slaveEndpointMACAddress MACAddress, 27 | slaveEndpointName IA5String(SIZE (1..32)), 28 | bipMessagePort Port DEFAULT 4376, 29 | securityProtocols SEQUENCE OF SecurityProtocol OPTIONAL, 30 | ... 31 | } 32 | 33 | ProtocolVersion ::= SEQUENCE {major INTEGER(0..255), 34 | minor INTEGER(0..255) 35 | } 36 | 37 | IPAddress ::= CHOICE { 38 | ipv4 OCTET STRING(SIZE (4)), 39 | ipv6 OCTET STRING(SIZE (16)) 40 | } 41 | 42 | Port ::= INTEGER(0..65535) 43 | 44 | MACAddress ::= OCTET STRING(SIZE (6)) 45 | 46 | SecurityProtocol ::= SEQUENCE { 47 | id SECURITY-PROTOCOL.&id({SecurityProtocols}), 48 | parameter SECURITY-PROTOCOL.&Parameter({SecurityProtocols}{@id}) 49 | } 50 | 51 | SECURITY-PROTOCOL ::= CLASS {&id OBJECT IDENTIFIER, 52 | &Parameter 53 | } 54 | 55 | SecurityProtocols SECURITY-PROTOCOL ::= 56 | {...} 57 | 58 | END 59 | 60 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 61 | 62 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x1083_2007_BIP-TCPIP.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module BIP-TCPIP (X.1083:11/2007) 9 | -- See also ITU-T X.1083 (11/2007) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | BIP-TCPIP {joint-iso-itu-t bip(41) modules(0) bip-tcpip(1) version1(1)} 13 | DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | BIPMessage 18 | FROM BIP {joint-iso-itu-t bip(41) modules(0) bip(0) version1(1)}; 19 | 20 | TCPIPBIPMessage ::= SEQUENCE { 21 | magicNumber OCTET STRING(SIZE (4))('3AC49E70'H), 22 | version INTEGER {version-1(1)}(0..255), 23 | content 24 | CHOICE {bIPMessage 25 | OCTET STRING(CONTAINING BIPMessage ENCODED BY basic-per-aligned), 26 | keepalive NULL, 27 | requestLinkChannelOnSpecifiedPort INTEGER(0..65535), 28 | requestLinkChannel NULL} 29 | } 30 | 31 | basic-per-aligned OBJECT IDENTIFIER ::= 32 | {joint-iso-itu-t asn1(1) packed-encoding(3) basic(0) aligned(0)} 33 | 34 | END 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x1085_2016_XBHSM.asn1: -------------------------------------------------------------------------------- 1 | XBHSM {iso(1) standard(0) bhsm(17922) modules(0) version1(1)} 2 | DEFINITIONS AUTOMATIC TAGS ::= 3 | BEGIN 4 | IMPORTS authenticationFramework 5 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 6 | usefulDefinitions(0) 7} 7 | ALGORITHM, AlgorithmIdentifier{} 8 | FROM AuthenticationFramework authenticationFramework; 9 | 10 | DataSetForEncryptedPSID ::= SEQUENCE { 11 | version INTEGER DEFAULT 0, 12 | psidEncAlg PSIDEncryptionAlgorithm, 13 | encryptedPsid EncryptedPsid 14 | } 15 | 16 | PSIDEncryptionAlgorithm ::= AlgorithmIdentifier 17 | {{SupportedEncryptionAlgorithms}} 18 | 19 | SupportedEncryptionAlgorithms ALGORITHM ::= {...} 20 | EncryptedPsid ::= OCTET STRING 21 | PSID ::= SEQUENCE { 22 | hashAlg HashAlgorithm, 23 | hashContent HashContent 24 | } 25 | 26 | HashAlgorithm ::= AlgorithmIdentifier{{SupportedHashAlgorithms}} 27 | SupportedHashAlgorithms ALGORITHM ::= {...} 28 | 29 | HashContent ::= SEQUENCE { 30 | bR PrintableString, 31 | randomNum BIT STRING 32 | } 33 | 34 | bhsmpsid OBJECT IDENTIFIER ::= 35 | {iso(1) standard(0) bhsm(17922) contentType(2) bhsmps(1)} 36 | BHSM-PSID ::= TYPE-IDENTIFIER 37 | bioRef BHSM-PSID ::= 38 | {BIT STRING IDENTIFIED BY {bhsmpsid 3}} 39 | InstanceOfBHSM-PID ::= INSTANCE OF BHSM-PSID({SupportedBHSM-PSID}) 40 | SupportedBHSM-PSID BHSM-PSID ::= {bioRef,...} 41 | END 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x282_1999_AttributeModule.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module AttributeModule (X.282:06/1999) 10 | -- See also ITU-T X.282 (06/1999) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | AttributeModule DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | ResettableCounter32 ::= INTEGER(0..4294967295) 17 | 18 | Integer32 ::= INTEGER(0..4294967295) 19 | 20 | END 21 | 22 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 23 | 24 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x420_1999_IPMSExtendedBodyPartTypes2.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IPMSExtendedBodyPartTypes2 (X.420:06/1999) 9 | -- See also ITU-T X.420 (06/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IPMSExtendedBodyPartTypes2 {iso standard mhs(10021) ipms(7) modules(0) 13 | extended-body-part-types-2(1)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- Prologue 17 | -- Exports everything. 18 | IMPORTS 19 | -- IPMS Information Objects 20 | EXTENDED-BODY-PART-TYPE 21 | --== 22 | FROM IPMSInformationObjects {joint-iso-itu-t mhs(6) ipms(1) modules(0) 23 | information-objects(2) version-1999(1)} 24 | -- IPMS Object Identifiers 25 | id-ep-general-text, id-et-general-text 26 | --== 27 | FROM IPMSObjectIdentifiers {joint-iso-itu-t mhs(6) ipms(1) modules(0) 28 | object-identifiers(0) version-1999(1)}; 29 | 30 | -- General Text body part 31 | general-text-body-part EXTENDED-BODY-PART-TYPE ::= { 32 | PARAMETERS {GeneralTextParameters 33 | IDENTIFIED BY id-ep-general-text}, 34 | DATA {GeneralTextData 35 | IDENTIFIED BY id-et-general-text} 36 | } 37 | 38 | GeneralTextParameters ::= SET OF CharacterSetRegistration 39 | 40 | GeneralTextData ::= GeneralString 41 | 42 | CharacterSetRegistration ::= INTEGER(1..32767) 43 | 44 | END -- of IPMSExtendedBodyPartTypes2 45 | 46 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 47 | 48 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x420_1999_IPMSExtendedVoiceBodyPartType.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IPMSExtendedVoiceBodyPartType (X.420:06/1999) 9 | -- See also ITU-T X.420 (06/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IPMSExtendedVoiceBodyPartType {joint-iso-itu-t mhs(6) ipms(1) modules(0) 13 | extended-voice-body-part-type(11)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- Prologue 17 | -- Exports everything. 18 | IMPORTS 19 | -- IPMS Information Objects 20 | EXTENDED-BODY-PART-TYPE 21 | --== 22 | FROM IPMSInformationObjects {joint-iso-itu-t mhs(6) ipms(1) modules(0) 23 | information-objects(2) version-1999(1)} 24 | -- IPMS Object Identifiers 25 | id-ep-voice, id-et-voice 26 | --== 27 | FROM IPMSObjectIdentifiers {joint-iso-itu-t mhs(6) ipms(1) modules(0) 28 | object-identifiers(0) version-1999(1)}; 29 | 30 | -- Extended Voice body part 31 | voice-body-part EXTENDED-BODY-PART-TYPE ::= { 32 | PARAMETERS {VoiceParameters 33 | IDENTIFIED BY id-ep-voice}, 34 | DATA {VoiceData 35 | IDENTIFIED BY id-et-voice} 36 | } 37 | 38 | VoiceParameters ::= SEQUENCE { 39 | voice-message-duration [0] INTEGER OPTIONAL, -- In seconds 40 | voice-encoding-type [1] OBJECT IDENTIFIER, 41 | supplementary-information [2] IA5String OPTIONAL 42 | } 43 | 44 | VoiceData ::= OCTET STRING 45 | 46 | END -- of IPMSExtendedVoiceBodyPartType 47 | 48 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 49 | 50 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x420_1999_IPMSForwardedReportBodyPartType.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IPMSForwardedReportBodyPartType (X.420:06/1999) 9 | -- See also ITU-T X.420 (06/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IPMSForwardedReportBodyPartType {joint-iso-itu-t mhs(6) ipms(1) modules(0) 13 | forwarded-report-body-part-type(12)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- Prologue 17 | -- Exports everything. 18 | IMPORTS 19 | -- MTS Abstract Service 20 | ReportDeliveryArgument 21 | --== 22 | FROM MTSAbstractService {joint-iso-itu-t mhs(6) mts(3) modules(0) 23 | mts-abstract-service(1) version-1999(1)} 24 | -- IPMS Information Objects 25 | EXTENDED-BODY-PART-TYPE, IPN, MessageParameters 26 | --== 27 | FROM IPMSInformationObjects {joint-iso-itu-t mhs(6) ipms(1) modules(0) 28 | information-objects(2) version-1999(1)} 29 | -- IPMS Object Identifiers 30 | id-ep-notification, id-et-report, id-et-notification 31 | --== 32 | FROM IPMSObjectIdentifiers {joint-iso-itu-t mhs(6) ipms(1) modules(0) 33 | object-identifiers(0) version-1999(1)}; 34 | 35 | -- Report body part 36 | report-body-part EXTENDED-BODY-PART-TYPE ::= { 37 | DATA {ReportDeliveryArgument 38 | IDENTIFIED BY id-et-report} 39 | } 40 | 41 | -- Notification body part 42 | notification-body-part EXTENDED-BODY-PART-TYPE ::= { 43 | PARAMETERS {MessageParameters 44 | IDENTIFIED BY id-ep-notification}, 45 | DATA {IPN IDENTIFIED BY id-et-notification} 46 | } 47 | 48 | END -- of IPMSForwardedReportBodyPartType 49 | 50 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 51 | 52 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x420_1999_IPMSFunctionalObjects.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IPMSFunctionalObjects (X.420:06/1999) 9 | -- See also ITU-T X.420 (06/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IPMSFunctionalObjects {joint-iso-itu-t mhs(6) ipms(1) modules(0) 13 | functional-objects(1) version-1994(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- Prologue 17 | -- Exports everything. 18 | IMPORTS 19 | -- IPMS Abstract Service 20 | management, origination, reception 21 | --== 22 | FROM IPMSAbstractService {joint-iso-itu-t mhs(6) ipms(1) modules(0) 23 | abstract-service(3) version-1994(0)} 24 | -- IPMS Object Identifiers 25 | id-ot-ipms, id-ot-ipms-user 26 | --== 27 | FROM IPMSObjectIdentifiers {joint-iso-itu-t mhs(6) ipms(1) modules(0) 28 | object-identifiers(0) version-1999(1)} 29 | -- MTS Abstract Service 30 | MHS-OBJECT 31 | --== 32 | FROM MTSAbstractService {joint-iso-itu-t mhs(6) mts(3) modules(0) 33 | mts-abstract-service(1) version-1999(1)} 34 | -- Remote Operations 35 | CONTRACT 36 | --== 37 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 38 | remote-operations(4) informationObjects(5) version1(0)}; 39 | 40 | -- Primary object types 41 | ipms-user MHS-OBJECT ::= { 42 | INITIATES {ipms-access-contract} 43 | ID id-ot-ipms-user 44 | } 45 | 46 | ipms-access-contract CONTRACT ::= { 47 | INITIATOR CONSUMER OF {origination | reception | management} 48 | } 49 | 50 | ipms MHS-OBJECT ::= {RESPONDS {ipms-access-contract} 51 | ID id-ot-ipms 52 | } 53 | 54 | END -- of IPMSFunctionalObjects 55 | 56 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 57 | 58 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x420_1999_IPMSObjectIdentifiers2.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IPMSObjectIdentifiers2 (X.420:06/1999) 9 | -- See also ITU-T X.420 (06/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IPMSObjectIdentifiers2 {iso standard mhs(10021) ipms(7) modules(0) 13 | object-identifiers(0)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- Prologue 17 | -- Exports everything. 18 | IMPORTS -- nothing -- ; 19 | 20 | ID ::= OBJECT IDENTIFIER 21 | 22 | -- Interpersonal Messaging (ISO/IEC extensions) 23 | id-iso-ipms ID ::= 24 | {iso standard mhs(10021) ipms(7)} 25 | 26 | -- Categories 27 | id-iso-mod ID ::= {id-iso-ipms 0} -- modules; not definitive 28 | 29 | id-iso-cs ID ::= {id-iso-ipms 1} -- character sets 30 | 31 | -- Modules 32 | id-mod-object-identifiers-2 ID ::= {id-iso-mod 0} -- not definitive 33 | 34 | id-mod-extended-body-part-types-2 ID ::= {id-iso-mod 1} -- not definitive 35 | 36 | -- Registration Authority for General Text Character Set EITs 37 | id-cs-eit-authority ID ::= 38 | {id-iso-cs 0} 39 | 40 | END -- of IPMSObjectIdentifiers2 41 | 42 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 43 | 44 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x420_1999_IPMSUpperBounds.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module IPMSUpperBounds (X.420:06/1999) 9 | -- See also ITU-T X.420 (06/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | IPMSUpperBounds {joint-iso-itu-t mhs(6) ipms(1) modules(0) upper-bounds(10) 13 | version-1999(1)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | -- Prologue 17 | -- Exports everything. 18 | IMPORTS -- nothing -- ; 19 | 20 | -- Upper bounds 21 | ub-alpha-code-length INTEGER ::= 16 22 | 23 | ub-auto-forward-comment INTEGER ::= 256 24 | 25 | ub-circulation-list-members INTEGER ::= 256 26 | 27 | ub-distribution-codes INTEGER ::= 16 28 | 29 | ub-extended-subject-length INTEGER ::= 256 30 | 31 | ub-free-form-name INTEGER ::= 64 32 | 33 | ub-information-categories INTEGER ::= 16 34 | 35 | ub-information-category-length INTEGER ::= 64 36 | 37 | ub-ipm-identifier-suffix INTEGER ::= 2 38 | 39 | ub-local-ipm-identifier INTEGER ::= 64 40 | 41 | ub-manual-handling-instruction-length INTEGER ::= 128 42 | 43 | ub-manual-handling-instructions INTEGER ::= 16 44 | 45 | ub-originators-reference-length INTEGER ::= 64 46 | 47 | ub-precedence INTEGER ::= 127 48 | 49 | ub-subject-field INTEGER ::= 128 50 | 51 | ub-telephone-number INTEGER ::= 32 52 | 53 | END -- of IPMSUpperBounds 54 | 55 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 56 | 57 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x420_1999_PKCS7BodyPartType.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module PKCS7BodyPartType (X.420:06/1999) 9 | -- See also ITU-T X.420 (06/1999) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | PKCS7BodyPartType {joint-iso-itu-t mhs(6) ipms(1) modules(0) 13 | pkcs7-body-part-type(16)} DEFINITIONS IMPLICIT TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS 17 | -- PKCS#7 18 | ContentInfo 19 | FROM PKCS7 {iso(1) member-body(2) usa(840) rsadsi(113549) pkcs(1) 20 | 7 module(0)} 21 | -- module not formally defined in the PKCS#7document, therefore defined in Annex O 22 | -- IPMS Information Objects 23 | EXTENDED-BODY-PART-TYPE 24 | FROM IPMSInformationObjects {joint-iso-itu-t mhs(6) ipms(1) modules(0) 25 | information-objects(2) version-1999(1)} 26 | -- IPMS Object Identifiers 27 | id-et-pkcs7 28 | --== 29 | FROM IPMSObjectIdentifiers {joint-iso-itu-t mhs(6) ipms(1) modules(0) 30 | object-identifiers(0) version-1999(1)}; 31 | 32 | -- PKCS7 body part 33 | pkcs7-body-part EXTENDED-BODY-PART-TYPE ::= { 34 | DATA {ContentInfo 35 | IDENTIFIED BY id-et-pkcs7} 36 | } 37 | 38 | END -- of PKCS7BodyPartType 39 | 40 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 41 | 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x435_1999_EDIMSFunctionalObjects.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module EDIMSFunctionalObjects (X.435:06/1999) 10 | -- See also ITU-T X.435 (06/1999) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | EDIMSFunctionalObjects {joint-iso-itu-t mhs(6) edims(7) modules(0) 14 | functional-objects(1)} DEFINITIONS IMPLICIT TAGS ::= 15 | BEGIN 16 | 17 | -- Prologue 18 | -- Exports everything 19 | IMPORTS 20 | -- EDIMS Abstract Service 21 | origination, reception 22 | --== 23 | FROM EDIMSAbstractService {joint-iso-itu-t mhs(6) edims(7) modules(0) 24 | abstract-service(3)} 25 | -- EDIMS Object Identifiers 26 | id-ot-edimg-user, id-ot-edims 27 | --== 28 | FROM EDIMSObjectIdentifiers {joint-iso-itu-t mhs(6) edims(7) modules(0) 29 | object-identifiers(0) version(2)} 30 | -- Remote operations 31 | CONTRACT 32 | --== 33 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 34 | remote-operations(4) informationObjects(5) version1(0)} 35 | -- MTS Abstract Service 36 | MHS-OBJECT 37 | --== 38 | FROM MTSAbstractService {joint-iso-itu-t mhs(6) mts(3) modules(0) 39 | mts-abstract-service(1) version-1999(1)}; 40 | 41 | -- END imports 42 | -- Primary Object Types 43 | -- EDI User 44 | edimg-user MHS-OBJECT ::= { 45 | INITIATES {edims-access-contract} 46 | ID id-ot-edimg-user 47 | } 48 | 49 | edims-access-contract CONTRACT ::= { 50 | INITIATOR CONSUMER OF {origination | reception} 51 | } 52 | 53 | -- EDI Messaging System 54 | edims MHS-OBJECT ::= {RESPONDS {edims-access-contract} 55 | ID id-ot-edims 56 | } 57 | 58 | END -- of EDIMSFunctionalObjects 59 | 60 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 61 | 62 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x435_1999_EDIMSUpperBounds.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module EDIMSUpperBounds (X.435:06/1999) 10 | -- See also ITU-T X.435 (06/1999) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | EDIMSUpperBounds {joint-iso-itu-t mhs(6) edims(7) modules(0) upper-bounds(5)} 14 | DEFINITIONS ::= 15 | BEGIN 16 | 17 | -- Prologue 18 | -- Exports everything 19 | IMPORTS -- nothing -- ; 20 | 21 | -- Upper bounds 22 | ub-application-reference INTEGER ::= 14 23 | 24 | ub-authorization-information INTEGER ::= 10 25 | 26 | ub-authorization-information-qualifier INTEGER ::= 2 27 | 28 | ub-communications-agreement-id INTEGER ::= 35 29 | 30 | ub-edi-association-assigned-code INTEGER ::= 6 31 | 32 | ub-edi-application-security-elements INTEGER ::= 8191 33 | 34 | ub-edi-controlling-agency INTEGER ::= 2 35 | 36 | ub-edi-document-release INTEGER ::= 3 37 | 38 | ub-edi-document-version INTEGER ::= 3 39 | 40 | ub-edi-message-type INTEGER ::= 6 41 | 42 | ub-edi-string-size INTEGER ::= 30 -- please check this value reference name 43 | 44 | ub-identification-code-qualifier INTEGER ::= 4 45 | 46 | ub-identification-code INTEGER ::= 35 47 | 48 | ub-interchange-control-reference INTEGER ::= 14 49 | 50 | ub-local-reference INTEGER ::= 64 51 | 52 | ub-processing-priority-code INTEGER ::= 1 53 | 54 | ub-reason-code INTEGER ::= 32767 55 | 56 | ub-recipient-reference-qualifier INTEGER ::= 2 57 | 58 | ub-recipient-reference INTEGER ::= 14 59 | 60 | ub-recipients INTEGER ::= 32767 61 | 62 | ub-routing-address INTEGER ::= 14 63 | 64 | ub-syntax-identifier INTEGER ::= 4 65 | 66 | ub-syntax-version INTEGER ::= 5 67 | 68 | END -- of EDIMSUpperBounds 69 | 70 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 71 | 72 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x509_2008_PKIX1Implicit93.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module PKIX1Implicit93 (X.509:11/2008) 10 | -- See also ITU-T X.509 (11/2008) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | -- The follow module is an abstract of the module specified by RFC 2459 14 | PKIX1Implicit93 {iso(1) identified-organization(3) dod(6) internet(1) 15 | security(5) mechanisms(5) pkix(7) id-mod(0) id-pkix1-implicit-93(4)} 16 | DEFINITIONS IMPLICIT TAGS ::= 17 | BEGIN 18 | 19 | UserNotice ::= SEQUENCE { 20 | noticeRef NoticeReference OPTIONAL, 21 | explicitText DisplayText OPTIONAL 22 | } 23 | 24 | NoticeReference ::= SEQUENCE { 25 | organization DisplayText, 26 | noticeNumbers SEQUENCE OF INTEGER 27 | } 28 | 29 | DisplayText ::= CHOICE { 30 | visibleString VisibleString(SIZE (1..200)), 31 | bmpString BMPString(SIZE (1..200)), 32 | utf8String UTF8String(SIZE (1..200)) 33 | } 34 | 35 | END -- PKIX1Implicit93 36 | 37 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 38 | 39 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x509_2012_PKIX1Implicit93.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module PKIX1Implicit93 (X.509:10/2012) 10 | -- See also ITU-T X.509 (10/2012) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | PKIX1Implicit93 {iso(1) identified-organization(3) dod(6) internet(1) 14 | security(5) mechanisms(5) pkix(7) id-mod(0) id-pkix1-implicit-93(4)} 15 | DEFINITIONS IMPLICIT TAGS ::= 16 | BEGIN 17 | 18 | UserNotice ::= SEQUENCE { 19 | noticeRef NoticeReference OPTIONAL, 20 | explicitText DisplayText OPTIONAL 21 | } 22 | 23 | NoticeReference ::= SEQUENCE { 24 | organization DisplayText, 25 | noticeNumbers SEQUENCE OF INTEGER 26 | } 27 | 28 | DisplayText ::= CHOICE { 29 | visibleString VisibleString(SIZE (1..200)), 30 | bmpString BMPString(SIZE (1..200)), 31 | utf8String UTF8String(SIZE (1..200)) 32 | } 33 | 34 | END -- PKIX1Implicit93-- 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x519_1997-TC2_DirectoryOperationalBindingTypes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -- Module DirectoryOperationalBindingTypes (X.519 TC2:08/1997) 9 | -- See also ITU-T X.519 (1997) Technical Cor. 2 (02/2001) 10 | -- See also the index of all ASN.1 assignments needed in this document 11 | 12 | DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1) 13 | directoryOperationalBindingTypes(25) 3} DEFINITIONS ::= 14 | BEGIN 15 | 16 | -- EXPORTS All 17 | -- The types and values defined in this module are exported for use in the other ASN.1 modules contained 18 | -- within the Directory Specifications, and for the use of other applications which will use them to access 19 | -- Directory services. Other applications may use them for their own purposes, but this will not constrain 20 | -- extensions and modifications needed to maintain or improve the Directory service. 21 | IMPORTS 22 | id-ob 23 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 24 | usefulDefinitions(0) 3}; 25 | 26 | id-op-binding-shadow OBJECT IDENTIFIER ::= {id-ob 1} 27 | 28 | id-op-binding-hierarchical OBJECT IDENTIFIER ::= {id-ob 2} 29 | 30 | id-op-binding-non-specific-hierarchical OBJECT IDENTIFIER ::= {id-ob 3} 31 | 32 | END -- DirectoryOperationalBindingTypes 33 | 34 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 35 | 36 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x519_1997_DirectoryOperationalBindingTypes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module DirectoryOperationalBindingTypes (X.519:08/1997) 10 | -- See also ITU-T X.519 (08/1997) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1) 14 | directoryOperationalBindingTypes(25) 3} DEFINITIONS ::= 15 | BEGIN 16 | 17 | -- EXPORTS All 18 | -- The types and values defined in this module are exported for use in the other ASN.1 modules contained 19 | -- within the Directory Specifications, and for the use of other applications which will use them to access 20 | -- Directory services. Other applications may use them for their own purposes, but this will not constrain 21 | -- extensions and modifications needed to maintain or improve the Directory service. 22 | IMPORTS 23 | id-ob 24 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 25 | usefulDefinitions(0) 3}; 26 | 27 | id-op-binding-shadow OBJECT IDENTIFIER ::= {id-ob 1} 28 | 29 | id-op-binding-hierarchical OBJECT IDENTIFIER ::= {id-ob 2} 30 | 31 | id-op-binding-non-specific-hierarchical OBJECT IDENTIFIER ::= {id-ob 3} 32 | 33 | END 34 | 35 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 36 | 37 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x519_2001_DirectoryOperationalBindingTypes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module DirectoryOperationalBindingTypes (X.519:02/2001) 10 | -- See also ITU-T X.519 (02/2001) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1) 14 | directoryOperationalBindingTypes(25) 4} DEFINITIONS ::= 15 | BEGIN 16 | 17 | -- EXPORTS All 18 | -- The types and values defined in this module are exported for use in the other ASN.1 modules contained 19 | -- within the Directory Specifications, and for the use of other applications which will use them to access 20 | -- Directory services. Other applications may use them for their own purposes, but this will not constrain 21 | -- extensions and modifications needed to maintain or improve the Directory service. 22 | IMPORTS 23 | -- from ITU-T Rec. X.501 | ISO/IEC 9594-2 24 | id-ob 25 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 26 | usefulDefinitions(0) 4}; 27 | 28 | id-op-binding-shadow OBJECT IDENTIFIER ::= {id-ob 1} 29 | 30 | id-op-binding-hierarchical OBJECT IDENTIFIER ::= {id-ob 2} 31 | 32 | id-op-binding-non-specific-hierarchical OBJECT IDENTIFIER ::= {id-ob 3} 33 | 34 | END -- DirectoryOperationalBindingTypes 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x519_2005_DirectoryOperationalBindingTypes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module DirectoryOperationalBindingTypes (X.519:08/2005) 10 | -- See also the README file 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1) 14 | directoryOperationalBindingTypes(25) 5} DEFINITIONS ::= 15 | BEGIN 16 | 17 | -- EXPORTS All 18 | -- The types and values defined in this module are exported for use in the other ASN.1 modules contained 19 | -- within the Directory Specifications, and for the use of other applications which will use them to access 20 | -- Directory services. Other applications may use them for their own purposes, but this will not constrain 21 | -- extensions and modifications needed to maintain or improve the Directory service. 22 | IMPORTS 23 | -- from ITU-T Rec. X.501 | ISO/IEC 9594-2 24 | id-ob 25 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 26 | usefulDefinitions(0) 5}; 27 | 28 | id-op-binding-shadow OBJECT IDENTIFIER ::= {id-ob 1} 29 | 30 | id-op-binding-hierarchical OBJECT IDENTIFIER ::= {id-ob 2} 31 | 32 | id-op-binding-non-specific-hierarchical OBJECT IDENTIFIER ::= {id-ob 3} 33 | 34 | END -- DirectoryOperationalBindingTypes 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x519_2008_DirectoryOperationalBindingTypes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module DirectoryOperationalBindingTypes (X.519:11/2008) 10 | -- See also ITU-T X.519 (11/2008) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1) 14 | directoryOperationalBindingTypes(25) 6} DEFINITIONS ::= 15 | BEGIN 16 | 17 | -- EXPORTS All 18 | -- The types and values defined in this module are exported for use in the other ASN.1 modules contained 19 | -- within the Directory Specifications, and for the use of other applications which will use them to access 20 | -- Directory services. Other applications may use them for their own purposes, but this will not constrain 21 | -- extensions and modifications needed to maintain or improve the Directory service. 22 | IMPORTS 23 | -- from ITU-T Rec. X.501 | ISO/IEC 9594-2 24 | id-ob 25 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 26 | usefulDefinitions(0) 6}; 27 | 28 | id-op-binding-shadow OBJECT IDENTIFIER ::= {id-ob 1} 29 | 30 | id-op-binding-hierarchical OBJECT IDENTIFIER ::= {id-ob 2} 31 | 32 | id-op-binding-non-specific-hierarchical OBJECT IDENTIFIER ::= {id-ob 3} 33 | 34 | END -- DirectoryOperationalBindingTypes 35 | 36 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 37 | 38 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x519_2012_DirectoryOperationalBindingTypes.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module DirectoryOperationalBindingTypes (X.519:10/2012) 10 | -- See also ITU-T X.519 (10/2012) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1) 14 | directoryOperationalBindingTypes(25) 7} DEFINITIONS ::= 15 | BEGIN 16 | 17 | -- EXPORTS All 18 | -- The types and values defined in this module are exported for use in the other ASN.1 19 | -- modules contained within the Directory Specifications, and for the use of other 20 | -- applications which will use them to access Directory services. Other applications 21 | -- may use them for their own purposes, but this will not constrain extensions and 22 | -- modifications 23 | IMPORTS 24 | -- from Rec. ITU-T X.501 | ISO/IEC 9594-2 25 | id-ob 26 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 27 | usefulDefinitions(0) 7}; 28 | 29 | id-op-binding-shadow OBJECT IDENTIFIER ::= {id-ob 1} 30 | 31 | id-op-binding-hierarchical OBJECT IDENTIFIER ::= {id-ob 2} 32 | 33 | id-op-binding-non-specific-hierarchical OBJECT IDENTIFIER ::= {id-ob 3} 34 | 35 | END -- DirectoryOperationalBindingTypes 36 | 37 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 38 | 39 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x519_2016_DirectoryOperationalBindingTypes.asn1: -------------------------------------------------------------------------------- 1 | DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1) directoryOperationalBindingTypes(25) 8} 2 | DEFINITIONS ::= 3 | BEGIN 4 | 5 | -- EXPORTS All 6 | -- The types and values defined in this module are exported for use in the other ASN.1 7 | -- modules contained within the Directory Specifications, and for the use of other 8 | -- applications which will use them to access Directory services. Other applications 9 | -- may use them for their own purposes, but this will not constrain extensions and 10 | -- modifications 11 | 12 | IMPORTS 13 | 14 | -- from Rec. ITU-T X.501 | ISO/IEC 9594-2 15 | 16 | id-ob 17 | FROM UsefulDefinitions {joint-iso-itu-t ds(5) module(1) 18 | usefulDefinitions(0) 8}; 19 | 20 | id-op-binding-shadow OBJECT IDENTIFIER ::= {id-ob 1} 21 | id-op-binding-hierarchical OBJECT IDENTIFIER ::= {id-ob 2} 22 | id-op-binding-non-specific-hierarchical OBJECT IDENTIFIER ::= {id-ob 3} 23 | 24 | END -- DirectoryOperationalBindingTypes -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x519_2019_DirectoryOperationalBindingTypes.asn1: -------------------------------------------------------------------------------- 1 | DirectoryOperationalBindingTypes {joint-iso-itu-t ds(5) module(1) directoryOperationalBindingTypes(25) 9} 2 | DEFINITIONS ::= 3 | BEGIN 4 | 5 | -- EXPORTS All 6 | /* 7 | The types and values defined in this module are exported for use in the other ASN.1 8 | modules contained within the Directory Specifications, and for the use of other 9 | applications which will use them to access Directory services. Other applications 10 | may use them for their own purposes, but this will not constrain extensions and 11 | modifications 12 | */ 13 | IMPORTS 14 | 15 | -- from Rec. ITU-T X.501 | ISO/IEC 9594-2 16 | 17 | id-ob 18 | FROM UsefulDefinitions 19 | {joint-iso-itu-t ds(5) module(1) usefulDefinitions(0) 9} WITH SUCCESSORS ; 20 | 21 | id-op-binding-shadow OBJECT IDENTIFIER ::= {id-ob 1} 22 | id-op-binding-hierarchical OBJECT IDENTIFIER ::= {id-ob 2} 23 | id-op-binding-non-specific-hierarchical OBJECT IDENTIFIER ::= {id-ob 3} 24 | 25 | END -- DirectoryOperationalBindingTypes -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x672_2010_CINF-module.asn1: -------------------------------------------------------------------------------- 1 | CINF-module {joint-iso-itu-t ors(50) modules(0) cinf(0) version1(1)} 2 | DEFINITIONS AUTOMATIC TAGS ::= 3 | BEGIN 4 | ChildInformation ::= CHOICE { 5 | noDisclosure NULL /* No information is provided */, 6 | disclosure Information 7 | } 8 | 9 | Information ::= SEQUENCE { 10 | disclosedChildren SEQUENCE OF disclosedChild ChildDetails, 11 | otherChildren INTEGER (-1..MAX) 12 | /* The number of additional non-disclosed children (-1 indicates that the 13 | node is not prepared to disclose the number of other children) */ } 14 | 15 | ChildDetails ::= SEQUENCE { 16 | orsSupported BOOLEAN 17 | /* Set to TRUE if the child OID node is ORS-supported */, 18 | unicodeLabels UnicodeLabels 19 | } 20 | 21 | UnicodeLabels ::= SEQUENCE { 22 | numericLabel INTEGER, 23 | non-numeric SEQUENCE OF labels Non-numericUnicodeLabel 24 | } 25 | 26 | Non-numericUnicodeLabel ::= UTF8String 27 | 28 | /* Restricted according to Rec. ITU-T X.660 | ISO/IEC 9834-1,clause 7.2.5 */ 29 | ENCODING-CONTROL XER 30 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 31 | END -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x683_2002_M1.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module M1 (X.683:07/2002) 10 | -- See also ITU-T X.683 (07/2002) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | M1 DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | EXPORTS T1; 17 | 18 | T1 ::= SET {f1 INTEGER, 19 | f2 BOOLEAN 20 | } 21 | 22 | END 23 | 24 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 25 | 26 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x683_2002_M2.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module M2 (X.683:07/2002) 10 | -- See also ITU-T X.683 (07/2002) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | M2 DEFINITIONS EXPLICIT TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS T1 17 | FROM M1; 18 | 19 | T3 ::= T2{T1} 20 | 21 | T2{X} ::= SEQUENCE {a INTEGER, 22 | b X 23 | } 24 | 25 | END 26 | 27 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x683_2002_M3.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module M3 (X.683:07/2002) 10 | -- See also ITU-T X.683 (07/2002) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | M3 DEFINITIONS AUTOMATIC TAGS ::= 14 | BEGIN 15 | 16 | IMPORTS T1 17 | FROM M1; 18 | 19 | T5 ::= T4{T1} 20 | 21 | T4{Y} ::= SEQUENCE {a INTEGER, 22 | b Y 23 | } 24 | 25 | END 26 | 27 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x683_2008_M1.asn1: -------------------------------------------------------------------------------- 1 | M1 DEFINITIONS AUTOMATIC TAGS ::= BEGIN 2 | EXPORTS T1; 3 | T1 ::= SET { 4 | f1 INTEGER, 5 | f2 BOOLEAN 6 | } 7 | END -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x683_2008_M2.asn1: -------------------------------------------------------------------------------- 1 | M2 DEFINITIONS EXPLICIT TAGS ::= BEGIN 2 | IMPORTS T1 FROM M1; 3 | T3 ::= T2{T1} 4 | T2{X} ::= SEQUENCE { 5 | a INTEGER, 6 | b X 7 | } 8 | END -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x683_2008_M3.asn1: -------------------------------------------------------------------------------- 1 | M3 DEFINITIONS AUTOMATIC TAGS ::= BEGIN 2 | IMPORTS T1 FROM M1; 3 | T5 ::= T4{T1} 4 | T4{Y} ::= SEQUENCE { 5 | a INTEGER, 6 | b Y 7 | } 8 | END -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example1-ASN1-Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Example1-ASN1-Module (X.692:07/2002) 10 | -- See also ITU-T X.692 (03/2002) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Example1-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 14 | asn1-module1(2)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | MyPDU ::= CHOICE {marriedMessage Married, 18 | altitudeMessage Altitude 19 | -- etc. 20 | } 21 | 22 | Married ::= BOOLEAN 23 | 24 | Altitude ::= INTEGER(0..65535) 25 | 26 | -- etc. 27 | END 28 | 29 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 30 | 31 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example1-EDM.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -- Generated by Ecnp, the pretty-printer of France Telecom R&D 7 | 8 | Example1-EDM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) edm-module1(3)} 9 | ENCODING-DEFINITIONS ::= 10 | BEGIN 11 | 12 | EXPORTS Example1Encodings; 13 | 14 | IMPORTS 15 | #Married, #Altitude, #EvenPositiveInteger, #EvenNegativeInteger, 16 | #IntegerRightAligned, #IntegerWithHole, #PositiveInteger, #NegativeInteger, 17 | #PositiveIntegerBCD, #Fax, #BinaryFile, #Password, #CharacterStringToBit, 18 | #Sequence1, #Choice, #Sequence2 19 | FROM Example1-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 20 | asn1-module1(2)}; 21 | 22 | Example1Encodings #ENCODINGS ::= {marriedEncoding-1 | 23 | -- etc 24 | sequence2Encoding} 25 | 26 | -- etc 27 | END 28 | 29 | 30 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example1-ELM.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -- Generated by Ecnp, the pretty-printer of France Telecom R&D 5 | 6 | Example1-ELM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) elm-module1(1)} 7 | LINK-DEFINITIONS ::= 8 | BEGIN 9 | 10 | IMPORTS 11 | Example1Encodings 12 | FROM Example-EDM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 13 | edm-module1(3)} 14 | #MyPDU 15 | FROM Example1-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 16 | asn1-module1(2)}; 17 | 18 | ENCODE #MyPDU 19 | WITH Example1Encodings COMPLETED BY PER-BASIC-UNALIGNED 20 | 21 | END 22 | 23 | 24 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example2-ASN1-Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Example2-ASN1-Module (X.692:07/2002) 10 | -- See also ITU-T X.692 (03/2002) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Example2-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 14 | asn1-module2(5)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | ExampleMessages ::= CHOICE { 18 | firstExample NormallySmallValues, 19 | secondExample SparseEvenlyDistributedValueSet 20 | -- etc. 21 | } 22 | 23 | NormallySmallValues ::= INTEGER(0..1024) 24 | 25 | SparseEvenlyDistributedValueSet ::= INTEGER(2 | 4 | 6 | 8 | 10 | 12 | 14 | 16) 26 | 27 | -- etc. 28 | END 29 | 30 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 31 | 32 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example2-EDM.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -- Generated by Ecnp, the pretty-printer of France Telecom R&D 5 | 6 | Example2-EDM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) edm-module2(6)} 7 | ENCODING-DEFINITIONS ::= 8 | BEGIN 9 | 10 | EXPORTS Example2Encodings; 11 | 12 | IMPORTS 13 | #NormallySmallValues, #SparseEvenlyDistributedValue, 14 | #SparseUnevenlyDistributedValueSet, #ConditionalPresenceOnValueSet, 15 | #ConditionalPresenceOnExternalCondition, #EnclosingStructureForList, 16 | #EqualLengthLists, #EnclosingStructureForChoice, #Version1Message 17 | FROM Example2-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 18 | asn1-module2(5)}; 19 | 20 | Example2Encodings #ENCODINGS ::= { 21 | normallySmallValuesEncoding | 22 | -- etc. 23 | extensibleMessageEncoding} 24 | 25 | -- etc. 26 | END 27 | 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example2-ELM.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -- Generated by Ecnp, the pretty-printer of France Telecom R&D 6 | 7 | Example2-ELM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) elm-module2(4)} 8 | LINK-DEFINITIONS ::= 9 | BEGIN 10 | 11 | IMPORTS 12 | Example2Encodings 13 | FROM Example2-EDM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 14 | edm-module2(6)} 15 | #ExampleMessages 16 | FROM Example2-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 17 | asn1-module2(5)}; 18 | 19 | ENCODE #ExampleMessages 20 | WITH Example2Encodings COMPLETED BY PER-BASIC-UNALIGNED 21 | 22 | END 23 | 24 | 25 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example3-ASN1-Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Example3-ASN1-Module (X.692:07/2002) 10 | -- See also ITU-T X.692 (03/2002) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Example3-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 14 | asn1-module3(9)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | Sequence1 ::= SEQUENCE { 18 | component1 BOOLEAN OPTIONAL, 19 | component2 INTEGER OPTIONAL, 20 | component3 VisibleString OPTIONAL 21 | } 22 | 23 | -- etc. 24 | END 25 | 26 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 27 | 28 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example3-EDM.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -- Generated by Ecnp, the pretty-printer of France Telecom R&D 5 | 6 | Example3-EDM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) edm-module3(10)} 7 | ENCODING-DEFINITIONS ::= 8 | BEGIN 9 | 10 | EXPORTS Example3Encodings; 11 | 12 | RENAMES 13 | #OPTIONAL AS #Sequence2-optional IN #Sequence2 14 | #OCTET-STRING AS #Octets3 IN ALL 15 | #OPTIONAL AS #Sequence3-optional IN #Sequence3 16 | #TAG AS #TAG-4-bits IN #Sequence3 17 | FROM Example3-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 18 | asn1-module3(9)}; 19 | 20 | Example3Encodings #ENCODINGS ::= { 21 | sequence1-optional-encoding | 22 | -- etc. 23 | sequenceOf-encoding} 24 | 25 | -- etc. 26 | END 27 | 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_Example3-ELM.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -- Generated by Ecnp, the pretty-printer of France Telecom R&D 6 | 7 | Example3-ELM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) elm-module3(8)} 8 | LINK-DEFINITIONS ::= 9 | BEGIN 10 | 11 | IMPORTS 12 | Example3Encodings, #Sequence1, #Sequence2, #Octet3, #Sequence3, 13 | #SequenceOfIntegers 14 | FROM Example3-EDM {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 15 | edm-module3(10)}; 16 | 17 | ENCODE #Sequence1, #Sequence2, #Octet3, #Sequence3, #SequenceOfIntegers 18 | WITH Example3Encodings COMPLETED BY PER-BASIC-UNALIGNED 19 | 20 | END 21 | 22 | 23 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_LegacyProtocol-EDM-Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | LegacyProtocol-EDM-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 7 | edm-module4(13)} ENCODING-DEFINITIONS ::= 8 | BEGIN 9 | 10 | EXPORTS LegacyProtocolEncodings; 11 | 12 | IMPORTS 13 | #LegacyProtocolMessages 14 | FROM LegacyProtocol-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) 15 | examples(5) asn1-module4(11)}; 16 | 17 | LegacyProtocolEncodings #ENCODINGS ::= { 18 | legacyProtocolMessagesEncoding | message1Encoding} 19 | 20 | -- etc. 21 | END 22 | 23 | 24 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2002_LegacyProtocol-ELM-Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LegacyProtocol-ELM-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 6 | elm-module4(12)} LINK-DEFINITIONS ::= 7 | BEGIN 8 | 9 | IMPORTS 10 | LegacyProtocolEncodings 11 | FROM LegacyProtocol-EDM-Module {joint-iso-itu-t(2) asn1(1) ecn(4) 12 | examples(5) edm-module4(13)} 13 | #LegacyProtocolMessages 14 | FROM LegacyProtocol-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) 15 | examples(5) asn1-module4(11)}; 16 | 17 | ENCODE #LegacyProtocolMessages 18 | WITH LegacyProtocolEncodings COMPLETED BY PER-BASIC-UNALIGNED 19 | 20 | END 21 | 22 | 23 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2008_Example3-ASN1-Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Example3-ASN1-Module (X.692:11/2008) 10 | -- See also standard 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Example3-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 14 | asn1-module3(9)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | Sequence1 ::= SEQUENCE { 18 | component1 BOOLEAN OPTIONAL, 19 | component2 INTEGER OPTIONAL, 20 | component3 VisibleString 21 | } 22 | 23 | sequence1 Sequence1 ::= {component2 1, component3 "component3"} 24 | 25 | Sequence2 ::= SEQUENCE { 26 | component1 BOOLEAN OPTIONAL, 27 | component2 INTEGER, 28 | component3 VisibleString OPTIONAL 29 | } 30 | 31 | sequence2 Sequence2 ::= {component1 TRUE, component2 10} 32 | 33 | Octet3 ::= OCTET STRING(CONTAINING Sequence3) 34 | 35 | octet3 Octet3 ::= 36 | CONTAINING{component1 '01010101'B, component2 '01010101'H, component3 37 | "component3"} 38 | 39 | Sequence3 ::= SEQUENCE { 40 | component1 [0] BIT STRING(SIZE (0..2047)) OPTIONAL, 41 | component2 [1] OCTET STRING(SIZE (0..2047)) OPTIONAL, 42 | component3 [2] VisibleString(SIZE (0..2047)) OPTIONAL 43 | } 44 | 45 | SequenceOfIntegers ::= SEQUENCE (SIZE (0..63)) OF INTEGER(0..1023) 46 | 47 | sequenceOfIntegers SequenceOfIntegers ::= {0, 1023} 48 | 49 | END 50 | 51 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 52 | 53 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2008_Example4-ASN1-Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Example4-ASN1-Module (X.692:11/2008) 10 | -- See also standard 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Example4-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 14 | asn1-module4(15)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | ProfileIndication ::= 18 | SEQUENCE OF 19 | SEQUENCE {more-bit BOOLEAN, 20 | reserved BIT STRING(SIZE (2)), 21 | protocol-Profile-ID INTEGER(0..31)} 22 | 23 | profileIndication ProfileIndication ::= { 24 | {more-bit FALSE, 25 | reserved '00'B, 26 | protocol-Profile-ID 0}, 27 | {more-bit TRUE, 28 | reserved '00'B, 29 | protocol-Profile-ID 1} 30 | } 31 | 32 | ProfileIndication2 ::= SEQUENCE OF protocol-Profile-ID INTEGER(0..31) 33 | 34 | profileIndication2 ProfileIndication2 ::= 35 | {protocol-Profile-ID 0, protocol-Profile-ID 1} 36 | 37 | END 38 | 39 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 40 | 41 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x692_2008_Example6-ASN1-Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Example6-ASN1-Module (X.692:11/2008) 10 | -- See also standard 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Example6-ASN1-Module {joint-iso-itu-t(2) asn1(1) ecn(4) examples(5) 14 | asn1-module6(18)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | My-Special-1 ::= INTEGER(-1..10) 18 | 19 | my-Special-1 My-Special-1 ::= 0 20 | 21 | My-Special-2 ::= INTEGER(-10..10) 22 | 23 | my-Special-2 My-Special-2 ::= 1 24 | 25 | My-Special-3 ::= INTEGER(0..1000) 26 | 27 | my-Special-3 My-Special-3 ::= 1000 28 | 29 | END 30 | 31 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 32 | 33 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x694_2004-Amd1_ABC.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ABC -- The module reference is not standardized 5 | DEFINITIONS XER INSTRUCTIONS AUTOMATIC TAGS ::= 6 | BEGIN 7 | 8 | IMPORTS 9 | Xyz-type 10 | FROM XYZ 11 | String 12 | FROM XSD {joint-iso-itu-t asn1(1) specification(0) modules(0) xsd-module(2) 13 | version1(1)}; 14 | 15 | /* For a Version 2 mapping, the last component of the module 16 | identifier would be version2(2) */ 17 | Abc-elem ::= [NAME AS UNCAPITALIZED] Xyz-type 18 | 19 | Sub1-elem ::= [NAME AS UNCAPITALIZED] XSD.String 20 | 21 | Sub2-elem ::= [NAME AS UNCAPITALIZED] XSD.String 22 | 23 | Sub2-attr ::= [NAME AS UNCAPITALIZED] [ATTRIBUTE] XSD.String 24 | 25 | ENCODING-CONTROL XER 26 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 27 | GLOBAL-DEFAULTS CONTROL-NAMESPACE 28 | "http://www.w3.org/2001/XMLSchema-instance" 29 | NAMESPACE ALL AS "http://example.com/abc" 30 | END 31 | 32 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 33 | 34 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x694_2004-Amd1_XYZ.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | XYZ -- The module reference is not standardized 5 | DEFINITIONS XER INSTRUCTIONS AUTOMATIC TAGS ::= 6 | BEGIN 7 | 8 | IMPORTS 9 | String 10 | FROM XSD {joint-iso-itu-t asn1(1) specification(0) modules(0) xsd-module(2) 11 | version1(1)}; 12 | 13 | /* For a Version 2 mapping, the last component of the module 14 | identifier would be version2(2) */ 15 | Xyz-elem ::= [NAME AS UNCAPITALIZED] XSD.String 16 | 17 | Xyz-type ::= SEQUENCE {xyz-attr [ATTRIBUTE] BOOLEAN OPTIONAL} 18 | 19 | ENCODING-CONTROL XER 20 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 21 | GLOBAL-DEFAULTS CONTROL-NAMESPACE 22 | "http://www.w3.org/2001/XMLSchema-instance" 23 | NAMESPACE ALL AS "http://example.com/xyz" 24 | END 25 | 26 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 27 | 28 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x694_2004_ABC.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module ABC (X.694:01/2004) 10 | -- See also ITU-T X.694 (01/2004) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | ABC -- The module reference is not standardized 14 | DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | Xyz-type 19 | FROM XYZ 20 | String, Token 21 | FROM XSD {joint-iso-itu-t asn1(1) specification(0) modules(0) xsd-module(1)}; 22 | 23 | Abc-elem ::= [NAME AS UNCAPITALIZED] Xyz-type 24 | 25 | Sub1-elem ::= [NAME AS UNCAPITALIZED] XSD.String 26 | 27 | Sub2-elem ::= [NAME AS UNCAPITALIZED] XSD.String 28 | 29 | Sub2-attr ::= [NAME AS UNCAPITALIZED] [ATTRIBUTE] XSD.Token 30 | 31 | ENCODING-CONTROL XER 32 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 33 | GLOBAL-DEFAULTS CONTROL-NAMESPACE 34 | "http://www.w3.org/2001/XMLSchema-instance" 35 | END 36 | 37 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 38 | 39 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x694_2004_XYZ.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module XYZ (X.694:01/2004) 10 | -- See also ITU-T X.694 (01/2004) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | XYZ -- The module reference is not standardized 14 | DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | Xyz ::= [NAME AS UNCAPITALIZED] XSD.String 18 | 19 | Xyz-type ::= SEQUENCE {xyz-attr [ATTRIBUTE] BOOLEAN OPTIONAL 20 | } 21 | 22 | ENCODING-CONTROL XER 23 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 24 | GLOBAL-DEFAULTS CONTROL-NAMESPACE 25 | "http://www.w3.org/2001/XMLSchema-instance" 26 | END 27 | 28 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 29 | 30 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x694_2008_ABC.asn1: -------------------------------------------------------------------------------- 1 | ABC -- The module reference is not standardized 2 | DEFINITIONS XER INSTRUCTIONS AUTOMATIC TAGS ::= 3 | BEGIN 4 | IMPORTS 5 | Xyz-type FROM XYZ 6 | String FROM XSD {joint-iso-itu-t asn1(1) specification(0) modules(0) 7 | xsd-module(2) version1(1)} 8 | /* For a Version 2 mapping, the last component of the module 9 | identifier would be version2(2) */ 10 | ; 11 | 12 | Abc-elem ::= [NAME AS UNCAPITALIZED] Xyz-type 13 | Sub1-elem ::= [NAME AS UNCAPITALIZED] XSD.String 14 | Sub2-elem ::= [NAME AS UNCAPITALIZED] XSD.String 15 | Sub2-attr ::= [NAME AS UNCAPITALIZED] [ATTRIBUTE] XSD.String 16 | 17 | ENCODING-CONTROL XER 18 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 19 | GLOBAL-DEFAULTS CONTROL-NAMESPACE 20 | "http://www.w3.org/2001/XMLSchema-instance" 21 | PREFIX "xsi" 22 | NAMESPACE ALL AS "http://example.com/abc" 23 | PREFIX "abc" 24 | END -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x694_2008_XYZ.asn1: -------------------------------------------------------------------------------- 1 | XYZ -- The module reference is not standardized 2 | DEFINITIONS XER INSTRUCTIONS AUTOMATIC TAGS ::= 3 | BEGIN 4 | IMPORTS 5 | String FROM XSD{joint-iso-itu-t asn1(1) specification(0) modules(0) 6 | xsd-module(2) version1(1)} 7 | /* For a Version 2 mapping, the last component of the module 8 | identifier would be version2(2) */ 9 | ; 10 | 11 | Xyz-elem ::= [NAME AS UNCAPITALIZED] XSD.String 12 | Xyz-type ::= SEQUENCE { 13 | xyz-attr [ATTRIBUTE] BOOLEAN OPTIONAL } 14 | 15 | ENCODING-CONTROL XER 16 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 17 | GLOBAL-DEFAULTS CONTROL-NAMESPACE 18 | "http://www.w3.org/2001/XMLSchema-instance" 19 | PREFIX "xsi" 20 | NAMESPACE ALL AS "http://example.com/xyz" 21 | PREFIX "xyz" 22 | END -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x694_2015_ABC.asn1: -------------------------------------------------------------------------------- 1 | ABC -- The module reference is not standardized 2 | DEFINITIONS XER INSTRUCTIONS AUTOMATIC TAGS ::= 3 | BEGIN 4 | IMPORTS 5 | Xyz-type FROM XYZ 6 | String FROM XSD {joint-iso-itu-t asn1(1) specification(0) modules(0) 7 | xsd-module(2) version1(1)} 8 | /* For a Version 2 mapping, the last component of the module 9 | identifier would be version2(2) */ 10 | ; 11 | 12 | Abc-elem ::= [NAME AS UNCAPITALIZED] Xyz-type 13 | Sub1-elem ::= [NAME AS UNCAPITALIZED] XSD.String 14 | Sub2-elem ::= [NAME AS UNCAPITALIZED] XSD.String 15 | Sub2-attr ::= [NAME AS UNCAPITALIZED] [ATTRIBUTE] XSD.String 16 | 17 | ENCODING-CONTROL XER 18 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 19 | GLOBAL-DEFAULTS CONTROL-NAMESPACE 20 | "http://www.w3.org/2001/XMLSchema-instance" 21 | PREFIX "xsi" 22 | NAMESPACE ALL AS "http://example.com/abc" 23 | PREFIX "abc" 24 | END -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x694_2015_XYZ.asn1: -------------------------------------------------------------------------------- 1 | XYZ -- The module reference is not standardized 2 | DEFINITIONS XER INSTRUCTIONS AUTOMATIC TAGS ::= 3 | BEGIN 4 | IMPORTS 5 | String FROM XSD{joint-iso-itu-t asn1(1) specification(0) modules(0) 6 | xsd-module(2) version1(1)} 7 | /* For a Version 2 mapping, the last component of the module 8 | identifier would be version2(2) */ 9 | ; 10 | 11 | Xyz-elem ::= [NAME AS UNCAPITALIZED] XSD.String 12 | Xyz-type ::= SEQUENCE { 13 | xyz-attr [ATTRIBUTE] BOOLEAN OPTIONAL } 14 | 15 | ENCODING-CONTROL XER 16 | GLOBAL-DEFAULTS MODIFIED-ENCODINGS 17 | GLOBAL-DEFAULTS CONTROL-NAMESPACE 18 | "http://www.w3.org/2001/XMLSchema-instance" 19 | PREFIX "xsi" 20 | NAMESPACE ALL AS "http://example.com/xyz" 21 | PREFIX "xyz" 22 | END -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x711_1997_CMIP-A-ABORT-Information.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module CMIP-A-ABORT-Information (X.711:10/1997) 10 | -- See also ITU-T X.711 (10/1997) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | CMIP-A-ABORT-Information {joint-iso-itu-t ms(9) cmip(1) modules(0) 14 | aAbortUserInfo(2)} DEFINITIONS ::= 15 | BEGIN 16 | 17 | -- Information carried in user-information parameter of A-ABORT 18 | CMIPAbortInfo ::= SEQUENCE { 19 | abortSource [0] IMPLICIT CMIPAbortSource, 20 | userInfo [1] EXTERNAL OPTIONAL 21 | } 22 | 23 | CMIPAbortSource ::= ENUMERATED {cmiseServiceUser(0), cmiseServiceProvider(1)} 24 | 25 | END 26 | 27 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x711_1997_CMIP-A-ASSOCIATE-Information.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module CMIP-A-ASSOCIATE-Information (X.711:10/1997) 10 | -- See also ITU-T X.711 (10/1997) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | CMIP-A-ASSOCIATE-Information {joint-iso-itu-t ms(9) cmip(1) modules(0) 14 | aAssociateUserInfo(1)} DEFINITIONS ::= 15 | BEGIN 16 | 17 | FunctionalUnits ::= BIT STRING { 18 | multipleObjectSelection(0), filter(1), multipleReply(2), extendedService(3), 19 | cancelGet(4)} 20 | 21 | -- Functional unit i is supported if and only if bit i is one 22 | -- Information carried in user-information parameter of A-ASSOCIATE 23 | CMIPUserInfo ::= SEQUENCE { 24 | protocolVersion [0] IMPLICIT ProtocolVersion DEFAULT {version1}, 25 | functionalUnits [1] IMPLICIT FunctionalUnits DEFAULT {}, 26 | accessControl [2] EXTERNAL OPTIONAL, 27 | userInfo [3] EXTERNAL OPTIONAL 28 | } 29 | 30 | ProtocolVersion ::= BIT STRING {version1(0), version2(1)} 31 | 32 | END 33 | 34 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 35 | 36 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x721_1992_ManagedObjectClassesDefinitions.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module ManagedObjectClassesDefinitions (X.721:02/1992) 10 | -- See also ITU-T X.721 (02/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | ManagedObjectClassesDefinitions {joint-iso-itu-t ms(9) smi(3) part2(2) 14 | asn1Module(2) 0} DEFINITIONS ::= 15 | BEGIN 16 | 17 | --EXPORTS everything 18 | smi2MObjectClass OBJECT IDENTIFIER ::= 19 | {joint-iso-itu-t ms(9) smi(3) part2(2) managedObjectClass(3)} 20 | 21 | smi2NameBinding OBJECT IDENTIFIER ::= 22 | {joint-iso-itu-t ms(9) smi(3) part2(2) nameBinding(6)} 23 | 24 | smi2Package OBJECT IDENTIFIER ::= 25 | {joint-iso-itu-t ms(9) smi(3) part2(2) package(4)} 26 | 27 | END 28 | 29 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 30 | 31 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x721_1992_Parameter-ASN1Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Parameter-ASN1Module (X.721:02/1992) 10 | -- See also ITU-T X.721 (02/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Parameter-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) asn1Module(2) 3} 14 | DEFINITIONS IMPLICIT TAGS ::= 15 | BEGIN 16 | 17 | smi2Parameter OBJECT IDENTIFIER ::= 18 | {joint-iso-itu-t ms(9) smi(3) part2(2) parameter(5)} 19 | 20 | MiscellaneousError ::= NULL 21 | 22 | END 23 | 24 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 25 | 26 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x722_1992_ActionModule.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module ActionModule (X.722:01/1992) 10 | -- See also ITU-T X.722 (01/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | ActionModule {joint-iso-itu-t ms(9) smi(3) part4(4) asn1Module(2) actions(2)} 14 | DEFINITIONS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | OperationalState, ManagementExtension 19 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 20 | asn1Module(2) 1}; 21 | 22 | ActivateReply ::= SEQUENCE { 23 | operationalStatus [0] OperationalState, 24 | responseCode 25 | [1] INTEGER {successResponse(0), serviceProviderErrorResponse(1)}, 26 | responseParams [2] SET OF ManagementExtension OPTIONAL 27 | } 28 | 29 | END 30 | 31 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 32 | 33 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x722_1992_AttributeModule.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module AttributeModule (X.722:01/1992) 10 | -- See also ITU-T X.722 (01/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | AttributeModule {joint-iso-itu-t ms(9) smi(3) part4(4) asn1Module(2) 14 | attributes(0)} DEFINITIONS ::= 15 | BEGIN 16 | 17 | ObjectName ::= GraphicString 18 | 19 | QOSErrorCause ::= INTEGER { 20 | responseTimeExcessive(0), queueSizeExceeded(1), bandwidthReduced(2), 21 | retransmissionRateExcessive(3)} 22 | 23 | QOSErrorCounter ::= INTEGER 24 | 25 | QOSCounterRange ::= QOSErrorCounter(0..4294967296) -- Range is 32 bits 26 | 27 | 28 | END 29 | 30 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 31 | 32 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x722_1992_NotificationModule.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module NotificationModule (X.722:01/1992) 10 | -- See also ITU-T X.722 (01/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | NotificationModule {joint-iso-itu-t ms(9) smi(3) part4(4) asn1Module(2) 14 | notifications(1)} DEFINITIONS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | ProbableCause, PerceivedSeverity, TrendIndication, BackedUpStatus, 19 | ProposedRepairActions, ThresholdInfo, ManagementExtension 20 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 21 | asn1Module(2) 1}; 22 | 23 | ErrorInfo ::= SET { 24 | probableCause [0] ProbableCause OPTIONAL, 25 | perceivedSeverity [1] PerceivedSeverity OPTIONAL, 26 | trendIndication [2] TrendIndication OPTIONAL, 27 | backedUpStatus [3] BackedUpStatus OPTIONAL, 28 | proposedRepairActions [4] ProposedRepairActions OPTIONAL, 29 | thresholdInfo [5] ThresholdInfo OPTIONAL, 30 | otherInfo [6] OtherInfo OPTIONAL 31 | } 32 | 33 | ErrorResult ::= NULL 34 | 35 | OtherInfo ::= SET OF ManagementExtension 36 | 37 | ProtocolError ::= SET OF ManagementExtension 38 | 39 | END 40 | 41 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 42 | 43 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x722_1992_ParameterModule.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module ParameterModule (X.722:01/1992) 10 | -- See also ITU-T X.722 (01/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | ParameterModule {joint-iso-itu-t ms(9) smi(3) part4(4) asn1Module(2) 14 | parameters(3)} DEFINITIONS ::= 15 | BEGIN 16 | 17 | ErrorInfo1 ::= INTEGER 18 | 19 | ServiceProviderErrorResponseReason ::= ENUMERATED { 20 | insufficientResources(0), providerDoesNotExist(1), providerNotAvailable(2), 21 | requiredServiceNotAvailable(3)} 22 | 23 | PDUString ::= OCTET STRING 24 | 25 | END 26 | 27 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x722_1992_SMModule.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module SMModule (X.722:01/1992) 10 | -- See also ITU-T X.722 (01/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | -- 14 | SMModule {joint-iso-itu-t ms(9) smi(3) part4(4) asn1Module(2) smmmodule(4)} 15 | DEFINITIONS ::= 16 | BEGIN 17 | 18 | REGISTERED-AS ::= TYPE-IDENTIFIER 19 | 20 | -- TYPE-IDENTIFIER is defined in ISO/IEC 8824-1 and is available in any module 21 | -- without the necessity for importing it and is defined as: 22 | -- TYPE-IDENTIFIER::= CLASS 23 | -- { 24 | -- &id OBJECT IDENTIFIER UNIQUE, 25 | -- &Type 26 | -- } 27 | -- WITH SYNTAX {&Type IDENTIFIED BY &id} 28 | INFO-REPLY-IDENTIFIER ::= CLASS { 29 | &Info OPTIONAL, 30 | &Reply OPTIONAL, 31 | ®isteredAs OBJECT IDENTIFIER UNIQUE 32 | }WITH SYNTAX {INFO &Info 33 | REPLY &Reply 34 | IDENTIFIED BY ®isteredAs 35 | } 36 | 37 | RegisteredAsTable REGISTERED-AS ::= 38 | {...} 39 | 40 | InfoReplyTable INFO-REPLY-IDENTIFIER ::= 41 | {...} 42 | 43 | -- RegisteredAsTable to be filled in by GDMO ATTRIBUTE and PARAMETER 44 | -- Templates 45 | -- InfoReplyTable to be filled in by GDMO ACTION and NOTIFICATION Templates 46 | END 47 | 48 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 49 | 50 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x723_1993_GMI-AttributeModule.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module GMI-AttributeModule (X.723:11/1993) 10 | -- See also ITU-T X.723 (11/1993) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | GMI-AttributeModule {joint-iso-itu-t ms(9) smi(3) part5(5) asn1Module(2) 14 | gmiAttributeModule(0)} DEFINITIONS IMPLICIT TAGS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | GroupObjects, ManagementExtension 19 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 20 | asn1Module(2) 1} 21 | RelativeDistinguishedName 22 | FROM CMIP-1 {joint-iso-itu-t(2) ms(9) cmip(1) modules(0) protocol(3)}; -- End of IMPORTS 23 | 24 | ActionInfo ::= SET OF ManagementExtension 25 | 26 | ActionReply ::= SET OF ManagementExtension 27 | 28 | ApplicationProcessId ::= GraphicString 29 | 30 | ApplicationProcessTitle ::= CHOICE { 31 | directory [0] SEQUENCE OF RelativeDistinguishedName, 32 | oid [1] OBJECT IDENTIFIER, 33 | notKnown NULL 34 | } 35 | 36 | CommunicationsEntityId ::= GraphicString 37 | 38 | CommunicationsInformation ::= SEQUENCE { 39 | informationType InformationType, 40 | informationData InformationData OPTIONAL 41 | } 42 | 43 | ConnectionId ::= GraphicString 44 | 45 | GenericCounter ::= INTEGER 46 | 47 | Generic64BitCounter ::= INTEGER(0..18446744073709551615) 48 | 49 | InformationType ::= OBJECT IDENTIFIER 50 | 51 | InformationData ::= SET OF ManagementExtension 52 | 53 | ProtocolMachineId ::= GraphicString 54 | 55 | Sap1Address ::= INTEGER 56 | 57 | Sap2Address ::= SET OF OCTET STRING 58 | 59 | SapId ::= GraphicString 60 | 61 | SubsystemId ::= GraphicString 62 | 63 | Timer ::= SEQUENCE { 64 | exponent [1] INTEGER(-62..63), 65 | mantissa [2] INTEGER(0..65535) 66 | } 67 | 68 | END 69 | 70 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 71 | 72 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x725_1995_GRM-ASN1Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module GRM-ASN1Module (X.725:11/1995) 10 | -- See also ITU-T X.725 (11/1995) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | GRM-ASN1Module {joint-iso-itu-t ms(9) smi(3) part7(7) asn1Module(2) 2} 14 | DEFINITIONS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | ObjectInstance 19 | FROM CMIP-1 {joint-iso-itu-t ms(9) cmip(1) version(1) protocol(3)} 20 | SimpleNameType, GroupObjects 21 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 22 | asn1Module(2) 1}; 23 | 24 | RelationshipClass ::= OBJECT IDENTIFIER 25 | 26 | RelationshipMapping ::= OBJECT IDENTIFIER 27 | 28 | Null ::= NULL 29 | 30 | END 31 | 32 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 33 | 34 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x725_1995_GRMD.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module GRMD (X.725:11/1995) 10 | -- See also ITU-T X.725 (11/1995) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | GRMD {joint-iso-itu-t ms(9) smi(3) part7(7) asn1Module(2) 1} DEFINITIONS ::= 14 | BEGIN 15 | 16 | grm-Object OBJECT IDENTIFIER ::= 17 | {joint-iso-itu-t ms(9) smi(3) part7(7) managedObjectClass(3)} 18 | 19 | grm-Package OBJECT IDENTIFIER ::= 20 | {joint-iso-itu-t ms(9) smi(3) part7(7) package(4)} 21 | 22 | grm-Parameter OBJECT IDENTIFIER ::= 23 | {joint-iso-itu-t ms(9) smi(3) part7(7) parameter(5)} 24 | 25 | grm-NameBinding OBJECT IDENTIFIER ::= 26 | {joint-iso-itu-t ms(9) smi(3) part7(7) nameBinding(6)} 27 | 28 | grm-Attribute OBJECT IDENTIFIER ::= 29 | {joint-iso-itu-t ms(9) smi(3) part7(7) attribute(7)} 30 | 31 | grm-RelationshipClass OBJECT IDENTIFIER ::= 32 | {joint-iso-itu-t ms(9) smi(3) part7(7) relationshipClass(11)} 33 | 34 | grm-RelationshipMapping OBJECT IDENTIFIER ::= 35 | {joint-iso-itu-t ms(9) smi(3) part7(7) relationshipMapping(12)} 36 | 37 | grm-RelationshipRole OBJECT IDENTIFIER ::= 38 | {joint-iso-itu-t ms(9) smi(3) part7(7) relationshipRole(13)} 39 | 40 | END 41 | 42 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 43 | 44 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x725_1995_GRMExample.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module GRMExample (X.725:11/1995) 10 | -- See also ITU-T X.725 (11/1995) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | GRMExample {joint-iso-itu-t ms(9) smi(3) part7(7) asn1Module(2) exampleASN1(99) 14 | } DEFINITIONS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | GroupObjects 19 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 20 | asn1Module(2) 1}; 21 | 22 | grmEx-Role OBJECT IDENTIFIER ::= 23 | {joint-iso-itu-t ms(9) smi(3) part7(7) grm-Role(13) exampleRole(99)} 24 | 25 | grmEx-RelationshipClass OBJECT IDENTIFIER ::= 26 | {joint-iso-itu-t ms(9) smi(3) part7(7) grm-RelationshipClass(11) 27 | exampleRelationshipClass(99)} 28 | 29 | grmEx-RelationshipMapping OBJECT IDENTIFIER ::= 30 | {joint-iso-itu-t ms(9) smi(3) part7(7) grm-RelationshipMapping(12) 31 | exampleRelationshipMapping(99)} 32 | 33 | grmEx-Object OBJECT IDENTIFIER ::= 34 | {joint-iso-itu-t ms(9) smi(3) part7(7) managedObjectClass(3) 35 | exampleObjectClass(99)} 36 | 37 | grmEx-Attribute OBJECT IDENTIFIER ::= 38 | {joint-iso-itu-t ms(9) smi(3) part7(7) attribute(7) exampleAttribute(99)} 39 | 40 | grmEx-NameBinding OBJECT IDENTIFIER ::= 41 | {joint-iso-itu-t ms(9) smi(3) part7(7) nameBinding(6) exampleNameBinding(99)} 42 | 43 | grmEx-Package OBJECT IDENTIFIER ::= 44 | {joint-iso-itu-t ms(9) smi(3) part7(7) package(4) examplePackage(99)} 45 | 46 | PersonName ::= GraphicString 47 | 48 | SingleValued ::= GroupObjects(SIZE (1)) 49 | 50 | ZeroToTwo ::= INTEGER(0..2) 51 | 52 | One ::= INTEGER(1..1) 53 | 54 | OneToFive ::= INTEGER(1..5) 55 | 56 | OneToMax ::= INTEGER(1..MAX) 57 | 58 | Two ::= INTEGER(2..2) 59 | 60 | TwoToMax ::= INTEGER(2..MAX) 61 | 62 | END 63 | 64 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 65 | 66 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x740_1992_SecurityAuditTrail-ASN1Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module SecurityAuditTrail-ASN1Module (:) 10 | -- See also ITU-T X.740 (09/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | SecurityAuditTrail-ASN1Module {joint-iso-itu-t ms(9) function(2) part8(8) 14 | asn1Module(2) 2} DEFINITIONS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | AdditionalText, AdditionalInformation, CorrelatedNotifications, 19 | NotificationIdentifier 20 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 21 | asn1Module(2) 1}; 22 | 23 | SecurityAuditInfo ::= SEQUENCE { 24 | serviceReportCause ServiceReportCause OPTIONAL, 25 | notificationIdentifier NotificationIdentifier OPTIONAL, 26 | correlatedNotifications [1] IMPLICIT CorrelatedNotifications OPTIONAL, 27 | additionalText AdditionalText OPTIONAL, 28 | additionalInformation [2] IMPLICIT AdditionalInformation OPTIONAL 29 | } 30 | 31 | ServiceReportCause ::= OBJECT IDENTIFIER 32 | 33 | END 34 | 35 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 36 | 37 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x740_1992_SecurityAuditTrailDefinitions.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module SecurityAuditTrailDefinitions (:) 10 | -- See also ITU-T X.740 (09/1992) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | SecurityAuditTrailDefinitions {joint-iso-itu-t ms(9) function(2) part8(8) 14 | asn1Module(2) 1} DEFINITIONS ::= 15 | BEGIN 16 | 17 | IMPORTS 18 | ServiceReportCause 19 | FROM SecurityAuditTrail-ASN1Module {joint-iso-itu-t ms(9) function(2) 20 | part8(8) asn1Module(2) 2}; 21 | 22 | securityAuditTrail-Object OBJECT IDENTIFIER ::= 23 | {joint-iso-itu-t ms(9) function(2) part8(8) managedObjectClass(3)} 24 | 25 | securityAuditTrail-Package OBJECT IDENTIFIER ::= 26 | {joint-iso-itu-t ms(9) function(2) part8(8) package(4)} 27 | 28 | securityAuditTrail-Attribute OBJECT IDENTIFIER ::= 29 | {joint-iso-itu-t ms(9) function(2) part8(8) attribute(7)} 30 | 31 | securityAuditTrail-Notification OBJECT IDENTIFIER ::= 32 | {joint-iso-itu-t ms(9) function(2) part8(8) notification(10)} 33 | 34 | serviceReportCause OBJECT IDENTIFIER ::= 35 | {joint-iso-itu-t ms(9) function(2) part8(8) standardSpecificExtension(0) 1} 36 | 37 | -- the following OBJECT IDENTIFIER values can be used as values for the service report cause parameter in A.5. 38 | serviceRequest ServiceReportCause ::= 39 | {serviceReportCause 1} 40 | 41 | serviceDenial ServiceReportCause ::= {serviceReportCause 2} 42 | 43 | serviceResponse ServiceReportCause ::= {serviceReportCause 3} 44 | 45 | serviceFailure ServiceReportCause ::= {serviceReportCause 4} 46 | 47 | serviceRecovery ServiceReportCause ::= {serviceReportCause 5} 48 | 49 | otherReason ServiceReportCause ::= {serviceReportCause 6} 50 | 51 | END 52 | 53 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 54 | 55 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x741_1995_AccessControlDefinitions.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | AccessControlDefinitions {joint-iso-itu-t(2) ms(9) function(2) part9(9) 7 | asn1Module(2) 1} DEFINITIONS ::= 8 | BEGIN 9 | 10 | accessControl-Object OBJECT IDENTIFIER ::= 11 | {joint-iso-itu-t(2) ms(9) function(2) part9(9) managedObjectClass(3)} 12 | 13 | accessControl-Package OBJECT IDENTIFIER ::= 14 | {joint-iso-itu-t(2) ms(9) function(2) part9(9) package(4)} 15 | 16 | accessControl-Parameter OBJECT IDENTIFIER ::= 17 | {joint-iso-itu-t(2) ms(9) function(2) part9(9) parameter(5)} 18 | 19 | accessControl-NameBinding OBJECT IDENTIFIER ::= 20 | {joint-iso-itu-t(2) ms(9) function(2) part9(9) nameBinding(6)} 21 | 22 | accessControl-Attribute OBJECT IDENTIFIER ::= 23 | {joint-iso-itu-t(2) ms(9) function(2) part9(9) attribute(7)} 24 | 25 | END 26 | 27 | -- Generated by Asnp, the pretty-printer of France Telecom R&D 28 | 29 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x742_1995_UMFObjId.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module UMFObjId (X.742:04/1995) 10 | -- See also ITU-T X.742 (04/1995) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | UMFObjId {joint-iso-itu-t ms(9) function(2) part10(10) asn1Modules(2) 0} 14 | DEFINITIONS ::= 15 | BEGIN 16 | 17 | umf-mo OBJECT IDENTIFIER ::= 18 | {joint-iso-itu-t ms(9) function(2) part10(10) managedObjectClass(3)} 19 | 20 | umf-pkg OBJECT IDENTIFIER ::= 21 | {joint-iso-itu-t ms(9) function(2) part10(10) package(4)} 22 | 23 | umf-par OBJECT IDENTIFIER ::= 24 | {joint-iso-itu-t ms(9) function(2) part10(10) parameter(5)} 25 | 26 | umf-nb OBJECT IDENTIFIER ::= 27 | {joint-iso-itu-t ms(9) function(2) part10(10) nameBinding(6)} 28 | 29 | umf-att OBJECT IDENTIFIER ::= 30 | {joint-iso-itu-t ms(9) function(2) part10(10) attribute(7)} 31 | 32 | umf-act OBJECT IDENTIFIER ::= 33 | {joint-iso-itu-t ms(9) function(2) part10(10) action(9)} 34 | 35 | umf-not OBJECT IDENTIFIER ::= 36 | {joint-iso-itu-t ms(9) function(2) part10(10) notification(10)} 37 | 38 | END 39 | 40 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 41 | 42 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x743_1998-TC1_TimeRepresentation.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module TimeRepresentation (X.743:06/1998) 10 | -- See also ITU-T X.743 (1998) Technical Cor. 1 (03/2001) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | -- 16 | TimeRepresentation {joint-iso-itu-t ms(9) function(2) part20(20) asn1Module(2) 17 | timeRepresentation(2)} DEFINITIONS ::= 18 | BEGIN 19 | 20 | Epochs ::= INTEGER(-128..127) 21 | 22 | Seconds ::= INTEGER(0..4294967295) 23 | 24 | Nanoseconds ::= INTEGER(0..999999999) 25 | 26 | MaximumErrorInNanoseconds ::= INTEGER {noEstimate(281474976710655) 27 | }(0..281474976710655) 28 | 29 | CumLeapSeconds ::= INTEGER(0..65536) 30 | 31 | TimeZone ::= INTEGER {unknown(781)}(-780..781) 32 | 33 | -- Represents minutes east of GMT. 34 | TimeStamp ::= SEQUENCE { 35 | epoch Epochs, 36 | second Seconds, 37 | nanosecond Nanoseconds, 38 | maximumError MaximumErrorInNanoseconds 39 | } 40 | 41 | ClockTime ::= SEQUENCE { 42 | time TimeStamp, 43 | leapSeconds CumLeapSeconds, 44 | localTimeZone TimeZone 45 | } 46 | 47 | TimeInterval ::= SEQUENCE { 48 | epochs Epochs, 49 | seconds Seconds, 50 | nanoseconds Nanoseconds 51 | } 52 | 53 | TimeDifference ::= SEQUENCE { 54 | sign ENUMERATED {positive(0), negative(1)}, 55 | epochs Epochs, 56 | seconds Seconds, 57 | nanoseconds Nanoseconds, 58 | maximumError MaximumErrorInNanoseconds 59 | } 60 | 61 | END 62 | 63 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 64 | 65 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x744_1996_BackupRestoreASN1Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module BackupRestoreASN1Module (X.744:10/1996) 10 | -- See also ITU-T X.744 (10/1996) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | BackupRestoreASN1Module {joint-iso-itu-t ms(9) function(2) part18(18) 14 | asn1Module(2) 1} DEFINITIONS IMPLICIT TAGS ::= 15 | BEGIN 16 | 17 | -- EXPORTS everything 18 | IMPORTS 19 | ObjectInstance 20 | FROM CMIP-1 {joint-iso-itu-t ms(9) cmip(1) modules(0) protocol(3)} 21 | ManagementExtension 22 | FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2) 23 | asn1Module(2) 1}; 24 | 25 | --supporting productions 26 | BackupArgument ::= SEQUENCE { 27 | backupDestination [0] BackupDestination, 28 | additionalInfo [1] SET OF ManagementExtension OPTIONAL 29 | } 30 | 31 | BackupDestination ::= CHOICE { 32 | localObject ObjectInstance, 33 | inLine NULL, -- in-line in the notification in additionalInfo 34 | offLine GraphicString -- remote system by, e.g. FTAM 35 | } 36 | 37 | BackupReply ::= SEQUENCE { 38 | reply 39 | [0] CHOICE {success NULL, -- for local or off-line backup -- 40 | inLine BIT STRING}, 41 | additionalInfo [1] SET OF ManagementExtension OPTIONAL 42 | } 43 | 44 | RestoreArgument ::= SEQUENCE { 45 | restoreSource [0] RestoreSource, 46 | additionalInfo [1] SET OF ManagementExtension OPTIONAL 47 | } 48 | 49 | RestoreSource ::= CHOICE { 50 | localObject ObjectInstance, 51 | inLine BIT STRING, 52 | offLine GraphicString -- remote system via some other transfer protocol, e.g. FTAM 53 | } 54 | 55 | END -- of BackupRestoreASN1Module supporting productions 56 | 57 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 58 | 59 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x750_1996_DiscoveryASN1Module.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module DiscoveryASN1Module (X.750:10/1996) 10 | -- See also ITU-T X.750 (1996) Technical Cor. 1 (02/2000) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | DiscoveryASN1Module {joint-iso-itu-t(2) ms(9) function(2) part16(16) 14 | asn1Modules(2) 2} DEFINITIONS IMPLICIT TAGS ::= 15 | BEGIN 16 | 17 | -- EXPORTS everything; 18 | IMPORTS 19 | GdmoObjectClass 20 | FROM RepertoireASN1Module {joint-iso-itu-t(2) ms(9) function(2) part16(16) 21 | asn1Modules(2) 0} 22 | -- this Recommendation | International Standard 23 | RelativeDistinguishedName, ObjectInstance, Scope 24 | FROM CMIP-1 {joint-iso-itu-t(2) ms(9) cmip(1) modules(0) protocol(3)}-- ITU-T Rec. X.711 and ISO/IEC 9596-1 25 | ; 26 | 27 | DiscoveryId ::= GraphicString 28 | 29 | MITSearch ::= SEQUENCE { 30 | base ObjectInstance, 31 | discoveryScope Scope, 32 | classRequest BOOLEAN DEFAULT FALSE 33 | -- if true, include class with MITSearchResponse 34 | } 35 | 36 | MITSearchResponse ::= SET OF RootedNameTree 37 | 38 | NameTree ::= SEQUENCE { 39 | rdnInfo RDNInfo, 40 | subordinates SET OF NameTree OPTIONAL 41 | } 42 | 43 | RDNInfo ::= SEQUENCE { 44 | rdn RelativeDistinguishedName, 45 | moClass GdmoObjectClass OPTIONAL 46 | } 47 | 48 | RootedNameTree ::= SEQUENCE { 49 | rootObject ObjectInstance, 50 | classOfRoot GdmoObjectClass OPTIONAL, 51 | subordinates SET OF NameTree OPTIONAL 52 | } 53 | 54 | END 55 | 56 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 57 | 58 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x750_1996_MKMD.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module MKMD (X.750:10/1996) 10 | -- See also ITU-T X.750 (1996) Technical Cor. 1 (02/2000) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | MKMD {joint-iso-itu-t(2) ms(9) function(2) part16(16) asn1Modules(2) 5} 14 | DEFINITIONS IMPLICIT TAGS ::= 15 | BEGIN 16 | 17 | dmiAttribute OBJECT IDENTIFIER ::= 18 | {joint-iso-itu-t(2) ms(9) smi(3) part2(2) attribute(7)} 19 | 20 | dmiNotification OBJECT IDENTIFIER ::= 21 | {joint-iso-itu-t(2) ms(9) smi(3) part2(2) notification(10)} 22 | 23 | mkmDirectoryAttributeType OBJECT IDENTIFIER ::= 24 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) standardSpecificExtension(0) 25 | directoryAttributeTypes(4)} 26 | 27 | mkmDirectoryObjectClass OBJECT IDENTIFIER ::= 28 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) standardSpecificExtension(0) 29 | directoryObjectClasses(6)} 30 | 31 | mkmDirectoryNameForm OBJECT IDENTIFIER ::= 32 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) standardSpecificExtension(0) 33 | directoryNameForms(7)} 34 | 35 | mkmMObjectClass OBJECT IDENTIFIER ::= 36 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) managedObjectClass(3)} 37 | 38 | mkmPackage OBJECT IDENTIFIER ::= 39 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) package(4)} 40 | 41 | mkmParameter OBJECT IDENTIFIER ::= 42 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) parameter(5)} 43 | 44 | mkmNameBinding OBJECT IDENTIFIER ::= 45 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) nameBinding(6)} 46 | 47 | mkmAttribute OBJECT IDENTIFIER ::= 48 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) attribute(7)} 49 | 50 | mkmAction OBJECT IDENTIFIER ::= 51 | {joint-iso-itu-t(2) ms(9) function(2) part16(16) action(9)} 52 | 53 | END 54 | 55 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 56 | 57 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x792_1999_AuditASN1FileModule.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module AuditASN1FileModule (X.792:03/1999) 10 | -- See also ITU-T X.792 (03/1999) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | AuditASN1FileModule {itu-t recommendation x(24) configAud(792) 14 | informationModel(0) fileDefinition(3)} DEFINITIONS IMPLICIT TAGS ::= 15 | BEGIN 16 | 17 | -- EXPORT Everything 18 | IMPORTS 19 | ObjectClass, ObjectInstance, Attribute 20 | FROM CMIP-1 {joint-iso-itu-t ms(9) cmip(1) modules(0) protocol(3)}; 21 | 22 | AuditFile ::= 23 | SET OF 24 | SEQUENCE {managedObjectClass ObjectClass OPTIONAL, 25 | managedObjectInstance ObjectInstance, 26 | attributeList SET OF Attribute} 27 | 28 | END -- of AuditASN1FileModule 29 | 30 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 31 | 32 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x830_1995_ObjectIdentifiers.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module ObjectIdentifiers (X.830:04/1995) 10 | -- See also ITU-T X.830 (04/1995) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | ObjectIdentifiers {joint-iso-itu-t genericULS(20) modules(1) 14 | objectIdentifiers(0)} DEFINITIONS AUTOMATIC TAGS ::= 15 | BEGIN 16 | 17 | -- EXPORTS All 18 | genericULS OBJECT IDENTIFIER ::= 19 | {joint-iso-itu-t genericULS(20)} 20 | 21 | -- Categories of information object 22 | modules OBJECT IDENTIFIER ::= 23 | {genericULS 1} 24 | 25 | generalTransferSyntax OBJECT IDENTIFIER ::= {genericULS 2} 26 | 27 | specificTransferSyntax OBJECT IDENTIFIER ::= {genericULS 3} 28 | 29 | securityExchanges OBJECT IDENTIFIER ::= {genericULS 4} 30 | 31 | securityTransformations OBJECT IDENTIFIER ::= {genericULS 5} 32 | 33 | -- ASN.1 modules 34 | objectIdentifiers OBJECT IDENTIFIER ::= {modules 0} 35 | 36 | notation OBJECT IDENTIFIER ::= {modules 1} 37 | 38 | gulsSecurityExchanges OBJECT IDENTIFIER ::= {modules 2} 39 | 40 | gulsSecurityTransformations OBJECT IDENTIFIER ::= {modules 3} 41 | 42 | dirProtectionMappings OBJECT IDENTIFIER ::= {modules 4} 43 | 44 | gulsProtectionMappings OBJECT IDENTIFIER ::= {modules 5} 45 | 46 | seseAPDUs OBJECT IDENTIFIER ::= {modules 6} 47 | 48 | genericProtectingTransferSyntax OBJECT IDENTIFIER ::= {modules 7} 49 | 50 | END 51 | 52 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 53 | 54 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x881_1994-Amd1_Remote-Operations-Information-Objects-extensions.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Remote-Operations-Information-Objects-extensions (X.881:07/1994) 10 | -- See also ITU-T X.881 (1994) Amend. 1 (11/1995) 11 | -- See also the index of all ASN.1 assignments needed in this document 12 | 13 | Remote-Operations-Information-Objects-extensions {joint-iso-itu-t 14 | remote-operations(4) informationObjects-extensions(8) version2(1)} 15 | DEFINITIONS ::= 16 | BEGIN 17 | 18 | -- exports everything 19 | IMPORTS 20 | CONTRACT 21 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 22 | remote-operations(4) information-Objects(5) version2(1)} 23 | probe, acknowledge 24 | FROM Remote-Operations-Useful-Definitions {joint-iso-itu-t 25 | remote-operations(4) useful-definitions(7) version2(1)}; 26 | 27 | APPLICATION-CONTEXT ::= CLASS { 28 | &probe BOOLEAN DEFAULT FALSE, 29 | &acknowledge BOOLEAN DEFAULT FALSE, 30 | &associationContract CONTRACT, 31 | &associationRealization REALIZATION OPTIONAL, 32 | &transferRealization REALIZATION, 33 | &AbstractSyntaxes ABSTRACT-SYNTAX, 34 | &applicationContextName OBJECT IDENTIFIER UNIQUE 35 | } 36 | WITH SYNTAX { 37 | [PROBE &probe] 38 | [ACKNOWLEDGE &acknowledge] 39 | CONTRACT &associationContract 40 | [ESTABLISHED BY &associationRealization] 41 | INFORMATION TRANSFER BY &transferRealization 42 | ABSTRACT SYNTAXES &AbstractSyntaxes 43 | APPLICATION CONTEXT NAME &applicationContextName 44 | } 45 | 46 | REALIZATION ::= TYPE-IDENTIFIER 47 | 48 | -- information objects ABSTRACT-SYNTAX and TYPE-IDENTIFIER are defined in ITU-T Rec. X.681 | 49 | -- ISO/IEC 8824-2 50 | END -- end of the information-objects-extensions module 51 | 52 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 53 | 54 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x881_1994_Remote-Operations-Information-Objects-extensions.asn1: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -- Module Remote-Operations-Information-Objects-extensions (X.881:07/1994) 10 | -- See also ITU-T X.881 (07/1994) 11 | -- See also the index of all ASN.1 assignments needed in this Recommendation 12 | 13 | Remote-Operations-Information-Objects-extensions {joint-iso-itu-t 14 | remote-operations(4) informationObjects-extensions(8) version1(0)} 15 | DEFINITIONS ::= 16 | BEGIN 17 | 18 | -- exports everything 19 | IMPORTS 20 | CONTRACT 21 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t 22 | remote-operations(4) informationObjects(5) version1(0)}; 23 | 24 | APPLICATION-CONTEXT ::= CLASS { 25 | &associationContract CONTRACT, 26 | &associationRealization REALIZATION OPTIONAL, 27 | &transferRealization REALIZATION, 28 | &AbstractSyntaxes ABSTRACT-SYNTAX, 29 | &applicationContextName OBJECT IDENTIFIER UNIQUE 30 | } 31 | WITH SYNTAX { 32 | CONTRACT &associationContract 33 | [ESTABLISHED BY &associationRealization] 34 | INFORMATION TRANSFER BY &transferRealization 35 | ABSTRACT SYNTAXES &AbstractSyntaxes 36 | APPLICATION CONTEXT NAME &applicationContextName 37 | } 38 | 39 | REALIZATION ::= TYPE-IDENTIFIER 40 | 41 | -- information objects ABSTRACT-SYNTAX and TYPE-IDENTIFIER are defined in ITU-T Rec. X.681 | 42 | -- ISO/IEC 8824-2 43 | END -- end of the information-objects-extensions module 44 | 45 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D 46 | 47 | -------------------------------------------------------------------------------- /rasn-compiler-tests/tests/modules/itu-t_x_x894_2018-cor1_TokenizationManifest.asn1: -------------------------------------------------------------------------------- 1 | -- 18 Module TokenizationManifest 2 | TokenizationManifest {iso(1) identified-organization(3) tc68(133) country(16) x9(840) x9Standards(9) x9-73(73) module(0) tokeMan(7) } 3 | DEFINITIONS AUTOMATIC TAGS ::= BEGIN 4 | -- EXPORTS All -- 5 | IMPORTS 6 | -- X9.73 Cryptographic Message Syntax (CMS) -- 7 | ATTRIBUTE 8 | FROM CryptographicMessageSyntax-2010 { 9 | iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 10 | smime(16) modules(0) id-mod-cms-2009(58)} 11 | -- X9.73 CMS Object Identifiers -- 12 | id-tokenizedParts, id-XPathTokensSet 13 | FROM CMSObjectIdentifiers { 14 | iso(1) identified-organization(3) tc68(133) country(16) x9(840) 15 | x9Standards(9) x9-73(73) module(0) oids(1) v2009(1)}; 16 | TokenizedParts ::= Tokenized {{ Manifest }} 17 | Manifest TOKENIZED ::= { 18 | xPathTokensManifest, 19 | ... -- Expect additional manifest objects -- 20 | } 21 | xPathTokensManifest TOKENIZED ::= { 22 | OID id-XPathTokensSet PARMS XPathTokensSet 23 | } 24 | XPathTokensSet ::= SEQUENCE { 25 | tSP TokenServiceProvider OPTIONAL, 26 | xPathSet XPathSet 27 | } 28 | TokenServiceProvider ::= URI 29 | URI ::= UTF8String (SIZE(1..MAX)) 30 | XPathSet ::= SEQUENCE SIZE(1..MAX) OF xpath XPath 31 | XPath ::= UTF8String (CONSTRAINED BY { -- XML Path Language 2.0 -- }) 32 | tokenizedParts ATTRIBUTE ::= { 33 | TYPE TokenizedParts IDENTIFIED BY id-tokenizedParts 34 | } 35 | TOKENIZED ::= CLASS { 36 | &id OBJECT IDENTIFIER UNIQUE, 37 | &Type OPTIONAL 38 | } 39 | WITH SYNTAX { OID &id [ PARMS &Type ] } 40 | Tokenized { TOKENIZED:IOSet } ::= SEQUENCE { 41 | name TOKENIZED.&id({IOSet}), 42 | parts TOKENIZED.&Type({IOSet}{@name}) OPTIONAL 43 | } 44 | END -- TokenizationManifest -- -------------------------------------------------------------------------------- /rasn-compiler/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "rasn-compiler" 3 | workspace = ".." 4 | version.workspace = true 5 | edition.workspace = true 6 | repository.workspace = true 7 | homepage.workspace = true 8 | license.workspace = true 9 | readme.workspace = true 10 | description = "An ASN.1 compiler producing bindings for the rasn framework" 11 | keywords = ["compiler", "asn1", "ber", "der", "uper"] 12 | categories = ["command-line-utilities", "compilers", "parser-implementations", "wasm", "encoding"] 13 | authors = ["Kevin Westphal"] 14 | 15 | [badges] 16 | maintenance = { status = "actively-developed" } 17 | 18 | [lib] 19 | name = "rasn_compiler" 20 | path = "src/lib.rs" 21 | crate-type = ["cdylib", "lib"] 22 | 23 | [[bin]] 24 | required-features = ["cli"] 25 | name = "rasn_compiler_cli" 26 | path = "src/bin.rs" 27 | 28 | [features] 29 | cli = ["clap", "colored", "walkdir"] 30 | 31 | [dependencies] 32 | chrono = "0.4.41" 33 | clap = { version = "4.5.38", optional = true, features = ["derive"] } 34 | colored = { version = "2", optional = true } 35 | nom = { version = "7.1.3", default-features = false, features = ["alloc"] } 36 | num = { version = "0.4", default-features = false } 37 | proc-macro2 = "1.0" 38 | quote = "1.0" 39 | regex = { version = "1.11.0", default-features = false } 40 | walkdir = { version = "2.5", optional = true } 41 | 42 | [target.'cfg(target_family = "wasm")'.dependencies] 43 | wasm-bindgen = "0.2.90" 44 | 45 | [dev-dependencies] 46 | internal_macros = { path = "internal-macros" } 47 | -------------------------------------------------------------------------------- /rasn-compiler/README.md: -------------------------------------------------------------------------------- 1 | ../README.md -------------------------------------------------------------------------------- /rasn-compiler/internal-macros/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "internal_macros" 3 | publish = false 4 | description = "Internal derive macros for rasn." 5 | edition.workspace = true 6 | 7 | [lib] 8 | proc-macro = true 9 | 10 | [dependencies] 11 | syn = { version = "1.0.39", features = ["extra-traits"] } 12 | quote = "1.0.7" 13 | proc-macro2 = "1.0.19" 14 | -------------------------------------------------------------------------------- /rasn-compiler/src/bin.rs: -------------------------------------------------------------------------------- 1 | use std::process::ExitCode; 2 | 3 | fn main() -> ExitCode { 4 | rasn_compiler::cli::CompilerArgs::drive() 5 | } 6 | -------------------------------------------------------------------------------- /rasn-compiler/src/common.rs: -------------------------------------------------------------------------------- 1 | /// The compiler generates code only in the `generator` module. 2 | /// Therefore, all transformation of ASN.1 identifiers are specific 3 | /// to a particular `Backend` implementation that the compiler uses. 4 | /// For example, the `Rasn` backend unnests inner types and names 5 | /// them with a specific prefix. 6 | /// `INTERNAL_NESTED_TYPE_NAME_PREFIX` is a prefix that is prepended 7 | /// to stringified type names of nested types (with the exception of 8 | /// item types of array-like types) internally, so that they can be properly 9 | /// identified by the individual compiler backends. 10 | pub const INTERNAL_NESTED_TYPE_NAME_PREFIX: &str = "INNER$"; 11 | /// `INTERNAL_ITEM_TYPE_NAME_PREFIX` is a prefix that is prepended 12 | /// to stringified type names of array-like types' item types, so that they 13 | /// can be properly identified by the individual compiler backends. 14 | #[allow(dead_code)] 15 | pub const INTERNAL_ITEM_TYPE_NAME_PREFIX: &str = "ITEM$"; 16 | /// `INTERNAL_IO_FIELD_REF_TYPE_NAME_PREFIX` is a prefix that is prepended 17 | /// to stringified type names of information object field reference types, so that they 18 | /// can be properly identified by the individual compiler backends. 19 | pub const INTERNAL_IO_FIELD_REF_TYPE_NAME_PREFIX: &str = "IOFR$"; 20 | /// `INTERNAL_EXTENSION_GROUP_NAME_PREFIX` is a prefix that is prepended 21 | /// to stringified type names of extension groups in `SEQUENCE`s or `SET`s, so that they 22 | /// can be properly identified by the individual compiler backends. 23 | pub const INTERNAL_EXTENSION_GROUP_NAME_PREFIX: &str = "ext_group_"; 24 | -------------------------------------------------------------------------------- /rasn-compiler/src/error.rs: -------------------------------------------------------------------------------- 1 | use std::error::Error; 2 | use std::fmt::Display; 3 | 4 | use crate::{ 5 | lexer::error::LexerError, 6 | prelude::{ir::GrammarError, GeneratorError}, 7 | validator::error::LinkerError, 8 | }; 9 | 10 | #[derive(Debug, Clone, PartialEq)] 11 | pub enum CompilerError { 12 | Lexer(LexerError), 13 | Grammar(GrammarError), 14 | Linker(LinkerError), 15 | Generator(GeneratorError), 16 | } 17 | 18 | impl CompilerError { 19 | pub fn contextualize(&self, input: &str) -> String { 20 | match self { 21 | CompilerError::Lexer(lexer_error) => lexer_error.contextualize(input), 22 | e => format!("{e}"), 23 | } 24 | } 25 | } 26 | 27 | impl Display for CompilerError { 28 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 29 | match self { 30 | CompilerError::Lexer(lexer_error) => Display::fmt(lexer_error, f), 31 | CompilerError::Grammar(grammar_error) => Display::fmt(grammar_error, f), 32 | CompilerError::Linker(linker_error) => Display::fmt(linker_error, f), 33 | CompilerError::Generator(generator_error) => Display::fmt(generator_error, f), 34 | } 35 | } 36 | } 37 | 38 | impl Error for CompilerError {} 39 | 40 | impl From for CompilerError { 41 | fn from(value: LexerError) -> Self { 42 | Self::Lexer(value) 43 | } 44 | } 45 | 46 | impl From for CompilerError { 47 | fn from(value: LinkerError) -> Self { 48 | Self::Linker(value) 49 | } 50 | } 51 | 52 | impl From for CompilerError { 53 | fn from(value: GeneratorError) -> Self { 54 | Self::Generator(value) 55 | } 56 | } 57 | 58 | impl From for CompilerError { 59 | fn from(value: GrammarError) -> Self { 60 | Self::Grammar(value) 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /rasn-compiler/src/generator/tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/librasn/compiler/bb5fca844491cba3166e7de76760e2755c172bf2/rasn-compiler/src/generator/tests.rs -------------------------------------------------------------------------------- /rasn-compiler/src/intermediate/encoding_rules/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod per_visible; 2 | 3 | pub fn bit_length(min: i128, max: i128) -> usize { 4 | let number_of_values = max - min + 1; 5 | let mut power = 0; 6 | while number_of_values > 2_i128.pow(power) { 7 | power += 1; 8 | } 9 | power as usize 10 | } 11 | 12 | #[cfg(test)] 13 | mod tests { 14 | use super::*; 15 | 16 | #[test] 17 | fn computes_bit_size() { 18 | assert_eq!(bit_length(1, 1), 0); 19 | assert_eq!(bit_length(-1, 0), 1); 20 | assert_eq!(bit_length(3, 6), 2); 21 | assert_eq!(bit_length(4000, 4255), 8); 22 | assert_eq!(bit_length(4000, 4256), 9); 23 | assert_eq!(bit_length(0, 32000), 15); 24 | assert_eq!(bit_length(0, 65538), 17); 25 | assert_eq!(bit_length(-1, 127), 8); 26 | assert_eq!(bit_length(-900000000, 900000001), 31); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /rasn-compiler/src/intermediate/error.rs: -------------------------------------------------------------------------------- 1 | use std::{ 2 | error::Error, 3 | fmt::{Display, Formatter, Result}, 4 | }; 5 | 6 | #[derive(Debug, Clone, PartialEq)] 7 | pub struct GrammarError { 8 | pub details: String, 9 | pub kind: GrammarErrorType, 10 | pub pdu: Option, 11 | } 12 | 13 | impl GrammarError { 14 | pub fn new(data_details: &str, kind: GrammarErrorType) -> Self { 15 | GrammarError { 16 | details: data_details.into(), 17 | kind, 18 | pdu: None, 19 | } 20 | } 21 | 22 | pub fn todo() -> Self { 23 | GrammarError { 24 | details: "Not yet implemented!".into(), 25 | kind: GrammarErrorType::NotYetInplemented, 26 | pdu: None, 27 | } 28 | } 29 | 30 | pub fn contextualize(&mut self, pdu: &str) { 31 | self.pdu = Some(pdu.into()); 32 | } 33 | } 34 | 35 | impl Error for GrammarError {} 36 | 37 | #[derive(Debug, Clone, PartialEq)] 38 | pub enum GrammarErrorType { 39 | UnpackingError, 40 | LinkerError, 41 | PerVisibleConstraintError, 42 | NotYetInplemented, 43 | SyntaxMismatch, 44 | } 45 | 46 | impl Display for GrammarError { 47 | fn fmt(&self, f: &mut Formatter) -> Result { 48 | write!(f, "{:?} in ASN grammar: {}", self.kind, self.details) 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /rasn-compiler/src/intermediate/parameterization.rs: -------------------------------------------------------------------------------- 1 | use super::ASN1Type; 2 | 3 | #[derive(Debug, Clone, PartialEq)] 4 | pub struct Parameterization { 5 | pub parameters: Vec, 6 | } 7 | 8 | impl From> for Parameterization { 9 | fn from(value: Vec) -> Self { 10 | Self { parameters: value } 11 | } 12 | } 13 | 14 | #[derive(Debug, Clone, PartialEq)] 15 | pub struct ParameterizationArgument { 16 | pub dummy_reference: String, 17 | pub param_governor: ParameterGovernor, 18 | } 19 | 20 | impl From<&str> for ParameterizationArgument { 21 | fn from(value: &str) -> Self { 22 | Self { 23 | dummy_reference: value.to_owned(), 24 | param_governor: ParameterGovernor::None, 25 | } 26 | } 27 | } 28 | 29 | impl From<(ASN1Type, &str)> for ParameterizationArgument { 30 | fn from(value: (ASN1Type, &str)) -> Self { 31 | Self { 32 | dummy_reference: value.1.to_owned(), 33 | param_governor: ParameterGovernor::TypeOrClass(value.0), 34 | } 35 | } 36 | } 37 | 38 | impl From<(&str, &str)> for ParameterizationArgument { 39 | fn from(value: (&str, &str)) -> Self { 40 | Self { 41 | dummy_reference: value.1.to_owned(), 42 | param_governor: ParameterGovernor::Class(value.0.to_owned()), 43 | } 44 | } 45 | } 46 | 47 | #[derive(Debug, Default, Clone, PartialEq)] 48 | pub enum ParameterGovernor { 49 | #[default] 50 | None, 51 | TypeOrClass(ASN1Type), 52 | Class(String), 53 | } 54 | -------------------------------------------------------------------------------- /rasn-compiler/src/intermediate/utils.rs: -------------------------------------------------------------------------------- 1 | macro_rules! get_declaration { 2 | ($tlds:ident, $key:expr, $tld_ty:ident, $asn1_ty:path) => {{ 3 | if let Some(tld) = $tlds.get($key) { 4 | match tld { 5 | ToplevelDefinition::$tld_ty(inner) => match inner.pdu() { 6 | $asn1_ty(asn) => Some(asn), 7 | _ => None, 8 | }, 9 | _ => None, 10 | } 11 | } else { 12 | None 13 | } 14 | }}; 15 | } 16 | 17 | pub(crate) use get_declaration; 18 | -------------------------------------------------------------------------------- /rasn-compiler/src/lexer/boolean.rs: -------------------------------------------------------------------------------- 1 | use nom::{ 2 | branch::alt, 3 | bytes::complete::tag, 4 | combinator::{into, map, opt, value}, 5 | sequence::preceded, 6 | }; 7 | 8 | use crate::{ 9 | input::Input, 10 | intermediate::{ASN1Type, ASN1Value, BOOLEAN, FALSE, TRUE}, 11 | }; 12 | 13 | use super::{common::skip_ws_and_comments, constraint::constraint, error::ParserResult}; 14 | 15 | pub fn boolean_value(input: Input<'_>) -> ParserResult<'_, ASN1Value> { 16 | alt(( 17 | value(ASN1Value::Boolean(true), skip_ws_and_comments(tag(TRUE))), 18 | value(ASN1Value::Boolean(false), skip_ws_and_comments(tag(FALSE))), 19 | ))(input) 20 | } 21 | 22 | /// Tries to parse an ASN1 BOOLEAN 23 | /// 24 | /// *`input` - [Input]-wrapped string slice to be matched against 25 | /// 26 | /// `boolean` will try to match an BOOLEAN declaration in the `input` string. 27 | /// If the match succeeds, the lexer will consume the match and return the remaining string 28 | /// and an `ASN1Type::Boolean` value representing the ASN1 declaration. 29 | /// If the match fails, the lexer will not consume the input and will return an error. 30 | pub fn boolean(input: Input<'_>) -> ParserResult<'_, ASN1Type> { 31 | map( 32 | into(skip_ws_and_comments(preceded( 33 | tag(BOOLEAN), 34 | skip_ws_and_comments(opt(constraint)), 35 | ))), 36 | ASN1Type::Boolean, 37 | )(input) 38 | } 39 | 40 | #[cfg(test)] 41 | mod tests { 42 | use crate::intermediate::types::Boolean; 43 | 44 | use super::*; 45 | 46 | #[test] 47 | fn parses_boolean() { 48 | assert_eq!( 49 | boolean(" --who would put a comment here?--BOOLEAN".into()) 50 | .unwrap() 51 | .1, 52 | ASN1Type::Boolean(Boolean { 53 | constraints: vec![] 54 | }) 55 | ) 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /rasn-compiler/src/lexer/embedded_pdv.rs: -------------------------------------------------------------------------------- 1 | use nom::{bytes::complete::tag, combinator::value}; 2 | 3 | use crate::{input::Input, intermediate::*}; 4 | 5 | use super::{common::skip_ws_and_comments, error::ParserResult}; 6 | 7 | /// Tries to parse an ASN1 EMBEDDED PDV 8 | /// 9 | /// *`input` - [Input]-wrapped string slice to be matched against 10 | /// 11 | /// `embedded_pdv` will try to match an EMBEDDED PDV declaration in the `input` string. 12 | /// If the match succeeds, the lexer will consume the match and return the remaining string 13 | /// and an `ASN1Type::EmbeddedPdv` value representing the ASN1 declaration. 14 | /// If the match fails, the lexer will not consume the input and will return an error. 15 | /// ##_X680_: 16 | /// _The term "Embedded PDV" means an abstract value from a possibly_ 17 | /// _different abstract syntax (essentially, the value and encoding_ 18 | /// _of a message defined in a separate – and identified – protocol)_ 19 | /// _that is embedded in a message. Historically, it meant_ 20 | /// _"Embedded Presentation Data Value" from its use in the OSI_ 21 | /// _Presentation Layer, but this expansion is not used today,_ 22 | /// _and it should be interpreted as "embedded value"._ 23 | pub fn embedded_pdv(input: Input<'_>) -> ParserResult<'_, ASN1Type> { 24 | value( 25 | ASN1Type::EmbeddedPdv, 26 | skip_ws_and_comments(tag(EMBEDDED_PDV)), 27 | )(input) 28 | } 29 | -------------------------------------------------------------------------------- /rasn-compiler/src/lexer/external.rs: -------------------------------------------------------------------------------- 1 | use nom::{bytes::complete::tag, combinator::value}; 2 | 3 | use crate::{input::Input, intermediate::*}; 4 | 5 | use super::{common::skip_ws_and_comments, error::ParserResult}; 6 | 7 | /// Tries to parse an ASN1 EXTERNAL 8 | /// 9 | /// *`input` - [Input]-wrapped string slice to be matched against 10 | /// 11 | /// `external` will try to match an EXTERNAL declaration in the `input` string. 12 | /// If the match succeeds, the lexer will consume the match and return the remaining string 13 | /// and an `ASN1Type::External` value representing the ASN1 declaration. 14 | /// If the match fails, the lexer will not consume the input and will return an error. 15 | pub fn external(input: Input<'_>) -> ParserResult<'_, ASN1Type> { 16 | value(ASN1Type::External, skip_ws_and_comments(tag(EXTERNAL)))(input) 17 | } 18 | -------------------------------------------------------------------------------- /rasn-compiler/src/lexer/null.rs: -------------------------------------------------------------------------------- 1 | use nom::{bytes::complete::tag, combinator::value}; 2 | 3 | use crate::{ 4 | input::Input, 5 | intermediate::{ASN1Type, ASN1Value, NULL}, 6 | }; 7 | 8 | use super::{common::skip_ws_and_comments, error::ParserResult}; 9 | 10 | pub fn null_value(input: Input<'_>) -> ParserResult<'_, ASN1Value> { 11 | value(ASN1Value::Null, skip_ws_and_comments(tag(NULL)))(input) 12 | } 13 | 14 | /// Tries to parse an ASN1 NULL 15 | /// 16 | /// *`input` - [Input]-wrapped string slice to be matched against 17 | /// 18 | /// `null` will try to match an NULL declaration in the `input` string. 19 | /// If the match succeeds, the lexer will consume the match and return the remaining string 20 | /// and an `ASN1Type::Null` value representing the ASN1 declaration. 21 | /// If the match fails, the lexer will not consume the input and will return an error. 22 | pub fn null(input: Input<'_>) -> ParserResult<'_, ASN1Type> { 23 | value(ASN1Type::Null, skip_ws_and_comments(tag(NULL)))(input) 24 | } 25 | 26 | #[cfg(test)] 27 | mod tests { 28 | use super::*; 29 | 30 | #[test] 31 | fn parses_null() { 32 | assert_eq!( 33 | null(" --who would put a comment here?--NULL".into()) 34 | .unwrap() 35 | .1, 36 | ASN1Type::Null 37 | ) 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /rasn-compiler/src/validator/error.rs: -------------------------------------------------------------------------------- 1 | use core::fmt::{Display, Formatter, Result}; 2 | use std::error::Error; 3 | 4 | use crate::intermediate::error::GrammarError; 5 | 6 | #[derive(Debug, Clone, PartialEq)] 7 | pub struct LinkerError { 8 | pub pdu: Option, 9 | pub details: String, 10 | pub kind: LinkerErrorType, 11 | } 12 | 13 | impl LinkerError { 14 | pub fn new(pdu: Option, details: &str, kind: LinkerErrorType) -> Self { 15 | LinkerError { 16 | pdu, 17 | details: details.into(), 18 | kind, 19 | } 20 | } 21 | 22 | pub fn contextualize(&mut self, pdu: &str) { 23 | self.pdu = Some(pdu.into()) 24 | } 25 | } 26 | 27 | #[derive(Debug, Clone, PartialEq)] 28 | pub enum LinkerErrorType { 29 | MissingDependency, 30 | InvalidConstraintsError, 31 | Unknown, 32 | } 33 | 34 | impl Error for LinkerError {} 35 | 36 | impl Display for LinkerError { 37 | fn fmt(&self, f: &mut Formatter) -> Result { 38 | write!( 39 | f, 40 | "{:?} validating PDU {}: {}", 41 | self.kind, 42 | self.pdu.as_ref().unwrap_or(&"".into()), 43 | self.details 44 | ) 45 | } 46 | } 47 | 48 | impl From for LinkerError { 49 | fn from(value: GrammarError) -> Self { 50 | Self { 51 | pdu: None, 52 | details: value.details, 53 | kind: LinkerErrorType::Unknown, 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /rasn-compiler/src/validator/linking/types.rs: -------------------------------------------------------------------------------- 1 | use std::collections::BTreeMap; 2 | 3 | use super::{ 4 | ASN1Type, DeclarationElsewhere, GrammarError, ToplevelDefinition, ToplevelTypeDefinition, 5 | }; 6 | 7 | impl DeclarationElsewhere { 8 | pub fn root<'a>( 9 | &self, 10 | tlds: &'a BTreeMap, 11 | ) -> Result<&'a ASN1Type, GrammarError> { 12 | match tlds.get(&self.identifier).ok_or_else(|| GrammarError::new( 13 | &format!("Failed to resolve reference of ElsewhereDefined: {}", self.identifier), 14 | super::GrammarErrorType::LinkerError 15 | ))? { 16 | ToplevelDefinition::Type(ToplevelTypeDefinition { ty: ASN1Type::ElsewhereDeclaredType(e), .. }) => e.root(tlds), 17 | ToplevelDefinition::Type(ToplevelTypeDefinition { ty, .. }) => Ok(ty), 18 | ToplevelDefinition::Information(_) => Err(GrammarError::todo()), 19 | _ => Err(GrammarError::new( 20 | &format!( 21 | "Unexpectedly found a value definition resolving reference of ElsewhereDefined: {}", 22 | self.identifier 23 | ), 24 | super::GrammarErrorType::LinkerError 25 | )) 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /rasn-compiler/src/validator/tests/mod.rs: -------------------------------------------------------------------------------- 1 | #[allow(unused_imports)] 2 | use super::*; 3 | --------------------------------------------------------------------------------