home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 800s / rfc806.txt < prev    next >
Text File  |  1991-10-16  |  210KB  |  6,240 lines

  1. Network Working Group
  2. Request for Comments: 806
  3.  
  4.  
  5.  
  6.  
  7.       
  8.       Proposed Federal Information Processing Standard
  9.  
  10.  
  11.  
  12.  
  13.       SPECIFICATION FOR MESSAGE FORMAT FOR 
  14.       COMPUTER BASED MESSAGE SYSTEMS
  15.  
  16.  
  17.  
  18.  
  19.       National Bureau of Standards
  20.       Institute for Computer Sciences and Technology
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.       September 1981
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.       
  41.  
  42.       
  43.       
  44.       
  45.  
  46.  
  47.       
  48.       
  49.  
  50.  
  51.  
  52.  
  53.  
  54.                               TABLE OF CONTENTS
  55.  
  56.  
  57.  
  58.  
  59.                                                                    Page
  60.  
  61.  
  62.  
  63.       EXECUTIVE SUMMARY                                               1
  64.  
  65.  
  66.  
  67.       1.  INTRODUCTION                                                3
  68.  
  69.  
  70.           1.1  Guide to Reading This Document                         3
  71.           1.2  Vendor-Defined Extensions to the Specification         4
  72.           1.3  The Scope of the Message Format Specification          4
  73.           1.4  Issues Not Within the Scope of the Message Format      4
  74.                Specification
  75.           1.5  Relationship to Other Efforts                          5
  76.  
  77.  
  78.  
  79.       2.  A SIMPLE MODEL OF A CBMS ENVIRONMENT                        6
  80.  
  81.  
  82.           2.1  Logical Model of a CBMS                                8
  83.           2.2  Relationship to the ISO Reference Model for Open      10
  84.                Systems Interconnection
  85.           2.3  Messages and Fields                                   10
  86.           2.4  Message Originators and Recipients                    11
  87.  
  88.  
  89.  
  90.       3.  SEMANTICS                                                  12
  91.  
  92.  
  93.           3.1  Semantics of Message Fields                           12
  94.                3.1.1  Types of fields                                12
  95.                3.1.2  Semantic Compliance Categories                 13
  96.                3.1.3  Originator fields                              13
  97.                3.1.4  Recipient fields                               14
  98.                3.1.5  Date fields                                    15
  99.                3.1.6  Cross-reference fields                         16
  100.                3.1.7  Message-handling fields                        16
  101.                3.1.8  Message-content fields                         17
  102.                3.1.9  Extensions                                     18
  103.  
  104.  
  105.  
  106.  
  107.                                       i                                 
  108.  
  109.  
  110.  
  111.  
  112.           3.2  Message Processing Functions                          18
  113.                3.2.1  Message creation and posting                   19
  114.                3.2.2  Message reissuing and forwarding               20
  115.                     3.2.2.1  Redistribution                          22
  116.                     3.2.2.2  Assignment                              22
  117.                3.2.3  Reply generation                               23
  118.                3.2.4  Cross referencing                              24
  119.                     3.2.4.1  Unique identifiers                      24
  120.                     3.2.4.2  Serial numbering                        24
  121.                3.2.5  Life span functions                            25
  122.                3.2.6  Requests for recipient processing              25
  123.                     3.2.6.1  Message circulation                     26
  124.           3.3  Multiple Occurrences and Ordering of Fields           26
  125.  
  126.  
  127.  
  128.       4.  SYNTAX                                                     28
  129.  
  130.  
  131.           4.1  Introduction                                          28
  132.                4.1.1  Message structure                              28
  133.                4.1.2  Data elements                                  29
  134.                     4.1.2.1  Primitive data elements                 30
  135.                     4.1.2.2  Constructor data elements               30
  136.                4.1.3  Properties                                     30
  137.                     4.1.3.1  Printing-names                          30
  138.                     4.1.3.2  Comments                                31
  139.                4.1.4  Data compression and encryption                31
  140.                4.1.5  Data sharing                                   31
  141.           4.2  Overview of Syntax Encoding                           32
  142.                4.2.1  Identifier Octets                              32
  143.                4.2.2  Length code and Qualifier components           33
  144.                     4.2.2.1  Length Codes                            35
  145.                     4.2.2.2  Qualifier                               36
  146.                4.2.3  Property-List                                  38
  147.                4.2.4  Data Element Contents                          38
  148.           4.3  Data Element Syntax                                   39
  149.                4.3.1  Data elements                                  39
  150.                     4.3.1.1  Primitives                              42
  151.                     4.3.1.2  Constructors                            44
  152.                4.3.2  Using data elements within message fields      48
  153.                4.3.3  Properties and associated elements             49
  154.                4.3.4  Encryption identifiers                         49
  155.                4.3.5  Compression identifiers                        49
  156.                4.3.6  Message types                                  50
  157.  
  158.  
  159.  
  160.       SUMMARY OF APPENDIXES                                          51
  161.  
  162.  
  163.  
  164.                                      ii                                
  165.                                                                        
  166.  
  167.  
  168.  
  169.  
  170.       APPENDIX A.  FIELDS -- IMPLEMENTORS' MASTER REFERENCE          52
  171.  
  172.  
  173.  
  174.       APPENDIX B.  DATA ELEMENTS -- IMPLEMENTORS' MASTER REFERENCE   57
  175.  
  176.  
  177.  
  178.       APPENDIX C.  DATA ELEMENT IDENTIFIER OCTETS                    65
  179.  
  180.  
  181.  
  182.       APPENDIX D.  SUMMARY OF MESSAGE FIELDS BY COMPLIANCE           66
  183.                    CATEGORY
  184.  
  185.  
  186.           D.1  REQUIRED Fields                                       66
  187.           D.2  BASIC Fields                                          66
  188.           D.3  OPTIONAL Fields                                       66
  189.  
  190.  
  191.  
  192.       APPENDIX E.  SUMMARY OF MESSAGE SEMANTICS BY FUNCTION          68
  193.  
  194.  
  195.           E.1  Circulation                                           68
  196.           E.2  Cross Referencing                                     68
  197.           E.3  Life spans                                            68
  198.           E.4  Delivery System                                       68
  199.           E.5  Miscellaneous Fields Used Generally                   69
  200.           E.6  Reply Generation                                      69
  201.           E.7  Reissuing                                             69
  202.           E.8  Sending (Normal Transmission)                         69
  203.  
  204.  
  205.  
  206.       APPENDIX F.  SUMMARY OF DATA ELEMENT SYNTAX                    70
  207.  
  208.  
  209.  
  210.       APPENDIX G.  SUMMARY OF DATA ELEMENTS BY COMPLIANCE CATEGORY   72
  211.  
  212.  
  213.           G.1  BASIC Data Elements                                   72
  214.           G.2  OPTIONAL Data Elements                                72
  215.  
  216.  
  217.  
  218.       APPENDIX H.  EXAMPLES                                          74
  219.  
  220.  
  221.  
  222.  
  223.                                      iii                               
  224.                                                                        
  225.  
  226.  
  227.  
  228.  
  229.           H.1  Primitive Data Elements                               74
  230.           H.2  Constructor Data Elements                             76
  231.           H.3  Fields                                                81
  232.           H.4  Messages                                              84
  233.           H.5  Unknown Lengths                                       88
  234.  
  235.  
  236.  
  237.       REFERENCES                                                     92
  238.  
  239.  
  240.  
  241.       INDEX                                                          94
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.                                      iv                                
  283.                                                                        
  284.  
  285.  
  286.  
  287.  
  288.                                LIST OF FIGURES
  289.  
  290.  
  291.  
  292.  
  293.       FIG. 1.    LOGICAL MODEL OF A COMPUTER BASED MESSAGE SYSTEM     8
  294.       FIG. 2.    MESSAGE FORWARDING AND REDISTRIBUTION               21
  295.       FIG. 3.    EXAMPLE OF MESSAGE CIRCULATION                      27
  296.       FIG. 4.    STRUCTURE OF IDENTIFIER OCTETS                      34
  297.       FIG. 5.    ENCODING MECHANISM FOR QUALIFIERS AND LENGTH        35
  298.                  CODES
  299.       FIG. 6.    REPRESENTATION OF LENGTH CODES                      36
  300.       FIG. 7.    EXAMPLES OF LENGTH CODES                            37
  301.       FIG. 8.    EXAMPLES OF QUALIFIER VALUES                        38
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.                                       v
  343.  
  344.  
  345.  
  346.  
  347.                                LIST OF TABLES
  348.  
  349.  
  350.  
  351.  
  352.       TABLE 1.    FIELDS USED IN MESSAGE PROCESSING FUNCTIONS        19
  353.       TABLE 2.    TYPE BITS IN THE IDENTIFIER OCTET                  33
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                                      vi                                
  401.  
  402.                                                       Executive Summary
  403.  
  404.  
  405.                               EXECUTIVE SUMMARY
  406.  
  407.  
  408.  
  409.  
  410.            The  message  format  specification addresses the problem of
  411.       exchanging  messages  between  different  computer-based  message
  412.       systems  (CBMSs).    This interchange problem can be addressed on
  413.       several   levels.      One   level   specifies    the    physical
  414.       interconnections,   another  specifies  how  information  travels
  415.       between CBMSs, another specifies form  and  meaning  of  messages
  416.       being  interchanged.  The highest level specifies operations on a
  417.       message.  Each of these levels would be covered  by  a  different
  418.       standard.
  419.  
  420.            This  message format specification addresses only the issues
  421.       of form and meaning of messages at the points in time  when  they
  422.       are  sent  from  one  CBMS and received by another.  Messages are
  423.       composed of fields, containing different classes of  information.
  424.       These  fields  contain  information about the message originator,
  425.       message recipient, subject matter, precedence and  security,  and
  426.       references  to  previous  messages,  as  well  as the text of the
  427.       message.  Standard formats (syntax) for messages ensure that  the
  428.       contents  of  messages  generated by one CBMS can be processed by
  429.       another CBMS.  Standard meanings (sematics) for the components of
  430.       a message ensure standard interpretation of a  message,  so  that
  431.       everyone  receiving  a  message  gets the meaning intended by its
  432.       sender.
  433.  
  434.            Each CBMS that implements this message format  specification
  435.       will  be  compatible  with  any  other  CBMS  that implements the
  436.       specification.  Compatibility ensures  that  the  contents  of  a
  437.       message  posted  by one CBMS can be received and interpreted by a
  438.       different CBMS.
  439.  
  440.            This message format specification has been  developed  as  a
  441.       result  of  examining  CBMSs  currently  in use in commercial and
  442.       research environments.  Three major  design  perspectives  helped
  443.       shape the message format specification.
  444.  
  445.  
  446.         o  Viability.     The  message  format  specification  uses
  447.            concepts that already work.  It has been  designed  with
  448.            implementation concerns in mind.
  449.  
  450.         o  Compatibility.      The   message  format  specification
  451.            contains concepts from existing CBMSs.  For this reason,
  452.            many CBMS would already contain functions and components
  453.            similar to  those  required  to  implement  the  message
  454.            format specification.
  455.  
  456.  
  457.  
  458.                                       1                          
  459.  
  460.                                                       Executive Summary
  461.  
  462.  
  463.  
  464.         o  Extensibility.      This  message  format  specification
  465.            defines a broad range of message content components  and
  466.            requires  only an elementary subset of them.  This means
  467.            that even a very simple CBMS can implement  the  message
  468.            format  specification.  The message format specification
  469.            contains a rich  set  of  optional  components  and,  in
  470.            addition,  mechanisms  for  user  extensions  and future
  471.            extensions to the message format specification.
  472.  
  473.  
  474.            The  message  format  specification  defines  the  form  and
  475.       meaning  of  message  contents  and their components as they pass
  476.       from one CBMS to another through a message transfer system.   The
  477.       message   format  specification  does  not  address  any  of  the
  478.       following major issues.
  479.  
  480.  
  481.         o  Functions or services provided to a user by a CBMS.
  482.                 For  example,  the  message  format   specification
  483.                 assumes  that  every CBMS allows a user to send and
  484.                 receive messages.  It does not specify any  of  the
  485.                 details of how a send function or a message-reading
  486.                 function  might  work or how it might appear to the
  487.                 user.  That is, the  message  format  specification
  488.                 neither limits nor mandates functions.
  489.  
  490.         o  Storage or format of message contents in a CBMS.
  491.                 The  message  format specification defines the form
  492.                 and contents of messages when they are  transferred
  493.                 between  systems.   A CBMS may or may not choose to
  494.                 use the same format for internal storage.
  495.  
  496.         o  Message transfer system protocols.
  497.                 The message format specification does  not  specify
  498.                 how  a  message  travels  between  CBMSs.   It does
  499.                 specify the form of its contents as it  leaves  and
  500.                 arrives,  assuming  only  that the message is moved
  501.                 transparently by the transfer system.
  502.  
  503.         o  Message envelopes.
  504.                 While a message is traveling between CBMSs,  it  is
  505.                 enclosed  in a message envelope.  Message envelopes
  506.                 contain all the information about a message that  a
  507.                 message transfer system needs to know.  The message
  508.                 format  specification does not define the format or
  509.                 content of a message envelope.
  510.  
  511.         o  How message originators and recipients are identified.
  512.                 The message format specification does not provide a
  513.                 representation scheme for the names or addresses of
  514.                 message originators  and  recipients  as  they  are
  515.                 known to a CBMS.
  516.  
  517.                                       2                          
  518.  
  519.                                                               Section 1
  520.  
  521.  
  522.  
  523.       1.  INTRODUCTION
  524.  
  525.  
  526.            A  computer-based message system (CBMS) allows communication
  527.       between "entities" (usually people) using computers.    Computers
  528.       serve  both  to mediate the actual communications between systems
  529.       and to provide users with facilities for creating and reading the
  530.       messages.
  531.  
  532.            CBMSs have  been  developing  for  over  ten  years.    More
  533.       recently,  CBMSs  have  been one of the bases in industry for the
  534.       introduction  of  office  automation.    A  growing   number   of
  535.       organizations  use  either  their own or a commercially available
  536.       CBMS.  The design and complexity of these  systems  vary  widely.
  537.       This   message   format   specification   provides  a  basis  for
  538.       interaction between different CBMSs by  defining  the  format  of
  539.       messages passed between them.
  540.  
  541.  
  542.  
  543.       1.1  Guide to Reading This Document
  544.  
  545.  
  546.            The  method of presenting the material in this specification
  547.       is  to  combine  the  technical   specification   with   tutorial
  548.       information.     This  approach  has  been  taken  to  place  the
  549.       specification in context and improve its readability.
  550.  
  551.            The core of the technical information in the document is  in
  552.       Section  2  "A  Simple  Model of a CBMS Environment", Section 3.1
  553.       "Semantics of Message Fields", Section 4.2  "Overview  of  Syntax
  554.       Encoding",  and  Section 4.3 "Data Element Syntax".  Appendixes A
  555.       and B consolidate the technical informations.   These  appendices
  556.       are  designed  for  ease  of  reference  and  should  be  read in
  557.       conjunction  with  the  body  of  the  report  for   a   complete
  558.       understanding   of   the   message   format   presented   in  the
  559.       specification.
  560.  
  561.            Section 2 presents a simple model of operation  of  a  CBMS.
  562.       Section  3 discusses the components of messages and their meaning
  563.       (semantics).    This  includes  discussions  of  the  recommended
  564.       relationship  between message components and CBMS user functions.
  565.       (See Section 3.2.)   Section  4  presents  details  of  the  form
  566.       (syntax) required for components of a message.
  567.  
  568.            Appendix  D  summarizes the components of messages according
  569.       to whether they are required or optional for  CBMSs  implementing
  570.       the  message  format  specification.    Appendix  E organizes the
  571.       message components according  to  the  functional  class  of  the
  572.       components.    Appendix  F  provides an overview of the syntactic
  573.       elements defined by this message format specification; Appendix G
  574.  
  575.  
  576.                                       3                          
  577.  
  578.                                                             Section 1.1
  579.  
  580.  
  581.  
  582.       summarizes  those elements according to whether they are required
  583.       or  optional  for  a  CBMS  implementing   the   message   format
  584.       specification.    Examples  of  each  syntactic element appear in
  585.       Appendix H,  displaying  syntax  and  describing  the  associated
  586.       semantics.
  587.  
  588.  
  589.  
  590.       1.2  Vendor-Defined Extensions to the Specification
  591.  
  592.  
  593.            This  specification provides the capability of extending the
  594.       range of functionality by the use  of  vendor-defined  qualifiers
  595.       and  vendor-defined  data  elements.    Any  vendor who uses this
  596.       capability to provide services which are  essentially  equivalent
  597.       to  those already designated as required, basic, or optional does
  598.       not comply with the specification.
  599.  
  600.  
  601.  
  602.       1.3  The Scope of the Message Format Specification
  603.  
  604.  
  605.            The purpose of  this  message  format  specification  is  to
  606.       present  the  semantics  and syntax to be used for messages being
  607.       exchanged between CBMSs.  Specifically, it defines the following.
  608.  
  609.  
  610.         o  The meaning and form of standard fields to  be  used  in
  611.            messages.
  612.  
  613.         o  Which fields must be present in all messages.
  614.  
  615.         o  Which fields complying CBMSs must be able to process.
  616.  
  617.         o  How  messages,  fields, and the data contained in fields
  618.            are represented.
  619.  
  620.  
  621.  
  622.       1.4  Issues Not Within the Scope of the Message Format
  623.            Specification
  624.  
  625.  
  626.            The  message  format  specification  does  not  address  the
  627.       following  issues,  some  of which are being covered by other NBS
  628.       standards developments.  (See [BlaR-80] for a description of  the
  629.       NBS protocols program.)
  630.  
  631.  
  632.         o  The nature of a message transfer system, except to state
  633.            the assumption that it transfers messages transparently.
  634.  
  635.                                       4                          
  636.  
  637.                                                             Section 1.4
  638.  
  639.  
  640.  
  641.         o  The  form  or  nature  of the protocols used to transfer
  642.            messages (posting, relay, and delivery protocols).
  643.  
  644.         o  The content and representation of message envelopes.
  645.  
  646.         o  Representations for unique identifiers  (in  particular,
  647.            message identifiers).
  648.  
  649.         o  Network and internetwork addressing.
  650.  
  651.         o  Representations  for  identities  of message originators
  652.            and recipients.
  653.  
  654.         o  Functions that CBMSs provide for users.
  655.  
  656.         o  Presentation of messages to users.
  657.  
  658.         o  Representations for multi-media objects.
  659.  
  660.         o  Data representation for messages within CBMSs.
  661.  
  662.         o  Data sharing or any storage management within CBMSs.
  663.  
  664.         o  Representations for fixed  or  floating  point  numbers.
  665.            
  666.  
  667.  
  668.  
  669.       1.5  Relationship to Other Efforts
  670.  
  671.  
  672.            The   message  format  specification  is  based  on  several
  673.       documents and the current state of many CBMSs available  both  in
  674.       industry and the research community.  These documents include the
  675.       standardization efforts in the ARPANet [CroD-77, PosJ-79] and the
  676.       CCITT,  proposed  ISO  and  ANSI  header  format standards [TasG-
  677.       80, ISOD-79], the work of IFIPS Working Group  6.5,  and  various
  678.       papers  about the general nature of mail systems, addressing, and
  679.       mail delivery.  (See [FeiE-79] for references.
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.                                       5                          
  695.  
  696.                                                               Section 2
  697.  
  698.  
  699.  
  700.       2.  A SIMPLE MODEL OF A CBMS ENVIRONMENT
  701.  
  702.  
  703.            In  order  to provide a framework for presenting the message
  704.       format specification, this section describes a simple  functional
  705.       model for a CBMS.  The model provides a high-level description of
  706.       both  user  facilities  and  system architecture.  Discussions of
  707.       messages, message originators and  message  recipients  serve  to
  708.       further clarify the nature of a CBMS.
  709.  
  710.            A  CBMS permits the transfer of a message from an originator
  711.       to a recipient.  "Originator" and "recipient" are used  in  their
  712.       normal  English  senses.    (See Section 2.4.)  A message (in its
  713.       most abstract definition) is simply a unit of communication  from
  714.       an  originator  to a recipient.  A CBMS offers several classes of
  715.       functions to its users:
  716.  
  717.  
  718.         o  Message Creation:  The  facilities  used  by  a  message
  719.            originator  to  create messages and specify to whom they
  720.            are to be sent.
  721.  
  722.         o  Message  Transfer:  The  facilities  used  to  convey  a
  723.            message to its recipient(s).
  724.  
  725.         o  Recipient  Processing:  The facilities used by a message
  726.            recipient to process messages that have arrived.
  727.  
  728.  
  729.            These classes of functions are presented in more  detail  in
  730.       Section 3.2.
  731.  
  732.            CBMSs  differ  from  other  office automation/communications
  733.       systems in a number of ways.
  734.  
  735.  
  736.         o  Unlike other types of  electronic  communications,  CBMS
  737.            messages  are  sent  to  particular  individuals, not to
  738.            stations or telephone sets.  If a recipient moves  to  a
  739.            different  location, messages sent to that recipient are
  740.            delivered to the recipient at the new location.
  741.  
  742.         o  Transmission of CBMS  messages  is  asynchronous.    The
  743.            recipient's  system  need  not  be  available  when  the
  744.            message leaves the originator's system.  That  is,  CBMS
  745.            message transfer facilities are store-and-forward.
  746.  
  747.         o  CBMS  messages can contain a wide variety of data.  They
  748.            are not constrained to any single kind of communication.
  749.            CBMS messages are often simple  memoranda  but  are  not
  750.            restricted to text.  A CBMS message may contain any kind
  751.  
  752.  
  753.                                       6                          
  754.  
  755.                                                               Section 2
  756.  
  757.  
  758.  
  759.            of   data  that  an  originator  wishes  to  send  to  a
  760.            recipient.      By   contrast,   Teletex   systems   and
  761.            communicating  word  processors  handle  the transfer of
  762.            final  form  documents;  compatible  communicating  word
  763.            processors  can  exchange  documents  in  editable form;
  764.            Telex and TWX deal in unformatted text.
  765.  
  766.         o  CBMSs offer message creation facilities as an  important
  767.            part   of  the  system.    CBMSs  assist  users  in  the
  768.            preparation  of  messages   by   having   text   editing
  769.            facilities  available and allowing users to include data
  770.            stored on-line in messages.  Some CBMSs  also  interface
  771.            to   other   office   automation   facilities,  such  as
  772.            formatters and spelling correctors.  This is not true of
  773.            Telex, TWX, or similar services.
  774.  
  775.         o  CBMSs  offer  recipient  processing  facilities  as   an
  776.            important  part of the system.  This is not true of most
  777.            other forms of electronic communications.  For  example,
  778.            Telex  and  TWX  systems  simply print messages on paper
  779.            when they are received, without retaining a copy in  the
  780.            system.   (Teletex systems are similar to Telex systems,
  781.            but some can retain a copy  of  the  document  in  local
  782.            storage.)    Communicating  word processors might notify
  783.            their operators that a document has been received and is
  784.            stored on-line, but offer little in  the  way  of  other
  785.            recipient  processing  facilities.   Most CBMSs offer at
  786.            least the following recipient processing facilities.
  787.  
  788.  
  789.              .  The ability to retain a copy of a  message  on-line
  790.                 after it has been read.
  791.  
  792.              .  The  ability  to  examine or delete stored messages
  793.                 individually.
  794.  
  795.              .  The ability to organize messages using some form of
  796.                 electronic "file folder".
  797.  
  798.              .  The ability to determine if  a  message  is  recent
  799.                 (has arrived since the last time the recipient used
  800.                 the CBMS) or unseen (has never been examined by the
  801.                 recipient).
  802.  
  803.              .  The  ability  to  summarize  stored  messages.    A
  804.                 summary  usually  includes  information   such   as
  805.                 whether  the  message  is recent or unseen, when it
  806.                 was received, its length, who it is from,  and  its
  807.                 subject.
  808.  
  809.              .  The ability to retrieve a stored message based upon
  810.  
  811.  
  812.                                       7                          
  813.  
  814.                                                               Section 2
  815.  
  816.  
  817.  
  818.                 one  or  more  of its attributes (for example, when
  819.                 the message was received, whether  or  not  it  has
  820.                 been  seen  or deleted, and the values contained in
  821.                 its fields).
  822.  
  823.              .  A forward facility that allows users to include all
  824.                 or part of a message in a new outgoing message.
  825.  
  826.              .  A  reply  facility  that  allows  users  to  answer
  827.                 messages  without  having  to  enter  a new list of
  828.                 recipients.
  829.  
  830.  
  831.  
  832.       2.1  Logical Model of a CBMS
  833.  
  834.  
  835.            CBMS  facilities  for  message   creation,   transfer,   and
  836.       recipient  processing  are reflected in a logical model of a CBMS
  837.       developed by IFIP Working Group 6.5 [SchP-79].   (An  essentially
  838.       identical  model is being used by CCITT Study Group VII, Question
  839.       5, regarding Message Handling Facilities.)  The model consists of
  840.       a Message Transfer System and a number  of  User  Agents.    (See
  841.       Figure 1.)
  842.  
  843.  
  844.  
  845.                     |                       |
  846.                     |     *************     |
  847.       *********  ------>  *  Message  *  ------->  *********
  848.       * User  *  Posting  * Transfer  *  Delivery  * User  *
  849.       * Agent *  Protocol *  System   *  Protocol  * Agent *
  850.       *********  <------- *************  <-------  *********
  851.                     |                       |
  852.                     |                       |
  853.                  Posting                Delivery
  854.                   Slot                    Slot
  855.  
  856.                           Message Flow
  857.       Originator --------------------------------> Recipient
  858.  
  859.  
  860.  
  861.       FIG. 1.  LOGICAL MODEL OF A COMPUTER BASED MESSAGE SYSTEM
  862.  
  863.  
  864.            A User Agent is a functional entity that acts on behalf of a
  865.       user,   assisting  with  creating  and  processing  messages  and
  866.       communicating with the Message Transfer System.
  867.  
  868.            The Message Transfer System] is an  entity  that  accepts  a
  869.  
  870.  
  871.                                       8                          
  872.  
  873.                                                             Section 2.1
  874.  
  875.  
  876.  
  877.       message from its originator's User Agent and ultimately passes it
  878.       to  each  of  its  recipients' User Agents.  The Message Transfer
  879.       System may perform routing and storage functions  (among  others)
  880.       in order to accomplish its task.
  881.  
  882.            Transferring  a  message  from an originator's User Agent to
  883.       the Message Transfer System is called Posting;  the  originator's
  884.       User  Agent  and  Message  Transfer  System  engage  in a Posting
  885.       Protocol in order to accomplish Posting.  Transferring a  message
  886.       from  the  Message Transfer System to a recipient's User Agent is
  887.       called Delivery; the recipient's User Agent and Message  Transfer
  888.       System  engage  in  a  Delivery  Protocol  in order to accomplish
  889.       Delivery.
  890.  
  891.            The  point  at  which  responsibility  for  a   message   is
  892.       transferred  is  called a Slot.  The Posting Slot is the point at
  893.       which responsibility for a message passes  from  an  originator's
  894.       User  Agent  to the Message Transfer System; the Delivery Slot is
  895.       the point at which responsibility for a message passes  from  the
  896.       Message Transfer System to a recipient's User Agent.
  897.  
  898.            The  model  divides  messages  into  two  parts, the message
  899.       content and the message envelope.  The  message  content  is  the
  900.       information  that the originator wishes to send to the recipient;
  901.       this message format specification deals solely with  the  message
  902.       content.    The  message envelope consists of all the information
  903.       necessary for the Message Transfer System to  do  its  job;  this
  904.       message   format  specification  does  not  specify  the  message
  905.       envelope.  Some of the data appearing  on  the  message  envelope
  906.       could  be  redundant with some data found in the message content.
  907.       The Message Transfer  System  is  not  expected  to  examine  the
  908.       message content unless it is told to do so by the originator's or
  909.       recipient's User Agent.
  910.  
  911.            This  message format specification places no restrictions on
  912.       the Message Transfer System itself, except that it be transparent
  913.       to the contents of messages.  In addition,  this  message  format
  914.       specification does not dictate the form or nature of any protocol
  915.       used  by  the  Message  Transfer  System.   Finally, this message
  916.       format specification does not specify the content or form of  the
  917.       message  envelope.    That  is,  the message format specification
  918.       defines the format for the contents of messages, not  the  manner
  919.       in which they are transmitted.
  920.  
  921.            Many of today's commercially available CBMSs incorporate all
  922.       of  the  facilities  represented  in  the  logical  model.  Their
  923.       architectures may reflect the economies that can  be  taken  when
  924.       implementing  systems  that  are  self-contained.    For example,
  925.       stand-alone systems that  store  messages  in  a  single  central
  926.       database  require  no  Message Transfer System; an implementation
  927.       may integrate software for User Agent and Message Transfer System
  928.       functions, doing away with Posting or Delivery Protocols.
  929.  
  930.                                       9                          
  931.  
  932.                                                             Section 2.1
  933.  
  934.  
  935.  
  936.       2.2  Relationship to the ISO Reference Model for Open Systems
  937.            Interconnection
  938.  
  939.  
  940.            Subcommittee   TC97/SC16   of  the  International  Standards
  941.       Organization (ISO) has developed a reference model for describing
  942.       communications between "open" systems [ISOD-81].  This  model  is
  943.       known as the ISO Reference Model for Open Systems Interconnection
  944.       (OSI).    It  divides communications protocols into seven layers,
  945.       ranging from physical interconnection at the lowest layer to data
  946.       exchange by application programs at the top.
  947.  
  948.            This message format specification deals with data used by an
  949.       application within a system.   Thus,  the  message  format  being
  950.       specified here is not a protocol.  Since it is not a protocol, it
  951.       lies outside of the model for open systems interconnection.  User
  952.       Agents are application layer entities (layer 7), however, and the
  953.       protocols used by a message transfer system are above the session
  954.       layer (layer 5).
  955.  
  956.  
  957.  
  958.       2.3  Messages and Fields
  959.  
  960.  
  961.            A message is a unit of communication from an originator to a
  962.       recipient.    A message consists of a series of components called
  963.       fields.  Fields can be described according to their meaning in  a
  964.       message (semantics) and according to the format required for them
  965.       in a message (syntax).
  966.  
  967.            Semantically,  a field is just a component of a message; the
  968.       meanings of particular fields are defined by this message  format
  969.       specification.    Syntactically,  a field is a unit of data whose
  970.       form is defined by this message format specification.  Additional
  971.       fields can be defined by users or vendors as long as they conform
  972.       to the syntactic and semantic  rules  that  this  message  format
  973.       specification defines for additional fields.
  974.  
  975.            (A  note  on  terminology:  A message consists of components
  976.       called fields.  The words "message" and "field" are used both  in
  977.       the  informal  sense  of  the  previous  sentence  and  in a more
  978.       restricted sense as names of particular syntactic elements.    As
  979.       syntactic   element   names,   Message   and   Field  are  always
  980.       capitalized.)
  981.  
  982.            Some CBMS functions are based on the contents of  particular
  983.       fields;  other  functions (such as the ability to read a message)
  984.       may have little to do with the fields themselves.    Section  3.2
  985.       discusses  some  of  the  specific  functions  that  a CBMS might
  986.       provide to users and the fields that  must  be  used  to  support
  987.       those functions.
  988.  
  989.                                      10                          
  990.  
  991.                                                             Section 2.3
  992.  
  993.  
  994.  
  995.       2.4  Message Originators and Recipients
  996.  
  997.  
  998.            This   message   format   specification  refers  to  message
  999.       originators  and  recipients.      These   terms   were   defined
  1000.       functionally  in Figure 1.  When the message format specification
  1001.       refers to the identity of a message originator or  recipient,  it
  1002.       means  "that  information  which  uniquely identifies the message
  1003.       originator or recipient within the domain of  the  given  message
  1004.       system."   The syntax and semantics of message addressing are not
  1005.       within the scope of the message format specification.
  1006.  
  1007.            Originators  and  Recipients  can  be  people,   roles,   or
  1008.       processes.
  1009.  
  1010.            People.    People as originators and recipients are specific
  1011.       individuals.
  1012.  
  1013.            Roles.  Roles identify  functions  within  organizations  as
  1014.       opposed  to  the  specific  individuals  who  perform  them.  For
  1015.       example, consider a newspaper  that  produces  both  morning  and
  1016.       evening editions and therefore operates with more than one shift.
  1017.       Someone  wishing to contact the city desk would send a message to
  1018.       the city desk role rather than trying to  determine  exactly  who
  1019.       was  assigned  to  the city desk at a specific time.  (Of course,
  1020.       messages can usually be sent to the individuals directly  whether
  1021.       or not they are actually performing a role at the time.)
  1022.  
  1023.            Processes.  A process in a computer could serve as either an
  1024.       originator  or a recipient for messages.  A computer system might
  1025.       originate a message to notify a recipient  about  the  status  of
  1026.       some  task.    For example, an archive utility could notify users
  1027.       about files that have been archived; a  distributed  file  system
  1028.       could  notify  a  user that a remote file has been deposited on a
  1029.       local file system.  Messages could be used by computer systems to
  1030.       warn about some  impending  condition  or  even  to  monitor  the
  1031.       performance  of the computer itself.  Some computer processes may
  1032.       also be message recipients,  taking  action  based  upon  message
  1033.       contents.
  1034.  
  1035.            In addition, some CBMSs allow messages to be sent to groups.
  1036.       A  group  is  a  predefined  list of message recipients.  Using a
  1037.       group  name  as  a  recipient  permits  message  originators   to
  1038.       designate a potentially large number of recipients using a single
  1039.       recipient  identifier.  This makes using the CBMS more convenient
  1040.       and accurate.
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.                                      11                          
  1049.  
  1050.                                                               Section 3
  1051.  
  1052.  
  1053.  
  1054.       3.  SEMANTICS
  1055.  
  1056.  
  1057.            This  section discusses two major topics, message processing
  1058.       functions and message field meanings.  Section 3.1 describes  the
  1059.       six  functional  groups of message fields.  The functional groups
  1060.       are Origination, Dates, Recipients,  Cross-referencing,  Message-
  1061.       handling, and Message-contents.  They are explained more fully in
  1062.       Section 3.1.1, along with detailed discussion of the semantics of
  1063.       all  the  fields in each functional group.  Section 3.2 describes
  1064.       message processing functions whose  operation  is  based  on  the
  1065.       meanings of particular message fields.
  1066.  
  1067.  
  1068.  
  1069.       3.1  Semantics of Message Fields
  1070.  
  1071.  
  1072.            The  definition  of  a  message  is  discussed  generally in
  1073.       Sections 1 and 2.  Semantically valid messages must  contain  one
  1074.       From  field,  one  To field, and one Posted-Date field.  They may
  1075.       contain, in addition, any number of other  fields,  depending  on
  1076.       the  processing  and  functions  supplied  by  the originating or
  1077.       receiving CBMS.  (Section  3.2  describes  classes  of  functions
  1078.       supplied by CBMSs.)
  1079.  
  1080.  
  1081.       3.1.1  Types of fields
  1082.  
  1083.  
  1084.            Message  receiving programs are required to interpret fields
  1085.       according to the semantics described in  the  remainder  of  this
  1086.       se.  The message fields defined in this document are grouped
  1087.       into the following functional categories.
  1088.  
  1089.  
  1090.         o  Originator  fields  indicate who or what participated in
  1091.            the creation of the message and where replies should  be
  1092.            directed.  (See Section 3.1.3.)
  1093.  
  1094.         o  Date fields record when events take place, for a variety
  1095.          events, such as message creation or expiration.  (See
  1096.            Section 3.1.5.)
  1097.  
  1098.         o  Recipient  fields  indicate  who  or what is intended to
  1099.            receive a message.  (See Section 3.1.4.)
  1100.  
  1101.         o  Cross-reference fields label a message or refer to other
  1102.            messages.  (See Section 3.1.6.)
  1103.  
  1104.         o  Message-handling fields record the  type  of  service  a
  1105.  
  1106.  
  1107.                                      12                          
  1108.  
  1109.                                                           Section 3.1.1
  1110.  
  1111.  
  1112.  
  1113.            message's  sender requested of a message transfer system
  1114.            or indicate how the message should  be  treated  by  its
  1115.            recipients.  (See Section 3.1.7.)
  1116.  
  1117.         o  Message-content   fields   either  contain  the  primary
  1118.            content of a message or index or  summarize  it.    (See
  1119.            Section 3.1.8.)
  1120.  
  1121.         o  Extension  fields  provide  mechanisms for extending the
  1122.            message format specification.  (See Section 3.1.9.)
  1123.  
  1124.  
  1125.       3.1.2  Semantic Compliance Categories
  1126.  
  1127.  
  1128.            For purposes of determining whether a CBMS complies with the
  1129.       semantic  requirements  of  this  message  format  specification,
  1130.       message fields have been divided into three categories:
  1131.  
  1132.  
  1133.       REQUIRED  These  fields  must be present in all messages and must
  1134.                 be processed by message receiving programs  as  defined
  1135.                 by the message format specification.
  1136.  
  1137.       BASIC     These  fields  need  not be present in all messages but
  1138.                 when they do appear they must be processed  by  message
  1139.                 receiving  programs  as  defined  by the message format
  1140.                 specification.
  1141.  
  1142.       OPTIONAL  These fields need not be present in  all  messages  and
  1143.                 may  be  ignored  by  message  receiving programs.  The
  1144.                 exact meaning of "ignored"  is  not  specified  by  the
  1145.                 message  format specification.  In general, a CBMS must
  1146.                 recognize the existence of an optional field (that  is,
  1147.                 optional  fields  should not cause errors) and must not
  1148.                 process the field in a manner contrary to the semantics
  1149.                 defined  for  that  field   by   the   message   format
  1150.                 specification.
  1151.  
  1152.  
  1153.            (Syntactic compliance is defined in Section 4.1.2.)
  1154.  
  1155.  
  1156.       3.1.3  Originator fields
  1157.  
  1158.  
  1159.            A  message  originator  may  be  a person, role, or process.
  1160.       Originator fields identify a message's author, who is responsible
  1161.       for  the  message,  who  or  what  sent   it,   and   where   any
  1162.       replies should be directed.  (See Section 2.4.)
  1163.  
  1164.  
  1165.  
  1166.                                      13                          
  1167.  
  1168.                                                           Section 3.1.3
  1169.  
  1170.  
  1171.  
  1172.       From                     (REQUIRED)
  1173.  
  1174.                 This  field  contains the identity of the originator(s)
  1175.                 taking formal responsibility for  this  message.    The
  1176.                 contents  of  the  From field is to be used for replies
  1177.                 when no Reply-to field appears in a message.
  1178.       Reply-To                 (BASIC)
  1179.  
  1180.                 This field identifies any recipients of replies to  the
  1181.                 message.
  1182.       Author                   (OPTIONAL)
  1183.  
  1184.                 This  field  identifies the individual(s) who wrote the
  1185.                 primary contents of the message.   Use  of  the  Author
  1186.                   is  discouraged  when the contents of the Author
  1187.                 field and the From field would be completely redundant.
  1188.       Sender                   (OPTIONAL)
  1189.  
  1190.                 This field identifies the agent who sent  the  message.
  1191.                 It is used either when the sender is not the originator
  1192.                 responsible  for the message or to indicate who among a
  1193.                 group  of  originators  responsible  for  the   message
  1194.                 actually   sent  it.    Use  of  the  Sender  field  is
  1195.                 discouraged when the contents of the Sender  field  and
  1196.                 From  field  would  be  completely redundant.  Only one
  1197.                 Sender field is permitted in a message.
  1198.  
  1199.  
  1200.       3.1.4  Recipient fields
  1201.  
  1202.  
  1203.            Message recipients may be people, roles, or processes.  (See
  1204.       Section 2.4).  Recipient  fields  identify  who  or  what  is  to
  1205.       receive the message.
  1206.       To                       (REQUIRED)
  1207.  
  1208.                 This  field  identifies  the  primary  recipients  of a
  1209.                 message.
  1210.       Bcc                      (OPTIONAL)
  1211.  
  1212.                 This  field  identifies  additional  recipients  of   a
  1213.                 message  (a  "blind carbon copies" list).  The contents
  1214.                 of this field are not to be included in copies  of  the
  1215.                 message  sent  to the primary and secondary recipients.
  1216.                 See section 3.2.1 for further discussion of the use  of
  1217.                 blind carbon copies lists.
  1218.       Cc                       (BASIC)
  1219.  
  1220.                 This field identifies secondary recipients of a message
  1221.                 (a "carbon copies" list).
  1222.  
  1223.  
  1224.  
  1225.                                      14                          
  1226.  
  1227.                                                           Section 3.1.4
  1228.  
  1229.  
  1230.  
  1231.       Circulate-Next           (OPTIONAL)
  1232.  
  1233.                 This field is used in conjunction with the Circulate-To
  1234.                 field.    (See  Section  3.2.6.1.)    It identifies all
  1235.                 recipients in a circulation list who have not  received
  1236.                 the message.
  1237.       Circulate-To             (OPTIONAL)
  1238.  
  1239.                 This   field  identifies  recipients  of  a  circulated
  1240.                 message.   (See  Section  3.2.6.1.)    It  is  used  in
  1241.                 conjunction with the Circulate-Next field.
  1242.  
  1243.  
  1244.       3.1.5  Date fields
  1245.  
  1246.  
  1247.            Date  fields  for two kinds of uses are provided.  Dates can
  1248.       be associated with some event in the history  of  a  message  and
  1249.       dates  can  delimit  the span of time during which the message is
  1250.       meaningful (its life span).
  1251.       Posted-Date              (REQUIRED)
  1252.  
  1253.                 This field contains the  posting  date,  which  is  the
  1254.                 point  in  time  when  the  message  passes through the
  1255.                 posting slot into a message transfer system.  Only  one
  1256.                 Posted-Date field is permitted in a message.
  1257.       Date                     (OPTIONAL)
  1258.  
  1259.                 This   field   contains   a  date  that  the  message's
  1260.                 originator wishes to associate with  a  message.    The
  1261.                 Date field is to the Posted-Date field as the date on a
  1262.                 letter is to the postmark added by the post office.
  1263.       End-Date                 (OPTIONAL)
  1264.  
  1265.                 This  field  contains the date on which a message loses
  1266.                 effect.  (See also Section 3.2.5.)
  1267.       Received-Date            (OPTIONAL)
  1268.  
  1269.                 Delivery date.  This field may be added to a message by
  1270.                 the  recipient's  message  receiving   program.      It
  1271.                 indicates when the message left the delivery system and
  1272.                 entered the recipient's message processing domain.
  1273.       Start-Date               (OPTIONAL)
  1274.  
  1275.                 This  field  contains the date on which a message takes
  1276.                 effect.  (See also Section 3.2.5.)
  1277.       Warning-Date             (OPTIONAL)
  1278.  
  1279.                 This field is used either alone or in conjunction  with
  1280.                 an  End-Date  field.    It  contains one or more dates.
  1281.                 These dates could  be  used  by  a  message  processing
  1282.  
  1283.  
  1284.                                      15                          
  1285.  
  1286.                                                           Section 3.1.5
  1287.  
  1288.  
  1289.  
  1290.                 program  as  warnings of an impending end-date or other
  1291.                 event.  (See also Section 3.2.5.)
  1292.  
  1293.  
  1294.       3.1.6  Cross-reference fields
  1295.  
  1296.  
  1297.            Cross reference fields can be used to identify a message and
  1298.       to provide cross references to  other  messages.    (See  Section
  1299.       3.2.4.)
  1300.       In-Reply-To              (OPTIONAL)
  1301.  
  1302.                 This  field designates previous correspondence to which
  1303.                 this message is a reply.  The usual  contents  of  this
  1304.                 field  would be the contents of the Message-ID field of
  1305.                 the message(s) being replied to.
  1306.       Message-ID               (OPTIONAL)
  1307.  
  1308.                 This field contains a unique identifier for a  message.
  1309.                 This  identifier is intended for machine generation and
  1310.                 processing.   Further  definition  appears  in  Section
  1311.                 3.2.4.1.    Only one Message-ID field is permitted in a
  1312.                 message.
  1313.       Obsoletes                (OPTIONAL)
  1314.  
  1315.                 This field identifies one or more  messages  that  this
  1316.                 one supplants.
  1317.       Originator-Serial-Number (OPTIONAL)
  1318.  
  1319.                 This field contains one or more serial numbers assigned
  1320.                 by  the  message's  originator.  Messages with multiple
  1321.                 recipients  should  have  the   same   value   in   the
  1322.                 Originator-Serial-Number field.
  1323.       References               (OPTIONAL)
  1324.  
  1325.                 This  field  identifies  other correspondence that this
  1326.                 message  references.    If  the  other   correspondence
  1327.                 contains  a  Message-ID  field,  the  contents  of  the
  1328.                 References field must be the message identifier.
  1329.  
  1330.  
  1331.       3.1.7  Message-handling fields
  1332.  
  1333.  
  1334.            Message-handling fields describe aspects of how a message is
  1335.       to be handled or categorized.
  1336.       Precedence               (OPTIONAL)
  1337.  
  1338.                 This  field  indicates  the  precedence  at  which  the
  1339.                 message  was posted.  Ordinarily, message precedence or
  1340.                 priority is a service request  to  a  message  transfer
  1341.  
  1342.  
  1343.                                      16                          
  1344.  
  1345.                                                           Section 3.1.7
  1346.  
  1347.  
  1348.  
  1349.                 system.    A  message  originator, however, can include
  1350.                 precedence information in a message.   One  example  of
  1351.                 precedence  categories  are  those  used  by  the  U.S.
  1352.                 Military: "ROUTINE",  "PRIORITY",  "IMMEDIATE",  "FLASH
  1353.                 OVERRIDE", and "EMERGENCY COMMAND PRECEDENCE".
  1354.       Message-Class            (OPTIONAL)
  1355.  
  1356.                 This  field  indicates  the  purpose of a message.  For
  1357.                 example, it might contain values  indicating  that  the
  1358.                                                              1
  1359.                 message is a memorandum or a data-base entry. 
  1360.       Reissue-Type             (OPTIONAL)
  1361.  
  1362.                 This   field   is  used  in  conjunction  with  message
  1363.                 encapsulating  (see  Section  2.4.1)  to  differentiate
  1364.                 between messages being assigned or redistributed.
  1365.       Received-From            (OPTIONAL)
  1366.  
  1367.                 This  field  contains  a  record  of  a  message's path
  1368.                 through   a   message    transfer    system.        The
  1369.                 recipient's  message receiving program could store here
  1370.                 any information about the  transfer  that  it  obtained
  1371.                 from a message transfer system.
  1372.  
  1373.  
  1374.       3.1.8  Message-content fields
  1375.  
  1376.  
  1377.            The   intent   of  most  messages  is  to  communicate  some
  1378.       particular information from originator  to  recipient.    Several
  1379.       fields in a message are designed to contain that information.
  1380.       Subject                  (BASIC)
  1381.  
  1382.                 This  field  contains  any  information  the originator
  1383.                 provided to summarize or indicate  the  nature  of  the
  1384.                 message.
  1385.       Text                     (BASIC)
  1386.  
  1387.                 This field contains the primary content of the message.
  1388.       Attachments              (OPTIONAL)
  1389.  
  1390.                 This  field  contains  additional  data  accompanying a
  1391.                 message.  It is similar in intent to  enclosures  in  a
  1392.                 conventional mail system.
  1393.  
  1394.       _______________
  1395.  
  1396.         1
  1397.          The message format specification is not intended to be used as
  1398.       a  specification  for  exchanging  data-base  records.  Messages,
  1399.       however, sometimes contain data from or for a database.
  1400.  
  1401.  
  1402.                                      17                          
  1403.  
  1404.                                                           Section 3.1.8
  1405.  
  1406.  
  1407.  
  1408.       Comments                 (OPTIONAL)
  1409.  
  1410.                 This  field  permits  adding  comments  to  the message
  1411.                 without  disturbing  the  original  contents   of   the
  1412.                 message.
  1413.       Keywords                 (OPTIONAL)
  1414.  
  1415.                 This  field  contains  keywords  or  phrases for use in
  1416.                 retrieving a message.
  1417.  
  1418.  
  1419.       3.1.9  Extensions
  1420.  
  1421.  
  1422.            This message  format  specification  allows  two  additional
  1423.       types  of  fields,  vendor-defined  fields  and  as-yet-undefined
  1424.       (extension) fields that will be introduced by extensions to  this
  1425.       message format specification.
  1426.  
  1427.  
  1428.       vendor-defined-field
  1429.                 Any   field   not   defined   in  this  message  format
  1430.                 specification or any extension or successor to it is  a
  1431.                 vendor-defined  field.  Names for vendor-defined fields
  1432.                 could be preempted by extensions to this message format
  1433.                 specification.
  1434.  
  1435.       extension-field
  1436.                 Any field that is defined in a document published as  a
  1437.                 formal  extension or replacement to this message format
  1438.                 specification.
  1439.  
  1440.  
  1441.  
  1442.       3.2  Message Processing Functions
  1443.  
  1444.  
  1445.            A CBMS provides three basic classes of  functions,  creating
  1446.       messages,  transmitting  messages  to  their recipient, and post-
  1447.       receipt processing.  Although the  message  format  specification
  1448.       does  not define the number or nature of user functions in CBMSs,
  1449.       the meanings for the  fields  clearly  assume  certain  kinds  of
  1450.       functions.   For example, fields specifying recipients of replies
  1451.       to messages assume some kind of reply function; fields specifying
  1452.       message life span assume some kind of date processing functions.
  1453.  
  1454.            This section provides more detail  on  the  processing  that
  1455.       might be done by these kinds of functions, discussing the message
  1456.       fields  that  would  be  used  and  how they would be used.  (See
  1457.       summary in Table 1.)
  1458.  
  1459.  
  1460.  
  1461.                                      18                          
  1462.  
  1463.                                                           Section 3.2.1
  1464.  
  1465.  
  1466.  
  1467.  
  1468.       Processing Function    Fields Involved
  1469.  
  1470.       Message creation       Author, From, Sender, To,
  1471.         and posting          Cc, Bcc
  1472.       Message reissuing      Reissue-Type
  1473.       Reply generation       Reply-To
  1474.       Cross-referencing      Message-ID, In-Reply-To, References,
  1475.                              Obsoletes, Originator-Serial-Number
  1476.       Life span functions    Start-Date, End-Date,
  1477.                              Warning-Date
  1478.       Recipient processing   Circulate-To, Circulate-Next
  1479.  
  1480.  
  1481.  
  1482.       TABLE 1.  FIELDS USED IN MESSAGE PROCESSING FUNCTIONS
  1483.  
  1484.  
  1485.       3.2.1  Message creation and posting
  1486.  
  1487.  
  1488.            Messages  can  be  created  either  by reissuing an existing
  1489.       message to a new recipient (see Section 2.4.1) or by  creating  a
  1490.       new  message.    The  process of message creation might mean that
  1491.       some fields of a new message are filled in from the  contents  of
  1492.       some  other  message.  Reply functions (Section 3.2.3) provide an
  1493.       example of this.
  1494.  
  1495.            Different individuals could be involved in different  phases
  1496.       of  originating a message: creating it, taking responsibility for
  1497.       it, and explicitly interacting with a CBMS  to  send  it  to  its
  1498.       recipient.    One or more individuals may create (that is, write,
  1499.       but not necessarily enter into the CBMS) a message; they are said
  1500.       to be the message's authors, identified by the Author field.  One
  1501.       or more individuals may take responsibility for its contents  and
  1502.       the  decision  to post it; they are identified by the From field.
  1503.       One individual explicitly posts a given message; this  person  is
  1504.       called the message's sender (identified by the Sender field).
  1505.  
  1506.            The   sender  and  author(s)  are  often,  but  not  always,
  1507.       responsible for the message.  A common case in which  the  sender
  1508.       is not responsible for the message is when a secretary enters and
  1509.       posts  messages  for  someone else.  An example of a situation in
  1510.       which a message's author  is  not  responsible  for  the  message
  1511.       itself is when an administrative assistant prepares a report that
  1512.       is sent under a manager's signature.
  1513.  
  1514.            Messages  containing  Bcc  fields  are  treated specially by
  1515.       CBMSs.  The contents of this field are not included in copies  of
  1516.       the  message  sent  to the recipients designated in the To and Cc
  1517.       fields.  Some systems include the contents of the Bcc field  only
  1518.  
  1519.  
  1520.                                      19                          
  1521.  
  1522.                                                           Section 3.2.1
  1523.  
  1524.  
  1525.  
  1526.       in  the  originator's copy, others include include all or part of
  1527.       the Bcc field in the copies sent to the recipients  indicated  in
  1528.       the  Bcc  field.  This specification does not mandate how the Bcc
  1529.       field is to be treated.
  1530.  
  1531.            Audit trail entries (such as the  posting  time  and  sender
  1532.       identity)  are  automatically  appended  to a message by the CBMS
  1533.       each time the message passes through a posting slot to a  message
  1534.       transfer  system;  a  message  transfer system could also provide
  1535.       timestamps at each transfer between user agent and  the  transfer
  1536.       system.   A message identifier (Sections 3.2.4 and 3.1.6), placed
  1537.       in the message by the original sender's User Agent, is  preserved
  1538.       throughout  this  message  flow.    This means that when the same
  1539.       message is sent twice to the same recipients by the same  Sender,
  1540.       the audit trail information for the two messages is different.
  1541.  
  1542.  
  1543.       3.2.2  Message reissuing and forwarding
  1544.  
  1545.  
  1546.            Reissuing and forwarding both serve the general user goal of
  1547.       passing  a  message on to a new set of recipients.  Forwarding is
  1548.       the term used for an informal mechanism, which CBMSs implement by
  1549.       copying some or all of the original message into the contents  of
  1550.       a  field  in  the  new message.  Reissuing is the term used for a
  1551.       formal mechanism to ensure that the message being passed on never
  1552.       loses its integrity as a previously  sent  message.    CBMSs  use
  1553.       reissuing  to implement several different functions, depending on
  1554.       the purposes being served.
  1555.  
  1556.  
  1557.         o  Redistribution.  Make others aware of the  complete  and
  1558.            unaltered contents of the message.
  1559.  
  1560.         o  Assignment.    Delegate the responsibility for a message
  1561.            to somebody else.
  1562.  
  1563.  
  1564.       These purposes are exemplified in Figure 2.
  1565.  
  1566.            When a CBMS examines a forwarded message, it  cannot  always
  1567.       distinguish  the  old  message  from  what  was  added  when  the
  1568.       forwarding took place.  In addition,  the  forwarded  information
  1569.       might  no  longer  have  the  form of a message.  This is usually
  1570.       because the format of the message has been changed (for  example,
  1571.       to pure unformatted text).  (See Figure 2 for an example of how a
  1572.       CBMS  might  forward a message.)  In contrast, a reissued message
  1573.       can always be separated from  its  enclosing  message  and  never
  1574.       loses its identity as a correctly formed message.
  1575.  
  1576.            This  specification  provides  the  Reissue-Type  field  for
  1577.  
  1578.  
  1579.                                      20                          
  1580.  
  1581.                                                           Section 3.2.2
  1582.  
  1583.  
  1584.  
  1585.  
  1586.                             The Original Message
  1587.       John Doe wishes Jane Jones to get a copy of the following
  1588.       message:
  1589.                       Message:
  1590.                         Field: From "Jean Smith"
  1591.                         Field: Posted-Date "15 June 1980"
  1592.                         Field: To "John Doe"
  1593.                         Field: Subject "Next sales meeting"
  1594.                         Field: Text "The agenda for ..."
  1595.  
  1596.                                Redistribution
  1597.       Message:
  1598.         Field: From "John Doe"                  John Doe is responsible
  1599.         Field: Posted-Date "16 June 1980"       for the redistribution.
  1600.         Field: To "Jane Jones"
  1601.         Field: Reissue-Type "Redistribution"    This message directly
  1602.         Message:                                incorporates a
  1603.           Field: From "Jean Smith"              redistributed message.
  1604.           Field: Posted-Date "15 June 1980"
  1605.           Field: To "John Doe"
  1606.           Field: Subject "Next Sales Meeting"
  1607.           Field: Text "The agenda for ..."
  1608.  
  1609.                                  Forwarding
  1610.       Message:
  1611.         Field: From "John Doe"
  1612.         Field: Posted-Date "16 June 1980"
  1613.         Field: To "Jane Jones"
  1614.         Field: Text                             A realization of the
  1615.           "From Jean Smith                      original message is
  1616.            To John Doe                          copied into the Text field.
  1617.            Sent on 15 June 1980                 Note that John's CBMS
  1618.            Subject Next Sales Meeting           has chosen to represent
  1619.                                                 it as a text string.
  1620.            The agenda for ..."
  1621.  
  1622.  
  1623.  
  1624.       FIG. 2.  MESSAGE FORWARDING AND REDISTRIBUTION
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.                                      21                          
  1639.  
  1640.                                                           Section 3.2.2
  1641.  
  1642.  
  1643.  
  1644.       supporting re-issuing.  Forwarding, since it is an informal means
  1645.       of  serving  the  purpose  of  passing  on  information,  has  no
  1646.       supporting fields in the specification.
  1647.  
  1648.            This specification provides for  reissuing  of  messages  by
  1649.       encapsulating.    This  method embeds the entire original message
  1650.       inside a new message.  Encapsulating adds  structure  around  the
  1651.  
  1652.              2
  1653.       message .  This allows any part of it to be easily extracted.
  1654.  
  1655.            Authentication is an organizational policy issue  associated
  1656.       passing  on  previously  sent  messages.   Each organization must
  1657.       decide if the CBMS it acquires should support reissuing or simply
  1658.       supply forwarding.
  1659.  
  1660.  
  1661.       3.2.2.1  Redistribution
  1662.  
  1663.            Redistribution is a CBMS function for sending  the  original
  1664.       contents  of a message intact and unchanged to new recipients.  A
  1665.       redistributed message is identical to the original  message  with
  1666.       the  exception  of  added  information  about the reissuing.  For
  1667.       reissuing with this purpose, the Reissue-Type field contains  the
  1668.       ASCII  string  "Redistribution".    The original message has been
  1669.       included directly in a new message.  (See Figure 2.)
  1670.  
  1671.  
  1672.       3.2.2.2  Assignment
  1673.  
  1674.            Assignment is the process of designating responsibility.  In
  1675.       some organizations, formal message traffic  is  funneled  through
  1676.       one  or  more parts of the organization (called offices) where it
  1677.       is directed to the appropriate individuals or other  offices  for
  1678.       final  disposition.    Assignment  is done by reissuing a message
  1679.       with  the  Reissue-Type  field  containing   the   ASCII   string
  1680.       "Assigned."    A  message  which  contains  this  field  is to be
  1681.       interpreted as meaning that the addressees in the "To" field have
  1682.       had the reissued message assigned to them for some action.    Any
  1683.       addressee  in  the  "Cc"  field  has had the message assigned for
  1684.       information.  The "From" field records who assigned  the  message
  1685.       and   the  "Posted-Date"  field  records  when  the  message  was
  1686.       assigned.
  1687.  
  1688.  
  1689.       _______________
  1690.  
  1691.         2
  1692.          A message can contain another message, and  that  message  can
  1693.       contain another message, and so on to any depth of encapsulating.
  1694.       This can occur by reissuing a message repeatedly.
  1695.  
  1696.  
  1697.                                      22                          
  1698.  
  1699.                                                           Section 3.2.3
  1700.  
  1701.  
  1702.  
  1703.       3.2.3  Reply generation
  1704.  
  1705.  
  1706.            Reply  generation  involves creating a new message in direct
  1707.       reply to some other message by drawing on the contents of  fields
  1708.       in  the  other  message  to fill fields in the new message.  Many
  1709.       CBMSs  provide  reply  facilities  that  determine  the  intended
  1710.       recipients of a reply to a message.
  1711.  
  1712.  
  1713.         o  A  Reply-To  field  is  defined  by  this message format
  1714.            specification.   When  a  message  contains  a  Reply-To
  1715.            field,  the  CBMS  should send replies to the recipients
  1716.            designated in the  Reply-To  field  instead  of  to  the
  1717.            recipients designated in the From field.  This statement
  1718.            applies  to  original  messages  only,  not  to reissued
  1719.            messages.  The message  format  specification  makes  no
  1720.            recommendations concerning replies to reissued messages.
  1721.  
  1722.            Reply-To has several possible applications.
  1723.  
  1724.  
  1725.              1.  The  individual(s)  responsible  for  the  message
  1726.                  might not have regular access to a CBMS and  would
  1727.                  indicate  an  alternate  recipient, for example, a
  1728.                  secretary.
  1729.  
  1730.              2.  The people  responsible  for  receiving  responses
  1731.                  might  not  be the people who were responsible for
  1732.                  creating the message.
  1733.  
  1734.              3.  Discussion and conference groups  could  use  this
  1735.                  feature  to  ensure  correct  distribution  of any
  1736.                  submission by having the conference  group  itself
  1737.                  designated in the Reply-To field.
  1738.  
  1739.  
  1740.         o  When  the message does not contain a Reply-To field, the
  1741.            recipient should reply to the originators enumerated  in
  1742.            the  From  field.   The sender and authors should not be
  1743.            added automatically to the list of those  receiving  the
  1744.            reply.
  1745.  
  1746.  
  1747.            Replies  could  also  be sent to the other recipients of the
  1748.       original  message.    Vendors  might   offer   additional   reply
  1749.       facilities,  depending  on  their  view  of users' organizational
  1750.       requirements.
  1751.  
  1752.  
  1753.  
  1754.  
  1755.  
  1756.                                      23                          
  1757.  
  1758.                                                           Section 3.2.4
  1759.  
  1760.  
  1761.  
  1762.       3.2.4  Cross referencing
  1763.  
  1764.  
  1765.            A  CBMS  message  may  include  designator(s) which identify
  1766.       other message(s).  The designators are used to refer  to  related
  1767.       messages so that all information in a chain of correspondence can
  1768.       be  determined  by  a CBMS user.  The designator used to identify
  1769.       and cross-reference messages can take either of two forms, unique
  1770.       identifiers or serial numbers.
  1771.  
  1772.  
  1773.       3.2.4.1  Unique identifiers
  1774.  
  1775.            Unique identifiers are machine-generated quantities that are
  1776.       intended primarily for processing by computers.  While they could
  1777.       be  examined  by  a  human  user,  unique  identifiers  are   not
  1778.       necessarily useful or convenient for people.
  1779.  
  1780.            Unique  identifiers  occur  in  several  contexts.  They are
  1781.       often used  to  identify  the  contents  of  individual  messages
  1782.       unambiguously.    When unique identifiers are used this way, they
  1783.       are called message identifiers.  Different versions of a  message
  1784.       (for  example,  the  message  when  it is reissued with comments)
  1785.       receive new message identifiers.
  1786.  
  1787.            When a CBMS generates a message identifier, it must be  able
  1788.       to  guarantee  that  it  is unique, both within the domain of the
  1789.       individual CBMS and globally, across all connected CBMSs.   CBMSs
  1790.       could  generate  globally unique identifiers in several ways, all
  1791.       of which require prior  agreement  on  behalf  of  the  connected
  1792.       CBMSs.    One  method  is  to assign each connected CBMS a unique
  1793.       code.  A CBMS then generates unique identifiers by using its code
  1794.       as a prefix to some other quantity that it can  guarantee  to  be
  1795.       unique  within  its  domain.    (This  second quantity could be a
  1796.       counter or a timestamp/user-id combination.)
  1797.  
  1798.            A  CBMS  can  provide  functions  for  tracing   chains   of
  1799.       correspondence  by  using  unique identifers.  The message format
  1800.       specification defines fields for which  a  CBMS  provides  unique
  1801.       identifiers   as   values.    They  are  Message-ID,  References,
  1802.       Obsoletes, and In-Reply-To.  (See Section 3.1.6.)
  1803.  
  1804.  
  1805.       3.2.4.2  Serial numbering
  1806.  
  1807.            Serial  numbers  are  for  users  to  maintain  a   personal
  1808.       numbering  system for messages.  The numbers are composed of both
  1809.       letters and digits so that users could maintain several  sets  of
  1810.       sequences  concurrently  (for  example, A1, A2, A3... and B1, B2,
  1811.       B3...).
  1812.  
  1813.  
  1814.  
  1815.                                      24                          
  1816.  
  1817.                                                         Section 3.2.4.2
  1818.  
  1819.  
  1820.  
  1821.            Serial  numbers  are  assigned  at  a  defined  point in the
  1822.       history of a message.  Serial numbers are not unique identifiers;
  1823.       they differ from unique identifiers  (Section  3.2.4.1)  in  that
  1824.       they are not necessarily either generated or processed by a CBMS.
  1825.       They  are  designed to be typed and read by CBMS users.  They can
  1826.       be as simple or complex as the user requires.  Serial numbers are
  1827.       intended to be used to designate messages about a specific topic,
  1828.       or messages a given user has sent.  Serial numbers  are  intended
  1829.       to be a permanent part of the message, just as unique identifiers
  1830.       are.
  1831.  
  1832.            A  CBMS  can  provide  functions allowing originators to add
  1833.       serial numbers to messages.  A field has been provided to  permit
  1834.       this.    Originator-Serial-Number  is  for an originator to add a
  1835.       serial number to a message before sending it.
  1836.  
  1837.  
  1838.       3.2.5  Life span functions
  1839.  
  1840.  
  1841.            Messages have life spans, usually delimited by the  creation
  1842.       date and the time when the last copy of the message is destroyed.
  1843.       Messages could be meaningless before a certain time or irrelevant
  1844.       after  a  certain  time.    For  example,  a reminder to attend a
  1845.       meeting on 5 June loses  most  of  its  value  on  the  sixth;  a
  1846.       reminder  to  attend  that same meeting is likely to be of little
  1847.       use on 5 May (although not for the same reason).
  1848.  
  1849.            A CBMS can define a message's life span explicitly using the
  1850.       Start-Date and End-Date fields.   A  third  field,  Warning-Date,
  1851.       when used in conjunction with the End-Date, may be used to signal
  1852.       the  approach  of  the  End-Date.  It may also stand alone and be
  1853.       used by a periodic warning (alarm clock) mechanism.
  1854.  
  1855.            A CBMS could use these fields to  help  users  manage  their
  1856.       message  stores.  For example, a message whose start date has not
  1857.       yet passed could be bypassed by a retrieval  command  unless  the
  1858.       user  requested  such  messages explicitly.  A CBMS could use the
  1859.       end date to  help  with  message  store  housekeeping  either  by
  1860.       archiving  or  deleting  the expired messages automatically or by
  1861.       asking the user for some action to be taken on them.  The warning
  1862.       date could be  used  to  automatically  remind  the  user  of  an
  1863.       impending end date, such as a meeting reminder.
  1864.  
  1865.  
  1866.       3.2.6  Requests for recipient processing
  1867.  
  1868.  
  1869.            Recipients  have  a  wide variety of needs for examining and
  1870.       processing a message,  ranging  from  automatic  output  on  some
  1871.       specified  device  to  the execution of a program embedded in the
  1872.  
  1873.  
  1874.                                      25                          
  1875.  
  1876.                                                           Section 3.2.6
  1877.  
  1878.  
  1879.  
  1880.       message   itself.    Because  many  of  these  needs  are  highly
  1881.       specialized, and support for them not  widely  implemented,  this
  1882.       message  format specification does not constrain the requests for
  1883.       processing that may be included in a message.
  1884.  
  1885.            The message format specification  does  provide  two  fields
  1886.       that  permit an originator to request circulation list processing
  1887.       from the recipient.  These fields are Circulate-To and Circulate-
  1888.       Next.
  1889.  
  1890.  
  1891.       3.2.6.1  Message circulation
  1892.  
  1893.            Message  circulation  involves  serial  distribution  of   a
  1894.       message  to  its recipients, based on a distribution list that is
  1895.       part of the message.  The message is delivered first to the first
  1896.       recipient on the distribution list.  This recipient,  or  someone
  1897.       the  recipient  delegates,  sends  the  message  on to the second
  1898.       recipient on the list, perhaps after commenting on or  adding  to
  1899.       the  message.    This  continues  until  all  recipients  on  the
  1900.       distribution list have received the message.
  1901.  
  1902.            This message format specification  provides  two  fields  to
  1903.       support message circulation.  The Circulate-To field contains the
  1904.       complete   distribution   list,   indicating   the  full  set  of
  1905.       recipients,  and  the  Circulate-Next   field   indicates   which
  1906.       recipients  have  not  seen  the  message.    See Figure 3 for an
  1907.       example of message circulation using these two fields.
  1908.  
  1909.  
  1910.  
  1911.       3.3  Multiple Occurrences and Ordering of Fields
  1912.  
  1913.  
  1914.            Most message fields may occur more than once in  a  message;
  1915.       the  exceptions  are  the  Posted-Date,  Sender,  and  Message-ID
  1916.       fields, which may occur at most once.  What this means is that  a
  1917.       received  message  may  contain  any  number  of  instances  of a
  1918.       particular field (such as the "To" field).  If a message contains
  1919.       more than one instance of a particular field, that field  "occurs
  1920.       multiply"  and  that  message  has "multiple occurrences" of that
  1921.       field.
  1922.  
  1923.            A particular instance of a message field is  not  superseded
  1924.       by later instances of the same field.  The To field is an example
  1925.       of this.
  1926.  
  1927.            Multiple   occurrences   of  a  field  are  not  necessarily
  1928.       equivalent to a single field containing the concatenated contents
  1929.       of the several instances of the given field.  For  example,  with
  1930.       the  Text  field, concatenating the contents of several instances
  1931.  
  1932.  
  1933.                                      26                          
  1934.  
  1935.                                                             Section 3.3
  1936.  
  1937.  
  1938.  
  1939.       -----------------------------------------------------------------
  1940.            A  message  originator wishes to circulate a message to
  1941.            recipients A, B  and  C. The  originator  includes  the
  1942.            following fields in the message:
  1943.  
  1944.                      To:              A
  1945.                      Circulate-To:    A, B, C
  1946.                      Circulate-Next:  B, C
  1947.  
  1948.  
  1949.            When  recipient  A  or  somebody A delegates causes the
  1950.            message to be further circulated, the message  is  sent
  1951.            to  the  first address in the Circulate-Next field, and
  1952.            that name is removed from that field:
  1953.  
  1954.                      To:              B
  1955.                      Circulate-To:    A, B, C
  1956.                      Circulate-Next:  C
  1957.  
  1958.  
  1959.            B now sends the message on to its final recipient:
  1960.  
  1961.                      To:              C
  1962.                      Circulate-To:    A, B, C
  1963.  
  1964.  
  1965.       FIG. 3.  EXAMPLE OF MESSAGE CIRCULATION
  1966.  
  1967.  
  1968.       -----------------------------------------------------------------
  1969.  
  1970.  
  1971.       might lose important distinctions between the contents.  A single
  1972.       message could be used to send three different documents, each one
  1973.       in a different Text field.  However, putting the three  documents
  1974.       into  a  single  Text  field would make it much more difficult to
  1975.       extract any individual document.
  1976.  
  1977.            The fields found in a single message may occur in any order.
  1978.       The order in which they occur does not  necessarily  reflect  the
  1979.       order  in  which  they  were  created.  Nor does it constrain the
  1980.       order in which the  message  recipient  examines,  processes,  or
  1981.       displays them.
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.                                      27                          
  1993.  
  1994.                                                               Section 4
  1995.  
  1996.  
  1997.  
  1998.       4.  SYNTAX
  1999.  
  2000.  
  2001.            This section begins with an introduction to the concepts and
  2002.       elements  that  constitute  the  syntax for messages.  The second
  2003.       section presents an overview of the encoding scheme.   The  third
  2004.       section describes in detail the elements of the message syntax.
  2005.  
  2006.  
  2007.  
  2008.       4.1  Introduction
  2009.  
  2010.  
  2011.            This   specification   defines  syntactic  requirements  for
  2012.       messages when they are passed from one  CBMS  to  another.    The
  2013.       specification is designed to meet the following goals.
  2014.  
  2015.  
  2016.         o  Provide a concise flexible representation scheme.
  2017.  
  2018.         o  Simplify message parsing.
  2019.  
  2020.         o  Support non-textual components in messages (for example,
  2021.                                          3
  2022.            facsimile, graphics, or speech ).
  2023.  
  2024.  
  2025.       4.1.1  Message structure
  2026.  
  2027.  
  2028.            Messages   have   two  classes  of  components,  fields  and
  2029.       messages.  A field corresponds to one of the semantic  components
  2030.       defined  in  this  message  format  specification.   A message is
  2031.       simply another message.
  2032.  
  2033.            The type of a field in a message determines both its meaning
  2034.       and the form for its contents.  (See Section 4.3.2.)
  2035.  
  2036.            Fields in a  message  are  composed  of  syntactic  elements
  2037.       called  data  elements.    A  Message  data  element  is  used to
  2038.       represent messages; a Field data element  is  used  to  represent
  2039.       fields.    (The  term  "field"  is  simply  a semantic construct,
  2040.       distinct  from  "Field  Data  Element",  which  is  a   syntactic
  2041.  
  2042.       _______________
  2043.  
  2044.         3
  2045.          While  this message format specification is not intended to be
  2046.       used as a basis for the intnge of all facsimile information,
  2047.       it does  recognize  that  CBMS  messages  may  contain  facsimile
  2048.       components.
  2049.  
  2050.  
  2051.                                      28                          
  2052.  
  2053.                                                           Section 4.1.1
  2054.  
  2055.  
  2056.  
  2057.       construct.)    Many  of the fields defined in this message format
  2058.       specification estricted to containing only one kind of  data
  2059.       element.  (See Section 4.3.2.)
  2060.  
  2061.            Each  field defined in this message format specification has
  2062.       been assigned  a  unique  numeric  identifier  that  is  used  in
  2063.       conjunction  with  the  Field data element.  Separate identifiers
  2064.       are provided for vendor-defined  fields  and  for  extending  the
  2065.       identifier  encoding  space.    A  list of fields and identifiers
  2066.       appears in Section 4.3.2 and in Appendix C.
  2067.  
  2068.            Throughout the  message  format  specification,  fields  are
  2069.       referred   to   by  label  name  rather  than  by  their  numeric
  2070.       identifiers.  Field labels are  names  like  "Sender",  "Warning-
  2071.       Date",  or  "Circulate-To".    The  field  labels  chosen for the
  2072.       specification are names that are in common use in current  CBMSs.
  2073.       The  specification  does  not  require  a CBMS to use these field
  2074.       labels in displaying fields to the user, although such  usage  is
  2075.       encouraged to provide a common user interface.  
  2076.  
  2077.  
  2078.       4.1.2  Data elements
  2079.  
  2080.  
  2081.            For  the  purpose  of determining compliance with the syntax
  2082.       defined in this specification, data elements are divided into two
  2083.       groups, basic and optional.
  2084.  
  2085.  
  2086.       BASIC     All  message  receiving  systems  must  process   these
  2087.                 syntactic elements, interpreting their values according
  2088.                 to the message format specification.
  2089.  
  2090.       OPTIONAL  Message   receiving  systems  need  not  process  these
  2091.                 syntactic elements in order to be in compliance.
  2092.  
  2093.  
  2094.            In  addition,  complying  CBMSs   must   meet   requirements
  2095.       regarding  their  ability  to process the components found inside
  2096.       data elements.   These  requirements  are  discussed  in  Section
  2097.       4.2.2.  (Semantic compliance is defined in Section 3.1.2.)
  2098.  
  2099.            This  message  format  specification classifies data element
  2100.       types as  either  primitives  or  constructors.    (See  Sections
  2101.       4.1.2.1  and  4.1.2.2.)   Primitive data elements, such as ASCII-
  2102.       String, are basic building blocks.   Constructor  data  elements,
  2103.       such  as  Message  or  Sequence, contain one or more primitive or
  2104.       constructor data elements.  Some constructors, such as  Sequence,
  2105.       may  be  composed  of  any  other  data  element.   Some, such as
  2106.       Message, may contain only certain data elements.    (See  Section
  2107.       4.3.1.)
  2108.  
  2109.  
  2110.                                      29                          
  2111.  
  2112.                                                         Section 4.1.2.1
  2113.  
  2114.  
  2115.  
  2116.       4.1.2.1  Primitive data elements
  2117.  
  2118.            A   primitive   data   element  contains  a  basic  item  of
  2119.       information; it is not composed  of  other  data  elements.    In
  2120.       current  CBMSs,  the most commonly used primitive data element is
  2121.       ASCII-String, a series of ASCII characters.  Other primitive data
  2122.       elements are Integer,  2's  complement  integers;  Bit-String,  a
  2123.       series of bits; and Boolean, either True or False.
  2124.  
  2125.            One primitive data element, End-Of-Constructor, is used only
  2126.       as  a structural element within constructor data elements and has
  2127.       no meaning by itself.  End-of-Constructor is used to  provide  an
  2128.       end  marker  for  constructor  data  elements that do not have an
  2129.       explicit length.  (See Section 4.2.2.1.)  Any other  use  is  not
  2130.       valid syntactically.
  2131.  
  2132.  
  2133.       4.1.2.2  Constructor data elements
  2134.          The  Data  Element  Contents  of  constructor  data elements
  2135.       contain one or more data elements.  The most general  form  of  a
  2136.       constructor is a Sequence or a Set, since both Sequences and Sets
  2137.       may contain any data element.  Other constructors are specialized
  2138.       forms of sequences.
  2139.  
  2140.            A  Message  data  element  is a constructor.  It may contain
  2141.       only  Field  data  elements,  other  Message  data  elements,  or
  2142.       encrypted  or  data  compressed forms of these elements.  A Field
  2143.       data element can contain any data element.    It  also  indicates
  2144.       which  specific field is being represented.  The contents of some
  2145.       fields are restricted to a single type of data element,  such  as
  2146.       ASCII-String or Date.
  2147.  
  2148.  
  2149.       4.1.3  Properties
  2150.  
  2151.  
  2152.            Any  data  element  may  have associated with it a Property-
  2153.       List, which contains properties such as a Printing-Name  (Section
  2154.       4.1.3.1)  or one or more Comments (Section 4.1.3.2).  A mechanism
  2155.       to support vendor-defined properties has been  supplied  by  this
  2156.       specification,  as  well  as  a  mechanism  to extend the list of
  2157.       property identifiers.
  2158.  
  2159.  
  2160.       4.1.3.1  Printing-names
  2161.  
  2162.            Printing-Names are  used  to  provide  labels  that  can  be
  2163.       displayed  along  with  their  respective  data  elements.    For
  2164.       example, a message originator may use a Printing-Name property to
  2165.       request that the To field of a message be labeled "Distribution:"
  2166.       when it is printed by its recipients.
  2167.  
  2168.                                      30                          
  2169.  
  2170.                                                         Section 4.1.3.1
  2171.  
  2172.  
  2173.  
  2174.       4.1.3.2  Comments
  2175.  
  2176.            The  Comment  property  is  used  to  allow  comments  to be
  2177.       associated with any data element  without  affecting  its  actual
  2178.       contents.    For example, someone reviewing the text of a message
  2179.       could add the comment "This looks good" to the Text field without
  2180.       either altering the body itself  or  adding  a  separate  comment
  2181.       field.
  2182.  
  2183.  
  2184.       4.1.4  Data compression and encryption
  2185.  
  2186.  
  2187.            Two  constructor  data  elements,  Compressed and Encrypted,
  2188.       have  been  provided  for  use  by  a  CBMS  that  supports  data
  2189.       compression  or  encryption.    They  may  be  used  to  hold the
  2190.       compressed or encrypted contents of any data  element,  including
  2191.       Messages  and  Fields, and may occur wherever their compressed or
  2192.       encrypted contents may appear.  A mechanism is included to  allow
  2193.       the user to identify the encryption or compression algorithm used
  2194.       (Sections 4.3.4 and 4.3.5).
  2195.  
  2196.  
  2197.       4.1.5  Data sharing
  2198.  
  2199.  
  2200.            Data  sharing  is  the  multiple  use  of a data element via
  2201.       references to a single copy.  It is used in two situations.
  2202.  
  2203.  
  2204.         o  For economy when a large object appears more  than  once
  2205.            in  a  message.    Data  sharing  may  be  used  in this
  2206.            situation  to  economize  on  storage  and  transmission
  2207.            costs.
  2208.  
  2209.         o  For  consistency  when the same object appears more than
  2210.            once in a message.  If one instance of  that  object  is
  2211.            altered, all instances must reflect this alteration.  In
  2212.            this  case  several  copies  of the same object will not
  2213.            serve the purpose as well as data sharing.
  2214.  
  2215.  
  2216.            While there is a demonstrable need for facilities to support
  2217.       data  sharing,  this  specification  does  not  define   such   a
  2218.       mechanism.    At  this time there is insufficient experience with
  2219.       data  sharing  in  messages  to  allow  standardization.      The
  2220.       specification   is   sufficiently   flexible   however  to  allow
  2221.       extensions to the syntax for supporting data sharing at  a  later
  2222.       time.
  2223.  
  2224.  
  2225.  
  2226.  
  2227.                                      31                          
  2228.  
  2229.                                                             Section 4.2
  2230.  
  2231.  
  2232.  
  2233.       4.2  Overview of Syntax Encoding
  2234.  
  2235.  
  2236.            This  section  provides  an  overview  of  the  notation and
  2237.       terminology  used  to  represent  the  syntactic  elements  (data
  2238.       elements) defined in this message format specification.
  2239.  
  2240.            All  data  elements consist of a series of components.  Each
  2241.       of the components is composed of a series of 8-bit groups  called
  2242.       octets.    In  this document, the bits are numbered starting from
  2243.       the low-order bit.  That is, the low-order (or least significant)
  2244.       bit is called "bit 0" and the high-order  (or  most  significant)
  2245.       bit is called "bit 7".  
  2246.  
  2247.            Five different components may appear in a data element.
  2248.  
  2249.  
  2250.         o  Identifier  octet  (identifying  particular type of data
  2251.            element)
  2252.  
  2253.         o  Length Code (specifying number  of  octets  that  appear
  2254.            following it in a data element)
  2255.  
  2256.         o  Qualifier (supplying additional identifying information)
  2257.  
  2258.         o  Property-List  component  (a  Property-List data element
  2259.            containing Property data elements)
  2260.  
  2261.         o  Data Element Contents (containing  actual  data  of  the
  2262.            data element)
  2263.  
  2264.  
  2265.       These components always appear in this order.  Not all components
  2266.       are  present  in  all  data  elements but the components that are
  2267.       present maintain this relative order.
  2268.  
  2269.  
  2270.       4.2.1  Identifier Octets
  2271.  
  2272.  
  2273.            The  identifier  octet  is   a   numeric   code   containing
  2274.       information  that  identifies  a  data element.  It is always the
  2275.       first component in a data element.  The Identifier octet contains
  2276.       a one-bit flag,  indicating  whether  or  not  the  data  element
  2277.       contains  a  Property-List, and a seven-bit unique identifier for
  2278.       the data element.  The value of the data element identifier  also
  2279.       indicates  whether  the data element has a Qualifier.  (See Table
  2280.       2.)
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.                                      32                          
  2287.  
  2288.                                                           Section 4.2.1
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.           Bit Value     Meaning
  2296.  
  2297.            7    0   The data element does not have properties
  2298.                       associated.
  2299.                 1   The data element has properties associated.
  2300.  
  2301.            6    0   The data element does not have a Qualifier.
  2302.                 1   The data element has a Qualifier.
  2303.  
  2304.  
  2305.  
  2306.           TABLE 2.  TYPE BITS IN THE IDENTIFIER OCTET
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.            The  most significant bit (Bit 7) of the identifier octet is
  2313.       set to 1  if  there  are  properties  associated  with  the  data
  2314.       element;  it  is  set  to  0  if  there  are  none.   This bit is
  2315.       independent of the remaining seven bits in the identifier  octet,
  2316.       which   are   called   the   identifier,   and   provide   unique
  2317.       identification for data elements.  The associated properties  are
  2318.       specified in a Property-List component.
  2319.  
  2320.            The  second  most  significant bit (Bit 6) of the identifier
  2321.       octet  (the  most  significant  bit  of  the  identifier  itself)
  2322.       signifies  whether  or  not the data element has a Qualifier.  If
  2323.       the bit is set to 1, then the data element has a Qualifier; if it
  2324.       is a 0, the data element does not have a Qualifier.    The  seven
  2325.       bits  of the identifier uniquely identify the data element.  (See
  2326.       Figure 4.)
  2327.  
  2328.            Data elements all have a Length Code  component  immediately
  2329.       following the identifier octet.  (See 4.2.2.1.)
  2330.  
  2331.  
  2332.       4.2.2  Length code and Qualifier components
  2333.  
  2334.  
  2335.            The Length Code and the Qualifier are both usually one octet
  2336.       in  length.    They use an encoding scheme that permits extending
  2337.       the component to the size necessary to represent  the  length  of
  2338.       the data element or the value of the Qualifier component.
  2339.  
  2340.            The  most  significant  bit  of the Length Code or Qualifier
  2341.       components determines whether it is  one  or  several  octets  in
  2342.       length.  When the most significant bit is 0, the component is one
  2343.  
  2344.  
  2345.                                      33                          
  2346.  
  2347.                                                           Section 4.2.2
  2348.  
  2349.  
  2350.  
  2351.       -----------------------------------------------------------------
  2352.  
  2353.  
  2354.            bit 7 6 5 4 3 2 1 0
  2355.               +---------------+
  2356.               |P 0 x x x x x x|     P0xxxxxx uniquely identifies a
  2357.               +---------------+     data element without a Qualifier.
  2358.  
  2359.               +---------------+
  2360.               |P 1 x x x x x x|     P1xxxxxx uniquely identifies a
  2361.               +---------------+     data element with a Qualifier.
  2362.  
  2363.  
  2364.  
  2365.       FIG. 4.  STRUCTURE OF IDENTIFIER OCTETS
  2366.  
  2367.  
  2368.       -----------------------------------------------------------------
  2369.  
  2370.  
  2371.       octet  in  length.  When the most significant bit is 1, the other
  2372.       seven bits of the first octet encode the number of octets in  the
  2373.       rest of the component.  The actual value begins in the next octet
  2374.       and is interpreted as an unsigned integer.
  2375.  
  2376.            A  single  octet  is  sufficient  for  most  Length Code and
  2377.       Qualifier components.  For those cases where  the  value  of  the
  2378.       Length  Code  or  the  Qualifier  must be greater than 127, extra
  2379.       octets can be added, up to a maximum of 127  octets.    Figure  5
  2380.       shows  the encoding scheme, as well as an example of a value less
  2381.       than 127 and one greater than 127.
  2382.  
  2383.            In order to comply with this message  format  specification,
  2384.       CBMSs  must  be able to determine the value of any length code or
  2385.       qualifier that is expressed  in  three  octets  or  less.    (The
  2386.  
  2387.        16
  2388.       2  -1).  This message format specification places  no  limitation
  2389.       on  the  value  of a length code or qualifier generated by a CBMS
  2390.       (except   for   the   absolute   limitation   inherent   in   the
  2391.       representation  scheme).    However,  the use of length codes and
  2392.  
  2393.        32
  2394.       2  -1)  should  be  avoided unless it is known that the receiving
  2395.       system can handle them.  
  2396.  
  2397.            Both Length Codes and Qualifiers have a  special  convention
  2398.       for  dealing  with  special situations.  Length Codes can specify
  2399.       that a data element had indeterminate  length;  a  Qualifier  can
  2400.       specify  that  a  data  element is implementation defined.  These
  2401.       cases are explained further in Sections 4.2.2.1 and 4.2.2.2.
  2402.  
  2403.  
  2404.                                      34                          
  2405.  
  2406.                                                         Section 4.2.2.1
  2407.  
  2408.  
  2409.  
  2410.       -----------------------------------------------------------------
  2411.  
  2412.  
  2413.            bit 7 6 5 4 3 2 1 0
  2414.               +---------------+
  2415.               |0 x x x x x x x|                   xxxxxxx is the value.
  2416.               +---------------+
  2417.  
  2418.               +---------------+------//-------+
  2419.               |1 n n n n n n n|y y y y y y y y|          nnnnnnn is the
  2420.               +---------------+------//-------+        number of octets
  2421.                                                        that contain the
  2422.                                                         value yyyyyyyy.
  2423.  
  2424.               +---------------+
  2425.               |0 0 0 0 1 0 0 1|               This is an example with a
  2426.               +---------------+                   value of 9 (decimal).
  2427.  
  2428.               +---------------+---------------+
  2429.               |1 0 0 0 0 0 0 1|1 0 0 0 0 0 1 0|      This example has a
  2430.               +---------------+---------------+   value of 130 decimal.
  2431.  
  2432.  
  2433.       FIG. 5.  ENCODING MECHANISM FOR QUALIFIERS AND LENGTH CODES
  2434.  
  2435.  
  2436.       -----------------------------------------------------------------
  2437.  
  2438.  
  2439.       4.2.2.1  Length Codes
  2440.  
  2441.            The  Length Code indicates the number of octets following it
  2442.       in a data element (that is, excluding the  identifier  octet  and
  2443.       the  length  code  itself).   Length Codes appear in one of three
  2444.       formats, short, long, and indefinite.
  2445.  
  2446.            A short Length Code is one octet long.  Its most significant
  2447.       bit (Bit 7) is set to 0 and its value is in the range  0  through
  2448.       127.
  2449.  
  2450.            A  long  Length Code is at least two octets long.  The first
  2451.       octet always has its most significant bit (Bit 7) set to 1.   The
  2452.       other  seven  bits  of  this  octet  contain the number of octets
  2453.       making up the rest of the Length Code and  these  octets  contain
  2454.  
  2455.         1016
  2456.       (2     - 1) (that is, 127 octets to represent the value).
  2457.  
  2458.            An indefinite Length Code is  one  octet  long.    Its  most
  2459.       significant bit (Bit 7) is set to 1 and its other bits are all 0.
  2460.       (See  Figure  6.)    An indefinite Length Code may appear only as
  2461.  
  2462.  
  2463.                                      35                          
  2464.  
  2465.                                                         Section 4.2.2.1
  2466.  
  2467.  
  2468.  
  2469.       -----------------------------------------------------------------
  2470.  
  2471.  
  2472.            bit 7 6 5 4 3 2 1 0
  2473.               +---------------+
  2474.               |0 x x x x x x x|             xxxxxxx is the value of the
  2475.               +---------------+                            length code.
  2476.  
  2477.               +---------------+------//-------+
  2478.               |1 n n n n n n n|y y y y y y y y|   nnnnnnn is the number
  2479.               +---------------+------//-------+  of octets that contain
  2480.                                                 the value of the length
  2481.                                             code; these are represented
  2482.                                                             as yyyyyyy.
  2483.               +---------------+
  2484.               |1 0 0 0 0 0 0 0|            The "indefinite" length code
  2485.               +---------------+
  2486.  
  2487.  
  2488.       FIG. 6.  REPRESENTATION OF LENGTH CODES
  2489.  
  2490.  
  2491.       -----------------------------------------------------------------
  2492.  
  2493.  
  2494.       part  of  a  constructor  data  element;  it  may  not occur in a
  2495.                             4
  2496.       primitive data element .  A  constructor  data  element  with  an
  2497.       indefinite  length code has an End-Of-Constructor data element as
  2498.       the last data element in its Data Element Contents.  (The  length
  2499.       of  such  a  constructor data element is unrestricted although it
  2500.       must contain at least one data element -- the  End-of-Constructor
  2501.       that terminates it -- in its Data Element Contents.)
  2502.  
  2503.            Figure  7  shows  the Length Codes for three elements; their
  2504.       values are 38, 201, and 300.
  2505.  
  2506.  
  2507.       4.2.2.2  Qualifier
  2508.  
  2509.            The Qualifier component of a data element is used to provide
  2510.       information essential to the interpretation of the  data  element
  2511.       contents  that  is beyond that encoded in the identifier octet or
  2512.       length code.  For example, the identifier octet could contain the
  2513.  
  2514.       _______________
  2515.  
  2516.         4
  2517.          This is the result of most primitive elements  being  able  to
  2518.       contain  any  bit  pattern  (including the identifier for End-Of-
  2519.       Constructor).
  2520.  
  2521.  
  2522.                                      36                          
  2523.  
  2524.                                                         Section 4.2.2.2
  2525.  
  2526.  
  2527.  
  2528.       -----------------------------------------------------------------
  2529.  
  2530.  
  2531.             +--------+
  2532.             |00100110|                          Length code for 38
  2533.             +--------+
  2534.  
  2535.             +--------+--------+
  2536.             |10000001|11001001|                 Length code for 201
  2537.             +--------+--------+
  2538.  
  2539.             +--------+--------+--------+
  2540.             |10000010|00000001 00101100|        Length code for 300
  2541.             +--------+--------+--------+
  2542.  
  2543.  
  2544.       FIG. 7.  EXAMPLES OF LENGTH CODES
  2545.  
  2546.  
  2547.       -----------------------------------------------------------------
  2548.  
  2549.  
  2550.       code  for  a field and the Qualifier component would specify what
  2551.       kind of field.
  2552.  
  2553.            The Qualifier component appears in only a few data elements.
  2554.       In the Bit-String data element, it indicates the number of unused
  2555.       bits in the final octet of the Data Element  Contents.    In  the
  2556.       Field  and  Property  data  elements, it indicates which field or
  2557.       property the data element represents.    In  the  Compressed  and
  2558.       Encrypted  data  elements,  it  indicates  which  compression  or
  2559.       encryption algorithm has been used.  In the Message data element,
  2560.       it indicates the type of message.
  2561.  
  2562.            In the sequence of data element  components,  the  Qualifier
  2563.       occurs  between the Length Code and the Property-List components.
  2564.       The length of the Qualifier component depends on the encoding  of
  2565.       the  Qualifier.   (See Figure 8.)  A short Qualifier is one octet
  2566.       long.  Its most significant bit is 0 and  its  value  is  in  the
  2567.       range  0 through 127.  A long Qualifier is at least two octets in
  2568.       length.  The most significant bit is always 1  and  the  other  7
  2569.       bits indicate the number of octets in the value of the Qualifier.
  2570.  
  2571.            This  message format specification allows implementations to
  2572.       define  their  own  values  for  Qualifiers.    A  vendor-defined
  2573.       Qualifier  is  any long Qualifier in which the first octet in the
  2574.       value is 0.  The value used to identify  this  Qualifier  is  not
  2575.       guaranteed  to  be  unique  and  the  same  value  may be used by
  2576.       different implementations to define different Qualifiers.
  2577.  
  2578.  
  2579.  
  2580.  
  2581.                                      37                          
  2582.  
  2583.                                                           Section 4.2.3
  2584.  
  2585.  
  2586.  
  2587.       -----------------------------------------------------------------
  2588.  
  2589.  
  2590.  
  2591.                +--------+
  2592.                |00011011|            Qualifier with value 28 (decimal).
  2593.                +--------+
  2594.  
  2595.  
  2596.                +--------+--------+--------+
  2597.                |10000010|00000001 00001010|        Qualifier with value
  2598.                +--------+--------+--------+              266 (decimal).
  2599.  
  2600.                +--------+--------+--------+--------+
  2601.                |10000011|00000000|00000001 00001010|     Vendor-Defined
  2602.                +--------+--------+--------+--------+     Qualifier with
  2603.                                                              value 266.
  2604.  
  2605.                +--------+
  2606.                |10000000|              Undefined value for a Qualifier.
  2607.                +--------+
  2608.  
  2609.  
  2610.  
  2611.       FIG. 8.  EXAMPLES OF QUALIFIER VALUES
  2612.  
  2613.  
  2614.       -----------------------------------------------------------------
  2615.  
  2616.  
  2617.       4.2.3  Property-List
  2618.  
  2619.  
  2620.            A  Property  is  an  attribute  being associated with a data
  2621.       element.  The properties currently defined by this message format
  2622.       specification are Printing-Name and  Comment.    A  Property-List
  2623.       component  of  a  data  element is represented by a Property-List
  2624.       data element that in turn contains Property data elements.
  2625.  
  2626.            A data element contains at most one Property-List.  The most
  2627.       significant bit in the  identifier  octet  of  the  data  element
  2628.       indicates  whether  a  Property-List  is  present.   (See Section
  2629.       4.2.1.)
  2630.  
  2631.  
  2632.       4.2.4  Data Element Contents
  2633.  
  2634.  
  2635.            The Data Element Contents component of a data element is the
  2636.       actual data or information represented by a data element.    (The
  2637.       other  components  provide  the information necessary to identify
  2638.       and interpret the Data Element Contents.)
  2639.  
  2640.                                      38                          
  2641.  
  2642.                                                           Section 4.2.4
  2643.  
  2644.  
  2645.  
  2646.            In  a primitive data element, the Data Element Contents is a
  2647.       series of octets interpreted according to  the  identifier  octet
  2648.       and any qualifier.
  2649.  
  2650.            In  a constructor data element, the Data Element Contents is
  2651.       a series of data elements.  When the Length Code component  of  a
  2652.       constructor  data  element is "indefinite", the last data element
  2653.       in the constructor's Data Element Contents is End-of-Constructor.
  2654.  
  2655.            The length of the Data Element Contents (in octets)  is  the
  2656.       difference  between  the  value of the Length Code and the sum of
  2657.       the following:
  2658.  
  2659.  
  2660.         o  the length of the Qualifier component  (depends  on  the
  2661.            data element)
  2662.  
  2663.         o  the length of the Property-List component
  2664.  
  2665.  
  2666.  
  2667.       4.3  Data Element Syntax
  2668.  
  2669.  
  2670.            This  message  format  specification  defines  nineteen (19)
  2671.       different data elements.  Section 4.3.1 defines the encoding form
  2672.       for data elements  in  general  and  the  syntax  for  each  data
  2673.       element.    Section  4.3.2  describes  the  use  of specific data
  2674.       elements as part of the Data Element Contents  of  a  Field  data
  2675.       element.   A summary of the syntactic form appears in Appendix F;
  2676.       summaries of the data element syntax appear in Appendix G.
  2677.  
  2678.  
  2679.       4.3.1  Data elements
  2680.  
  2681.  
  2682.            This section presents the general  syntactic  form  for  all
  2683.       data  elements  defined  by this message format specification and
  2684.       the detailed syntax for each data element.  The data elements are
  2685.       presented by syntactic class: primitive  data  elements  (Section
  2686.       4.3.1.1), and constructors (Section 4.3.1.2).
  2687.  
  2688.            For  convenience,  the following terminology is used in this
  2689.       section.
  2690.  
  2691.  
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697.  
  2698.  
  2699.                                      39                          
  2700.  
  2701.                                                           Section 4.3.1
  2702.  
  2703.  
  2704.  
  2705.                   Term            Meaning
  2706.  
  2707.               Primitive       a Primitive Data Element
  2708.  
  2709.               Constructor     a Constructor Data Element
  2710.  
  2711.               Element         any Data Element
  2712.  
  2713.  
  2714.            The  syntax  of  each  Element is presented in graphic form.
  2715.       The following conventions apply in the diagrams.  A single  octet
  2716.       is represented as follows.
  2717.  
  2718.  
  2719.           +--------+
  2720.           |        |
  2721.           +--------+
  2722.  
  2723.  
  2724.            Components that vary in length are represented as follows.
  2725.  
  2726.  
  2727.           +---//---+
  2728.           |        |
  2729.           +---//---+
  2730.  
  2731.  
  2732.            Each  Element  has  up to five components:  an Identifier, a
  2733.       Length Code, a Qualifier, a Property-List and  the  Data  Element
  2734.       Contents.  (See Section 4.2.)
  2735.  
  2736.            In  the  diagrams,  the  contents of the identifier octet is
  2737.       shown as a "P" followed by an identifier represented  in  binary.
  2738.       (See  Figure  4.)  The identifier itself is a seven bit quantity,
  2739.       right justified  in  the  identifier  octet.    Full  details  on
  2740.       identifier octets appear in Section 4.2.1.
  2741.  
  2742.            A length code is always represented in the following manner:
  2743.  
  2744.  
  2745.           +---//---+
  2746.           |Lxxxxxxx|
  2747.           +---//---+
  2748.  
  2749.  
  2750.            A qualifier is always represented in the following manner:
  2751.  
  2752.  
  2753.           +---//---+
  2754.           |Qxxxxxxx|
  2755.           +---//---+
  2756.  
  2757.  
  2758.                                      40                          
  2759.  
  2760.                                                           Section 4.3.1
  2761.  
  2762.  
  2763.  
  2764.            A Property-List (if present) always immediately precedes any
  2765.       occurrence of Data Element Contents.
  2766.  
  2767.            The  Data Element Contents appears in diagrams as one of the
  2768.       following.
  2769.  
  2770.  
  2771.         o  "element(s)", which may be any data element(s)
  2772.  
  2773.         o  "anything",  which  is  undefined   and   may   be   any
  2774.            combination of bits
  2775.  
  2776.         o  a specific data element
  2777.  
  2778.         o  the  interpretation to be applied to the bits within the
  2779.            octets that constitute the element  (such  as  ASCII  or
  2780.            Integer)
  2781.  
  2782.  
  2783.            Two  data  elements have been reserved for special purposes.
  2784.       The Extension data  element  is  provided  to  allow  for  future
  2785.       expansion of the possible data elements.  The Vendor-Defined data
  2786.       element  allows  CBMS  vendors to define their own data elements.
  2787.       Vendor-Defined data elements are not  guaranteed  to  be  unique,
  2788.       since  two  implementations  could define different data elements
  2789.       using the same identifier.  Vendor-Defined data  elements  should
  2790.       be used and interpreted by prior agreement.
  2791.  
  2792.            In  the  following  sections, each element is presented with
  2793.       its name, compliance  classification  (BASIC  or  OPTIONAL),  its
  2794.       identifier   (both   in   hexadecimal  and  in  octal),  a  brief
  2795.       description of its use, and a graphic representation.  Each  data
  2796.       element description has the following form.
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.                                      41                          
  2818.  
  2819.                                                           Section 4.3.1
  2820.  
  2821.  
  2822.  
  2823.       -----------------------------------------------------------------
  2824.       Data Element             (Compliance)   identifier   identifier
  2825.           Name                 ( Category )    octet         octet 
  2826.                                                     16            8
  2827.  
  2828.                      Description of the syntax of the data element.
  2829.  
  2830.  
  2831.  
  2832.                  +---//---+
  2833.                  |        |     Diagram representing data element
  2834.                  +---//---+
  2835.  
  2836.  
  2837.  
  2838.  
  2839.       -----------------------------------------------------------------
  2840.  
  2841.  
  2842.       4.3.1.1  Primitives
  2843.  
  2844.            The   data   elements   in  this  section  are  arranged  in
  2845.       alphabetical order by name.  (Appendix C presents the identifiers
  2846.       in numeric order.)
  2847.       ASCII-String             (BASIC)        02        002 
  2848.                                                 16         8
  2849.                     This  data  element  contains  a  series  of  ASCII
  2850.                 characters,   each  character  right-justified  in  one
  2851.                 octet.    For  seven-bit  ASCII  characters,  the  most
  2852.                 significant bit of each octet must be 0.
  2853.  
  2854.  
  2855.                  +--------+---//---+----//-----+
  2856.                  |P0000010|Lxxxxxxx|ASCII chars|
  2857.                  +--------+---//---+----//-----+
  2858.  
  2859.  
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.                                      42                          
  2877.  
  2878.                                                         Section 4.3.1.1
  2879.  
  2880.  
  2881.  
  2882.       Bit-String               (OPTIONAL)     43        103 
  2883.                                                 16         8
  2884.                 This  data  element contains a series of bits.  It uses
  2885.                 the Qualifier data  element  component  to  record  the
  2886.                 number  of  bits  of  padding (as an eight bit unsigned
  2887.                 integer) needed to fill the final  octet  of  the  Data
  2888.                 Element  Contents  to  an  even  octet boundary.  These
  2889.                 padding bits have no meaning and occur in the low order
  2890.                 bits of the final octet.   The  valid  values  for  the
  2891.                 Qualifier  component  are  0  through 7.  The number of
  2892.                 bits in the Data Element Contents  is  calculated  from
  2893.                 the following formula.
  2894.  
  2895.  
  2896.                 8   *   number of octets   -   value of
  2897.                         in the Data            Qualifier component
  2898.                         Element Contents
  2899.  
  2900.  
  2901.                  +--------+---//---+---//---+---//---+
  2902.                  |P1000011|Lxxxxxxx|Qxxxxxxx|  bits  |
  2903.                  +--------+---//---+---//---+---//---+
  2904.  
  2905.  
  2906.       Boolean                  (OPTIONAL)     08        010 
  2907.                                                 16         8
  2908.                 This  data  element  contains  one octet whose value is
  2909.                 either true or false.  False is represented by all bits
  2910.                 being 0; true  is  represented  by  all  bits  being  1
  2911.                 (although  any  non-zero value should be interpreted as
  2912.                 true).
  2913.  
  2914.  
  2915.                  +--------+---//---+--------+
  2916.                  |P0001000|Lxxxxxxx| T or F |
  2917.                  +--------+---//---+--------+
  2918.  
  2919.  
  2920.       End-of-Constructor       (BASIC)        01        001 
  2921.                                                 16         8
  2922.                 This data element terminates the Data Element  Contents
  2923.                 in  a  constructor  data  element  that  has indefinite
  2924.                 length.  This data element has no  Contents  component.
  2925.                 (Use of this element is described in Section 4.2.2.1.)
  2926.  
  2927.  
  2928.                  +--------+---//---+
  2929.                  |P0000001|Lxxxxxxx|
  2930.                  +--------+---//---+
  2931.  
  2932.  
  2933.  
  2934.  
  2935.                                      43                          
  2936.  
  2937.                                                         Section 4.3.1.1
  2938.  
  2939.  
  2940.  
  2941.       Integer                  (OPTIONAL)     20        040 
  2942.                                                 16         8
  2943.                 This  data element contains a 2's complement integer of
  2944.                 variable  length,  high  order  octet  first.    It  is
  2945.                 recommended  that the data element contents be either 2
  2946.                 or 4 octets long whenever possible.
  2947.  
  2948.  
  2949.                  +--------+---//---+---//---+
  2950.                  |P0100000|Lxxxxxxx| Integer|
  2951.                  +--------+---//---+---//---+
  2952.  
  2953.  
  2954.       No-Op                    (OPTIONAL)     00        000 
  2955.                                                 16         8
  2956.                 This data element does nothing.  No-Op is used whenever
  2957.                 it is necessary to include a data  element  that  means
  2958.                 "no operation".  It is a short placeholder.
  2959.  
  2960.  
  2961.                  +--------+---//---+
  2962.                  |P0000000|Lxxxxxxx|
  2963.                  +--------+---//---+
  2964.  
  2965.  
  2966.       Padding                  (OPTIONAL)     21        041 
  2967.                                                 16         8
  2968.                 This data element is used to fill any number of octets.
  2969.                 The  contents  of  a  Padding element are undefined and
  2970.                 convey no information.
  2971.  
  2972.  
  2973.                  +--------+---//---+---//---+
  2974.                  |P0100001|Lxxxxxxx|anything|
  2975.                  +--------+---//---+---//---+
  2976.  
  2977.  
  2978.       4.3.1.2  Constructors
  2979.  
  2980.            The  data  elements  in  this  section   are   arranged   in
  2981.       alphabetical order.
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.                                      44                          
  2995.  
  2996.                                                         Section 4.3.1.2
  2997.  
  2998.  
  2999.  
  3000.       Compressed               (OPTIONAL)     46        106 
  3001.                                                 16         8
  3002.                 This  data  element  must  contain  a  Bit-String  data
  3003.                 element.  It is used to represent  any  data  that  has
  3004.                 been   compressed;   it   may   be  used  wherever  its
  3005.                 uncompressed contents may appear.    A  Qualifier  data
  3006.                 component  appears  in each Compressed data element; it
  3007.                 contains a  compression identifier  (CID)  to  identify
  3008.                 the  compression  algorithm used.  (See Section 4.3.5.)
  3009.                 The Data Element Contents contains the product  of  the
  3010.                 compression process.
  3011.  
  3012.  
  3013.                  +--------+---//---+---//---+--------//--------+
  3014.                  |P1000110|Lxxxxxxx|Qxxxxxxx|Bit-String Element|
  3015.                  +--------+---//---+---//---+--------//--------+
  3016.  
  3017.  
  3018.  
  3019.       Date                     (BASIC)        28        050 
  3020.                                                 16         8
  3021.                 This   data   element  contains  an  ASCII-String  data
  3022.                 element, which is a representation of a date  and  time
  3023.                 formatted   in   accordance   with   PUBS  4 [NatB-68],
  3024.                 58 [NatB-79a] and 59 [NatB-79b].
  3025.  
  3026.  
  3027.                  +--------+---//---+------//------+
  3028.                  |P0101000|Lxxxxxxx| ASCII-String |
  3029.                  +--------+---//---+------//------+
  3030.  
  3031.  
  3032.  
  3033.       Encrypted                (OPTIONAL)     47        107 
  3034.                                                 16         8
  3035.                 This data element must contain a  Bit-String.    It  is
  3036.                 used  to represent any data that has been encrypted; it
  3037.                 may be  used  wherever  its  unencrypted  contents  may
  3038.                 appear.    A  Qualifier  data component appears in each
  3039.                 Encrypted  data  element;  it  contains  an  encryption
  3040.                 identifier  (EID)  identifying the encryption algorithm
  3041.                 used.  (See Section 4.3.4.)  The Data Element  Contents
  3042.                 is the product of the encryption process.
  3043.  
  3044.  
  3045.                  +--------+---//---+---//---+--------//--------+
  3046.                  |P1000111|Lxxxxxxx|Qxxxxxxx|Bit-String Element|
  3047.                  +--------+---//---+---//---+--------//--------+
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.                                      45                          
  3054.  
  3055.                                                         Section 4.3.1.2
  3056.  
  3057.  
  3058.  
  3059.       Extension                (OPTIONAL)     7E        176 
  3060.                                                 16         8
  3061.                 This  data  element  is  used  to  extend the number of
  3062.                 available  data  elements  beyond  the  128  that   are
  3063.                 possible   using  a  7-bit  identifier.    A  Qualifier
  3064.                 component extends the encoding space  for  identifiers.
  3065.                 (Extension and Vendor-Defined have the same syntax.)
  3066.  
  3067.  
  3068.                  +--------+---//---+---//---+---//---+
  3069.                  |P1111110|Lxxxxxxx|Qxxxxxxx|Anything|
  3070.                  +--------+---//---+---//---+---//---+
  3071.  
  3072.  
  3073.       Field                    (BASIC)        4C        114 
  3074.                                                 16         8
  3075.                 This   data  element  uses  a  Qualifier  data  element
  3076.                 component.  The Qualifier component  contains  a  Field
  3077.                 Identifier  (FID)  indicating  which  specific field is
  3078.                 being represented.  (See Section 4.3.2.)
  3079.  
  3080.  
  3081.                  +--------+---//---+---//---+---//---+
  3082.                  |P1001100|Lxxxxxxx|Qxxxxxxx|elements|
  3083.                  +--------+---//---+---//---+---//---+
  3084.  
  3085.  
  3086.       Message                  (BASIC)        4D        115 
  3087.                                                 16         8
  3088.                 This data element may contain  Field  or  Message  data
  3089.                 elements.    Its Qualifier component contains a Message
  3090.                 type (MID) indicating the type of the  message.    (See
  3091.                 Section  4.3.6.)  (The MID is completely different from
  3092.                 the message identifier  in  the  Message-ID  field  and
  3093.                 should not be confused with it.)
  3094.  
  3095.  
  3096.                  +--------+---//---+---//---+
  3097.                  |P1001101|Lxxxxxxx|Qxxxxxxx|
  3098.                  +--------+---//---+---//---+
  3099.  
  3100.                  +--------//---------//---------//---------//--------+
  3101.                  | Field, Message, Encrypted, or Compressed Elements |
  3102.                  +--------//---------//---------//---------//--------+
  3103.  
  3104.  
  3105.  
  3106.  
  3107.  
  3108.  
  3109.  
  3110.  
  3111.  
  3112.                                      46                          
  3113.  
  3114.                                                         Section 4.3.1.2
  3115.  
  3116.  
  3117.  
  3118.       Property-List            (OPTIONAL)     24        044 
  3119.                                                 16         8
  3120.                 This  data  element  contains a series of Property data
  3121.                 elements to be associated another data element.
  3122.  
  3123.  
  3124.                  +--------+---//---+-------//--------+
  3125.                  |P0100100|Lxxxxxxx|Property Elements|
  3126.                  +--------+---//---+-------//--------+
  3127.  
  3128.  
  3129.       Property                 (OPTIONAL)     45        105 
  3130.                                                 16         8
  3131.                 This  data  element  uses  a  Quali data   element
  3132.                 component.       The   Qualifier   component   contains
  3133.                 a  Property-Identifier (PID) to indicate which specific
  3134.                 property is being represented.  (See Section 4.3.3.)
  3135.  
  3136.  
  3137.                  +--------+---//---+---//---+---//---+
  3138.                  |P1000101|Lxxxxxxx|Qxxxxxxx|elements|
  3139.                  +--------+---//---+---//---+---//---+
  3140.  
  3141.  
  3142.       Sequence                 (OPTIONAL)     0A        012 
  3143.                                                 16         8
  3144.                 This data element contains any series of data elements.
  3145.                 Sequence differs from Set in  that  the  data  elements
  3146.                 making  up the Data Element Contents must be considered
  3147.                 as an ordered sequence (according  to  their  order  of
  3148.                 appearance in the sequence.)
  3149.  
  3150.  
  3151.                  +--------+---//---+---//---+
  3152.                  |P0001010|Lxxxxxxx|elements|
  3153.                  +--------+---//---+---//---+
  3154.  
  3155.  
  3156.       Set                      (OPTIONAL)     0B        013 
  3157.                                                 16         8
  3158.                 This  data element contains any series of data elements
  3159.                 with no ordering of the elements  implied.    (Sequence
  3160.                 provides   an  ordered  series.)    Although  the  data
  3161.                 elements  contained   in   a   Set   must   be   stored
  3162.                 sequentially, the order in which they are stored is not
  3163.                 defined and not processed.
  3164.  
  3165.  
  3166.                  +--------+---//---+---//---+
  3167.                  |P0001011|Lxxxxxxx|elements|
  3168.                  +--------+---//---+---//---+
  3169.  
  3170.  
  3171.                                      47                          
  3172.  
  3173.                                                         Section 4.3.1.2
  3174.  
  3175.  
  3176.  
  3177.       Unique-ID                (OPTIONAL)     09        011 
  3178.                                                 16         8
  3179.                 This  data element is a unique identifier.  It need not
  3180.                 be human-readable.  The Data Element Contents may be an
  3181.                 ASCII-String, a Bit-String, or an Integer.
  3182.  
  3183.  
  3184.                  +--------+---//---+---//---+
  3185.                  |P0001001|Lxxxxxxx| element|
  3186.                  +--------+---//---+---//---+
  3187.  
  3188.  
  3189.       Vendor-Defined           (OPTIONAL)     7F        177 
  3190.                                                 16         8
  3191.                 This data element is  used  to  represent  vendor-  and
  3192.                 user-defined  data  elements.    A  Qualifier component
  3193.                 extends  the  encoding  space  for  identifiers.    The
  3194.                 Qualifier  component  is  not  guaranteed  to be unique
  3195.                 among all interconnected systems.  This data element is
  3196.                 interpreted  according  to  prior   agreement   between
  3197.                 systems.    (Extension and Vendor-Defined data elements
  3198.                 have the same syntax.)
  3199.  
  3200.  
  3201.                  +--------+---//---+---//---+---//---+
  3202.                  |P1111111|Lxxxxxxx|Qxxxxxxx|Anything|
  3203.                  +--------+---//---+---//---+---//---+
  3204.  
  3205.  
  3206.       4.3.2  Using data elements within message fields
  3207.  
  3208.  
  3209.            The Data Element Contents of a particular field in a message
  3210.       must contain at least one  data  element.    The  types  of  data
  3211.       elements  that can appear in the Data Element Contents of a field
  3212.       are restricted according to what kind of field it is.  Appendix A
  3213.       (the master reference appendix for  fields) nes  which  data
  3214.       elements are valid as the Contents for each of the fields.
  3215.  
  3216.            Some  fields  have  a  Data  Element  Contents that contains
  3217.       "originators" or "recipients."  No data  element  represents  the
  3218.       identities of originators or recipients (because that encoding is
  3219.       not  within  the  scope  of  this  message format specification.)
  3220.       These descriptions simply  list  "originators"  or  "recipients",
  3221.       implying  no  restrictions on how the identifiers for originators
  3222.       or recipients are represented.
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.                                      48                          
  3231.  
  3232.                                                           Section 4.3.3
  3233.  
  3234.  
  3235.  
  3236.       4.3.3  Properties and associated elements
  3237.  
  3238.  
  3239.            This message format specification defines two properties.
  3240.       Comment                                 01        001 
  3241.                                                 16         8
  3242.                 This  property may contain any series of data elements;
  3243.                 it most commonly contains one or more ASCII-Strings.
  3244.       Printing-Name                           02        002 
  3245.                                                 16         8
  3246.                 This property contains one ASCII-String.  In this case,
  3247.                 the ASCII-String may contain only  the  printing  ASCII
  3248.                 characters plus the "space" character.
  3249.  
  3250.  
  3251.       4.3.4  Encryption identifiers
  3252.  
  3253.  
  3254.            This  message  format  specification  defines two encryption
  3255.       identification codes.
  3256.       Unspecified                             00        000 
  3257.                                                 16         8
  3258.                 Use of  this  encryption  identifier  as  part  of  the
  3259.                 Encrypted  data  element  indicates that the encryption
  3260.                 method being used was not specified  for  inclusion  as
  3261.                 part of the data element.
  3262.       NBS-Standard                            01        001 
  3263.                                                 16         8
  3264.                 Use  of  this  encryption  identifier  as  part  of the
  3265.                 Encrypted data element indicates that the NBS  standard
  3266.                 method for data encryption [NatB-77] was used.
  3267.  
  3268.  
  3269.       4.3.5  Compression identifiers
  3270.  
  3271.  
  3272.            This  message  format  specification defines two compression
  3273.       identification codes for use with the Compressed data element.
  3274.       Unspecified                             00        000 
  3275.                                                 16         8
  3276.                 Use of this  compression  identifier  as  part  of  the
  3277.                 Compressed  data element indicates that the compression
  3278.                 method being used was not specified  for  inclusion  as
  3279.                 part of the data element.
  3280.       NBS-Standard                            01        001 
  3281.                                                 16         8
  3282.                 Use  of  this  compression  identifier  as  part of the
  3283.                 Compressed data element  is  reserved  at  the  present
  3284.                 time.    It will be used in the future to indicate that
  3285.                 the NBS standard method for data compression  was  used
  3286.                 once the data compression standard is defined.
  3287.  
  3288.  
  3289.                                      49                          
  3290.  
  3291.                                                           Section 4.3.6
  3292.  
  3293.  
  3294.  
  3295.       4.3.6  Message types
  3296.  
  3297.  
  3298.            This message format specification defines message type (MID)
  3299.       codes  for use in classifying the type of a message.  The message
  3300.       type could  be  confused  with  the  message  identifier  in  the
  3301.       Message-Id field; they are completely distinct concepts.
  3302.       NBS-Standard                            01        01 
  3303.                                                 16        8
  3304.                 This  message  type  marks  messages  defined  by  this
  3305.                 message format specification.
  3306.  
  3307.  
  3308.  
  3309.  
  3310.  
  3311.  
  3312.  
  3313.  
  3314.  
  3315.  
  3316.  
  3317.  
  3318.  
  3319.  
  3320.  
  3321.  
  3322.  
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.                                      50                          
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.                             SUMMARY OF APPENDIXES
  3355.  
  3356.  
  3357.  
  3358.  
  3359.       Appendix A  Defines    the   fields   in   the   message   format
  3360.                   specification.  This  alphabetical  appendix  is  for
  3361.                   reference  use by implementors.  It contains semantic
  3362.                   definitions of fields from  Section  3.1.    It  also
  3363.                   defines  Field  Identifier values and specifies which
  3364.                   data elements are valid as the Contents for  each  of
  3365.                   the fields.
  3366.  
  3367.       Appendix B  Defines  the  data  elements  in  the  message format
  3368.                   specification.  This alphabetically ordered  appendix
  3369.                   is   for   reference   use   by   implementors.    It
  3370.                   consolidates information from Section 4.3.
  3371.  
  3372.       Appendix C  Provides a reference table listing the data  elements
  3373.                   in numerical order by their identifier octets.
  3374.  
  3375.       Appendix D  Provides a reference table summarizing the components
  3376.                   of messages according to whether they are required or
  3377.                   otional for CBMSs implementing the specification.
  3378.  
  3379.       Appendix E  Provides  a  reference  table  organizing the message
  3380.                   components according to the functional class  of  the
  3381.                   components.
  3382.  
  3383.       Appendix F  Provides   an  overview  of  the  syntactic  elements
  3384.                   defined by this message format specification.
  3385.  
  3386.       Appendix G  Summarizes syntactic elements  according  to  whether
  3387.                   they are required or optional for a CBMS implementing
  3388.                   the message format specification.
  3389.  
  3390.       Appendix H  Examples  of  each syntactic element displaying their
  3391.                   syntax and describing their associated semantics.
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.                                      51                          
  3408.  
  3409.                                                              Appendix A
  3410.  
  3411.  
  3412.  
  3413.                                  APPENDIX A
  3414.                   FIELDS -- IMPLEMENTORS' MASTER REFERENCE
  3415.  
  3416.  
  3417.  
  3418.  
  3419.            This  appendix  defines  all  of  the  fields in the message
  3420.       format specification for  reference  use  by  implementors.    It
  3421.       contains  semantics  definitions  of fields from Section 3.1.  It
  3422.       also defines Field Identifier values and which data elements  are
  3423.       valid  as  the  Contents  for  each  of  the  fields.   The field
  3424.       definitions appear alphabetically.
  3425.  
  3426.            Each field in the list has the following form:
  3427.  
  3428.  
  3429.       -----------------------------------------------------------------
  3430.       Field Name               Compliance   identifier  identifier
  3431.                                               value       value 
  3432.                                                    16          8
  3433.  
  3434.                    Description of the field semantics.   Names  of
  3435.               data  elements  that  are  valid in the Data Element
  3436.               Contents of this kind of field.
  3437.  
  3438.       -----------------------------------------------------------------
  3439.  
  3440.  
  3441.       Attachments              OPTIONAL       08        010 
  3442.                                                 16         8
  3443.                 This field  contains  additional  data  accompanying  a
  3444.                 message.    It  is similar in intent to enclosures in a
  3445.                 conventional mail system.  Contents of this  field  are
  3446.                 unrestricted.
  3447.       Author                   OPTIONAL       0C        014 
  3448.                                                 16         8
  3449.                 This  field  identifies the individual(s) who wrote the
  3450.                 primary contents of the message.   Use  of  the  Author
  3451.                 field  is  discouraged  when the contents of the Author
  3452.                 field and the From field would be completely redundant.
  3453.                 This field contains one or more originator identities.
  3454.       Bcc                      OPTIONAL       0D        015 
  3455.                                                 16         8
  3456.                 This  field  identifies  additional  recipients  for  a
  3457.                 message  (a  "blind carbon copies list").  The contents
  3458.                 of this field are not to be included in copies  of  the
  3459.                 message  sent  to the primary and secondary recipients.
  3460.                 See section 3.2.1 for further discussion of the use  of
  3461.                 blind  carbon  copies lists. This field contains one or
  3462.                 more recipient identities.
  3463.  
  3464.  
  3465.  
  3466.                                      52                          
  3467.  
  3468.                                                              Appendix A
  3469.  
  3470.  
  3471.  
  3472.       Cc                       BASIC          06        006 
  3473.                                                 16         8
  3474.                 This   field  identifies  secondary  recipients  for  a
  3475.                 message (a "carbon copies" list).  This field  contains
  3476.                 one or more recipient identities.
  3477.       Circulate-Next           OPTIONAL       0E        016 
  3478.                                                 16         8
  3479.                 This field is used in conjunction with the Circulate-To
  3480.                 field.    (See  Section  3.2.6.1.)    It identifies all
  3481.                 recipients in a  circulation  list  who  have  not  yet
  3482.                 received  the message.  This field contains one or more
  3483.                 recipient identities.
  3484.       Circulate-To             OPTIONAL       0F        017 
  3485.                                                 16         8
  3486.                 This  field  identifies  recipients  for  a  circulated
  3487.                 message.    (See  Section  3.2.6.1.)    It  is  used in
  3488.                 conjunction with the Circulate-Next field.  This  field
  3489.                 contains one or more recipient identities.
  3490.       Comments                 OPTIONAL       10        020 
  3491.                                                 16         8
  3492.                 This  field  permits  adding  comments onto the message
  3493.                 without  disturbing  the  original  contents   of   the
  3494.                 message.  While the Comments field will usually contain
  3495.                 one or more ASCII-Strings, there are no restrictions on
  3496.                 its contents.
  3497.       Date                     OPTIONAL       11        021 
  3498.                                                 16         8
  3499.                 This   field   contains   a  date  that  the  message's
  3500.                 originator wishes to associate with  a  message.    The
  3501.                 Date field is to the Posted-Date field as the date on a
  3502.                 letter  is  to  the  postmark added by the post office.
  3503.                 This field contains one Date.
  3504.       End-Date                 OPTIONAL       12        022 
  3505.                                                 16         8
  3506.                 This field contains the date on which a  message  loses
  3507.                 effect.  (See also Section 3.2.5.)  This field contains
  3508.                 one Date.
  3509.       From                     REQUIRED       01        001 
  3510.                                                 16         8
  3511.                 This  field  contains  the  identity of the originators
  3512.                 taking formal responsibility for  this  message.    The
  3513.                 contents  of  the  From field is to be used for replies
  3514.                 when no Reply-to field appears  in  a  message.    This
  3515.                 field contains one or more originator identities.
  3516.       In-Reply-To              OPTIONAL       13        023 
  3517.                                                 16         8
  3518.                 This  field designates previous correspondence to which
  3519.                 this message is a reply.  The usual  contents  of  this
  3520.                 field  would be the contents of the Message-ID field of
  3521.                 the message(s) being replied to.  This  field  contains
  3522.                 one or more Unique-IDs or ASCII-Strings.
  3523.  
  3524.  
  3525.                                      53                          
  3526.  
  3527.                                                              Appendix A
  3528.  
  3529.  
  3530.  
  3531.       Keywords                 OPTIONAL       14        024 
  3532.                                                 16         8
  3533.                 This  field  contains  keywords  or  phrases for use in
  3534.                 retrieving a message.  This field contains one or  more
  3535.                 ASCII-Strings.   (Each keyword or phrase is represented
  3536.                 by a separate ASCII-String.)
  3537.       Message-Class            OPTIONAL       15        025 
  3538.                                                 16         8
  3539.                 This field indicates the purpose of  a  message.    For
  3540.                 example,  it  might  contain values indicating that the
  3541.                 message is a memorandum or a  data-base  entry.    This
  3542.                 field contains one data element, an ASCII-String.
  3543.       Message-ID               OPTIONAL       16        026 
  3544.                                                 16         8
  3545.                 This  field contains a unique identifier for a message.
  3546.                 This identifier is intended for machine generation  and
  3547.                 processing.    Further  definition  appears  in Section
  3548.                 3.2.4.1.  Only one Message-ID field is permitted  in  a
  3549.                 message.    This  field  contains  one  data element, a
  3550.                 Unique-ID.
  3551.       Obsoletes                OPTIONAL       26        046 
  3552.                                                 16         8
  3553.                 This field identifies one or more  messages  that  this
  3554.                 one  supplants.    This  field  contains  at  least one
  3555.                 Unique-ID and may contain more than one.
  3556.       Originator-Serial-Number OPTIONAL       17        027 
  3557.                                                 16         8
  3558.                 This field contains one or more serial numbers assigned
  3559.                 by the message's originator.  (Messages  with  multiple
  3560.                 recipients  should  all  have  the  same  value  in the
  3561.                 Originator-Serial-Number field.   This  field  contains
  3562.                 one  or  more ASCII-Strings.  (One ASCII-String is used
  3563.                 for each serial number.)
  3564.       Posted-Date              REQUIRED       02        002 
  3565.                                                 16         8
  3566.                 This field contains the  posting  date,  which  is  the
  3567.                 point  in  time  when  the  message  passes through the
  3568.                 posting slot into a message transfer system.  Only  one
  3569.                 Posted-Date  field  is  permitted  in  a message.  This
  3570.                 field contains one Date.
  3571.       Precedence               OPTIONAL       18        030 
  3572.                                                 16         8
  3573.                 Ordinarily, message precedence or priority is a service
  3574.                 request to  a  message  transfer  system.    A  message
  3575.                 originator, however, can include precedence information
  3576.                 in  a  message.  This field indicates the precedence at
  3577.                 which the  message  was  posted.    One  example  of  a
  3578.                 precedence   scheme   is  the  US  Military  categories
  3579.                 "ROUTINE", "PRIORITY", "IMMEDIATE",  "FLASH  OVERRIDE",
  3580.                 and   "EMERGENCY   COMMAND  PRECEDENCE".    This  field
  3581.                 contains one ASCII-String.
  3582.  
  3583.  
  3584.                                      54                          
  3585.  
  3586.                                                              Appendix A
  3587.  
  3588.  
  3589.  
  3590.       Received-Date            OPTIONAL       19        031 
  3591.                                                 16         8
  3592.                 Delivery date.  This field may be added to a message by
  3593.                 the   recipient's   message   receiving  program.    It
  3594.                 indicates when the message left the delivery system and
  3595.                 entered  the  recipient's  message  processing  domain.
  3596.                 This field contains one Date.
  3597.       Received-From            OPTIONAL       1A        032 
  3598.                                                 16         8
  3599.                 This  field  contains  a  record  of  a  message's path
  3600.                 through   a   message    transfer    system.        The
  3601.                 recipient's  message  receiving  program  may store any
  3602.                 such  information  that  it  obtains  from  a   message
  3603.                 transfer  system  in  this field.  The contents of this
  3604.                 field are unrestricted.
  3605.       References               OPTIONAL       20        040 
  3606.                                                 16         8
  3607.                 This field identifies other  correspondence  that  this
  3608.                 message   references.    If  the  other  correspondence
  3609.                 contains  a  Message-ID  field,  the  contents  of  the
  3610.                 References  field must be the message identifier.  This
  3611.                 field contains one or more Unique-IDs or ASCII-Strings.
  3612.       Reissue-Type             OPTIONAL       25        045 
  3613.                                                 16         8
  3614.                 This  field  is  used  in  conjunction   with   message
  3615.                 encapsulating  (see  Section  3.2.2)  to  differentiate
  3616.                 between messages being assigned or redistributed.  This
  3617.                 field contains one  data  element,  usually  an  ASCII-
  3618.                 String.
  3619.       Reply-To                 BASIC          03        003 
  3620.                                                 16         8
  3621.                 This field identifies any recipients for replies to the
  3622.                 message.    This  field  contains one or more recipient
  3623.                 identities.
  3624.       Sender                   OPTIONAL       22        042 
  3625.                                                 16         8
  3626.                 This field identifies the agent who sent  the  message.
  3627.                 It  is  intended  either for when the sender is not the
  3628.                 originator responsible for the message or  to  indicate
  3629.                 who  among  a  group of originators responsible for the
  3630.                 message actually sent it.  Use of the Sender  field  is
  3631.                 discouraged  when  the contents of the Sender field and
  3632.                 From field would be completely  redundant.    Only  one
  3633.                 Sender  field  is  permitted  in a message.  This field
  3634.                 contains one originator identity.
  3635.       Start-Date               OPTIONAL       23        043 
  3636.                                                 16         8
  3637.                 This field contains the date on which a  message  takes
  3638.                 effect.  (See also Section 3.2.5.)  This field contains
  3639.                 one Date.
  3640.  
  3641.  
  3642.  
  3643.                                      55                          
  3644.  
  3645.                                                              Appendix A
  3646.  
  3647.  
  3648.  
  3649.       Subject                  BASIC          07        007 
  3650.                                                 16         8
  3651.                 This field contains whatever information the originator
  3652.                 provided  to  summarize  or  indicate the nature of the
  3653.                 message.   This  field  contains  one  or  more  ASCII-
  3654.                 Strings.
  3655.       Text                     BASIC          04        004 
  3656.                                                 16         8
  3657.                 This field contains the primary content of the message.
  3658.                 Contents of this field are unrestricted.
  3659.       To                       REQUIRED       05        005 
  3660.                                                 16         8
  3661.                 This field identifies primary recipients for a message.
  3662.                 This field contains one or more recipient identities.
  3663.       Warning-Date             OPTIONAL       24        044 
  3664.                                                 16         8
  3665.                 This  field is used either alone or in conjunction with
  3666.                 an End-Date field.  It  contains  one  or  more  dates.
  3667.                 These  dates  could  be  used  by  a message processing
  3668.                 program as warnings of an impending end-date  or  other
  3669.                 event.   (See also Section 3.2.5.)  This field contains
  3670.                 one or more Dates.
  3671.  
  3672.  
  3673.  
  3674.  
  3675.  
  3676.  
  3677.  
  3678.  
  3679.  
  3680.  
  3681.  
  3682.  
  3683.  
  3684.  
  3685.  
  3686.  
  3687.  
  3688.  
  3689.  
  3690.  
  3691.  
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698.  
  3699.  
  3700.  
  3701.  
  3702.                                      56                          
  3703.  
  3704.                                                              Appendix B
  3705.  
  3706.  
  3707.  
  3708.                                  APPENDIX B
  3709.                DATA ELEMENTS -- IMPLEMENTORS' MASTER REFERENCE
  3710.  
  3711.  
  3712.  
  3713.  
  3714.            The appendix defines all of the data elements in the message
  3715.       format  specification,  for  reference  use  by implementors.  It
  3716.       contains no new information but rather consolidates the syntactic
  3717.       information from Section 4.3.
  3718.  
  3719.            Each data element description has the following form.
  3720.  
  3721.  
  3722.       -----------------------------------------------------------------
  3723.  
  3724.       Data Element        (Compliance)   identifier   identifier
  3725.           Name            ( Category )    octet         octet 
  3726.                                                16            8
  3727.  
  3728.                 Constructive class (primitive or constructor)
  3729.  
  3730.                 Description of the syntax of the data element.
  3731.  
  3732.  
  3733.  
  3734.                 +---//---+
  3735.                 |        |     Diagram representing data element
  3736.                 +---//---+
  3737.  
  3738.  
  3739.  
  3740.       -----------------------------------------------------------------
  3741.  
  3742.  
  3743.       ASCII-String             (BASIC)        02        002 
  3744.                                                 16         8
  3745.                 primitive
  3746.  
  3747.                 This  data  element  contains   a   series   of   ASCII
  3748.                 characters,   each  character  right-justified  in  one
  3749.                 octet.    For  seven-bit  ASCII  characters,  the  most
  3750.                 significant bit of each octet must be 0.
  3751.  
  3752.  
  3753.                  +--------+---//---+----//-----+
  3754.                  |P0000010|Lxxxxxxx|ASCII chars|
  3755.                  +--------+---//---+----//-----+
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  
  3761.                                      57                          
  3762.  
  3763.                                                              Appendix B
  3764.  
  3765.  
  3766.  
  3767.       Bit-String               (OPTIONAL)     43        103 
  3768.                                                 16         8
  3769.                 primitive
  3770.  
  3771.                 This  data  element contains a series of bits.  It uses
  3772.                 the Qualifier data  element  component  to  record  the
  3773.                 number  of  bits  of  padding (as an eight bit unsigned
  3774.                 integer) needed to fill the final  octet  of  the  Data
  3775.                 Element  Contents  to  an  even  octet boundary.  These
  3776.                 padding bits have no meaning and occur in the low order
  3777.                 bits of the final octet.   The  valid  values  for  the
  3778.                 Qualifier  component  are  0  through 7.  The number of
  3779.                 bits in the Data Element Contents  is  calculated  from
  3780.                 the following formula.
  3781.  
  3782.  
  3783.                 8   *   number of octets   -   value of
  3784.                         in the Data            Qualifier component
  3785.                         Element Contents
  3786.  
  3787.  
  3788.                  +--------+---//---+---//---+---//---+
  3789.                  |P1000011|Lxxxxxxx|Qxxxxxxx|  bits  |
  3790.                  +--------+---//---+---//---+---//---+
  3791.  
  3792.  
  3793.       Boolean                  (OPTIONAL)     08        010 
  3794.                                                 16         8
  3795.                 primitive
  3796.  
  3797.                 This  data  element  contains  one octet whose value is
  3798.                 either true or false.  False is represented by all bits
  3799.                 being 0; true  is  represented  by  all  bits  being  1
  3800.                 (although  any  non-zero value should be interpreted as
  3801.                 true).
  3802.  
  3803.  
  3804.                  +--------+---//---+--------+
  3805.                  |P0001000|Lxxxxxxx| T or F |
  3806.                  +--------+---//---+--------+
  3807.  
  3808.  
  3809.  
  3810.  
  3811.  
  3812.  
  3813.  
  3814.  
  3815.  
  3816.  
  3817.  
  3818.  
  3819.  
  3820.                                      58                          
  3821.  
  3822.                                                              Appendix B
  3823.  
  3824.  
  3825.  
  3826.       Compressed               (OPTIONAL)     46        106 
  3827.                                                 16         8
  3828.                 constructor
  3829.  
  3830.                 This  data  element  must  contain  a  Bit-String  data
  3831.                 element.  It is used to represent  any  data  that  has
  3832.                 been   compressed;   it   may   be  used  wherever  its
  3833.                 uncompressed contents may appear.    A  Qualifier  data
  3834.                 component  appears  in each Compressed data element; it
  3835.                 contains a compression identifier (CID) to identify the
  3836.                 compression algorithm used.  (See Section 4.3.5.)   The
  3837.                 Data  Element  Contents  contains  the  product  of the
  3838.                 compression process.
  3839.  
  3840.  
  3841.                  +--------+---//---+---//---+--------//--------+
  3842.                  |P1000110|Lxxxxxxx|Qxxxxxxx|Bit-String Element|
  3843.                  +--------+---//---+---//---+--------//--------+
  3844.  
  3845.  
  3846.  
  3847.       Date                     (BASIC)        28        050 
  3848.                                                 16         8
  3849.                 constructor
  3850.  
  3851.                 This  data  element  contains  an   ASCII-String   data
  3852.                 element,  which  is a representation of a date and time
  3853.                 formatted in accordance with FIPS Publications 4 [NatB-
  3854.                 68], 59 [NatB-79b], and 58 [NatB-79a].
  3855.  
  3856.  
  3857.                  +--------+---//---+------//------+
  3858.                  |P0101000|Lxxxxxxx| ASCII-String |
  3859.                  +--------+---//---+------//------+
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865.  
  3866.  
  3867.  
  3868.  
  3869.  
  3870.  
  3871.  
  3872.  
  3873.  
  3874.  
  3875.  
  3876.  
  3877.  
  3878.  
  3879.                                      59                          
  3880.  
  3881.                                                              Appendix B
  3882.  
  3883.  
  3884.  
  3885.       Encrypted                (OPTIONAL)     47        107 
  3886.                                                 16         8
  3887.                 constructor
  3888.  
  3889.                 This  data  element  must  contain a Bit-String.  It is
  3890.                 used to represent any data that has been encrypted;  it
  3891.                 may  be  used  wherever  its  unencrypted  contents may
  3892.                 appear.  A Qualifier data  component  appears  in  each
  3893.                 Encrypted  data  element;  it  contains  an  encryption
  3894.                 identifier (EID) identifying the  encryption  algorithm
  3895.                 used.   (See Section 4.3.4.)  The Data Element Contents
  3896.                 is the product of the encryption process.
  3897.  
  3898.  
  3899.                  +--------+---//---+---//---+--------//--------+
  3900.                  |P1000111|Lxxxxxxx|Qxxxxxxx|Bit-String Element|
  3901.                  +--------+---//---+---//---+--------//--------+
  3902.  
  3903.  
  3904.       End-of-Constructor       (BASIC)        01        001 
  3905.                                                 16         8
  3906.                 primitive
  3907.  
  3908.                 This data element terminates the Data Element  Contents
  3909.                 in  a  constructor  data  element  that  has indefinite
  3910.                 length.  This data element has no  Contents  component.
  3911.                 (Use of this element is described in Section 4.2.2.1.)
  3912.  
  3913.  
  3914.                  +--------+---//---+
  3915.                  |P0000001|Lxxxxxxx|
  3916.                  +--------+---//---+
  3917.  
  3918.  
  3919.       Extension                (OPTIONAL)     7E        176 
  3920.                                                 16         8
  3921.                 constructor
  3922.  
  3923.                 This  data  element  is  used  to  extend the number of
  3924.                 available  data  elements  beyond  the  128  that   are
  3925.                 possible   using  a  7-bit  identifier.    A  Qualifier
  3926.                 component extends the encoding space  for  identifiers.
  3927.                 (Extension and Vendor-Defined have the same syntax.)
  3928.  
  3929.  
  3930.                  +--------+---//---+---//---+---//---+
  3931.                  |P1111110|Lxxxxxxx|Qxxxxxxx|Anything|
  3932.                  +--------+---//---+---//---+---//---+
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.                                      60                          
  3939.  
  3940.                                                              Appendix B
  3941.  
  3942.  
  3943.  
  3944.       Field                    (BASIC)        4C        114 
  3945.                                                 16         8
  3946.                 constructor
  3947.  
  3948.                 This   data  element  uses  a  Qualifier  data  element
  3949.                 component.  The Qualifier component  contains  a  Field
  3950.                 Identifier  (FID)  indicating  which  specific field is
  3951.                 being represented.  (See Section 4.3.2.)
  3952.  
  3953.  
  3954.                  +--------+---//---+---//---+---//---+
  3955.                  |P1001100|Lxxxxxxx|Qxxxxxxx|elements|
  3956.                  +--------+---//---+---//---+---//---+
  3957.  
  3958.  
  3959.       Integer                  (OPTIONAL)     20        040 
  3960.                                                 16         8
  3961.                 primitive
  3962.  
  3963.                 This data element contains a 2's complement integer  of
  3964.                 variable  length,  high  order  octet  first.    It  is
  3965.                 recommended that the data element contents be either  2
  3966.                 or 4 octets long whenever possible.
  3967.  
  3968.  
  3969.                  +--------+---//---+---//---+
  3970.                  |P0100000|Lxxxxxxx| Integer|
  3971.                  +--------+---//---+---//---+
  3972.  
  3973.  
  3974.       Message                  (BASIC)        4D        115 
  3975.                                                 16         8
  3976.                 constructor
  3977.  
  3978.                 This  data  element  may  contain Field or Message data
  3979.                 elements.  Its Qualifier component contains  a  Message
  3980.                 type  (MID)  indicating  the type of the message.  (See
  3981.                 Section 4.3.6.)  (The MID is completely different  from
  3982.                 the  message  identifier  in  the  Message-ID field and
  3983.                 should not be confused with it.)
  3984.  
  3985.  
  3986.                  +--------+---//---+---//---+
  3987.                  |P1001101|Lxxxxxxx|Qxxxxxxx|
  3988.                  +--------+---//---+---//---+
  3989.  
  3990.                  +--------//---------//---------//---------//--------+
  3991.                  | Field, Message, Encrypted, or Compressed Elements |
  3992.                  +--------//---------//---------//---------//--------+
  3993.  
  3994.  
  3995.  
  3996.  
  3997.                                      61                          
  3998.  
  3999.                                                              Appendix B
  4000.  
  4001.  
  4002.  
  4003.       No-Op                    (OPTIONAL)     00        000 
  4004.                                                 16         8
  4005.                 primitive
  4006.  
  4007.                 This data element does nothing.  No-Op is used whenever
  4008.                 it  is  necessary  to include a data element that means
  4009.                 "no operation".  It is a short placeholder.
  4010.  
  4011.  
  4012.                  +--------+---//---+
  4013.                  |P0000000|Lxxxxxxx|
  4014.                  +--------+---//---+
  4015.  
  4016.  
  4017.       Padding                  (OPTIONAL)     21        041 
  4018.                                                 16         8
  4019.                 primitive
  4020.  
  4021.                 This data element is used to fill any number of octets.
  4022.                 The contents of a Padding  element  are  undefined  and
  4023.                 convey no information.
  4024.  
  4025.  
  4026.                  +--------+---//---+---//---+
  4027.                  |P0100001|Lxxxxxxx|anything|
  4028.                  +--------+---//---+---//---+
  4029.  
  4030.  
  4031.       Property-List            (OPTIONAL)     24        044 
  4032.                                                 16         8
  4033.                 constructor
  4034.  
  4035.                 This  data  element  contains a series of Property data
  4036.                 elements to be associated with another data element.
  4037.  
  4038.  
  4039.                  +--------+---//---+-------//--------+
  4040.                  |P0100100|Lxxxxxxx|Property Elements|
  4041.                  +--------+---//---+-------//--------+
  4042.  
  4043.  
  4044.  
  4045.  
  4046.  
  4047.  
  4048.  
  4049.  
  4050.  
  4051.  
  4052.  
  4053.  
  4054.  
  4055.  
  4056.                                      62                          
  4057.  
  4058.                                                              Appendix B
  4059.  
  4060.  
  4061.  
  4062.       Property                 (OPTIONAL)     45        105 
  4063.                                                 16         8
  4064.                 constructor
  4065.  
  4066.                 This   data  element  uses  a  Qualifier  data  element
  4067.                 component.      The   Qualifier   component    contains
  4068.                 a  Property-Identifier (PID) to indicate which specific
  4069.                 property is being represented.  (See Section 4.3.3.)
  4070.  
  4071.  
  4072.                  +--------+---//---+---//---+---//---+
  4073.                  |P1000101|Lxxxxxxx|Qxxxxxxx|elements|
  4074.                  +--------+---//---+---//---+---//---+
  4075.  
  4076.  
  4077.       Sequence                 (OPTIONAL)     0A        012 
  4078.                                                 16         8
  4079.                 constructor
  4080.  
  4081.                 This data element contains any series of data elements.
  4082.                 Sequence  differs  from  Set  in that the data elements
  4083.                 making up the Data Element Contents must be  considered
  4084.                 as  an  ordered  sequence  (according to their order of
  4085.                 appearance in the sequence.)
  4086.  
  4087.  
  4088.                  +--------+---//---+---//---+
  4089.                  |P0001010|Lxxxxxxx|elements|
  4090.                  +--------+---//---+---//---+
  4091.  
  4092.  
  4093.       Set                      (OPTIONAL)     0B        013 
  4094.                                                 16         8
  4095.                 constructor
  4096.  
  4097.                 This data element contains any series of data  elements
  4098.                 with  no  ordering  of the elements implied.  (Sequence
  4099.                 provides  an  ordered  series.)    Although  the   data
  4100.                 elements   contained   in   a   Set   must   be  stored
  4101.                 sequentially, the order in which they are stored is not
  4102.                 defined and not processed.
  4103.  
  4104.  
  4105.                  +--------+---//---+---//---+
  4106.                  |P0001011|Lxxxxxxx|elements|
  4107.                  +--------+---//---+---//---+
  4108.  
  4109.  
  4110.  
  4111.  
  4112.  
  4113.  
  4114.  
  4115.                                      63                          
  4116.  
  4117.                                                              Appendix B
  4118.  
  4119.  
  4120.  
  4121.       Unique-ID                (OPTIONAL)     09        011 
  4122.                                                 16         8
  4123.                 constructor
  4124.  
  4125.                 This  data element is a unique identifier.  It need not
  4126.                 be human-readable.  The Data Element Contents may be an
  4127.                 ASCII-String, a Bit-String, or an Integer.
  4128.  
  4129.  
  4130.                  +--------+---//---+---//---+
  4131.                  |P0001001|Lxxxxxxx| element|
  4132.                  +--------+---//---+---//---+
  4133.  
  4134.  
  4135.       Vendor-Defined           (OPTIONAL)     7F        177 
  4136.                                                 16         8
  4137.                 constructor
  4138.  
  4139.                 This data element is used to  represent  vendor-defined
  4140.                 data  elements.    A  Qualifier  component  extends the
  4141.                 encoding  space  for  identifiers.      The   Qualifier
  4142.                 component  is  not  guaranteed  to  be unique among all
  4143.                 interconnected ems.     This   data   element   is
  4144.                 interpreted   according   to  prior  agreement  between
  4145.                 systems.  (Extension and Vendor-Defined  data  elements
  4146.                 have the same syntax.)
  4147.  
  4148.  
  4149.                  +--------+---//---+---//---+---//---+
  4150.                  |P1111111|Lxxxxxxx|Qxxxxxxx|Anything|
  4151.                  +--------+---//---+---+---//---+
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  
  4166.  
  4167.  
  4168.  
  4169.  
  4170.  
  4171.  
  4172.  
  4173.  
  4174.                                      64                          
  4175.  
  4176.                                                              Appendix C
  4177.  
  4178.  
  4179.  
  4180.                                  APPENDIX C
  4181.                        DATA ELEMENT IDENTIFIER OCTETS
  4182.  
  4183.  
  4184.  
  4185.  
  4186.        Identifier  Identifier Data Element Name
  4187.  
  4188.       00          000         No-Op
  4189.       01          001         End-of-Constructor
  4190.       02          002         ASCII-String
  4191.       08          010         Boolean
  4192.       09          011         Unique-ID
  4193.       0A          012         Sequence
  4194.       0B          013         Set
  4195.       20          040         Integer
  4196.       21          041         Padding
  4197.       24          044         Property-List
  4198.       28          050         Date
  4199.       43          103         Bit-String
  4200.       45          105         Property
  4201.       46          106         Compressed
  4202.       47          107         Encrypted
  4203.       4C          114         Field
  4204.       4D          115         Message
  4205.       7E          176         Extension
  4206.       7F          177         Vendor-Defined
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214.  
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220.  
  4221.  
  4222.  
  4223.  
  4224.  
  4225.  
  4226.  
  4227.  
  4228.  
  4229.  
  4230.  
  4231.  
  4232.  
  4233.                                      65                          
  4234.  
  4235.                                                              Appendix D
  4236.  
  4237.  
  4238.  
  4239.                                  APPENDIX D
  4240.               SUMMARY OF MESSAGE FIELDS BY COMPLIANCE CATEGORY
  4241.  
  4242.  
  4243.  
  4244.  
  4245.            This  appendix  is  for  reference  use.  It contains no new
  4246.       information, but rather abstracts from that presented in  Section
  4247.       3.1.
  4248.  
  4249.            This  appendix  contains  the  message  field names arranged
  4250.       alphabetically within compliance category.   (Appendix  E  orders
  4251.       the  field  names  within  functional  category.)  Complete field
  4252.       definitions appear in Appendix A.
  4253.  
  4254.            Required fields must appear in a message.  Basic fields must
  4255.       be recognized and processed by all CBM systems.  Optional  fields
  4256.       need  not  be  supported  by  a  CBMS  but, if supported, must be
  4257.       processed according to the meanings defined by the message format
  4258.       specification.
  4259.  
  4260.  
  4261.  
  4262.       D.1  REQUIRED Fields
  4263.  
  4264.  
  4265.       From
  4266.       Posted-Date
  4267.       To
  4268.  
  4269.  
  4270.  
  4271.       D.2  BASIC Fields
  4272.  
  4273.  
  4274.       Cc
  4275.       Reply-To
  4276.       Subject
  4277.       Text
  4278.  
  4279.  
  4280.  
  4281.       D.3  OPTIONAL Fields
  4282.  
  4283.  
  4284.       Attachments
  4285.       Author
  4286.       Bcc
  4287.       Circulate-Next
  4288.       Circulate-To
  4289.       Comments
  4290.  
  4291.  
  4292.                                      66                          
  4293.  
  4294.                                                              Appendix D
  4295.  
  4296.  
  4297.  
  4298.       Date
  4299.       End-Date
  4300.       In-Reply-To
  4301.       Keywords
  4302.       Message-Class
  4303.       Message-ID
  4304.       Obsoletes
  4305.       Originator-Serial-Number
  4306.       Precedence
  4307.       Received-Date
  4308.       Received-From
  4309.       References
  4310.       Reissue-Type
  4311.       Sender
  4312.       Start-Date
  4313.       Warning-Date
  4314.  
  4315.  
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321.  
  4322.  
  4323.  
  4324.  
  4325.  
  4326.  
  4327.  
  4328.  
  4329.  
  4330.  
  4331.  
  4332.  
  4333.  
  4334.  
  4335.  
  4336.  
  4337.  
  4338.  
  4339.  
  4340.  
  4341.  
  4342.  
  4343.  
  4344.  
  4345.  
  4346.  
  4347.  
  4348.  
  4349.  
  4350.  
  4351.                                      67                          
  4352.  
  4353.                                                              Appendix E
  4354.  
  4355.  
  4356.  
  4357.                                  APPENDIX E
  4358.                   SUMMARY OF MESSAGE SEMANTICS BY FUNCTION
  4359.  
  4360.  
  4361.  
  4362.  
  4363.            This  appendix  is  for  reference  use.  It contains no new
  4364.       information, but rather abstracts from that presented in  Section
  4365.       3.1.
  4366.  
  4367.            This  appendix  contains  the  message  field names arranged
  4368.       alphabetically within functional class.  (Appen  orders  the
  4369.       field names within compliance class.)  Complete field definitions
  4370.       appear in Appendix A.
  4371.  
  4372.  
  4373.  
  4374.       E.1  Circulation
  4375.  
  4376.  
  4377.       Circulate-Next
  4378.       Circulate-To
  4379.  
  4380.  
  4381.  
  4382.       E.2  Cross Referencing
  4383.  
  4384.  
  4385.       In-Reply-To
  4386.       Message-ID
  4387.       Obsoletes
  4388.       Originator-Serial-Number
  4389.       References
  4390.  
  4391.  
  4392.  
  4393.       E.3  Life spans
  4394.  
  4395.  
  4396.       End-Date
  4397.       Start-Date
  4398.       Warning-Date
  4399.  
  4400.  
  4401.  
  4402.       E.4  Delivery System
  4403.  
  4404.  
  4405.       Received-Date
  4406.       Received-From
  4407.  
  4408.  
  4409.  
  4410.                                      68                          
  4411.  
  4412.                                                              Appendix E
  4413.  
  4414.  
  4415.  
  4416.       E.5  Miscellaneous Fields Used Generally
  4417.  
  4418.  
  4419.       Attachments
  4420.       Comments
  4421.       Keywords
  4422.       Message-Class
  4423.       Precedence
  4424.       Subject
  4425.       Text
  4426.  
  4427.  
  4428.  
  4429.       E.6  Reply Generation
  4430.  
  4431.  
  4432.       Reply-To
  4433.  
  4434.  
  4435.  
  4436.       E.7  Reissuing
  4437.  
  4438.  
  4439.       Reissue-Type
  4440.  
  4441.  
  4442.  
  4443.       E.8  Sending (Normal Transmission)
  4444.  
  4445.  
  4446.       Author
  4447.       Bcc
  4448.       Cc
  4449.       Date
  4450.       From
  4451.       Posted-Date
  4452.       Sender
  4453.       To
  4454.  
  4455.  
  4456.  
  4457.  
  4458.  
  4459.  
  4460.  
  4461.  
  4462.  
  4463.  
  4464.  
  4465.  
  4466.  
  4467.  
  4468.  
  4469.                                      69                          
  4470.  
  4471.                                                              Appendix F
  4472.  
  4473.  
  4474.  
  4475.                                  APPENDIX F
  4476.                        SUMMARY OF DATA ELEMENT SYNTAX
  4477.  
  4478.  
  4479.  
  4480.  
  4481.            This  appendix summarizes data element syntax by diagramming
  4482.       the components of data elements.  Detailed presentation  of  data
  4483.       element syntax appears in Section 4.3.1.
  4484.  
  4485.            In  these  diagrams,  required  components of a data element
  4486.       appear as follows.  (The double border signifies "required".)
  4487.  
  4488.  
  4489.                 +========+        +===//===+
  4490.                 |        |        |        |
  4491.                 +========+        +===//===+
  4492.                 always one        one or more
  4493.                 octet long        octets long
  4494.  
  4495.  
  4496.            Optional components of  data  elements  are  represented  as
  4497.       follows.  (The single border signifies "not required".)
  4498.  
  4499.  
  4500.                 +--------+        +---//---+
  4501.                 |        |        |        |
  4502.                 +--------+        +---//---+
  4503.                 always one        one or more
  4504.                 octet long        octets long
  4505.  
  4506.  
  4507.            The  first  octet in a data element is the identifier octet.
  4508.       In diagrams of data elements, all eight bits  of  the  identifier
  4509.       octet  are  always  shown.  Bits with fixed values show the fixed
  4510.       values as 1s and 0s.  Bits with variable values are shown as  x's
  4511.       and y's.
  4512.  
  4513.            The  first  bit  in  an  identifier octet is the P-bit.  Its
  4514.       value indicates whether a data element contains a property  list.
  4515.       (A  P-bit  value of 1 indicates the presence of a property list.)
  4516.       The remaining seven bits contain the rest of the identifier.
  4517.  
  4518.            Other octets in  a  data  element  belong  to  one  of  four
  4519.       classes, Length Code, Qualifier, Property-List, and Contents.  In
  4520.       diagrams  of  syntax  the  data  element  components  are labeled
  4521.       according to their class.
  4522.  
  4523.  
  4524.  
  4525.  
  4526.  
  4527.  
  4528.                                      70                          
  4529.  
  4530.                                                              Appendix F
  4531.  
  4532.  
  4533.  
  4534.            Component Class             Label
  4535.  
  4536.           Length code                  Length
  4537.           Qualifier                    Qual
  4538.           Property-List                P-List
  4539.           Contents                     Contents
  4540.  
  4541.  
  4542.            Data elements must follow this form.
  4543.  
  4544.  
  4545.                 +========+===//===+---//---+---//---+---//---+
  4546.                 |Pxxxxxxx| Length |  Qual  | P-List |contents|
  4547.                 +========+===//===+---//---+---//---+---//---+
  4548.  
  4549.  
  4550.       The  value  of the Length component is the total number of octets
  4551.       following the length code octet in the data element.
  4552.  
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564.  
  4565.  
  4566.  
  4567.  
  4568.  
  4569.  
  4570.  
  4571.  
  4572.  
  4573.  
  4574.  
  4575.  
  4576.  
  4577.  
  4578.  
  4579.  
  4580.  
  4581.  
  4582.  
  4583.  
  4584.  
  4585.  
  4586.  
  4587.                                      71                          
  4588.  
  4589.                                                              Appendix G
  4590.  
  4591.  
  4592.  
  4593.                                  APPENDIX G
  4594.                SUMMARY OF DATA ELEMENTS BY COMPLIANCE CATEGORY
  4595.  
  4596.  
  4597.  
  4598.  
  4599.            Compliance  categories  for syntactic elements are basic and
  4600.       optional.  Every CBMS is required to recognize and process  basic
  4601.       elements.    A  CBMS is not required to process optional elements
  4602.       although many are strongly recommended by the semantics.
  4603.  
  4604.            This appendix  summarizes  data  elements  by  listing  them
  4605.       according to their compliance category.
  4606.  
  4607.  
  4608.  
  4609.       G.1  BASIC Data Elements
  4610.  
  4611.  
  4612.       ASCII-String             (primitive)    02        002 
  4613.                                                 16         8
  4614.       Date                     (constructor)  28        050 
  4615.                                                 16         8
  4616.       End-Of-Constructor       (primitive)    01        001 
  4617.                                                 16         8
  4618.       Field                    (constructor)  4C        114 
  4619.                                                 16         8
  4620.       Message                  (constructor)  4D        115 
  4621.                                                 16         8
  4622.  
  4623.  
  4624.       G.2  OPTIONAL Data Elements
  4625.  
  4626.  
  4627.       Bit-String               (primitive)    43        103 
  4628.                                                 16         8
  4629.       Boolean                  (primitive)    08        010 
  4630.                                                 16         8
  4631.       Compressed               (constructor)  46        106 
  4632.                                                 16         8
  4633.       Encrypted                (constructor)  47        107 
  4634.                                                 16         8
  4635.       Extension                (constructor)  7E        176 
  4636.                                                 16         8
  4637.       Integer                  (primitive)    20        040 
  4638.                                                 16         8
  4639.       No-Op                    (primitive)    00        000 
  4640.                                                 16         8
  4641.       Padding                  (primitive)    21        041 
  4642.                                                 16         8
  4643.  
  4644.  
  4645.  
  4646.                                      72                          
  4647.  
  4648.                                                              Appendix G
  4649.  
  4650.  
  4651.  
  4652.       Property                 (constructor)  45        105 
  4653.                                                 16         8
  4654.       Property-List            (constructor)  24        044 
  4655.                                                 16         8
  4656.       Sequence                 (constructor)  0A        012 
  4657.                                                 16         8
  4658.       Set                      (constructor)  0B        013 
  4659.                                                 16         8
  4660.       Unique-ID                (constructor)  09        011 
  4661.                                                 16         8
  4662.       Vendor-Defined           (constructor)  7F        377 
  4663.                                                 16         8
  4664.  
  4665.  
  4666.  
  4667.  
  4668.  
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674.  
  4675.  
  4676.  
  4677.  
  4678.  
  4679.  
  4680.  
  4681.  
  4682.  
  4683.  
  4684.  
  4685.  
  4686.  
  4687.  
  4688.  
  4689.  
  4690.  
  4691.  
  4692.  
  4693.  
  4694.  
  4695.  
  4696.  
  4697.  
  4698.  
  4699.  
  4700.  
  4701.  
  4702.  
  4703.  
  4704.  
  4705.                                      73                          
  4706.  
  4707.                                                              Appendix H
  4708.  
  4709.  
  4710.  
  4711.                                  APPENDIX H
  4712.                                   EXAMPLES
  4713.  
  4714.  
  4715.  
  4716.  
  4717.            This  appendix presents at least one example for each of the
  4718.       data elements defined in this message format specification.    In
  4719.       these examples, identifier octets are represented in binary form.
  4720.       All  other  numbers  are presented in hexadecimal.  ASCII strings
  4721.       are   shown   as   characters   rather   than   their   numerical
  4722.       representation.   Although this message format specification does
  4723.       not define the syntax of names and addresses, message originators
  4724.       and recipients are identified by their  names.    This  does  not
  4725.       imply  anything  about how naming and addressing can or should be
  4726.       done;  it  is  simply  a  convenient  way  to  identify   message
  4727.       originators and recipients in these examples.
  4728.  
  4729.  
  4730.  
  4731.       H.1  Primitive Data Elements
  4732.  
  4733.  
  4734.            This  section  contains  an example of each of the primitive
  4735.       data elements.  Each example contains a short explanation  and  a
  4736.       series of octets.
  4737.            No-Op data element:
  4738.  
  4739.  
  4740.            +--------+--------+
  4741.            |00000000|00000000|
  4742.            +--------+--------+
  4743.  
  4744.  
  4745.  
  4746.  
  4747.  
  4748.            End-of-Constructor data element:
  4749.  
  4750.  
  4751.            +--------+--------+
  4752.            |00000001|00000000|
  4753.            +--------+--------+
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.  
  4764.                                      74                          
  4765.  
  4766.                                                              Appendix H
  4767.  
  4768.  
  4769.  
  4770.            Boolean data element whose value is true:
  4771.  
  4772.  
  4773.            +--------+--------+--------+
  4774.            |00001000|00000001|11111111|
  4775.            +--------+--------+--------+
  4776.  
  4777.  
  4778.  
  4779.  
  4780.  
  4781.            Integer  data  element  containing five octets of data.  Its
  4782.       value is 4,294,967,296 (decimal):
  4783.  
  4784.  
  4785.            +--------+--------+--------+--------+--------+
  4786.            |00100000|  0   5 |  0   1    0   0    0   0
  4787.            +--------+--------+--------+--------+--------+
  4788.  
  4789.                     +--------+--------+
  4790.                        0   0    0   0 |
  4791.                     +--------+--------+
  4792.  
  4793.  
  4794.  
  4795.  
  4796.  
  4797.            Padding data element containing  three  octets  of  padding.
  4798.       The values of those three octets are meaningless:
  4799.  
  4800.  
  4801.            +--------+--------+--------+--------+--------+
  4802.            |00100001|  0   3 |  F   F    F   F    F   F |
  4803.            +--------+--------+--------+--------+--------+
  4804.  
  4805.  
  4806.  
  4807.  
  4808.  
  4809.            ASCII-String  data  element containing nine characters.  Its
  4810.       value is "Hi There.":
  4811.  
  4812.  
  4813.            +--------+--------+---- ----+
  4814.            |00000010|  0   9 |Hi There.|
  4815.            +--------+--------+---- ----+
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.  
  4823.                                      75                          
  4824.  
  4825.                                                              Appendix H
  4826.  
  4827.  
  4828.  
  4829.            Bit-String data element containing 44 bits of data (((7-1) x
  4830.       8)  - 4).  Six octets are used to hold those 44 bits.  The last 4
  4831.       bits in the final octet are padding and are therefore ignored.
  4832.  
  4833.  
  4834.            Bit-String  Length   Spare
  4835.            +--------+--------+--------+--------+--------+
  4836.            |01000011|  0   7 |  0   4 |  0   A    3   B
  4837.            +--------+--------+--------+--------+--------+
  4838.  
  4839.                     +--------+--------+--------+--------+
  4840.                        5   F    2   9    1   C    D   0 |
  4841.                     +--------+--------+--------+--------+
  4842.  
  4843.  
  4844.  
  4845.  
  4846.  
  4847.       H.2  Constructor Data Elements
  4848.  
  4849.  
  4850.            This section contains an example of each of the  constructor
  4851.       data  elements.    Each  example contains a short explanation and
  4852.       then an annotated series of  the  data  elements  making  up  the
  4853.       constructor.
  4854.            Property-List  data  element  containing  one  Property data
  4855.       element.    The  property  is  Printing-Name  and  its  value  is
  4856.       "Distribution":
  4857.  
  4858.  
  4859.            Prop-List  Length  Property  Length    PID
  4860.            +--------+--------+--------+--------+--------+
  4861.            |00100100|  1   1 |01000101|  0   F |  0   2 |
  4862.            +--------+--------+--------+--------+--------+
  4863.  
  4864.                       ASCII    Length
  4865.                     +--------+--------+----    ----+
  4866.                     |00000010|  0   C |Distribution|
  4867.                     +--------+--------+----    ----+
  4868.  
  4869.  
  4870.  
  4871.  
  4872.  
  4873.  
  4874.  
  4875.  
  4876.  
  4877.  
  4878.  
  4879.  
  4880.  
  4881.  
  4882.                                      76                          
  4883.  
  4884.                                                              Appendix H
  4885.  
  4886.  
  4887.  
  4888.            Printing-Name  Property.   The value of the Printing-Name is
  4889.       "Distribution":
  4890.  
  4891.  
  4892.             Property  Length    PID     ASCII    Length
  4893.            +--------+--------+--------+--------+--------+
  4894.            |01000101|  0   F |  0   2 |00000010|  0   C |
  4895.            +--------+--------+--------+--------+--------+
  4896.  
  4897.                     +----    ----+
  4898.                     |Distribution|
  4899.                     +----    ----+
  4900.  
  4901.  
  4902.  
  4903.  
  4904.  
  4905.            Compressed data element.  Its contents were compressed using
  4906.       an as-yet-undefined NBS standard data compression algorithm.  The
  4907.       compressed data is in a bit-string that is 56  bits  long,  fully
  4908.       filling 7 octets:
  4909.  
  4910.  
  4911.            Compressed  Length   CID   Bit-String  Length
  4912.            +--------+--------+--------+--------+--------+
  4913.            |01000110|  0   B |  0   1 |01000011|  0   8 |
  4914.            +--------+--------+--------+--------+--------+
  4915.  
  4916.                        Spare
  4917.                     +--------+--------+--------+--------+
  4918.                     |  0   0 |  1   C    5   F    2   D
  4919.                     +--------+--------+--------+--------+
  4920.  
  4921.                     +--------+--------+--------+--------+
  4922.                        7   7    B   A    F   6    2   9 |
  4923.                     +--------+--------+--------+--------+
  4924.  
  4925.  
  4926.  
  4927.  
  4928.  
  4929.  
  4930.  
  4931.  
  4932.  
  4933.  
  4934.  
  4935.  
  4936.  
  4937.  
  4938.  
  4939.  
  4940.  
  4941.                                      77                          
  4942.  
  4943.                                                              Appendix H
  4944.  
  4945.  
  4946.  
  4947.            Encrypted  data  element.    The  encryption  method used to
  4948.       encrypt its contents has been intentionally not specified.   This
  4949.       element contains a Bit-String which contains 22 bits (((4-1) x 8)
  4950.       - 2) of data.  These 22 bits are represented in octets; the final
  4951.       2 bits in the final octet are padding and are therefore ignored:
  4952.  
  4953.  
  4954.            Encrypted   Length   EID   Bit-String  Length
  4955.            +--------+--------+--------+--------+--------+
  4956.            |01000111|  0   7 |  0   0 |01000011|  0   4 |
  4957.            +--------+--------+--------+--------+--------+
  4958.  
  4959.                        Spare
  4960.                     +--------+--------+--------+--------+
  4961.                     |  0   2 |  A   3    7   8    1   C |
  4962.                     +--------+--------+--------+--------+
  4963.  
  4964.  
  4965.  
  4966.  
  4967.  
  4968.            Date  data  element.    This  example includes a date but no
  4969.       time.  The date shown in this example is August 15, 1980:
  4970.  
  4971.  
  4972.              Date     Length   ASCII    Length
  4973.            +--------+--------+--------+--------+---  ---+
  4974.            |00101000|  0   A |00000010|  0   8 |19800815|
  4975.            +--------+--------+--------+--------+---  ---+
  4976.  
  4977.  
  4978.  
  4979.  
  4980.  
  4981.            Unique-ID data element, which is represented as  an  Integer
  4982.       data element whose value is 129 (decimal).
  4983.  
  4984.  
  4985.            Unique-ID  Length   Integer  Length
  4986.            +--------+--------+--------+--------+--------+--------+
  4987.            |00001001|  0   4 |00100000|  0   2 |  0   0    8   1 |
  4988.            +--------+--------+--------+--------+--------+--------+
  4989.  
  4990.  
  4991.  
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  
  4998.  
  4999.  
  5000.                                      78                          
  5001.  
  5002.                                                              Appendix H
  5003.  
  5004.  
  5005.  
  5006.            Sequence  data  element  containing  two  ASCII-String  data
  5007.       elements.  The first ASCII-String is "This is" while  the  second
  5008.       string is " a list":
  5009.  
  5010.  
  5011.             Sequence  Length   ASCII    Length
  5012.            +--------+--------+--------+--------+--- ---+
  5013.            |00001010|  1   2 |00000010|  0   7 |This is|
  5014.            +--------+--------+--------+--------+--- ---+
  5015.  
  5016.                       ASCII    Length
  5017.                     +--------+--------+--- ---+
  5018.                     |00000010|  0   7 | a list|
  5019.                     +--------+--------+--- ---+
  5020.  
  5021.  
  5022.  
  5023.  
  5024.  
  5025.            Set  data element containing two Integer data elements.  The
  5026.       first integer has a value of 519 (decimal) while the value of the
  5027.       second is 71 (decimal).    (These  two  value  have  no  ordering
  5028.       because they belong to a set.)
  5029.  
  5030.  
  5031.               Set     Length   Integer  Length
  5032.            +--------+--------+--------+--------+--------+--------+
  5033.            |00001011|  0   8 |00100000|  0   2 |  0   2    0   7 |
  5034.            +--------+--------+--------+--------+--------+--------+
  5035.  
  5036.                       Integer  Length
  5037.                     +--------+--------+--------+--------+
  5038.                     |00100000|  0   2 |  0   0    4   7 |
  5039.                     +--------+--------+--------+--------+
  5040.  
  5041.  
  5042.  
  5043.  
  5044.  
  5045.            Field  data  element.   The specific field shown is the Text
  5046.       field with the contents "I will see you at lunch.":
  5047.  
  5048.  
  5049.              Field    Length    FID      ASCII   Length
  5050.            +--------+--------+--------+--------+--------+
  5051.            |01001100|  1   B |  0   4 |00000010|  1   8 |
  5052.            +--------+--------+--------+--------+--------+
  5053.  
  5054.                     +----                ----+
  5055.                     |I will see you at lunch.|
  5056.                     +----                ----+
  5057.  
  5058.  
  5059.                                      79                          
  5060.  
  5061.                                                              Appendix H
  5062.  
  5063.  
  5064.  
  5065.            Message containing four fields, Posted-Date, From, Text, and
  5066.       To.  It was sent on July 4, 1980 at 6 p.m. eastern daylight time.
  5067.       It  is  from  a person named Smith.  The text of the message is a
  5068.       question asking  the  recipient  "Are  you  going  to  watch  the
  5069.       fireworks?".  The message is sent to Jones:
  5070.  
  5071.  
  5072.             Message   Length    Type    Field    Length
  5073.            +--------+--------+--------+--------+--------+
  5074.            |01001101|  5   8 |  0   1 |01001100|  1   7 |
  5075.            +--------+--------+--------+--------+--------+
  5076.  
  5077.                        FID      Date    Length   ASCII
  5078.                     +--------+--------+--------+--------+
  5079.                     |  0   2 |00101000|  1   4 |00000010|
  5080.                     +--------+--------+--------+--------+
  5081.  
  5082.                       Length
  5083.                     +--------+----          ----+
  5084.                     |  1   2 |19800704-180000EDT|
  5085.                     +--------+----          ----+
  5086.  
  5087.  
  5088.                       Field    Length    FID     ASCII
  5089.                     +--------+--------+--------+--------+
  5090.                     |01001100|  0   8 |  0   1 |00000010|
  5091.                     +--------+--------+--------+--------+
  5092.  
  5093.                       Length
  5094.                     +--------+-- --+
  5095.                     |  0   5 |Smith|
  5096.                     +--------+-- --+
  5097.  
  5098.                        Field   Length    FID     ASCII
  5099.                     +--------+--------+--------+--------+
  5100.                     |01001100|  2   8 |  0   4 |00000010|
  5101.                     +--------+--------+--------+--------+
  5102.  
  5103.                       Length
  5104.                     +--------+
  5105.                     |  2   5 |
  5106.                     +--------+
  5107.  
  5108.                     +----                             ----+
  5109.                     |Are you going to watch the fireworks?|
  5110.                     +----                             ----+
  5111.  
  5112.                       Field    Length    FID     ASCII
  5113.                     +--------+--------+--------+--------+
  5114.                     |01001100|  0   8 |  0   5 |00000010|
  5115.                     +--------+--------+--------+--------+
  5116.  
  5117.  
  5118.                                      80                          
  5119.  
  5120.                                                              Appendix H
  5121.  
  5122.  
  5123.  
  5124.  
  5125.                       Length
  5126.                     +--------+-- --+
  5127.                     |  0   5 |Jones|
  5128.                     +--------+-- --+
  5129.  
  5130.  
  5131.  
  5132.  
  5133.  
  5134.            Extension  data  element  containing  a  length  code  and 3
  5135.       octets.    The  octet  immediately  following  the  length   code
  5136.       identifies  it  as  Extension  Data  Element 7.  The Data Element
  5137.       Contents is the final two octets.  The interpretation of the Data
  5138.       Element Contents would be defined in an extension or successor to
  5139.       this message format specification.  [Note: this  is  an  example.
  5140.       Any  actual extension data element 7 (if it were ever used) would
  5141.       be completely different from anything done here.]:
  5142.  
  5143.  
  5144.            Extension  Length
  5145.            +--------+--------+--------+--------+--------+
  5146.            |01111110|  0   3 |  0   7 |  4   A    E   9 |
  5147.            +--------+--------+--------+--------+--------+
  5148.  
  5149.  
  5150.  
  5151.  
  5152.  
  5153.            Vendor-Defined data element containing a length code  and  3
  5154.       octets.    The first octet identifies this as vendor-defined data
  5155.       element number 114 (decimal), which this  particular  vendor  has
  5156.       defined  to  contain  three  printable  ASCII  characters  in two
  5157.       octets.  (Data element 114 (decimal) for another  user  would  be
  5158.       completely  different.   For example, it might contain a floating
  5159.       point number.):
  5160.  
  5161.  
  5162.               User    Length
  5163.            +--------+--------+--------+--------+--------+
  5164.            |01111111|  0   3 |  7   2 |   P    O    E   |
  5165.            +--------+--------+--------+--------+--------+
  5166.  
  5167.  
  5168.  
  5169.       H.3  Fields
  5170.  
  5171.  
  5172.            This  section  contains  examples  of  Field  data   element
  5173.       constructors  for  each several different fields (Keywords, Text,
  5174.       Subject, Vendor-Defined).
  5175.  
  5176.  
  5177.                                      81                          
  5178.  
  5179.                                                              Appendix H
  5180.  
  5181.  
  5182.  
  5183.            Field  data  element  for keywords .  The field contains two
  5184.       keywords, Message and Computer, each represented  in  a  separate
  5185.       ASCII-string data element.
  5186.  
  5187.  
  5188.               Field   Length  Keywords   ASCII   Length
  5189.            +--------+--------+--------+--------+--------+
  5190.            |01001100|  1   4 |  1   4 |00000010|  0   7 |
  5191.            +--------+--------+--------+--------+--------+
  5192.  
  5193.                     +--- ---+
  5194.                     |Message|
  5195.                     +--- ---+
  5196.  
  5197.                       ASCII    Length
  5198.                     +--------+--------+---  ---+
  5199.                     |00000010|  0   8 |Computer|
  5200.                     +--------+--------+---  ---+
  5201.  
  5202.  
  5203.  
  5204.  
  5205.  
  5206.            Field  data  element  for  Text  with  a  Property-List data
  5207.       element containing a comment attached.  The text  field  contains
  5208.       the ASCII-String data element "Do you want lunch?"; the Property-
  5209.       List  data element contains a comment property, which consists of
  5210.       an ASCII-string data element containing "Now?":
  5211.  
  5212.  
  5213.              Field    Length   Text    Prop-List  Length
  5214.            +--------+--------+--------+--------+--------+
  5215.            |11001100|  2   0 |  0   4 |00100100|  0   9 |
  5216.            +--------+--------+--------+--------+--------+
  5217.  
  5218.                      Property  Length    PID     ASCII
  5219.                     +--------+--------+--------+--------+
  5220.                     |01000101|  0   7 |  0   1 |00000010|
  5221.                     +--------+--------+--------+--------+
  5222.  
  5223.                       Length
  5224.                     +--------+-  -+
  5225.                     |  0   4 |Now?|
  5226.                     +--------+-  -+
  5227.  
  5228.                       ASCII    Length
  5229.                     +--------+--------+----          ----+
  5230.                     |00000010|  1   2 |Do you want lunch?|
  5231.                     +--------+--------+----          ----+
  5232.  
  5233.  
  5234.  
  5235.  
  5236.                                      82                          
  5237.  
  5238.                                                              Appendix H
  5239.  
  5240.  
  5241.  
  5242.            Field  data  element  for Subject containing an ASCII-String
  5243.       data  element  ("Good  restaurants  in  Detroit"  followed  by  a
  5244.       carriage  return and a line feed).  (A recipient would expect the
  5245.       message to contain some  information  about  restaurants  in  the
  5246.       Detroit area.):
  5247.  
  5248.  
  5249.              Field    Length   Subject   ASCII   Length
  5250.            +--------+--------+--------+--------+--------+
  5251.            |01001100|  2   1 |  0   7 |00000010|  1   E |
  5252.            +--------+--------+--------+--------+--------+
  5253.  
  5254.                     +----                            ----+
  5255.                     |Good restaurants in Detroit.<cr><lf>|
  5256.                     +----                            ----+
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274.  
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289.  
  5290.  
  5291.  
  5292.  
  5293.  
  5294.  
  5295.                                      83                          
  5296.  
  5297.                                                              Appendix H
  5298.  
  5299.  
  5300.  
  5301.            Field  data  element whose form and meaning was defined by a
  5302.       vendor.    This  vendor  has  defined  vendor-defined  field   12
  5303.       (decimal)  to  be  a field with a printing name of "Reply-by" and
  5304.       contents consisting of a date; January  7,  1981  in  this  case.
  5305.       (The  meaning of vendor-defined field 12 is unique to the vendor;
  5306.       the same field number would  have  different  meaning  for  other
  5307.       vendors.):
  5308.  
  5309.  
  5310.              Field    Length  Qualifier   User   number
  5311.            +--------+--------+--------+--------+--------+
  5312.            |11001100|  1   F |  8   2 |  0   0    0   C |
  5313.            +--------+--------+--------+--------+--------+
  5314.  
  5315.                      Prop-List Length  Property  Length
  5316.                     +--------+--------+--------+--------+
  5317.                     |00100100|  0   E |01000101|  0   C |
  5318.                     +--------+--------+--------+--------+
  5319.  
  5320.                         PID    ASCII    Length
  5321.                     +--------+--------+--------+---- ----+
  5322.                     |  0   2 |00000010|  0   9 |Reply-By:|
  5323.                     +--------+--------+--------+---- ----+
  5324.  
  5325.                        Date    Length   ASCII    Length
  5326.                     +--------+--------+--------+--------+
  5327.                     |00101000|  0   A |00000010|  0   8 |
  5328.                     +--------+--------+--------+--------+
  5329.  
  5330.                     +---  ---+
  5331.                     |19810107|
  5332.                     +---  ---+
  5333.  
  5334.  
  5335.  
  5336.       H.4  Messages
  5337.  
  5338.  
  5339.            This  section contains several examples of complete messages
  5340.       and shows the results of  reissuing  a  message.    (See  Section
  5341.       3.2.2.)
  5342.  
  5343.  
  5344.  
  5345.  
  5346.  
  5347.  
  5348.  
  5349.  
  5350.  
  5351.  
  5352.  
  5353.  
  5354.                                      84                          
  5355.  
  5356.                                                              Appendix H
  5357.  
  5358.  
  5359.  
  5360.            The  following  sample message had Stevens as its originator
  5361.       and Johnson as its recipient.  The message was sent on August 14,
  5362.       1980 at 10 am EDT.   The  subject  of  the  message  is  "Project
  5363.       Deadline"  and the message is a reminder that the deadline is the
  5364.       next day and that the section of the report for the project being
  5365.       done by Johnson should be turned in to Stevens by 3 pm that day.
  5366.  
  5367.  
  5368.             Message       Length         Type
  5369.            +--------+--------+--------+--------+
  5370.            |01001101|  8   1 |  B   4 |  0   1 |
  5371.            +--------+--------+--------+--------+
  5372.  
  5373.               Field   Length    FID     ASCII
  5374.            +--------+--------+--------+--------+
  5375.            |01001100|  0   A |  0   5 |00000010|
  5376.            +--------+--------+--------+--------+
  5377.  
  5378.                       Length
  5379.                     +--------+--- ---+
  5380.                     |  0   7 |Johnson|
  5381.                     +--------+--- ---+
  5382.  
  5383.              Field    Length    FID      ASCII
  5384.            +--------+--------+--------+--------+
  5385.            |01001100|  0   A |  0   1 |00000010|
  5386.            +--------+--------+--------+--------+
  5387.  
  5388.                       Length
  5389.                     +--------+--- ---+
  5390.                     |  0   7 |Stevens|
  5391.                     +--------+--- ---+
  5392.  
  5393.              Field    Length    FID     ASCII    Length
  5394.            +--------+--------+--------+--------+--------+
  5395.            |01001100|  1   3 |  0   7 |00000010|  1   0 |
  5396.            +--------+--------+--------+--------+--------+
  5397.  
  5398.                     +----        ----+
  5399.                     |Project Deadline|
  5400.                     +----        ----+
  5401.  
  5402.              Field    Length    FID      Date    Length
  5403.            +--------+--------+--------+--------+--------+
  5404.            |01001100|  1   5 |  0   2 |00101000|  1   2 |
  5405.            +--------+--------+--------+--------+--------+
  5406.  
  5407.                       ASCII    Length
  5408.                     +--------+--------+----        ----+
  5409.                     |00000010|  1   0 |19800814-1000EDT|
  5410.                     +--------+--------+----        ----+
  5411.  
  5412.  
  5413.                                      85                          
  5414.  
  5415.                                                              Appendix H
  5416.  
  5417.  
  5418.  
  5419.  
  5420.              Field    Length    FID      ASCII   Length
  5421.            +--------+--------+--------+--------+--------+
  5422.            |01001100|  6   D |  0   4 |00000010|  6   A |
  5423.            +--------+--------+--------+--------+--------+
  5424.  
  5425.                     +----
  5426.                     |Don't forget the project report is
  5427.                     +----
  5428.  
  5429.                      due tomorrow.  Please have<CrLf>
  5430.  
  5431.                      your section to me by three this
  5432.  
  5433.                            ----+
  5434.                      afternoon.|
  5435.                            ----+
  5436.  
  5437.  
  5438.  
  5439.  
  5440.  
  5441.            The  following  example illustrates the results of reissuing
  5442.       the first message in this section.   This  message  contains  the
  5443.       original  message  (as  a  Message  data  element), To, From, and
  5444.       Posted-Date fields, and a Reissue-Type field  with  Redistributed
  5445.       as its value:
  5446.  
  5447.  
  5448.             Message       Length         Type
  5449.            +--------+--------+--------+--------+
  5450.            |01001101|  8   1 |  F   8 |  0   1 |
  5451.            +--------+--------+--------+--------+
  5452.  
  5453.               Field   Length    FID      ASCII
  5454.            +--------+--------+--------+--------+
  5455.            |01001100|  0   9 |  0   5 |00000010|
  5456.            +--------+--------+--------+--------+
  5457.  
  5458.                       Length
  5459.                     +--------+--  --+
  5460.                     |  0   6 |Cooper|
  5461.                     +--------+--  --+
  5462.  
  5463.              Field    Length    FID      ASCII
  5464.            +--------+--------+--------+--------+
  5465.            |01001100|  0   A |  0   1 |00000010|
  5466.            +--------+--------+--------+--------+
  5467.  
  5468.  
  5469.  
  5470.  
  5471.  
  5472.                                      86                          
  5473.  
  5474.                                                              Appendix H
  5475.  
  5476.  
  5477.  
  5478.  
  5479.                       Length
  5480.                     +--------+--- ---+
  5481.                     |  0   7 |Johnson|
  5482.                     +--------+--- ---+
  5483.  
  5484.              Field    Length    FID      Date    Length
  5485.            +--------+--------+--------+--------+--------+
  5486.            |01001100|  1   5 |  0   2 |00101000|  1   2 |
  5487.            +--------+--------+--------+--------+--------+
  5488.  
  5489.                        ASCII   Length
  5490.                     +--------+--------+----        ----+
  5491.                     |00000010|  1   0 |19800814-1030EDT|
  5492.                     +--------+--------+----        ----+
  5493.  
  5494.              Field    Length    FID      ASCII   Length
  5495.            +--------+--------+--------+--------+--------+
  5496.            |01001100|  1   0 |  2   5 |00000010|  0   D |
  5497.            +--------+--------+--------+--------+--------+
  5498.  
  5499.                     +----     ----+
  5500.                     |Redistributed|
  5501.                     +----     ----+
  5502.  
  5503.             Message       Length         Type
  5504.            +--------+--------+--------+--------+
  5505.            |01001101|  8   1 |  B   4 |  0   1 |
  5506.            +--------+--------+--------+--------+
  5507.  
  5508.               Field   Length    FID      ASCII
  5509.            +--------+--------+--------+--------+
  5510.            |01001100|  0   A |  0   5 |00000010|
  5511.            +--------+--------+--------+--------+
  5512.  
  5513.                       Length
  5514.                     +--------+--- ---+
  5515.                     |  0   7 |Johnson|
  5516.                     +--------+--- ---+
  5517.  
  5518.              Field    Length    FID      ASCII
  5519.            +--------+--------+--------+--------+
  5520.            |01001100|  0   A |  0   1 |00000010|
  5521.            +--------+--------+--------+--------+
  5522.  
  5523.                       Length
  5524.                     +--------+--- ---+
  5525.                     |  0   7 |Stevens|
  5526.                     +--------+--- ---+
  5527.  
  5528.  
  5529.  
  5530.  
  5531.                                      87                          
  5532.  
  5533.                                                              Appendix H
  5534.  
  5535.  
  5536.  
  5537.  
  5538.              Field    Length    FID     ASCII    Length
  5539.            +--------+--------+--------+--------+--------+
  5540.            |01001100|  1   3 |  0   7 |00000010|  1   0 |
  5541.            +--------+--------+--------+--------+--------+
  5542.  
  5543.                     +----        ----+
  5544.                     |Project Deadline|
  5545.                     +----        ----+
  5546.  
  5547.              Field    Length    FID      Date    Length
  5548.            +--------+--------+--------+--------+--------+
  5549.            |01001100|  1   5 |  0   2 |00101000|  1   2 |
  5550.            +--------+--------+--------+--------+--------+
  5551.  
  5552.                       ASCII    Length
  5553.                     +--------+--------+----        ----+
  5554.                     |00000010|  1   0 |19800814-1000EDT|
  5555.                     +--------+--------+----        ----+
  5556.  
  5557.              Field    Length    FID      ASCII   Length
  5558.            +--------+--------+--------+--------+--------+
  5559.            |01001100|  6   D |  0   4 |00000010|  6   A |
  5560.            +--------+--------+--------+--------+--------+
  5561.  
  5562.                     +----
  5563.                     |Don't forget the project report is
  5564.                     +----
  5565.  
  5566.                      due tomorrow.  Please have<CrLf>
  5567.  
  5568.                      your section to me by three this
  5569.  
  5570.                            ----+
  5571.                      afternoon.|
  5572.                            ----+
  5573.  
  5574.  
  5575.  
  5576.       H.5  Unknown Lengths
  5577.  
  5578.  
  5579.            This  section contains two examples of data elements with an
  5580.       unknown length.  The two examples have been presented in sections
  5581.       H.2 and H.4, but with a known rather than an unknown length.
  5582.  
  5583.  
  5584.  
  5585.  
  5586.  
  5587.  
  5588.  
  5589.  
  5590.                                      88                          
  5591.  
  5592.                                                              Appendix H
  5593.  
  5594.  
  5595.  
  5596.            Set  data  element  with  an  unknown  length containing two
  5597.       Integer data elements.  The first integer  has  a  value  of  519
  5598.       (decimal)  while the value of the second is 71 (decimal).  (These
  5599.       two value have no ordering because they belong to a set.)
  5600.  
  5601.  
  5602.               Set     Length   Integer  Length
  5603.            +--------+--------+--------+--------+--------+--------+
  5604.            |00001011|  8   0 |00100000|  0   2 |  0   2    0   7 |
  5605.            +--------+--------+--------+--------+--------+--------+
  5606.  
  5607.                       Integer  Length
  5608.                     +--------+--------+--------+--------+
  5609.                     |00100000|  0   2 |  0   0    4   7 |
  5610.                     +--------+--------+--------+--------+
  5611.  
  5612.                     End-of-Con Length
  5613.                     +--------+--------+
  5614.                     |00000000|00000000|
  5615.                     +--------+--------+
  5616.  
  5617.  
  5618.  
  5619.  
  5620.  
  5621.  
  5622.            The following sample message  with  an  unknown  length  had
  5623.       Stevens  as  its  originator  and  Johnson as its recipient.  The
  5624.       message was sent on August 14, 1980 at 10 am EDT.  The subject of
  5625.       the message is "Project Deadline" and the message is  a  reminder
  5626.       that  the  deadline  is  the next day and that the section of the
  5627.       report for the project being done by Johnson should be turned  in
  5628.       to Stevens by 3 pm that day.
  5629.  
  5630.  
  5631.             Message   Length    Type
  5632.            +--------+--------+--------+
  5633.            |01001101|  8   0 |  0   1 |        +--------+--------+--------+
  5634.  
  5635.               Field   Length    FID     ASCII
  5636.            +--------+--------+--------+--------+
  5637.            |01001100|  0   A |  0   5 |00000010|
  5638.            +--------+--------+--------+--------+
  5639.  
  5640.                       Length
  5641.                     +--------+--- ---+
  5642.                     |  0   7 |Johnson|
  5643.                     +------- ---+
  5644.  
  5645.  
  5646.  
  5647.  
  5648.                                      89                          
  5649.  
  5650.                                                              Appendix H
  5651.  
  5652.  
  5653.  
  5654.  
  5655.              Field    Length    FID      ASCII
  5656.            +--------+--------+--------+--------+
  5657.            |01001100|  0   A |  0   1 |00000010|
  5658.            +--------+--------+--------+--------+
  5659.  
  5660.                       Length
  5661.                     +--------+--- ---+
  5662.                     |  0   7 |Stevens|
  5663.                     +--------+--- ---+
  5664.  
  5665.              Field    Length    FID     ASCII    Length
  5666.            +--------+--------+--------+--------+--------+
  5667.            |01001100|  1   3 |  0   7 |00000010|  1   0 |
  5668.            +--------+--------+--------+--------+--------+
  5669.  
  5670.                     +----        ----+
  5671.                     |Project Deadline|
  5672.                     +----        ----+
  5673.  
  5674.              Field    Length    FID      Date    Length
  5675.            +--------+--------+--------+--------+--------+
  5676.            |01001100|  1   5 |  0   2 |00101000|  1   2 |
  5677.            +--------+--------+--------+--------+--------+
  5678.  
  5679.                       ASCII    Length
  5680.                     +--------+--------+----        ----+
  5681.                     |00000010|  1   0 |19800814-1000EDT|
  5682.                     +--------+--------+----        ----+
  5683.  
  5684.              Field    Length    FID      ASCII   Length
  5685.            +--------+--------+--------+--------+--------+
  5686.            |01001100|  6   D |  0   4 |00000010|  6   A |
  5687.            +--------+--------+--------+--------+--------+
  5688.  
  5689.                     +----
  5690.                     |Don't forget the project report is
  5691.                     +----
  5692.  
  5693.                      due tomorrow.  Please have<CrLf>
  5694.  
  5695.                      your section to me by three this
  5696.  
  5697.                            ----+
  5698.                      afternoon.|
  5699.                            ----+
  5700.  
  5701.                     End-of-Con Length
  5702.                     +--------+--------+
  5703.                     |00000000|00000000|
  5704.                     +--------+--------+
  5705.  
  5706.  
  5707.                                      90                          
  5708.  
  5709.  
  5710.  
  5711.  
  5712.  
  5713.  
  5714.  
  5715.  
  5716.  
  5717.  
  5718.  
  5719.  
  5720.  
  5721.  
  5722.  
  5723.  
  5724.  
  5725.  
  5726.  
  5727.  
  5728.  
  5729.  
  5730.  
  5731.  
  5732.  
  5733.  
  5734.  
  5735.  
  5736.  
  5737.  
  5738.  
  5739.  
  5740.  
  5741.  
  5742.  
  5743.  
  5744.  
  5745.  
  5746.  
  5747.  
  5748.  
  5749.  
  5750.  
  5751.  
  5752.  
  5753.  
  5754.  
  5755.  
  5756.  
  5757.  
  5758.  
  5759.  
  5760.  
  5761.  
  5762.  
  5763.  
  5764.  
  5765.  
  5766.                                      91                          
  5767.  
  5768.  
  5769.  
  5770.  
  5771.  
  5772.                                  REFERENCES
  5773.  
  5774.  
  5775.  
  5776.  
  5777.       [BlaR-80]
  5778.            R. P. Blanc and J. F. Heafner. The NBS Program in Computer
  5779.            Network Protocol Standards. In Proceedings, ICCC 80.  1980.
  5780.  
  5781.       [CroD-77]
  5782.            David H. Crocker, John J. Vittal, Kenneth T. Pogran,
  5783.            D. Austin Henderson, Jr. Standard for the Format of ARPA
  5784.            Network Text Messages. RFC 733, The Rand Corporation, Bolt
  5785.            Beranek and Newman Inc, Massachussets Institute of
  5786.            Technology, Bolt Beranek and Newman Inc., November, 1977.
  5787.  
  5788.       [FeiE-79]
  5789.            E. Feinler, J. Pickens, and A. Sjoberg. Computer Message
  5790.            Services Bibliography. Technical Report NIC-BIBLIO-791201,
  5791.            SRI International, December, 1979.
  5792.  
  5793.       [ISOD-79]
  5794.            ISO/TC97/SC6 Data Communications. Second Draft Proposed
  5795.            Communication Heading Format Standard. ISO/TC97/SC6 N 1948,
  5796.            ISO International Organization for Standardization
  5797.            Organization Internationale de Normalisation, September,
  5798.            1979. Secretariat: USA (ANSI).
  5799.  
  5800.       [ISOD-81]
  5801.            ISO/TC97/SC16. Open Systems Interconnection Basic Reference
  5802.            Model. ISO/TC97/SC16 N, ISO International Ozation for
  5803.            Standardization Organization Internationale de
  5804.            Normalisation, 1981.
  5805.  
  5806.       [NatB-68]
  5807.            National Bureau of Standards. Calendar Date. Federal
  5808.            Information Processing Standards Publication 4, U.S.
  5809.            Department of Commerce / National Bureau of Standards,
  5810.            November, 1968.
  5811.  
  5812.       [NatB-77]
  5813.            National Bureau of Standards. Data Encryption Standard.
  5814.            Federal Information Processing Standards Publication 46,
  5815.            U.S. Department of Commerce / National Bureau of Standards,
  5816.            January, 1977.
  5817.  
  5818.       [NatB-79a]
  5819.            National Bureau of Standards. Representations of Local Time
  5820.            of the Day for Information Interchange. Federal Information
  5821.            Processing Standards Publication 58, U.S. Department of
  5822.            Commerce / National Bureau of Standards, February, 1979.
  5823.  
  5824.  
  5825.                                      92                          
  5826.  
  5827.  
  5828.  
  5829.  
  5830.  
  5831.       [NatB-79b]
  5832.            National Bureau of Standards. Representations of Universal
  5833.            Time, Local Time Differentials, and United States Time Zone
  5834.            References for Information Interchange. Federal Information
  5835.            Processing Standards Publication 59, U.S. Department of
  5836.            Commerce / National Bureau of Standards, February, 1979.
  5837.  
  5838.       [PosJ-79]
  5839.            Jonathan B. Postel. INTERNET MESSAGE PROTOCOL. RFC 753,
  5840.            Information Sciences Institute, March, 1979.
  5841.  
  5842.       [SchP-79]
  5843.            Peter Schicker. The Computer Based Mail Environment: An
  5844.            Overview. Technical Report, Bell-Northern Research Ltd.,
  5845.            Ottawa, Ontario, Canada, December, 1979.
  5846.  
  5847.       [TasG-80]
  5848.            Task Group X3S33 on Data Communications Formats, ANSI
  5849.            Subcommittee X3S3 on Data Communications. Third Draft
  5850.            Proposed American National Standard for Heading Format
  5851.            Structure for Code Independent Communication Headings. ANSI
  5852.            document X3S37/80-01, Computer and Business Equipment
  5853.            Manufacturers Association, 1980.
  5854.  
  5855.  
  5856.  
  5857.  
  5858.  
  5859.  
  5860.  
  5861.  
  5862.  
  5863.  
  5864.  
  5865.  
  5866.  
  5867.  
  5868.  
  5869.  
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875.  
  5876.  
  5877.  
  5878.  
  5879.  
  5880.  
  5881.  
  5882.  
  5883.  
  5884.                                      93                          
  5885.  
  5886.  
  5887.  
  5888.  
  5889.  
  5890.                                     INDEX
  5891.  
  5892.  
  5893.  
  5894.  
  5895.  
  5896.                 ASCII-String   29, 30, 42, 45, 47, 49, 53, 54, 55, 57,
  5897.                         59, 63
  5898.                 Assignment   17, 22, 55
  5899.                 Attachments   17, 52
  5900.                 Audit trail   20
  5901.                 Author   14, 52
  5902.  
  5903.                 BASIC   13
  5904.                 BASIC Data Elements
  5905.                    ASCII-String   42, 57
  5906.                    Date   45, 59
  5907.                    End-of-Constructor   43, 60
  5908.                    Field   46, 60
  5909.                    Message   46, 61
  5910.                 BASIC fields
  5911.                    Cc   14
  5912.                    Reply-To   14
  5913.                    Subject   17
  5914.                    Text   17
  5915.                 BASIC syntactic elements   29
  5916.                 Bcc   14, 19, 20, 52
  5917.                 Bit numbering in octets   32
  5918.                 Bit-String   30, 37, 42, 44, 45, 47, 57, 58, 59, 63
  5919.                 Boolean   30, 43, 58
  5920.  
  5921.                 Cc   14, 19, 52
  5922.                 Chains of correspondence   24
  5923.                 Circulate-Next   15, 26, 53
  5924.                 Circulate-To   15, 26, 53
  5925.                 Circulation   26
  5926.                 Comment   30, 31, 38, 49
  5927.                 Comments   18, 53
  5928.                 Compliance requirements   34
  5929.                 Compressed   31, 37, 44, 49, 58
  5930.                 Compression identifier   44, 58
  5931.                 Compression Identifiers
  5932.                    NBS-Standard   49
  5933.                    Unspecified   49
  5934.                 Constructor data element   29, 30
  5935.                 Contents   32, 70
  5936.                 Cross Referencing   24
  5937.  
  5938.                 Data Element Contents   37, 38, 39, 81, 36, 39, 47, 63,
  5939.                         36, 38, 39, 41, 42, 47, 57, 63, 81
  5940.                 Data Elements
  5941.  
  5942.  
  5943.                                      94                          
  5944.  
  5945.  
  5946.  
  5947.  
  5948.  
  5949.                    ASCII-String (BASIC)   42, 57
  5950.                    Bit-String (OPTIONAL)   42, 57
  5951.                    Boolean (OPTIONAL)   43, 58
  5952.                    Compressed (OPTIONAL)   44, 58
  5953.                    Date (BASIC)   45, 59
  5954.                    Encrypted (OPTIONAL)   45, 59
  5955.                    End-of-Constructor (BASIC)   43, 60
  5956.                    Extension (OPTIONAL)   45, 60
  5957.                    Field (BASIC)   46, 60
  5958.                    Integer (OPTIONAL)   43, 61
  5959.                    Message (BASIC)   46, 61
  5960.                    No-Op (OPTIONAL)   44, 61
  5961.                    Padding (OPTIONAL)   44, 62
  5962.                    Property (OPTIONAL)   47, 62
  5963.                    Property-List (OPTIONAL)   46, 62
  5964.                    Sequence (OPTIONAL)   47, 63
  5965.                    Set (OPTIONAL)   47, 63
  5966.                    Unique-ID (OPTIONAL)   47, 63
  5967.                    Vendor-Defined (OPTIONAL)   48, 64
  5968.                 Date   15, 45, 53, 54, 55, 56, 59
  5969.                 Dating   25
  5970.                 Delivery   9, 15, 54
  5971.                 Delivery Protocol   9
  5972.                 Delivery Slot   9
  5973.  
  5974.                 Encapsulating   22
  5975.                 Encrypted   31, 37, 45, 49, 59
  5976.                 Encryption identifier   45, 59
  5977.                 Encryption Identifiers
  5978.                    NBS-Standard   49
  5979.                    Unspecified   49
  5980.                 End-Date   15, 25, 53, 56
  5981.                 End-Of-Constructor   30, 36, 39, 43, 60
  5982.                 Extension   41, 45, 60
  5983.  
  5984.                 Field   10, 26, 29, 30, 31, 37, 46, 60, 61, 66
  5985.                 Field Identifier   46, 60
  5986.                 Field label presentation   29
  5987.                 Fields
  5988.                    Attachments (OPTIONAL)   52, 17
  5989.                    Author (OPTIONAL)   52, 14
  5990.                    Bcc (OPTIONAL)   52, 14
  5991.                    Cc (BASIC)   52, 14
  5992.                    Circulate-Next (OPTIONAL)   53, 15
  5993.                    Circulate-To (OPTIONAL)   53, 15
  5994.                    Comments (OPTIONAL)   53, 18
  5995.                    Date (OPTIONAL)   53, 15
  5996.                    End-Date (OPTIONAL)   53, 15
  5997.                    From (REQUIRED)   53, 14
  5998.                    In-Reply-To (OPTIONAL)   53, 16
  5999.                    Keywords (OPTIONAL)   53, 18
  6000.  
  6001.  
  6002.                                      95                          
  6003.  
  6004.  
  6005.  
  6006.  
  6007.  
  6008.                    Message-Class (OPTIONAL)   54, 17
  6009.                    Message-ID (OPTIONAL)   54, 16
  6010.                    Obsoletes (OPTIONAL)   54, 16
  6011.                    Originator-Serial-Number (OPTIONAL)   54, 16
  6012.                    Posted-Date (REQUIRED)   54, 15
  6013.                    Precedence (OPTIONAL)   54, 16
  6014.                    Received-Date (OPTIONAL)   54, 15
  6015.                    Received-From (OPTIONAL)   55, 17
  6016.                    References (OPTIONAL)   55, 16
  6017.                    Reissue-Type (OPTIONAL)   55, 17
  6018.                    Reply-To (BASIC)   55, 14
  6019.                    Sender (OPTIONAL)   55, 14
  6020.                    Start-Date (OPTIONAL)   55, 15
  6021.                    Subject (BASIC)   55, 17
  6022.                    Text (BASIC)   56, 17
  6023.                    To (REQUIRED)   56, 14
  6024.                    Warning-Date (OPTIONAL)   56, 15
  6025.                 From   12, 14, 23, 52, 53, 55
  6026.  
  6027.                 Globally unique identifiers   24
  6028.  
  6029.                 Identifier octet   33, 35, 32, 33, 36, 39, 40, 70
  6030.                 Identifiers
  6031.                    globally unique   24
  6032.                 In-Reply-To   16, 24, 53
  6033.                 Indefinite length code   35
  6034.                 Integer   30, 43, 47, 61, 63
  6035.  
  6036.                 Keywords   18, 53, 81
  6037.  
  6038.                 Length Code   34, 36, 32, 33, 34, 35, 36, 37, 39, 40,
  6039.                         70, 71, 81
  6040.                 Long length code   35
  6041.  
  6042.                 Message Transfer System   8, 9, 17, 54
  6043.                 Message   10, 12, 29, 30, 31, 37, 46, 61
  6044.                 Message content   9
  6045.                 Message envelope   9
  6046.                 Message stores   25
  6047.                 Message Transfer System   9, 17, 20, 55, 8, 9, 10, 12,
  6048.                         15, 16, 20, 54, 55
  6049.                 Message Types
  6050.                    NBS-Standard   50
  6051.                 Message-Class   17, 54
  6052.                 Message-ID   16, 24, 26, 53, 54, 55
  6053.  
  6054.                 NBS-Standard   49, 50
  6055.                 No-Op   44, 61
  6056.                 Numbering bits in octets   32
  6057.  
  6058.                 Obsoletes   16, 24, 54
  6059.  
  6060.  
  6061.                                      96                          
  6062.  
  6063.  
  6064.  
  6065.  
  6066.  
  6067.                 Octets
  6068.                    bit numbering in   32
  6069.                 OPTIONAL   13
  6070.                 OPTIONAL Data Elements
  6071.                    Bit-String   42, 57
  6072.                    Boolean   43, 58
  6073.                    Compressed   44, 58
  6074.                    Encrypted   45, 59
  6075.                    Extension   45, 60
  6076.                    Integer   43, 61
  6077.                    No-Op   44, 61
  6078.                    Padding   44, 62
  6079.                    Property   47, 62
  6080.                    Property-List   46, 62
  6081.                    Sequence   47, 63
  6082.                    Set   47, 63
  6083.                    Unique-ID   47, 63
  6084.                    Vendor-Defined   48, 64
  6085.                 OPTIONAL fields
  6086.                    Attachments   17
  6087.                    Author   14
  6088.                    Bcc   14
  6089.                    Circulate-Next   15
  6090.                    Circulate-To   15
  6091.                    Comments   18
  6092.                    Date   15
  6093.                    End-Date   15
  6094.                    In-Reply-To   16
  6095.                    Keywords   18
  6096.                    Message-Class   17
  6097.                    Message-ID   16
  6098.                    Obsoletes   16
  6099.                    Originator-Serial-Number   16
  6100.                    Precedence   16
  6101.                    Received-Date   15
  6102.                    Received-From   17
  6103.                    References   16
  6104.                    Reissue-Type   17
  6105.                    Sender   14
  6106.                    Start-Date   15
  6107.                    Warning-Date   15
  6108.                 OPTIONAL syntactic elements   29
  6109.                 Originator   11, 13, 15, 25, 52, 53, 55
  6110.                 Originator-Serial-Number   16, 25, 54
  6111.  
  6112.                 Padding   44, 62
  6113.                 Person   13
  6114.                 Posted-Date   12, 15, 26, 53, 54
  6115.                 Posting   9
  6116.                 Posting Protocol   9
  6117.                 Posting Slot   9
  6118.  
  6119.  
  6120.                                      97                          
  6121.  
  6122.  
  6123.  
  6124.  
  6125.  
  6126.                 Precedence   16, 54
  6127.                 Precedence categories   17
  6128.                 Precedence scheme   54
  6129.                 Presentation
  6130.                    field label   29
  6131.                 Primitive data element   30, 29, 30
  6132.                 Printing-Name   30, 38, 49, 76
  6133.                 Process   13
  6134.                 Properties
  6135.                    Comment   49
  6136.                    Printing-Name   49
  6137.                 Property   32, 37, 46, 47, 62
  6138.                 Property-Identifier   47, 62
  6139.                 Property-List   30, 32, 33, 38, 39, 40, 46, 62, 70
  6140.  
  6141.                 Qualifier   32, 33, 34, 36, 37, 39, 40, 42, 44, 45, 46,
  6142.                         47, 48, 57, 58, 59, 60, 62, 64, 70
  6143.                 Qualifiers   37
  6144.  
  6145.                 Received-Date   15, 54
  6146.                 Received-From   17, 55
  6147.                 Recipient   11, 14, 17, 52, 53, 55, 56
  6148.                 Redistribution   17, 22, 55
  6149.                 References   16, 24, 55
  6150.                 Reissue-Type   17, 55
  6151.                 Reply   13, 23
  6152.                 Reply-to   14, 23, 53, 55
  6153.                 REQUIRED   13
  6154.                 REQUIRED fields
  6155.                    From   14
  6156.                    Posted-Date   15
  6157.                    To   14
  6158.                 Requirements
  6159.                    compliance   34
  6160.                 Role   13
  6161.  
  6162.                 Sender   14, 26, 55
  6163.                 Sequence   29, 30, 47, 63
  6164.                 Sequences   30
  6165.                 Serial Numbers   16, 24, 54
  6166.                 Set   30, 47, 63
  6167.                 Short length code   35
  6168.                 Slot   9
  6169.                 Start-Date   15, 25, 55
  6170.                 Subject   17, 55
  6171.                 Syntactic reissuing   22
  6172.  
  6173.                 Text   17, 26, 56
  6174.                 To   12, 14, 19, 26, 30, 56
  6175.  
  6176.                 Unique identifiers   24
  6177.  
  6178.  
  6179.                                      98                          
  6180.  
  6181.  
  6182.  
  6183.  
  6184.                 Unique-ID   47, 53, 54, 55, 63
  6185.                 Unspecified   49
  6186.                 User Agent   8, 9, 20
  6187.                 User interface   29
  6188.  
  6189.                 Vendor-Defined   41, 48, 64
  6190.  
  6191.                 Warning-Date   15, 25, 56
  6192.  
  6193.  
  6194.  
  6195.  
  6196.  
  6197.  
  6198.  
  6199.  
  6200.  
  6201.  
  6202.  
  6203.  
  6204.  
  6205.  
  6206.  
  6207.  
  6208.  
  6209.  
  6210.  
  6211.  
  6212.  
  6213.  
  6214.  
  6215.  
  6216.  
  6217.  
  6218.  
  6219.  
  6220.  
  6221.  
  6222.  
  6223.  
  6224.  
  6225.  
  6226.  
  6227.  
  6228.  
  6229.  
  6230.  
  6231.  
  6232.  
  6233.  
  6234.  
  6235.  
  6236.  
  6237.                                      99                                
  6238.                                                                        
  6239.  
  6240.