File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed
Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -34,3 +34,26 @@ java -jar target/cdoc2-cli-*.jar create --server=config/ria-dev/ria-dev_pkcs12.p
3434```
3535java -jar target/cdoc2-cli-*.jar decrypt --server=config/ria-dev/ria-dev_pkcs12.properties -p12 keys/cdoc2client.p12:passwd -f /tmp/ria_p12.cdoc -o /tmp
3636```
37+
38+ ### Encrypt for Smart-ID
39+
40+ ```
41+ java -jar target/cdoc2-cli-*.jar create \
42+ -Dkey-shares.properties=config/ria-dev/key-shares.properties \
43+ -Dsmart-id.properties=config/smart-id/smart-id.properties \
44+ --smart-id=30303039914 \
45+ -f /tmp/SID_30303039914.cdoc2 \
46+ README.md
47+ ```
48+
49+ ### Decrypt with Smart-ID
50+
51+ ```
52+ java -jar target/cdoc2-cli-*.jar decrypt \
53+ -Dkey-shares.properties=config/ria-dev/key-shares.properties \
54+ -Dsmart-id.properties=config/smart-id/smart-id.properties \
55+ --smart-id=30303039914 \
56+ -f /tmp/SID_30303039914.cdoc2 \
57+ -o /tmp
58+ ```
59+
Original file line number Diff line number Diff line change 1- key-shares.servers.urls =https://localhost:8442 , https://localhost :8443
1+ key-shares.servers.urls =https://cdoc2-shares-01.dev.riaint.ee:8443 , https://cdoc2-sharesexternal-01.dev.riaint.ee :8443
22key-shares.servers.min_num =2
33key-shares.algorithm =n-of-n
44
55# trusted certificates by client
6- cdoc2.key-shares.client.ssl.trust-store =config/ria-dev/clienttruststore .jks
6+ cdoc2.key-shares.client.ssl.trust-store =config/ria-dev/clienttruststore_ria-dev .jks
77cdoc2.key-shares.client.ssl.trust-store.type =JKS
88cdoc2.key-shares.client.ssl.trust-store-password =passwd
You can’t perform that action at this time.
0 commit comments