Commit 123427f
committed
Allow to choose algorithms when creating metadata
Signature and digest algorithms can now be selected with the following
command line arguments
-S <sign alg> (default: http://www.w3.org/2000/09/xmldsig#rsa-sha1)
-D <digest alg> (default: http://www.w3.org/2000/09/xmldsig#sha1)
Example:
$ ../../tools/make_metadata.py \
-s -x /usr/bin/xmlsec1 \
-k pki/mykey.pem -c pki/mycert.pem \
-S http://www.w3.org/2001/04/xmldsig-more#rsa-sha384 \
-D http://www.w3.org/2001/04/xmlenc#sha512 \
sp_conf1 parent dc9764d commit 123427f
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
79 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
80 | 89 | | |
81 | 90 | | |
82 | 91 | | |
| |||
0 commit comments