Skip to main content

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.

PropertyDescriptionDefault ValueMandatory
SIGNATURE_PACKAGINGSets the signature packaging. Allowed values are:
  • ENVELOPED
  • ENVELOPING
  • DETACHED
  • INTERNALLY-DETACHED
NONEYES
EMBED_XMLSets if the signed content shall be incorporated as XML (used only for ENVELOPING signature packaging).falseNO
XADES_NAMESPACE_PREFIXSets the XAdES namespace prefix.xadesNO
XADES_NAMESPACE_URISets the XAdES namespace uri.http://uri.etsi.org/01903/v1.3.2#NO
XMLDSIG_NAMESPACE_PREFIXSets the XMLDSIG namespace prefix.dsNO
XMLDSIG_NAMESPACE_URISets the XMLDSIG namespace uri.http://www.w3.org/2000/09/xmldsig#NO
XADES141_NAMESPACE_PREFIXSets the XAdES 1.4.1 namespace prefix.xades141NO
XADES141_NAMESPACE_URISets the XAdES 1.4.1 namespace uri.http://uri.etsi.org/01903/v1.4.1#NO
PRETTY_PRINTSets if the signature shall be pretty-printed.falseNO
SIGNED_PROPS_CANONICALIZATION_METHODSet the canonicalization algorithm to be used when dealing with SignedProperties.NONENO
SIGNED_INFO_CANONICALIZATION_METHODSet the canonicalization algorithm to be used when dealing with SignedInfo.NONENO
KEY_INFO_CANONICALIZATION_METHODSet the canonicalization algorithm used for dealing with KeyInfo. When used, the KeyInfo element will be signed with its reference included to SignedInfo element.NONENO

Canonicalization methods

The following canonicalization methods are supported:

Method nameValue
INCLUSIVEhttp://www.w3.org/TR/2001/REC-xml-c14n-20010315
EXCLUSIVEhttp://www.w3.org/2001/10/xml-exc-c14n#
INCLUSIVE-WITH-COMMENTShttp://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments
EXCLUSIVE-WITH-COMMENTShttp://www.w3.org/2001/10/xml-exc-c14n#WithComments
ENVELOPEDhttp://www.w3.org/2000/09/xmldsig#enveloped-signature
BASE64http://www.w3.org/2000/09/xmldsig#base64