Skip to content

Commit 45349db

Browse files
committed
Merge from develop
2 parents 4c59a05 + 426d20c commit 45349db

File tree

47 files changed

+736
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+736
-128
lines changed

docs/documentation_deployment_instructions.txt

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,29 @@
1-
Our documentation is written using [MkDocs](http://www.mkdocs.org/) static documentation site generator and
2-
language that we use to write documentation is [Markdown](https://daringfireball.net/projects/markdown/).
1+
Our documentation is written using [MkDocs](http://www.mkdocs.org/) static documentation site generator with [Material theme](https://squidfunk.github.io/mkdocs-material/) and [Markdown](https://daringfireball.net/projects/markdown/).
32

43
System requirements
54
-------------------
65

7-
* **Python 2** - All version above 2.6 should work
6+
* **Python 3** - currently used version is 3.10
87
* **pip** - Python package manager
9-
* **MkDocs CLI** - to generate and deploy new version of documentation
108
* **Text Editor** - to edit Markdown documents (i.e [Haroopad](http://pad.haroopress.com/#))
119

12-
Installing MkDocs
10+
Installing required software
1311
-----------------
1412

1513
### Ubuntu and Mac OS X
1614

17-
Both Ubuntu and Mac OS X come `python` version 2 already installed You only need to install `pip`
15+
Both Ubuntu and Mac OS X come `python` already installed (the version depends on OS)
1816

19-
1. Install `pip` on Ubuntu 15.04 `sudo apt-get install python-pip` on Mac OS X `sudo easy_install pip`
20-
2. Next up install `mkdocs` using [pip](https://pip.pypa.io/en/stable/): `pip install mkdocs`
17+
1. Install `pip` on Ubuntu 18.04 `sudo apt-get install python-pip` on Mac OS X `sudo easy_install pip`
18+
2. Install `mkdocs` using [pip](https://pip.pypa.io/en/stable/): `pip install mkdocs`
19+
3. Install material theme `pip install mkdocs-material`
2120

2221
### Windows
2322

24-
Installing Python:
25-
26-
1. Download the installer from the official `python` homepage: <https://www.python.org/downloads/>
27-
> **NOTE:** Starting with version 2.7.9 and onwards `pip` ships along with python,<br/>
28-
so there shouldn't be any need to install `pip` separately.
29-
2. Execute the python installer
30-
31-
Installing Pip:
32-
33-
1. Download [get-pip.py](https://bootstrap.pypa.io/get-pip.py)
34-
2. Then run the following command (which may require administrator access): `python get-pip.py`
35-
3. Add C:\Python27\Scripts to the system path (PATH environment variable)
36-
37-
Installing Mkdocs:
38-
39-
Install `mkdocs` using [pip](https://pip.pypa.io/en/stable/): `pip install mkdocs`
40-
41-
Now You're done and can start editing the PDF Validator documentation.
23+
1. Install python. Download the installer from the official `python` homepage: <https://www.python.org/downloads/> and install
24+
> **NOTE:** Starting with version 2.7.9 and onwards `pip` ships along with python, so there shouldn't be any need to install `pip` separately.
25+
2. Install `mkdocs` using [pip](https://pip.pypa.io/en/stable/): `pip install mkdocs`
26+
3. Install material theme `pip install mkdocs-material`
4227

4328
Editing content
4429
---------------
File renamed without changes.

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ SiVa architecture document will cover:
3434
servers required when deploying SiVa validation web service
3535
into production
3636
* [**Quality Assurance**](siva3/qa_strategy) - overview of quality assurance strategy and testing
37+
* [**Roadmap**](siva3/roadmap) - info about planned releases
3738

docs/siva3/appendix/validation_policy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ http://open-eid.github.io/SiVa/siva3/appendix/validation_policy/#POLv4
9898

9999
1. SiVa implicitly implements constraints that are specified in the specification documents of the signature formats supported by the Service:
100100

101-
* [BDOC 2.1](http://id.ee/wp-content/uploads/2020/06/bdoc-spec212-eng.pdf) ASiC-E/XAdES signatures
101+
* [BDOC 2.1](https://www.id.ee/wp-content/uploads/2021/06/bdoc-spec212-eng.pdf) ASiC-E/XAdES signatures
102102
* [X-Road](https://cyber.ee/research/reports/T-4-23-Profile-for-High-Performance-Digital-Signatures.pdf) ASiC-E/XAdES signatures
103103
* [PAdES](http://www.etsi.org/deliver/etsi_en/319100_319199/31914201/01.01.01_60/en_31914201v010101p.pdf) signatures
104104
* [XAdES](http://www.etsi.org/deliver/etsi_en/319100_319199/31913201/01.01.01_60/en_31913201v010101p.pdf) signatures
@@ -184,7 +184,7 @@ Legend:
184184

185185

186186
### BDOC container spceific requirements
187-
The BDOC container must conform with [BDOC 2.1](http://id.ee/wp-content/uploads/2020/06/bdoc-spec212-eng.pdf) standard.
187+
The BDOC container must conform with [BDOC 2.1](https://www.id.ee/wp-content/uploads/2021/06/bdoc-spec212-eng.pdf) standard.
188188
1. File extension
189189
* ".bdoc" file extension is supported during signature validation.
190190
2. Only one signature shall be stored in one signatures.xml file.

docs/siva3/interfaces.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Structure of validationConclusion block
275275
| validatedDocument. filename | ValidatedDocument. Filename | - | String | Digitally signed document's file name. Not present for hashcode validation. |
276276
| validatedDocument. fileHash | ValidatedDocument. FileHash | - | String | Calculated hash for validated document in Base64. Present when report signing is enabled. |
277277
| validatedDocument. hashAlgo | ValidatedDocument. HashAlgo | - | String | Hash algorithm used. Present when report signing is enabled. |
278-
| signatureForm | SignatureForm | - | String | Format (and optionally version) of the digitally signed document container. <br> In case of documents in [DIGIDOC-XML](https://www.id.ee/wp-content/uploads/2020/08/digidoc_format_1.3.pdf) (DDOC) format, the "hashcode" suffix is used to denote that the container was validated in [hashcode mode](http://sertkeskus.github.io/dds-documentation/api/api_docs/#ddoc-format-and-hashcode), i.e. without original data files. <br> **Possible values:** <br> DIGIDOC_XML_1.0 <br> DIGIDOC_XML_1.0_hashcode <br> DIGIDOC_XML_1.1 <br> DIGIDOC_XML_1.1_hashcode <br> DIGIDOC_XML_1.2 <br> DIGIDOC_XML_1.2_hashcode <br> DIGIDOC_XML_1.3 <br> DIGIDOC_XML_1.3_hashcode <br> ASiC_E - used in case of all ASIC-E ([BDOC](http://id.ee/wp-content/uploads/2020/06/bdoc-spec212-eng.pdf)) documents and X-Road simple containers that don't use batch time-stamping (see [specification document](https://cyber.ee/research/reports/T-4-23-Profile-for-High-Performance-Digital-Signatures.pdf))<br> ASiC_E_batchsignature - used in case of X-Road containers with batch signature (see [specification document](https://cyber.ee/research/reports/T-4-23-Profile-for-High-Performance-Digital-Signatures.pdf)) <br> ASiC_S - used in case of all ASIC-S documents |
278+
| signatureForm | SignatureForm | - | String | Format (and optionally version) of the digitally signed document container. <br> In case of documents in [DIGIDOC-XML](https://www.id.ee/wp-content/uploads/2020/08/digidoc_format_1.3.pdf) (DDOC) format, the "hashcode" suffix is used to denote that the container was validated in [hashcode mode](http://sertkeskus.github.io/dds-documentation/api/api_docs/#ddoc-format-and-hashcode), i.e. without original data files. <br> **Possible values:** <br> DIGIDOC_XML_1.0 <br> DIGIDOC_XML_1.0_hashcode <br> DIGIDOC_XML_1.1 <br> DIGIDOC_XML_1.1_hashcode <br> DIGIDOC_XML_1.2 <br> DIGIDOC_XML_1.2_hashcode <br> DIGIDOC_XML_1.3 <br> DIGIDOC_XML_1.3_hashcode <br> ASiC_E - used in case of all ASIC-E ([BDOC](https://www.id.ee/wp-content/uploads/2021/06/bdoc-spec212-eng.pdf)) documents and X-Road simple containers that don't use batch time-stamping (see [specification document](https://cyber.ee/research/reports/T-4-23-Profile-for-High-Performance-Digital-Signatures.pdf))<br> ASiC_E_batchsignature - used in case of X-Road containers with batch signature (see [specification document](https://cyber.ee/research/reports/T-4-23-Profile-for-High-Performance-Digital-Signatures.pdf)) <br> ASiC_S - used in case of all ASIC-S documents |
279279
| signatures | Signatures | - | Array | Collection of signatures found in digitally signed document |
280280
| signatures[0] | Signature | + | Object | Signature information object |
281281
| signatures[0]. claimedSigningTime | Signature. ClaimedSigningTime | + | Date | Claimed signing time, i.e. signer's computer time during signature creation |
@@ -299,10 +299,10 @@ Structure of validationConclusion block
299299
| signatures[0].info. signatureProductionPlace.city | Signature.Info. SignatureProductionPlace.City | - | String | Stated city. |
300300
| signatures[0].info. signatureProductionPlace.postalCode | Signature.Info. SignatureProductionPlace.PostalCode | - | String | Stated postal code. |
301301
| signatures[0].info. signingReason | Signature.Info SigningReason | - | String | Free text field for PAdES type signatures for stating the signing reason |
302-
| signatures[0]. signatureFormat | Signature. SignatureFormat | + | String | Format and profile (according to Baseline Profile) of the signature. See [XAdES Baseline Profile](http://www.etsi.org/deliver/etsi_ts/103100_103199/103171/02.01.01_60/ts_103171v020101p.pdf), [CAdES Baseline Profile](http://www.etsi.org/deliver/etsi_ts/103100_103199/103173/02.02.01_60/ts_103173v020201p.pdf) and [PAdES Baseline Profile](http://www.etsi.org/deliver/etsi_ts/103100_103199/103172/02.02.02_60/ts_103172v020202p.pdf) for detailed description of the Baseline Profile levels. Levels that are accepted in SiVa validation policy are described in [SiVa signature validation policy](/siva3/appendix/validation_policy) <br>**Possible values:** <br> XAdES_BASELINE_B <br> XAdES_BASELINE_B_BES <br> XAdES_BASELINE_B_EPES <br> XAdES_BASELINE_T <br> XAdES_BASELINE_LT - long-term level XAdES signature where time-stamp is used as a assertion of trusted signing time<br> XAdES_BASELINE_LT_TM - long-term level XAdES signature where time-mark is used as a assertion of trusted signing time. Used in case of [BDOC](http://id.ee/wp-content/uploads/2020/06/bdoc-spec212-eng.pdf) signatures with time-mark profile and [DIGIDOC-XML](https://www.id.ee/wp-content/uploads/2020/08/digidoc_format_1.3.pdf) (DDOC) signatures.<br> XAdES_BASELINE_LTA <br> CAdES_BASELINE_B <br> CAdES_BASELINE_T <br> CAdES_BASELINE_LT <br> CAdES_BASELINE_LTA<br> PAdES_BASELINE_B <br> PAdES_BASELINE_T <br> PAdES_BASELINE_LT <br> PAdES_BASELINE_LTA |
302+
| signatures[0]. signatureFormat | Signature. SignatureFormat | + | String | Format and profile (according to Baseline Profile) of the signature. See [XAdES Baseline Profile](http://www.etsi.org/deliver/etsi_ts/103100_103199/103171/02.01.01_60/ts_103171v020101p.pdf), [CAdES Baseline Profile](http://www.etsi.org/deliver/etsi_ts/103100_103199/103173/02.02.01_60/ts_103173v020201p.pdf) and [PAdES Baseline Profile](http://www.etsi.org/deliver/etsi_ts/103100_103199/103172/02.02.02_60/ts_103172v020202p.pdf) for detailed description of the Baseline Profile levels. Levels that are accepted in SiVa validation policy are described in [SiVa signature validation policy](/siva3/appendix/validation_policy) <br>**Possible values:** <br> XAdES_BASELINE_B <br> XAdES_BASELINE_B_BES <br> XAdES_BASELINE_B_EPES <br> XAdES_BASELINE_T <br> XAdES_BASELINE_LT - long-term level XAdES signature where time-stamp is used as a assertion of trusted signing time<br> XAdES_BASELINE_LT_TM - long-term level XAdES signature where time-mark is used as a assertion of trusted signing time. Used in case of [BDOC](https://www.id.ee/wp-content/uploads/2021/06/bdoc-spec212-eng.pdf) signatures with time-mark profile and [DIGIDOC-XML](https://www.id.ee/wp-content/uploads/2020/08/digidoc_format_1.3.pdf) (DDOC) signatures.<br> XAdES_BASELINE_LTA <br> CAdES_BASELINE_B <br> CAdES_BASELINE_T <br> CAdES_BASELINE_LT <br> CAdES_BASELINE_LTA<br> PAdES_BASELINE_B <br> PAdES_BASELINE_T <br> PAdES_BASELINE_LT <br> PAdES_BASELINE_LTA |
303303
| signatures[0]. signatureMethod | Signature. SignatureMethod | + | String | Signature method specification URI used in signature creation. |
304304
| signatures[0]. signatureLevel | Signature. SignatureLevel | - |String | Legal level of the signature, according to Regulation (EU) No 910/2014. <br> - **Possible values on positive validation result:**<br> QESIG <br> QESEAL <br> QES <br> ADESIG_QC <br> ADESEAL_QC <br> ADES_QC <br> ADESIG <br> ADESEAL <br> ADES <br> - **Possible values on indeterminate validation result:**<br> prefix INDETERMINATE is added to the level described in positive result. For example INDETERMINATE_QESIG <br> - **Possible values on negative validation result:**<br>In addition to abovementioned<br> NOT_ADES_QC_QSCD <br> NOT_ADES_QC <br> NOT_ADES <br> NA <br> - In case of DIGIDOC-XML 1.0..1.3 formats, value is missing as the signature level is not checked by the JDigiDoc base library that is used for validation. However, the signatures can be indirectly regarded as QES level signatures, see also [SiVa Validation Policy](/siva3/appendix/validation_policy)<br> - In case of XROAD ASICE containers the value is missing as the asicverifier base library do not check the signature level.|
305-
| signatures[0].signedBy | Signature.SignedBy | + | String | Signers name and identification number, i.e. value of the CN field of the signer's certificate |
305+
| signatures[0].signedBy | Signature.SignedBy | + | String | In format of "surname, givenName, serialNumber" if these fields are present in subject distinguished name field. In other cases, value of common name field. |
306306
| signatures[0].subjectDistinguishedName.serialNumber | Signature.SubjectDistinguishedName.SerialNumber | - | String | SERIALNUMBER value portion in signer's certificate's subject distinguished name |
307307
| signatures[0].subjectDistinguishedName.commonName | Signature.SubjectDistinguishedName.CommonName | - | String | CN (common name) value portion in signer's certificate's subject distinguished name |
308308
| signatures[0]. signatureScopes | Signature. SignatureScopes | - | Array | Contains information of the original data that is covered by the signature. |

docs/siva3/references.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# References
1+
<!--# References:-->
22

33
* (1) Lisa_6_Osa_I_SiVa_Testimise_korraldus.pdf
44
* (2) Lisa_4_Osa_I_SiVa_Valideerimisteenuse_analuus MUUDETUD.pdf

docs/siva3/roadmap.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!--# Roadmap:-->
2+
3+
This roadmap is for information purposes and can change without prior notice.
4+
5+
## Planned releases
6+
### 3.6.0 - June 2022
7+
- LOTL/TSL loading improvements
8+
- Dependency updates
9+
- Digidoc4j 5.0.0
10+
- Bug fixes
11+
12+
### 3.7.0 - October 2022
13+
- CRL information improvements in validation report
14+
- Dependency updates
15+
- Bug fixes

docs/version_info.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
<!--# Version info-->
22

3-
| **Version number** | **Change date** | **Author** | **Description** |
4-
|--------------------|-----------------|------------|-----------------|
5-
| 0.1 | 06.05.2016 | Mihkel Selgal | Initial SiVa architecture |
6-
| 1.0 | 26.10.2016 | Priit Reiser, Aare Nurm | Documentation updates |
7-
| 1.1 | 04.05.2017 | Vadim Pudov, Allan Juhanson, Julia Solovei, Aare Nurm | Documentation updates |
8-
| 1.2 | 01.11.2017 | Aare Nurm | Update to new version of mkdocs. Addition of SIVA 2.0 documentation structure |
9-
| 1.3 | 20.12.2017 | Aare Nurm, Siim Suu, Madis Piigli | Documentation updates |
10-
| 1.4 | 29.01.2019 | Aare Nurm | Addition of SIVA 3.0 document structure |
11-
| 1.5 | 21.03.2019 | Jorgen Heinsoo | SIVA 3.2 documentation additions with diagnostic data report description |
12-
| 1.6 | 04.04.2019 | Aare Nurm | Finalizing the documentation for release |
13-
| 1.7 | 12.06.2020 | Aare Nurm, Priit Üksküla | SIVA 3.3 documentation additions |
14-
| 1.8 | 01.03.2021 | Markus Kivisalu | SIVA 3.4 documentation additions |
15-
| 1.9 | 12.04.2021 | Markus Kivisalu | Updated URL-s and reference links |
16-
| 1.10 | 16.06.2021 | Risto Seene, Markus Kivisalu | SIVA 3.5 documentation additions |
3+
| **Version number** | **Change date** | **Author** | **Description** |
4+
|--------------------|-----------------|-------------------------------------------------------|-------------------------------------------------------------------------------|
5+
| 0.1 | 06.05.2016 | Mihkel Selgal | Initial SiVa architecture |
6+
| 1.0 | 26.10.2016 | Priit Reiser, Aare Nurm | Documentation updates |
7+
| 1.1 | 04.05.2017 | Vadim Pudov, Allan Juhanson, Julia Solovei, Aare Nurm | Documentation updates |
8+
| 1.2 | 01.11.2017 | Aare Nurm | Update to new version of mkdocs. Addition of SIVA 2.0 documentation structure |
9+
| 1.3 | 20.12.2017 | Aare Nurm, Siim Suu, Madis Piigli | Documentation updates |
10+
| 1.4 | 29.01.2019 | Aare Nurm | Addition of SIVA 3.0 document structure |
11+
| 1.5 | 21.03.2019 | Jorgen Heinsoo | SIVA 3.2 documentation additions with diagnostic data report description |
12+
| 1.6 | 04.04.2019 | Aare Nurm | Finalizing the documentation for release |
13+
| 1.7 | 12.06.2020 | Aare Nurm, Priit Üksküla | SIVA 3.3 documentation additions |
14+
| 1.8 | 01.03.2021 | Markus Kivisalu | SIVA 3.4 documentation additions |
15+
| 1.9 | 12.04.2021 | Markus Kivisalu | Updated URL-s and reference links |
16+
| 1.10 | 16.06.2021 | Risto Seene, Markus Kivisalu | SIVA 3.5 documentation additions |
17+
| 1.11 | 20.04.2022 | Aare Nurm | Roadmap added |
18+
| 1.12 | 20.05.2022 | Aare Nurm | SignedBy field description update |

0 commit comments

Comments
 (0)