|
|
1.1 ! root 1: -- P2.py - MHS P2 definitions ! 2: ! 3: -- $Header: /f/osi/pepy/RCS/P2.py,v 7.0 89/11/23 22:11:32 mrose Rel $ ! 4: -- ! 5: -- ! 6: -- $Log: P2.py,v $ ! 7: -- Revision 7.0 89/11/23 22:11:32 mrose ! 8: -- Release 6.0 ! 9: -- ! 10: ! 11: -- ! 12: -- NOTICE ! 13: -- ! 14: -- Acquisition, use, and distribution of this module and related ! 15: -- materials are subject to the restrictions of a license agreement. ! 16: -- Consult the Preface in the User's Manual for the full terms of ! 17: -- this agreement. ! 18: -- ! 19: -- ! 20: ! 21: ! 22: P2 DEFINITIONS ::= ! 23: ! 24: %{ ! 25: #ifndef lint ! 26: static char *rcsid = "$Header: /f/osi/pepy/RCS/P2.py,v 7.0 89/11/23 22:11:32 mrose Rel $"; ! 27: #endif ! 28: %} ! 29: ! 30: BEGIN ! 31: ! 32: PRINTER print ! 33: ! 34: -- P2 makes use of types defined in the following modules: ! 35: -- P1: X.411, Section 3.4 ! 36: -- P3: X.411, Section 4.3 ! 37: -- SFD: this Recommendation, Section 5 ! 38: -- T73: T.73, Section 5 ! 39: ! 40: UAPDU ::= ! 41: CHOICE { ! 42: [0] ! 43: IMPLICIT IM-UAPDU, ! 44: ! 45: [1] ! 46: IMPLICIT SR-UAPDU ! 47: } ! 48: ! 49: ! 50: -- IP-message UAPDU ! 51: ! 52: IM-UAPDU ::= ! 53: SEQUENCE { ! 54: heading ! 55: Heading, ! 56: ! 57: body ! 58: Body ! 59: } ! 60: ! 61: ! 62: -- heading ! 63: ! 64: Heading ::= ! 65: SET { ! 66: messageid ! 67: IPMessageId, ! 68: ! 69: originator[0] ! 70: IMPLICIT ORDescriptor ! 71: OPTIONAL, ! 72: ! 73: authorizingUsers[1] ! 74: IMPLICIT SEQUENCE OF ORDescriptor ! 75: OPTIONAL, ! 76: -- only if not the originator ! 77: ! 78: primaryRecipients[2] ! 79: IMPLICIT SEQUENCE OF Recipient ! 80: OPTIONAL, ! 81: ! 82: copyRecipients[3] ! 83: IMPLICIT SEQUENCE OF Recipient ! 84: OPTIONAL, ! 85: ! 86: blindCopyRecipients[4] ! 87: IMPLICIT SEQUENCE OF Recipient ! 88: OPTIONAL, ! 89: ! 90: inReplyTo[5] ! 91: IMPLICIT IPMessageId ! 92: OPTIONAL, ! 93: -- omitted if not in reply to a previous message ! 94: ! 95: obsoletes[6] ! 96: IMPLICIT SEQUENCE OF IPMessageId ! 97: OPTIONAL, ! 98: ! 99: crossReferences[7] ! 100: IMPLICIT SEQUENCE OF IPMessageId ! 101: OPTIONAL, ! 102: ! 103: subject[8] ! 104: CHOICE { ! 105: T61String ! 106: } ! 107: OPTIONAL, ! 108: ! 109: expiryDate[9] ! 110: IMPLICIT P1.Time ! 111: OPTIONAL, ! 112: -- if omitted, expiry date is never ! 113: ! 114: replyBy[10] ! 115: IMPLICIT P1.Time ! 116: OPTIONAL, ! 117: ! 118: replyToUsers[11] ! 119: IMPLICIT SEQUENCE OF ORDescriptor ! 120: OPTIONAL, ! 121: -- each O/R descriptor must contain an O/R name ! 122: ! 123: importance[12] ! 124: IMPLICIT INTEGER { ! 125: low(0), ! 126: ! 127: normal(1), ! 128: ! 129: high(2) ! 130: } DEFAULT normal, ! 131: ! 132: sensitivity[13] ! 133: IMPLICIT INTEGER { ! 134: personal(1), ! 135: ! 136: private(2), ! 137: ! 138: companyConfidential(3) ! 139: } OPTIONAL, ! 140: ! 141: autoforwarded[14] ! 142: IMPLICIT BOOLEAN ! 143: DEFAULT FALSE ! 144: -- indicates that the forwarded message body ! 145: -- part(s) were autoforwarded ! 146: } ! 147: ! 148: IPMessageId ::= ! 149: [APPLICATION 11] IMPLICIT SET { ! 150: ORName OPTIONAL, ! 151: ! 152: PrintableString ! 153: } ! 154: ! 155: ORName ::= ! 156: P1.ORName ! 157: ! 158: ORDescriptor ::= ! 159: SET { -- at least one of the first two members must be present ! 160: ORName OPTIONAL, ! 161: ! 162: freeformName[0] ! 163: IMPLICIT T61String ! 164: OPTIONAL, ! 165: ! 166: telephoneNumber[1] ! 167: IMPLICIT PrintableString ! 168: OPTIONAL ! 169: } ! 170: ! 171: Recipient ::= ! 172: SET { ! 173: [0] ! 174: IMPLICIT ORDescriptor, ! 175: ! 176: reportRequest[1] ! 177: IMPLICIT BITSTRING { ! 178: receiptNotification(0), ! 179: nonreceiptNotification(1), ! 180: returnIPMessage(2) ! 181: } ! 182: DEFAULT {}, ! 183: -- if requested, the O/R descriptor must contain an O/R name ! 184: ! 185: replyRequest[2] ! 186: IMPLICIT BOOLEAN ! 187: DEFAULT FALSE ! 188: -- if true, the O/R descriptor must contain an O/R name ! 189: } ! 190: ! 191: ! 192: -- body ! 193: ! 194: Body ::= ! 195: SEQUENCE OF BodyPart ! 196: ! 197: BodyPart ::= ! 198: CHOICE { ! 199: [0] ! 200: IMPLICIT IA5Text, ! 201: ! 202: [1] ! 203: IMPLICIT TLX, ! 204: ! 205: [2] ! 206: IMPLICIT Voice, ! 207: ! 208: [3] ! 209: IMPLICIT G3Fax, ! 210: ! 211: [4] ! 212: IMPLICIT TIF0, ! 213: ! 214: [5] ! 215: IMPLICIT TTX, ! 216: ! 217: [6] ! 218: IMPLICIT Videotex, ! 219: ! 220: [7] ! 221: NationallyDefined, ! 222: ! 223: [8] ! 224: IMPLICIT Encrypted, ! 225: ! 226: [9] ! 227: IMPLICIT ForwardedIPMessage, ! 228: ! 229: [10] ! 230: IMPLICIT SFD, ! 231: ! 232: [11] ! 233: IMPLICIT TIF1 ! 234: } ! 235: ! 236: ! 237: -- body part types ! 238: ! 239: IA5Text ::= ! 240: SEQUENCE { ! 241: SET { ! 242: repertoire[0] ! 243: IMPLICIT INTEGER { ! 244: ia5(5), ! 245: ! 246: ita2(2) ! 247: } DEFAULT ia5 ! 248: -- additional members of this Set are a ! 249: -- possible future extension ! 250: }, ! 251: ! 252: IA5String ! 253: } ! 254: ! 255: TLX ::= ! 256: ANY -- for further study ! 257: ! 258: Voice ::= ! 259: SEQUENCE { ! 260: SET, -- members are for further study ! 261: BITSTRING ! 262: } ! 263: ! 264: G3Fax ::= ! 265: SEQUENCE { ! 266: SET { ! 267: numberOfPages[0] ! 268: IMPLICIT INTEGER OPTIONAL, ! 269: ! 270: [1] ! 271: IMPLICIT P1.G3NonBasicParams OPTIONAL ! 272: }, ! 273: ! 274: SEQUENCE OF BITSTRING ! 275: } ! 276: ! 277: TIF0 ::= ! 278: T73Document ! 279: ! 280: T73Document ::= ! 281: SEQUENCE OF T73.ProtocolElement ! 282: ! 283: TTX ::= ! 284: SEQUENCE { ! 285: SET { ! 286: numberOfPages[0] ! 287: IMPLICIT INTEGER OPTIONAL, ! 288: ! 289: telexCompatible[1] ! 290: IMPLICIT BOOLEAN DEFAULT FALSE, ! 291: ! 292: [2] ! 293: IMPLICIT P1.TeletexNonBasicParams OPTIONAL ! 294: }, ! 295: ! 296: SEQUENCE OF T61String ! 297: } ! 298: ! 299: Videotex ::= ! 300: SEQUENCE { ! 301: SET, -- members are for further study ! 302: VideotexString ! 303: } ! 304: ! 305: NationallyDefined ::= ! 306: ANY ! 307: ! 308: Encrypted ::= ! 309: SEQUENCE { ! 310: SET, -- members are for further study ! 311: BITSTRING ! 312: } ! 313: ! 314: ForwardedIPMessage ::= ! 315: SEQUENCE { ! 316: SET { ! 317: delivery[0] ! 318: IMPLICIT P1.Time ! 319: OPTIONAL, ! 320: ! 321: [1] ! 322: IMPLICIT DeliveryInformation ! 323: OPTIONAL ! 324: }, ! 325: ! 326: IM-UAPDU ! 327: } ! 328: ! 329: DeliveryInformation ::= ! 330: P3.DeliverEnvelope ! 331: ! 332: SFD ::= ! 333: SFD.Document ! 334: ! 335: TIF1 ::= ! 336: T73Document ! 337: ! 338: ! 339: -- IPM-status-report UAPDU ! 340: ! 341: SR-UAPDU ::= ! 342: SET { ! 343: [0] ! 344: CHOICE { ! 345: nonReceipt[0] ! 346: IMPLICIT NonReceiptInformation, ! 347: ! 348: receipt[1] ! 349: IMPLICIT ReceiptInformation ! 350: }, ! 351: ! 352: reported ! 353: IPMessageId, ! 354: ! 355: actualRecipient[1] ! 356: IMPLICIT ORDescriptor ! 357: OPTIONAL, ! 358: ! 359: intendedRecipient[2] ! 360: IMPLICIT ORDescriptor ! 361: OPTIONAL, ! 362: ! 363: converted ! 364: P1.EncodedInformationTypes ! 365: OPTIONAL ! 366: } ! 367: ! 368: NonReceiptInformation ::= ! 369: SET { ! 370: reason[0] ! 371: IMPLICIT INTEGER { ! 372: uaeInitiatedDiscard(0), ! 373: ! 374: autoForwarded(1) ! 375: }, ! 376: ! 377: nonReceiptQualifer[1] ! 378: IMPLICIT INTEGER { ! 379: expired(0), ! 380: ! 381: obsoleted(1), ! 382: ! 383: subscriptionTerminated(2) ! 384: } OPTIONAL, ! 385: ! 386: comments[2] ! 387: IMPLICIT PrintableString ! 388: OPTIONAL, ! 389: -- on auto-forward ! 390: ! 391: returned[3] ! 392: IMPLICIT IM-UAPDU ! 393: OPTIONAL ! 394: } ! 395: ! 396: ReceiptInformation ::= ! 397: SET { ! 398: receipt[0] ! 399: IMPLICIT P1.Time, ! 400: ! 401: typeOfReceipt[1] ! 402: IMPLICIT INTEGER { ! 403: explicit(0), ! 404: ! 405: automatic(1) ! 406: } DEFAULT explicit, ! 407: ! 408: [2] ! 409: IMPLICIT P1.SupplementaryInformation OPTIONAL ! 410: } ! 411: ! 412: END
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.