diff options
-rw-r--r-- | bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/CreateXMLSignatureCommandImpl.java | 2 | ||||
-rw-r--r-- | bkucommon/src/site/apt/configuration.apt | 4 |
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>>> |