XAdES Signer Properties
info
See the Common Properties for configuration options of the AdES Signer.
The implementation class of the XAdES Signer is:
com.czertainly.signserver.module.xades.signer.XAdESSigner
It contains the integration with the DSS framework and extends the Worker interface of the SignServer. If you want to use the XAdES Signer, you must specify this property. The XAdES Signer will check the following configuration properties.
Property | Description | Default Value | Mandatory |
---|---|---|---|
SIGNATURE_PACKAGING | Sets the signature packaging. Allowed values are:
| NONE | YES |
EMBED_XML | Sets if the signed content shall be incorporated as XML (used only for ENVELOPING signature packaging). | false | NO |
XADES_NAMESPACE_PREFIX | Sets the XAdES namespace prefix. | xades | NO |
XADES_NAMESPACE_URI | Sets the XAdES namespace uri. | http://uri.etsi.org/01903/v1.3.2# | NO |
XMLDSIG_NAMESPACE_PREFIX | Sets the XMLDSIG namespace prefix. | ds | NO |
XMLDSIG_NAMESPACE_URI | Sets the XMLDSIG namespace uri. | http://www.w3.org/2000/09/xmldsig# | NO |
XADES141_NAMESPACE_PREFIX | Sets the XAdES 1.4.1 namespace prefix. | xades141 | NO |
XADES141_NAMESPACE_URI | Sets the XAdES 1.4.1 namespace uri. | http://uri.etsi.org/01903/v1.4.1# | NO |
PRETTY_PRINT | Sets if the signature shall be pretty-printed. | false | NO |
SIGNED_PROPS_CANONICALIZATION_METHOD | Set the canonicalization algorithm to be used when dealing with SignedProperties. | NONE | NO |
SIGNED_INFO_CANONICALIZATION_METHOD | Set the canonicalization algorithm to be used when dealing with SignedInfo. | NONE | NO |
KEY_INFO_CANONICALIZATION_METHOD | Set the canonicalization algorithm used for dealing with KeyInfo. When used, the KeyInfo element will be signed with its reference included to SignedInfo element. | NONE | NO |
Canonicalization methods
The following canonicalization methods are supported:
Method name | Value |
---|---|
INCLUSIVE | http://www.w3.org/TR/2001/REC-xml-c14n-20010315 |
EXCLUSIVE | http://www.w3.org/2001/10/xml-exc-c14n# |
INCLUSIVE-WITH-COMMENTS | http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments |
EXCLUSIVE-WITH-COMMENTS | http://www.w3.org/2001/10/xml-exc-c14n#WithComments |
ENVELOPED | http://www.w3.org/2000/09/xmldsig#enveloped-signature |
BASE64 | http://www.w3.org/2000/09/xmldsig#base64 |