diff options
Diffstat (limited to 'bkucommon/src')
-rw-r--r-- | bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/cms/Signature.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/cms/Signature.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/cms/Signature.java index 749b0dbf..0b1f4602 100644 --- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/cms/Signature.java +++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/cms/Signature.java @@ -210,9 +210,9 @@ public class Signature { if (useStrongHash && keyLength >= 2048) { signatureAlgorithm = AlgorithmID.sha256WithRSAEncryption; digestAlgorithm = AlgorithmID.sha256; - } else if (useStrongHash) { - signatureAlgorithm = AlgorithmID.rsaSignatureWithRipemd160; - digestAlgorithm = AlgorithmID.ripeMd160; +// } else if (useStrongHash) { // Cannot be used if not enabled in AlgorithmMethodFactoryImpl +// signatureAlgorithm = AlgorithmID.rsaSignatureWithRipemd160; +// digestAlgorithm = AlgorithmID.ripeMd160; } else { signatureAlgorithm = AlgorithmID.sha1WithRSAEncryption; digestAlgorithm = AlgorithmID.sha1; |