Skip to content

Commit

Permalink
Add a property for enabling MD5 in BC FIPS mode
Browse files Browse the repository at this point in the history
Updated the BouncyCastleFIPSHelper class to add a constant with the
name of a system property that can be used to enable support for the
MD5 digest algorithm if necessary.
  • Loading branch information
dirmgr committed Feb 2, 2024
1 parent 98ce42f commit d09a561
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/release-notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ <h3>Version 7.0.0</h3>
well as more general methods in which you must specify the desired algorithm.
<br><br>
</li>

<li>
Updated the BouncyCastleFIPSHelper class to add a constant with the name of a
system property that can be used to enable support for the MD5 digest algorithm
if necessary.
<br><br>
</li>
</ul>

<p></p>
Expand Down
10 changes: 10 additions & 0 deletions src/com/unboundid/util/BouncyCastleFIPSHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,16 @@ public final class BouncyCastleFIPSHelper



/**
* The name of a Java property (org.bouncycastle.jsse.enable_md5) that the
* Bouncy Castle FIPS provider uses to determine whether to allow the use of
* the MD5 digest algorithm.
*/
@NotNull public static final String PROPERTY_ENABLE_MD5 =
"org.bouncycastle.jsse.enable_md5";



/**
* The name of a Java property
* (com.unboundid.util.BouncyCastleFIPSHelper.ENABLE_LOGGING) that indicates
Expand Down

0 comments on commit d09a561

Please sign in to comment.