We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86b0dcc commit a523c88Copy full SHA for a523c88
minidns-dnssec/src/main/java/org/minidns/dnssec/algorithms/AlgorithmMap.java
@@ -48,6 +48,13 @@ private AlgorithmMap() {
48
throw new DnssecValidatorInitializationException("SHA-256 is mandatory", e);
49
}
50
51
+ try {
52
+ dsDigestMap.put(DigestAlgorithm.SHA384, new JavaSecDigestCalculator("SHA-384"));
53
+ } catch (NoSuchAlgorithmException e) {
54
+ // SHA-384 is OPTIONAL
55
+ LOGGER.log(Level.FINE, "Platform does not support SHA-384", e);
56
+ }
57
+
58
try {
59
signatureMap.put(SignatureAlgorithm.RSAMD5, new RsaSignatureVerifier("MD5withRSA"));
60
} catch (NoSuchAlgorithmException e) {
0 commit comments