1digidoc-tool(1)              digidoc-tool man page             digidoc-tool(1)
2
3
4

NAME

6       digidoc-tool - open/create/verify ASiC-E/ASiC-S/BDoc format files
7

SYNOPSIS

9       digidoc-tool COMMAND [OPTIONS] FILE
10

OPTIONS

12       Command create:
13         Example:  digidoc-tool create --file=file1.txt --file=file2.txt demo-
14       container.asice
15         Available options:
16           --file=        - The option can occur multiple times. File(s) to be
17       signed
18           --mime=         -  can  be after --file parameter. Default value is
19       application/octet-stream
20           --dontsign     - Don't sign the newly created container.
21           for additional options look sign command
22
23       Command createBatch:
24         Example: digidoc-tool createBatch folder/content/to/sign
25         Available options:
26           for additional options look sign command
27
28       Command open:
29         Example: digidoc-tool open container-file.asice
30         Available options:
31           --warnings=(ignore,warning,error) - warning handling
32           --policy=(POLv1,POLv2)  -  Signature  Validation  Policy   (default
33       POLv2)
34                                    http://open-eid.github.io/SiVa/siva/appen
35       dix/validation_policy/
36           --extractAll[=path] - extracts documents (to path when provided)
37
38       Command add:
39         Example: digidoc-tool add --file=file1.txt container-file.asice
40         Available options:
41           --file=        - The option can occur multiple times. File(s) to be
42       added to the container
43           --mime=         -  can  be after --file parameter. Default value is
44       application/octet-stream
45
46       Command remove:
47         Example: digidoc-tool remove --document=0 --document=1  --signature=1
48       container-file.asice
49         Available options:
50           --document=    - documents to remove
51           --signature=   - signatures to remove
52
53       Command websign:
54         Example: digidoc-tool sign --cert=signer.crt demo-container.asice
55         Available options:
56           --cert=        - signer token certificate
57           for additional options look sign command
58
59       Command sign:
60         Example: digidoc-tool sign demo-container.asice
61         Available options:
62           --profile=     - signature profile, TM, time-mark, TS, time-stamp
63           --XAdESEN      - use XAdES EN profile
64           --city=        - city of production place
65           --street=      - streetAddress of production place in XAdES profile
66           --state=       - state of production place
67           --postalCode=  - postalCode of production place
68           --country=     - country of production place
69           --role=        - option can occur multiple times. Signer role(s)
70           --pkcs11[=]     -  default is /Library/OpenSC/lib/opensc-pkcs11.so.
71       Path of PKCS11 driver.
72           --pkcs12=      - pkcs12 signer certificate (use --pin for password)
73           --pin=         - default asks pin from prompt
74           --sha(224,256,384,512) - set default digest method (default sha256)
75           --sigsha(224,256,384,512) -  set  default  digest  method  (default
76       sha256)
77           --tsurl            -    option    to   change   TS   URL   (default
78       http://demo.sk.ee/tsa)
79           --dontValidate  - Don't validate container
80
81       All commands:
82           --nocolor       - Disable terminal colors
83           --loglevel=[0,1,2,3,4] - Log level 0 - none, 1 - error, 2  -  warn‐
84       ing, 3 - info, 4 - debug
85           --logfile=      - File to log, empty to console
86

SEE ALSO

88       cdigidoc(1), qdigidoc4(1)
89
90
91
923.14.1.0                          05.11.2019                   digidoc-tool(1)
Impressum