Associated Signature Containers

From HandWiki
Associated Signature Container Extended (ASiC-E)
Filename extension.asice, .sce
Internet media typeapplication/vnd.
etsi.asic-e+zip
Magic number50 4B 03 04 (the container media type is present starting at offset 38)[1]
Developed byETSI
Initial release2011
Container forXAdES, CAdES, timestamp, signed objects
Extended fromZip (file format), OpenDocument, EPUB
Associated Signature Container Simple (ASiC-S)
Filename extension.asics, .scs
Internet media typeapplication/vnd.
etsi.asic-s+zip
Magic number50 4B 03 04 (the container media type is present starting at offset 38)[1]
Developed byETSI
Initial release2011
Container forXAdES, CAdES, timestamp, signed object
Extended fromZip (file format), OpenDocument, EPUB

Associated Signature Containers (ASiC) specifies the use of container structures to bind together one or more signed objects with either advanced electronic signatures or timestamp tokens into one single digital container.[2]

Regulatory context

Under the eIDAS-regulation,[3] an associated signature container (ASiC) for eIDAS is a data container that is used to hold a group of file objects and digital signatures and/or time assertions that are associated to those objects. This data is stored in the ASiC in a ZIP format.

European Commission Implementing Decision 2015/1506 of 8 September 2015 laid down specifications relating to formats of advanced electronic signatures and advanced seals to be recognised by public sector bodies pursuant to Articles 27 and 37 of the eIDAS-regulation. EU Member States requiring an advanced electronic signature or an advanced electronic signature based on a qualified certificate, shall recognise XML, CMS or PDF advanced electronic signature at conformance level B, T or LT level or using an associated signature container, where those signatures comply with the following technical specifications:[4]

