SIST EN 319 122-1 V1.1.1:2016
(Main)Electronic Signatures and Infrastructures (ESI) - CAdES digital signatures - Part 1: Building blocks and CAdES baseline signatures
Electronic Signatures and Infrastructures (ESI) - CAdES digital signatures - Part 1: Building blocks and CAdES baseline signatures
The present document specifies CAdES digital signatures. CAdES signatures are built on CMS signatures [7], by
incorporation of signed and unsigned attributes, 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 the ASN.1 definitions for the aforementioned attributes as well as their usage when
incorporating them to CAdES signatures.
The present document specifies formats for CAdES 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 CAdES 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 CAdES attributes, suitably
profiled for reducing the optionality as much as possible.
Procedures for creation, augmentation and validation of CAdES digital signatures are out of scope and specified in
ETSI EN 319 102-1 [i.5]. Guidance on creation, augmentation and validation of CAdES digital signatures including the
usage of the different properties defined in the present document is provided in ETSI TR 119 100 [i.4].
The present document aims at supporting digital signatures in different regulatory frameworks.
NOTE: Specifically, but not exclusively, CAdES 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.13].
Elektronski podpisi in infrastruktura (ESI) - Digitalni podpisi CAdES - 1. del: Gradniki in izhodiščni podpisi CAdES
Ta dokument določa digitalne podpise CAdES. Podpisi CAdES temeljijo na podpisih CMS [7] z vključitvijo podpisanih in nepodpisanih atributov, ki izpolnjujejo določene splošne zahteve (kot je na primer dolgoročna veljavnost digitalnih podpisov) v številnih primerih uporabe.
V tem dokumentu so določene definicije ASN.1 za zgoraj omenjene atribute in njihova uporaba pri vključevanju v podpise CAdES.
Ta dokument določa specifične formate za izhodiščne podpise CAdES, ki zagotavljajo osnovne funkcije, zaradi katerih se lahko različni poslovni in vladni primeri uporabe za elektronske postopke in komunikacijo uporabijo za širok nabor skupnosti, kadar obstaja jasna potreba po interoperabilnosti digitalnih podpisov, uporabljenih v elektronskih dokumentih.
V tem dokumentu so določene štiri ravni izhodiščnih podpisov CAdES, ki obravnavajo naraščajoče zahteve po dolgoročnem ohranjanju veljavnosti podpisov, pri čemer določena raven vedno obravnava vse zahteve, obravnavane na njenih podravneh. Vsaka raven zahteva prisotnost določenih atributov CAdES, ki ustrezno zmanjšujejo možnost izbire.
Postopki izdelave, razširitve in potrjevanja digitalnih podpisov CAdES v tem dokumentu niso zajeti ter so določeni v standardu ETSI EN 319 102-1 [i.5]. Smernice glede izdelave, razširitve in potrjevanja digitalnih podpisov CAdES, vključno z uporabo različnih lastnosti, določenih v tem dokumentu, so podane v standardu ETSI TR 119 100 [i.4].
Namen tega dokumenta je zagotavljanje podpore za digitalne podpise v različnih regulativnih okvirjih.
OPOMBA: Namen digitalnih podpisov CAdES, določenih v tem dokumentu, je zlasti (vendar ne izključno) zagotavljanje podpore za elektronske podpise, napredne elektronske podpise, kvalificirane elektronske podpise, elektronske žige, napredne elektronske žige in kvalificirane elektronske žige skladno z Uredbo (EU) št. 910/2014 [i.13].
General Information
Buy Standard
Standards Content (Sample)
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.Electronic Signatures and Infrastructures (ESI) - CAdES digital signatures - Part 1: Building blocks and CAdES baseline signatures35.040.01Kodiranje informacij na splošnoInformation coding in generalICS:Ta slovenski standard je istoveten z:ETSI EN 319 122-1 V1.1.1 (2016-04)SIST EN 319 122-1 V1.1.1:2016en01-junij-2016SIST EN 319 122-1 V1.1.1:2016SLOVENSKI
STANDARD
SIST EN 319 122-1 V1.1.1:2016
ETSI EN 319 122-1 V1.1.1 (2016-04) Electronic Signatures and Infrastructures (ESI); CAdES digital signatures; Part 1: Building blocks and CAdES baseline signatures
EUROPEAN STANDARD SIST EN 319 122-1 V1.1.1:2016
ETSI ETSI EN 319 122-1 V1.1.1 (2016-04) 2
Reference DEN/ESI-0019122-1 Keywords ASN.1, CAdES, electronic signature, profile, security 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: http://www.etsi.org/standards-search 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 https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx If you find errors in the present document, please send your comment to one of the following services: https://portal.etsi.org/People/CommiteeSupportStaff.aspx 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 2016. All rights reserved.
DECTTM, PLUGTESTSTM, UMTSTM and the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM 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. SIST EN 319 122-1 V1.1.1:2016
ETSI ETSI EN 319 122-1 V1.1.1 (2016-04) 3 Contents Intellectual Property Rights . 5 Foreword . 5 Modal verbs terminology . 5 Introduction . 5 1 Scope . 7 2 References . 7 2.1 Normative references . 7 2.2 Informative references . 8 3 Definitions and abbreviations . 9 3.1 Definitions . 9 3.2 Abbreviations . 10 4 General syntax . 10 4.1 General requirements . 10 4.2 The data content type. 10 4.3 The signed-data content type . 11 4.4 The SignedData type . 11 4.5 The EncapsulatedContentInfo type . 11 4.6 The SignerInfo type . 11 4.7 ASN.1 Encoding . 11 4.7.1 DER . 11 4.7.2 BER . 11 4.8 Other standard data structures . 12 4.8.1 Time-stamp token format . 12 4.8.2 Additional types . 12 4.9 Attributes . 12 5 Attribute semantics and syntax . 12 5.1 CMS defined basic signed attributes . 12 5.1.1 The content-type attribute . 12 5.1.2 The message-digest attribute . 13 5.2 Basic attributes for CAdES signatures . 13 5.2.1 The signing-time attribute . 13 5.2.2 Signing certificate reference attributes . 13 5.2.2.1 General requirements . 13 5.2.2.2 ESS signing-certificate attribute . 13 5.2.2.3 ESS signing-certificate-v2 attribute . 14 5.2.3 The commitment-type-indication attribute . 14 5.2.4 Attributes for identifying the signed data type . 15 5.2.4.1 The content-hints attribute . 15 5.2.4.2 The mime-type attribute . 16 5.2.5 The signer-location attribute . 16 5.2.6 Incorporating attributes of the signer . 17 5.2.6.1 The signer-attributes-v2 attribute . 17 5.2.6.2 claimed-SAML-assertion . 18 5.2.7 The countersignature attribute . 19 5.2.8 The content-time-stamp attribute . 19 5.2.9 The signature-policy-identifier attribute and the SigPolicyQualifierInfo type . 19 5.2.9.1 The signature-policy-identifier attribute . 19 5.2.9.2 The SigPolicyQualifierInfo type . 20 5.2.10 The signature-policy-store attribute . 22 5.2.11 The content-reference attribute . 23 5.2.12 The content-identifier attribute . 23 5.3 The signature-time-stamp attribute . 23 5.4 Attributes for validation data values . 24 SIST EN 319 122-1 V1.1.1:2016
ETSI ETSI EN 319 122-1 V1.1.1 (2016-04) 4 5.4.1 Introduction. 24 5.4.2 OCSP responses . 24 5.4.2.1 OCSP response types . 24 5.4.2.2 OCSP responses within RevocationInfoChoices . 24 5.4.3 CRLs . 24 5.5 Attributes for long term availability and integrity of validation material . 24 5.5.1 Introduction. 24 5.5.2 The ats-hash-index-v3 attribute . 25 5.5.3 The archive-time-stamp-v3 attribute . 26 6 CAdES baseline signatures . 29 6.1 Signature levels . 29 6.2 General requirements . 29 6.2.1 Algorithm requirements . 29 6.2.2 Notation for requirements . 29 6.3 Requirements on components and services . 32 6.4 Legacy CAdES baseline signatures . 35 Annex A (normative): Additional Attributes Specification . 36 A.1 Attributes for validation data . 36 A.1.1 Certificates validation data . 36 A.1.1.1 The complete-certificate-references attribute . 36 A.1.1.2 The certificate-values attribute . 37 A.1.2 Revocation validation data . 37 A.1.2.1 The complete-revocation-references attribute. 37 A.1.2.2 The revocation-values attribute . 39 A.1.3 The attribute-certificate-references attribute . 40 A.1.4 The attribute-revocation-references attribute . 41 A.1.5 Time-stamps on references to validation data . 42 A.1.5.1 The time-stamped-certs-crls-references attribute . 42 A.1.5.2 The CAdES-C-timestamp attribute . 43 A.2 Deprecated attributes . 43 A.2.1 Usage of deprecated attributes . 43 A.2.2 The other-signing-certificate attribute . 43 A.2.3 The signer-attributes attribute . 44 A.2.4 The archive-time-stamp attribute . 44 A.2.5 The long-term-validation attribute . 44 A.2.6 The ats-hash-index attribute . 44 Annex B (normative): Alternative mechanisms for long term availability and integrity of validation data . 45 Annex C (informative): Signature Format Definitions Using X.208 ASN.1 Syntax . 46 Annex D (normative): Signature Format Definitions Using X.680 ASN.1 Syntax . 52 Annex E (informative): Example Structured Contents and MIME . 59 E.1 Use of MIME to Encode Data . 59 E.1.1 MIME Structure . 59 E.1.2 Header Information . 59 E.1.3 Content Encoding . 60 E.1.4 Multi-Part Content . 60 E.2 S/MIME . 60 E.2.1 Using S/MIME . 60 E.2.2 Using application/pkcs7-mime . 61 E.2.3 Using multipart/signed and application/pkcs7-signature . 61 E.3 Use of MIME in the signature . 62 History . 64
SIST EN 319 122-1 V1.1.1:2016
ETSI ETSI EN 319 122-1 V1.1.1 (2016-04) 5 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 (https://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 European Standard (EN) has been produced by ETSI Technical Committee Electronic Signatures and Infrastructures (ESI). The present document is part 1 of a multi-part deliverable covering CAdES digital signatures, as identified below: Part 1: "Building blocks and CAdES baseline signatures"; Part 2: "Extended CAdES signatures". The present document partly contains an evolved specification of the ETSI TS 101 733 [1] and ETSI TS 103 173 [i.1].
National transposition dates Date of adoption of this EN: 1 April 2016 Date of latest announcement of this EN (doa): 31 July 2016 Date of latest publication of new National Standard or endorsement of this EN (dop/e):
31 January 2017 Date of withdrawal of any conflicting National Standard (dow): 31 January 2017
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.13]. SIST EN 319 122-1 V1.1.1:2016
ETSI ETSI EN 319 122-1 V1.1.1 (2016-04) 6 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, GSM 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.2]). See ETSI TR 119 100 [i.4] for getting guidance on how to use the present document within the aforementioned framework. SIST EN 319 122-1 V1.1.1:2016
ETSI ETSI EN 319 122-1 V1.1.1 (2016-04) 7 1 Scope The present document specifies CAdES digital signatures. CAdES signatures are built on CMS signatures [7], by incorporation of signed and unsigned attributes, 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 the ASN.1 definitions for the aforementioned attributes as well as their usage when incorporating them to CAdES signatures. The present document specifies formats for CAdES 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 CAdES 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 CAdES attributes, suitably profiled for reducing the optionality as much as possible. Procedures for creation, augmentation and validation of CAdES digital signatures are out of scope and specified in ETSI EN 319 102-1 [i.5]. Guidance on creation, augmentation and validation of CAdES digital signatures including the usage of the different properties defined in the present document is provided in ETSI TR 119 100 [i.4]. The present document aims at supporting digital signatures in different regulatory frameworks. NOTE: Specifically, but not exclusively, CAdES 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.13]. 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] ETSI TS 101 733 (V2.2.1): "Electronic Signatures and Infrastructures (ESI); CMS Advanced Electronic Signatures (CAdES)". [2] IETF RFC 2045 (1996): "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies". [3] IETF RFC 2634 (1999): "Enhanced Security Services for S/MIME". [4] IETF RFC 3161 (2001): "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)". [5] IETF RFC 5035 (2007): "Enhanced Security Services (ESS) Update: Adding CertID Algorithm Agility". [6] IETF RFC 5280 (2008): "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile". NOTE: Obsoletes IETF RFC 3280. SIST EN 319 122-1 V1.1.1:2016
ETSI ETSI EN 319 122-1 V1.1.1 (2016-04) 8 [7] IETF RFC 5652 (2009): "Cryptographic Message Syntax (CMS)". NOTE: Obsoletes IETF RFC 3852. [8] IETF RFC 5755 (2010): "An Internet Attribute Certificate Profile for Authorization". NOTE: Obsoletes IETF RFC 3281. [9] IETF RFC 5816 (2010): "ESSCertIDv2 Update for RFC 3161". [10] IETF RFC 5911 (2010): "New ASN.1 Modules for Cryptographic Message Syntax (CMS) and S/MIME". [11] IETF RFC 5912 (2010): "New ASN.1 Modules for the Public Key Infrastructure Using X.509 (PKIX)". NOTE: Updated by IETF RFC 6268. [12] IETF RFC 6268 (2011): "Additional New ASN.1 Modules for the Cryptographic Message Syntax (CMS) and the Public Key Infrastructure Using X.509 (PKIX)". [13] IETF RFC 5940 (2010): "Additional Cryptographic Message Syntax (CMS) Revocation Information Choices". [14] IETF RFC 6960 (2013): "X.509 Internet Public Key Infrastructure Online Certificate Status Protocol - OCSP". NOTE: Obsoletes IETF RFC 2560. [15] Recommendation ITU-T X.520 (11/2008)/ISO/IEC 9594-6:2008): "Information technology - Open Systems Interconnection - The Directory: Selected attribute types". [16] Recommendation ITU-T X.680 (2008): "Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation". [17] Recommendation ITU-T X.690 (2008): "Information technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)". [18] OASIS Standard: "Security Assertion Markup Language (SAML) V2.0". 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 TS 103 173: "Electronic Signatures and Infrastructures (ESI); CAdES Baseline Profile". [i.2] ETSI TR 119 000: "Electronic Signatures and Infrastructures (ESI); The framework for standardization of signatures: overview". [i.3] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); The framework for standardization of signatures; Definitions and abbreviations". [i.4] ETSI TR 119 100: "Electronic Signatures and Infrastructures (ESI); Business Driven Guidance for Signature Creation and Validation". [i.5] ETSI EN 319 102-1: "Electronic Signatures and Infrastructures (ESI); Procedures for Creation and Validation of AdES Digital Signatures; Part 1: Creation and Validation". SIST EN 319 122-1 V1.1.1:2016
ETSI ETSI EN 319 122-1 V1.1.1 (2016-04) 9 [i.6] ETSI EN 319 122-2: "Electronic Signatures and Infrastructures (ESI); CAdES digital signatures; Part 2: Extended CAdES signatures". [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] ETSI TS 119 312: "Electronic Signatures and Infrastructures (ESI); Cryptographic Suites". [i.9] ETSI EN 319 422: "Electronic Signatures and Infrastructures (ESI); Time-stamping protocol and time-stamp token profiles". [i.10] ETSI TS 101 533-1: "Electronic Signatures and Infrastructures (ESI); Data Preservation Systems Security; Part 1: Requirements for Implementation and Management". [i.11] ETSI TS 119 612: "Electronic Signatures and Infrastructures (ESI); Trusted Lists". [i.12] 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 th
...
ETSI EN 319 122-1 V1.1.1 (2016-04)
EUROPEAN STANDARD
Electronic Signatures and Infrastructures (ESI);
CAdES digital signatures;
Part 1: Building blocks and CAdES baseline signatures
---------------------- Page: 1 ----------------------
2 ETSI EN 319 122-1 V1.1.1 (2016-04)
Reference
DEN/ESI-0019122-1
Keywords
ASN.1, CAdES, electronic signature, profile,
security
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:
http://www.etsi.org/standards-search
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
https://portal.etsi.org/TB/ETSIDeliverableStatus.aspx
If you find errors in the present document, please send your comment to one of the following services:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
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 2016.
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 EN 319 122-1 V1.1.1 (2016-04)
Contents
Intellectual Property Rights . 5
Foreword . 5
Modal verbs terminology . 5
Introduction . 5
1 Scope . 7
2 References . 7
2.1 Normative references . 7
2.2 Informative references . 8
3 Definitions and abbreviations . 9
3.1 Definitions . 9
3.2 Abbreviations . 10
4 General syntax . 10
4.1 General requirements . 10
4.2 The data content type. 10
4.3 The signed-data content type . 11
4.4 The SignedData type . 11
4.5 The EncapsulatedContentInfo type . 11
4.6 The SignerInfo type . 11
4.7 ASN.1 Encoding . 11
4.7.1 DER . 11
4.7.2 BER . 11
4.8 Other standard data structures . 12
4.8.1 Time-stamp token format . 12
4.8.2 Additional types . 12
4.9 Attributes . 12
5 Attribute semantics and syntax . 12
5.1 CMS defined basic signed attributes . 12
5.1.1 The content-type attribute . 12
5.1.2 The message-digest attribute . 13
5.2 Basic attributes for CAdES signatures . 13
5.2.1 The signing-time attribute . 13
5.2.2 Signing certificate reference attributes . 13
5.2.2.1 General requirements . 13
5.2.2.2 ESS signing-certificate attribute . 13
5.2.2.3 ESS signing-certificate-v2 attribute . 14
5.2.3 The commitment-type-indication attribute . 14
5.2.4 Attributes for identifying the signed data type . 15
5.2.4.1 The content-hints attribute . 15
5.2.4.2 The mime-type attribute . 16
5.2.5 The signer-location attribute . 16
5.2.6 Incorporating attributes of the signer . 17
5.2.6.1 The signer-attributes-v2 attribute . 17
5.2.6.2 claimed-SAML-assertion . 18
5.2.7 The countersignature attribute . 19
5.2.8 The content-time-stamp attribute . 19
5.2.9 The signature-policy-identifier attribute and the SigPolicyQualifierInfo type . 19
5.2.9.1 The signature-policy-identifier attribute . 19
5.2.9.2 The SigPolicyQualifierInfo type . 20
5.2.10 The signature-policy-store attribute . 22
5.2.11 The content-reference attribute . 23
5.2.12 The content-identifier attribute . 23
5.3 The signature-time-stamp attribute . 23
5.4 Attributes for validation data values . 24
ETSI
---------------------- Page: 3 ----------------------
4 ETSI EN 319 122-1 V1.1.1 (2016-04)
5.4.1 Introduction. 24
5.4.2 OCSP responses . 24
5.4.2.1 OCSP response types . 24
5.4.2.2 OCSP responses within RevocationInfoChoices . 24
5.4.3 CRLs . 24
5.5 Attributes for long term availability and integrity of validation material . 24
5.5.1 Introduction. 24
5.5.2 The ats-hash-index-v3 attribute . 25
5.5.3 The archive-time-stamp-v3 attribute . 26
6 CAdES baseline signatures . 29
6.1 Signature levels . 29
6.2 General requirements . 29
6.2.1 Algorithm requirements . 29
6.2.2 Notation for requirements . 29
6.3 Requirements on components and services . 32
6.4 Legacy CAdES baseline signatures . 35
Annex A (normative): Additional Attributes Specification . 36
A.1 Attributes for validation data . 36
A.1.1 Certificates validation data . 36
A.1.1.1 The complete-certificate-references attribute . 36
A.1.1.2 The certificate-values attribute . 37
A.1.2 Revocation validation data . 37
A.1.2.1 The complete-revocation-references attribute. 37
A.1.2.2 The revocation-values attribute . 39
A.1.3 The attribute-certificate-references attribute . 40
A.1.4 The attribute-revocation-references attribute . 41
A.1.5 Time-stamps on references to validation data . 42
A.1.5.1 The time-stamped-certs-crls-references attribute . 42
A.1.5.2 The CAdES-C-timestamp attribute . 43
A.2 Deprecated attributes . 43
A.2.1 Usage of deprecated attributes . 43
A.2.2 The other-signing-certificate attribute . 43
A.2.3 The signer-attributes attribute . 44
A.2.4 The archive-time-stamp attribute . 44
A.2.5 The long-term-validation attribute . 44
A.2.6 The ats-hash-index attribute . 44
Annex B (normative): Alternative mechanisms for long term availability and integrity of
validation data . 45
Annex C (informative): Signature Format Definitions Using X.208 ASN.1 Syntax . 46
Annex D (normative): Signature Format Definitions Using X.680 ASN.1 Syntax . 52
Annex E (informative): Example Structured Contents and MIME . 59
E.1 Use of MIME to Encode Data . 59
E.1.1 MIME Structure . 59
E.1.2 Header Information . 59
E.1.3 Content Encoding . 60
E.1.4 Multi-Part Content . 60
E.2 S/MIME . 60
E.2.1 Using S/MIME . 60
E.2.2 Using application/pkcs7-mime . 61
E.2.3 Using multipart/signed and application/pkcs7-signature . 61
E.3 Use of MIME in the signature . 62
History . 64
ETSI
---------------------- Page: 4 ----------------------
5 ETSI EN 319 122-1 V1.1.1 (2016-04)
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 (https://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 European Standard (EN) has been produced by ETSI Technical Committee Electronic Signatures and
Infrastructures (ESI).
The present document is part 1 of a multi-part deliverable covering CAdES digital signatures, as identified below:
Part 1: "Building blocks and CAdES baseline signatures";
Part 2: "Extended CAdES signatures".
The present document partly contains an evolved specification of the ETSI TS 101 733 [1] and ETSI TS 103 173 [i.1].
National transposition dates
Date of adoption of this EN: 1 April 2016
Date of latest announcement of this EN (doa): 31 July 2016
Date of latest publication of new National Standard
or endorsement of this EN (dop/e): 31 January 2017
Date of withdrawal of any conflicting National Standard (dow): 31 January 2017
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.13].
ETSI
---------------------- Page: 5 ----------------------
6 ETSI EN 319 122-1 V1.1.1 (2016-04)
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, GSM 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.2]). See ETSI
TR 119 100 [i.4] for getting guidance on how to use the present document within the aforementioned framework.
ETSI
---------------------- Page: 6 ----------------------
7 ETSI EN 319 122-1 V1.1.1 (2016-04)
1 Scope
The present document specifies CAdES digital signatures. CAdES signatures are built on CMS signatures [7], by
incorporation of signed and unsigned attributes, 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 the ASN.1 definitions for the aforementioned attributes as well as their usage when
incorporating them to CAdES signatures.
The present document specifies formats for CAdES 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 CAdES 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 CAdES attributes, suitably
profiled for reducing the optionality as much as possible.
Procedures for creation, augmentation and validation of CAdES digital signatures are out of scope and specified in
ETSI EN 319 102-1 [i.5]. Guidance on creation, augmentation and validation of CAdES digital signatures including the
usage of the different properties defined in the present document is provided in ETSI TR 119 100 [i.4].
The present document aims at supporting digital signatures in different regulatory frameworks.
NOTE: Specifically, but not exclusively, CAdES 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.13].
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] ETSI TS 101 733 (V2.2.1): "Electronic Signatures and Infrastructures (ESI); CMS Advanced
Electronic Signatures (CAdES)".
[2] IETF RFC 2045 (1996): "Multipurpose Internet Mail Extensions (MIME) Part One: Format of
Internet Message Bodies".
[3] IETF RFC 2634 (1999): "Enhanced Security Services for S/MIME".
[4] IETF RFC 3161 (2001): "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)".
[5] IETF RFC 5035 (2007): "Enhanced Security Services (ESS) Update: Adding CertID Algorithm
Agility".
[6] IETF RFC 5280 (2008): "Internet X.509 Public Key Infrastructure Certificate and Certificate
Revocation List (CRL) Profile".
NOTE: Obsoletes IETF RFC 3280.
ETSI
---------------------- Page: 7 ----------------------
8 ETSI EN 319 122-1 V1.1.1 (2016-04)
[7] IETF RFC 5652 (2009): "Cryptographic Message Syntax (CMS)".
NOTE: Obsoletes IETF RFC 3852.
[8] IETF RFC 5755 (2010): "An Internet Attribute Certificate Profile for Authorization".
NOTE: Obsoletes IETF RFC 3281.
[9] IETF RFC 5816 (2010): "ESSCertIDv2 Update for RFC 3161".
[10] IETF RFC 5911 (2010): "New ASN.1 Modules for Cryptographic Message Syntax (CMS) and
S/MIME".
[11] IETF RFC 5912 (2010): "New ASN.1 Modules for the Public Key Infrastructure Using X.509
(PKIX)".
NOTE: Updated by IETF RFC 6268.
[12] IETF RFC 6268 (2011): "Additional New ASN.1 Modules for the Cryptographic Message Syntax
(CMS) and the Public Key Infrastructure Using X.509 (PKIX)".
[13] IETF RFC 5940 (2010): "Additional Cryptographic Message Syntax (CMS) Revocation
Information Choices".
[14] IETF RFC 6960 (2013): "X.509 Internet Public Key Infrastructure Online Certificate Status
Protocol - OCSP".
NOTE: Obsoletes IETF RFC 2560.
[15] Recommendation ITU-T X.520 (11/2008)/ISO/IEC 9594-6:2008): "Information technology -
Open Systems Interconnection - The Directory: Selected attribute types".
[16] Recommendation ITU-T X.680 (2008): "Information technology - Abstract Syntax Notation One
(ASN.1): Specification of basic notation".
[17] Recommendation ITU-T X.690 (2008): "Information technology - ASN.1 encoding rules:
Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and
Distinguished Encoding Rules (DER)".
[18] OASIS Standard: "Security Assertion Markup Language (SAML) V2.0".
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 TS 103 173: "Electronic Signatures and Infrastructures (ESI); CAdES Baseline Profile".
[i.2] ETSI TR 119 000: "Electronic Signatures and Infrastructures (ESI); The framework for
standardization of signatures: overview".
[i.3] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); The framework for
standardization of signatures; Definitions and abbreviations".
[i.4] ETSI TR 119 100: "Electronic Signatures and Infrastructures (ESI); Business Driven Guidance for
Signature Creation and Validation".
[i.5] ETSI EN 319 102-1: "Electronic Signatures and Infrastructures (ESI); Procedures for Creation and
Validation of AdES Digital Signatures; Part 1: Creation and Validation".
ETSI
---------------------- Page: 8 ----------------------
9 ETSI EN 319 122-1 V1.1.1 (2016-04)
[i.6] ETSI EN 319 122-2: "Electronic Signatures and Infrastructures (ESI); CAdES digital signatures;
Part 2: Extended CAdES signatures".
[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] ETSI TS 119 312: "Electronic Signatures and Infrastructures (ESI); Cryptographic Suites".
[i.9] ETSI EN 319 422: "Electronic Signatures and Infrastructures (ESI); Time-stamping protocol and
time-stamp token profiles".
[i.10] ETSI TS 101 533-1: "Electronic Signatures and Infrastructures (ESI); Data Preservation Systems
Security; Part 1: Requirements for Implementation and Management".
[i.11] ETSI TS 119 612: "Electronic Signatures and Infrastructures (ESI); Trusted Lists".
[i.12] 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 ele
...
Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
EUROPEAN STANDARD
Electronic Signatures and Infrastructures (ESI);
CAdES digital signatures;
Part 1: Building blocks and CAdES baseline signatures
---------------------- Page: 1 ----------------------
2 Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
Reference
DEN/ESI-0019122-1
Keywords
ASN.1, CAdES, electronic signature, profile,
security
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:
http://www.etsi.org/standards-search
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:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
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 2016.
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 Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
Contents
Intellectual Property Rights . 5
Foreword . 5
Modal verbs terminology . 5
Introduction . 5
1 Scope . 7
2 References . 7
2.1 Normative references . 7
2.2 Informative references . 8
3 Definitions and abbreviations . 9
3.1 Definitions . 9
3.2 Abbreviations . 10
4 General syntax . 10
4.1 General requirements . 10
4.2 The data content type. 10
4.3 The signed-data content type . 11
4.4 The SignedData type . 11
4.5 The EncapsulatedContentInfo type . 11
4.6 The SignerInfo type . 11
4.7 ASN.1 Encoding . 11
4.7.1 DER . 11
4.7.2 BER . 11
4.8 Other standard data structures . 12
4.8.1 Time-stamp token format . 12
4.8.2 Additional types . 12
4.9 Attributes . 12
5 Attribute semantics and syntax . 13
5.1 CMS defined basic signed attributes . 13
5.1.1 The content-type attribute . 13
5.1.2 The message-digest attribute . 13
5.2 Basic attributes for CAdES signatures . 13
5.2.1 The signing-time attribute . 13
5.2.2 Signing certificate reference attributes . 13
5.2.2.1 General requirements . 13
5.2.2.2 ESS signing-certificate attribute . 14
5.2.2.3 ESS signing-certificate-v2 attribute . 14
5.2.3 The commitment-type-indication attribute . 15
5.2.4 Attributes for identifying the signed data type . 16
5.2.4.1 The content-hints attribute . 16
5.2.4.2 The mime-type attribute . 16
5.2.5 The signer-location attribute . 17
5.2.6 Incorporating attributes of the signer . 17
5.2.6.1 The signer-attributes-v2 attribute . 17
5.2.6.2 claimed-SAML-assertion . 19
5.2.7 The countersignature attribute . 19
5.2.8 The content-time-stamp attribute . 19
5.2.9 The signature-policy-identifier attribute and the SigPolicyQualifierInfo type . 20
5.2.9.1 The signature-policy-identifier attribute . 20
5.2.9.2 The SigPolicyQualifierInfo type . 21
5.2.10 The signature-policy-store attribute . 23
5.2.11 The content-reference attribute . 23
5.2.12 The content-identifier attribute . 24
5.3 The signature-time-stamp attribute . 24
ETSI
---------------------- Page: 3 ----------------------
4 Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
5.4 Attributes for validation data values . 25
5.4.1 Introduction. 25
5.4.2 OCSP responses . 25
5.4.2.1 OCSP response types . 25
5.4.2.2 OCSP responses within RevocationInfoChoices . 25
5.4.3 CRLs . 25
5.5 Attributes for long term availability and integrity of validation material . 25
5.5.1 Introduction. 25
5.5.2 The ats-hash-index-v3 attribute . 25
5.5.3 The archive-time-stamp-v3 attribute . 27
6 CAdES baseline signatures . 29
6.1 Signature levels . 29
6.2 General requirements . 30
6.2.1 Algorithm requirements . 30
6.2.2 Notation for requirements . 30
6.3 Requirements on components and services . 33
6.4 Legacy CAdES baseline signatures . 36
Annex A (normative): Additional Attributes Specification . 37
A.1 Attributes for validation data . 37
A.1.1 Certificates validation data . 37
A.1.1.1 The complete-certificate-references attribute . 37
A.1.1.2 The certificate-values attribute . 38
A.1.2 Revocation validation data . 38
A.1.2.1 The complete-revocation-references attribute. 38
A.1.2.2 The revocation-values attribute . 40
A.1.3 The attribute-certificate-references attribute . 41
A.1.4 The attribute-revocation-references attribute . 42
A.1.5 Time-stamps on references to validation data . 43
A.1.5.1 The time-stamped-certs-crls-references attribute . 43
A.1.5.2 The CAdES-C-timestamp attribute . 44
A.2 Deprecated attributes . 44
A.2.1 Usage of deprecated attributes . 44
A.2.2 The other-signing-certificate attribute . 44
A.2.3 The signer-attributes attribute . 45
A.2.4 The archive-time-stamp attribute . 45
A.2.5 The long-term-validation attribute . 45
A.2.6 The ats-hash-index attribute . 45
Annex B (normative): Alternative mechanisms for long term availability and integrity of
validation data . 46
Annex C (informative): Signature Format Definitions Using X.208 ASN.1 Syntax . 47
Annex D (normative): Signature Format Definitions Using X.680 ASN.1 Syntax . 53
Annex E (informative): Example Structured Contents and MIME . 60
E.1 Use of MIME to Encode Data . 60
E.1.1 MIME Structure . 60
E.1.2 Header Information . 60
E.1.3 Content Encoding . 61
E.1.4 Multi-Part Content . 61
E.2 S/MIME . 62
E.2.1 Using S/MIME . 62
E.2.2 Using application/pkcs7-mime . 62
E.2.3 Using multipart/signed and application/pkcs7-signature . 63
E.3 Use of MIME in the signature . 63
History . 65
ETSI
---------------------- Page: 4 ----------------------
5 Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
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 (https://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 final draft European Standard (EN) has been produced by ETSI Technical Committee Electronic Signatures and
Infrastructures (ESI), and is now submitted for the Vote phase of the ETSI standards EN Approval Procedure.
The present document is part 1 of a multi-part deliverable covering CAdES digital signatures as identified below:
Part 1: "Building blocks and CAdES baseline signatures";
Part 2: "Extended CAdES signatures".
The present document partly contains an evolved specification of the ETSI TS 101 733 [1] and ETSI TS 103 173 [i.1].
Proposed national transposition dates
Date of latest announcement of this EN (doa): 3 months after ETSI publication
Date of latest publication of new National Standard
or endorsement of this EN (dop/e): 6 months after doa
Date of withdrawal of any conflicting National Standard (dow): 6 months after doa
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.13].
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, GSM SIM cards, special programs for electronic signatures, etc.
ETSI
---------------------- Page: 5 ----------------------
6 Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
The present document is part of a rationalized framework of standards (see ETSI TR 119 000 [i.2]). See
ETSI TR 119 100 [i.4] for getting guidance on how to use the present document within the aforementioned framework.
ETSI
---------------------- Page: 6 ----------------------
7 Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
1 Scope
The present document specifies CAdES digital signatures. CAdES signatures are built on CMS signatures [7], by
incorporation of signed and unsigned attributes, 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 the ASN.1 definitions for the aforementioned attributes as well as their usage when
incorporating them to CAdES signatures.
The present document specifies formats for CAdES 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 CAdES 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 CAdES attributes, suitably
profiled for reducing the optionality as much as possible.
Procedures for creation, augmentation and validation of CAdES digital signatures are out of scope and specified in
ETSI EN 319 102-1 [i.5]. Guidance on creation, augmentation and validation of CAdES digital signatures including the
usage of the different properties defined in the present document is provided in ETSI TR 119 100 [i.4].
The present document aims at supporting digital signatures in different regulatory frameworks.
NOTE: Specifically, but not exclusively, CAdES 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.13].
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] ETSI TS 101 733 (V2.2.1): "Electronic Signatures and Infrastructures (ESI); CMS Advanced
Electronic Signatures (CAdES)".
[2] IETF RFC 2045 (1996): "Multipurpose Internet Mail Extensions (MIME) Part One: Format of
Internet Message Bodies".
[3] IETF RFC 2634 (1999): "Enhanced Security Services for S/MIME".
[4] IETF RFC 3161 (2001): "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)".
[5] IETF RFC 5035 (2007): "Enhanced Security Services (ESS) Update: Adding CertID Algorithm
Agility".
[6] IETF RFC 5280 (2008): "Internet X.509 Public Key Infrastructure Certificate and Certificate
Revocation List (CRL) Profile".
NOTE: Obsoletes IETF RFC 3280.
ETSI
---------------------- Page: 7 ----------------------
8 Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
[7] IETF RFC 5652 (2009): "Cryptographic Message Syntax (CMS)".
NOTE: Obsoletes IETF RFC 3852.
[8] IETF RFC 5755 (2010): "An Internet Attribute Certificate Profile for Authorization".
NOTE: Obsoletes IETF RFC 3281.
[9] IETF RFC 5816 (2010): "ESSCertIDv2 Update for RFC 3161".
[10] IETF RFC 5911 (2010): "New ASN.1 Modules for Cryptographic Message Syntax (CMS) and
S/MIME".
[11] IETF RFC 5912 (2010): "New ASN.1 Modules for the Public Key Infrastructure Using X.509
(PKIX)".
NOTE: Updated by IETF RFC 6268.
[12] IETF RFC 6268 (2011): "Additional New ASN.1 Modules for the Cryptographic Message Syntax
(CMS) and the Public Key Infrastructure Using X.509 (PKIX)".
[13] IETF RFC 5940 (2010): "Additional Cryptographic Message Syntax (CMS) Revocation
Information Choices".
[14] IETF RFC 6960 (2013): "X.509 Internet Public Key Infrastructure Online Certificate Status
Protocol - OCSP".
NOTE: Obsoletes IETF RFC 2560.
[15] Recommendation ITU-T X.520 (11/2008)/ISO/IEC 9594-6:2008): "Information technology -
Open Systems Interconnection - The Directory: Selected attribute types".
[16] Recommendation ITU-T X.680 (2008): "Information technology - Abstract Syntax Notation One
(ASN.1): Specification of basic notation".
[17] Recommendation ITU-T X.690 (2008): "Information technology - ASN.1 encoding rules:
Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and
Distinguished Encoding Rules (DER)".
[18] OASIS Standard "Security Assertion Markup Language (SAML) V2.0".
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
reference 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 TS 103 173: "Electronic Signatures and Infrastructures (ESI); CAdES Baseline Profile".
[i.2] ETSI TR 119 000: "Electronic Signatures and Infrastructures (ESI); The framework for
standardization of signatures: overview".
[i.3] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); The framework for
standardization of signatures; Definitions and abbreviations".
[i.4] ETSI TR 119 100: "Electronic Signatures and Infrastructures (ESI); Business Driven Guidance for
Signature Creation and Validation".
[i.5] ETSI EN 319 102-1: "Electronic Signatures and Infrastructures (ESI); Procedures for Creation and
Validation of AdES Digital Signatures; Part 1: Creation and Validation".
ETSI
---------------------- Page: 8 ----------------------
9 Final draft ETSI EN 319 122-1 V1.1.0 (2016-02)
[i.6] ETSI EN 319 122-2: "Electronic Signatures and Infrastructures (ESI); CAdES digital signatures;
Part 2: Extended CAdES signatures".
[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] ETSI TS 119 312: "Electronic Signatures and Infrastructures (ESI); Cryptographic Suites".
[i.9] ETSI EN 319 422: "Electronic Signatures and Infrastructures (ESI); Time-stamping protocol and
time-stamp token profiles".
[i.10] ETSI TS 101 533-1: "Electronic Signatures and Infrastructures (ESI); Data Preservation Systems
Security; Part 1: Requirements for Implementation and Management".
[i.11] ETSI TS 119 612: "Electronic Signatures and Infrastructures (ESI);
...
Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
EUROPEAN STANDARD
Electronic Signatures and Infrastructures (ESI);
CAdES digital signatures;
Part 1: Building blocks and CAdES baseline signatures
---------------------- Page: 1 ----------------------
2 Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
Reference
DEN/ESI-0019122-1
Keywords
ASN.1, CAdES, electronic signature, profile,
security
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:
http://www.etsi.org/standards-search
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:
https://portal.etsi.org/People/CommiteeSupportStaff.aspx
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 Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
Contents
Intellectual Property Rights . 5
Foreword . 5
Modal verbs terminology . 5
Introduction . 5
1 Scope . 7
2 References . 7
2.1 Normative references . 7
2.2 Informative references . 8
3 Definitions and abbreviations . 9
3.1 Definitions . 9
3.2 Abbreviations . 10
4 General syntax . 10
4.1 General requirements . 10
4.2 The data content type. 10
4.3 The signed-data content type . 10
4.4 The SignedData type . 10
4.5 The EncapsulatedContentInfo type . 11
4.6 The SignerInfo type . 11
4.7 ASN.1 Encoding . 11
4.7.1 DER . 11
4.7.2 BER . 11
4.8 Other standard data structures . 11
4.8.1 Time-stamp token format . 11
4.8.2 Additional types . 11
4.9 Attributes . 12
5 Attribute semantics and syntax . 12
5.1 CMS defined basic signed attributes . 12
5.1.1 The content-type attribute . 12
5.1.2 The message-digest attribute . 12
5.2 Basic attributes for CAdES signatures . 13
5.2.1 The signing-time attribute . 13
5.2.2 Signing certificate reference attributes . 13
5.2.2.1 General requirements . 13
5.2.2.2 ESS signing-certificate attribute . 13
5.2.2.3 ESS signing-certificate-v2 attribute . 14
5.2.3 The commitment-type-indication attribute . 14
5.2.4 Attributes for identifying the signed data type . 15
5.2.4.1 The content-hints attribute . 15
5.2.4.2 The mime-type attribute . 15
5.2.5 The signer-location attribute . 16
5.2.6 Incorporating attributes of the signer . 16
5.2.6.1 The signer-attributes-v2 attribute . 16
5.2.6.2 claimed-SAML-assertion . 18
5.2.7 The countersignature attribute . 18
5.2.8 The content-time-stamp attribute . 19
5.2.9 The signature-policy-identifier attribute and the SigPolicyQualifierInfo type . 19
5.2.9.1 The signature-policy-identifier attribute . 19
5.2.9.2 The SigPolicyQualifierInfo type . 20
5.2.10 The signature-policy-store attribute . 22
5.2.11 The content-reference attribute . 22
5.2.12 The content-identifier attribute . 23
5.3 The signature-time-stamp attribute . 23
ETSI
---------------------- Page: 3 ----------------------
4 Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
5.4 Attributes for validation data values . 24
5.4.1 Introduction. 24
5.4.2 OCSP responses . 24
5.4.2.1 OCSP response types . 24
5.4.2.2 OCSP responses within RevocationInfoChoices . 24
5.4.3 CRLs . 24
5.5 Archive validation data . 24
5.5.1 Introduction. 24
5.5.2 The ats-hash-index-v2 attribute . 24
5.5.3 The archive-time-stamp-v3 attribute . 26
6 CAdES baseline signatures . 28
6.1 Signature levels . 28
6.2 General requirements . 29
6.2.1 Algorithm requirements . 29
6.2.2 Notation for requirements . 29
6.3 Requirements on components and services . 31
6.4 Legacy CAdES baseline signatures . 34
Annex A (normative): Additional Attributes Specification . 35
A.1 Attributes for validation data . 35
A.1.1 Certificates validation data . 35
A.1.1.1 The complete-certificate-references attribute . 35
A.1.1.2 The certificate-values attribute . 36
A.1.2 Revocation validation data . 36
A.1.2.1 The complete-revocation-references attribute. 36
A.1.2.2 The revocation-values attribute . 38
A.1.3 The attribute-certificate-references attribute . 39
A.1.4 The attribute-revocation-references attribute . 40
A.1.5 Time-stamps on references to validation data . 41
A.1.5.1 The time-stamped-certs-crls-references attribute . 41
A.1.5.2 The CAdES-C-timestamp attribute . 41
A.2 Deprecated attributes . 42
A.2.1 Usage of deprecated attributes . 42
A.2.2 The other-signing-certificate attribute . 42
A.2.3 The signer-attributes attribute . 42
A.2.4 The archive-time-stamp attribute . 42
A.2.5 The long-term-validation attribute . 42
A.2.6 The ats-hash-index attribute . 43
Annex B (informative): Signature Format Definitions Using X.208 ASN.1 Syntax . 44
Annex C (normative): Signature Format Definitions Using X.680 ASN.1 Syntax . 50
Annex D (informative): Example Structured Contents and MIME . 57
D.1 Use of MIME to Encode Data . 57
D.1.1 MIME Structure . 57
D.1.2 Header Information . 57
D.1.3 Content Encoding . 58
D.1.4 Multi-Part Content . 58
D.2 S/MIME . 59
D.2.1 Using S/MIME . 59
D.2.2 Using application/pkcs7-mime . 59
D.2.3 Using multipart/signed and application/pkcs7-signature . 60
D.3 Use of MIME in the signature . 60
Annex E (informative): Change history . 62
History . 63
ETSI
---------------------- Page: 4 ----------------------
5 Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
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 draft European Standard (EN) has been produced by ETSI Technical Committee Electronic Signatures and
Infrastructures (ESI), and is now submitted for the combined Public Enquiry and Vote phase of the ETSI standards EN
Approval Procedure.
The present document is part 1 of a multi-part deliverable covering CAdES digital signatures as identified below:
Part 1: "Building blocks and CAdES baseline signatures";
Part 2: "Extended CAdES signatures".
The present document partly contains an evolved specification of the ETSI TS 101 733 [1] and ETSI TS 103 173 [i.1].
Proposed national transposition dates
Date of latest announcement of this EN (doa): 3 months after ETSI publication
Date of latest publication of new National Standard
or endorsement of this EN (dop/e): 6 months after doa
Date of withdrawal of any conflicting National Standard (dow): 6 months after doa
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.13].
ETSI
---------------------- Page: 5 ----------------------
6 Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
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, GSM 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.2]). See
ETSI TR 119 100 [i.4] for getting guidance on how to use the present document within the aforementioned framework.
ETSI
---------------------- Page: 6 ----------------------
7 Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
1 Scope
The present document specifies CAdES digital signatures. CAdES signatures are built on CMS signatures [7], by
incorporation of signed and unsigned attributes, 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 the ASN.1 definitions for the aforementioned attributes as well as their usage when
incorporating them to CAdES signatures.
The present document specifies formats for CAdES 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 CAdES 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 CAdES attributes, suitably
profiled for reducing the optionality as much as possible.
Procedures for creation and validation of CAdES digital signatures are out of scope and specified in
ETSI EN 319 102-1 [i.5].
The present document aims at supporting digital signatures in different regulatory frameworks.
NOTE: Specifically, but not exclusively, CAdES 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.13].
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] ETSI TS 101 733 (V2.2.1): "Electronic Signatures and Infrastructures (ESI); CMS Advanced
Electronic Signatures (CAdES)".
[2] IETF RFC 2045 (1996): "Multipurpose Internet Mail Extensions (MIME) Part One: Format of
Internet Message Bodies".
[3] IETF RFC 2634 (1999): "Enhanced Security Services for S/MIME".
[4] IETF RFC 3161 (2001): "Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP)".
[5] IETF RFC 5035 (2007): "Enhanced Security Services (ESS) Update: Adding CertID Algorithm
Agility".
[6] IETF RFC 5280 (2008): "Internet X.509 Public Key Infrastructure Certificate and Certificate
Revocation List (CRL) Profile".
NOTE: Obsoletes IETF RFC 3280.
ETSI
---------------------- Page: 7 ----------------------
8 Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
[7] IETF RFC 5652 (2009): "Cryptographic Message Syntax (CMS)".
NOTE: Obsoletes RFC 3852.
[8] IETF RFC 5755 (2010): "An Internet Attribute Certificate Profile for Authorization".
NOTE: Obsoletes IETF RFC 3281.
[9] IETF RFC 5816 (2010): "ESSCertIDv2 Update for RFC 3161".
[10] IETF RFC 5911 (2010): "New ASN.1 Modules for Cryptographic Message Syntax (CMS) and
S/MIME".
[11] IETF RFC 5912 (2010): "New ASN.1 Modules for the Public Key Infrastructure Using X.509
(PKIX)".
NOTE: Updated by IETF RFC 6268.
[12] IETF RFC 6268 (2011): "Additional New ASN.1 Modules for the Cryptographic Message Syntax
(CMS) and the Public Key Infrastructure Using X.509 (PKIX)".
[13] IETF RFC 5940 (2010): "Additional Cryptographic Message Syntax (CMS) Revocation
Information Choices".
[14] IETF RFC 6960 (2013): "X.509 Internet Public Key Infrastructure Online Certificate Status
Protocol - OCSP".
NOTE: Obsoletes IETF RFC 2560.
[15] Recommendation ITU-T X.520 (11/2008)/ISO/IEC 9594-6:2008): "Information technology -
Open Systems Interconnection - The Directory: Selected attribute types".
[16] Recommendation ITU-T X.680 (2008): "Information technology - Abstract Syntax Notation One
(ASN.1): Specification of basic notation".
[17] Recommendation ITU-T X.690 (2008): "Information technology - ASN.1 encoding rules:
Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and
Distinguished Encoding Rules (DER)".
[18] OASIS Standard "Security Assertion Markup Language (SAML) V2.0".
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
reference 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 TS 103 173: "Electronic Signatures and Infrastructures (ESI); CAdES Baseline Profile".
[i.2] ETSI TR 119 000: "Electronic Signatures and Infrastructures (ESI); Rationalized structure for
Electronic Signature Standardization".
[i.3] ETSI TR 119 001: "Electronic Signatures and Infrastructures (ESI); Definitions and
abbreviations".
[i.4] ETSI TR 119 100: "Electronic Signatures and Infrastructures (ESI); Business Driven Guidance for
Signature Creation and Validation".
[i.5] ETSI EN 319 102-1: "Electronic Signatures and Infrastructures (ESI); Procedures for Signature
Creation and Validation".
ETSI
---------------------- Page: 8 ----------------------
9 Draft ETSI EN 319 122-1 V1.0.0 (2015-06)
[i.6] ETSI EN 319 122-2: "Electronic Signatures and Infrastructures (ESI); CAdES digital signatures;
Part 2: Extended CAdES signatures".
[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] ETSI TS 119 312: "Electronic Signatures and Infrastructures (ESI); Cryptographic Suites".
[i.9] ETSI EN 319 422: "Electronic Signatures and Infrastructures (ESI); Time-stamping protocol and
time-stamp profiles".
[i.10] ETSI TS 101 533-1: "Electronic Signatures and Infrastructures (ESI); Data Preservation Systems
Security; Part 1: Requirements for Implementation and Management".
[i.11] ETSI TS 119 612: "Electronic Signatures and Infrastructures (ESI); Trusted Lists".
[i.12] 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.13] Regulation (EU) No 910/2014 of the European
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.