hash
stringlengths 32
32
| doc_id
stringlengths 7
13
| section
stringlengths 3
121
| content
stringlengths 0
3.82M
|
---|---|---|---|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.2.2.4 Testing xades:SignedProperties
|
For testing conformance of xades:SignedProperties element against extended XAdES signatures, the test assertions defined in ETSI TS 119 134-4 [4], clause A.2.1.2, and the following test assertions shall apply: TA id: XADES_ES/SIGPROP/1 Normative source: [1] Clause 4.3, [2] β Clause 4.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The ds:KeyInfo does not contain the signing certificate of the signature. Predicate: A XAdES signature incorporates one xades:SignedProperties container element. Prescription level: mandatory Tag: extended XAdES signatures. TA id: XADES_ES/SIGPROP/2 Normative source: [1] Clause 4.3, [2] β Clause 4.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The ds:KeyInfo contains the signing certificate of the signature within one of its ds:X509Certificate descendants AND this element IS NOT signed by the signature itself. Predicate: A XAdES signature incorporates one xades:SignedProperties container element. Prescription level: mandatory Tag: extended XAdES signatures. TA id: XAdES_ES/SIGPROP/3 Normative source: [1]- Clause 4.3.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:SignedProperties element is not an empty element. Prescription level: mandatory Tag: extended XAdES signatures. TA id: XADES_ES/SIGPROP/4 Normative source: [1] Clause 4.3, [2] β Clause 4.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The ds:KeyInfo does not contain the signing certificate of the signature. Predicate: The xades:SignedProperties element contains one xades:SignedSignatureProperties container element. Prescription level: mandatory Tag: extended XAdES signatures. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 12 TA id: XADES_ES/SIGSIGPROP/5 Normative source: [1] Clause 4.3, [2] β Clause 4.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The ds:KeyInfo contains the signing certificate of the signature within one of its ds:X509Certificate descendants AND this element IS NOT signed by the signature itself. Predicate: The xades:SignedProperties element contains one xades:SignedSignatureProperties container element. Prescription level: mandatory Tag: extended XAdES signatures.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.2.2.5 Testing xades:SignedSignatureProperties
|
For testing conformance of xades:SignedSignatureProperties element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4], clause A.2.1.2.2, and the following test assertions shall apply: TA id: XADES_ES/SIGSIGPROP/1 Normative source: [1] β Clause 4.3.4 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:SignedSignatureProperties element is not an empty element. Prescription level: mandatory Tag: extended XAdES signatures. TA id: XADES_ES/SIGSIGPROP/2 Normative source: [1] Clause 4.3, [2] β Clause 4.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The ds:KeyInfo does not contain the signing certificate of the signature. Predicate: The xades:SignedSignatureProperties element contains one xades:SigningCertificateV2 qualifying property. Prescription level: mandatory Tag: extended XAdES signatures. TA id: XADES_ES/SIGSIGPROP/3 Normative source: [1] Clause 4.3, [2] β Clause 4.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The ds:KeyInfo contains the signing certificate of the signature within one of its ds:X509Certificate descendants AND this element IS NOT signed by the signature itself. Predicate: The xades:SignedSignatureProperties element contains one xades:SigningCertificateV2 qualifying property. Prescription level: mandatory Tag: extended XAdES signatures.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.2.2.6 Testing xades:SignedDataObjectProperties
|
For testing conformance of xades:SignedDataObjectProperties element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.2.2.5.1 and A.2.1.2.3 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.2.2.7 Testing xades:UnSignedProperties
|
For testing conformance of xades:UnsignedProperties element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.2.2.6.1 and A.2.1.3.1 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.2.2.8 Testing xades:UnSignedSignatureProperties
|
For testing conformance of xades:UnsignedSignatureProperties element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.2.2.7.1 and A.2.1.3.2 test assertions shall apply. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 13
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.2.2.9 Testing xades:UnSignedDataObjectProperties
|
For testing conformance of xades:UnsignedSignatureProperties element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.2.2.8.1 and A.2.1.3.3 shall apply. 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.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3 Testing XAdES qualifying properties
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.1 Testing xades:SigningTime element
|
For testing conformance of xades:SigningTime element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clause A.3.2 test assertions shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.2 Testing xades:SigningCertificateV2 element
|
For testing conformance of xades:SigningCertificateV2 element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.2.1 and A.3.3, and the following test assertions shall apply: TA id: XADES_ES/SIGCERTV2/1 Normative source: [2] β Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:Cert children do not contain the IssuerSerialV2 child. Prescription level: preferred Tag: extended XAdES signatures TA id: XADES_ES/SIGCERTV2/2 Normative source: [2] β Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The content of IssuerSerialV2 child element of xades:Cert is the base-64 encoding of one DER-encoded instance of type IssuerSerial type defined in IETF RFC 5035 [5]. Prescription level: mandatory Tag: extended XAdES signatures TA id: XADES_ES/SIGCERTV2/3 Normative source: [1] β Clause 5.2.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The URI attribute value references a place containing the X509 certificate referenced by its xades:Cert parent element. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.3 Testing xades:CommitmentTypeIndication element
|
For testing conformance of xades:CommitmentTypeIndication element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.3.1 and A.3.4 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.4 Testing xades:DataObjectFormat element
|
For testing conformance of xades:DataObjectFormat element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.4.1 and A.3.5 shall apply. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 14
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.5 Testing xades:SignatureProductionPlaceV2 element
|
For testing conformance of xades:SignatureProductionPlaceV2 element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.5.1 and A.3.6 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.6 Testing xades:SignerRoleV2 element
|
For testing conformance of xades:SignerRoleV2 element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.6.1 and A.3.7 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.7 Testing xades:CounterSignature element
|
For testing conformance of xades:CounterSignature element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.7.1 and A.3.8, and the following requirements shall apply. For testing conformance of the countersignature itself against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], its components shall be checked as specified in the present document. NOTE: ETSI TS 119 134-4 [4] provides details on how to proceed for testing conformance of the countersignature against XAdES extended signatures as specified in ETSI EN 319 132-1 [1].
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.8 Testing xades:AllDataObjectsTimeStamp element
|
For testing conformance of xades:AllDataObjectsTimeStamp element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.8.1 and A.3.9 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.9 Testing xades:IndividualDataObjectsTimeStamp element
|
For testing conformance of xades:IndividualDataObjectsTimeStamp element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.9.1 and A.3.10 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
5.3.10 Testing properties from upper levels
|
According to ETSI EN 319 132-2 [2], XAdES-E-BES extended signatures should not incorporate the following qualifying properties: xades:SignaturePolicyIdentifier, xadesv141:SignaturePolicyStore, xades:SignatureTimeStamp, xadesv141:CompleteCertificateRefsV2, xadesv141:AttributeCertificateRefsV2, xades:CompleteRevocationRefs, xades:AttributeRevocationRefs, xadesv141:RefsOnlyTimeStampV2, xadesv141:SigAndRefsTimeStampV2, xades:CertificateValues, xades:AttrAuthoritiesCertValues, xades:RevocationValues, xades:AttributeRevocationValues, xadesv141:TimeStampValidationData, xadesv141:ArchiveTimeStamp, and xadesv141:RenewedDigests. Nevertheless, a XAdES-E-BES extended signature can incorporate any of them. The list below specifies how to test these properties in case they are present: 1) For testing conformance of xades:SignaturePolicyIdentifier qualifying property against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.10.1 and A.3.11, and the test assertions defined in clauses 6.2.3, 6.2.4, and 6.2.5 of the present document shall apply. 2) For testing conformance of xadesv141:SignaturePolicyStore qualifying property against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.11.1 and A.3.12, and the test assertions defined in clause 6.3 of the present document shall apply. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 15 3) For testing conformance of xades:SignatureTimeStamp qualifying property against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 6.2.1 and A.3.13 shall apply. 4) For testing conformance of xadesv141:CompleteCertificateRefsV2 element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.12.1 and A.3.14, and clause 8.2.3 of the present document shall apply. 5) For testing conformance of xadesv141:AttributeCertificateRefsV2 element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.13.1 and A.3.14, and clause 8.3 of the present document shall apply. 6) For testing conformance of xades:CompleteRevocationRefs element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.14.1 and A.3.15, and clause 8.4.3 of the present document shall apply. 7) For testing conformance of xades:AttributeRevocationRefs element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.15.1 and A.3.15, and clause 8.5 of the present document shall apply. 8) For testing conformance of xadesv141:SigAndRefsTimeStampV2 element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.16.1 and A.3.16, and clause 9.2.3 of the present document shall apply. 9) For testing conformance of xadesv141: RefsOnlyTimeStampV2 element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.17.1 and A.3.17, and clause 9.3.3 of the present document shall apply. 10) For testing conformance of xades:CertificateValues element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.2.1 and A.3.18, and clause 10.2 of the present document shall apply. 11) For testing conformance of xades:RevocationValues element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.3.1 and A.3.19, and clause 10.3 of the present document shall apply. 12) For testing conformance of xades:AttrAuthoritiesCertValues element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.4.1 and A.3.18, and clause 10.4.3 of the present document shall apply. 13) For testing conformance of xades:AttributeRevocationValues element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.5.1 and A.3.19, and clause 10.5.3 of the present document shall apply. 14) For testing conformance of xadesv141:TimeStampValidationData element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.6.1 and A.3.20 shall apply. 15) For testing conformance of xadesv141:ArchiveTimeStamp element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 8.2.1 and A.3.21, and clause 12.3.3 shall apply. 16) For testing conformance of xadesv141:RenewedDigests element against XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 8.3.1 and A.3.22 shall apply. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 16 6 Testing conformance to E-EPES level of extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.1 Introduction
|
The clause 6 specifies the set of assertions not directly derived from XAdES XML schema to be tested on XAdES qualifying properties corresponding to XAdES-E-EPES level as specified in ETSI EN 319 132-2 [2], which should not be present in lower levels of extended XAdES signatures, namely: xades:SignaturePolicyIdentifier, and xadesv141:SignaturePolicyStore.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.2 Testing xades:SignaturePolicyIdentifier element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.2.1 General requirements
|
For testing conformance of xades:SignaturePolicyIdentifier element against XAdES-E-EPES extended signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.10.1 and A.3.11, and clauses 6.2.2, 6.2.3, 6.2.4, and 6.2.5 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.2.2 Test assertions specific to E-EPES level
|
TA id: XADES_ES/E_EPES/SIGPOLID/1 Normative source: [2] β clause 4.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The xades:SignaturePolicyIdentifier property is present in the signature. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.2.3 Testing xades:SPURI signature policy qualifier
|
For testing conformance of xades:SPURI signature policy qualifier against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.10.2.1 and A.3.11.2 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.2.4 Testing xades:SPUserNotice signature policy qualifier
|
For testing conformance of xades:SPUserNotice signature policy qualifier against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clause A.3.11.3 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.2.5 Testing xadesv141:SPDocSpecification signature policy qualifier
|
For testing conformance of xadesv141:SPDocSpecification signature policy qualifier against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.10.3.1 and A.3.11.4 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.3 Testing xadesv141:SignaturePolicyStore element
|
For testing conformance of xadesv141:SignaturePolicyStore element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.11.1 and A.3.12 shall apply. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 17
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
6.4 Testing properties of upper levels
|
According ETSI EN 319 132-2 [2], XAdES-E-EPES extended signatures should not incorporate the following qualifying properties: xades:SignatureTimeStamp, xadesv141:CompleteCertificateRefsV2, xadesv141:AttributeCertificateRefsV2, xades:CompleteRevocationRefs, xades:AttributeRevocationRefs, xadesv141:RefsOnlyTimeStampV2, xadesv141:SigAndRefsTimeStampV2, xades:CertificateValues, xades:AttrAuthoritiesCertValues, xades:RevocationValues, xades:AttributeRevocationValues, xadesv141:TimeStampValidationData, xadesv141:ArchiveTimeStamp, and xadesv141:RenewedDigests. Nevertheless, a XAdES-E-EPES extended signature can incorporate any of them. If any of the aforementioned qualifying properties is incorporated into a XAdES-E-EPES signature, it shall be tested as indicated in clause 5.3.10. 7 Testing conformance to E-T level of extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
7.1 Introduction
|
The present clause specifies the set of assertions not directly derived from XAdES XML schema to be tested on the XAdES qualifying property corresponding to XAdES-E-T level as specified in ETSI EN 319 132-2 [2], which should not be present in lower levels of extended XAdES signatures, namely: xades:SignatureTimeStamp.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
7.2 Testing xades:SignatureTimeStamp element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
7.2.1 General requirements
|
For testing conformance of xades:SignatureTimeStamp element against XAdES-E-T extended signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 6.2.1 and A.3.13, and the test assertions defined in clause 7.2.2 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
7.2.2 Test assertions specific to E-T level
|
TA id: XADES_ES/E_T/SIGTST/1 Normative source: [2] β clause 4.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: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
7.3 Testing properties from upper levels
|
According ETSI EN 319 132-2 [2], XAdES-E-T extended signatures should not incorporate the following qualifying properties: xadesv141:CompleteCertificateRefsV2, xadesv141:AttributeCertificateRefsV2, xades:CompleteRevocationRefs, xades:AttributeRevocationRefs, xadesv141:RefsOnlyTimeStampV2, xadesv141:SigAndRefsTimeStampV2, xades:CertificateValues, xades:AttrAuthoritiesCertValues, xades:RevocationValues, xades:AttributeRevocationValues, xadesv141:TimeStampValidationData, xadesv141:ArchiveTimeStamp, and xadesv141:RenewedDigests. Nevertheless, a XAdES-E-T extended signature can incorporate any of them. If any of the aforementioned qualifying properties is incorporated into a XAdES-E-T signature, it shall be tested as indicated in clause 5.3.10. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 18 8 Testing conformance to E-C level of extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.1 Introduction
|
The present clause specifies the set of assertions not directly derived from XAdES XML schema to be tested on the XAdES qualifying properties corresponding to XAdES-E-C level as specified in ETSI EN 319 132-2 [2], which should not be present in lower levels of extended XAdES signatures, namely: xadesv141:CompleteCertificateRefsV2, xadesv141:AttributeCertificateRefsV2, xades:CompleteRevocationRefs, and xades:AttributeRevocationRefs.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.2 Testing xadesv141:CompleteCertificateRefsV2 element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.2.1 General requirements
|
For testing conformance of xadesv141:CompleteCertificateRefsV2 element against XAdES-E-C extended signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.12.1 and A.3.14, and the test assertions defined in clauses 8.2.2 and 8.2.3 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.2.2 Test assertions specific to E-C level
|
TA id: XADES_ES/E_C/CCERTREFSV2/1 Normative source: [2] - Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xadesv141:CompleteCertificateRefsV2 property is present in the signature. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.2.3 Test assertions no specific to E-C level
|
TA id: XADES_ES/CCERTREFSV2/1 Normative source: [2] - Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: At most one instance of xadesv141:CompleteCertificateRefsV2 property is incorporated into the signature. Prescription level: mandatory Tag: extended XAdES signatures TA id: XADES_ES/CCERTREFSV2/2 Normative source: [2] β Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:Cert children do not contain the IssuerSerialV2 child. Prescription level: preferred Tag: extended XAdES signatures TA id: XADES_ES/CCERTREFSV2/3 Normative source: [1]- Clause A.1.1 Target XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The content of IssuerSerialV2 element is the base-64 encoding of one DER-encoded instance of type IssuerSerial type defined in IETF RFC 5035 [5]. Prescription level: mandatory Tag: extended XAdES signatures ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 19
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.3 Testing xadesv141:AttributeCertificateRefsV2 element
|
For testing conformance of xadesv141:AttributeCertificateRefsV2 element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.13.1 and A.3.14, and the following test assertions shall apply: TA id: XADES_ES/ATTCERTREFSV2/1 Normative source: [2] β Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: At most one instance of xadesv141:AttributeCertificateRefsV2 property is incorporated into the signature. Prescription level: mandatory Tag: extended XAdES signatures TA id: XADES_ES/ATTCERTREFSV2/2 Normative source: [2] β Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:Cert children do not contain the IssuerSerialV2 child. Prescription level: preferred Tag: extended XAdES signatures TA id: XADES_ES/ATTCERTREFSV2/3 Normative source: [1]- Clause A.1.3 Target XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The content of IssuerSerialV2 element is the base-64 encoding of one DER-encoded instance of type IssuerSerial type defined in IETF RFC 5035 [5]. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.4 Testing xades:CompleteRevocationRefs element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.4.1 General requirements
|
For testing conformance of xades:CompleteRevocationRefs element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.14.1 and A.3.15, and the test assertions defined in clauses 8.4.2 and 8.4.3 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.4.2 Test assertions specific to E-C level
|
TA id: XADES_ES/E_C/CREVREFS/1 Normative source: [2] - Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xadesv141: CompleteRevocationRefs property is present in the signature. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.4.3 Test assertions no specific to E-C level
|
TA id: XADES_ES/CREVREFS/1 Normative source: [2] - Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: At most one instance of xades:CompleteRevocationRefs property is incorporated into the signature. Prescription level: mandatory Tag: extended XAdES signatures ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 20
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.5 Testing xades:AttributeRevocationRefs element
|
For testing conformance of xades:AttributeRevocationRefs element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.15.1 and A.3.15, and the following test assertions shall apply: TA id: XADES_ES/ATTREVREFS/1 Normative source: [2] β Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:AttributeRevocationRefs property is not present in the signature. Prescription level: preferred Tag: extended XAdES signatures TA id: XADES_BS/ATTREVREFS/2 Normative source: [2] β Clause 4.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: At most one instance of xades:AttributeRevocationRefs property is incorporated into the signature. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
8.6 Testing properties from upper levels
|
According ETSI EN 319 132-2 [2], XAdES-E-C extended signatures should not incorporate the following qualifying properties: xadesv141:RefsOnlyTimeStampV2, xadesv141:SigAndRefsTimeStampV2, xades:CertificateValues, xades:AttrAuthoritiesCertValues, xades:RevocationValues, xades:AttributeRevocationValues, xadesv141:TimeStampValidationData, xadesv141:ArchiveTimeStamp, and xadesv141:RenewedDigests. Nevertheless, a XAdES-E-C extended signature can incorporate any of them. If any of the aforementioned qualifying properties is incorporated into a XAdES-E-C signature, it shall be tested as indicated in clause 5.3.10. 9 Testing conformance to E-X level of extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.1 Introduction
|
The present clause specifies the set of assertions not directly derived from XAdES XML schema to be tested on the XAdES qualifying properties corresponding to XAdES-E-X level as specified in ETSI EN 319 132-2 [2], which should not be present in lower levels of extended XAdES signatures, namely: xadesv141:SigAndRefsTimeStampV2, xadesv141:RefsOnlyTimeStampV2.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.2 Testing xadesv141:SigAndRefsTimeStampV2 element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.2.1 General requirements
|
For testing conformance of xadesv141:SigAndRefsTimeStampV2 element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.16.1 and A.3.16, and the test defined in clauses 9.2.2 and 9.2.3 assertions shall apply. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 21
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.2.2 Test assertions specific to E-X level
|
TA id: XADES_ES/SIGREFSTSTV2/1 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The XAdES signature does not incorporate any xadesv141:RefsOnlyTimeStampV2 element. Predicate: XAdES-E-X signatures contain one or more xades:SigAndRefsTimeStamp. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.2.3 Test assertions no specific to E-X level
|
TA id: XADES_ES/SIGREFSTSTV2/2 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The XAdES signature incorporates one or more xadesv141:RefsOnlyTimeStampV2 element contains some xades:Include children elements. Predicate: XAdES-E-X signatures contain one or more xades:SigAndRefsTimeStamp. Prescription level: permitted Tag: extended XAdES signatures TA id: XADES_ES/SIGREFSTSTV2/3 Normative source: [1] β Clause A.1.5.1.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The xadesv141:SigAndRefsTimeStampV2 element contains some xades:Include children elements. Predicate: The message imprint computation input of any time-stamp token encapsulated by xadesv141:SigAndRefsTimeStamp is the concatenation of the objects obtained as specified in ETSI EN 319 132-1 [1] clause A.1.5.1.3. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.3 Testing xadesv141:RefsOnlyTimeStampV2 element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.3.1 General requirements
|
For testing conformance of xadesv141: RefsOnlyTimeStampV2 element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 5.3.17.1 and A.3.17 and the test assertions defined in clauses 9.3.2 and 9.3.3 shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.3.2 Test assertions specific to E-X level
|
TA id: XADES_ES/REFSONTSTV2/1 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The XAdES signature does not incorporate any xadesv141:SigAndRefsTimeStamp. Predicate: XAdES-E-X signatures contain one or more xades:RefsOnlyTimeStampV2. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.3.3 Test assertions no specific to E-X level
|
TA id: XADES_ES/REFSONTSTV2/2 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The XAdES signature incorporates one or more xadesv141:SigAndRefsTimeStamp element. Predicate: XAdES-E-X signatures contain one or more xades:RefsOnlyTimeStampV2. Prescription level: permitted Tag: extended XAdES signatures ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 22 TA id: XADES_ES/REFSONTSTV2/3 Normative source: [1] β Clause A.1.5.2.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The xadesv141:RefsOnlyTimeStampV2element contains some xades:Include children elements. Predicate: The message imprint computation input of any time-stamp token encapsulated by xadesv141:RefsOnlyTimeStamp is the concatenation of the objects obtained as specified in ETSI EN 319 132-1 [1] clause A.1.5.2.3. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
9.4 Testing properties from upper levels
|
According ETSI EN 319 132-2 [2], XAdES-E-X extended signatures should not incorporate the following qualifying properties: xades:CertificateValues, xades:AttrAuthoritiesCertValues, xades:RevocationValues, xades:AttributeRevocationValues, xadesv141:TimeStampValidationData, xadesv141:ArchiveTimeStamp, and xadesv141:RenewedDigests. Nevertheless, a XAdES-E-X-L extended signature can incorporate any of them. The list below specifies how to test these properties in case they are present. If any of the aforementioned qualifying properties is incorporated into a XAdES-E-X signature, it shall be tested as indicated in clause 5.3.10. 10 Testing conformance to E-X-L level of extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.1 Introduction
|
The present clause specifies the set of assertions not directly derived from XAdES XML schema to be tested on the XAdES qualifying properties corresponding to XAdES-E-X-L level as specified in ETSI EN 319 132-2 [2], which should not be present in lower levels of extended XAdES signatures, namely: xades:CertificateValues, xades:RevocationValue, xades:AttrAuthoritiesCertValues, and xades:AttributeRevocationValues.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.2 Testing xades:CertificateValues element
|
For testing conformance of xades:CertificateValues element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.2.1 and A.3.18, and the following test assertions shall apply: TA id: XAdES_ES/CERTVALS/1 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: A XAdES signature contains at most one xades:CertificateValues qualifying property. Prescription level: mandatory Tag: extended XAdES signatures TA id: XAdES_ES/CERTVALS/2 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:CertificateValues property does not include certificates that are present elsewhere in the XAdES signature. Prescription level: preferred Tag: extended XAdES signatures ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 23
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.3 Testing xades:RevocationValues element
|
For testing conformance of xades:RevocationValues element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.3.1 and A.3.19, and the following test assertions shall apply: TA id: XAdES_ES/REVVALS/1 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: A XAdES signature contains at most one xades:RevocationValues qualifying property. Prescription level: mandatory Tag: extended XAdES signatures TA id: XAdES_ES/REVVALS/2 Normative source: [2] β Clauses A.1, A.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:RevocationValues property does not include revocation values that are present elsewhere in the XAdES signature. Prescription level: preferred Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.4 Testing xades:AttrAuthoritiesCertValues element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.4.1 General requirements
|
For testing conformance of xades:AttrAuthoritiesCertValues element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.4.1 and A.3.18, and the test assertions defined in clauses 10.4.2 and 10.4.3 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.4.2 Test assertions specific to the E-X-L and E-X-Long levels
|
TA id: XAdES_ES/E-X-LONG/ATTCERTVALS/1 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] 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: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.4.3 Test assertions no specific to the E-X-L and E-X-Long levels
|
TA id: XAdES_ES/ATTCERTVALS/1 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: A XAdES-E-X-Long contains at most one xades:AttrAuthoritiesCertValues qualifying property. Prescription level: mandatory Tag: extended XAdES signatures TA id: XAdES_ES/ATTCERTVALS/2 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:AttrAuthoritiesCertValues property does not include certificates that are present elsewhere in the XAdES signature. Prescription level: preferred Tag: extended XAdES signatures ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 24
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.5 Testing xades:AttributeRevocationValues element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.5.1 General requirements
|
For testing conformance of xades:AttributeRevocationValues element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.5.1 and A.3.19, and the test assertions defined clauses 10.5.2 and 10.5.3 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.5.2 Test assertions specific to the E-X-L and E-X-Long levels
|
TA id: XAdES_ES/E-X-LONG/ATTREVVALS/1 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] 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: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.5.3 Test assertions no specific to the E-X-L and E-X-Long levels
|
TA id: XAdES_ES/ATTREVVALS/1 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: A XAdES-E-X-Long contains at most one xades:AttributeRevocationValues qualifying property. Prescription level: mandatory Tag: extended XAdES signatures TA id: XAdES_ES/ATTREVVALS/2 Normative source: [2] β Clause A.1 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The xades:AttributeRevocationValues property does not include revocation values that are present elsewhere in the XAdES signature. Prescription level: preferred Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
10.6 Testing properties from upper levels
|
According ETSI EN 319 132-2 [2], XAdES-E-X-L extended signatures should not incorporate the following qualifying properties: xadesv141:TimeStampValidationData, xadesv141:ArchiveTimeStamp, and xadesv141:RenewedDigests. Nevertheless, a XAdES-E-X extended signature can incorporate any of them. The list below specifies how to test these properties in case they are present. If any of the aforementioned qualifying properties is incorporated into a XAdES-E- X-L signature, it shall be tested as indicated in clause 5.3.10. 11 Testing conformance to E-X-Long level of extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
11.1 General requirements
|
The present clause specifies the set of assertions not directly derived from XAdES XML schema to be tested on the XAdES qualifying properties corresponding to XAdES-E-X-Long level as specified in ETSI EN 319 132-2 [2], which should not be present in lower levels of extended XAdES signatures, namely: xades:CertificateValues, xades:RevocationValue, xades:AttrAuthoritiesCertValues, and xades:AttributeRevocationValues. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 25 In addition to that the following qualifying properties from E-X-Long level should not be present: xadesv141:SigAndRefsTimeStampV2, and xadesv141:RefsOnlyTimeStampV2. Nevertheless, a XAdES-E-X-Long extended signature can incorporate any of them. If any of the aforementioned qualifying properties is incorporated into a XAdES-E-X-Long signature, it shall be tested as indicated in clause 5.3.10.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
11.2 Test assertions for qualifying properties specific of the level
|
For testing conformance of xades:CertificateValues element against XAdES-E-X-Long signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in clause 10.2 of the present document shall apply. For testing conformance of xades:RevocationValues element against XAdES-E-X-Long signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in clause 10.3 of the present document shall apply. For testing conformance of xades:AttrAuthoritiesCertValues element against XAdES-E-X-Long signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in clause 10.4 of the present document shall apply. For testing conformance of xades:AttributeRevocationValues element against XAdES-E-X-Long signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in clause 10.5 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
11.3 Testing properties from upper levels
|
According ETSI EN 319 132-2 [2], XAdES-E-X-Long extended signatures should not incorporate the following qualifying properties: xadesv141:TimeStampValidationData, xadesv141:ArchiveTimeStamp, and xadesv141:RenewedDigests. Nevertheless, a XAdES-E-X-Long extended signature can incorporate any of them. If any of the aforementioned qualifying properties is incorporated into a XAdES-E-X-Long signature, it shall be tested as indicated in clause 5.3.10. 12 Testing conformance to E-A level of extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.1 Introduction
|
The present clause specifies the set of assertions not directly derived from XAdES XML schema to be tested on the XAdES qualifying properties corresponding to XAdES-E-A level as specified in ETSI EN 319 132-2 [2], which should not be present in lower levels of extended XAdES signatures, namely: xadesv141:ArchiveTimeStamp, xadesv141:TimeStampValidationData, and xadesv141:RenewedDigests.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.2 Testing xadesv141:TimeStampValidationData element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.2.1 General requirements
|
For testing conformance of xadesv141:TimeStampValidationData element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 7.6.1 and A.3.20, and the test assertions defined in clause 12.2.2 of the present document shall apply. ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 26
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.2.2 Test assertions specific to E-A level
|
TA id: XAdES_ES/E_A/TSTVALDAT/1 Normative source: [2] β Clauses 4.3, A.1, A.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The XAdES-A signature incorporates a xadesv141:ArchiveTimeStamp that time-stamps one or more XAdES qualifying properties that are containers of time-stamp tokens. Predicate: The XAdES signature incorporates one xadesv141:TimeStampValidation qualifying property for each time-stamp token incorporated before the last archive time-stamp for which the XAdES signature did not incorporated all be validation data required for its validation. Prescription level: preferred Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.3 Testing xadesv141:ArchiveTimeStamp element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.3.1 General requirements
|
For testing conformance of xadesv141:ArchiveTimeStamp element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 8.2.1 and A.3.21, and the test assertions defined in clauses 12.3.2 and 12.3.3 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.3.2 Test assertions specific to E-A level
|
TA id: XAdES_ES/E_A/ATSTV141/1 Normative source: [2] β Clauses 4.3, A.1, A.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The XAdES-E-A signature incorporates one or more xadesv141:ArchiveTimeStamp qualifying properties. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.3.3 Test assertions no specific to E-A level
|
TA id: XADES_ES/ATSTV141/1 Normative source: [1] β Clause 5.5.2.3 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Prerequisite: The xadesv141:ArchiveTimeStamp contains some xades:Include children elements. Predicate: The message imprint computation input of any time-stamp token encapsulated by xadesv141:ArchiveTimeStamp is the concatenation of the objects obtained as specified in ETSI EN 319 132-1 [1] clause 5.5.2.3. Prescription level: mandatory Tag: extended XAdES signatures
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.4 Testing xadesv141:RenewedDigests element
| |
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.4.1 General requirements
|
For testing conformance of xadesv141:RenewedDigests element against extended XAdES signatures as specified in ETSI EN 319 132-2 [2], the test assertions defined in ETSI TS 119 134-4 [4] clauses 8.3.1 and A.3.22, and the test assertions defined in clause 12.4.2 of the present document shall apply.
|
382aab34632242dff6c525d9edbda0f8
|
119 134-5
|
12.4.2 Test assertions specific to E-A level
|
TA id: XAdES_ES/E_A/ RENDIG /1 Normative source: [2] β Clauses 4.3, A.1, A.2 Target: XAdES signature generator claiming conformance to XAdES extended signatures as specified in [2] Predicate: The XAdES-E-A signature incorporates one or more xadesv141:RenewedDigests qualifying properties. Prescription level: permitted Tag: extended XAdES signatures ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 27 Annex A (normative): Test assertions derived from XML Schema A.1 Introduction This annex specifies test assertions focussed on testing the structure of the elements specified by XAdES [1] according to its XML Schema. The notation used is the same as the one detailed and used in annex A of ETSI TS 119 134-4 [4]. A.2 Testing xades:QualifyingPropertiesReference Below follow the test assertions on xades:QualifyingPropertiesReference element. TA id: XADES_SCH/SCHEMA/QPREF/1 Normative source: [1]- Clause 5.2 Target: XAdES signature generator claiming conformance to extended XAdES signatures as specified in [2] Predicate: The xades:QualifyingPropertiesReference element does not have any child element. Prescription level: mandatory Tag: extended XAdES signatures TA id: XADES_SCH/SCHEMA/QPREF/2 Normative source: [1]- Clause 5.2 Target: XAdES signature generator claiming conformance to extended XAdES signatures as specified in [2] Predicate: The set of attributes (leaving apart the attributes declaring namespaces) of one instance of xades:QualifyingPropertiesReference is as follows: noOrder(URI,Id?). Prescription level: mandatory Tag: extended XAdES signatures TA id: XADES_SCH/SCHEMA/QPREF/3 Normative source: [1]- Clause 5.2 Target: XAdES signature generator claiming conformance to extended XAdES signatures as specified in [2] Predicate: The value of the attribute URI is a URI reference. Prescription level: mandatory Tag: extended XAdES signatures ETSI ETSI TS 119 134-5 V2.1.1 (2016-06) 28 History Document history V1.1.1 April 2012 Publication V2.1.1 June 2016 Publication
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
1 Scope
|
The present document defines the set of checks to be performed for testing conformance of XAdES signatures against XAdES baseline signatures as specified ETSI EN 319 132-1 [1]. The present document does not specify checks leading to conclude whether a signature is technically valid or not (for instance, it does not specify checks for determining whether the cryptographic material present in the signature may be considered valid or not). In consequence no conclusion may be inferred regarding the technical validity of a signature that has been successfully tested by any tool conformant to the present document. Checks specified by the present document are exclusively constrained to elements specified by XAdES [1] and to certain elements specified by XMLSig [3] that are re-used in XAdES schema definition (like ds:DigestMethod, ds:DigestValue). Regarding XAdES properties, the present document explicitly differentiates between structural requirements that are defined by the XAdES XML Schema, and the rest of the requirements specified by XAdES [1]. Checks corresponding to the first set of requirements are specified in the normative annex A. Checks corresponding to the second set of requirements are specified in the body part of the present document. The present document is intentionally not linked to any software development technology and is also intentionally agnostic on implementation strategies. This is one of the reasons why the test assertions set specified in the present document includes tests on the correctness of the structure of all the elements specified by XAdES [1].
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
2 References
| |
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
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 http://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 EN 319 132-1: "Electronic Signatures and Infrastructures (ESI); XAdES digital signatures; Part 1: Building blocks and XAdES baseline signatures". [2] ETSI EN 319 132-2: "Electronic Signatures and Infrastructures (ESI); XAdES digital signatures; Part 2: Extended XAdES signatures". [3] W3C Recommendation (2008): "XML-Signature Syntax and Processing (Second Edition)". [4] IETF RFC 3061 (2001): "A URN Namespace of Object Identifiers". [5] IETF RFC 3161 (2001): "Internet X.509 Public Key Infrastructure: Time-Stamp Protocol (TSP)". [6] IETF RFC 6960: "X.509 Internet Public Key Infrastructure Online Certificate Status Protocol - OCSP". ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 9
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
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] OASIS Standard: "Test Assertions Model Version 1.0". [i.2] ETSI TR 119 134-1: "Electronic Signatures and Infrastructures (ESI); XAdES digital signatures - Testing Conformance and Interoperability; Part 1: Overview". [i.3] ETSI TS 119 134-5: "Electronic Signatures and Infrastructures (ESI); XAdES digital signatures - Testing Conformance and Interoperability; Part 5: Testing Conformance of extended XAdES signatures".
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
3 Abbreviations
|
For the purposes of the present document, the following abbreviations apply: BER Basic Encoding Rules CER Canonical Encoding Rules DER Distinguished Encoding Rules HTTP Hyper Text Transfer Protocol OCSP Online Certificate Status Protocol OID Object IDentifier PER Packed Encoding Rules TSP Trusted Service Providers URI Uniform Resource Identifier URN Uniform Resource Name XER XML Encoding Rules XML eXtensible Markup Language XMLDSIG eXtensible Markup Language Digital SIGnature
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
4 Overview
|
The present clause describes the main aspects of the technical approach used for specifying the whole set of tests to be performed for testing conformance to ETSI EN 319 132-1 [1]. In order to test conformance against the aforementioned specification, several types of tests are identified, namely: 1) Tests on the signature structure that are directly derived from the XML Schema specified in ETSI EN 319 132-1 [1]. These tests are specified in annex A. 2) Tests on the signature structure that are not defined by the XML schema of ETSI EN 319 132-1 [1] and that in consequence may not be tested by a XML Schema validator tool. 3) Tests on values of specific elements and/or attributes that cannot be tested by a XML Schema validator tool. 4) Tests on interrelationship between different elements present in the signature (URIs that point to certain elements, for instance). 5) Tests on computations reflected in the contents of the signatures (for instance message imprints for a time-stamping service, computed by digesting the concatenation of a number of elements of the signature). ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 10 No tests are included testing actual validity of the cryptographic material that might be present in the signature or to be used for its verification (for instance status of certificates). Tests are defined as test assertions following the work produced by OASIS in "Test Assertions Model Version 1.0" [i.1]. For each XAdES qualifying property and for certain relevant elements specified in XMLDSIG [3], the present document defines a number of test assertions corresponding to the requirements specified in the aforementioned specifications. ETSI EN 319 132-1 [1] defines requirements for building blocks and XAdES baseline signatures. For the purpose of identifying the whole set of test assertions required for testing conformance against XAdES baseline signatures as specified in ETSI EN 319 132-1 [1], the present document classifies the whole set of requirements specified in ETSI EN 319 132-1 [1] in three groups as follows: 1) Requirements "XAdES_BS" (after "XAdES baseline signatures"): requirements defined in clause 6 of ETSI EN 319 132-1 [1]. These are requirements specific to XAdES baseline signatures. 2) Requirements "XAdES_BB" (after "XAdES building blocks"): requirements defined in clauses 4 and 5, annexes A, C and D of ETSI EN 319 132-1 [1] applicable to both XAdES baseline signatures as specified in ETSI EN 319 132-1 [1] and XAdES extended signatures as specified in ETSI EN 319 132-2 [2]. 3) Requirements "XAdES_SCH" (after "XAdES schema"): requirements defined in annex A. These are requirements directly derived from the XML Schema definitions in ETSI EN 319 132-1 [1]. The set of test assertions for XAdES baseline signatures as specified in ETSI EN 319 132-1 [1], shall be the addition of test assertions with code "XAdES_BB", and test assertions with code "XAdES_BS". Each test assertion includes: 1) Unique identifier for further referencing. The identifiers of the assertions start with a code identifying the set of requirements the assertion corresponds to, namely: "XAdES_BB", and "XAdES_BS". NOTE: The present document does not define test assertions for requirements "XAdES_BB_ES". These test assertions are defined in ETSI TS 119 134-5 [i.3]. 2) Reference to the Normative source for the test. 3) The Target of the assertion. In the normative part, this field identifies ETSI EN 319 132-1 [1]. 4) Prerequisite (optional) is, according to [i.1], "a logical expression (similar to a Predicate) which further qualifies the Target for undergoing the core test (expressed by the Predicate) that addresses the Normative Statement". It is used for building test assertions corresponding to requirements that are imposed under certain conditions. 5) Predicate fully and unambiguously defining the assertion to be tested. 6) Prescription level: three levels are defined: mandatory, preferred and permitted, whose semantics is to be interpreted as described in clause 3.1.2 of [i.1]. 7) Tag: information on the element tested by the assertion. This indicates that XAdES [1] is the origin of the assertion. Table 1 shows the prefixes used to refer to specific elements in the XAdES signature associated to the URIs of the corresponding namespaces. Table 1: Prefixes used XML Namespace URI Prefix http://www.w3.org/2000/09/xmldsig# ds http://uri.etsi.org/01903/v1.3.2# xades http://uri.etsi.org/01903/v1.4.1# xadesv141 ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 11 5 Testing conformance to B-B level of XAdES signatures
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.1 General
|
The clause 5 specifies the whole set of assertions, not directly derived from XAdES XML schema, to be tested on applications claiming conformance to the XAdES-B-B signatures as specified in ETSI EN 319 132-1 [1]. As mentioned before the assertions derived from the XML Schema definition are specified in the normative annex A. Clause 5.2 specifies the assertions for testing conformance on elements that are specified by the W3C XML Signature Recommendation [3] and further profiled by ETSI EN 319 132-1 [1], against ETSI EN 319 132-1 [1]. Clause 5.3 specifies the assertions for testing conformance on the qualifying properties that are relevant for the XAdES-B-B level. According to ETSI EN 319 132-1 [1], XAdES-B-B signatures should not incorporate a number of qualifying properties. Nevertheless, a XAdES-B-B signature can incorporate them. The list below specifies how to test these properties in case they are present in a XAdES-B-B signature: 1) xades:SignatureTimeStamp, shall be tested as specified in clauses 6.2 and A.3.13. 2) xadesv141:CompleteCertificateRefsV2, shall be tested as specified in clauses 5.3.12 and A.3.14. 3) xades:CompleteRevocationRefs, shall be tested as specified in clauses 5.3.14 and A.3.15. 4) xadesv141:AttributeCertificateRefsV2, shall be tested as specified in clauses 5.3.13 and A.3.14. 5) xades:AttributeRevocationRefs, shall be tested as specified in clauses 5.3.15 and A.3.15. 6) xadesv141:RefsOnlyTimeStampV2, shall be tested as specified in clauses 5.3.17 and A.3.17. 7) xadesv141:SigAndRefsTimeStampV2, shall be tested as specified in clauses 5.3.16 and A.3.16. 8) xades:CertificateValues, shall be tested as specified in clauses 7.2 and A.3.18. 9) xades:AttrAuthoritiesCertValues, shall be tested as specified in clauses 7.4 and A.3.18. 10) xades:RevocationValues, shall be tested as specified in clauses 7.3 and A.3.19. 11) xades:AttributeRevocationValues, shall be tested as specified in clauses 7.5 and A.3.19. 12) xadesv141:TimeStampValidationData, shall be tested as specified in clauses 7.6 and A.3.20. 13) xadesv141:ArchiveTimeStamp, shall be tested as specified in clauses 8.2 and A.3.21. 14) xadesv141:RenewedDigests, shall be tested as specified in clauses 8.3 and A.3.22. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 12 5.2 Testing XML Signature elements and containers of XAdES qualifying properties
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1 Testing XML Signature elements
| |
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.1 Testing ds:Signature element
|
TA id: XADES_BS/XMLSIG/DSSIG/1 Normative source: [1] β Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The signature has one or more ds:Object children. Prescription level: mandatory Tag: XAdES baseline signatures.
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.2 Testing ds: Reference element
| |
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.2.1 Test assertions common to XAdES baseline and extended signatures
|
This clause defines the test assertions for ds:Reference element. TA id: XADES_BB/XMLSIG/REF/1 Normative source: [1] β Clause 4.4.2 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] and to XAdES extended signatures as specified in [2] Predicate: The value of the attribute Type of the ds:Reference element referencing the xades:SignedProperties element is "http://uri.etsi.org/01903#SignedProperties". Prescription level: mandatory Tag: XAdES baseline and extended signatures. TA id: XADES_BB/XMLSIG/REF/2 Normative source: [1] β Clause 4.4.2 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] and to XAdES extended signatures as specified in [2] Predicate: The digest value appearing within the ds:Reference element is equal to the value computed after processing the ds:Reference according to XMLDSIG [3] clause 4.4.3.2. Prescription level: mandatory Tag: XAdES baseline and extended signatures.
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.2.2 Testing ds: Transforms element
|
This clause defines the test assertions for ds:Reference's ds:Transforms child element. TA id: XAdES_BS/XMLSIG/REF/TR/1 Normative source: [1] Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The range of the Transformation algorithms used in new signatures, is the range identified in ETSI EN 319 132 Part 1 [1] clause 6.3. Prescription level: preferred Tag: XAdES baseline signatures.
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.3 Testing ds: Canonicalization element
|
This clause defines the test assertions for ds:CanonicalizationMethod element. TA id: XADES_BS/XMLSIG/REF/CAN/1 Normative source: [1] Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The value of the attribute Algorithm of ds:Canonicalization element for new signatures is one of the following three values: http://www.w3.org/2006/12/xml-c14n11, http://www.w3.org/2001/10/xml-exc-c14n#, http://www.w3.org/TR/2001/REC-xml-c14n-20010315. Prescription level: preferred Tag: XAdES baseline signatures. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 13 TA id: XADES_BS/XMLSIG/REF/CAN/2 Normative source: [1] Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The value of the attribute Algorithm of ds:Canonicalization element in legacy XAdES baseline signatures is one of the following six values: http://www.w3.org/2006/12/xml-c14n11, http://www.w3.org/2001/10/xml-exc-c14n#, http://www.w3.org/TR/2001/REC-xml-c14n-20010315, http://www.w3.org/2006/12/xml-c14n11#WithComments, http://www.w3.org/2001/10/xml-exc- c14n#WithComments, http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments. Prescription level: permitted Tag: XAdES baseline signatures.
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.4 Testing ds:SignatureValue element
| |
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.4.1 Test assertions common to XAdES baseline and extended signatures
|
This clause defines the test assertions for ds:SignatureValue child element. TA id: XAdES_BS/XMLSIG/SIGVAL/TR/1 Normative source: [3] Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The value in ds:SignatureValue is cryptographically correct. Prescription level: mandatory Tag: XAdES baseline signatures and extended signatures.
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.5 Testing ds: KeyInfo element
| |
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.5.1 Test assertions common to XAdES baseline and extended signatures
|
TA id: XADES_BB/XMLSIG/KEYINFO/1 Normative source: [3] β Clause 4.4.4 Target: XAdES signature generator claiming conformance to XAdES signatures either as specified in [1] or in [2] Predicate: The content of any ds:X509Certificate descendant element within the ds:KeyInfo element is a base-64 encoding of a X509 certificate. Prescription level: mandatory Tag: XAdES baseline signatures and extended signatures.
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.1.5.2 Test assertions specific to XAdES baseline signatures
|
TA id: XADES_BS/XMLSIG/KEYINFO/1 Normative source: [1] Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The ds:KeyInfo element is present within the XAdES baseline signatures as specified in [1] Prescription level: mandatory Tag: XAdES baseline signatures. TA id: XADES_BS/XMLSIG/KEYINFO/2 Normative source: [1] Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The ds:KeyInfo includes the signing certificate in one of its descendant X09Certificate elements Prescription level: mandatory Tag: XAdES baseline signatures. ETSI ETSI TS 119 134-4 V1.1.1 (2016-06) 14
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.2 Testing containers of XAdES qualifying properties
| |
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.2.1 Testing incorporation of XAdES qualifying properties to the signature
|
TA id: XAdES_BS/PROPERTIES/INCORPORATION/1 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: The XAdES signature contains one and exactly one xades:QualifyingProperties descendant element. Prescription level: mandatory Tag: XAdES baseline signatures. TA id: XAdES_BS/PROPERTIES/INCORPORATION/2 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 is child of one ds:Object element that is child of the ds:Signature element. Prescription level: mandatory Tag: XAdES baseline signatures. TA id: XAdES_BS/PROPERTIES/INCORPORATION/3 Normative source: [1]- Clause 6.3 Target: XAdES signature generator claiming conformance to XAdES baseline signatures as specified in [1] Predicate: None of the ds:Object elements children of the ds:Signature element includes a xades:QualifyingPropertiesReference element. Prescription level: mandatory Tag: XAdES baseline signatures.
|
bd563035a50afe21248e3fe615812d70
|
119 134-4
|
5.2.2.2 Testing xades:QualifyingProperties
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.