* with certain namespaces, so this EventListener is used to interfere\r
* with the marshalling process.\r
*/\r
- EventListener signCreationListener = null;\r
+ EventListener signatureMarshalListener = null;\r
\r
/**\r
* Map of namespace uris to prefix\r
\r
if (onlyValidation) return;\r
\r
- if (signCreationListener == null) {\r
- signCreationListener = new SignatureMarshalListener();\r
+ if (signatureMarshalListener == null) {\r
+ signatureMarshalListener = new SignatureMarshalListener();\r
}\r
\r
- if (signCreationListener instanceof SignatureConfigurable) {\r
- ((SignatureConfigurable)signCreationListener).setSignatureConfig(this);\r
+ if (signatureMarshalListener instanceof SignatureConfigurable) {\r
+ ((SignatureConfigurable)signatureMarshalListener).setSignatureConfig(this);\r
}\r
\r
if (tspService != null) {\r
public void setXadesIssuerNameNoReverseOrder(boolean xadesIssuerNameNoReverseOrder) {\r
this.xadesIssuerNameNoReverseOrder = xadesIssuerNameNoReverseOrder;\r
}\r
- public EventListener getSignCreationListener() {\r
- return signCreationListener;\r
+ public EventListener getSignatureMarshalListener() {\r
+ return signatureMarshalListener;\r
}\r
- public void setSignCreationListener(EventListener signCreationListener) {\r
- this.signCreationListener = signCreationListener;\r
+ public void setSignatureMarshalListener(EventListener signatureMarshalListener) {\r
+ this.signatureMarshalListener = signatureMarshalListener;\r
}\r
public Map<String, String> getNamespacePrefixes() {\r
return namespacePrefixes;\r
// it's necessary to explicitly set the mdssi namespace, but the sign() method has no\r
// normal way to interfere with, so we need to add the namespace under the hand ...\r
EventTarget target = (EventTarget)document;\r
- EventListener creationListener = signatureConfig.getSignCreationListener();\r
+ EventListener creationListener = signatureConfig.getSignatureMarshalListener();\r
if (creationListener != null) {\r
if (creationListener instanceof SignatureMarshalListener) {\r
((SignatureMarshalListener)creationListener).setEventTarget(target);\r