From 7a3bf728c58a08b85083f8a2acba9902d3437fba Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 20:32:15 +0000 Subject: UseStrongHash defaults to true now git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1175 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java | 2 +- bkucommon/src/site/apt/configuration.apt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bkucommon') 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: <<>> - [<<>>] The hash algorithm defaults to SHA-1. - If this option is set, SHA-256 or RIPEMD-160 are used, depending on card support. + [<<>>] 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: <<>> -- cgit v1.2.3