SignXMLPostExecutor
Configuration file |
Configuration is done with a configuration string or path to a properties file in field "Config file" (or both). |
Class name |
com.ebd.hub.datawizard.postexec.SignXMLPostExecutor |
Description
This postexecuter can sign an XML output file with a local certificate.
Configuration String
Examples:
Configuration string |
Description |
certid=1696998561712336 |
The specified certificate is used. The default values apply for all other parameters. |
./conf/myconf.properties;addSigningCert=true |
The properties file and its parameters is read in first. Parameter addSigningCert is then overwritten with the value true. |
certid=1696998561712336;addSigningCert=true |
The two set parameter values are used. The default values apply to the other parameters. |
certid=1696998561712336
signingAlg=sha-512
signatureType=enveloping
addSigningCert=false
Parameters
Parameter |
Description |
certid |
The ID of a local certificate (i.e. with private key) to be used for the signature. Note: You can simply copy the ID from the certificate details view. |
signingAlg |
(optional) The signature algorithm to be used. Default: "SHA-256". Allowed algorithms: SHA-1 (RSA, DSA, ECDSA), |
signatureType |
(optional) The signature type to be used. Allowed values: "enveloped", "enveloping". Default: "enveloped". |
addSigningCert |
(optional) If "true", the public certificate (i.e. without private key) is added to the signature. Allowed values: "true", "false". Default: "false". |