hash
stringlengths
32
32
doc_id
stringlengths
7
13
section
stringlengths
3
121
content
stringlengths
0
3.82M
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.2.1 Test assertions common to XAdES baseline and extended signatures
TA id: XAdES_BB/QP/1 Normative source: [1]- Clause 4.3.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:QualifyingProperties element is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XAdES_BB/QP/2 Normative source: [1]- Clause 4.3.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The Target attribute of xades:QualifyingProperties element references the Id attribute of the ds:Signature element that is the root element of the XAdES signature that incorporates the aforementioned xades:QualifyingProperties element. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.2.2 Test assertions specific to XAdES baseline signatures
TA id: XAdES_BS/QP/1 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:QualifyingProperties element contains one xades:SignedProperties child element. Prescription level: mandatory Tag: XAdES baseline signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 15
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.3 Testing xades:SignedProperties
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.3.1 Test assertions specific to XAdES baseline signatures
TA id: XAdES_BS/SIGPROP/1 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:SignedProperties contains one xades:SignedSignatureProperties child element. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XAdES_BS/ SIGPROP/3 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The ds:Signature countersigns one or more signatures (it is the child element of a xades:CounterSignature element AND/OR it has one or more ds:Reference elements that have their corresponding Type attributes set to "http://uri.etsi.org/01903#CountersignedSignature") AND the signature signs the countersigned signature(s), its own xades:SignedProperties, and additional data objects. Predicate: The xades:SignedProperties contains one xades:SignedDataObjectProperties element. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XAdES_BS/SIGPROP/2 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The ds:Signature does not countersign any signature AND signs its own xades:SignedProperties and additional data objects. Predicate: The xades:SignedProperties contains one xades:SignedDataObjectProperties element. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.4 Testing xades:SignedSignatureProperties
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.4.1 Test assertions specific to XAdES baseline signatures
TA id: XAdES_BS/SIGSIGPROP/1 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:SignedSignatureProperties element contains one xades:SigningCertificateV2 qualifying property. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/SIGSIGPROP/2 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:SignedSignatureProperties element contains one xades:SigningTime qualifying property. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.5 Testing xades:SignedDataObjectProperties
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.5.1 Test assertions common to XAdES baseline and extended signatures
TA id: XAdES_BB/SIGDOPROP/1 Normative source: [1]- Clause 4.3.5 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SignedDataObjectProperties element is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 16
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.5.2 Test assertions specific to XAdES baseline signatures
TA id: XAdES_BS/SIGDOPROP/1 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The signature does not countersign any signature. Predicate: The xades:SignedDataObjectProperties element has one xades:DataObjectFormat per each signed data object except the xades:SignedProperties element. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XAdES_BS/SIGDOPROP/2 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The ds:Signature countersigns one or more signatures (it is the child element of a xades:CounterSignature element AND/OR it has one or more ds:Reference elements that have their corresponding Type attributes set to "http://uri.etsi.org/01903#CountersignedSignature") AND the signature signs the countersigned signature(s), its own xades:SignedProperties, and additional data objects. Predicate: The xades:SignedProperties has one xades:DataObjectFormat per each additional signed data object. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.6 Testing xades:UnSignedProperties
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.6.1 Test assertions common to XAdES baseline and extended signatures
TA id: XAdES_BB/UNSIGPROP/1 Normative source: [1]- Clause 4.3.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:UnSignedProperties element is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.6.2 Test assertions specific to XAdES baseline signatures
TA id: XAdES_BS/UNSIGPROP/1 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: A XAdES baseline signature incorporates 0 or 1 xades:UnSignedProperties element. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.7 Testing xades:UnSignedSignatureProperties
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.7.1 Test assertions common to XAdES baseline and extended signatures
TA id: XAdES_BB/UNSIGSIGPROP/1 Normative source: [1]- Clause 4.3.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:UnSignedSignatureProperties element is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.7.2 Test assertions specific to XAdES baseline signatures
TA id: XAdES_BS/UNSIGSIGPROP/1 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: A XAdES baseline signature incorporates 0 or 1 xades:UnSignedSignatureProperties element. Prescription level: mandatory Tag: XAdES baseline signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 17
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.8 Testing xades:UnSignedDataObjectProperties
bd563035a50afe21248e3fe615812d70
119 134-4
5.2.2.8.1 Test assertions common to XAdES baseline and extended signatures
TA id: XAdES_BB/UNSIGDOPROP/1 Normative source: [1]- Clause 4.3.7 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:UnSignedDataObjectProperties element is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures NOTE: So far no property of this type has been specified within XAdES framework. It is out of the scope of the present document to specify any conformance assertion for this property or their potential children other than the assertion above. TA id: XAdES_BB/UNSIGDOPROP/2 Normative source: [1] - Clause 6.3 - [2] Clauses 4.3, A.1 and A.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: A XAdES signature does not incorporates any xades:UnSignedDataObjectProperties element. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3 Testing XAdES qualifying properties
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.1 Testing xades:SigningTime element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.1.1 Test assertions specific to XAdES baseline signatures
No additional test assertions for checking xades:SigningTime qualifying property are required in addition to the ones defined in clause A.3.2.
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.2 Testing xades:SigningCertificateV2 element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.2.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/SIGCERTV2/1 Normative source: [1]- Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The first xades:Cert child of the xades:SigningCertificateV2 signed property contains the base-64 encoded value of digest value computed on the DER-encoded signing certificate. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGCERTV2/2 Normative source: [1]- Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SigningCertificate signed property contains other xades:Cert elements. Prescription level: permitted Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGCERTV2/3 Normative source: [1]- Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Cert children other than the first one contain base-64 encoded digest values of other DER-encoded certificates different than the signing certificate, which are part of the signing certificate path. Prescription level: permitted Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 18
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.2.2 Test assertions specific to XAdES baseline signatures
TA id: XAdES_BS/SIGCERTV2/1 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:SigningCertificateV2 does not contain Cert children's URI attribute. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XAdES_BS/SIGCERTV2/2 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:SigningCertificateV2 does not include the IssuerSerialV2 Cert’s child. Prescription level: preferred Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.3 Testing xades:CommitmentTypeIndication element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.3.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/CTI/1 Normative source: [1]- Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any xades:ObjectReference present child element references either a ds:Reference element within the ds:SignedInfo element, or a ds:Reference within a signed ds:Manifest element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/CTI/2 Normative source: [1]- Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: None of the xades:ObjectReference present children elements does reference a ds:Reference element referencing the xades:SignedProperties element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/CTI/3 Normative source: [1]- Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The Identifier child of xades:CommitmentTypeIndication does not contain the Qualifier attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.4 Testing xades:DataObjectFormat element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.4.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/DOF/1 Normative source: [1] – Clause 5.2.4 Target: : XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The attribute ObjectReference of xades:DataObjectFormat element references either a ds:Reference element child of ds:SignedInfo, or a ds:Reference element child of signed ds:Manifest element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/DOF/2 Normative source: [1] – Clause 5.2.4 Target: : XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The ObjectReference attribute of xades:DataObjectFormat element does not reference a ds:Reference element referencing the xades:SignedProperties element. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 19 TA id: XADES_BB/DOF/3 Normative source: [1] – Clause 6.3 Target: : XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The ObjectReference attribute of the xades:DataObjectFormat element does not reference a ds:Reference that is present within a countersignature AND that references the countersigned signature. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/DOF/4 Normative source: [1] – Clause 5.2.4 Target: : XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The xades:DataObjectFormat element contains one xades:MimeType child element AND the ObjectReference attribute of the xades:DataObjectFormat element references a ds:Reference in the signature AND this ds:Reference references a ds:Object AND this ds:Object contains a MimeType attribute. Predicate: The value of the xades:MimeType child element of the xades:DataObjectFormat element is the same as the value of the MimeType attribute of the ds:Object. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/DOF/5 Normative source: [1] – Clause 5.2.4 Target: : XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The xades:DataObjectFormat element contains one xades:Encoding child element AND the ObjectReference attribute of the xades:DataObjectFormat element references a ds:Reference in the signature AND this ds:Reference references a ds:Object AND this ds:Object contains an Encoding attribute. Predicate: The value of the xades:Encoding child element of the xades:DataObjectFormat element, is the same as the value of the Encoding attribute of the ds:Object. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/DOF/6 Normative source: [1] – Clause 5.1.2 Target: : XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The value of the attribute Qualifier of the xades:ObjectIdentifier child element of xades:DataObjectFormat is "OIDAsURN". Predicate: The value of the xades: ObjectIdentifier child element of xades:DataObjectFormat child element of the xades:DataObjectFormat element is an OID encoded within an URN as specified in the IETF RFC 3061 [4]. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.4.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/DOF/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The XAdES signature is not a countersignature. Predicate: One xades:DataObjectFormat property is incorporated to the XAdES signature for each signed data object, except for the xades:SignedProperties element. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/DOF/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The XAdES signature is a countersignature (it is the child of a xades:CounterSignature AND/OR some of its ds:Reference have their Type attributes set to value “http://uri.etsi.org/01903#CountersignedSignature”). Predicate: One xades:DataObjectFormat property is incorporated to the XAdES signature for each signed data object, except for the xades:SignedProperties element, and for the countersigned signatures. Prescription level: mandatory Tag: XAdES baseline signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 20 TA id: XADES_BBS/DOF/3 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: xades:DataObjectFormat property contains one xades:MimeType child. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.5 Testing xades:SignatureProductionPlaceV2 element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.5.1 Test assertions common to XAdES baseline and extended signatures
TA id: XAdES_BB/SIGPRODPLV2/1 Normative source: [1]- Clause 5.2.5 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SignatureProductionPlace element is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.6 Testing xades:SignerRoleV2 element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.6.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/SIGROLEV2/1 Normative source: [1]- Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SignerRoleV2 property is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGROLE/2 Normative source: [1]- Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any present xades:X509AttributeCertificate element encapsulates the base-64 encoding of one DER-encoded X509 attribute certificate. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGROLE/3 Normative source: [1]- Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The content of a xades:SignedAssertion is an XML node set. Predicate: The content of a xades:SignedAssertion is well formed. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGROLE/4 Normative source: [1]- Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any present xades:SignedAssertion element is signed. Prescription level: mandatory Tag: XAdES baseline and extended signatures NOTE: The specification of the contents of xades:OtherAttributeCertificate element is out of the scope of XAdES framework. It is out of the scope of the present document to specify any conformance assertion for this element or their potential children other than the assertion above. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 21
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.7 Testing xades:CounterSignature element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.7.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/COUNTSIG/2 Normative source: [1]- Clause 5.2.7 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CounterSignature element contains a ds:Reference referencing the ds:SignatureValue of the countersigned signature. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/COUNTSIG/3 Normative source: [1]- Clause 5.2.7 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the ds:SignatureValue child of the xades:CounterSignature property is cryptographically correct. Prescription level: mandatory Tag: XAdES baseline and extended signatures For testing conformance of the countersignature itself against XAdES baseline signatures as specified in ETSI EN 319 132-1 [1], the whole set of tests assertions defined in the present document shall be checked for the countersignature. NOTE: ETSI TS 119 134-5 [i.3] provides details on how to proceed for testing conformance of the countersignature against XAdES extended signatures as specified in ETSI EN 319 132-2 [2].
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.8 Testing xades:AllDataObjectsTimeStamp element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.8.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/ADOTST/1 Normative source: [1] – Clause 5.2.8.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:AllDataObjectsTimeStamp does not contain any xades:Include child element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/ADOTST/2 Normative source: [1] – Clause 5.2.8.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:AllDataObjectsTimeStamp encapsulates one or more time-stamp tokens. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/ADOTST/3 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:AllDataObjectsTimeStamp uses the implicit mechanism as specified in EN 319 132 Part 1 clause 5.1.4.4.1. Prescription level: mandatory Tag: XAdES baseline signatures and extended signatures TA id: XADES_BB/ADOTST/4 Normative source: [1] – Clause 5.2.8.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2 Predicate: The message imprint computation input of any time-stamp token encapsulated by xades:AllDataObjectsTimeStamp is the concatenation of all the objects obtained after processing as specified in XMLDSIG [3] clause 4.4.3.2 all the ds:Reference elements within the ds:SignedInfo except the one referencing the xades:SignedProperties element, in their order of appearance Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 22
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.9 Testing xades:IndividualDataObjectsTimeStamp element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.9.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/IDOTST/1 Normative source: [1] – Clause 5.2.8.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:IndividualDataObjectsTimeStamp qualifying property contains one or more xades:Include children element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/IDOTST/2 Normative source: [1] – Clause 5.2.8.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:IndividualDataObjectsTimeStamp encapsulates one or more time-stamp tokens. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/IDOTST/3 Normative source: [1] – Clause 5.2.8.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any xades:Include child element references one ds:Reference element within the ds:SignedInfo or within a signed ds:Manifest. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/IDOTST/4 Normative source: [1] – Clause 5.2.8.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: A ds:Reference element within the ds:SignedInfo that is referenced by a xades:Include child element of xades:IndividualDataObjectsTimeStamp qualifying property, does not reference the xades:SignedProperties element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/IDOTST/5 Normative source: [1] – Clause 5.2.8.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the referencedData attribute of any xades:Include descendant element is “true”. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/IDOTST/6 Normative source: [1] – Clause 5.2.8.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The message imprint computation input of any time-stamp token encapsulated by xades:IndividualDataObjectsTimeStamp is the concatenation of the objects obtained after processing as specified in XMLDSIG [3] clause 4.4.3.2 the ds:Reference elements within the ds:SignedInfo or signed ds:Manifest referenced by the URI attributes of the xades:Include elements. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.10 Testing xades:SignaturePolicyIdentifier element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.10.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/SIGPOLID/1 Normative source: [1] – Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SigPolicyHash element contains the hash value of the object obtained after processing xades:SigPolicyId and ds:Transforms element when this last element is present. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 23 TA id: XADES_BB/SIGPOLID/2 Normative source: [1] – Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The value of the Algorithm attribute of one of the ds:Transform children of the ds:Transforms element is http://uri.etsi.org/01903/v1.3.2/SignaturePolicy/SPDocDigestAsInSpecification. Predicate: The xades:SignaturePolicyIdentifier property is qualified at least by the xadesv141:SPDocSpecification qualifier. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGPOLID/3 Normative source: [1] – Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SigPolicyQualifiers child element of xades:SignaturePolicyId, contains one or more qualifiers of the same type. Prescription level: permitted Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.10.2 Testing xades:SPURI signature policy qualifier
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.10.2.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/SIGPOLID/SPURI/1 Normative source: [1] – Clause 5.2.9.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The place referenced by its value contains the signature policy document. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.10.3 Testing xadesv141:SPDocSpecification signature policy qualifier
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.10.3.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/SIGPOLID/SPDOCSPEC/1 Normative source: [1] – Clause 5.2.9.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The technical specification is identified using an OID. Predicate: The xades:Identifier child contains a URN encoding this OID as specified in IETF RFC 3061 [4] AND its QualifierType attribute is present with its value set to "OIDAsURN". Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGPOLID/SPDOCSPEC/2 Normative source: [1] – Clause 5.2.9.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The technical specification is identified using a URI. Predicate: The value of the xades:Identifier child element is this URI AND its xades:QualifierType attribute is not present. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.11 Testing xadesv141:SignaturePolicyStore
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.11.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/SIGPOLST/1 Normative source: [1]- Clause 6.3, [2] Clauses 4.3, A.1, and A.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The XAdES signature does not incorporate the xades:SignaturePolicyIdentifier. Predicate: The XAdES signature does not incorporate the xadesv141:SignaturePolicyStore. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 24 TA id: XADES_BB/SIGPOLST/2 Normative source: [1]- Clause 6.3, [2] Clauses 4.3, A.1, and A.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The XAdES signature incorporates the xades:SignaturePolicyIdentifier AND the xades:SignaturePolicyIdentifier does not contain the xades:SigPolicyHash descendant element. Predicate: The XAdES signature does not incorporate the xadesv141:SignaturePolicyStore. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGPOLST/3 Normative source: [1]- Clause 6.3, [2] Clauses 4.3, A.1, and A.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The XAdES signature incorporates the xades:SignaturePolicyIdentifier AND the xades:SignaturePolicyIdentifier contains an empty xades:SigPolicyHash descendant element. Predicate: The XAdES signature does not incorporate the xadesv141:SignaturePolicyStore. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGPOLST/4 Normative source: [1]- Clause 6.3, [2] Clauses 4.3, A.1, and A.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The XAdES signature incorporates the xades:SignaturePolicyIdentifier AND the xades:SignaturePolicyIdentifier contains a non empty xades:SigPolicyHash descendant element. Predicate: The XAdES signature incorporates the xadesv141:SignaturePolicyStore. Prescription level: permitted Tag: XAdES baseline and extended signatures TA id: XADES_BB/SIGPOLST/5 Normative source: [1]- Clause 5.2.10 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The place referenced by the value of xades:SigPolDocLocalURI child element contains the signature policy document. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.12 Testing xadesv141:CompleteCertificateRefsV2 element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.12.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/CCERTREFSV2/1 Normative source: [1]- Clause A.1.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xadesv141:CompleteCertificateRefsV2 property does not contain a reference of the signing certificate. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/CCERTREFSV2/2 Normative source: [1]- Clause A.1.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: At least one of the following unsigned properties is incorporated into the signature: xades:CertificateValues, xades:AttrAuthoritiesCertValues, or the xadesv141:ArchiveTimeStamp defined in the namespace whose URI is http://uri.etsi.org/01903/v1.4.1#. Predicate: All the certificates referenced in xadesv141:CompleteCertificateRefsV2 are present elsewhere in the signature. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.12.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/CCERTREFSV2/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:CompleteCertificateRefsV2 property is not present in the signature. Prescription level: preferred Tag: XAdES baseline signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 25 TA id: XADES_BS/CCERTREFSV2/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: At most one instance of xadesv141:CompleteCertificateRefsV2 property is incorporated into the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XAdES_BS/CCERTREFSV2/3 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:CompleteCertificateRefsV2 property does not include the IssuerSerialV2 child element of Cert child element. Prescription level: preferred Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.13 Testing xadesv141:AttributeCertificateRefsV2 element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.13.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/ATTCERTREFSV2/1 Normative source: [1]- Clause A.1.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xadesv141:AttributeCertificateRefsV2 property does not contain references present within xadesv141:CompleteCertificateRefsV2 and xades:SigningCertificateV2 properties. Prescription level: preferred Tag: XAdES baseline and extended signatures TA id: XADES_BB/ATTCERTREFSV2/2 Normative source: [1]- Clause A.1.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: At least one of the following unsigned properties is incorporated into the signature: xades:CertificateValues, xades:AttrAuthoritiesCertValues, or xadesv141:ArchiveTimeStamp. Predicate: All the certificates referenced in xadesv141:AttributeCertificateRefsV2 are present in the signature. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XAdES_BB/ATTCERTREFSV2/3 Normative source: [1]- Clause A.1.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: At least one attribute certificate or one signed assertion is incorporated into the XAdES signature. Predicate: The xadesv141:AttributeCertificateRefsV2 property is present Prescription level: permitted Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.13.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/ATTCERTREFSV2/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:AttributeCertificateRefsV2 property is not present in the signature. Prescription level: preferred Tag: XAdES baseline signatures TA id: XADES_BS/ATTCERTREFSV2/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: At most one instance of xadesv141:AttributeCertificateRefsV2 property is incorporated into the signature. Prescription level: mandatory Tag: XAdES baseline signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 26 TA id: XAdES_BS/ATTCERTREFSV2/3 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:AttributeCertificateRefsV2 property does not include the IssuerSerialV2 Cert’s child. Prescription level: preferred Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.14 Testing xades:CompleteRevocationRefs element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.14.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/CREVREFS/1 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CompleteRevocationRefs contains a reference to a revocation value for the signing certificate. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/CREVREFS/2 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CompleteRevocationRefs contains references to revocation values corresponding to CA certificates within the signing certificate path. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/CREVREFS/3 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CompleteRevocationRefs does not contain references to revocation values for the trust anchor. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/CREVREFS/4 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:byKey child of any xades:ResponderID element contains the base-64 encoding of the DER-encoded of ‘byKey’ field specified in IETF RFC 6960 [6]. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/CREVREFS/5 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value in xades:ProducedAt child of xades:OCSPIdentifier element indicates the same time as the time indicated by the ‘ProducedAt’ field of the referenced OCSP response. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/CREVREFS/6 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:OCSPRef contains the xades:DigestAlgAndValue child element. Prescription level: preferred Tag: XAdES baseline and extended signatures TA id: XADES_BB/CREVREFS/7 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CompleteRevocationRefs property is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 27 TA id: XADES_BB/CREVREFS/8 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: At least one of the following unsigned properties is incorporated into the signature: xades:CertificateValues, xades:AttrAuthoritiesCertValues, or xadesv141:ArchiveTimeStamp. Predicate: All the revocation data referenced in xades:CompleteRevocationRefs is present elsewhere in the signature. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.14.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/CREVREFS/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:CompleteRevocationRefs property is not present in the signature. Prescription level: preferred Tag: XAdES baseline signatures TA id: XADES_BS/CREVREFS/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: At most one instance of xades:CompleteRevocationRefs property is incorporated into the signature. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.15 Testing xades:AttributeRevocationRefs element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.15.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/ATTREVREFS/1 Normative source: [1]- Clause A.1.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: All or some of the references to revocation values for the signing certificate(s) of the attribute certificate(s) and signed assertion(s) are not present within xades:CompleteRevocationRefs. Predicate: The missing references to revocation values for the signing certificate(s) of the attribute certificate(s) and signed assertion(s) are present within xades:AttributeRevocationRefs qualifying property. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/ATTREVREFS/2 Normative source: [1]- Clause A.1.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:AttributeRevocationRefs does not contain references to revocation values for the trust anchor. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/ATTREVREFS/3 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:byKey child of any xades:ResponderID element contains the base-64 encoding of the DER-encoded of ‘byKey’ field specified in IETF RFC 6960 [6]. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/ATTREVREFS/4 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value in xades:ProducedAt child of xades:OCSPIdentifier element indicates the same time as the time indicated by the ‘ProducedAt’ field of the referenced OCSP response. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 28 TA id: XADES_BB/ATTREVREFS/5 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:OCSPRef contains the xades:DigestAlgAndValue child element. Prescription level: preferred Tag: XAdES baseline and extended signatures TA id: XADES_BB/ATTREVREFS/6 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CompleteRevocationRefs property is not an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/ATTREVREFS/7 Normative source: [1]- Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: At least one of the following unsigned properties is incorporated into the signature: xades:CertificateValues, xades:AttrAuthoritiesCertValues, or xadesv141:ArchiveTimeStamp. Predicate: All the revocation data referenced in xades:AttributeRevocationRefs shall be present elsewhere in the signature. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.15.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/ATTREVREFS/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:AttributeRevocationRefs property is not present in the signature. Prescription level: preferred Tag: XAdES baseline signatures TA id: XADES_BS/ATTREVREFS/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: At most one instance of xades:AttributeRevocationRefs property is incorporated into the signature. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.16 Testing xadesv141:SigAndRefsTimeStampV2 element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.16.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/SIGREFSTSTV2/1 Normative source: [1] – Clause A.1.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The xadesv141:SigAndRefsTimeStampV2 element does not contain any xades:Include child element. Predicate: The message imprint computation input of the time-stamp token encapsulated by xadesv141:SigAndRefsTimeStampV2, shall be the result of canonicalizing and concatenating, in the order given the following elements and properties: ds:SignatureValue, xades:SignatureTimeStamp, xadesv141:CompleteCertificateRefsV2, xades:RevocationRefs, xadesv141:AttributeCertificateRefsV2 if present, and xades:AttributeRevocationRefs if present. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 29 TA id: XADES_BB/SIGREFSTSTV2/2 Normative source: [1] – Clause A.1.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: It is possible to establish an order between the time-stamp tokens (as specified in RFC 3161 [5] clause 2.4.2) encapsulated in xades:SignatureTimeStamp, in any existing xades:AllDataObjectsTimeStamp, in any existing xades:IndividualDataObjectsTimeStamp, and xades:SigAndRefsTimeStamp properties. Predicate: Time indicated within any time-stamp token enveloped in this container shall be later to the time indicated within any time-stamp token enveloped within xades:IndividualDataObjectsTimeStamp if present, within xades:AllDataObjectsTimeStamp if present, and within xades:SignatureTimeStamp. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.16.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/SIGREFSTSTV2/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:SigAndRefsTimeStampV2 property is not present in XAdES-B-B signatures. Prescription level: preferred Tag: XAdES baseline signatures TA id: XADES_BS/SIGREFSTSTV2/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:SigAndRefsTimeStampV2 uses the implicit mechanism as specified in EN 319 132 Part 1 clause 5.1.3.3.1 (does not have any xades:Include child element). Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.17 Testing xadesv141:RefsOnlyTimeStampV2 element
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.17.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/REFSONTSTV2/1 Normative source: [1] – Clause A.1.5.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The xadesv141:RefsOnlyTimeStampV2 qualifying property does not contain any xades:Include child element. Predicate: The message imprint computation input of the time-stamp token encapsulated by xadesv141:RefsOnlyTimeStampV2, shall be the result of canonicalizing and concatenating, in the order given the following elements and properties: xadesv141:CompleteCertificateRefsV2, xades:RevocationRefs, xades:AttributeCertificateRefsV2 if present, and xades:AttributeRevocationRefs if present. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/REFSONTSTV2/2 Normative source: [1] – Clause A.1.5.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: It is possible to establish an order between the time-stamp tokens (as specified in RFC 3161 [5] clause 2.4.2) encapsulated in xades:SignatureTimeStamp, in any existing xades:AllDataObjectsTimeStamp, in any existing xades:IndividualDataObjectsTimeStamp, and xades:SigAndRefsTimeStamp properties. Predicate: Time indicated within any time-stamp token enveloped in this container shall be later to the time indicated within any time-stamp token enveloped within xades:IndividualDataObjectsTimeStamp if present, within xades:AllDataObjectsTimeStamp if present, and within xades:SignatureTimeStamp if present. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 30
bd563035a50afe21248e3fe615812d70
119 134-4
5.3.17.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/REFSONTSTV2/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:RefsOnlyTimeStampV2 property is not present in XAdES-B-B signatures. Prescription level: preferred Tag: XAdES baseline signatures TA id: XADES_BS/SIGREFSTSTV2/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:RefsOnlyTimeStampV2 uses the implicit mechanism as specified in EN 319 132 Part 1 clause 5.1.3.3.1. Prescription level: mandatory Tag: XAdES baseline signatures 6 Testing conformance to B-T level of XAdES signatures
bd563035a50afe21248e3fe615812d70
119 134-4
6.1 General requirements
For testing conformance to B-T level of XAdES baseline signatures, the following test assertions shall apply: 1) The test assertions defined in clause 6; and 2) the test assertions defined in clauses 5.2 and 5.3 unless stated otherwise. According ETSI EN 319 132-1 [1], XAdES-B-T signatures should not incorporate the following qualifying properties: xadesv141:CompleteCertificateRefsV2, xades:CompleteRevocationRefs, xadesv141:AttributeCertificateRefsV2, xades:AttributeRevocationRefs, xadesv141:RefsOnlyTimeStampV2, xadesv141:SigAndRefsTimeStampV2, xades:CertificateValues, xades:RevocationValues, xades:AttrAuthoritiesCertValues, xades:AttributeRevocationValues, xadesv141:TimeStampValidationData, xadesv141:RenewedDigests, and xadesv141:ArchiveTimeStamp. Nevertheless, a XAdES-B-T signature can incorporate them. If any of the aforementioned qualifying properties is incorporated into a XAdES-B-T signature, it shall be tested as indicated in clause 5.1.
bd563035a50afe21248e3fe615812d70
119 134-4
6.2 Testing xades:SignatureTimeStamp element
6.2.1 Test assertions common to XAdES baseline and extended signatures TA id: XADES_BB/SIGTST/1 Normative source: [1] – Clause 5.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The message imprint computation input of the time-stamp token encapsulated by xades:SignatureTimeStamp, is the canonicalized ds:SignatureValue element. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 31 TA id: XADES_BB/SIGTST/2 Normative source: [1] – Clause 5.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The signature incorporates xades:IndividualDataObjectsTimeStamp and/or xades:AllDataObjectsTimeStamp properties AND it is possible to establish an order between the time- stamp tokens (as specified in RFC 3161 [5] clause 2.4.2) encapsulated in xades:SignatureTimeStamp properties and the time-stamp tokens encapsulated in any existing xades:AllDataObjectsTimeStamp and xades:IndividualDataObjectsTimeStamp properties. Predicate: Time indicated within any time-stamp token present within this property is later to the time indicated within any present time-stamp token enveloped within xades:IndividualDataObjectsTimeStamp and xades:AllDataObjectsTimeStamp properties. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
6.2.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/SIGTST/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:SignatureTimeStamp property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/SIGTST/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: xades:SignatureTimeStamp encapsulates one time-stamp token. Prescription level: mandatory Tag: XAdES baseline signatures 7 Testing conformance to B-LT level of XAdES signatures
bd563035a50afe21248e3fe615812d70
119 134-4
7.1 General requirements
7.1.1 Core requirements For testing conformance to B-LT level of XAdES baseline signatures, the following test assertions shall apply: 1) the test assertions defined in clause 7; and 2) the test assertions defined in clauses 5.2, 5.3 and 6.2 unless stated otherwise. 7.1.2 Test assertions for testing properties containing references to validation data According ETSI EN 319 132-1 [1], XAdES-B-LT, and XAdES-B-LTA signatures shall not incorporate the following qualifying properties: xadesv141:CompleteCertificateRefsV2, xades:CompleteRevocationRefs, xadesv141:AttributeCertificateRefsV2, xades:AttributeRevocationRefs, xadesv141:RefsOnlyTimeStampV2, and xadesv141:SigAndRefsTimeStampV2. When testing conformance to B-LT or conformance to B-LTA levels of XAdES baseline signatures, the test assertions defined in the clauses listed below shall not apply: 1) Clause 5.3.12. Test assertions for xadesv141:CompleteCertificateRefsV2. 1) Clause 5.3.13. Test assertions for xadesv141:AttributeCertificateRefsV2. 2) Clause 5.3.14. Test assertions for xades:CompleteRevocationRefs. 3) Clause 5.3.15. Test assertions for xades:AttributeRevocationRefs. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 32 4) Clause 5.3.16. Test assertions for xadesv141:SigAndRefsTimeStampV2. 5) Clause 5.3.17. Test assertions for xadesv141:RefsOnlyTimeStampV2. Instead the test assertions defined in the present clause shall apply. TA id: XADES_BS/BLT_BLTA/CCERTREFSV2/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance either to XAdES-B-LT or XAdES-B-LTA signatures as specified in [1] Predicate: The xadesv141:CompleteCertificateRefsV2 property is not present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/BLT_BLTA/ATTCERTREFSV2/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance either to XAdES-B-LT or XAdES-B-LTA signatures as specified in [1] Predicate: The xadesv141:AttributeCertificateRefsV2 property is not present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/BT_BLT_BLTA/CREVREFS/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance either to XAdES-B-LT or XAdES-B-LTA signatures as specified in [1] Predicate: The xades:CompleteRevocationRefs property is not present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/BLT_BLTA/ATTREVREFS/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance either to XAdES-B-LT or XAdES-B-LTA signatures as specified in [1] Predicate: The xades:AttributeRevocationRefs property is not present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/BLT_BLTA/SIGREFSTSTV2/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance either to XAdES-B-LT or XAdES-B-LTA signatures as specified in [1] Predicate: The xades:SigAndRefsTimeStampV2 property is not present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/BLT_BLTA/REFSONTSTV2/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance either to XAdES-B-LT or XAdES-B-LTA signatures as specified in [1] Predicate: The xadesv141:RefsOnlyTimeStampV2 property is not present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
7.1.3 Test assertions for testing properties from upper levels
According ETSI EN 319 132-1 [1], XAdES-B-LT signatures should not incorporate the following qualifying properties: xadesv141:ArchiveTimeStamp, and xadesv141:RenewedDigests. If any of the aforementioned qualifying properties is incorporated into a XAdES-B-LT signature, it shall be tested as indicated in clause 5.1. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 33
bd563035a50afe21248e3fe615812d70
119 134-4
7.2 Testing xades:CertificateValues element
7.2.1 Test assertions common to XAdES baseline and extended signatures TA id: XAdES_BB/CERTVALS/1 Normative source: [1] – Clause 5.4.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any xades:EncapsulatedX509Certificate child element contains the base-64 encoding of a DER-encoded X.509 certificate. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
7.2.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/CERTVALS/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The rest of elements and properties of the signature miss some of the certificates listed in clause 5.4.1 of ETSI TS 319 132 Part 1[1] that are required to validate the XAdES signature Predicate: The xades:CertificateValues property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/CERTVALS/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: At most one instance of the xades:CertificateValues property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/CERTVALS/3 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:CertificateValues property does not include certificates that are present elsewhere in the XAdES signature. Prescription level: preferred Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
7.3 Testing xades:RevocationValues element
7.3.1 Test assertions common to XAdES baseline and extended signatures TA id: XAdES_BB/REVVALS/1 Normative source: [1] – Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Each xades:EncapsulatedCRLValue child of xades:CRLValues child contains the base-64 encoding of a DER-encoded X.509 CRL. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/REVVALS/2 Normative source: [1] – Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Each xades:EncapsulatedOCSPValue child of xades:OCSPValues element contains the base-64 encoding of a DER-encoded OCSPResponse defined in IETF RFC 6960 [6]. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 34
bd563035a50afe21248e3fe615812d70
119 134-4
7.3.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/REVVALS/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The rest of elements and properties of the signature miss some of the revocation values listed in clause 5.4.2 of ETSI TS 319 132 Part 1[1] that are required to validate the XAdES signature Predicate: The xades: RevocationValues property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/REVVALS/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: At most one instance of the xades:RevocationValues property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/REVVALS/3 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:RevocationValues property does not include revocation values that are present elsewhere in the XAdES signature. Prescription level: preferred Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
7.4 Testing xades:AttrAuthoritiesCertValues element
7.4.1 Test assertions common to XAdES baseline and extended signatures TA id: XAdES_BB/ATTCERTVALS/1 Normative source: [1] – Clause 5.4.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any xades:EncapsulatedX509Certificate child element contains the base-64 encoding of a DER-encoded X.509 certificate. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
7.4.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/ATTCERTVALS/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The signature incorporates attribute certificate(s) and/or signed assertion(s) AND the rest of elements and properties miss some of the certificates required for their validation. Predicate: The xades:AttrAuthoritiesCertValues property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/ATTCERTVALS/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: At most one instance of the xades:AttrAuthoritiesCertValues property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/ATTCERTVALS/3 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:AttrAuthoritiesCertValues property does not include certificates that are present elsewhere in the XAdES signature. Prescription level: preferred Tag: XAdES baseline signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 35
bd563035a50afe21248e3fe615812d70
119 134-4
7.5 Testing xades:AttributeRevocationValues element
7.5.1 Test assertions common to XAdES baseline and extended signatures TA id: XAdES_BB/ATTREVVALS/1 Normative source: [1] – Clause 5.4.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Each xades:EncapsulatedCRLValue child of CRLValues child contains the base-64 encoding of a DER-encoded X.509 CRL. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/ATTREVVALS/2 Normative source: [1] – Clause 5.4.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Each xades:EncapsulatedOCSPValue child of xades:OCSPValues element contains the base-64 encoding of a DER-encoded OCSPResponse defined in IETF RFC 6960 [6]. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
7.5.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/ATTREVVALS/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: The signature incorporates attribute certificate(s) and/or signed assertion(s) AND the rest of elements and properties miss some of the revocation values required for their validation Predicate: The xades:AttributeRevocationValues property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/ATTREVVALS/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: At most one instance of the xades:AttributeRevocationValues property is present in the signature. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/ATTREVVALS/3 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:AttributeRevocationValues property does not include revocation data that are present elsewhere in the XAdES signature. Prescription level: preferred Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
7.6 Testing xadesv141:TimeStampValidationData element
7.6.1 Test assertions common to XAdES baseline and extended signatures TA id: XAdES_BB/TSTVALDAT/1 Normative source: [1] – Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any xades:EncapsulatedX509Certificate descendant element of xades:CertificateValues child contains the base-64 encoding of a DER-encoded X.509 certificate. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 36 TA id: XAdES_BB/TSTVALDAT/2 Normative source: [1] – Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any xades:EncapsulatedCRLValue descendant element of xades:RevocationValues child contains the base-64 encoding of a DER-encoded X.509 CRL. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/TSTVALDAT/3 Normative source: [1] – Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Each xades:EncapsulatedOCSPValue descendant of xades:RevocationValues child contains the base-64 encoding of a DER-encoded OCSPResponse defined in IETF RFC 6960 [6]. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/TSTVALDAT/4 Normative source: [1] – Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: Direct incorporation of qualifying properties is used. Predicate: The xadesv141:TimeStampValidationData property is either the first child of the xades:UnsignedSignatureProperties OR it appears immediately after a qualifying property that is a time-stamp token container. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_BB/TSTVALDAT/5 Normative source: [1] – Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The xadesv141:TimeStampValidationData property is incorporated immediately after a qualifying property that is a container of a time-stamp token. Predicate: The URI attribute is not present. Prescription level: preferred Tag: XAdES baseline and extended signatures TA id: XADES_BB/TSTVALDAT/6 Normative source: [1] – Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The xadesv141:TimeStampValidationData property is not incorporated immediately after a qualifying property that is a container of a time-stamp token. Predicate: The URI attribute is present and references the specific container encapsulating the time-stamp token whose validation material this xadesv141:TimeStampValidationData property contains. Prescription level: preferred. Tag: XAdES baseline and extended signatures 8 Testing conformance to B-LTA level of XAdES signatures
bd563035a50afe21248e3fe615812d70
119 134-4
8.1 General requirements
For testing conformance to B-LTA level of XAdES baseline signatures, the following test assertions shall apply: 1) the test assertions defined in clause 8; and 2) the test assertions defined in clauses 5.2, 5.3, 6.2, 7.1.2, 7.2, 7.3, 7.4, 7.5 and 7.6 unless stated otherwise. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 37
bd563035a50afe21248e3fe615812d70
119 134-4
8.2 Testing xadesv141:ArchiveTimeStamp element
bd563035a50afe21248e3fe615812d70
119 134-4
8.2.1 Common tests for distributed and not distributed cases
bd563035a50afe21248e3fe615812d70
119 134-4
8.2.1.1 Test assertions common to XAdES baseline and extended signatures
TA id: XADES_BB/ATSTV141/1 Normative source: [1] – Clause 5.5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The xadesv141:ArchiveTimeStamp qualifying property does not have any xades:Include child element. Predicate: The message imprint computation input of the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp, is as specified in EN 319 132 Part 1 [1] clause 5.5.2.2. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
8.2.1.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/ATST/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:ArchiveTimeStamp property is present in XAdES-B-LTA signatures. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/SIGREFSTSTV2/2 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:ArchiveTimeStamp uses the implicit mechanism as specified in EN 319 132 Part 1 clause 5.1.3.3.1. Prescription level: mandatory Tag: XAdES baseline signatures TA id: XADES_BS/ATST/3 Normative source: [1] – Clauses 5.5.2 and 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Prerequisite: It is possible to establish an order between the time-stamp tokens (as specified in RFC 3161 [5] clause 2.4.2) encapsulated in xades:SignatureTimeStamp, in any existing xades:AllDataObjectsTimeStamp, and in any existing xades:IndividualDataObjectsTimeStamp properties Predicate: Time indicated within any time-stamp token enveloped in this container is later to the time indicated within any time-stamp token enveloped within xades:IndividualDataObjectsTimeStamp if present, xades:AllDataObjectsTimeStamp if present, xades:SignatureTimeStamp, and any preceding xadesv141:ArchiveTimeStamp if present. Prescription level: mandatory Tag: XAdES baseline signatures
bd563035a50afe21248e3fe615812d70
119 134-4
8.3 Testing xadesv141:RenewedDigests element
8.3.1 Test assertions common to XAdES baseline and extended signatures TA id: XADES_BB/RENDIG/1 Normative source: [1] – Clause 5.5.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Any xadesv141:RecomputedDigestValue descendant contains the base-64 encoded digest value, computed with the digest algorithm indicated within the ds:DigestMethod child element of xadesv141:RenewedDigest, of the result of processing, as specified by the reference processing model of XMLDSIG [3] clause 4.4.3.2, the corresponding ds:Reference element identified by the value of the attribute Order of this xadesv141:RecomputedDigestValue child. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 38 TA id: XADES_BB/RENDIG/1 Normative source: [1] – Clause 5.5.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Prerequisite: The XAdES signature does not contain any signed ds:Manifest referencing data objects that are detached from the signature. Predicate: The xadesv141:RenewedDigests qualifying property is not present in the signature. Prescription level: mandatory Tag: XAdES baseline and extended signatures
bd563035a50afe21248e3fe615812d70
119 134-4
8.3.2 Test assertions specific to XAdES baseline signatures
TA id: XADES_BS/RENDIG/1 Normative source: [1] – Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xadesv141:RenewedDigests property is present in the signature. Prescription level: permitted Tag: XAdES baseline signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 39 Annex A (normative): Test assertions derived from XML Schema A.0 Introduction This annex specifies test assertions focussed on testing the structure of the elements specified by XAdES [1] according to its XML Schema. The following notation is used throughout this annex for specifying the inner structure of instances of XML types defined by XAdES XML Schema: • Entities specifying the inner structure of instances of XML types may be elements or attributes. • Elements are identified by the corresponding namespace prefix and name. EXAMPLE 1: xades:SignedProperties. • Attributes are identified by their names if they are not defined within any namespace or by the namespace prefix and name if they are defined within a certain namespace. EXAMPLE 2: Id. • A list of entities separated by ‘,’ characters represents an ordered list. EXAMPLE 3: The following test assertion text: “The inner structure of one instance of xades:QualifyingPropertiesType type in terms of its children is as follows: xades:SignedProperties, xades:UnsignedProperties”, means that the first child element of an instance of xades:QualifyingPropertiesType type is xades:SignedProperties , the second child is xades:UnsignedProperties and that this instance does not have any other children. • (): represents a group of ordered entities. Example: (xades:SignedProperties, xades:UnsignedProperties) groups the two entities in one group. Internally, the entities order is preserved. • Modifiers: particles that modify certain aspects of the entities or groups they apply to: - ?: When applied to one entity means that there appear 0 or 1 instances of that entity. When applied to a group means that there appear 0 or 1 instances of that group. - +: When applied to one entity means that there appear 1 or more instances of that entity. When applied to a group means that there appear 1 or more instances of that group. - *: When applied to one entity means that there appear 0, 1, or more instances of that entity. When applied to a group means that there appear 0, 1, or more instances of that group - noOrder(): this modifier may only be applied to a group of entities. When this occurs the entities within the group appear in any order within the specified XML type instance. EXAMPLE 4: The following assertion text: "The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:EncapsulatedPKIDataType type is as follows: noOrder(Id?, Encoding?)." means that any instance of xades:EncapsulatedPKIDataType type may have an Id attribute and may also have an Encoding attribute, and that their order of appearance is not relevant. - choice(): this modifier may only be applied to a group of entities. When this occurs only one of the entities of the group may appear. EXAMPLE 5: The text choice(xades:EncapsulatedTimeStamp,xades:XMLTimeStamp), means that in the specified place, only one of the two elements within the group may appear. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 40 A.1 Testing auxiliary types contents A.1.1 Introduction ETSI EN 319 132-1 [1] defines the ObjectIdentifierType, EncapsulatedPKIDataType and XAdESTimeStampType types. Some of the qualifying properties are derived from some of these types or contain elements of one of these types. This clause defines common test assertions for any element of this type. A.1.2 Testing xades:ObjectIdentifierType instances This clause defines test assertions for any element derived from or containing children instances of xades:ObjectIdentifierType type. TA id: XADES_SCH/OID/1 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of an instance of xades:ObjectIdentifierType type in terms of its children is as follows: xades:Identifier, xades:Description?, xades:DocumentationReferences?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/2 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:ObjectIdentifierType type does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/ID/1 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:IdentifierType type does not contain any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/ID/2 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:IdentifierType type has a valid URI Reference as value. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/ID/3 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:IdentifierType is as follows: Qualifier?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/ID/4 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The Qualifier attribute of an instance of xades:IdentifierType has one of the following values: “OIDAsURI” or “OIDAsURN”. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 41 TA id: XADES_SCH/OID/DOCREFS/1 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of an instance of xades:DocumentationReferencesType type in terms of its children is as follows: xades:DocumentationReference+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/DOCREFS/2 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:DocumentationReferencesType type does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/DOCREFS/DOCREF/1 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Element xades:DocumentationReference does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/DOCREFS/DOCREF/2 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Element xades:DocumentationReference has a valid URI Reference as value. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/OID/DOCREFS/DOCREF/3 Normative source: [1]- Clause 5.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Element xades:DocumentationReference does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.1.3 Testing xades:EncapsulatedPKIDataType instances This clause defines test assertions for instances of xades:EncapsulatedPKIDataType type. TA id: XADES_SCH/PKIDATA/1 Normative source: [1]- Clause 5.1.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:EncapsulatedPKIDataType type does not contain any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/PKIDATA/2 Normative source: [1]- Clause 5.1.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:EncapsulatedPKIData type is as follows: noOrder(Id?, Encoding?). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/PKIDATA/3 Normative source: [1]- Clause 5.1.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:EncapsulatedPKIDataType type has a valid Base64 encoded content. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 42 TA id: XADES_SCH/PKIDATA/4 Normative source: [1]- Clause 5.1.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The attribute Encoding of an instance of xades:EncapsulatedPKIData type has as value one in the following list: http://uri.etsi.org/01903/v1.2.2#DER, http://uri.etsi.org/01903/v1.2.2#BER, http://uri.etsi.org/01903/v1.2.2#CER, http://uri.etsi.org/01903/v1.2.2#PER, http://uri.etsi.org/01903/v1.2.2#XER. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.1.4 Testing xades:XAdESTimeStampType instances A.1.4.1 Introduction This clause defines test assertions for instances of xades:XAdESTimeStampType type. As the XAdES baseline profile admits time-stamp tokens containers properties using the implicit and the explicit referencing mechanism to the time-stamped data objects, the assertions on xades:Include elements are given in the clauses devoted to each type of time-stamp tokens container property. TA id: XADES_SCH/XTST/1 Normative source: [1]- Clause 5.1.4.4.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of an instance of xades:XAdESTimeStampType type in terms of its children is as follows: xades:Include*, ds:CanonicalizationMethod?, (xades:EncapsulatedTimeStamp || xades:XMLTimeStamp)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/XTST/2 Normative source: [1]- Clause 5.1.4.4.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:XAdESTimeStampType type is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures The structure of xades:EncapsulatedTime child element shall be tested as specified in clause A.1.3. A.1.4.2 Testing xades:IncludeType instances This clause defines generic test assertions for instances of xades:IncludeType type, used in certain time-stamp tokens container properties. TA id: XADES_SCH/XTST/INCLUDE/1 Normative source: [1]- Clause 5.1.4.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:IncludeType type does not have any children elements. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/INCLUDE/2 Normative source: [1]- Clause 5.1.4.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:IncludeType type is as follows: noOrder(URI,referencedData?). Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 43 TA id: XADES_SCH/INCLUDE/3 Normative source: [1]- Clause 5.1.4.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The attribute URI of an instance of xades:IncludeType type has a valid URI Reference as value. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/INCLUDE/4 Normative source: [1]- Clause 5.1.4.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the attribute referencedData of an instance of xades:IncludeType is a boolean value. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.1.5 Testing Lists of references to certificates. A.1.5.1 Testing xades:CertIDListV2Type instances This clause defines generic test assertions for instances of xades:CertIDListV2Type type, used in xades:SigningCertificateV2, xadesv141:CompleteCertificateRefsV2 and xadesv141:AttributeCertificateRefsV2 properties. TA id: XADES_SCH/CERTSREFV2/1 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of an instance of xades:CertIDListV2Type type in terms of its children is as follows: (xades:Cert)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSTREFV2/2 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Instances of xades:CertIDListV2Type does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures A.1.5.2 Testing xades:CertIDTypeV2 instances Below follow the generic assertions to be tested on instances of xades:CertIDTypeV2 type. TA id: XADES_SCH/CERTSREFV2/CERTIDV2/1 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of an instance of xades:CertIDTypeV2 type in terms of its children is as follows: xades:CertDigest, xades:IssuerSerialV2?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREF/CERTIDV2/3 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:CertIDTypeV2 type is as follows: URI?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREF/CERTIDV2/4 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the attribute URI of an instance of xades:CertIDTypeV2 type, is a valid URI Reference. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 44 Prescription level: mandatory Tag: XAdES baseline and extended signatures A.1.5.3 Testing xades:DigestAlgAndValueType instances Below follow the generic assertions to be tested on instances of xades:DigestAlgAndValueType type. TA id: XADES_SCH/CERTSREFV2/CERTIDV2/DIGALVAL/1 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of an instance of xades:DigestAlgAndValueType type in terms of its children is as follows: ds:DigestMethod, ds:DigestValue. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/DIGALVAL/2 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:DigestAlgAndValueType type does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/DIGALVAL/3 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The ds:DigestValue child element of an instance of xades:DigestAlgAndValueType type does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/DIGALVAL/4 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The ds:DigestValue child element of an instance of xades:DigestAlgAndValueType type does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/DIGALVAL/5 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the ds:DigestValue child element of an instance of xades:DigestAlgAndValueType type is a valid Base64 value. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/DIGALVAL/6 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The ds:DigestMethod child element of an instance of xades:DigestAlgAndValueType type does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/DIGALVAL/7 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of ds:DigestMethod child is as follows: URI. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/DIGALVAL/8 Normative source: [1] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the URI attribute of the ds:DigestMethod child element of an instance of xades:DigestAlgAndValueType type is a valid URI Reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 45 A.1.5.4 Testing xades:IssuerSerialV2 element Below follow the generic assertions to be tested on instances of xades:IssuerSerialV2 element. TA id: XADES_SCH/CERTSREFV2/CERTIDV2/ISSSERV2/1 Normative source: [4] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:IssuerSerialV2 element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/ISSSERV2/2 Normative source: [4] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades: IssuerSerialV2 element does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTSREFV2/CERTIDV2/ISSSERV2/3 Normative source: [4] - Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of xades: IssuerSerialV2 element is a valid Base64 value. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.2 Testing containers for XAdES signatures A.2.1 Testing xades:QualifyingProperties A.2.1.1 Testing xades:QualifyingProperties element Below follow the test assertions on xades:QualifyingProperties element. TA id: XADES_SCH/SCHEMA/QP/1 Normative source: [1]- Clause 4.3.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:QualifyingProperties element in terms of its children is as follows: xades:SignedProperties?, xades:UnsignedProperties?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SCHEMA/QP/2 Normative source: [1]- Clause 4.3.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:QualifyingProperties is as follows: noOrder(Target,Id?). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SCHEMA/QP/3 Normative source: [1]- Clause 4.3.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the attribute Target is a URI reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 46 A.2.1.2 Testing xades:SignedProperties A.2.1.2.1 Testing xades:SignedProperties element Below follow the test assertions on xades:SignedProperties element. TA id: XADES_SCH/SCHEMA/QP/SIGP/1 Normative source: [1]- Clause 4.3.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SignedProperties element in terms of its children is as follows: xades:SignedSignatureProperties?, xades:SignedDataObjectProperties?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SCHEMA/QP/SIGP/2 Normative source: [1]- Clause 4.3.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:SignedSignatureProperties is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.2.1.2.2 Testing xades:SignedSignatureProperties Below follow the test assertions on xades:SignedSignatureProperties element. TA id: XADES_SCH/SCHEMA/QP/SIGP/SIGSIGP/1 Normative source: [1]- Clause 4.3.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SignedSignatureProperties element in terms of its children is as follows: xades:SigningTime?, xades:SigningCertificate?, xades:SigningCertificateV2?, xades:SignaturePolicyIdentifier?, xades:SignatureProductionPlace, xades:SignatureProductionPlaceV2, xades:SignerRole?, xades:SignerRoleV2?, <other>*. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SCHEMA/QP/SIGP/SIGSIGP/2 Normative source: [1]- Clause 4.3.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:SignedSignatureProperties is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.2.1.2.3 Testing xades:SignedDataObjectProperties Below follow the test assertions on xades:SignedDataObjectProperties element. TA id: XADES_SCH/SCHEMA/QP/SIGP/SIGDOP/1 Normative source: [1]- Clause 4.3.5 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SignedDataObjectProperties element in terms of its children is as follows: xades:DataObjectFormat*, xades:CommitmentTypeIndication*, xades:AllDataObjectsTimeStamp*, xades:IndividualDataObjectsTimeStamp*, <other>*. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SCHEMA/QP/SIGP/SGDOP/2 Normative source: [1]- Clause 4.3.5 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:SignedDataObjectProperties is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 47 A.2.1.3 Testing xades:UnsignedProperties A.2.1.3.1 Testing xades:UnsignedProperties element Below follow the test assertions on xades:UnsignedProperties element. TA id: XADES_SCH/SCHEMA/QP/UNSIGP/1 Normative source: [1]- Clause 4.3.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:UnsignedProperties element in terms of its children is as follows: xades:UnsignedSignatureProperties?, xades:UnsignedDataObjectProperties?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SCHEMA/QP/UNSIGP/2 Normative source: [1]- Clause 4.3.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:UnsignedProperties is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.2.1.3.2 Testing xades:UnsignedSignatureProperties Below follow the test assertions on xades:UnsignedSignatureProperties element. TA id: XADES_SCH/SCHEMA/QP/UNSIGP/UNSIGSIGP/1 Normative source: [1]- Clause 4.3.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:UnsignedSignatureProperties element in terms of its children is as follows: (choice(xades:CounterSignature, xades:SignatureTimeStamp,xadesv141:SignaturePolicyStore,xades:CompleteCertificateRefs,xadesv141:Comp leteCertificateRefsV2,xades:CompleteRevocationRefs, xades:AttributeCertificateRefs, xadesv141:AttributeCertificateRefsV2,xades:AttributeRevocationRefs, xades:RefsOnlyTimeStamp, xades:SigAndRefsTimeStamp, xadesv141:RefsOnlyTimeStampV2, xadesv141:SigAndRefsTimeStampV2, xades:CertificateValues, xades:Revocationalues, xades:AttrAuthoritiesCertValues, xades:AttributeRevocationValues, xades:ArchiveTimeStamp, xadesv141:ArchiveTimeStamp, xadesv141:TimeStampValidationData, xades:v141:RenewedDigests, <other>))+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SCHEMA/QP/UNSIGP/UNSIGSIGP/2 Normative source: [1]- Clause 4.3.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:UnsignedSignatureProperties is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.2.1.3.3 Testing xades:UnsignedDataObjectProperties Below follow the test assertions on xades:UnsignedDataObjectProperties element. TA id: XADES_SCH/SCHEMA/QP/UNSIGP/UNSIGDOP/1 Normative source: [1]- Clause 4.3.7 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:UnsignedDataObjectProperties element in terms of its children is as follows: (xades:UnsignedDataObmectProperty)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 48 TA id: XADES_SCH/SCHEMA/QP/UNSIGP/UNSIGDOP/2 Normative source: [1]- Clause 4.3.7 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:UnsignedDataObjectProperties is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.3 Testing XAdES qualifying properties A.3.1 Introduction This clause specifies test assertions derived from the XML Schema definition of the different XAdES-BES qualifying properties. A.3.2 Testing xades:SigningTime This clause defines test assertions for xades:SigningTime signed property. TA id: XADES_SCH/SIGNINGTIME/1 Normative source: [1] - Clause 5.2.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SigningTime property does not have any child element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGNINGTIME/2 Normative source: [1] - Clause 5.2.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SigningTime signed property does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGNINGTIME/3 Normative source: [1] - Clause 5.2.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The content of the xades:SigningTime signed property is a UTC time value. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.3.3 Testing xades:SigningCertificateV2 A xades:SigningCertificateV2 element is an instance of xades:CertIDListV2Type type. Assertions specified in clause A.1.4 shall apply for this element. A.3.4 Testing xades:CommitmentTypeIndication This clause defines test assertions for xades:CommitmentTypeIndication signed property directly derived from its XML Schema definition. TA id: XADES_SCH/CTI/1 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:CommitmentTypeIndication element in terms of its children is as follows: xades:CommitmentTypeId, (xades:ObjectReference+ || xades:AllSignedDataObjects), xades:CommitmentTypeQualifiers?. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 49 TA id: XADES_SCH/CTI/2 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CommitmentTypeIndication element does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CTI/OBREF/1 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ObjectReference is an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CTI/OBREF/2 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ObjectReference does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CTI/OBREF/3 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of xades:ObjectReference is a valid URI reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CTI/ALLSDO/1 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:AllSignedDataObjects is an empty element. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CTI/ALLSDO/2 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:AllSignedDataObjects does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CTI/CTQS/1 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:CommitmentTypeQualifiers element in terms of its children is as follows: (xades:CommitmentTypeQualifier)*. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CTI/CTQS/2 Normative source: [1] - Clause 5.2.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:CommitmentTypeIndication does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures The structure of xades:CommitmentTypeId child element shall be tested as specified in clause A.1.2. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 50 A.3.5 Testing xades:DataObjectFormat This clause defines test assertions for xades:DataObjectFormat signed property directly derived from its XML Schema definition. TA id: XADES_SCH/DOF/1 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:DataObjectFormat element in terms of its children is as follows: xades:Description?, xades:ObjectIdentifier?, xades:MimeType?, xades:Encoding?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/DOF/2 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:DataObjectFormatType is as follows: ObjectReference. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/DOF/DESC/1 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Description element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/DOF/DESC/2 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Description element does not have any attributes. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/DOF/MIM/1 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:MimeType element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/DOF/MIM/2 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:MimeType element does not have any attributes. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/DOF/ENC/1 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Encoding element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/DOF/ENC/2 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Encoding element does not have any attributes. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 51 TA id: XADES_SCH/DOF/ENC/3 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the xades:Encoding element is a valid URI Reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/DOF/OBREF/3 Normative source: [1] - Clause 5.2.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the attribute ObjectReference is a valid URI Reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.3.6 Testing xades:SignatureProductionPlaceV2 element This clause defines test assertions for xades:SignatureProductionPlace signed property directly derived from its XML Schema definition. TA id: XADES_SCH/SPP/1 Normative source: [1] - Clause 5.2.5 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SignatureProductionPlace element in terms of its children is as follows: xades:City?, xades:StreetOrProvince?, xades:StateOrProvince?, xades:PostalCode?, xades:CountryName?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SPP/2 Normative source: [1] - Clause 5.2.5 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SignatureProductionPlace does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures A.3.7 Testing xades:SignerRoleV2 element TA id: XADES_SCH/SIGROLEV2/1 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SignerRoleV2 element in terms of its children is as follows: xades:ClaimedRoles?, xades:CertifiedRolesV2?, xades:SignedAssertions?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGROLE/2 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SignerRoleV2 does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGROLE/CLATTRS/1 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:ClaimedRoles element in terms of its children is as follows: (xades:ClaimedRole)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 52 TA id: XADES_SCH/SIGROLE/CLATTRS/2 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:ClaimedRoles element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGROLE/CERTATTRS/1 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:CertifiedRolesV2 element in terms of its children is as follows: (xades:CertifiedRole)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGROLE/CERTATTRS/2 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CertifiedRoles element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGROLE/CERTATTRS/CERTATTR/1 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:CertifiedRole element in terms of its children is as follows: (xades:X509AttributeCertificate || xades:OtherAttributeCertificate). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGROLE/CERTATTRS/CERTATTR/2 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:CertifiedRole element does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGROLE/SIGASS/1 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SignedAssertions element in terms of its children is as follows: (SignedAssertion)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGROLE/SIGASS/1 Normative source: [1] - Clause 5.2.6 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SignedAssertions element does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.3.8 Testing xades:CounterSignature The structure of a xades:CounterSignature element shall be tested as defined in the rest of the present annex A if the countersignature is a XAdES signature. A.3.9 Testing xades:AllDataObjectsTimeStamp The structure of xades:AllDataObjectsTimeStamp element shall be tested as specified in clause A.1.4. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 53 A.3.10 Testing xades:IndividualDataObjectsTimeStamp The structure of xades:IndividualDataObjectsTimeStamp element shall be tested as specified in clause A.1.4. A.3.11 Testing xades:SignaturePolicyIdentifier A.3.11.1 Testing xades:SignaturePolicyIdentifier element This clause defines test assertions for xades:SignaturePolicyIdentifier signed property directly derived from its XML Schema definition. TA id: XADES_SCH/SIGPOL/1 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SignaturePolicyIdentifier element in terms of its children is as follows: (xades:SignaturePolicyId ||xades:SignaturePolicyImplied). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/2 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SignaturePolicyIdentifier element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/1 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SigaturePolicyId element in terms of its children is as follows: xades:SigPolicyId,ds:Transforms?,xades:SigPolicyHash,xades:SigPolicyQualifiers?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/2 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SignaturePolicyId element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/1 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SigPolicyQualifiers element in terms of its children is as follows: (xades:SigPolicyQualifier+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/2 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SigPolicyQualifiers element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 54 TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/3 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SigPolicyQualifier element contains either a xades:SPURI, OR a xades:SPUserNotice, OR a xadesenv111:SPDocSpecification OR other XML elements. Prescription level: mandatory Tag: XAdES baseline and extended signatures The structure of xades:SigPolicyId child element shall be tested as specified in clause A.1.1. The structure of xades:SigPolicyHash child element shall be tested as specified in clause A.1.5.3. A.3.11.2 Testing xades:SPURI qualifier This clause defines test assertions for xades:SPURI qualifier directly derived from its XML Schema definition. TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPURI/1 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SPURI element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPURI/2 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:SPURI element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPURI/3 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of xades:SPURI element is a valid URI Reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures A.3.11.3 Testing xades:SPUserNotice qualifier This clause defines test assertions for xades:SPUserNotice qualifier directly derived from its XML Schema definition. TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/1 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:SPUserNotice element in terms of its children is as follows: xades:NoticRef?, xades:ExplicitText?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/2 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:SPUserNotice element does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/3 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:NoticeRef element in terms of its children is as follows: xades:Organization, xades:NoticeNumbers. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 55 TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/4 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:NoticeRef element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/5 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Organization element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/6 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Organization element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/7 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:NoticeNumbers element in terms of its children is as follows: (xades:int)*. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/8 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:NoticeNumbers element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/9 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:int element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/10 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:int element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/11 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ExplicitText element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLID/QUALS/SPUSNOT/12 Normative source: [1] - Clause 5.2.9 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ExplicitText element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 56 A.3.11.4 Testing xadesv141:SPDocSpecification qualifier The structure of xadesv141:SPDocSpecification element shall be tested as specified in clause A.1.2. A.3.12 Testing xadesv141:SignaturePolicyStore This clause defines test assertions for xades:SPUserNotice qualifier directly derived from its XML Schema definition. TA id: XADES_SCH/SIGPOL/SIGPOLSTO/1 Normative source: [1] - Clause 5.2.10 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xadesv141:SignaturePolicyStore element in terms of its children is as follows: xadesv141:SPDocSpecification, (xadesv141:SignaturePolicyDocument || xadesv141:SigPolDocLocalURI). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLSTO/2 Normative source: [1]- Clause 5.2.10 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xadesv141:SignaturePolicyStore is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLSTO/SPOLDOC/1 Normative source: [1] - Clause 5.2.10 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xadesv141:SignaturePolicyDocument element does not contain any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLSTO/SPOLDOC/2 Normative source: [1]- Clause 5.2.10 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xadesv141:SignaturePolicyDocument element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLSTO/SPOLDOCLOCURI/1 Normative source: [1] - Clause 5.2.10 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xadesv141:SigPolDocLocalURI element does not contain any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLSTO/SPOLDOCLOCURI/2 Normative source: [1]- Clause 5.2.10 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xadesv141:SigPolDocLocalURI element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/SIGPOL/SIGPOLSTO/SPOLDOCLOCURI/3 Normative source: [1]- Clause 5.2.10 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of xadesv141:SigPolDocLocalURI element is a valid URI Reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 57 A.3.13 Testing xades:SignatureTimeStamp The structure of xades:SignatureTimeStamp element shall be tested as specified in clause A.1.4. A.3.14 Testing xadesv141:CompleteCertificateRefsTypeV2 and xadesv141: AttributeCertificateRefsV2 content This clause defines test assertions for contents of xadesv141:CompleteCertificateRefsTypeV2 and xadesv141:AttributeCertificateRefsV2 instances, directly derived from its XML Schema definition. These test assertions shall be checked when testing xadesv141:CompleteCertificateRefsV2, and xadesv141:AttributeCertificateRefsV2. Below follows the generic assertions to be tested on xadesv141:CompleteCertificateRefs elements. TA id: XADES_SCH/CCERTREFS/1 Normative source: [1] - Clause A.1.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xadesv141:CompleteCertificateRefsTypeV2 type in terms of its children is as follows: xadesv141:CertRefs. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CCERTREFS/2 Normative source: [1] - Clause A.1.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:CompleteCertificateRefsTypeV2 is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures The structure of xadesv141:CertRefs child element shall be tested as specified in clause A.1.5. A.3.15 Testing xades:CompleteRevocationRefsType content A.3.15.1 Testing root element This clause defines test assertions for contents of xades:CompleteRevocationRefsType and xades:AttributeRevocationRefs instances, directly derived from its XML Schema definition. These test assertions shall be checked when testing xades:CompleteRevocationRefs, and xades:AttributeRevocationRefs. TA id: XADES_SCH/CREVREFS/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:CompleteRevocationRefsType type in terms of its children is as follows: xades:CRLRefs?, xades:OCSPRef?, OtherRefs?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:CompleteRevocationRefsType is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 58 A.3.15.2 Testing xades:CRLRefs Below follows the generic assertions to be tested on xades:CRLRefs elements. TA id: XADES_SCH/CREVREFS/CRLREFS/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:CRLRefs element in terms of its children is as follows: (xades:CRLRef)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVR- Clause EFS/CRLREFS/2 Normative source: [1] A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:CRLRefs element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:CRLRef element in terms of its children is as follows: xades:DigestAlgAndValue, xades:CRLIdentifier?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The xades:CRLRef element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:Identifier element in terms of its children is as follows: xades:Issuer, xades:IssueTime, xades:Number?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:CRLIdentifierType is as follows: URI?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/3 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the URI attribute is a valid URI Reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/ISS/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Issuer element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 59 TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/ISS/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Issuer element does not have any attribute Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/ISST/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:IssueTime element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/ISST/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:IssueTime element does not have any attribute Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/ISST/3 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of xades:IssueTime element is an UTC time. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/NUM/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Number element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/CRLREF/CRLID/NUM/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:Number element does not have any attribute Prescription level: mandatory Tag: XAdES baseline and extended signatures The structure of xades:DigestAlgAndValue child element shall be tested as specified in clause A.1.5.3. A.3.15.3 Testing xades:OCSPRefs Below follows the generic assertions to be tested on xades:OCSPRefs elements. TA id: XADES_SCH/CREVREFS/OCSPREFS/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:OCSPRefs element in terms of its children is as follows: (xades:OCSPRef)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/OCSPREFS/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:OCSPRefs element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 60 TA id: XADES_SCH/CREVREFS/OCSPREFS/OCSPREF/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of xades:OCSPRef element in terms of its children is as follows: xades:OCSPIdentifier, xades:DigestAlgAndValue?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/OCSPREFS/OCSPREF/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:OCSPRef element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/OCSPREFS/OCSPREF/OCSPID/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:OCSPIdentifierType in terms of its children is as follows: xades:ResponderID, xades:ProducedAt. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/OCSPREF/OCSPID/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:OCSPIdentifierType is as follows: URI?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/OCSPREF/OCSPID/3 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the URI attribute is a valid URI Reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/OCSPREFS/OCSPREF/OCSPID/RESPID/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:ResponderIDType in terms of its children is as follows: choice(xades:ByName, xades:ByKey). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/OCSPREF/OCSPID/RESPID/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: Instances of xades:ResponderIDType does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/OCSPREFS/OCSPREF/OCSPID/RESPID/BYNAME/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ByName element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 61 TA id: XADES_SCH/CREVREFS/CRLREFS/OCSPREF/OCSPID/RESPID/BYNAME/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ByName element does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/OCSPREFS/OCSPREF/OCSPID/RESPID/BYKEY/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ByKey element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/OCSPREF/OCSPID/RESPID/BYKEY/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ByKey element does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/OCSPREFS/OCSPREF/OCSPID/PRODAT/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ProducedAt element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/OCSPREF/OCSPID/PRODAT/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:ProducedAt element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/CRLREFS/OCSPREF/OCSPID/PRODAT/3 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of xades:ProducedAt element is an UTC time. Prescription level: mandatory Tag: XAdES baseline and extended signatures The structure of xades:DigestAlgAndValue child element shall be tested as specified in clause A.1.5.3. A.3.15.4 Testing xades:OtherRefs Below follows the generic assertions to be tested on xades:OtherRefs elements. TA id: XADES_SCH/CREVREFS/OTHERREFS/1 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:OtherRefs in terms of its children is as follows: (xades:OtherRef)+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CREVREFS/OTHERREFS/2 Normative source: [1] - Clause A.1.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xades:OtherCertStatusRefs element does not contain any attribute (leaving apart the attributes declaring namespaces). Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 62 A.3.16 Testing xadesv141:SigAndRefsTimeStampV2 The structure of xadesv141:SigAndRefsTimeStampV2 element shall be tested as specified in clause A.1.4. A.3.17 Testing xadesv141:RefsOnlyTimeStampV2 The structure of xadesv141:RefsOnlyTimeStampV2 element shall be tested as specified in clause A.1.4. A.3.18 Testing xades:CertificateValuesType content This clause defines test assertions for xades:CertificateValuesType instances' content, directly derived from its XML Schema definition. These test assertions shall be checked when testing xades:CertificateValues, and xades:AttrAuthoritiesCertValues. TA id: XADES_SCH/CERTVALS/1 Normative source: [1] - Clause 5.4.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:CertificateValuesType in terms of its children is as follows: (xades:EncapsulatedX509Certificate || xades:OtherCertificate)*. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/CERTVALS/2 Normative source: [1] - Clause 5.4.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:CertificateValuesType is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures The structure of xades:EncapsulatedX509Certificate child element shall be tested as specified in clause A.1.3. A.3.19 Testing xades:RevocationValuesType content This clause defines test assertions for xades:RevocationValuesType instances' content, directly derived from its XML Schema definition. These test assertions shall be checked when testing xades:Revocation, and xades:AttributeRevocationValues elements. TA id: XADES_SCH/REVVALS/1 Normative source: [1] - Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:RevocationValuesType in terms of its children is as follows: xades:CRLValues?, xades:OCSPValues?, xades:OtherCertStatusValues?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/REVVALS/2 Normative source: [1] - Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:RevocationValuesType is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/REVVALS/CRLVAL/1 Normative source: [1] - Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:CRLValuesType in terms of its children is as follows: xades:EncapsulatedCRLValue+. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 63 TA id: XADES_SCH/REVVALS/CRLVAL/2 Normative source: [1] - Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:CRLValuesType does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/REVVALS/OCSPVAL/1 Normative source: [1] - Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:OCSPValuesType in terms of its children is as follows: xades:EncapsulatedOCSPValue+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/REVVALS/OCSPVAL/2 Normative source: [1] - Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:OCSPValuesType does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/REVVALS/OTHERVAL/1 Normative source: [1] - Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xades:OtherCertStatusValuesType in terms of its children is as follows: xades:OtherValue+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/REVVALS/OTHERVAL/2 Normative source: [1] - Clause 5.4.2 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: An instance of xades:OtherCertStatusValuesType does not have any attribute. Prescription level: mandatory Tag: XAdES baseline and extended signatures The structure of xades:EncapsulatedCRLValue child element shall be tested as specified in clause A.1.3. The structure of xades:EncapsulatedOCSPValue child element shall be tested as specified in clause A.1.3. A.3.20 Testing xadesv141:TimeStampValidationData TA id: XADES_SCH/TSTVAL/1 Normative source: [1] - Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xadesv141:TimeStampValidationDataType type in terms of its children is as follows: xades:CertificateValues?, xades:RevocationValues?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/TSTVAL/2 Normative source: [1] - Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xadesv141:TimeStampValidationDataType type is as follows: noOrder(Id?,URI?). Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/TSTVAL/3 Normative source: [1] - Clause 5.5.1 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value of the URI attribute is a valid URI Reference. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 64 The structure of xades:CertificateValues child element shall be tested as specified in clause A.3.18. The structure of xades:RevocationValues child element shall be tested as specified in clause A.3.19. A.3.21 Testing xadesv141:ArchiveTimeStamp The structure of xadesv141:ArchiveTimeStamp element shall be tested as specified in clause A.1.4. A.3.22 Testing xadesv141:RenewedDigests TA id: XADES_SCH/RENDIGS/1 Normative source: [1] - Clause 5.5.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The inner structure of one instance of xadesv141:RenewedDigestsType type in terms of its children is as follows: ds:DigestMethod, xadesv141:RecomputedDigestValue+. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/RENDGIS/2 Normative source: [1] - Clause 5.5.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xadesv141: RenewedDigestsType type is as follows: Id?. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/RENDIGS/RECDIG/1 Normative source: [1] - Clause 5.5.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: xadesv141:RecomputedDigestValue element does not have any children. Prescription level: mandatory Tag: XAdES baseline and extended signatures TA id: XADES_SCH/RENDGIS/RECDIG/2 Normative source: [1] - Clause 5.5.3 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of xadesv141:RecomputedDigestValue element is as follows: Order. Prescription level: mandatory Tag: XAdES baseline and extended signatures ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 65 History Document history V1.1.1 June 2016 Publication
629671bfddb226c7b32c7184db9eee0f
118 130
1 Scope
The present document specifies Generic Interworking of the oneM2M System with external systems (e.g. Area Networks containing non-oneM2M devices) that can be described with ontologies that are compliant with oneM2M's Base Ontology, specified in ETSI TS 118 112 [3]. In oneM2M Release 2 the specification for Ontology based Interworking had been contained in clauses 8 and 9 of ETSI TS 118 112 [3].
629671bfddb226c7b32c7184db9eee0f
118 130
2 References
629671bfddb226c7b32c7184db9eee0f
118 130
2.1 Normative references
References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. Referenced documents which are not found to be publicly available in the expected location might be found at https://docbox.etsi.org/Reference/. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are necessary for the application of the present document. [1] ETSI TS 118 111: "oneM2M; Common Terminology (oneM2M TS-0011)". [2] ETSI TS 118 101: "oneM2M; Functional Architecture (oneM2M TS-0001)". [3] ETSI TS 118 112: "oneM2M; Base Ontology (oneM2M TS-0012)". [4] Void. [5] ETSI TS 118 123: "oneM2M; Home Appliances Information Model and Mapping (oneM2M TS-0023)". [6] ETSI TS 118 114: "oneM2M; LWM2M Interworking (oneM2M TS-0014)". [7] ETSI TS 118 124: "onem2M; OIC Interworking (oneM2M TS-0024)". [8] ETSI TS 118 104: "oneM2M; Service Layer Core Protocol Specification (oneM2M TS-0004)".
629671bfddb226c7b32c7184db9eee0f
118 130
2.2 Informative references
References are either specific (identified by date of publication and/or edition number or version number) or non-specific. For specific references, only the cited version applies. For non-specific references, the latest version of the referenced document (including any amendments) applies. NOTE: While any hyperlinks included in this clause were valid at the time of publication, ETSI cannot guarantee their long term validity. The following referenced documents are not necessary for the application of the present document but they assist the user with regard to a particular subject area. [i.1] oneM2M Drafting Rules. [i.2] Smart Appliances REFerence (SAREF) ontology. ETSI ETSI TS 118 130 V4.0.1 (2023-06) 7 oneM2M TS-0030 version 4.0.1 Release 4
629671bfddb226c7b32c7184db9eee0f
118 130
3 Definitions of terms, symbols and abbreviations
629671bfddb226c7b32c7184db9eee0f
118 130
3.1 Terms
For the purposes of the present document, the terms given in ETSI TS 118 111 [1], ETSI TS 118 112 [3] and the following apply: abstract device: virtual Device (i.e. a set of oneM2M resources together with an IPE) that allows a communicating entity to communicate with an Interworked Device, using an Abstract Information Model, without the need to know the technology specific Device Information Model of that Interworked Device abstract information model: Information Model of common functionalities abstracted from a set of Device Information Models (see ETSI TS 118 111 [1]) abstraction: process of mapping between a set of Device Information Models and an Abstract Information Model according to a specified set of rules (see ETSI TS 118 111 [1]) abstraction application entity: specialized AE that communicates with an IPE and facilitates Abstraction by providing Services that translate between the Abstract Information Model and the Device Information Model of the IPE communicating entity: oneM2M entity (usually an AE) that communicates with the IPE for the purpose of sending/receiving data from the Interworked Device device information model: Information Model of the native protocol for the physical device (see ETSI TS 118 111 [1]) interworked device: Non-oneM2M Device Nodes (NoDN) for which communication with oneM2M entities can be achieved via an Interworking Proxy Application Entity (IPE) (see ETSI TS 118 112 [3]) interworking proxy application entity: specialized AE that facititates interworking between Non-oneM2M Device Nodes (NoDN) and the oneM2M System NOTE: An IPE maps data of the NoDN into oneM2M resources (interworked devices). It invokes operations in the NoDN when the related oneM2M resources are modified and modifies oneM2M resources based on the output of NoDN operations (see ETSI TS 118 111 [1]) ontology based interworking: ontology based Interworking allows interworking with many types of non-oneM2M Area Networks and Devices that are described in the form of a oneM2M compliant ontology which is derived from the oneM2M Base Ontology (see ETSI TS 118 112 [3]) NOTE: Ontology based Interworking supports the interworking variant "full mapping of the semantic of the non- oneM2M data model to Mca" as indicated in clause F.2 of ETSI TS 118 101 [2]. proxied device: virtual Device (i.e. a set of oneM2M resources together with an IPE) that represents the Interworked Device in the oneM2M System (see ETSI TS 118 112 [3])
629671bfddb226c7b32c7184db9eee0f
118 130
3.2 Symbols
Void.
629671bfddb226c7b32c7184db9eee0f
118 130
3.3 Abbreviations
For the purposes of the present document, the abbreviations given in ETSI TS 118 111 [1], ETSI TS 118 112 [3] and the following apply: IPE Interworking Proxy Application Entity NOTE: See ETSI TS 118 111 [1]. ETSI ETSI TS 118 130 V4.0.1 (2023-06) 8 oneM2M TS-0030 version 4.0.1 Release 4
629671bfddb226c7b32c7184db9eee0f
118 130
4 Conventions
The key words "Shall", "Shall not", "May", "Need not", "Should", "Should not" in the present document are to be interpreted as described in the oneM2M Drafting Rules [i.1]. 5 Introduction to Ontology based Interworking (informative)
629671bfddb226c7b32c7184db9eee0f
118 130
5.1 Basic concepts of Ontology based Interworking
629671bfddb226c7b32c7184db9eee0f
118 130
5.1.1 Ontology based Interworking vs. Specific interworking
oneM2M supports interworking with several specific non-oneM2M solutions. Examples are: LWM2M Interworking (ETSI TS 118 114 [6]) or OIC Interworking (ETSI TS 118 124 [7]). While these examples refer to specific technologies oneM2M also allows to specify only data models - e.g. in ETSI TS 118 123 [5] - which does not assume that a specific technology is used. The data model in ETSI TS 118 123 could e.g. be implemented with 'native' oneM2M entities like ASNs, ADNs and MNs or it could just as well be implemented in a non-oneM2M solution that is interworked with oneM2M via an Interworking Proxy Application Entity (IPE). Ontology based Interworking is taking an approach similar to ETSI TS 118 123 [5], however in this case the data model is not specified but can flexibly be provided in form of an ontology. That ontology needs to be formally described (e.g. in OWL format). Ontology based Interworking can be used in cases where oneM2M does not provide a standardized datamodel but still interworking is desired. Such a situation may arise if e.g. a company wants to publish their proprietary datamodel for interworking purposes but does not wish to reveal their proprietary technology (radio technology, communication protocol) for data transmission. For Ontology based Interworking the ontology that describes the data model of the interworked technology needs to be provided in the oneM2M solution. This ontology enables the IPE to create specific resourcetypes (specializations of <flexContainer>), through dynamically created XSDs that are derived from the ontology. From these resourcetypes oneM2M resources are created by the IPE for communication of oneM2M communicating entities with the IPE. As with any other form of interworking, the IPE provides the translation of data in these resources into/from the external technology. 5.1.2 Use of ontologies for Ontology based Interworking with Area Networks Interworking with Area Networks is accomplished in oneM2M through functionality provided by Interworking Proxy Entities (IPEs). ETSI ETSI TS 118 130 V4.0.1 (2023-06) 9 oneM2M TS-0030 version 4.0.1 Release 4 oneM2M compliant Solution Area Network (e.g. KNX) Interworked Devices (physical devices) in the Area Network Proxied Devices (oneM2M resources) in the oneM2M System technology Communicating entity REST-ful Resource access Inter working Proxy Entity Figure 1: Interworking The IPE creates "proxied" devices as oneM2M Resources (e.g. AEs) in the oneM2M Solution that can be accessed by communicating entities (e.g. oneM2M Applications) in the usual way. To accomplish the creation of proxied devices the IPE uses an ontology that describes the Device Information Model of the interworked Area Network and its entities (device types, their operations, etc.). EXAMPLE 1: In figure 1, an ontology that describes a KNX Area Network and its entities would be needed. To achieve the flexibility for the IPE to create proxied devices for many different types of Area Networks each ontology that describes a specific Device Information Model needs to be derived from the Base Ontology that is specified in ETSI TS 118 112 [3]. This allows to specify a common scheme of mapping the classes of the ontology that describes the Device Information Model into oneM2M resources (see clause 7). EXAMPLE 2: The OWL representation of an ontology that describes the Device Information Model of an Area Network of type "KNX" needs to: a) contain an 'include' statement which includes Base Ontology; b) the Class of "KNX Nodes" needs to be a subclass of the "Device" Class of oneM2M's Base Ontology; c) the Class of "KNX Communication Objects" needs to be a subclass of the "Service" Class of the Base Ontology; d) etc. NOTE: For the purpose of Ontology based Interworking with Area Networks the Base Ontology is only used to describe type information and not for describing instances of these types. E.g. the Base Ontology describes the type "Device", but does not contain information about a specific device.The Base Ontology therefore only contains Classes and Properties but not instances. That principle needs to be followed by the ontology that describes the Device Information Model. ETSI ETSI TS 118 130 V4.0.1 (2023-06) 10 oneM2M TS-0030 version 4.0.1 Release 4
629671bfddb226c7b32c7184db9eee0f
118 130
5.2 Using Ontology based Interworking with Device Abstraction
629671bfddb226c7b32c7184db9eee0f
118 130
5.2.1 General description
As explained in clause 5.1 it is the task of an IPE to interact via the Area Network with the Interworked Devices and to provide oneM2M resources (Proxied Devices) to the communicating entities for communication with the Interworked Devices. However these Proxied Devices still exhibit the native data model - the Device Information Model of the external technology of the device - and a communicating entity needs to know that native Device Information Model (e.g. ZigBee, KNX, information model). Device abstraction relieves a communicating entity that wants to communicate with an Interworked Device (e.g. a ZigBee device) from the need to know the native Device Information Model of that Interworked Device. Additionally to providing interworking, the IPE may translate between the - technology specific - native Device Information Model and an Abstract Information Model, that is based on of common functionalities abstracted from a set of Device Information Models. Such Abstract Information Models can be provided by industry associations of a specific industry sector. An example of an Abstract Information Model, which is specified in oneM2M is the Home Appliance Information Model (HAIM), specified in ETSI TS 118 123 [5]. As in the case of a native Device Information Model that is used by the IPE also an Abstract Information Model can be described by an ontology and that ontology needs to be derived from the Base Ontology.
629671bfddb226c7b32c7184db9eee0f
118 130
5.2.2 An example, involving ZigBee, HAIM and SAREF
Figure 2 illustrates this situation for a light switch. In the example the physical implementation is a ZigBee device implementing a ZigBee Service "On/Off Cluster". An IPE for ZigBee creates the interworking towards the ZigBee network. To enable abstraction, this device is abstracted as oneM2M device according to the Home Appliance Information Model (HAIM). In HAIM the corresponding Service is a "binary Switch". Both types of Services expose a Function "On Off Function" which is e.g. described in the SAREF ontology. To turn the switch on SAREF defines an "On Command". The corresponding Service in HAIM is executed by setting an Input Datapoint called "powerState" to the binary value "TRUE". In Zigbee an operation (ZigBee command) needs to be invoked in the On/Off Cluster with an input parameter (ZigBee Command ID) equal to 0. A VariableConversion can been specified in the ontology of the ZigBee Device Information Model that contains the rules how to convert a value of InputDataPoint "powerState" into a value of OperationInput "ZigBee Command ID". ETSI ETSI TS 118 130 V4.0.1 (2023-06) 11 oneM2M TS-0030 version 4.0.1 Release 4 Device type_DD hasService hasFunction Operation Input “ID = 0” exposes Function Function “On Off Function” Service “On/Off Cluster” Operation “ZigBee Command” hasOperation Command “On Command” hasCommand hasInput exposes Command Device type_DA hasFunction Service “binary Switch” Input DataPoint “powerState = TRUE” hasService exposes Function exposes Command hasInput DataPoint Variable Conversion hasConversion ontology of the Device Information Model (example ZigBee) ontology of the Abstract Information Model (example: HAIM) convertsTo Figure 2: Ontologies relations
629671bfddb226c7b32c7184db9eee0f
118 130
5.3 Priciples of data flows