{"@attributes":{"ipr":"full3978","number":"3923","category":"std","docName":"RFC 3923"},"front":{"title":"End-to-End Signing and Object Encryption for the Extensible Messaging and Presence Protocol (XMPP)","author":{"@attributes":{"initials":"P.","surname":"Saint-Andre","fullname":"Peter Saint-Andre"},"organization":"Jabber Software Foundation","address":{"email":"stpeter@jabber.org"}},"date":{"@attributes":{"year":"2004","month":"October"}},"area":"Applications","workgroup":"XMPP Working Group","keyword":["RFC","Request for Comments","I-D","Internet-Draft","XMPP","Extensible Messaging and Presence Protocol","Jabber","IM","Instant Messaging","Presence","XML","Extensible Markup Language"],"abstract":{"t":"This memo defines methods of end-to-end signing and object encryption for the Extensible Messaging and Presence Protocol (XMPP)."}},"middle":{"section":[{"@attributes":{"title":"Introduction","anchor":"intro"},"t":"This memo defines methods of end-to-end signing and object encryption for the Extensible Messaging and Presence Protocol (XMPP).  (For information about XMPP, see  and .)  The method specified herein enables a sender to sign and\/or encrypt an instant message sent to a specific recipient, sign and\/or encrypt presence information that is directed to a specific user, and sign and\/or encrypt any arbitrary XMPP stanza directed to a specific user.  This memo thereby helps the XMPP specifications meet the requirements specified in .","section":{"@attributes":{"title":"Terminology","anchor":"intro-terms"},"t":["This document inherits terminology defined in , , , and .","The capitalized key words \"MUST\", \"MUST NOT\", \"REQUIRED\", \"SHALL\", \"SHALL NOT\", \"SHOULD\", \"SHOULD NOT\", \"RECOMMENDED\", \"MAY\", and \"OPTIONAL\" in this document are to be interpreted as described in ."]}},{"@attributes":{"title":"Requirements","anchor":"req"},"t":["For the purposes of this memo, we stipulate the following requirements:",{"list":{"@attributes":{"style":"numbers"},"t":["The method defined MUST address signing and encryption requirements for minimal instant messaging and presence, as those are defined in .  In particular, the method MUST address the following requirements, which are copied here verbatim from :\n        ","The method defined MUST enable interoperability with non-XMPP messaging systems that support the Common Presence and Instant Messaging (CPIM) specifications published by the Instant Messaging and Presence (IMPP) Working Group.  Two corollaries of this requirement are: ","The method MUST follow the required procedures (including the specific algorithms) defined in  and .  In particular, these documents specify: ","In order to enable interoperable implementations, sending and receiving applications MUST implement the algorithms specified under ."]}},"We further stipulate that the following functionality is out of scope for this memo:",{"list":{"@attributes":{"style":"symbols"},"t":["Discovery of support for this protocol. An entity could discover whether another entity supports this protocol by (1) attempting to send signed or encrypted stanzas and receiving an error stanza (\"technical\" discovery) or a textual message in reply (\"social\" discovery) if the protocol is not supported, or (2) using a dedicated service discovery protocol, such as  or .  However, the definition of a service discovery protocol is out of scope for this memo.","Signing or encryption of XMPP groupchat messages, which are mentioned in  but not defined therein since they are not required by ; such messages are best specified in .","Signing or encryption of broadcasted presence as described in  (the methods defined herein apply to directed presence only).","Signing or encryption of communications that occur within the context of applications other than instant messaging and presence as those are described in  and ."]}}]},{"@attributes":{"title":"Securing Messages","anchor":"message"},"section":[{"@attributes":{"title":"Process for Securing Messages","anchor":"message-process"},"t":["In order to sign and\/or encrypt a message, a sending agent MUST use the following procedure:",{"list":{"@attributes":{"style":"numbers"},"t":["Generate a \"Message\/CPIM\" object as defined in .","Sign and\/or encrypt both the headers and content of the \"Message\/CPIM\" object as specified in Requirement 3 of  above.","Provide the resulting signed and\/or encrypted object within an XML CDATA section (see Section 2.7 of ) contained in an <e2e\/> child of a <message\/> stanza, where the <e2e\/> element is qualified by the 'urn:ietf:params:xml:ns:xmpp-e2e' namespace as specified more fully in  below."]}}]},{"@attributes":{"title":"Example of a Signed Message","anchor":"message-sign"},"t":["The following example illustrates the defined steps for signing a message.","First, the sending agent generates a \"Message\/CPIM\" object in accordance with the rules and formats specified in .","Once the sending agent has generated the \"Message\/CPIM\" object, the sending agent may sign it.  The result is a multipart  object (see ) that has a Content-Type of \"multipart\/signed\" and includes two parts: one whose Content-Type is \"Message\/CPIM\" and another whose Content-Type is \"application\/pkcs7-signature\".","The sending agent now wraps the \"multipart\/signed\" object in an XML CDATA section, which is contained in an <e2e\/> element that is included as a child element of the XMPP message stanza and that is qualified by the 'urn:ietf:params:xml:ns:xmpp-e2e' namespace."],"figure":[{"preamble":"Example 1: Sender generates \"Message\/CPIM\" object:","artwork":{}},{"preamble":"Example 2: Sender generates multipart\/signed object:","artwork":"\n|   Content-Type: multipart\/signed; boundary=next;\n|                 micalg=sha1;\n|                 protocol=application\/pkcs7-signature\n|   \n|   --next\n|   Content-type: Message\/CPIM\n|   \n|   From: Juliet Capulet <im:juliet@example.com>\n|   To: Romeo Montague <im:romeo@example.net>\n|   DateTime: 2003-12-09T23:45:36.66Z\n|   Subject: Imploring\n|   \n|   Content-type: text\/plain; charset=utf-8\n|   Content-ID: <1234567890@example.com>\n|   \n|   Wherefore art thou, Romeo?\n|   --next\n|   Content-Type: application\/pkcs7-signature\n|   Content-Disposition: attachment;handling=required;\\\n|                                   filename=smime.p7s\n|   \n|   [signed body part]\n|   \n|   --next--\n        "},{"preamble":"Example 3: Sender generates XMPP message stanza:","artwork":"\n|   <message to='romeo@example.net\/orchard' type='chat'>\n|     <e2e xmlns='urn:ietf:params:xml:ns:xmpp-e2e'>\n|   <![CDATA[\n|   Content-Type: multipart\/signed; boundary=next;\n|                 micalg=sha1;\n|                 protocol=application\/pkcs7-signature\n|   \n|   --next\n|   Content-type: Message\/CPIM\n|   \n|   From: Juliet Capulet <im:juliet@example.com>\n|   To: Romeo Montague <im:romeo@example.net>\n|   DateTime: 2003-12-09T23:45:36.66Z\n|   Subject: Imploring\n|   \n|   Content-type: text\/plain; charset=utf-8\n|   Content-ID: <1234567890@example.com>\n|   \n|   Wherefore art thou, Romeo?\n|   --next\n|   Content-Type: application\/pkcs7-signature\n|   Content-Disposition: attachment;handling=required;\\\n|                                   filename=smime.p7s\n|   \n|   [signed body part]\n|   \n|   --next--\n|   ]]>\n|     <\/e2e>\n|   <\/message>\n          "}]},{"@attributes":{"title":"Example of an Encrypted Message","anchor":"message-encrypt"},"t":["The following example illustrates the defined steps for encrypting a message.","First, the sending agent generates a \"Message\/CPIM\" object in accordance with the rules and formats specified in .","Once the sending agent has generated the \"Message\/CPIM\" object, the sending agent may encrypt it.","The sending agent now wraps the encrypted object in an XML CDATA section, which is contained in an <e2e\/> element that is included as a child element of the XMPP message stanza and that is qualified by the 'urn:ietf:params:xml:ns:xmpp-e2e' namespace."],"figure":[{"preamble":"Example 4: Sender generates \"Message\/CPIM\" object:","artwork":{}},{"preamble":"Example 5: Sender generates encrypted object:","artwork":"\n|   U2FsdGVkX19okeKTlLxa\/1n1FE\/upwn1D20GhPWqhDWlexKMUKYJInTWzERP+vcQ\n|   \/OxFs40uc9Fx81a5\/62p\/yPb\/UWnuG6SR6o3Ed2zwcusDImyyz125HFERdDUMBC9\n|   Pt6Z4cTGKBmJzZBGyuc3Y+TMBTxqFFUAxeWaoxnZrrl+LP72vwbriYc3KCMxDbQL\n|   Igc1Vzs5\/5JecegMieNY24SlNyX9HMFRNFpbI64vLxYEk55A+3IYbZsluCFT31+a\n|   +GeAvJkvH64LRV4mPbUhENTQ2wbAwnOTvbLIaQEQrii78xNEh+MK8Bx7TBTvi4yH\n|   Ddzf9Sim6mtWsXaCAvWSyp0X91d7xRJ4JIgKfPzkxNsWJFCLthQS1p734eDxXVd3\n|   i08lEHzyll6htuEr59ZDAw==\n          "},{"preamble":"Example 6: Sender generates XMPP message stanza:","artwork":"\n|   <message to='romeo@example.net\/orchard' type='chat'>\n|     <e2e xmlns='urn:ietf:params:xml:ns:xmpp-e2e'>\n|   <![CDATA[\n|   U2FsdGVkX19okeKTlLxa\/1n1FE\/upwn1D20GhPWqhDWlexKMUKYJInTWzERP+vcQ\n|   \/OxFs40uc9Fx81a5\/62p\/yPb\/UWnuG6SR6o3Ed2zwcusDImyyz125HFERdDUMBC9\n|   Pt6Z4cTGKBmJzZBGyuc3Y+TMBTxqFFUAxeWaoxnZrrl+LP72vwbriYc3KCMxDbQL\n|   Igc1Vzs5\/5JecegMieNY24SlNyX9HMFRNFpbI64vLxYEk55A+3IYbZsluCFT31+a\n|   +GeAvJkvH64LRV4mPbUhENTQ2wbAwnOTvbLIaQEQrii78xNEh+MK8Bx7TBTvi4yH\n|   Ddzf9Sim6mtWsXaCAvWSyp0X91d7xRJ4JIgKfPzkxNsWJFCLthQS1p734eDxXVd3\n|   i08lEHzyll6htuEr59ZDAw==\n|   ]]>\n|     <\/e2e>\n|   <\/message>\n          "}]}]},{"@attributes":{"title":"Securing Presence","anchor":"presence"},"section":[{"@attributes":{"title":"Process for Securing Presence Information","anchor":"presence-process"},"t":["In order to sign and\/or encrypt presence information, a sending agent MUST use the following procedure:",{"list":{"@attributes":{"style":"numbers"},"t":["Generate an \"application\/pidf+xml\" object as defined in .","Sign and\/or encrypt the \"application\/pidf+xml\" object as specified in Requirement 3 of  above.","Provide the resulting signed and\/or encrypted object within an XML CDATA section (see Section 2.7 of ) contained in an <e2e\/> child of a <presence\/> stanza, where the <e2e\/> element is qualified by the 'urn:ietf:params:xml:ns:xmpp-e2e' namespace.  The <presence\/> stanza MUST include a 'to' attribute, i.e., it must be an instance of directed presence as defined in ."]}}]},{"@attributes":{"title":"Example of Signed Presence Information","anchor":"presence-sign"},"t":["The following example illustrates the defined steps for signing presence information.","First, the sending agent generates an \"application\/pidf+xml\" object in accordance with the rules and formats specified in .","Once the sending agent has generated the \"application\/pidf+xml\" object, the sending agent may sign it.  The result is a multipart  object (see ) that has a Content-Type of \"multipart\/signed\" and includes two parts: one whose Content-Type is \"application\/pidf+xml\" and another whose Content-Type is \"application\/pkcs7-signature\".","The sending agent now wraps the \"multipart\/signed\" object in an XML CDATA section, which is contained in an <e2e\/> element that is included as a child element of the XMPP message stanza and that is qualified by the 'urn:ietf:params:xml:ns:xmpp-e2e' namespace."],"figure":[{"preamble":"Example 7: Sender generates \"application\/pidf+xml\" object:","artwork":{}},{"preamble":"Example 8: Sender generates multipart\/signed object:","artwork":{}},{"preamble":"Example 9: Sender generates XMPP presence stanza:","artwork":"\n|   <presence to='romeo@example.net\/orchard'>\n|     <e2e xmlns='urn:ietf:params:xml:ns:xmpp-e2e'>\n|   <![CDATA[\n|   Content-Type: multipart\/signed; boundary=next;\n|                 micalg=sha1;\n|                 protocol=application\/pkcs7-signature\n|   \n|   --next\n|   Content-type: application\/pidf+xml\n|   Content-ID: <2345678901@example.com>\n|   \n|   <xml version=\"1.0\" encoding=\"UTF-8\"?>\n|   <presence xmlns=\"urn:ietf:params:xml:ns:pidf\"\n|             xmlns:im=\"urn:ietf:params:xml:ns:pidf:im\"\n|             entity=\"pres:juliet@example.com\">\n|     <tuple id=\"hr0zny\">\n|       <status>\n|         <basic>open<\/basic>\n|         <im:im>away<\/im:im>\n|       <\/status>\n|       <note xml:lang=\"en\">retired to the chamber<\/note>\n|       <timestamp>2003-12-09T23:53:11.31Z<\/timestamp>\n|     <\/tuple>\n|   <\/presence>\n|   --next\n|   Content-Type: application\/pkcs7-signature\n|   Content-Disposition: attachment;handling=required;\\\n|                                   filename=smime.p7s\n|   \n|   [signed body part]\n|   \n|   --next--\n|   ]]>\n|     <\/e2e>\n|   <\/presence>\n          "}]},{"@attributes":{"title":"Example of Encrypted Presence Information","anchor":"presence-encrypt"},"t":["The following example illustrates the defined steps for encrypting presence information.","First, the sending agent generates an \"application\/pidf+xml\" object in accordance with the rules and formats specified in .","Once the sending agent has generated the \"application\/pidf+xml\" object, the sending agent may encrypt it.","The sending agent now wraps the encrypted object in an XML CDATA section, which is contained in an <e2e\/> element that is included as a child element of the XMPP message stanza and that is qualified by the 'urn:ietf:params:xml:ns:xmpp-e2e' namespace."],"figure":[{"preamble":"Example 10: Sender generates \"application\/pidf+xml\" object:","artwork":{}},{"preamble":"Example 11: Sender generates encrypted object:","artwork":{}},{"preamble":"Example 12: Sender generates XMPP presence stanza:","artwork":"\n|   <presence to='romeo@example.net\/orchard'>\n|     <e2e xmlns='urn:ietf:params:xml:ns:xmpp-e2e'>\n|   <![CDATA[\n|   U2FsdGVkX18VJPbx5GMdFPTPZrHLC9QGiVP+ziczu6zWZLFQxae6O5PP6iqpr2No\n|   zOvBVMWvYeRAT0zd18hr6qsqKiGl\/GZpAAbTvPtaBxeIykxsd1+CX+U+iw0nEGCr\n|   bjiQrk0qUKJ79bNxwRnqdidjhyTpKSbOJC0XZ8CTe7AE9KDM3Q+uk+O3jrqX4byL\n|   GBlKThbzKidxz32ObojPEEwfFiM\/yUeqYUP1OcJpUmeQ8lcXhD6tcx+m2MAyYYLP\n|   boKQxpLknxRnbM8T\/voedlnFLbbDu69mOlxDPbr1mHZd3hDsyFudb1fb4rI3Kw0K\n|   Nq+3udr2IkysviJDgQo+xGIQUG\/5sED\/mAaPRlj4f\/JtTzvT4EaQTawv69ntXfKV\n|   MCr9KdIMMdjdJzOJkYLoAhNVrcZn5tw8WsJGwuKuhYb\/SShy7InzOapPaPAl7\/Mm\n|   PHj7zj3NZ6EEIweDOuAwWlIG\/dT506tci27+EW7JnXwMPnFMkF+6a7tr\/0Y+iiej\n|   woJxUIBqCOgX+U7srHpK2NYtNTZ7UQp2V0yEx1JV8+Y=\n|   ]]>\n|     <\/e2e>\n|   <\/presence>\n          "}]}]},{"@attributes":{"title":"Securing Arbitrary XMPP Data","anchor":"arbitrary"},"t":["The foregoing sections of this memo describe how to secure \"least common denominator\" messaging and presence data of the kind that can be directly translated into the MSGFMT or PIDF formats.  However, XMPP possesses a third base-level stanza type (<iq\/>) in addition to <message\/> and <presence\/>, as well as the ability to include extended XML data within arbitrary child elements of the three core stanza types.  Therefore, it would be desirable to secure such data if possible.","Because  specifies the ability to encapsulate any MIME type, the approach taken in this memo is to include arbitrary XMPP data in an XML media type named \"application\/xmpp+xml\" as specified more fully in  below.","The following examples illustrate the structure of the \"application\/xmpp+xml\" MIME type.  (Note: The 'http:\/\/jabber.org\/protocol\/evil' namespace used in these examples is associated with an April Fool's protocol written to be the instant messaging equivalent of RFC 3514; it is included only as an instance of extended information included in an XML stanza and should not be taken seriously as a functional XMPP extension.)","Just as with the \"Message\/CPIM\" and \"application\/pidf+xml\" objects, the \"application\/xmpp+xml\" object would be signed and\/or encrypted, then encapsulated within an XML CDATA section (see Section 2.7 of ) contained in an <e2e\/> child of a <presence\/> stanza, where the <e2e\/> element is qualified by the 'urn:ietf:params:xml:ns:xmpp-e2e' namespace."],"figure":[{"preamble":"Example 13: Message stanza with extended data contained in \"application\/xmpp+xml\" MIME type:","artwork":"\n|   <?xml version='1.0' encoding='UTF-8'?>\n|   <xmpp xmlns='jabber:client'>\n|     <message \n|         from='iago@example.com\/pda' \n|         to='emilia@example.com\/cell'>\n|       <body> \n|         I told him what I thought, and told no more \n|         Than what he found himself was apt and true.  \n|       <\/body>\n|       <evil xmlns='http:\/\/jabber.org\/protocol\/evil'\/>\n|     <\/message>\n|   <\/xmpp>\n        "},{"preamble":"Example 14: Presence stanza with extended data contained in \"application\/xmpp+xml\" MIME type:","artwork":"\n|   <?xml version='1.0' encoding='UTF-8'?>\n|   <xmpp xmlns='jabber:client'>\n|     <presence from='iago@example.com\/pda'>\n|       <show>dnd<\/show>\n|       <status>Fomenting dissension<\/status>\n|       <evil xmlns='http:\/\/jabber.org\/protocol\/evil'\/>\n|     <\/presence>\n|   <\/xmpp>\n        "},{"preamble":"Example 15: IQ stanza with extended data contained in \"application\/xmpp+xml\" MIME type:","artwork":"\n|   <?xml version='1.0' encoding='UTF-8'?>\n|   <xmpp xmlns='jabber:client'>\n|     <iq type='result'\n|         from='iago@example.com\/pda'\n|         to='emilia@example.com\/cell'\n|         id='evil1'>\n|       <query xmlns='jabber:iq:version'>\n|         <name>Stabber<\/name>\n|         <version>666<\/version>\n|         <os>FiendOS<\/os>\n|       <\/query>\n|       <evil xmlns='http:\/\/jabber.org\/protocol\/evil'\/>\n|     <\/iq>\n|   <\/xmpp>\n        "}]},{"@attributes":{"title":"Rules for S\/MIME Generation and Handling","anchor":"rules"},"section":[{"@attributes":{"title":"Certificate Enrollment","anchor":"rules-enroll"},"t":{"xref":[{"@attributes":{"target":"SMIME"}},{"@attributes":{"target":"CMP"}},{"@attributes":{"target":"CMC"}}]}},{"@attributes":{"title":"Certificate Retrieval","anchor":"rules-retrieve"},"t":["A receiving agent MUST provide some certificate retrieval mechanism in order to gain access to certificates for recipients of digital envelopes.  This memo does not address how S\/MIME agents handle certificates, only what they do after a certificate has been validated or rejected.  S\/MIME certification issues are covered in .","However, at a minimum, for initial S\/MIME deployment, a user agent SHOULD automatically generate a message to an intended recipient requesting that recipient's certificate in a signed return message.  Receiving and sending agents SHOULD also provide a mechanism to allow a user to \"store and protect\" certificates for correspondents in such a way so as to guarantee their later retrieval."]},{"@attributes":{"title":"Certificate Names","anchor":"rules-names"},"t":["End-entity certificates used by XMPP entities in the context of this memo SHOULD contain a valid instant messaging and presence address.  The address SHOULD be specified as both an 'im:' URI (for instant messaging, as defined in ) and a 'pres:' URI (for presence, as defined in ); each of these URIs SHOULD be specified in a separate GeneralName entry of type uniformResourceIdentifier inside the subjectAltName (i.e., two separate entries).  Information in the subject distinguished name SHOULD be ignored.","Each URI MUST be of the form <im:address> or <pres:address>, where the \"address\" portion is an XMPP address (also referred to as a Jabber Identifier or JID) as defined in , prepended with the 'im:' or 'pres:' URI scheme.  The address SHOULD be of the form <node@domain> (i.e., a \"bare JID\"), although any valid JID form MAY be used.","The value of the JID contained in the XMPP 'from' attribute MUST match a JID provided in the signer's certificate, with the exception that the resource identifier portion of the JID contained in the 'from' attribute SHOULD be ignored for matching purposes.","Receiving agents MUST check that the sending JID matches a JID provided in the signer's certificate, with the exception that the resource identifier portion of the JID contained in the 'from' attribute SHOULD be ignored for matching purposes.  A receiving agent SHOULD provide some explicit alternate processing of the stanza if this comparison fails, which may be to display a message informing the recipient of the addresses in the certificate or other certificate details.","The subject alternative name extension is used in S\/MIME as the preferred means to convey the instant messaging and presence address that corresponds to the entity for this certificate.  Any XMPP address present in the certificate MUST be encoded using the ASN.1 Object Identifier \"id-on-xmppAddr\" as specified in Section 5.1.1 of ."]},{"@attributes":{"title":"Transfer Encoding","anchor":"rules-transfer"},"t":"Because it is expected that XMPP applications will not interface with older 7-bit systems, the transfer encoding (as defined in Section 3.1.2 of ) MUST be \"binary\"."},{"@attributes":{"title":"Order of Signing and Encrypting","anchor":"rules-order"},"t":"If a stanza is both signed and encrypted, it SHOULD be signed first, then encrypted."},{"@attributes":{"title":"Inclusion of Certificates","anchor":"rules-certs"},"t":"If the sender and recipient are involved in an active messaging session over a period of time, the sending agent SHOULD include the sender's certificate along with at least one encrypted message stanza every five minutes. Outside the context of an active messaging session, the sending agent SHOULD include the sender's certificate along with each encrypted message stanza.  A sending agent MAY include the sender's certificate along with each encrypted presence stanza.  However, a sending agent SHOULD NOT include a certificate more than once every five minutes."},{"@attributes":{"title":"Attachment and Checking of Signatures","anchor":"rules-sigs"},"t":["Sending agents SHOULD attach a signature to each encrypted XML stanza. If a signature is attached, a Content-Disposition header field (as defined in ) SHOULD be included to specify how the signature is to be handled by the receiving application.","If the receiving agent determines that the signature attached to an encrypted XML stanza is invalid, it SHOULD NOT present the stanza to the intended recipient (human or application), SHOULD provide some explicit alternate processing of the stanza (which may be to display a message informing the recipient that the attached signature is invalid), and MAY return a stanza error to the sender as described under ."]},{"@attributes":{"title":"Decryption","anchor":"rules-decrypt"},"t":"If the receiving agent is unable to decrypt the encrypted XML stanza, it SHOULD NOT present the stanza to the intended recipient (human or application), SHOULD provide some explicit alternate processing of the stanza (which may be to display a message informing the recipient that it has received a stanza that cannot be decrypted), and MAY return a stanza error to the sender as described under ."},{"@attributes":{"title":"Inclusion and Checking of Timestamps","anchor":"rules-timestamps"},"t":["Timestamps are included in \"Message\/CPIM\" and \"application\/pidf+xml\" objects to help prevent replay attacks.  All timestamps MUST conform to  and be presented as UTC with no offset, including fractions of a second as appropriate.  Absent a local adjustment to the sending agent's perceived time or the underlying clock time, the sending agent MUST ensure that the timestamps it sends to the receiver increase monotonically (if necessary by incrementing the seconds fraction in the timestamp if the clock returns the same time for multiple requests).  The following rules apply to the receiving application:",{"list":{"@attributes":{"style":"symbols"},"t":["It MUST verify that the timestamp received is within five minutes of the current time.","It SHOULD verify that the timestamp received is greater than any timestamp received in the last 10 minutes which passed the previous check.","If any of the foregoing checks fails, the timestamp SHOULD be presented to the receiving entity (human or application) marked as \"old timestamp\", \"future timestamp\", or \"decreasing timestamp\", and the receiving entity MAY return a stanza error to the sender as described under ."]}}]},{"@attributes":{"title":"Mandatory-to-Implement Cryptographic Algorithms","anchor":"rules-mandatory"},"t":["All implementations MUST support the following algorithms.  Implementations MAY support other algorithms as well.","For CMS SignedData:",{"list":{"@attributes":{"style":"symbols"},"t":["The SHA-1 message digest as specified in  section 2.1.","The RSA (PKCS #1 v1.5) with SHA-1 signature algorithm, as specified in  section 3.2."]}},"For CMS EnvelopedData:",{"list":{"@attributes":{"style":"symbols"},"t":["The RSA (PKCS #1 v1.5) key transport, as specified in  section 4.2.1.","The AES-128 encryption algorithm in CBC mode, as specified in ."]}}]}]},{"@attributes":{"title":"Recipient Error Handling","anchor":"errors"},"t":["When an XMPP entity receives an XML stanza containing data that is signed and\/or encrypted using the protocol described herein, several scenarios are possible:",{"list":{"@attributes":{"style":"hanging"},"t":["The receiving application does not understand the protocol.","The receiving application understands the protocol and is able to decrypt the payload and verify the sender's signature.","The receiving application understands the protocol and is able to decrypt the payload and verify the sender's signature, but the timestamps fail the checks specified above under .","The receiving application understands the protocol and is able to decrypt the payload but is unable to verify the sender's signature.","The receiving application understands the protocol but is unable to decrypt the payload."]}},"In Case #1, the receiving application MUST do one and only one of the following: (1) ignore the <e2e\/> extension, (2) ignore the entire stanza, or (3) return a <service-unavailable\/> error to the sender, as described in .","In Case #2, the receiving application MUST NOT return a stanza error to the sender, since this is the success case.","In Case #3, the receiving application MAY return a <not-acceptable\/> error to the sender (as described in ), optionally supplemented by an application-specific error condition element <bad-timestamp\/> as shown below:","In Case #4, the receiving application SHOULD return a <not-acceptable\/> error to the sender (as described in ), optionally supplemented by an application-specific error condition element <unverified-signature\/> as shown below:","In Case #5, the receiving application SHOULD return a <bad-request\/> error to the sender (as described in ), optionally supplemented by an application-specific error condition element <decryption-failed\/> as shown below:"],"figure":[{"preamble":"Example 16: Recipient returns <not-acceptable\/> error:","artwork":{}},{"preamble":"Example 17: Recipient returns <not-acceptable\/> error:","artwork":{}},{"preamble":"Example 18: Recipient returns <bad-request\/> error:","artwork":{}}]},{"@attributes":{"title":"Secure Communications Through a Gateway","anchor":"gateway"},"t":["A common method for achieving interoperability between two disparate services is through the use of a \"gateway\" that interprets the protocols of each service and translates them into the protocols of the other.  The CPIM specifications (specifically  and  define the common profiles to be used for interoperability between instant messaging and presence services that comply with .  In the case of communications between an XMPP service and a non-XMPP service, we can visualize this relationship as follows:","The end-to-end encryption method defined herein enables the exchange of encrypted and\/or signed instant messages and presence through an XMPP-CPIM gateway.  In particular:",{"list":{"@attributes":{"style":"symbols"},"t":["When a gateway receives a secured XMPP message or presence stanza from the XMPP service that is addressed to a user on the non-XMPP service, it MUST remove the XMPP \"wrapper\" (everything down to and including the <e2e> and <\/e2e> tags) in order to reveal the multipart S\/MIME object, then route the object to the non-XMPP service (first wrapping it in the protocol used by the non-XMPP service if necessary).","When a gateway receives a secured non-XMPP instant message or presence document from the non-XMPP service that is addressed to a user on the XMPP service, it MUST remove the non-XMPP \"wrapper\" (if any) in order to reveal the multipart S\/MIME object, wrap the object in an XMPP message or presence \"wrapper\" (including the <e2e> and <\/e2e> tags), and then route the XMPP stanza to the XMPP service."]}},"The wrapped S\/MIME object MUST be immutable and MUST NOT be modified by an XMPP-CPIM gateway."],"figure":{"artwork":{}}},{"@attributes":{"title":"urn:ietf:params:xml:xmpp-e2e Namespace","anchor":"namespace"},"t":["The <e2e xmlns='urn:ietf:params:xml:ns:xmpp-e2e'\/> element is a wrapper for an XML CDATA section (see Section 2.7 of ) that contains a \"Message\/CPIM\", \"application\/pidf+xml\", or \"application\/xmpp+xml\" object. Thus the 'urn:ietf:params:xml:xmpp-e2e' namespace has no inherent semantics, and the semantics of the encapsulated object are defined by one of the following specifications:",{"list":{"@attributes":{"style":"symbols"},"t":[{"xref":{"@attributes":{"target":"MSGFMT"}}},{"xref":{"@attributes":{"target":"PIDF"}}},{"xref":{"@attributes":{"target":"XMPP-CORE"}}}]}},"Although the \"application\/xmpp+xml\" media type is specified in this document, the <xmpp\/> element is simply a wrapper for a <message\/>, <presence\/>, or <iq\/> stanza, where the semantics of those stanza types are specified in .","Given that the 'urn:ietf:params:xml:ns:xmpp-e2e' namespace has no inherent semantics and specifies a using protocol only, versioning is the responsibility of the protocols that define the encapsulated objects (, , and )."]},{"@attributes":{"title":"application\/xmpp+xml Media Type","anchor":"mediatype"},"t":"The \"application\/xmpp+xml\" media type adheres to the guidelines specified in .  The root element for this MIME type is <xmpp\/>, and the root element MUST contain one and only one child element, corresponding to one of the XMPP stanza types (i.e., message, presence, or iq) if the default namespace is 'jabber:client' or 'jabber:server' as defined in .  The character encoding for this XML media type MUST be UTF-8, in accordance with Section 11.5 of ."},{"@attributes":{"title":"Security Considerations","anchor":"security"},"t":["This entire memo discusses security.  Detailed security considerations for instant messaging and presence protocols are given in  (Sections 5.1 through 5.4), and for XMPP in particular are given in  (Sections 12.1 through 12.6).  In addition, all of the security considerations specified in  apply to the \"application\/xmpp+xml\" media type.","The end-to-end security method defined here MAY result in exchanging secured instant messages and presence information through a gateway that implements the CPIM specifications.  Such a gateway MUST be compliant with the minimum security requirements of the instant messaging and presence protocols with which it interfaces."]},{"@attributes":{"title":"IANA Considerations","anchor":"iana"},"section":[{"@attributes":{"title":"XML Namespace Name for e2e Data in XMPP","anchor":"iana-ns-e2e"},"t":["A URN sub-namespace of signed and encrypted content for the Extensible Messaging and Presence Protocol (XMPP) is defined as follows. (This namespace name adheres to the format defined in .)",{"list":{"@attributes":{"style":"hanging"},"t":["urn:ietf:params:xml:ns:xmpp-e2e","RFC 3923","This is an XML namespace name of signed and encrypted content for the Extensible Messaging and Presence Protocol as defined by RFC 3923.","IESG, <iesg@ietf.org>"]}}]},{"@attributes":{"title":"Content-type Registration for \"application\/xmpp+xml\"","anchor":"iana-ns-xmpp"},"t":["To: ietf-types@iana.org","Subject: Registration of MIME media type application\/xmpp+xml",{"list":{"@attributes":{"style":"hanging"},"t":[{"@attributes":{"hangText":"MIME media type name: application"}},{"@attributes":{"hangText":"MIME subtype name: xmpp+xml"}},{"@attributes":{"hangText":"Required parameters: (none)"}},"Same as charset parameter of application\/xml as specified in RFC 3023; per Section 11.5 of , the charset must be UTF-8.","Same as encoding considerations of application\/xml as specified in RFC 3023; per Section 11.5 of , the encoding must be UTF-8.","All of the security considerations specified in RFC 3023 and  apply to this XML media type.  Refer to  of RFC 3923.",{"@attributes":{"hangText":"Interoperability considerations: (none)"}},"RFC 3923","XMPP-compliant instant messaging and presence systems.",{"@attributes":{"hangText":"Additional information: (none)"}},"IESG, <iesg@ietf.org>","COMMON","IETF, XMPP Working Group"]}}]}]}]},"back":{"references":[{"@attributes":{"title":"Normative References"},"reference":[{"@attributes":{"anchor":"CERT"},"front":{"title":"Secure\/Multipurpose Internet Mail Extensions (S\/MIME) Version 3.1 Certificate Handling","author":{"@attributes":{"initials":"B.","surname":"Ramsdell","fullname":"B. Ramsdell"},"organization":{}},"date":{"@attributes":{"year":"2004","month":"July"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3850"}},"format":{"@attributes":{"type":"TXT","octets":"37446","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3850.txt"}}},{"@attributes":{"anchor":"CMS"},"front":{"title":"Cryptographic Message Syntax (CMS)","author":{"@attributes":{"initials":"R.","surname":"Housley","fullname":"R. Housley"},"organization":{}},"date":{"@attributes":{"year":"2004","month":"July"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3852"}},"format":{"@attributes":{"type":"TXT","octets":"15541","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3852.txt"}}},{"@attributes":{"anchor":"CMS-AES"},"front":{"title":"Use of the Advanced Encryption Standard (AES) Encryption Algorithm in Cryptographic Message Syntax (CMS)","author":{"@attributes":{"initials":"J.","surname":"Schaad","fullname":"J. Schaad"},"organization":{}},"date":{"@attributes":{"year":"2003","month":"July"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3565"}},"format":{"@attributes":{"type":"TXT","octets":"26773","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3565.txt"}}},{"@attributes":{"anchor":"CMS-ALG"},"front":{"title":"Cryptographic Message Syntax (CMS) Algorithms","author":{"@attributes":{"initials":"R.","surname":"Housley","fullname":"R.  Housley"},"organization":{}},"date":{"@attributes":{"month":"August","year":"2002"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3370"}},"format":{"@attributes":{"type":"TXT","octets":"51001","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3370.txt"}}},{"@attributes":{"anchor":"CPIM"},"front":{"title":"Common Profile for Instant Messaging (CPIM)","author":{"@attributes":{"initials":"J.","surname":"Peterson","fullname":"J. Peterson"},"organization":{}},"date":{"@attributes":{"year":"2004","month":"August"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3860"}},"format":{"@attributes":{"type":"TXT","octets":"26486","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3860.txt"}}},{"@attributes":{"anchor":"CPP"},"front":{"title":"Common Profile for Presence (CPP)","author":{"@attributes":{"initials":"J.","surname":"Peterson","fullname":"J. Peterson"},"organization":{}},"date":{"@attributes":{"year":"2004","month":"August"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3859"}},"format":{"@attributes":{"type":"TXT","octets":"30537","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3859.txt"}}},{"@attributes":{"anchor":"DATETIME"},"front":{"title":"Date and Time on the Internet: Timestamps","author":[{"@attributes":{"initials":"G.","surname":"Klyne","fullname":"G. Klyne"},"organization":{}},{"@attributes":{"initials":"C.","surname":"Newman","fullname":"C. Newman"},"organization":{}}],"date":{"@attributes":{"month":"July","year":"2002"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3339"}},"format":{"@attributes":{"type":"TXT","octets":"35064","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3339.txt"}}},{"@attributes":{"anchor":"DISP"},"front":{"title":"Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field","author":[{"@attributes":{"initials":"R.","surname":"Troost","fullname":"Rens Troost"},"organization":"New Century Systems","address":{"postal":{"street":["324 East 41st Street #804","New York","NY","10017"],"country":"USA"},"phone":"+1 (212) 557-2050","facsimile":"+1 (212) 557-2049","email":"rens@century.com"}},{"@attributes":{"initials":"S.","surname":"Dorner","fullname":"Steve Dorner"},"organization":"QUALCOMM Incorporated","address":{"postal":{"street":["6455 Lusk Boulevard","San Diego","CA 92121"],"country":"USA"},"email":"sdorner@qualcomm.com"}},{"@attributes":{"initials":"K.","surname":"Moore","fullname":"Keith Moore"},"organization":"Department of Computer Science","address":{"postal":{"street":["University of Tennessee","Knoxville","107 Ayres Hall","Knoxville TN  37996-1301"],"country":"USA"},"phone":"+1 (423) 974-5067","facsimile":"+1 (423) 974-8296","email":"moore@cs.utk.edu"}}],"date":{"@attributes":{"month":"August","year":"1997"}},"area":"Applications","keyword":["MIME","internet message","multipurpose internet mail extensions"],"abstract":{"t":["\n   This memo provides a mechanism whereby messages conforming to the\n   MIME specifications [RFC 2045, RFC 2046, RFC 2047, RFC 2048, RFC\n   2049] can convey presentational information.  It specifies the\n   \"Content-Disposition\" header field, which is optional and valid for\n   any MIME entity (\"message\" or \"body part\").  Two values for this\n   header field are described in this memo; one for the ordinary linear\n   presentation of the body part, and another to facilitate the use of\n   mail to transfer files.  It is expected that more values will be\n   defined in the future, and procedures are defined for extending this\n    set of values.\n","\n   This document is intended as an extension to MIME.  As such, the\n   reader is assumed to be familiar with the MIME specifications, and\n   [RFC 822].  The information presented herein supplements but does not\n   replace that found in those documents.\n","\n   This document is a revision to the Experimental protocol defined in\n   RFC 1806.  As compared to RFC 1806, this document contains minor\n   editorial updates, adds new parameters needed to support the File\n   Transfer Body Part, and references a separate specification for the\n   handling of non-ASCII and\/or very long parameter values.\n"]}},"seriesInfo":{"@attributes":{"name":"RFC","value":"2183"}},"format":[{"@attributes":{"type":"TXT","octets":"23150","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc2183.txt"}},{"@attributes":{"type":"HTML","octets":"38526","target":"http:\/\/xml.resource.org\/public\/rfc\/html\/rfc2183.html"}},{"@attributes":{"type":"XML","octets":"24153","target":"http:\/\/xml.resource.org\/public\/rfc\/xml\/rfc2183.xml"}}]},{"@attributes":{"anchor":"IMP-MODEL","target":"http:\/\/www.ietf.org\/rfc\/rfc2778.txt"},"front":{"title":"A Model for Presence and Instant Messaging","author":[{"@attributes":{"initials":"M.","surname":"Day","fullname":"Mark Day"},"organization":"SightPath, Inc.","address":{"email":"mday@alum.mit.edu"}},{"@attributes":{"initials":"J.","surname":"Rosenberg","fullname":"Jonathan Rosenberg"},"organization":"dynamicsoft","address":{"email":"jdrosen@dynamicsoft.com"}},{"@attributes":{"initials":"H.","surname":"Sugano","fullname":"Hiroyasu Sugano"},"organization":"Fujitsu Laboratories Ltd.","address":{"email":"suga@flab.fujitsu.co.jp"}}],"date":{"@attributes":{"month":"February","year":"2000"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"2778"}}},{"@attributes":{"anchor":"IMP-REQS"},"front":{"title":"Instant Messaging \/ Presence Protocol Requirements","author":[{"@attributes":{"initials":"M.","surname":"Day","fullname":"Mark Day"},"organization":"SightPath, Inc.","address":{"postal":{"street":"135 Beaver Street","city":"Waltham","region":"MA","code":"02452","country":"US"},"phone":{},"email":"mday@alum.mit.edu"}},{"@attributes":{"initials":"S.","surname":"Aggarwal","fullname":"Sonu Aggarwal"},"organization":"Microsoft Corporation","address":{"postal":{"street":"One Microsoft Way","city":"Redmond","region":"WA","code":"98052","country":"US"},"phone":{},"email":"sonuag@microsoft.com"}},{"@attributes":{"initials":"J.","surname":"Vincent","fullname":"Jesse Vincent"},"organization":"Into Networks, Inc.","address":{"postal":{"street":"150 Cambridgepark Drive","city":"Cambridge","region":"MA","code":"02140","country":"US"},"phone":{},"email":"jesse@intonet.com"}}],"date":{"@attributes":{"month":"February","year":"2000"}},"abstract":{"t":["Presence and Instant Messaging have recently emerged as a new medium of communications over the Internet.  Presence is a means for finding, retrieving, and subscribing to changes in the presence information (e.g.  \"online\" or \"offline\") of other users.  Instant messaging is a means for sending small, simple messages that are delivered immediately to online users.","Applications of presence and instant messaging currently use independent, non-standard and non-interoperable protocols developed by various vendors.  The goal of the Instant Messaging and Presence Protocol (IMPP) Working Group is to define a standard protocol so that independently developed applications of instant messaging and\/or   presence can interoperate across the Internet.  This document defines a minimal set of requirements that IMPP must meet."]}},"seriesInfo":{"@attributes":{"name":"RFC","value":"2779"}}},{"@attributes":{"anchor":"MSGFMT"},"front":{"title":"Common Presence and Instant Messaging (CPIM): Message Format","author":[{"@attributes":{"initials":"G.","surname":"Klyne","fullname":"G. Klyne"},"organization":{}},{"@attributes":{"initials":"D.","surname":"Atkins","fullname":"D. Atkins"},"organization":{}}],"date":{"@attributes":{"year":"2004","month":"August"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3862"}},"format":{"@attributes":{"type":"TXT","octets":"56133","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3862.txt"}}},{"@attributes":{"anchor":"MULTI"},"front":{"title":"Security Multiparts for MIME: Multipart\/Signed and Multipart\/Encrypted","author":[{"@attributes":{"initials":"J.","surname":"Galvin","fullname":"Jim Galvin"},"organization":"Trusted Information Systems","address":{"postal":{"street":"3060 Washington Road","city":"Glenwood","region":"MD","code":"21738","country":"US"},"phone":"+1 301 854 6889","facsimile":"+1 301 854 5363","email":"galvin@tis.com"}},{"@attributes":{"initials":"S.","surname":"Murphy","fullname":"Sandy Murphy"},"organization":"Trusted Information Systems","address":{"postal":{"street":"3060 Washington Road","city":"Glenwood","region":"MD","code":"21738","country":"US"},"phone":"+1 301 854 6889","facsimile":"+1 301 854 5363","email":"sandy@tis.com"}},{"@attributes":{"initials":"S.","surname":"Crocker","fullname":"Steve Crocker"},"organization":"CyberCash, Inc.","address":{"postal":{"street":"2086 Hunters Crest Way","city":"Vienna","region":"VA","code":"22181","country":"US"},"phone":"+1 703 620 1222","facsimile":"+1 703 391 2651","email":"crocker@cybercash.com"}},{"@attributes":{"initials":"N.","surname":"Freed","fullname":"Ned Freed"},"organization":"Innosoft International, Inc.","address":{"postal":{"street":"1050 East Garvey Avenue South","city":"West Covina","region":"CA","code":"91790","country":"US"},"phone":"+1 818 919 3600","facsimile":"+1 818 919 3614","email":"ned@innosoft.com"}}],"date":{"@attributes":{"month":"October","year":"1995"}},"abstract":{"t":"This document defines a framework within which security services may be applied to MIME body parts.  MIME, an acronym for \"Multipurpose Internet Mail Extensions\", defines the format of the contents of Internet mail messages and provides for multi-part textual and non-textual message bodies.  The new content types are subtypes of multipart: signed and encrypted.  Each will contain two body parts: one for the protected data and one for the control information necessary to remove the protection.  The type and contents of the control information body parts are determined by the value of the protocol parameter of the enclosing multipart\/signed or multipart\/encrypted content type, which is required to be present."}},"seriesInfo":{"@attributes":{"name":"RFC","value":"1847"}}},{"@attributes":{"anchor":"PIDF"},"front":{"title":"Presence Information Data Format (PIDF)","author":[{"@attributes":{"initials":"H.","surname":"Sugano","fullname":"H. Sugano"},"organization":{}},{"@attributes":{"initials":"S.","surname":"Fujimoto","fullname":"S. Fujimoto"},"organization":{}},{"@attributes":{"initials":"G.","surname":"Klyne","fullname":"G. Klyne"},"organization":{}},{"@attributes":{"initials":"A.","surname":"Bateman","fullname":"A. Bateman"},"organization":{}},{"@attributes":{"initials":"W.","surname":"Carr","fullname":"W. Carr"},"organization":{}},{"@attributes":{"initials":"J.","surname":"Peterson","fullname":"J. Peterson"},"organization":{}}],"date":{"@attributes":{"year":"2004","month":"August"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3863"}},"format":{"@attributes":{"type":"TXT","octets":"56956","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3863.txt"}}},{"@attributes":{"anchor":"SMIME"},"front":{"title":"Secure\/Multipurpose Internet Mail Extensions (S\/MIME) Version 3.1 Message Specification","author":{"@attributes":{"initials":"B.","surname":"Ramsdell","fullname":"B. Ramsdell"},"organization":{}},"date":{"@attributes":{"year":"2004","month":"July"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3851"}},"format":{"@attributes":{"type":"TXT","octets":"53328","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3851.txt"}}},{"@attributes":{"anchor":"TERMS"},"front":{"title":"Key words for use in RFCs to Indicate Requirement Levels","author":{"@attributes":{"initials":"S.","surname":"Bradner","fullname":"Scott Bradner"},"organization":"Harvard University","address":{"postal":{"street":["1350 Mass.  Ave.","Cambridge","MA 02138"]},"phone":"- +1 617 495 3864","email":"-"}},"date":{"@attributes":{"month":"March","year":"1997"}},"area":"General","keyword":"keyword","abstract":{"t":["In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized.  This document defines these words as they should be interpreted in IETF documents.  Authors who follow these guidelines should incorporate this phrase near the beginning of their document: \n              \n            ","Note that the force of these words is modified by the requirement level of the document in which they are used."]}},"seriesInfo":[{"@attributes":{"name":"BCP","value":"14"}},{"@attributes":{"name":"RFC","value":"2119"}}]},{"@attributes":{"anchor":"XML-MEDIA"},"front":{"title":"XML Media Types","author":[{"@attributes":{"initials":"M.","surname":"Murata","fullname":"M. Murata"},"organization":{}},{"@attributes":{"initials":"S.","surname":"St. Laurent","fullname":"S. St. Laurent"},"organization":{}},{"@attributes":{"initials":"D.","surname":"Kohn","fullname":"D. Kohn"},"organization":{}}],"date":{"@attributes":{"year":"2001","month":"January"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3023"}},"format":{"@attributes":{"type":"TXT","octets":"86011","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3023.txt"}}},{"@attributes":{"anchor":"XMPP-CORE"},"front":{"title":"Extensible Messaging and Presence Protocol (XMPP): Core","author":{"@attributes":{"initials":"P.","surname":"Saint-Andre","fullname":"P. Saint-Andre"},"organization":"Jabber Software Foundation"},"date":{"@attributes":{"year":"2004","month":"October"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3920"}},"format":{"@attributes":{"type":"TXT","octets":"194313","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3920.txt"}}},{"@attributes":{"anchor":"XMPP-IM"},"front":{"title":"Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence","author":{"@attributes":{"initials":"P.","surname":"Saint-Andre","fullname":"P. Saint-Andre"},"organization":"Jabber Software Foundation"},"date":{"@attributes":{"year":"2004","month":"October"}}},"seriesInfo":{"@attributes":{"name":"RFC","value":"3921"}},"format":{"@attributes":{"type":"TXT","octets":"217527","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3921.txt"}}}]},{"@attributes":{"title":"Informative References"},"reference":[{"@attributes":{"anchor":"CAPS"},"front":{"title":"Entity Capabilities","author":[{"@attributes":{"initials":"J.","surname":"Hildebrand","fullname":"Joe Hildebrand"},"organization":{},"address":{"email":"jhildebrand@jabber.com"}},{"@attributes":{"initials":"P.","surname":"Saint-Andre","fullname":"Peter Saint-Andre"},"organization":{},"address":{"email":"stpeter@jabber.org"}}],"date":{"@attributes":{"day":"01","month":"August","year":"2004"}}},"seriesInfo":{"@attributes":{"name":"JSF JEP","value":"0115"}},"format":{"@attributes":{"type":"HTML","target":"http:\/\/www.jabber.org\/jeps\/jep-0115.html"}}},{"@attributes":{"anchor":"CMC"},"front":{"title":"Certificate Management Messages over CMS","author":[{"@attributes":{"initials":"M.","surname":"Myers","fullname":"Michael Myers"},"organization":"VeriSign Inc.","address":{"postal":{"street":"1350 Charleston Road","city":"Mountain View","region":"CA","code":"94043","country":"US"},"phone":"+1 650 429 3402","email":"mmyers@verisign.com"}},{"@attributes":{"initials":"X.","surname":"Liu","fullname":"Xiaoyi Liu"},"organization":"cisco Systems","address":{"postal":{"street":"170 West Tasman Drive","city":"San Jose","region":"CA","code":"95134","country":"US"},"phone":"+1 480 526 7430","email":"xliu@cisco.com"}},{"@attributes":{"initials":"J.","surname":"Schaad","fullname":"Jim Schaad"},"organization":{},"address":{"email":"jimsch@nwlink.com"}},{"@attributes":{"initials":"J.","surname":"Weinstein","fullname":"Jeff Weinstein"},"organization":{},"address":{"email":"jsw@meer.net"}}],"date":{"@attributes":{"year":"2000","month":"April"}},"abstract":{"t":["This document defines a Certificate Management protocol using CMS. This protocol addresses two immediate needs within the Internet PKI community:","1. The need for an interface to public key certification products and services based onand, and \n2. The need infor a certificate enrollment protocol for DSA-signed certificates with Diffie-Hellman public keys.","A small number of additional services are defined to supplement the core certificate request service.","Throughout this specification the term CMS is used to refer to bothand.  For both signedData and envelopedData, CMS is a superset of the PKCS7. In general, the use of PKCS7 in this document is aligned to the Cryptographic Message Syntaxthat provides a superset of the PKCS7 syntax. The term CMC refers to this specification.","The key words \"MUST\", \"MUST NOT\", \"REQUIRED\", \"SHALL\", \"SHALL NOT\", \"SHOULD\", \"SHOULD NOT\", \"RECOMMENDED\", \"MAY\", and \"OPTIONAL\" in this document are to be interpreted as described in [RFC 2119]."]}},"seriesInfo":{"@attributes":{"name":"RFC","value":"2797"}},"format":{"@attributes":{"type":"TXT","octets":"103357","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc2797.txt"}}},{"@attributes":{"anchor":"CMP"},"front":{"title":"Internet X.509 Public Key Infrastructure Certificate Management Protocols","author":[{"@attributes":{"initials":"C.","surname":"Adams","fullname":"Carlisle Adams"},"organization":"Entrust Technologies","address":{"postal":{"street":["750 Heron Road","Suite E08"],"city":"Ottawa","region":"Ontario","code":"K1V 1A7","country":"CA"},"email":"cadams@entrust.com"}},{"@attributes":{"initials":"S.","surname":"Farrell","fullname":"Stephen Farrell"},"organization":"Software and Systems Engineering Ltd.","address":{"postal":{"street":["Fitzwilliam Court","Leeson Close"],"city":"Dublin","region":{},"code":"2","country":"IE"},"email":"stephen.farrell@sse.ie"}}],"date":{"@attributes":{"month":"March","year":"1999"}},"abstract":{"t":["This document describes the Internet X.509 Public Key Infrastructure (PKI) Certificate Management Protocols. Protocol messages are defined for all relevant aspects of certificate creation and management. Note that \"certificate\" in this document refers to an X.509v3 Certificate as defined in,","The key words \"MUST\", \"MUST NOT\", \"REQUIRED\", \"SHOULD\", \"SHOULD NOT\",  \"RECOMMENDED\", \"MAY\", and \"OPTIONAL\" in this document (in uppercase, as shown) are to be interpreted as described in."]}},"seriesInfo":{"@attributes":{"name":"RFC","value":"2510"}},"format":{"@attributes":{"type":"TXT","octets":"158178","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc2510.txt"}}},{"@attributes":{"anchor":"DISCO"},"front":{"title":"Service Discovery","author":[{"@attributes":{"initials":"J.","surname":"Hildebrand","fullname":"Joe Hildebrand"},"organization":{},"address":{"email":"jhildebrand@jabber.com"}},{"@attributes":{"initials":"P.","surname":"Millard","fullname":"Peter Millard"},"organization":{},"address":{"email":"pgmillard@jabber.org"}},{"@attributes":{"initials":"R.","surname":"Eatmon","fullname":"Ryan Eatmon"},"organization":{},"address":{"email":"reatmon@jabber.org"}},{"@attributes":{"initials":"P.","surname":"Saint-Andre","fullname":"Peter Saint-Andre"},"organization":{},"address":{"email":"stpeter@jabber.org"}}],"date":{"@attributes":{"day":"20","month":"July","year":"2004"}}},"seriesInfo":{"@attributes":{"name":"JSF JEP","value":"0030"}},"format":{"@attributes":{"type":"HTML","target":"http:\/\/www.jabber.org\/jeps\/jep-0030.html"}}},{"@attributes":{"anchor":"MUC"},"front":{"title":"Multi-User Chat","author":{"@attributes":{"initials":"P.","surname":"Saint-Andre","fullname":"Peter Saint-Andre"},"organization":{},"address":{"email":"stpeter@jabber.org"}},"date":{"@attributes":{"day":"30","month":"June","year":"2004"}}},"seriesInfo":{"@attributes":{"name":"JSF JEP","value":"0045"}},"format":{"@attributes":{"type":"HTML","target":"http:\/\/www.jabber.org\/jeps\/jep-0045.html"}}},{"@attributes":{"anchor":"XML","target":"http:\/\/www.w3.org\/TR\/REC-xml"},"front":{"title":"Extensible Markup Language (XML) 1.0 (3rd ed)","author":[{"@attributes":{"initials":"T.","surname":"Bray","fullname":"Tim Bray"},"organization":"Textuality and Netscape","address":{"email":"tbray@textuality.com"}},{"@attributes":{"initials":"J.","surname":"Paoli","fullname":"Jean Paoli"},"organization":"Microsoft","address":{"email":"jeanpa@microsoft.com"}},{"@attributes":{"initials":"C.M.","surname":"Sperberg-McQueen","fullname":"C.  M.  Sperberg-McQueen"},"organization":"University of Illinois at Chicago and Text Encoding Initiative","address":{"email":"cmsmcq@uic.edu"}},{"@attributes":{"initials":"E.","surname":"Maler","fullname":"Eve Maler"},"organization":"Sun Microsystems","address":{"email":"eve.maler@east.sun.com"}}],"date":{"@attributes":{"day":"4","month":"February","year":"2004"}}},"seriesInfo":{"@attributes":{"name":"W3C","value":"REC-xml"}}},{"@attributes":{"anchor":"XML-REG"},"front":{"title":"The IETF XML Registry","author":{"@attributes":{"initials":"M.","surname":"Mealling","fullname":"M. Mealling"},"organization":{}},"date":{"@attributes":{"month":"January","year":"2004"}}},"seriesInfo":[{"@attributes":{"name":"BCP","value":"81"}},{"@attributes":{"name":"RFC","value":"3688"}}],"format":{"@attributes":{"type":"TXT","octets":"17325","target":"ftp:\/\/ftp.isi.edu\/in-notes\/rfc3688.txt"}}}]}],"section":{"@attributes":{"title":"Schema for urn:ietf:params:xml:ns:xmpp-e2e","anchor":"schemas-e2e"},"t":"The following XML schema is descriptive, not normative.","figure":{"artwork":{}}}}}