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.

            Assignee:
            Valerie Peng
            Reporter:
            Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: