]> source.dussan.org Git - poi.git/commitdiff
forgot to rename get/setter
authorAndreas Beeker <kiwiwings@apache.org>
Sun, 28 Sep 2014 00:35:00 +0000 (00:35 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sun, 28 Sep 2014 00:35:00 +0000 (00:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628031 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java
src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java

index 880efa10eda10b372bd93703ff5aaf74e576c21e..d60753e479f2e1e0c712ffd9339ad2d19105c0e5 100644 (file)
@@ -131,7 +131,7 @@ public class SignatureConfig {
      * 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
@@ -160,12 +160,12 @@ public class SignatureConfig {
         \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
@@ -408,11 +408,11 @@ public class SignatureConfig {
     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
index f846187ee6d8ceac6bb751186f9718c8eefe9a4c..a4006af3ac82a34738bfc2efede29a117984fdd6 100644 (file)
@@ -378,7 +378,7 @@ public class SignatureInfo implements SignatureConfigurable {
         // 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