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

NAME

6       digidoc-tool - open/create/verify 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.bdoc
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.bdoc
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.bdoc
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.bdoc
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.bdoc
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.bdoc
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           --dontValidate= - Don't validate container
78
79       All commands:
80           --nocolor       - Disable terminal colors
81

SEE ALSO

83       cdigidoc(1), qdigidocclient(1), qesteidutil(1)
84
85
86
873.13.8.0                          10.12.2018                   digidoc-tool(1)
Impressum