X509Certificate implementation should parse certs with key params it doesn't support

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 11
    • Component/s: security-libs
    • None

      The JDK X509Certificate implementation was designed to be able to parse certificates even if it doesn't support the public key algorithm. In these cases, it returns an implementation specific X509Key object which implements PublicKey. However, this design premise doesn't work if the key includes parameters which it doesn't support, instead it throws an exception. I don't think this was the intention of the design, and it should not try to decode the parameters, or at least not until they are needed by a later cryptographic operation.

            Assignee:
            Jamil Nimeh
            Reporter:
            Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: