Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8244336

Restrict algorithms at JCE layer

XMLWordPrintable

      Create a new security property (ex: jdk.crypto.disabledAlgorithms) that restricts crypto algorithms at the JCE layer.

      For example, the following setting:

          jdk.crypto.disabledAlgorithms=MessageDigest.MD2

      would result in a NoSuchAlgorithmException if code called MessageDigest.getInstance("MD2"), even if a configured provider supported MD2. It would also apply to the getInstance methods that have a provider argument.

            valeriep Valerie Peng
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: