OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: SOAP, plague, love

[ Lists Home | Date Index | Thread Index ]
  • From: "Jonathan Borden" <jborden@mediaone.net>
  • To: <xml-dev@xml.org>
  • Date: Sun, 7 May 2000 13:32:10 -0400

Dick Brooks wrote:
>
> David,
>
> If I sent a PGP encrypted/signed document as a call parameter
> using SOAP how
> would the receiver know the information was signed/encrypted. Is
> there a way
> to indicate the data is signed/encrypted using SOAP constructs?  If not,
> does this mean I have to package SOAP in another envelope, MIME perhaps?
>

	'SOAP' would not need to be packaged in another envelope, but the PGP
signed/encrypted paramater would need to be represented in a way that would
enable it to be inserted into a valid XML document as a sub-tree.

	This is the exact situation that XMTP
(http://jabr.ne.mediaone.net/documents/xmtp.htm)
handles. XMTP is a mechanism to represent SMTP/MIME messages in valid XML,
as such the XMTP converted PGP document can be inserted into the XML
envelope as the 'parameter'. What this does in effect is create an XMTP
document envelope which represents whatever you would otherwise represent in
MIME. E.g. (simplified for readability)

<MIME>
<Content-type>multipart/encrypted</Content-type>
<Parts>
   <MIME>
	<Content-ID>document</Content-ID>
	<Content-transfer-encoding>base64</Content-transfer-encoding>
	<Body>...</Body>
    </MIME>
    <MIME>
	<Content-ID>signature</Content-ID>
	<Body>...</Body>
    </MIME>
</Parts>
</MIME>

	So, the answer is yes :-)

Jonathan Borden


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS