Annotation of 43BSDReno/contrib/isode-beta/pepy/test.asn1/P2-1988.py, revision 1.1

1.1     ! root        1: -- P2 - as was ...
        !             2: IPMSInformationObject { joint-iso-ccitt
        !             3:        mhs(6) ipms(1) modules(0) information-objects(2) }
        !             4: 
        !             5: DEFINITIONS IMPLICIT TAGS ::=
        !             6: BEGIN
        !             7: 
        !             8: -- Prologue
        !             9: 
        !            10: EXPORTS
        !            11:        -- Information objects
        !            12:        InformationObject, IPM, IPN, RN, NRN,
        !            13:        -- Information object miscellany
        !            14:        Heading, Body, ORDescriptor,
        !            15:        -- Heading-fields or their sub-fields
        !            16:        ThisIPMField, OriginatorField, AuthorizingUsersSubfield,
        !            17:        PrimaryRecipientsSubfield, CopyRecipientSubfield,
        !            18:        BlindCopyRecipientSubfield, RepliedToIPMField,
        !            19:        ObsoletedIPMsSubfield, RelatedIPMsSubfield, SubjectField,
        !            20:        ExpiryTimeField, ReplyTimeField, ReplyRecipientsSubfield,
        !            21:        ImportanceField, SensitivityField, AutoForwardedField,
        !            22:        LanguageField, TimedObsoletedIPMsSubfield,
        !            23:        -- Body-part types
        !            24:        IA5TextBodyPart, TelexBodyPart, VoiceBodyPart, G3FacsimileBodyPart,
        !            25:        TIF0BodyPart, TeletexBodyPart, VideotexBodyPart, NationalBodyPart,
        !            26:        EncryptedBodyPart, MessageBodyPart, SFDBodyPart, TIF1BodyPart,
        !            27:        BilateralBodyPart,
        !            28:        -- Notification-fields
        !            29:        SubjectIPMField, IPNOriginator, IPMPrimaryRecipientField,
        !            30:        ConversionEITsField, NonRecipientReasonField, DiscardReasonField,
        !            31:        AutoForwardedCommentField, ReturnedIPMField, RecipientTimeField,
        !            32:        AcknowledgementModeField, SupplRecipientInfoField,
        !            33:        -- IPN miscellany
        !            34:        AutoForwardComment;
        !            35: 
        !            36: IMPORTS
        !            37:        -- SFD aspects
        !            38:        Document
        !            39:                FROM SFD { joint-iso-ccitt -- to be supplied -- }
        !            40:        -- TIF1 and TIF0 aspects
        !            41:        ProtocolElement
        !            42:                FROM T73 { joint-iso-ccitt -- to be supplied -- }
        !            43:        -- MT AS aspects
        !            44:        DeliverEnvelope, EncodedInformationTypes, G3NonBasicParams,
        !            45:        ORAddress, ORName, SupplementaryInformation,
        !            46:        TeletexNonBasicParams
        !            47:                FROM MTSAbstractService { joint-iso-ccitt
        !            48:                        mhs(6) -- to be supplied -- };
        !            49: 
        !            50: Time ::= UTCTime
        !            51: 
        !            52: -- Information objects
        !            53: 
        !            54: InformationObject ::= CHOICE {
        !            55:        ipm [0] IPM,
        !            56:        ipn [1] IPN}
        !            57: 
        !            58: -- IPM
        !            59: 
        !            60: IPM ::= SEQUENCE {
        !            61:        heading Heading,
        !            62:        body    Body}
        !            63: 
        !            64: -- Heading
        !            65: 
        !            66: Heading ::= SET {
        !            67:        this-IPM                    ThisIPMField,
        !            68:        originator              [0] OriginatorField OPTIONAL,
        !            69:        authorizing-users       [1] AuthorizingUsersField OPTIONAL,
        !            70:        primary-recipients      [2] PrimaryRecipientsField OPTIONAL,
        !            71:        copy-recipients         [3] CopyRecipientsField DEFAULT {},
        !            72:        blind-copy-recipients   [4] BlindCopyRecipientsField OPTIONAL,
        !            73:        replied-to-IPM          [5] RepliedToIPMField OPTIONAL,
        !            74:        obsoleted-IPMs          [6] ObsoletedIPMsField OPTIONAL,
        !            75:        related-IPMs            [7] RelatedIPMsField OPTIONAL,
        !            76:        subject                 [8] SubjectField OPTIONAL,
        !            77:        expiry-time             [9] ExpiryTimeField OPTIONAL,
        !            78:        reply-time             [10] ReplyTimeField OPTIONAL,
        !            79:        reply-recipients       [11] ReplyRecipientsField OPTIONAL,
        !            80:        importance             [12] ImportanceField DEFAULT normal,
        !            81:        sensitivity            [13] SensitivityField OPTIONAL,
        !            82:        auto-forwarded         [14] AutoForwardedField DEFAULT FALSE,
        !            83:        language               [15] LanguageField OPTIONAL,
        !            84:        timed-obsoleted-IPMs   [16] TimedObsoletedIPMsField OPTIONAL}
        !            85: 
        !            86: -- Heading Components
        !            87: 
        !            88: IPMIdentifier ::= [APPLICATION 11] SET {
        !            89:        user                        ORAddress OPTIONAL,
        !            90:        user-relative-identifier    LocalIPMIdentifier}
        !            91: 
        !            92: LocalIPMIdentifier ::= PrintableString ( SIZE (0..64))
        !            93: 
        !            94: RecipientSpecification ::= SET {
        !            95:        recipient               [0] ORDescriptor,
        !            96:        notification-requests   [1] NotificationRequests DEFAULT {},
        !            97:        reply-requested         [2] BOOLEAN DEFAULT FALSE}
        !            98:        
        !            99: NotificationRequests ::= BIT STRING {
        !           100:        rn(0),
        !           101:        nrn(1),
        !           102:        ipm-return(2)}
        !           103: 
        !           104: ORDescriptor ::= SET {
        !           105:        formal-name             ORName OPTIONAL,
        !           106:        free-form-name      [0] FreeFromName OPTIONAL,
        !           107:        telephone-number    [1] TelephoneNumber OPTIONAL}
        !           108: 
        !           109: FreeFromName ::= TeletexString (SIZE (0..64))
        !           110: 
        !           111: TelephoneNumber ::= PrintableString (SIZE (0..32))
        !           112: 
        !           113: -- This IPM heading-field
        !           114: 
        !           115: ThisIPMField ::= IPMIdentifier
        !           116: 
        !           117: -- Originator heading-field
        !           118: 
        !           119: OriginatorField ::= ORDescriptor
        !           120: 
        !           121: -- Authorizing Users heading-field
        !           122: 
        !           123: AuthorizingUsersField ::= SEQUENCE OF AuthorizingUsersSubfield
        !           124: 
        !           125: AuthorizingUsersSubfield ::= ORDescriptor
        !           126: 
        !           127: -- Primary Recipients heading-field
        !           128: 
        !           129: PrimaryRecipientsField ::= SEQUENCE OF PrimaryRecipientsSubField
        !           130: 
        !           131: PrimaryRecipientsSubField ::= RecipientSpecification
        !           132: 
        !           133: -- Copy Recipients heading-field
        !           134: 
        !           135: CopyRecipientsField ::= SEQUENCE OF CopyRecipientsSubField
        !           136: 
        !           137: CopyRecipientsSubField ::= RecipientSpecification
        !           138: 
        !           139: -- Blind Copy Recipients heading-field
        !           140: 
        !           141: BlindCopyRecipientsField ::= SEQUENCE OF BlindCopyRecipientsSubField
        !           142: 
        !           143: BlindCopyRecipientsSubField ::= RecipientSpecification
        !           144: 
        !           145: -- Replied-to IPM heading-field
        !           146: 
        !           147: RepliedToIPMField ::= IPMIdentifier
        !           148: 
        !           149: -- Obsoleted IPMs heading-field
        !           150: 
        !           151: ObsoletedIPMsField ::= SEQUENCE OF ObsoletedIPMsSubField
        !           152: 
        !           153: ObsoletedIPMsSubField ::= IPMIdentifier
        !           154: 
        !           155: -- Related IPMs heading-field
        !           156: 
        !           157: RelatedIPMsField ::= SEQUENCE OF RelatedIPMsSubField
        !           158: 
        !           159: RelatedIPMsSubField ::= IPMIdentifier
        !           160: 
        !           161: -- Subject heading-field
        !           162: 
        !           163: SubjectField ::= CHOICE {
        !           164:        text TeletexString (SIZE (0..128))}
        !           165: 
        !           166: -- Expiry Time heading-field
        !           167: 
        !           168: ExpiryTimeField ::= Time
        !           169: 
        !           170: -- Reply Time heading-field
        !           171: 
        !           172: ReplyTimeField ::= Time
        !           173: 
        !           174: -- Reply Recipients heading-field
        !           175: 
        !           176: ReplyRecipientsField ::= SEQUENCE OF ReplyRecipientsSubField
        !           177: 
        !           178: ReplyRecipientsSubField ::= ORDescriptor
        !           179: 
        !           180: -- Importance heading-field
        !           181: 
        !           182: ImportanceField ::= INTEGER {
        !           183:        low(0),
        !           184:        normal(1),
        !           185:        high(2)}
        !           186: 
        !           187: -- Sensitivity heading-field
        !           188: 
        !           189: SensitivityField ::= INTEGER {
        !           190:        personal(1),
        !           191:        private(2),
        !           192:        company-confidential(3)}
        !           193: 
        !           194: -- Auto-forwarded heading-field
        !           195: 
        !           196: AutoForwardedField ::= BOOLEAN
        !           197: 
        !           198: -- Language heading-field
        !           199: 
        !           200: LanguageField ::= INTEGER
        !           201: 
        !           202: -- Timed Obsoleted IPMs heading-field
        !           203: 
        !           204: TimedObsoletedIPMsField ::= SEQUENCE OF TimedObsoletedIPMsSubField
        !           205: 
        !           206: TimedObsoletedIPMsSubField ::= SET {
        !           207:        ipm  [1] IPMIdentifier,
        !           208:        time [0] Time}
        !           209: 
        !           210: -- Body
        !           211: 
        !           212: Body ::= SEQUENCE OF BodyPart
        !           213: 
        !           214: BodyPart ::= CHOICE {
        !           215:        ia5-text        [0] IA5TextBodyPart,
        !           216:        telex           [1] TeletexBodyPart,
        !           217:        voice           [2] VoiceBodyPart,
        !           218:        g3-facsimile    [3] G3FacsimileBodyPart,
        !           219:        tif0            [4] TIF0BodyPart,
        !           220:        teletex         [5] TeletexBodyPart,
        !           221:        videotex        [6] VideotexBodyPart,
        !           222:        national        [7] NationalBodyPart,
        !           223:        encrypted       [8] EncryptedBodyPart,
        !           224:        message         [9] MessageBodyPart,
        !           225:        sfd            [10] SFDBodyPart,
        !           226:        tif1           [11] TIF1BodyPart,
        !           227:        bilateral      [12] BilateralBodyPart,
        !           228:        external       [13] ExternalBodyPart}
        !           229: 
        !           230: -- IA5 Text body-part
        !           231: 
        !           232: IA5TextBodyPart ::= SEQUENCE {
        !           233:        attributes IA5TextAttributes,
        !           234:        data       IA5String}
        !           235: 
        !           236: IA5TextAttributes ::= SET {
        !           237:        repertoire [0] Repertoire DEFAULT ia5}
        !           238: 
        !           239: Repertoire ::= INTEGER {
        !           240:        ita2(2),
        !           241:        ia5(5)}
        !           242: 
        !           243: -- Telex body-part
        !           244: 
        !           245: VoiceBodyPart ::= SEQUENCE {
        !           246:        attributes VoiceAttributes,
        !           247:        data       BIT STRING}
        !           248: 
        !           249: VoiceAttributes ::= SET
        !           250: 
        !           251: -- G3 Facsimile body-part
        !           252: 
        !           253: G3FacsimileBodyPart ::= SEQUENCE {
        !           254:        attributes G3FacsimileAttributes,
        !           255:        data       SEQUENCE OF BIT STRING}
        !           256: 
        !           257: G3FacsimileAttributes ::= SET {
        !           258:        number-of-pages         [0] INTEGER OPTIONAL,
        !           259:        non-basic-parameters    [1] G3NonBasicParams OPTIONAL}
        !           260: 
        !           261: -- TIF0 and TIF1 body-parts
        !           262: 
        !           263: TIF0BodyPart ::= T73Document
        !           264: 
        !           265: TIF1BodyPart ::= T73Document
        !           266: 
        !           267: T73Document ::= SEQUENCE OF ProtocolElement
        !           268: 
        !           269: -- Teletex body-part
        !           270: 
        !           271: TeletexBodyPart ::= SEQUENCE {
        !           272:        attributes TeletexAttributes,
        !           273:        data       SEQUENCE OF TeletexString}
        !           274: 
        !           275: TeletexAttributes ::= SET {
        !           276:        number-of-pages         [0] INTEGER OPTIONAL,
        !           277:        telex-compatible        [1] BOOLEAN DEFAULT FALSE,
        !           278:        non-basic-parameters    [2] TeletexNonBasicParams OPTIONAL}
        !           279: 
        !           280: -- Videotex body-part
        !           281: 
        !           282: VideotexBodyPart ::= SEQUENCE {
        !           283:        attributes VideotexAttributes,
        !           284:        data       VideotexString}
        !           285: 
        !           286: VideotexAttributes ::= SET
        !           287: 
        !           288: -- National body-part
        !           289: 
        !           290: NationalBodyPart ::= ANY
        !           291: 
        !           292: -- Encrypted body-part
        !           293: 
        !           294: EncryptedBodyPart ::= SEQUENCE {
        !           295:        attributes EncryptedAttributes,
        !           296:        data       BIT STRING}
        !           297: 
        !           298: EncryptedAttributes ::= SET
        !           299: 
        !           300: -- Message body-part
        !           301: 
        !           302: MessageBodyPart ::= SEQUENCE {
        !           303:        attributes MessageAttributes,
        !           304:        data       IPM}
        !           305: 
        !           306: MessageAttributes ::= SET {
        !           307:        delivery-time     [0] Time OPTIONAL,
        !           308:        delivery-envelope [1] DeliverEnvelope OPTIONAL}
        !           309: 
        !           310: -- SFD body-part
        !           311: 
        !           312: SFDBodyPart ::= Document
        !           313: 
        !           314: -- Bilateral body-part
        !           315: 
        !           316: BilateralBodyPart ::= OCTET STRING
        !           317: 
        !           318: -- External body-part
        !           319: 
        !           320: ExternalBodyPart ::= EXTERNAL
        !           321: 
        !           322: -- IPN
        !           323: 
        !           324: IPN ::= SET {
        !           325:        subject-ipm                 SubjectIPMField,
        !           326:        ipn-originator          [1] IPNOriginatorField OPTIONAL,
        !           327:        ipm-primary-recipient   [2] IPMPrimaryRecipientField OPTIONAL,
        !           328:        conversion-eits             ConversionEITsField OPTIONAL,
        !           329: -- really common-fields COMPONENTS OF CommonFields,
        !           330:        choice [0] CHOICE {
        !           331:                non-receipt-fields  [0] NonRecipientFields,
        !           332:                receipt-fields      [1] ReceiptFields}}
        !           333: 
        !           334: RN ::= IPN -- with receipt-fields chosen
        !           335: 
        !           336: NRN ::= IPN -- with non-receipt-fields hosen
        !           337: 
        !           338: CommonFields ::= SET {
        !           339:        subject-ipm                 SubjectIPMField,
        !           340:        ipn-originator          [1] IPNOriginatorField OPTIONAL,
        !           341:        ipm-primary-recipient   [2] IPMPrimaryRecipientField OPTIONAL,
        !           342:        conversion-eits             ConversionEITsField OPTIONAL}
        !           343: 
        !           344: NonRecipientFields ::= SET {
        !           345:        non-receipt-reason      [0] NonRecipientReasonField,
        !           346:        discard-reason          [1] DiscardReasonField OPTIONAL,
        !           347:        auto-forward-comment    [2] AutoForwardCommentField OPTIONAL,
        !           348:        returned-ipm            [3] ReturnedIPMField OPTIONAL}
        !           349: 
        !           350: ReceiptFields ::= SET {
        !           351:        receipt-time            [0] ReceiptTimeField,
        !           352:        acknowledge-mode        [1] AcknowledgementModeField DEFAULT manual,
        !           353:        suppl-receipt-info      [2] SupplRecipientInfoField OPTIONAL}
        !           354: 
        !           355: -- Common-fields
        !           356: 
        !           357: SubjectIPMField ::= IPMIdentifier
        !           358: 
        !           359: IPNOriginatorField ::= ORDescriptor
        !           360: 
        !           361: IPMPrimaryRecipientField ::= ORDescriptor
        !           362: 
        !           363: ConversionEITsField ::= EncodedInformationTypes
        !           364: 
        !           365: -- Non-receipt-fields
        !           366: 
        !           367: NonRecipientReasonField ::= INTEGER {
        !           368:        ipm-discarded(0),
        !           369:        ipm-auto-forwarded(1)}
        !           370: 
        !           371: DiscardReasonField ::= INTEGER {
        !           372:        ipm-expired(0),
        !           373:        ipm-obsoleted(1),
        !           374:        user-subscription-terminated(2)}
        !           375: 
        !           376: AutoForwardCommentField ::= AutoForwardComment
        !           377: 
        !           378: AutoForwardComment ::= PrintableString (SIZE (0..256))
        !           379: 
        !           380: ReturnedIPMField ::= IPM
        !           381: 
        !           382: -- Receipt-fields
        !           383: 
        !           384: ReceiptTimeField ::= Time
        !           385: 
        !           386: AcknowledgementModeField ::= INTEGER {
        !           387:        manual(0),
        !           388:        automatic(1)}
        !           389: 
        !           390: SupplRecipientInfoField ::= SupplementaryInformation
        !           391: 
        !           392: --
        !           393: -- Hacky - shold be got from P1 defs
        !           394: --
        !           395: -- 
        !           396: -- ORAddress ::= ORIdentifier
        !           397: -- 
        !           398: -- ORName ::= ORIdentifier
        !           399: -- 
        !           400: -- ORIdentifier ::= [APPLICATION 0] SEQUENCE
        !           401: -- 
        !           402: -- EncodedInformationTypes ::=  [APPLICATION 5] SET
        !           403: -- 
        !           404: END -- of IPMSInformationObjects

unix.superglobalmegacorp.com

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