-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
58 lines (52 loc) · 1.57 KB
/
config.example.yaml
File metadata and controls
58 lines (52 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Main configuration
licensePath: ./pdfsigner.lic
# Common signature settings (anchor)
.signature_defaults: &signature_defaults
docMDP: 1
certType: 1
# Common signature info (anchor)
.signature_info_defaults: &signature_info_defaults
name: Company Name
location: New York
reason: Document approval
contactInfo: support@example.com
# Services Configuration
services:
# watch_incoming:
# type: watch
# signer: company_cert # Reference to the signer configuration below
# in: ./incoming # Where to look for new PDFs
# out: ./signed # Where to put signed PDFs
# validateSignature: true # Verify signature after signing
api_endpoint:
type: serve
signers:
- company_cert # List of allowed signers
addr: 127.0.0.1 # Listen address
port: 3000 # Listen port
validateSignature: true
# Signers Configuration
signers:
company_cert:
type: pem
crtPath: ./testfiles/test.crt
keyPath: ./testfiles/test.pem
crtChainPath: ./testfiles/test.crt
signData:
signature:
<<: *signature_defaults # Reuse common signature settings
info:
<<: *signature_info_defaults # Reuse common info settings
# hardware_token:
# type: pkcs11
# libPath: /usr/lib/softokn3.so
# pass: token_password
# crtChainPath: ./testfiles/test.crt
# signData:
# signature:
# <<: *signature_defaults # Reuse common signature settings
# info:
# name: Hardware Token
# location: Secure Element
# reason: Secure signing
# contactInfo: security@company.com