From 5e0afe502082aede1215413872aeeb968eac810e Mon Sep 17 00:00:00 2001 From: Aare Nurm Date: Mon, 7 Nov 2022 08:15:35 +0200 Subject: [PATCH] SIVA-359 Update links and version numbers --- docs/siva3/deployment_guide.md | 14 +++++++------- docs/siva3/interfaces.md | 4 ++-- docs/version_info.md | 1 + 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/siva3/deployment_guide.md b/docs/siva3/deployment_guide.md index 48e0f96b0..c356f0f9c 100644 --- a/docs/siva3/deployment_guide.md +++ b/docs/siva3/deployment_guide.md @@ -31,7 +31,7 @@ The last lines of build output should look very similar to below image: ```text [INFO] Reactor Summary: [INFO] -[INFO] SiVa Digitally signed documents validation service 3.3.0 SUCCESS [ 2.089 s] +[INFO] SiVa Digitally signed documents validation service X.X.X SUCCESS [ 2.089 s] [INFO] validation-services-parent ......................... SUCCESS [ 0.380 s] [INFO] validation-commons ................................. SUCCESS [ 13.782 s] [INFO] tsl-loader ......................................... SUCCESS [ 9.372 s] @@ -46,7 +46,7 @@ The last lines of build output should look very similar to below image: [INFO] siva-webapp ........................................ SUCCESS [ 42.451 s] [INFO] SiVa Sample Web application ........................ SUCCESS [ 42.236 s] [INFO] SiVa Web Service integration tests ................. SUCCESS [ 18.830 s] -[INFO] siva-distribution 3.3.0 ............................ SUCCESS [ 5.763 s] +[INFO] siva-distribution X.X.X ............................ SUCCESS [ 5.763 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ @@ -66,7 +66,7 @@ project by issuing below commands: **First start the Siva webapp** ```bash -./siva-parent/siva-webapp/target/siva-webapp-3.3.0.jar +./siva-parent/siva-webapp/target/siva-webapp-X.X.X.jar ``` The SiVa webapp by default runs on port **8080**. @@ -75,7 +75,7 @@ Easiest way to test out the deployment is to run SiVa demo application and use i **Start the Demo webapp** ```bash -./siva-parent/siva-sample-application/target/siva-sample-application-3.3.0.jar +./siva-parent/siva-sample-application/target/siva-sample-application-X.X.X.jar ``` Now point Your browser to URL: @@ -115,7 +115,7 @@ WantedBy=multi-user.target ``` Save and close the `siva-webapp.service` file. -Next we need to move `siva-webapp-3.3.0.jar` into newly created `/var/apps` directory and rename to +Next we need to move `siva-webapp-X.X.X.jar` into newly created `/var/apps` directory and rename to JAR file to `siva-webapp.jar`. match !!! note @@ -123,7 +123,7 @@ JAR file to `siva-webapp.jar`. match ```bash sudo mkdir /var/apps -sudo cp siva-parent/siva-webapp/target/executable/siva-webapp-3.3.0.jar /var/apps/siva-webapp.jar +sudo cp siva-parent/siva-webapp/target/executable/siva-webapp-X.X.X.jar /var/apps/siva-webapp.jar ``` Next we need to copy the `siva-webapp.service` file into `/lib/systemd/system` directory. @@ -193,7 +193,7 @@ Now we should build the WAR file. We have created helper script with all the cor Final steps would be copying built WAR file into Tomcat `webapps` directory and starting the servlet container. ```bash -cp siva-parent/siva-webapp/target/siva-webapp-3.3.0.war apache-tomcat-8.5.24/webapps +cp siva-parent/siva-webapp/target/siva-webapp-X.X.X.war apache-tomcat-8.5.24/webapps ./apache-tomcat-7.0.77/bin/catalina.sh run ``` diff --git a/docs/siva3/interfaces.md b/docs/siva3/interfaces.md index fb157906d..06a368fb8 100644 --- a/docs/siva3/interfaces.md +++ b/docs/siva3/interfaces.md @@ -117,7 +117,7 @@ Validation request parameters for JSON interface are described in the table belo | signatureFiles[0].datafiles[0].filename | SignatureFiles.SignatureFile.Signature.DataFiles.DataFile.Filename | + | String | File name of the hashed data file, max length 255 characters. | | signatureFiles[0].datafiles[0].hashAlgo | SignatureFiles.SignatureFile.Signature.DataFiles.DataFile.HashAlgo | + | String | Hash algorithm used for hashing the data file (must match with algorithm in signature file). Accepted values are dependant of validation policy | | signatureFiles[0].datafiles[0].hash | SignatureFiles.SignatureFile.Signature.DataFiles.DataFile.Hash | + | String | Data file hash in Base64 encoded format. | -| signaturePolicy | SignaturePolicy | - | String | Can be used to change the default signature validation policy that is used by the service.
See also [SiVa Validation Policy](/siva3/appendix/validation_policy) for more detailed information on given policy constraints.
**Possible values:**
POLv3 - signatures with all legal levels are accepted (i.e. QES, AdESqc and AdES, according to Regulation (EU) No 910/2014.)
POLv4 - the default policy. Accepted signatures depend on their type (i.e. signature, seal or unknown) and legal level (i.e. QES, AdESqc and Ades) | +| signaturePolicy | SignaturePolicy | - | String | Can be used to change the default signature validation policy that is used by the service.
See also [SiVa Validation Policy](https://open-eid.github.io/SiVa/siva3/appendix/validation_policy) for more detailed information on given policy constraints.
**Possible values:**
POLv3 - signatures with all legal levels are accepted (i.e. QES, AdESqc and AdES, according to Regulation (EU) No 910/2014.)
POLv4 - the default policy. Accepted signatures depend on their type (i.e. signature, seal or unknown) and legal level (i.e. QES, AdESqc and Ades) | | reportType | ReportType | - | String |
**Possible values:**
Simple - default report type. Returns overall validation result (validationConclusion block)
Detailed - returns detailed information about the signatures and their validation results (validationConclusion, validationProcess and validationReportSignature. Two later ones are not supported for hashcode).
Diagnostic - returns diagnostic data about the information contained in the signature itself, it's revocation data and mathematical validity (validationConclusion, diagnosticData block. Last one is not support for hashcode) | ### Sample JSON request with mandatory parameters (datafile hashcode match verification done on integrators side) @@ -242,7 +242,7 @@ Validation request parameters for JSON interface are described in the table belo ``` ## Validation response interface -The signature validation report (i.e. the validation response) for JSON and SOAP interfaces depends on what type of validation report was requested. Data types of SOAP parameters are defined in the [SiVa WSDL document](/siva3/appendix/wsdl). +The signature validation report (i.e. the validation response) for JSON and SOAP interfaces depends on what type of validation report was requested. Data types of SOAP parameters are defined in the [SiVa WSDL document](https://open-eid.github.io/SiVa/siva3/appendix/wsdl/). ### Validation response parameters Simple Report (successful scenario) diff --git a/docs/version_info.md b/docs/version_info.md index 77eba9bca..6c5160a9b 100644 --- a/docs/version_info.md +++ b/docs/version_info.md @@ -16,3 +16,4 @@ | 1.10 | 16.06.2021 | Risto Seene, Markus Kivisalu | SIVA 3.5 documentation additions | | 1.11 | 20.04.2022 | Aare Nurm | Roadmap added | | 1.12 | 20.05.2022 | Aare Nurm | SignedBy field description update | +| 1.13 | 07.11.2022 | Aare Nurm | SIVA 3.6 documentation additions. Removal of xroad-validation-service | \ No newline at end of file