Technical specification of ASiCs have been updated and standardized since April 2016 by the European Telecommunications Standards Institute in the standard Associated Signature Containers (ASiC)(ETSI EN 319 162-1 V1.1.1 (2016-04),[1][6] but this updated standard is not required by the European Commission Implementing Decision.

Structure

The internal structure of an ASiC includes two folders:

  • A root folder that stores all the container's content, which might include folders that reflect the structure of that content.
  • A “META-INF” folder that resides in the root folder and contains files that hold metadata about the content, including its associated signature and/or time assertion files.

Such an electronic signature file would contain a single CAdES object or one or more XAdES signatures. A time assertion file would either contain a one timestamp token that will conform to IETF RFC 3161,[7] whereas a single evidence record would conform to IETF RFC 4998[8] or IETF RFC6283.[9][2][1]

How ASiC is used

One of the purposes of an electronic signature is to secure the data that it is attached to it from being modified. This can be done by creating a dataset that combines the signature with its signed data or to store the detached signature to a separate resource and then utilize an external process to re-associate the signature with its data. It can be advantageous to use detached signatures because it prevents unauthorized modifications to the original data objects. However, by doing this, there is the risk that the detached signature will become separated from its associated data. If this were to happen, the association would be lost and therefore, the data would become inaccessible.[2]

One of the most widespread deployments of the ASiC standard is the Estonian digital signature system with the use of multiplatform (Windows, Linux, MacOS (OSX)) software called DigiDoc.

Types of ASiC containers

Using the correct tool for each job is always important. Using the correct type of ASiC container for the job at hand is also important:[2]

ASiC Simple (ASiC-S)

With this container, a single file object is associated with a signature or time assertion file. A “mimetype” file that specifies the media type might also be included in this container. When a mimetype file is included, it is required to be the first file in the ASiC container. This container type will allow additional signatures to be added in the future to be used to sign stored file objects. When long-term time-stamp tokens are used, ASiC Archive Manifest files are used to protect long-term time-stamp tokens from tampering.[1][2]

ASiC Extended (ASiC-E)

This type of container can hold one or more signature or time assertion files. ASiC-E with XAdES deals with signature files, while ASiC-E with CAdES deals with time assertions. The files within these ASiC containers apply to their own file object sets. Each file object might have additional metadata or information that is associated with it that can also be protected by the signature. An ASiC-E container could be designed to prevent this modification or allow its inclusion without causing damage to previous signatures.

Both of these ASiC containers are capable of maintaining long-term availability and integrity when storing XAdES or CAdES signatures through the use of time-stamp tokens or evidence record manifest files that are contained within the containers. ASiC containers must comply with the ZIP specification and limitations that are applied to ZIP.[1][2]

ASiC-S time assertion additional container

This container operates under the baseline requirements of the ASiC Simple (ASiC-S) container but it also provides additional time assertion requirements. Additional elements may be within its META-INF folder and requires the use of “SignedData” variable to include certificate and revocation information.[2][6]

ASiC-E CAdES additional container

This container has the same baselines as an ASiC-E container, but with additional restrictions.[2][6]

ASiC-E time assertion additional container

This container complies with ASiC-E baseline requirements along with additional requirements and restrictions.[2][6]

Reduced risk of loss of electronic signature

The use of ASiC reduces the risk of an electronic signature becoming separated from its data by combining the signature and its signed data in a container. With both elements secured within an ASiC, it is easier to distribute a signature and guarantee that the correct signature and its metadata is being used during validation. This process can also be used when associating time assertions, including evidence records or time-stamp tokens to their associated data.[2]

References

  1. 1.0 1.1 1.2 1.3 1.4 1.5 "Electronic Signatures and Infrastructures (ESI); Associated Signature Containers (ASiC); Part 1: Building blocks and ASiC baseline containers (ETSI EN 319 162-1 V1.1.1 (2016-04)". European Telecommunications Standards Institute. http://www.etsi.org/deliver/etsi_en/319100_319199/31916201/01.01.01_60/en_31916201v010101p.pdf. 
  2. 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 Turner, Dawn M.. "ASiC - Associated Signature Containers for eIDAS". Cryptomathic. https://www.cryptomathic.com/news-events/blog/asic-associated-signature-containers-for-eidas. Retrieved 13 June 2017. 
  3. "Regulation (EU) No 910/2014 of the European Parliament and of the Council of 23 July 2014 on electronic identification and trust services for electronic transactions in the internal market and repealing Directive 1999/93/EC". The European Parliament and the Council of the European Union. http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv:OJ.L_.2014.257.01.0073.01.ENG. Retrieved 18 March 2016. 
  4. "COMMISSION IMPLEMENTING DECISION (EU) 2015/1506 of 8 September 2015 laying down specifications relating to formats of advanced electronic signatures and advanced seals to be recognised by public sector bodies pursuant to Articles 27(5) and 37(5) of 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". http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32015D1506&from=EN. Retrieved 18 March 2018. 
  5. "Commission Implementing Decision (EU) 2015/1506 of 8 September 2015 laying down specifications relating to formats of advanced electronic signatures and advanced seals to be recognised by public sector bodies pursuant to Articles 27(5) and 37(5) of 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 (Text with EEA relevance)" (in en). EUR-Lex. 9 September 2015. http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=OJ:JOL_2015_235_R_0006.  Material has been copied from this source. Reuse is authorised, provided the source is acknowledged.
  6. 6.0 6.1 6.2 6.3 "Electronic Signatures and Infrastructures (ESI); Associated Signature Containers (ASiC); Part 2: Additional ASiC containers (ETSI EN 319 162-2 V1.1.1 (2016-04)". European Telecommunications Standards Institute. http://www.etsi.org/deliver/etsi_en/319100_319199/31916202/01.01.01_60/en_31916202v010101p.pdf. 
  7. Adams, C.; Cain, P.; Pinkas, D.; Zuccherato, R.. "Internet X.509 Public Key Infrastructure - Time-Stamp Protocol (TSP)". Network Working Group. https://tools.ietf.org/html/rfc3161. Retrieved 13 June 2017. 
  8. Gondrom, T.; Brander, R.; Pordesch, U.. "Evidence Record Syntax (ERS)". Network Working Group. https://tools.ietf.org/html/rfc4998. Retrieved 13 June 2017. 
  9. Jerman Blazic, A.; Saljic, S.; Gondrom, T.. "Extensible Markup Language Evidence Record Syntax (XMLERS)". Internet Engineering Task Force (IETF). https://tools.ietf.org/html/rfc6283. Retrieved 13 June 2017. 

External links