|
TECHNICAL SPECIFICATION
Electronic Signatures and Infrastructures (ESI);
XAdES digital signatures;
Part 1: Building blocks and XAdES baseline signatures
�
---------------------- Page: 1 ----------------------
2 ETSI TS 119 132-1 V1.0.1 (2015-07)
Reference
RTS/ESI-0019132-1-TS
Keywords
electronic signature, security, XAdES, XML
ETSI
650 Route des Lucioles
F-06921 Sophia Antipolis Cedex - FRANCE
Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16
Siret N° 348 623 562 00017 - NAF 742 C
Association à but non lucratif enregistrée à la
Sous-Préfecture de Grasse (06) N° 7803/88
Important notice
The present document can be downloaded from:
The present document may be made available in electronic versions and/or in print. The content of any electronic and/or
print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any
existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the
print of the Portable Document Format (PDF) version kept on a specific network drive within ETSI Secretariat.
Users of the present document should be aware that the document may be subject to revision or change of status.
Information on the current status of this and other ETSI documents is available at
http://portal.etsi.org/tb/status/status.asp
If you find errors in the present document, please send your comment to one of the following services:
Copyright Notification
No part may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying
and microfilm except as authorized by written permission of ETSI.
The content of the PDF version shall not be modified without the written authorization of ETSI.
The copyright and the foregoing restriction extend to reproduction in all media.
© European Telecommunications Standards Institute 2015.
All rights reserved.
TM TM TM
DECT , PLUGTESTS , UMTS and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members.
TM
3GPP and LTE™ are Trade Marks of ETSI registered for the benefit of its Members and
of the 3GPP Organizational Partners.
GSM® and the GSM logo are Trade Marks registered and owned by the GSM Association.
ETSI
---------------------- Page: 2 ----------------------
3 ETSI TS 119 132-1 V1.0.1 (2015-07)
Contents
Intellectual Property Rights . 5
Foreword . 5
Modal verbs terminology . 5
Introduction . 5
1 Scope . 6
2 References . 6
2.1 Normative references . 6
2.2 Informative references . 7
3 Definitions, abbreviations and terminology . 8
3.1 Definitions . 8
3.2 Abbreviations . 9
3.3 Terminology . 9
4 General Syntax . 10
4.1 General requirements . 10
4.2 XML Namespaces . 10
4.3 The QualifyingProperties container . 11
4.3.1 Semantics and syntax . 11
4.3.2 The SignedProperties container . 11
4.3.3 The UnsignedProperties container . 12
4.3.4 The SignedSignatureProperties container . 12
4.3.5 The SignedDataObjectProperties container . 13
4.3.6 The UnsignedSignatureProperties container . 14
4.3.7 The UnsignedDataObjectProperties container. 15
4.4 Incorporating qualifying properties into XAdES signatures . 15
4.4.1 General requirements . 15
4.4.2 Signing properties . 16
4.4.3 The QualifyingPropertiesReference element . 16
4.5 Managing canonicalization of XML nodesets . 16
5 Qualifying properties semantics and syntax . 17
5.1 Auxiliary syntax . 17
5.1.1 The AnyType data type . 17
5.1.2 The ObjectIdentifierType data type . 17
5.1.3 The EncapsulatedPKIDataType data type . 19
5.1.4 Types for electronic time-stamps management. 19
5.1.4.1 Semantics . 19
5.1.4.2 Containers for electronic time-stamps . 20
5.1.4.3 The GenericTimeStampType data type . 20
5.1.4.4 The XAdESTimeStampType data type . 21
5.1.4.4.1 Semantics and syntax . 21
5.1.4.4.2 Include mechanism . 22
5.1.4.5 The OtherTimeStampType data type . 23
5.2 Basic qualifying properties for XAdES signatures . 24
5.2.1 The SigningTime qualifying property . 24
5.2.2 The SigningCertificateV2 qualifying property . 24
5.2.3 The CommitmentTypeIndication qualifying property . 25
5.2.4 The DataObjectFormat qualifying property . 26
5.2.5 The SignatureProductionPlaceV2 qualifying property . 27
5.2.6 The SignerRoleV2 qualifying property . 28
5.2.7 Countersignatures . 29
5.2.7.1 Countersignature identifier in Type attribute of ds:Reference . 29
5.2.7.2 Enveloped countersignatures: the CounterSignature qualifying property . 29
5.2.8 Time-stamps on signed data objects . 31
ETSI
---------------------- Page: 3 ----------------------
4 ETSI TS 119 132-1 V1.0.1 (2015-07)
5.2.8.1 The AllDataObjectsTimeStamp qualifying property . 31
5.2.8.2 The IndividualDataObjectsTimeStamp qualifying property . 31
5.2.9 The SignaturePolicyIdentifier qualifying property . 32
5.2.9.1 Semantics and syntax . 32
5.2.9.2 Signature policy qualifiers . 33
5.2.10 The SignaturePolicyStore qualifying property . 34
5.3 The SignatureTimeStamp qualifying property . 35
5.4 Qualifying Properties for validation data values . 36
5.4.1 The CertificateValues qualifying property . 36
5.4.2 The RevocationValues qualifying property . 37
5.4.3 The AttrAuthoritiesCertValues qualifying property . 38
5.4.4 The AttributeRevocationValues qualifying property . 39
5.5 Qualifying properties for long term availability and integrity of validation material . 39
5.5.1 The TimeStampValidationData qualifying property . 39
5.5.1.1 Semantics and syntax . 39
5.5.1.2 Use of URI attribute . 40
5.5.2 The ArchiveTimeStamp qualifying property defined in namespace with URI
"http://uri.etsi.org/01903/v1.4.1#" . 41
5.5.2.1 Semantics and syntax . 41
5.5.2.2 Not distributed case . 42
5.5.2.3 Distributed case . 43
5.5.3 The RenewedDigests qualifying property . 43
6 XAdES baseline signatures . 44
6.1 Signature levels . 44
6.2 General requirements . 45
6.2.1 Algorithm requirements . 45
6.2.2 Notation for requirements . 45
6.3 Requirements on XAdES signature's elements, qualifying properties and services . 48
6.4 Legacy XAdES baseline signatures . 54
Annex A (normative): Additional Qualifying Properties Specification . 55
A.1 Qualifying properties for validation data . 55
A.1.1 The CompleteCertificateRefsV2 qualifying property . 55
A.1.2 The CompleteRevocationRefs qualifying property . 55
A.1.3 The AttributeCertificateRefsV2 qualifying property . 58
A.1.4 The AttributeRevocationRefs qualifying property . 59
A.1.5 Time-stamps on references to validation data . 60
A.1.5.1 The SigAndRefsTimeStampV2 qualifying property . 60
A.1.5.1.1 Semantics and syntax . 60
A.1.5.1.2 Not distributed case . 60
A.1.5.1.3 Distributed case . 61
A.1.5.2 The RefsOnlyTimeStampV2 qualifying property . 61
A.1.5.2.1 Semantics and syntax . 61
A.1.5.2.2 Not distributed case . 62
A.1.5.2.3 Distributed case . 62
Annex B (normative): XML Schema files . 63
B.1 XML Schema file location for namespace http://uri.etsi.org/01903/v1.3.2# . 63
B.2 XML Schema file location for namespace http://uri.etsi.org/01903/v1.4.1# . 63
Annex C (normative): Deprecated qualifying properties . 64
Annex D (informative): Change History . 65
History . 66
ETSI
---------------------- Page: 4 ----------------------
5 ETSI TS 119 132-1 V1.0.1 (2015-07)
Intellectual Property Rights
IPRs essential or potentially essential to the present document may have been declared to ETSI. The information
pertaining to these essential IPRs, if any, is publicly available for ETSI members and non-members, and can be found
in ETSI SR 000 314: "Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in
respect of ETSI standards", which is available from the ETSI Secretariat. Latest updates are available on the ETSI Web
server (http://ipr.etsi.org).
Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee
can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web
server) which are, or may be, or may become, essential to the present document.
Foreword
This Technical Specification (TS) has been produced by ETSI Technical Committee Electronic Signatures and
Infrastructures (ESI).
The present document is part 1 of a multi-part deliverable specifying XAdES digital signatures as identified below:
Part 1: "Building blocks and XAdES baseline signatures";
Part 2: "Extended XAdES signatures".
Three XML files, whose locations are detailed in clauses B.1 and B.2, and which contain XML Schema definitions,
accompany the present document.
Modal verbs terminology
In the present document "shall", "shall not", "should", "should not", "may", "need not", "will", "will not", "can" and
"cannot" are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of
provisions).
"must" and "must not" are NOT allowed in ETSI deliverables except when used in direct citation.
Introduction
Electronic commerce has emerged as a frequent way of doing business between companies across local, wide area and
global networks. Trust in this way of doing business is essential for the success and continued development of
electronic commerce. It is therefore important that companies using this electronic means of doing business have
suitable security controls and mechanisms in place to protect their transactions and to ensure trust and confidence with
their business partners. In this respect digital signatures are an important security component that can be used to protect
information and provide trust in electronic business.
The present document is intended to cover digital signatures supported by PKI and public key certificates, and aims to
meet the general requirements of the international community to provide trust and confidence in electronic transactions,
including, amongst other, applicable requirements from Regulation (EU) No 910/2014 [i.1].
The present document can be used for any transaction between an individual and a company, between two companies,
between an individual and a governmental body, etc. The present document is independent of any environment. It can
be applied to any environment e.g. smart cards, SIM cards, special programs for electronic signatures, etc.
The present document is part of a rationalized framework of standards (see ETSI TR 119 000 [i.10]).
ETSI TR 119 100 [i.11] provides guidance on how to use the present document within the aforementioned framework.
ETSI
---------------------- Page: 5 ----------------------
6 ETSI TS 119 132-1 V1.0.1 (2015-07)
1 Scope
The present document specifies XAdES digital signatures. XAdES signatures build on XML digital signatures [1], by
incorporation of signed and unsigned qualifying properties, which fulfil certain common requirements (such as the long
term validity of digital signatures, for instance) in a number of use cases.
The present document specifies XML Schema definitions for the aforementioned qualifying properties as well as
mechanisms for incorporating them into XAdES signatures.
The present document specifies formats for XAdES baseline signatures, which provide the basic features necessary for
a wide range of business and governmental use cases for electronic procedures and communications to be applicable to
a wide range of communities when there is a clear need for interoperability of digital signatures used in electronic
documents.
The present document defines four levels of XAdES baseline signatures addressing incremental requirements to
maintain the validity of the signatures over the long term, in a way that a certain level always addresses all the
requirements addressed at levels that are below it. Each level requires the presence of certain XAdES qualifying
properties, suitably profiled for reducing the optionality as much as possible.
Procedures for creation and validation of XAdES digital signatures are out of scope and specified in
ETSI TS 119 102-1 [i.6].
The present document aims at supporting electronic signatures in different regulatory frameworks.
NOTE: Specifically but not exclusively, XAdES digital signatures specified in the present document aim at
supporting electronic signatures, advanced electronic signatures, qualified electronic signatures,
electronic seals, advanced electronic seals, and qualified electronic seals as per Regulation (EU)
No 910/2014 [i.1].
2 References
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] W3C Recommendation (11 April 2013): "XML Signature Syntax and Processing. Version 1.1".
[2] W3C Recommendation Part 1 (28 October 2004): "XML Schema Part 1: Structures Second
Edition".
[3] W3C Recommendation Part 2 (28 October 2004): "XML Schema Part 2: Datatypes Second
Edition".
[4] Recommendation ITU-T X.509: "Information technology - Open Systems Interconnection - The
Directory: Public-key and attribute certificate frameworks".
[5] W3C Recommendation (26 November 2008): "Extensible Markup Language (XML) 1.0".
[6] IETF RFC 6960: "X.509 Internet Public Key Infrastructure Online Certificate Status Protocol -
OCSP".
[7] IETF RFC 3161: "Internet X.509 Public Key Infrastructure Time Stamp Protocol (TSP)".
ETSI
---------------------- Page: 6 ----------------------
7 ETSI TS 119 132-1 V1.0.1 (2015-07)
[8] IETF RFC 3061: "A URN Namespace of Object Identifiers".
[9] W3C Recommendation (15 March 2001): "Canonical XML Version 1.0".
[10] W3C Recommendation (18 July 2002): "Exclusive XML Canonicalization Version 1.0".
[11] W3C Recommendation (2 May 2008): "Canonical XML Version 1.1".
[12] IETF RFC 3986: "Uniform Resource Identifier (URI): Generic Syntax".
[13] W3C Recommendation (8 November 2002): "XML-Signature XPath Filter 2.0".
[14] ISO/IEC 29500-2:2012: "Information technology -- Document description and processing
languages -- Office Open XML File Formats -- Part 2: Open Packaging Conventions".
[15] IETF RFC 5280: "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation
List (CRL) Profile".
[16] IETF RFC 5816: "ESSCertIDv2 Update for RFC 3161".
[17] IETF RFC 5035: "Enhanced Security Services (ESS) Update: Adding CertID Algorithm Agility".
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] Regulation (EU) No 910/2014 of the European Parliament and of the Council on electronic
identification and trust services for electronic transactions in the internal market and repealing
Directive 1999/93/EC. OJ L 257, 28.08.2014, p. 73-114.
[i.2] ETSI TS 101 903: "Electronic Signatures and Infrastructures (ESI); XML Advanced Electronic
Signatures (XAdES)".
[i.3] ETSI TS 103 171: "Electronic Signatures and Infrastructures (ESI); XAdES Baseline Profile".
[i.4] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); Definitions and
abbreviations".
[i.5] Commission Decision 2009/767/EC of 16 October 2009 amended by CD 2010/425/EU of 28 July
2010, setting out measures facilitating the use of procedures by electronic means through the
"points of single contact" under Directive 2006/123/EC of the European Parliament and of the
Council on services in the internal market.
[i.6] ETSI TS 119 102-1: "Electronic Signatures and Infrastructures (ESI); Procedures for Signature
Creation and Validation".
[i.7] ETSI TS 119 172-1: "Electronic Signatures and Infrastructures (ESI); Signature Policies; Part 1:
Building blocks and table of contents for human readable signature policy documents".
[i.8] IETF RFC 6931: "Additional XML Security Uniform Resource Identifiers (URIs)".
[i.9] OASIS Standard: "Assertions and Protocols for the OASIS Security Assertion Markup Language
(SAML) V2.0".
[i.10] ETSI TR 119 000: "Electronic Signatures and Infrastructures (ESI); Rationalized structure for
Electronic Signature Standardization".
ETSI
---------------------- Page: 7 ----------------------
8 ETSI TS 119 132-1 V1.0.1 (2015-07)
[i.11] ETSI TR 119 100: "Electronic Signatures and Infrastructures (ESI); Business Driven Guidance for
Signature Creation and Validation".
[i.12] ETSI TS 119 612: "Electronic Signatures and Infrastructures (ESI); Trusted Lists".
[i.13] ETSI TS 101 533-1: "Electronic Signatures and Infrastructures (ESI); Data Preservation Systems
Security; Part 1: Requirements for Implementation and Management".
[i.14] ETSI TS 119 312: "Electronic Signatures and Infrastructures (ESI); Cryptographic Suites".
[i.15] IETF RFC 4998: "Evidence Record Syntax (ERS)".
[i.16] ETSI TS 119 132-2: "Electronic Signatures and Infrastructures (ESI); XAdES digital signatures;
Part 2: Extended XAdES signatures".
3 Definitions, abbreviations and terminology
3.1 Definitions
For the purposes of the present document, the terms and definitions given in ETSI TR 119 001 [i.4] and the following
apply:
attribute certificate: data structure, digitally signed by an attribute authority, that binds some attribute values with
identification information about its holder
certificate revocation list: signed list indicating a set of certificates that are no longer considered valid by the
certificate issuer
data object: actual binary/octet data being operated on (transformed, digested, or signed) by an application
NOTE: This definition is part of the definition of this term within XMLDSIG [1].
digital signature: data appended to, or a cryptographic transformation of a data unit that allows a recipient of the data
unit to prove the source and integrity of the data unit and protect against forgery e.g. by the recipient
digital signature value: result of cryptographic transformation of a data unit that allows a recipient of the data unit to
prove the source and integrity of the data unit and protect against forgery e.g. by the recipient
electronic time-stamp: data in electronic form which binds other electronic data to a particular time establishing
evidence that these data existed at that time
NOTE: In the case of IETF RFC 3161 [7] protocol, updated by IETF RFC 5816 [16], the electronic time-stamp is
referring to the timeStampToken field within the TimeStampResp element (the TSA's response
returned to the requesting client).
legacy XAdES 101 903 signature: digital signature generated according to ETSI TS 101 903 [i.2]
legacy XAdES baseline signatu
...