Section | Specification | 1.1 Testcases |
1.1 tests | Test cases for Canonical XML 2.0 http://www.w3.org/2008/xmlsec/Drafts/c14n-20/test-cases/ | XML Signature Syntax and Processing Version 2.0 http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-20/ |
---|---|---|---|---|---|
3.2.1 XML Signature 2.0 Algorithm Identifiers and Implementation Requirements Canonicalization | Required | Canonical XML 2.0 | 1.1 tests | ||
Transform | |||||
Required: | XML Signature 2.0 Transform | 1.1 tests | |||
Selection | |||||
Required | XML Documents or Fragments http://www.w3.org/2010/xmldsig2#xml | 1.1 tests | |||
Required | External Binary Data http://www.w3.org/2010/xmldsig2#binaryExternal | 1.1 tests | |||
Required | Selection of Binary Data within XML http://www.w3.org/2010/xmldsig2#binaryfromBase64 | ? | |||
Verification | |||||
Optional | DigestDataLength http://www.w3.org/2010/xmldsig2#DigestDataLength | ||||
Optional | PositionAssertion http://www.w3.org/2010/xmldsig2#PositionAssertion | ||||
Optional | IDAttributes http://www.w3.org/2010/xmldsig2#IDAttributes | ||||
Canonicalization | |||||
Required | Canonical XML 1.0 (omits comments) http://www.w3.org/TR/2001/REC-xml-c14n-20010315 | 1.1 tests | |||
Required | Canonical XML 1.1 (omits comments) http://www.w3.org/2006/12/xml-c14n11 | 1.1 tests for c14n, but unknown if the test is inclusive or exclusive | |||
Required | Exclusive XML Canonicalization 1.0 (omits comments) http://www.w3.org/2001/10/xml-exc-c14n# | 1.1 tests for c14n, but unknown if the test omits comments | |||
Recommended | Canonical XML 1.0 with Comments http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments | ||||
Recommended | Canonical XML 1.1 with Comments http://www.w3.org/2006/12/xml-c14n11#WithComments | ||||
Recommended | Exclusive XML Canonicalization 1.0 with Comments http://www.w3.org/2001/10/xml-exc-c14n#WithComments | ||||
Transform | |||||
Required | base64 http://www.w3.org/2000/09/xmldsig#base64 | ||||
Required | Enveloped Signature http://www.w3.org/2000/09/xmldsig#enveloped-signature | ||||
Recommended | XPath http://www.w3.org/TR/1999/REC-xpath-19991116 | 1.1 tests | |||
Recommended | XPath Filter 2.0 http://www.w3.org/2002/06/xmldsig-filter2 | ||||
Optional | XSLT http://www.w3.org/TR/1999/REC-xslt-19991116 | ||||
Core Validation Interoperability (4.3) | |||||
Verify: |
|
||||
Algorithms (Message Digests) http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-20/#sec-MessageDigests | |||||
|
10.1.1 SHA-1 | 1.1 Tests | |||
|
10.1.2 SHA-256 | 1.1 Tests | |||
|
10.1.3 SHA-384 | 1.1 Tests | |||
10.1.4 SHA-512 | 1.1 Tests | ||||
Algorithms ( Message Authentication Codes
) http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-20/#sec-MACs | |||||
|
10.2.1 HMAC | 1.1 Tests | |||
Algorithms ( Signature Algorithms) http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-20/#sec-SignatureAlg | |||||
|
10.3.1 DSA | 1.1 Tests | |||
|
10.3.2 RSA (PKCS#1 v1.5) | 1.1 Tests | |||
|
10.3.3 ECDSA | 1.1 Tests | |||
Algorithms (Canonicalization Algorithms) http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-20/#sec-c14nAlg-2.0 | |||||
|
10.4.1 Canonical XML 2.0 | http://www.w3.org/2008/xmlsec/Group/interop/c14n2/ | |||
Algorithms (The Transform Algorithm) http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-20/#sec-Transforms-2.0 | |||||
|
10.5 The Transform Algorithm | Needs Development |
Section | Specification | 1.1 Tests | Needs Development | |||
XML Signature Streaming Profile of XPath 1.0 http://www.w3.org/2008/xmlsec/Drafts/xmldsig-xpath/ | ||||||
2. Streamable | One pass Streaming | Needs Development | ||||
http://www.w3.org/2008/xmlsec/Drafts/c14n-20/test-cases/
Canonical XML Version 1.1 |
http://www.w3.org/TR/2008/NOTE-xmldsig2ed-tests-20080610 | |
---|---|---|
|
3.2.1 Test Cases for xml:lang attribute |
|
Document Order
|
3.2.4.2 Test Cases for checking XML-C14N1.1 specification tests | |
Processing Model
|
Does this apply to all test? What about tests for all node types in the list in the recommendation? 3.2.4.1 Test Cases for checking xml:base attribute propagation |
|
Document Subsets | 3.2 Test Cases for Canonicalization 1.1 |
Test Cases for 1.1
Author: Gerald Edgar
July 17, 2011