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

Remove java.xml.crypto dependencies on sun.security.jca

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 9
    • security-libs
    • None

      The TransformService and XMLSignatureFactory classes in the javax.xml.crypto.dsig package and the KeyInfoFactory class in the javax.xml.crypto.dsig.keyinfo package have a dependency on classes in the internal sun.security.jca package to help find the Spi implementation for the requested type. This code can be replaced with the standard Provider.Service API. It previously used the sun.security.jca classes because JSR 105 was originally designed as a standalone JSR that could run on JDK 1.4.2 and up. The Provider.Service API was added in JDK 1.5. However, JSR 105 has been discontinued as a standalone JSR and is now only delivered in Java SE, so this code can be replaced.

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

              Created:
              Updated:
              Resolved: