1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <encryption xmlns="urn:oasis:names:tc:opendocument:xmlns:container" >
\r
3 <EncryptedData Id="eg1" xmlns="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" >
\r
4 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p" breakme="break" >
\r
5 <KeySize>256</KeySize>
\r
6 <OAEPparams>9lWu3Q==</OAEPparams>
\r
7 <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
\r
10 <ds:KeyName>Joseph</ds:KeyName>
\r
11 <ds:RetrievalMethod URI="http://exmample.org/Reagle/PublicKey"
\r
12 Type="http://www.w3.org/2001/04/xmlenc#EncryptedKey"/>
\r
14 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
\r
16 <CipherValue>qZk+NkcGgWq6PiVxeFDCbJzQ2J0=</CipherValue>
\r
19 <KeyReference URI="http://exmample.org/foo2"/>
\r
20 <DataReference URI="http://exmample.org/foo1"/>
\r
23 <AgreementMethod Algorithm="example:Agreement/Algorithm">
\r
24 <KA-Nonce>Zm9v</KA-Nonce>
\r
25 <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha1"/>
\r
27 <ds:KeyValue><ds:RSAKeyValue>
\r
28 <ds:Modulus>cafebabe</ds:Modulus>
\r
29 <ds:Exponent>cafebabe</ds:Exponent>
\r
30 </ds:RSAKeyValue></ds:KeyValue>
\r
31 </OriginatorKeyInfo>
\r
33 <ds:KeyValue><ds:RSAKeyValue>
\r
34 <ds:Modulus>cafebabe</ds:Modulus>
\r
35 <ds:Exponent>cafebabe</ds:Exponent>
\r
36 </ds:RSAKeyValue></ds:KeyValue>
\r
41 <CipherReference URI="http://example.org/pgpkeys/reagle.b64">
\r
43 <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/>
\r
47 <EncryptionProperties>
\r
48 <EncryptionProperty Target="#eg1" Id="ep2">
\r
49 <p xmlns="http://www.w3.org/1999/xhtml">This XML document tests the schema for ambigous
\r
51 </EncryptionProperty>
\r
52 </EncryptionProperties>
\r
55 <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
\r
56 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
\r
58 <CipherValue>qZk+NkcGgWq6PiVxeFDCbJzQ2J0=</CipherValue>
\r
61 <KeyReference URI="http://exmample.org/foo2"/>
\r
62 <DataReference URI="http://exmample.org/foo1"/>
\r