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