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

JarSigner isn't JCA provider independent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0, 1.4.0
    • security-libs
    • None
    • beta
    • generic, x86
    • generic, solaris_7, windows_nt

      JarSigner uses sun.security.util.SignatureFile which has the following
      code:

          X500Name issuerName = (X500Name)certChain[0].getIssuerDN();

      The above line causes a ClassCastException when people use a certificate provider other than the "SUN" provider.

            valeriep Valerie Peng
            shihliu Sharon Liu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: