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

ByteBuffer-based GSSContext methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • security-libs
    • None

      With the deprecation of stream-based GSSContext methods in JDK-8072996, we might consider adding methods based on ByteBuffer objects. This is just a memo and there is no plan for it.

      We will make it clear that the input ByteBuffer only contains the next token and nothing more nothing less. We will also need to be clear about where the error token will be placed.

      It is not wise to maintain 2 sets of implementations (ByteBuffer and byte[]). Therefore I think we will reimplement the byte[] methods as a wrapper on the ByteBuffer ones, and we will need to make sure the performance of byte[] methods is at least as good as the current implementation.

            weijun Weijun Wang
            weijun Weijun Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: