Debian Codegraph @

tests/DS/signed/simple_ds_invalid_sign.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="scap_org.open-scap_collection_from_xccdf_test_single_rule.xccdf.xml" schematron-version="1.3" xsi:schemaLocation="http://scap.nist.gov/schema/scap/source/1.2 https://scap.nist.gov/schema/scap/1.3/scap-source-data-stream_1.3.xsd">
3 <ds:data-stream id="scap_org.open-scap_datastream_simple" scap-version="1.3" use-case="OTHER">
4 <ds:checklists>
5 <ds:component-ref id="scap_org.open-scap_cref_test_single_rule.xccdf.xml" xlink:href="#scap_org.open-scap_comp_test_single_rule.xccdf.xml">
6 <cat:catalog>
7 <cat:uri name="test_single_rule.oval.xml" uri="#scap_org.open-scap_cref_test_single_rule.oval.xml"/>
8 </cat:catalog>
9 </ds:component-ref>
10 </ds:checklists>
11 <ds:checks>
12 <ds:component-ref id="scap_org.open-scap_cref_test_single_rule.oval.xml" xlink:href="#scap_org.open-scap_comp_test_single_rule.oval.xml"/>
13 </ds:checks>
14 </ds:data-stream>
15 <ds:component id="scap_org.open-scap_comp_test_single_rule.oval.xml" timestamp="2021-02-01T08:07:06+01:00">
16 <oval_definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:win-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#windows" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#windows windows-definitions-schema.xsd">
17 <generator>
18 <oval:schema_version>5.11.2</oval:schema_version>
19 <oval:timestamp>2021-02-01T08:07:06+01:00</oval:timestamp>
20 </generator>
21 <definitions>
22 <definition class="compliance" id="oval:x:def:1" version="1">
23 <metadata>
24 <title>PASS</title>
25 <description>pass</description>
26 </metadata>
27 <criteria>
28 <criterion comment="PASS test" test_ref="oval:x:tst:1"/>
29 </criteria>
30 </definition>
31 </definitions>
32 <tests>
33 <variable_test xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:tst:1" check="all" comment="always pass" version="1">
34 <object object_ref="oval:x:obj:1"/>
35 </variable_test>
36 </tests>
37 <objects>
38 <variable_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" id="oval:x:obj:1" version="1" comment="x">
39 <var_ref>oval:x:var:1</var_ref>
40 </variable_object>
41 </objects>
42 <variables>
43 <constant_variable id="oval:x:var:1" version="1" comment="x" datatype="int">
44 <value>100</value>
45 </constant_variable>
46 </variables>
47 </oval_definitions>
48 </ds:component>
49 <ds:component id="scap_org.open-scap_comp_test_single_rule.xccdf.xml" timestamp="2021-02-01T08:07:06+01:00">
50 <Benchmark xmlns="http://checklists.nist.gov/xccdf/1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="xccdf_com.example.www_benchmark_dummy" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US">
51 <status date="2021-01-21">accepted</status>
52 <title>Test Benchmark</title>
53 <description>Description</description>
54 <version>1.0</version>
55 <metadata>
56 <dc:contributor xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:contributor>
57 <dc:publisher xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:publisher>
58 <dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">OpenSCAP</dc:creator>
59 <dc:source xmlns:dc="http://purl.org/dc/elements/1.1/">http://scap.nist.gov</dc:source>
60 </metadata>
61 <Profile id="xccdf_com.example.www_profile_test_single_rule">
62 <title>xccdf_test_profile</title>
63 <description>This profile is for testing.</description>
64 <select idref="xccdf_com.example.www_rule_test-pass" selected="true"/>
65 </Profile>
66 <Rule selected="true" id="xccdf_com.example.www_rule_test-pass">
67 <title>This rule always passes</title>
68 <description>Description</description>
69 <check system="http://oval.mitre.org/XMLSchema/oval-definitions-5">
70 <check-content-ref href="test_single_rule.oval.xml" name="oval:x:def:1"/>
71 </check>
72 </Rule>
73 </Benchmark>
74 </ds:component>
75 <!-- review with SCAP 1.3 specification, section 3.11 -->
76 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="dsig-9348625547">
77 <SignedInfo>
78 <CanonicalizationMethod Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
79 <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
80 <Reference URI="#scap_org.open-scap_datastream_simple">
81 <Transforms>
82 <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
83 </Transforms>
84 <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
85 <DigestValue>X1pcMhskV4RlSXnYGEDGdNPeyubxuxweLGeAvvJ8izc=</DigestValue>
86 </Reference>
87 <Reference Type="http://www.w3.org/2000/09/xmldsig#SignatureProperties" URI="#sig-props-9348625547">
88 <Transforms>
89 <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
90 </Transforms>
91 <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512"/>
92 <DigestValue>OT65MT47VElRhYpnZR8jxrdGI6dC78V8o2towquMU749EiB0FqvR/fUWjPoAChmI
93 WltLh7EHFR3EnI7qtRVubA==</DigestValue>
94 </Reference>
95 <Reference Type="http://www.w3.org/2000/09/xmldsig#Manifest" URI="#manifest-9348625547">
96 <Transforms>
97 <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
98 </Transforms>
99 <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
100 <DigestValue>9jhD0EcyT48TrZdTyGgoCZCSDtkca+FlUqEsDNT06/A=</DigestValue>
101 </Reference>
102 </SignedInfo>
103 <SignatureValue>YvCjpTNg8OefZ3syPueU5ifPm7w6rQ3VbfeaQtk3noWhxO7OoPE7+OCHDQZZPZdi
104 2gHmsAx2R5N+46XNSKJ20JU0Er3Vdwbg+Zr7/Rk1HNzXB/fHkw1HYIOA8bMOkJcc
105 Xwrf9ylsFb8R+g/walqmejPaMfsVUPzFOpLyL5gh92o=</SignatureValue>
106 <KeyInfo>
107 <KeyValue>
108 <RSAKeyValue>
109 <Modulus>
110 3fi4CEX85zqrPgVTyFwDP+0MU1YJb27VU4TnC2oRn7rz/M3U+XXli7PRaXnCsZ/+
111 37OcsCKChqVbvPjCYO130dQa3yCTk5T9fOiqksyudYpzSQDdlljVjt9Y673W0tUj
112 JPacZRWlteU5ffpY0U6ujYeUs0r5WdlRSzTeMJhKJBM=
113 </Modulus>
114 <Exponent>
115 AQAB
116 </Exponent>
117 </RSAKeyValue>
118 </KeyValue>
119 </KeyInfo>
120 <Object>
121 <SignatureProperties Id="sig-props-9348625547">
122 <SignatureProperty Target="#dsig-9348625547">
123 <dsig:signature-info xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dsig="http://scap.nist.gov/schema/xml-dsig/1.0">
124 <dc:date>2021-02-01T08:07:06+01:00</dc:date>
125 <dsig:nonce>a58dwer623su96</dsig:nonce>
126 </dsig:signature-info>
127 </SignatureProperty>
128 </SignatureProperties>
129 </Object>
130 <Object>
131 <Manifest Id="manifest-9348625547">
132 <Reference URI="#scap_org.open-scap_comp_test_single_rule.oval.xml">
133 <Transforms>
134 <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
135 </Transforms>
136 <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
137 <DigestValue>shkpPebd5G2ovAe7Smubc37HAlbYP6Yaop07QBIOxAg=</DigestValue>
138 </Reference>
139 <Reference URI="#scap_org.open-scap_comp_test_single_rule.xccdf.xml">
140 <Transforms>
141 <Transform Algorithm="http://www.w3.org/2006/12/xml-c14n11"/>
142 </Transforms>
143 <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
144 <DigestValue>HllNGlBUwOZuzILcW0anKSKwXr66xHzaMnVF/uYK5G8=</DigestValue>
145 </Reference>
146 </Manifest>
147 </Object>
148 </Signature>
149 </ds:data-stream-collection>