hash
stringlengths 32
32
| doc_id
stringlengths 7
13
| section
stringlengths 3
121
| content
stringlengths 0
3.82M
|
---|---|---|---|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.4 Resource Type <mefClientReg>
| |
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.4.1 Introduction
|
A <mefClientReg> resource shall represent a MEF Client enrolled with the MEF on behalf of an M2M Service Provider or M2M Trust Enabler. A <mefClientReg> resource shall be a child resource of the MEF's <MEFBase> resource. ETSI MAF and MEF Interface Specification 26 oneM2M TS-0032 version 4.0.1 Release 4 Table 8.4.1-1: Data Type Definition of <mefClientReg> Data Type ID File Name Note mefClientReg SEC-mefClientReg-v2_1_0.xsd Table 8.4.1-2: Universal/Common Attributes of <mefClientReg> resource Attribute Name Request Optionality Create Update @resourceName NP NP resourceType NP NP resourceID NP NP parentID NP NP creationTime NP NP labels O O expirationTime M M creator NP NP Table 8.4.1-3: Resource Specific Attributes of <mefClientReg> resource Attribute Name Request Optionality Data Type Default Value and Constraints Create Update adminFQDN M NP xs:anyURI No default assignedSymmKeyID NP NP sec:credentialID No default sourceIDs O NP List of m2m:ID No default Table 8.4.1-4: Child resources of <mefClientReg> resource Child Resource Type Child Resource Name Multiplicity Ref. to Resource Type Definition <mefClientCmd> "cmd" 1 Clause 7.7
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.4.2 <mefClientReg> resource specific procedures on CRUD operations
| |
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.4.2.1 Create
|
This procedure is denoted MEF Client Registration in clause 8.3.5.2.3 of ETSI TS 118 103 [2]. The To parameter of the <mefClientReg> create request primitive includes the MEF-FQDN and the character "–" (dash) as a shorthand notation for the name of the <MEFBase> resource: //{MEF-FQDN}/–/ EXAMPLE: //mef123.mefprovider.org/–/ The MEF-FQDN represents a globally unique identifier of a MEF (aka. MEF ID). The From parameter of the <mefClientReg> create request primitive shall be left empty if the MEF client does not have a MEF Client ID assigned yet. If the MEF client interfaces with the MEF on behalf of the node (see clause 5.2.1), the Node-ID of the respective ADN, ASN, MN or IN shall serve as MEF Client ID. Originator: No change from the generic procedures in clause 7.2.2.1 of ETSI TS 118 104 [3] with clarifications discussed in clauses 5.2.2 and 6.3, and with following differences: In step Orig-6.0: "Process Response primitive", if the Originator used a symmetric key to authenticate to the MEF, and the <mefClientReg> resource in the response contained an assignedSymmKeyID then the originator shall use the assignedSymmKeyID to identify this symmetric key when it is subsequently used in authenticating to the MEF. ETSI MAF and MEF Interface Specification 27 oneM2M TS-0032 version 4.0.1 Release 4 Receiver: Same as the generic procedures in clause 7.2.2.2 of ETSI TS 118 104 [3] with clarifications discussed in clauses 5.2.2 and 6.3, and with following differences: The Receiver shall perform the following steps in order in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized to register with the administrating stakeholder (M2M SP or MTE) identified by fqdn attribute. The present document does not specify how the Receiver makes this determination: a) If the Originator is not authorized, then the Receiver shall execute the following steps in order: i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request. The Receiver shall perform the following steps in order as part of "Create the resource" (clause 7.3.3.5 of [3] ) during Step Recv-6.5: "Create/Update/Retrieve/Delete/Notify operation is performed": 2) If the Originator authenticated using symmetric key with a key identifier which does not use the Receiver's FQDN, then: a) The Receiver shall assign a symmetric key identifier with the Receiver's FQDN and with relative part which is unique within the scope of symmetric key identifiers issued by the Receiver. The Receiver shall associate this symmetric key identifier with the symmetric key used for authenticating the Originator. b) The Receiver shall set the assignedSymmKeyID attribute to be the Credential-ID formed from the assigned symmetric key identifier as specified in clause 10.4 of [2]. 3) If the Originator authenticated using a symmetric key with a key identifier which does not use the Receiver's FQDN, or if the Originator authenticated using a certificate, then the Receiver shall not include an assignedSymmKeyID attribute in the created resource. 4) The Receiver shall assign the creator attribute to an AE-ID or CSE-ID or Node-ID on instructions from the administrating stakeholder. The present document does not specify any details of how the AE-ID or CSE-ID or Node-ID is determined. 5) The Receiver shall instantiate the <mefClientCmd> child resource.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.4.2.2 Retrieve
|
This procedure is denoted MEF Client Configuration Retrieval in clause 8.3.5.2.4 of ETSI TS 118 103 [2]. This procedure is used to retrieve the <mefClientReg> resource. Originator: No change from the generic procedures in clause 7.2.2.1 of [3] with clarifications discussed in clauses 5.2.2 and 6.3. Receiver: Same as the generic procedures in clause 7.2.2.2 of [3] with clarifications discussed in clauses 5.2.2 and 6.3, performing the following steps in order in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized by checking if the Originator is the creator of the resource: a) If the Originator is not authorized, then the Receiver shall execute the following steps in order: i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ETSI MAF and MEF Interface Specification 28 oneM2M TS-0032 version 4.0.1 Release 4 ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.4.2.3 Update
|
This procedure is denoted MEF Client Configuration Update in clause 8.3.5.2.5 of ETSI TS 118 103 [2]. This procedure is used to update attributes of the <mefClientReg> resource, such as e.g. labels, expiration time. Originator: The <mefClientReg> resource shall not be updated by a MEF client via API. Receiver: Same as the generic procedures in clause 7.2.2.2 of [3] with clarifications discussed in clauses 5.2.2 and 6.3, and with the following differences: The Receiver shall perform the following step in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized by checking if the Originator is the creator of the resource: a) If the Originator is not authorized, then the Receiver shall execute the following steps in order: i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request. The Receiver shall perform the following step as part of "Update the resource" (clause 7.3.3.7 of ETSI TS 118 104 [3])" during Step Recv-6.5: "Create/Update/Retrieve/Delete/Notify operation is performed": 2) If the Originator was the Creator of the resource, then the Receiver shall perform steps 2 and 3 in clause 8.4.2.1.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.4.2.4 Delete
|
This procedure is denoted MEF Client De-Registration in clause 8.3.5.2.6 of ETSI TS 118 103 [2]. This procedure enables the MEF client to delete its own <mefClientReg> resource on a MEF. Originator: No change from the generic procedures in clause 7.2.2.1 of [3] with clarifications discussed in clauses 5.2.2 and 6.3. Receiver: Same as the generic procedures in clause 7.2.2.2 of ETSI TS 118 104 [3] with clarifications discussed in clauses 5.2.2 and 6.3, performing the following step in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized by checking if the Originator is the creator of the resource: a) If the Originator is not authorized, then the Receiver shall execute the following steps in order: i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request. ETSI MAF and MEF Interface Specification 29 oneM2M TS-0032 version 4.0.1 Release 4
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.5 Resource Type <symmKeyReg>
| |
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.5.1 Introduction
|
A <symmKeyReg> resource shall represent a symmetric key registered with a MAF or MEF and administrated by the identified administrating stakeholder. A <symmKeyReg> resource shall be a child resource of a <MAFBase> or a <MEFBase> resource. Table 8.5.1-1: Data Type Definition of <symmKeyReg> Data Type ID File Name Note symmKeyReg SEC- symmKeyReg-v2_1_0.xsd Table 8.5.1-2: Universal/Common Attributes of <symmKeyReg> resource Attribute Name Request Optionality Create Update @resourceName NP NP resourceType NP NP resourceID NP NP parentID NP NP creationTime NP NP labels O O creator NP NP expirationTime M M Table 8.5.1-3: Resource Specific Attributes of <symmKeyReg> resource Attribute Name Request Optionality Data Type Default Value and Constraints Create Update adminFQDN M NP xs:anyURI No default SUID M NP m2m:suid No default targetIDs O O m2m:listOfM2MID No default keyValue O NP xs:hexBinary No default The <symmKeyReg> resource shall contain no child resources.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.5.2 <symmKeyReg> resource specific procedures on CRUD operations
| |
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.5.2.1 Create
|
This procedure is denoted MAF Key Registration in clause 8.8.2.7 of ETSI TS 118 103 [2] and MEF Key Registration in clause 8.3.5.2.7 of ETSI TS 118 103 [2]. This procedure enables a Source MAF Client or a Source MEF Client to establish a symmetric key with the MAF or MEF, respectively, which can be retrieved for use by one or more Target MAF Clients or Target MEF Clients. Originator: No change from the generic procedures in clause 7.2.2.1 of ETSI TS 118 104 [3] with clarifications discussed in clauses 5.1.2 and 6.2 for Mmaf and in clauses 5.2.2 and 6.3 for Mmef, respectively, and with following differences: In step Orig-1.0: "Compose of a Request primitive", the: 1) Originator shall select to either use a key derived from the TLS handshake or use another key provided by the Originator: a) If the Originator selects to use a key derived from the TLS handshake, then the Originator shall not include the keyValue attribute in the <symmKeyReg> resource of the request. ETSI MAF and MEF Interface Specification 30 oneM2M TS-0032 version 4.0.1 Release 4 b) If the Originator selects to provide a key other than a key derived from the TLS handshake, the Originator shall include the value of this key in the keyValue attribute in the <symmKeyReg> resource of the request. In step Orig-6.0: "Process Response primitive", the following steps shall be performed: 2) If the Originator selected to use a key derived from the TLS handshake (see difference to step Orig-1.0 above), then the Originator shall perform the following steps in order to generate the value for the keyValue attribute: a) The Originator shall apply the TLS export mechanism described in clause 10.3.1 of ETSI TS 118 103 [2] to generate a TLS-export-key. For MAF Key Registration the "TLS Key Export Details for M2M Secure Connection Key", for MEF Key Registration the "TLS Key Export Details for Enrolment Key" apply, respectively. b) The Originator shall apply the usage-constrained key derivation algorithm in clause 10.3.7 of ETSI TS 118 103 [2] to derive the keyValue from TLS-export-key, adminFQDN, SUID and the resourceName assigned by the Receiver to the created resource. 3) The originator shall record the resourceName attribute of the created resource as the relative part of the key identifier for the symmetric key which is to be assigned to the value for the keyValue attribute. Receiver: Same as the generic procedures in clause 7.2.2.2 of [3] with clarifications discussed in clauses 5.2 and 6, and with following differences: The Receiver shall perform the following steps in order in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall ensure that the following criteria are satisfied, with administrating stakeholder being the stakeholder matching the adminFQDN attribute of the <symmKeyReg> resource in the Create request: a) The Originator is enrolled with the administrating stakeholder; that is, there is a non-expired <mafClientReg> resource whose creator attribute matches the Originator's AE-ID or CSE-ID or Node- ID, and whose adminFQDN attribute identifies the administrating stakeholder. b) The Receiver determines that the administrating stakeholder allows the creation of the resource. The present document does not specify how the Receiver makes this determination. 2) If these criteria are not met, then the Receiver shall execute the following steps in order: a) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. b) "Send the Response primitive". 3) Otherwise, then the Receiver shall allow the request. The Receiver shall perform the following steps in order as part of "Create the resource" (clause 7.3.3.5 of ETSI TS 118 104 [3])" during Step Recv-6.5: "Create/Update/Retrieve/Delete/Notify operation is performed": 4) If the keyValue attribute is not present in the <symmKeyReg> resource in the request, then the Receiver shall perform the following step to generate the value for the keyValue attribute: a) The Receiver shall apply the TLS export mechanism described in clause 10.3.1 of ETSI TS 118 103 [2] to generate a TLS-export-key. b) The Receiver shall apply the usage-constrained key derivation algorithm in clause 10.3.7 of [2] to derive the value for the keyValue attribute from TLS-export-key, adminFQDN, SUID and the resourceName assigned by the Receiver to the created resource. ETSI MAF and MEF Interface Specification 31 oneM2M TS-0032 version 4.0.1 Release 4
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.5.2.2 Retrieve
|
This procedure is denoted MAF Key Retrieval in clause 8.8.2.8 of ETSI TS 118 103 [2] and MEF Key Retrieval in clause 8.3.5.2.8 of ETSI TS 118 103. It enables a Target MAF Client to retrieve the Key Value from a MAF corresponding to a RelativeKeyID available to the Target MAF Client. Originator: No change from the generic procedures in clause 7.2.2.1 of ETSI TS 118 104 [3] with clarifications discussed in clauses 5.1.2 and 6.2 for Mmaf and in clauses 5.2.2 and 6.3 for Mmef, respectively. Receiver: Same as the generic procedures in clause 7.2.2.2 of [3] with clarifications discussed in clauses 5.2 and 6, and with following differences: The Receiver shall perform the following step in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized by checking if the Originator is the creator of the resource or the Originator is identified in the targetIDs: a) If the Originator is not authorized, then the Receiver shall execute the following steps in order: i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.5.2.3 Update
|
This procedure is denoted MAF Key Registration Update in clause 8.8.2.9 of ETSI TS 118 103 [2] and MEF Key Registration Update in clause 8.3.5.2.9 of ETSI TS 118 103. It enables a Source MAF Client or Source MEF Client to update the metadata associated with a registered key. Originator: No change from the generic procedures in clause 7.2.2.1 of [3] with clarifications discussed in clauses 5.1.2 and 6.2 for Mmaf and in clauses 5.2.2 and 6.3 for Mmef, respectively. Receiver: Same as the generic procedures in clause 7.2.2.2 of [3] with clarifications discussed in clauses 5.2 and 6, and performing the following step in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized by checking if the Originator is the creator of the resource: a) If the Originator is not authorized, then the Receiver shall execute the following steps in order: i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.5.2.4 Delete
|
This procedure is denoted MAF Key De-Registration in clause 8.8.2.10 of ETSI TS 118 103 [2] and MEF Key De- Registration in clause 8.3.5.2.10 of ETSI TS 118 103. It enables a Source MAF Client to request the MAF to stop distributing the registered key. ETSI MAF and MEF Interface Specification 32 oneM2M TS-0032 version 4.0.1 Release 4 Originator: No change from the generic procedures in clause 7.2.2.1 of [3] with clarifications discussed in clause 5.1.2 and 6.2 for Mmaf and in clauses 5.2.2 and 6.3 for Mmef, respectively. Receiver: Same as the generic procedures in clause 7.2.2.2 of [3] with clarifications discussed in clauses 5.2 and 6, and performing the following step in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized by checking if the Originator is the creator of the resource: a) If the Originator is not authorized, then the Receiver shall execute the following steps in order: i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.6 Resource Type <mefClientCmd>
| |
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.6.1 Introduction
|
A <mefClientCmd> resource shall represent a command to be indicated to a MEF client by a MEF, and a status report on the attempted parsing and execution of that command to be indicated to the MEF by a MEF Client. The retrieve procedure and update procedure are used for this purpose. Table 8.6.1-1: Data Type Definition of <mefClientCmd> Data Type ID File Name Note mefClientCmd SEC-mefClientCmd-v2_1_0.xsd Table 8.6.1-2: Universal/Common Attributes of <mefClientCmd> resource Attribute Name Request Optionality Update @resourceName NP resourceType NP resourceID NP parentID NP creationTime NP labels O expirationTime NP Table 8.6.1-3: Resource Specific Attributes of <mefClientCmd> resource Attribute Name Request Optionality Data Type Default Value and Constraints Update cmdID M m2m:requestID No default cmdDescription NP sec:cmdDescription No default cmdStatusCode M sec:cmdStatusCode No default The <mefClientCmd> resource shall contain no child resources. ETSI MAF and MEF Interface Specification 33 oneM2M TS-0032 version 4.0.1 Release 4
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.6.2 <mefClientCmd> resource specific procedures on CRUD operations
| |
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.6.2.1 Create
|
Originator: The <mefClientCmd> resource shall not be created via API. It is instantiated by a MEF when the parent <mefClientReg> resource is created as described in clause 8.4.2.1. Receiver: The primitive specific operation on Recv-1.0 "Check the syntax of received message" defined in ETSI TS 118 104 [3] applies: 2) If the request is received, the Receiver CSE shall execute the following steps in order. a) "Create an unsuccessful Response primitive" with the Response Status Code indicating "OPERATION_NOT_ALLOWED" error. b) "Send the Response primitive".
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.6.2.2 Retrieve
|
This procedure is denoted MEF Client Command Retrieval in clause 8.3.9.2 of ETSI TS 118 103 [2]. This procedure is used to retrieve the <mefClientCmd> resource. Originator: No change from the generic procedures in clause 7.2.2.1 of [3] with clarifications discussed in clauses 5.2.2 and 6.3, and with following difference: In step Orig-6.0: "Process Response primitive", the Originator shall extract the cmdID, cmdDescription and cmdStatusCode from the response and pass these to the MEF Client Command processing as specified in clause 8.3.9.2 in ETSI TS 118 103 [2]. Receiver: Same as the generic procedures in clause 7.2.2.2 of [3] with clarifications discussed in clauses 5.2.2 and 6.3, and with following differences: The Receiver shall perform the following in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized by checking if the Originator is the creator of the parent <mefClientReg> resource. a) If the Originator is not authorized, then the Receiver shall execute the following steps in order. i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request. The Receiver shall perform the following step as part of "Create the resource" (clause 7.3.3.5 of [2]) during Step Recv- 6.5: "Create/Update/Retrieve/Delete/Notify operation is performed": 1) If the Receiver has a pending MEF Client Command to be issued to the Originator, then the Receiver shall set the cmdID, cmdDescription and cmdStatusCode attributes as specified in clause 8.3.9.2 of ETSI TS 118 103 [2]. The values of these attributes should remain set to these values until the MEF Client performs an Update on the Resource (see clause 8.6.2.3). If the MEF Client takes too long to perform an Update (for example, if the Response is not received by the Originator) then the MEF may choose to replace the attributes with a new MEF Client Command. ETSI MAF and MEF Interface Specification 34 oneM2M TS-0032 version 4.0.1 Release 4 NOTE: The cmdDescription includes the cmdClass attribute which can be set to "NO_MORE_COMMANDS" by the MEF to indicate that there are no further commands to be issued.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.6.2.3 Update
|
This procedure is denoted MEF Client Command Update in clause 8.3.9.3 of ETSI TS 118 103 [2]. This procedure is used by the MEF Client to report on the status of an issued MEF Client Command, and for an MEF to issue another MEF Client Command. Originator: No change from the generic procedures in clause 7.2.2.1 of [3] with clarifications discussed in clauses 5.2.2 and 6.3, and with following differences: In step Orig-1.0: "Compose of a Request primitive", the Originator shall include the cmdID and cmdStatusCode attributes in the Content of the request, with attribute values assigned as described in clause 8.3.9.3 of ETSI TS 118 103 [2]. In step Orig-6.0: "Process Response primitive", the Originator shall extract the cmdID, cmdDescription and cmdStatusCode attributes from the response and pass these to the MEF Client Command processing specified in clause 8.3.9.3 in ETSI TS 118 103 [2]. Receiver: Same as the generic procedures in clause 7.2.2.2 of [3] with clarifications discussed in clauses 5.2.2 and 6.3, and with the following differences: The Receiver shall perform the following step in the place of Recv-6.3: "Check authorization of the Originator": 1) The Receiver shall determine if the Originator is authorized by checking if the Originator is the creator of the parent <mefClientReg> resource. a) If the Originator is not authorized, then the Receiver shall execute the following steps in order. i) "Create an unsuccessful Response primitive" with the Response Status Code indicating "ACCESS_DENIED" error. ii) "Send the Response primitive". b) If the Originator is authorized, then the Receiver shall allow the request. The Receiver shall perform the following steps in order as part of "Update the resource" (clause 7.3.3.7) during Step Recv-6.5: "Create/Update/Retrieve/Delete/Notify operation is performed": 1) The Receiver shall extract the cmdID and cmdStatusCode attributes and pass these to the MEF Client Command processing in the MEF described in clause 8.3.9.3 of ETSI TS 118 103 [2]. 2) If the Receiver has a pending MEF Client Command to be issued to the Originator, then the Receiver shall set the cmdID, cmdDescription and cmdStatusCode attributes as specified in clause 8.3.9.3 of ETSI TS 118 103 [2]. The values of these attributes should remain set to these values until the MEF Client performs a subsequent Update on the Resource. If the MEF Client takes too long to perform an Update (for example, if the Response is not received by the Originator) then the MEF may choose to replace the attributes with a new MEF Client Command. NOTE: The cmdDescription includes the cmdClass attribute which can be set to "NO_MORE_COMMANDS" to indicate that there are no further commands to be issued.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
8.6.2.4 Delete
|
Originator: The <mefClientCmd> resource shall not be deleted via API. It is deleted by a MEF when the parent <mefClientReg> resource is deleted. ETSI MAF and MEF Interface Specification 35 oneM2M TS-0032 version 4.0.1 Release 4 Receiver: The primitive specific operation on Recv-1.0 "Check the syntax of received message" defined in ETSI TS 118 104 [3] applies: 1) If the request is received, the Receiver CSE shall execute the following steps in order. a) "Create an unsuccessful Response primitive" with the Response Status Code indicating "OPERATION_NOT_ALLOWED" error. b) "Send the Response primitive".
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
9 Short Names
| |
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
9.1 Introduction
|
The short names are introduced in clause 8.2.1 of ETSI TS 118 104 [3]. The short names in ETSI TS 118 104 [3] shall apply in addition to the short names defined here.
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
9.2 Security-specific oneM2M Resource attributes
|
In protocol bindings resource attributes names shall be translated into short names of table 9.2-1 and in table 8.2.3-1 of ETSI TS 118 104 [3]. Table 9.2-1: Security-specific oneM2M Attribute Short Names Attribute Name Occurs in Short Name Notes resourceType All ty* Defined in ETSI TS 118 104 [3]. resourceID All ri* Defined in ETSI TS 118 104 [3]. resourceName All rn* Defined in ETSI TS 118 104 [3]. parentID mafClientReg, mefClientReg, symmKeyReg pi* Defined in ETSI TS 118 104 [3]. expirationTime All et* Defined in ETSI TS 118 104 [3]. creationTime All ct* Defined in ETSI TS 118 104 [3]. labels mafClientReg, mefClientReg, symmKeyReg lbl* Defined in ETSI TS 118 104 [3]. creator mafClientReg, mefClientReg, symmKeyReg cr* Defined in ETSI TS 118 104 [3]. adminFQDN mafClientReg, mefClientReg, symmKeyReg adfq SUID symmKeyReg suid assignedSymmKeyID mafClientReg, mefClientReg aski targetIDs symmKeyReg tgis keyValue symmKeyReg kv cmdID mefClientCmd mcci cmdDescription mefClientCmd mccd cmdStatusCode mefClientCmd mccs NOTE: Marked short names have been already assigned for primitive parameters or resource attributes in ETSI TS 118 104 [3].
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
9.3 Security-specific oneM2M Resource types
|
In protocol bindings resource type names shall be translated into short names of table 9.3-1. ETSI MAF and MEF Interface Specification 36 oneM2M TS-0032 version 4.0.1 Release 4 Table 9.3-1: Security-specific Resource Type Short Names Attribute Name Short Name MAFBase maf MEFBase mef mafClientReg macr mefClientReg mecr symmKeyReg mkr mefClientCmd mcc
|
f79ebc546ee99cff801e6f7eb4386a8e
|
118 132
|
9.4 Security-specific oneM2M Complex data type members
|
In protocol bindings complex data types member names shall be translated into short names of table 9.4-1. NOTE: The member names of the security configuration parameters mefClientRegCfg, mafClientRegCfg, mefKeyRegCfg and mafKeyRegCfg are defined in clause 12.4 of ETSI TS 118 103 [3]. Table 9.4-1: Security-specific oneM2M Complex data type member short names Member Name Occurs in Short Name Notes expirationTime mefClientRegCfg, mefKeyRegCfg, mafClientRegCfg, mafKeyRegCfg et* Defined in ETSI TS 118 104 [3] labels mefClientRegCfg, mefKeyRegCfg, mafClientRegCfg, mafKeyRegCfg lbl* Defined in ETSI TS 118 104 [3] fqdn mefClientRegCfg, mefKeyRegCfg mafClientRegCfg, mafKeyRegCfg fq adminFQDN mefClientRegCfg, mafClientRegCfg adfq* httpPort mefClientRegCfg, mafClientRegCfg hpt coapPort mefClientRegCfg, mafClientRegCfg cpt websocketPort mefClientRegCfg, mafClientRegCfg wpt ppsk mefClientRegCfg, mafClientRegCfg pk rpsk mefClientRegCfg, mafClientRegCfg rk certAuth mefClientRegCfg, mafClientRegCfg cert credID mefClientRegCfg, mafClientRegCfg crdi caCerts mefClientRegCfg, mafClientRegCfg cact SUID mefKeyRegCfg, mafClientRegCfg, authProfileMONodeArgs suid* targetIDs mefKeyRegCfg, mafClientRegCfg tgis targetID cmdDescription tgi cmdClassID cmdDescription ccid cmdArgs cmdDescription cma certProvProtocolID certProvCmdArgs cppi URI certProvCmdArgs uri* certSubjectType certProvCmdArgs cst certSubjectID certProvCmdArgs csi deviceConfigURI devCfgCmdArgs dcu objectPath MONodeCmdArgs ajop* ETSI MAF and MEF Interface Specification 37 oneM2M TS-0032 version 4.0.1 Release 4 Member Name Occurs in Short Name Notes objectTypeID MONodeCmdArgs otyp objectTypeSpecificArgs MONodeCmdArgs otsa retryDuration noMoreCmdArgs rdu noMoreCmdArgs cmdArgs nmca certProvCmdArgs cmdArgs cpca devCfgCmdArgs cmdArgs dcca MONodeCmdArgs cmdArgs nnca NOTE: * marked short names have been already assigned to an attribute in table 9.2-1. ETSI MAF and MEF Interface Specification 38 oneM2M TS-0032 version 4.0.1 Release 4 History Document history V4.0.1 August 2023 Publication
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
1 Scope
|
The present document defines a number of test suites to assess the interoperability between implementations claiming conformance to extended XAdES signatures as specified in ETSI EN 319 132-2 [2]. The present document defines test suites for each level defined in ETSI EN 319 132-2 [2]. Test suites also cover augmentation of extended XAdES signatures and negative test cases. These test suites are agnostic of the PKI infrastructure. Any PKI infrastructure can be used including the one based on EU Member States Trusted Lists.
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
2 References
| |
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
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] ETSI TS 119 134-2: "Electronic Signatures and Infrastructures (ESI); XAdES digital signature - Testing Conformance and Interoperability; Part 2: Test suites for testing Interoperability of XAdES baseline signatures".
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
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] ETSI TR 119 134-1: "Electronic Signatures and Infrastructures (ESI); XAdES digital signatures - Testing Conformance and Interoperability; Part 1: Introduction". [i.2] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); The framework for standardization of signatures; Definitions and abbreviations". [i.3] ETSI TR 119 000: "Electronic Signatures and Infrastructures (ESI); The framework for standardization of signatures: overview". ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 6 [i.4] ETSI EN 319 102-1: "Electronic Signatures and Infrastructures (ESI); Procedures for Creation and Validation of AdES Digital Signatures; Part 1: Creation and Validation".
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
3 Definitions, symbols and abbreviations
| |
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
3.1 Definitions
|
For the purposes of the present document, the terms and definitions given in ETSI TR 119 001 [i.2] and the following apply: negative test case: test case either for a signature that is not an extended XAdES signature, or for a signature whose validation according to ETSI EN 319 102-1 [i.4] would not result in TOTAL_PASSED
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
3.2 Abbreviations
|
For the purposes of the present document, the abbreviations given in ETSI TR 119 001 [i.2] and the following apply: CA Certification Authority CRL Certificate Revocation List OCSP Online Certificate Status Provider TSA Time-Stamping Authority
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
4 Overview
|
This clause describes the overall approach used throughout the present document to specify test suites for extended XAdES signatures as specified in ETSI EN 319 132-2 [2]. ETSI EN 319 132-2 [2] defines eight different levels of extended XAdES signatures. The test suites are defined with different layers reflecting the levels of XAdES signatures specified in ETSI EN 319 132-2 [2]. Below follows an overview. The test suites for testing interoperability of extended XAdES signatures include: • XAdES-E-BES signatures test cases; • XAdES-E-EPES signatures test cases; • XAdES-E-T signatures test cases; • XAdES-E-C test cases; • XAdES-E-X test cases; • XAdES-E-X Long test cases; and • XAdES-E-A signatures. The test suites including negative test cases for extended XAdES signatures include: • Negative test cases for XAdES-E-BES signatures; • Negative test cases for XAdES-E-EPES signatures; • Negative test cases for XAdES-E-T signatures; and • Negative test cases for XAdES-E-A signatures. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 7 The test suites for testing augmentation of extended XAdES signatures include: • Augmentation to XAdES-E-C signatures; • Augmentation to XAdES-E-X signatures; • Augmentation to XAdES-E-XL signatures; and • Augmentation to XAdES-E-A signatures. Certain XAdES extended signatures are also XAdES baseline signatures. In consequence, the present document defines test suites for testing interoperability of extended XAdES signatures that include certain test cases already defined in ETSI TS 119 134-2 [3]. Table 1 shows the prefixes used throughout the present document 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 5 Test suites for testing interoperability of extended XAdES signatures
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
5.1 Introduction
|
Clause 5 presents a test suite for testing interoperability of extended XAdES signatures as specified in in ETSI EN 319 132-2 [2].
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
5.2 Testing interoperability of XAdES-E-BES signatures
|
This clause presents a test suite for testing interoperability of XAdES-E-BES signatures as specified in in ETSI EN 319 132-2 [2]. The test suite for testing interoperability XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in ETSI TS 119 134-2 [3], clause 5, Table 2 and the test cases defined in Table 2. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 8 Table 2: Test cases for XAdES-E-BES not covered in ETSI TS 119 134-2 [3] clause 5 TC ID Description Pass criteria Signature qualifying properties XAdES/EBES/1 XAdES-E-BES signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:QualifyingProperties container. NOTE: This test case allows testing how applications process XAdES-E- BES signatures that do not incorporate the xades:SigningCertificateV2. Positive validation. • No xades:QualifyingProperties • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature XAdES/EBES/2 XAdES-E-BES signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates the xades:SigningCertificateV2 qualifying property. Positive validation. • xades:SigningCertificateV2 XAdES/EBES/3 XAdES-E-BES signature signing two data objects, the xades:SignedProperties container, and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:SigningCertificateV2 qualifying property. Incorporates the xades:SigningTime qualifying property. Incorporates one xades:DataObjectFormat for one of the signed data objects. Incorporates one xades:CommitmentTypeIndication qualifying property expressing a commitment for one of the signed data objects. Incorporates one xades:SignatureProductionPlaceV2 qualifying property. Incorporates one X509 Attribute certificate and one signed assertion within the xades:SignerRoleV2 qualifying property. Incorporates the xades:SignatureProductionPlaceV2 qualifying property. Incorporates one xades:CounterSignature qualifying property. Incorporates one xades:IndividualDataTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1] generated by a TSA that is within the same hierarchy as the signing certificate of the signature. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SigningTime • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 (with one xades:SignedAssertion element and with one CertifiedRole/X509AttributeCertificate • xades:CounterSignature • xades:IndividualDataObjectTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 9 5.3 Test-suite for testing interoperability of XAdES-E-EPES signatures This clause defines one test suite for testing interoperability of XAdES-E-EPES signatures. The test suite for testing interoperability XAdES-E-EPES signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in ETSI TS 119 134-2 [3], clause 5, Table 3 and the test cases defined in Table 3. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 10 Table 3: Test cases for XAdES-E-EPES signatures not covered in ETSI TS 119 134-2 [3] clause 5 TC ID Description Pass criteria Signature qualifying properties XAdES/EEPES/1 XAdES-E-EPES signature signing one data object (a text file), the ds:KeyInfo element, which includes the signing certificate of the signature, and the xades:SignedProperties container. The signature does not incorporate the xades:SigningCertificateV2 qualifying property. Incorporates one xades:SignaturePolicyIdentifier qualifying property containing a xades:SignaturePolicyHash element and the following qualifiers: xades:SPURI, and xades:UserNotice. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignaturePolicyIdentifier (with xades:SignaturePolicyHash element and xades:SPURI and xades:UserNotice qualifiers) XAdES/EEPES/2 XAdES-E-EPES signature signing one data object (a text file), the ds:KeyInfo element, which includes the signing certificate of the signature, and the xades:SignedProperties container. The signature does not incorporate the xades:SigningCertificateV2 qualifying property. Incorporates one xades:SignaturePolicyIdentifier qualifying property containing a xades:SignaturePolicyHash element and the following qualifiers: xades:SPURI, and xadesv141:SPDocSpecification. This last qualifier specifies how to compute the digest value of the signature policy document. NOTE: At the time the present document was produced no technical specification within ETSI TR 119 000 [i.3] was available specifying a syntax for defining a signature policy. The test case is nevertheless incorporated in order it can be used when such specification(s) are produced. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignaturePolicyIdentifier (with xades:SignaturePolicyHash element and xades:SPURI and xadesv141:SPDocSpecification qualifiers) XAdES/EEPES/3 XAdES-E-EPES signature signing one data object (a text file), the ds:KeyInfo element, which includes the signing certificate of the signature, and the xades:SignedProperties container. The signature does not incorporate the xades:SigningCertificateV2 qualifying property. Incorporates one xades:SignaturePolicyIdentifier qualifying property containing a xades:SignaturePolicyHash element and the following qualifiers: xades:SPURI, and xades:UserNotice. Incorporates one xadesv141:SignaturePolicyStore qualifying property containing a xadesv141:SignaturePolicyDocument element. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignaturePolicyIdentifier (with xades:SignaturePolicyHash element and xades:SPURI and xades:UserNotice qualifiers) • xadesv141:SignaturePolicyStore (with xadesv141:SignaturePolicyDocument element) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 11 5.4 Test-suite for testing interoperability of XAdES-E-T signatures This clause defines one test suite for testing interoperability of XAdES-E-T signatures. The test suite for testing interoperability XAdES-E-T signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in ETSI TS 119 134-2 [3], clause 6 and the test cases defined in Table 4. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 12 Table 4: Test cases for XAdES-E-T signatures that are not covered in ETSI TS 119 134-2 [3] clause 6 TC ID Description Pass criteria Signature qualifying properties XAdES/ET/1 XAdES signature as specified in test case XAdES/EBES/1 with the incorporation of a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA that is within the same hierarchy as the signing certificate of the signature. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token) XAdES/ET/2 XAdES-E-T signature signing one data object (text file) and the xades:IndividualDataObjectsTimeStamp container. It incorporates the xades:SigningCertificateV2 qualifying property. It incorporates a xades:SignatureTimeStamp qualifying property encapsulating TWO time-stamp tokens. One of them is generated by a TSA1 that is within the same hierarchy as the signing certificate of the signature. The other is generated by a TSA2 that is not within the hierarchy of the signing certificate of the signature. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (with two time-stamp tokens generated by TSA1 and TSA2) XAdES/ET/3 XAdES signature as specified in test case XAdES/EBES/1 with the incorporations mentioned below. Incorporates one xades:IndividualDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1]. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token. The two time-stamps are generated by the same TSA that is within the same hierarchy as the signing certificate of the signature. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:IndividualDataObjectsTimeStamp • xades:SignatureTimeStamp (encapsulating one time-stamp token) XAdES/ET/4 XAdES signature as specified in test case XAdES/EBES/1 with the incorporations mentioned below. Incorporates two xades:SignatureTimeStamp qualifying properties, each one encapsulating one time-stamp token generated by different TSAs. These TSAs are within different trust hierarchies. NOTE: This will allow to define test cases for having different xadesv141:TimeStampValidationData qualifying properties associated to different xades:SignatureTimeStamp qualifying properties Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token generated by one TSA1) • xades:SignatureTimeStamp (encapsulating one time-stamp token generated by a TSA2 different from the previous one, within a different trust hierarchy) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 13 TC ID Description Pass criteria Signature qualifying properties XAdES/ET/5 XAdES signature as specified in test case XAdES/EBES/3 with the incorporations mentioned below. Incorporates one xades:SignatureTimeStamp qualifying propertiy encapsulating one time-stamp token generated by a TSA that is within the same hierarchy as the signing certificate of the signature. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SigningTime • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 (with one xades:SignedAssertion element and with one CertifiedRole/X509AttributeCertificate • xades:CounterSignature • xades:IndividualDataObjectTimeStamp • xades:SignatureTimeStamp (encapsulating one time-stamp token) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 14 5.5 Test-suite for testing interoperability of XAdES-E-C signatures This clause defines one test suite for testing interoperability of XAdES-E-C signatures. The test suite for testing interoperability XAdES-E-C signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in Table 5. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 15 Table 5: Test cases for XAdES-E-C signatures TC ID Description Pass criteria Signature qualifying properties XAdES/EC/1 XAdES-E-C signature signing one data object (a text file) and the xades:SignedProperties container. It incorporates the xades:SigningCertificateV2 qualifying property. It incorporates the xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA that is within the same hierarchy as the signing certificate of the signature. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefs qualifying property, containing references to CRLs. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to CRLs) XAdES/EC/2 XAdES-E-C signature signing one data object (a text file) and the xades:SignedProperties container. It incorporates the xades:SigningCertificateV2 qualifying property. It incorporates the xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA that is within the same hierarchy as the signing certificate of the signature. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefs qualifying property, containing references to OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) XAdES/EC/3 XAdES-E-C signature signing one data object (a text file) and the xades:SignedProperties container. It incorporates one X509 Attribute certificate and one signed assertion within the xades:SignerRoleV2 qualifying property. It incorporates the xades:SigningCertificateV2 qualifying property. It incorporates the xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA that is within the same hierarchy as the signing certificate of the signature. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xadesv141:AttributeCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefs qualifying property, containing references to CRLs. It incorporates the xades:AttributeRevocationRefs qualifying property, containing references to CRLs. Positive validation • xades:SigningCertificateV2 • xades:SignerRoleV2 with one CertifiedRole/X509AttributeCertificate • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to CRLs) • xades:AttributeRevocationRefs (with references to CRLs) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 16 TC ID Description Pass criteria Signature qualifying properties XAdES/EC/4 XAdES-E-C signature signing one data object (a text file) and the xades:SignedProperties container. Incorporates one X509 Attribute certificate and one signed assertion within the xades:SignerRoleV2 qualifying property. It incorporates the xades:SigningCertificateV2 qualifying property. It incorporates the xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA that is within the same hierarchy as the signing certificate of the signature. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xadesv141:AttributeCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefs qualifying property, containing references to OCSP responses. It incorporates the xades:AttributeRevocationRefs qualifying property, containing references to OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SignerRoleV2 with one CertifiedRole/X509AttributeCertificate • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xades:AttributeRevocationRefs (with references to OCSP responses) XAdES/EC/5 XAdES-E-C signature signing two data objects and the xades:SignedProperties container. Incorporates one xades:DataObjectFormat qualifying properties on one of the signed data objects. Incorporates one xades:CommitmentTypeIndication qualifying property expressing a commitment for one of the signed data objects. Incorporates one xades:SignatureProductionPlaceV2 qualifying property. Incorporates one X509 Attribute certificate within the xades:SignerRoleV2 qualifying property. Incorporates one xades:CounterSignature qualifying property. Incorporates one xades:IndividualDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1] generated by a TSA1 that is within the same hierarchy as the signing certificate of the signature. Incorporates one xades:SignatureTimeStamp qualifying propertiy encapsulating one time-stamp token generated by TSA1. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xadesv141:AttributeCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefs qualifying property, containing references to OCSP responses. It incorporates the xades:AttributeRevocationRefs qualifying property, containing references to OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 (with one CertifiedRole/X509AttributeCertificate • xades:CounterSignature • xades:IndividualDataObjectTimeStamp (generated by a TSA1) • xades:SignatureTimeStamp (generated by a TSA1) • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xades:AttributeRevocationRefs (with references to OCSP responses) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 17 5.6 Test-suite for testing interoperability of XAdES-E-X signatures This clause defines one test suite for testing interoperability of XAdES-E-X signatures. The test suite for testing interoperability XAdES-E-X signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in Table 6. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 18 Table 6: Test cases for XAdES-E-X signatures TC ID Description Pass criteria Signature qualifying properties XAdES/EX/1 XAdES-E-C signature as specified in test case XAdES/EC/1 with the incorporations indicated below. It incorporates the xadesv141:RefsOnlyTimeStampV2 qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to CRLs) • xadesv141:RefsOnlyTimeStampV2 XAdES/EX/2 XAdES-E-C signature as specified in test case XAdES/EC/2 with the incorporations indicated below. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • SigAndRefsTimeStampV2 XAdES/EX/3 XAdES-E-C signature as specified in test case XAdES/EC/3 with the incorporations indicated below. It incorporates the xadesv141:RefsOnlyTimeStampV2 qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignerRoleV2 with one CertifiedRole/X509AttributeCertificate • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to CRLs) • xades:AttributeRevocationRefs (with references to CRLs) • xadesv141:RefsOnlyTimeStampV2 XAdES/EX/4 XAdES-E-C signature as specified in test case XAdES/EC/4 with the incorporations indicated below. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignerRoleV2 with one CertifiedRole/X509AttributeCertificate • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xades:AttributeRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 19 TC ID Description Pass criteria Signature qualifying properties XAdES/EX/5 XAdES-E-C signature as specified in test case XAdES/EC/5 with the incorporations indicated below. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 (with one CertifiedRole/X509AttributeCertificate • xades:CounterSignature • xades:IndividualDataObjectTimeStamp (generated by a TSA1) • xades:SignatureTimeStamp (generated by a TSA1) • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xades:AttributeRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 20 5.7 Test-suite for testing interoperability of XAdES-E-X-Long signatures This clause defines one test suite for testing interoperability of XAdES-E-X-Long signatures. The test suite for testing interoperability of XAdES-E-X-Long signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in ETSI TS 119 134-2 [3], clause 7 and the test cases defined in Table 7. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 21 Table 7: Test cases for XAdES-E-X-Long signatures not covered in ETSI TS 119 134-2 [3], clause 7 TC ID Description Pass criteria Signature qualifying properties XAdES/EXLong/1 XAdES-E-X-Long signature signing one data object (text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:SigningCertificateV2 qualifying property. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) XAdES/EXLong/2 XAdES-E-X-Long signature signing two data objects, the xades:SignedProperties container, and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:SigningCertificateV2 qualifying property. Incorporates one X509 Attribute certificate and one signed assertion within the xades:SignerRoleV2 qualifying property. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not present elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs Incorporates a xades:AttrAuthoritiesCertValues qualifying property with certificates required for validating the X509 Attribute certificate not incorporated elsewhere in the signature. Incorporates a xades:AttributeRevocationValues qualifying property containing validation material (CRLs) required for validating the X509 Attribute certificate not incorporated elsewhere in the signature. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignerRoleV2 with one CertifiedRole/X509AttributeCertificate • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues(with CRLs) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 22 TC ID Description Pass criteria Signature qualifying properties XAdES/EXLong/3 XAdES-E-X-Long signature signing two data objects, the xades:SignedProperties container, and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:SigningCertificateV2 qualifying property. Incorporates one xades:SigningTime qualifying property. Incorporates one xades:DataObjectFormat qualifying property associated to one of the signed data objects. Incorporates one xades:IndividualDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1] within a different hierarchy than the signature signing certificate. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by one TSA2 within a different hierarchy than the signature signing certificate and the TSA1. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:IndividualDataObjectsTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SigningTime • xades:DataObjectFormat • xades:IndividualDataObjectsTimeStamp • xadesv141:TimeStampValidationData • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 23 5.8 Test-suite for testing interoperability of XAdES-E-X-L signatures This clause defines one test suite for testing interoperability of XAdES-E-X-L signatures. The test suite for testing interoperability XAdES-E-X-L signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in Table 8. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 24 Table 8: Test cases for XAdES-E-X-L signatures TC ID Description Pass criteria Signature qualifying properties XAdES/EXL/1 XAdES-E-X signature as specified in test case XAdES/EX/1 with the incorporations indicated below. It incorporates the xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to CRLs) • xadesv141:RefsOnlyTimeStampV2 • xades:CertificateValues • xades:RevocationValues XAdES/EXL/2 XAdES-E-X signature as specified in test case XAdES/EX/2 with the incorporations indicated below. It incorporates the xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues XAdES/EXL/3 XAdES-E-X signature as specified in test case XAdES/EX/3 with the incorporations indicated below. It incorporates the xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property. It incorporates the xades:AttrAuthoritiesCertValues qualifying property. It incorporates the xades:AttributeRevocationValues qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to CRLs) • xadesv141:RefsOnlyTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 25 TC ID Description Pass criteria Signature qualifying properties XAdES/EXL/4 XAdES-E-X signature as specified in test case XAdES/EX/4 with the incorporations indicated below. It incorporates the xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property. It incorporates the xades:AttrAuthoritiesCertValues qualifying property. It incorporates the xades:AttributeRevocationValues qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues XAdES/EXL/5 XAdES-E-X signature as specified in test case XAdES/EX/5with the incorporations indicated below. I It incorporates the xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:IndividualDataObjectsTimeStamp and that is not incorporated elsewhere in the signature. t incorporates the xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property. It incorporates the xades:AttrAuthoritiesCertValues qualifying property. It incorporates the xades:AttributeRevocationValues qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 (with one CertifiedRole/X509AttributeCertificate • xades:CounterSignature • xades:IndividualDataObjectTimeStamp (generated by a TSA1) • xadesv141:TimeStampValidationData • xades:SignatureTimeStamp (generated by a TSA1) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xades:AttributeRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 26 5.9 Test-suite for testing interoperability of XAdES-E-A signatures This clause defines one test suite for testing interoperability of XAdES-E-A signatures. The test suite for testing interoperability XAdES-E-A signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in ETSI TS 119 134-2 [3], clause 8 and the test cases defined in Table 9. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 27 Table 9: Test cases for XAdES-E-A signatures not covered in ETSI TS 119 134-2 [3], clause 8 TC ID Description Pass criteria Signature qualifying properties XAdES/EA/1 XAdES-E-X-Long signature as specified in test case XAdES/EXLong/1 with the incorporations listed below. It incorporates the xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:ArchiveTimeStamp XAdES/EA/2 XAdES-E-A signature as specified in test case XAdES/EA/1 with the incorporations listed below. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xadesv141:ArchiveTimeStamp qualifying property and that is not incorporated elsewhere in the signature. The revocation data are CRLs It incorporates the xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Positive validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:ArchiveTimeStamp • xadesv141:TimeStampValidationData • xadesv141:ArchiveTimeStamp XAdES/EA/3 XAdES-E-X-L signature as specified in test case XAdES/EXL/1 with the incorporations listed below. It incorporates the xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to CRLs) • xadesv141:RefsOnlyTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 28 TC ID Description Pass criteria Signature qualifying properties XAdES/EA/4 XAdES-E-X-L signature as specified in test case XAdES/EXL/2 with the incorporations listed below. It incorporates the xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xadesv141:ArchiveTimeStamp XAdES/EA/5 XAdES-E-X-L signature as specified in test case XAdES/EXL/3 with the incorporations listed below. It incorporates the xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to CRLs) • xadesv141:RefsOnlyTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues • xadesv141:ArchiveTimeStamp XAdES/EA/6 XAdES-E-X-L signature as specified in test case XAdES/EXL/4 with the incorporations listed below. It incorporates the xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 29 TC ID Description Pass criteria Signature qualifying properties XAdES/EA/7 XAdES-E-X-L signature as specified in test case XAdES/EXL/5 with the incorporations listed below. It incorporates the xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 (with one CertifiedRole/X509AttributeCertificate • xades:CounterSignature • xades:IndividualDataObjectTimeStamp (generated by a TSA1) • xadesv141:TimeStampValidationData • xades:SignatureTimeStamp (generated by a TSA1) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xades:AttributeRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 30 TC ID Description Pass criteria Signature qualifying properties XAdES/EA/8 XAdES-E-A signature as specified in test case XAdES/EA/6 with the incorporations listed below. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xadesv141:ArchiveTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates a second xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by a TSA2 that is not within the hierarchy of the signing certificate of the signature. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (generated by TSA1) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues • xadesv141:ArchiveTimeStamp (generated by TSA1) • xadesv141:ArchiveTimeStamp (generated by TSA2) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 31 TC ID Description Pass criteria Signature qualifying properties XAdES/EA/9 XAdES-E-A signature as specified in test case XAdES/EA/7with the incorporations listed below. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xadesv141:ArchiveTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates a second xadesv141:ArchiveTimeStamp qualifying property encapsulating a time-stamp token generated by a TSA2 that is not within the hierarchy of the signing certificate of the signature. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 (with one CertifiedRole/X509AttributeCertificate • xades:CounterSignature • xades:IndividualDataObjectTimeStamp (generated by a TSA1) • xadesv141:TimeStampValidationData • xades:SignatureTimeStamp (generated by a TSA1) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xadesv141:AttributeCertificateRefsV2 • xades:CompleteRevocationRefs (with references to OCSP responses) • xades:AttributeRevocationRefs (with references to OCSP responses) • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues • xadesv141:ArchiveTimeStamp (generated by a TSA1) • xadesv141:ArchiveTimeStamp (generated by a TSA2) ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 32 6 Test-suite for augmentation of extended XAdES signatures
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
6.1 Introduction
|
This clause describes the so called augmentation tests cases. For running them a certain signer generates an extended XAdES signature of a certain level. After that a verifier validates the signature and augments it to a higher level by adding a number of unsigned qualifying properties. Finally, a third entity validates the augmented signature.
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
6.2 Augmentation to XAdES-E-C signatures
|
This clause defines a test suite for augmenting XAdES-E-BES and XAdES-E-T signatures to XAdES-E-C signatures. The test suite is formed by the test cases defined in Table 10. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 33 Table 10: Test cases for augmentation to XAdES-E-C signatures TC ID Description Pass criteria Signature qualifying properties XAdES/AUGC/1 Augments XAdES-E-BES signature specified in test case XAdES/EBES/2 with the incorporations listed below. It incorporates the xades:SignatureTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xadesv:CompleteRevocationRefs qualifying property (with OCSP responses). Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses XAdES/AUGC/2 Augments XAdES-E-T signature specified in test case XAdES/ET/2 with the incorporations listed below. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xadesv:CompleteRevocationRefs qualifying property (with OCSP responses). Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 34
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
6.3 Augmentation to XAdES-E-X signatures
|
This clause defines a test suite for augmenting XAdES-E-BES, XAdES-E-T, and XAdES-E-C signatures to XAdES-E- X signatures. The test suite is formed by the test cases defined in Table 11. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 35 Table 11: Test cases for augmentation to XAdES-E-X signatures TC ID Description Pass criteria Signature qualifying properties XAdES/AUGX/1 Augments XAdES-E-BES signature specified in test case XAdES/EBES/2 with the incorporations listed below. It incorporates the xades:SignatureTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefs qualifying property with OCSP responses. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 XAdES/AUGX/2 Augments XAdES-E-T signature specified in test case XAdES/ET/2 with the incorporations listed below. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefsV2 qualifying property with OCSP responses. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 XAdES/AUGX/3 Augments XAdES-E-C signature specified in test case XAdES/EC/2 with the incorporations listed below. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 36
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
6.4 Augmentation to XAdES-E-X-L signatures
|
This clause defines a test suite for augmenting XAdES-E-BES, XAdES-E-T, XAdES-E-C, and XAdES-E-X signatures to XAdES-E-X-L. The test suite is formed by the test cases defined in Table 12. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 37 Table 12: Test cases for augmentation to XAdES-E-X-L signatures TC ID Description Pass criteria Signature qualifying properties XAdES/AUGXL/1 Augments XAdES-E-BES signature specified in test case XAdES/EBES/2 with the incorporations listed below. It incorporates the xades:SignatureTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xades:SignatureTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefs qualifying property with OCSP responses. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property with OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 xades:CertificateValues • xades:RevocationValues XAdES/AUGXL/2 Augments XAdES-E-T signature specified in test case XAdES/ET/2 with the incorporations listed below. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xades:SignatureTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xadesv:CompleteRevocationRefs qualifying property. It incorporates the xadesv:CompleteRevocationRefs qualifying property with OCSP responses. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property with OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 xades:CertificateValues • xades:RevocationValues ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 38 TC ID Description Pass criteria Signature qualifying properties XAdES/AUGXL/3 Augments XAdES-E-C signature specified in test case XAdES/EC/2 with the incorporations listed below. It incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xades:SignatureTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property with OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues XAdES/AUGXL/4 Augments XAdES-E-X signature specified in test case XAdES/EX/2 with the incorporations listed below. It incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xades:SignatureTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property with OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 39
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
6.3 Augmentation to XAdES-E-A signatures
|
This clause defines a test suite for augmenting XAdES-E-BES, XAdES-E-T, XAdES-E-C, XAdES-E-X, and XAdES- E-X-L signatures to XAdES-E-A. The test suite is formed by the test cases defined in Table 13. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 40 Table 13: Test cases for augmentation to XAdES-E-A signatures TC ID Description Pass criteria Signature qualifying properties XAdES/AUGA/1 Augments XAdES-E-BES signature specified in test case XAdES/EBES/2 with the incorporations listed below. It incorporates the xades:SignatureTimeStamp qualifying property encapsulating a time-stamp token generated by the same TSA as the one that generated the time-stamp token encapsulated within the xades:SignatureTimeStamp qualifying property. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xades:SignatureTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xades:CompleteRevocationRefs qualifying property with OCSP responses. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property with OCSP responses. It incorporates the xadesv141:ArchiveTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 xades:CertificateValues • xades:RevocationValues • xadesv141:ArchiveTimeStamp XAdES/AUGA/2 Augments XAdES-E-T signature specified in test case XAdES/ET/2 with the incorporations listed below. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xades:SignatureTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates the xadesv141:CompleteCertificateRefsV2 qualifying property. It incorporates the xadesv:CompleteRevocationRefs qualifying property. It incorporates the xadesv:CompleteRevocationRefs qualifying property with OCSP responses. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property with OCSP responses. It incorporates the xadesv141:ArchiveTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 xades:CertificateValues • xades:RevocationValues • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 41 TC ID Description Pass criteria Signature qualifying properties XAdES/AUGA/3 Augments XAdES-E-C signature specified in test case XAdES/EC/2 with the incorporations listed below. It incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xades:SignatureTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates the xadesv141:SigAndRefsTimeStampV2 qualifying property. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property with OCSP responses. It incorporates the xadesv141:ArchiveTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xadesv141:ArchiveTimeStamp XAdES/AUGA/4 Augments XAdES-E-X signature specified in test case XAdES/EX/2 with the incorporations listed below. It Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xades:SignatureTimeStamp qualifying property and that is not incorporated elsewhere in the signature. It incorporates the xades:CertificateValues qualifying property. It incorporates the xades:RevocationValues qualifying property with OCSP responses. It incorporates the xadesv141:ArchiveTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xadesv141:ArchiveTimeStamp XAdES/AUGA/5 Augments XAdES-E-X-L signature specified in test case XAdES/EXL/2 with the incorporations listed below. It incorporates the xadesv141:ArchiveTimeStamp qualifying property. Positive validation • xades:SigningCertificateV2 • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs with OCSP responses • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 42
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
7 Test suites with negative test cases
| |
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
7.1 Introduction
|
The present clause define a number of negative test cases for extended XAdES signatures. The present clause distinguishes two different types of negative test cases: 1) Test cases leading to valid signatures that nevertheless, are not XAdES signatures. 2) Test cases leading to extended XAdES signatures whose validation according to ETSI EN 319 102-1 [i.4] would not result in TOTAL_PASSED.
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
7.2 Test cases generating non XAdES signatures
|
The test case XAdES/NB/4 defined in ETSI TS 119 134-2 [3] clause 10.2 generates a XML signature that is not a XAdES signature.
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
7.3 Test cases for XAdES-E-BES signatures
|
This clause defines a test suite of negative test cases for XAdES-E-BES signatures. The test suite of negative test cases for XAdES-E-BES signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in ETSI TS 119 134-2 [3], clause10.3 (except test case XAdES/BBN/8, which is a test case for a XAdES-E-EPES signature) and the test cases defined in Table 14. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 43 Table 14: Negative test cases for XAdES-E-BES signatures not covered in ETSI TS 119 134-2 [3] clause 10.3 TC ID Description Pass criteria Signature qualifying properties XAdES/EBESN/1 XAdES-E-BES signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:QualifyingProperties container. The digest value of one of the ds:Reference children of ds:SignedInfo is wrong. Negative validation. • No xades:QualifyingProperties • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature XAdES/EBESN/2 XAdES-E-BES signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:QualifyingProperties container. The signing certificate of the signature is not trusted. Negative validation. • No xades:QualifyingProperties • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature XAdES/EBESN/3 XAdES-E-BES signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:QualifyingProperties container. The signing certificate of the signature is expired. Negative validation. • No xades:QualifyingProperties • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature XAdES/EBESN/4 XAdES-E-BES signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:QualifyingProperties container. The signing certificate of the signature is revoked. Negative validation. • No xades:QualifyingProperties • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature XAdES/EBESN/5 XAdES-E-BES signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. The signature does not incorporate the xades:QualifyingProperties container. The signing certificate of the signature is issued by a CA whose certificate is revoked. Negative validation. • No xades:QualifyingProperties • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 44
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
7.4 Test cases generating non valid XAdES-E-EPES signatures
|
This clause defines a test suite of negative test cases for XAdES-E-EPES signatures. The test suite of negative test cases for XAdES-E-EPES signatures as specified in ETSI EN 319 132-2 [2] shall include the test case XAdES/BBN/8 defined in ETSI TS 119 134-2 [3], clause 10.3 and the test cases defined in Table 15. Table 15: Test cases generating non valid XAdES-E-EPES not covered in ETSI TS 119 134-2 [3], clause 10.3 TC ID Description Pass criteria Signature qualifying properties XAdES/EEPESN/1 XAdES-E-EPES signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It incorporates a xades:SignaturePol icyIdentifier qualifying property. The digest value within the xades:SigPolicyHas h element is wrong. Negative validation. • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SigningPolicyIdenti fier with wrong xades:SigPolicyHash
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
7.5 Test cases generating non valid XAdES-E-T signatures
|
This clause defines a test suite of negative test cases for XAdES-E-T signatures. The test suite of negative test cases for XAdES-E-T signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in ETSI TS 119 134-2 [3], clause10.4 and the test cases defined in Table 16. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 45 Table 16: Test cases generating non valid XAdES-E-T signatures not covered in ETSI TS 119 134-2 [3], clause 10.4 TC ID Description Pass criteria Signature qualifying properties XAdES/ETN/1 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The digest value of one of the ds:Reference children of ds:SignedInfo is wrong. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • digest value of one ds:Reference is wrong XAdES/ETN/2 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The value within the ds:SignatureValue is wrong. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • value in one ds:SignatureValue is wrong XAdES/ETN/3 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The signing certificate of the signature was expired at the time indicated within the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp XAdES/ETN/4 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The signing certificate of the signature was revoked at the time indicated within the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp XAdES/ETN/5 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The signing certificate of the signature is issued by a CA whose certificate signature was revoked at the time indicated within the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 46 TC ID Description Pass criteria Signature qualifying properties XAdES/ETN/6 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The signing certificate of the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property is not trusted. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp XAdES/ETN/7 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The signing certificate of the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property was expired at the time indicated within its time-stamp token . Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp XAdES/ETN/8 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The signing certificate of the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property was revoked at the time indicated within its time-stamp token . Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp XAdES/ETN/9 XAdES-E-T signature signing one data object (a text file) and the ds:KeyInfo element, which includes the signing certificate of the signature. It does not contain the xades:SigningCertificateV2 qualifying property. The message imprint in the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property is wrong. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 47
|
882a9535e25bda129ad6471740c0ad69
|
119 134-3
|
7.6 Test cases generating non valid XAdES-E-A signatures
|
This clause defines a test suite of negative test cases for XAdES-E-A signatures. The test suite of negative test cases for XAdES-E-A signatures as specified in ETSI EN 319 132-2 [2] shall include the test cases defined in ETSI TS 119 134-2 [3], clause 10.5 and the test cases defined in Table 17. ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 48 Table 17: Test cases generating non valid XAdES-E-A signatures not covered in ETSI TS 119 134-2 [3] clause 10.5 TC ID Description Pass criteria Signature qualifying properties XAdES/BLTAN/1 XAdES-E-A signature signing one data object (a text file), the ds:KeyInfo element, which includes the signing certificate of the signature, and the xades:SignedProperties container. It does not contain the xades:SigningCertificateV2 qualifying property. The time indicated within the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property is posterior to the time indicated within the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp XAdES/BLTAN/2 XAdES-E-A signature signing one data object (a text file), the ds:KeyInfo element, which includes the signing certificate of the signature, and the xades:SignedProperties container. It does not contain the xades:SigningCertificateV2 qualifying property. The message imprint within the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp qualifying property is wrong. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp XAdES/BLTAN/3 XAdES-E-A signature signing one data object (a text file), the ds:KeyInfo element, which includes the signing certificate of the signature, and the xades:SignedProperties container. It does not contain the xades:SigningCertificateV2 qualifying property. The time indicated within the time-stamp token encapsulated by xadesv141:SigAndRefsTimeStampV2 qualifying property is posterior to the time indicated within the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs • xadesv141:SigAndRefsTimeStampV2 • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 49 TC ID Description Pass criteria Signature qualifying properties XAdES/BLTAN/4 XAdES-E-A signature signing one data object (a text file), the ds:KeyInfo element, which includes the signing certificate of the signature, and the xades:SignedProperties container. It does not contain the xades:SigningCertificateV2 qualifying property. The time indicated within the time-stamp token encapsulated by xadesv141:RefsOnlyTimeStampV2 qualifying property is posterior to the time indicated within the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp. Negative validation • ds:KeyInfo with signing certificate of the signature • ds:KeyInfo is also signed by the signature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xadesv141:CompleteCertificateRefsV2 • xades:CompleteRevocationRefs • xadesv141:RefsOnlyTimeStampV2 • xades:CertificateValues • xades:RevocationValues (with) • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-3 V1.1.1 (2016-06) 50 History Document history V1.1.1 June 2016 Publication
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
1 Scope
|
The present document defines a number of test suites to assess the interoperability between implementations claiming conformance to XAdES baseline signatures as specified in ETSI EN 319 132-1 [1]. The test suites are defined with four different layers reflecting the four different levels of XAdES baseline signatures: • Tests suite addressing interoperability between applications claiming B-B level conformance. • Tests suite addressing interoperability between applications claiming B-T level conformance. • Tests suite addressing interoperability between applications claiming B-LT level conformance. • Tests suite addressing interoperability between applications claiming B-LTA level conformance. Test suites also cover augmentation of XAdES baseline and negative test cases. These test suites are agnostic of the PKI infrastructure. Any PKI infrastructure can be used including the one based on EU Member States Trusted Lists.
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
2 References
| |
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
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".
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
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 applications of the present document but they assist the user with regard to a particular subject area. [i.1] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); The framework for standardization of signatures; Definitions and abbreviations". [i.2] ETSI TR 119 000: "Electronic Signatures and Infrastructures (ESI); The framework for standardization of signatures: overview". [i.3] ETSI TR 119 134-1: "Electronic Signatures and Infrastructures (ESI); XAdES digital signatures - Testing Conformance and Interoperability; Part 1: Overview". ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 6 [i.4] ETSI EN 319 102-1: "Electronic Signatures and Infrastructures (ESI); Procedures for Creation and Validation of AdES Digital Signatures; Part 1: Creation and Validation".
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
3 Definitions and abbreviations
| |
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
3.1 Definitions
|
For the purposes of the present document, the terms and definitions given in ETSI TR 119 001 [i.1] and the following apply: negative test case: test case either for a signature that is not a XAdES baseline signature, or for a signature whose validation according to ETSI EN 319 102-1 [i.4] would not result in TOTAL_PASSED
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
3.2 Abbreviations
|
For the purposes of the present document, the abbreviations given in ETSI TR 119 001 [i.1] and the following apply: CA Certification Authority CRL Certificate Revocation List OCSP Online Certificate Status Provider TSA Time-Stamping Authority TSA1 Time-Stamping Authority 1 TSA2 Time-Stamping Authority 2
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
4 Overview
|
This clause describes the overall approach used throughout the present document to specify test suites for testing interoperability of XAdES baseline signature a specified in ETSI EN 319 132-1 [1]. ETSI EN 319 132-1 [1] defines four different levels of XAdES baseline signatures. The test suites are defined with different layers reflecting the levels of XAdES signatures specified in ETSI EN 319 132-1 [1]: • Testing XAdES signatures interoperability between applications claiming B-B level conformance. • Testing XAdES signatures interoperability between applications claiming B-T level conformance. . • Testing XAdES signatures interoperability between applications claiming B-LT T level conformance. • Testing XAdES signatures interoperability between applications claiming B-LTA T level conformance. Table 1 shows the prefixes used throughout the present document 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-2 V1.1.1 (2016-06) 7 5 Test-suite for testing interoperability of XAdES-B-B signatures The test cases in this clause have been defined for different combinations of XAdES-B-B signatures properties. Mandatory properties for XAdES-B-B signatures as specified in ETSI EN 319 132-1 [1] clause 6.3 shall be present. Table 2 shows the test suite for testing interoperability of XAdES-B-B signatures as specified in ETSI EN 319 132-1 [1] that do not incorporate xades:SignaturePolicyIdentifier qualifying property. Table 3 shows the test suite for testing interoperability of XAdES-B-B signatures as specified in ETSI EN 319 132-1 [1] that do incorporate xades:SignaturePolicyIdentifier and xades:SignaturePolicyDocumentStore qualifying properties. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 8 Table 2: Test cases for XAdES-B-B signatures that do not incorporate xades:SignaturePolicyIdentifier qualifying property TC ID Description Pass criteria Signature qualifying properties XAdES/BB/1 This is the simplest test case for XAdES-B-B signatures. XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. The signature only contains the mandatory XAdES properties according to the B-level, namely: xades:SigningTime. xades:SigningCertifiatev2. xades:DataObjectFormat. The xades:DataObjectFormat should point to a ds:Reference whose URI attribute points to the signed simple text file. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat XAdES/BB/2 XAdES-B-B signature signing two data objects and the xades:SignedProperties element. This brings the presence of two xades:DataObjectFormat signed properties. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat XAdES/BB/3 XAdES-B-B signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:CommitmentTypeIndication qualifying property expressing a commitment for all the signed data objects. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:CommitmentTypeIndication (with xades:AllSignedDataObjects element) XAdES/BB/4 XAdES-B-B signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:CommitmentTypeIndication qualifying property expressing a commitment for one of the signed data objects. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) XAdES/BB/5 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one xades:SignatureProductionPlaceV2 qualifying property. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureProductionPlaceV2 XAdES/BB/6 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one X509 Attribute certificate within the xades:SignerRoleV2 qualifying property. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignerRoleV2 (with one X509 Attribute certificate within one CertifiedRole/X509AttributeCertificate element) XAdES/BB/7 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one claimed attribute within the xades:SignerRoleV2 qualifying property. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignerRoleV2 (with one xades:Claimed element) ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 9 TC ID Description Pass criteria Signature qualifying properties XAdES/BB/8 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one signed assertion within the xades:SignerRoleV2 qualifying property. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignerRoleV2 (with one xades:SignedAssertion element) XAdES/BB/9 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one X509 Attribute certificate and one signed assertion within the xades:SignerRoleV2 qualifying property. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignerRoleV2 (with one xades:SignedAssertion element and with one CertifiedRole/X509AttributeCertificate element) XAdES/BB/10 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one xades:CounterSignature qualifying property. Positive validation. • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:CounterSignature XAdES/BB/11 XAdES-B-B signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:AllDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps the signed data objects as specified in ETSI EN 319 132-1 [1]. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:AllDataObjectTimeStamp XAdES/BB/12 XAdES-B-B signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:IndividualDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1]. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:IndividualDataObjectsTimeStamp XAdES/BB/13 XAdES-B-B signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:CommitmentTypeIndication qualifying property expressing a commitment for one of the signed data objects. Incorporates one xades:SignatureProductionPlaceV2 qualifying property. Incorporates one X509 Attribute certificate and one signed assertion within the xades:SignerRoleV2 qualifying property. Incorporates one xades:CounterSignature qualifying property. Incorporates one xades:IndividualDataTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1]. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 with one xades:SignedAssertion element and with one CertifiedRole/X509AttributeCertificate • xades:CounterSignature • xades:IndividualDataObjectTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 10 Table 3: Test cases for XAdES-B-B signatures incorporating xades:SignaturePolicyIdentifier qualifying property TC ID Description Pass criteria Signature qualifying properties XAdES/BB/14 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one xades:SignaturePolicyIdentifier qualifying property containing a xades:SignaturePolicyHash element and the following qualifiers: xades:SPURI, and xades:UserNotice. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignaturePolicyIdentifier (with xades:SignaturePolicyHash element and xades:SPURI and xades:UserNotice qualifiers) XAdES/BB/15 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one xades:SignaturePolicyIdentifier qualifying property containing a xades:SignaturePolicyHash element and the following qualifiers: xades:SPURI, and xadesv141:SPDocSpecification. This last qualifier will specify how to compute the digest value of the signature policy document. NOTE: At the time the present document was produced no technical specification within ETSI TR 119 000 [i.2] was available specifying a syntax for defining a signature policy. The test case is nevertheless incorporated in order it can be used when such specification(s) are produced. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignaturePolicyIdentifier (with xades:SignaturePolicyHash element and xades:SPURI and xadesv141:SPDocSpecification qualifiers) XAdES/BB/16 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one xades:SignaturePolicyIdentifier qualifying property containing a xades:SignaturePolicyHash element and the following qualifiers: xades:SPURI, and xades:UserNotice. Incorporates one xadesv141:SignaturePolicyStore qualifying property containing a xadesv141:SignaturePolicyDocument element. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignaturePolicyIdentifier (with xades:SignaturePolicyHash element and xades:SPURI and xades:UserNotice qualifiers) • xadesv141:SignaturePolicyStore (with xadesv141:SignaturePolicyDocument element) XAdES/BB/17 XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one xades:SignaturePolicyIdentifier qualifying property containing a xades:SignaturePolicyHash element and the following qualifiers: xades:SPURI, and xades:UserNotice. Incorporates one xadesv141:SignaturePolicyStore qualifying property containing a xadesv141:SigPolDocLocalURI element. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignaturePolicyIdentifier (with xades:SignaturePolicyHash element and xades:SPURI and xades:UserNotice qualifiers) • xadesv141:SignaturePolicyStore (with xadesv141:SigPolDocLocalURI element) ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 11 6 Test-suite for testing interoperability of XAdES-B-T signatures The test cases in this clause have been defined for different combinations of XAdES-B-T signatures properties. Mandatory properties for XAdES-B-T signatures as specified in ETSI EN 319 132-1 [1], clause 6.3 shall be present. Table 4 shows the test suite for testing interoperability of XAdES-B-T signatures as specified in ETSI EN 319 132-1 [1]. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 12 Table 4: Test cases for XAdES-B-T signatures TC ID Description Pass criteria Signature qualifying properties XAdES/BT/1 This test case tests the simplest XAdES B-T-Level conformant signature. XAdES signature as specified in test case XAdES/BB/1 with the incorporation of a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA that is within the same hierarchy as the signing certificate of the signature. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) XAdES/BT/2 XAdES-B-T signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:IndividualDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1]. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token. The two time-stamps are generated by the same TSA that is within the same hierarchy as the signing certificate of the signature. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:IndividualDataObjectsTimeStamp • xades:SignatureTimeStamp (encapsulating one time-stamp token) XAdES/BT/3 XAdES-B-T signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates two xades:SignatureTimeStamp qualifying properties, each one encapsulating one time-stamp token generated by different TSAs. These TSAs are within different trust hierarchies. NOTE: This will allow to define test cases for having different xadesv141:TimeStampValidationData qualifying properties associated to different xades:SignatureTimeStamp qualifying properties. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token generated by one TSA1) • xades:SignatureTimeStamp (encapsulating one time-stamp token generated by a TSA2 different from the previous one, within a different trust hierarchy) ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 13 TC ID Description Pass criteria Signature qualifying properties XAdES/BT/4 XAdES-B-T signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:CommitmentTypeIndication qualifying property expressing a commitment for one of the signed data objects. Incorporates one xades:SignatureProductionPlaceV2 qualifying property. Incorporates one X509 Attribute certificate within the xades:SignerRoleV2 qualifying property. Incorporates one xades:CounterSignature qualifying property. Incorporates one xades:IndividualDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1] generated by a TSA1. Incorporates one xades:SignaturePolicyIdentifier qualifying property containing a xades:SignaturePolicyHash element and without qualifiers. Incorporates one xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a different TSA2. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:CommitmentTypeIndication (with one xades:ObjectReference element) • xades:SignatureProductionPlaceV2 • xades:SignerRoleV2 with one CertifiedRole/X509AttributeCertificate • xades:SignaturePolicyIdentifier • xades:CounterSignature • xades:IndividualDataObjectTimeStamp (generated by a TSA1) • xades:SignatureTimeStamp (encapsulating one time-stamp token generated by a different TSA2 within a different trust hierarchy than TSA1) ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 14 7 Test-suite for testing interoperability of XAdES-B-LT signatures The test cases in this clause have been defined for different combinations of XAdES-B-LT signatures properties. Mandatory properties for XAdES-B-LT signatures as specified in ETSI EN 319 132-1 [1], clause 6.3 shall be present. Table 5 shows the test suite for testing interoperability of XAdES-B-LT signatures as specified in ETSI EN 319 132-1 [1]. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 15 Table 5: Test cases for XAdES-B-LT signatures TC ID Description Pass criteria Signature qualifying properties XAdES/BLT/1 XAdES-B-LT signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignerRoleV2 with one CertifiedRole/X509AttributeCertificate • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) XAdES/BLT/2 XAdES-B-LT signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) XAdES/BLT/3 XAdES-B-LT signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one xades:CounterSignature qualifying property. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:CounterSignature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 16 TC ID Description Pass criteria Signature qualifying properties XAdES/BLT/4 XAdES-B-LT signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one xades:CounterSignature qualifying property. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:CounterSignature • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) XAdES/BLT/5 XAdES-B-LT signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one X509 Attribute certificate and one signed assertion within the xades:SignerRoleV2 qualifying property. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not present elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Incorporates a xades:AttrAuthoritiesCertValues qualifying property with certificates required for validating the X509 Attribute certificate not incorporated elsewhere in the signature. Incorporates a xades:AttributeRevocationValues qualifying property containing validation material (CRLs) required for validating the X509 Attribute certificate not incorporated elsewhere in the signature. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignerRoleV2 with one CertifiedRole/X509AttributeCertificate • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues(with CRLs) ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 17 TC ID Description Pass criteria Signature qualifying properties XAdES/BLT/6 XAdES-B-LT signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates one X509 Attribute certificate and one signed assertion within the xades:SignerRoleV2 qualifying property. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not present elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses Incorporates a xades:AttrAuthoritiesCertValues qualifying property with certificates required for validating the X509 Attribute certificate not incorporated elsewhere in the signature. Incorporates a xades:AttributeRevocationValues qualifying property containing validation material (OCSP responses) required for validating the X509 Attribute certificate not incorporated elsewhere in the signature. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignerRoleV2 (with an Attribute certificate). • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xades:AttrAuthoritiesCertValues • xades:AttributeRevocationValues(with OCSP responses) XAdES/BLT/7 XAdES-B-LT signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:IndividualDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1] within a different hierarchy than the signature signing certificate. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by one TSA2 within a different hierarchy than the signature signing certificate and the TSA1. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:IndividualDataObjectsTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:IndividualDataObjectsTimeStamp • xadesv141:TimeStampValidationData • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 18 TC ID Description Pass criteria Signature qualifying properties XAdES/BLT/8 XAdES-B-LT signature signing two data objects and the xades:SignedProperties element. Incorporates one xades:IndividualDataObjectsTimeStamp encapsulating a time-stamp token that time-stamps one of the signed data objects as specified in ETSI EN 319 132-1 [1] within a different hierarchy than the signature signing certificate. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by one TSA2 within a different hierarchy than the signature signing certificate and the TSA1. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:IndividualDataObjectsTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:IndividualDataObjectsTimeStamp • xadesv141:TimeStampValidationData • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 19 8 Test-suite for testing interoperability of XAdES-B-LTA signatures The test cases in this clause have been defined for different combinations of XAdES-B-LTA signatures properties. Mandatory properties for XAdES B-LTA signatures described in ETSI EN 319 132-1 [1] profile, clause 6.3, shall be present. Table 6 shows the test suite for testing interoperability of XAdES-B-LTA signatures as specified in ETSI EN 319 132-1 [1]. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 20 Table 6: Test cases for XAdES-B-LTA signatures TC ID Description Pass criteria Signature qualifying properties XAdES/BLTA/1 XAdES-B-LTA signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp XAdES/BLTA/2 XAdES-B-LTA signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 21 TC ID Description Pass criteria Signature qualifying properties XAdES/BLTA/3 XAdES-B-LTA signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA2 within a different hierarchy than the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp XAdES/BLTA/4 XAdES-B-LTA signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA2 within a different hierarchy than the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorpoarted elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 22 TC ID Description Pass criteria Signature qualifying properties XAdES/BLTA/5 XAdES-B-LTA signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xadesv141:ArchiveTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a second xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp • xadesv141:TimeStampValidationData • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 23 TC ID Description Pass criteria Signature qualifying properties XAdES/BLTA/6 XAdES-B-LTA signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xadesv141:ArchiveTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a second xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:ArchiveTimeStamp • xadesv141:TimeStampValidationData • xadesv141:ArchiveTimeStamp XAdES/BLTA/7 XAdES-B-LTA signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA2 within a different hierarchy than the signature signing certificate. Incorporartes a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing CRLs. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xadesv141:ArchiveTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are CRLs. Incorporates a second xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp • xadesv141:TimeStampValidationData • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 24 TC ID Description Pass criteria Signature qualifying properties XAdES/BLTA/8 XAdES-B-LTA signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA2 within a different hierarchy than the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xadesv141:ArchiveTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a second xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:ArchiveTimeStamp • xadesv141:TimeStampValidationData • xadesv141:ArchiveTimeStamp XAdES/BLTA/9 XAdES-B-LTA signature. The ds:SignedInfo contains two ds:Reference children. One of them references the xades:SignedProperties element. The other one references a ds:Manifest element. The ds:Manifest element references two detached data objects. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Incorporates a xadesv141:RenewedDigests qualifying property containing the recomputed digest value of one of the two data objects signed through the signed ds:Manifest with a different digest algorithm than the one used in the corresponding ds:Reference. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:RenewedDigest • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 25 TC ID Description Pass criteria Signature qualifying properties XAdES/BLTA/10 XAdES-B-LTA signature. The ds:SignedInfo contains two ds:Reference children. One of them references the xades:SignedProperties element. The other one references a ds:Manifest element. The ds:Manifest element references two detached data objects. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Incorporates a xadesv141:RenewedDigests qualifying property containing the recomputed digest value of one of the two data objects signed through the signed ds:Manifest with a different digest algorithm than the one used in the corresponding ds:Reference. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within the first xadesv141:ArchiveTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a second xadesv141:RenewedDigests qualifying property containing the recomputed digest value of one of the two data objects signed through the signed ds:Manifest with a different digest algorithm than the one used in the corresponding ds:Reference. Incorporates a second xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:RenewedDigest • xadesv141:ArchiveTimeStamp • xadesv141:TimeStampValidationData • xadesv141:RenewedDigest • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 26 9 Test-suite for augmentation of XAdES baseline signatures This clause describes the so called augmentation tests cases. For running them a certain signer generates a XAdES baseline signature of a certain level. After that a verifier validates the signature and augments it to a higher level by adding a number of unsigned qualifying properties. Finally, a third entity validates the augmented signature. The test cases in this clause have been defined for testing augmentation of XAdES-B-T signatures to XAdES-B-LTA signatures and subsequent validation of the augmented signatures. Table 7 shows which properties are required to augment XAdES-B-T signatures to XAdES-B-LTA signatures for each test case. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 27 Table 7: Test cases for augmentation of XAdES-B-T to XAdES-B-LTA signatures TC ID Description Pass criteria Signature qualifying properties XAdES/AUG/1 The XAdES-B-T signature generated in test case XAdES/BT/1 is augmented to a XAdES-B-LTA signature as specified in test case XAdES/BLTA/1. This requires to incorporate into the signature the validation material of the signing certificate of the signature within the xades:CertificateValues and xades:RevocationValues qualification properties. This also requires to incorporate into the signature the validation material of the signing certificate of the time-stamp token encapsulated by xades:SignatureTimeStamp, within the xadesv141:TimeStampValidationData qualifying property. The revocation material incorporated are CRLs. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp XAdES/AUG/2 The XAdES-B-T signature generated in test case XAdES/BT/1 is augmented to a XAdES-B-LTA signature as specified in test case XAdES/BLTA/2 This requires to incorporate into the signature the validation material of the signing certificate of the signature within the xades:CertificateValues and xades:RevocationValues qualification properties. This also requires to incorporate into the signature the validation material of the signing certificate of the time-stamp token encapsulated by xades:SignatureTimeStamp, within the xadesv141:TimeStampValidationData qualifying property. The revocation material incorporated are OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP respones) • xadesv141:ArchiveTimeStamp XAdES/AUG/3 The XAdES-B-T signature generated in test case XAdES/AUG/1 is augmented to a XAdES-B-LTA signature as specified in test case XAdES/BLTA/5. This requires to incorporate into the signature the validation material of the signing certificate of the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp, within the xadesv141:TimeStampValidationData qualifying property. The revocation material incorporated are CRLs. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp • xadesv141:TimeStampValidationData • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 28 TC ID Description Pass criteria Signature qualifying properties XAdES/AUG/4 The XAdES-B-T signature generated in test case XAdES/AUG/1 is augmented to a XAdES-B-LTA signature as specified in test case XAdES/BLTA/6. This requires to incorporate into the signature the validation material of the signing certificate of the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp, within the xadesv141:TimeStampValidationData qualifying property. The revocation material incorporated are OCSP responses. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:ArchiveTimeStamp • xadesv141:TimeStampValidationData • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 29
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
10 Test suites with negative test cases
| |
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
10.1 Introduction
|
The present clause distinguishes two different types of negative test cases: 1) Test cases leading to valid XAdES signatures that nevertheless, are not XAdES baseline signatures. 2) Test cases leading to XAdES baseline signatures whose validation according to ETSI EN 319 102-1 [i.4] would not result in TOTAL_PASSED.
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
10.2 Test cases generating non XAdES baseline signatures
|
The present clause defines test cases that do not generate XAdES baseline signatures. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 30 Table 8: Test cases generating non XAdES baseline signatures TC ID Description Pass criteria Signature qualifying properties XAdES/NB/1 A XAdES signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates the xades:SigningCertificateV2 qualifying property. It does not incorporate the mandatory xades:SigningTime qualifying property. It incorporates xades:DataObjectFormat qualifying property. Notification of non XAdES baseline • xades:SigningCertificateV2 • xades:DataObjectFormat XAdES/NB/2 A XAdES signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates the xades:SigningCertificateV2 qualifying property. Incorporates the xades:Time qualifying property. It does not incorporate the xades:DataObjectFormat qualifying property. Notification of non XAdES baseline • xades:SigningCertificateV2 • xades:SigningTime XAdES/NB/3 A XAdES signature signing one data object (a text file), the xades:SignedProperties element and the ds:KeyInfo element, which contains the signing certificate of the signature. Incorporates the xades:Time qualifying property. It incorporates xades:DataObjectFormat qualifying property. It does not incorporate the mandatory xades:SigningCertificateV2 qualifying property. Notification of non XAdES baseline • xades:SigningTime • xades:DataObjectFormat XAdES/NB/4 A signature signing one data object (a text file) and the xades:SignedProperties element. Incorporates the xades:Time qualifying property. It does not incorporate the mandatory xades:SigningCertificateV2 qualifying property. Notification of non XAdES signature • xades:SigningTime • xades:DataObjectFormat ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 31
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
10.3 Test cases on XAdES-B-B signatures
|
The present clause defines test cases that generate XAdES baseline signatures whose validation according to ETSI EN 319 102-1 [i.4] do not result in TOTAL_PASSED. The values within the Pass Criteria column in Table 9 are not the actual final results generated by a validation tool. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 32 Table 9: Test cases on XAdES-B-B signatures TC ID Description Pass criteria Signature qualifying properties XAdES/BBN/1 A XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. The digest value of one of the ds:Reference children of ds:SignedInfo is wrong. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat XAdES/BBN/2 A XAdES-B-B signature signing one data object (a text file) and the xades:SignedProperties element. The value within the ds:SignatureValue is wrong. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat XAdES/BBN/3 A XAdES-B-B signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the signature is not trusted. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat XAdES/BBN/4 A XAdES-B-B signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the signature is expired. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat XAdES/BBN/5 A XAdES-B-B signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the signature is revoked. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat XAdES/BBN/6 A XAdES-B-B signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the signature is issued by a CA whose certificate is revoked. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat XAdES/BBN/7 A XAdES-B-B signature signing one data object (a text file), and the xades:SignedProperties element. The xades:SigningCertificateV2 qualifying property contains only one xades:Cert. The digest value within this element is not the digest of the signing certificate of the signature. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat XAdES/BBN/8 A XAdES-B-B signature signing one data object (a text file), and the xades:SignedProperties element. The digest value within the xades:SigPolicyHash element is wrong. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignaturePolicyIdentifier ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 33
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
10.4 Test cases on XAdES-B-T signatures
|
Table 10 defines test cases that generate XAdES-B-T signatures whose validation process as specified in ETSI EN 319 102-1 [i.4] shall not be TOTAL_PASSED. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 34 Table 10: Test cases on XAdES-B-T signatures TC ID Description Pass criteria Signature qualifying properties XAdES/BTN/1 A XAdES-B-T signature signing one data object (a text file) and the xades:SignedProperties element. The digest value of one of the ds:Reference children of ds:SignedInfo is wrong. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp XAdES/BTN/2 A XAdES-B-T signature signing one data object (a text file) and the xades:SignedProperties element. The value within the ds:SignatureValue is wrong. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp XAdES/BTN/3 A XAdES-B-T signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the signature was expired at the time indicated within the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp XAdES/BTN/4 A XAdES-B-T signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the signature was revoked at the time indicated within the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp XAdES/BTN/5 A XAdES-B-T signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the signature is issued by a CA whose certificate signature was revoked at the time indicated within the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp XAdES/BTN/6 A XAdES-B-T signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property is not trusted. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp XAdES/BTN/7 A XAdES-B-T signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property was expired at the time indicated within its time-stamp token. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp XAdES/BTN/8 A XAdES-B-T signature signing one data object (a text file), and the xades:SignedProperties element. The signing certificate of the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property was revoked at the time indicated within its time-stamp token. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp XAdES/BTN/9 A XAdES-B-T signature signing one data object (a text file), and the xades:SignedProperties element. The message imprint in the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property is wrong. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 35
|
07088244ff76d77b9a4d5b111e77d508
|
119 134-2
|
10.5 Test cases on XAdES-B-LTA signatures
|
Table 11 defines test cases that generate XAdES-B-LTA signatures whose validation process as specified in ETSI EN 319 102-1 [i.4] shall not be TOTAL_PASSED. ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 36 Table 11: Test cases on XAdES-B-LTA signatures TC ID Description Pass criteria Signature qualifying properties XAdES/BLTAN/1 A XAdES-B-LTA signature signing one data object (a text file), and the xades:SignedProperties element. The time indicated within the time-stamp token encapsulated by xades:SignatureTimeStamp qualifying property is posterior to the time indicated within the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp XAdES/BLTAN/2 A XAdES-B-LTA signature signing one data object (a text file), and the xades:SignedProperties element. The message imprint within the time-stamp token encapsulated by xadesv141:ArchiveTimeStamp qualifying property is wrong. Negative validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with CRLs) • xadesv141:ArchiveTimeStamp XAdES/BLTAN/3 XAdES-B-LTA signature. The ds:SignedInfo contains two ds:Reference children. One of them references the xades:SignedProperties element. The other one references a ds:Manifest element. The ds:Manifest element references two detached data objects. Incorporates a xades:SignatureTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Incorporates a xadesv141:TimeStampValidationData with the validation data required for validating the time-stamp token within xades:SignatureTimeStamp and that is not incorporated elsewhere in the signature. The revocation data are OCSP responses. Incorporates a xades:CertificateValues qualifying property. Incorporates a xades:RevocationValues qualifying property containing OCSP responses. Incorporates a xadesv141:RenewedDigests qualifying property containing the recomputed digest value wrongly computed of one of the two data objects signed through the signed ds:Manifest with a different digest algorithm than the one used in the corresponding ds:Reference. Incorporates a xadesv141:ArchiveTimeStamp qualifying property encapsulating one time-stamp token generated by a TSA1 within the same hierarchy as the signature signing certificate. Positive validation • xades:SigningCertificateV2 • xades:SigningTime • xades:DataObjectFormat • xades:DataObjectFormat • xades:SignatureTimeStamp (encapsulating one time-stamp token) • xadesv141:TimeStampValidationData • xades:CertificateValues • xades:RevocationValues (with OCSP responses) • xadesv141:RenewedDigest (with wrong digest value) • xadesv141:ArchiveTimeStamp ETSI ETSI TS 119 134-2 V1.1.1 (2016-06) 37 History Document history V1.1.1 June 2016 Publication
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
1 Scope
|
The present document specifies the semantics and the syntax for a new unsigned XAdES qualifying property able to contain evidence records. The present document specifies the rules that govern the incorporation of evidence records within a XAdES signature or a legacy XAdES signature. NOTE: The present specification allows to incorporate Evidence Records in two different formats, namely: the XML format for ERS specified in IETF RFC 6283 (2011): "Extensible Markup Language Evidence Record Syntax (XMLERS)" [5], and the ASN.1 format for ERS specified in IETF RFC 4998 (2007): "Evidence Record Syntax (ERS)" [8]. The present document also specifies a new level for XAdES signatures, incorporating one or more than one of the aforementioned qualifying properties. The signatures specified in the present document are not baseline XAdES signatures.
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
2 References
| |
aed047926db27688653caaa48504eb1e
|
119 132-3
|
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 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] ETSI TS 101 903: "Electronic Signatures and Infrastructures (ESI); XML Advanced Electronic Signatures (XAdES)". [4] IETF RFC 3161 (2001): "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)". [5] IETF RFC 6283 (2011): "Extensible Markup Language Evidence Record Syntax (XMLERS)". [6] IETF RFC 5816 (2010): "ESSCertIDv2 Update for RFC 3161". [7] W3C Recommendation (11 April 2013): "XML Signature Syntax and Processing Version 1.1". [8] IETF RFC 4998 (2007): "Evidence Record Syntax (ERS)".
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
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. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 6 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] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); The framework for standardization of signatures; Definitions and abbreviations". [i.2] ETSI TS 119 312: "Electronic Signatures and Infrastructures (ESI); Cryptographic Suites". [i.3] ETSI EN 319 162-1: "Electronic Signatures and Infrastructures (ESI); Associated Signature Containers (ASiC); Part 1: Building blocks and ASiC baseline containers". [i.4] ETSI EN 319 162-2: "Electronic Signatures and Infrastructures (ESI); Associated Signature Containers (ASiC); Part 2: Additional ASiC containers". [i.5] ETSI TS 119 122-3: "Electronic Signatures and Infrastructures (ESI); CAdES digital signatures; Part 3: Incorporation of Evidence Record Syntax (ERS) mechanisms in CAdES".
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
3 Definition of terms, symbols and abbreviations
| |
aed047926db27688653caaa48504eb1e
|
119 132-3
|
3.1 Terms
|
For the purposes of the present document, the terms given in ETSI TR 119 001 [i.1], ETSI EN 319 132-1 [1] and the following apply: ArchiveTimeStamp: either a XMLERS ArchiveTimeStamp or an ERS ArchiveTimeStamp ArchiveTimeStampChain: either ers:ArchiveTimeStampChain, as specified in IETF RFC 6283 [5] or an instance of ArchiveTimeStampChain type, as specified in IETF RFC 4998 [8] ArchiveTimeStampSequence: either ers:ArchiveTimeStampSequence, as specified in IETF RFC 6283 [5] or an instance of ArchiveTimeStampChain type, as specified in IETF RFC 4998 [8] ERS ArchiveTimeStamp: instance of ArchiveTimeStampType type, as specified in IETF RFC 4998 [8] ERS evidence-record: Evidence record as specified in IETF RFC 4998 [8]. ERS initial ArchiveTimeStamp: first instance of ArchiveTimeStamp type of the first instance of ArchiveTimeStampChain type within the instance of ArchiveTimeStampSequence type, as specified in IETF RFC 4998 [8] evidence-record: either an ERS evidence-record or a XMLERS evidence-record evidence-record property: unsigned qualifying property which contains one or more evidence-records as defined in the present document evidence record renewal: either time-stamp renewal or hash-tree renewal within an evidence record HashTree: either an instance of ers:HashTree type as specified in IETF RFC 6283 [5], or an instance of ParcialHashtree type as specified in IETF RFC 4998 [8] initial ArchiveTimeStamp: either a XMLERS initial ArchiveTimeStamp or an ERS initial ArchiveTimeStamp time-stamp token: instance of type TimeStampToken as specified in IETF RFC 3161 [4] and updated by IETF RFC 5816 [6] validation data: data that is used to validate a digital signature XMLERS ArchiveTimeStamp: instance of ers:ArchiveTimeStampType, as specified in IETF RFC 6283 [5] XMLERS evidence-record: Evidence record as specified in IETF RFC 6283 [5]. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 7 XMLERS initial ArchiveTimeStamp: first ers:ArchiveTimeStamp element of the first ers:ArchiveTimeStampChain element within the ers:ArchiveTimeStampSequence element within an instance of ers:EvidenceRecordType type, as specified in IETF RFC 6283 [5] NOTE: Within the XAdES signatures specified in the present document time-stamp tokens may appear either within some of the qualifying properties specified in ETSI EN 319 132-1 [1], or within some XMLERS ArchiveTimeStamp, or within some ERS ArchiveTimeStamp.
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
3.2 Abbreviations
|
For the purposes of the present document, the abbreviations given in ETSI TR 119 001 [i.1] and the following apply: ER Evidence Record ERS Evidence Record Syntax TSA Time Stamp Authority XML eXtensible Markup Language XMLERS XML Evidence Record Syntax
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
4 General requirements
| |
aed047926db27688653caaa48504eb1e
|
119 132-3
|
4.1 XML Namespaces
|
The present document uses the URI namespaces listed below: • http://www.w3.org/2001/XMLSchema • urn:ietf:params:xml:ns:ers In addition to that, it defines a new namespace for including the new unsigned qualifying property specified in the present document, namely: • http://uri.etsi.org/19132/v1.1.1# Table 1 shows the mapping between namespaces’ URIs and the prefixes used throughout the present document. Table 1: Namespaces with constant prefixes XML Namespace URI Prefix http://www.w3.org/2001/XMLSchema xsd http://uri.etsi.org/19132/v1.1.1# xadesen urn:ietf:params:xml:ns:ers ers ETSI has generated a XML Schema file for the present specification, namely "XAdES1913203v111-202101.xsd", using the XML Schema syntax and structures specified in annex A for details on its location. Below follows a copy of the xsd:schema element of the aforementioned XML Schema file "XAdES1913203v111- 202101.xsd". <xsd:schema elementFormDefault="qualified" targetNamespace="http://uri.etsi.org/19132/v1.1.1#" xmlns="http://uri.etsi.org/19132/v1.1.1#" xmlns:ers="urn:ietf:params:xml:ns:ers" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
4.2 Electronic time-stamps in evidence-records
|
All the electronic time-stamps present within the evidence-records incorporated to the XAdES signatures specified in the present document shall be instances of TimeStampToken type as specified in IETF RFC 3161 [4] and updated by IETF RFC 5816 [6]. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 8
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
4.3 Placement of validation data of time-stamp tokens
|
When including validation data required for verifying a time-stamp token that is encapsulated within an ArchiveTimeStamp, one of the following methods shall be used: 1) adding the information in the SignedData of the instance of the TimeStampToken type specified in IETF RFC 3161 [4] and updated by IETF RFC 5816 [6] itself; or 2) if the time-stamp token is present within an XML Evidence Record as specified in IETF RFC 6283 [5], then the validation data may be added within ers:CryptographicInformation children of the ers:CryptographicInformationList element (specified in IETF RFC 6283 [5], clause 3.1.3) that shares the same ers:ArchiveTimeStamp element as the ers:TimeStamp element that encapsulates the time-stamp token. Method 1) should be used. NOTE: According to IETF RFC 6283 [5], clause 2.1, ers:CryptographicInformationList element "is protected by successive Time-Stamps in the sequence of the Archive Time-Stamps". If the XAdES signature contains any of the XAdES signed or unsigned qualifying properties that encapsulate a time- stamp token (i.e. xades:AllDataObjectsTimeStamp, xades:IndividualDataObjectsTimeStamp, xades:SignatureTimeStamp, xades:SigAndRefsTimeStamp, xadesv141:SigAndRefsTimeStampV2, xades:RefsOnlyTimeStamp, xades:, xadesv141:RefsOnlyTimeStampV2, xades:ArchiveTimeStamp, or xadesv141:ArchiveTimeStamp) then before adding any unsigned qualifying property encapsulating an evidence-record, the validation material for the corresponding time-stamp tokens that are not already present within the XAdES signature or within the time-stamp tokens themselves shall be incorporated using the corresponding xadesv141:TimeStampValidationData elements as specified in ETSI EN 319 132-1 [1] and ETSI TS 101 903 [3]. 5 The xadesen:SealingEvidenceRecords qualifying property
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
5.1 Semantics
| |
aed047926db27688653caaa48504eb1e
|
119 132-3
|
5.1.1 Data time-stamped by time-stamp tokens
|
The present document specifies one qualifying property that allows to incorporate into the XAdES signature one or more evidence records: xadesen:SealingEvidenceRecords. The xadesen:SealingEvidenceRecords qualifying property shall be an unsigned qualifying property. The xadesen:SealingEvidenceRecords unsigned qualifying property shall contain either a sequence of instances of ers:EvidenceRecordType type specified in IETF RFC 6283 [5] or a sequence of instances of EvidenceRecord type specified in IETF RFC 4998 [8]. This qualifying property may be incorporated only in XAdES signatures using either direct or indirect incorporation of qualifying properties, as specified in clause 4.4 of ETSI EN 319 132-1 [1]. The evidence records present within the same xadesen:SealingEvidenceRecords qualifying property shall act as parallel evidence records (from different TSAs or using different hash algorithms), protecting the same parts of the signature, except the other evidence records present within the same xadesen:SealingEvidenceRecords qualifying property. The first time-stamp token in the initial ArchiveTimeStamp within each evidence record within a certain xadesen:SealingEvidenceRecords qualifying property shall be generated as specified in clause 5.2.2 of the present document. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 9 After the initial ArchiveTimeStamp in the first ArchiveTimeStampChain, each evidence record may follow its own path, and both, time-stamp token renewal or hash-tree renewal may occur. Both time-stamp token renewal and hash-tree renewal shall be performed as specified in IETF RFC 6283 [5] and IETF RFC 4998 [8]. NOTE: Clauses 4.2.1 and 4.2.2 of IETF RFC 6283 [5] and clause 5 of IETF RFC 4998 [8] specify how the time- stamp renewal and hash-tree renewal are performed. Once a xadesen:SealingEvidenceRecords element with one or more evidence records is incorporated into the XAdES signature as an unsigned qualifying property, the only changes that may be applied to the XAdES signature are: • the (time-stamp or hash-tree) renewal of the evidence records present within the same xadesen:SealingEvidenceRecords qualifying property itself; • the incorporation of a new evidence record within the same xadesen:SealingEvidenceRecords qualifying property;, and • the incorporation of a new xadesen:SealingEvidenceRecords unsigned qualifying property. Incorporation of new xadesen:SealingEvidenceRecords unsigned qualifying properties allows for evidence records that seal evidence records that are present in previously incorporated xadesen:SealingEvidenceRecords unsigned qualifying properties (serial evidence records). 5.1.2 Incorporation of validation data during the life cycle of evidence records Before incorporating the xadesen:SealingEvidenceRecords unsigned qualifying property with its first evidence record, any validation data, not already present within the signature, which is required for validating any signed component present in the signature, shall be incorporated into the XAdES signature as specified in ETSI EN 319 132-1 [1]. EXAMPLE: Examples of this validation material are certificates, CRLs, OCSP responses or other material as required to validate, for instance, the signature itself, any present counter-signature, any present time-stamp token, certificate, OCSP response, attribute certificates, signed assertions, etc. In the case that the validation data contains a Delta CRL, then the whole set of CRLs shall be included to provide a complete revocation list. NOTE 1: Validation data already present for example in the time-stamp token need not be included again. Before incorporating a new time-stamp token within an evidence record, i.e. during a time-stamp renewal or a hash-tree renewal, the validation data missing to validate the latest time-stamp token within the aforementioned evidence record, shall be incorporated using one of the two methods specified in clause 4.3. NOTE 2: The incorporation of a new time-stamp token within an Evidence Record only requires the incorporation of the validation data of the latest time-stamp token present within that Evidence Record. All the rest of material had been incorporated before. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 10 If a XAdES signature incorporates one or more xadesen:SealingEvidenceRecords unsigned qualifying properties, before incorporating a new xadesen:SealingEvidenceRecords unsigned qualifying property, the validation data required for validating the last time-stamp tokens of all the evidence records encapsulated within the last xadesen:SealingEvidenceRecords unsigned qualifying property already present into the XAdES signature, shall be incorporated using one of the two methods specified in clause 4.3.
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
5.2 Syntax
| |
aed047926db27688653caaa48504eb1e
|
119 132-3
|
5.2.1 Introduction
|
The xadesen:SealingEvidenceRecords unsigned qualifying property shall be defined as in XML Schema file "XAdES1913203v111-202101.xsd", whose location is detailed in clause A.1, and is copied below for information. <!-- targetNamespace="http://uri.etsi.org/19132/v1.1.1#"--> <xsd:element name="SealingEvidenceRecords" type="EvidenceRecordsType"/> <xsd:complexType name="EvidenceRecordsType"> <xsd:choice> <xsd:sequence minOccurs="1" maxOccurs="unbounded"> <xsd:element ref="ers:EvidenceRecord"/> </xsd:sequence> <xsd:sequence minOccurs="1" maxOccurs="unbounded"> <xsd:element name="ASN1EvidenceRecord" type="xsd:base64Binary"/> </xsd:sequence> </xsd:choice> </xsd:complexType> The xadesen:SealingEvidenceRecords unsigned qualifying property shall contain either: • one or more ers:EvidenceRecord element specified within IETF RFC 6283 [5]; or • one or more instances of EvidenceRecord type specified in IETF RFC 4998 [8]. All the xadesen:SealingEvidenceRecords unsigned qualifying properties present in one XAdES signature shall have the same type of evidence-record, either ers:EvidenceRecord or ASN1EvidenceRecord. 5.2.2 Requirements for incorporating the first time-stamp token in the initial ArchiveTimestamp within an evidence-record
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
5.2.2.1 General requirements
|
The initial time-stamp token encapsulated within the first ArchiveTimeStamp of any of the evidence-records enclosed within the xadesen:SealingEvidenceRecords unsigned qualifying property, shall incorporate a HashTree, whose first child shall contain the digest value of the group of data objects listed below, concatenated in the order specified in IETF RFC 6283 [5] if the xadesen:SealingEvidenceRecords unsigned qualifying property contains XMLERS evidence-records, or in IETF RFC 4998 [8] if the xadesen:SealingEvidenceRecords unsigned qualifying property contains ERS evidence-records: 1) The data objects resulting of processing each ds:Reference element within ds:SignedInfo as specified below: - Process the ds:Reference element according to the reference processing model of XMLDSIG [7], clause 4.4.3.2. - If the result is a XML node set, canonicalize using the canonicalization algorithm present in ds:CanonicalizationMethod element. NOTE 1: The XAdES qualifying signed properties are part of this set of data objects. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 11 2) The data objects resulting of taking the XMLDSIG elements listed below, and canonicalizing each one using the canonicalization algorithm present in ds:CanonicalizationMethod element: - The ds:SignedInfo element. - The ds:SignatureValue element. - The ds:KeyInfo element, if present. 3) The data objects resulting of taking all the unsigned qualifying properties incorporated into the XAdES signature except the xadesen:SealingEvidenceRecords element under construction, and canonicalizing each one as specified in clause 4.5 of ETSI EN 319 132-1 [1]. While generating these data objects, requirements a), b), c), and d) of step 4) in clause 5.5.2.2 of ETSI EN 319 132-1 [1] shall apply: 4) As many xadesv141:TimeStampValidationData qualifying properties will be added as required for incorporating the validation data, not already present in the XAdES signature, that are required for validating all the time-stamp tokens incorporated (within signed or unsigned qualifying properties) into the XAdES qualifying properties different than xadesen:SealingEvidenceRecords. Each xadesv141:TimeStampValidationData shall be generated following the specifications of ETSI EN 319 132-1 [1]. For every xadesv141:TimeStampValidationData qualifying property incorporated, the corresponding data object resulting of canonicalizing this qualifying property as specified in clause 4.5 of ETSI EN 319 132-1 [1] will be generated and added to the group of data objects to be time- stamped. 5) All the ds:Object elements except the one containing QualifyingProperties element, as specified in step 5) of clause 5.5.2.2 of ETSI EN 319 132-1 [1]. 6) The objects derived from the presence of signed ds:Manifest elements. These objects shall be generated as it is specified below: a) For each ds:Reference child element of each signed ds:Manifest element retrieve the data object referenced by its URI attribute. b) If the retrieved data object is not a XML node set, or it is a XML node set different than a ds:Manifest element, process it as specified by the reference processing model of XMLDSIG [7], clause 4.4.3.2. The resulting data object shall be added to the group of data objects to be digested. c) If the retrieved data object is a ds:Manifest element, apply the steps 6) a) to 6) c) recursively for generating the objects to be added to the group of data objects to be digested. NOTE 1: Step 6) c) allows to process chained signed ds:Manifest elements so that every data object referenced by one ds:Manifest element in the chain, is added to the group of data objects to be digested. NOTE 2: The procedures for performing the hash tree renewal specified in IETF RFC 4998 [8] and IETF RFC 6283 [5] will imply that every time that a Hash Tree Renewal is performed in an evidence record, every data object referenced by one signed ds:Manifest element will be processed as specified in step 6) and therefore added to the group of data objects to be digested. NOTE 3: The process specified in step 6) implies that the XAdES signatures conformant with the present document do not need to incorporate qualifying properties dealing with renewal of signed ds:Manifest elements (xadesv141:RenewedDigest for instance). NOTE 4: Each unsigned qualifying property results in one object. Therefore any xadesen:SealingEvidenceRecords qualifying property already present within the XAdES signature, will contribute in the mentioned HashTree and all its children elements will be time-stamped. The new evidence record will become a serial evidence record of the ones that had been previously incorporated. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 12
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
5.2.2.2 Contribution of unsigned qualifying properties directly incorporated
|
In non-distributed XAdES signatures, where the direct incorporation of the unsigned qualifying properties is used, the set of unsigned qualifying properties contributing to the message imprint computation input shall be the set formed by all the unsigned qualifying properties present within the sequence in the xadesen:UnsignedSignatureProperties element.
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
5.2.2.3 Contribution of unsigned qualifying properties indirectly incorporated
|
In distributed XAdES signatures, where the indirect incorporation of the unsigned qualifying properties is used, the set of the unsigned qualifying properties contributing to the message imprint computation input shall be as formed as follows: 1) First add to the set the unsigned qualifying properties that are children of the xadesen:UnsignedSignatureProperties element that is descendant of the ds:Signature signature root element. 2) After that, for each xadesen: QualifyingPropertiesReference child element of the ds:Object within the ds:Signature XAdES root element, in their order of appearance: - Retrieve the xadesen: QualifyingProperties element. - Add to the set all the unsigned qualifying properties found in the xadesen:UnsignedSignatureProperties child element. NOTE: No process needs to be carried out with signed qualifying properties if present in the retrieved xadesen: QualifyingProperties element: they have already been processed as part of the process of the ds:Reference elements within ds:SignedInfo.
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
6 XAdES signature level including ERS
| |
aed047926db27688653caaa48504eb1e
|
119 132-3
|
6.1 Overview
|
The present document specifies a new level for XAdES signatures including evidence records. Each level is created by a combination of attributes defined in ETSI EN 319 132-1 [1] and the present document.
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
6.2 General requirements
|
The XAdES signature shall be a signature incorporating signed and unsigned qualifying properties as specified in clauses 4 and 5 of ETSI EN 319 132-1 [1]. The algorithms and key lengths used to generate and augment digital signatures should be as specified in ETSI TS 119 312 [i.2]. NOTE: Cryptographic suites recommendations defined in ETSI TS 119 312 [i.2] can be superseded by national recommendations. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 13
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
6.3 XAdES-E-ERS
|
XAdES-E-ERS may be built on all the levels described in ETSI EN 319 132-1 [1] or ETSI EN 319 132-2 [2]. Table 2: Requirements for XAdES-E-ERS Elements/Qualifying properties/Services Presence in E-ERS level Cardinality Additional notes and requirements Reference xades:SigningTime may be present 1 a ETSI EN 319 132-1 [1], clause 5.2.1 xades:SigningCertificateV2 conditioned presence 0 or 1 b, c ETSI EN 319 132-1 [1], clause 5.2.2 xades:CommitmentTypeIndication may be present ≥ 0 ETSI EN 319 132-1 [1], clause 5.2.3 xades:DataObjectFormat may be present ≥ 0 ETSI EN 319 132-1 [1], clause 5.2.4 xades:SignatureProductionPlaceV2 may be present 0 or 1 ETSI EN 319 132-1 [1], clause 5.2.5 xades:SignerRoleV2 may be present 0 or 1 ETSI EN 319 132-1 [1], clause 5.2.6 xades:CounterSignature may be present ≥ 0 ETSI EN 319 132-1 [1], clause 5.2.7.2 xades:AllDataObjectsTimeStamp may be present ≥ 0 1 ETSI EN 319 132-1 [1], clause 5.2.8.1 xades:IndividualDataObjectsTimeS tamp may be present ≥ 0 1 ETSI EN 319 132-1 [1], clause 5.2.8.2 xades:SignaturePolicyIdentifier may be present Built on E-EPES: 1 2, 3 ETSI EN 319 132-1 [1], clause 5.2.9 Not built on E-EPES: 0 xadesv141:SignaturePolicyStore conditioned presence 0 or 1 d ETSI EN 319 132-1 [1], clause 5.2.10 xades:SignatureTimeStamp shall be present ≥ 1 e, f 1, 4 ETSI EN 319 132-1 [1], clause 5.3 xades:CertificateValues conditioned presence 0 or 1 g, h ETSI EN 319 132-1 [1], clause 5.4.1 xades:AttrAuthoritiesCertValues conditioned presence 0 or 1 g, i ETSI EN 319 132-1 [1], clause 5.4.3 xades:RevocationValues conditioned presence 0 or 1 j, k ETSI EN 319 132-1 [1], clause 5.4.2 xades:AttributeRevocationValues conditioned presence 0 or 1 j, l ETSI EN 319 132-1 [1], clause 5.4.4 Service: incorporation of validation data for time-stamp tokens shall be provided - m Clauses 4.3 and 5.1.2 of the present document SPO: xadesv141:TimeStampValidationDat a conditioned presence ≥ 0 n Clause 4.3 of the present document SPO: certificate and revocation values within the ers:CryptographicInformationL ist element conditioned presence ≥ 0 Clause 4.3 of the present document SPO: certificate and revocation values within the SignedData field of the time- stamp token conditioned presence ≥ 0 Clause 4.3 of the present document xadesv141:ArchiveTimeStamp * ≥ 0 o, p ETSI EN 319 132-1 [1], clause 5.5.2 xadesv141:RenewedDigest shall not be present 0 ETSI EN 319 132-1 [1], clause 5.5.3 xadesv141:CompleteCertificateRef sV2 * 0 or 1 q ETSI EN 319 132-1 [1], clause A.1.1 xadesv141:AttributeCertificateRe fsV2 * 0 or 1 q, r ETSI EN 319 132-1 [1], clause A.1.3 xades:CompleteRevocationRefs * 0 or 1 ETSI EN 319 132-1 [1], clause A.1.2 ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 14 Elements/Qualifying properties/Services Presence in E-ERS level Cardinality Additional notes and requirements Reference xades:AttributeRevocationRefs * 0 or 1 r ETSI EN 319 132-1 [1], clause A.1.4 xadesv141:RefsOnlyTimeStampV2 * ≥ 0 1 ETSI EN 319 132-1 [1], clause A.1.5.2 xadesv141:SigAndRefsTimeStampV2 * ≥ 0 1 ETSI EN 319 132-1 [1], clause A.1.5.1 Service: ERS inclusion shall be provided ≥ 1 Clause 5 of the present document SPO: xadesen:SealingEvidenceRecords shall be present ≥ 1 Clause 5 of the present document Additional requirements: a) Requirement for xades:SigningTime. The generator shall include the claimed UTC time when the signature was generated as content of the xades:SigningTime qualifying property. b) Requirement for xades:SigningCertificateV2. The xades:SigningCertificateV2 qualifying property shall be present if the signing certificate is not present within the ds:KeyInfo element, or if the signing certificate is present within the ds:KeyInfo element but it is not signed by the signature. Otherwise the xades:SigningCertificateV2 qualifying property may be absent. c) Requirement for xades:SigningCertificateV2. The references to certificates should not include the IssuerSerialV2 element. d) Requirement for xadesv141:SignaturePolicyStore. This qualifying property may be incorporated into the XAdES signature only if the xades:SignaturePolicyIdentifier is also incorporated and it contains the SigPolicyHash element with the digest value of the signature policy document. Otherwise the xadesv141:SignaturePolicyStore shall not be incorporated into the XAdES signature. e) Requirement for xades:SignatureTimeStamp. Each xades:SignatureTimeStamp element may contain one or more electronic time-stamps issued by different TSAs. f) Requirement for xades:SignatureTimeStamp. The electronic time-stamps encapsulated within the signature-time-stamp attributes shall be created before the signing certificate has been revoked or has expired. g) Requirement for xades:CertificateValues and xades:AttrAuthoritiesCertValues. Duplication of certificate values within the signature should be avoided. h) Requirement for incorporation of xades:CertificateValues. The incorporation of xades:CertificateValues shall be determined by requirements specified in ETSI EN 319 132-1 [1], clauses 5.5.2.2 and 5.5.2.3, steps 4) a) of the algorithms specified for computing the input to the electronic time-stamp's message imprint. i) Requirement for incorporation of xades:AttrAuthoritiesCertValues. The incorporation of xades:AttrAuthoritiesCertValues shall be determined by requirements specified in ETSI EN 319 132-1 [1], clauses 5.5.2.2 and 5.5.2.3, steps 4) c) of the algorithms specified for computing the input to the time-stamp token's message imprint. j) Requirement for xades:RevocationValues and xades:AttributeRevocationValues. Duplication of revocation values within the signature should be avoided. k) Requirement for incorporation of xades:RevocationValues. The incorporation of xades:RevocationValues shall be determined by requirements specified in ETSI EN 319 132-1 [1], clauses 5.5.2.2 and 5.5.2.3, steps 4) b) of the algorithms specified for computing the input to the time-stamp token's message imprint. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 15 l) Requirement for incorporation of xades:AttributeRevocationValues. The incorporation of xades:AttributeRevocationValues shall be determined by requirements specified in ETSI EN 319 132-1 [1], clauses 5.5.2.2 and 5.5.2.3, steps 4) d) of the algorithms specified for computing the input to the time-stamp token's message imprint. m) Requirement for service "incorporation of validation data for electronic time-stamps". If the time-stamp token is placed within an evidence-record its validation data shall be incorporated as specified in clause 4.3 of the present document, otherwise, its validation data shall be incorporated as specified in ETSI EN 319 132-1 [1]. n) Requirement for option xadesv141:TimeStampValidationData of service "incorporation of validation data for time-stamp-tokens". The validation data, not present elsewhere within the XAdES signature, and required for verifying for electronic time-stamps incorporated within any of the following qualifying properties: xades:AllDataObjectsTimeStamp, xades:IndividualDataObjectsTimeStamp, xades:SignatureTimeStamp, xades:SigAndRefsTimeStamp, xadesv141:SigAndRefsTimeStampV2, xades:RefsOnlyTimeStamp, xades:, xadesv141:RefsOnlyTimeStampV2, xades:ArchiveTimeStamp, or xadesv141:ArchiveTimeStamp, shall be included in the corresponding xadesv141:TimeStampValidationData qualifying property as specified in ETSI EN 319 132-1 [1]. o) Requirement for xadesv141:ArchiveTimeStamp. Each xadesv141:ArchiveTimeStamp qualifying may contain more than one electronic time-stamp issued by different TSAs. p) Requirement for xadesv141:ArchiveTimeStamp. Before generating and incorporating a new xadesv141:ArchiveTimeStamp qualifying property, all the validation material required for validating the XAdES signature shall be included. This validation material shall include all the certificates and all certificate status information (like CRLs or OCSP responses) required for: - validating the signing certificate; - validating the signing certificate of any countersignature incorporated into the signature; - validating any attribute certificate or signed assertion present in the signature; and - validating the signing certificate of any previous electronic time-stamp already incorporated into the signature within any XAdES electronic time-stamp container qualifying property (including xadesv141:ArchiveTimeStamp qualifying property). q) Requirement for xadesv141:CompleteCertificateRefsV2, and xadesv141:AttributeCertificateRefsV2. The references to certificates should not include the IssuerSerialV2 element. r) Requirement for xadesv141:AttributeCertificateRefsV2 and xades:AttributeRevocationRefs. The xadesv141:AttributeCertificateRefsV2 and xades:AttributeRevocationRefs qualifying properties may be used when at least an attribute certificate or a signed assertion is incorporated into the XAdES signature. Otherwise, xadesv141:AttributeCertificateRefsV2 and xades:AttributeRevocationRefs attributes shall not be used. NOTE 1: On xades:SignatureTimeStamp, xades:IndividualDataObjectsTimeStamp, xades:AllDataObjectsTimeStamp, xadesv141:RefsOnlyTimeStampV2, xadesv141:SigAndRefsTimeStampV2. Several instances of these qualifying properties can be incorporated into the XAdES signature, coming from different TSAs. NOTE 2: On xades:SignaturePolicyIdentifier. The semantics of the signed data objects of XAdES-E- BES, XAdES-E-T, and XAdES-E-A signatures, or their context can implicitly indicate a signature policy. NOTE 3: On xades:SignaturePolicyIdentifier. The signature policy can establish specific requirements for other qualifying properties. NOTE 4: On xades:SignatureTimeStamp. xades:SignatureTimeStamp qualifying property provides the initial steps towards providing long-term validity. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 16
|
aed047926db27688653caaa48504eb1e
|
119 132-3
|
7 Legacy XAdES baseline signatures
|
When an ers:SealingEvidenceRecords unsigned qualifying property is incorporated into legacy XAdES extended signatures, this unsigned qualifying property shall comply with the present document. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 17 Annex A (normative): XML Schema file A.1 XML Schema file location for namespace http://uri.etsi.org/19132/v1.1.1# The file at https://uri.etsi.org/19132/v1.1.1/XAdES1913203v111-202101.xsd (XAdES1913203v111-202101.xsd) contains the definitions of the qualifying properties defined within the namespace whose URI value is http://uri.etsi.org/19132/v1.1.1#. ETSI ETSI TS 119 132-3 V1.1.1 (2021-01) 18 History Document history V1.1.1 January 2021 Publication
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
1 Scope
|
The present document defines a number of test suites to assess the interoperability between implementations claiming conformance to extended CAdES signatures [2]. The present document defines test suites for each level defined in ETSI EN 319 122-2 [2]. Test suites also cover augmentation of extended CAdES signatures and negative test cases. These test suites are agnostic of the PKI infrastructure. Any PKI infrastructure can be used including the one based on EU Member States Trusted Lists.
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
2 References
| |
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
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 EN 319 122-1: "Electronic Signatures and Infrastructures (ESI); CAdES digital signatures; Part 1: Building blocks and CAdES baseline signatures". [2] ETSI EN 319 122-2: "Electronic Signatures and Infrastructures (ESI); CAdES digital signatures; Part 2: Extended CAdES signatures".
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
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] ETSI TR 119 124-1: "Electronic Signatures and Infrastructures (ESI); CAdES digital signatures - Testing Conformance and Interoperability; Part 1: Overview". [i.2] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); The framework for standardization of signatures; Definitions and abbreviations". [i.3] ETSI EN 319 102-1: "Electronic Signatures and Infrastructures (ESI); Procedures for Creation and Validation of AdES Digital Signatures; Part 1: Creation and Validation". [i.4] IETF RFC 3125 (09-2001): "Electronic Signature Policies". ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 6
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
3 Definitions and abbreviations
| |
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
3.1 Definitions
|
For the purposes of the present document, the terms and definitions given in ETSI TR 119 001 [i.2] and the following apply: negative test case: test case for a signature whose validation according to ETSI EN 319 102-1 [i.3] would not result in TOTAL-PASSED
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
3.2 Abbreviations
|
For the purposes of the present document, the abbreviations given in ETSI TR 119 001 [i.2] apply.
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
4 Overview
|
This clause describes the overall approach used to specify test suites for extended CAdES signatures interoperability testing. ETSI EN 319 122-2 [2] defines different signature levels. The test suites are defined with different layers reflecting the levels of extended CAdES signatures specified in [2]. Testing CAdES signatures: • CAdES-E-BES signatures test cases; • CAdES-E-EPES signatures test cases; • CAdES-E-T signatures test cases; • CAdES-E-C test cases; • CAdES-E-X test cases; • CAdES-E-X Long test cases; • CAdES-E-A signatures (with ATSv2 and ATSv3) built on CAdES-E-T signatures test cases. Testing negative CAdES signatures: • CAdES-E-BES test cases; • CAdES-E-EPES test cases; • CAdES-E-T test cases; • CAdES-E-A test cases. Testing augmentation of CAdES signatures: • augmentation to CAdES-E-C levels test cases; • augmentation to CAdES-E-X levels test cases; • augmentation to CAdES-E-XL levels test cases; • augmentation to CAdES-E-A levels test cases. ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 7
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
5 Testing extended CAdES signatures interoperability
| |
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
5.1 CAdES-E-BES test cases
|
The test cases in this clause have been defined for different combinations of CAdES-E-BES signatures attributes. Mandatory attributes for CAdES-E-BES described in [2] specification, clauses 4.2 and 4.3, shall be present. Table 1 shows which attributes are required to generate CAdES-E-BES signatures for each test case. Table 1: Test cases for CAdES-E-BES signatures TC ID Description Pass criteria Signature attributes CAdES/BES/1 This is the simplest CAdES- E-BES signature without signing time. The signature ONLY CONTAINS the mandatory CAdES attributes. Positive validation. The signature shall contain ContentType, MessageDigest, SigningCertificate (included in SignedData.certificates field) and ESSSigningCertificateV2 attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType CAdES/BES/2 This is the simplest CAdES- E-BES signature with signing time. The signature ONLY CONTAINS a signing time attribute in addition to all the mandatory CAdES attributes. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field) and ESSSigningCertificateV2 attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime CAdES/BES/3 In this CAdES-E-BES signature test case the signature contains a CertifiedAttributeV2 in addition to the CAdES/BES/2 test case attributes. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2 and CertifiedAttributeV2 attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime o SignerAttributesV2 (CertifiedAttributeV2) CAdES/BES/4 This test case tests a CAdES-E-BES signature with ContentTimeStamp attribute. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2 and ContentTimeStamp attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime o ContentTimeStamp CAdES/BES/5 This test case tests a CAdES-E-BES signature with CounterSignature attribute. The input to this test is a CAdES-E-BES signature as specified in CAdES/BES/2 test case. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2 and CounterSignature attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o CounterSignature CAdES/BES/6 This test case tests a CAdES-E-BES signature with multiple independent signatures. The input to this test is a CAdES-E-BES signature as specified in CAdES/BES/2 test case. Positive validation. The signature shall contain 2 SigningCertificates (included in SignedData.certificates field) attributes and 2 signerInfos containing ContentType, SigningTime, MessageDigest and ESSSigningCertificateV2 attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 8 TC ID Description Pass criteria Signature attributes CAdES/BES/7 This test case tests a CAdES-E-BES signature with the following attributes at once: - MessageDigest - SigningTime - ESSSigningCertificateV2 - SignerLocation - SignerAttributesV2 (only Claimed Attributes included) - ContentType - ContentHints - ContentIdentifier - CommitmentTypeIndication. Positive validation. The signature shall contain the following attributes: SigningCertificate (included in SignedData.certificates field), MessageDigest, SigningTime, ESSSigningCertificateV2, SignerLocation, SignerAttributesV2 (only Claimed Attributes included), ContentType, ContentHints, ContentIdentifier, CommitmentTypeIndication. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime o SignerLocation o SignerAttributesV2 (ClaimedAttribute) o ContentHints o ContentIdentifier o CommitmentTypeIndication o ContentTimeStamp
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
5.2 CAdES-E-EPES test cases
|
The test cases in this clause have been defined for different combinations of CAdES-E-EPES signatures attributes. Mandatory attributes for CAdES-E-EPES described in [2] specification, clauses 4.2 and 4.3, shall be present. Table 2 shows which attributes are required to generate CAdES-E-EPES signatures for each test case. Table 2: Test cases for CAdES-E-EPES signatures TC ID Description Pass criteria Signature attributes CAdES/EPES/1 This is the simplest CAdES-E- EPES signature. The signature ONLY CONTAINS the mandatory CAdES attributes. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignaturePolicyIdentifier attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime o SignaturePolicyIdentifier CAdES/EPES/2 In this CAdES-E-EPES signature test case the signature-policy-identifier attribute is qualified with additional information within sigPolicyQualifiers. The sigPolicyQualifiers shall include the oid of sp-user- notice (1.2.840.113549.1.9.16.5.2) and a UTF8String as explicitText. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignaturePolicyIdentifier attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime o SignaturePolicyIdentifier o sigPolicyId o sigPolicyHash o SigPolicyQualifierInfo SigPolicyQualifierId Unotice (explicitText) CAdES/EPES/3 This test case tests CAdES- E-EPES signature with the following attributes at once: - MessageDigest - SigningTime - ESSSigningCertificateV2 - SignerLocation - SignaturePolicyIdentifier - ContentType - CommitmentTypeIndication. Positive validation. The signature shall contain the following attributes: MessageDigest, SigningTime, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignerLocation, ContentType, SignaturePolicyIdentifier, CommitmentTypeIndication. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime o SignerLocation o SignaturePolicyIdentifier o CommitmentTypeIndication ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 9
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
5.3 CAdES-E-T test cases
|
The test cases in this clause have been defined for different combinations of CAdES-E-T signatures attributes. Mandatory attributes for CAdES-E-T described in [2] specification, clause 4.3, shall be present. Table 3 shows which attributes are required to generate CAdES-E-T signatures for each test case. Table 3: Test cases for CAdES-E-T signatures TC ID Description Pass criteria Signature attributes CAdES/T/1 This is the simplest CAdES- E-T signature. The signature ONLY CONTAINS the mandatory CAdES attributes. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp CAdES/T/2 This test case tests the adding of an indipendent CAdES-E-T signature to an already signed document in CAdES-E-T format. The input to this test is a CAdES-E-T signature as specified in CAdES/T/1 test case to which a new SignerInfo instance will be added containing another CAdES-E-T signature. Positive validation. The signature shall contain 2 SigningCertificates (included in SignedData.certificates field) attributes and 2 signerInfos containing ContentType, SigningTime, MessageDigest, ESSSigningCertificateV2 and SignatureTimeStamp attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
5.4 CAdES-E-C test cases
|
The test cases in this clause have been defined for different combinations of CAdES-E-C signatures attributes. Mandatory attributes for CAdES-E-C described in [2] specification, clause A.1, shall be present. Table 4 shows which attributes are required to generate CAdES-E-C signatures for each test case. Table 4: Test cases for CAdES-E-C signatures TC ID Description Pass criteria Signature attributes CAdES/C/1 This test case tests a CAdES-E-C signature. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only CRLListIDs shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs and CompleteRevocationRefs attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o CRLListIDs ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 10 TC ID Description Pass criteria Signature attributes CAdES/C/2 This test case tests a CAdES-E-C signature. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only OcspListIDs shall be included. Every OcspListID shall include the ocspIdentifier and the ocspRepHash elements. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs and CompleteRevocationRefs attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o OcspListIDs ocspIdentifier ocspRepHash CAdES/C/3 In this CAdES-E-C signatures interoperability test case the signature contains a CertifiedAttributeV2 in addition to the CAdES/C/1 test case attributes. In the AttributeCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the AttributeRevocationRefs only CRLListIDs shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, AttributeCertificateRefs and AttributeRevocationRefs attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime o SignerAttributesV2 (CertifiedAttributeV2) • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o CRLListIDs o AttributeCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o AttributeRevocationRefs o CRLListIDs CAdES/C/4 In this CAdES-E-C signatures interoperability test case the signature contains a CertifiedAttributeV2 in addition to the CAdES/C/2 test case attributes. In the AttributeCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the AttributeRevocationRefs only OcspListIDs shall be included. Every OcspListID shall include the ocspIdentifier and the ocspRepHash elements. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, AttributeCertificateRefs and AttributeRevocationRefs attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime o SignerAttributesV2 (CertifiedAttributeV2) • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o OcspListIDs ocspIdentifier ocspRepHash o AttributeCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o AttributeRevocationRefs o OcspListIDs ocspIdentifier ocspRepHash ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 11
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
5.5 CAdES-E-X test cases
|
The test cases in this clause have been defined for different combinations of CAdES-E-X signatures attributes. Mandatory attributes for CAdES-E-X described in [2] specification, clause A.1, shall be present. Table 5 shows which attributes are required to generate test CAdES-E-X signatures for each test case. Table 5: Test cases for CAdES-E-X signatures TC ID Description Pass criteria Signature attributes CAdES/X/1 This test case tests a CAdES-E-X Type 1 signature format. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only CRLListIDs shall be included. A CAdES-C timestamp covering the signature, the signature timestamp, the complete- certificate-references attribute and complete- revocation-references attribute shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, ESCTimeStamp attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o CRLListIDs o ESCTimeStamp CAdES/X/2 This test case tests a CAdES-E-X Type 2 signature format. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only CRLListIDs shall be included. A TimestampedCertsCRLs timestamp covering the complete-certificate- references and complete- revocation-references attributes shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, TimestampedCertsCRLs attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o CRLListIDs o TimestampedCertsCRLs CAdES/X/3 This test case tests a CAdES-E-X Type 1 signature format. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only OcspListIDs shall be included. Every OcspListID shall include the ocspIdentifier and the ocspRepHash elements. A CAdES-C timestamp covering the signature, the signature timestamp, the complete-certificate- references attribute and complete-revocation- references attribute shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, ESCTimeStamp attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o OcspListIDs ocspIdentifier ocspRepHash o ESCTimeStamp ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 12 TC ID Description Pass criteria Signature attributes CAdES/X/4 This test case tests a CAdES-E-X Type 2 signature format. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only OcspListIDs shall be included. Every OcspListID shall include the ocspIdentifier and the ocspRepHash elements. A TimestampedCertsCRLs timestamp covering the complete-certificate- references and complete- revocation-references attributes shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, TimestampedCertsCRLs attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o OcspListIDs ocspIdentifier ocspRepHash o TimestampedCertsCRLs
|
61cae43c0e2451863c31e9442f9d8612
|
119 124-3
|
5.6 CAdES-E-XL test cases
|
The test cases in this clause have been defined for different combinations of CAdES-E-XL signatures attributes. Mandatory attributes for CAdES-E-XL described in [2] specification, clause A.1, shall be present. Table 6 shows which attributes are required to generate test CAdES-E-XL signatures for each test case. Table 6: Test cases for CAdES-E-XL signatures TC ID Description Pass criteria Signature attributes CAdES/XL/1 This test case tests a CAdES-E-XL Type 1 signature format. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only CRLListIDs shall be included. In the RevocationValues only crlVals shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, ESCTimeStamp, CertificateValues, RevocationValues attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o CRLListIDs o ESCTimeStamp o CertificateValues o RevocationValues o crlVals ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 13 TC ID Description Pass criteria Signature attributes CAdES/XL/2 This test case tests a CAdES-E-XL Type 2 signature format. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only CRLListIDs shall be included. In the RevocationValues only crlVals shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, TimestampedCertsCRLs, CertificateValues, RevocationValues attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o CRLListIDs o TimestampedCertsCRLs o CertificateValues o RevocationValues o crlVals CAdES/XL/3 This test case tests a CAdES-E-XL Type 1 signature format. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only OcspListIDs shall be included. Every OcspListID shall include the ocspIdentifier and the ocspRepHash elements. In the RevocationValues only ocspVals shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, ESCTimeStamp, CertificateValues, RevocationValues attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o OcspListIDs ocspIdentifier ocspRepHash o ESCTimeStamp o CertificateValues o RevocationValues o ocspVals CAdES/XL/4 This test case tests a CAdES-E-XL Type 2 signature format. In the CompleteCertificateRefs both IssuerSerial and OtherHashAlgAndValue shall be included. In the CompleteRevocationRefs only OcspListIDs shall be included. Every OcspListID shall include the ocspIdentifier and the ocspRepHash elements. In the RevocationValues only ocspVals shall be included. Positive validation. The signature shall contain ContentType, SigningTime, MessageDigest, SigningCertificate (included in SignedData.certificates field), ESSSigningCertificateV2, SignatureTimeStamp, CompleteCertificateRefs, CompleteRevocationRefs, TimestampedCertsCRLs, CertificateValues, RevocationValues attributes. • Certificates o SigningCertificate • SignedAttributes o MessageDigest o ESSSigningCertificateV2 o ContentType o SigningTime • UnsignedAttributes o SignatureTimeStamp o CompleteCertificateRefs o IssuerSerial o OtherHashAlgAndVal ue o CompleteRevocationRefs o OcspListIDs ocspIdentifier ocspRepHash o TimestampedCertsCRLs o CertificateValues o RevocationValues o ocspVals ETSI ETSI TS 119 124-3 V1.1.1 (2016-06) 14
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.