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

More clarification on possible sequencing error in GSSContext::unwrap

    Details

    • Subcomponent:
    • Resolved In Build:
      b29
    • Verification:
      Not verified

      Backports

        Description

        Unlike in C where GSS_unwrap returns something other than GSS_S_COMPLETE when there is a sequencing error, JGSS's GSSContext::unwrap returns a decrypted message successfully and only put the sequencing error info in the MessageProp parameter of the method. We should educate users to check for the parameter.

        One thing we can do is to add a unwrap call with checks in the example of the GSSContext class spec.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: