]> git.donarmstrong.com Git - flightcrew.git/blob - src/FlightCrew/tests/test_data/ocf_tests/EncryptionSatisfiesSchema_SatisfiesSchema.xml
Imported Upstream version 0.7.2+dfsg
[flightcrew.git] / src / FlightCrew / tests / test_data / ocf_tests / EncryptionSatisfiesSchema_SatisfiesSchema.xml
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">
5       <KeySize>256</KeySize>
6       <OAEPparams>9lWu3Q==</OAEPparams>
7       <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
8     </EncryptionMethod>
9     <ds:KeyInfo>
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"/>
13       <EncryptedKey>
14         <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
15         <CipherData>
16           <CipherValue>qZk+NkcGgWq6PiVxeFDCbJzQ2J0=</CipherValue>
17         </CipherData>
18         <ReferenceList>
19           <KeyReference URI="http://exmample.org/foo2"/>
20           <DataReference URI="http://exmample.org/foo1"/>
21         </ReferenceList>
22       </EncryptedKey>
23       <AgreementMethod Algorithm="example:Agreement/Algorithm">
24         <KA-Nonce>Zm9v</KA-Nonce>
25         <ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha1"/>
26         <OriginatorKeyInfo>
27           <ds:KeyValue><ds:RSAKeyValue>
28               <ds:Modulus>cafebabe</ds:Modulus>
29               <ds:Exponent>cafebabe</ds:Exponent>
30             </ds:RSAKeyValue></ds:KeyValue>
31         </OriginatorKeyInfo>
32         <RecipientKeyInfo>
33           <ds:KeyValue><ds:RSAKeyValue>
34               <ds:Modulus>cafebabe</ds:Modulus>
35               <ds:Exponent>cafebabe</ds:Exponent>
36             </ds:RSAKeyValue></ds:KeyValue>
37         </RecipientKeyInfo>
38       </AgreementMethod>
39     </ds:KeyInfo>
40     <CipherData>
41       <CipherReference URI="http://example.org/pgpkeys/reagle.b64">
42         <Transforms>
43           <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/>
44         </Transforms>
45       </CipherReference>
46     </CipherData>
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
50           content.</p>
51       </EncryptionProperty>
52     </EncryptionProperties>
53   </EncryptedData>
54   
55   <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
56     <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
57     <CipherData>
58       <CipherValue>qZk+NkcGgWq6PiVxeFDCbJzQ2J0=</CipherValue>
59     </CipherData>
60     <ReferenceList>
61       <KeyReference URI="http://exmample.org/foo2"/>
62       <DataReference URI="http://exmample.org/foo1"/>
63     </ReferenceList>
64   </EncryptedKey>
65 </encryption>