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

Improve exception messaging for RSAClientKeyExchange

    XMLWordPrintable

Details

    • b114
    • generic
    • generic

    Backports

      Description

        Recent edits in RSAClientKeyExchange class made me realise that the exception handling could be more descriptive for end user. We hide root case for one scenario with the infamous "Unable to process PreMasterSecret, may be too big" message. We should be printing the exception that caused the InvalidKeyException to occur.

        I'll take this chance to made a few other minor edits in RSAClientKeyExchange and HandshakeMessage code also.

        Attachments

          Issue Links

            Activity

              People

                coffeys Sean Coffey
                coffeys Sean Coffey
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: