summaryrefslogtreecommitdiff
path: root/bkucommon/src
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-04-10 20:32:15 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2013-04-10 20:32:15 +0000
commit7a3bf728c58a08b85083f8a2acba9902d3437fba (patch)
tree5894bf669e14b6c4b03b6355b4e0695d11434b4b /bkucommon/src
parent33b13e05b841c467286803ec21a0fdb27936fa19 (diff)
downloadmocca-7a3bf728c58a08b85083f8a2acba9902d3437fba.tar.gz
mocca-7a3bf728c58a08b85083f8a2acba9902d3437fba.tar.bz2
mocca-7a3bf728c58a08b85083f8a2acba9902d3437fba.zip
UseStrongHash defaults to true now
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1175 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src')
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java2
-rw-r--r--bkucommon/src/site/apt/configuration.apt4
2 files changed, 3 insertions, 3 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java
index ffea6213..70be77b2 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java
@@ -107,7 +107,7 @@ public class CreateXMLSignatureCommandImpl extends
}
public boolean getUseStrongHash() {
- return configuration.getBoolean(USE_STRONG_HASH, false);
+ return configuration.getBoolean(USE_STRONG_HASH, true);
}
public boolean getUseXAdES14() {
diff --git a/bkucommon/src/site/apt/configuration.apt b/bkucommon/src/site/apt/configuration.apt
index 78a74b79..fa3e6306 100644
--- a/bkucommon/src/site/apt/configuration.apt
+++ b/bkucommon/src/site/apt/configuration.apt
@@ -103,8 +103,8 @@ MOCCA Configuration
Default: <<<classpath:/at/gv/egiz/bku/accesscontrol/config/accessControlConfig.xml>>>
- [<<<UseStrongHash>>>] The hash algorithm defaults to SHA-1.
- If this option is set, SHA-256 or RIPEMD-160 are used, depending on card support.
+ [<<<UseStrongHash>>>] The hash algorithms default to SHA-256 or RIPEMD-160, depending on card support.
+ If this option is set to false, SHA-1 is used.
Default: <<<false>>>