]> git.donarmstrong.com Git - flightcrew.git/blob - src/FlightCrew/tests/test_data/ocf_tests/EncryptionSatisfiesSchema_DoesntSatisfySchema.xml
Imported Upstream version 0.7.2+dfsg
[flightcrew.git] / src / FlightCrew / tests / test_data / ocf_tests / EncryptionSatisfiesSchema_DoesntSatisfySchema.xml
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
8         </EncryptionMethod>\r
9         <ds:KeyInfo>\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
13             <EncryptedKey>\r
14                 <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>\r
15                 <CipherData>\r
16                     <CipherValue>qZk+NkcGgWq6PiVxeFDCbJzQ2J0=</CipherValue>\r
17                 </CipherData>\r
18                 <ReferenceList>\r
19                     <KeyReference URI="http://exmample.org/foo2"/>\r
20                     <DataReference URI="http://exmample.org/foo1"/>\r
21                 </ReferenceList>\r
22             </EncryptedKey>\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
26                 <OriginatorKeyInfo>\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
32                 <RecipientKeyInfo>\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
37                 </RecipientKeyInfo>\r
38             </AgreementMethod>\r
39         </ds:KeyInfo>\r
40         <CipherData>\r
41             <CipherReference URI="http://example.org/pgpkeys/reagle.b64">\r
42                 <Transforms>\r
43                     <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#base64"/>\r
44                 </Transforms>\r
45             </CipherReference>\r
46         </CipherData>\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
50                     content.</p>\r
51             </EncryptionProperty>\r
52         </EncryptionProperties>\r
53     </EncryptedData>\r
54     \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
57         <CipherData>\r
58             <CipherValue>qZk+NkcGgWq6PiVxeFDCbJzQ2J0=</CipherValue>\r
59         </CipherData>\r
60         <ReferenceList>\r
61             <KeyReference URI="http://exmample.org/foo2"/>\r
62             <DataReference URI="http://exmample.org/foo1"/>\r
63         </ReferenceList>\r
64     </EncryptedKey>\r
65 </encryption>\r